@antv/aimapui 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +284 -1
- package/dist/index.es.js +5672 -3128
- package/dist/index.iife.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var M5=Object.create;var f0=Object.defineProperty;var z5=Object.getOwnPropertyDescriptor;var H5=Object.getOwnPropertyNames;var V5=Object.getPrototypeOf,S5=Object.prototype.hasOwnProperty;var w5=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of H5(t))!S5.call(e,s)&&s!==n&&f0(e,s,{get:()=>t[s],enumerable:!(r=z5(t,s))||r.enumerable});return e};var g1=(e,t,n)=>(n=e!=null?M5(V5(e)):{},w5(t||!e||!e.__esModule?f0(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),c=require("react"),V0=require("@antv/l7"),S0=require("react-dom"),j5=require("clsx"),k5=require("react-dom/client"),Z5=require("supercluster");function A5(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const w0=A5(V0),p1={basemap:"map",center:[105,35],zoom:4,pitch:0,rotation:0};function A1(e){return{basemap:e.basemap??p1.basemap,token:e.token,style:e.style,center:e.center??[...p1.center],zoom:e.zoom??p1.zoom,pitch:e.pitch??p1.pitch,rotation:e.rotation??p1.rotation,minZoom:e.minZoom,maxZoom:e.maxZoom,bounds:e.bounds,gestureConfig:e.gestureConfig}}let N5=0;function E5(){return`aimap-layer-${++N5}`}function j0(e){return{id:e.id??E5(),type:e.type,name:e.name??e.type,visible:e.visible??!0,zIndex:e.zIndex??0,minZoom:e.minZoom,maxZoom:e.maxZoom,autoFit:e.autoFit??!1,source:e.source,sourceType:e.sourceType,sourceConfig:e.sourceConfig,color:e.color,colorField:e.colorField,colorValues:e.colorValues,size:e.size,sizeField:e.sizeField,sizeValues:e.sizeValues,shape:e.shape,shapeField:e.shapeField,shapeValues:e.shapeValues,style:e.style,filterField:e.filterField,filterValues:e.filterValues,animate:e.animate,active:e.active,select:e.select,events:e.events}}const _5={zoom:"topright",scale:"bottomleft",fullscreen:"topright",geoLocate:"topright",mapTheme:"topright",mouseLocation:"bottomright",exportImage:"topright",layerSwitch:"topright"};function k0(e){return{type:e.type,position:e.position??_5[e.type]??"topright",options:e.options}}const I5={breakpoint:768};function T5(e){return{breakpoint:(e==null?void 0:e.breakpoint)??I5.breakpoint,mobile:e==null?void 0:e.mobile}}function D1(e){return{map:A1(e.map),layers:(e.layers??[]).map(j0),controls:(e.controls??[]).map(k0),interactions:e.interactions??[],legends:e.legends??[],responsive:e.responsive?T5(e.responsive):void 0,events:e.events}}function Z0(e){return D1(e)}function R5(e){const t=[];if(e.basemap||t.push("map.basemap is required"),e.center){const[n,r]=e.center;(n<-180||n>180)&&t.push("map.center[0] (longitude) must be between -180 and 180"),(r<-90||r>90)&&t.push("map.center[1] (latitude) must be between -90 and 90")}return t}function P5(e,t){const n=[];return e.type||n.push(`layers[${t}].type is required`),e.source===void 0&&e.source,e.colorField&&!e.colorValues&&e.color,n}function $5(e){const t=[];return t.push(...R5(e.map)),(e.layers??[]).forEach((n,r)=>{t.push(...P5(n,r))}),{valid:t.length===0,errors:t}}const A0=c.createContext(null);function N0({schema:e,children:t}){return o.jsx(A0.Provider,{value:e,children:t})}function F5(){return c.useContext(A0)}class E0{constructor(){this.listeners=new Map}on(t,n){return this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(n),()=>{var r;(r=this.listeners.get(t))==null||r.delete(n)}}once(t,n){const r=(...i)=>{n(...i),s()},s=this.on(t,r);return s}emit(t,...n){const r=this.listeners.get(t);r&&r.forEach(s=>{try{s(...n)}catch(i){console.error(`[aimapui EventBus] Error in event "${t}":`,i)}})}off(t){this.listeners.delete(t)}clear(){this.listeners.clear()}}function _0(){return new E0}const I0=c.createContext(null);function T0({events:e,children:t}){const n=c.useRef(null);return n.current||(n.current=_0()),c.useEffect(()=>{if(!e||!n.current)return;const r=n.current,s=[];for(const[i,a]of Object.entries(e))a&&s.push(r.on(i,a));return()=>{s.forEach(i=>i())}},[e]),o.jsx(I0.Provider,{value:n.current,children:t})}function B1(){const e=c.useContext(I0);if(!e)throw new Error("[aimapui] useEventBus must be used within an EventBusProvider");return e}const R0=c.createContext({resolvedTheme:"light",theme:"light",setTheme:()=>{},toggleTheme:()=>{}});function P0({defaultTheme:e="light",target:t="container",children:n}){const[r,s]=c.useState(e),[i,a]=c.useState("light");c.useEffect(()=>{const p=window.matchMedia("(prefers-color-scheme: dark)");a(p.matches?"dark":"light");const m=h=>{a(h.matches?"dark":"light")};return p.addEventListener("change",m),()=>p.removeEventListener("change",m)},[]);const l=r==="system"?i:r,u=c.useCallback(()=>{s(p=>p==="system"?i==="light"?"dark":"light":p==="light"?"dark":"light")},[i]);c.useEffect(()=>{t==="root"&&document.documentElement.setAttribute("data-theme",l)},[l,t]);const d=c.useMemo(()=>({resolvedTheme:l,theme:r,setTheme:s,toggleTheme:u}),[l,r,u]);return o.jsx(R0.Provider,{value:d,children:t==="container"?o.jsx("div",{"data-theme":l,style:{display:"contents"},children:n}):n})}function $0(){return c.useContext(R0)}const O5=c.createContext({isMobile:!1,breakpoint:768,width:typeof window<"u"?window.innerWidth:1024,schema:void 0});function D5({responsive:e,children:t}){const[n,r]=c.useState(typeof window<"u"?window.innerWidth:1024);c.useEffect(()=>{let l;const u=()=>{cancelAnimationFrame(l),l=requestAnimationFrame(()=>r(window.innerWidth))};return window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u),cancelAnimationFrame(l)}},[]);const s=(e==null?void 0:e.breakpoint)??768,i=n<s,a=c.useMemo(()=>({isMobile:i,breakpoint:s,width:n,schema:e}),[i,s,n,e]);return o.jsx(O5.Provider,{value:a,children:t})}const F0=c.createContext(null);function O0({scene:e,children:t}){const n=c.useRef(e);return n.current=e,o.jsx(F0.Provider,{value:n.current,children:t})}function a1(){return c.useContext(F0)}async function D0(e){var i,a,l;const t=e.basemap??p1.basemap,n=e.token??"",r=e.style??"normal",s={center:e.center??p1.center,zoom:e.zoom??p1.zoom,pitch:e.pitch??p1.pitch,rotation:e.rotation??p1.rotation,minZoom:e.minZoom,maxZoom:e.maxZoom,dragEnable:((i=e.gestureConfig)==null?void 0:i.dragPan)??!0,zoomEnable:((a=e.gestureConfig)==null?void 0:a.pinchZoom)??!0,rotateEnable:((l=e.gestureConfig)==null?void 0:l.dragRotate)??!0};switch(t){case"gaode":{const{GaodeMap:u}=await import("@antv/l7-maps/gaode");return new u({...s,style:B5(r),token:n})}case"mapbox":{const{Mapbox:u}=await import("@antv/l7-maps/mapbox");return new u({...s,style:q5(r),token:n})}case"tianditu":{const{TMap:u}=await import("@antv/l7-maps/tianditu");return new u({...s,token:n})}case"tencent":{const{TencentMap:u}=await import("@antv/l7-maps/tencent");return new u({...s,token:n})}case"baidu":{const{BaiduMap:u}=await import("@antv/l7-maps/baidu");return new u({...s,style:U5(r),token:n})}case"maplibre":{const{MapLibre:u}=await import("@antv/l7-maps/maplibre");return new u({...s,style:G5(r),token:n})}case"google":{const{GoogleMap:u}=await import("@antv/l7-maps/google"),d=new u({...s,style:W5(r),token:n});return J5(d),d}case"map":default:{const{Map:u}=await import("@antv/l7-maps/simple");return new u({center:e.center??p1.center,zoom:e.zoom??p1.zoom})}}}function B5(e){return{light:"light",dark:"dark",normal:"normal",darkblue:"dark",satellite:"satellite"}[e]??e}function q5(e){return{light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark",normal:"https://tiles.openfreemap.org/styles/bright",liberty:"https://tiles.openfreemap.org/styles/liberty",fiord:"https://tiles.openfreemap.org/styles/fiord"}[e]??e}function U5(e){return{light:"light",dark:"dark",normal:"normal",darkblue:"dark",satellite:"satellite"}[e]??e}function W5(e){return{light:"roadmap",dark:"roadmap",normal:"roadmap",darkblue:"roadmap",satellite:"satellite",hybrid:"hybrid",terrain:"terrain"}[e]??"roadmap"}function G5(e){return{light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark",normal:"https://tiles.openfreemap.org/styles/bright",liberty:"https://tiles.openfreemap.org/styles/liberty",fiord:"https://tiles.openfreemap.org/styles/fiord"}[e]??e}function J5(e){const t=["zoomControl","mapTypeControl","streetViewControl","fullscreenControl","scaleControl","rotateControl","panControl"],n={};for(const a of t)n[a]=!1;const r=()=>{const a=e.map;if(!a||typeof a.setOptions!="function")return!1;a.setOptions(n);const l=a.setOptions.bind(a);return a.setOptions=u=>{const d={...u};for(const p of t)p in d&&delete d[p];l(d)},!0};if(r())return;let s=0;const i=setInterval(()=>{s+=1,(r()||s>40)&&clearInterval(i)},100)}function B0({mapSchema:e,children:t,onSceneReady:n,mapEventHandlers:r,events:s,className:i,style:a}){const l=c.useRef(null),u=c.useRef(null),[d,p]=c.useState(null),m=c.useRef(n);m.current=n;const h=c.useRef(r);h.current=r;const f=B1(),g=c.useCallback((M,b)=>{var C,Z,E;if(b.basemap==="map")return;const j=((C=b.gestureConfig)==null?void 0:C.dragPan)??!0,S=((Z=b.gestureConfig)==null?void 0:Z.pinchZoom)??!0,A=((E=b.gestureConfig)==null?void 0:E.dragRotate)??!0;try{const V=M.mapService;V&&typeof V.setMapStatus=="function"&&V.setMapStatus({dragEnable:j,zoomEnable:S,rotateEnable:A,doubleClickZoom:S})}catch{}},[]);c.useEffect(()=>{if(!l.current)return;let M=!1;const b=A1(e);D0(b).then(S=>{if(M||!l.current)return;const A=new V0.Scene({id:l.current,map:S,logoVisible:!1});u.current=A,A.on("loaded",()=>{var C;M||(g(A,b),p(A),(C=m.current)==null||C.call(m,A),j(A))}),b.bounds&&A.on("loaded",()=>{try{const[C,Z]=b.bounds;A.fitBounds([C[0],C[1],Z[0],Z[1]])}catch{}})});function j(S){S.on("mapmove",()=>{var C,Z;const A={originalEvent:null,center:[S.getCenter().lng,S.getCenter().lat],zoom:S.getZoom(),pitch:S.getPitch(),rotation:S.getRotation()};(Z=(C=h.current)==null?void 0:C.onMove)==null||Z.call(C,A),s!=null&&s.mapMove&&f.emit(s.mapMove,A)}),S.on("zoomchange",()=>{var C,Z;const A={originalEvent:null,center:[S.getCenter().lng,S.getCenter().lat],zoom:S.getZoom(),pitch:S.getPitch(),rotation:S.getRotation()};(Z=(C=h.current)==null?void 0:C.onZoom)==null||Z.call(C,A),s!=null&&s.mapZoom&&f.emit(s.mapZoom,A)})}return()=>{if(M=!0,u.current){try{u.current.destroy()}catch{}u.current=null}p(null)}},[e.basemap,g]);const v=JSON.stringify(e.center),y=JSON.stringify(e.gestureConfig);c.useEffect(()=>{if(!d)return;const M=A1(e);try{d.setCenter(M.center)}catch{}try{d.setZoom(M.zoom)}catch{}try{d.setPitch(M.pitch)}catch{}try{d.setRotation(M.rotation)}catch{}g(d,M)},[d,v,e.zoom,e.pitch,e.rotation,y,g]);const z=c.useCallback(()=>{if(u.current)try{const M=u.current.map;M&&typeof M.resize=="function"&&M.resize()}catch{}},[]);return c.useEffect(()=>(window.addEventListener("resize",z),()=>window.removeEventListener("resize",z)),[z]),o.jsx("div",{ref:l,className:i??"aimapui-container",style:a??{width:"100%",height:"100%"},children:d&&o.jsx(O0,{scene:d,children:t})})}function q0(e){if(e.colorField)return{field:e.colorField,values:e.colorValues};if(e.color)return{values:e.color}}function Y5(e){if(e.sizeField)return{field:e.sizeField,values:e.sizeValues};if(e.size!==void 0)return{values:e.size}}function U0(e){if(e.shapeField)return{field:e.shapeField,values:e.shapeValues};if(e.shape)return{values:e.shape}}function q1(e){return{color:q0(e),size:Y5(e),shape:U0(e),style:e.style?{...e.style}:void 0}}function K5(e){var t,n;return{data:e.source,options:{parser:{type:"json",x:((t=e.sourceConfig)==null?void 0:t.x)??"lng",y:((n=e.sourceConfig)==null?void 0:n.y)??"lat"}}}}function X5(e){var t,n;return{data:e.source,options:{parser:{type:"csv",x:(t=e.sourceConfig)==null?void 0:t.x,y:(n=e.sourceConfig)==null?void 0:n.y}}}}function U1(e){return{data:e.source,options:void 0}}function Q5(e){var t;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser}}:e.sourceType==="geojson"?U1(e):e.sourceType==="csv"?X5(e):K5(e)}function W0(e){return{type:"PointLayer",sourceConfig:Q5(e),visual:q1(e),schema:e}}function G0(e){return{type:"LineLayer",sourceConfig:ee(e),visual:q1(e),schema:e}}function ee(e){var t,n,r,s,i,a,l,u,d,p;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser}}:e.sourceType==="geojson"?U1(e):e.sourceType==="csv"?{data:e.source,options:{parser:{type:"csv",x:(n=e.sourceConfig)==null?void 0:n.x,y:(r=e.sourceConfig)==null?void 0:r.y,x1:(s=e.sourceConfig)==null?void 0:s.x1,y1:(i=e.sourceConfig)==null?void 0:i.y1}}}:{data:e.source,options:{parser:{type:"json",x:((a=e.sourceConfig)==null?void 0:a.x)??"lng",y:((l=e.sourceConfig)==null?void 0:l.y)??"lat",x1:(u=e.sourceConfig)==null?void 0:u.x1,y1:(d=e.sourceConfig)==null?void 0:d.y1,coordinates:(p=e.sourceConfig)==null?void 0:p.coordinates}}}}function J0(e){return{type:"PolygonLayer",sourceConfig:te(e),visual:q1(e),schema:e}}function te(e){var t;return e.sourceType==="geojson"?U1(e):{data:e.source,options:{parser:{type:"json",coordinates:((t=e.sourceConfig)==null?void 0:t.coordinates)??"coordinates"}}}}function Y0(e){return{type:"HeatmapLayer",sourceConfig:ne(e),visual:re(e),schema:e}}function ne(e){var t,n,r,s,i,a,l,u;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser,...e.sourceConfig.transforms?{transforms:e.sourceConfig.transforms}:{}}}:e.sourceType==="geojson"?{data:e.source,options:(n=e.sourceConfig)!=null&&n.transforms?{transforms:e.sourceConfig.transforms}:void 0}:e.sourceType==="csv"?{data:e.source,options:{parser:{type:"csv",x:(r=e.sourceConfig)==null?void 0:r.x,y:(s=e.sourceConfig)==null?void 0:s.y},...(i=e.sourceConfig)!=null&&i.transforms?{transforms:e.sourceConfig.transforms}:{}}}:{data:e.source,options:{parser:{type:"json",x:((a=e.sourceConfig)==null?void 0:a.x)??"lng",y:((l=e.sourceConfig)==null?void 0:l.y)??"lat"},...(u=e.sourceConfig)!=null&&u.transforms?{transforms:e.sourceConfig.transforms}:{}}}}function re(e){const t=e.sizeField?{field:e.sizeField,values:e.sizeValues}:void 0,n=q0(e),r=U0(e),s=e.style?{...e.style}:void 0;return{color:n,size:t,shape:r,style:s}}function K0(e){return{type:"RasterLayer",sourceConfig:oe(e),visual:se(e),schema:e}}function oe(e){var t;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser}}:{data:e.source,options:e.sourceType==="raster"?{parser:{type:"raster",extent:[73.482190241,3.82501784112,135.106618732,53.557926206]}}:e.sourceType==="rasterTile"?{parser:{type:"rasterTile",tileSize:256,zoomOffset:1}}:void 0}}function se(e){return{color:void 0,size:void 0,shape:void 0,style:e.style?{...e.style}:void 0}}function X0(e){var t;return{type:"ImageLayer",sourceConfig:{data:e.source,options:{parser:((t=e.sourceConfig)==null?void 0:t.parser)??(e.sourceType==="image"?{type:"image"}:void 0)}},visual:{color:void 0,size:void 0,shape:void 0,style:e.style?{...e.style}:void 0},schema:e}}function W1(e,t,n,r){const s=c.useRef(t),i=c.useRef(n);s.current=t,i.current=n;const a=c.useRef(r);a.current=r;const l=c.useRef(null),u=c.useRef(e);u.current=e;const d=c.useCallback(()=>{const m=u.current;if(m)try{const h=m.mapService;if(h){const f=h.lngLatToContainer([s.current,i.current]);f&&a.current(f.x,f.y)}else{const f=m.lngLatToContainer([s.current,i.current]);f&&a.current(f.x,f.y)}}catch{}},[]),p=c.useCallback(()=>{d()},[d]);c.useEffect(()=>{if(!e)return;const m=()=>{setTimeout(()=>d(),0)};return e.loaded?m():e.on("loaded",m),()=>{e.off("loaded",m)}},[e,d]),c.useEffect(()=>{d()},[t,n,d]),c.useEffect(()=>{if(e){try{const m=e.mapService;if(m)return m.on("camerachange",p),m.on("viewchange",p),()=>{m.off("camerachange",p),m.off("viewchange",p)}}catch{}return e.on("camerachange",p),e.on("resize",p),()=>{e.off("camerachange",p),e.off("resize",p)}}},[e,p]),c.useEffect(()=>()=>{l.current!==null&&(cancelAnimationFrame(l.current),l.current=null)},[])}function Q(...e){return j5(e)}function ae(e,t=1){const n=e.replace("#","").match(/.{2}/g);if(!n||n.length<3)return e;const[r,s,i]=n.map(a=>parseInt(a,16));return`rgba(${r}, ${s}, ${i}, ${t})`}function S1(e){return typeof e=="string"&&/<[a-zA-Z][^>]*>/.test(e)}let H1=null;const P1=new Set;function ie(e,t){H1&&H1!==e&&P1.forEach(n=>n(e)),H1=e}function le(e){H1===e&&(H1=null)}function ce(e,t,n,r,s,i,a,l){if(a!=="auto")return M1(a,l);const u=t,d=i-t,p=e,m=s-e,h=8;if(u>=r+l+h)return M1("top",l);if(d>=r+l+h)return M1("bottom",l);if(m>=n+l+h)return M1("right",l);if(p>=n+l+h)return M1("left",l);const g=Object.entries({top:u,bottom:d,right:m,left:p}).sort((v,y)=>y[1]-v[1])[0][0];return M1(g,l)}function M1(e,t){switch(e){case"top":return{placement:"top",transform:`translate(-50%, -100%) translateY(-${t}px)`};case"bottom":return{placement:"bottom",transform:`translate(-50%, 0) translateY(${t}px)`};case"left":return{placement:"left",transform:`translate(-100%, -50%) translateX(-${t}px)`};case"right":return{placement:"right",transform:`translate(0, -50%) translateX(${t}px)`}}}function Z1({onClick:e}){return o.jsx("button",{onClick:t=>{t.stopPropagation(),e()},className:"aimapui-popup-close-btn absolute top-2 right-2 size-8 flex items-center justify-center text-on-surface-variant rounded-lg transition-[color,background] duration-200 cursor-pointer bg-transparent border-none p-0 hover:text-on-surface hover:bg-surface-container-high [&_.material-symbols-outlined]:text-xl","aria-label":"关闭",children:o.jsx("span",{className:"material-symbols-outlined",children:"close"})})}const ue={top:"M0 0L8 8L16 0",bottom:"M0 8L8 0L16 8",left:"M0 0L8 8L0 16",right:"M8 0L0 8L8 16"};function w1({placement:e}){const t=e==="top"||e==="bottom",n=t?16:8,r=t?8:16,s=t?"0 0 16 8":"0 0 8 16",i=ue[e];return o.jsx("div",{className:`aimapui-popup-tip-arrow aimapui-popup-tip-arrow--${e==="top"?"bottom":e==="bottom"?"top":e}`,children:o.jsxs("svg",{width:n,height:r,viewBox:s,fill:"none",children:[o.jsx("path",{d:i,fill:"rgba(248, 249, 255, 0.95)"}),o.jsx("path",{d:i,stroke:"rgba(195, 198, 215, 0.3)",strokeWidth:"0.5",fill:"none"})]})})}function de({header:e,onClose:t}){return e.coverUrl?o.jsxs("div",{className:"aimapui-popup-cover relative aspect-video overflow-hidden",children:[o.jsx("img",{src:e.coverUrl,alt:e.title,className:"aimapui-popup-cover-img w-full h-full object-cover"}),o.jsx("button",{className:"aimapui-popup-close-btn aimapui-popup-close-btn--cover absolute top-2 right-2 size-8 bg-black/30 backdrop-blur-sm text-white flex items-center justify-center rounded-full border-none cursor-pointer transition-colors duration-200 z-10 hover:bg-black/50 [&_.material-symbols-outlined]:text-lg","aria-label":"关闭",onClick:n=>{n.stopPropagation(),t()},children:o.jsx("span",{className:"material-symbols-outlined",children:"close"})}),e.statusLabel&&o.jsxs("div",{className:"aimapui-popup-status-badge absolute bottom-2 left-2 flex items-center gap-1.5 px-2 py-0.5 bg-surface/90 backdrop-blur-sm rounded-md shadow-sm text-[10px] font-semibold uppercase tracking-wide text-on-surface",children:[o.jsx("div",{className:"size-2 rounded-full",style:{background:e.statusColor||"#10b981"}}),o.jsx("span",{children:e.statusLabel})]})]}):null}function pe({header:e,onClose:t,hasCover:n,showStatusDot:r}){return o.jsxs("div",{className:Q("aimapui-popup-header relative flex items-center p-4",!n&&"pr-10"),children:[r&&e.statusDot&&o.jsx("div",{className:"size-2 rounded-full shrink-0 mr-2 animate-pulse",style:{background:e.statusDot}}),o.jsx("h3",{className:"aimapui-popup-title text-xl leading-7 font-semibold text-on-surface m-0 flex-1 min-w-0 truncate",children:e.title}),!n&&o.jsx(Z1,{onClick:t})]})}function fe({attributes:e,size:t}){const n=t==="compact",r=t==="detailed",s=n?1:2;return o.jsx("div",{className:Q("aimapui-popup-attrs",n?"flex flex-col":"grid gap-2"),style:n?void 0:{gridTemplateColumns:`repeat(${s}, 1fr)`},children:e.map((i,a)=>r&&i.icon?o.jsxs("div",{className:"aimapui-popup-attr flex items-center gap-2",children:[o.jsx("div",{className:"aimapui-popup-attr-icon size-12 rounded-lg bg-surface-container-highest flex items-center justify-center text-primary shrink-0 [&_.material-symbols-outlined]:text-[28px]",children:o.jsx("span",{className:"material-symbols-outlined",children:i.icon})}),o.jsxs("div",{children:[o.jsx("p",{className:"aimapui-popup-attr-label text-sm leading-5 text-on-surface-variant m-0",children:i.label}),o.jsx("p",{className:"aimapui-popup-attr-value text-sm leading-5 font-medium text-on-surface m-0",style:i.valueColor?{color:i.valueColor}:void 0,children:i.value})]})]},a):o.jsxs("div",{className:Q("aimapui-popup-attr","flex justify-between items-baseline gap-2",n&&"py-2 border-b border-outline-variant/30 last:border-b-0 last:pb-0 first:pt-0"),children:[o.jsx("p",{className:"aimapui-popup-attr-label text-sm leading-5 text-on-surface-variant m-0",children:i.label}),o.jsx("p",{className:"aimapui-popup-attr-value text-sm leading-5 font-medium text-on-surface m-0 text-right",style:i.valueColor?{color:i.valueColor}:void 0,children:i.value})]},a))})}function he({actions:e}){return o.jsx("div",{className:"aimapui-popup-actions flex gap-3 px-4 pb-4",children:e.map((t,n)=>o.jsx("button",{className:Q("aimapui-popup-action-btn","flex-1 py-2.5 text-sm leading-5 font-semibold rounded-lg border-none cursor-pointer transition-all duration-150 active:scale-[0.98]",t.variant==="secondary"?"aimapui-popup-action-btn--secondary bg-transparent text-on-surface border-2 border-solid border-outline-variant hover:bg-surface-container-low":"aimapui-popup-action-btn--primary bg-primary text-on-primary shadow-sm hover:shadow-[0_4px_12px_rgba(0,74,198,0.3)]"),onClick:t.onClick,children:t.label},n))})}function V1({longitude:e,latitude:t,content:n,closeButton:r=!0,size:s="standard",placement:i="auto",offset:a=8,header:l,attributes:u,actions:d,visible:p,singleton:m=!1,overlayContainer:h,onClose:f,className:g}){const v=a1(),y=p!==void 0,[z,M]=c.useState(!0),b=y?p:z,[j,S]=c.useState(!1),[A,C]=c.useState("top"),Z=c.useRef(null),E=c.useRef(!0);c.useRef(!1);const V=c.useRef(Symbol("popup")),[_,k]=c.useState(null);c.useEffect(()=>{if(h||!v)return;const R=()=>{try{const J=v.mapService;if(J&&typeof J.getMarkerContainer=="function"){const L=J.getMarkerContainer();if(L)return k(L),!0}}catch{}return!1};if(R())return;const F=()=>{R()};return v.loaded?F():v.on("loaded",F),()=>{v.off("loaded",F)}},[v,h]);const w=h??_,x=c.useCallback(()=>{j||(S(!0),setTimeout(()=>{y||M(!1),f==null||f(),S(!1)},150))},[y,f,j]);c.useEffect(()=>{if(!m||!b)return;const R=V.current;return ie(R),()=>le(R)},[m,b,x]),c.useEffect(()=>{if(!m)return;const R=V.current,F=J=>{J!==R&&b&&x()};return P1.add(F),()=>{P1.delete(F)}},[m,b,x]);const H=c.useRef(()=>{});H.current=(R,F)=>{var n1;const J=Z.current;if(!J)return;const L=Math.round(R),N=Math.round(F);let Y=0,I=0;try{const o1=v==null?void 0:v.mapService,r1=(n1=o1==null?void 0:o1.getContainer)==null?void 0:n1.call(o1);if(r1){const s1=r1.getBoundingClientRect();Y=s1.width||r1.clientWidth||r1.scrollWidth,I=s1.height||r1.clientHeight||r1.scrollHeight}}catch{}const q=J.querySelector(".aimapui-popup-content"),t1=(q==null?void 0:q.offsetWidth)||320,i1=(q==null?void 0:q.offsetHeight)||200,{placement:$,transform:O}=ce(L,N,t1,i1,Y,I,i,a);C($),J.style.left="0",J.style.top="0",J.style.transform=`translate3d(${L}px, ${N}px, 0) ${O}`;let X;if(Y>0&&I>0)X=L>=-2&&L<=Y+2&&N>=-2&&N<=I+2;else{const o1=J.parentElement;o1&&o1.clientWidth>0&&o1.clientHeight>0?X=L>=0&&L<=o1.clientWidth&&N>=0&&N<=o1.clientHeight:X=E.current}E.current=X,J.style.display=X?"":"none"};const T=c.useCallback(()=>{if(v)try{const R=v.mapService,F=R?R.lngLatToContainer([e,t]):v.lngLatToContainer([e,t]);F&&H.current(F.x,F.y)}catch{}},[v,e,t]);if(c.useEffect(()=>{if(!w||!b)return;const R=requestAnimationFrame(()=>{T()});return()=>cancelAnimationFrame(R)},[w,b,T]),c.useEffect(()=>{if(!b)return;const R=F=>{F.key==="Escape"&&x()};return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[b,x]),c.useEffect(()=>{var L;if(!b||!w)return;const R=N=>{const Y=Z.current;if(!Y||Y.contains(N.target))return;const I=N.target;I.closest(".aimapui-marker")||I.closest("[data-marker]")||x()};let F=null;try{const N=v==null?void 0:v.mapService;N&&(F=(L=N.getContainer)==null?void 0:L.call(N))}catch{}const J=F||w.parentElement||w;return J.addEventListener("click",R,!0),()=>J.removeEventListener("click",R,!0)},[b,w,v,x]),W1(v,e,t,(R,F)=>{H.current(R,F)}),!b||!w)return null;const P=l||u||d,W=!!(l!=null&&l.coverUrl),D=A==="left"||A==="right",U=()=>P?o.jsxs(o.Fragment,{children:[l&&W&&o.jsx(de,{header:l,onClose:x}),l&&o.jsx(pe,{header:l,onClose:x,hasCover:W,showStatusDot:s==="compact"}),o.jsxs("div",{className:Q("aimapui-popup-body relative p-4 text-sm leading-5 text-on-surface break-words whitespace-normal",!l&&r&&"pr-10"),children:[!l&&r&&o.jsx(Z1,{onClick:x}),n&&!S1(n)&&typeof n!="string"&&o.jsx("div",{children:n}),n&&S1(n)&&o.jsx("div",{dangerouslySetInnerHTML:{__html:n}}),n&&!S1(n)&&typeof n=="string"&&o.jsx("div",{children:n}),!n&&!(u!=null&&u.length)&&!(d!=null&&d.length)&&!l&&o.jsx("div",{style:{color:"var(--color-on-surface-variant)"},children:"无内容"}),u&&u.length>0&&o.jsx(fe,{attributes:u,size:s})]}),d&&d.length>0&&o.jsx(he,{actions:d})]}):S1(n)?o.jsxs("div",{className:"aimapui-popup-body relative p-4 pt-2 pr-10 text-sm leading-5 text-on-surface break-words whitespace-normal",children:[r&&o.jsx(Z1,{onClick:x}),o.jsx("div",{dangerouslySetInnerHTML:{__html:n}})]}):o.jsxs("div",{className:"aimapui-popup-body relative p-4 pt-2 pr-10 text-sm leading-5 text-on-surface break-words whitespace-normal",children:[r&&o.jsx(Z1,{onClick:x}),o.jsx("div",{children:n??""})]}),e1=D?{display:"flex",alignItems:"center"}:{display:"flex",flexDirection:"column",alignItems:"center"};return S0.createPortal(o.jsxs("div",{ref:Z,className:Q("aimapui-popup",`aimapui-popup--${s}`),style:{position:"absolute",left:0,top:0,transform:"translate(-9999px, -9999px)",display:"none",zIndex:30,pointerEvents:"auto",...e1},children:[A==="bottom"&&o.jsx(w1,{placement:A}),A==="right"&&o.jsx(w1,{placement:A}),o.jsx("div",{className:Q("aimapui-popup-content overflow-hidden rounded-xl",j&&"aimapui-popup-content--exit",g),children:U()}),A==="top"&&o.jsx(w1,{placement:A}),A==="left"&&o.jsx(w1,{placement:A})]}),w)}const me={top:"bottom",bottom:"top",left:"right",right:"left"},ge={top:"translate(-50%, -100%)",bottom:"translate(-50%, 0)",left:"translate(-100%, -50%)",right:"translate(0, -50%)"};function G1({content:e,variant:t="dark",longitude:n,latitude:r,targetElement:s,placement:i="top",offset:a=8,trigger:l="hover",visible:u,title:d,items:p,overlayContainer:m,className:h}){const{resolvedTheme:f}=$0(),g=a1(),v=u!==void 0,[y,z]=c.useState(!1),M=v?u:y,b=c.useRef(null),j=c.useRef(null),S=n!==void 0&&r!==void 0;c.useEffect(()=>{if(S||!s||v)return;const x=()=>{j.current=setTimeout(()=>z(!0),100)},H=()=>{j.current&&(clearTimeout(j.current),j.current=null),z(!1)},T=()=>{j.current&&clearTimeout(j.current),z(P=>!P)};return l==="hover"?(s.addEventListener("mouseenter",x),s.addEventListener("mouseleave",H)):s.addEventListener("click",T),()=>{j.current&&clearTimeout(j.current),s.removeEventListener("mouseenter",x),s.removeEventListener("mouseleave",H),s.removeEventListener("click",T)}},[s,l,S,v]);const A=c.useCallback(()=>{if(!s||!b.current)return;const x=s.getBoundingClientRect(),H=b.current.getBoundingClientRect();let T=0,P=0;switch(i){case"right":T=x.right+a,P=x.top+x.height/2-H.height/2;break;case"bottom":T=x.left+x.width/2-H.width/2,P=x.bottom+a;break;case"left":T=x.left-H.width-a,P=x.top+x.height/2-H.height/2;break;case"top":default:T=x.left+x.width/2-H.width/2,P=x.top-H.height-a;break}const W=8;T=Math.max(W,Math.min(T,window.innerWidth-H.width-W)),P=Math.max(W,Math.min(P,window.innerHeight-H.height-W)),b.current.style.display="",b.current.style.left=`${T}px`,b.current.style.top=`${P}px`},[s,i,a]);c.useEffect(()=>{if(S||!M||!s)return;A();const x=()=>A();return window.addEventListener("resize",x),window.addEventListener("scroll",x,!0),()=>{window.removeEventListener("resize",x),window.removeEventListener("scroll",x,!0)}},[M,s,S,A]);const C=c.useCallback(()=>{var x,H;if(!g)return null;try{const T=g.mapService,P=((x=T==null?void 0:T.getContainer)==null?void 0:x.call(T))??((H=g.getMapContainer)==null?void 0:H.call(g))??g.container;if(P instanceof HTMLElement)return P.getBoundingClientRect()}catch{}return null},[g]),Z=c.useRef(()=>{});Z.current=(x,H)=>{const T=b.current;if(!T||!S)return;let P=0,W=0;switch(i){case"top":W=-a;break;case"bottom":W=a;break;case"left":P=-a;break;case"right":P=a;break}const D=C();let U=!0;if(D&&D.width>0&&D.height>0&&(U=x>=-2&&x<=D.width+2&&H>=-2&&H<=D.height+2),!U){T.style.display="none";return}const e1=D?D.left:0,R=D?D.top:0,F=Math.round(x+P+e1),J=Math.round(H+W+R),L=ge[i];T.style.display="",T.style.transform=`translate3d(${F}px, ${J}px, 0) ${L}`};const E=c.useCallback(()=>{if(!(!g||!S))try{const x=g.mapService,H=x?x.lngLatToContainer([n,r]):g.lngLatToContainer([n,r]);if(!H||isNaN(H.x)||isNaN(H.y))return;Z.current(H.x,H.y)}catch{}},[g,n,r,S]);if(c.useEffect(()=>{if(!S||!M)return;const x=requestAnimationFrame(()=>E());return()=>cancelAnimationFrame(x)},[M,S,E]),W1(S?g:null,n??0,r??0,(x,H)=>{Z.current(x,H)}),!M)return null;const V=me[i],_=d||p&&p.length>0,k=()=>e?typeof e=="string"?o.jsx("span",{dangerouslySetInnerHTML:{__html:e}}):e:_?o.jsxs(o.Fragment,{children:[d&&o.jsx("p",{className:"font-sans text-xs leading-4 font-semibold m-0 mb-0.5",children:d}),p&&p.length>0&&o.jsx("div",{className:"flex flex-col gap-0.5",children:p.map((x,H)=>o.jsxs("div",{className:"flex justify-between items-center gap-3",children:[o.jsx("span",{className:"text-xs leading-4 font-normal opacity-70 m-0",children:x.label}),o.jsx("span",{className:"font-mono text-xs leading-4 font-[450] text-right m-0",children:x.value})]},H))})]}):null,w=o.jsxs("div",{ref:b,"data-theme":f,className:Q("aimapui-tooltip",t!=="dark"&&`aimapui-tooltip--${t}`),style:{position:"fixed",left:0,top:0,transform:"translate(-9999px, -9999px)",display:"none",zIndex:9999,pointerEvents:"none"},children:[o.jsx("div",{className:Q("aimapui-tooltip-content",h),children:k()}),o.jsx("div",{className:`aimapui-tooltip-arrow aimapui-tooltip-arrow--${V}`})]});return S0.createPortal(w,document.body)}function Ce(e,t){let n;switch(e.type){case"point":n=W0(e);break;case"line":n=G0(e);break;case"polygon":n=J0(e);break;case"heatmap":n=Y0(e);break;case"raster":n=K0(e);break;case"image":n=X0(e);break;default:return console.warn(`[aimapui] Unknown layer type: ${e.type}`),null}return ve(n)}function ve(e,t){var p;const n=w0[e.type];if(!n)throw new Error(`[aimapui] L7 layer class "${e.type}" not found`);const r=new n({...e.schema.zIndex!==void 0?{zIndex:e.schema.zIndex}:{},...e.schema.name?{name:e.schema.name}:{}}),{data:s,options:i}=e.sourceConfig;i?r.source(s,i):r.source(s);const{color:a,size:l,shape:u,style:d}=e.visual;if(a&&(a.field&&a.values?r.color(a.field,a.values):a.values&&r.color(a.values)),l&&(l.field&&l.values?r.size(l.field,l.values):l.values!==void 0&&r.size(l.values)),u&&(u.field&&u.values?r.shape(u.field,u.values):u.values&&r.shape(u.values)),d&&Object.keys(d).length>0&&r.style(d),e.type==="PointLayer"&&!u&&r.shape("circle"),e.type==="LineLayer"&&!u&&r.shape("line"),e.schema.filterField&&e.schema.filterValues){const m=e.schema.filterField,h=e.schema.filterValues;r.filter(m,f=>h.includes(f))}return(p=e.schema.animate)!=null&&p.enable&&r.animate(!0,e.schema.animate),e.schema.active&&r.active(e.schema.active),e.schema.select&&r.select(e.schema.select),e.schema.opacity!==void 0&&r.style({opacity:e.schema.opacity}),e.schema.blend&&r.blend(e.schema.blend),e.schema.visible===!1&&r.hide(),e.schema.minZoom!==void 0&&r.minZoom(e.schema.minZoom),e.schema.maxZoom!==void 0&&r.maxZoom(e.schema.maxZoom),r}function j1(e,t,n){var l,u,d,p,m,h,f,g;const r=n,s=Number.isFinite((l=r==null?void 0:r.lnglat)==null?void 0:l.lng)?r.lnglat.lng:Number.isFinite((u=r==null?void 0:r.lngLat)==null?void 0:u.lng)?r.lngLat.lng:Number.isFinite((d=r==null?void 0:r.coordinate)==null?void 0:d.lng)?r.coordinate.lng:0,i=Number.isFinite((p=r==null?void 0:r.lnglat)==null?void 0:p.lat)?r.lnglat.lat:Number.isFinite((m=r==null?void 0:r.lngLat)==null?void 0:m.lat)?r.lngLat.lat:Number.isFinite((h=r==null?void 0:r.coordinate)==null?void 0:h.lat)?r.coordinate.lat:0,a=((f=r==null?void 0:r.feature)==null?void 0:f.properties)??(r==null?void 0:r.feature)??((g=r==null?void 0:r.data)==null?void 0:g.properties)??(r==null?void 0:r.data)??void 0;return{layerId:e,layerType:t,originalEvent:n,lng:s,lat:i,feature:a}}function L1({schema:e,scene:t,eventHandlers:n,onLayerCreated:r}){const s=c.useRef(null),i=B1(),a=c.useRef(n);a.current=n;const l=c.useMemo(()=>{const{source:p,...m}=e;let h;if(ArrayBuffer.isView(p))h=`TypedArray:${p.length}`;else if(p&&typeof p=="object"&&"width"in p){const f=p;h=`Rasters:${f.width}x${f.height}:${f.length}`}else if(typeof p=="string")h=p;else try{h=JSON.stringify(p)}catch{h=String(p)}return h+"|"+ye(m)},[e]),[u,d]=c.useState({visible:!1,lng:0,lat:0,content:"",trigger:"click"});return c.useEffect(()=>{var A,C,Z,E;const p=Ce(e);if(!p)return;let m=!1;s.current=p;const h=e.id??e.name??`layer-${e.type}`,f=e.events,g=!!(f!=null&&f.enablePopup),v=(f==null?void 0:f.popupTrigger)??"click",y=V=>{if(!g)return;const _=V.feature;if(!_)return;const k=xe(_,f==null?void 0:f.popupFields,f==null?void 0:f.popupTemplate);d({visible:!0,lng:V.lng,lat:V.lat,content:k,trigger:v})},z=()=>{d(V=>({...V,visible:!1}))},M=!!((A=a.current)!=null&&A.onClick||f!=null&&f.click||g&&v==="click"),b=!!((C=a.current)!=null&&C.onMouseMove||f!=null&&f.mousemove||g&&v==="hover"),j=!!((Z=a.current)!=null&&Z.onMouseEnter||f!=null&&f.mouseenter),S=!!((E=a.current)!=null&&E.onMouseLeave||f!=null&&f.mouseleave||g&&v==="hover");return M&&p.on("click",V=>{var k,w;const _=j1(h,e.type,V);(w=(k=a.current)==null?void 0:k.onClick)==null||w.call(k,_),f!=null&&f.click&&i.emit(f.click,_),v==="click"&&y(_)}),b&&p.on("mousemove",V=>{var k,w;const _=j1(h,e.type,V);(w=(k=a.current)==null?void 0:k.onMouseMove)==null||w.call(k,_),v==="hover"&&y(_),f!=null&&f.mousemove&&i.emit(f.mousemove,_)}),j&&p.on("mouseenter",V=>{var k,w;const _=j1(h,e.type,V);(w=(k=a.current)==null?void 0:k.onMouseEnter)==null||w.call(k,_),f!=null&&f.mouseenter&&i.emit(f.mouseenter,_)}),S&&p.on("mouseleave",V=>{var k,w;const _=j1(h,e.type,V);(w=(k=a.current)==null?void 0:k.onMouseLeave)==null||w.call(k,_),v==="hover"&&z(),f!=null&&f.mouseleave&&i.emit(f.mouseleave,_)}),t.addLayer(p),r==null||r(p),p.on("inited",()=>{var V,_;if(!m){if(e.autoFit){const k=(_=(V=p.getSource)==null?void 0:V.call(p))==null?void 0:_.extent;if(k&&Array.isArray(k)&&k.length>=4){const[w,x,H,T]=k;isFinite(w)&&isFinite(x)&&isFinite(H)&&isFinite(T)&&w<H&&x<T&&t.fitBounds([[w,x],[H,T]])}}t.render()}}),()=>{if(m=!0,s.current){try{t.removeLayer(s.current)}catch{}s.current=null}d(V=>({...V,visible:!1}))}},[l,t,i]),c.useEffect(()=>{s.current&&(e.visible===!1?s.current.hide():s.current.show(),e.zIndex!==void 0&&(s.current.zIndex=e.zIndex))},[e.visible,e.zIndex]),u.visible?u.trigger==="hover"?o.jsx(G1,{longitude:u.lng,latitude:u.lat,content:u.content,variant:"dark",placement:"top",visible:!0}):o.jsx(V1,{longitude:u.lng,latitude:u.lat,content:u.content,closeButton:!0,size:"compact",onClose:()=>d(p=>({...p,visible:!1}))}):null}function ye(e){return JSON.stringify($1(e))}function $1(e){if(ArrayBuffer.isView(e))return`[TypedArray:${e.length}]`;if(e instanceof ArrayBuffer)return`[ArrayBuffer:${e.byteLength}]`;if(Array.isArray(e))return e.length>1e3?`[Array:${e.length}]`:e.map($1);if(e&&typeof e=="object"){const t=e,n=Object.keys(t).sort(),r={};return n.forEach(s=>{r[s]=$1(t[s])}),r}return e}function xe(e,t,n){return n?n.replace(/\{\{(\w+)\}\}/g,(i,a)=>String(e[a]??"")):`<table style="font-size:12px">${(t??Object.keys(e).filter(i=>!["_id","id","geometry","coordinates"].includes(i))).map(i=>`<tr><td style="font-weight:600;padding-right:8px">${i}</td><td>${e[i]??""}</td></tr>`).join("")}</table>`}function Q0({layers:e,eventHandlers:t}){const n=a1();return n?o.jsx(o.Fragment,{children:e.map((r,s)=>o.jsx(L1,{schema:r,scene:n,eventHandlers:t},r.id??`layer-${s}`))}):null}const e5=c.createContext(!1);function h1(){return c.useContext(e5)}const _1=new Set,c1={mark(e){e&&typeof e=="object"&&"$$typeof"in e&&_1.add(e),e&&typeof e=="function"&&_1.add(e)},check(e){if("position"in e.props)return!0;const t=e.type;if(_1.has(t))return!0;const n=t==null?void 0:t.displayName;return!!(typeof n=="string"&&n.endsWith("Control"))}};function J1({children:e,className:t,style:n}){const{controlGroups:r,otherChildren:s}=be(e);return o.jsx(e5.Provider,{value:!0,children:o.jsxs("div",{className:`l7-control-container${t?` ${t}`:""}`,style:n,children:[Object.entries(r).map(([i,a])=>{const l=Me(i);return o.jsx("div",{className:`l7-control-anchor ${l}`,children:a},i)}),s]})})}function be(e){const t={},n=[];return c.Children.forEach(e,(r,s)=>{var i;if(!c.isValidElement(r)){n.push(r);return}if(c1.check(r)){const a=((i=r.props)==null?void 0:i.position)??"topright";t[a]||(t[a]=[]),t[a].push(r)}else n.push(c.isValidElement(r)?c.cloneElement(r,{key:r.key??`non-ctrl-${s}`}):r)}),{controlGroups:t,otherChildren:n}}function Le(e){switch(e){case"topleft":return{vSide:"top",hSide:"left",direction:"column"};case"topright":return{vSide:"top",hSide:"right",direction:"column"};case"bottomleft":return{vSide:"bottom",hSide:"left",direction:"column"};case"bottomright":return{vSide:"bottom",hSide:"right",direction:"column"};case"topcenter":return{vSide:"top",hSide:"left",direction:"row"};case"bottomcenter":return{vSide:"bottom",hSide:"left",direction:"row"};case"lefttop":return{vSide:"top",hSide:"left",direction:"row"};case"leftbottom":return{vSide:"bottom",hSide:"left",direction:"row"};case"righttop":return{vSide:"top",hSide:"right",direction:"row"};case"rightbottom":return{vSide:"bottom",hSide:"right",direction:"row"};default:return{vSide:"top",hSide:"right",direction:"column"}}}function Me(e){if(e==="rightcenter")return"l7-rightcenter l7-column";if(e==="leftcenter")return"l7-leftcenter l7-column";const{vSide:t,hSide:n,direction:r}=Le(e);return`l7-${t} l7-${n} l7-${r}`}function m1(e){const t=a1(),n=c.useMemo(()=>{if(!t)return null;try{return t.mapService??null}catch{return null}},[t]),r=c.useCallback(()=>{var i;if(!t)return null;try{return n&&typeof n.getContainer=="function"?n.getContainer():((i=t.getContainer)==null?void 0:i.call(t))??null}catch{return null}},[t,n]),s=c.useMemo(()=>{if(e==="rightcenter")return"l7-rightcenter l7-column";if(e==="leftcenter")return"l7-leftcenter l7-column";const{vSide:i,hSide:a,direction:l}=ze(e??"topright");return`l7-${i} l7-${a} l7-${l}`},[e]);return{scene:t,mapsService:n,getMapContainer:r,positionClassName:s}}function ze(e){switch(e){case"topleft":return{vSide:"top",hSide:"left",direction:"column"};case"topright":return{vSide:"top",hSide:"right",direction:"column"};case"bottomleft":return{vSide:"bottom",hSide:"left",direction:"column"};case"bottomright":return{vSide:"bottom",hSide:"right",direction:"column"};case"topcenter":return{vSide:"top",hSide:"left",direction:"row"};case"bottomcenter":return{vSide:"bottom",hSide:"left",direction:"row"};case"lefttop":return{vSide:"top",hSide:"left",direction:"row"};case"leftbottom":return{vSide:"bottom",hSide:"left",direction:"row"};case"righttop":return{vSide:"top",hSide:"right",direction:"row"};case"rightbottom":return{vSide:"bottom",hSide:"right",direction:"row"};case"rightcenter":return{vSide:"top",hSide:"right",direction:"column"};case"leftcenter":return{vSide:"top",hSide:"left",direction:"column"};default:return{vSide:"top",hSide:"right",direction:"column"}}}function Y1({position:e="bottomright",zoomInText:t,zoomInTitle:n="Zoom in",zoomOutText:r,zoomOutTitle:s="Zoom out",showZoom:i=!1,className:a,style:l}){const{mapsService:u,positionClassName:d}=m1(e),p=h1(),[m,h]=c.useState(0),[f,g]=c.useState(!0),[v,y]=c.useState(!0),z=c.useRef(()=>{if(!u)return;const S=Math.floor(u.getZoom());h(S),g(u.getZoom()<u.getMaxZoom()),y(u.getZoom()>u.getMinZoom())});c.useEffect(()=>{if(!u)return;z.current();const S=()=>z.current();return u.on("zoomend",S),u.on("zoomchange",S),()=>{u.off("zoomend",S),u.off("zoomchange",S)}},[u]);const M=()=>{u&&u.getZoom()<u.getMaxZoom()&&u.zoomIn()},b=()=>{u&&u.getZoom()>u.getMinZoom()&&u.zoomOut()},j=o.jsxs("div",{className:`l7-control l7-control-zoom l7-control--glass${a?` ${a}`:""}`,style:l,children:[o.jsx("button",{className:"l7-button-control",onClick:M,disabled:!f,title:n,"aria-label":n,children:t??o.jsx("span",{className:"material-symbols-outlined",children:"add"})}),i&&o.jsx("button",{className:"l7-button-control l7-control-zoom__number",disabled:!0,children:m}),o.jsx("button",{className:"l7-button-control",onClick:b,disabled:!v,title:s,"aria-label":s,children:r??o.jsx("span",{className:"material-symbols-outlined",children:"remove"})})]});return p?j:o.jsx("div",{className:`l7-control-anchor ${d}`,children:j})}c1.mark(Y1);function He(e,t){const[n,r]=e,[s,i]=t,a=63710088e-1,l=(i-r)*Math.PI/180,u=(s-n)*Math.PI/180,d=Math.sin(l/2)*Math.sin(l/2)+Math.cos(r*Math.PI/180)*Math.cos(i*Math.PI/180)*Math.sin(u/2)*Math.sin(u/2),p=2*Math.atan2(Math.sqrt(d),Math.sqrt(1-d));return a*p}function I1(e){const t=Math.pow(10,Math.floor(Math.abs(e)).toString().length-1);let n=e/t;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,t*n}function K1({position:e="bottomleft",maxWidth:t=100,metric:n=!0,imperial:r=!1,updateWhenIdle:s=!1,className:i,style:a}){const{mapsService:l,positionClassName:u}=m1(e),d=h1(),[p,m]=c.useState([]),h=c.useRef(()=>{if(l)try{const v=l.getSize()[1]/2,y=l.containerToLngLat([0,v]),z=l.containerToLngLat([t,v]);if(!y||!z)return;const M=He([y.lng,y.lat],[z.lng,z.lat]),b=[];if(n&&M){const j=I1(M),S=j<1e3?`${j} m`:`${j/1e3} km`;b.push({text:S,width:Math.round(t*(j/M))})}if(r&&M){const j=M*3.2808399;if(j>5280){const S=j/5280,A=I1(S);b.push({text:`${A} mi`,width:Math.round(t*(A/S))})}else{const S=I1(j);b.push({text:`${S} ft`,width:Math.round(t*(S/j))})}}m(b)}catch{}});c.useEffect(()=>{if(!l)return;h.current();const g=()=>h.current(),v=s?"moveend":"mapmove",y=s?"zoomend":"zoomchange";return l.on(v,g),l.on(y,g),()=>{l.off(v,g),l.off(y,g)}},[l,t,n,r,s]);const f=o.jsx("div",{className:`l7-control l7-control-scale l7-control--glass${i?` ${i}`:""}`,style:a,children:p.map((g,v)=>o.jsx("div",{className:"l7-control-scale-line",style:{width:g.width},children:g.text},v))});return d?f:o.jsx("div",{className:`l7-control-anchor ${u}`,children:f})}c1.mark(K1);function X1({position:e="topright",container:t,className:n,style:r}){const{getMapContainer:s,positionClassName:i}=m1(e),a=h1(),[l,u]=c.useState(!1),d=c.useCallback(()=>t??s()??document.documentElement,[t,s]),p=c.useCallback(()=>{const h=d();l?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():h.requestFullscreen?h.requestFullscreen():h.webkitRequestFullscreen&&h.webkitRequestFullscreen()},[l,d]);c.useEffect(()=>{const h=()=>{u(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",h),()=>document.removeEventListener("fullscreenchange",h)},[]);const m=o.jsx("div",{className:`l7-control l7-control--glass${n?` ${n}`:""}`,style:r,children:o.jsx("button",{className:"l7-button-control",onClick:p,title:l?"退出全屏":"全屏","aria-label":l?"退出全屏":"全屏",children:o.jsx("span",{className:"material-symbols-outlined",children:l?"fullscreen_exit":"fullscreen"})})});return a?m:o.jsx("div",{className:`l7-control-anchor ${i}`,children:m})}c1.mark(X1);function Q1({position:e="topright",transform:t,className:n,style:r}){const{mapsService:s,positionClassName:i}=m1(e),a=h1(),l=c.useCallback(async()=>{if(!window.navigator.geolocation){console.warn("[aimapui] Geolocation is not supported by this browser");return}if(s)try{const d=await new Promise((v,y)=>{window.navigator.geolocation.getCurrentPosition(({coords:z})=>v(z),z=>y(z))}),{longitude:p,latitude:m}=d;if(isNaN(p)||isNaN(m))return;const h=[p,m],f=t?await t(h):h,g=s.getZoom();s.setZoomAndCenter(g>15?g:15,f)}catch(d){console.warn("[aimapui] Geolocation error:",d)}},[s,t]),u=o.jsx("div",{className:`l7-control l7-control--glass${n?` ${n}`:""}`,style:r,children:o.jsx("button",{className:"l7-button-control",onClick:l,title:"定位","aria-label":"定位",children:o.jsx("span",{className:"material-symbols-outlined",children:"my_location"})})});return a?u:o.jsx("div",{className:`l7-control-anchor ${i}`,children:u})}c1.mark(Q1);const F1=[{text:"Standard",value:"normal",preview:"linear-gradient(135deg, #e8e8e8 0%, #c8d8e8 40%, #a8c8d8 100%)"},{text:"Light",value:"light",preview:"linear-gradient(135deg, #f0f4f8 0%, #d6e4f0 40%, #e8eff5 100%)"},{text:"Dark",value:"dark",preview:"linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #162032 100%)"},{text:"Dark Blue",value:"darkblue",preview:"linear-gradient(135deg, #0a1628 0%, #0f2040 40%, #091a30 100%)"},{text:"Satellite",value:"satellite",preview:"linear-gradient(135deg, #1a3a1a 0%, #2d5a2d 40%, #1d4a2d 100%)"},{text:"Fresh",value:"fresh",preview:"linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 40%, #d4edda 100%)"}],Ve=[{text:"Positron",value:"https://tiles.openfreemap.org/styles/positron",preview:"linear-gradient(135deg, #f2f3f0 0%, #d8dcd6 40%, #e8ebe5 100%)"},{text:"Bright",value:"https://tiles.openfreemap.org/styles/bright",preview:"linear-gradient(135deg, #e8e8e8 0%, #c8d8e8 40%, #a8c8d8 100%)"},{text:"Dark",value:"https://tiles.openfreemap.org/styles/dark",preview:"linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%)"},{text:"Liberty",value:"https://tiles.openfreemap.org/styles/liberty",preview:"linear-gradient(135deg, #f0ece2 0%, #dfd7c8 40%, #c8bfad 100%)"},{text:"Fiord",value:"https://tiles.openfreemap.org/styles/fiord",preview:"linear-gradient(135deg, #2c3e50 0%, #34495e 40%, #415b76 100%)"}],Se=[{text:"Light",value:"light",preview:"linear-gradient(135deg, #f0f4f8 0%, #d6e4f0 40%, #e8eff5 100%)"},{text:"Dark",value:"dark",preview:"linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #162032 100%)"},{text:"Normal",value:"normal",preview:"linear-gradient(135deg, #e8e8e8 0%, #c8d8e8 40%, #a8c8d8 100%)"}];function e0({position:e="topright",options:t,defaultValue:n,onThemeChange:r,className:s,style:i}){const{mapsService:a,positionClassName:l}=m1(e),u=h1(),[d,p]=c.useState(!1),[m,h]=c.useState(n??""),[f,g]=c.useState(t??[]),v=c.useRef(null);c.useEffect(()=>{var b;if(t&&t.length>0){g(t);return}if(a){try{const j=(b=a.getMapStyleConfig)==null?void 0:b.call(a);if(j&&typeof j=="object"){const S=Object.entries(j).filter(([,A])=>typeof A=="string").map(([A,C])=>{const Z=F1.find(E=>E.value===C);return{text:A,value:C,preview:Z==null?void 0:Z.preview}});if(S.length>0){g(S);return}}}catch{}g(F1)}},[a,t]),c.useEffect(()=>{var b;if(n){h(n);return}if(a)try{const j=(b=a.getMapStyle)==null?void 0:b.call(a);j&&h(j)}catch{}},[a,n]),c.useEffect(()=>{if(!d)return;const b=j=>{v.current&&!v.current.contains(j.target)&&p(!1)};return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[d]);const y=c.useCallback(b=>{if(h(b),a)try{a.setMapStyle(b)}catch{}r==null||r(b)},[a,r]),z=we(e),M=o.jsxs("div",{ref:v,className:`l7-control l7-control--glass${s?` ${s}`:""}`,style:i,children:[o.jsx("button",{className:"l7-button-control",onClick:()=>p(!d),title:"地图样式","aria-label":"地图样式",children:o.jsx("span",{className:"material-symbols-outlined",children:"palette"})}),d&&f.length>0&&o.jsx("div",{className:`l7-popper ${z}`,children:o.jsxs("div",{className:"l7-popper-content l7-theme-panel",children:[o.jsxs("div",{className:"l7-theme-panel__title",children:[o.jsx("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"palette"}),"Map Themes"]}),o.jsx("div",{className:"l7-theme-panel__grid",children:f.map(b=>{const j=m===b.value,S=b.preview??"linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%)";return o.jsxs("button",{className:`l7-theme-card${j?" l7-theme-card--active":""}`,onClick:()=>y(b.value),title:b.text,children:[o.jsx("div",{className:"l7-theme-card__preview",style:{background:S}}),j&&o.jsx("span",{className:"material-symbols-outlined l7-theme-card__check",style:{fontVariationSettings:"'FILL' 1"},children:"check_circle"}),o.jsx("span",{className:"l7-theme-card__label",children:b.text})]},b.value)})})]})})]});return u?M:o.jsx("div",{className:`l7-control-anchor ${l}`,children:M})}function we(e){switch(e){case"topleft":return"l7-popper-right l7-popper-start";case"topright":return"l7-popper-left l7-popper-start";case"bottomleft":return"l7-popper-right l7-popper-end";case"bottomright":return"l7-popper-left l7-popper-end";case"lefttop":return"l7-popper-bottom l7-popper-start";case"leftbottom":return"l7-popper-top l7-popper-start";case"righttop":return"l7-popper-bottom l7-popper-end";case"rightbottom":return"l7-popper-top l7-popper-end";default:return"l7-popper-bottom"}}c1.mark(e0);function t0({position:e="bottomleft",precision:t=6,transform:n,className:r,style:s}){const a=n??(([h,f])=>[+h.toFixed(t),+f.toFixed(t)]),{mapsService:l,positionClassName:u}=m1(e),d=h1(),p=c.useRef(null);c.useEffect(()=>{if(!l)return;const h=f=>{const g=f.lngLat??f.lnglat;if(!g)return;const v=[g.lng,g.lat],y=a(v);p.current&&(p.current.innerText=y.join(", "))};return l.on("mousemove",h),()=>{l.off("mousemove",h)}},[l,a]);const m=o.jsx("div",{ref:p,className:`l7-control l7-control-mouse-location l7-control--glass${r?` ${r}`:""}`,style:s,children:" "});return d?m:o.jsx("div",{className:`l7-control-anchor ${u}`,children:m})}c1.mark(t0);function n0({position:e="topright",format:t="png",onExport:n,className:r,style:s}){const{scene:i,mapsService:a,positionClassName:l}=m1(e),u=h1(),d=t==="jpg"?"jpeg":"png",p=c.useCallback(async()=>{var f,g;try{const v=a?await((f=a.exportMap)==null?void 0:f.call(a,d)):void 0,y=i?await((g=i.exportPng)==null?void 0:g.call(i,d)):void 0,z=[v,y].filter(M=>!!M);return z.length===0?void 0:z.length===1?z[0]:je(z,d)}catch{return}},[i,a,d]),m=c.useCallback(async()=>{var g;const f=await p();if(n&&f){n(f);return}if(f){const v=document.createElement("a");v.download=`aimap-export.${d==="jpeg"?"jpg":"png"}`,v.href=f,v.click()}else try{if(a){const v=(g=a.getContainer)==null?void 0:g.call(a),y=v==null?void 0:v.querySelector("canvas");if(y&&typeof y.toDataURL=="function"){const z=y.toDataURL(`image/${d}`),M=document.createElement("a");M.download=`aimap-export.${d==="jpeg"?"jpg":"png"}`,M.href=z,M.click()}}}catch(v){console.warn("[aimapui] Export image failed:",v)}},[p,n,d,a]),h=o.jsx("div",{className:`l7-control l7-control--glass${r?` ${r}`:""}`,style:s,children:o.jsx("button",{className:"l7-button-control",onClick:m,title:"导出图片","aria-label":"导出图片",children:o.jsx("span",{className:"material-symbols-outlined",children:"photo_camera"})})});return u?h:o.jsx("div",{className:`l7-control-anchor ${l}`,children:h})}async function je(e,t){const n=document.querySelector(".l7-map")||document.documentElement,{width:r=0,height:s=0}=n.getBoundingClientRect(),i=document.createElement("canvas");i.width=r,i.height=s;const a=i.getContext("2d");return(await Promise.all(e.map(u=>new Promise(d=>{const p=new Image;p.onload=()=>d(p),p.src=u})))).forEach(u=>{a==null||a.drawImage(u,0,0,r,s)}),i.toDataURL(`image/${t}`)}c1.mark(n0);function r0({position:e="topright",layers:t,onToggle:n,onOpacityChange:r,className:s,style:i}){const[a,l]=c.useState(!1),u=c.useRef(null),[d,p]=c.useState(()=>{const y={};return t.forEach(z=>{y[z.id]=z.opacity??1}),y});c.useEffect(()=>{p(y=>{const z={...y};return t.forEach(M=>{M.opacity!==void 0&&(z[M.id]=M.opacity)}),z})},[t]);const{positionClassName:m}=m1(e),h=h1();if(c.useEffect(()=>{if(!a)return;const y=z=>{u.current&&!u.current.contains(z.target)&&l(!1)};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[a]),!t.length)return null;const f=ke(e),g=(y,z)=>{p(M=>({...M,[y]:z})),r==null||r(y,z)},v=o.jsxs("div",{ref:u,className:`l7-control l7-control--glass${s?` ${s}`:""}`,style:i,children:[o.jsx("button",{className:"l7-button-control",onClick:()=>l(!a),title:"图层控制","aria-label":"图层控制",children:o.jsx("span",{className:"material-symbols-outlined",children:"layers"})}),a&&o.jsx("div",{className:`l7-popper ${f}`,children:o.jsxs("div",{className:"l7-popper-content l7-layer-panel",children:[o.jsxs("div",{className:"l7-layer-panel__title",children:[o.jsx("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"layers"}),"Layers"]}),o.jsx("div",{className:"l7-layer-panel__list",children:t.map(y=>{const z=y.visible!==!1,M=d[y.id]??y.opacity??1,b=y.icon??"layers";return o.jsxs("div",{className:`l7-layer-item${z?"":" l7-layer-item--disabled"}`,children:[o.jsxs("div",{className:"l7-layer-item__header",children:[o.jsx("span",{className:"material-symbols-outlined l7-layer-item__icon",children:b}),o.jsx("span",{className:"l7-layer-item__name",children:y.name??y.id}),o.jsxs("label",{className:"l7-layer-toggle",children:[o.jsx("input",{type:"checkbox",checked:z,onChange:()=>n(y.id,!z)}),o.jsx("span",{className:"l7-layer-toggle__track"})]})]}),r&&o.jsxs("div",{className:"l7-layer-item__slider",children:[o.jsx("span",{className:"material-symbols-outlined",style:{fontSize:14},children:"opacity"}),o.jsx("input",{type:"range",min:0,max:100,value:Math.round(M*100),onChange:j=>g(y.id,+j.target.value/100),className:"l7-layer-slider"})]})]},y.id)})})]})})]});return h?v:o.jsx("div",{className:`l7-control-anchor ${m}`,children:v})}function ke(e){switch(e){case"topleft":return"l7-popper-right l7-popper-start";case"topright":return"l7-popper-left l7-popper-start";case"bottomleft":return"l7-popper-right l7-popper-end";case"bottomright":return"l7-popper-left l7-popper-end";case"lefttop":return"l7-popper-bottom l7-popper-start";case"leftbottom":return"l7-popper-top l7-popper-start";case"righttop":return"l7-popper-bottom l7-popper-end";case"rightbottom":return"l7-popper-top l7-popper-end";default:return"l7-popper-bottom"}}c1.mark(r0);function t5({controls:e,layers:t,onLayerToggle:n,containerRef:r}){const s=a1();return o.jsx(J1,{children:e.map((i,a)=>o.jsx(Ze,{control:i,layers:t,onLayerToggle:n,scene:s,containerRef:r},`${i.type}-${a}`))})}function Ze({control:e,layers:t,onLayerToggle:n,scene:r,containerRef:s}){var a,l,u,d,p;const i=e.position??void 0;switch(e.type){case"zoom":return o.jsx(Y1,{position:i??"bottomright"});case"scale":return o.jsx(K1,{position:i??"bottomleft",maxWidth:(a=e.options)==null?void 0:a.maxWidth,metric:((l=e.options)==null?void 0:l.unit)!=="imperial",imperial:((u=e.options)==null?void 0:u.unit)==="imperial"});case"fullscreen":return o.jsx(X1,{position:i??"topright",container:s==null?void 0:s.current});case"geoLocate":return o.jsx(Q1,{position:i??"topright"});case"mapTheme":return o.jsx(e0,{position:i??"topright"});case"mouseLocation":return o.jsx(t0,{position:i??"bottomleft",precision:(d=e.options)==null?void 0:d.precision});case"exportImage":return o.jsx(n0,{position:i??"topright",format:(p=e.options)==null?void 0:p.format});case"layerSwitch":return o.jsx(r0,{position:i??"topright",layers:t.map((m,h)=>({id:m.id??`layer-${h}`,name:m.name,visible:m.visible})),onToggle:n??(()=>{})});default:return null}}const C1={aerialway:"M13,5H8V2.6c0.1854-0.1047,0.3325-0.2659,0.42-0.46L13.5,1.5C13.7761,1.5,14,1.2761,14,1s-0.2239-0.5-0.5-0.5L8.28,1.15 C8.0954,0.9037,7.8077,0.7562,7.5,0.75C7.0963,0.752,6.7334,0.9966,6.58,1.37L1.5,2C1.2239,2,1,2.2239,1,2.5S1.2239,3,1.5,3 l5.22-0.65C6.7967,2.4503,6.8917,2.5351,7,2.6V5H2C1.4477,5,1,5.4477,1,6v7c0,0.5523,0.4477,1,1,1h11c0.5523,0,1-0.4477,1-1V6 C14,5.4477,13.5523,5,13,5z M7,11H3V7h4V11z M12,11H8V7h4V11z",airfield:"M6.8182,0.6818H4.7727 C4.0909,0.6818,4.0909,0,4.7727,0h5.4545c0.6818,0,0.6818,0.6818,0,0.6818H8.1818c0,0,0.8182,0.5909,0.8182,1.9545V4h6v2L9,8l-0.5,5 l2.5,1.3182V15H4v-0.6818L6.5,13L6,8L0,6V4h6V2.6364C6,1.2727,6.8182,0.6818,6.8182,0.6818z",airport:"M15,6.8182L15,8.5l-6.5-1 l-0.3182,4.7727L11,14v1l-3.5-0.6818L4,15v-1l2.8182-1.7273L6.5,7.5L0,8.5V6.8182L6.5,4.5v-3c0,0,0-1.5,1-1.5s1,1.5,1,1.5v2.8182 L15,6.8182z","alcohol-shop":"M14,4h-4v3.44l0,0c0,0,0,0,0,0.06c0.003,0.9096,0.6193,1.7026,1.5,1.93V13H11c-0.2761,0-0.5,0.2239-0.5,0.5 S10.7239,14,11,14h2c0.2761,0,0.5-0.2239,0.5-0.5S13.2761,13,13,13h-0.5V9.43c0.8807-0.2274,1.497-1.0204,1.5-1.93c0,0,0,0,0-0.06 l0,0V4z M13,7.5c0,0.5523-0.4477,1-1,1s-1-0.4477-1-1V5h2V7.5z M5.5,2.5V2C5.7761,2,6,1.7761,6,1.5S5.7761,1,5.5,1V0.5 C5.5,0.2239,5.2761,0,5,0H4C3.7239,0,3.5,0.2239,3.5,0.5V1C3.2239,1,3,1.2239,3,1.5S3.2239,2,3.5,2v0.5C3.5,3.93,1,5.57,1,7v6 c0,0.5523,0.4477,1,1,1h5c0.5318-0.0465,0.9535-0.4682,1-1V7C8,5.65,5.5,3.85,5.5,2.5z M4.5,12C3.1193,12,2,10.8807,2,9.5 S3.1193,7,4.5,7S7,8.1193,7,9.5S5.8807,12,4.5,12z","american-football":"M7.53,3C3.09,3,1,7.5,1,7.5S3.09,12,7.53,12S14,7.5,14,7.5S12,3,7.53,3z M11,7v1.5C11,8.7761,10.7761,9,10.5,9 S10,8.7761,10,8.5V8H8v0.5C8,8.7761,7.7761,9,7.5,9S7,8.7761,7,8.5V8H5v0.5C5,8.7761,4.7761,9,4.5,9S4,8.7761,4,8.5v-2 C4,6.2239,4.2239,6,4.5,6S5,6.2239,5,6.5V7h2V6.5C7,6.2239,7.2239,6,7.5,6S8,6.2239,8,6.5V7h2V6.5C10,6.2239,10.2239,6,10.5,6 S11,6.2239,11,6.5V7z","amusement-park":"M13.5 7C13.5 9.02798 12.4939 10.821 10.9535 11.907L12 13.9999H3L4.04645 11.907C2.50613 10.821 1.5 9.02798 1.5 7C1.5 3.68629 4.18629 1 7.5 1C10.8137 1 13.5 3.68629 13.5 7ZM12.2984 7.125H8.99487C8.96844 7.4453 8.84138 7.73706 8.64538 7.96861L10.9814 10.3046C11.7719 9.47202 12.2669 8.35614 12.2984 7.125ZM10.8046 10.4814L8.46861 8.14538C8.33136 8.26156 8.17296 8.35351 8 8.41465V11.7743C9.08206 11.6623 10.0574 11.1908 10.8046 10.4814ZM6.00513 7.125H2.7016C2.73307 8.35614 3.2281 9.47202 4.01864 10.3046L6.35462 7.96861C6.15862 7.73706 6.03156 7.4453 6.00513 7.125ZM4.19542 10.4814C4.94259 11.1908 5.91794 11.6623 7 11.7743V8.41465C6.82704 8.35351 6.66864 8.26156 6.53139 8.14538L4.19542 10.4814ZM12.2984 6.875C12.2669 5.64386 11.7719 4.52798 10.9814 3.69542L8.64538 6.03139C8.84138 6.26294 8.96844 6.5547 8.99487 6.875H12.2984ZM10.8046 3.51864C9.97202 2.7281 8.85614 2.23307 7.625 2.2016V5.50513C7.9453 5.53156 8.23706 5.65862 8.46861 5.85462L10.8046 3.51864ZM7.375 5.50513V2.2016C6.14386 2.23307 5.02798 2.7281 4.19542 3.51864L6.53139 5.85462C6.76294 5.65862 7.0547 5.53156 7.375 5.50513ZM6.35462 6.03139L4.01864 3.69542C3.2281 4.52798 2.73307 5.64386 2.7016 6.875H6.00513C6.03156 6.5547 6.15862 6.26294 6.35462 6.03139Z","animal-shelter":"M 7.528,0.895 9,2 h 1 L 11.473,0.896 C 11.689502,0.73373378 12,0.8884387 12,1.159 V 4.5 c 0,0.722 -0.522,1.184 -1,1.573 V 10 l 0.8,2.4 0.706,0.353 c 0.302922,0.151551 0.494181,0.461283 0.494,0.8 C 13,13.8 12.8,14 12.553,14 H 4.25 C 3.017,14 2,13 2,11.713 2,9.5424588 2.4530836,7.9300225 2.745,6.845 2.8910836,6.3020225 3.0352907,5.8946079 3.138,5.614 3.1956028,5.4566256 3.253276,5.3110749 3.33,5.165 3.7788405,4.3104525 5.0743666,4.9556117 4.672,5.833 4.6232251,5.9393571 4.5778358,6.0512046 4.539,6.15 4.4477518,6.3821288 4.325004,6.7430011 4.193,7.234 3.947004,8.1490011 3.674,9.521 3.558,11.367 3.926,9.307 5.98,7.239 7.635,5.758 7.29,5.432 7.001,5.038 7.001,4.5 l 0,-3.342 c 0,-0.2705613 0.3106215,-0.42543084 0.527,-0.263 z",aquarium:"M1.13505 8.57743C1.98919 6.14741 4.72075 2 10 2C12.6518 2 14 3 14 3C14 3 11.6865 3 10.6203 3.44512C10.54 3.47864 10.4747 3.53744 10.4329 3.61375C10.2432 3.95995 9.75252 5.04744 10.3231 6.19506C10.4172 6.38427 10.6364 6.46548 10.8383 6.40312C11.3474 6.24589 12.3301 5.89727 13.0761 5.35729C13.2973 5.1972 13.615 5.25773 13.6797 5.52298C13.9401 6.59045 13.9401 8.40955 13.6797 9.47702C13.615 9.74227 13.2973 9.8028 13.0761 9.64271C12.3301 9.10273 11.3474 8.75411 10.8383 8.59688C10.6364 8.53452 10.4172 8.61573 10.3231 8.80494C9.75252 9.95256 10.2432 11.04 10.4329 11.3863C10.4747 11.4626 10.54 11.5214 10.6203 11.5549C11.6865 12 14 12 14 12C13.5 12.3333 11.8 13 9.00001 13C4.51722 13 2.02736 10.3427 1.25972 9.35985C1.08546 9.13673 1.04117 8.84452 1.13505 8.57743ZM5.00001 9C5.69037 9 6.25001 8.44036 6.25001 7.75C6.25001 7.05964 5.69037 6.5 5.00001 6.5C4.30966 6.5 3.75001 7.05964 3.75001 7.75C3.75001 8.44036 4.30966 9 5.00001 9Z",arrow:"M8.29289 2.29289C8.68342 1.90237 9.31658 1.90237 9.70711 2.29289L14.2071 6.79289C14.5976 7.18342 14.5976 7.81658 14.2071 8.20711L9.70711 12.7071C9.31658 13.0976 8.68342 13.0976 8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L11 8.5H1.5C0.947715 8.5 0.5 8.05228 0.5 7.5C0.5 6.94772 0.947715 6.5 1.5 6.5H11L8.29289 3.70711C7.90237 3.31658 7.90237 2.68342 8.29289 2.29289Z","art-gallery":"m10.71 3-2.86-2.849996c-.1945-.1960996-.511-.1973996-.7071-.0029-.001.001-.0019.0019-.0029.0029l-2.85 2.849996h-2.79c-.2761 0-.5.2239-.5.5v9c0 .2761.2239.5.5.5h12c.2761 0 .5-.2239.5-.5v-9c0-.2761-.2239-.5-.5-.5zm-3.21-1.79 1.79 1.79h-3.58zm5.5 10.79h-11v-8h11zm-8-5c-.5523 0-1-.4477-1-1s.4477-1 1-1 1 .4477 1 1-.4477 1-1 1zm7 4h-7.5l1.5-3 1.25 2.5 2.25-4.5z",attraction:"M6,2C5.446,2,5.2478,2.5045,5,3L4.5,4h-2C1.669,4,1,4.669,1,5.5v5C1,11.331,1.669,12,2.5,12h10 c0.831,0,1.5-0.669,1.5-1.5v-5C14,4.669,13.331,4,12.5,4h-2L10,3C9.75,2.5,9.554,2,9,2H6z M2.5,5C2.7761,5,3,5.2239,3,5.5 S2.7761,6,2.5,6S2,5.7761,2,5.5S2.2239,5,2.5,5z M7.5,5c1.6569,0,3,1.3431,3,3s-1.3431,3-3,3s-3-1.3431-3-3S5.8431,5,7.5,5z M7.5,6.5C6.6716,6.5,6,7.1716,6,8l0,0c0,0.8284,0.6716,1.5,1.5,1.5l0,0C8.3284,9.5,9,8.8284,9,8l0,0C9,7.1716,8.3284,6.5,7.5,6.5 L7.5,6.5z",bakery:"M5.294,4.382,6,9.5a.979.979,0,0,0,1,1H8a.979.979,0,0,0,1-1l.706-5.118C9.706,3,7.5,3,7.5,3S5.291,3,5.294,4.382ZM3.5,5C2,5,2,6,2,6l1,4H4.5a.793.793,0,0,0,.794-.765L4.5,5Zm-2,2.5a1.533,1.533,0,0,0-1.059.412A1.366,1.366,0,0,0,0,8.794V11H.882A1.02,1.02,0,0,0,2,10ZM11.5,5C13,5,13,6,13,6l-1,4H10.5a.793.793,0,0,1-.794-.765L10.5,5Zm2,2.5a1.533,1.533,0,0,1,1.059.412A1.366,1.366,0,0,1,15,8.794V11h-.882A1.02,1.02,0,0,1,13,10Z",bank:"M1,3C0.446,3,0,3.446,0,4v7c0,0.554,0.446,1,1,1h13c0.554,0,1-0.446,1-1V4c0-0.554-0.446-1-1-1H1z M1,4h1.5 C2.7761,4,3,4.2239,3,4.5S2.7761,5,2.5,5S2,4.7761,2,4.5L1.5,5C1.7761,5,2,5.2239,2,5.5S1.7761,6,1.5,6S1,5.7761,1,5.5V4z M7.5,4 C8.8807,4,10,5.567,10,7.5l0,0C10,9.433,8.8807,11,7.5,11S5,9.433,5,7.5S6.1193,4,7.5,4z M12.5,4H14v1.5C14,5.7761,13.7761,6,13.5,6 S13,5.7761,13,5.5S13.2239,5,13.5,5L13,4.5C13,4.7761,12.7761,5,12.5,5S12,4.7761,12,4.5S12.2239,4,12.5,4z M7.5,5.5 c-0.323,0-0.5336,0.1088-0.6816,0.25h1.3633C8.0336,5.6088,7.823,5.5,7.5,5.5z M6.625,6C6.5795,6.091,6.5633,6.1711,6.5449,6.25 h1.9102C8.4367,6.1711,8.4205,6.091,8.375,6H6.625z M6.5,6.5v0.25h2V6.5H6.5z M6.5,7v0.25h2V7H6.5z M6.5,7.5v0.25h2V7.5H6.5z M6.5,8 L6.25,8.25h2L8.5,8H6.5z M6,8.5c0,0,0.0353,0.1024,0.1016,0.25H8.375L8,8.5H6z M1.5,9C1.7761,9,2,9.2239,2,9.5S1.7761,10,1.5,10 L2,10.5C2,10.2239,2.2239,10,2.5,10S3,10.2239,3,10.5S2.7761,11,2.5,11H1V9.5C1,9.2239,1.2239,9,1.5,9z M6.2383,9 C6.2842,9.0856,6.3144,9.159,6.375,9.25h2.2676C8.7092,9.1121,8.75,9,8.75,9H6.2383z M13.5,9C13.7761,9,14,9.2239,14,9.5V11h-1.5 c-0.2761,0-0.5-0.2239-0.5-0.5s0.2239-0.5,0.5-0.5s0.5,0.2239,0.5,0.5l0.5-0.5C13.2239,10,13,9.7761,13,9.5S13.2239,9,13.5,9z M6.5664,9.5c0.0786,0.0912,0.1647,0.1763,0.2598,0.25h1.4199C8.3462,9.6727,8.4338,9.5883,8.5,9.5H6.5664z","bank-JP":"M12.2808,3.3763l-2.9,3.625H11.25a.75.75,0,0,1,0,1.5H8.5v1h2.75a.75.75,0,0,1,0,1.5H8.5v1.25a1,1,0,0,1-2,0v-1.25H3.75a.75.75,0,1,1,0-1.5H6.5v-1H3.75a.75.75,0,0,1,0-1.5H5.6193l-2.9-3.625A1,1,0,0,1,4.2771,2.1216l.0037.0047L7.5,6.15l3.2192-4.024a1,1,0,0,1,1.5653,1.2453Z",bar:"M7.5,1c-2,0-7,0.25-6.5,0.75L7,8v4 c0,1-3,0.5-3,2h7c0-1.5-3-1-3-2V8l6-6.25C14.5,1.25,9.5,1,7.5,1z M7.5,2c2.5,0,4.75,0.25,4.75,0.25L11.5,3h-8L2.75,2.25 C2.75,2.25,5,2,7.5,2z",barrier:"m13 2h-11c-.26522 0-.51957.10536-.70711.29289-.18753.18754-.29289.44189-.29289.70711v6c0 .26522.10536.51957.29289.70711.18754.18753.44189.29289.70711.29289h1v2.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-.5h7v.5c0 .1326.0527.2598.1464.3536.0938.0937.221.1464.3536.1464s.2598-.0527.3536-.1464c.0937-.0938.1464-.221.1464-.3536v-2.5h1c.2652 0 .5196-.10536.7071-.29289.1875-.18754.2929-.44189.2929-.70711v-6c0-.26522-.1054-.51957-.2929-.70711-.1875-.18753-.4419-.29289-.7071-.29289zm0 1v2l-2-2zm-3.5 0 3.5 3.5v2.5l-6-6zm-4 6-3.5-3.5v-2.5l6 6zm-3.5 0v-2l2 2zm9 2h-7v-1h7zm-.207-2h-1.293l-6-6h2l6 6z",baseball:"m9.00003 3.5c0 .8284-.6716 1.5-1.5 1.5s-1.5-.6716-1.5-1.5.6716-1.5 1.5-1.5 1.5.6716 1.5 1.5zm-3-3.22c0-.1546-.1254-.28-.28-.28-.0979.0262-.1852.0821-.25.16l-2.47 4.43c-.0059.0431-.0059.0869 0 .13 0 .1546.1254.28.28.28.1015-.0243.1926-.0803.26-.16l2.46-4.43c.006-.0431.006-.0869 0-.13zm5.89997 13.92-2.89997-7.81c-.0474-.2273-.2478-.3901-.48-.39h-5c-.2761 0-.5.2239-.5.5s.2239.5.5.5h2.48l1.45 2.51-4.27 4.61c-.1141.0932-.1802.2327-.18.38 0 .2761.2239.5.5.5.1224-.0006.2401-.047.33-.13l4.45-4.15 2.75997 4c.0895.1592.2574.2584.44.26.2796.0002.5092-.2207.52-.5-.0042-.1013-.039-.199-.1-.28z",basketball:"M3.66001 7H2.03C2.11012 6.02077 2.45969 5.05281 3.04001 4.26C3.39039 5.12432 3.59972 6.0693 3.66001 7ZM4.73501 7H7V2C5.78985 2.1061 4.72468 2.61284 3.83501 3.44C4.36491 4.54578 4.67079 5.77549 4.73501 7ZM8 2V7H10.265C10.3292 5.77549 10.6351 4.54578 11.165 3.44C10.2753 2.61284 9.21014 2.1061 8 2ZM11.96 4.26C11.6096 5.12432 11.4003 6.0693 11.34 7H12.97C12.8899 6.02077 12.5403 5.05281 11.96 4.26ZM14 8.49919C14 8.77489 13.7765 8.99838 13.5008 8.99838H11.72L10.96 10.5184V12.8984C10.9578 12.9736 10.934 13.0466 10.8915 13.1087C10.8489 13.1707 10.7894 13.2192 10.72 13.2484C10.6743 13.2607 10.6273 13.2674 10.58 13.2684C10.5312 13.2706 10.4825 13.2619 10.4375 13.2428C10.3925 13.2238 10.3524 13.195 10.32 13.1584L9.3 12.1484L7.71 13.2084C7.64698 13.2476 7.57423 13.2684 7.5 13.2684C7.42577 13.2684 7.35303 13.2476 7.29 13.2084L5.7 12.1484L4.68 13.1584C4.62956 13.211 4.56471 13.2477 4.49357 13.2637C4.42243 13.2797 4.34814 13.2744 4.28 13.2484C4.21063 13.2192 4.1511 13.1707 4.10854 13.1087C4.06599 13.0466 4.04219 12.9736 4.04 12.8984V10.5184L3.28 8.99838H1.49919C1.2235 8.99838 1 8.77489 1 8.4992C0.999998 8.2235 1.22349 8 1.49919 8H13.5008C13.7765 8 14 8.2235 14 8.49919ZM6.86 8.99838H4.12L4.75 10.2684C4.7772 10.3173 4.791 10.3725 4.79 10.4284V11.9884L5.35 11.4384L6.86 8.99838ZM8.84 11.5484L7.5 9.38838L6.16 11.5484L7.5 12.4484L8.84 11.5484ZM10.89 8.99838H8.14L9.65 11.4384L10.21 11.9884V10.4284C10.209 10.3725 10.2228 10.3173 10.25 10.2684L10.89 8.99838Z",bbq:"M9.32,7.655C10.8782,7.108,11.9471,5.6506,12,4H3c0.053,1.6299,1.0978,3.0728,2.63,3.631L4.923,9.044 c-1.3571-0.2355-2.6482,0.6737-2.8837,2.0308s0.6737,2.6482,2.0308,2.8837C4.9927,14.1187,5.9273,13.7485,6.49,13h4.223l0.335,0.717 c0.0836,0.1735,0.2594,0.2836,0.452,0.283c0.0733,0.0003,0.1457-0.0158,0.212-0.047c0.2497-0.117,0.3575-0.4141,0.241-0.664 L9.32,7.655z M4.5,12.75c-0.6904,0-1.25-0.5596-1.25-1.25s0.5596-1.25,1.25-1.25s1.25,0.5596,1.25,1.25 C5.7484,12.1897,5.1897,12.7484,4.5,12.75z M6.95,12c0.2066-1.007-0.2268-2.0374-1.091-2.594L6.6,7.923 c0.577,0.1042,1.168,0.1042,1.745,0l1.9,4.07L6.95,12z M4.75,1C4.6119,1,4.5,1.1119,4.5,1.25c0,0.5-0.5,0.5-0.5,0.5c-1,0-1,1-1,1 C3,2.8881,3.1119,3,3.25,3S3.5,2.8881,3.5,2.75c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C5,1.1119,4.8881,1,4.75,1z M6.75,1 C6.6119,1,6.5,1.1119,6.5,1.25c0,0.5-0.5,0.5-0.5,0.5c-1,0-1,1-1,1C5,2.8881,5.1119,3,5.25,3S5.5,2.8881,5.5,2.75 c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C7,1.1119,6.8881,1,6.75,1z M8.75,1C8.6119,1,8.5,1.1119,8.5,1.25c0,0.5-0.5,0.5-0.5,0.5 c-1,0-1,1-1,1C7,2.8881,7.1119,3,7.25,3S7.5,2.8881,7.5,2.75c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C9,1.1119,8.8881,1,8.75,1z M10.75,1 c-0.1381,0-0.25,0.1119-0.25,0.25c0,0.5-0.5,0.5-0.5,0.5c-1,0-1,1-1,1C9,2.8881,9.1119,3,9.25,3S9.5,2.8881,9.5,2.75 c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C11,1.1119,10.8881,1,10.75,1z M12.75,1c-0.1381,0-0.25,0.1119-0.25,0.25c0,0.5-0.5,0.5-0.5,0.5 c-1,0-1,1-1,1C11,2.8881,11.1119,3,11.25,3s0.25-0.1119,0.25-0.25c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C13,1.1119,12.8881,1,12.75,1z",beach:"M5.3608,1.67l-.01,4.02a4.4523,4.4523,0,0,0-1.1-.11c-.37.1-.74.63-1.1.76A4.2019,4.2019,0,0,1,5.3608,1.67Zm2.41-.64,2.03,3.45a3.1832,3.1832,0,0,1,.84-.61c.36-.1.94.17,1.34.11A4.2018,4.2018,0,0,0,7.7708,1.03ZM1.0008,13h13c-.66-.66-2.64-1.11-4.34-1.33l-1.87-7c.52-.05,1.15.03,1.53,0l-2.11-3.6h-.01a6.1743,6.1743,0,0,0-.7.14,4.3792,4.3792,0,0,0-.64.22l-.01,4.15c.35-.17.84-.54,1.3-.74l1.8,6.74c-.58-.05-1.09-.08-1.45-.08C6.0308,11.5,2.0008,12,1.0008,13Z",beer:"M12,5V2c0,0-1-1-4.5-1S3,2,3,2v3c0.0288,1.3915,0.3706,2.7586,1,4c0.6255,1.4348,0.6255,3.0652,0,4.5c0,0,0,1,3.5,1 s3.5-1,3.5-1c-0.6255-1.4348-0.6255-3.0652,0-4.5C11.6294,7.7586,11.9712,6.3915,12,5z M7.5,13.5 c-0.7966,0.035-1.5937-0.0596-2.36-0.28c0.203-0.7224,0.304-1.4696,0.3-2.22h4.12c-0.004,0.7504,0.097,1.4976,0.3,2.22 C9.0937,13.4404,8.2966,13.535,7.5,13.5z M7.5,5C6.3136,5.0299,5.1306,4.8609,4,4.5v-2C5.131,2.1411,6.3137,1.9722,7.5,2 C8.6863,1.9722,9.869,2.1411,11,2.5v2C9.8694,4.8609,8.6864,5.0299,7.5,5z",bicycle:"M7.5,2c-0.6761-0.01-0.6761,1.0096,0,1H9v1.2656l-2.8027,2.334L5.2226,4H5.5c0.6761,0.01,0.6761-1.0096,0-1h-2 c-0.6761-0.01-0.6761,1.0096,0,1h0.6523L5.043,6.375C4.5752,6.1424,4.0559,6,3.5,6C1.5729,6,0,7.5729,0,9.5S1.5729,13,3.5,13 S7,11.4271,7,9.5c0-0.6699-0.2003-1.2911-0.5293-1.8242L9.291,5.3262l0.4629,1.1602C8.7114,7.0937,8,8.2112,8,9.5 c0,1.9271,1.5729,3.5,3.5,3.5S15,11.4271,15,9.5S13.4271,6,11.5,6c-0.2831,0-0.5544,0.0434-0.8184,0.1074L10,4.4023V2.5 c0-0.2761-0.2239-0.5-0.5-0.5H7.5z M3.5,7c0.5923,0,1.1276,0.2119,1.5547,0.5527l-1.875,1.5625 c-0.5109,0.4273,0.1278,1.1945,0.6406,0.7695l1.875-1.5625C5.8835,8.674,6,9.0711,6,9.5C6,10.8866,4.8866,12,3.5,12S1,10.8866,1,9.5 S2.1133,7,3.5,7L3.5,7z M11.5,7C12.8866,7,14,8.1134,14,9.5S12.8866,12,11.5,12S9,10.8866,9,9.5c0-0.877,0.4468-1.6421,1.125-2.0879 l0.9102,2.2734c0.246,0.6231,1.1804,0.2501,0.9297-0.3711l-0.9082-2.2695C11.2009,7.0193,11.3481,7,11.5,7L11.5,7z","bicycle-share":"M10,1C9.4477,1,9,1.4477,9,2c0,0.5523,0.4477,1,1,1s1-0.4477,1-1C11,1.4477,10.5523,1,10,1z M8.1445,2.9941 c-0.13,0.0005-0.2547,0.0517-0.3477,0.1426l-2.6406,2.5c-0.2256,0.2128-0.2051,0.5775,0.043,0.7637L7,7.75v2.75 c-0.01,0.6762,1.0096,0.6762,1,0v-3c0.0003-0.1574-0.0735-0.3057-0.1992-0.4004L7.0332,6.5234l1.818-1.7212l0.7484,0.9985 C9.6943,5.9265,9.8426,6.0003,10,6h1.5c0.6761,0.01,0.6761-1.0096,0-1h-1.25L9.5,4L8.9004,3.1992 C8.8103,3.0756,8.6685,3,8.5156,2.9941H8.1445z M3,7c-1.6569,0-3,1.3432-3,3s1.3431,3,3,3s3-1.3432,3-3S4.6569,7,3,7z M12,7 c-1.6569,0-3,1.3432-3,3s1.3431,3,3,3s3-1.3432,3-3S13.6569,7,12,7z M3,8c1.1046,0,2,0.8954,2,2s-0.8954,2-2,2s-2-0.8954-2-2 S1.8954,8,3,8z M12,8c1.1046,0,2,0.8954,2,2s-0.8954,2-2,2s-2-0.8954-2-2S10.8954,8,12,8z","blood-bank":"m11.2 6.1-3.7-5.1-3.7 5.1c-.5.7-.8 1.6-.8 2.5 0 2.4 2 4.4 4.5 4.4s4.5-2 4.5-4.4c0-.9-.3-1.8-.8-2.5zm-1.2 2.9h-2v2h-1v-2h-2v-1h2v-2h1v2h2z","bowling-alley":"M10.922 3.166c0 1.006-.335 1.857-.693 2.77-.414 1.052-.86 2.185-.86 3.73 0 2.166.687 4.333 1.409 4.333h1.444c.723 0 1.409-2.166 1.409-4.333 0-1.545-.446-2.678-.86-3.73-.358-.912-.693-1.764-.693-2.77 0-.722.144-.723.144-1.445A.743.743 0 0 0 11.5.999a.743.743 0 0 0-.722.722c0 .723.144.723.144 1.445Zm-2.552 6.5c0-1.234.254-2.236.55-3.091a4.5 4.5 0 1 0-.17 6.038c-.237-.865-.38-1.91-.38-2.947ZM5.24 7.12a.62.62 0 1 1-1.24 0 .62.62 0 0 1 1.24 0Zm-1 2a.62.62 0 1 1-1.24 0 .62.62 0 0 1 1.24 0Zm2 0a.62.62 0 1 1-1.24 0 .62.62 0 0 1 1.24 0Z",bridge:"m0 6.84201v4.15799h2v-1c.036-1.08899.911-1.96399 2-1.99999 1.089.036 1.964.911 2 1.99999v1h3v-1c.036-1.08899.911-1.96399 2-1.99999 1.089.036 1.964.911 2 1.99999v1h2v-4.15799c-4.4-5.76-11.929-4.442-15 0zm9.5-3.108c.514.121 1.016.289 1.5.5v2.766h-1.5zm-.5-.1v3.366h-1.5v-3.494c.503 0 1.005.043 1.5.128zm-5.5.843c.48-.248.982-.451 1.5-.606v3.129h-1.5zm2 2.523v-3.27c.493-.115.995-.187 1.5-.215v3.485zm-2.5-2.256v2.256h-2.5c.676-.906 1.532-1.672 2.5-2.256zm8.5 2.256v-2.5l-.053-.053c1.202.603 2.247 1.477 3.053 2.553z",building:"M3,2v11h5v-3h3v3h1V2H3z M7,12H4v-2h3V12z M7,9H4V7h3V9z M7,6H4V4h3V6z M11,9H8V7h3V9z M11,6H8V4h3V6z","building-alt1":"M11,13.5v-9C11,4.2,10.8,4,10.5,4H9V1L5,2.1v11.4H2V14h11v-0.5H11z M7,13.5V3h1v10.5H7z",bus:"M2 3C2 1.9 2.9 1 4 1H11C12.1 1 13 1.9 13 3V11C13 12 12 12 12 12V13C12 13.55 11.55 14 11 14C10.45 14 10 13.55 10 13V12H5V13C5 13.55 4.55 14 4 14C3.45 14 3 13.55 3 13V12C2 12 2 11 2 11V3ZM3.5 4C3.22 4 3 4.22 3 4.5V7.5C3 7.78 3.22 8 3.5 8H11.5C11.78 8 12 7.78 12 7.5V4.5C12 4.22 11.78 4 11.5 4H3.5ZM4 9C3.45 9 3 9.45 3 10C3 10.55 3.45 11 4 11C4.55 11 5 10.55 5 10C5 9.45 4.55 9 4 9ZM11 9C10.45 9 10 9.45 10 10C10 10.55 10.45 11 11 11C11.55 11 12 10.55 12 10C12 9.45 11.55 9 11 9ZM4 2.5C4 2.78 4.22 3 4.5 3H10.5C10.78 3 11 2.78 11 2.5C11 2.22 10.78 2 10.5 2H4.5C4.22 2 4 2.22 4 2.5Z",cafe:"M12,5h-2V3H2v4c0.0133,2.2091,1.8149,3.9891,4.024,3.9758C7.4345,10.9673,8.7362,10.2166,9.45,9H12c1.1046,0,2-0.8954,2-2 S13.1046,5,12,5z M12,8H9.86C9.9487,7.6739,9.9958,7.3379,10,7V6h2c0.5523,0,1,0.4477,1,1S12.5523,8,12,8z M10,12.5 c0,0.2761-0.2239,0.5-0.5,0.5h-7C2.2239,13,2,12.7761,2,12.5S2.2239,12,2.5,12h7C9.7761,12,10,12.2239,10,12.5z",campsite:"M14 10V11C14 11.5523 13.5523 12 13 12H2C1.44772 12 1 11.5523 1 11V10C1 9.44772 1.44772 9.00001 2 9.00001H2.25L7.03206 1.25762C7.24699 0.90965 7.75302 0.909651 7.96794 1.25762L12.75 9.00001H13C13.5523 9.00001 14 9.44772 14 10ZM10.5 9.00001L7.5 4.00001L4.5 9.00001H10.5Z",car:"M13.84,6.852,12.6,5.7,11.5,3.5a1.05,1.05,0,0,0-.9-.5H4.4a1.05,1.05,0,0,0-.9.5L2.4,5.7,1.16,6.852A.5.5,0,0,0,1,7.219V11.5a.5.5,0,0,0,.5.5h2c.2,0,.5-.2.5-.4V11h7v.5c0,.2.2.5.4.5h2.1a.5.5,0,0,0,.5-.5V7.219A.5.5,0,0,0,13.84,6.852ZM4.5,4h6l1,2h-8ZM5,8.6c0,.2-.3.4-.5.4H2.4C2.2,9,2,8.7,2,8.5V7.4c.1-.3.3-.5.6-.4l2,.4c.2,0,.4.3.4.5Zm8-.1c0,.2-.2.5-.4.5H10.5c-.2,0-.5-.2-.5-.4V7.9c0-.2.2-.5.4-.5l2-.4c.3-.1.5.1.6.4Z","car-rental":"M10.5 1C9.94772 1 9.5 1.44772 9.5 2H2V3L3 4 4 3 5 4 6 3 7 4H9.5C9.5 4.55228 9.94772 5 10.5 5H12.5C12.7761 5 13 4.77614 13 4.5V1.5C13 1.22386 12.7761 1 12.5 1H10.5ZM11 2.5C11 2.22386 11.2239 2 11.5 2 11.7761 2 12 2.22386 12 2.5V3.5C12 3.77614 11.7761 4 11.5 4 11.2239 4 11 3.77614 11 3.5V2.5ZM2.14645 9.35355C2.05268 9.44732 2 9.5745 2 9.70711V13.5C2 13.7761 2.22386 14 2.5 14H4C4.27614 14 4.5 13.7761 4.5 13.5V13H10.5V13.5C10.5 13.7761 10.7239 14 11 14H12.5C12.7761 14 13 13.7761 13 13.5V9.70711C13 9.5745 12.9473 9.44732 12.8536 9.35355L12 8.5 10.6457 6.24275C10.5553 6.09215 10.3925 6 10.2169 6H4.7831C4.60746 6 4.44471 6.09215 4.35435 6.24275L3 8.5 2.14645 9.35355ZM11.1338 9H3.86623L5.06619 7H9.93381L11.1338 9ZM5.5 10.8279V11.2C5.5 11.3657 5.36569 11.5 5.2 11.5H3.3C3.13431 11.5 3 11.3657 3 11.2V10.3659C3 10.1766 3.1732 10.0346 3.35884 10.0718L5.17845 10.4357C5.36542 10.4731 5.5 10.6372 5.5 10.8279ZM12 10.4879V11.2C12 11.3657 11.8657 11.5 11.7 11.5H9.8C9.63431 11.5 9.5 11.3657 9.5 11.2V10.7459C9.5 10.6029 9.60094 10.4798 9.74117 10.4518L11.5216 10.0957C11.7691 10.0462 12 10.2355 12 10.4879Z","car-repair":"M3 5C3.74028 5 4.38662 4.5978 4.73243 4H12C12.5523 4 13 3.55228 13 3 13 2.44772 12.5523 2 12 2H4.73243C4.38662 1.4022 3.74028 1 3 1 2.25972 1 1.61337 1.4022 1.26756 2H3V4H1.26756C1.61337 4.5978 2.25972 5 3 5ZM2.14645 9.35355C2.05268 9.44732 2 9.5745 2 9.70711V13.5C2 13.7761 2.22386 14 2.5 14H4C4.27614 14 4.5 13.7761 4.5 13.5V13H10.5V13.5C10.5 13.7761 10.7239 14 11 14H12.5C12.7761 14 13 13.7761 13 13.5V9.70711C13 9.5745 12.9473 9.44732 12.8536 9.35355L12 8.5 10.6456 6.24275C10.5553 6.09215 10.3925 6 10.2169 6H4.78309C4.60746 6 4.44471 6.09215 4.35435 6.24275L3 8.5 2.14645 9.35355ZM11.1338 9H3.86622L5.06619 7H9.93381L11.1338 9ZM5.5 10.8279V11.2C5.5 11.3657 5.36568 11.5 5.2 11.5H3.3C3.13431 11.5 3 11.3657 3 11.2V10.3659C3 10.1766 3.1732 10.0346 3.35883 10.0718L5.17844 10.4357C5.36541 10.4731 5.5 10.6372 5.5 10.8279ZM12 10.4879V11.2C12 11.3657 11.8657 11.5 11.7 11.5H9.8C9.63431 11.5 9.5 11.3657 9.5 11.2V10.7459C9.5 10.6029 9.60094 10.4798 9.74116 10.4518L11.5216 10.0957C11.7691 10.0462 12 10.2355 12 10.4879Z",casino:"M8.5,10c0.4561,0.6072,1.1821,1,2,1c1.3807,0,2.5-1.1193,2.5-2.5c0-0.5642-0.1938-1.0789-0.509-1.4973L12.5,7l-5-6l-5,6 l0.009,0.0027C2.1938,7.4211,2,7.9358,2,8.5C2,9.8807,3.1193,11,4.5,11c0.8179,0,1.5439-0.3928,2-1 C6.5997,9.8672,6.7902,9.6135,7,9.3337V11.5C7,13,4.5,13,4.5,13C4.2239,13,4,13.2238,4,13.5C4,13.7761,4.2239,14,4.5,14H7h1h2.5 c0.2761,0,0.5-0.2239,0.5-0.5c0-0.2762-0.2239-0.5-0.5-0.5c0,0-2.5,0-2.5-1.5V9.3337C8.2098,9.6135,8.4003,9.8672,8.5,10z",castle:"M11,4H4C3.4477,4,3,3.5523,3,3V0.5C3,0.2239,3.2239,0,3.5,0S4,0.2239,4,0.5V2h1V1c0-0.5523,0.4477-1,1-1s1,0.4477,1,1v1h1V1 c0-0.5523,0.4477-1,1-1s1,0.4477,1,1v1h1V0.5C11,0.2239,11.2239,0,11.5,0S12,0.2239,12,0.5V3C12,3.5523,11.5523,4,11,4z M14,14.5 c0,0.2761-0.2239,0.5-0.5,0.5h-12C1.2239,15,1,14.7761,1,14.5S1.2239,14,1.5,14H2c0.5523,0,1-0.4477,1-1c0,0,1-6,1-7 c0-0.5523,0.4477-1,1-1h5c0.5523,0,1,0.4477,1,1c0,1,1,7,1,7c0,0.5523,0.4477,1,1,1h0.5c0.2723-0.0001,0.4946,0.2178,0.5,0.49V14.5z M9,10.5C9,9.6716,8.3284,9,7.5,9S6,9.6716,6,10.5V14h3V10.5z","castle-JP":"M12.5,12.75a1,1,0,0,1-1-.9995V7.25H10a1,1,0,0,1-1-1v-2H6v2a1,1,0,0,1-1,1H3.5v4.5a1,1,0,0,1-2,0V6.25a1,1,0,0,1,1-1H4v-2a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1v2h1.5a1,1,0,0,1,1,1v5.5a1,1,0,0,1-.9995,1Z",caution:"M1.09302 11.8924L6.84044 1.3905C7.12539 0.869834 7.87461 0.869834 8.15956 1.3905L13.907 11.8924C14.1805 12.3922 13.818 13.0019 13.2474 13.0019H1.75258C1.18195 13.0019 0.819505 12.3922 1.09302 11.8924ZM8.29999 8L8.70296 5.5822C8.75375 5.27743 8.51873 5 8.20976 5H6.79022C6.48125 5 6.24623 5.27743 6.29703 5.5822L6.69999 8H8.29999ZM8.59999 9.9C8.59999 9.29249 8.10751 8.8 7.49999 8.8C6.89248 8.8 6.39999 9.29249 6.39999 9.9C6.39999 10.5075 6.89248 11 7.49999 11C8.10751 11 8.59999 10.5075 8.59999 9.9Z",cemetery:"M11.46,12h-0.68L12,3.55c0.0175-0.2867-0.2008-0.5332-0.4874-0.5507C11.4884,2.9979,11.4641,2.9981,11.44,3h-1.18 c0-0.92-1.23-2-2.75-2S4.77,2.08,4.77,3H3.54C3.253,2.9885,3.0111,3.2117,2.9995,3.4987C2.9988,3.5158,2.999,3.5329,3,3.55L4.2,12 H3.55C3.2609,11.9886,3.0162,12.2112,3,12.5V14h9v-1.51C11.9839,12.2067,11.7435,11.9886,11.46,12z M4.5,5h6v1h-6V5z","cemetery-JP":"M11.5,11h-3V2.5a.9448.9448,0,0,0-1-1,.9448.9448,0,0,0-1,1V11h-3a1,1,0,0,0,0,2h8a.9448.9448,0,0,0,1-1A1.0022,1.0022,0,0,0,11.5,11Z","charging-station":"m14 4v-1.51c-.0054-.2722-.2277-.4901-.5-.49-.2816.0047-.5062.2367-.5015.5184.0002.0105.0007.0211.0015.0316v2.45c0 .5523.4477 1 1 1v5.5c0 .2761-.2239.5-.5.5s-.5-.2239-.5-.5v-2c0-.8284-.6716-1.5-1.5-1.5h-1.5v-6c0-.5523-.4477-1-1-1h-6c-.5523 0-1 .4477-1 1v11c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-4h1.5c.2761 0 .5.2239.5.5v2c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5v-6.5c0-.5523-.4477-1-1-1zm-5.7996 3.3995-2.6006 3.4674-.0164-.0072c-.0465.0787-.1167.1403-.2146.1403-.1476 0-.2672-.1196-.2672-.2672 0-.028.0217-.0463.0297-.0717l-.0177-.0078.7766-2.3245c.054-.1617-.0664-.3288-.2369-.3288h-1.6539c-.2058 0-.3232-.2349-.1998-.3995l2.6006-3.4674.0164.0072c.0465-.0787.1167-.1403.2146-.1403.1476 0 .2672.1196.2672.2672 0 .028-.0217.0463-.0297.0717l.0176.0078-.7764 2.3244c-.0541.1618.0663.3289.2368.3289h1.6539c.2058 0 .3232.2349.1998.3995z",cinema:"M14,7.5v2c0,0.2761-0.2239,0.5-0.5,0.5S13,9.7761,13,9.5c0,0,0.06-0.5-1-0.5h-1v2.5c0,0.2761-0.2239,0.5-0.5,0.5h-8 C2.2239,12,2,11.7761,2,11.5v-4C2,7.2239,2.2239,7,2.5,7h8C10.7761,7,11,7.2239,11,7.5V8h1c1.06,0,1-0.5,1-0.5 C13,7.2239,13.2239,7,13.5,7S14,7.2239,14,7.5z M4,3C2.8954,3,2,3.8954,2,5s0.8954,2,2,2s2-0.8954,2-2S5.1046,3,4,3z M4,6 C3.4477,6,3,5.5523,3,5s0.4477-1,1-1s1,0.4477,1,1S4.5523,6,4,6z M8.5,2C7.1193,2,6,3.1193,6,4.5S7.1193,7,8.5,7S11,5.8807,11,4.5 S9.8807,2,8.5,2z M8.5,6C7.6716,6,7,5.3284,7,4.5S7.6716,3,8.5,3S10,3.6716,10,4.5S9.3284,6,8.5,6z",circle:"M14,7.5c0,3.5899-2.9101,6.5-6.5,6.5S1,11.0899,1,7.5S3.9101,1,7.5,1S14,3.9101,14,7.5z","circle-stroked":"M7.5 12.3C4.84898 12.3 2.7 10.151 2.7 7.5C2.7 4.84898 4.84898 2.7 7.5 2.7C10.151 2.7 12.3 4.84898 12.3 7.5C12.3 10.151 10.151 12.3 7.5 12.3ZM7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.9101 11.0899 1 7.5 1C3.9101 1 1 3.9101 1 7.5C1 11.0899 3.9101 14 7.5 14Z",city:"M12.6368 3.9994H10.9981V2.3608C10.998 2.16148 10.8364 1.99994 10.6371 2H10.3591C10.1598 2 9.9982 2.16158 9.9982 2.3609V3.9994H8.36C8.16068 3.9994 7.9991 4.16098 7.9991 4.3603V9.9984H4.3621C4.16168 9.9984 3.9992 10.1609 3.9992 10.3613V12.6358C3.99975 12.8358 4.16207 12.9977 4.3621 12.9977H12.6368C12.8361 12.9977 12.9977 12.8361 12.9977 12.6368V4.36C12.9977 4.16068 12.8361 3.9994 12.6368 3.9994ZM5.9989 11.9981H4.9989V10.9981H5.9989V11.9981ZM7.9989 11.9981H6.9989V10.9981H7.9989V11.9981ZM9.9989 11.9981H8.9989V10.9981H9.9989V11.9981ZM9.9989 9.9981H8.9989V8.9981H9.9989V9.9981ZM9.9989 7.9981H8.9989V6.9981H9.9989V7.9981ZM9.9989 5.9981H8.9989V4.9981H9.9989V5.9981ZM11.9989 11.9971H10.9989V10.9971H11.9989V11.9971ZM11.9989 9.9971H10.9989V8.9971H11.9989V9.9971ZM11.9989 7.9971H10.9989V6.9971H11.9989V7.9971ZM11.9989 5.9971H10.9989V4.9971H11.9989V5.9971ZM6.9987 2.3608C6.99864 2.16152 6.83708 2 6.6378 2H4.36C4.16068 2 3.9991 2.16158 3.9991 2.3609V4H2.36C2.16138 4.00049 2.00049 4.16138 2 4.36V12.6474C2 12.8407 2.1567 12.9974 2.35 12.9974H2.9994V8.9986H6.9987V2.3608ZM4 7.9981H3V6.9981H4V7.9981ZM4 5.9981H3V4.9981H4V5.9981ZM6 7.9981H5V6.9981H6V7.9981ZM6 5.9981H5V4.9981H6V5.9981ZM6 3.9981H5V3H6V4V3.9981Z","clothing-store":"M4 2L1 4.5L1 7H4V13H11V7H14V4.5L11 2H9.5L7.5 6L5.5 2L4 2Z",college:"M7.5,1L0,4.5l2,0.9v1.7C1.4,7.3,1,7.9,1,8.5s0.4,1.2,1,1.4V10l-0.9,2.1 C0.8,13,1,14,2.5,14s1.7-1,1.4-1.9L3,10c0.6-0.3,1-0.8,1-1.5S3.6,7.3,3,7.1V5.9L7.5,8L15,4.5L7.5,1z M11.9,7.5l-4.5,2L5,8.4v0.1 c0,0.7-0.3,1.3-0.8,1.8l0.6,1.4v0.1C4.9,12.2,5,12.6,4.9,13c0.7,0.3,1.5,0.5,2.5,0.5c3.3,0,4.5-2,4.5-3L11.9,7.5L11.9,7.5z","college-JP":"M12.5,2.9992h-4v-1a1,1,0,0,0-2,0v1h-4a1,1,0,0,0,0,2h.67A10.8169,10.8169,0,0,0,5.15,8.8105c.3331.4313.6594.8248.9785,1.1936a14.3825,14.3825,0,0,1-2.6074,2.117,1,1,0,1,0,.955,1.7581h0A15.65,15.65,0,0,0,7.5,11.4613a15.65,15.65,0,0,0,3.0239,2.4179,1,1,0,1,0,.9551-1.7578,14.3789,14.3789,0,0,1-2.6073-2.1171c.3191-.3688.6453-.7622.9784-1.1935a10.818,10.818,0,0,0,1.98-3.8116h.67a1,1,0,0,0,0-2ZM8.2671,7.5879c-.2614.3385-.5154.6413-.767.937-.2517-.2957-.5057-.5985-.7672-.937A9.5885,9.5885,0,0,1,5.2676,4.9992H9.7319A9.5789,9.5789,0,0,1,8.2671,7.5879Z",commercial:"m14 6h-13c.0881-1.3829.427-2.7383 1-4h11c.5731 1.2617.9119 2.6171 1 4zm-11 1h9v6h-1v-5h-3v5h-5zm1 3h3v-2h-3z","communications-tower":"M11.8545,6.4336l-.4131-.2813a4.7623,4.7623,0,0,0,.2813-4.8779l-.0835-.1533L12.0747.875l.0908.167a5.2619,5.2619,0,0,1-.311,5.3916Zm1.1521,7.1316V14h-11v-.4348H4.4952L6.0439,6.4a.5.5,0,0,1,.4888-.3945h.7255V4.6014A1.14,1.14,0,0,1,6.3756,3.5a1.1568,1.1568,0,1,1,2.3136,0,1.14,1.14,0,0,1-.931,1.1112V6.0059h.7223A.5.5,0,0,1,8.9692,6.4l1.5478,7.1648ZM8.4543,8.751H6.5588L6.236,10.2441H8.777ZM6.1279,10.7441l-.3233,1.4952H9.2082l-.3231-1.4952ZM6.936,7.0059,6.6669,8.251H8.3463L8.0771,7.0059ZM5.5179,13.5652H9.4948l-.1786-.8259h-3.62ZM5.21,5.0137a2.7523,2.7523,0,0,1,.0161-3.0518L4.812,1.6826a3.25,3.25,0,0,0-.019,3.6065ZM10.7568,3.5a3.2433,3.2433,0,0,0-.5341-1.7861l-.418.2754a2.7517,2.7517,0,0,1-.0176,3.0488l.4141.2793A3.2341,3.2341,0,0,0,10.7568,3.5ZM3.5342,6.1182A4.7637,4.7637,0,0,1,3.3813,1.13L2.9478.88a5.2643,5.2643,0,0,0,.1694,5.5137Z",confectionery:"M13,4a1,1,0,0,0-1-1,1,1,0,0,0-2,0V5.0673A3.4808,3.4808,0,0,0,4.3583,9H2a1,1,0,0,0,0,2,1,1,0,0,0,1,1,1,1,0,0,0,2,0V9.9326A3.4807,3.4807,0,0,0,10.6417,6H13a1,1,0,0,0,0-2ZM7.5,9.9925A2.484,2.484,0,0,1,6.3184,5.319a1.0809,1.0809,0,0,1,.5459.307A2.1243,2.1243,0,0,1,7.25,7.0117l.001.9561A2.5821,2.5821,0,0,0,7.76,9.7031a1.5462,1.5462,0,0,0,.2591.2333A2.4861,2.4861,0,0,1,7.5,9.9925ZM8.6815,9.681a1.0813,1.0813,0,0,1-.5458-.307A2.1243,2.1243,0,0,1,7.75,7.9883l-.001-.9561A2.5821,2.5821,0,0,0,7.24,5.2969a1.5557,1.5557,0,0,0-.2592-.2334A2.4843,2.4843,0,0,1,8.6815,9.681Z",construction:"M13.5 11h-1.8L8.2.5C8-.2 7-.2 6.8.5L3.3 11H1.5c-.3 0-.5.2-.5.5v1c0 .3.2.5.5.5h12c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5ZM7 3h1l.7 2H6.4L7 3ZM5.7 7h3.6l.7 2H5l.7-2Z",convenience:"M2.9982,3.0687s.1875-1.062,1-1.062H5.0043V1.7276a.5.5,0,0,1,.5-.5H9.4882a.5.5,0,0,1,.5.5v.2791h1.01a.8324.8324,0,0,1,.6373.2937,1.7589,1.7589,0,0,1,.3627.7683s.3108,1.5719.5921,2.9181h-.938L11,3,3.982,2.9956,3.3336,5.9868H2.382Zm11,4.9144a1,1,0,0,1-.9992,1l-1.0008,3.973s-.1875,1.0417-1,1.0417h-7c-.8125,0-1-1.0417-1-1.0417L1.9822,8.98a.9985.9985,0,0,1,.016-1.9968h11A1,1,0,0,1,13.9982,7.9831ZM5.0327,12.13,5.03,11.0051,4.6392,9.4686a.5373.5373,0,1,0-1.0649.1445L3.78,11.0075l.1874,1.2672A.5373.5373,0,1,0,5.0327,12.13Zm2-2.5967A.5332.5332,0,0,0,6.4994,9l-.0039.0008L6.4886,9a.4992.4992,0,0,0-.3575.1509.529.529,0,0,0-.1648.3828v2.68a.5332.5332,0,1,0,1.0663,0Zm1.998,0A.5314.5314,0,0,0,8.694,9.04a.4992.4992,0,0,0-.393,0,.5312.5312,0,0,0-.3366.4934v2.68a.5331.5331,0,1,0,1.0662,0Zm2.3857.08a.5373.5373,0,1,0-1.0649-.1445L9.96,10.9938,9.9579,12.13a.5373.5373,0,1,0,1.0649.1446Z",cricket:"M8,1.5C8,2.3284,7.3284,3,6.5,3S5,2.3284,5,1.5S5.6716,0,6.5,0S8,0.6716,8,1.5z M10.88,7.18L10.88,7.18l-2-2l0,0l0,0 C8.7815,5.0616,8.6339,4.9952,8.48,5H3.75C3.3736,4.9915,3.0508,5.2669,3,5.64l0,0l-1,7.7l0,0c-0.0068,0.0464-0.0068,0.0936,0,0.14 c0,0.2761,0.2239,0.5,0.5,0.5c0.2251,0.0153,0.4315-0.1251,0.5-0.34l0,0l1.2-3.89l0,0l0.26-0.83l0.4,0.44l0,0L6,10.6v2.9 C6,13.7761,6.2239,14,6.5,14S7,13.7761,7,13.5v-3l0,0l0,0c-0.0081-0.0788-0.0356-0.1544-0.08-0.22l0,0L5.48,8.5l1-2.5h1.71l2,1.84 l0,0c0.0928,0.1077,0.2278,0.1697,0.37,0.17C10.8163,7.9791,11.007,7.7581,11,7.5C10.9997,7.3824,10.9571,7.2688,10.88,7.18z M14,11.27c-0.4142,0-0.75,0.3358-0.75,0.75s0.3358,0.75,0.75,0.75s0.75-0.3358,0.75-0.75S14.4142,11.27,14,11.27z M10.76,9.74V9 c0-0.1381-0.1119-0.25-0.25-0.25S10.26,8.8619,10.26,9v0.74c-0.1522,0.0855-0.2474,0.2455-0.25,0.42v3.34 c0,0.2761,0.2239,0.5,0.5,0.5s0.5-0.2239,0.5-0.5v-3.34C11.0074,9.9855,10.9122,9.8255,10.76,9.74z",cross:"M3.64 2.27L7.5 6.13L11.34 2.29C11.5114 2.1076 11.7497 2.0029 12 2C12.5523 2 13 2.4477 13 3C13.0047 3.2478 12.907 3.4866 12.73 3.66L8.84 7.5L12.73 11.39C12.8948 11.5512 12.9915 11.7696 13 12C13 12.5523 12.5523 13 12 13C11.7423 13.0107 11.492 12.9127 11.31 12.73L7.5 8.87L3.65 12.72C3.4793 12.8963 3.2453 12.9971 3 13C2.4477 13 2 12.5523 2 12C1.9953 11.7522 2.093 11.5134 2.27 11.34L6.16 7.5L2.27 3.61C2.1052 3.4488 2.0085 3.2304 2 3C2 2.4477 2.4477 2 3 2C3.2404 2.0029 3.4701 2.0998 3.64 2.27Z",dam:"M13.94,9.5c0,0.2761-0.2239,0.5-0.5,0.5l0,0c-0.259,0.0219-0.4994,0.1439-0.67,0.34c-0.2714,0.2887-0.6175,0.4964-1,0.6 c-0.6115,0.1816-1.2734,0.0424-1.76-0.37l-0.39-0.35c-0.2976-0.3038-0.7851-0.3087-1.0889-0.0111 C8.5274,10.2126,8.5237,10.2163,8.52,10.22c-0.14,0.12-0.27,0.25-0.42,0.37c-0.7278,0.5784-1.7663,0.5489-2.46-0.07L5.3,10.19 l-0.1-0.06l0.3,1.22l0.49,2c0.0829,0.2634-0.0634,0.5441-0.3267,0.6271C5.6105,13.9937,5.5553,14.0014,5.5,14h-4 C1.2239,14,1,13.7761,1,13.5v-12C1,1.2239,1.2239,1,1.5,1h1.1c0.2346-0.0011,0.4384,0.1611,0.49,0.39L4,5.06V5.2 c0.6569-0.314,1.4361-0.2205,2,0.24c0.16,0.13,0.31,0.28,0.47,0.41c0.2847,0.2546,0.7153,0.2546,1,0c0.16-0.13,0.31-0.28,0.47-0.41 c0.7076-0.5968,1.7424-0.5968,2.45,0c0.15,0.13,0.29,0.27,0.44,0.39c0.2847,0.2546,0.7153,0.2546,1,0l0.47-0.41 c0.3163-0.2672,0.7159-0.4157,1.13-0.42l0,0c0.2761,0,0.5,0.2239,0.5,0.5S13.7061,6,13.43,6l0,0 c-0.259,0.0219-0.4994,0.1439-0.67,0.34c-0.2714,0.2887-0.6175,0.4964-1,0.6C11.1485,7.1216,10.4866,6.9824,10,6.57L9.67,6.23 C9.3724,5.9262,8.8849,5.9213,8.5811,6.2189C8.5774,6.2226,8.5737,6.2263,8.57,6.23C8.43,6.35,8.3,6.48,8.15,6.6 C7.4222,7.1784,6.3837,7.1489,5.69,6.53L5.3,6.19c-0.2847-0.2546-0.7153-0.2546-1,0L4.24,6.24L4.93,9 C5.3226,9.029,5.6965,9.1793,6,9.43c0.16,0.13,0.31,0.28,0.47,0.41c0.2847,0.2546,0.7153,0.2546,1,0c0.16-0.13,0.31-0.28,0.47-0.41 c0.7076-0.5968,1.7424-0.5968,2.45,0c0.15,0.13,0.29,0.27,0.44,0.39c0.2847,0.2546,0.7153,0.2546,1,0l0.47-0.41 c0.3177-0.2636,0.7172-0.4085,1.13-0.41l0,0c0.2761-0.0055,0.5044,0.2138,0.5099,0.4899C13.94,9.4933,13.94,9.4966,13.94,9.5z",danger:"M13.94,14.68c-0.0749,0.194-0.262,0.3215-0.47,0.32c-0.0595,0.0107-0.1205,0.0107-0.18,0L7.5,12.56L1.7,15 c-0.2572,0.1005-0.5472-0.0266-0.6476-0.2838C1.0516,14.7141,1.0508,14.7121,1.05,14.71c-0.1291-0.2441-0.0358-0.5467,0.2084-0.6757 C1.2845,14.0205,1.3118,14.009,1.34,14l4.85-2l-4.85-2C1.0758,9.9197,0.9267,9.6404,1.007,9.3762s0.3596-0.4133,0.6238-0.333 C1.6545,9.0504,1.6776,9.0594,1.7,9.07l5.8,2.41l5.8-2.41c0.2494-0.1185,0.5477-0.0124,0.6662,0.237 c0.1185,0.2494,0.0124,0.5477-0.237,0.6662C13.7068,9.9839,13.6837,9.9928,13.66,10L8.8,12l4.85,2 c0.2607,0.091,0.3983,0.3761,0.3074,0.6368C13.9523,14.6515,13.9465,14.6659,13.94,14.68z M12,4.23v0.45 c-0.0021,0.2129-0.0722,0.4196-0.2,0.59C11.2414,5.8883,10.6399,6.4664,10,7v1.16c0.0015,0.208-0.126,0.3951-0.32,0.47L7.52,9.5 H7.45L5.28,8.63C5.1016,8.5428,4.9917,8.3584,5,8.16V7C4.3528,6.4675,3.7446,5.8893,3.18,5.27C3.0593,5.0972,2.9963,4.8907,3,4.68 V4.23C3.1669,2.0117,4.8974,0.2307,7.11,0h0.36l0,0h0.39C10.0862,0.2131,11.8348,1.9997,12,4.23z M6,4c0-0.5523-0.4477-1-1-1 S4,3.4477,4,4s0.4477,1,1,1S6,4.5523,6,4z M7,7c0-0.2761-0.2239-0.5-0.5-0.5S6,6.7239,6,7v0.5C6,7.7761,6.2239,8,6.5,8 S7,7.7761,7,7.5V7z M9,7c0-0.2761-0.2239-0.5-0.5-0.5S8,6.7239,8,7v0.5C8,7.7761,8.2239,8,8.5,8S9,7.7761,9,7.5V7z M11,4 c0-0.5523-0.4477-1-1-1S9,3.4477,9,4s0.4477,1,1,1S11,4.5523,11,4z",defibrillator:"m1.54995 7.33811c-2.386799-4.5965 3.63-7.660899 5.952-3.0644 2.3215-4.596499 8.33875-1.5322 5.95235 3.0644-.0869.1671-.2028.3456-.3114.5212h-1.8079l-1.81455-2.7216c-.06321-.09473-.1511-.1704-.25417-.21884-.10308-.04843-.21743-.06779-.3307-.05599-.11327.01181-.22117.05433-.31205.12298-.09087.06865-.16126.16082-.20358.26655l-1.6484 4.12-1.33-1.33c-.11716-.11707-.27597-.18288-.4416-.183h-3.1389c-.1086-.1757-.2245-.3542-.3111-.5213zm9.45005 1.7713c-.103-.00003-.2044-.02545-.2951-.07399-.0908-.04854-.1682-.11871-.2254-.20431l-1.34085-2.0111-1.5587 3.89679c-.03839.096-.10002.181-.17936.2474-.07935.0663-.17393.1119-.27524.1326-.04125.0086-.08327.0128-.1254.0126-.16568.0001-.32462-.0656-.4419-.1826l-1.8169-1.81739h-2.0054c1.36645 1.66819 2.85739 3.23039 4.46 4.67319.08531.077.19616.1197.3111.1197s.22579-.0427.3111-.1197c1.59778-1.4447 3.08545-3.0068 4.45055-4.67319z",dentist:"M4.36,14c-1,0-0.56-2.67-0.86-5c-0.1-0.76-1-1.49-1.12-2.06C2,5,1.39,1.44,3.66,1S6,3,7.54,3s1.57-2.36,3.85-2 s1.59,3.9,1.29,5.9c-0.1,0.45-1.1,1.48-1.18,2.06c-0.33,2.4,0.32,5-0.8,5c-0.93,0-1.32-2.72-2-4.5C8.43,8.63,8.06,8,7.54,8 C6,8,5.75,14,4.36,14z",diamond:"M7.03715 1.20147L2.12542 6.7C2.04962 6.78393 2.00568 6.89005 2.00051 7C1.99535 7.10994 2.02925 7.21013 2.09689 7.3L7.0065 13.7601C7.06233 13.8343 7.13629 13.8947 7.22216 13.9365C7.30803 13.9782 7.40331 14 7.5 14C7.59669 14 7.69197 13.9782 7.77784 13.9365C7.86371 13.8947 7.93766 13.8343 7.9935 13.7601L12.9031 7.3C12.9707 7.21013 13.0047 7.10994 12.9995 7C12.9943 6.89005 12.9504 6.78393 12.8746 6.7L7.96285 1.20147C7.90591 1.13833 7.83501 1.08761 7.75508 1.05282C7.67514 1.01802 7.5881 1 7.5 1C7.4119 1 7.32486 1.01802 7.24492 1.05282C7.16499 1.08761 7.09409 1.13833 7.03715 1.20147Z",doctor:"M5.5,7C4.1193,7,3,5.8807,3,4.5l0,0v-2C3,2.2239,3.2239,2,3.5,2H4c0.2761,0,0.5-0.2239,0.5-0.5S4.2761,1,4,1H3.5 C2.6716,1,2,1.6716,2,2.5v2c0.0013,1.1466,0.5658,2.2195,1.51,2.87l0,0C4.4131,8.1662,4.9514,9.297,5,10.5C5,12.433,6.567,14,8.5,14 s3.5-1.567,3.5-3.5V9.93c1.0695-0.2761,1.7126-1.367,1.4365-2.4365C13.1603,6.424,12.0695,5.7809,11,6.057 C9.9305,6.3332,9.2874,7.424,9.5635,8.4935C9.7454,9.198,10.2955,9.7481,11,9.93v0.57c0,1.3807-1.1193,2.5-2.5,2.5S6,11.8807,6,10.5 c0.0511-1.2045,0.5932-2.3356,1.5-3.13l0,0C8.4404,6.7172,9.001,5.6448,9,4.5v-2C9,1.6716,8.3284,1,7.5,1H7 C6.7239,1,6.5,1.2239,6.5,1.5S6.7239,2,7,2h0.5C7.7761,2,8,2.2239,8,2.5v2l0,0C8,5.8807,6.8807,7,5.5,7 M11.5,9 c-0.5523,0-1-0.4477-1-1s0.4477-1,1-1s1,0.4477,1,1S12.0523,9,11.5,9z","dog-park":"M 10.300781 1.2207031 C 9.9144812 1.2207031 9.6 1.2 9.5 2 L 9.0996094 4.5214844 L 11.5 6.5 L 13.5 6.5 C 14.9 6.5 15 5.5410156 15 5.5410156 L 13.099609 3.3222656 C 12.399609 2.6222656 11.7 2.5 11 2.5 L 11 2 C 11 2 11.067481 1.2206031 10.300781 1.2207031 z M 4.75 1.5 C 4.75 1.5 3.7992187 1.5206031 3.1992188 1.7207031 C 2.5992187 1.9207031 2 2.6210938 2 3.6210938 L 2 7.5214844 C 2 9.2214844 1.3 9.5 1 9.5 C 1 9.5 0 9.5214844 0 10.521484 L 0 12.720703 C 0 12.720703 0.00078125 13.521484 0.80078125 13.521484 L 1 13.521484 L 1.5 13.521484 L 2 13.521484 L 2 13.021484 L 2 12.822266 C 2 12.422266 1.8 12.221094 1.5 12.121094 L 1.5 11.021484 C 2.5 11.021484 2.6 10.820703 3 10.720703 L 3.5507812 12.917969 C 3.6507813 13.217969 3.7507813 13.417578 4.0507812 13.517578 L 5.0507812 13.517578 L 6 13.5 L 6 12.699219 C 6 12.022819 5 12 5 12 L 5 9.5 L 8.5 9.5 L 9.1992188 12.121094 C 9.5992188 13.521094 10.5 13.5 10.5 13.5 L 11 13.5 L 12 13.5 L 12 12.699219 C 12 11.987419 11 12 11 12 L 11.099609 7.921875 L 8 5.5 L 3.5 5.5 L 3.5 3.5 C 3.5 3.1 3.7765 3.0053 4 3 C 4.4941 2.9882 4.75 3 4.75 3 C 5.1642 3 5.5 2.6642 5.5 2.25 C 5.5 1.8358 5.1642 1.5 4.75 1.5 z M 11.75 4 C 11.8881 4 12 4.1119 12 4.25 C 12 4.3881 11.8881 4.5 11.75 4.5 C 11.6119 4.5 11.5 4.3881 11.5 4.25 C 11.5 4.1119 11.6119 4 11.75 4 z","drinking-water":"M6,1A2,2,0,0,0,4,3V6.5a.5.5,0,0,0,.5.5h2A.5.5,0,0,0,7,6.5v-2A.5.5,0,0,1,7.5,4H14V1ZM7,15H4a.5.5,0,0,1-.48-.38L2,8.62a.5.5,0,0,1,.365-.606A.558.558,0,0,1,2.5,8h6a.5.5,0,0,1,.514.485A.47.47,0,0,1,9,8.62l-1.5,6A.5.5,0,0,1,7,15ZM3.65,11H7.36l.5-2H3.14Z",elevator:"M11,1H4A1,1,0,0,0,3,2V13a1,1,0,0,0,1,1h7a1,1,0,0,0,1-1V2A1,1,0,0,0,11,1ZM7.5,12.5l-2-4h4Zm-2-6,2-4,2,4Z",embassy:"M6.65,2C5.43,2,4.48,3.38,4.11,3.82C4.0365,3.9102,3.9975,4.0237,4,4.14v4.4C3.9884,8.7827,4.1758,8.9889,4.4185,9.0005 C4.528,9.0057,4.6355,8.9699,4.72,8.9c0.4665-0.6264,1.1589-1.0461,1.93-1.17C8.06,7.73,8.6,9,10.07,9 c0.9948-0.0976,1.9415-0.4756,2.73-1.09c0.1272-0.0934,0.2016-0.2422,0.2-0.4V2.45c0.0275-0.2414-0.1459-0.4595-0.3874-0.487 C12.5332,1.954,12.4527,1.9668,12.38,2c-0.6813,0.5212-1.4706,0.8834-2.31,1.06C8.6,3.08,8.12,2,6.65,2z M2.5,3 c-0.5523,0-1-0.4477-1-1s0.4477-1,1-1s1,0.4477,1,1S3.0523,3,2.5,3z M3,4v9.48c0,0.2761-0.2239,0.5-0.5,0.5S2,13.7561,2,13.48V4 c0-0.2761,0.2239-0.5,0.5-0.5S3,3.7239,3,4z","emergency-phone":"M7.875,11.49a.51.51,0,0,0,.72,0l.72-.72,2.18,2.16-.37.37a2.24,2.24,0,0,1-1.44.7H8.24a2.24,2.24,0,0,1-1.45-.7L1.72,8.23A2.24,2.24,0,0,1,1,6.78V5.33a2.24,2.24,0,0,1,.72-1.45l.36-.36L4.26,5.69l-.73.73a.51.51,0,0,0,0,.72Zm4.72.38a1,1,0,0,0,.036-1.414h0l-.036-.036-.72-.72a1,1,0,0,0-1.414-.036h0l-.036.036ZM5.315,4.62a1,1,0,0,0,.036-1.414h0L4.595,2.45a1,1,0,0,0-1.414-.036h0L3.14,2.45ZM10,2V4H8V5h2V7h1V5h2V4H11V2Z",entrance:"m8 6.5v-1c0-.26522-.10536-.51957-.29289-.70711-.18754-.18753-.44189-.29289-.70711-.29289s-.51957.10536-.70711.29289c-.18753.18754-.29289.44189-.29289.70711v3zm-2-3.5c0-.19778.05865-.39112.16853-.55557s.26606-.29262.44879-.36831c.18272-.07569.38379-.09549.57777-.0569.19398.03858.37216.13382.51202.27367.13985.13986.23509.31804.27368.51202.03858.19398.01878.39505-.05691.57777-.07569.18273-.20386.33891-.36831.44879s-.35779.16853-.55557.16853c-.26522 0-.51957-.10536-.70711-.29289-.18753-.18754-.29289-.44189-.29289-.70711zm9 3c0 .26522-.1054.51957-.2929.70711-.1875.18753-.4419.29289-.7071.29289h-1.58c-.1316-.00076-.2621.02446-.3839.07423-.1218.04976-.2327.12309-.3261.21577l-5.42 5.42c-.18626.1847-.43766.2889-.7.29h-2.59c-.26522 0-.51957-.1054-.70711-.2929-.18753-.1875-.29289-.4419-.29289-.7071s.10536-.5196.29289-.7071c.18754-.1875.44189-.2929.70711-.2929h1.59c.26234-.0011.51374-.1053.7-.29l5.42-5.42c.0934-.09268.2043-.16601.3261-.21577.1218-.04977.2523-.07499.3839-.07423h2.58c.2652 0 .5196.10536.7071.29289.1875.18754.2929.44189.2929.70711z","entrance-alt1":"M6.554,9.639a.5.5,0,0,0,.707.707L9.928,7.669a.25.25,0,0,0,0-.354h0L7.261,4.639a.5.5,0,0,0-.707.707L8.2,7H1.5a.5.5,0,0,0,0,1H8.2ZM12,1H5.5a.5.5,0,0,0,0,1h6a.5.5,0,0,1,.5.5v10a.5.5,0,0,1-.5.5H5.25a.5.5,0,0,0,0,1H12a1,1,0,0,0,1-1V2A1,1,0,0,0,12,1Z",farm:"m8 6-3-2-3 2-1 2v4h2v-2h4v2h2v-4zm-2 2h-2v-2h2zm8 4h-3v-9.5c0-.39782.158-.77936.4393-1.06066s.6629-.43934 1.0607-.43934.7794.15804 1.0607.43934.4393.66284.4393 1.06066z","fast-food":"M14,8c0,0.5523-0.4477,1-1,1H2C1.4477,9,1,8.5523,1,8s0.4477-1,1-1h11C13.5523,7,14,7.4477,14,8z M3.5,10H2 c0,1.6569,1.3431,3,3,3h5c1.6569,0,3-1.3431,3-3H3.5z M3,6H2V4c0-1.1046,0.8954-2,2-2h7c1.1046,0,2,0.8954,2,2v2H3z M11,4.5 C11,4.7761,11.2239,5,11.5,5S12,4.7761,12,4.5S11.7761,4,11.5,4S11,4.2239,11,4.5z M9,3.5C9,3.7761,9.2239,4,9.5,4S10,3.7761,10,3.5 S9.7761,3,9.5,3S9,3.2239,9,3.5z M7,4.5C7,4.7761,7.2239,5,7.5,5S8,4.7761,8,4.5S7.7761,4,7.5,4S7,4.2239,7,4.5z M5,3.5 C5,3.7761,5.2239,4,5.5,4S6,3.7761,6,3.5S5.7761,3,5.5,3S5,3.2239,5,3.5z M3,4.5C3,4.7761,3.2239,5,3.5,5S4,4.7761,4,4.5 S3.7761,4,3.5,4S3,4.2239,3,4.5z",fence:"m13.5 9h-.5v-3h.5c.1326 0 .2598-.05268.3536-.14644.0937-.09377.1464-.22095.1464-.35356s-.0527-.25978-.1464-.35355c-.0938-.09377-.221-.14645-.3536-.14645h-.5v-2l-.286-.573c-.0218-.03651-.0525-.06683-.0894-.08809-.0368-.02125-.0784-.03273-.1209-.03333s-.0845.00969-.1219.0299c-.0374.0202-.069.04964-.0918.08552l-.29.579v2h-1v-2l-.286-.573c-.0218-.03651-.0525-.06683-.0894-.08809-.0368-.02125-.0784-.03273-.1209-.03333s-.0845.00969-.1219.0299c-.0374.0202-.069.04964-.0918.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-.5c-.13261 0-.25979.05268-.35355.14645-.09377.09377-.14645.22094-.14645.35355s.05268.25979.14645.35356c.09376.09376.22094.14644.35355.14644h.5v3h-.5c-.13261 0-.25979.05268-.35355.14645-.09377.09377-.14645.22094-.14645.35355s.05268.25979.14645.35356c.09376.09376.22094.14644.35355.14644h.5v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.0527.2598.1464.3536.0938.0937.221.1464.3536.1464s.2598-.0527.3536-.1464c.0937-.0938.1464-.221.1464-.3536v-1.5h1v1.5c0 .1326.0527.2598.1464.3536.0938.0937.221.1464.3536.1464s.2598-.0527.3536-.1464c.0937-.0938.1464-.221.1464-.3536v-1.5h.5c.1326 0 .2598-.05268.3536-.14644.0937-.09377.1464-.22095.1464-.35356s-.0527-.25978-.1464-.35355c-.0938-.09377-.221-.14645-.3536-.14645zm-10.5 0v-3h1v3zm2 0v-3h1v3zm2 0v-3h1v3zm2 0v-3h1v3zm2 0v-3h1v3z",ferry:"M5.33,11c0.6745,0.009,1.3262,0.245,1.85,0.67l0.26,0.23h0.05l0.31-0.28c0.9817-0.8115,2.379-0.8846,3.44-0.18L13.5,7L12,6 V2.45c-0.0466-0.8-0.6989-1.4305-1.5-1.45H10c0.0343-0.518-0.3579-0.9657-0.8759-1C9.0828-0.0027,9.0413-0.0027,9,0H6 C5.482-0.0343,5.0343,0.3579,5,0.8759C4.9973,0.9172,4.9973,0.9587,5,1H4.5C3.6989,1.0195,3.0466,1.65,3,2.45V6L1.5,7l2.25,4.53 C4.2143,11.2041,4.7631,11.02,5.33,11z M4,2.45c0.0105-0.2594,0.2293-0.4611,0.4886-0.4506C4.4924,1.9996,4.4962,1.9998,4.5,2h6 c0.259-0.0171,0.4829,0.1789,0.5,0.4379c0.0014,0.0207,0.0014,0.0414,0,0.0621v3l-3.5-2L4,5.45C4,5.45,4,2.45,4,2.45z M14,13v1 c-0.2626,0.0194-0.5069,0.1416-0.68,0.34c-0.2717,0.2883-0.6178,0.4959-1,0.6c-0.6147,0.1815-1.2795,0.0425-1.77-0.37l-0.39-0.35 c-0.3043-0.3026-0.7957-0.3026-1.1,0c-0.14,0.12-0.27,0.25-0.42,0.37c-0.7328,0.5856-1.7814,0.556-2.48-0.07l-0.39-0.35 c-0.2864-0.2502-0.7136-0.2502-1,0c-0.19,0.15-0.36,0.32-0.55,0.47c-0.7043,0.5215-1.6732,0.4968-2.35-0.06l-0.31-0.27 C1.4153,14.1443,1.2172,14.0346,1,14v-1c0.2585-0.032,0.5205,0.0169,0.75,0.14c0.2782,0.1722,0.5424,0.3661,0.79,0.58 c0.2051,0.2235,0.5147,0.319,0.81,0.25c0.1125-0.0333,0.2177-0.0876,0.31-0.16c0.16-0.12,0.29-0.26,0.45-0.39 c0.7106-0.5888,1.7394-0.5888,2.45,0c0.16,0.13,0.31,0.28,0.47,0.41c0.2864,0.2502,0.7136,0.2502,1,0c0.16-0.13,0.31-0.28,0.47-0.41 c0.7123-0.5943,1.7477-0.5943,2.46,0c0.15,0.13,0.29,0.27,0.44,0.39c0.2864,0.2502,0.7136,0.2502,1,0l0.47-0.41 C13.1895,13.1408,13.5886,12.9995,14,13z","ferry-JP":"M9.5 12.5H5.5L5.5 8C5.5 6.91153 6.07979 5.44812 6.85389 4.13809C7.07346 3.76652 7.29495 3.43049 7.5 3.1451C7.70505 3.43049 7.92654 3.76652 8.14611 4.13809C8.92021 5.44812 9.5 6.91153 9.5 8V12.5ZM7.5 1C7 1 4 5 4 8V12.5C4 13.3284 4.67157 14 5.5 14H9.5C10.3284 14 11 13.329 11 12.5006V8C11 5 8 1 7.5 1Z","fire-station":"M7.5 14C11.0899 14 14 11 14 7.50003C14 4.5 11.5 2 11.5 2L10.5 5.5L7.5 1L4.5 5.5L3.5 2C3.5 2 1 4.5 1 7.50003C1 11 3.91015 14 7.5 14ZM7.5 12.5C6.11929 12.5 5 11.3807 5 10C5 8.61929 7.5 5.5 7.5 5.5C7.5 5.5 10 8.61929 10 10C10 11.3807 8.88071 12.5 7.5 12.5Z","fire-station-JP":"M8.5,8.1489V11.75a1,1,0,0,1-2,0V8.1489A5.0084,5.0084,0,0,1,2.5,3.25a1,1,0,0,1,2,0,3,3,0,0,0,6,0,1,1,0,0,1,2,0A5.0082,5.0082,0,0,1,8.5,8.1489Z","fitness-centre":"M14.5,7V8h-1v2h-1v1H11V8H4v3H2.5V10h-1V8H.5V7h1V5h1V4H4V7h7V4h1.5V5h1V7Z",florist:"M1.5,1A2.7,2.7,0,0,1,4,3l.5-3L5,3A2.7,2.7,0,0,1,7.5,1c-.2.03-1,.26-1,2v.083A1.959,1.959,0,0,1,4.5,5H4.417A1.959,1.959,0,0,1,2.5,3C2.5,1.261,1.7,1.03,1.5,1ZM12.012,11l3-.5-3-.5A2.686,2.686,0,0,0,14,7.5c-.03.2-.248,1-1.988,1a2,2,0,0,0,0,4c1.739,0,1.958.8,1.988,1A2.686,2.686,0,0,0,12.012,11ZM9.688,5.548a1,1,0,0,1,0-2,1,1,0,0,1,0-2,.986.986,0,0,1,.852.507l.023-.012a.978.978,0,0,1-.116-.444,1,1,0,1,1,2,0,.978.978,0,0,1-.116.444l.019.01a.986.986,0,0,1,.85-.5,1,1,0,0,1,.025,2,1,1,0,0,1-.025,2,.986.986,0,0,1-.85-.5l-.016.009a.978.978,0,0,1,.113.44,1,1,0,0,1-2,0,.978.978,0,0,1,.113-.44l-.02-.011a.986.986,0,0,1-.852.507Zm.71-1.995A1.051,1.051,0,1,0,11.449,2.5,1.051,1.051,0,0,0,10.4,3.553v0ZM4.946,11.444l-.516-.515L8.892,6.475A1.746,1.746,0,0,1,8.44,6.22L4.076,10.575l-.519-.518A16.051,16.051,0,0,0,4.912,6a3.373,3.373,0,0,1-.412.035c-.041,0-.073-.008-.112-.01A16.953,16.953,0,0,1,3.131,9.631L2.76,9.26a.246.246,0,0,0-.4.079L.231,14.445a.287.287,0,0,0-.016.089.25.25,0,0,0,.25.25.289.289,0,0,0,.1-.019l5.1-2.124a.246.246,0,0,0,.079-.4l-.372-.372a16.874,16.874,0,0,1,3.612-1.256c0-.059-.015-.106-.015-.166A3.349,3.349,0,0,1,9,10.089,16.076,16.076,0,0,0,4.946,11.444Z",fuel:"m14 6v5.5c0 .2761-.2239.5-.5.5s-.5-.2239-.5-.5v-2c0-.8284-.6716-1.5-1.5-1.5h-1.5v-6c0-.5523-.4477-1-1-1h-6c-.5523 0-1 .4477-1 1v11c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-4h1.5c.2761 0 .5.2239.5.5v2c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5v-6.5c0-.5523-.4477-1-1-1v-1.51c-.0054-.2722-.2277-.4901-.5-.49-.2816.0047-.5062.2367-.5015.5184.0002.0105.0007.0211.0015.0316v2.45c0 .5523.4477 1 1 1s1-.4477 1-1-.4477-1-1-1zm-5 .5c0 .2761-.2239.5-.5.5h-5c-.2761 0-.5-.2239-.5-.5v-3c0-.2761.2239-.5.5-.5h5c.2761 0 .5.2239.5.5z",furniture:"m8.69099 10.142v-1.642c0-.13261-.05268-.25979-.14645-.35355-.09377-.09377-.22094-.14645-.35355-.14645h-1c-.13261 0-.25979.05268-.35356.14645-.09376.09376-.14644.22094-.14644.35355v1.641c-.75987.1945-1.4456.6085-1.9715 1.1905-.52591.5819-.86868 1.3059-.9855 2.0815-.01141.0723-.00702.1462.01285.2167.01987.0704.05476.1357.10227.1914s.10651.1004.17295.1311c.06643.0307.13873.0467.21193.0468h6.92201c.0732-.0001.1455-.0161.2119-.0468.0665-.0307.1255-.0754.173-.1311s.0824-.121.1022-.1914c.0199-.0705.0243-.1444.0129-.2167-.1176-.7765-.4616-1.501-.989-2.0828-.5275-.5819-1.2148-.9952-1.97601-1.1882zm4.63901-3.863-2.5-5c-.0412-.08351-.1048-.15387-.1838-.20316s-.1701-.07556-.2632-.07584h-5.38401c-.09261.00019-.18335.02609-.2621.07483-.07875.04873-.14241.11837-.1839.20117l-2.5 5c-.03809.076-.05617.16046-.05253.24539.00363.08494.02886.16754.07331.24001.04444.07247.10663.13241.18068.17416s.15753.06393.24254.06444h8.19401v1.5c0 .13261.0527.25979.1464.35355.0938.09377.221.14645.3536.14645s.2598-.05268.3535-.14645c.0938-.09376.1465-.22094.1465-.35355v-1.5h1.194c.0847-.00059.1678-.02269.2416-.06421s.1359-.1011.1804-.17317c.0444-.07207.0699-.15425.0739-.23884s-.0135-.16882-.0509-.24478z",gaming:"m13.1 11.5c-.6.3-1.4.1-1.8-.5l-1.1-1.4h-5.40002l-1.1 1.4c-.5.7-1.4.8-2.1.3-.5-.4-.700004-1-.600004-1.5l.700004-3.7c.2-1.2 1.3-2.1 2.5-2.1h2.8v-1.5c0-.8.6-1.5 1.4-1.5h3.10002c.3 0 .5.2.5.5s-.2.5-.5.5h-3.00002c-.3 0-.5.2-.5.4v.1 1.5h2.80002c1.2 0 2.3.9 2.5 2.1l.7 3.7c.1.7-.2 1.4-.9 1.7zm-7.10002-5c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5.7 1.5 1.5 1.5 1.5-.7 1.5-1.5zm6.00002 0c0-.3-.2-.5-.5-.5h-.5v-.5c0-.3-.2-.5-.5-.5s-.50002.2-.50002.5v.5h-.5c-.3 0-.5.2-.5.5s.2.5.5.5h.5v.5c0 .3.20002.5.50002.5s.5-.2.5-.5v-.5h.5c.3 0 .5-.2.5-.5z",garden:"M13,8c0,3.31-2.19,6-5.5,6S2,11.31,2,8c2.2643,0.0191,4.2694,1.4667,5,3.61V7H4.5C3.6716,7,3,6.3284,3,5.5v-3 C3,2.2239,3.2239,2,3.5,2c0.1574,0,0.3056,0.0741,0.4,0.2l1.53,2l1.65-3c0.1498-0.232,0.4593-0.2985,0.6913-0.1487 C7.8308,1.0898,7.8815,1.1404,7.92,1.2l1.65,3l1.53-2c0.1657-0.2209,0.4791-0.2657,0.7-0.1C11.9259,2.1944,12,2.3426,12,2.5v3 C12,6.3284,11.3284,7,10.5,7H8v4.61C8.7306,9.4667,10.7357,8.0191,13,8z","garden-centre":"M4,5L4,4.5C4,3.12 5.12,2 6.5,2C7.88,2 9,3.12 9,4.5L9,10.293L11.365,7.928L11.018,6.633C11.018,6.631 11.017,6.629 11.017,6.627L11.016,6.627L11.016,6.627C10.973,6.461 11.016,6.276 11.147,6.146C11.342,5.951 11.659,5.951 11.854,6.146L13.854,8.146C14.049,8.341 14.049,8.658 13.854,8.853C13.724,8.983 13.541,9.027 13.375,8.984C13.375,8.984 13.375,8.984 13.375,8.984C13.372,8.983 13.369,8.982 13.365,8.981L12.072,8.635L9,11.707L9,12C9,12.552 8.552,13 8,13L5,13C4.448,13 4,12.552 4,12L4,11.536L1.732,9.268C0.757,8.292 0.757,6.708 1.732,5.732C2.22,5.244 2.86,5 3.5,5L3.5,5L4,5ZM4,6L3.5,6L3.5,6C3.116,6 2.732,6.147 2.439,6.439C1.854,7.025 1.854,7.975 2.439,8.561L4,10.121L4,6ZM8,5L8,4.5C8,3.672 7.328,3 6.5,3C5.672,3 5,3.672 5,4.5L5,5L8,5Z",gate:"M1 2.75A.75.75 0 0 1 1.75 2h1.114c.09 0 .18.016.263.048l3.386 1.27A.75.75 0 0 1 7 4.02v5.96a.75.75 0 0 1-.487.702L3 12v.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1-.75-.75v-9.5Zm3 5.736v-4.87a.25.25 0 0 0-.162-.234l-.5-.187A.25.25 0 0 0 3 3.429v5.224c0 .17.167.291.33.237l.5-.166A.25.25 0 0 0 4 8.486ZM5 4.18v3.807a.25.25 0 0 0 .33.238l.5-.167A.25.25 0 0 0 6 7.82V4.366a.25.25 0 0 0-.162-.234l-.5-.187A.25.25 0 0 0 5 4.179Zm9-1.43a.75.75 0 0 0-.75-.75h-1.114a.75.75 0 0 0-.263.048l-3.386 1.27A.75.75 0 0 0 8 4.02v5.96a.75.75 0 0 0 .487.702L12 12v.25c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75v-9.5Zm-2.83 5.974a.25.25 0 0 1-.17-.238v-4.87a.25.25 0 0 1 .162-.234l.5-.187a.25.25 0 0 1 .338.234v5.224a.25.25 0 0 1-.33.237l-.5-.166ZM10 4.179v3.807a.25.25 0 0 1-.33.238l-.5-.167A.25.25 0 0 1 9 7.82V4.366a.25.25 0 0 1 .162-.234l.5-.187a.25.25 0 0 1 .338.234Z",gift:"M10.5 1.00152C9.0967.957116 7.8503 1.89192 7.5 3.25152 7.1497 1.89192 5.9033.957116 4.5 1.00152 2.7678.947006 2.23515 2.79746 2.81831 4H1.5C1.22386 4 1 4.22386 1 4.5V5.5C1 5.77614 1.22386 6 1.5 6H13.5C13.7761 6 14 5.77614 14 5.5V4.5C14 4.22386 13.7761 4 13.5 4H12.1938C12.8 2.81516 12.2922 1.00143 10.5404 1.00112 10.5269 1.00112 10.5135 1.00122 10.5 1.00152ZM10.6831 4H8.5C8.50082 2.8961 9.3959 2.00152 10.5 2.00152 11.675 2.00152 11.8827 3.87414 10.6831 4ZM6.5 4H4.29187C3.25675 3.88256 3.19576 2.10553 4.3323 2.00152 4.3881 1.99642 4.4442 1.99642 4.5 2.00152 5.60409 2.00152 6.49918 2.8961 6.5 4ZM2 7.00146V11.5015C2 12.3299 2.6716 13.0015 3.5 13.0015H6.5V7.00146H2ZM8.5 7.00146V13.0015H11.5C12.3284 13.0015 13 12.3299 13 11.5015V7.00146H8.5Z",globe:"M11.981,9.481,11.26,8.76A4.979,4.979,0,1,1,4.24,1.74l-.721-.721A5.991,5.991,0,0,0,7,11.475V13H6.5a.5.5,0,0,0,0,1h2a.5.5,0,0,0,0-1H8V11.473A5.983,5.983,0,0,0,11.981,9.481ZM7.5,9A3.5,3.5,0,1,0,4,5.5,3.5,3.5,0,0,0,7.5,9Zm1-5,.364-.592a2.5,2.5,0,0,1,.823.9L9.5,5h-1ZM6.656,3.156,7.5,4V5L8,6H9.94a2.494,2.494,0,0,1-1.5,1.814L8,7H6.5L5.05,5A2.5,2.5,0,0,1,6.656,3.156Z",golf:"M3.3999,1.1c0,0.1,0,0.2,0,0.2c0,0.4,0.3,0.7,0.7,0.7c0.3,0,0.5-0.2,0.6-0.5l0,0L4.9,1l5.6,2.3L6.6,6C6.2,6.3,6.2,6.7,6.3,7.1 l0.9,2.1l-1.3,3.9C5.7,13.6,6.1,14,6.5,14c0.3,0,0.5-0.1,0.6-0.5l1.4-4l0.1,0.3v3.5c0,0,0,0.7,0.7,0.7s0.7-0.7,0.7-0.7V10 c0-0.2,0-0.3-0.1-0.5L8.5,6.1l2.7-1.9c0.2-0.2,0.4-0.3,0.4-0.6s-0.2-0.5-0.4-0.6L4,0.1c-0.0878,0-0.118,0.0179-0.2001,0.1 L3.3999,1.1z M5.5,3C4.7,3,4,3.7,4,4.5S4.7,6,5.5,6S7,5.3,7,4.5S6.2999,3,5.5,3z",grocery:"M 13.199219 1.5 C 13.199219 1.5 11.808806 1.4588 11.253906 2 C 10.720406 2.5202 10.5 2.9177 10.5 4 L 1.1992188 4 L 2.59375 8.8144531 C 2.59725 8.8217531 2.6036219 8.8287375 2.6074219 8.8359375 C 2.8418219 9.4932375 3.4545469 9.9666406 4.1855469 9.9941406 C 4.1885469 9.9954406 4.1992187 10 4.1992188 10 L 10.699219 10 L 10.699219 10.199219 C 10.699219 10.199219 10.7 10.500391 10.5 10.900391 C 10.3 11.300391 10.200391 11.5 9.4003906 11.5 L 2.9003906 11.5 C 1.9003906 11.5 1.9003906 13 2.9003906 13 L 4.0996094 13 L 4.1992188 13 L 9.0996094 13 L 9.1992188 13 L 9.3007812 13 C 10.500781 13 11.399219 12.299609 11.699219 11.599609 C 11.999219 10.899609 12 10.300781 12 10.300781 L 12 10 L 12 4 C 12 3.4764 12.228619 3 12.699219 3 L 13.25 3 C 13.6642 3 14 2.6642 14 2.25 C 14 1.8358 13.6642 1.5 13.25 1.5 L 13.199219 1.5 z M 9.1992188 13 C 8.5992188 13 8.1992188 13.4 8.1992188 14 C 8.1992188 14.6 8.5992187 15 9.1992188 15 C 9.7992187 15 10.199219 14.6 10.199219 14 C 10.199219 13.4 9.7992188 13 9.1992188 13 z M 4.1992188 13 C 3.5992188 13 3.1992188 13.4 3.1992188 14 C 3.1992188 14.6 3.5992187 15 4.1992188 15 C 4.7992188 15 5.1992188 14.6 5.1992188 14 C 5.1992188 13.4 4.7992187 13 4.1992188 13 z",hairdresser:"M15,3c0,0-2-0.6-3.5,0.5l-4.3,3C6.4,5.9,5.2,5.2,4,4.8V4c0-1.1-0.9-2-2-2C0.9,2,0,2.9,0,4v1.5 C0,6,0.5,6,0.5,6H2h0.5C4.5,6,6,7.5,6,7.5S4.5,9,2.5,9H2H0.5C0.5,9,0,9,0,9.5V11c0,1.1,0.9,2,2,2c1.1,0,2-0.9,2-2v-0.8 c1.2-0.4,2.4-1.1,3.2-1.7l4.3,3C13,12.6,15,12,15,12L8.5,7.5L15,3z M3,5H2H1V4c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1V5z M3,11 c0,0.6-0.4,1-1,1c-0.6,0-1-0.4-1-1v-1h1h1V11z M7.25,8c-0.2761,0-0.5-0.2239-0.5-0.5S6.9739,7,7.25,7s0.5,0.2239,0.5,0.5 S7.5261,8,7.25,8z",harbor:"M7.5,0C5.5,0,4,1.567,4,3.5c0.0024,1.5629,1.0397,2.902,2.5,3.3379v6.0391 c-0.9305-0.1647-1.8755-0.5496-2.6484-1.2695C2.7992,10.6273,2.002,9.0676,2.002,6.498c0.0077-0.5646-0.4531-1.0236-1.0176-1.0137 C0.4329,5.493-0.0076,5.9465,0,6.498c0,3.0029,1.0119,5.1955,2.4902,6.5723C3.9685,14.4471,5.8379,15,7.5,15 c1.6656,0,3.535-0.5596,5.0117-1.9395S14.998,9.4868,14.998,6.498c0.0648-1.3953-2.0628-1.3953-1.998,0 c0,2.553-0.7997,4.1149-1.8535,5.0996C10.3731,12.3203,9.4288,12.7084,8.5,12.875V6.8418C9.9607,6.4058,10.9986,5.0642,11,3.5 C11,1.567,9.5,0,7.5,0z M7.5,2C8.3284,2,9,2.6716,9,3.5S8.3284,5,7.5,5S6,4.3284,6,3.5S6.6716,2,7.5,2z",hardware:"M13.7919,3.2619c0,0-1.676,1.675-2.1163,2.1208c-0.085,0.0861-0.1688,0.1135-0.282,0.0961 c-0.1481-0.0226-0.2974-0.038-0.4462-0.0558c-0.4072-0.0485-0.8145-0.0966-1.2292-0.1458C9.649,4.6852,9.5787,4.1049,9.5177,3.5236 C9.512,3.4689,9.5509,3.3943,9.5925,3.3522c0.5071-0.5134,1.9261-1.9287,2.134-2.136c-0.4508-0.2129-1.2243-0.2968-1.8007-0.2031 c-2.1801,0.3543-3.5112,2.534-2.8206,4.625C7.1432,5.753,7.1194,5.8201,7.0374,5.902C5.1891,7.7454,3.3436,9.5914,1.498,11.4374 c-0.0616,0.0616-0.1231,0.124-0.1779,0.1913c-0.5264,0.6473-0.3873,1.6264,0.2974,2.102c0.6044,0.4197,1.3658,0.3442,1.9053-0.1948 c1.8534-1.8519,3.7059-3.7047,5.556-5.5598C9.1707,7.884,9.2437,7.8526,9.3779,7.8983c0.6189,0.2109,1.2524,0.2354,1.8884,0.0884 c1.9386-0.4478,3.1251-2.3732,2.6549-4.3034C13.8895,3.5532,13.843,3.4244,13.7919,3.2619z",heart:"m13.91 7.75001c-1.17 2.24999-4.30002 5.30999-6.07002 6.93999-.1903.1718-.4797.1718-.67 0-1.78-1.63-4.91-4.69-6.08-6.93999-2.57-4.95 3.91-8.250002 6.41-3.3 2.5-4.950002 8.98002-1.65 6.41002 3.3z",heliport:"M4,2C3,2,3,3,4,3h4v1C7.723,4,7.5,4.223,7.5,4.5V5H5H3.9707H3.9316 C3.7041,4.1201,2.9122,3.5011,2,3.5c-1.1046,0-2,0.8954-2,2s0.8954,2,2,2c0.3722-0.001,0.7368-0.1058,1.0527-0.3027L5.5,10.5 C6.5074,11.9505,8.3182,12,9,12h5c0,0,1,0,1-1v-0.9941C15,9.2734,14.874,8.874,14.5,8.5l-3-3c0,0-0.5916-0.5-1.2734-0.5H9.5V4.5 C9.5,4.223,9.277,4,9,4V3h4c1,0,1-1,0-1C13,2,4,2,4,2z M2,4.5c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1s-1-0.4477-1-1 C1,4.9477,1.4477,4.5,2,4.5z M10,6c0.5,0,0.7896,0.3231,1,0.5L13.5,9H10c0,0-1,0-1-1V7C9,7,9,6,10,6z","highway-rest-area":"M13.5,13h-3V9h3a.5.5,0,0,0,.4092-.7871L11.66,5h.84a.5.5,0,0,0,.3838-.82l-2.5-3a.5155.5155,0,0,0-.7676,0l-2.5,3A.5.5,0,0,0,7.5,5h.84L6.0908,8.2129A.5.5,0,0,0,6.5,9h3v4H4V11H5.5a.5.5,0,0,0,0-1h-4a.5.5,0,0,0,0,1H3v2H1.5a.5.5,0,0,0,0,1h12a.5.5,0,0,0,0-1Z",historic:"m7.5 1c-1 0-1 1-2 1h-3.5c-.54467 0-1 .45533-1 1v7c0 .5447.45533 1 1 1h5v2.5s0 .5.5.5.5-.5.5-.5v-2.5h5c.5447 0 1-.4553 1-1v-7c0-.54467-.4553-1-1-1h-3.5c-1 0-1-1-2-1zm-4.5 4v-1h9v1zm0 1h4v1h-4zm0 2h7v1h-7z",home:"M2,13.7478c0,0.13807,0.11193,0.25,0.25,0.25h3.749v-3h3v3h3.749c0.13807,0,0.25-0.11193,0.25-0.25V7.9987H2 C2,7.9987,2,13.7478,2,13.7478z M13.93,6.5778l-0.9319-0.8189V2c0-0.55228-0.44771-1-1-1s-1,0.44772-1,1v2L7.6808,1.09 C7.5863,0.9897,7.42846,0.98478,7.3279,1.079L7.3169,1.09L1.0678,6.553C0.9734,6.65376,0.97856,6.81197,1.07932,6.90637 C1.12478,6.94896,1.18451,6.97304,1.2468,6.9739L3,6.9989h10.7468c0.13807,0.00046,0.25037-0.1111,0.25083-0.24917 C13.99784,6.68592,13.97365,6.62445,13.93,6.5779V6.5778z","horse-riding":"M6,1A1,1,0,1,1,7,2,1,1,0,0,1,6,1ZM8,3.5a.484.484,0,0,0,0-.058A.472.472,0,0,0,7.5,3h-1a.484.484,0,0,0-.058,0A.472.472,0,0,0,6,3.5V7H8Zm6.85,3.644L12.8,4.8l.085-.509a.478.478,0,0,0,.008-.063.25.25,0,0,0-.25-.25.346.346,0,0,0-.158.056L9,7H8L9,8V9.5a.5.5,0,0,1-1,0v-1L6,7H4a1.5,1.5,0,0,0-1.243.661A1.466,1.466,0,0,0,1.563,7H1.5A1.449,1.449,0,0,0,0,8.4v.086A3.781,3.781,0,0,0,.559,10.4a.278.278,0,0,0,.191.1A.25.25,0,0,0,1,10.25V9s-.02-.924.753-1c.5-.048.747.253.747.5V11L2,13v1.75a.25.25,0,0,0,.25.25.254.254,0,0,0,.25-.234V13L4,11v1l.5,2.8a.255.255,0,0,0,.246.2A.25.25,0,0,0,5,14.754H5L4.855,12.3,5.5,11H8v1l.508,2.813A.257.257,0,0,0,8.75,15,.25.25,0,0,0,9,14.75V12l.367-1a1.155,1.155,0,0,0,.543-.6l2.161-3.767a.863.863,0,0,0,1.023.4l1.066.818a.591.591,0,0,0,.35.135.487.487,0,0,0,.475-.4A.552.552,0,0,0,14.85,7.144Z",hospital:"M7,1C6.4,1,6,1.4,6,2v4H2C1.4,6,1,6.4,1,7v1 c0,0.6,0.4,1,1,1h4v4c0,0.6,0.4,1,1,1h1c0.6,0,1-0.4,1-1V9h4c0.6,0,1-0.4,1-1V7c0-0.6-0.4-1-1-1H9V2c0-0.6-0.4-1-1-1H7z","hospital-JP":"m12.5038 3h-10.00777c-.26639.00235-.52096.11039-.70772.30036-.18677.18998-.29046.44634-.28828.71274v5.5807c-.00063.18713.05047.37079.14765.5307.09718.1599.23667.2899.40305.3755l4.78 2.8394c.20725.1056.43653.1606.6691.1606.23258 0 .46186-.055.6691-.1606l4.78037-2.8394c.1664-.0856.3059-.2155.4031-.3755.0972-.15989.1483-.34357.1476-.5307v-5.5807c.0012-.13194-.0237-.2628-.0732-.38512-.0494-.12232-.1225-.2337-.215-.32777-.0925-.09408-.2027-.16901-.3241-.22052-.1215-.05151-.2519-.07859-.3839-.07969zm-2.0038 5.5h-1.99997v2h-2v-2h-2v-2h2v-2h2v2h1.99997z","hot-spring":"M6.682,5.759c-.505-.725-.781-1.121-.63-2.376,.139-1.156,.678-1.616,1.198-2.059,.404-.345,.797-.68,.981-1.324,.301,.722-.036,1.47-.349,2.164-.311,.691-.599,1.329-.211,1.836,.971,1.271,1.963,2.88,.971,4.586-.214,.393-.539,.681-.861,.968-.422,.375-.841,.747-1.004,1.348-.269-.677,.008-1.366,.285-2.052,.306-.759,.61-1.516,.172-2.251-.203-.34-.389-.607-.551-.84Zm3.371-1.174c-.098-.632,.034-1.281,.368-1.809,.367-.45,.701-.642,.991-.81,.345-.199,.627-.362,.83-.877,.289,.684,0,1.188-.304,1.718-.119,.207-.24,.418-.329,.645-.191,.61,.101,.893,.467,1.247,.358,.346,.786,.76,.899,1.617,.083,.635-.036,1.156-.372,1.684-.356,.436-.681,.655-.965,.846-.356,.24-.648,.437-.856,.965-.292-.688,.031-1.259,.353-1.828,.123-.217,.246-.434,.334-.658,.073-.558-.234-.867-.581-1.217-.357-.36-.757-.763-.834-1.523Zm-8.018,0c-.098-.632,.005-1.3,.368-1.809,.376-.528,.729-.717,1.035-.881,.323-.173,.594-.318,.786-.806,.289,.683-.014,1.208-.325,1.749-.122,.212-.246,.427-.336,.655-.152,.385,.131,1.014,.501,1.242,1.002,.801,1.227,2.286,.547,3.353-.366,.448-.704,.648-.999,.823-.353,.209-.645,.382-.849,.898-.278-.656,.008-1.18,.3-1.714,.131-.24,.263-.481,.345-.737,.179-.557-.134-.884-.51-1.277-.349-.365-.752-.785-.863-1.498Zm10.965,4.414c.7,2.616-3.474,3-5.5,3s-6.2-.484-5.5-3c-.633,.316-1,.961-1,1.5,0,1.519,2.91,2.9,6.5,2.9s6.5-1.381,6.5-2.9c0-.539-.367-1.184-1-1.5Z","ice-cream":"M5.44,8.17a3.473,3.473,0,0,0,2-.63A3.5,3.5,0,0,0,9,8.14h.44L8,13.7a.5.5,0,0,1-.92,0Zm6-3.473a2,2,0,0,1-4,0h0a2,2,0,1,1-2-2h.12a2,2,0,1,1,3.75,0h.13A2,2,0,0,1,11.439,4.7Z",industry:"M14,1v12H1V8.72c0.0016-0.1419,0.0634-0.2764,0.17-0.37l3-3.22c0.2074-0.1823,0.5234-0.1618,0.7056,0.0456 C4.9568,5.268,5.0011,5.387,5,5.51v3l3.16-3.37c0.2025-0.1878,0.5188-0.1759,0.7066,0.0266C8.9532,5.2599,9.0009,5.3827,9,5.51V11h3 V1H14z",information:"M7.5,1 C6.7,1,6,1.7,6,2.5S6.7,4,7.5,4S9,3.3,9,2.5S8.3,1,7.5,1z M4,5v1c0,0,2,0,2,2v2c0,2-2,2-2,2v1h7v-1c0,0-2,0-2-2V6c0-0.5-0.5-1-1-1H4 z","jewelry-store":"M12,8.5c0,2.4853-2.0147,4.5-4.5,4.5S3,10.9853,3,8.5c0-1.8483,1.1164-3.4329,2.7099-4.1255l0.1761,0.137l0.7739,0.6019 C5.1366,5.4922,4,6.8611,4,8.5C4,10.4299,5.5701,12,7.5,12S11,10.4299,11,8.5c0-1.6389-1.1366-3.0078-2.6599-3.3866l0.95-0.7388 C10.8836,5.0672,12,6.6517,12,8.5z M7.5,4.5L10,2.5555L9,1H6L5,2.5555l1.5,1.1667L7.5,4.5z",karaoke:"M12.1,2.952A2.988,2.988,0,0,0,6.99,4.917l3.142,3.142A2.988,2.988,0,0,0,12.1,2.952Zm-7.428,5.3L2.55,10.377a1,1,0,0,0,0,1.414l.707.707a1,1,0,0,0,1.414,0l2.121-2.121L8.914,8.255,6.793,6.134Zm.741,2.087-.707-.707L6.793,7.548l.707.707Z",landmark:"M12.5,12H12v-0.5c0-0.3-0.2-0.5-0.5-0.5H11V6h1l1-2c-1,0.1-2,0.1-3,0C9.2,3.4,8.6,2.8,8,2V1.5C8,1.2,7.8,1,7.5,1 S7,1.2,7,1.5V2C6.4,2.8,5.8,3.4,5,4C4,4.1,3,4.1,2,4l1,2h1v5c0,0-0.5,0-0.5,0C3.2,11,3,11.2,3,11.5V12H2.5C2.2,12,2,12.2,2,12.5V13 h11v-0.5C13,12.2,12.8,12,12.5,12z M7,11H5V6h2V11z M10,11H8V6h2V11z","landmark-JP":"m9.5 4c0 .39556-.1173.78224-.33706 1.11114s-.53212.58524-.89757.73662c-.36545.15137-.76759.19098-1.15555.11381s-.74433-.26765-1.02403-.54736c-.27971-.2797-.47019-.63607-.54736-1.02403s-.03756-.79009.11381-1.15555c.15138-.36545.40772-.67781.73662-.89757s.71558-.33706 1.11114-.33706c.53043 0 1.03914.21071 1.41421.58579.37508.37507.58579.88378.58579 1.41421zm-6 4c-.39556 0-.78224.1173-1.11114.33706s-.58524.53212-.73662.89757c-.15137.36546-.19098.76757-.11381 1.15557.07717.3879.26765.7443.54736 1.024.2797.2797.63607.4702 1.02403.5474.38796.0771.7901.0375 1.15555-.1138.36545-.1514.67781-.4078.89757-.7367s.33706-.7155.33706-1.1111c0-.53043-.21071-1.03914-.58579-1.41421-.37507-.37508-.88378-.58579-1.41421-.58579zm8 0c-.3956 0-.7822.1173-1.1111.33706s-.58528.53212-.73666.89757c-.15137.36546-.19098.76757-.11381 1.15557.07717.3879.26765.7443.54737 1.024.2797.2797.6361.4702 1.024.5474.388.0771.7901.0375 1.1556-.1138.3654-.1514.6778-.4078.8975-.7367.2198-.3289.3371-.7155.3371-1.1111 0-.53043-.2107-1.03914-.5858-1.41421-.3751-.37508-.8838-.58579-1.4142-.58579z",landuse:"m8.911 2.85401c.02782.02324.05021.0523.06558.08512.01538.03283.02337.06863.02342.10488v3.706c0 .0663-.02634.12989-.07322.17678-.04689.04688-.11048.07322-.17678.07322h-2.5c-.0663 0-.12989-.02634-.17678-.07322-.04688-.04689-.07322-.11048-.07322-.17678v-1.75h-1v1.75c0 .0663-.02634.12989-.07322.17678-.04689.04688-.11048.07322-.17678.07322h-2.5c-.0663 0-.12989-.02634-.17678-.07322-.04688-.04689-.07322-.11048-.07322-.17678v-3.7c.00005-.03625.00804-.07205.02342-.10488.01537-.03282.03776-.06188.06558-.08512l3.254-2.728c.04413-.0370337.09989-.0573335.1575-.0573335s.11337.0202998.1575.0573335zm-1.159 5.646c-.04915.00002-.09718.01464-.138.042l-2.614 1.95799h-1v-1.99999c0-.13261-.05268-.25979-.14645-.35355-.09376-.09377-.22094-.14645-.35355-.14645s-.25979.05268-.35355.14645c-.09377.09376-.14645.22094-.14645.35355v1.99999h-1v-1.99999c0-.13261-.05268-.25979-.14645-.35355-.09376-.09377-.22094-.14645-.35355-.14645s-.25979.05268-.35355.14645c-.09377.09376-.14645.22094-.14645.35355v4.24999c0 .0663.02634.1299.07322.1768.04689.0469.11048.0732.17678.0732h6.5c.0663 0 .12989-.0263.17678-.0732.04688-.0469.07322-.1105.07322-.1768v-3.99999c.00026-.03274-.00596-.0652-.0183-.09552-.01235-.03032-.03057-.0579-.05363-.08114-.02305-.02324-.05048-.04168-.0807-.05427s-.06263-.01907-.09537-.01907zm6.248-3.255v6.49999c0 .0671-.0267.1315-.0741.1789-.0474.0475-.1118.0741-.1789.0741h-3.494c-.0668 0-.1308-.0264-.1782-.0734s-.0743-.1108-.0748-.1776v-6.49699c-.00013-.03287.0062-.06544.0188-.09583.0125-.03039.0309-.058.0541-.08124.0233-.02324.0509-.04165.0813-.05417s.0629-.01889.0958-.01876h.75v-.751c0-.06604.0262-.12937.0729-.17607s.1101-.07293.1761-.07293h1.5c.0668.00053.1306.02742.1776.07481.047.04738.0734.11144.0734.17819v.747h.755c.065 0 .1273.02581.1732.07176.046.04595.0718.10826.0718.17324zm-1 4.75499h-2v1h2zm0-1.99999h-2v1h2zm0-2h-2v1h2z",laundry:"M8,1L6,3H3c0,0-1,0-1,1v9c0,1,1,1,1,1h9c0,0,1,0,1-1V2c0-1-1-1-1-1 S8,1,8,1z M8.5,2h2C10.777,2,11,2.223,11,2.5S10.777,3,10.5,3h-2C8.223,3,8,2.777,8,2.5S8.223,2,8.5,2z M7.5,6 c1.6569,0,3,1.3431,3,3s-1.3431,3-3,3s-3-1.3431-3-3S5.8431,6,7.5,6z",library:"M1.0819,9.9388C0.9871,9.867,1.0007,9.7479,1.0007,9.7479L1.5259,3.5c0,0,0.0082-0.0688,0.0388-0.104 C1.584,3.374,1.6084,3.342,1.6544,3.3232C2.1826,3.1072,5.0537,1.5519,6.5,3c0.2397,0.2777,0.4999,0.6876,0.4999,1v5.2879 c0,0,0.0062,0.1122-0.0953,0.1801c-0.0239,0.016-0.124,0.0616-0.242,0.0026c-2.2253-1.1134-4.711,0.1546-5.3381,0.4871 C1.1987,10.0244,1.1006,9.9531,1.0819,9.9388z M13.6754,9.9577c-0.6271-0.3325-3.1128-1.6005-5.3381-0.4871 c-0.118,0.059-0.2181,0.0134-0.242-0.0026C7.9939,9.4001,8.0001,9.2879,8.0001,9.2879V4c0-0.3124,0.2602-0.7223,0.4999-1 c1.4463-1.4481,4.2991,0.1071,4.8273,0.3232c0.046,0.0188,0.0704,0.0508,0.0897,0.0728C13.4476,3.4312,13.4558,3.5,13.4558,3.5 l0.5435,6.2479c0,0,0.0136,0.1191-0.0812,0.1909C13.8994,9.9531,13.8013,10.0244,13.6754,9.9577z M8.8647,12.6863 c0.0352-0.0085,0.0964-0.0443,0.1179-0.0775c0.0236-0.0364,0.0378-0.0617,0.0423-0.1088c0.0495-0.9379,1.6245-1.8119,4.6477-0.0298 c0.0775,0.0441,0.1666,0.0396,0.2425-0.0155C14.0014,12.392,14,12.2859,14,12.2859v-0.5542c0,0,0.0003-0.0764-0.0272-0.1184 c-0.0205-0.0312-0.0476-0.0643-0.0926-0.0858c-2.0254-1.3145-4.5858-1.8972-5.8854-0.1592 c-0.0181,0.0423-0.0353,0.0613-0.0728,0.0905C7.8654,11.5028,7.7964,11.5,7.7964,11.5H7.2109c0,0-0.069,0.0028-0.1256-0.0412 c-0.0375-0.0292-0.0547-0.0482-0.0728-0.0905c-1.2996-1.738-3.86-1.1828-5.8854,0.1317c-0.045,0.0215-0.0721,0.0546-0.0926,0.0858 c-0.0275,0.042-0.0272,0.1184-0.0272,0.1184v0.5542c0,0-0.0014,0.1061,0.0849,0.1688c0.0759,0.0551,0.165,0.0596,0.2425,0.0155 c3.0232-1.7821,4.5982-0.8806,4.6477,0.0573c0.0045,0.0471,0.0187,0.0724,0.0423,0.1088c0.0215,0.0332,0.0827,0.069,0.1179,0.0775 C6.8645,12.8656,7.9112,12.9363,8.8647,12.6863z","lift-gate":"M1 4a2 2 0 1 1 4 0v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4Zm3 0a1 1 0 1 0-2 0 1 1 0 0 0 2 0Zm4.5 2L7 3H6v3h2.5ZM10 6h1.5L10 3H8.5L10 6Zm3.25 0H13l-1.5-3h1.75a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-.75.75Z",lighthouse:"M4.5,6L0,7V6.5l4.5-1V6z M4.5,3.5L0,2.5V3l4.5,1V3.5z M10.5,3.5V4L15,3V2.5L10.5,3.5z M10.5,6L15,7V6.5l-4.5-1V6z M8,7V2 h2.5c0.2761,0.0552,0.5448-0.1239,0.6-0.4c0.0552-0.2761-0.1239-0.5448-0.4-0.6l-3-1C7.5696-0.0586,7.4204-0.0586,7.29,0l-3,1 c-0.2761,0.0552-0.4552,0.3239-0.4,0.6S4.2139,2.0552,4.49,2H7v5H5l-2,7h9l-2-7H8z","lighthouse-JP":"M9.5,7.4c0,1.1-0.9,2-2,2s-2-0.9-2-2s0.9-2,2-2C8.6,5.4,9.5,6.3,9.5,7.4z M14,7.5C14,7.8,13.8,8,13.5,8h-1.6 c-0.1,0.9-0.311,1.582-0.911,2.282l1.064,1.064c0.2,0.2,0.196,0.504-0.004,0.704c-0.209,0.209-0.5,0.207-0.704,0.004L10.3,11 c-0.6,0.5-1.4,0.8-2.3,0.9v1.6C8,13.8,7.8,14,7.5,14S7,13.8,7,13.5v-1.6c-0.9-0.1-1.7-0.4-2.3-0.9l-1.1,1.1 c-0.207,0.207-0.48,0.213-0.696-0.004c-0.2-0.2-0.207-0.5-0.007-0.7L4,10.3C3.5,9.7,3.1,8.9,3,8H1.5C1.2,8,1,7.8,1,7.5S1.2,7,1.5,7 H3c0.1-0.9,0.4-1.7,1-2.4l-1-1C2.8,3.4,2.8,3.1,3,2.9s0.5-0.2,0.7,0l1,1l0,0C5.3,3.4,6.1,3.1,7,3V1.5C7,1.2,7.2,1,7.5,1S8,1.2,8,1.5 V3c0.9,0.1,1.7,0.5,2.3,1l0,0l1.1-1.1c0.2-0.2,0.5-0.2,0.7,0s0.2,0.5,0,0.7L11,4.7l0,0c0.5,0.7,0.8,1.4,0.9,2.3h1.6 C13.8,7,14,7.2,14,7.5z M11.1,7.4c0-2-1.6-3.6-3.6-3.6S3.8,5.5,3.8,7.4S5.4,11,7.4,11S11.1,9.4,11.1,7.4z",lodging:"M0.5,2.5C0.2,2.5,0,2.7,0,3v7.5v2C0,12.8,0.2,13,0.5,13S1,12.8,1,12.5V11h13v1.5 c0,0.3,0.2,0.5,0.5,0.5s0.5-0.2,0.5-0.5v-2c0-0.3-0.2-0.5-0.5-0.5H1V3C1,2.7,0.8,2.5,0.5,2.5z M3.5,3C2.7,3,2,3.7,2,4.5l0,0 C2,5.3,2.7,6,3.5,6l0,0C4.3,6,5,5.3,5,4.5l0,0C5,3.7,4.3,3,3.5,3L3.5,3z M7,4C5.5,4,5.5,5.5,5.5,5.5V7h-3C2.2,7,2,7.2,2,7.5v1 C2,8.8,2.2,9,2.5,9H6h9V6.5C15,4,12.5,4,12.5,4H7z",logging:"M13.91,3.41,13.5,3l.2-.28c.02-.03.04-.05.06-.08A.969.969,0,0,0,14,1.99a1,1,0,0,0-1.62-.77c-.03.02-.06.05-.09.07L12,1.5l-.386-.386a.354.354,0,0,0-.525.475l.417.417-.5.5-.392-.392a.354.354,0,0,0-.525.475L10.5,3l-.5.5-.381-.381a.354.354,0,1,0-.528.472h0l.028.028L9.5,4,9,4.5l-.395-.395a.354.354,0,0,0-.517.483L8.5,5,8,5.5l-.365-.365a.354.354,0,0,0-.556.439h0C7.1,5.6,7.508,6,7.508,6L7,6.5l-.394-.392a.392.392,0,0,0-.5-.028.384.384,0,0,0-.028.5L6.1,6.6l.4.4L6,7.5l-.4-.4a.37.37,0,0,0-.5,0L6.248,8.244,12.09,2.41,12.5,2H13v.5l-.41.41L6.751,8.749,7.9,9.9a.355.355,0,0,0,0-.5l-.008-.009L7.5,9,8,8.5l.384.384a.354.354,0,0,0,.528-.472L8.5,8,9,7.5l.38.38a.354.354,0,0,0,.528-.472l-.02-.02L9.5,7l.5-.5.377.377A.35.35,0,0,0,10.64,7a.347.347,0,0,0,.252-.6L10.5,6l.5-.5.38.38a.354.354,0,0,0,.528-.472L11.88,5.38,11.5,5l.5-.5.381.381a.354.354,0,0,0,.528-.472l-.025-.025L12.5,4l.5-.5.382.382a.354.354,0,0,0,.528-.472ZM4.39,7.916C3.893,7.419,3.641,7,3,7H1.5a.5.5,0,0,0-.5.5v3A2.19,2.19,0,0,0,1.5,12l.815.811A2.251,2.251,0,0,0,5.493,13h0L7.5,11ZM3.5,10,2.262,11.238A1.3,1.3,0,0,1,2,10.5V8H3a.545.545,0,0,1,.335.194.455.455,0,0,1,.165.418Z",marker:"M7.5 1C5.42312 1 3 2.2883 3 5.56759C3 7.79276 6.46156 12.7117 7.5 14C8.42309 12.7117 12 7.90993 12 5.56759C12 2.2883 9.57688 1 7.5 1Z","marker-stroked":"M5.11697 2.81756C5.76952 2.26561 6.65195 2 7.5 2C8.34805 2 9.23048 2.26561 9.88303 2.81756C10.5075 3.34579 11 4.20017 11 5.56759C11 5.94031 10.8461 6.52407 10.5105 7.29145C10.1859 8.03354 9.73523 8.85087 9.24257 9.65811C8.64175 10.6426 7.999 11.5793 7.48195 12.3097C6.96023 11.5798 6.31599 10.6233 5.71947 9.62296C5.2343 8.80934 4.79303 7.98717 4.47608 7.24844C4.14708 6.48162 4 5.91216 4 5.56759C4 4.20017 4.49248 3.34579 5.11697 2.81756ZM8.10767 13.1554C9.45904 11.2632 12 7.54181 12 5.56759C12 2.2883 9.57688 1 7.5 1C5.42312 1 3 2.2883 3 5.56759C3 7.44926 5.47533 11.2572 6.86751 13.1671C7.12165 13.5157 7.3397 13.8011 7.5 14C7.55627 13.9215 7.62241 13.8299 7.697 13.7266C7.81469 13.5636 7.95343 13.3714 8.10767 13.1554Z","mobile-phone":"M10,2h0V1.5a.5.5,0,0,0-1,0V2H5A1,1,0,0,0,4,3V13a1,1,0,0,0,1,1h5a1,1,0,0,0,1-1V3A1,1,0,0,0,10,2ZM6,13H5V12H6Zm0-2H5V10H6ZM6,9H5V8H6Zm2,4H7V12H8Zm0-2H7V10H8ZM8,9H7V8H8Zm2,4H9V12h1Zm0-2H9V10h1Zm0-2H9V8h1Zm0-2.5a.5.5,0,0,1-.5.5h-4A.5.5,0,0,1,5,6.5v-3A.5.5,0,0,1,5.5,3h4a.5.5,0,0,1,.5.5Z",monument:"M7.5,0L6,2.5v7h3v-7L7.5,0z M3,11.5 L3,15h9v-3.5L10.5,10h-6L3,11.5z","monument-JP":"M12,13H4c-0.5,0-1-0.5-1-1V5c0-2,0.8-4,4-4c3.1,0,4,2,4,4v6h1c0.5,0,1,0.5,1,1S12.5,13,12,13z M5,11h4V5c0-1,0-2-2-2 S5,4,5,5V11z",mountain:"m7.5 1c-.3 0-.4.2-.6.4l-5.8 9.5c-.1.1-.1.3-.1.4 0 .5.4.7.7.7h11.6c.4 0 .7-.2.7-.7 0-.2 0-.2-.1-.4l-5.7-9.5c-.2-.2-.4-.4-.7-.4zm0 1.5 3.3 5.5h-.8l-1.5-1.5-1 1.5-1-1.5-1.5 1.5h-.9z",museum:"M7.5,0L1,3.5V4h13V3.5L7.5,0z M2,5v5l-1,1.6V13h13v-1.4L13,10V5H2z M4,6h1v5.5H4V6z M7,6h1v5.5H7V6z M10,6h1 v5.5h-1V6z",music:"m12.5 0c-.0804.0008-.1594.0213999-.23.0599999l-8.77 2.4400001c-.2761 0-.5.2239-.5.5v6.28c-.3029-.1798-.6478-.2763-1-.28-1.1046 0-2 .8954-2 2s.8954 2 2 2 2-.8954 2-2v-4.64l8-2.22v3.64c-.3029-.1798-.6478-.2763-1-.28-1.1046 0-2 .8954-2 2s.8954 2 2 2 2-.8954 2-2v-9c0-.2761-.2239-.5-.5-.5zm-.5 3.14-8 2.22v-2l8-2.22z",natural:"M8.753,6.278a.5.5,0,0,1-.51,0A4.109,4.109,0,0,1,6.5,3.5a2.779,2.779,0,0,0-.59-1.506l-.019-.027a.257.257,0,0,1-.056-.144.237.237,0,0,1,.25-.25.264.264,0,0,1,.057.011A3.523,3.523,0,0,1,7.5,2.5L8.28.94a.246.246,0,0,1,.44,0L9.5,2.5a3.4,3.4,0,0,1,1.339-.907.283.283,0,0,1,.1-.021c.175.009.212.119.221.249a.35.35,0,0,1-.043.141A5.2,5.2,0,0,0,10.5,3.5,4.113,4.113,0,0,1,8.753,6.278ZM5,8H6.289a.25.25,0,0,0,.25-.25.241.241,0,0,0-.061-.15L4.7,5.235a.255.255,0,0,0-.391,0L2.518,7.589a.274.274,0,0,0-.062.161.25.25,0,0,0,.25.25H4L1.335,10.6a.273.273,0,0,0-.058.152A.25.25,0,0,0,1.529,11H3L1.435,12.565a.255.255,0,0,0,.18.435H4v1H5V13H7.385a.255.255,0,0,0,.18-.435L6,11H7.471a.25.25,0,0,0,.25-.25.233.233,0,0,0-.058-.149Zm9.345,3.748a.252.252,0,0,1-.252.252H8.908a.252.252,0,0,1-.226-.365L11.27,6.451a.252.252,0,0,1,.451,0l2.6,5.184h0A.251.251,0,0,1,14.345,11.748ZM12.75,10,11.5,7.5,10.25,10Z","observation-tower":"M12 12.5H11.5L10 9V7C10.9951 7 10.9951 6.25 10.9951 6.25L11.5 3C11.5 3 11.5 2.5 11 2.5H10C10 2.5 10 2 9.5 2H8.5V1.5C8.5 1.5 8.5 0.5 7.5 0.5C6.5 0.5 6.5 1.5 6.5 1.5V2H5.5C5 2 5 2.5 5 2.5H4C3.5 2.5 3.5 3 3.5 3L4.0049 6.25C4.0049 6.25 4.0049 7 5 7V9L3.5 12.5H3C3 12.5 2 12.5 2 13.25C2 14 3 14 3 14H12C12 14 13 14 13 13.25C13 12.5 12 12.5 12 12.5ZM10.25 3.5L10 5H5L4.75 3.4971L10.25 3.5ZM8.5 7V8H6.5V7H8.5ZM6.5006 9.4971H8.4994L9.5 12.5H5.5L6.5006 9.4971Z",optician:"M1.78483 3.81169C2.03375 3.31421 2.54231 3 3.09859 3C3.48821 3 3.86186 3.15477 4.13736 3.43027L4.85354 4.14645C5.0488 4.34171 5.0488 4.65829 4.85354 4.85355C4.65827 5.04882 4.34169 5.04882 4.14643 4.85355L3.43017 4.1373C3.34226 4.04939 3.22303 4 3.09871 4C2.92116 4 2.75884 4.10032 2.67944 4.25912L1.309 7H5.2476C6.0654 7 6.7487 7.5656 6.941 8.3245C7.1146 8.2834 7.3009 8.25 7.5 8.25C7.6991 8.25 7.8854 8.2835 8.059 8.3246C8.2513 7.5656 8.9344 7 9.752 7H13.691L12.3206 4.25912C12.2412 4.10032 12.0788 4 11.9013 4C11.777 4 11.6577 4.04939 11.5698 4.1373L10.8536 4.85355C10.6583 5.04882 10.3417 5.04882 10.1465 4.85355C9.9512 4.65829 9.9512 4.34171 10.1465 4.14645L10.8626 3.43027C11.1381 3.15477 11.5118 3 11.9014 3C12.4577 3 12.9663 3.31421 13.2152 3.81169L14.9414 7.26172L14.9404 7.26308C14.9784 7.33359 15 7.41428 15 7.5V8.5C15 8.7761 14.7761 9 14.5 9H14V9.5C14 11.0889 12.998 12 11.25 12H10.75C9.002 12 8 11.0889 8 9.5V9.3413C7.8499 9.2933 7.6693 9.25 7.5 9.25C7.3307 9.25 7.1503 9.2933 7 9.3413V9.5C7 11.0889 5.9976 12 4.25 12H3.75C2.0024 12 1 11.0889 1 9.5V9H0.4992C0.2235 9 0 8.7765 0 8.5007V7.5C0 7.41428 0.0215731 7.33359 0.0595866 7.26308L0.0585938 7.26172L1.78483 3.81169ZM9.752 8C9.3369 8 9 8.3374 9 8.7524V9.5C9 10.1982 9.1992 11 10.75 11H11.25C12.8008 11 13 10.1982 13 9.5V8.7529C13 8.3379 12.6621 8 12.2471 8H9.752ZM2.7529 8C2.3379 8 2 8.3374 2 8.7524V9.5C2 10.1982 2.1987 11 3.75 11H4.25C5.8013 11 6 10.1982 6 9.5V8.7524C6 8.3374 5.6626 8 5.2475 8H2.7529Z",paint:"m13.5 3.5h-1v-.9973c0-.2777-.2251-.5027-.5027-.5027h-10.4946c-.2776 0-.5027.225-.5027.5027v2.9946c0 .2776.2251.5027.5027.5027h10.4946c.2776 0 .5027-.2251.5027-.5027v-.9973h.5v3.1021l-6.1123 1.4106c-.2271.0527-.3877.2549-.3877.4873v1.5074c-.2783.02-.5.246-.5.5295v2.9261c0 .2966.2404.537.5369.537h.9261c.2966 0 .537-.2404.537-.5369v-2.9261c0-.2834-.2217-.5095-.5-.5295v-1.11l6.1123-1.4102c.2266-.0522.3877-.2544.3877-.4873v-4c0-.2764-.2236-.5-.5-.5z",park:"M14,5.75c0.0113-0.6863-0.3798-1.3159-1-1.61C12.9475,3.4906,12.4014,2.9926,11.75,3 c-0.0988,0.0079-0.1962,0.0281-0.29,0.06c-0.0607-0.66-0.6449-1.1458-1.3048-1.0851C9.8965,1.9987,9.6526,2.1058,9.46,2.28l0,0 c0-0.6904-0.5596-1.25-1.25-1.25S6.96,1.5896,6.96,2.28C6.96,2.28,7,2.3,7,2.33C6.4886,1.8913,5.7184,1.9503,5.2797,2.4618 C5.1316,2.6345,5.0347,2.8451,5,3.07C4.8417,3.0195,4.6761,2.9959,4.51,3C3.6816,2.9931,3.0044,3.659,2.9975,4.4874 C2.9958,4.6872,3.0341,4.8852,3.11,5.07C2.3175,5.2915,1.8546,6.1136,2.0761,6.9061C2.2163,7.4078,2.6083,7.7998,3.11,7.94 c0.2533,0.7829,1.0934,1.2123,1.8763,0.959C5.5216,8.7258,5.9137,8.2659,6,7.71C6.183,7.8691,6.4093,7.9701,6.65,8v5L5,14h5l-1.6-1 v-2c0.7381-0.8915,1.6915-1.5799,2.77-2c0.8012,0.1879,1.603-0.3092,1.7909-1.1103C12.9893,7.7686,13.0025,7.6444,13,7.52 c0.0029-0.0533,0.0029-0.1067,0-0.16C13.6202,7.0659,14.0113,6.4363,14,5.75z M8.4,10.26V6.82C8.6703,7.3007,9.1785,7.5987,9.73,7.6 h0.28c0.0156,0.4391,0.2242,0.849,0.57,1.12C9.7643,9.094,9.0251,9.6162,8.4,10.26z","park-alt1":"M9.428,10.429a.269.269,0,0,1-.074-.18A.25.25,0,0,1,9.6,10h1.447a.25.25,0,0,0,.25-.25.258.258,0,0,0-.079-.179L9.07,7.419a.3.3,0,0,1-.063-.17A.249.249,0,0,1,9.257,7H10.4a.251.251,0,0,0,.25-.251.247.247,0,0,0-.077-.178L8.432,4.434,8.418,4.42a.262.262,0,0,1-.066-.17A.25.25,0,0,1,8.6,4h.866a.25.25,0,0,0,.25-.25.246.246,0,0,0-.068-.164h.006L7.7,1.238a.253.253,0,0,0-.042-.044A.249.249,0,0,0,7.5,1.139h0a.249.249,0,0,0-.158.055.253.253,0,0,0-.042.044L5.352,3.586a.246.246,0,0,0-.068.164.25.25,0,0,0,.25.25H6.4a.241.241,0,0,1,.184.42l-.014.014L4.431,6.571a.247.247,0,0,0-.077.178A.251.251,0,0,0,4.6,7H5.745a.249.249,0,0,1,.25.249.3.3,0,0,1-.063.17L3.782,9.571A.258.258,0,0,0,3.7,9.75a.25.25,0,0,0,.25.25H5.4a.25.25,0,0,1,.248.249.269.269,0,0,1-.074.18l-2.14,2.132-.009.009a.248.248,0,0,0,0,.351A.256.256,0,0,0,3.605,13H7v1l1-.008V13h3.391a.263.263,0,0,0,.26-.254.248.248,0,0,0-.071-.177Z",parking:"M4 2V13H6V9H8.5C10.433 9 12 7.433 12 5.5C12 3.567 10.433 2 8.5 2H4ZM6 7V4H8.5C9.32843 4 10 4.67157 10 5.5C10 6.32843 9.32843 7 8.5 7H6Z","parking-garage":"M10.5,10.14c-0.6637,0.4788-1.4732,0.7121-2.29,0.66h-1.9V14h-1.9V5h3.92 c0.7801-0.0414,1.5484,0.2041,2.16,0.69c0.5779,0.5595,0.875,1.3483,0.81,2.15C11.4042,8.6892,11.1088,9.5388,10.5,10.14z M9,6.9 C8.711,6.6881,8.3579,6.5822,8,6.6H6.31v2.65H8c0.3612,0.0191,0.717-0.0947,1-0.32c0.2559-0.2675,0.3867-0.6308,0.36-1 C9.4072,7.5493,9.274,7.1684,9,6.9z M14.41,4.21c0.114-0.2486,0.007-0.5427-0.24-0.66L7.5,0.45l-6.71,3.1 C0.5387,3.666,0.429,3.9637,0.545,4.215C0.661,4.4663,0.9587,4.576,1.21,4.46l0,0L7.5,1.55l6.29,2.9 c0.2486,0.114,0.5427,0.007,0.66-0.24H14.41z","parking-paid":"M1 13V2h4.5a3.5 3.5 0 0 1 3.21 2.103 3.36 3.36 0 0 0-.504.676c-.23.41-.232.837-.174 1.154l.3 1.625A3.495 3.495 0 0 1 5.5 9H3v4H1Zm4.5-6a1.5 1.5 0 1 0 0-3H3v3h2.5Zm3.516-1.248a.716.716 0 0 1 .062-.484C9.315 4.848 9.978 4 11.5 4c1.521 0 2.185.847 2.421 1.268a.716.716 0 0 1 .064.484L13.019 11H12v2h-1v-2H9.981l-.965-5.248ZM12.75 7 13 5.655C12.83 5.409 12.42 5 11.5 5s-1.33.41-1.5.655L10.25 7h2.5Z",pharmacy:"M9.5,4l1.07-1.54c0.0599,0.0046,0.1201,0.0046,0.18,0c0.6904-0.0004,1.2497-0.5603,1.2494-1.2506 C11.999,0.519,11.4391-0.0404,10.7487-0.04C10.0584-0.0396,9.499,0.5203,9.4994,1.2106c0,0.0131,0.0002,0.0262,0.0006,0.0394 c0,0,0,0.07,0,0.1L7,4H9.5z M12,6V5H3v1l1.5,3.5L3,13v1h9v-1l-1-3.5L12,6z M10,10H8v2H7v-2H5V9h2V7h1v2h2V10z","picnic-site":"M4,3C3.446,3,3,3.446,3,4s0.446,1,1,1h1.2969 L4.6523,7H2.5c-0.554,0-1,0.446-1,1s0.446,1,1,1h1.5098L3.041,12.0098c-0.1284,0.3939,0.0868,0.8173,0.4807,0.9457 s0.8173-0.0868,0.9457-0.4807c0.0005-0.0013,0.0009-0.0027,0.0013-0.004L5.5859,9h3.8281l1.1172,3.4707 c0.1273,0.3943,0.5501,0.6107,0.9443,0.4834s0.6107-0.5501,0.4834-0.9443l0,0L10.9902,9H12.5c0.554,0,1-0.446,1-1s-0.446-1-1-1 h-2.1523L9.7031,5H11c0.554,0,1-0.446,1-1s-0.446-1-1-1H4z M6.873,5H8.127l0.6445,2h-2.543L6.873,5z",pitch:"M5,3C4.4477,3,4,2.5523,4,2s0.4477-1,1-1s1,0.4477,1,1S5.5523,3,5,3z M12.5,10H10L9,7L8,5.25L9,5l2.3,1l0,0 c0.2761,0.1105,0.5895-0.0239,0.7-0.3S11.9761,5.1105,11.7,5l0,0L9,4H7L5,5L4,6H2.5C2.2239,6,2,6.2239,2,6.5S2.2239,7,2.5,7H5l1-1 l1,2l-2,2v3.5C5,13.7761,5.2239,14,5.5,14S6,13.7761,6,13.5v-3.11L8,9l1,2h3.5c0.2761,0,0.5-0.2239,0.5-0.5S12.7761,10,12.5,10z","place-of-worship":"M7.5,0l-2,2v2h4V2 L7.5,0z M5.5,4.5L4,6h7L9.5,4.5H5.5z M2,6.5c-0.5523,0-1,0.4477-1,1V13h2V7.5C3,6.9477,2.5523,6.5,2,6.5z M4,6.5V13h7V6.5H4z M13,6.5c-0.5523,0-1,0.4477-1,1V13h2V7.5C14,6.9477,13.5523,6.5,13,6.5z",playground:"m3.00002 1.15c.2091-.8016 1.0284-1.2819 1.83-1.0729s1.2819 1.0284 1.0729 1.83c-.2003.7681-.9643 1.2471-1.7429 1.0929-.8126-.161-1.3409-.9502-1.18-1.7629.0058-.0292.0125-.0583.02-.0871zm10.99998 11.17c.1032.5426-.2531 1.066-.7956 1.1692-.0015.0003-.0029.0006-.0044.0008-.4252.086-.8574-.1119-1.07-.49l-1.68-3.37-1.44998.29-.22.08h-.06v2.15l.62-.15h.14c.2871.0054.5155.2425.5101.5297-.0039.2064-.1295.391-.3201.4703l-5 1c-.0563.0095-.1137.0095-.17 0-.2872 0-.52-.2328-.52-.52 0-.2099.1262-.3993.32-.48l4.15-.83v-2.17l-3.22.58c-.164.0423-.336.0423-.5 0-.3394-.0867-.6088-.3446-.71-.68h-.02l-1-4.07c-.0312-.1416-.0312-.2884 0-.43.0936-.387.4078-.6815.8-.75l4.7-.52v-4.13h.22v4.1h.06l.22-.02.4-.08h.21c.2673.0643.43258.3323.37.6-.0439.235-.251.4041-.49.4l-.49.08h-.22-.06v2.86h.06l.22-.06 1.80998-.36c.4275-.0352.8299.2062 1 .6l2 3.94c.077.0758.1411.1636.19.26zm-5.49998-7.19-2.5.27.74 2.94 1.76-.34z",police:"M5.5,1L6,2h5l0.5-1H5.5z M6,2.5v1.25c0,0,0,2.75,2.5,2.75S11,3.75,11,3.75V2.5H6z M1.9844,3.9863 C1.4329,3.9949,0.9924,4.4485,1,5v4c-0.0001,0.6398,0.5922,1.1152,1.2168,0.9766L5,9.3574V14l5.8789-6.9297 C10.7391,7.0294,10.5947,7,10.4414,7H6.5L3,7.7539V5C3.0077,4.4362,2.5481,3.9775,1.9844,3.9863z M11.748,7.7109L6.4121,14H12 V8.5586C12,8.2451,11.9061,7.9548,11.748,7.7109z","police-JP":"M7.5,1A6.5,6.5,0,1,0,14,7.5,6.5,6.5,0,0,0,7.5,1Zm2.6,2.84L7.5,6.44,4.9,3.84A4.4428,4.4428,0,0,1,10.1,3.84ZM3.84,4.9007,6.4394,7.5l-2.6,2.5993A4.4429,4.4429,0,0,1,3.84,4.9007ZM4.9,11.16l2.6-2.6,2.6,2.6A4.4428,4.4428,0,0,1,4.9,11.16Zm6.26-1.0606L8.5606,7.5l2.6-2.5993a4.4429,4.4429,0,0,1-.0006,5.1986Z",post:"M13.5 3.65139C13.5 3.86918 13.3912 4.07257 13.2099 4.19338L7.5 8L1.79006 4.19338C1.60885 4.07257 1.5 3.86918 1.5 3.65139C1.5 3.29164 1.79164 3 2.15139 3L12.8486 3C13.2084 3 13.5 3.29164 13.5 3.65139Z M13.5 5.96713V11C13.5 11.5523 13.0523 12 12.5 12H2.5C1.94772 12 1.5 11.5523 1.5 11L1.5 5.96713C1.5 5.76746 1.72254 5.64836 1.88868 5.75912L7.5 9.5L13.1113 5.75912C13.2775 5.64836 13.5 5.76746 13.5 5.96713Z","post-JP":"m1.5 4c0-.26522.10536-.51957.29289-.70711.18754-.18753.44189-.29289.70711-.29289h10c.2652 0 .5196.10536.7071.29289.1875.18754.2929.44189.2929.70711s-.1054.51957-.2929.70711c-.1875.18753-.4419.29289-.7071.29289h-10c-.26513 0-.51941-.10529-.70693-.29272-.18752-.18742-.29294-.44165-.29307-.70678zm11 2.5h-10c-.26522 0-.51957.10536-.70711.29289-.18753.18754-.29289.44189-.29289.70711s.10536.51957.29289.70711c.18754.18753.44189.29289.70711.29289h4v4.5c0 .2652.10536.5196.29289.7071.18754.1875.44189.2929.70711.2929s.51957-.1054.70711-.2929c.18753-.1875.29289-.4419.29289-.7071v-4.5h4c.2652 0 .5196-.10536.7071-.29289.1875-.18754.2929-.44189.2929-.70711s-.1054-.51957-.2929-.70711c-.1875-.18753-.4419-.29289-.7071-.29289z",prison:"M3.5,1v13H12V1H3.5z M9.5,2H11v3.5H9.5V2z M4.5,2.0547H6V7H4.5V2.0547z M7,2.0547h1.5V7H7V2.0547z M10.25,6.5 C10.6642,6.5,11,6.8358,11,7.25S10.6642,8,10.25,8l0,0C9.8358,8,9.5,7.6642,9.5,7.25l0,0C9.5,6.8358,9.8358,6.5,10.25,6.5z M7,8 h1.4727L8.5,13H7.0273L7,8z M4.5,8.166H6V13H4.5V8.166z M9.5,9H11v4H9.5V9z",racetrack:"M4.99321 1.58228C5.03861 1.30989 4.8546 1.05228 4.58222 1.00688C4.30983 0.961484 4.05222 1.14549 4.00682 1.41788L2.00682 13.4179C1.96142 13.6903 2.14543 13.9479 2.41782 13.9933C2.6902 14.0387 2.94782 13.8547 2.99321 13.5823L3.6632 9.56238C4.46947 9.67976 5.3398 9.7187 6.026 10.2C6.45057 10.505 6.94151 10.7047 7.45839 10.7828C8.424 10.9286 9.28807 10.3976 10.242 10.549L11.531 10.743C11.7908 10.7822 12.0609 10.5828 12.1 10.323L12.984 4.38899L12.988 4.38499C13.0241 4.12469 12.8213 3.85686 12.561 3.82099L11.272 3.62699C10.3092 3.48421 9.44342 3.9997 8.48942 3.85618C8.06155 3.79181 7.65443 3.62915 7.3 3.38099C6.56128 2.86385 5.68119 2.77814 4.81426 2.656L4.99321 1.58228ZM4.40351 5.12049L4.73218 3.14849C5.33161 3.22962 5.96556 3.27693 6.521 3.51699L6.22626 5.48223C5.65576 5.24949 5.01279 5.2037 4.40351 5.12049ZM3.74549 9.0686L4.07436 7.09542C4.69451 7.18147 5.35159 7.22405 5.933 7.46299L6.23273 5.48673C6.89067 5.75614 7.3918 6.21952 8.126 6.32799L8.426 4.34799C9.16402 4.45947 9.77459 4.17131 10.484 4.11399L10.184 6.07999C9.47389 6.1406 8.85956 6.44062 8.124 6.32999L7.83802 8.30784C7.10186 8.19874 6.59996 7.73286 5.939 7.46399L5.639 9.43999C5.04421 9.20148 4.3764 9.15882 3.74549 9.0686ZM7.83898 8.30813C8.57282 8.41936 9.19002 8.11708 9.9 8.05799L10.184 6.07999C10.8385 6.01968 11.5087 6.19133 12.152 6.28899L11.872 8.26499C11.2277 8.16793 10.5563 7.99624 9.901 8.05799L9.601 10.034C8.89229 10.0817 8.26589 10.3943 7.539 10.284L7.83898 8.30813Z","racetrack-boat":"m10.0643 11.2159c.4691-.5125.9358-1.0224 1.5938-1.2417.9212-.3071 1.5902.0778 1.8665.2805.7241.531 1.3904-.2204.5914-.8064-.4269-.3131-1.4451-.86577-2.7741-.4228-.7202.2401-1.2127.7667-1.70487 1.2931-.40012.4279-.80009.8556-1.32212 1.1291-.61911.3243-1.06486-.0266-1.06486-.6352v-.0121c.00021-.7982-.40819-1.3004-1.25-1.3004-.49071 0-.99216.2582-1.50001.5-1.17511.5596-2.31799 1.2859-3.31714 2.1134-.210639.1751-.243189.4951-.06696.7066.2505.3006.58076.1621.82938-.0379.41361-.3329 1.78116-1.3913 2.93376-1.94.47652-.227.86169-.3421 1.12097-.3421.24997 0 .24997.1016.24997.3396-.00202 1.3264 1.29025 2.1428 2.52893 1.4939.50415-.2641.89557-.6917 1.28535-1.1176zm-7.56426-2.2159c1.5-1 3.25492-2 5-2 .75 0 .75.375.75.75s0 .75.75.75c2.52746 0 5.36316-3.21377 5.49996-5.5l-2.5 1-2.34195-.97445c-.61176-.20392-.92799.74476-.31623.94868l1.15818.52577-1.49996.5-4-1.25c-.23606-.07869-.38872.02744-.5.25l-1.5 3-2.00004 1zm2.5-7c0-.5523.4477-1 1-1s1 .4477 1 1-.4477 1-1 1-1-.4477-1-1z","racetrack-cycling":"M8 1L11 4H12C14 4 14 1 12 1H8ZM8.463 3C8.34323 3.00901 8.2307 3.06084 8.146 3.146L5.646 5.646C5.59615 5.69579 5.55739 5.75555 5.53225 5.82136C5.50711 5.88718 5.49617 5.95757 5.50014 6.02791C5.5041 6.09825 5.52289 6.16696 5.55526 6.22953C5.58764 6.2921 5.63287 6.34713 5.688 6.391L7.846 8.117L6.57 10.242C6.50157 10.356 6.48125 10.4926 6.51351 10.6216C6.54577 10.7506 6.62796 10.8616 6.742 10.93C6.85604 10.9984 6.9926 11.0187 7.12162 10.9865C7.25065 10.9542 7.36157 10.872 7.43 10.758L8.93 8.258C8.99256 8.15404 9.01519 8.03088 8.99366 7.91148C8.97214 7.79207 8.90793 7.68457 8.813 7.609L7.304 6.402L9 4.707L10.146 5.854C10.1925 5.9004 10.2477 5.93718 10.3085 5.96223C10.3692 5.98728 10.4343 6.00012 10.5 6H13C13.1326 6 13.2598 5.94732 13.3536 5.85355C13.4473 5.75979 13.5 5.63261 13.5 5.5C13.5 5.36739 13.4473 5.24021 13.3536 5.14645C13.2598 5.05268 13.1326 5 13 5H10.707L8.854 3.146C8.80319 3.09493 8.74195 3.05545 8.67446 3.03025C8.60698 3.00505 8.53484 2.99473 8.463 3ZM2.949 7C2.16222 7.01338 1.4122 7.33534 0.860573 7.89651C0.308947 8.45767 -0.000113683 9.21311 3.13683e-08 10C3.13683e-08 10.7956 0.316071 11.5587 0.87868 12.1213C1.44129 12.6839 2.20435 13 3 13C3.79565 13 4.55871 12.6839 5.12132 12.1213C5.68393 11.5587 6 10.7956 6 10C6.00006 9.60179 5.92083 9.20756 5.76695 8.84028C5.61307 8.47301 5.38761 8.14004 5.10372 7.8608C4.81982 7.58157 4.48318 7.36164 4.11341 7.21385C3.74364 7.06606 3.34815 6.99336 2.95 7H2.949ZM11.949 7C11.1622 7.01338 10.4122 7.33534 9.86057 7.89651C9.30895 8.45767 8.99989 9.21311 9 10C9 10.7956 9.31607 11.5587 9.87868 12.1213C10.4413 12.6839 11.2044 13 12 13C12.7956 13 13.5587 12.6839 14.1213 12.1213C14.6839 11.5587 15 10.7956 15 10C15.0001 9.60179 14.9208 9.20756 14.767 8.84028C14.6131 8.47301 14.3876 8.14004 14.1037 7.8608C13.8198 7.58157 13.4832 7.36164 13.1134 7.21385C12.7436 7.06606 12.3482 6.99336 11.95 7H11.949ZM12.049 8C12.5709 8.01279 13.0671 8.22914 13.4316 8.60283C13.7962 8.97653 14.0002 9.47795 14 10C14 10.5304 13.7893 11.0391 13.4142 11.4142C13.0391 11.7893 12.5304 12 12 12C11.4696 12 10.9609 11.7893 10.5858 11.4142C10.2107 11.0391 10 10.5304 10 10C9.99992 9.73318 10.0532 9.46904 10.1568 9.22314C10.2603 8.97724 10.4121 8.75455 10.603 8.56818C10.7939 8.3818 11.0202 8.23552 11.2686 8.13794C11.5169 8.04036 11.7823 7.99346 12.049 8V8Z","racetrack-horse":"M10 1C9.73478 1 9.48043 1.10536 9.29289 1.29289C9.10536 1.48043 9 1.73478 9 2C9 2.26522 9.10536 2.51957 9.29289 2.70711C9.48043 2.89464 9.73478 3 10 3C10.2652 3 10.5196 2.89464 10.7071 2.70711C10.8946 2.51957 11 2.26522 11 2C11 1.73478 10.8946 1.48043 10.7071 1.29289C10.5196 1.10536 10.2652 1 10 1ZM5.5 3C5.25 3 4.5 3 5 3.75L6.25 6H4.5C4.223 6.003 3.983 6.1 3.75 6.25C2.944 5.121 2.242 5.552 1.51 6C1.107 6.247 0.694 6.499 0.25 6.5C0.184332 6.50201 0.121902 6.52899 0.0754461 6.57545C0.0289898 6.6219 0.00200653 6.68433 0 6.75C0.00200653 6.81567 0.0289898 6.8781 0.0754461 6.92455C0.121902 6.97101 0.184332 6.99799 0.25 7C0.626 7.02 1.057 6.907 1.488 6.793C2.144 6.62 2.798 6.448 3.254 6.75C3.16 6.937 3 7.5 3 8L2.998 9.51C2.792 9.714 2.619 9.633 2.443 9.55C2.303 9.485 2.16 9.42 2 9.5L1 12.45C1 12.7 1.393 12.752 1.5 12.5L2.25 10.744C2.998 10.744 4.5 10 5 9L9 10L11.5 12.5C11.697 12.697 12.12 12.362 11.96 12.115L10 9L12 6.5C12.248 7 12.495 7 12.986 7H13L13.6 7.75C13.988 8.235 14.82 7.743 14.5 7.25L12.834 4.79L13 4.5C13.062 4.313 12.637 3.924 12.5 4L10.5 5.5L8.89 3.187C8.84314 3.12862 8.78377 3.08151 8.71627 3.04915C8.64877 3.01678 8.57486 2.99999 8.5 3H5.5ZM9 5.25L9.5 6L6.777 7.916C6.72243 7.95469 6.66065 7.98204 6.59532 7.99643C6.52999 8.01081 6.46244 8.01194 6.39666 7.99975C6.33089 7.98756 6.26823 7.96229 6.2124 7.92545C6.15656 7.8886 6.10869 7.84093 6.07162 7.78525C6.03454 7.72957 6.00901 7.66701 5.99655 7.60129C5.98409 7.53556 5.98494 7.46801 5.99905 7.40262C6.01317 7.33723 6.04026 7.27534 6.07873 7.22061C6.1172 7.16588 6.16626 7.11943 6.223 7.084L9 5.25Z",rail:"M 3 1 C 2.4477 1 2 1.4477 2 2 L 2 10 C 2 10.5523 2.4477 11 3 11 L 12 11 C 12.5523 11 13 10.5523 13 10 L 13 2 C 13 1.4477 12.5523 1 12 1 L 3 1 z M 5.75 1.5 L 5.7597656 1.5 L 9.2597656 1.5 C 9.3978656 1.5 9.5097656 1.6119 9.5097656 1.75 C 9.5097656 1.8881 9.3978656 2 9.2597656 2 L 5.75 2 C 5.6119 2 5.5 1.8881 5.5 1.75 C 5.5 1.6119 5.6119 1.5 5.75 1.5 z M 3.5 3 L 7 3 L 7 7 L 3.5 7 C 3.2239 7 3 6.7761 3 6.5 L 3 3.5 C 3 3.2239 3.2239 3 3.5 3 z M 8 3 L 11.5 3 C 11.7761 3 12 3.2239 12 3.5 L 12 6.5 C 12 6.7761 11.7761 7 11.5 7 L 8 7 L 8 3 z M 5 8 C 5.5523 8 6 8.4477 6 9 C 6 9.5523 5.5523 10 5 10 C 4.4477 10 4 9.5523 4 9 C 4 8.4477 4.4477 8 5 8 z M 10 8 C 10.5523 8 11 8.4477 11 9 C 11 9.5523 10.5523 10 10 10 C 9.4477 10 9 9.5523 9 9 C 9 8.4477 9.4477 8 10 8 z M 10.445312 11.994141 C 10.380597 11.999652 10.314981 12.018581 10.253906 12.050781 C 10.030606 12.168381 9.9302313 12.433922 10.019531 12.669922 L 10.189453 13 L 4.8105469 13 L 4.9394531 12.730469 C 5.0371531 12.472169 4.9067375 12.183637 4.6484375 12.085938 C 4.4124375 11.996738 4.1468969 12.097113 4.0292969 12.320312 L 3.0292969 14.320312 C 3.0080969 14.377912 2.9986 14.4387 3 14.5 C 3 14.7761 3.2239 15 3.5 15 C 3.6802 14.999 3.8450875 14.899434 3.9296875 14.740234 L 3.9296875 14.689453 L 4 14.689453 L 4.3105469 14 L 10.689453 14 L 11 14.689453 L 11 14.740234 C 11.0846 14.899434 11.249488 14.999 11.429688 15 C 11.705787 15 11.929688 14.7761 11.929688 14.5 C 11.949587 14.4212 11.949587 14.338566 11.929688 14.259766 L 10.929688 12.259766 C 10.833163 12.076541 10.639459 11.977608 10.445312 11.994141 z","rail-light":"M5.5,0C5,0,5,0.5,5,0.5v1C5,1.777,5.223,2,5.5,2S6,1.777,6,1.5V1h1v2H6c0,0-2,0-2,2v3c0,3,3,3,3,3h1 c0,0,3,0,3-3V5c0-2-2-2-2-2H8V1h1v0.5C9,1.777,9.223,2,9.5,2S10,1.777,10,1.5v-1C10,0,9.5,0,9.5,0H5.5z M7.5,4l2.0449,0.7734L10,6.5 C10.1316,7,9.5,7,9.5,7h-4c0,0-0.6316,0-0.5-0.5l0.4551-1.7266L7.5,4z M7.5,8C7.7761,8,8,8.2239,8,8.5S7.7761,9,7.5,9 S7,8.7761,7,8.5S7.2239,8,7.5,8z M4.125,12L3,15h1.5l0.375-1h5.25l0.375,1H12l-1.125-3h-1.5l0.375,1h-4.5l0.375-1H4.125z","rail-metro":"M5.5,0c0,0-0.75,0-1,1L3,6.5V10c0,1,1,1,1,1h7c0,0,1,0,1-1V6.5L10.5,1c-0.2727-1-1-1-1-1H5.5z M6.5,1.5h2 c0,0,0.5357,0,0.75,1L10,6c0.2146,1.0017-1,1-1,1H6c0,0-1.2146,0.0017-1-1l0.75-3.5C5.9643,1.5,6.5,1.5,6.5,1.5z M5,8 c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1S4,9.5523,4,9S4.4477,8,5,8z M6.75,8h1.5C8.3885,8,8.5,8.1115,8.5,8.25S8.3885,8.5,8.25,8.5 h-1.5C6.6115,8.5,6.5,8.3885,6.5,8.25S6.6115,8,6.75,8z M10,8c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1S9,9.5523,9,9S9.4477,8,10,8z M4.125,12L3,15h1.5l0.375-1h5.25l0.375,1H12l-1.125-3h-1.5l0.375,1h-4.5l0.375-1H4.125z","ranger-station":"M9,0.5l-2,1v3.7734L2,8v6h4v-4h3 v4h4V8L8,5.2734V4l1-0.5l2,1l2-1v-3l-2,1L9,0.5z",recycling:"M2.4556,8.6134C2.118,9.2112,1.501,10.3021,2.593,11.0312c0.3432,0.2268,0.7275,0.3836,1.131,0.4614 C4.0314,11.5382,4.0466,12.0111,3.6855,12c-0.3849-0.0193-2.2596-0.1934-2.5606-1.5995c-0.1556-0.8213,0.0204-1.5571,0.504-2.3556 L2.3263,6.812L1.0196,6.0688L4.5,4v4L3.1941,7.3057L2.4556,8.6134z M6.7,2.034c1.155-0.628,1.823,0.43,2.191,1.007l0.8059,1.2631 L8.431,5.112L12,6.986L11.803,2.96l-1.2639,0.8066L9.779,2.578C9.2572,1.8321,8.875,1.2812,7.944,1.033 C6.307,0.7203,5.3007,2.6194,5.311,2.607c-0.1639,0.2871,0.2156,0.5399,0.451,0.21C6.0202,2.4969,6.339,2.2309,6.7,2.034z M13.294,8.221c-0.0877-0.1897-0.5487-0.1413-0.419,0.267c0.1312,0.3892,0.1845,0.8003,0.157,1.21C12.939,11.01,11.684,11,11,11H9.5 V9.5l-3.5,2l3.488,2.025L9.4926,12H11c0.8906,0.0153,1.5999-0.1759,2.2-0.713C14.4,10.226,13.294,8.221,13.294,8.221z","religious-buddhist":"M13.4978,6.9989h-0.5329c-0.09997-1.10708-0.53528-2.15731-1.2478-3.0105l0.378-0.3784 c0.19605-0.19447,0.19733-0.51105,0.00286-0.7071C11.90698,2.71037,11.59733,2.70518,11.4,2.8912l0,0l-0.0123,0.0123L11.01,3.2815 c-0.85331-0.71298-1.90385-1.14864-3.0113-1.2488V1.5c0-0.27614-0.22386-0.5-0.5-0.5s-0.5,0.22386-0.5,0.5v0.5327 C5.8916,2.13306,4.84144,2.56871,3.9884,3.2815L3.61,2.9C3.41007,2.70952,3.09358,2.71717,2.9031,2.9171 c-0.184,0.19312-0.184,0.49668,0,0.6898l0.3784,0.3775C2.56787,4.83856,2.13216,5.89031,2.0327,6.9989H1.5 c-0.27614,0-0.5,0.22386-0.5,0.5s0.22386,0.5,0.5,0.5h0.5327c0.09987,1.10695,0.535,2.15711,1.2473,3.0103l-0.3779,0.3779 c-0.19538,0.19514-0.19557,0.51173-0.00043,0.70711c0.19053,0.19076,0.49798,0.19611,0.69503,0.01209L3.609,12.094l0.3779-0.3779 c0.8533,0.71312,1.90395,1.1488,3.0115,1.2488v0.5329c0,0.27614,0.22386,0.5,0.5,0.5s0.5-0.22386,0.5-0.5v-0.5329 c1.10719-0.10026,2.15744-0.53592,3.0105-1.2488l0.3779,0.3779c0.19514,0.19538,0.51173,0.19557,0.70711,0.00043 c0.19076-0.19053,0.19611-0.49798,0.01209-0.69503l-0.0123-0.0123l0,0l-0.3779-0.3779c0.71283-0.8531,1.14848-1.90333,1.2488-3.0105 h0.5329c0.27609-0.00544,0.49549-0.23366,0.49006-0.50975C13.98227,7.22064,13.76611,7.00435,13.4978,6.9989z M7.9987,3.0505 c0.83871,0.09248,1.63383,0.42154,2.2926,0.9488l-2.15,2.15c-0.04663-0.0218-0.09436-0.04116-0.143-0.058V3.0505H7.9987z M6.9987,3.0505V6.091c-0.04864,0.01684-0.09637,0.0362-0.143,0.058l-2.15-2.15c0.65897-0.52726,1.45431-0.85622,2.2932-0.9485 H6.9987z M3.9987,4.7062l2.15,2.15c-0.0218,0.04663-0.04116,0.09436-0.058,0.143H3.0505 c0.09243-0.83886,0.42154-1.63413,0.9489-2.293L3.9987,4.7062z M3.0505,7.9987H6.091c0.01687,0.04863,0.03623,0.09636,0.058,0.143 l-2.15,2.15C3.47173,9.63281,3.14276,8.83753,3.0505,7.9987z M6.9989,11.9471c-0.83871-0.09248-1.63383-0.42154-2.2926-0.9488 l2.15-2.15c0.04663,0.0218,0.09436,0.04116,0.143,0.058v3.0405L6.9989,11.9471z M7.9989,11.9471V8.9066 c0.04864-0.01683,0.09638-0.03619,0.143-0.058l2.15,2.15c-0.65895,0.5273-1.4543,0.85627-2.2932,0.9485H7.9989z M10.9989,10.2914 l-2.15-2.15c0.02177-0.04664,0.04113-0.09437,0.058-0.143h3.0415c-0.09276,0.83901-0.42232,1.6343-0.9502,2.293H10.9989z M8.9066,6.9989c-0.01684-0.04864-0.0362-0.09637-0.058-0.143l2.15-2.15c0.52726,0.65877,0.85632,1.45389,0.9488,2.2926H8.9066 V6.9989z","religious-christian":"M6,0.9552V4H3v3h3v8h3V7h3V4H9V1 c0-1-0.9776-1-0.9776-1H6.9887C6.9887,0,6,0,6,0.9552z","religious-jewish":"M7.50049 0.5L5.49949 4H1L3.49949 7.5L1 11H5.49949L7.50049 14.5L9.50049 11H14L11.5005 7.5L14 4H9.50049L7.50049 0.5Z","religious-muslim":"M12.0962 12.0962C9.55779 14.6346 5.44221 14.6346 2.90381 12.0962C0.365398 9.55779 0.365398 5.44221 2.90381 2.90381C5.44221 0.365398 9.55779 0.365398 12.0962 2.90381C12.2675 3.07512 12.4273 3.25362 12.5754 3.43832C10.5566 1.86336 7.63341 2.00437 5.77643 3.86135C3.76685 5.87092 3.76685 9.12908 5.77643 11.1387C7.63341 12.9956 10.5566 13.1366 12.5754 11.5617C12.4273 11.7464 12.2675 11.9249 12.0962 12.0962Z M10.1 6.5H8L9.7 8L9 10.5L11 9L13 10.5L12.3 8L14 6.5H11.9L11 4.5L10.1 6.5Z","religious-shinto":"M12.5,2.5H2.5a.9448.9448,0,0,0-1,1,.9448.9448,0,0,0,1,1H3V12a.9448.9448,0,0,0,1,1,.9448.9448,0,0,0,1-1V8h5v4a.9448.9448,0,0,0,1,1,.9448.9448,0,0,0,1-1V4.5h.5a.9448.9448,0,0,0,1-1,.9448.9448,0,0,0-1-1ZM10,6H8V4.5h2ZM7,6H5V4.5H7Z","residential-community":"m11.8 12.5v-2.5c.7-.1 1.2-.7 1.2-1.5s-.7-1.5-1.5-1.5-1.5.7-1.5 1.5c0 .7.5 1.4 1.2 1.5v2.5h-4.2v-11.5h-5v11.5h-1v.5h13v-.5zm-5.8-2.5h-3v-1h3zm0-2h-3v-1h3zm0-2h-3v-1h3zm0-2h-3v-1h3z",restaurant:"M3.5,0l-1,5.5c-0.1464,0.805,1.7815,1.181,1.75,2L4,14c-0.0384,0.9993,1,1,1,1s1.0384-0.0007,1-1L5.75,7.5 c-0.0314-0.8176,1.7334-1.1808,1.75-2L6.5,0H6l0.25,4L5.5,4.5L5.25,0h-0.5L4.5,4.5L3.75,4L4,0H3.5z M12,0 c-0.7364,0-1.9642,0.6549-2.4551,1.6367C9.1358,2.3731,9,4.0182,9,5v2.5c0,0.8182,1.0909,1,1.5,1L10,14c-0.0905,0.9959,1,1,1,1 s1,0,1-1V0z","restaurant-bbq":"M12.0166,12.5H14.5L12,15V12.5165a1.6189,1.6189,0,0,1-1.1367.4806,1.6,1.6,0,0,1-.9931-.3448A6.7838,6.7838,0,0,1,9.8783,2.3418,1.6179,1.6179,0,0,1,12,2.462V0l2.5,2.5H12.036a1.5927,1.5927,0,0,1,.1225.1289,1.6239,1.6239,0,0,1-.2871,2.2793A3.5148,3.5148,0,0,0,10.75,7.4951a3.5578,3.5578,0,0,0,1.1465,2.6162,1.6352,1.6352,0,0,1,.2325,2.2783C12.0949,12.4315,12.0535,12.4624,12.0166,12.5ZM2.504,0l-1,5.5c-.1464.805,1.7815,1.181,1.75,2L3.004,14a.9625.9625,0,0,0,1,1,.9625.9625,0,0,0,1-1l-.25-6.5c-.0314-.8176,1.7334-1.1808,1.75-2l-1-5.5h-.5l.25,4-.75.5L4.254,0h-.5l-.25,4.5L2.754,4l.25-4Z","restaurant-noodle":"M4.457,11.9892,1,8V7H14V8l-3.4961,3.9891ZM3.9882,2.5a.5.5,0,0,0-1,0v.5671l-1.7969.3675a.25.25,0,1,0,.094.4911l1.7029-.2776v.5662l-1.75.0357a.25.25,0,0,0,0,.5l1.75.0357V5.998h1Zm9.5,1.5-7.5.2625V2.9951l7.594-1.0737a.5.5,0,0,0-.1881-.9822L5.9792,2.4555a.4963.4963,0,0,0-.991.0445v.2276l-.493.1009V3.18l.493-.08V4.2974l-.493.01v.4608L13.4882,5a.5.5,0,0,0,0-1ZM10,13H5v.5757h5Z","restaurant-pizza":"M1.393 7.931.025 7.315A14.05 14.05 0 0 1 7.764-.001l.027.07.511 1.331-.003.001a12.613 12.613 0 0 0-6.906 6.53Zm10.963 4.96L2.42 8.414a11.604 11.604 0 0 1 6.354-6.009l.003-.001.817 2.122c-.028-.002-.052-.016-.081-.016a1.062 1.062 0 1 0 .764 1.793l2.413 6.273a.249.249 0 0 1-.334.316ZM7.426 7.52a.925.925 0 1 0-1.849 0 .925.925 0 0 0 1.849 0Zm3.017 2.03a.925.925 0 1 0-.07.353.924.924 0 0 0 .07-.354Z","restaurant-seafood":"M11.433,10.0889h2.49v.75H11.8525A4.81,4.81,0,0,1,13.4751,13.14l-.71.2422a4.01,4.01,0,0,0-1.74-2.1971,1.7775,1.7775,0,0,1-1.0352.4538L8.4374,12.9852H6.5188L4.9839,11.623a2.0222,2.0222,0,0,1-1.0929-.44,4.0093,4.0093,0,0,0-1.7426,2.1988l-.71-.2422a4.8146,4.8146,0,0,1,1.622-2.3007H.99v-.75H3.4839l.8633-.6764L3.3329,7.7567a2.2738,2.2738,0,0,1-.269.0293,2.0192,2.0192,0,0,1-2.0532-2.08c0-2.08,1.979-4.16,1.979-4.16L2.2531,5.9931l1.7255-.0012L4.9913,2.9852l0,2.9956a2.0936,2.0936,0,0,1-.6993,1.4121l.8536,1.3936L5.23,8.7208a3.8669,3.8669,0,0,1,4.4784,0l.0605.0474.869-1.4152a2.1177,2.1177,0,0,1-.6433-1.3722l0-2.9956.9836,3.0067,1.7547.0012-.7367-4.4466s1.982,2.08,1.982,4.16a2.0211,2.0211,0,0,1-2.0562,2.08,2.3125,2.3125,0,0,1-.3441-.0376L10.5676,9.3945l.8407.6593C11.4212,10.0638,11.4218,10.0782,11.433,10.0889Z","restaurant-sushi":"M5.5,3C5.2239,3,5,3.2239,5,3.5H2.75C1.2265,3.5,0,4.7265,0,6.25c0,0.8274,0.3687,1.5592,0.9434,2.0625 C0.3803,8.6675,0,9.2893,0,10c0,1.0994,0.9006,2,2,2h3.5h2H10c1.0994,0,2-0.9006,2-2c0-0.4883-0.1863-0.9294-0.4805-1.2773 l2.1777,0.9629c0.3716,0.1831,0.8213,0.0303,1.0044-0.3413c0.1831-0.3716,0.0303-0.8213-0.3413-1.0044 c-0.0188-0.0093-0.038-0.0178-0.0576-0.0254l-1.8105-0.8027l1.6309-0.2715c0.4099-0.0599,0.6936-0.4408,0.6337-0.8507 c-0.0544-0.3724-0.3765-0.6469-0.7528-0.6415c-0.0426,0.0003-0.085,0.0042-0.127,0.0117l-2.1309,0.3555 C11.2595,4.9521,10.0387,3.7837,8,3.5488V3.5C8,3.2239,7.7761,3,7.5,3H5.5z M6,4h1v5v2H6V9V4z M9.5,8 c0.259,0,0.4638,0.1974,0.4902,0.4492l0.0762-0.1328c0.1385-0.2399,0.4437-0.3201,0.6836-0.1816s0.3201,0.4418,0.1816,0.6816 l-0.2578,0.4473C10.8727,9.445,11,9.7021,11,10c0,0.5626-0.4374,1-1,1H8V9h1V8.5C9,8.223,9.223,8,9.5,8z M2.4395,8.0703 c0.1934-0.0242,0.3903,0.0662,0.4941,0.2461l0.2012,0.3477C3.226,8.5647,3.3538,8.5,3.5,8.5C3.777,8.5,4,8.723,4,9h1v2H2 c-0.5626,0-1-0.4374-1-1s0.4374-1,1-1h0.1738L2.0684,8.8164C1.9299,8.5765,2.0101,8.2733,2.25,8.1348 C2.31,8.1001,2.375,8.0784,2.4395,8.0703z","road-accident":"M12.6,8.7,11.5,6.5a1.05,1.05,0,0,0-.9-.5H4.4a1.05,1.05,0,0,0-.9.5L2.4,8.7,1.16,9.852a.5.5,0,0,0-.16.366V14.5a.5.5,0,0,0,.5.5h2c.2,0,.5-.2.5-.4V14h7v.5c0,.2.2.5.4.5h2.1a.5.5,0,0,0,.5-.5V10.218a.5.5,0,0,0-.16-.366ZM4.5,7h6l1,2h-8ZM5,11.6c0,.2-.3.4-.5.4H2.4c-.2,0-.4-.3-.4-.5V10.4c.1-.3.3-.5.6-.4l2,.4c.2,0,.4.3.4.5Zm8-.1c0,.2-.2.5-.4.5H10.5c-.2,0-.5-.2-.5-.4v-.7c0-.2.2-.5.4-.5l2-.4c.3-.1.5.1.6.4ZM8,4H7L6,0H9ZM1.1,1.8,3.7.3l1.1,4L4,4.7ZM11.3.3l2.6,1.5L11,4.8l-.9-.5Z",roadblock:"M7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.91015 11.0899 1 7.5 1C3.91015 1 1 3.91015 1 7.5C1 11.0899 3.91015 14 7.5 14ZM12 6V9H3V6H12Z",rocket:"m11.5547 2c-2.14407 0-5.02107 1.471-6.95307 4h-1.6016c-1.1573 0-1.8206.8638-2.277302 1.7773l-.6114 1.2227h1.443402 1.4453l1.5 1.5 1.5 1.5v1.4453 1.4434l1.2227-.6113c.9135-.4568 1.7773-1.1201 1.7773-2.2774v-1.6016c2.52897-1.932 3.99997-4.809 3.99997-6.9531v-1.4453zm-2.55467 3c.5523 0 .99997.4477.99997 1s-.44767 1-.99997 1-1-.4477-1-1 .4477-1 1-1zm-6.5 6-.5.5c-.7222.7222-1 2.5-1 2.5s1.698-.198 2.5-1l.5-.5z",school:"M5.542 3.647 3.106 3l.443-1.63a.505.505 0 0 1 .618-.352l1.46.392a.5.5 0 0 1 .355.613l-.44 1.624Zm-4.52 7.356a.496.496 0 0 1-.005-.276l1.819-6.726 2.435.647-1.819 6.726a.499.499 0 0 1-.143.237l-1.457 1.347a.152.152 0 0 1-.247-.066l-.583-1.889ZM10 5c-2.25 0-3-.75-3-3 2.25 0 3 .75 3 3Zm-1.4 7.984c-1.37.21-3.126-1.706-3.52-3.8L5.969 5.9c.399-.35.903-.533 1.419-.533a2.71 2.71 0 0 1 1.564.489.964.964 0 0 0 1.089-.01 2.438 2.438 0 0 1 1.46-.479c.77 0 1.643.489 2.05 1.201 1.536 2.696-1.194 6.709-3.144 6.417a.867.867 0 0 1-.255-.093 1.427 1.427 0 0 0-1.302 0 .866.866 0 0 1-.25.092Z","school-JP":"M12.5,2.9992h-4v-1a1,1,0,0,0-2,0v1h-4a1,1,0,0,0,0,2h.67A10.8169,10.8169,0,0,0,5.15,8.8105c.3331.4313.6594.8248.9785,1.1936a14.3825,14.3825,0,0,1-2.6074,2.117,1,1,0,1,0,.955,1.7581h0A15.65,15.65,0,0,0,7.5,11.4613a15.65,15.65,0,0,0,3.0239,2.4179,1,1,0,1,0,.9551-1.7578,14.3789,14.3789,0,0,1-2.6073-2.1171c.3191-.3688.6453-.7622.9784-1.1935a10.818,10.818,0,0,0,1.98-3.8116h.67a1,1,0,0,0,0-2ZM8.2671,7.5879c-.2614.3385-.5154.6413-.767.937-.2517-.2957-.5057-.5985-.7672-.937A9.5885,9.5885,0,0,1,5.2676,4.9992H9.7319A9.5789,9.5789,0,0,1,8.2671,7.5879Z",scooter:"M4.908,12a1.5,1.5,0,1,1-2.816,0Zm8.65-6C13.539,6,13,6,13,6V3h.351a.282.282,0,0,0,.223-.148l.268-.536a.334.334,0,0,0,.009-.066A.25.25,0,0,0,13.6,2H13V1.7a.215.215,0,0,0-.2-.2H9.25a.25.25,0,0,0,0,.5H12V6.6L7.6,10H6V7.5A.5.5,0,0,0,5.5,7H5V5H6.75a.25.25,0,0,0,0-.5L2.266,4.034c-.006,0-.01-.007-.016-.007a.25.25,0,0,0-.25.25V4.75A.25.25,0,0,0,2.25,5H3V7H2.5A1.538,1.538,0,0,0,1,8.5v2a.472.472,0,0,0,.442.5C1.461,11,7.5,11,7.5,11L10,10h3.5a.472.472,0,0,0,.5-.442C14,9.539,14,6.5,14,6.5A.472.472,0,0,0,13.558,6ZM12.5,11A1.5,1.5,0,1,0,14,12.5,1.538,1.538,0,0,0,12.5,11Z",shelter:"M13 2L1 6V8L2 7.66667V13H12V11H4V7L13 4V2Z",shoe:"M9.5,7a9.97,9.97,0,0,1-1.315-.948L6.01,3.221a.558.558,0,0,0-1,.279H5V5H3.209a.5.5,0,0,1-.357-.148S2.5,4,2,4H1.5a.5.5,0,0,0-.5.5V9H6.5c1.5,0,2,1,3.5,1h4V9.5C14,8,10.547,7.594,9.5,7Zm0,4a3.131,3.131,0,0,1-1.526-.447A4.1,4.1,0,0,0,6,10H1v1.5a.5.5,0,0,0,.5.5h4a.5.5,0,0,0,.5-.5V11a3.134,3.134,0,0,1,1.526.447A4.1,4.1,0,0,0,9.5,12h4a.5.5,0,0,0,.5-.5V11Z",shop:"m13.33 5h-1.83l-.39-2.33c-.1601-.7182-.7017-1.2905-1.41-1.49-.3493-.1124-.7131-.173-1.08-.18h-2.24c-.3669.007-.7307.0676-1.08.18-.7083.1995-1.2499.7718-1.41 1.49l-.39 2.33h-1.83c-.2761-.0017-.5013.2208-.503.497-.0003.0519.0074.1035.023.153l1.88 6.3c.1964.6246.7753 1.0496 1.43 1.05h6c.651-.0047 1.2247-.4289 1.42-1.05l1.88-6.3c.0829-.2634-.0635-.5441-.3269-.627-.0463-.0146-.0945-.0223-.1431-.023zm-8.81 0 .36-2.17c.0807-.3625.3736-.6395.74-.7.2463-.0776.5019-.1213.76-.13h2.24c.2614.0078.5205.0515.77.13.3664.0605.6593.3375.74.7l.35 2.17h-6z",skateboard:"M1.25 5.25V5H2.75V5.25C2.75 5.94036 3.30964 6.5 4 6.5H11C11.6904 6.5 12.25 5.94036 12.25 5.25V5H13.75V5.25C13.75 6.76878 12.5188 8 11 8H4C2.48122 8 1.25 6.76878 1.25 5.25ZM5 10C5 10.5523 4.55228 11 4 11 3.44772 11 3 10.5523 3 10 3 9.44772 3.44772 9 4 9 4.55228 9 5 9.44772 5 10ZM12 10C12 10.5523 11.5523 11 11 11 10.4477 11 10 10.5523 10 10 10 9.44772 10.4477 9 11 9 11.5523 9 12 9.44772 12 10Z",skiing:"M15,4.5C15,5.3284,14.3284,6,13.5,6S12,5.3284,12,4.5S12.6716,3,13.5,3S15,3.6716,15,4.5z M13.72,11.89 c-0.0623-0.1197-0.2083-0.1684-0.33-0.11c-0.6846,0.4194-1.5208,0.5111-2.28,0.25L4.78,8.86L7.5,7.5v-3L9,5.25v3L10.5,9L12,8.25 L10.5,7.5V3l-3-1.5L6,2.25v4.5L3.28,8.11L0.61,6.78C0.4857,6.7192,0.3358,6.7707,0.275,6.895C0.2142,7.0193,0.2657,7.1692,0.39,7.23 l10.5,5.25c0.3156,0.135,0.6568,0.1998,1,0.19c0.5998-0.0103,1.1889-0.161,1.72-0.44c0.1236-0.0615,0.174-0.2116,0.1125-0.3352 C13.7217,11.8932,13.7208,11.8916,13.72,11.89z",slaughterhouse:"M15 6.1c0 1.376-1.363.694-1.363.694L12.5 7H11a5.31 5.31 0 0 1-1.5 2 3.272 3.272 0 0 1-.523 1.125c-.077.091-.06.2-.068.33l.091 2.3a.264.264 0 0 1-.266.25.242.242 0 0 1-.234-.205L8 9.5H4v3.253a.247.247 0 0 1-.247.247.25.25 0 0 1-.24-.2L3 10v-.5a8.2 8.2 0 0 1-1.426-.1A1.886 1.886 0 0 1 .9 10.826c-.128.083-.148.211-.133.386l.19 1.538a.25.25 0 0 1-.25.25.238.238 0 0 1-.23-.174l-.427-1.7a.35.35 0 0 1 .055-.3c.437-.68-.049-2.55-.049-2.55A1.354 1.354 0 0 1 0 7.922V5.5a2.027 2.027 0 0 1 2.736-1.914s.1.03.142.049a15.15 15.15 0 0 0 3.814.038l.18-.062a1.842 1.842 0 0 1 1.26 0c.078.02.154.05.226.089.1.049.196.106.287.171A1.8 1.8 0 0 0 9.5 4h1V3l.5.5c.5-1.5 2.5-1 2.5-1a1.687 1.687 0 0 0-1.5 1l2.5 2a.612.612 0 0 1 .186-.069.318.318 0 0 1 .314.321V6.1Z",slipway:"m2 10 12 1.495V12H2v-2Zm12-4-1 1v.583L5.196 4.332l.063-.125L6.61 2.845h.831a.35.35 0 0 0 0-.7h-.976a.352.352 0 0 0-.248.103L4.723 3.753a.371.371 0 0 0-.066.09l-.109.219L2 3c0 2-.03 3.958 2.86 4.5C6.28 7.765 13 9 13 9l2-2-1-1Z",snowmobile:"M15 10a1 1 0 0 1-1 1H9.414a1 1 0 0 1-.707-.293L7.146 9.146A.499.499 0 0 0 6.793 9H3.334a1 1 0 0 1-.601-.2L1.386 7.788A1.013 1.013 0 0 1 1 7a.995.995 0 0 1 .472-.844L5 4l1.038-1.692A.5.5 0 0 1 7 2.5V6l1 1h1l5.412-.992a.5.5 0 0 1 .355.915L13 8l1.631 1.224A.99.99 0 0 1 15 10Zm-9.5 0H3.225c-.504 0-.999-.127-1.44-.368L.74 9.062a.5.5 0 0 0-.48.877l1.269.693c.441.242.937.368 1.44.368H5.5a.5.5 0 0 0 0-1Z",soccer:"M11,1.5C11,2.3284,10.3284,3,9.5,3S8,2.3284,8,1.5S8.6716,0,9.5,0S11,0.6716,11,1.5z M11,11c-0.5523,0-1,0.4477-1,1 s0.4477,1,1,1s1-0.4477,1-1S11.5523,11,11,11z M12.84,6.09l-1.91-1.91l0,0C10.8399,4.0675,10.7041,4.0014,10.56,4H3.5 C3.2239,4,3,4.2239,3,4.5S3.2239,5,3.5,5h2.7L3,11.3l0,0c-0.0138,0.066-0.0138,0.134,0,0.2c-0.058,0.2761,0.1189,0.547,0.395,0.605 C3.6711,12.163,3.942,11.9861,4,11.71l0,0L5,10h2l-1.93,4.24l0,0C5.0228,14.3184,4.9986,14.4085,5,14.5 c-0.0552,0.2761,0.1239,0.5448,0.4,0.6c0.2761,0.0552,0.5448-0.1239,0.6-0.4l0,0l4.7-9.38l1.44,1.48 c0.211,0.1782,0.5264,0.1516,0.7046-0.0593C13.0037,6.5523,13.0018,6.2761,12.84,6.09z",square:"M12 13H3C2.4477 13 2 12.5523 2 12V3C2 2.4477 2.4477 2 3 2H12C12.5523 2 13 2.4477 13 3V12C13 12.5523 12.5523 13 12 13Z","square-stroked":"M11.7 3.3V11.7H3.3V3.3H11.7ZM12 2H3C2.4477 2 2 2.4477 2 3V12C2 12.5523 2.4477 13 3 13H12C12.5523 13 13 12.5523 13 12V3C13 2.4477 12.5523 2 12 2Z",stadium:"M7,1v2v1.5v0.5098C4.1695,5.1037,2.0021,5.9665,2,7v4.5c0,1.1046,2.4624,2,5.5,2s5.5-0.8954,5.5-2V7 c-0.0021-1.0335-2.1695-1.8963-5-1.9902V4.0625L11,2.75L7,1z M3,8.1465c0.5148,0.2671,1.2014,0.4843,2,0.6328v2.9668 C3.7948,11.477,3,11.0199,3,10.5V8.1465z M12,8.1484V10.5c0,0.5199-0.7948,0.977-2,1.2461V8.7812 C10.7986,8.6328,11.4852,8.4155,12,8.1484z M6,8.9219C6.4877,8.973,6.9925,8.9992,7.5,9C8.0073,8.9999,8.5121,8.9743,9,8.9238 v2.9844C8.5287,11.964,8.0288,12,7.5,12S6.4713,11.964,6,11.9082V8.9219z",star:"M7.5,0l-2,5h-5l4,3.5l-2,6l5-3.5 l5,3.5l-2-6l4-3.5h-5L7.5,0z","star-stroked":"m7.5 2.69 1.07 2.68.25.63h3l-2 1.75-.5.44.23.63 1 3.13-2.48-1.77-.57-.4-.57.4-2.52 1.77 1-3.13.21-.63-.5-.44-2-1.75h3l.25-.63zm0-2.69-2 5h-5l4 3.5-2 6 5-3.5 5 3.5-2-6 4-3.5h-5z",suitcase:"M4.5 4V2C4.5 1.44772 4.94772 1 5.5 1H9.5C10.0523 1 10.5 1.44772 10.5 2V4H12C12.5523 4 13 4.44772 13 5V11C13 11.5523 12.5523 12 12 12H3C2.44771 12 2 11.5523 2 11V5C2 4.44772 2.44772 4 3 4H4.5ZM5.5 2V4H9.5V2H5.5Z",swimming:"M10.1113,2C9.9989,2,9.6758,2.1465,9.6758,2.1465L6.3535,3.8262 C5.9111,4.0024,5.7358,4.7081,6.002,5.0605l0.9707,1.4082L3.002,8.498L5,9.998l2.502-1.5l2.5,1.5l1.002-1.002l-3-4l2.5566-1.5293 c0.5286-0.2662,0.4434-0.7045,0.4434-0.9707C10.9999,2.2861,10.6437,2,10.1113,2z M12.252,5C11.2847,5,10.5,5.7827,10.5,6.75 s0.7847,1.752,1.752,1.752s1.75-0.7847,1.75-1.752S13.2192,5,12.252,5z M2.5,10L0,11.5V13l2.5-1.5L5,13l2.502-1.5l2.5,1.5L12,11.5 l3,1.5v-1.5L12,10l-1.998,1.5l-2.5-1.5L5,11.5L2.5,10z","table-tennis":"M11.9676,10.2275a3.8116,3.8116,0,0,1-1.9122.9831L3.7678,4.9338A4.0283,4.0283,0,0,1,4.7725,3.0324C7.03.7745,9.98.2235,12.3781,2.6219S14.2255,7.97,11.9676,10.2275Zm-6.987,1.6093A3.8422,3.8422,0,0,1,6.149,11.278,4.5328,4.5328,0,0,1,8,11.4452L3.5456,7a4.4126,4.4126,0,0,1,.1572,1.9223,3.6639,3.6639,0,0,1-.5208,1.1159c-1.072,1.263-2.132,1.727-2.132,2.1879A1.8378,1.8378,0,0,0,2.7739,13.95C3.2348,13.95,3.6917,12.9368,4.9806,11.8368Z",teahouse:"M8.00002 5C8.00002 5 10 4.9 10 3.4 10 2.46598 9.17751 2.20864 8.47606 1.98917 7.95458 1.82601 7.5 1.68378 7.5 1.3 7.5.386843 8 0 8 0 8 0 7 .531581 7 1.5 7 2.21063 7.54045 2.46176 8.05947 2.70292 8.53888 2.92568 9 3.13994 9 3.7 9 4.7 8.00002 5 8.00002 5ZM11.8372 6.67447C11.3755 8.62063 10.7854 11.1073 9 12V14H6V12C4.21455 11.1073 3.62454 8.62063 3.16276 6.67447 3.10728 6.44061 3.05364 6.21455 3 6H12C11.9464 6.21453 11.8927 6.44063 11.8372 6.67447ZM6.99998 4C6.99998 5 5.49998 5 5.49998 5 5.49998 5 6.29295 4.9 6.29295 4.3 6.29295 4.02526 6.01604 3.85489 5.71852 3.67184 5.37315 3.45935 5 3.22977 5 2.8 5 1.9661 5.99998 1.5 5.99998 1.5 5.99998 1.5 5.49998 1.77344 5.49998 2.5 5.49998 2.88823 5.85322 3.04095 6.21687 3.19818 6.60257 3.36494 6.99998 3.53675 6.99998 4Z",telephone:"M4.51,8.88a0.51,0.51,0,0,0,0,.72l0.72,0.72L3.07,12.5,2.7,12.13A2.24,2.24,0,0,1,2,10.69V9.24a2.24,2.24,0,0,1,.7-1.45L7.77,2.72A2.24,2.24,0,0,1,9.22,2h1.45a2.24,2.24,0,0,1,1.45.72l0.36,0.36L10.31,5.26,9.58,4.53a0.51,0.51,0,0,0-.72,0ZM4.13,13.6a1,1,0,0,0,1.4137.0363Q5.5623,13.6186,5.58,13.6l0.72-.72a1,1,0,0,0,.0363-1.4137Q6.3186,11.4477,6.3,11.43Zm7.25-7.28a1,1,0,0,0,1.4137.0363C12.8061,6.3445,13.55,5.6,13.55,5.6a1,1,0,0,0,.0363-1.4137Q13.5686,4.1677,13.55,4.15Z",tennis:"M13.1284,1.87c-1.5418-1.5406-4.5535-.7759-6.28,1.05a6.8282,6.8282,0,0,0-1.88,4.4,5.7275,5.7275,0,0,1-.57,2.72.6814.6814,0,0,0-.67.17l-2.49,2.5a.6941.6941,0,0,0,0,.98l.07.07a.7051.7051,0,0,0,.98,0l2.5-2.49a.683.683,0,0,0,.18-.66,8.5694,8.5694,0,0,1,3.12-.58,6.5487,6.5487,0,0,0,3.99-1.87C14.1084,6.13,14.579,3.3194,13.1284,1.87Zm-2.2-.04a2.3071,2.3071,0,0,1,1.64.61,2.548,2.548,0,0,1,.5,2.44l-2.95-2.96A3.8648,3.8648,0,0,1,10.9284,1.83Zm-4.57,6.81a2.6485,2.6485,0,0,1-.48-2.55l3.04,3.04A2.8522,2.8522,0,0,1,6.3584,8.64Zm2.88.39-3.26-3.27a5.1623,5.1623,0,0,1,.49-1.08l3.85,3.85A5.5093,5.5093,0,0,1,9.2384,9.03Zm1.34-.66-3.94-3.95a5.2032,5.2032,0,0,1,.74-.9l4.1,4.1A5.6869,5.6869,0,0,1,10.5784,8.37Zm1.11-.96-4.1-4.1a5.5714,5.5714,0,0,1,.84-.65l3.92,3.92A5.7187,5.7187,0,0,1,11.6884,7.41Zm.82-1.09L8.6984,2.5a4.1707,4.1707,0,0,1,1.09-.48l3.2,3.2A5.5656,5.5656,0,0,1,12.5084,6.32Z",theatre:"M2,1c0,0-1,0-1,1v5.1582C1,8.8885,1.354,11,4.5,11H5V8L2.5,9c0,0,0-2.5,2.5-2.5V5 c0-0.7078,0.0868-1.3209,0.5-1.7754C5.8815,2.805,6.5046,1.9674,8.1562,2.7539L9,3.3027V2c0,0,0-1-1-1C7.2922,1,6.0224,2,5,2 S2.7865,1,2,1z M3,3c0.5523,0,1,0.4477,1,1S3.5523,5,3,5S2,4.5523,2,4S2.4477,3,3,3z M7,4c0,0-1,0-1,1v5c0,2,1,4,4,4s4-2,4-4V5 c0-1-1-1-1-1c-0.7078,0-1.9776,1-3,1S7.7865,4,7,4z M8,6c0.5523,0,1,0.4477,1,1S8.5523,8,8,8S7,7.5523,7,7S7.4477,6,8,6z M12,6 c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1s-1-0.4477-1-1S11.4477,6,12,6z M7.5,10H10h2.5c0,0,0,2.5-2.5,2.5S7.5,10,7.5,10z",toilet:"M3 1.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0ZM11.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM3.29 4a1 1 0 0 0-.868.504L.566 7.752a.5.5 0 1 0 .868.496l1.412-2.472A345.048 345.048 0 0 0 1 11h2v2.5a.5.5 0 0 0 1 0V11h1v2.5a.5.5 0 0 0 1 0V11h2L6.103 5.687l1.463 2.561a.5.5 0 1 0 .868-.496L6.578 4.504A1 1 0 0 0 5.71 4H3.29ZM9 4.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0v4a.5.5 0 0 1-1 0v-4h-1v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 1-1 0v-5Z",toll:"M2.5 1C2.22386 1 2 1.22386 2 1.5V2V13H1.5C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14H8.5C8.77614 14 9 13.7761 9 13.5C9 13.2239 8.77614 13 8.5 13H7V10.0987L13.7761 5.54576C14.0053 5.39175 14.0663 5.08109 13.9123 4.85189L13.6334 4.43687C13.4794 4.20766 13.1688 4.1467 12.9396 4.3007L7 8.29152V2H7.5C7.77614 2 8 1.77614 8 1.5C8 1.22386 7.77614 1 7.5 1H2.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5.5C5.77614 3 6 3.22386 6 3.5V7.5C6 7.77614 5.77614 8 5.5 8H3.5C3.22386 8 3 7.77614 3 7.5V3.5Z",town:"m10.651 6.121c-.0445-.0357-.0999-.05516-.157-.05516s-.1125.01946-.157.05516l-2.245 1.808c-.02881.02323-.05204.05263-.06796.08603-.01593.03341-.02414.06997-.02404.10697v4.625c0 .0671.02666.1315.0741.1789.04745.0474.1118.0741.1789.0741h1.494c.0671 0 .13145-.0267.1789-.0741s.0741-.1118.0741-.1789v-1.747h1v1.747c0 .0671.0267.1315.0741.1789.0475.0474.1118.0741.1789.0741h1.494c.0671 0 .1315-.0267.1789-.0741s.0741-.1118.0741-.1789v-4.627c.0007-.03831-.0074-.07627-.0237-.11095s-.0404-.06514-.0703-.08905zm-.651 3.879h-1v-1h1zm2 0h-1v-1h1zm-6.29-9.184997c-.02299-.034654-.05419-.063081-.09083-.082746s-.07758-.029956-.11917-.029956c-.04158 0-.08252.010291-.11916.029956-.03665.019665-.06785.048092-.09084.082746l-3.248 4.120997c-.02752.0415-.04214.09021-.042.14v7.671c-.00013.0331.00626.0659.0188.0965s.031.0585.0543.082c.02331.0235.05102.0422.08154.0549.03053.0128.06327.0195.09636.0196h2.5c.06632-.0008.12964-.0277.17626-.0749.04661-.0471.07275-.1108.07274-.1771v-1.748h1v1.748c0 .0668.02655.1309.07381.1782s.11136.0738.17819.0738h.748v-6c-.00004-.07511.01684-.14926.04938-.21695.03255-.06769.07993-.12718.13862-.17405l1.812-1.609c0-.05-3.29-4.184997-3.29-4.184997zm-1.71 8.184997h-1v-1h1zm0-3h-1v-1h1zm2 3h-1v-1h1zm0-3h-1v-1h1z","town-hall":"M13,4H9l0-3L7.5,0L6,1v3H2L1,5v1h13V5L13,4z M7.5,1.5c0.4,0,0.7,0.3,0.7,0.8S7.9,3,7.5,3S6.7,2.7,6.7,2.2 C6.7,1.8,7.1,1.5,7.5,1.5z M13,7H2v4l-1,1.5V14h13v-1.5L13,11V7z M5,12.5H4V8h1V12.5z M8,12.5H7V8h1V12.5z M11,12.5h-1V8h1V12.5z",triangle:"m7.5385 1c-.2948 0-.4883.1772-.6154.3846l-5.8462 9.5385c-.0769.0769-.0769.2307-.0769.3846 0 .5385.3846.6923.6923.6923h11.6154c.3846 0 .6923-.1538.6923-.6923 0-.1538 0-.2308-.0769-.3846l-5.7693-9.5385c-.1258-.2081-.3656-.3846-.6153-.3846z","triangle-stroked":"m7.52427.500405c-.2814-.0091-.5456.1419-.6907.3948l-5.5 9.869195c-.3118.5434.0614 1.2355.6664 1.2356h11.00003c.605-.0001.9782-.6922.6664-1.2355l-5.50003-9.869195c-.1362-.2374-.378-.3861-.6421-.3949zm-.0243 2.398895 4.12673 7.4704h-8.25343z",tunnel:"M4 2C2.34315 2 1 3.32706 1 4.96406V12.012C1 12.5576 1.44772 13 2 13H3V8.55391C3 6.09839 5.01472 4.10781 7.5 4.10781C9.98528 4.10781 12 6.09842 12 8.55393V13H13C13.5523 13 14 12.5576 14 12.012V4.96406C14 3.32706 12.6569 2 11 2H4ZM11 10V9.04794C11 6.86526 9.43299 5.09583 7.5 5.09583C5.56701 5.09583 4.00001 6.86526 4 9.04794V13L11 10Z",veterinary:"M7.5,6c-2.5,0-3,2.28-3,3.47h0a6.149,6.149,0,0,0-1.7.89,2,2,0,0,0-.4,2.78,2.06,2.06,0,0,0,2.8.4,4,4,0,0,1,2.3-.69,4,4,0,0,1,2.3.69,2,2,0,0,0,2.8-.3,1.929,1.929,0,0,0-.226-2.72c-.024-.021-.049-.041-.074-.06l-.1-.1a8.992,8.992,0,0,0-1.7-.89h0C10.5,8.29,10,6,7.5,6ZM2.08,4.3a1.58,1.58,0,0,0-.76,2A1.52,1.52,0,0,0,2.93,7.7a1.58,1.58,0,0,0,.76-2A1.52,1.52,0,0,0,2.08,4.3Zm10.85,0a1.58,1.58,0,0,1,.76,2,1.52,1.52,0,0,1-1.61,1.4,1.58,1.58,0,0,1-.76-2A1.52,1.52,0,0,1,12.93,4.3Zm-7.85-3c-.68.09-1,.94-.76,1.87A1.77,1.77,0,0,0,5.93,4.7c.68-.09,1-.94.76-1.87A1.77,1.77,0,0,0,5.08,1.3Zm4.85,0c.68.09,1,.94.76,1.87A1.77,1.77,0,0,1,9.07,4.7c-.68-.08-1-.94-.76-1.87A1.769,1.769,0,0,1,9.93,1.3Z",viewpoint:"M6.02,8.425a2.3859,2.3859,0,0,0-.46.44l-4.55-3.5a7.9976,7.9976,0,0,1,1.51-1.51Zm6.46-4.56-3.5,4.55a2.3971,2.3971,0,0,1,.45.45l4.56-3.5A7.945,7.945,0,0,0,12.48,3.865ZM7.3042,10.0129a1.5,1.5,0,1,0,1.6829,1.2914h0A1.5,1.5,0,0,0,7.3042,10.0129ZM6.43,2.235a7.9329,7.9329,0,0,0-2.06.55l2.2,5.32a2.0438,2.0438,0,0,1,.61-.17Zm2.14.01-.75,5.69a2.49,2.49,0,0,1,.61.16l2.2-5.3A7.2129,7.2129,0,0,0,8.57,2.245Z",village:"M6.176 1.176a.249.249 0 0 0-.352 0l-4.4 4.4A.25.25 0 0 0 1.6 6H3v6.751a.25.25 0 0 0 .249.249h3.5A.248.248 0 0 0 7 12.753v-7.43c0-.066.026-.13.073-.176L8.5 3.5 6.176 1.176ZM6 11H5v-1h1v1Zm0-2H5V8h1v1Zm0-3v1H5V6h1Z M12.75 3h-.5a.25.25 0 0 0-.25.25V5l-1.324-1.824a.249.249 0 0 0-.352 0L8.056 5.932A.246.246 0 0 0 8 6.088v6.66a.249.249 0 0 0 .246.252h1.5a.253.253 0 0 0 .254-.252V11h1v1.747a.253.253 0 0 0 .253.253h1.5a.25.25 0 0 0 .247-.249V3.25a.25.25 0 0 0-.25-.25ZM10 8H9V7h1v1Zm2 0h-1V7h1v1Zm-2 2H9V9h1v1Zm2 0h-1V9h1v1Z",volcano:"M8.4844,1.0002 c-0.1464,0.005-0.2835,0.0731-0.375,0.1875L6.4492,3.2619L4.8438,1.7385C4.4079,1.3374,3.7599,1.893,4.0899,2.385l1.666,2.4004 C5.9472,5.061,6.3503,5.0737,6.5586,4.8108C6.7249,4.6009,7,4.133,7.5,4.133s0.7929,0.4907,0.9414,0.6777 c0.175,0.2204,0.4973,0.2531,0.7129,0.0723l1.668-1.4004c0.4408-0.3741,0.0006-1.0735-0.5273-0.8379L9,3.2268V1.5002 C9.0002,1.2179,8.7666,0.9915,8.4844,1.0002L8.4844,1.0002z M5,6.0002L2.0762,11.924C1.9993,12.0009,2,12.155,2,12.3088 c0,0.5385,0.3837,0.6914,0.6914,0.6914h9.6172c0.3846,0,0.6914-0.153,0.6914-0.6914c0-0.1538,0.0008-0.2309-0.0762-0.3848L10,6.0002 c-0.5,0-1,0.5-1,1v0.5c0,0.277-0.223,0.5-0.5,0.5S8,7.7772,8,7.5002v-0.5c0-0.2761-0.2238-0.5-0.5-0.5S7,6.7241,7,7.0002v2 c0,0.277-0.223,0.5-0.5,0.5S6,9.2772,6,9.0002v-2C6,6.5002,5.5,6.0002,5,6.0002z",volleyball:"M13.91,7.94a5.9086,5.9086,0,0,1-.13.94,8.8218,8.8218,0,0,0-2.17-1.49,8.89,8.89,0,0,0-1.4-.56,8.6142,8.6142,0,0,0-1.82-.35.221.221,0,0,0-.08-.01A7.32,7.32,0,0,1,7.5,4.59c-.01-.01-.01-.01,0-.02a7.7573,7.7573,0,0,1,1.52.15,7.0987,7.0987,0,0,1,1.56.5,6.8585,6.8585,0,0,1,1.4.78A7.4165,7.4165,0,0,1,13.91,7.94Zm-1.87-5a6.2232,6.2232,0,0,0-1.85-1.27,4.2725,4.2725,0,0,0-.98-.36,5.6412,5.6412,0,0,0-1.55-.23,1.2882,1.2882,0,0,0-.32,0A7.4263,7.4263,0,0,0,7.21,2.5c0,.2.01.39.02.58a2.28,2.28,0,0,1,.26-.01,2.6438,2.6438,0,0,1,.28.01,8.2865,8.2865,0,0,1,1.49.16,8.9879,8.9879,0,0,1,1.35.37,8.7922,8.7922,0,0,1,1.53.7,10.18,10.18,0,0,1,1.39.97A6.4588,6.4588,0,0,0,12.04,2.94ZM4.01,8.76a9.4084,9.4084,0,0,1-.62-1.37,9.1038,9.1038,0,0,1-.37-1.41,9.1748,9.1748,0,0,1-.16-1.67V4.28a8.455,8.455,0,0,1,.1-1.34A6.28,6.28,0,0,0,1.47,5.3a6.2222,6.2222,0,0,0-.4,2.2c0,.15.01.3.02.44a5.9086,5.9086,0,0,0,.13.94,5.7343,5.7343,0,0,0,.41,1.23c.22-.05.44-.11.65-.17a8.0188,8.0188,0,0,0,1.9-.88C4.12,8.96,4.06,8.86,4.01,8.76Zm2.6-2.28a9,9,0,0,1-.63-1.76,9.135,9.135,0,0,1-.24-1.48c-.02-.25-.03-.49-.03-.74a9.3777,9.3777,0,0,1,.08-1.19,4.2725,4.2725,0,0,0-.98.36,7.7038,7.7038,0,0,0-.42,1.94c-.02.22-.03.44-.03.67a7.2659,7.2659,0,0,0,.06.93,7.4258,7.4258,0,0,0,.37,1.63,6.4705,6.4705,0,0,0,.59,1.28A8.0174,8.0174,0,0,0,6.65,6.55.2522.2522,0,0,1,6.61,6.48ZM12.7,9.93s0-.01-.01,0a7.0128,7.0128,0,0,0-1.7-1.16c-.06.1-.11.19-.17.29a8.783,8.783,0,0,1-.88,1.22,8.9125,8.9125,0,0,1-1.06,1.07,10.4181,10.4181,0,0,1-1.38.98,8.9933,8.9933,0,0,1-2.64,1.02,6.2985,6.2985,0,0,0,5.28,0,5.9674,5.9674,0,0,0,2.42-1.89,4.8258,4.8258,0,0,0,.65-1.03A6.0315,6.0315,0,0,0,12.7,9.93Zm-5.17-2c-.01.01-.02.03-.03.04a9.26,9.26,0,0,1-1.25,1.4,9.5925,9.5925,0,0,1-1.19.91,9.2683,9.2683,0,0,1-2.62,1.18,6.0989,6.0989,0,0,0,.53.61,7.7353,7.7353,0,0,0,3.15-.72,7.3839,7.3839,0,0,0,1.38-.82A7.6429,7.6429,0,0,0,8.75,9.37a7.7441,7.7441,0,0,0,.82-1.15A7.3414,7.3414,0,0,0,7.53,7.93Z",warehouse:"M13.5,5c-0.0762,0.0003-0.1514-0.0168-0.22-0.05L7.5,2L1.72,4.93C1.4632,5.0515,1.1565,4.9418,1.035,4.685 S1.0232,4.1215,1.28,4L7.5,0.92L13.72,4c0.2761,0.0608,0.4508,0.3339,0.39,0.61C14.0492,4.8861,13.7761,5.0608,13.5,5z M5,10H2v3h3 V10z M9,10H6v3h3V10z M13,10h-3v3h3V10z M11,6H8v3h3V6z M7,6H4v3h3V6z","waste-basket":"M12.41,5.58l-1.34,8c-0.0433,0.2368-0.2493,0.4091-0.49,0.41H4.42c-0.2407-0.0009-0.4467-0.1732-0.49-0.41l-1.34-8 C2.5458,5.3074,2.731,5.0506,3.0035,5.0064C3.0288,5.0023,3.0544,5.0002,3.08,5h8.83c0.2761-0.0036,0.5028,0.2174,0.5064,0.4935 C12.4168,5.5225,12.4146,5.5514,12.41,5.58z M13,3.5C13,3.7761,12.7761,4,12.5,4h-10C2.2239,4,2,3.7761,2,3.5S2.2239,3,2.5,3H5V1.5 C5,1.2239,5.2239,1,5.5,1h4C9.7761,1,10,1.2239,10,1.5V3h2.5C12.7761,3,13,3.2239,13,3.5z M9,3V2H6v1H9z",watch:"M12.5,7H12a.426.426,0,0,0-.049.01A4.484,4.484,0,0,0,10,3.76V1.5A.5.5,0,0,0,9.5,1h-4a.5.5,0,0,0-.5.5V3.76a4.5,4.5,0,0,0,0,7.48V13.5a.5.5,0,0,0,.5.5h4a.5.5,0,0,0,.5-.5V11.24a4.486,4.486,0,0,0,1.951-3.25A.426.426,0,0,0,12,8h.5a.5.5,0,0,0,0-1Zm-5,4A3.5,3.5,0,1,1,11,7.5,3.5,3.5,0,0,1,7.5,11ZM9,7H8V5.5a.5.5,0,0,0-1,0v2a.5.5,0,0,0,.5.5H9A.5.5,0,0,0,9,7Z",water:"M7.5 14C9.57688 14 12 12.7117 12 9.43241C12 7.20724 8.53844 2.2883 7.5 1C6.57691 2.2883 3 7.09007 3 9.43241C3 12.7117 5.42312 14 7.5 14Z",waterfall:"M14 1H5C3.34315 1 2 2.34314 2 4V8.87918C1.39704 9.28261 1 9.96937 1 10.75C1 11.9927 2.00736 13 3.25 13C3.7127 13 4.14279 12.8599 4.5 12.6209C4.85721 12.8599 5.2873 13 5.75 13C6.28601 13 6.77826 12.812 7.16413 12.5H7.51743C8.01909 12.8165 8.61403 13 9.25 13C11.0449 13 12.5 11.5449 12.5 9.75002C12.5 8.39777 11.6747 7.23919 10.5 6.74934V5C10.5 3.89543 11.3954 3 12.5 3H14V1ZM11.5 9.75C11.5 10.9926 10.4926 12 9.25 12C8.71418 12 8.2221 11.8127 7.83567 11.5H6.75009C6.52204 11.8036 6.15895 12 5.75 12C5.34105 12 4.97796 11.8036 4.74991 11.5H4.25009C4.02204 11.8036 3.65895 12 3.25 12C2.55964 12 2 11.4404 2 10.75C2 10.1453 2.42944 9.64082 3 9.525V5.75C3 5.33579 3.33579 5 3.75 5C4.16421 5 4.5 5.33579 4.5 5.75V9C4.5 9.27614 4.72386 9.5 5 9.5C5.27614 9.5 5.5 9.27614 5.5 9V6.75C5.5 6.33579 5.83579 6 6.25 6C6.66421 6 7 6.33579 7 6.75V9C7 9.27614 7.22386 9.5 7.5 9.5C7.77614 9.5 8 9.27614 8 9V5.75C8 5.33579 8.33579 5 8.75 5C9.16421 5 9.5 5.33579 9.5 5.75V7.51373C10.625 7.63809 11.5 8.59186 11.5 9.75Z",watermill:"M2,10.2L4,9l2.5,1.5l1.4659-0.8788C7.6592,9.4698,7.3716,9.285,7.1231,9.0536l1.4131-1.4131 C8.7672,7.836,9.0557,7.9606,9.375,7.9874V9.224l0.25,0.1501V7.9874c0.3193-0.0268,0.6078-0.1514,0.8388-0.3469l1.4131,1.4131 c-0.4059,0.3781-0.9044,0.6492-1.4528,0.8003L11.5,10.5l0.6984-0.4191C13.2863,9.2595,14,7.9682,14,6.5C14,4.0147,11.9853,2,9.5,2 C8.1917,2,7.0241,2.5674,6.2018,3.4587L4.5,2L1,5h1V10.2z M12.0536,8.8769l-1.4131-1.4131c0.1954-0.231,0.3201-0.5196,0.3469-0.8388 h1.9999C12.956,7.4946,12.6089,8.2806,12.0536,8.8769z M12.9874,6.375h-1.9999c-0.0268-0.3193-0.1514-0.6078-0.3469-0.8388 l1.4131-1.4131C12.6089,4.7193,12.956,5.5054,12.9874,6.375z M9.625,3.0126c0.8696,0.0314,1.6557,0.3784,2.2519,0.9337 l-1.4131,1.4131c-0.231-0.1954-0.5196-0.32-0.8388-0.3468C9.625,5.0126,9.625,3.0126,9.625,3.0126z M9.375,3.0126v1.9999 C9.0558,5.0394,8.7672,5.164,8.5362,5.3594L7.1231,3.9463C7.7193,3.3911,8.5054,3.044,9.375,3.0126z M6.9464,4.1231l1.4131,1.4131 C8.164,5.7672,8.0394,6.0557,8.0126,6.375h-2C6.044,5.5054,6.3911,4.7193,6.9464,4.1231z M8.0126,6.625 c0.0268,0.3192,0.1515,0.6078,0.3469,0.8388L6.9464,8.8769C6.3911,8.2807,6.044,7.4946,6.0126,6.625H8.0126z M9.002,10L6.5,11.5 L4,10l-2.5,1.5V13L4,11.5L6.5,13l2.502-1.5L11.5,13l2.5-1.5V10l-2.5,1.5L9.002,10z",wetland:"M1.48,4.5C1.905,4.1467,2.4483,3.968,3,4c1.2273-0.0869,2.3154,0.7836,2.5,2l0.78,4.68c-0.6394-0.2893-1.3759-0.2709-2,0.05 L3.48,6C3.1874,5.1347,2.3926,4.5387,1.48,4.5z M7.48,11.24c0.3816-0.3076,0.825-0.5293,1.3-0.65L10,3 c0.2926-0.8653,1.0874-1.4613,2-1.5c-0.4198-0.3485-0.955-0.5269-1.5-0.5C9.2727,0.9131,8.1846,1.7836,8,3l-1.3,7.79 C6.9786,10.9052,7.2408,11.0565,7.48,11.24z M11.8,10.74L11.8,10.74c0.1565-0.1277,0.3238-0.2414,0.5-0.34L13,6 c0.2926-0.8653,1.0874-1.4613,2-1.5c-0.4198-0.3485-0.955-0.5269-1.5-0.5c-1.2273-0.0869-2.3154,0.7836-2.5,2l-0.67,4 C10.8731,10.123,11.3778,10.377,11.8,10.74z M14,12L14,12c-0.4346-0.01-0.8579,0.1394-1.19,0.42l-0.47,0.41 c-0.2847,0.2546-0.7153,0.2546-1,0c-0.15-0.12-0.29-0.26-0.44-0.39c-0.7076-0.5968-1.7424-0.5968-2.45,0 c-0.16,0.13-0.31,0.28-0.47,0.41c-0.2847,0.2546-0.7153,0.2546-1,0c-0.16-0.13-0.31-0.28-0.47-0.41 c-0.7059-0.5912-1.7341-0.5912-2.44,0c-0.15,0.13-0.29,0.27-0.44,0.39c-0.0892,0.0715-0.1909,0.1258-0.3,0.16 c-0.2922,0.0652-0.5969-0.0301-0.8-0.25c-0.2475-0.214-0.5117-0.4079-0.79-0.58C1.5336,12.0421,1.2974,11.9865,1.06,12H1 c-0.2761,0-0.5,0.2239-0.5,0.5S0.7239,13,1,13l0,0c0.246,0.0145,0.4762,0.126,0.64,0.31L2,13.57 c0.6717,0.55,1.6308,0.5747,2.33,0.06c0.19-0.14,0.36-0.32,0.55-0.47c0.2847-0.2546,0.7153-0.2546,1,0l0.39,0.35 c0.6937,0.6189,1.7322,0.6484,2.46,0.07c0.15-0.11,0.27-0.25,0.42-0.37c0.2976-0.3038,0.7851-0.3087,1.0889-0.0111 c0.0037,0.0037,0.0074,0.0074,0.0111,0.0111l0.39,0.35c0.4866,0.4124,1.1485,0.5516,1.76,0.37c0.3825-0.1036,0.7286-0.3113,1-0.6 c0.1549-0.1772,0.3674-0.294,0.6-0.33l0,0c0.2761,0,0.5-0.2239,0.5-0.5S14.2761,12,14,12z",wheelchair:"M12,1.5C12,2.3284,11.3284,3,10.5,3S9,2.3284,9,1.5S9.6716,0,10.5,0S12,0.6716,12,1.5z M2.82,4.87l1.74-1.71l1.85,1.29 L5.67,5.7c1.0747,0.3341,2.0207,0.9904,2.71,1.88l0.88-1.5c0.2295-0.4158,0.0785-0.939-0.3373-1.1685 C8.9218,4.911,8.9209,4.9105,8.92,4.91L8.3,4.54L4.79,2.1C4.5927,1.9594,4.3231,1.9805,4.15,2.15l-2,2 C1.9852,4.3716,2.0312,4.6848,2.2528,4.8496C2.4193,4.9735,2.645,4.9816,2.82,4.87z M8.13,10.94 c-0.0143,1.2308-0.5794,2.3904-1.54,3.16c-0.7118,0.5804-1.6016,0.8982-2.52,0.9C1.8261,15,0.0055,13.1839,0,10.94 c0.0023-0.9231,0.3238-1.8169,0.91-2.53c0.1868-0.232,0.398-0.4432,0.63-0.63c0.7131-0.5862,1.6069-0.9077,2.53-0.91 C6.3139,6.8755,8.13,8.6961,8.13,10.94z M6,12.21C6.7679,11.2051,6.5758,9.7679,5.5709,9C4.7501,8.3727,3.6109,8.3727,2.79,9 C2.5283,9.151,2.311,9.3683,2.16,9.63c-0.6923,1.0584-0.3956,2.4777,0.6628,3.17c0.7615,0.4981,1.7457,0.4981,2.5072,0 C5.5805,12.6365,5.8061,12.4378,6,12.21z M14.2,13.21l-2.49-5C11.5906,7.9251,11.3088,7.7425,11,7.75H8.51 c0.3293,0.4578,0.5856,0.9638,0.76,1.5h1.26l2.29,4.58c0.185,0.3728,0.6372,0.525,1.01,0.34c0.3728-0.185,0.525-0.6372,0.34-1.01 L14.2,13.21z",windmill:"M6,5L3.5,7.5l1,1L7,6V5.5L7.5,5L8,5.5V6l2.5,2.5l1-1L9,5H8.5L8,4.5L8.5,4H9l2.5-2.5l-1-1L8,3v0.5L7.5,4L7,3.5V3L4.5,0.5 l-1,1L6,4h0.5L7,4.5L6.5,5H6z M11.5,13h-1l-1-4l-2-2l-2,2l-1,4h-1C3.2239,13,3,13.2238,3,13.5C3,13.7761,3.2239,14,3.5,14h8 c0.2761,0,0.5-0.2239,0.5-0.5C12,13.2238,11.7761,13,11.5,13z M8,13H7v-1.5024C7,11.2228,7.2228,11,7.4976,11 C7.7751,11,8,11.2249,8,11.5024V13z",zoo:"M8.3879,3.8928C8.3879,3.8928,7.6818,5,7,5H4.5C3.8182,5,3.2016,5.4086,2.7273,5.8636L0.5,8C0.231,8.258,0.0072,8.7681,0,9 c-0.0156,0.5,0,1,0,1s1,0,1-1V8.5l1-1h0.5l0.158,0.2892c0,0-0.9535,1.8244-0.9535,3.5289C1.7046,12,2.3864,12,2.3864,12h0.6818 c0,0,0.3409,0,0-0.3409l-0.3409-0.3409C2.7273,10.6364,3.5002,9.6667,4,9c0,0,0.0168,1.1579,0,2c-0.008,0.4096,0.2721,1,0.6818,1 h0.6818c0,0,0.3409,0,0-0.3409l-0.3409-0.3409C4.7105,10.7495,5.5,8.5,5.5,8.5C6.7716,8.5,7,9,8.5,9l0.3636,2.3182 C8.975,12.0282,9.5,12,9.5,12H11c0.3409,0,0.9611-0.3115,0.3409-0.7736L11,11V9c1.2142-0.1722,2-1,2-2h1c0.3214,0,1,0,1-0.5v-1 l-1.7045-1.6818C12.5444,3.0772,12,2.5,11,2.5C9.5469,2.5,8.8636,3.0688,8.3879,3.8928z"},Ae=Object.keys(C1);function n5(e,t){const n=C1[e];n||console.warn(`[MakiIcon] Unknown icon: "${e}", falling back to "marker"`);const r=n??C1.marker??"",s=(t==null?void 0:t.size)??32,i=(t==null?void 0:t.fill)??"#333",a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" width="${s}" height="${s}"><path fill="${i}" d="${r}"/></svg>`;return`data:image/svg+xml,${encodeURIComponent(a)}`}function Ne(e,t){const n={};for(const r of e)n[r]=n5(r,t);return n}const Ee="M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z";function r5(e,t){const n=C1[e];n||console.warn(`[MakiIcon] Unknown icon: "${e}", falling back to "marker"`);const r=n??C1.marker??"",s=(t==null?void 0:t.size)??40,i=(t==null?void 0:t.fill)??"#2563eb",a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 40" width="${s}" height="${Math.round(s*1.25)}"><path d="${Ee}" fill="${i}" stroke="white" stroke-width="1.5"/>`+(r?`<svg x="8" y="8" viewBox="0 0 15 15" width="16" height="16"><path fill="white" d="${r}"/></svg>`:"")+"</svg>";return`data:image/svg+xml,${encodeURIComponent(a)}`}function o5(e,t){const n={};for(const r of e)n[r]=r5(r,t);return n}const E1={primary:{fill:"#2563eb",bg:"rgba(37, 99, 235, 0.2)",ring:"rgba(37, 99, 235, 0.2)"},success:{fill:"#00854d",bg:"rgba(0, 133, 77, 0.2)",ring:"rgba(0, 133, 77, 0.2)"},warning:{fill:"#943700",bg:"rgba(148, 55, 0, 0.2)",ring:"rgba(148, 55, 0, 0.2)"},error:{fill:"#ba1a1a",bg:"rgba(186, 26, 26, 0.2)",ring:"rgba(186, 26, 26, 0.2)"}};function _e(e){return typeof e=="string"&&/<[a-zA-Z][^>]*>/.test(e)}function h0({color:e="primary"}){const{fill:t}=E1[e];return o.jsxs("svg",{viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"aimapui-marker-pin",style:{width:32,height:40,display:"block",filter:"drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06))"},children:[o.jsx("path",{d:"M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z",fill:t,stroke:"white",strokeWidth:1.5}),o.jsx("circle",{cx:"16",cy:"16",r:"4",fill:"white"})]})}function Ie({icon:e,color:t="primary"}){const{fill:n}=E1[t],r=C1[e]??C1.marker??"";return o.jsxs("div",{className:"aimapui-marker-pin aimapui-marker-pin--icon",style:{position:"relative",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",width:32,height:40,filter:"drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06))"},children:[o.jsx("svg",{viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",inset:0,width:"100%",height:"100%"},children:o.jsx("path",{d:"M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z",fill:n,stroke:"white",strokeWidth:1.5})}),r&&o.jsx("svg",{viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",style:{position:"relative",zIndex:1,width:16,height:16,marginTop:8,fill:"white"},children:o.jsx("path",{d:r,style:{fill:"white"}})})]})}function Te({color:e="primary"}){const{fill:t,bg:n}=E1[e];return o.jsx("div",{className:"aimapui-marker-circle",style:{position:"relative",width:24,height:24,borderRadius:"50%",border:"1.5px solid white",boxShadow:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",display:"flex",alignItems:"center",justifyContent:"center",background:n,borderColor:t},children:o.jsx("div",{className:"aimapui-marker-circle__inner",style:{width:6,height:6,borderRadius:"50%",background:t}})})}function Re({color:e="primary"}){const{fill:t}=E1[e];return o.jsx("div",{className:"aimapui-marker-dot",style:{width:8,height:8,borderRadius:"50%",border:"1.5px solid white",boxShadow:"0 1px 3px rgba(0,0,0,0.3)",background:t}})}function Pe({text:e}){return o.jsx("div",{className:"aimapui-marker-label",style:{position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",fontSize:12,lineHeight:"16px",fontWeight:450,color:"#1d1d1f",whiteSpace:"nowrap",pointerEvents:"none",textShadow:"-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 0 2px #fff, 0 0 4px rgba(255,255,255,0.5)"},children:e})}const m0={center:"translate(-50%, -50%)",top:"translate(-50%, 0)",bottom:"translate(-50%, -100%)",left:"translate(0, -50%)",right:"translate(-100%, -50%)","top-left":"translate(0, 0)","top-right":"translate(-100%, 0)","bottom-left":"translate(0, -100%)","bottom-right":"translate(-100%, -100%)"},$e=[0,0];function Fe(e,t,n,r){let s;switch(e){case"pin":s=o.jsx(h0,{color:t});break;case"circle":s=o.jsx(Te,{color:t});break;case"icon":s=o.jsx(Ie,{icon:n||"marker",color:t});break;case"dot":s=o.jsx(Re,{color:t});break;default:s=o.jsx(h0,{color:t})}return r?o.jsxs("div",{style:{position:"relative",display:"inline-flex",flexDirection:"column",alignItems:"center"},children:[s,o.jsx(Pe,{text:r})]}):s}function b1({longitude:e,latitude:t,variant:n="pin",color:r="primary",icon:s,label:i,content:a,children:l,draggable:u=!1,className:d,overlayContainer:p,onClick:m,onMouseEnter:h,onMouseLeave:f,onDoubleClick:g,onDragEnd:v,onDragging:y,onDragStart:z,selected:M=!1,inactive:b=!1,anchor:j="bottom",offsets:S=$e,overflowHide:A=!0}){const C=a1(),Z=c.useRef(null),E=c.useRef(null),V=c.useRef({lng:e,lat:t}),_=c.useRef({width:0,height:0}),k=S[0]??0,w=S[1]??0,x=c.useRef(null),H=c.useRef(m);H.current=m;const T=c.useRef(h);T.current=h;const P=c.useRef(f);P.current=f;const W=c.useRef(g);W.current=g;const D=c.useRef(z);D.current=z;const U=c.useRef(y);U.current=y;const e1=c.useRef(v);e1.current=v;const R=c.useMemo(()=>{const L=["aimapui-marker"];return M&&L.push("aimapui-marker--selected"),b&&L.push("aimapui-marker--inactive"),L.push(`aimapui-marker--${r}`),d&&L.push(d),L.join(" ")},[M,b,r,d]),F=c.useMemo(()=>a||l||Fe(n,r,s,i),[a,l,n,r,s,i]),J=L=>{const N=Z.current;if(!N||!L)return;const{lng:Y,lat:I}=V.current;if(isNaN(Y)||isNaN(I))return;let q;try{q=L.lngLatToContainer([Y,I])}catch{return}if(!q||isNaN(q.x)||isNaN(q.y))return;const t1=q.x+k,i1=q.y-w,$=m0[j]||m0.bottom,O=Math.round(t1),X=Math.round(i1);if(N.style.left="0",N.style.top="0",N.style.transform=`translate3d(${O}px, ${X}px, 0) ${$}`,A){const{width:n1,height:o1}=_.current;N.style.visibility=t1<0||t1>n1||i1<0||i1>o1?"hidden":"visible"}};return c.useEffect(()=>{if(!C)return;let L=!1;const N=C.mapService;if(!N){console.error("[Marker] mapService not available");return}const Y=()=>{var O;const $=(O=N.getContainer)==null?void 0:O.call(N);$&&(_.current={width:$.scrollWidth||$.clientWidth||0,height:$.scrollHeight||$.clientHeight||0})},I=()=>{Z.current&&J(N)},q=($,O,X)=>{var n1;try{(n1=$==null?void 0:$.on)==null||n1.call($,O,X)}catch{}},t1=($,O,X)=>{var n1;try{(n1=$==null?void 0:$.off)==null||n1.call($,O,X)}catch{}};return Y(),q(N,"camerachange",I),q(N,"viewchange",I),q(C,"resize",Y),(async()=>{var v1;if(C.loaded||await new Promise(G=>{C.once("loaded",()=>G())}),L)return;const $=document.createElement("div");$.className=R,$.style.position="absolute",$.style.left="0",$.style.top="0",$.style.whiteSpace="nowrap",$.style.pointerEvents="auto",Z.current=$;const O=p??((v1=N.getMarkerContainer)==null?void 0:v1.call(N));if(O)O.appendChild($);else{console.error("[Marker] getMarkerContainer not available");return}J(N);let X=!1,n1={lng:0,lat:0};const o1=G=>{var u1;if(!u)return;X=!0,N.setMapStatus({dragEnable:!1,zoomEnable:!1});const K=N.getContainer(),B=(u1=K==null?void 0:K.getClientRects())==null?void 0:u1[0];if(B){const d1=B.left,y1=B.top,x1=G.x||G.clientX,L5=G.y||G.clientY;n1=N.containerToLngLat([x1-d1,L5-y1])}N.on("mousemove",r1),document.addEventListener("mouseup",s1),D.current&&D.current(V.current.lng,V.current.lat)},r1=G=>{if(!X)return;const K=G.lngLat||G.lnglat,{lng:B,lat:u1}=n1,{lng:d1,lat:y1}=K,x1={lng:V.current.lng+d1-B,lat:V.current.lat+y1-u1};V.current=x1,n1=K,J(N),U.current&&U.current(x1.lng,x1.lat)},s1=()=>{X&&(X=!1,N.setMapStatus({dragEnable:!0,zoomEnable:!0}),N.off("mousemove",r1),document.removeEventListener("mouseup",s1),e1.current&&e1.current(V.current.lng,V.current.lat))};$.addEventListener("click",(G=>{var K;return(K=H.current)==null?void 0:K.call(H,G)})),$.addEventListener("mouseenter",(G=>{var K;return(K=T.current)==null?void 0:K.call(T,G)})),$.addEventListener("mouseleave",(G=>{var K;return(K=P.current)==null?void 0:K.call(P,G)})),$.addEventListener("dblclick",(G=>{var K;return(K=W.current)==null?void 0:K.call(W,G)})),u&&$.addEventListener("mousedown",o1),x.current={updatePosition:I,handleDragStart:o1,handleDragMove:r1,handleDragEnd:s1}})(),()=>{if(L=!0,t1(N,"camerachange",I),t1(N,"viewchange",I),t1(C,"resize",Y),x.current&&u&&N.setMapStatus({dragEnable:!0,zoomEnable:!0}),Z.current){const O=E.current,X=Z.current;E.current=null,Z.current=null,queueMicrotask(()=>{O&&O.unmount(),X.parentNode&&X.parentNode.removeChild(X)})}x.current=null}},[C,j,k,w,A,u,p]),c.useEffect(()=>{if(!Z.current)return;const L=Z.current;_e(F)?L.innerHTML=F:(E.current||(E.current=k5.createRoot(L)),E.current.render(o.jsx(o.Fragment,{children:F})))},[F]),c.useEffect(()=>{Z.current&&(Z.current.className=R)},[R]),c.useEffect(()=>{if(V.current={lng:e,lat:t},C&&Z.current){const L=C.mapService;L&&J(L)}},[e,t,C]),null}function s5({interactions:e}){const t=a1(),[n,r]=c.useState(null);c.useEffect(()=>{if(!t)return;const a=()=>{try{const u=t.mapService;if(u&&typeof u.getMarkerContainer=="function"){const d=u.getMarkerContainer();if(d){r(d);return}}}catch{}const l=setTimeout(()=>{try{const u=t.mapService;if(u&&typeof u.getMarkerContainer=="function"){const d=u.getMarkerContainer();d&&r(d)}}catch{}},100);return()=>clearTimeout(l)};return t.loaded?a():(t.on("loaded",a),()=>{t.off("loaded",a)})},[t]);const s=e.filter(a=>a.type==="marker"),i=e.filter(a=>a.type==="popup");return o.jsxs(o.Fragment,{children:[n&&s.map((a,l)=>o.jsx(b1,{...a,overlayContainer:n},`marker-${l}`)),n&&i.map((a,l)=>o.jsx(V1,{...a,overlayContainer:n},`popup-${l}`))]})}function o0({title:e,labels:t,colors:n,swatchShape:r="square",grid:s=!1,className:i,interaction:a}){const[l,u]=c.useState(-1),[d,p]=c.useState(new Set),m=g=>{var v;u(g),(v=a==null?void 0:a.onHover)==null||v.call(a,g)},h=()=>{var g;u(-1),(g=a==null?void 0:a.onHover)==null||g.call(a,-1)},f=g=>{var v;p(y=>{const z=new Set(y);return z.has(g)?z.delete(g):z.add(g),z}),(v=a==null?void 0:a.onToggle)==null||v.call(a,g)};return o.jsxs("div",{className:Q(i),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsx("div",{className:Q("flex flex-col gap-1",s&&"grid grid-cols-2 gap-x-3 gap-y-1"),children:t.map((g,v)=>{const y=l>=0?l!==v:d.has(v);return o.jsxs("div",{className:Q("flex items-center gap-2 rounded px-1 py-0.5 cursor-pointer select-none transition-[background,opacity] duration-150 hover:bg-primary/[0.06]",y&&"opacity-35"),onMouseEnter:()=>m(v),onMouseLeave:h,onClick:()=>f(v),children:[o.jsx("span",{className:Q("size-3 shrink-0 rounded-sm shadow-[inset_0_0_0_1px_rgba(0,0,0,0.08)] transition-opacity duration-150",r==="circle"&&"rounded-full"),style:{backgroundColor:n[v]??"#ccc"}}),o.jsx("span",{className:"text-xs leading-4 text-on-surface truncate",children:g})]},v)})})]})}function s0({title:e,labels:t,colors:n,isContinuous:r=!1,showTicks:s=!1,brushable:i=!1,className:a,interaction:l}){const[u,d]=c.useState([0,100]),p=c.useRef(null),m=n.join(", "),h=c.useCallback(f=>g=>{g.stopPropagation(),g.preventDefault();const v=p.current;if(!v)return;const y=v.getBoundingClientRect().width,z=b=>{const j=v.getBoundingClientRect(),S=b.clientX-j.left,A=Math.max(0,Math.min(100,S/y*100));d(C=>{var E;let Z;return f==="left"?Z=[Math.min(A,C[1]-5),C[1]]:Z=[C[0],Math.max(A,C[0]+5)],(E=l==null?void 0:l.onBrush)==null||E.call(l,Z),Z})},M=()=>{document.removeEventListener("mousemove",z),document.removeEventListener("mouseup",M)};document.addEventListener("mousemove",z),document.addEventListener("mouseup",M)},[l,p]);return o.jsxs("div",{className:Q(a),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsxs("div",{className:"flex flex-col gap-1",ref:p,children:[o.jsx("div",{className:Q("flex h-3 rounded overflow-hidden shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",r&&"bg-[length:100%_100%]"),style:r?{background:`linear-gradient(to right, ${m})`}:void 0,children:!r&&n.map((f,g)=>o.jsx("div",{className:"flex-1 relative",style:{backgroundColor:f}},g))}),s&&o.jsx("div",{className:"flex justify-between h-1.5 mt-0.5",children:n.map((f,g)=>g===0?null:o.jsx("div",{className:"w-px h-full bg-outline-variant",style:{position:"absolute",left:`${g/(n.length-1)*100}%`}},g))}),o.jsxs("div",{className:"flex justify-between font-mono text-[11px] leading-3.5 font-[450] text-on-surface-variant",children:[o.jsx("span",{children:t[0]}),t.length>2&&o.jsx("span",{children:t[Math.floor(t.length/2)]}),o.jsx("span",{children:t[t.length-1]})]}),i&&o.jsxs("div",{className:"relative h-3 mt-1 cursor-ew-resize",children:[o.jsx("div",{className:"absolute top-0 h-full border-2 border-primary rounded-sm bg-primary/10 pointer-events-none",style:{left:`${u[0]}%`,width:`${u[1]-u[0]}%`}}),o.jsx("div",{className:"absolute top-1/2 w-2 h-4 bg-primary rounded-sm -translate-x-1/2 -translate-y-1/2 cursor-ew-resize shadow-sm hover:shadow-md hover:shadow-primary/30 transition-shadow duration-150",style:{left:`${u[0]}%`},onMouseDown:h("left")}),o.jsx("div",{className:"absolute top-1/2 w-2 h-4 bg-primary rounded-sm -translate-x-1/2 -translate-y-1/2 cursor-ew-resize shadow-sm hover:shadow-md hover:shadow-primary/30 transition-shadow duration-150",style:{left:`${u[1]}%`},onMouseDown:h("right")})]})]})]})}function a0({title:e,colors:t,labels:n,middleLabel:r,className:s}){const i=t.join(", ");return o.jsxs("div",{className:Q(s),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsxs("div",{className:"flex flex-col gap-1",children:[o.jsxs("div",{style:{position:"relative"},children:[o.jsx("div",{className:"flex h-3 rounded overflow-hidden shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{background:`linear-gradient(to right, ${i})`}}),o.jsx("div",{style:{position:"absolute",top:-4,left:"50%",transform:"translateX(-50%)",width:1,height:20,background:"var(--color-outline-variant, #c3c6d7)"}}),r&&o.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 -bottom-[18px] font-mono text-[11px] text-on-surface-variant whitespace-nowrap",children:r})]}),o.jsxs("div",{className:"flex justify-between font-mono text-[11px] leading-3.5 font-[450] text-on-surface-variant",style:r?{marginBottom:12}:void 0,children:[o.jsx("span",{children:n[0]}),o.jsx("span",{children:n[1]})]})]})]})}function i0({title:e,ranges:t,colors:n,className:r,interaction:s}){const[i,a]=c.useState(-1),[l,u]=c.useState(new Set),d=h=>{var f;a(h),(f=s==null?void 0:s.onHover)==null||f.call(s,h)},p=()=>{var h;a(-1),(h=s==null?void 0:s.onHover)==null||h.call(s,-1)},m=h=>{var f;u(g=>{const v=new Set(g);return v.has(h)?v.delete(h):v.add(h),v}),(f=s==null?void 0:s.onToggle)==null||f.call(s,h)};return o.jsxs("div",{className:Q(r),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsx("div",{className:"flex flex-col gap-1.5",children:t.map(([h,f],g)=>{const v=i>=0?i!==g:l.has(g);return o.jsxs("div",{className:Q("flex items-center gap-2 cursor-pointer select-none transition-opacity duration-150 hover:opacity-80",v&&"opacity-35"),onMouseEnter:()=>d(g),onMouseLeave:p,onClick:()=>m(g),children:[o.jsx("span",{className:"w-6 h-3 shrink-0 rounded-sm shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{backgroundColor:n[g]??"#ccc"}}),o.jsxs("span",{className:"font-mono text-[11px] leading-3.5 text-on-surface-variant",children:["[",h,", ",f,")"]})]},g)})})]})}function l0({title:e,fillColor:t="#4A90D9",items:n,className:r}){const s=Math.max(...n.map(i=>i.size),1);return o.jsxs("div",{className:Q(r),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsxs("div",{className:"flex flex-col gap-2",children:[o.jsx("div",{className:"flex items-end gap-2 px-1",children:n.map((i,a)=>o.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-end",height:s},children:o.jsx("div",{className:"rounded-full shrink-0 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{width:i.size,height:i.size,backgroundColor:t,opacity:.85}})},a))}),o.jsx("div",{className:"flex items-end gap-2 mt-1",children:n.map((i,a)=>o.jsx("span",{className:"font-mono text-[11px] leading-3.5 text-on-surface-variant whitespace-nowrap",children:i.label},a))})]})]})}function c0({title:e,color:t="#4A90D9",items:n,className:r,interaction:s}){const[i,a]=c.useState(-1),[l,u]=c.useState(new Set),d=h=>{var f;a(h),(f=s==null?void 0:s.onHover)==null||f.call(s,h)},p=()=>{var h;a(-1),(h=s==null?void 0:s.onHover)==null||h.call(s,-1)},m=h=>{var f;u(g=>{const v=new Set(g);return v.has(h)?v.delete(h):v.add(h),v}),(f=s==null?void 0:s.onToggle)==null||f.call(s,h)};return o.jsxs("div",{className:Q(r),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsx("div",{className:"flex flex-col gap-1.5",children:n.map((h,f)=>{const g=i>=0?i!==f:l.has(f);return o.jsxs("div",{className:Q("flex items-center gap-2.5 py-0.5 cursor-pointer select-none transition-opacity duration-150 hover:opacity-80",g&&"opacity-35"),onMouseEnter:()=>d(f),onMouseLeave:p,onClick:()=>m(f),children:[o.jsx("div",{className:"w-7 shrink-0 rounded-full shadow-[0_0_0_1px_rgba(0,0,0,0.06)]",style:{height:h.width,backgroundColor:t,opacity:.85}}),o.jsx("span",{className:"text-xs leading-4 text-on-surface whitespace-nowrap",children:h.label})]},f)})})]})}function u0({title:e,labels:t,fillColor:n="#4A90D9",className:r}){return o.jsxs("div",{className:Q(r),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsxs("div",{className:"flex flex-col gap-2",children:[o.jsx("div",{className:"flex items-end gap-2 px-1",children:t.map(([a,l],u)=>{const p=6+u/Math.max(t.length-1,1)*18;return o.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-end",height:24},children:o.jsx("div",{className:"rounded-full shrink-0 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{width:p,height:p,backgroundColor:n,opacity:.85}})},u)})}),o.jsx("div",{className:"flex items-end gap-2 mt-1",children:t.map(([a,l],u)=>o.jsxs("span",{className:"font-mono text-[11px] leading-3.5 text-on-surface-variant whitespace-nowrap",children:[a,"–",l]},u))})]})]})}function g0(e){return/^(https?:|\/\/|data:)/i.test(e)}function d0({title:e,items:t,className:n,interaction:r}){const[s,i]=c.useState(-1),[a,l]=c.useState(new Set),u=m=>{var h;i(m),(h=r==null?void 0:r.onHover)==null||h.call(r,m)},d=()=>{var m;i(-1),(m=r==null?void 0:r.onHover)==null||m.call(r,-1)},p=m=>{var h;l(f=>{const g=new Set(f);return g.has(m)?g.delete(m):g.add(m),g}),(h=r==null?void 0:r.onToggle)==null||h.call(r,m)};return o.jsxs("div",{className:Q(n),children:[e&&o.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),o.jsx("div",{className:"flex flex-col gap-1",children:t.map((m,h)=>{const f=s>=0?s!==h:a.has(h);return o.jsxs("div",{className:Q("flex items-center gap-2 px-1 py-0.5 rounded cursor-pointer select-none transition-[background,opacity] duration-150 hover:bg-primary/[0.06]",f&&"opacity-35"),onMouseEnter:()=>u(h),onMouseLeave:d,onClick:()=>p(h),children:[g0(m.icon)?o.jsx("img",{src:m.icon,alt:m.label,className:"size-5 object-contain shrink-0",onError:g=>{const v=g.target;v.style.display="none";const y=v.nextElementSibling;y&&(y.style.display="flex")}}):o.jsx("span",{className:"size-5 flex items-center justify-center shrink-0 text-base leading-none",children:m.icon}),g0(m.icon)&&o.jsx("span",{className:"size-5 hidden items-center justify-center shrink-0 text-base leading-none text-on-surface-variant",children:"□"}),o.jsx("span",{className:"text-xs leading-4 text-on-surface",children:m.label})]},h)})})]})}function a5({legends:e,className:t,style:n,interaction:r}){return e.length?o.jsx("div",{className:Q("absolute z-20 bottom-6 left-6 max-h-[40%] overflow-y-auto rounded-xl border border-outline-variant/30 bg-surface/80 backdrop-blur-md p-3 px-3.5 text-on-surface shadow-lg scrollbar-thin scrollbar-track-transparent scrollbar-thumb-outline-variant",t),style:n,children:o.jsx("div",{className:"flex flex-col gap-4 [&>*+*]:border-t [&>*+*]:border-outline-variant/20 [&>*+*]:pt-4",children:e.map((s,i)=>o.jsx(Oe,{legend:s,interaction:r},`legend-${i}`))})}):null}function Oe({legend:e,interaction:t}){switch(e.type){case"categories":return o.jsx(o0,{...e,interaction:t});case"ramp":return o.jsx(s0,{...e,interaction:t});case"diverging":return o.jsx(a0,{...e,interaction:t});case"threshold":return o.jsx(i0,{...e,interaction:t});case"size":return o.jsx(l0,{...e,interaction:t});case"lineWidth":return o.jsx(c0,{...e,interaction:t});case"proportion":return o.jsx(u0,{...e,interaction:t});case"icon":return o.jsx(d0,{...e,interaction:t});default:return null}}const i5=c.createContext({isMobile:!1,breakpoint:768,width:typeof window<"u"?window.innerWidth:1024,schema:void 0});function De({responsive:e,children:t}){const[n,r]=c.useState(typeof window<"u"?window.innerWidth:1024);c.useEffect(()=>{const l=()=>r(window.innerWidth);return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)},[]);const s=(e==null?void 0:e.breakpoint)??768,i=n<s,a=c.useMemo(()=>({isMobile:i,breakpoint:s,width:n,schema:e}),[i,s,n,e]);return o.jsx(i5.Provider,{value:a,children:t})}function l5(){return c.useContext(i5)}function c5({config:e,className:t}){const n=a1(),{items:r,position:s="bottom"}=e,i=u=>{switch(u){case"zoomIn":n==null||n.zoomIn();break;case"zoomOut":n==null||n.zoomOut();break;case"locate":navigator.geolocation&&navigator.geolocation.getCurrentPosition(d=>{n==null||n.setCenter([d.coords.longitude,d.coords.latitude]),n==null||n.setZoom(14)});break;case"reset":n==null||n.setCenter([105,35]),n==null||n.setZoom(4);break}},a={zoomIn:o.jsx("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:o.jsx("path",{d:"M12 5v14m-7-7h14"})}),zoomOut:o.jsx("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:o.jsx("path",{d:"M5 12h14"})}),locate:o.jsxs("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:[o.jsx("circle",{cx:"12",cy:"12",r:"3"}),o.jsx("path",{d:"M12 2v4m0 12v4m10-10h-4M6 12H2"})]}),reset:o.jsxs("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:[o.jsx("path",{d:"M3 12a9 9 0 1 1 3.3 6.9"}),o.jsx("path",{d:"M3 22v-7h7"})]}),layers:o.jsx("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:o.jsx("path",{d:"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"})})},l={zoomIn:"放大",zoomOut:"缩小",locate:"定位",reset:"复位",layers:"图层"};return o.jsx("div",{className:Q("aimapui-mobile-toolbar pointer-events-none",s==="bottom"?"aimapui-mobile-toolbar--bottom":"aimapui-mobile-toolbar--top",t),children:o.jsx("div",{className:"aimapui-mobile-toolbar__bar pointer-events-auto",children:r.map((u,d)=>o.jsxs("button",{onClick:()=>i(u),className:"aimapui-mobile-toolbar__button group",style:{background:"none",border:"none",cursor:"pointer"},"aria-label":l[u]??u,title:l[u]??u,children:[o.jsx("span",{className:"aimapui-mobile-toolbar__icon",children:a[u]}),o.jsx("span",{className:"aimapui-mobile-toolbar__label",children:l[u]??u})]},`${u}-${d}`))})})}function u5({legends:e,className:t,interaction:n}){const[r,s]=c.useState(!1);return e.length?o.jsx("div",{className:Q("aimapui-mobile-sheet-legend",t),children:o.jsxs("div",{className:"aimapui-mobile-sheet-legend__panel",children:[o.jsx("div",{className:"aimapui-mobile-sheet-legend__handle","aria-hidden":"true"}),o.jsxs("button",{onClick:()=>s(!r),className:"aimapui-mobile-sheet-legend__toggle",style:{background:"none",border:"none",cursor:"pointer"},children:[o.jsxs("span",{className:"aimapui-mobile-sheet-legend__toggle-copy",children:[o.jsx("span",{className:"aimapui-mobile-sheet-legend__eyebrow",children:"Legend Panel"}),o.jsxs("span",{className:"aimapui-mobile-sheet-legend__title-row",children:[o.jsx("span",{className:"aimapui-mobile-sheet-legend__title",children:"图例"}),o.jsxs("span",{className:"aimapui-mobile-sheet-legend__badge",children:[e.length," 项"]})]})]}),o.jsx("span",{className:"aimapui-mobile-sheet-legend__chevron-shell","aria-hidden":"true",children:o.jsx("svg",{viewBox:"0 0 24 24",className:Q("aimapui-mobile-sheet-legend__chevron",r&&"aimapui-mobile-sheet-legend__chevron--expanded"),fill:"none",stroke:"currentColor",strokeWidth:2,children:o.jsx("path",{d:"M6 9l6 6 6-6"})})})]}),o.jsx("div",{className:Q("aimapui-mobile-sheet-legend__content custom-scrollbar",r?"aimapui-mobile-sheet-legend__content--expanded":"aimapui-mobile-sheet-legend__content--collapsed"),children:e.map((i,a)=>o.jsx("div",{className:"aimapui-mobile-sheet-legend__section",children:o.jsx(Be,{legend:i,interaction:n})},`mobile-legend-${a}`))})]})}):null}function Be({legend:e,interaction:t}){switch(e.type){case"categories":return o.jsx(o0,{...e,interaction:t});case"ramp":return o.jsx(s0,{...e,interaction:t});case"diverging":return o.jsx(a0,{...e,interaction:t});case"threshold":return o.jsx(i0,{...e,interaction:t});case"size":return o.jsx(l0,{...e,interaction:t});case"lineWidth":return o.jsx(c0,{...e,interaction:t});case"proportion":return o.jsx(u0,{...e,interaction:t});case"icon":return o.jsx(d0,{...e,interaction:t});default:return null}}function qe({map:e,schema:t,theme:n="light",onSceneReady:r,onLayerClick:s,onLayerMouseMove:i,onLayerMouseEnter:a,onLayerMouseLeave:l,onMapMove:u,onMapZoom:d,autoFit:p,events:m,children:h,className:f,style:g}){const v=c.useRef(null),y=c.useMemo(()=>t?D1(Z0(t)):{map:We(e??{basemap:"gaode"}),layers:[],controls:[],interactions:[],legends:[]},[t,e]),z=!t&&!!e,M=c.useMemo(()=>({onClick:s,onMouseMove:i,onMouseEnter:a,onMouseLeave:l}),[s,i,a,l]),b=c.useMemo(()=>({onMove:u,onZoom:d}),[u,d]),j=c.useCallback(S=>{r==null||r(S)},[r]);return o.jsx(P0,{defaultTheme:n,target:"container",children:o.jsx(N0,{schema:y,children:o.jsx(T0,{events:m,children:o.jsx(D5,{responsive:y.responsive,children:o.jsx(Ge,{schema:y,isComposableMode:z,autoFit:p,onSceneReady:j,layerEventHandlers:M,mapEventHandlers:b,containerRef:v,className:f,style:g,children:h})})})})})}function Ue(){const e=a1();return c.useEffect(()=>{if(!e)return;let t=!1,n=null,r=null;const s=new Set,i=()=>{var y,z;if(t)return;const p=((y=e.getLayers)==null?void 0:y.call(e))??[];if(p.length===0)return;let m=1/0,h=1/0,f=-1/0,g=-1/0,v=!1;for(const M of p)try{const b=(z=M.getSource)==null?void 0:z.call(M),j=b==null?void 0:b.extent;if(!j||!Array.isArray(j)||j.length<4)continue;const[S,A,C,Z]=j;if(!isFinite(S)||!isFinite(A)||!isFinite(C)||!isFinite(Z)||S>=C||A>=Z)continue;m=Math.min(m,S),h=Math.min(h,A),f=Math.max(f,C),g=Math.max(g,Z),v=!0}catch{}if(!(!v||m>=f||h>=g))try{e.fitBounds([[m,h],[f,g]]),t=!0}catch{}},a=()=>{t||(n&&clearTimeout(n),n=setTimeout(i,200))};let l=0;const u=50,d=()=>{var m;if(t)return;l+=1;const p=((m=e.getLayers)==null?void 0:m.call(e))??[];for(const h of p)s.has(h)||(s.add(h),h.inited&&a(),typeof h.on=="function"&&h.on("inited",a));!t&&l<u&&(r=setTimeout(d,100))};return r=setTimeout(d,100),()=>{n&&clearTimeout(n),r&&clearTimeout(r)}},[e]),null}function We(e){return{basemap:e.basemap??"gaode",token:e.token,style:e.style,center:e.center??[105,35],zoom:e.zoom??4,pitch:e.pitch??0,rotation:e.rotation??0,minZoom:e.minZoom,maxZoom:e.maxZoom,bounds:e.bounds,gestureConfig:e.gestureConfig}}function Ge({schema:e,isComposableMode:t,autoFit:n,onSceneReady:r,layerEventHandlers:s,mapEventHandlers:i,containerRef:a,className:l,style:u,children:d}){var y,z;const{isMobile:p}=l5(),[m,h]=c.useState(e.layers??[]),f=c.useMemo(()=>{var b,j;if(t||!p||!((j=(b=e.responsive)==null?void 0:b.mobile)!=null&&j.layers))return e.layers;const M=e.responsive.mobile.layers;if("*"in M){const S=M["*"];return e.layers.map(A=>({...A,...S,id:A.id}))}return e.layers.map(S=>S.id&&M[S.id]?{...S,...M[S.id],id:S.id}:S)},[e.layers,e.responsive,p,t]),g=c.useMemo(()=>{var j,S;const M=e.controls??[];if(!p||!((S=(j=e.responsive)==null?void 0:j.mobile)!=null&&S.controls))return M;const b=e.responsive.mobile.controls;return b.hide?M.filter(A=>!b.hide.includes(A.type)):M},[e.controls,e.responsive,p]),v=c.useCallback((M,b)=>{h(j=>j.map(S=>S.id===M?{...S,visible:b}:S))},[]);return o.jsx("div",{ref:a,className:l??"aimapui-container",style:u??{width:"100%",height:"100%"},children:o.jsxs(B0,{mapSchema:e.map,onSceneReady:r,mapEventHandlers:i,events:e.events,style:{width:"100%",height:"100%"},children:[n&&o.jsx(Ue,{}),!t&&f.length>0&&o.jsx(Q0,{layers:f,eventHandlers:s}),!t&&o.jsx(t5,{controls:g,layers:f,onLayerToggle:v,containerRef:a}),!t&&e.interactions&&e.interactions.length>0&&o.jsx(s5,{interactions:e.interactions}),!t&&(p?e.legends&&e.legends.length>0&&o.jsx(u5,{legends:e.legends}):o.jsx(a5,{legends:e.legends??[]})),!t&&p&&((z=(y=e.responsive)==null?void 0:y.mobile)==null?void 0:z.toolbar)&&o.jsx(c5,{config:e.responsive.mobile.toolbar}),t?o.jsx(Je,{children:d}):null]})})}function Je({children:e}){const{controls:t,others:n}=c.useMemo(()=>{const r=[],s=[];return c.Children.forEach(e,(i,a)=>{c.isValidElement(i)&&c1.check(i)?r.push(i):s.push(i)}),{controls:r,others:s}},[e]);return o.jsxs(o.Fragment,{children:[t.length>0&&o.jsx(J1,{children:t}),n]})}function z1(e,t){if(e===t)return!1;if(e==null||t==null||typeof e!=typeof t||typeof e!="object")return!0;try{return JSON.stringify(e)!==JSON.stringify(t)}catch{return!0}}function Ye(e,t){const n=z1(e.map,t.map),r=new Map;(e.layers??[]).forEach(y=>{y.id&&r.set(y.id,y)});const s=new Map;(t.layers??[]).forEach(y=>{y.id&&s.set(y.id,y)});const i=[],a=[],l=[];(t.layers??[]).forEach((y,z)=>{const M=y.id??`__index_${z}`;if(!r.has(M))i.push(y);else{const b=r.get(M);z1(b,y)&&l.push({id:M,prev:b,next:y})}}),(e.layers??[]).forEach((y,z)=>{const M=y.id??`__index_${z}`;s.has(M)||a.push(M)});const u=e.controls??[],d=t.controls??[],p=[],m=[],h=[],f=Math.max(u.length,d.length);for(let y=0;y<f;y++)y>=u.length?p.push(d[y]):y>=d.length?m.push(u[y]):z1(u[y],d[y])&&h.push({index:y,prev:u[y],next:d[y]});const g=z1(e.interactions,t.interactions),v=z1(e.legends,t.legends);return{mapChanged:n,layersAdded:i,layersRemoved:a,layersUpdated:l,controlsAdded:p,controlsRemoved:m,controlsUpdated:h,interactionsChanged:g,legendsChanged:v}}function Ke(e){const t=[];return e.map?t.push(...Xe(e.map)):t.push({path:"map",message:"map is required",severity:"error"}),!e.layers||!Array.isArray(e.layers)?t.push({path:"layers",message:"layers must be an array",severity:"error"}):e.layers.forEach((n,r)=>{t.push(...Qe(n,r))}),e.controls&&(Array.isArray(e.controls)?e.controls.forEach((n,r)=>{n.type||t.push({path:`controls[${r}].type`,message:"control type is required",severity:"error"})}):t.push({path:"controls",message:"controls must be an array",severity:"error"})),e.interactions&&(Array.isArray(e.interactions)?e.interactions.forEach((n,r)=>{(n.type==="marker"||n.type==="popup")&&(typeof n.longitude!="number"||typeof n.latitude!="number")&&t.push({path:`interactions[${r}]`,message:"marker/popup requires longitude and latitude as numbers",severity:"error"})}):t.push({path:"interactions",message:"interactions must be an array",severity:"error"})),e.legends&&(Array.isArray(e.legends)?e.legends.forEach((n,r)=>{n.type||t.push({path:`legends[${r}].type`,message:"legend type is required",severity:"error"})}):t.push({path:"legends",message:"legends must be an array",severity:"error"})),t}function Xe(e){const t=[],n=["gaode","mapbox","maplibre","tianditu","tencent","baidu","google","map"];if(n.includes(e.basemap)||t.push({path:"map.basemap",message:`Invalid basemap "${e.basemap}". Valid values: ${n.join(", ")}`,severity:"error"}),e.center){const[r,s]=e.center;(r<-180||r>180)&&t.push({path:"map.center[0]",message:"Longitude must be between -180 and 180",severity:"error"}),(s<-90||s>90)&&t.push({path:"map.center[1]",message:"Latitude must be between -90 and 90",severity:"error"})}return e.zoom!==void 0&&(e.zoom<0||e.zoom>22)&&t.push({path:"map.zoom",message:"Zoom must be between 0 and 22",severity:"warning"}),["gaode","mapbox","tianditu","tencent","baidu","google"].includes(e.basemap)&&!e.token&&t.push({path:"map.token",message:`basemap "${e.basemap}" requires a token`,severity:"warning"}),t}function Qe(e,t){const n=[],r=`layers[${t}]`,s=["point","line","polygon","heatmap","raster","image"];return e.type?s.includes(e.type)||n.push({path:`${r}.type`,message:`Invalid layer type "${e.type}". Valid values: ${s.join(", ")}`,severity:"error"}):n.push({path:`${r}.type`,message:"layer type is required",severity:"error"}),e.source===void 0&&e.source,e.colorField&&!e.colorValues&&!e.color&&n.push({path:`${r}.colorValues`,message:"colorField is set but colorValues is not. L7 will use default scale.",severity:"warning"}),e.sizeField&&!e.sizeValues&&e.size===void 0&&n.push({path:`${r}.sizeValues`,message:"sizeField is set but sizeValues is not. L7 will use default scale.",severity:"warning"}),n}const e2={$schema:"http://json-schema.org/draft-07/schema#",title:"AiMapSchema",description:"Schema-driven React map visualization component configuration",type:"object",required:["map","layers"],properties:{map:{type:"object",required:["basemap"],properties:{basemap:{type:"string",enum:["gaode","mapbox","maplibre","tianditu","tencent","baidu","google","map"],description:"Map base tile provider"},token:{type:"string",description:"API token for the map service"},style:{type:"string",description:"Map style preset (light/dark/normal/darkblue/satellite) or custom URL"},center:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"Map center [longitude, latitude], default [105, 35]"},zoom:{type:"number",description:"Map zoom level, default 4"},pitch:{type:"number",description:"Map pitch in degrees, default 0"},rotation:{type:"number",description:"Map rotation in degrees, default 0"},minZoom:{type:"number",description:"Minimum zoom level"},maxZoom:{type:"number",description:"Maximum zoom level"},bounds:{type:"array",items:{type:"array",items:{type:"number"},minItems:2,maxItems:2},minItems:2,maxItems:2,description:"Initial bounds [[swLng, swLat], [neLng, neLat]]"},gestureConfig:{type:"object",properties:{dragPan:{type:"boolean"},pinchZoom:{type:"boolean"},dragRotate:{type:"boolean"}}}}},layers:{type:"array",description:"Array of map layers",items:{type:"object",required:["type","source"],properties:{id:{type:"string",description:"Unique layer ID (auto-generated if omitted)"},type:{type:"string",enum:["point","line","polygon","heatmap","raster","image"],description:"Layer visualization type"},name:{type:"string",description:"Human-readable layer name"},visible:{type:"boolean",default:!0},zIndex:{type:"number",default:0},minZoom:{type:"number"},maxZoom:{type:"number"},autoFit:{type:"boolean",default:!1},source:{description:"GeoJSON, JSON array, or URL string"},sourceType:{type:"string",enum:["geojson","json","csv"]},sourceConfig:{type:"object",properties:{x:{type:"string",description:"Longitude field name"},y:{type:"string",description:"Latitude field name"},x1:{type:"string",description:"End longitude field (for arc lines)"},y1:{type:"string",description:"End latitude field (for arc lines)"},coordinates:{type:"string",description:"Coordinates field"}}},color:{type:"string",description:"Fixed color"},colorField:{type:"string",description:"Field to map color to"},colorValues:{oneOf:[{type:"string",description:"Color palette name"},{type:"array",items:{type:"string"},description:"Array of color values"}]},size:{type:"number",description:"Fixed size"},sizeField:{type:"string",description:"Field to map size to"},sizeValues:{type:"array",items:{type:"number"},description:"Size range [min, max]"},shape:{type:"string",description:"Fixed shape"},shapeField:{type:"string",description:"Field to map shape to"},shapeValues:{type:"array",items:{type:"string"}},style:{type:"object",description:"Additional style properties"},filterField:{type:"string"},filterValues:{type:"array"},animate:{type:"object",properties:{enable:{type:"boolean"},speed:{type:"number"},duration:{type:"number"},trailLength:{type:"number"},repeat:{type:"number"}}},active:{oneOf:[{type:"boolean"},{type:"object",properties:{color:{type:"string"}}}]},select:{oneOf:[{type:"boolean"},{type:"object",properties:{color:{type:"string"}}}]},events:{type:"object",description:"Layer event configuration",properties:{click:{type:"string",description:"Event identifier emitted on click (via EventBus)"},mousemove:{type:"string",description:"Event identifier emitted on mousemove"},mouseenter:{type:"string",description:"Event identifier emitted on mouseenter"},mouseleave:{type:"string",description:"Event identifier emitted on mouseleave"},enablePopup:{type:"boolean",description:"Auto-show popup on click"},popupFields:{type:"array",items:{type:"string"},description:"Fields to show in popup"},popupTemplate:{type:"string",description:"HTML template with {{field}} interpolation"}}}}}},controls:{type:"array",description:"Map control widgets",items:{type:"object",required:["type"],properties:{type:{type:"string",enum:["zoom","scale","fullscreen","geoLocate","mapTheme","mouseLocation","exportImage","layerSwitch"]},position:{type:"string",enum:["topleft","topright","bottomleft","bottomright","topcenter","bottomcenter"]},options:{type:"object"}}}},interactions:{type:"array",description:"Interactive elements (markers, popups, tooltips)",items:{oneOf:[{type:"object",required:["type","longitude","latitude"],properties:{type:{type:"string",const:"marker"},longitude:{type:"number"},latitude:{type:"number"},content:{type:"string"},draggable:{type:"boolean"}}},{type:"object",required:["type","longitude","latitude","content"],properties:{type:{type:"string",const:"popup"},longitude:{type:"number"},latitude:{type:"number"},content:{type:"string"},closeButton:{type:"boolean"}}},{type:"object",required:["type","content"],properties:{type:{type:"string",const:"tooltip"},content:{type:"string"},trigger:{type:"string",enum:["hover","click"]}}}]}},legends:{type:"array",description:"Legend configurations",items:{oneOf:[{type:"object",required:["type","labels","colors"],properties:{type:{type:"string",const:"categories"},title:{type:"string"},labels:{type:"array",items:{type:"string"}},colors:{type:"array",items:{type:"string"}}}},{type:"object",required:["type","labels","colors"],properties:{type:{type:"string",const:"ramp"},title:{type:"string"},labels:{type:"array",items:{type:"string"}},colors:{type:"array",items:{type:"string"}},isContinuous:{type:"boolean"}}},{type:"object",required:["type","labels"],properties:{type:{type:"string",const:"proportion"},title:{type:"string"},labels:{type:"array",items:{type:"array",items:{type:"number"}}},fillColor:{type:"string"}}},{type:"object",required:["type","items"],properties:{type:{type:"string",const:"icon"},title:{type:"string"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string"},label:{type:"string"}}}}}}]}},responsive:{type:"object",properties:{breakpoint:{type:"number",default:768},mobile:{type:"object",properties:{controls:{type:"object",properties:{position:{type:"string"},scale:{type:"number"},hide:{type:"array",items:{type:"string"}}}},legends:{type:"object",properties:{compact:{type:"boolean"},position:{type:"string"}}},toolbar:{type:"object",required:["items","position"],properties:{items:{type:"array",items:{type:"string"}},position:{type:"string",enum:["bottom","top"]}}}}}}},events:{type:"object",description:"Global event identifier mappings for map and interactions",properties:{mapMove:{type:"string",description:"Event identifier for map move"},mapZoom:{type:"string",description:"Event identifier for map zoom"},markerDragEnd:{type:"string",description:"Event identifier for marker drag end"}}}}};function l1({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a,onLayerCreated:l,...u}){const d=a1();if(!d)return null;const p={...u,type:"point",source:e,sourceType:t??"json",sourceConfig:n},m=r||s||i||a?{onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a}:void 0;return o.jsx(L1,{schema:p,scene:d,eventHandlers:m,onLayerCreated:l})}function f1({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a,onLayerCreated:l,...u}){const d=a1();if(!d)return null;const p={...u,type:"line",source:e,sourceType:t??"json",sourceConfig:n},m=r||s||i||a?{onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a}:void 0;return o.jsx(L1,{schema:p,scene:d,eventHandlers:m,onLayerCreated:l})}function N1({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a,onLayerCreated:l,...u}){const d=a1();if(!d)return null;const p={...u,type:"polygon",source:e,sourceType:t??"geojson",sourceConfig:n},m=r||s||i||a?{onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a}:void 0;return o.jsx(L1,{schema:p,scene:d,eventHandlers:m,onLayerCreated:l})}function d5({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a,onLayerCreated:l,...u}){const d=a1();if(!d)return null;const p={...u,type:"heatmap",source:e,sourceType:t??"json",sourceConfig:n},m=r||s||i||a?{onClick:r,onMouseMove:s,onMouseEnter:i,onMouseLeave:a}:void 0;return o.jsx(L1,{schema:p,scene:d,eventHandlers:m,onLayerCreated:l})}function p5({source:e,sourceType:t="json",sourceConfig:n,hexSize:r=100,weightField:s="h12",weightMethod:i="sum",onClick:a,onMouseMove:l,style:u,...d}){const p=[{type:"hexagon",size:r,field:s,method:i}];return o.jsx(d5,{...d,source:e,sourceType:t,sourceConfig:{...n,transforms:p},shape:"hexagonColumn",style:{coverage:.8,angle:0,...u??{}},onClick:a,onMouseMove:l})}function f5({source:e,sourceType:t,sourceConfig:n,onClick:r,...s}){const i=a1();if(!i)return null;const a={...s,type:"raster",source:e,sourceType:t??"raster",sourceConfig:n},l=r?{onClick:r}:void 0;return o.jsx(L1,{schema:a,scene:i,eventHandlers:l})}function t2({source:e,sourceType:t,sourceConfig:n,onClick:r,...s}){const i=a1();if(!i)return null;const a={...s,type:"image",source:e,sourceType:t??"image",sourceConfig:n},l=r?{onClick:r}:void 0;return o.jsx(L1,{schema:a,scene:i,eventHandlers:l})}const n2=[8,16,32,48,64],k1={primary:"#2563eb",warning:"#f59e0b",error:"#ef4444",success:"#10b981"};function r2({source:e,sourceType:t="geojson",sourceConfig:n,labelField:r="name",labelColor:s="#0b3b8c",labelSize:i=12,showLabel:a=!0,labelTrigger:l="always",labelOffset:u,sizeDomain:d,bubbleAnchor:p="bottom",labelAnchor:m="top",hoverEffect:h=!0,clickEffect:f=!0,tooltipEffect:g=!0,tooltipFields:v,tooltipTemplate:y,semanticColorField:z,color:M="#2563eb",size:b=16,sizeField:j,sizeValues:S,style:A,active:C,select:Z,onClick:E,onMouseMove:V,onMouseEnter:_,onMouseLeave:k,...w}){const x=z??w.colorField,H=w.colorValues??(z?[k1.primary,k1.warning,k1.error,k1.success]:void 0),T=j?S??[...n2]:S,[P,W]=c.useState(l==="always"),D=c.useCallback(I=>{l==="hover"&&W(!0),_==null||_(I)},[l,_]),U=c.useCallback(I=>{l==="hover"&&W(!1),k==null||k(I)},[l,k]),e1={color:"#60a5fa"},R={color:"#1d4ed8"},F=(()=>{const I=w.events;return g?{...I,enablePopup:(I==null?void 0:I.enablePopup)??!0,popupFields:(I==null?void 0:I.popupFields)??v,popupTemplate:(I==null?void 0:I.popupTemplate)??y}:I})(),[J,L]=c.useState(!1);c.useEffect(()=>{const I=requestAnimationFrame(()=>L(!0));return()=>cancelAnimationFrame(I)},[]);const N=a&&P&&J,Y=j?{sizeField:j,sizeValues:T}:{size:b};return o.jsxs(o.Fragment,{children:[o.jsx(l1,{source:e,sourceType:t,sourceConfig:n,shape:"circle",color:M,colorField:x,colorValues:H,...Y,opacity:.75,active:h?C??e1:C,select:f?Z??R:Z,events:F,zIndex:w.zIndex??0,autoFit:w.autoFit,visible:w.visible,name:w.name??"bubble-circle",onClick:E,onMouseMove:V,onMouseEnter:D,onMouseLeave:U,style:{stroke:M??"#004ac6",strokeWidth:2,strokeOpacity:1,...A??{}}}),N&&o.jsx(l1,{source:e,sourceType:t,sourceConfig:n,shapeField:r,shapeValues:"text",color:s,size:i,zIndex:(w.zIndex??0)+1,style:{textAnchor:m,textOffset:u??[0,0],stroke:"#fff",strokeWidth:2,textAllowOverlap:!0}})]})}function o2({source:e,sourceType:t="geojson",sourceConfig:n,gridSize:r=60,minClusterSize:s=2,animationDuration:i=300,easing:a="cubic-bezier(0.4, 0, 0.2, 1)",onPointClick:l,onClusterClick:u}){const d=a1(),[p,m]=c.useState([]),[h,f]=c.useState(null),[g,v]=c.useState(null),y=c.useRef(null),z=c.useRef(-1),M=c.useMemo(()=>i2(e,t,n),[e,t,n]);c.useEffect(()=>{if(M.length===0){y.current=null,m([]),z.current=-1;return}const C=new Z5({radius:r,minPoints:s,maxZoom:20,minZoom:0}),Z=M.map(E=>({type:"Feature",properties:{id:E.id,...E.properties},geometry:{type:"Point",coordinates:[E.lng,E.lat]}}));C.load(Z),y.current=C,z.current=-1},[M,r,s]);const b=c.useCallback((C,Z)=>{try{const E=Math.floor(Z.getZoom());if(E===z.current)return;z.current=E;let V=[-180,-90,180,90];try{const w=Z.getBounds();w&&(V=[w[0][0],w[0][1],w[1][0],w[1][1]])}catch{}const k=C.getClusters(V,E).map(w=>{const x=w.geometry.coordinates,H=x[0],T=x[1];return w.properties.cluster?{id:`cluster-${w.properties.cluster_id}`,clusterId:w.properties.cluster_id,lng:H,lat:T,pointCount:w.properties.point_count,isCluster:!0,properties:{}}:{id:`point-${w.properties.id}`,clusterId:-1,lng:H,lat:T,pointCount:1,isCluster:!1,properties:w.properties}});m(k),f(null)}catch{}},[]);c.useEffect(()=>{var V,_;if(!d)return;const C=d.mapService,Z=()=>{requestAnimationFrame(()=>{const k=y.current;k&&d.loaded&&b(k,d)})};d.loaded?Z():d.once("loaded",Z);const E=()=>{const k=y.current;k&&b(k,d)};return(V=C==null?void 0:C.on)==null||V.call(C,"camerachange",E),(_=C==null?void 0:C.on)==null||_.call(C,"viewchange",E),()=>{var k,w;d.off("loaded",Z),(k=C==null?void 0:C.off)==null||k.call(C,"camerachange",E),(w=C==null?void 0:C.off)==null||w.call(C,"viewchange",E)}},[d,b]);const j=c.useCallback(C=>{if(!d||!C.isCluster)return;let Z=[];const E=y.current;E&&(Z=E.getLeaves(C.clusterId,1/0)),u==null||u(C,Z);try{if(d.getZoom()>=20-.5){f(k=>k===C.id?null:C.id);return}if(Z.length>0){const k=Z.map(P=>P.geometry.coordinates),w=k.map(P=>P[0]),x=k.map(P=>P[1]),H=[Math.min(...w),Math.min(...x)],T=[Math.max(...w),Math.max(...x)];d.fitBounds([H,T],{padding:[40,40,40,40],duration:i})}}catch{}},[d,u,i]),S=c.useMemo(()=>{if(!d||!h||!y.current)return[];const C=p.find(Z=>Z.id===h&&Z.isCluster);if(!C)return[];try{const Z=y.current.getLeaves(C.clusterId,1/0),E=d.mapService;if(!E)return[];const V=E.lngLatToContainer([C.lng,C.lat]);if(!V)return[];const _=Z.length,k=Math.max(24,Math.min(72,18+_*2));return Z.map((w,x)=>{var D,U;const H=Math.PI*2*x/_-Math.PI/2,T=V.x+Math.cos(H)*k,P=V.y+Math.sin(H)*k,W=E.containerToLngLat([T,P]);return{id:`spider-${C.id}-${((D=w.properties)==null?void 0:D.id)??x}`,lng:W.lng,lat:W.lat,point:{id:String(((U=w.properties)==null?void 0:U.id)??x),lng:w.geometry.coordinates[0],lat:w.geometry.coordinates[1],properties:w.properties??{}}}})}catch{return[]}},[d,h,p]),A=c.useMemo(()=>h?p.find(C=>C.id===h&&C.isCluster)??null:null,[h,p]);return o.jsxs(o.Fragment,{children:[h&&A&&S.map(C=>o.jsx(b1,{longitude:C.lng,latitude:C.lat,anchor:"center",content:o.jsx(s2,{centerLng:A.lng,centerLat:A.lat,lineLng:C.lng,lineLat:C.lat})},`line-${C.id}`)),p.map(C=>{var _;if(!C.isCluster)return o.jsx(b1,{longitude:C.lng,latitude:C.lat,anchor:"center",content:o.jsx("div",{title:String(((_=C.properties)==null?void 0:_.name)??"单点"),onClick:()=>{var k;return l==null?void 0:l({id:String(((k=C.properties)==null?void 0:k.id)??""),lng:C.lng,lat:C.lat,properties:C.properties})},style:{width:14,height:14,borderRadius:9999,background:"#2563eb",border:"2px solid #fff",boxShadow:"0 2px 10px rgba(37,99,235,.5), 0 0 0 3px rgba(37,99,235,.15)",transition:"transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1)",cursor:"pointer"}})},C.id);const Z=C.pointCount,E=a2(Z),V=g===C.id;return o.jsx(b1,{longitude:C.lng,latitude:C.lat,anchor:"center",content:o.jsxs("div",{title:`包含 ${Z} 个要素`,onClick:()=>j(C),onMouseEnter:()=>v(C.id),onMouseLeave:()=>v(k=>k===C.id?null:k),style:{width:E.size,height:E.size,borderRadius:9999,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",fontWeight:E.fontWeight,fontSize:E.fontSize,background:E.background,border:E.border,boxShadow:E.shadow,position:"relative",cursor:"pointer",transition:"transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1)",transform:V?"scale(1.1)":"scale(1)"},children:[E.pulse&&o.jsx("span",{style:{position:"absolute",inset:-6,borderRadius:9999,background:"rgba(37,99,235,0.25)",animation:"aimapui-cluster-pulse 1.6s ease-out infinite"}}),o.jsx("span",{style:{position:"relative",zIndex:1},children:Z})]})},C.id)}),S.map(C=>{var Z;return o.jsx(b1,{longitude:C.lng,latitude:C.lat,anchor:"center",content:o.jsx("div",{title:String(((Z=C.point.properties)==null?void 0:Z.name)??C.point.id),onClick:()=>l==null?void 0:l(C.point),style:{width:10,height:10,borderRadius:9999,background:"#fff",border:"2px solid #2563eb",boxShadow:"0 2px 8px rgba(0,0,0,.2)",cursor:"pointer"}})},C.id)})]})}function s2({centerLng:e,centerLat:t,lineLng:n,lineLat:r}){const s=a1(),i=c.useRef(null);return c.useEffect(()=>{if(!s)return;const a=s.mapService;if(!a)return;const l=()=>{const p=i.current;if(p)try{const m=a.lngLatToContainer([e,t]),h=a.lngLatToContainer([n,r]);if(!m||!h)return;const f=h.x-m.x,g=h.y-m.y,v=Math.sqrt(f*f+g*g),y=Math.atan2(g,f)*180/Math.PI;p.style.width=`${v}px`,p.style.transform=`rotate(${y}deg)`}catch{}};l();const u=(p,m,h)=>{var f;try{(f=p==null?void 0:p.on)==null||f.call(p,m,h)}catch{}},d=(p,m,h)=>{var f;try{(f=p==null?void 0:p.off)==null||f.call(p,m,h)}catch{}};return u(a,"camerachange",l),u(a,"viewchange",l),()=>{d(a,"camerachange",l),d(a,"viewchange",l)}},[s,e,t,n,r]),o.jsx("div",{ref:i,style:{position:"absolute",left:0,top:0,height:1,background:"rgba(195, 198, 215, 0.5)",transformOrigin:"0 50%",pointerEvents:"none"}})}function a2(e){return e>=1e3?{size:48,fontSize:14,fontWeight:700,background:"linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%)",border:"2px solid rgba(255,255,255,0.55)",shadow:"0 10px 24px rgba(37,99,235,.45)",pulse:!0}:e>=100?{size:40,fontSize:13,fontWeight:700,background:"rgba(37,99,235,0.30)",border:"2px solid rgba(255,255,255,0.5)",shadow:"0 6px 16px rgba(37,99,235,.25)",pulse:!1}:{size:32,fontSize:12,fontWeight:600,background:"radial-gradient(circle, #2563eb 60%, rgba(37,99,235,0.20) 61%)",border:"1px solid rgba(255,255,255,0.55)",shadow:"0 4px 12px rgba(37,99,235,.2)",pulse:!1}}function i2(e,t,n){if(!e)return[];if(t==="geojson"&&typeof e=="object"&&e!==null){const r=e;return(Array.isArray(r.features)?r.features:[]).map((i,a)=>{var d,p,m;const l=i,u=(d=l==null?void 0:l.geometry)==null?void 0:d.coordinates;return!Array.isArray(u)||u.length<2?null:{id:String(((p=l==null?void 0:l.properties)==null?void 0:p.id)??((m=l==null?void 0:l.properties)==null?void 0:m.Id)??a),lng:Number(u[0]),lat:Number(u[1]),properties:(l==null?void 0:l.properties)??{}}}).filter(Boolean)}if(Array.isArray(e)){const r=(n==null?void 0:n.x)??"lng",s=(n==null?void 0:n.y)??"lat";return e.map((i,a)=>{const l=i,u=Number(l[r]),d=Number(l[s]);return Number.isNaN(u)||Number.isNaN(d)?null:{id:String(l.id??a),lng:u,lat:d,properties:l}}).filter(Boolean)}return[]}const l2=["#dbeafe","#93c5fd","#60a5fa","#3b82f6","#2563eb"],c2=["#dc2626","#fca5a5","#e5e7eb","#86efac","#16a34a"],u2=["#2563eb","#f59e0b","#ef4444","#10b981","#8b5cf6","#14b8a6","#f97316","#64748b"];function d2({source:e,sourceType:t="geojson",colorMapping:n="sequential",showStroke:r=!0,strokeColor:s="rgba(255,255,255,0.30)",strokeWidth:i=.5,hoverEffect:a=!0,clickEffect:l=!0,stickySelection:u=!0,tooltipEffect:d=!0,tooltipFields:p,tooltipTemplate:m,regionIdField:h="name",highlightStrokeColor:f="#2563eb",highlightStrokeWidth:g=2,zoomToRegionOnClick:v=!0,clickZoomPadding:y=40,clickZoomDelta:z=1.2,onRegionClick:M,onDrilldown:b,onLayerCreated:j,showLabel:S=!1,labelField:A="name",labelColor:C="#0f172a",labelSize:Z=11,labelAreaThreshold:E=5e-5,labelHaloWidth:V=2,minLabelZoom:_,valueField:k,percentageField:w,nameField:x,color:H,colorField:T,colorValues:P,active:W,select:D,events:U,style:e1,...R}){const F=a1(),[J,L]=c.useState(null),[N,Y]=c.useState(null),[I,q]=c.useState(()=>{if(!F)return 0;try{return F.getZoom()}catch{return 0}});c.useEffect(()=>{if(!F)return;const B=()=>{try{q(F.getZoom())}catch{}};return B(),F.on("zoomchange",B),()=>{F.off("zoomchange",B)}},[F]);const t1=_===void 0||I>=_,i1=c.useMemo(()=>{if(P)return P;switch(n){case"diverging":return[...c2];case"categorical":return[...u2];case"sequential":default:return[...l2]}},[P,n]),$=k??T??"value",O=x??A,X=c.useMemo(()=>m??p2(O,$,w),[m,O,$,w]),n1={color:"#ffffff"},o1={color:"#0f172a"},r1=c.useMemo(()=>f2(e,t,A,h,E),[e,t,A,h,E]),s1=c.useCallback(B=>{M==null||M(B);const u1=v0(B.feature,h);if(u1!==null&&l&&Y(y1=>!u&&y1===u1?null:u1),B.feature&&(b==null||b(B.feature)),!F||!v)return;const d1=Number.isFinite(B.lng)&&Number.isFinite(B.lat)?[B.lng,B.lat]:m2(B.originalEvent);if(d1)try{const y1=F.getZoom(),x1=Math.abs(z);F.setCenter(d1),F.setZoom(y1+x1)}catch{}},[M,h,l,u,b,F,v,z]),v1=c.useCallback(B=>{if(!a)return;const u1=v0(B.feature,h);L(u1)},[a,h]),G=c.useCallback(()=>{a&&L(null)},[a]),K=c.useMemo(()=>{const B=U;return d?{...B,enablePopup:(B==null?void 0:B.enablePopup)??!0,popupTrigger:(B==null?void 0:B.popupTrigger)??"hover",popupFields:(B==null?void 0:B.popupFields)??p,popupTemplate:(B==null?void 0:B.popupTemplate)??X}:B},[U,d,p,X]);return o.jsxs(o.Fragment,{children:[o.jsx(N1,{...R,source:e,sourceType:t,shape:R.shape??"fill",color:H??"#2563eb",colorField:T,colorValues:i1,active:a?W??n1:W,select:l?D??o1:D,events:K,onClick:s1,onMouseEnter:v1,onMouseLeave:G,onLayerCreated:j,style:{opacity:.8,...e1??{}}}),r&&o.jsx(f1,{source:e,sourceType:t,color:s,size:i,zIndex:2}),a&&J!==null&&o.jsxs(o.Fragment,{children:[o.jsx(f1,{source:e,sourceType:t,color:C0(f,.35),size:g+2,filterField:h,filterValues:[J],zIndex:3}),o.jsx(f1,{source:e,sourceType:t,color:f,size:g,filterField:h,filterValues:[J],zIndex:4})]}),l&&N!==null&&o.jsx(f1,{source:e,sourceType:t,color:C0(f,.9),size:Math.max(1.5,g),filterField:h,filterValues:[N],zIndex:5}),S&&t1&&o.jsx(l1,{source:r1.data,sourceType:r1.sourceType,sourceConfig:r1.sourceConfig,shapeField:A,shapeValues:"text",color:C,size:Z,style:{textAllowOverlap:!1,stroke:"#ffffff",strokeWidth:V,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace"}})]})}function p2(e,t,n){const r=n?`<tr><td style="padding-right:8px;color:#64748b">占比</td><td style="font-weight:600">{{${n}}}%</td></tr>`:"";return['<div style="min-width:160px">',`<div style="font-weight:700;margin-bottom:6px">{{${e}}}</div>`,'<table style="font-size:12px;line-height:1.4">',`<tr><td style="padding-right:8px;color:#64748b">指标</td><td style="font-weight:600">{{${t}}}</td></tr>`,r,"</table>","</div>"].join("")}function C0(e,t){if(e.startsWith("#")){const n=e.replace("#",""),r=n.length===3?`${n[0]}${n[0]}${n[1]}${n[1]}${n[2]}${n[2]}`:n;if(r.length===6){const s=parseInt(r.slice(0,2),16),i=parseInt(r.slice(2,4),16),a=parseInt(r.slice(4,6),16);return`rgba(${s},${i},${a},${t})`}}return e}function v0(e,t){if(!e)return null;const n=e[t]??e.id??e.name;return typeof n=="string"||typeof n=="number"?n:null}function f2(e,t,n,r,s){return t!=="geojson"||!h2(e)?{data:e,sourceType:t}:{data:e.features.map(a=>{if(!a||!a.geometry||!a.properties)return null;const l=h5(a.geometry),u=C2(a.geometry);if(!l||u<s)return null;const d=a.properties;return{lng:l[0],lat:l[1],[n]:d[n],[r]:d[r]}}).filter(a=>a!==null),sourceType:"json",sourceConfig:{x:"lng",y:"lat"}}}function h2(e){if(!e||typeof e!="object")return!1;const t=e;return t.type==="FeatureCollection"&&Array.isArray(t.features)}function m2(e){const t=g2(e);return t?h5(t):null}function g2(e){var n,r;const t=e;return((n=t==null?void 0:t.feature)==null?void 0:n.geometry)??((r=t==null?void 0:t.data)==null?void 0:r.geometry)??null}function h5(e){if(e.type==="Polygon")return y0(e.coordinates[0]);if(e.type==="MultiPolygon"){let t=0,n=null;return e.coordinates.forEach(r=>{const s=r[0],i=Math.abs(O1(s));i>t&&(t=i,n=y0(s))}),n}return null}function C2(e){return e.type==="Polygon"?Math.abs(O1(e.coordinates[0])):e.type==="MultiPolygon"?e.coordinates.reduce((t,n)=>t+Math.abs(O1(n[0])),0):0}function y0(e){if(!e||e.length<3)return null;let t=0,n=0,r=0;for(let i=0;i<e.length-1;i+=1){const[a,l]=e[i],[u,d]=e[i+1],p=a*d-u*l;t+=p,n+=(a+u)*p,r+=(l+d)*p}const s=t/2;if(Math.abs(s)<1e-12){const i=e[0];return i?[i[0],i[1]]:null}return[n/(6*s),r/(6*s)]}function O1(e){if(!e||e.length<3)return 0;let t=0;for(let n=0;n<e.length-1;n+=1){const[r,s]=e[n],[i,a]=e[n+1];t+=r*a-i*s}return t/2}const m5=["#eff6ff","#bfdbfe","#60a5fa","#2563eb","#1d4ed8","#1e3a8a"],g5="https://mdn.alipayobjects.com/antforest/afts/file/A*T2OJQ7XZzeEAAAAAgCAAAAgAerd2AQ/original_中国_省.json",C5="https://mdn.alipayobjects.com/antforest/afts/file/A*Xd8TQoduwj8AAAAAgEAAAAgAerd2AQ/original_中国_市.json",v5="https://mdn.alipayobjects.com/portal_moelhz/afts/file/A*Rb96Tac1p8EAAAAAgKAAAAgAegAAAQ",v2=c.forwardRef(function(t,n){const{provinceSource:r=g5,citySource:s=C5,districtSource:i=v5,level:a="province",drillEnabled:l=!0,drillPath:u,onDrill:d,onDrillUp:p,autoFitOnDrill:m=!0,data:h,joinField:f="name",dataJoinField:g="name",valueField:v="value",colors:y=[...m5],fillOpacity:z=.8,strokeColor:M="rgba(255,255,255,0.5)",strokeWidth:b=1.5,dimOpacity:j=.12,showLabel:S=!0,labelField:A="name",labelSize:C=12,hoverHighlight:Z=!0,clickSelect:E=!0,showTooltip:V=!0,tooltipFields:_,onRegionClick:k,zIndex:w=0}=t,x=a1(),[H,T]=c.useState(null),[P,W]=c.useState(null),[D,U]=c.useState(null),[e1,R]=c.useState(null),[F,J]=c.useState([{level:"province",name:"中国"}]),L=u??F,N=l?x2(L):a,Y=c.useCallback(()=>{if(L.length<=1)return;const G=L.slice(0,-1);u?p==null||p(G):(J(G),p==null||p(G),d==null||d(G)),t1(null)},[L,u,p,d]),I=c.useCallback(G=>{if(G<0||G>=L.length-1)return;const K=L.slice(0,G+1);u?p==null||p(K):(J(K),p==null||p(K),d==null||d(K)),t1(null)},[L,u,p,d]),[q,t1]=c.useState(null);c.useImperativeHandle(n,()=>({drillUp:Y,drillUpTo:I,getDrillPath:()=>L}),[Y,I,L]);const i1=c.useRef(L.length);c.useEffect(()=>{T1(r,T,R)},[r]),c.useEffect(()=>{s&&T1(s,W)},[s]),c.useEffect(()=>{i&&T1(i,U)},[i]);const $=c.useMemo(()=>{switch(N){case"city":return P;case"district":return D;default:return H}},[N,H,P,D]),O=c.useMemo(()=>!$||!h||h.length===0?$:H2($,h,f,g,v),[$,h,f,g,v]),X=c.useMemo(()=>{if(!l||L.length<=1)return O;if(!O)return null;const G=L[L.length-1];return!G.adcode&&!G.name?O:S2(O,G)},[l,L,O,f]),n1=c.useMemo(()=>!l||L.length<=1?null:(L.length===2?H:P)??null,[l,L,H,P]);c.useMemo(()=>`<div style="min-width:140px"><table style="font-size:12px;line-height:1.6">${(_??[A,v]).map(B=>`<tr><td style="padding-right:8px;color:#64748b">${B}</td><td style="font-weight:600">{{${B}}}</td></tr>`).join("")}</table></div>`,[_,A,v]);const o1=!!(h&&h.length>0),r1=c.useMemo(()=>O?X??O:null,[X,O]),s1=N==="province"?b:b*.6;c.useEffect(()=>{if(!(!m||!x||!r1||i1.current===L.length)){i1.current=L.length;try{const K=Z2(r1);K&&x.fitBounds(K,{padding:[40,40,40,40]})}catch{}}},[m,x,r1,L.length]);const v1=c.useCallback(G=>{const K=G.feature;if(!K)return;const B=String(K[A]??K.name??""),u1=K.adcode??K.gb;if(k==null||k(K,N),E&&t1(d1=>d1===B?null:B),l&&b2(N)){const d1=[...L,{level:N,name:B,adcode:u1}];u||J(d1),d==null||d(d1),t1(null)}},[A,N,E,l,L,u,d,k]);return!x||!r1?null:o.jsxs(o.Fragment,{children:[l&&n1&&L.length>1&&o.jsxs(o.Fragment,{children:[o.jsx(N1,{source:n1,sourceType:"geojson",shape:"fill",color:"#94a3b8",style:{opacity:j},zIndex:w}),o.jsx(f1,{source:n1,sourceType:"geojson",color:"rgba(148,163,184,0.2)",size:.5,zIndex:w+1})]}),o.jsx(N1,{source:r1,sourceType:"geojson",shape:"fill",...o1?{colorField:v,colorValues:y}:{color:y[2]??"#3b82f6"},active:Z?{color:"#ffffff"}:void 0,select:E?{color:"#0f172a"}:void 0,style:{opacity:z},onClick:v1,zIndex:w+2}),o.jsx(f1,{source:r1,sourceType:"geojson",color:M,size:s1,zIndex:w+3}),e1&&N==="province"&&L.length<=1&&o.jsx(f1,{source:e1,sourceType:"geojson",color:"#94a3b8",size:1,zIndex:w+3}),S&&r1&&o.jsx(y2,{geoData:r1,labelField:A,labelSize:C,zIndex:w+4})]})});function y2({geoData:e,labelField:t,labelSize:n,zIndex:r}){const s=c.useMemo(()=>w2(e,t),[e,t]);return!s||s.data.length===0?null:o.jsx(l1,{source:s.data,sourceType:s.sourceType,sourceConfig:s.sourceConfig,shapeField:t,shapeValues:"text",color:"#0f172a",size:n,style:{textAllowOverlap:!1,stroke:"#ffffff",strokeWidth:2,fontFamily:"PingFang SC, Microsoft YaHei, sans-serif"},zIndex:r})}function x2(e){return e.length<=1?"province":e.length===2?"city":"district"}function b2(e){return e!=="district"}const L2=new Set(["境界线","边界线","九段线","十段线"]);function M2(e){var n,r,s;const t=(n=e.properties)==null?void 0:n.name;if(typeof t!="string")return!1;if(t==="九段线"||t==="十段线")return!0;if(t==="境界线"){const i=(r=e.geometry)==null?void 0:r.type;if(i!=="MultiLineString"&&i!=="LineString")return!1;const a=(s=e.geometry)==null?void 0:s.coordinates;if(!a)return!1;const l=i==="MultiLineString"?a.flat():a;if(Math.min(...l.map(d=>d[1]))<10)return!0}return!1}function z2(e){var r,s;const t=(r=e.properties)==null?void 0:r.name;if(!t||typeof t!="string"||L2.has(t))return!1;const n=(s=e.geometry)==null?void 0:s.type;return!(n==="LineString"||n==="MultiLineString")}function x0(e){const t=[],n=[];for(const r of e.features)M2(r)?n.push(r):z2(r)&&t.push(r);return{admin:{type:"FeatureCollection",features:t},dashLine:n.length>0?{type:"FeatureCollection",features:n}:null}}function T1(e,t,n){if(typeof e=="string")fetch(e).then(r=>r.json()).then(r=>{if(r&&r.type==="FeatureCollection"){const s=x0(r);t(s.admin),n==null||n(s.dashLine)}}).catch(()=>{});else if(e&&e.type==="FeatureCollection"){const r=x0(e);t(r.admin),n==null||n(r.dashLine)}}function H2(e,t,n,r,s){const i=new Map;for(const l of t){const u=String(l[r]??"");u&&i.set(u,l)}return{type:"FeatureCollection",features:e.features.map(l=>{const u=String(l.properties[n]??""),d=i.get(u),p=d?d[s]??d.value??0:0;return{...l,properties:{...l.properties,...d??{},[s]:p}}})}}function b0(e){const t=String(e);return t.startsWith("156")&&t.length>=9?t.slice(3):t}const V2=["省","市","自治区","特别行政区","壮族","回族","维吾尔","藏族","彝族","苗","侗","瑶","白","哈尼","傣","傈僳","佤","畲","拉祜","水","景颇","土家","羌","毛南","仫佬","布朗","撒拉","裕固","塔吉克","柯尔克孜","锡伯","达斡尔","鄂温克","鄂伦春","赫哲","德昂","门巴","珞巴","基诺","怒","保安","京","独龙","仡佬","阿昌","普米"];function R1(e){let t=e;for(const n of V2)if(t.endsWith(n)){t=t.slice(0,-n.length);break}return t}function S2(e,t,n){const r=t.name,s=t.adcode,a=t.level==="province"?2:4;return{type:"FeatureCollection",features:e.features.filter(u=>{const d=u.properties;if(d.parent&&String(d.parent)===r||d.parentName&&String(d.parentName)===r)return!0;const p=d.adcode??d.gb;if(s&&p){const h=b0(String(s)),f=b0(String(p));if(f.length>=a&&f.slice(0,a)===h.slice(0,a)&&f!==h)return!0}const m=R1(r);return!!(d.province&&(String(d.province)===r||R1(String(d.province))===m)||d.city&&(String(d.city)===r||R1(String(d.city))===m))})}}function w2(e,t){const n=[];for(const r of e.features){if(!r.geometry||!r.properties)continue;const s=j2(r.geometry);s&&n.push({lng:s[0],lat:s[1],[t]:r.properties[t]??r.properties.name??""})}return n.length===0?null:{data:n,sourceType:"json",sourceConfig:{x:"lng",y:"lat"}}}function j2(e){const t=e.type,n=e.coordinates;if(!n)return null;if(t==="Point")return n;if(t==="Polygon")return L0(n);if(t==="MultiPolygon"){const r=n;let s=0,i=null;for(const a of r){const l=Math.abs(k2(a[0]));l>s&&(s=l,i=L0(a))}return i}return null}function L0(e){const t=e[0];if(!t||t.length===0)return null;let n=0,r=0;const s=t.length;for(const i of t)n+=i[0],r+=i[1];return[n/s,r/s]}function k2(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const s=(r+1)%n;t+=e[r][0]*e[s][1],t-=e[s][0]*e[r][1]}return t/2}function Z2(e){let t=1/0,n=1/0,r=-1/0,s=-1/0;for(const i of e.features)A2(i.geometry,(a,l)=>{a<t&&(t=a),l<n&&(n=l),a>r&&(r=a),l>s&&(s=l)});return!isFinite(t)||!isFinite(n)?null:[[t,n],[r,s]]}function A2(e,t){const n=e.type,r=e.coordinates;if(r){if(n==="Point"){const[s,i]=r;t(s,i)}else if(n==="LineString"||n==="MultiPoint")for(const[s,i]of r)t(s,i);else if(n==="Polygon"||n==="MultiLineString")for(const s of r)for(const[i,a]of s)t(i,a);else if(n==="MultiPolygon")for(const s of r)for(const i of s)for(const[a,l]of i)t(a,l)}}const N2=[["sunny",""],["cloud",""],["cloudy",""],["partly_cloudy_day",""],["partly_cloudy_night",""],["rainy",""],["rainy_heavy",""],["rainy_light",""],["rainy_snow",""],["thunderstorm",""],["foggy",""],["air",""],["water_drop",""],["ac_unit",""],["filter_drama",""],["cloudy_snowing",""],["snowing",""],["snowflake",""],["severe_cold",""],["umbrella",""],["storm",""],["tornado",""],["thermostat",""],["heat",""],["hot",""],["flight",""],["flight_takeoff",""],["flight_land",""],["train",""],["directions_transit",""],["directions_railway",""],["directions_bus",""],["directions_car",""],["directions_boat",""],["directions_bike",""],["directions_walk",""],["directions_run",""],["taxi",""],["local_taxi",""],["local_airport",""],["connecting_airports",""],["two_wheeler",""],["tram",""],["subway",""],["ferry",""],["cable_car",""],["ev_station",""],["local_gas_station",""],["location_on",""],["place",""],["room",""],["pin",""],["pin_drop",""],["near_me",""],["my_location",""],["gps_fixed",""],["navigation",""],["explore",""],["map",""],["restaurant",""],["local_cafe",""],["coffee",""],["local_bar",""],["hotel",""],["local_hospital",""],["local_pharmacy",""],["local_atm",""],["local_police",""],["local_fire_department",""],["local_post_office",""],["local_library",""],["local_mall",""],["local_grocery_store",""],["store",""],["school",""],["church",""],["mosque",""],["synagogue",""],["temple_buddhist",""],["temple_hindu",""],["museum",""],["castle",""],["stadium",""],["theater_comedy",""],["pool",""],["fitness_center",""],["spa",""],["park",""],["forest",""],["attractions",""],["celebration",""],["festival",""],["nightlife",""],["sports",""],["sports_soccer",""],["sports_basketball",""],["sports_football",""],["sports_tennis",""],["sports_golf",""],["layers",""],["layers_clear",""],["terrain",""],["landscape",""],["share",""],["favorite",""],["star",""],["home",""],["work",""],["person",""],["people",""],["trip",""],["warning",""],["emergency",""],["photo_camera",""],["shopping_bag",""],["search",""],["settings",""],["info",""],["help",""],["close",""],["check",""],["add",""],["remove",""],["edit",""],["delete",""],["refresh",""],["download",""],["upload",""],["visibility",""],["visibility_off",""]],M0="Material Symbols Outlined",E2="https://fonts.gstatic.com/s/materialsymbolsoutlined/v261/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2",_2="M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z";function I2(e){const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 40"><path d="${_2}" fill="${e}" stroke="white" stroke-width="1.5"/></svg>`;return`data:image/svg+xml,${encodeURIComponent(t)}`}function T2({source:e,sourceType:t="json",sourceConfig:n,iconField:r,iconFontFamily:s="material-symbols",iconFontPath:i,iconFontMap:a,iconColor:l="#3b82f6",iconSize:u=20,iconHaloColor:d="#fff",iconHaloWidth:p=1,iconStyle:m,iconAnchor:h="center",iconBgShape:f="pin",iconBgShapeColor:g,iconBgShapeSize:v=24,iconBgStrokeColor:y,iconBgStrokeWidth:z=0,iconBgPadding:M=0,iconBgCornerRadius:b=0,showLabel:j=!0,labelField:S,labelColor:A="#333",labelSize:C=11,labelAnchor:Z="top",labelOffset:E=[0,0],labelHaloColor:V="#fff",labelHaloWidth:_=2,labelStyle:k,textAllowOverlap:w=!1,iconAllowOverlap:x=!0,zoomAdaption:H=!0,zoomShowLabel:T=14,zoomDegradeToPoint:P=10,onClick:W,onMouseEnter:D,onMouseLeave:U,...e1}){const R=a1(),[F,J]=c.useState(!1),[L,N]=c.useState(!1),[Y,I]=c.useState(!1),[q,t1]=c.useState(14),i1=c.useRef(!1);c.useEffect(()=>{if(!R||f!=="pin"||!g)return;const s1=I2(g);R.addImage("glyph-pin-bg",s1),I(!0)},[R,f,g]);const{fontFamily:$,fontPath:O,iconMappings:X}=c.useMemo(()=>{switch(s){case"material-symbols":return{fontFamily:M0,fontPath:E2,iconMappings:N2};default:return{fontFamily:s,fontPath:i??null,iconMappings:a??[]}}},[s,i,a]);if(c.useEffect(()=>{if(!R||i1.current)return;i1.current=!0;let s1=!1;return(async()=>{O&&R.addFontFace($,O),X.length>0&&R.addIconFonts(X);try{if($===M0){const G=X.slice(0,10).map(([,K])=>String.fromCharCode(parseInt(K.replace("&#x","").replace(";",""),16))).join("");await document.fonts.load(`${u}px "${$}"`,G)}else O&&await new Promise(G=>{const K=setTimeout(()=>{G()},3e3),B=()=>{clearTimeout(K),R.off("fontloaded",B),G()};R.on("fontloaded",B),document.fonts.load(`${u}px "${$}"`).then(()=>{clearTimeout(K),R.off("fontloaded",B),G()}).catch(()=>{clearTimeout(K),R.off("fontloaded",B),G()})})}catch{console.warn(`[GlyphLayer] 字体 "${$}" 加载超时,尝试继续渲染`)}try{const K=`${u}px "${$}"`;document.fonts.check(K,"X")||await document.fonts.ready}catch{}s1||J(!0)})(),()=>{s1=!0}},[R,$,O,X,u]),c.useEffect(()=>{if(!R)return;const s1=()=>N(!0);return R.loaded?s1():R.on("loaded",s1),()=>{R.off("loaded",s1)}},[R]),c.useEffect(()=>{if(!R||!H)return;const s1=()=>{t1(R.getZoom())};return s1(),R.on("zoomchange",s1),()=>{R.off("zoomchange",s1)}},[R,H]),!F||!L||f==="pin"&&g&&!Y)return null;const n1=S??r,o1=!H||q>=T;return H&&q<P?o.jsx(l1,{source:e,sourceType:t,sourceConfig:n,shape:"circle",color:typeof l=="string"?l:"#3b82f6",size:4,style:{opacity:.7}}):o.jsxs(o.Fragment,{children:[o.jsx(l1,{...e1,source:e,sourceType:t,sourceConfig:n,shapeField:r,shapeValues:"text",color:l,size:u,style:{fontFamily:$,iconfont:!0,textAllowOverlap:x,textAnchor:h,backgroundColor:g,backgroundPadding:M,backgroundRadius:b,backgroundShape:f==="pin"?void 0:"circle",stroke:y,strokeWidth:z,...m??{}},onClick:W,onMouseEnter:D,onMouseLeave:U}),j&&o1&&o.jsx(l1,{source:e,sourceType:t,sourceConfig:n,shapeField:n1,shapeValues:"text",color:A,size:C,style:{textAnchor:Z,textOffset:E,stroke:V,strokeWidth:_,fontWeight:"500",textAllowOverlap:w,...k??{}}})]})}function y5({source:e,sourceType:t="json",sourceConfig:n,iconField:r,iconMap:s,iconSize:i=24,iconAnchor:a="bottom",size:l,showLabel:u=!0,labelField:d,labelColor:p="#333",labelSize:m=12,labelAnchor:h="top",labelOffset:f=[0,0],labelHaloColor:g="#fff",labelHaloWidth:v=2,labelStyle:y,textAllowOverlap:z=!1,iconAllowOverlap:M=!0,zoomAdaption:b=!0,zoomShowLabel:j=15,zoomDegradeToPoint:S=10,onClick:A,onMouseEnter:C,onMouseLeave:Z,...E}){const V=a1(),[_,k]=c.useState(!1),[w,x]=c.useState(15),H=c.useMemo(()=>Object.keys(s),[s]),T=l??i,P=d??r;if(c.useEffect(()=>{V&&(H.forEach(U=>{V.addImage(U,s[U])}),k(!0))},[V,H,s]),c.useEffect(()=>{if(!V||!b)return;const U=()=>{x(V.getZoom())};return U(),V.on("zoomchange",U),()=>{V.off("zoomchange",U)}},[V,b]),!_)return null;const W=!b||w>=j;return b&&w<S?o.jsx(l1,{source:e,sourceType:t,sourceConfig:n,shape:"circle",color:E.color??"#3b82f6",size:6,style:{opacity:.8}}):o.jsxs(o.Fragment,{children:[o.jsx(l1,{source:e,sourceType:t,sourceConfig:n,shapeField:r,shapeValues:H,size:T,style:{...E.style??{},anchor:a,allowOverlap:M},onClick:A,onMouseEnter:C,onMouseLeave:Z}),u&&W&&o.jsx(l1,{source:e,sourceType:t,sourceConfig:n,shapeField:P,shapeValues:"text",color:p,size:m,style:{textAnchor:h,textOffset:f,stroke:g,strokeWidth:v,fontWeight:"500",textAllowOverlap:z,...y??{}}})]})}const R2={gaode:()=>"https://webst0{1-4}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}",google:()=>"https://gwxc.shipxy.com/tile.g?z={z}&x={x}&y={y}",tianditu:(e="4043dde46add842282bacc412299311d")=>`https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=${e}`},P2={gaode:"高德卫星",tianditu:"天地图卫星",google:"谷歌卫星"};function $2({provider:e="gaode",zIndex:t=0,opacity:n=1,tiandituToken:r,visible:s=!0}){if(!s)return null;const i=R2[e](r);return o.jsx(f5,{source:i,sourceType:"rasterTile",sourceConfig:{parser:{type:"rasterTile",tileSize:256,zoomOffset:1}},zIndex:t,opacity:n})}function F2({source:e,sourceType:t="json",sourceConfig:n,shape:r="arc",color:s="#2563EB",gradientColors:i,colorMode:a="single",colorField:l,colorValues:u,lineWidth:d=1.5,lineWidthRange:p,weightField:m="weight",opacity:h=.8,blur:f=.6,animate:g=!1,animateSpeed:v=1,animateTrailLength:y=.3,animateDuration:z=2e3,showNodes:M=!0,nodeColor:b,nodeSize:j=4,nodeSizeRange:S,nodePulse:A=!1,showTooltip:C=!0,showNodePopup:Z=!0,activeColor:E="#FFD93D",onArcHover:V,onArcClick:_,onNodeClick:k,style:w}){const x=c.useMemo(()=>n??{x:"fromLng",y:"fromLat",x1:"toLng",y1:"toLat"},[n]),H=c.useMemo(()=>a==="gradient"&&i?i:s,[a,i,s]),T=c.useMemo(()=>d,[d,p]),P=c.useMemo(()=>{if(g)return{enable:!0,speed:v,duration:z,trailLength:y}},[g,v,z,y]),W=c.useMemo(()=>({opacity:h,blur:f,...w}),[h,f,w]),D=c.useMemo(()=>{if(!M||typeof e=="string")return[];const I=new Map,q=x.x??"fromLng",t1=x.y??"fromLat",i1=x.x1??"toLng",$=x.y1??"toLat";return e.forEach(O=>{const X=`${O[q]}_${O[t1]}`,n1=`${O[i1]}_${O[$]}`;I.has(X)||I.set(X,{lng:Number(O[q]),lat:Number(O[t1]),degree:0,name:O.fromName}),I.has(n1)||I.set(n1,{lng:Number(O[i1]),lat:Number(O[$]),degree:0,name:O.toName}),I.get(X).degree++,I.get(n1).degree++}),Array.from(I.values())},[e,M,x]),U=b??s,[e1,R]=c.useState({visible:!1,lng:0,lat:0,from:"",to:"",weight:0}),F=c.useCallback(I=>{if(V==null||V(I),!C)return;const q=I.feature;q&&R({visible:!0,lng:I.lng,lat:I.lat,from:String(q.fromName??""),to:String(q.toName??""),weight:Number(q[m]??0)})},[V,C,m]),J=c.useCallback(()=>{R(I=>({...I,visible:!1}))},[]),[L,N]=c.useState({visible:!1,lng:0,lat:0,name:"",degree:0}),Y=c.useCallback(I=>{if(k==null||k(I),!Z)return;const q=I.feature;q&&N({visible:!0,lng:I.lng,lat:I.lat,name:String(q.name??""),degree:Number(q.degree??0)})},[k,Z]);return o.jsxs(o.Fragment,{children:[o.jsx(f1,{source:e,sourceType:t,sourceConfig:x,shape:r,color:H,colorField:a==="field"?l:void 0,colorValues:a==="field"?u:void 0,size:T,sizeField:p?m:void 0,sizeValues:p||void 0,animate:P,active:E?{color:E}:!1,style:W,onMouseMove:F,onMouseLeave:J,onClick:_}),M&&D.length>0&&o.jsx(l1,{source:D,sourceConfig:{x:"lng",y:"lat"},color:U,size:j,sizeField:S?"degree":void 0,sizeValues:S,shape:"circle",style:{opacity:.9,strokeWidth:1,stroke:"#fff"},animate:A?{enable:!0,speed:.6}:void 0,active:E?{color:E}:!1,onClick:Y}),C&&e1.visible&&o.jsx(G1,{longitude:e1.lng,latitude:e1.lat,visible:!0,variant:"dark",items:[{label:"起点",value:e1.from},{label:"终点",value:e1.to},{label:"流量",value:e1.weight}]}),Z&&L.visible&&o.jsx(V1,{longitude:L.lng,latitude:L.lat,content:`<div style="min-width:80px"><div style="font-weight:700;font-size:13px;margin-bottom:4px">${L.name||"节点"}</div><div style="font-size:12px;color:#64748b">连接数: ${L.degree}</div></div>`,closeButton:!0,size:"compact",onClose:()=>N(I=>({...I,visible:!1}))})]})}function O2({path:e,segments:t,stops:n=[],routeType:r="straight",onRouteQuery:s,onRouteResult:i,color:a="#2563eb",lineWidth:l=4,opacity:u=.9,glow:d=!0,animate:p=!1,animateSpeed:m=1,stopSize:h=14,stopColor:f,endColor:g="#10b981",showStopIndex:v=!0,stopRenderer:y="point",stopMarkerVariant:z="circle",stopIconMap:M,stopIconField:b="iconValue",stopIconSize:j=16,stopIconAnchor:S="bottom",showStopPopup:A=!0,activeColor:C="#fbbf24",onPathClick:Z,onStopClick:E}){const[V,_]=c.useState(null),k=c.useRef(0),w=r==="walking"||r==="cycling"||r==="driving"||r==="transit";c.useEffect(()=>{if(!w||!s||n.length<2){_(null);return}const L=[n[0].lng,n[0].lat],N=[n[n.length-1].lng,n[n.length-1].lat],Y=n.length>2?n.slice(1,-1).map(q=>[q.lng,q.lat]):[],I=++k.current;s({origin:L,destination:N,waypoints:Y.length>0?Y:void 0,routeType:r}).then(q=>{k.current===I&&(_(q),i==null||i(q))}).catch(()=>{k.current===I&&_(null)})},[w,s,n,r]);const x=w&&V?V.path:e,H=w&&(V!=null&&V.segments)?V.segments:t,T=w&&(V!=null&&V.stops)?V.stops:[],P=r==="arc"?"arc":"line",W=c.useMemo(()=>H&&H.length>0?{type:"FeatureCollection",features:H.map((L,N)=>({type:"Feature",properties:{color:L.color||a,width:L.width||l,index:N},geometry:{type:"LineString",coordinates:L.coordinates}}))}:x&&x.length>1?{type:"FeatureCollection",features:[{type:"Feature",properties:{color:a,width:l},geometry:{type:"LineString",coordinates:x}}]}:null,[x,H,a,l]),D=H&&H.some(L=>L.color),U=c.useMemo(()=>{const L=x??(H&&H.length>0?[...H[0].coordinates.slice(0,1),...H[H.length-1].coordinates.slice(-1)]:null);let N=[...n,...T];if(L&&L.length>=2){const[Y,I]=L[0],[q,t1]=L[L.length-1],i1=n.some(O=>Math.abs(O.lng-Y)<1e-6&&Math.abs(O.lat-I)<1e-6),$=n.some(O=>Math.abs(O.lng-q)<1e-6&&Math.abs(O.lat-t1)<1e-6);i1||(N=[{lng:Y,lat:I,name:"起点",type:"start"},...N]),$||(N=[...N,{lng:q,lat:t1,name:"终点",type:"end"}])}return N.map((Y,I)=>({...Y,index:Y.index??I+1,type:Y.type??(I===0?"start":I===N.length-1?"end":"waypoint"),stopColor:Y.type==="end"||!Y.type&&I===N.length-1?g:f??a,iconValue:Y.icon??"marker",indexLabel:String(Y.index??I+1),markerColorValue:Y.markerColor??D2(Y.type??(I===0?"start":I===N.length-1?"end":"waypoint"))}))},[n,T,x,H,a,f,g]),e1=c.useMemo(()=>{if(y!=="icon")return;if(M)return M;const L=[...new Set(U.map(N=>N.iconValue).filter(Boolean))];if(L.length)return o5(L,{fill:f??a,size:Math.max(24,j+8)})},[y,M,U,f,a,j]),[R,F]=c.useState({visible:!1,lng:0,lat:0,name:"",index:""}),J=c.useCallback(L=>{if(E==null||E(L),!A)return;const N=L.feature;N&&F({visible:!0,lng:L.lng,lat:L.lat,name:String(N.name??""),index:String(N.indexLabel??N.index??"")})},[E,A]);return W?o.jsxs(o.Fragment,{children:[d&&o.jsx(f1,{source:W,sourceType:"geojson",shape:P,color:D?void 0:a,colorField:D?"color":void 0,colorValues:D?H.map(L=>L.color||a):void 0,size:l*2.5,style:{opacity:.15}}),o.jsx(f1,{source:W,sourceType:"geojson",shape:P,color:D?void 0:a,colorField:D?"color":void 0,colorValues:D?H.map(L=>L.color||a):void 0,size:D?void 0:l,sizeField:D?"width":void 0,sizeValues:D?H.map(L=>L.width||l):void 0,style:{opacity:u},active:C?{color:C}:!1,onClick:Z}),p&&o.jsx(f1,{source:W,sourceType:"geojson",shape:"line",color:"#ffffff",size:Math.max(1.5,l*.5),style:{opacity:.6,lineType:"dash",lineDash:[8,16]},animate:{enable:!0,speed:m,duration:1500},zIndex:10}),U.length>0&&y==="point"&&o.jsx(l1,{source:U,sourceConfig:{x:"lng",y:"lat"},colorField:"stopColor",colorValues:[...new Set(U.map(L=>L.stopColor))],size:h,shape:"circle",style:{opacity:1,strokeWidth:2,stroke:"#ffffff"},active:C?{color:C}:!1,onClick:J}),U.length>0&&y==="point"&&v&&o.jsx(l1,{source:U,sourceConfig:{x:"lng",y:"lat"},shapeField:"indexLabel",shapeValues:"text",color:"#ffffff",size:Math.max(10,Math.round(h*.75)),style:{textAnchor:"center",stroke:"rgba(18, 28, 42, 0.28)",strokeWidth:1.5,fontWeight:"700",textAllowOverlap:!0}}),U.length>0&&y==="icon"&&e1&&o.jsx(y5,{source:U,sourceType:"json",sourceConfig:{x:"lng",y:"lat"},iconField:b,iconMap:e1,iconSize:j,iconAnchor:S,showLabel:v,labelField:"indexLabel",labelColor:"#ffffff",labelSize:11,labelAnchor:"top",labelOffset:[0,S==="bottom"?Math.max(10,Math.round(j*.6)):0],labelHaloColor:"rgba(18, 28, 42, 0.35)",labelHaloWidth:2,onClick:J}),U.length>0&&y==="marker"&&U.map((L,N)=>{const Y=L.markerVariant??z,I=L.markerColorValue,q=B2(L.indexLabel,L.stopColor,v,Y);return o.jsx(b1,{longitude:L.lng,latitude:L.lat,variant:Y,color:I,icon:L.icon,content:q,label:q?void 0:v?L.indexLabel:void 0,onClick:t1=>{J({layerId:"route-stop-marker",layerType:"point",originalEvent:t1,lng:L.lng,lat:L.lat,feature:L})}},`route-stop-marker-${N}`)}),A&&R.visible&&o.jsx(V1,{longitude:R.lng,latitude:R.lat,content:`<div style="min-width:100px"><div style="font-weight:700;font-size:13px;margin-bottom:4px">${R.name}</div><div style="font-size:12px;color:#64748b">第 ${R.index} 站</div></div>`,closeButton:!0,size:"compact",onClose:()=>F(L=>({...L,visible:!1}))})]}):null}function D2(e){switch(e){case"start":return"success";case"end":return"error";default:return"primary"}}function B2(e,t,n,r){if(!n||r!=="circle"&&r!=="dot")return;const s=r==="circle"?24:18,i=r==="circle"?11:10;return o.jsx("div",{style:{width:s,height:s,borderRadius:"9999px",border:"2px solid #ffffff",background:t,color:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:i,lineHeight:1,fontWeight:700,boxShadow:"0 6px 12px rgba(0,0,0,0.14)"},children:e})}const z0=[73.482190241,3.8150178409999995,135.106618732,57.630045996],q2={type:"linear",colors:["rgba(92,58,16,0)","rgba(92,58,16,0)","#fabd08","#f1e93f","#f1ff8f","#fcfff7"],positions:[0,3,9,22.5,45,90]};function H0(e){const t=e[0]/2003750834e-2*180;let n=e[1]/2003750834e-2*180;return n=180/Math.PI*(2*Math.atan(Math.exp(n*Math.PI/180))-Math.PI/2),[t,n]}function U2({url:e,extent:t=z0,renderMode:n="raster",bandIndex:r=0,domain:s=[0,90],noDataValue:i=0,rampColors:a=q2,clampLow:l=!1,clampHigh:u=!1,bands:d=[0,1,2],countCut:p,rMinMax:m,gMinMax:h,bMinMax:f,opacity:g=.8,mask:v=!1,maskData:y}){const[z,M]=c.useState(null),[b,j]=c.useState(null),[S,A]=c.useState(null);c.useEffect(()=>{let x=!1;async function H(){try{const T=await import("geotiff"),P=await fetch(e);if(!P.ok)throw new Error(`Fetch failed: ${P.status}`);const W=await P.arrayBuffer(),U=await(await T.fromArrayBuffer(W)).getImage(),e1=U.getWidth(),R=U.getHeight(),F=await U.readRasters();let J;try{const L=U.getBoundingBox();L&&L.length===4&&(J=L)}catch{}x||(M({rasters:F,width:e1,height:R,tiffExtent:J}),A(null))}catch(T){x||(A(T instanceof Error?T.message:"Failed to load TIFF"),console.error("[TiffRasterLayer] Load error:",T))}}return H(),()=>{x=!0}},[e]),c.useEffect(()=>{if(!v||!y)return;let x=!1;return typeof y=="string"?fetch(y).then(H=>H.json()).then(H=>{x||j(H)}).catch(H=>console.error("[TiffRasterLayer] Mask load error:",H)):j(y),()=>{x=!0}},[v,y]);const C=c.useMemo(()=>{if(t!==z0)return t;if(z!=null&&z.tiffExtent){const[x,H,T,P]=z.tiffExtent;if(Math.abs(x)>180||Math.abs(T)>180){const W=H0([x,H]),D=H0([T,P]);return[W[0],W[1],D[0],D[1]]}return z.tiffExtent}return t},[t,z==null?void 0:z.tiffExtent]),Z=c.useMemo(()=>{if(!z)return null;if(n==="rgb"){const x={type:"rgb",width:z.width,height:z.height,bands:d,extent:C};return m&&(x.RMinMax=m),h&&(x.GMinMax=h),f&&(x.BMinMax=f),p&&(x.countCut=p),{parser:x}}return n==="ndi"?{parser:{type:"ndi",width:z.width,height:z.height,bands:d,extent:C}}:{parser:{type:"raster",width:z.width,height:z.height,extent:C}}},[z,n,d,C]),E=c.useMemo(()=>n==="rgb"?{opacity:g}:n==="ndi"?{domain:s,rampColors:a,opacity:g}:{clampLow:l,clampHigh:u,domain:s,noDataValue:i,rampColors:a,opacity:g},[n,l,u,s,i,a,g]),V=c.useMemo(()=>z?n==="rgb"||n==="ndi"?z.rasters:z.rasters[r]:null,[z,n,r]),_=a1(),k=c.useRef(null);c.useRef(!1);const w=!v||!!b;return c.useEffect(()=>{if(!_||!Z||!V||!w)return;k.current&&(_.removeLayer(k.current),k.current=null);const x={zIndex:10};v&&b&&(x.mask=!0,x.maskfence=b);const H=new w0.RasterLayer(x);return H.source(V,{parser:Z.parser}),H.style(E),_.addLayer(H),k.current=H,()=>{k.current&&_&&(_.removeLayer(k.current),k.current=null)}},[_,Z,V,w,b]),null}function x5({position:e="bottomleft",className:t,style:n,children:r}){const{positionClassName:s}=m1(e),i=h1();if(!r)return null;const a=o.jsx("div",{className:`l7-control l7-control-legend l7-control--glass${t?` ${t}`:""}`,style:{padding:"12px 14px",borderRadius:8,maxHeight:"40%",overflowY:"auto",...n},children:r});return i?a:o.jsx("div",{className:`l7-control-anchor ${s}`,children:a})}c1.mark(x5);function b5({logos:e,position:t="bottomleft",className:n,style:r}){const{positionClassName:s}=m1(t),i=h1(),a=o.jsx("div",{className:`l7-control l7-control-logo${n?` ${n}`:""}`,style:r,children:e.map((l,u)=>{const d=o.jsx("img",{src:l.src,alt:l.alt??"logo",width:l.width??24,height:l.width??24,style:{objectFit:"contain",display:"block"}},u);return l.href?o.jsx("a",{href:l.href,target:"_blank",rel:"noopener noreferrer",className:"l7-control-logo-link",children:d},u):o.jsx("div",{className:"l7-control-logo-link",children:d},u)})});return i?a:o.jsx("div",{className:`l7-control-anchor ${s}`,children:a})}c1.mark(b5);function W2({children:e,defaultSnap:t="collapsed",collapsedHeight:n=80,halfRatio:r=.45,expandedRatio:s=.85,onSnapChange:i,className:a,showHandle:l=!0,borderRadius:u=32}){const d=c.useRef(null),p=c.useRef(0),m=c.useRef(0),h=c.useRef(!1),[f,g]=c.useState(0),[v,y]=c.useState(t),[z,M]=c.useState(!1),b=c.useCallback(()=>{var _;const V=(_=d.current)==null?void 0:_.offsetParent;return V?V.clientHeight:window.innerHeight},[]),j=c.useCallback(V=>{const _=b();switch(V){case"collapsed":return n;case"half":return _*r;case"expanded":return _*s}},[n,r,s,b]);c.useEffect(()=>{g(j(t))},[t,j]);const S=c.useCallback((V,_)=>{const k=j("collapsed"),w=j("half"),x=j("expanded");let H;if(Math.abs(_)>.5)_>0?H=V>w?"expanded":"half":H=V<w?"collapsed":"half";else{const T=Math.abs(V-k),P=Math.abs(V-w),W=Math.abs(V-x),D=Math.min(T,P,W);D===T?H="collapsed":D===P?H="half":H="expanded"}M(!0),y(H),g(j(H)),i==null||i(H),setTimeout(()=>M(!1),300)},[j,i]),A=c.useCallback(V=>{h.current=!0,p.current=V.touches[0].clientY,m.current=f,M(!1)},[f]),C=c.useCallback(V=>{if(!h.current)return;const _=p.current-V.touches[0].clientY,k=b()*s,w=Math.max(n,Math.min(k,m.current+_));g(w)},[n,s,b]),Z=c.useCallback(V=>{if(!h.current)return;h.current=!1;const k=(p.current-V.changedTouches[0].clientY)/100;S(f,k)},[f,S]),E=c.useCallback(V=>{h.current=!0,p.current=V.clientY,m.current=f,M(!1);const _=w=>{if(!h.current)return;const x=p.current-w.clientY,H=b()*s,T=Math.max(n,Math.min(H,m.current+x));g(T)},k=w=>{h.current=!1;const H=(p.current-w.clientY)/100,T=b()*s;S(Math.max(n,Math.min(T,m.current+(p.current-w.clientY))),H),document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",k)};document.addEventListener("mousemove",_),document.addEventListener("mouseup",k)},[f,n,s,S,b]);return c.useCallback(V=>{M(!0),y(V),g(j(V)),i==null||i(V),setTimeout(()=>M(!1),300)},[j,i]),o.jsx("div",{ref:d,className:a,style:{position:"absolute",bottom:0,left:0,width:"100%",height:f,zIndex:1e3,pointerEvents:"auto",transition:z?"height 0.3s cubic-bezier(0.4, 0, 0.2, 1)":"none",willChange:"height",touchAction:"none"},children:o.jsxs("div",{style:{width:"100%",height:"100%",background:"var(--color-surface, #f8f9ff)",borderTopLeftRadius:u,borderTopRightRadius:u,boxShadow:"0 -10px 40px rgba(0, 0, 0, 0.15)",borderTop:"1px solid rgba(195, 198, 215, 0.2)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[o.jsx("div",{onTouchStart:A,onTouchMove:C,onTouchEnd:Z,onMouseDown:E,style:{padding:"12px 0 16px",cursor:"grab",userSelect:"none",flexShrink:0},children:l&&o.jsx("div",{style:{width:48,height:6,borderRadius:3,background:"rgba(195, 198, 215, 0.5)",margin:"0 auto"}})}),o.jsx("div",{style:{flex:1,overflowY:v==="collapsed"?"hidden":"auto",overflowX:"hidden",padding:"0 16px",WebkitOverflowScrolling:"touch",msOverflowStyle:"none",scrollbarWidth:"none"},children:e})]})})}function G2({placeholder:e="搜索地点...",onSearch:t,onFilter:n,className:r,trailing:s}){const[i,a]=c.useState(""),l=c.useCallback(d=>{const p=d.target.value;a(p),t==null||t(p)},[t]),u=c.useCallback(()=>{a(""),t==null||t("")},[t]);return o.jsxs("div",{className:`glass-panel ${r??""}`,style:{display:"flex",alignItems:"center",padding:"12px 16px",borderRadius:16,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.08)",border:"1px solid rgba(195, 198, 215, 0.3)"},children:[o.jsx("span",{className:"material-symbols-outlined",style:{color:"var(--color-primary, #004ac6)",marginRight:12,fontSize:22},children:"search"}),o.jsx("input",{type:"text",value:i,onChange:l,placeholder:e,style:{flex:1,border:"none",background:"transparent",outline:"none",fontSize:14,lineHeight:"20px",color:"var(--color-on-surface, #121c2a)"}}),i&&o.jsx("button",{onClick:u,style:{background:"none",border:"none",cursor:"pointer",padding:4,borderRadius:999,display:"flex",alignItems:"center",justifyContent:"center"},children:o.jsx("span",{className:"material-symbols-outlined",style:{fontSize:18,color:"var(--color-on-surface-variant, #434655)"},children:"close"})}),n&&o.jsx("button",{onClick:n,style:{background:"none",border:"none",cursor:"pointer",padding:4,borderRadius:999,display:"flex",alignItems:"center",justifyContent:"center",marginLeft:4},children:o.jsx("span",{className:"material-symbols-outlined",style:{fontSize:22,color:"var(--color-on-surface-variant, #434655)"},children:"tune"})}),s]})}function p0(e,t){if(!t)return e;const n={...e};for(const r of Object.keys(t)){const s=t[r],i=n[r];s!==null&&typeof s=="object"&&!Array.isArray(s)&&i!==null&&typeof i=="object"&&!Array.isArray(i)?n[r]=p0(i,s):s!==void 0&&(n[r]=s)}return n}function J2(e,t){return t?p0(e,t):e}class Y2 extends c.Component{constructor(){super(...arguments),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){var r,s;(s=(r=this.props).onError)==null||s.call(r,t,n)}render(){if(this.state.hasError){const{fallback:t}=this.props,{error:n}=this.state;return typeof t=="function"?t(n):t||o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:32,color:"#666",fontFamily:"system-ui, sans-serif"},children:[o.jsx("span",{className:"material-symbols-outlined",style:{fontSize:48,marginBottom:16,color:"#e53e3e"},children:"error"}),o.jsx("p",{style:{fontSize:16,fontWeight:600,marginBottom:8},children:"地图加载失败"}),o.jsx("p",{style:{fontSize:13,color:"#999"},children:(n==null?void 0:n.message)??"未知错误"})]})}return this.props.children}}exports.ADMIN_SEQUENTIAL_COLORS=m5;exports.AiMap=qe;exports.AiMapJSONSchema=e2;exports.ArcFlowLayer=F2;exports.BottomSheet=W2;exports.BubbleLayer=r2;exports.ChinaDistrict=v2;exports.ControlContainer=J1;exports.ControlRegistry=c1;exports.ControlRenderer=t5;exports.DEFAULT_CITY_SOURCE=C5;exports.DEFAULT_DISTRICT_SOURCE=v5;exports.DEFAULT_PROVINCE_SOURCE=g5;exports.ErrorBoundary=Y2;exports.EventBus=E0;exports.EventBusProvider=T0;exports.ExportImageControl=n0;exports.FillLayer=d2;exports.FullscreenControl=X1;exports.GAODE_THEME_PRESETS=F1;exports.GeoLocateControl=Q1;exports.GlyphLayer=T2;exports.HeatmapHexagonLayer=p5;exports.HeatmapLayer=d5;exports.HexagonLayer=p5;exports.INDEPENDENT_MAP_THEME_PRESETS=Se;exports.IconLayer=y5;exports.ImageLayer=t2;exports.InteractionRenderer=s5;exports.LayerRenderer=Q0;exports.LayerSwitchControl=r0;exports.LegendCategories=o0;exports.LegendControl=x5;exports.LegendDiverging=a0;exports.LegendIcon=d0;exports.LegendLineWidth=c0;exports.LegendProportion=u0;exports.LegendRamp=s0;exports.LegendRenderer=a5;exports.LegendSize=l0;exports.LegendThreshold=i0;exports.LineLayer=f1;exports.LogoControl=b5;exports.MAKI_ICONS=C1;exports.MAKI_ICON_NAMES=Ae;exports.MapSceneRenderer=B0;exports.MapThemeControl=e0;exports.Marker=b1;exports.MarkerClusterLayer=o2;exports.MobileSheetLegend=u5;exports.MobileToolbar=c5;exports.MouseLocationControl=t0;exports.OPENFREEMAP_THEME_PRESETS=Ve;exports.PointLayer=l1;exports.PolygonLayer=N1;exports.Popup=V1;exports.RasterLayer=f5;exports.ResponsiveProvider=De;exports.RouteLayer=O2;exports.SATELLITE_PROVIDER_NAMES=P2;exports.SatelliteLayer=$2;exports.ScaleControl=K1;exports.SceneProvider=O0;exports.SchemaProvider=N0;exports.SearchBar=G2;exports.ThemeProvider=P0;exports.TiffRasterLayer=U2;exports.Tooltip=G1;exports.ZoomControl=Y1;exports.adaptHeatmapLayer=Y0;exports.adaptImageLayer=X0;exports.adaptLineLayer=G0;exports.adaptPointLayer=W0;exports.adaptPolygonLayer=J0;exports.adaptRasterLayer=K0;exports.applyControlDefaults=k0;exports.applyLayerDefaults=j0;exports.applyMapDefaults=A1;exports.applyResponsiveOverrides=J2;exports.applySchemaDefaults=D1;exports.createBasemap=D0;exports.createEventBus=_0;exports.createMakiIconMap=Ne;exports.createMakiPinMap=o5;exports.cx=Q;exports.deepMerge=p0;exports.diffSchema=Ye;exports.hexToRgba=ae;exports.makiIconUrl=n5;exports.makiPinUrl=r5;exports.parseSchema=Z0;exports.useControlContainer=h1;exports.useEventBus=B1;exports.useMapControl=m1;exports.useMapPosition=W1;exports.useResponsive=l5;exports.useScene=a1;exports.useSchema=F5;exports.useTheme=$0;exports.validateAiMapSchema=Ke;exports.validateSchema=$5;
|
|
1
|
+
"use strict";var c0=Object.create;var T1=Object.defineProperty;var u0=Object.getOwnPropertyDescriptor;var d0=Object.getOwnPropertyNames;var h0=Object.getPrototypeOf,p0=Object.prototype.hasOwnProperty;var f0=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of d0(t))!p0.call(e,o)&&o!==n&&T1(e,o,{get:()=>t[o],enumerable:!(r=u0(t,o))||r.enumerable});return e};var He=(e,t,n)=>(n=e!=null?c0(h0(e)):{},f0(t||!e||!e.__esModule?T1(n,"default",{value:e,enumerable:!0}):n,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),u=require("react"),at=require("@antv/l7"),Ye=require("react-dom"),g0=require("clsx"),m0=require("react-dom/client"),y0=require("supercluster");function C0(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const pe=C0(at),Me={basemap:"map",center:[105,35],zoom:4,pitch:0,rotation:0};function Je(e){return{basemap:e.basemap??Me.basemap,token:e.token,style:e.style,center:e.center??[...Me.center],zoom:e.zoom??Me.zoom,pitch:e.pitch??Me.pitch,rotation:e.rotation??Me.rotation,minZoom:e.minZoom,maxZoom:e.maxZoom,bounds:e.bounds,gestureConfig:e.gestureConfig}}let x0=0;function v0(){return`aimap-layer-${++x0}`}function lt(e){return{id:e.id??v0(),type:e.type,name:e.name??e.type,visible:e.visible??!0,zIndex:e.zIndex??0,minZoom:e.minZoom,maxZoom:e.maxZoom,autoFit:e.autoFit??!1,source:e.source,sourceType:e.sourceType,sourceConfig:e.sourceConfig,color:e.color,colorField:e.colorField,colorValues:e.colorValues,size:e.size,sizeField:e.sizeField,sizeValues:e.sizeValues,shape:e.shape,shapeField:e.shapeField,shapeValues:e.shapeValues,style:e.style,filterField:e.filterField,filterValues:e.filterValues,animate:e.animate,active:e.active,select:e.select,events:e.events}}const L0={zoom:"topright",scale:"bottomleft",fullscreen:"topright",geoLocate:"topright",mapTheme:"topright",mouseLocation:"bottomright",exportImage:"topright",layerSwitch:"topright",draw:"topright"};function ct(e){return{type:e.type,position:e.position??L0[e.type]??"topright",options:e.options}}const b0={breakpoint:768};function M0(e){return{breakpoint:(e==null?void 0:e.breakpoint)??b0.breakpoint,mobile:e==null?void 0:e.mobile}}function d1(e){return{map:Je(e.map),layers:(e.layers??[]).map(lt),controls:(e.controls??[]).map(ct),interactions:e.interactions??[],legends:e.legends??[],responsive:e.responsive?M0(e.responsive):void 0,events:e.events}}function ut(e){return d1(e)}function w0(e){const t=[];if(e.basemap||t.push("map.basemap is required"),e.center){const[n,r]=e.center;(n<-180||n>180)&&t.push("map.center[0] (longitude) must be between -180 and 180"),(r<-90||r>90)&&t.push("map.center[1] (latitude) must be between -90 and 90")}return t}function H0(e,t){const n=[];return e.type||n.push(`layers[${t}].type is required`),e.source===void 0&&e.source,e.colorField&&!e.colorValues&&e.color,n}function S0(e){const t=[];return t.push(...w0(e.map)),(e.layers??[]).forEach((n,r)=>{t.push(...H0(n,r))}),{valid:t.length===0,errors:t}}const dt=u.createContext(null);function ht({schema:e,children:t}){return a.jsx(dt.Provider,{value:e,children:t})}function z0(){return u.useContext(dt)}class pt{constructor(){this.listeners=new Map}on(t,n){return this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(n),()=>{var r;(r=this.listeners.get(t))==null||r.delete(n)}}once(t,n){const r=(...i)=>{n(...i),o()},o=this.on(t,r);return o}emit(t,...n){const r=this.listeners.get(t);r&&r.forEach(o=>{try{o(...n)}catch(i){console.error(`[aimapui EventBus] Error in event "${t}":`,i)}})}off(t){this.listeners.delete(t)}clear(){this.listeners.clear()}}function ft(){return new pt}const gt=u.createContext(null);function mt({events:e,children:t}){const n=u.useRef(null);return n.current||(n.current=ft()),u.useEffect(()=>{if(!e||!n.current)return;const r=n.current,o=[];for(const[i,s]of Object.entries(e))s&&o.push(r.on(i,s));return()=>{o.forEach(i=>i())}},[e]),a.jsx(gt.Provider,{value:n.current,children:t})}function h1(){const e=u.useContext(gt);if(!e)throw new Error("[aimapui] useEventBus must be used within an EventBusProvider");return e}const yt=u.createContext({resolvedTheme:"light",theme:"light",setTheme:()=>{},toggleTheme:()=>{}});function Ct({defaultTheme:e="light",target:t="container",children:n}){const[r,o]=u.useState(e),[i,s]=u.useState("light");u.useEffect(()=>{const h=window.matchMedia("(prefers-color-scheme: dark)");s(h.matches?"dark":"light");const m=p=>{s(p.matches?"dark":"light")};return h.addEventListener("change",m),()=>h.removeEventListener("change",m)},[]);const l=r==="system"?i:r,c=u.useCallback(()=>{o(h=>h==="system"?i==="light"?"dark":"light":h==="light"?"dark":"light")},[i]);u.useEffect(()=>{t==="root"&&document.documentElement.setAttribute("data-theme",l)},[l,t]);const d=u.useMemo(()=>({resolvedTheme:l,theme:r,setTheme:o,toggleTheme:c}),[l,r,c]);return a.jsx(yt.Provider,{value:d,children:t==="container"?a.jsx("div",{"data-theme":l,style:{display:"contents"},children:n}):n})}function xt(){return u.useContext(yt)}const V0=u.createContext({isMobile:!1,breakpoint:768,width:typeof window<"u"?window.innerWidth:1024,schema:void 0});function k0({responsive:e,children:t}){const[n,r]=u.useState(typeof window<"u"?window.innerWidth:1024);u.useEffect(()=>{let l;const c=()=>{cancelAnimationFrame(l),l=requestAnimationFrame(()=>r(window.innerWidth))};return window.addEventListener("resize",c),()=>{window.removeEventListener("resize",c),cancelAnimationFrame(l)}},[]);const o=(e==null?void 0:e.breakpoint)??768,i=n<o,s=u.useMemo(()=>({isMobile:i,breakpoint:o,width:n,schema:e}),[i,o,n,e]);return a.jsx(V0.Provider,{value:s,children:t})}const vt=u.createContext(null);function Lt({scene:e,children:t}){const n=u.useRef(e);return n.current=e,a.jsx(vt.Provider,{value:n.current,children:t})}function he(){return u.useContext(vt)}async function bt(e){var i,s,l;const t=e.basemap??Me.basemap,n=e.token??"",r=e.style??"normal",o={center:e.center??Me.center,zoom:e.zoom??Me.zoom,pitch:e.pitch??Me.pitch,rotation:e.rotation??Me.rotation,minZoom:e.minZoom,maxZoom:e.maxZoom,dragEnable:((i=e.gestureConfig)==null?void 0:i.dragPan)??!0,zoomEnable:((s=e.gestureConfig)==null?void 0:s.pinchZoom)??!0,rotateEnable:((l=e.gestureConfig)==null?void 0:l.dragRotate)??!0};switch(t){case"gaode":{const{GaodeMap:c}=await import("@antv/l7-maps/gaode");return new c({...o,style:j0(r),token:n})}case"mapbox":{const{Mapbox:c}=await import("@antv/l7-maps/mapbox");return new c({...o,style:E0(r),token:n})}case"tianditu":{const{TMap:c}=await import("@antv/l7-maps/tianditu");return new c({...o,token:n})}case"tencent":{const{TencentMap:c}=await import("@antv/l7-maps/tencent");return new c({...o,token:n})}case"baidu":{const{BaiduMap:c}=await import("@antv/l7-maps/baidu");return new c({...o,style:A0(r),token:n})}case"maplibre":{const{MapLibre:c}=await import("@antv/l7-maps/maplibre");return new c({...o,style:P0(r),token:n})}case"google":{const{GoogleMap:c}=await import("@antv/l7-maps/google"),d=new c({...o,style:Z0(r),token:n});return I0(d),d}case"map":default:{const{Map:c}=await import("@antv/l7-maps/simple");return new c({center:e.center??Me.center,zoom:e.zoom??Me.zoom})}}}function j0(e){return{light:"light",dark:"dark",normal:"normal",darkblue:"dark",satellite:"satellite"}[e]??e}function E0(e){return{light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark",normal:"https://tiles.openfreemap.org/styles/bright",liberty:"https://tiles.openfreemap.org/styles/liberty",fiord:"https://tiles.openfreemap.org/styles/fiord"}[e]??e}function A0(e){return{light:"light",dark:"dark",normal:"normal",darkblue:"dark",satellite:"satellite"}[e]??e}function Z0(e){return{light:"roadmap",dark:"roadmap",normal:"roadmap",darkblue:"roadmap",satellite:"satellite",hybrid:"hybrid",terrain:"terrain"}[e]??"roadmap"}function P0(e){return{light:"https://tiles.openfreemap.org/styles/positron",dark:"https://tiles.openfreemap.org/styles/dark",normal:"https://tiles.openfreemap.org/styles/bright",liberty:"https://tiles.openfreemap.org/styles/liberty",fiord:"https://tiles.openfreemap.org/styles/fiord"}[e]??e}function I0(e){const t=["zoomControl","mapTypeControl","streetViewControl","fullscreenControl","scaleControl","rotateControl","panControl"],n={};for(const s of t)n[s]=!1;const r=()=>{const s=e.map;if(!s||typeof s.setOptions!="function")return!1;s.setOptions(n);const l=s.setOptions.bind(s);return s.setOptions=c=>{const d={...c};for(const h of t)h in d&&delete d[h];l(d)},!0};if(r())return;let o=0;const i=setInterval(()=>{o+=1,(r()||o>40)&&clearInterval(i)},100)}function Mt({mapSchema:e,children:t,onSceneReady:n,mapEventHandlers:r,events:o,className:i,style:s}){const l=u.useRef(null),c=u.useRef(null),[d,h]=u.useState(null),m=u.useRef(n);m.current=n;const p=u.useRef(r);p.current=r;const g=h1(),f=u.useCallback((S,b)=>{var M,E,D;if(b.basemap==="map")return;const A=((M=b.gestureConfig)==null?void 0:M.dragPan)??!0,z=((E=b.gestureConfig)==null?void 0:E.pinchZoom)??!0,Z=((D=b.gestureConfig)==null?void 0:D.dragRotate)??!0;try{const V=S.mapService;V&&typeof V.setMapStatus=="function"&&V.setMapStatus({dragEnable:A,zoomEnable:z,rotateEnable:Z,doubleClickZoom:z})}catch{}},[]);u.useEffect(()=>{if(!l.current)return;let S=!1;const b=Je(e);bt(b).then(z=>{if(S||!l.current)return;const Z=new at.Scene({id:l.current,map:z,logoVisible:!1});c.current=Z,Z.on("loaded",()=>{var M;S||(f(Z,b),h(Z),(M=m.current)==null||M.call(m,Z),A(Z))}),b.bounds&&Z.on("loaded",()=>{try{const[M,E]=b.bounds;Z.fitBounds([M[0],M[1],E[0],E[1]])}catch{}})});function A(z){z.on("mapmove",()=>{var M,E;const Z={originalEvent:null,center:[z.getCenter().lng,z.getCenter().lat],zoom:z.getZoom(),pitch:z.getPitch(),rotation:z.getRotation()};(E=(M=p.current)==null?void 0:M.onMove)==null||E.call(M,Z),o!=null&&o.mapMove&&g.emit(o.mapMove,Z)}),z.on("zoomchange",()=>{var M,E;const Z={originalEvent:null,center:[z.getCenter().lng,z.getCenter().lat],zoom:z.getZoom(),pitch:z.getPitch(),rotation:z.getRotation()};(E=(M=p.current)==null?void 0:M.onZoom)==null||E.call(M,Z),o!=null&&o.mapZoom&&g.emit(o.mapZoom,Z)})}return()=>{if(S=!0,c.current){try{c.current.destroy()}catch{}c.current=null}h(null)}},[e.basemap,f]);const C=JSON.stringify(e.center),v=JSON.stringify(e.gestureConfig);u.useEffect(()=>{if(!d)return;const S=Je(e);try{d.setCenter(S.center)}catch{}try{d.setZoom(S.zoom)}catch{}try{d.setPitch(S.pitch)}catch{}try{d.setRotation(S.rotation)}catch{}f(d,S)},[d,C,e.zoom,e.pitch,e.rotation,v,f]);const w=u.useCallback(()=>{if(c.current)try{const S=c.current.map;S&&typeof S.resize=="function"&&S.resize()}catch{}},[]);return u.useEffect(()=>(window.addEventListener("resize",w),()=>window.removeEventListener("resize",w)),[w]),a.jsx("div",{ref:l,className:i??"aimapui-container",style:s??{width:"100%",height:"100%"},children:d&&a.jsx(Lt,{scene:d,children:t})})}function wt(e){if(e.colorField)return{field:e.colorField,values:e.colorValues};if(e.color)return{values:e.color}}function F0(e){if(e.sizeField)return{field:e.sizeField,values:e.sizeValues};if(e.size!==void 0)return{values:e.size}}function Ht(e){if(e.shapeField)return{field:e.shapeField,values:e.shapeValues};if(e.shape)return{values:e.shape}}function p1(e){return{color:wt(e),size:F0(e),shape:Ht(e),style:e.style?{...e.style}:void 0}}function T0(e){var t,n;return{data:e.source,options:{parser:{type:"json",x:((t=e.sourceConfig)==null?void 0:t.x)??"lng",y:((n=e.sourceConfig)==null?void 0:n.y)??"lat"}}}}function N0(e){var t,n;return{data:e.source,options:{parser:{type:"csv",x:(t=e.sourceConfig)==null?void 0:t.x,y:(n=e.sourceConfig)==null?void 0:n.y}}}}function f1(e){return{data:e.source,options:void 0}}function R0(e){var t;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser}}:e.sourceType==="geojson"?f1(e):e.sourceType==="csv"?N0(e):T0(e)}function St(e){return{type:"PointLayer",sourceConfig:R0(e),visual:p1(e),schema:e}}function zt(e){return{type:"LineLayer",sourceConfig:_0(e),visual:p1(e),schema:e}}function _0(e){var t,n,r,o,i,s,l,c,d,h;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser}}:e.sourceType==="geojson"?f1(e):e.sourceType==="csv"?{data:e.source,options:{parser:{type:"csv",x:(n=e.sourceConfig)==null?void 0:n.x,y:(r=e.sourceConfig)==null?void 0:r.y,x1:(o=e.sourceConfig)==null?void 0:o.x1,y1:(i=e.sourceConfig)==null?void 0:i.y1}}}:{data:e.source,options:{parser:{type:"json",x:((s=e.sourceConfig)==null?void 0:s.x)??"lng",y:((l=e.sourceConfig)==null?void 0:l.y)??"lat",x1:(c=e.sourceConfig)==null?void 0:c.x1,y1:(d=e.sourceConfig)==null?void 0:d.y1,coordinates:(h=e.sourceConfig)==null?void 0:h.coordinates}}}}function Vt(e){return{type:"PolygonLayer",sourceConfig:D0(e),visual:p1(e),schema:e}}function D0(e){var t;return e.sourceType==="geojson"?f1(e):{data:e.source,options:{parser:{type:"json",coordinates:((t=e.sourceConfig)==null?void 0:t.coordinates)??"coordinates"}}}}function kt(e){return{type:"HeatmapLayer",sourceConfig:$0(e),visual:O0(e),schema:e}}function $0(e){var t,n,r,o,i,s,l,c;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser,...e.sourceConfig.transforms?{transforms:e.sourceConfig.transforms}:{}}}:e.sourceType==="geojson"?{data:e.source,options:(n=e.sourceConfig)!=null&&n.transforms?{transforms:e.sourceConfig.transforms}:void 0}:e.sourceType==="csv"?{data:e.source,options:{parser:{type:"csv",x:(r=e.sourceConfig)==null?void 0:r.x,y:(o=e.sourceConfig)==null?void 0:o.y},...(i=e.sourceConfig)!=null&&i.transforms?{transforms:e.sourceConfig.transforms}:{}}}:{data:e.source,options:{parser:{type:"json",x:((s=e.sourceConfig)==null?void 0:s.x)??"lng",y:((l=e.sourceConfig)==null?void 0:l.y)??"lat"},...(c=e.sourceConfig)!=null&&c.transforms?{transforms:e.sourceConfig.transforms}:{}}}}function O0(e){const t=e.sizeField?{field:e.sizeField,values:e.sizeValues}:void 0,n=wt(e),r=Ht(e),o=e.style?{...e.style}:void 0;return{color:n,size:t,shape:r,style:o}}function jt(e){return{type:"RasterLayer",sourceConfig:B0(e),visual:U0(e),schema:e}}function B0(e){var t;return(t=e.sourceConfig)!=null&&t.parser?{data:e.source,options:{parser:e.sourceConfig.parser}}:{data:e.source,options:e.sourceType==="raster"?{parser:{type:"raster",extent:[73.482190241,3.82501784112,135.106618732,53.557926206]}}:e.sourceType==="rasterTile"?{parser:{type:"rasterTile",tileSize:256,zoomOffset:1}}:void 0}}function U0(e){return{color:void 0,size:void 0,shape:void 0,style:e.style?{...e.style}:void 0}}function Et(e){var t;return{type:"ImageLayer",sourceConfig:{data:e.source,options:{parser:((t=e.sourceConfig)==null?void 0:t.parser)??(e.sourceType==="image"?{type:"image"}:void 0)}},visual:{color:void 0,size:void 0,shape:void 0,style:e.style?{...e.style}:void 0},schema:e}}function g1(e,t,n,r){const o=u.useRef(t),i=u.useRef(n);o.current=t,i.current=n;const s=u.useRef(r);s.current=r;const l=u.useRef(null),c=u.useRef(e);c.current=e;const d=u.useCallback(()=>{const m=c.current;if(m)try{const p=m.mapService;if(p){const g=p.lngLatToContainer([o.current,i.current]);g&&s.current(g.x,g.y)}else{const g=m.lngLatToContainer([o.current,i.current]);g&&s.current(g.x,g.y)}}catch{}},[]),h=u.useCallback(()=>{d()},[d]);u.useEffect(()=>{if(!e)return;const m=()=>{setTimeout(()=>d(),0)};return e.loaded?m():e.on("loaded",m),()=>{e.off("loaded",m)}},[e,d]),u.useEffect(()=>{d()},[t,n,d]),u.useEffect(()=>{if(e){try{const m=e.mapService;if(m)return m.on("camerachange",h),m.on("viewchange",h),()=>{m.off("camerachange",h),m.off("viewchange",h)}}catch{}return e.on("camerachange",h),e.on("resize",h),()=>{e.off("camerachange",h),e.off("resize",h)}}},[e,h]),u.useEffect(()=>()=>{l.current!==null&&(cancelAnimationFrame(l.current),l.current=null)},[])}function ue(...e){return g0(e)}function W0(e,t=1){const n=e.replace("#","").match(/.{2}/g);if(!n||n.length<3)return e;const[r,o,i]=n.map(s=>parseInt(s,16));return`rgba(${r}, ${o}, ${i}, ${t})`}function De(e){return typeof e=="string"&&/<[a-zA-Z][^>]*>/.test(e)}let Re=null;const a1=new Set;function q0(e,t){Re&&Re!==e&&a1.forEach(n=>n(e)),Re=e}function G0(e){Re===e&&(Re=null)}function Y0(e,t,n,r,o,i,s,l){if(s!=="auto")return Ie(s,l);const c=t,d=i-t,h=e,m=o-e,p=8;if(c>=r+l+p)return Ie("top",l);if(d>=r+l+p)return Ie("bottom",l);if(m>=n+l+p)return Ie("right",l);if(h>=n+l+p)return Ie("left",l);const f=Object.entries({top:c,bottom:d,right:m,left:h}).sort((C,v)=>v[1]-C[1])[0][0];return Ie(f,l)}function Ie(e,t){switch(e){case"top":return{placement:"top",transform:`translate(-50%, -100%) translateY(-${t}px)`};case"bottom":return{placement:"bottom",transform:`translate(-50%, 0) translateY(${t}px)`};case"left":return{placement:"left",transform:`translate(-100%, -50%) translateX(-${t}px)`};case"right":return{placement:"right",transform:`translate(0, -50%) translateX(${t}px)`}}}function qe({onClick:e}){return a.jsx("button",{onClick:t=>{t.stopPropagation(),e()},className:"aimapui-popup-close-btn absolute top-2 right-2 size-8 flex items-center justify-center text-on-surface-variant rounded-lg transition-[color,background] duration-200 cursor-pointer bg-transparent border-none p-0 hover:text-on-surface hover:bg-surface-container-high [&_.material-symbols-outlined]:text-xl","aria-label":"关闭",children:a.jsx("span",{className:"material-symbols-outlined",children:"close"})})}const J0={top:"M0 0L8 8L16 0",bottom:"M0 8L8 0L16 8",left:"M0 0L8 8L0 16",right:"M8 0L0 8L8 16"};function $e({placement:e}){const t=e==="top"||e==="bottom",n=t?16:8,r=t?8:16,o=t?"0 0 16 8":"0 0 8 16",i=J0[e];return a.jsx("div",{className:`aimapui-popup-tip-arrow aimapui-popup-tip-arrow--${e==="top"?"bottom":e==="bottom"?"top":e}`,children:a.jsxs("svg",{width:n,height:r,viewBox:o,fill:"none",children:[a.jsx("path",{d:i,fill:"rgba(248, 249, 255, 0.95)"}),a.jsx("path",{d:i,stroke:"rgba(195, 198, 215, 0.3)",strokeWidth:"0.5",fill:"none"})]})})}function X0({header:e,onClose:t}){return e.coverUrl?a.jsxs("div",{className:"aimapui-popup-cover relative aspect-video overflow-hidden",children:[a.jsx("img",{src:e.coverUrl,alt:e.title,className:"aimapui-popup-cover-img w-full h-full object-cover"}),a.jsx("button",{className:"aimapui-popup-close-btn aimapui-popup-close-btn--cover absolute top-2 right-2 size-8 bg-black/30 backdrop-blur-sm text-white flex items-center justify-center rounded-full border-none cursor-pointer transition-colors duration-200 z-10 hover:bg-black/50 [&_.material-symbols-outlined]:text-lg","aria-label":"关闭",onClick:n=>{n.stopPropagation(),t()},children:a.jsx("span",{className:"material-symbols-outlined",children:"close"})}),e.statusLabel&&a.jsxs("div",{className:"aimapui-popup-status-badge absolute bottom-2 left-2 flex items-center gap-1.5 px-2 py-0.5 bg-surface/90 backdrop-blur-sm rounded-md shadow-sm text-[10px] font-semibold uppercase tracking-wide text-on-surface",children:[a.jsx("div",{className:"size-2 rounded-full",style:{background:e.statusColor||"#10b981"}}),a.jsx("span",{children:e.statusLabel})]})]}):null}function K0({header:e,onClose:t,hasCover:n,showStatusDot:r}){return a.jsxs("div",{className:ue("aimapui-popup-header relative flex items-center p-4",!n&&"pr-10"),children:[r&&e.statusDot&&a.jsx("div",{className:"size-2 rounded-full shrink-0 mr-2 animate-pulse",style:{background:e.statusDot}}),a.jsx("h3",{className:"aimapui-popup-title text-xl leading-7 font-semibold text-on-surface m-0 flex-1 min-w-0 truncate",children:e.title}),!n&&a.jsx(qe,{onClick:t})]})}function Q0({attributes:e,size:t}){const n=t==="compact",r=t==="detailed",o=n?1:2;return a.jsx("div",{className:ue("aimapui-popup-attrs",n?"flex flex-col":"grid gap-2"),style:n?void 0:{gridTemplateColumns:`repeat(${o}, 1fr)`},children:e.map((i,s)=>r&&i.icon?a.jsxs("div",{className:"aimapui-popup-attr flex items-center gap-2",children:[a.jsx("div",{className:"aimapui-popup-attr-icon size-12 rounded-lg bg-surface-container-highest flex items-center justify-center text-primary shrink-0 [&_.material-symbols-outlined]:text-[28px]",children:a.jsx("span",{className:"material-symbols-outlined",children:i.icon})}),a.jsxs("div",{children:[a.jsx("p",{className:"aimapui-popup-attr-label text-sm leading-5 text-on-surface-variant m-0",children:i.label}),a.jsx("p",{className:"aimapui-popup-attr-value text-sm leading-5 font-medium text-on-surface m-0",style:i.valueColor?{color:i.valueColor}:void 0,children:i.value})]})]},s):a.jsxs("div",{className:ue("aimapui-popup-attr","flex justify-between items-baseline gap-2",n&&"py-2 border-b border-outline-variant/30 last:border-b-0 last:pb-0 first:pt-0"),children:[a.jsx("p",{className:"aimapui-popup-attr-label text-sm leading-5 text-on-surface-variant m-0",children:i.label}),a.jsx("p",{className:"aimapui-popup-attr-value text-sm leading-5 font-medium text-on-surface m-0 text-right",style:i.valueColor?{color:i.valueColor}:void 0,children:i.value})]},s))})}function en({actions:e}){return a.jsx("div",{className:"aimapui-popup-actions flex gap-3 px-4 pb-4",children:e.map((t,n)=>a.jsx("button",{className:ue("aimapui-popup-action-btn","flex-1 py-2.5 text-sm leading-5 font-semibold rounded-lg border-none cursor-pointer transition-all duration-150 active:scale-[0.98]",t.variant==="secondary"?"aimapui-popup-action-btn--secondary bg-transparent text-on-surface border-2 border-solid border-outline-variant hover:bg-surface-container-low":"aimapui-popup-action-btn--primary bg-primary text-on-primary shadow-sm hover:shadow-[0_4px_12px_rgba(0,74,198,0.3)]"),onClick:t.onClick,children:t.label},n))})}function _e({longitude:e,latitude:t,content:n,closeButton:r=!0,size:o="standard",placement:i="auto",offset:s=8,header:l,attributes:c,actions:d,visible:h,singleton:m=!1,overlayContainer:p,onClose:g,className:f}){const C=he(),v=h!==void 0,[w,S]=u.useState(!0),b=v?h:w,[A,z]=u.useState(!1),[Z,M]=u.useState("top"),E=u.useRef(null),D=u.useRef(!0);u.useRef(!1);const V=u.useRef(Symbol("popup")),[R,N]=u.useState(null);u.useEffect(()=>{if(p||!C)return;const W=()=>{try{const ne=C.mapService;if(ne&&typeof ne.getMarkerContainer=="function"){const P=ne.getMarkerContainer();if(P)return N(P),!0}}catch{}return!1};if(W())return;const te=()=>{W()};return C.loaded?te():C.on("loaded",te),()=>{C.off("loaded",te)}},[C,p]);const I=p??R,L=u.useCallback(()=>{A||(z(!0),setTimeout(()=>{v||S(!1),g==null||g(),z(!1)},150))},[v,g,A]);u.useEffect(()=>{if(!m||!b)return;const W=V.current;return q0(W),()=>G0(W)},[m,b,L]),u.useEffect(()=>{if(!m)return;const W=V.current,te=ne=>{ne!==W&&b&&L()};return a1.add(te),()=>{a1.delete(te)}},[m,b,L]);const H=u.useRef(()=>{});H.current=(W,te)=>{var G;const ne=E.current;if(!ne)return;const P=Math.round(W),B=Math.round(te);let ie=0,Y=0;try{const _=C==null?void 0:C.mapService,U=(G=_==null?void 0:_.getContainer)==null?void 0:G.call(_);if(U){const Q=U.getBoundingClientRect();ie=Q.width||U.clientWidth||U.scrollWidth,Y=Q.height||U.clientHeight||U.scrollHeight}}catch{}const oe=ne.querySelector(".aimapui-popup-content"),ce=(oe==null?void 0:oe.offsetWidth)||320,j=(oe==null?void 0:oe.offsetHeight)||200,{placement:y,transform:k}=Y0(P,B,ce,j,ie,Y,i,s);M(y),ne.style.left="0",ne.style.top="0",ne.style.transform=`translate3d(${P}px, ${B}px, 0) ${k}`;let x;if(ie>0&&Y>0)x=P>=-2&&P<=ie+2&&B>=-2&&B<=Y+2;else{const _=ne.parentElement;_&&_.clientWidth>0&&_.clientHeight>0?x=P>=0&&P<=_.clientWidth&&B>=0&&B<=_.clientHeight:x=D.current}D.current=x,ne.style.display=x?"":"none"};const O=u.useCallback(()=>{if(C)try{const W=C.mapService,te=W?W.lngLatToContainer([e,t]):C.lngLatToContainer([e,t]);te&&H.current(te.x,te.y)}catch{}},[C,e,t]);if(u.useEffect(()=>{if(!I||!b)return;const W=requestAnimationFrame(()=>{O()});return()=>cancelAnimationFrame(W)},[I,b,O]),u.useEffect(()=>{if(!b)return;const W=te=>{te.key==="Escape"&&L()};return document.addEventListener("keydown",W),()=>document.removeEventListener("keydown",W)},[b,L]),u.useEffect(()=>{var P;if(!b||!I)return;const W=B=>{const ie=E.current;if(!ie||ie.contains(B.target))return;const Y=B.target;Y.closest(".aimapui-marker")||Y.closest("[data-marker]")||L()};let te=null;try{const B=C==null?void 0:C.mapService;B&&(te=(P=B.getContainer)==null?void 0:P.call(B))}catch{}const ne=te||I.parentElement||I;return ne.addEventListener("click",W,!0),()=>ne.removeEventListener("click",W,!0)},[b,I,C,L]),g1(C,e,t,(W,te)=>{H.current(W,te)}),!b||!I)return null;const q=l||c||d,ee=!!(l!=null&&l.coverUrl),J=Z==="left"||Z==="right",K=()=>q?a.jsxs(a.Fragment,{children:[l&&ee&&a.jsx(X0,{header:l,onClose:L}),l&&a.jsx(K0,{header:l,onClose:L,hasCover:ee,showStatusDot:o==="compact"}),a.jsxs("div",{className:ue("aimapui-popup-body relative p-4 text-sm leading-5 text-on-surface break-words whitespace-normal",!l&&r&&"pr-10"),children:[!l&&r&&a.jsx(qe,{onClick:L}),n&&!De(n)&&typeof n!="string"&&a.jsx("div",{children:n}),n&&De(n)&&a.jsx("div",{dangerouslySetInnerHTML:{__html:n}}),n&&!De(n)&&typeof n=="string"&&a.jsx("div",{children:n}),!n&&!(c!=null&&c.length)&&!(d!=null&&d.length)&&!l&&a.jsx("div",{style:{color:"var(--color-on-surface-variant)"},children:"无内容"}),c&&c.length>0&&a.jsx(Q0,{attributes:c,size:o})]}),d&&d.length>0&&a.jsx(en,{actions:d})]}):De(n)?a.jsxs("div",{className:"aimapui-popup-body relative p-4 pt-2 pr-10 text-sm leading-5 text-on-surface break-words whitespace-normal",children:[r&&a.jsx(qe,{onClick:L}),a.jsx("div",{dangerouslySetInnerHTML:{__html:n}})]}):a.jsxs("div",{className:"aimapui-popup-body relative p-4 pt-2 pr-10 text-sm leading-5 text-on-surface break-words whitespace-normal",children:[r&&a.jsx(qe,{onClick:L}),a.jsx("div",{children:n??""})]}),ae=J?{display:"flex",alignItems:"center"}:{display:"flex",flexDirection:"column",alignItems:"center"};return Ye.createPortal(a.jsxs("div",{ref:E,className:ue("aimapui-popup",`aimapui-popup--${o}`),style:{position:"absolute",left:0,top:0,transform:"translate(-9999px, -9999px)",display:"none",zIndex:30,pointerEvents:"auto",...ae},children:[Z==="bottom"&&a.jsx($e,{placement:Z}),Z==="right"&&a.jsx($e,{placement:Z}),a.jsx("div",{className:ue("aimapui-popup-content overflow-hidden rounded-xl",A&&"aimapui-popup-content--exit",f),children:K()}),Z==="top"&&a.jsx($e,{placement:Z}),Z==="left"&&a.jsx($e,{placement:Z})]}),I)}const tn={top:"bottom",bottom:"top",left:"right",right:"left"},nn={top:"translate(-50%, -100%)",bottom:"translate(-50%, 0)",left:"translate(-100%, -50%)",right:"translate(0, -50%)"};function m1({content:e,variant:t="dark",longitude:n,latitude:r,targetElement:o,placement:i="top",offset:s=8,trigger:l="hover",visible:c,title:d,items:h,overlayContainer:m,className:p}){const{resolvedTheme:g}=xt(),f=he(),C=c!==void 0,[v,w]=u.useState(!1),S=C?c:v,b=u.useRef(null),A=u.useRef(null),z=n!==void 0&&r!==void 0;u.useEffect(()=>{if(z||!o||C)return;const L=()=>{A.current=setTimeout(()=>w(!0),100)},H=()=>{A.current&&(clearTimeout(A.current),A.current=null),w(!1)},O=()=>{A.current&&clearTimeout(A.current),w(q=>!q)};return l==="hover"?(o.addEventListener("mouseenter",L),o.addEventListener("mouseleave",H)):o.addEventListener("click",O),()=>{A.current&&clearTimeout(A.current),o.removeEventListener("mouseenter",L),o.removeEventListener("mouseleave",H),o.removeEventListener("click",O)}},[o,l,z,C]);const Z=u.useCallback(()=>{if(!o||!b.current)return;const L=o.getBoundingClientRect(),H=b.current.getBoundingClientRect();let O=0,q=0;switch(i){case"right":O=L.right+s,q=L.top+L.height/2-H.height/2;break;case"bottom":O=L.left+L.width/2-H.width/2,q=L.bottom+s;break;case"left":O=L.left-H.width-s,q=L.top+L.height/2-H.height/2;break;case"top":default:O=L.left+L.width/2-H.width/2,q=L.top-H.height-s;break}const ee=8;O=Math.max(ee,Math.min(O,window.innerWidth-H.width-ee)),q=Math.max(ee,Math.min(q,window.innerHeight-H.height-ee)),b.current.style.display="",b.current.style.left=`${O}px`,b.current.style.top=`${q}px`},[o,i,s]);u.useEffect(()=>{if(z||!S||!o)return;Z();const L=()=>Z();return window.addEventListener("resize",L),window.addEventListener("scroll",L,!0),()=>{window.removeEventListener("resize",L),window.removeEventListener("scroll",L,!0)}},[S,o,z,Z]);const M=u.useCallback(()=>{var L,H;if(!f)return null;try{const O=f.mapService,q=((L=O==null?void 0:O.getContainer)==null?void 0:L.call(O))??((H=f.getMapContainer)==null?void 0:H.call(f))??f.container;if(q instanceof HTMLElement)return q.getBoundingClientRect()}catch{}return null},[f]),E=u.useRef(()=>{});E.current=(L,H)=>{const O=b.current;if(!O||!z)return;let q=0,ee=0;switch(i){case"top":ee=-s;break;case"bottom":ee=s;break;case"left":q=-s;break;case"right":q=s;break}const J=M();let K=!0;if(J&&J.width>0&&J.height>0&&(K=L>=-2&&L<=J.width+2&&H>=-2&&H<=J.height+2),!K){O.style.display="none";return}const ae=J?J.left:0,W=J?J.top:0,te=Math.round(L+q+ae),ne=Math.round(H+ee+W),P=nn[i];O.style.display="",O.style.transform=`translate3d(${te}px, ${ne}px, 0) ${P}`};const D=u.useCallback(()=>{if(!(!f||!z))try{const L=f.mapService,H=L?L.lngLatToContainer([n,r]):f.lngLatToContainer([n,r]);if(!H||isNaN(H.x)||isNaN(H.y))return;E.current(H.x,H.y)}catch{}},[f,n,r,z]);if(u.useEffect(()=>{if(!z||!S)return;const L=requestAnimationFrame(()=>D());return()=>cancelAnimationFrame(L)},[S,z,D]),g1(z?f:null,n??0,r??0,(L,H)=>{E.current(L,H)}),!S)return null;const V=tn[i],R=d||h&&h.length>0,N=()=>e?typeof e=="string"?a.jsx("span",{dangerouslySetInnerHTML:{__html:e}}):e:R?a.jsxs(a.Fragment,{children:[d&&a.jsx("p",{className:"font-sans text-xs leading-4 font-semibold m-0 mb-0.5",children:d}),h&&h.length>0&&a.jsx("div",{className:"flex flex-col gap-0.5",children:h.map((L,H)=>a.jsxs("div",{className:"flex justify-between items-center gap-3",children:[a.jsx("span",{className:"text-xs leading-4 font-normal opacity-70 m-0",children:L.label}),a.jsx("span",{className:"font-mono text-xs leading-4 font-[450] text-right m-0",children:L.value})]},H))})]}):null,I=a.jsxs("div",{ref:b,"data-theme":g,className:ue("aimapui-tooltip",t!=="dark"&&`aimapui-tooltip--${t}`),style:{position:"fixed",left:0,top:0,transform:"translate(-9999px, -9999px)",display:"none",zIndex:9999,pointerEvents:"none"},children:[a.jsx("div",{className:ue("aimapui-tooltip-content",p),children:N()}),a.jsx("div",{className:`aimapui-tooltip-arrow aimapui-tooltip-arrow--${V}`})]});return Ye.createPortal(I,document.body)}function rn(e,t){let n;switch(e.type){case"point":n=St(e);break;case"line":n=zt(e);break;case"polygon":n=Vt(e);break;case"heatmap":n=kt(e);break;case"raster":n=jt(e);break;case"image":n=Et(e);break;default:return console.warn(`[aimapui] Unknown layer type: ${e.type}`),null}return on(n)}function on(e,t){var h;const n=pe[e.type];if(!n)throw new Error(`[aimapui] L7 layer class "${e.type}" not found`);const r=new n({...e.schema.zIndex!==void 0?{zIndex:e.schema.zIndex}:{},...e.schema.name?{name:e.schema.name}:{}}),{data:o,options:i}=e.sourceConfig;i?r.source(o,i):r.source(o);const{color:s,size:l,shape:c,style:d}=e.visual;if(s&&(s.field&&s.values?r.color(s.field,s.values):s.values&&r.color(s.values)),l&&(l.field&&l.values?r.size(l.field,l.values):l.values!==void 0&&r.size(l.values)),c&&(c.field&&c.values?r.shape(c.field,c.values):c.values&&r.shape(c.values)),d&&Object.keys(d).length>0&&r.style(d),e.type==="PointLayer"&&!c&&r.shape("circle"),e.type==="LineLayer"&&!c&&r.shape("line"),e.schema.filterField&&e.schema.filterValues){const m=e.schema.filterField,p=e.schema.filterValues;r.filter(m,g=>p.includes(g))}return(h=e.schema.animate)!=null&&h.enable&&r.animate(!0,e.schema.animate),e.schema.active&&r.active(e.schema.active),e.schema.select&&r.select(e.schema.select),e.schema.opacity!==void 0&&r.style({opacity:e.schema.opacity}),e.schema.blend&&r.blend(e.schema.blend),e.schema.visible===!1&&r.hide(),e.schema.minZoom!==void 0&&r.minZoom(e.schema.minZoom),e.schema.maxZoom!==void 0&&r.maxZoom(e.schema.maxZoom),r}function Oe(e,t,n){var l,c,d,h,m,p,g,f;const r=n,o=Number.isFinite((l=r==null?void 0:r.lnglat)==null?void 0:l.lng)?r.lnglat.lng:Number.isFinite((c=r==null?void 0:r.lngLat)==null?void 0:c.lng)?r.lngLat.lng:Number.isFinite((d=r==null?void 0:r.coordinate)==null?void 0:d.lng)?r.coordinate.lng:0,i=Number.isFinite((h=r==null?void 0:r.lnglat)==null?void 0:h.lat)?r.lnglat.lat:Number.isFinite((m=r==null?void 0:r.lngLat)==null?void 0:m.lat)?r.lngLat.lat:Number.isFinite((p=r==null?void 0:r.coordinate)==null?void 0:p.lat)?r.coordinate.lat:0,s=((g=r==null?void 0:r.feature)==null?void 0:g.properties)??(r==null?void 0:r.feature)??((f=r==null?void 0:r.data)==null?void 0:f.properties)??(r==null?void 0:r.data)??void 0;return{layerId:e,layerType:t,originalEvent:n,lng:o,lat:i,feature:s}}function Ze({schema:e,scene:t,eventHandlers:n,onLayerCreated:r}){const o=u.useRef(null),i=h1(),s=u.useRef(n);s.current=n;const l=u.useMemo(()=>{const{source:h,...m}=e;let p;if(ArrayBuffer.isView(h))p=`TypedArray:${h.length}`;else if(h&&typeof h=="object"&&"width"in h){const g=h;p=`Rasters:${g.width}x${g.height}:${g.length}`}else if(typeof h=="string")p=h;else try{p=JSON.stringify(h)}catch{p=String(h)}return p+"|"+sn(m)},[e]),[c,d]=u.useState({visible:!1,lng:0,lat:0,content:"",trigger:"click"});return u.useEffect(()=>{var Z,M,E,D;const h=rn(e);if(!h)return;let m=!1;o.current=h;const p=e.id??e.name??`layer-${e.type}`,g=e.events,f=!!(g!=null&&g.enablePopup),C=(g==null?void 0:g.popupTrigger)??"click",v=V=>{if(!f)return;const R=V.feature;if(!R)return;const N=an(R,g==null?void 0:g.popupFields,g==null?void 0:g.popupTemplate);d({visible:!0,lng:V.lng,lat:V.lat,content:N,trigger:C})},w=()=>{d(V=>({...V,visible:!1}))},S=!!((Z=s.current)!=null&&Z.onClick||g!=null&&g.click||f&&C==="click"),b=!!((M=s.current)!=null&&M.onMouseMove||g!=null&&g.mousemove||f&&C==="hover"),A=!!((E=s.current)!=null&&E.onMouseEnter||g!=null&&g.mouseenter),z=!!((D=s.current)!=null&&D.onMouseLeave||g!=null&&g.mouseleave||f&&C==="hover");return S&&h.on("click",V=>{var N,I;const R=Oe(p,e.type,V);(I=(N=s.current)==null?void 0:N.onClick)==null||I.call(N,R),g!=null&&g.click&&i.emit(g.click,R),C==="click"&&v(R)}),b&&h.on("mousemove",V=>{var N,I;const R=Oe(p,e.type,V);(I=(N=s.current)==null?void 0:N.onMouseMove)==null||I.call(N,R),C==="hover"&&v(R),g!=null&&g.mousemove&&i.emit(g.mousemove,R)}),A&&h.on("mouseenter",V=>{var N,I;const R=Oe(p,e.type,V);(I=(N=s.current)==null?void 0:N.onMouseEnter)==null||I.call(N,R),g!=null&&g.mouseenter&&i.emit(g.mouseenter,R)}),z&&h.on("mouseleave",V=>{var N,I;const R=Oe(p,e.type,V);(I=(N=s.current)==null?void 0:N.onMouseLeave)==null||I.call(N,R),C==="hover"&&w(),g!=null&&g.mouseleave&&i.emit(g.mouseleave,R)}),t.addLayer(h),r==null||r(h),h.on("inited",()=>{var V,R;if(!m){if(e.autoFit){const N=(R=(V=h.getSource)==null?void 0:V.call(h))==null?void 0:R.extent;if(N&&Array.isArray(N)&&N.length>=4){const[I,L,H,O]=N;isFinite(I)&&isFinite(L)&&isFinite(H)&&isFinite(O)&&I<H&&L<O&&t.fitBounds([[I,L],[H,O]])}}t.render()}}),()=>{if(m=!0,o.current){try{t.removeLayer(o.current)}catch{}o.current=null}d(V=>({...V,visible:!1}))}},[l,t,i]),u.useEffect(()=>{o.current&&(e.visible===!1?o.current.hide():o.current.show(),e.zIndex!==void 0&&(o.current.zIndex=e.zIndex))},[e.visible,e.zIndex]),c.visible?c.trigger==="hover"?a.jsx(m1,{longitude:c.lng,latitude:c.lat,content:c.content,variant:"dark",placement:"top",visible:!0}):a.jsx(_e,{longitude:c.lng,latitude:c.lat,content:c.content,closeButton:!0,size:"compact",onClose:()=>d(h=>({...h,visible:!1}))}):null}function sn(e){return JSON.stringify(l1(e))}function l1(e){if(ArrayBuffer.isView(e))return`[TypedArray:${e.length}]`;if(e instanceof ArrayBuffer)return`[ArrayBuffer:${e.byteLength}]`;if(Array.isArray(e))return e.length>1e3?`[Array:${e.length}]`:e.map(l1);if(e&&typeof e=="object"){const t=e,n=Object.keys(t).sort(),r={};return n.forEach(o=>{r[o]=l1(t[o])}),r}return e}function an(e,t,n){return n?n.replace(/\{\{(\w+)\}\}/g,(i,s)=>String(e[s]??"")):`<table style="font-size:12px">${(t??Object.keys(e).filter(i=>!["_id","id","geometry","coordinates"].includes(i))).map(i=>`<tr><td style="font-weight:600;padding-right:8px">${i}</td><td>${e[i]??""}</td></tr>`).join("")}</table>`}function At({layers:e,eventHandlers:t}){const n=he();return n?a.jsx(a.Fragment,{children:e.map((r,o)=>a.jsx(Ze,{schema:r,scene:n,eventHandlers:t},r.id??`layer-${o}`))}):null}const Zt=u.createContext(!1);function ve(){return u.useContext(Zt)}const n1=new Set,me={mark(e){e&&typeof e=="object"&&"$$typeof"in e&&n1.add(e),e&&typeof e=="function"&&n1.add(e)},check(e){if("position"in e.props)return!0;const t=e.type;if(n1.has(t))return!0;const n=t==null?void 0:t.displayName;return!!(typeof n=="string"&&n.endsWith("Control"))}};function y1({children:e,className:t,style:n}){const{controlGroups:r,otherChildren:o}=ln(e);return a.jsx(Zt.Provider,{value:!0,children:a.jsxs("div",{className:`l7-control-container${t?` ${t}`:""}`,style:n,children:[Object.entries(r).map(([i,s])=>{const l=un(i);return a.jsx("div",{className:`l7-control-anchor ${l}`,children:s},i)}),o]})})}function ln(e){const t={},n=[];return u.Children.forEach(e,(r,o)=>{var i;if(!u.isValidElement(r)){n.push(r);return}if(me.check(r)){const s=((i=r.props)==null?void 0:i.position)??"topright";t[s]||(t[s]=[]),t[s].push(r)}else n.push(u.isValidElement(r)?u.cloneElement(r,{key:r.key??`non-ctrl-${o}`}):r)}),{controlGroups:t,otherChildren:n}}function cn(e){switch(e){case"topleft":return{vSide:"top",hSide:"left",direction:"column"};case"topright":return{vSide:"top",hSide:"right",direction:"column"};case"bottomleft":return{vSide:"bottom",hSide:"left",direction:"column"};case"bottomright":return{vSide:"bottom",hSide:"right",direction:"column"};case"topcenter":return{vSide:"top",hSide:"left",direction:"row"};case"bottomcenter":return{vSide:"bottom",hSide:"left",direction:"row"};case"lefttop":return{vSide:"top",hSide:"left",direction:"row"};case"leftbottom":return{vSide:"bottom",hSide:"left",direction:"row"};case"righttop":return{vSide:"top",hSide:"right",direction:"row"};case"rightbottom":return{vSide:"bottom",hSide:"right",direction:"row"};default:return{vSide:"top",hSide:"right",direction:"column"}}}function un(e){if(e==="rightcenter")return"l7-rightcenter l7-column";if(e==="leftcenter")return"l7-leftcenter l7-column";const{vSide:t,hSide:n,direction:r}=cn(e);return`l7-${t} l7-${n} l7-${r}`}function Le(e){const t=he(),n=u.useMemo(()=>{if(!t)return null;try{return t.mapService??null}catch{return null}},[t]),r=u.useCallback(()=>{var i;if(!t)return null;try{return n&&typeof n.getContainer=="function"?n.getContainer():((i=t.getContainer)==null?void 0:i.call(t))??null}catch{return null}},[t,n]),o=u.useMemo(()=>{if(e==="rightcenter")return"l7-rightcenter l7-column";if(e==="leftcenter")return"l7-leftcenter l7-column";const{vSide:i,hSide:s,direction:l}=dn(e??"topright");return`l7-${i} l7-${s} l7-${l}`},[e]);return{scene:t,mapsService:n,getMapContainer:r,positionClassName:o}}function dn(e){switch(e){case"topleft":return{vSide:"top",hSide:"left",direction:"column"};case"topright":return{vSide:"top",hSide:"right",direction:"column"};case"bottomleft":return{vSide:"bottom",hSide:"left",direction:"column"};case"bottomright":return{vSide:"bottom",hSide:"right",direction:"column"};case"topcenter":return{vSide:"top",hSide:"left",direction:"row"};case"bottomcenter":return{vSide:"bottom",hSide:"left",direction:"row"};case"lefttop":return{vSide:"top",hSide:"left",direction:"row"};case"leftbottom":return{vSide:"bottom",hSide:"left",direction:"row"};case"righttop":return{vSide:"top",hSide:"right",direction:"row"};case"rightbottom":return{vSide:"bottom",hSide:"right",direction:"row"};case"rightcenter":return{vSide:"top",hSide:"right",direction:"column"};case"leftcenter":return{vSide:"top",hSide:"left",direction:"column"};default:return{vSide:"top",hSide:"right",direction:"column"}}}function C1({position:e="bottomright",zoomInText:t,zoomInTitle:n="Zoom in",zoomOutText:r,zoomOutTitle:o="Zoom out",showZoom:i=!1,className:s,style:l}){const{mapsService:c,positionClassName:d}=Le(e),h=ve(),[m,p]=u.useState(0),[g,f]=u.useState(!0),[C,v]=u.useState(!0),w=u.useRef(()=>{if(!c)return;const z=Math.floor(c.getZoom());p(z),f(c.getZoom()<c.getMaxZoom()),v(c.getZoom()>c.getMinZoom())});u.useEffect(()=>{if(!c)return;w.current();const z=()=>w.current();return c.on("zoomend",z),c.on("zoomchange",z),()=>{c.off("zoomend",z),c.off("zoomchange",z)}},[c]);const S=()=>{c&&c.getZoom()<c.getMaxZoom()&&c.zoomIn()},b=()=>{c&&c.getZoom()>c.getMinZoom()&&c.zoomOut()},A=a.jsxs("div",{className:`l7-control l7-control-zoom l7-control--glass${s?` ${s}`:""}`,style:l,children:[a.jsx("button",{className:"l7-button-control",onClick:S,disabled:!g,title:n,"aria-label":n,children:t??a.jsx("span",{className:"material-symbols-outlined",children:"add"})}),i&&a.jsx("button",{className:"l7-button-control l7-control-zoom__number",disabled:!0,children:m}),a.jsx("button",{className:"l7-button-control",onClick:b,disabled:!C,title:o,"aria-label":o,children:r??a.jsx("span",{className:"material-symbols-outlined",children:"remove"})})]});return h?A:a.jsx("div",{className:`l7-control-anchor ${d}`,children:A})}me.mark(C1);function hn(e,t){const[n,r]=e,[o,i]=t,s=63710088e-1,l=(i-r)*Math.PI/180,c=(o-n)*Math.PI/180,d=Math.sin(l/2)*Math.sin(l/2)+Math.cos(r*Math.PI/180)*Math.cos(i*Math.PI/180)*Math.sin(c/2)*Math.sin(c/2),h=2*Math.atan2(Math.sqrt(d),Math.sqrt(1-d));return s*h}function r1(e){const t=Math.pow(10,Math.floor(Math.abs(e)).toString().length-1);let n=e/t;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,t*n}function x1({position:e="bottomleft",maxWidth:t=100,metric:n=!0,imperial:r=!1,updateWhenIdle:o=!1,className:i,style:s}){const{mapsService:l,positionClassName:c}=Le(e),d=ve(),[h,m]=u.useState([]),p=u.useRef(()=>{if(l)try{const C=l.getSize()[1]/2,v=l.containerToLngLat([0,C]),w=l.containerToLngLat([t,C]);if(!v||!w)return;const S=hn([v.lng,v.lat],[w.lng,w.lat]),b=[];if(n&&S){const A=r1(S),z=A<1e3?`${A} m`:`${A/1e3} km`;b.push({text:z,width:Math.round(t*(A/S))})}if(r&&S){const A=S*3.2808399;if(A>5280){const z=A/5280,Z=r1(z);b.push({text:`${Z} mi`,width:Math.round(t*(Z/z))})}else{const z=r1(A);b.push({text:`${z} ft`,width:Math.round(t*(z/A))})}}m(b)}catch{}});u.useEffect(()=>{if(!l)return;p.current();const f=()=>p.current(),C=o?"moveend":"mapmove",v=o?"zoomend":"zoomchange";return l.on(C,f),l.on(v,f),()=>{l.off(C,f),l.off(v,f)}},[l,t,n,r,o]);const g=a.jsx("div",{className:`l7-control l7-control-scale l7-control--glass${i?` ${i}`:""}`,style:s,children:h.map((f,C)=>a.jsx("div",{className:"l7-control-scale-line",style:{width:f.width},children:f.text},C))});return d?g:a.jsx("div",{className:`l7-control-anchor ${c}`,children:g})}me.mark(x1);function v1({position:e="topright",container:t,className:n,style:r}){const{getMapContainer:o,positionClassName:i}=Le(e),s=ve(),[l,c]=u.useState(!1),d=u.useCallback(()=>t??o()??document.documentElement,[t,o]),h=u.useCallback(()=>{const p=d();l?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():p.requestFullscreen?p.requestFullscreen():p.webkitRequestFullscreen&&p.webkitRequestFullscreen()},[l,d]);u.useEffect(()=>{const p=()=>{c(!!document.fullscreenElement)};return document.addEventListener("fullscreenchange",p),()=>document.removeEventListener("fullscreenchange",p)},[]);const m=a.jsx("div",{className:`l7-control l7-control--glass${n?` ${n}`:""}`,style:r,children:a.jsx("button",{className:"l7-button-control",onClick:h,title:l?"退出全屏":"全屏","aria-label":l?"退出全屏":"全屏",children:a.jsx("span",{className:"material-symbols-outlined",children:l?"fullscreen_exit":"fullscreen"})})});return s?m:a.jsx("div",{className:`l7-control-anchor ${i}`,children:m})}me.mark(v1);function L1({position:e="topright",transform:t,className:n,style:r}){const{mapsService:o,positionClassName:i}=Le(e),s=ve(),l=u.useCallback(async()=>{if(!window.navigator.geolocation){console.warn("[aimapui] Geolocation is not supported by this browser");return}if(o)try{const d=await new Promise((C,v)=>{window.navigator.geolocation.getCurrentPosition(({coords:w})=>C(w),w=>v(w))}),{longitude:h,latitude:m}=d;if(isNaN(h)||isNaN(m))return;const p=[h,m],g=t?await t(p):p,f=o.getZoom();o.setZoomAndCenter(f>15?f:15,g)}catch(d){console.warn("[aimapui] Geolocation error:",d)}},[o,t]),c=a.jsx("div",{className:`l7-control l7-control--glass${n?` ${n}`:""}`,style:r,children:a.jsx("button",{className:"l7-button-control",onClick:l,title:"定位","aria-label":"定位",children:a.jsx("span",{className:"material-symbols-outlined",children:"my_location"})})});return s?c:a.jsx("div",{className:`l7-control-anchor ${i}`,children:c})}me.mark(L1);const c1=[{text:"Standard",value:"normal",preview:"linear-gradient(135deg, #e8e8e8 0%, #c8d8e8 40%, #a8c8d8 100%)"},{text:"Light",value:"light",preview:"linear-gradient(135deg, #f0f4f8 0%, #d6e4f0 40%, #e8eff5 100%)"},{text:"Dark",value:"dark",preview:"linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #162032 100%)"},{text:"Dark Blue",value:"darkblue",preview:"linear-gradient(135deg, #0a1628 0%, #0f2040 40%, #091a30 100%)"},{text:"Satellite",value:"satellite",preview:"linear-gradient(135deg, #1a3a1a 0%, #2d5a2d 40%, #1d4a2d 100%)"},{text:"Fresh",value:"fresh",preview:"linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 40%, #d4edda 100%)"}],pn=[{text:"Positron",value:"https://tiles.openfreemap.org/styles/positron",preview:"linear-gradient(135deg, #f2f3f0 0%, #d8dcd6 40%, #e8ebe5 100%)"},{text:"Bright",value:"https://tiles.openfreemap.org/styles/bright",preview:"linear-gradient(135deg, #e8e8e8 0%, #c8d8e8 40%, #a8c8d8 100%)"},{text:"Dark",value:"https://tiles.openfreemap.org/styles/dark",preview:"linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%)"},{text:"Liberty",value:"https://tiles.openfreemap.org/styles/liberty",preview:"linear-gradient(135deg, #f0ece2 0%, #dfd7c8 40%, #c8bfad 100%)"},{text:"Fiord",value:"https://tiles.openfreemap.org/styles/fiord",preview:"linear-gradient(135deg, #2c3e50 0%, #34495e 40%, #415b76 100%)"}],fn=[{text:"Light",value:"light",preview:"linear-gradient(135deg, #f0f4f8 0%, #d6e4f0 40%, #e8eff5 100%)"},{text:"Dark",value:"dark",preview:"linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #162032 100%)"},{text:"Normal",value:"normal",preview:"linear-gradient(135deg, #e8e8e8 0%, #c8d8e8 40%, #a8c8d8 100%)"}];function b1({position:e="topright",options:t,defaultValue:n,onThemeChange:r,className:o,style:i}){const{mapsService:s,positionClassName:l}=Le(e),c=ve(),[d,h]=u.useState(!1),[m,p]=u.useState(n??""),[g,f]=u.useState(t??[]),C=u.useRef(null);u.useEffect(()=>{var b;if(t&&t.length>0){f(t);return}if(s){try{const A=(b=s.getMapStyleConfig)==null?void 0:b.call(s);if(A&&typeof A=="object"){const z=Object.entries(A).filter(([,Z])=>typeof Z=="string").map(([Z,M])=>{const E=c1.find(D=>D.value===M);return{text:Z,value:M,preview:E==null?void 0:E.preview}});if(z.length>0){f(z);return}}}catch{}f(c1)}},[s,t]),u.useEffect(()=>{var b;if(n){p(n);return}if(s)try{const A=(b=s.getMapStyle)==null?void 0:b.call(s);A&&p(A)}catch{}},[s,n]),u.useEffect(()=>{if(!d)return;const b=A=>{C.current&&!C.current.contains(A.target)&&h(!1)};return document.addEventListener("mousedown",b),()=>document.removeEventListener("mousedown",b)},[d]);const v=u.useCallback(b=>{if(p(b),s)try{s.setMapStyle(b)}catch{}r==null||r(b)},[s,r]),w=gn(e),S=a.jsxs("div",{ref:C,className:`l7-control l7-control--glass${o?` ${o}`:""}`,style:i,children:[a.jsx("button",{className:"l7-button-control",onClick:()=>h(!d),title:"地图样式","aria-label":"地图样式",children:a.jsx("span",{className:"material-symbols-outlined",children:"palette"})}),d&&g.length>0&&a.jsx("div",{className:`l7-popper ${w}`,children:a.jsxs("div",{className:"l7-popper-content l7-theme-panel",children:[a.jsxs("div",{className:"l7-theme-panel__title",children:[a.jsx("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"palette"}),"Map Themes"]}),a.jsx("div",{className:"l7-theme-panel__grid",children:g.map(b=>{const A=m===b.value,z=b.preview??"linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%)";return a.jsxs("button",{className:`l7-theme-card${A?" l7-theme-card--active":""}`,onClick:()=>v(b.value),title:b.text,children:[a.jsx("div",{className:"l7-theme-card__preview",style:{background:z}}),A&&a.jsx("span",{className:"material-symbols-outlined l7-theme-card__check",style:{fontVariationSettings:"'FILL' 1"},children:"check_circle"}),a.jsx("span",{className:"l7-theme-card__label",children:b.text})]},b.value)})})]})})]});return c?S:a.jsx("div",{className:`l7-control-anchor ${l}`,children:S})}function gn(e){switch(e){case"topleft":return"l7-popper-right l7-popper-start";case"topright":return"l7-popper-left l7-popper-start";case"bottomleft":return"l7-popper-right l7-popper-end";case"bottomright":return"l7-popper-left l7-popper-end";case"lefttop":return"l7-popper-bottom l7-popper-start";case"leftbottom":return"l7-popper-top l7-popper-start";case"righttop":return"l7-popper-bottom l7-popper-end";case"rightbottom":return"l7-popper-top l7-popper-end";default:return"l7-popper-bottom"}}me.mark(b1);function M1({position:e="bottomleft",precision:t=6,transform:n,className:r,style:o}){const s=n??(([p,g])=>[+p.toFixed(t),+g.toFixed(t)]),{mapsService:l,positionClassName:c}=Le(e),d=ve(),h=u.useRef(null);u.useEffect(()=>{if(!l)return;const p=g=>{const f=g.lngLat??g.lnglat;if(!f)return;const C=[f.lng,f.lat],v=s(C);h.current&&(h.current.innerText=v.join(", "))};return l.on("mousemove",p),()=>{l.off("mousemove",p)}},[l,s]);const m=a.jsx("div",{ref:h,className:`l7-control l7-control-mouse-location l7-control--glass${r?` ${r}`:""}`,style:o,children:" "});return d?m:a.jsx("div",{className:`l7-control-anchor ${c}`,children:m})}me.mark(M1);function w1({position:e="topright",format:t="png",onExport:n,className:r,style:o}){const{scene:i,mapsService:s,positionClassName:l}=Le(e),c=ve(),d=t==="jpg"?"jpeg":"png",h=u.useCallback(async()=>{var g,f;try{const C=s?await((g=s.exportMap)==null?void 0:g.call(s,d)):void 0,v=i?await((f=i.exportPng)==null?void 0:f.call(i,d)):void 0,w=[C,v].filter(S=>!!S);return w.length===0?void 0:w.length===1?w[0]:mn(w,d)}catch{return}},[i,s,d]),m=u.useCallback(async()=>{var f;const g=await h();if(n&&g){n(g);return}if(g){const C=document.createElement("a");C.download=`aimap-export.${d==="jpeg"?"jpg":"png"}`,C.href=g,C.click()}else try{if(s){const C=(f=s.getContainer)==null?void 0:f.call(s),v=C==null?void 0:C.querySelector("canvas");if(v&&typeof v.toDataURL=="function"){const w=v.toDataURL(`image/${d}`),S=document.createElement("a");S.download=`aimap-export.${d==="jpeg"?"jpg":"png"}`,S.href=w,S.click()}}}catch(C){console.warn("[aimapui] Export image failed:",C)}},[h,n,d,s]),p=a.jsx("div",{className:`l7-control l7-control--glass${r?` ${r}`:""}`,style:o,children:a.jsx("button",{className:"l7-button-control",onClick:m,title:"导出图片","aria-label":"导出图片",children:a.jsx("span",{className:"material-symbols-outlined",children:"photo_camera"})})});return c?p:a.jsx("div",{className:`l7-control-anchor ${l}`,children:p})}async function mn(e,t){const n=document.querySelector(".l7-map")||document.documentElement,{width:r=0,height:o=0}=n.getBoundingClientRect(),i=document.createElement("canvas");i.width=r,i.height=o;const s=i.getContext("2d");return(await Promise.all(e.map(c=>new Promise(d=>{const h=new Image;h.onload=()=>d(h),h.src=c})))).forEach(c=>{s==null||s.drawImage(c,0,0,r,o)}),i.toDataURL(`image/${t}`)}me.mark(w1);function H1({position:e="topright",layers:t,onToggle:n,onOpacityChange:r,className:o,style:i}){const[s,l]=u.useState(!1),c=u.useRef(null),[d,h]=u.useState(()=>{const v={};return t.forEach(w=>{v[w.id]=w.opacity??1}),v});u.useEffect(()=>{h(v=>{const w={...v};return t.forEach(S=>{S.opacity!==void 0&&(w[S.id]=S.opacity)}),w})},[t]);const{positionClassName:m}=Le(e),p=ve();if(u.useEffect(()=>{if(!s)return;const v=w=>{c.current&&!c.current.contains(w.target)&&l(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[s]),!t.length)return null;const g=yn(e),f=(v,w)=>{h(S=>({...S,[v]:w})),r==null||r(v,w)},C=a.jsxs("div",{ref:c,className:`l7-control l7-control--glass${o?` ${o}`:""}`,style:i,children:[a.jsx("button",{className:"l7-button-control",onClick:()=>l(!s),title:"图层控制","aria-label":"图层控制",children:a.jsx("span",{className:"material-symbols-outlined",children:"layers"})}),s&&a.jsx("div",{className:`l7-popper ${g}`,children:a.jsxs("div",{className:"l7-popper-content l7-layer-panel",children:[a.jsxs("div",{className:"l7-layer-panel__title",children:[a.jsx("span",{className:"material-symbols-outlined",style:{fontSize:16},children:"layers"}),"Layers"]}),a.jsx("div",{className:"l7-layer-panel__list",children:t.map(v=>{const w=v.visible!==!1,S=d[v.id]??v.opacity??1,b=v.icon??"layers";return a.jsxs("div",{className:`l7-layer-item${w?"":" l7-layer-item--disabled"}`,children:[a.jsxs("div",{className:"l7-layer-item__header",children:[a.jsx("span",{className:"material-symbols-outlined l7-layer-item__icon",children:b}),a.jsx("span",{className:"l7-layer-item__name",children:v.name??v.id}),a.jsxs("label",{className:"l7-layer-toggle",children:[a.jsx("input",{type:"checkbox",checked:w,onChange:()=>n(v.id,!w)}),a.jsx("span",{className:"l7-layer-toggle__track"})]})]}),r&&a.jsxs("div",{className:"l7-layer-item__slider",children:[a.jsx("span",{className:"material-symbols-outlined",style:{fontSize:14},children:"opacity"}),a.jsx("input",{type:"range",min:0,max:100,value:Math.round(S*100),onChange:A=>f(v.id,+A.target.value/100),className:"l7-layer-slider"})]})]},v.id)})})]})})]});return p?C:a.jsx("div",{className:`l7-control-anchor ${m}`,children:C})}function yn(e){switch(e){case"topleft":return"l7-popper-right l7-popper-start";case"topright":return"l7-popper-left l7-popper-start";case"bottomleft":return"l7-popper-right l7-popper-end";case"bottomright":return"l7-popper-left l7-popper-end";case"lefttop":return"l7-popper-bottom l7-popper-start";case"leftbottom":return"l7-popper-top l7-popper-start";case"righttop":return"l7-popper-bottom l7-popper-end";case"rightbottom":return"l7-popper-top l7-popper-end";default:return"l7-popper-bottom"}}me.mark(H1);function Cn(e){return{mode:"none",features:e?[...e]:[],selectedFeatureId:null,isDrawing:!1,currentVertices:[],startPoint:null,mousePoint:null,dragVertexIndex:null,isDragging:!1,mergeSelectedIds:[],splitTargetId:null}}const xe={point:{color:"#ffffff",size:6,strokeColor:"#3f51b5",strokeWidth:1},line:{color:"#3f51b5",size:2,opacity:1},polygon:{fill:"#3f51b5",fillOpacity:.2,stroke:"#3f51b5",strokeWidth:2},drawing:{fill:"#3f51b5",fillOpacity:.2,stroke:"#3f51b5",strokeWidth:2,dashStroke:"#3f51b5",dashWidth:1.5,dashArray:[4,4]},selected:{stroke:"#3f51b5",strokeWidth:3,fill:"#ffb95f",fillOpacity:.12,dashArray:[6,3]},vertex:{color:"#ffffff",size:5,strokeColor:"#3f51b5",strokeWidth:1,activeColor:"#ffb95f",activeSize:6}};function xn(e){return e?{point:{...xe.point,...e.point},line:{...xe.line,...e.line},polygon:{...xe.polygon,...e.polygon},drawing:{...xe.drawing,...e.drawing},selected:{...xe.selected,...e.selected},vertex:{...xe.vertex,...e.vertex}}:{...xe}}let vn=0;function Ln(){return`draw-${++vn}`}function Pt(e){return{type:"LineString",coordinates:e.map(([t,n])=>[t,n])}}function It(e){const t=e.map(([n,r])=>[n,r]);if(t.length>0){const n=t[0],r=t[t.length-1];(n[0]!==r[0]||n[1]!==r[1])&&t.push([n[0],n[1]])}return{type:"Polygon",coordinates:[t]}}function Ft(e,t){const[n,r]=e,[o,i]=t;return{type:"Polygon",coordinates:[[[n,r],[o,r],[o,i],[n,i],[n,r]]]}}function Tt(e,t,n=64){const[r,o]=e,i=[];for(let s=0;s<n;s++){const l=s/n*2*Math.PI,c=t/(111320*Math.cos(o*Math.PI/180))*Math.cos(l),d=t/110540*Math.sin(l);i.push([r+c,o+d])}return i.push(i[0]),{type:"Polygon",coordinates:[i]}}function bn(e){return{type:"Point",coordinates:[e[0],e[1]]}}function N1(e,t){const r=c=>c*Math.PI/180,o=r(t[1]-e[1]),i=r(t[0]-e[0]),s=Math.sin(o/2)*Math.sin(o/2)+Math.cos(r(e[1]))*Math.cos(r(t[1]))*Math.sin(i/2)*Math.sin(i/2);return 6371e3*(2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s)))}function Mn(e,t){const n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)}function Se(e,t,n){return{type:"Feature",id:Ln(),geometry:e,properties:{drawType:t}}}function wn(e,t,n){const r=e.geometry,o=Hn(r,t,n);return{...e,geometry:o,properties:{...e.properties}}}function Hn(e,t,n){switch(e.type){case"Point":return{type:"Point",coordinates:[e.coordinates[0]+t,e.coordinates[1]+n]};case"LineString":return{type:"LineString",coordinates:e.coordinates.map(([r,o])=>[r+t,o+n])};case"Polygon":return{type:"Polygon",coordinates:e.coordinates.map(r=>r.map(([o,i])=>[o+t,i+n]))};default:return e}}function Sn(e,t,n,r){const o=e.geometry;let i;if(o.type==="Point")i={type:"Point",coordinates:[n,r]};else if(o.type==="LineString"){const s=o.coordinates.map(l=>[...l]);t>=0&&t<s.length&&(s[t]=[n,r]),i={type:"LineString",coordinates:s}}else if(o.type==="Polygon"){const s=o.coordinates.map(d=>d.map(h=>[...h])),l=s[0],c=l.length>1&&l[0][0]===l[l.length-1][0]&&l[0][1]===l[l.length-1][1]?l.length-1:l.length;t>=0&&t<c&&(l[t]=[n,r],t===0&&(l[l.length-1]=[n,r])),i={type:"Polygon",coordinates:s}}else i=o;return{...e,geometry:i,properties:{...e.properties}}}function Xe(e){const t=e.geometry,n=[];if(t.type==="Point")n.push([t.coordinates[0],t.coordinates[1]]);else if(t.type==="LineString")t.coordinates.forEach(([r,o])=>{n.push([r,o])});else if(t.type==="Polygon"){const r=t.coordinates[0];if(r&&r.length>1){const o=r[0][0]===r[r.length-1][0]&&r[0][1]===r[r.length-1][1]?r.length-1:r.length;for(let i=0;i<o;i++)n.push([r[i][0],r[i][1]])}}return n}function Ge(e){const t=e.lnglat,n=e.lngLat;if(t&&typeof t.lng=="number"&&typeof t.lat=="number")return[t.lng,t.lat];if(n&&typeof n.lng=="number"&&typeof n.lat=="number")return[n.lng,n.lat];const r=e.coordinate;return r&&typeof r[0]=="number"&&typeof r[1]=="number"?[r[0],r[1]]:null}function zn(e){return{type:"FeatureCollection",features:e.filter(t=>t.geometry.type==="LineString")}}function Vn(e){return{type:"FeatureCollection",features:e.filter(t=>t.geometry.type==="Polygon")}}function kn(e,t){const n=R1(e.coordinates[0]),r=R1(t.coordinates[0]);let o=0;const i=new Set(n.map(s=>`${s[0].toFixed(7)},${s[1].toFixed(7)}`));for(const s of r)i.has(`${s[0].toFixed(7)},${s[1].toFixed(7)}`)&&o++;if(o>=2)return!0;for(let s=0;s<n.length;s++){const l=(s+1)%n.length;for(let c=0;c<r.length;c++){const d=(c+1)%r.length;if(Nt(n[s],n[l],r[c],r[d],!0))return!0}}for(const s of n)if(_1(s,r))return!0;for(const s of r)if(_1(s,n))return!0;return!1}function R1(e){const t=[],n=e.length>1&&e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]?e.length-1:e.length;for(let r=0;r<n;r++)t.push([e[r][0],e[r][1]]);return t}function _1(e,t){let n=!1;for(let r=0,o=t.length-1;r<t.length;o=r++){const i=t[r][0],s=t[r][1],l=t[o][0],c=t[o][1];s>e[1]!=c>e[1]&&e[0]<(l-i)*(e[1]-s)/(c-s)+i&&(n=!n)}return n}function jn(e){if(e.length<2)return null;const t=e.filter(l=>l.geometry.type==="Polygon");if(t.length<2)return null;for(let l=0;l<t.length;l++){const c=t[l].geometry;let d=!1;for(let h=0;h<t.length;h++)if(l!==h&&kn(c,t[h].geometry)){d=!0;break}if(!d)return null}const n=[];for(const l of t){const c=l.geometry.coordinates[0];if(!c)continue;const d=c.length>1&&c[0][0]===c[c.length-1][0]&&c[0][1]===c[c.length-1][1]?c.length-1:c.length;for(let h=0;h<d;h++)n.push([c[h][0],c[h][1]])}if(n.length<3)return null;const r=[],o=new Set;for(const l of n){const c=`${l[0].toFixed(6)},${l[1].toFixed(6)}`;o.has(c)||(o.add(c),r.push(l))}if(r.length<3)return null;const i=En(r);return i.length<3?null:(i.push(i[0]),Se({type:"Polygon",coordinates:[i]},"polygon"))}function En(e){if(e.length<3)return[...e];let t=0;for(let i=1;i<e.length;i++)(e[i][1]<e[t][1]||e[i][1]===e[t][1]&&e[i][0]<e[t][0])&&(t=i);const n=e[t],r=e.filter(i=>i[0]!==n[0]||i[1]!==n[1]).sort((i,s)=>{const l=Math.atan2(i[1]-n[1],i[0]-n[0]),c=Math.atan2(s[1]-n[1],s[0]-n[0]);if(l!==c)return l-c;const d=(i[0]-n[0])**2+(i[1]-n[1])**2,h=(s[0]-n[0])**2+(s[1]-n[1])**2;return d-h}),o=[n];for(const i of r){for(;o.length>1;){const s=o[o.length-2],l=o[o.length-1];if((l[0]-s[0])*(i[1]-s[1])-(l[1]-s[1])*(i[0]-s[0])<=0)o.pop();else break}o.push(i)}return o}function An(e,t){if(e.geometry.type!=="Polygon"||t.length<2)return null;const n=e.geometry.coordinates[0];if(!n||n.length<4)return null;const r=[],o=n.length>1&&n[0][0]===n[n.length-1][0]&&n[0][1]===n[n.length-1][1]?n.length-1:n.length;for(let p=0;p<o;p++)r.push([n[p][0],n[p][1]]);const i=[];for(let p=0;p<t.length-1;p++){const g=t[p],f=t[p+1];for(let C=0;C<r.length;C++){const v=(C+1)%r.length,w=r[C],S=r[v],b=Nt(g,f,w,S);b&&i.push({edgeIndex:C,point:b,t:p})}}if(i.length<2)return null;i.sort((p,g)=>p.edgeIndex-g.edgeIndex);const s=i[0],l=i[i.length-1],c=[],d=[];c.push(s.point);for(let p=s.edgeIndex+1;p<=l.edgeIndex;p++)c.push(r[p%r.length]);c.push(l.point),c.push(s.point),d.push(l.point);for(let p=l.edgeIndex+1;p<r.length;p++)d.push(r[p]);for(let p=0;p<=s.edgeIndex;p++)d.push(r[p]);if(d.push(s.point),d.push(l.point),c.length<4||d.length<4)return null;const h={type:"Polygon",coordinates:[c]},m={type:"Polygon",coordinates:[d]};return[Se(h,"polygon"),Se(m,"polygon")]}function Nt(e,t,n,r,o=!1){const i=t[0]-e[0],s=t[1]-e[1],l=r[0]-n[0],c=r[1]-n[1],d=i*c-s*l;if(Math.abs(d)<1e-12)return null;const h=((n[0]-e[0])*c-(n[1]-e[1])*l)/d,m=((n[0]-e[0])*s-(n[1]-e[1])*i)/d;if(o){if(h<=1e-6||h>=1-1e-6||m<=1e-6||m>=1-1e-6)return null}else if(h<0||h>1||m<0||m>1)return null;return[e[0]+h*i,e[1]+h*s]}const Be={type:"FeatureCollection",features:[]},fe="aimap-draw-";class Zn{constructor(t,n,r){this.featurePointLayer=null,this.featureLineLayer=null,this.featurePolygonLayer=null,this.featurePolygonOutlineLayer=null,this.drawingLineLayer=null,this.drawingDashLineLayer=null,this.drawingPolygonLayer=null,this.drawingPointLayer=null,this.selectionPolygonLayer=null,this.selectionLineLayer=null,this.selectionPointLayer=null,this.vertexLayer=null,this.midpointLayer=null,this.snapIndicatorLayer=null,this.mergeHighlightLayer=null,this.mergeHighlightOutlineLayer=null,this.splitHighlightLayer=null,this.splitHighlightOutlineLayer=null,this.tooltipEl=null,this.containerEl=null,this.hiddenFeatureId=null,this.allFeatures=[],this.onFeatureClick=null,this.onFeatureMouseDown=null,this.onVertexClick=null,this.onVertexRightClick=null,this.onEmptyClick=null,this.onMidpointClick=null,this.editClickHandlersBound=!1,this.scene=t,this.mapsService=r,this.styles={point:{...xe.point,...n==null?void 0:n.point},line:{...xe.line,...n==null?void 0:n.line},polygon:{...xe.polygon,...n==null?void 0:n.polygon},drawing:{...xe.drawing,...n==null?void 0:n.drawing},selected:{...xe.selected,...n==null?void 0:n.selected},vertex:{...xe.vertex,...n==null?void 0:n.vertex}};try{this.initTooltip()}catch{}}removeAndDestroy(t){var n;if(t){try{this.scene.removeLayer(t)}catch{}try{(n=t.destroy)==null||n.call(t)}catch{}}}addLayerWithRender(t){t.once("inited",()=>{try{this.scene.render()}catch{}}),this.scene.addLayer(t)}initTooltip(){const t=document.createElement("div");t.style.cssText=["position:fixed","pointer-events:none","z-index:9999","padding:6px 10px","border-radius:4px","background:rgba(26,27,34,0.92)","color:#f2eff9",'font:500 11px/16px "JetBrains Mono",monospace',"letter-spacing:0.02em","white-space:nowrap","display:none","flex-direction:column","gap:2px","box-shadow:0 2px 8px rgba(0,0,0,0.3)"].join(";"),document.body.appendChild(t),this.tooltipEl=t,this.containerEl=null}showTooltip(t,n,r,o){if(!this.tooltipEl)return;this.tooltipEl.innerHTML="";const i=document.createElement("div");if(i.textContent=t,i.style.cssText="color:#f2eff9;font-size:11px;line-height:16px;",this.tooltipEl.appendChild(i),o&&o.length>0){const s=document.createElement("div");s.style.cssText="display:flex;gap:8px;";for(const l of o){const c=document.createElement("span");c.textContent=l,c.style.cssText="font-size:9px;line-height:12px;color:#ffc107;font-weight:600;",s.appendChild(c)}this.tooltipEl.appendChild(s)}this.tooltipEl.style.display="flex",this.tooltipEl.style.left=`${n+16}px`,this.tooltipEl.style.top=`${r-8}px`}showSnapTooltip(t,n,r,o,i){if(!this.tooltipEl)return;this.tooltipEl.innerHTML="";const s=document.createElement("div");s.style.cssText="display:flex;gap:6px;align-items:center;";const l=document.createElement("span");l.textContent=t==="vertex"?"Vertex":"Edge",l.style.cssText="color:#ffc107;font-weight:700;font-size:10px;",s.appendChild(l);const c=document.createElement("span");c.textContent=`${r.toFixed(4)}, ${n.toFixed(4)}`,c.style.cssText="color:rgba(242,239,249,0.6);font-size:10px;",s.appendChild(c),this.tooltipEl.appendChild(s),this.tooltipEl.style.display="flex",this.tooltipEl.style.left=`${o+16}px`,this.tooltipEl.style.top=`${i-8}px`}hideTooltip(){this.tooltipEl&&(this.tooltipEl.style.display="none")}destroyTooltip(){var t;this.tooltipEl&&((t=this.tooltipEl.parentElement)==null||t.removeChild(this.tooltipEl),this.tooltipEl=null)}updateFeatures(t){this.scene&&(this.allFeatures=t,this.renderFeatures())}hideFeatureFromStatic(t){this.hiddenFeatureId=t,this.renderFeatures()}showAllFeatures(){this.hiddenFeatureId=null,this.renderFeatures()}renderFeatures(){const t=this.hiddenFeatureId?this.allFeatures.filter(s=>s.id!==this.hiddenFeatureId):this.allFeatures,n=this.styles;this.removeAndDestroy(this.featurePointLayer);const r=t.filter(s=>s.geometry.type==="Point").map(s=>{const l=s.geometry.coordinates;return{lng:l[0],lat:l[1],id:s.id,drawType:s.properties.drawType}});this.featurePointLayer=new pe.PointLayer({name:`${fe}feature-point`,zIndex:12}).source(r,{parser:{type:"json",x:"lng",y:"lat"}}).shape("circle").color(n.point.color).size(n.point.size).style({stroke:n.point.strokeColor,strokeWidth:n.point.strokeWidth}),this.addLayerWithRender(this.featurePointLayer),this.removeAndDestroy(this.featureLineLayer),this.featureLineLayer=new pe.LineLayer({name:`${fe}feature-line`,zIndex:11}).source(zn(t)).shape("line").color(n.line.color).size(n.line.size).style({opacity:n.line.opacity}),this.addLayerWithRender(this.featureLineLayer),this.removeAndDestroy(this.featurePolygonLayer),this.featurePolygonLayer=new pe.PolygonLayer({name:`${fe}feature-polygon`,zIndex:10}).source(Vn(t)).shape("fill").color(n.polygon.fill).style({opacity:n.polygon.fillOpacity}),this.addLayerWithRender(this.featurePolygonLayer),this.removeAndDestroy(this.featurePolygonOutlineLayer);const o=t.filter(s=>s.geometry.type==="Polygon"),i=o.length>0?{type:"FeatureCollection",features:o.map(s=>({type:"Feature",geometry:{type:"LineString",coordinates:s.geometry.coordinates[0]},properties:s.properties}))}:Be;this.featurePolygonOutlineLayer=new pe.LineLayer({name:`${fe}feature-polygon-outline`,zIndex:10}).source(i).shape("line").color(n.polygon.stroke).size(n.polygon.strokeWidth).style({opacity:1}),this.addLayerWithRender(this.featurePolygonOutlineLayer),this.editClickHandlersBound&&this.rebindEditClickHandlers()}showDrawingFeedback(t,n,r,o){if(!this.scene||r==="point")return;const i=this.styles;let s=Be,l=Be,c=Be,d=[];if(r==="rectangle"&&o&&n){const g=Ft(o,n);c={type:"FeatureCollection",features:[{type:"Feature",geometry:g,properties:{}}]},s={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"LineString",coordinates:g.coordinates[0]},properties:{}}]}}else if(r==="circle"&&o&&n){const f=z=>z*Math.PI/180,C=f(n[1]-o[1]),v=f(n[0]-o[0]),w=Math.sin(C/2)**2+Math.cos(f(o[1]))*Math.cos(f(n[1]))*Math.sin(v/2)**2,b=6371e3*(2*Math.atan2(Math.sqrt(w),Math.sqrt(1-w))),A=Tt(o,Math.max(b,1));c={type:"FeatureCollection",features:[{type:"Feature",geometry:A,properties:{}}]},s={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"LineString",coordinates:A.coordinates[0]},properties:{}}]},d=[{lng:o[0],lat:o[1],vertexIndex:0}]}else if((r==="polyline"||r==="polygon")&&t.length>0){if(t.length>=2&&(s={type:"FeatureCollection",features:[{type:"Feature",geometry:Pt(t),properties:{}}]}),n&&t.length>=1){const g=t[t.length-1],f=[{type:"Feature",geometry:{type:"LineString",coordinates:[[g[0],g[1]],[n[0],n[1]]]},properties:{}}];r==="polygon"&&t.length>=2&&f.push({type:"Feature",geometry:{type:"LineString",coordinates:[[n[0],n[1]],[t[0][0],t[0][1]]]},properties:{}}),l={type:"FeatureCollection",features:f}}if(r==="polygon"&&t.length>=2&&n){const g=[...t,n];g.length>=3&&(c={type:"FeatureCollection",features:[{type:"Feature",geometry:It(g),properties:{}}]})}d=t.map(([g,f],C)=>({lng:g,lat:f,vertexIndex:C,isFirst:C===0}))}this.drawingLineLayer?this.drawingLineLayer.setData(s):(this.drawingLineLayer=new pe.LineLayer({name:`${fe}drawing-line`,zIndex:13}).source(s).shape("line").color(i.drawing.stroke).size(i.drawing.strokeWidth).style({opacity:1}),this.addLayerWithRender(this.drawingLineLayer));const h=i.drawing.dashArray??[4,4],m=i.drawing.dashStroke??i.drawing.stroke,p=i.drawing.dashWidth??1.5;this.drawingDashLineLayer?this.drawingDashLineLayer.setData(l):(this.drawingDashLineLayer=new pe.LineLayer({name:`${fe}drawing-dash-line`,zIndex:14}).source(l).shape("line").color(m).size(p).style({opacity:1,lineType:"dash",dashArray:h}),this.addLayerWithRender(this.drawingDashLineLayer)),this.drawingPolygonLayer?this.drawingPolygonLayer.setData(c):(this.drawingPolygonLayer=new pe.PolygonLayer({name:`${fe}drawing-polygon`,zIndex:13}).source(c).shape("fill").color(i.drawing.fill).style({opacity:i.drawing.fillOpacity}),this.addLayerWithRender(this.drawingPolygonLayer)),this.drawingPointLayer?this.drawingPointLayer.setData(d):(this.drawingPointLayer=new pe.PointLayer({name:`${fe}drawing-point`,zIndex:15}).source(d,{parser:{type:"json",x:"lng",y:"lat"}}).shape("circle").color(i.vertex.color).size(i.vertex.size).style({stroke:i.vertex.strokeColor,strokeWidth:i.vertex.strokeWidth}),this.addLayerWithRender(this.drawingPointLayer))}clearDrawingFeedback(){this.removeAndDestroy(this.drawingLineLayer),this.removeAndDestroy(this.drawingDashLineLayer),this.removeAndDestroy(this.drawingPolygonLayer),this.removeAndDestroy(this.drawingPointLayer),this.drawingLineLayer=null,this.drawingDashLineLayer=null,this.drawingPolygonLayer=null,this.drawingPointLayer=null}removeDrawingLayers(){this.clearDrawingFeedback()}updateSelectionHighlight(t){var i,s,l;if(!this.scene)return;const n=this.styles;if(this.removeAndDestroy(this.selectionPolygonLayer),this.removeAndDestroy(this.selectionLineLayer),this.removeAndDestroy(this.selectionPointLayer),!t){this.selectionPolygonLayer=null,this.selectionLineLayer=null,this.selectionPointLayer=null;return}const r={type:"FeatureCollection",features:[t]},o=n.selected.dashArray??[6,3];if(t.geometry.type==="Point")this.selectionPointLayer=new pe.PointLayer({name:`${fe}selection-point`,zIndex:15}).source([{lng:t.geometry.coordinates[0],lat:t.geometry.coordinates[1],id:t.id}],{parser:{type:"json",x:"lng",y:"lat"}}).shape("circle").color(n.selected.stroke).size((n.point.size??6)+4).style({stroke:n.selected.stroke,strokeWidth:n.selected.strokeWidth}),this.addLayerWithRender(this.selectionPointLayer);else if(t.geometry.type==="LineString")this.selectionLineLayer=new pe.LineLayer({name:`${fe}selection-line`,zIndex:15}).source(r).shape("line").color(n.selected.stroke).size(n.selected.strokeWidth).style({opacity:1,lineType:"dash",dashArray:o}),this.addLayerWithRender(this.selectionLineLayer);else if(t.geometry.type==="Polygon"){this.selectionPolygonLayer=new pe.PolygonLayer({name:`${fe}selection-polygon`,zIndex:15}).source(r).shape("fill").color(n.selected.fill).style({opacity:n.selected.fillOpacity}),this.addLayerWithRender(this.selectionPolygonLayer);const c={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"LineString",coordinates:t.geometry.coordinates[0]},properties:{}}]};this.selectionLineLayer=new pe.LineLayer({name:`${fe}selection-line`,zIndex:15}).source(c).shape("line").color(n.selected.stroke).size(n.selected.strokeWidth).style({opacity:1,lineType:"dash",dashArray:o}),this.addLayerWithRender(this.selectionLineLayer)}if(this.editClickHandlersBound&&this.onFeatureMouseDown){const c=d=>{var m;const h=d.feature;if(h&&this.onFeatureMouseDown){const p=((m=h.properties)==null?void 0:m.id)??h.id;if(p){const g=d.lngLat??d.lnglat;let f=[0,0];if(g&&typeof g=="object"){const C=g;f=[C.lng??C.x??0,C.lat??C.y??0]}this.onFeatureMouseDown(String(p),f)}}};(i=this.selectionPolygonLayer)==null||i.on("mousedown",c),(s=this.selectionLineLayer)==null||s.on("mousedown",c),(l=this.selectionPointLayer)==null||l.on("mousedown",c)}}clearSelectionHighlight(){this.removeAndDestroy(this.selectionPolygonLayer),this.removeAndDestroy(this.selectionLineLayer),this.removeAndDestroy(this.selectionPointLayer),this.selectionPolygonLayer=null,this.selectionLineLayer=null,this.selectionPointLayer=null}removeSelectionLayers(){this.clearSelectionHighlight()}highlightMergeSelected(t,n){if(!this.scene)return;const r=this.styles;if(this.removeAndDestroy(this.mergeHighlightLayer),this.removeAndDestroy(this.mergeHighlightOutlineLayer),this.mergeHighlightLayer=null,this.mergeHighlightOutlineLayer=null,t.length===0)return;const o=n.filter(l=>t.includes(l.id));if(o.length===0)return;const i={type:"FeatureCollection",features:o};this.mergeHighlightLayer=new pe.PolygonLayer({name:`${fe}merge-highlight`,zIndex:15}).source(i).shape("fill").color(r.selected.fill).style({opacity:r.selected.fillOpacity}),this.addLayerWithRender(this.mergeHighlightLayer);const s=o.filter(l=>l.geometry.type==="Polygon").map(l=>({type:"Feature",geometry:{type:"LineString",coordinates:l.geometry.coordinates[0]},properties:{}}));if(s.length>0){const l={type:"FeatureCollection",features:s};this.mergeHighlightOutlineLayer=new pe.LineLayer({name:`${fe}merge-highlight-outline`,zIndex:15}).source(l).shape("line").color(r.selected.stroke).size(r.selected.strokeWidth).style({opacity:1,lineType:"dash",dashArray:r.selected.dashArray??[6,3]}),this.addLayerWithRender(this.mergeHighlightOutlineLayer)}}clearMergeHighlight(){this.removeAndDestroy(this.mergeHighlightLayer),this.removeAndDestroy(this.mergeHighlightOutlineLayer),this.mergeHighlightLayer=null,this.mergeHighlightOutlineLayer=null}highlightSplitTarget(t,n){if(!this.scene)return;const r=this.styles;this.removeAndDestroy(this.splitHighlightLayer),this.removeAndDestroy(this.splitHighlightOutlineLayer),this.splitHighlightLayer=null,this.splitHighlightOutlineLayer=null;const o=n.find(l=>l.id===t);if(!o)return;const i={type:"FeatureCollection",features:[o]};this.splitHighlightLayer=new pe.PolygonLayer({name:`${fe}split-highlight`,zIndex:15}).source(i).shape("fill").color(r.selected.fill).style({opacity:r.selected.fillOpacity}),this.addLayerWithRender(this.splitHighlightLayer);const s={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"LineString",coordinates:o.geometry.coordinates[0]},properties:{}}]};this.splitHighlightOutlineLayer=new pe.LineLayer({name:`${fe}split-highlight-outline`,zIndex:15}).source(s).shape("line").color(r.selected.stroke).size(r.selected.strokeWidth).style({opacity:1,lineType:"dash",dashArray:r.selected.dashArray??[6,3]}),this.addLayerWithRender(this.splitHighlightOutlineLayer)}clearSplitHighlight(){this.removeAndDestroy(this.splitHighlightLayer),this.removeAndDestroy(this.splitHighlightOutlineLayer),this.splitHighlightLayer=null,this.splitHighlightOutlineLayer=null}updateVertexHandles(t){if(!this.scene)return;const n=this.styles;if(this.removeAndDestroy(this.vertexLayer),this.removeAndDestroy(this.midpointLayer),!t){this.vertexLayer=null,this.midpointLayer=null;return}const r=Xe(t);if(r.length===0){this.vertexLayer=null,this.midpointLayer=null;return}const o=r.map(([i,s],l)=>({lng:i,lat:s,vertexIndex:l,featureId:t.id}));if(this.vertexLayer=new pe.PointLayer({name:`${fe}vertex-handles`,zIndex:16}).source(o,{parser:{type:"json",x:"lng",y:"lat"}}).shape("circle").color(n.vertex.color).size(n.vertex.size).style({stroke:n.vertex.strokeColor,strokeWidth:n.vertex.strokeWidth}),this.addLayerWithRender(this.vertexLayer),t.geometry.type==="LineString"||t.geometry.type==="Polygon"){const i=[],s=t.geometry.type==="Polygon"?r.length:r.length-1;for(let l=0;l<s;l++){const c=(l+1)%r.length;i.push({lng:(r[l][0]+r[c][0])/2,lat:(r[l][1]+r[c][1])/2,edgeIndex:l})}this.midpointLayer=new pe.PointLayer({name:`${fe}midpoint-handles`,zIndex:16}).source(i,{parser:{type:"json",x:"lng",y:"lat"}}).shape("circle").color(n.vertex.strokeColor).size(n.vertex.size-1).style({stroke:n.vertex.strokeColor,strokeWidth:.5,opacity:.5}),this.addLayerWithRender(this.midpointLayer)}else this.midpointLayer=null;this.editClickHandlersBound&&this.rebindVertexAndMidpointEvents()}clearVertexHandles(){this.removeAndDestroy(this.vertexLayer),this.removeAndDestroy(this.midpointLayer),this.vertexLayer=null,this.midpointLayer=null}removeVertexLayer(){this.clearVertexHandles()}setupEditClickHandlers(t,n,r,o,i,s){this.onFeatureClick=t,this.onVertexClick=n,this.onEmptyClick=r,this.onVertexRightClick=o??null,this.onMidpointClick=i??null,this.onFeatureMouseDown=s??null,this.editClickHandlersBound=!0,this.rebindEditClickHandlers()}rebindEditClickHandlers(){var i,s,l,c,d,h,m,p,g,f,C,v,w,S,b,A,z,Z,M,E,D,V,R,N,I;const t=L=>{var O;const H=L.feature;if(H){const q=((O=H.properties)==null?void 0:O.id)??H.id;q&&this.onFeatureClick&&this.onFeatureClick(String(q))}},n=L=>{var O;const H=L.feature;if(H){const q=((O=H.properties)==null?void 0:O.id)??H.id;if(q&&this.onFeatureMouseDown){const ee=L.lngLat??L.lnglat;let J=[0,0];if(ee&&typeof ee=="object"){const K=ee;J=[K.lng??K.x??0,K.lat??K.y??0]}this.onFeatureMouseDown(String(q),J)}}};(i=this.featurePointLayer)==null||i.on("click",t),(s=this.featureLineLayer)==null||s.on("click",t),(l=this.featurePolygonLayer)==null||l.on("click",t),(c=this.featurePolygonOutlineLayer)==null||c.on("click",t),(d=this.featurePointLayer)==null||d.on("mousedown",n),(h=this.featureLineLayer)==null||h.on("mousedown",n),(m=this.featurePolygonLayer)==null||m.on("mousedown",n),(p=this.featurePolygonOutlineLayer)==null||p.on("mousedown",n);const r=()=>{this.setCursorClass("l7-draw-cursor-grab")},o=()=>{this.clearEditCursors(),this.hideTooltip()};(g=this.featurePointLayer)==null||g.on("mouseenter",r),(f=this.featurePointLayer)==null||f.on("mouseleave",o),(C=this.featureLineLayer)==null||C.on("mouseenter",r),(v=this.featureLineLayer)==null||v.on("mouseleave",o),(w=this.featurePolygonLayer)==null||w.on("mouseenter",r),(S=this.featurePolygonLayer)==null||S.on("mouseleave",o),(b=this.featurePolygonOutlineLayer)==null||b.on("mouseenter",r),(A=this.featurePolygonOutlineLayer)==null||A.on("mouseleave",o),(z=this.selectionPolygonLayer)==null||z.on("mousedown",n),(Z=this.selectionLineLayer)==null||Z.on("mousedown",n),(M=this.selectionPointLayer)==null||M.on("mousedown",n),(E=this.selectionPolygonLayer)==null||E.on("mouseenter",r),(D=this.selectionPolygonLayer)==null||D.on("mouseleave",o),(V=this.selectionLineLayer)==null||V.on("mouseenter",r),(R=this.selectionLineLayer)==null||R.on("mouseleave",o),(N=this.selectionPointLayer)==null||N.on("mouseenter",r),(I=this.selectionPointLayer)==null||I.on("mouseleave",o),this.rebindVertexAndMidpointEvents()}extractClientXY(t){var s,l,c,d;const n=t.originalEvent??t.originEvent??t.e;if(n&&typeof n.clientX=="number"&&typeof n.clientY=="number")return[n.clientX,n.clientY];const r=t.x,o=t.y;if(r!==void 0&&o!==void 0){const h=(l=(s=this.mapsService)==null?void 0:s.getContainer)==null?void 0:l.call(s);if(h){const m=h.getBoundingClientRect();return[r+m.left,o+m.top]}}const i=t.pixel;if(i){const h=(d=(c=this.mapsService)==null?void 0:c.getContainer)==null?void 0:d.call(c);if(h){const m=h.getBoundingClientRect();return[(i.x??0)+m.left,(i.y??0)+m.top]}}return[0,0]}extractFeatureProp(t,n){const r=t.properties;return r&&r[n]!==void 0?r[n]:t[n]}setCursorClass(t){var r,o;const n=(o=(r=this.mapsService)==null?void 0:r.getContainer)==null?void 0:o.call(r);n&&(n.classList.remove("l7-draw-cursor-pointer","l7-draw-cursor-grab","l7-draw-cursor-move"),t&&n.classList.add(t))}clearEditCursors(){var n,r;const t=(r=(n=this.mapsService)==null?void 0:n.getContainer)==null?void 0:r.call(n);t&&t.classList.remove("l7-draw-cursor-pointer","l7-draw-cursor-grab","l7-draw-cursor-move")}rebindVertexAndMidpointEvents(){var t,n,r,o,i,s,l,c,d;(t=this.vertexLayer)==null||t.on("mouseenter",()=>{this.setCursorClass("l7-draw-cursor-pointer")}),(n=this.vertexLayer)==null||n.on("mousemove",h=>{const[m,p]=this.extractClientXY(h);(m||p)&&this.showTooltip("拖拽移动顶点,右键删除",m,p)}),(r=this.vertexLayer)==null||r.on("mouseleave",()=>{this.clearEditCursors(),this.hideTooltip()}),(o=this.midpointLayer)==null||o.on("mouseenter",()=>{this.setCursorClass("l7-draw-cursor-pointer")}),(i=this.midpointLayer)==null||i.on("mousemove",h=>{const[m,p]=this.extractClientXY(h);(m||p)&&this.showTooltip("单击添加新顶点",m,p)}),(s=this.midpointLayer)==null||s.on("mouseleave",()=>{this.clearEditCursors(),this.hideTooltip()}),(l=this.vertexLayer)==null||l.on("mousedown",h=>{var p,g,f,C;const m=h.feature;if(m&&this.onVertexClick){const v=this.extractFeatureProp(m,"vertexIndex");v!==void 0&&((g=(p=this.mapsService)==null?void 0:p.setMapStatus)==null||g.call(p,{dragEnable:!1,zoomEnable:!1}),(C=(f=h.originalEvent)==null?void 0:f.stopPropagation)==null||C.call(f),this.onVertexClick(v))}}),(c=this.vertexLayer)==null||c.on("contextmenu",h=>{var p,g;const m=h.feature;if(m&&this.onVertexRightClick){const f=this.extractFeatureProp(m,"vertexIndex");f!==void 0&&((g=(p=h.originalEvent)==null?void 0:p.preventDefault)==null||g.call(p),this.onVertexRightClick(f))}}),(d=this.midpointLayer)==null||d.on("click",h=>{const m=h.feature;if(m&&this.onMidpointClick){const p=this.extractFeatureProp(m,"edgeIndex"),g=this.extractFeatureProp(m,"lng"),f=this.extractFeatureProp(m,"lat");p!==void 0&&g!==void 0&&f!==void 0&&this.onMidpointClick(p,[g,f])}})}removeEditClickHandlers(){this.onFeatureClick=null,this.onVertexClick=null,this.onVertexRightClick=null,this.onEmptyClick=null,this.onMidpointClick=null,this.editClickHandlersBound=!1}showSnapIndicator(t,n,r){if(!this.scene)return;const o="#ffc107",i=r==="vertex"?8:6;this.removeAndDestroy(this.snapIndicatorLayer),this.snapIndicatorLayer=new pe.PointLayer({name:`${fe}snap-indicator`,zIndex:20}).source([{lng:t,lat:n}],{parser:{type:"json",x:"lng",y:"lat"}}).shape("square").color(o).size(i).style({stroke:o,strokeWidth:1.5,opacity:.9}),this.addLayerWithRender(this.snapIndicatorLayer)}hideSnapIndicator(){this.removeAndDestroy(this.snapIndicatorLayer),this.snapIndicatorLayer=null}destroy(){this.removeEditClickHandlers(),this.destroyTooltip();const t=[this.featurePointLayer,this.featureLineLayer,this.featurePolygonLayer,this.featurePolygonOutlineLayer,this.drawingLineLayer,this.drawingDashLineLayer,this.drawingPolygonLayer,this.drawingPointLayer,this.selectionPolygonLayer,this.selectionLineLayer,this.selectionPointLayer,this.vertexLayer,this.midpointLayer,this.snapIndicatorLayer];for(const n of t)this.removeAndDestroy(n);this.featurePointLayer=null,this.featureLineLayer=null,this.featurePolygonLayer=null,this.featurePolygonOutlineLayer=null,this.drawingLineLayer=null,this.drawingDashLineLayer=null,this.drawingPolygonLayer=null,this.drawingPointLayer=null,this.selectionPolygonLayer=null,this.selectionLineLayer=null,this.selectionPointLayer=null,this.vertexLayer=null,this.midpointLayer=null,this.snapIndicatorLayer=null}}const o1={enabled:!0,threshold:8,vertex:!0,edge:!0};function Pn(e){return e===!1?{...o1,enabled:!1}:e===!0||e===void 0?{...o1}:{...o1,...e}}function In(e,t,n,r,o){if(!n.enabled||t.length===0)return{snapped:!1,lng:e[0],lat:e[1],type:"none"};const i=r(e);if(!i)return{snapped:!1,lng:e[0],lat:e[1],type:"none"};const s=n.threshold;let l=1/0,c={snapped:!1,lng:e[0],lat:e[1],type:"none"};for(const d of t){if(d.id===o)continue;const h=Xe(d);if(h.length!==0){if(n.vertex)for(let m=0;m<h.length;m++){const p=r(h[m]);if(!p)continue;const g=i.x-p.x,f=i.y-p.y,C=Math.sqrt(g*g+f*f);C<s&&C<l&&(l=C,c={snapped:!0,lng:h[m][0],lat:h[m][1],type:"vertex",featureId:d.id,vertexIndex:m})}if(n.edge&&c.type!=="vertex"){const m=d.geometry.type==="Polygon"?h.length:Math.max(0,h.length-1);for(let p=0;p<m;p++){const g=(p+1)%h.length,f=r(h[p]),C=r(h[g]);if(!f||!C)continue;const v=Fn(i,f,C);if(v.t>=0&&v.t<=1&&v.dist<s&&v.dist<l){const w=v.t,S=h[p][0]+w*(h[g][0]-h[p][0]),b=h[p][1]+w*(h[g][1]-h[p][1]);l=v.dist,c={snapped:!0,lng:S,lat:b,type:"edge",featureId:d.id,edgeIndex:p}}}}}}return c}function Fn(e,t,n){const r=n.x-t.x,o=n.y-t.y,i=r*r+o*o;if(i===0)return{t:0,dist:Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2)};let s=((e.x-t.x)*r+(e.y-t.y)*o)/i;s=Math.max(0,Math.min(1,s));const l=t.x+s*r,c=t.y+s*o,d=Math.sqrt((e.x-l)**2+(e.y-c)**2);return{t:s,dist:d}}const Tn=5;function je(e){const t=e.originalEvent??e.originEvent??e.e;return(t==null?void 0:t.clientX)??e.x??0}function Ee(e){const t=e.originalEvent??e.originEvent??e.e;return(t==null?void 0:t.clientY)??e.y??0}function D1(e,t,n){const r=Ge(e);if(!r)return null;const o=n(r);if(!o){for(const s of t)if(s.geometry.type==="Polygon"&&O1(r,s.geometry.coordinates[0]))return s;return null}const i=8;for(const s of t)if(s.geometry.type==="Polygon"){if(O1(r,s.geometry.coordinates[0]))return s;const l=s.geometry.coordinates[0];for(let c=0;c<l.length-1;c++)if($1(o,l[c],l[c+1],n)<=i)return s}else if(s.geometry.type==="Point"){const l=s.geometry.coordinates,c=n(l);if(c){const d=c.x-o.x,h=c.y-o.y;if(Math.sqrt(d*d+h*h)<=i)return s}}else if(s.geometry.type==="LineString"){const l=s.geometry.coordinates;for(let c=0;c<l.length-1;c++)if($1(o,l[c],l[c+1],n)<=i)return s}return null}function $1(e,t,n,r){const o=r(t),i=r(n);if(!o||!i)return 1/0;const s=i.x-o.x,l=i.y-o.y,c=s*s+l*l;if(c===0){const f=e.x-o.x,C=e.y-o.y;return Math.sqrt(f*f+C*C)}const d=Math.max(0,Math.min(1,((e.x-o.x)*s+(e.y-o.y)*l)/c)),h=o.x+d*s,m=o.y+d*l,p=e.x-h,g=e.y-m;return Math.sqrt(p*p+g*g)}function O1(e,t){let n=!1;for(let r=0,o=t.length-1;r<t.length;o=r++){const i=t[r][0],s=t[r][1],l=t[o][0],c=t[o][1];s>e[1]!=c>e[1]&&e[0]<(l-i)*(e[1]-s)/(c-s)+i&&(n=!n)}return n}function B1(e,t,n){const r=n[0]-t[0],o=n[1]-t[1],i=r*r+o*o;if(i===0){const d=Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2);return{point:t,t:0,dist:d}}let s=((e[0]-t[0])*r+(e[1]-t[1])*o)/i;s=Math.max(0,Math.min(1,s));const l=[t[0]+s*r,t[1]+s*o],c=Math.sqrt((e[0]-l[0])**2+(e[1]-l[1])**2);return{point:l,t:s,dist:c}}function U1(e,t,n){if(e.geometry.type!=="LineString")return null;const r=[...e.geometry.coordinates.map(o=>[...o])];return t<0||t>=r.length-1?null:(r.splice(t+1,0,n),{...e,geometry:{type:"LineString",coordinates:r},properties:{...e.properties}})}function W1(e,t,n){if(e.geometry.type!=="Polygon")return null;const r=e.geometry.coordinates.map(l=>l.map(c=>[...c])),o=r[0],i=o.length>1&&o[0][0]===o[o.length-1][0]&&o[0][1]===o[o.length-1][1]?o.length-1:o.length;if(t<0||t>=i)return null;const s=t+1;return o.splice(s,0,n),o[0][0]===o[o.length-2][0]&&(o[0][1],o[o.length-2][1]),o[o.length-1]=[o[0][0],o[0][1]],{...e,geometry:{type:"Polygon",coordinates:r},properties:{...e.properties}}}function Nn(e,t){if(e.geometry.type!=="LineString")return null;const n=e.geometry.coordinates.map(r=>[...r]);return n.length<=2||t<0||t>=n.length?null:(n.splice(t,1),{...e,geometry:{type:"LineString",coordinates:n},properties:{...e.properties}})}function Rn(e,t){if(e.geometry.type!=="Polygon")return null;const n=e.geometry.coordinates.map(i=>i.map(s=>[...s])),r=n[0],o=r.length>1&&r[0][0]===r[r.length-1][0]&&r[0][1]===r[r.length-1][1]?r.length-1:r.length;return o<=3||t<0||t>=o?null:(r.splice(t,1),r[r.length-1]=[r[0][0],r[0][1]],{...e,geometry:{type:"Polygon",coordinates:n},properties:{...e.properties}})}function _n(e){const{scene:t,mapsService:n,styles:r,snap:o,defaultFeatures:i,features:s,onDrawCreate:l,onDrawUpdate:c,onDrawDelete:d,onDrawSelect:h,onModeChange:m,onChange:p}=e,g=u.useRef(Cn(i)),f=u.useRef(null),C=u.useMemo(()=>xn(r),[r]),v=u.useMemo(()=>Pn(o),[o]),w=u.useRef({onDrawCreate:l,onDrawUpdate:c,onDrawDelete:d,onDrawSelect:h,onModeChange:m,onChange:p});w.current={onDrawCreate:l,onDrawUpdate:c,onDrawDelete:d,onDrawSelect:h,onModeChange:m,onChange:p};const S=u.useRef("none"),b=u.useRef(i?[...i]:[]),A=u.useRef(null),z=s!==void 0,Z=u.useRef(null),M=u.useRef(null),E=u.useRef(null),D=u.useCallback(j=>{var y;if(!n)return null;try{const k=(y=n.lngLatToContainer)==null?void 0:y.call(n,[j[0],j[1]]);if(k)return{x:k.x??k[0],y:k.y??k[1]}}catch{}return null},[n]),V=u.useCallback(j=>{var y,k,x;b.current=j,g.current.features=j,(y=f.current)==null||y.updateFeatures(j),(x=(k=w.current).onChange)==null||x.call(k,j)},[]),R=u.useCallback(j=>{var k,x;A.current=j,g.current.selectedFeatureId=j;const y=j?b.current.find(G=>G.id===j)??null:null;(x=(k=w.current).onDrawSelect)==null||x.call(k,y)},[]);u.useEffect(()=>{if(!t)return;const j=new Zn(t,C,n);return f.current=j,b.current.length>0&&j.updateFeatures(b.current),()=>{j.destroy(),f.current=null}},[t]);const N=u.useCallback(j=>{var F,T,X,$;const y=g.current,k=Ge(j);if(!k)return;const x=f.current;if(!x)return;const G=E.current,_=G!=null&&G.snapped?G.lng:k[0],U=G!=null&&G.snapped?G.lat:k[1],Q=S.current;if(Q==="point"){const re=Se(bn([_,U]),"point"),le=[...b.current,re];V(le),(T=(F=w.current).onDrawCreate)==null||T.call(F,[re]);return}if(Q==="polyline"){y.currentVertices.push([_,U]),y.isDrawing=!0,x.showDrawingFeedback(y.currentVertices,y.mousePoint,Q,y.startPoint);return}if(Q==="polygon"){y.currentVertices.push([_,U]),y.isDrawing=!0,x.showDrawingFeedback(y.currentVertices,y.mousePoint,Q,y.startPoint);return}if(Q==="circle"){if(!y.startPoint)y.startPoint=[_,U],y.isDrawing=!0;else{const re=N1(y.startPoint,[_,U]);if(re>.5){const le=Tt(y.startPoint,re),se=Se(le,"circle"),de=[...b.current,se];V(de),($=(X=w.current).onDrawCreate)==null||$.call(X,[se])}y.startPoint=null,y.isDrawing=!1,x.clearDrawingFeedback()}return}if(Q==="merge"){const re=D1(j,b.current,D);if(re&&(re.geometry.type==="Polygon"||re.properties.drawType==="circle")){const le=re.id,se=[...y.mergeSelectedIds],de=se.indexOf(le);de>=0?se.splice(de,1):se.push(le),y.mergeSelectedIds=se,x.highlightMergeSelected(se,b.current),se.length>=2?x.showTooltip(`已选中 ${se.length} 个面,双击合并`,je(j),Ee(j),["[ESC] 取消"]):se.length===1&&x.showTooltip("继续点击选中更多面",je(j),Ee(j),["[ESC] 取消"])}else y.mergeSelectedIds=[],x.highlightMergeSelected([],b.current),x.showTooltip("点击面要素选中",je(j),Ee(j),["[ESC] 取消"]);return}if(Q==="split"){if(!y.splitTargetId){const re=D1(j,b.current,D);re&&(re.geometry.type==="Polygon"||re.properties.drawType==="circle")?(y.splitTargetId=re.id,x.highlightSplitTarget(re.id,b.current),x.showTooltip("已选目标面,单击绘制切线起点",je(j),Ee(j),["[ESC] 取消"])):x.showTooltip("先点击选择要切分的面",je(j),Ee(j),["[ESC] 取消"]);return}y.currentVertices.push([_,U]),y.isDrawing=!0,x.showDrawingFeedback(y.currentVertices,y.mousePoint,"polyline",y.startPoint),y.currentVertices.length===1?x.showTooltip("单击继续绘制切线,双击完成切分",je(j),Ee(j),["[ESC] 取消"]):x.showTooltip(`切线 ${y.currentVertices.length} 个顶点,双击完成切分`,je(j),Ee(j),["[ESC] 取消"]);return}},[V,D]),I=u.useCallback(j=>{var G,_,U,Q,F,T,X,$,re,le,se,de,Ce,Pe,Ve,Te;const y=g.current,k=S.current,x=f.current;if(x){if(k==="edit"&&A.current){Ge(j);return}if(j.originalEvent&&((_=(G=j.originalEvent).preventDefault)==null||_.call(G),(Q=(U=j.originalEvent).stopPropagation)==null||Q.call(U)),k==="merge"){if(y.mergeSelectedIds.length>=2){const be=b.current.filter(ke=>y.mergeSelectedIds.includes(ke.id)),ge=jn(be);if(ge){const e1=[...b.current.filter(t1=>!y.mergeSelectedIds.includes(t1.id)),ge];V(e1),(T=(F=w.current).onDrawCreate)==null||T.call(F,[ge]),($=(X=w.current).onDrawDelete)==null||$.call(X,be[0])}y.mergeSelectedIds=[],x.highlightMergeSelected([],b.current),x.hideTooltip()}return}if(k==="split"&&y.splitTargetId&&y.currentVertices.length>=2){const be=b.current.find(ge=>ge.id===y.splitTargetId);if(be){const ge=An(be,y.currentVertices);if(ge){const e1=[...b.current.filter(t1=>t1.id!==y.splitTargetId),...ge];V(e1),(le=(re=w.current).onDrawCreate)==null||le.call(re,ge),(de=(se=w.current).onDrawDelete)==null||de.call(se,be)}}y.currentVertices=[],y.isDrawing=!1,y.mousePoint=null,y.splitTargetId=null,x.clearDrawingFeedback(),x.clearSplitHighlight(),x.hideTooltip();return}if(k==="polyline"&&y.currentVertices.length>=2){const be=Pt(y.currentVertices),ge=Se(be,"polyline"),ke=[...b.current,ge];V(ke),(Pe=(Ce=w.current).onDrawCreate)==null||Pe.call(Ce,[ge]),y.currentVertices=[],y.isDrawing=!1,y.mousePoint=null,x.clearDrawingFeedback();return}if(k==="polygon"&&y.currentVertices.length>=3){const be=It(y.currentVertices),ge=Se(be,"polygon"),ke=[...b.current,ge];V(ke),(Te=(Ve=w.current).onDrawCreate)==null||Te.call(Ve,[ge]),y.currentVertices=[],y.isDrawing=!1,y.mousePoint=null,x.clearDrawingFeedback();return}(k==="polyline"||k==="polygon")&&(y.currentVertices=[],y.isDrawing=!1,y.mousePoint=null,x.clearDrawingFeedback())}},[V]),L=u.useCallback(j=>{const y=g.current,k=Ge(j);if(!k)return;const[x,G]=k,_=f.current,U=S.current,Q=j.originalEvent??j.originEvent??j.e,F=(Q==null?void 0:Q.clientX)??j.x??0,T=(Q==null?void 0:Q.clientY)??j.y??0;if(y.mousePoint=[x,G],_&&(F||T)){const $=E.current;if((U==="point"||U==="polyline"||U==="polygon"||U==="circle"||U==="rectangle")&&($!=null&&$.snapped)&&$.type!=="none")_.showSnapTooltip($.type,$.lng,$.lat,F,T);else if(U==="point")_.showTooltip("单击放置点",F,T,["[ESC] 取消"]);else if(U==="polyline")y.isDrawing?_.showTooltip("单击添加顶点,双击结束",F,T,["[ESC] 取消"]):_.showTooltip("单击开始绘制线",F,T,["[ESC] 取消"]);else if(U==="polygon")y.isDrawing?y.currentVertices.length<3?_.showTooltip("单击添加顶点",F,T,["[ESC] 取消"]):_.showTooltip("单击继续,双击闭合",F,T,["[ESC] 取消"]):_.showTooltip("单击开始绘制面",F,T,["[ESC] 取消"]);else if(U==="rectangle")y.isDragging||_.showTooltip("按住拖拽绘制矩形",F,T,["[SHIFT] 正方形","[ESC] 取消"]);else if(U==="circle")if(!y.startPoint)_.showTooltip("单击设定圆心",F,T,["[ESC] 取消"]);else{const le=N1(y.startPoint,[x,G]),se=le>1e3?`${(le/1e3).toFixed(1)} km`:`${Math.round(le)} m`;_.showTooltip(`半径 ${se},单击完成`,F,T,["[ESC] 取消"])}else U==="merge"?y.mergeSelectedIds.length>=2?_.showTooltip(`已选中 ${y.mergeSelectedIds.length} 个面,双击合并`,F,T,["[ESC] 取消"]):y.mergeSelectedIds.length===1?_.showTooltip("继续点击选中更多面",F,T,["[ESC] 取消"]):_.showTooltip("点击面要素选中",F,T,["[ESC] 取消"]):U==="split"?y.splitTargetId?y.isDrawing?_.showTooltip(`切线 ${y.currentVertices.length} 个顶点,双击完成切分`,F,T,["[ESC] 取消"]):_.showTooltip("单击绘制切线起点",F,T,["[ESC] 取消"]):_.showTooltip("先点击选择要切分的面",F,T,["[ESC] 取消"]):U==="edit"||_.hideTooltip()}if((U==="point"||U==="polyline"||U==="polygon"||U==="circle")&&v.enabled&&_){const $=In([x,G],b.current,v,D);E.current=$,$.snapped&&$.type!=="none"?(_.showSnapIndicator($.lng,$.lat,$.type),y.mousePoint=[$.lng,$.lat]):_.hideSnapIndicator()}else E.current=null,_==null||_.hideSnapIndicator();if((U==="polyline"||U==="polygon")&&y.isDrawing){_==null||_.showDrawingFeedback(y.currentVertices,y.mousePoint,U,y.startPoint);return}if(U==="circle"&&y.startPoint&&y.isDrawing){_==null||_.showDrawingFeedback(y.currentVertices,y.mousePoint,U,y.startPoint);return}if(U==="rectangle"&&y.isDragging&&y.startPoint){_==null||_.showDrawingFeedback(y.currentVertices,y.mousePoint,U,y.startPoint);return}if(U==="edit"&&y.isDragging&&y.selectedFeatureId&&y.dragVertexIndex!==null&&Z.current){const $=b.current.find(re=>re.id===y.selectedFeatureId);if($){const re=Sn($,y.dragVertexIndex,x,G),le=b.current.map(se=>se.id===re.id?re:se);V(le),_==null||_.updateVertexHandles(re),_==null||_.updateSelectionHighlight(re),Z.current=[x,G]}return}if(U==="edit"&&y.isDragging&&y.selectedFeatureId&&y.dragVertexIndex===null&&Z.current){const[$,re]=Z.current,le=x-$,se=G-re;if(Math.abs(le)>1e-10||Math.abs(se)>1e-10){const de=b.current.find(Ce=>Ce.id===y.selectedFeatureId);if(de){const Ce=wn(de,le,se),Pe=b.current.map(Ve=>Ve.id===Ce.id?Ce:Ve);V(Pe),_==null||_.updateVertexHandles(Ce),_==null||_.updateSelectionHighlight(Ce),Z.current=[x,G]}}return}},[V]),H=u.useCallback(j=>{var x,G;const y=g.current,k=S.current;if(n&&k==="rectangle"){const _=(x=n.getContainer)==null?void 0:x.call(n);if(!_)return;const U=_.getBoundingClientRect(),Q=j.clientX-U.left,F=j.clientY-U.top,T=(G=n.containerToLngLat)==null?void 0:G.call(n,[Q,F]);if(!T)return;y.startPoint=[T.lng,T.lat],y.isDragging=!0,M.current={x:j.clientX,y:j.clientY},n.setMapStatus({dragEnable:!1,zoomEnable:!1});return}},[n]),O=u.useCallback(j=>{var G,_,U,Q,F,T;const y=g.current,k=S.current,x=f.current;if(n){if(k==="rectangle"&&y.isDragging&&y.startPoint){const X=(G=n.getContainer)==null?void 0:G.call(n);if(X){const $=X.getBoundingClientRect(),re=j.clientX-$.left,le=j.clientY-$.top,se=(_=n.containerToLngLat)==null?void 0:_.call(n,[re,le]),de=M.current,Ce=de?Mn(de,{x:j.clientX,y:j.clientY}):1/0;if(se&&Ce>Tn){const Pe=[se.lng,se.lat],Ve=Ft(y.startPoint,Pe),Te=Se(Ve,"rectangle"),be=[...b.current,Te];V(be),(Q=(U=w.current).onDrawCreate)==null||Q.call(U,[Te])}}y.startPoint=null,y.isDragging=!1,y.mousePoint=null,M.current=null,x==null||x.clearDrawingFeedback(),n.setMapStatus({dragEnable:!0,zoomEnable:!0});return}if(k==="edit"&&y.isDragging&&y.selectedFeatureId){n.setMapStatus({dragEnable:!0,zoomEnable:!0});const X=b.current.find($=>$.id===y.selectedFeatureId);X&&((T=(F=w.current).onDrawUpdate)==null||T.call(F,X)),y.isDragging=!1,y.dragVertexIndex=null,Z.current=null;return}}},[n,V]),q=u.useCallback(j=>{var k,x,G;if(S.current!=="edit")return;const y=b.current.find(_=>_.id===j)??null;y&&(R(j),(k=f.current)==null||k.hideFeatureFromStatic(j),(x=f.current)==null||x.updateSelectionHighlight(y),(G=f.current)==null||G.updateVertexHandles(y))},[R]),ee=u.useCallback(j=>{if(S.current!=="edit"||!n||!A.current)return;const y=g.current,k=b.current.find(G=>G.id===A.current);if(!k)return;const x=Xe(k);j>=0&&j<x.length&&(Z.current=x[j]),y.isDragging=!0,y.dragVertexIndex=j,n.setMapStatus({dragEnable:!1,zoomEnable:!1})},[n]),J=u.useCallback((j,y)=>{if(S.current!=="edit")return;const k=g.current;k.isDragging||!b.current.find(G=>G.id===j)||k.selectedFeatureId===j&&(k.isDragging=!0,k.dragVertexIndex=null,Z.current=y,n.setMapStatus({dragEnable:!1,zoomEnable:!1}))},[n]),K=u.useCallback(j=>{var x,G,_,U;if(S.current!=="edit"||!A.current)return;const y=b.current.find(Q=>Q.id===A.current);if(!y)return;let k=null;if(y.geometry.type==="LineString"?k=Nn(y,j):y.geometry.type==="Polygon"&&(k=Rn(y,j)),k){const Q=b.current.map(F=>F.id===k.id?k:F);V(Q),(G=(x=w.current).onDrawUpdate)==null||G.call(x,k),(_=f.current)==null||_.updateVertexHandles(k),(U=f.current)==null||U.updateSelectionHighlight(k)}},[V]);u.useCallback(j=>{var G,_,U,Q;if(S.current!=="edit"||!A.current)return;const y=b.current.find(F=>F.id===A.current);if(!y)return;const k=Xe(y);let x=null;if(y.geometry.type==="LineString"&&k.length>=2){let F=-1,T=1/0;for(let X=0;X<k.length-1;X++){const{dist:$}=B1(j,k[X],k[X+1]);$<T&&(T=$,F=X)}F>=0&&T<.001&&(x=U1(y,F,j))}else if(y.geometry.type==="Polygon"&&k.length>=3){let F=-1,T=1/0;for(let X=0;X<k.length;X++){const $=(X+1)%k.length,{dist:re}=B1(j,k[X],k[$]);re<T&&(T=re,F=X)}F>=0&&T<.001&&(x=W1(y,F,j))}if(x){const F=b.current.map(T=>T.id===x.id?x:T);V(F),(_=(G=w.current).onDrawUpdate)==null||_.call(G,x),(U=f.current)==null||U.updateVertexHandles(x),(Q=f.current)==null||Q.updateSelectionHighlight(x)}},[V]);const ae=u.useCallback((j,y)=>{var G,_,U,Q;if(S.current!=="edit"||!A.current)return;const k=b.current.find(F=>F.id===A.current);if(!k)return;let x=null;if(k.geometry.type==="LineString"?x=U1(k,j,y):k.geometry.type==="Polygon"&&(x=W1(k,j,y)),x){const F=b.current.map(T=>T.id===x.id?x:T);V(F),(_=(G=w.current).onDrawUpdate)==null||_.call(G,x),(U=f.current)==null||U.updateVertexHandles(x),(Q=f.current)==null||Q.updateSelectionHighlight(x)}},[V]),W=u.useCallback(()=>{var j,y,k;S.current==="edit"&&A.current&&(R(null),(j=f.current)==null||j.showAllFeatures(),(y=f.current)==null||y.clearSelectionHighlight(),(k=f.current)==null||k.clearVertexHandles())},[R]),te=u.useCallback(j=>{var G,_,U,Q,F,T,X;const y=S.current;if(y===j)return;const k=g.current,x=f.current;if(k.isDrawing&&(k.currentVertices=[],k.startPoint=null,k.mousePoint=null,k.isDrawing=!1,x==null||x.clearDrawingFeedback(),x==null||x.removeDrawingLayers()),y==="merge"&&(k.mergeSelectedIds=[],x==null||x.clearMergeHighlight(),x==null||x.hideTooltip()),y==="split"&&(k.splitTargetId=null,k.currentVertices=[],k.isDrawing=!1,x==null||x.clearDrawingFeedback(),x==null||x.clearSplitHighlight(),x==null||x.hideTooltip()),y==="edit"&&(R(null),x==null||x.showAllFeatures(),x==null||x.clearSelectionHighlight(),x==null||x.clearVertexHandles(),x==null||x.removeSelectionLayers(),x==null||x.removeVertexLayer(),x==null||x.removeEditClickHandlers(),x==null||x.clearEditCursors(),x==null||x.hideTooltip(),n&&n.setMapStatus({doubleClickZoom:!0})),y!=="edit"&&y!=="none"&&y!=="merge"&&y!=="split"){x==null||x.removeDrawingLayers(),x==null||x.hideTooltip(),n&&n.setMapStatus({doubleClickZoom:!0});const $=(G=n==null?void 0:n.getContainer)==null?void 0:G.call(n);$&&$.classList.remove("l7-draw-cursor-crosshair")}if(S.current=j,k.mode=j,j==="merge"){k.mergeSelectedIds=[];const $=(_=n==null?void 0:n.getContainer)==null?void 0:_.call(n);$&&$.classList.add("l7-draw-cursor-crosshair")}else if(j==="split"){k.splitTargetId=null,k.currentVertices=[],k.isDrawing=!1,n&&n.setMapStatus({doubleClickZoom:!1});const $=(U=n==null?void 0:n.getContainer)==null?void 0:U.call(n);$&&$.classList.add("l7-draw-cursor-crosshair")}else if(j==="edit")x==null||x.setupEditClickHandlers(q,ee,W,K,ae,J),n&&n.setMapStatus({doubleClickZoom:!1});else if(j!=="none"){n&&(j==="polyline"||j==="polygon")&&n.setMapStatus({doubleClickZoom:!1});const $=(Q=n==null?void 0:n.getContainer)==null?void 0:Q.call(n);$&&$.classList.add("l7-draw-cursor-crosshair")}else{const $=(F=n==null?void 0:n.getContainer)==null?void 0:F.call(n);$&&$.classList.remove("l7-draw-cursor-crosshair")}(X=(T=w.current).onModeChange)==null||X.call(T,j)},[n,q,ee,W,R]),ne=u.useCallback(j=>{var G,_;const y=g.current,k=S.current,x=f.current;if(j.key==="Escape"){y.isDrawing&&(y.currentVertices=[],y.startPoint=null,y.mousePoint=null,y.isDrawing=!1,x==null||x.clearDrawingFeedback()),A.current&&(R(null),x==null||x.showAllFeatures(),x==null||x.clearSelectionHighlight(),x==null||x.clearVertexHandles()),x==null||x.hideTooltip();return}if((j.key==="Delete"||j.key==="Backspace")&&k==="edit"&&A.current){j.preventDefault();const U=A.current,Q=b.current.find(F=>F.id===U);if(Q){const F=b.current.filter(T=>T.id!==U);V(F),(_=(G=w.current).onDrawDelete)==null||_.call(G,Q),R(null),x==null||x.showAllFeatures(),x==null||x.clearSelectionHighlight(),x==null||x.clearVertexHandles()}return}},[V,R]);u.useEffect(()=>{var _;if(!t||!n)return;const j=U=>N(U),y=U=>I(U),k=U=>L(U),x=(_=n.getContainer)==null?void 0:_.call(n);n.on("click",j),n.on("dblclick",y),n.on("mousemove",k),x&&x.addEventListener("mousedown",H),document.addEventListener("mouseup",O),document.addEventListener("keydown",ne);const G=U=>{S.current==="edit"&&U.preventDefault()};return x&&x.addEventListener("contextmenu",G),()=>{n.off("click",j),n.off("dblclick",y),n.off("mousemove",k),x&&(x.removeEventListener("mousedown",H),x.removeEventListener("contextmenu",G)),document.removeEventListener("mouseup",O),document.removeEventListener("keydown",ne);try{n.setMapStatus({dragEnable:!0,zoomEnable:!0,doubleClickZoom:!0})}catch{}x&&x.classList.remove("l7-draw-cursor-crosshair")}},[t,n,N,I,L,H,O,ne]),u.useEffect(()=>{var j;z&&s&&(b.current=[...s],g.current.features=[...s],(j=f.current)==null||j.updateFeatures(s))},[z,s]);const P=u.useCallback(j=>{var k,x;if(z)return;const y=[...b.current,...j];V(y),(x=(k=w.current).onDrawCreate)==null||x.call(k,j)},[z,V]),B=u.useCallback(j=>{var x,G,_,U,Q;if(z)return;const y=b.current.find(F=>F.id===j);if(!y)return;const k=b.current.filter(F=>F.id!==j);V(k),(G=(x=w.current).onDrawDelete)==null||G.call(x,y),A.current===j&&(R(null),(_=f.current)==null||_.showAllFeatures(),(U=f.current)==null||U.clearSelectionHighlight(),(Q=f.current)==null||Q.clearVertexHandles())},[z,V,R]),ie=u.useCallback(()=>{A.current&&B(A.current)},[B]),Y=u.useCallback(()=>{var j,y,k;z||(V([]),R(null),(j=f.current)==null||j.showAllFeatures(),(y=f.current)==null||y.clearSelectionHighlight(),(k=f.current)==null||k.clearVertexHandles())},[z,V,R]),oe=u.useCallback(()=>[...b.current],[]),ce=u.useCallback(j=>{var y,k,x,G,_,U;if(S.current==="edit")if(j){const Q=b.current.find(F=>F.id===j)??null;R(j),Q&&((y=f.current)==null||y.hideFeatureFromStatic(j),(k=f.current)==null||k.updateSelectionHighlight(Q),(x=f.current)==null||x.updateVertexHandles(Q))}else R(null),(G=f.current)==null||G.showAllFeatures(),(_=f.current)==null||_.clearSelectionHighlight(),(U=f.current)==null||U.clearVertexHandles()},[R]);return{mode:S.current,features:b.current,selectedFeatureId:A.current,setMode:te,addFeatures:P,deleteFeature:B,deleteSelectedFeature:ie,clearAll:Y,getFeatures:oe,selectFeature:ce,layerManager:f.current}}const q1=[{mode:"point",icon:"location_on",title:"点 — 单击放置",label:"点"},{mode:"polyline",icon:"timeline",title:"线 — 单击添加顶点,双击结束",label:"线"},{mode:"polygon",icon:"pentagon",title:"面 — 单击添加顶点,双击闭合",label:"面"},{mode:"circle",icon:"radio_button_unchecked",title:"圆 — 单击圆心,再单击确定半径",label:"圆形"},{mode:"rectangle",icon:"crop_square",title:"矩形 — 按住拖拽绘制",label:"矩形"},{mode:"edit",icon:"edit_square",title:"编辑 — 选中要素后拖拽移动或编辑顶点",label:"编辑"}],G1=[{mode:"merge",icon:"call_merge",title:"合并 — 选中2+要素合并为一个",label:"合并"},{mode:"split",icon:"content_cut",title:"切分 — 绘制切线将要素分割",label:"切分"}];function Rt(){const e=u.useRef(null),t=u.useCallback((r,o)=>{if(!e.current){const p=document.createElement("div");p.style.cssText=["position:fixed","pointer-events:none","z-index:9999","padding:5px 10px","border-radius:4px","background:rgba(26,27,34,0.92)","color:#f2eff9",'font:500 11px/16px "JetBrains Mono",monospace',"white-space:nowrap","box-shadow:0 2px 8px rgba(0,0,0,0.3)"].join(";"),document.body.appendChild(p),e.current=p}const i=e.current;i.textContent=o,i.style.display="block";const s=i.getBoundingClientRect(),l=r.currentTarget.getBoundingClientRect();let c=l.right+8,d=l.top+l.height/2-s.height/2;const h=window.innerWidth,m=window.innerHeight;c+s.width>h-4&&(c=l.left-s.width-8),c<4&&(c=l.left+l.width/2-s.width/2,d=l.top-s.height-8),d<4&&(d=l.bottom+8),d+s.height>m-4&&(d=l.top-s.height-8),i.style.left=`${Math.max(4,c)}px`,i.style.top=`${Math.max(4,d)}px`},[]),n=u.useCallback(()=>{e.current&&(e.current.style.display="none")},[]);return u.useEffect(()=>()=>{var r;e.current&&((r=e.current.parentElement)==null||r.removeChild(e.current),e.current=null)},[]),{showTooltip:t,hideTooltip:n}}function _t(e,t,n,r,o,i){return e.map(s=>a.jsx("button",{className:`l7-button-control ${i}${t===s.mode?" l7-button-control--active":""}`,onClick:()=>n(s.mode),onMouseEnter:l=>r(l,s.title),onMouseLeave:o,"aria-label":s.title,"aria-pressed":t===s.mode,children:a.jsx("span",{className:"material-symbols-outlined",children:s.icon})},s.mode))}const Dn=({activeMode:e,onModeChange:t,modes:n,showDelete:r=!0,hasSelection:o=!1,hasFeatures:i=!1,onDeleteSelected:s,onClearAll:l,className:c,style:d})=>{const{showTooltip:h,hideTooltip:m}=Rt(),p=u.useMemo(()=>n?q1.filter(f=>n.includes(f.mode)):q1,[n]),g=u.useCallback(f=>{t(e===f?"none":f)},[e,t]);return a.jsxs("div",{className:`l7-control l7-control-draw l7-control--glass${c?` ${c}`:""}`,style:d,role:"toolbar","aria-label":"基础绘制工具",children:[_t(p,e,g,h,m,"l7-draw-tool-btn"),r&&e==="edit"&&o&&s&&a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"l7-draw-separator"}),a.jsx("button",{className:"l7-button-control l7-draw-action-btn",onClick:s,onMouseEnter:f=>h(f,"删除选中要素"),onMouseLeave:m,"aria-label":"删除选中要素",children:a.jsx("span",{className:"material-symbols-outlined",children:"delete"})})]}),r&&i&&l&&a.jsx("button",{className:"l7-button-control l7-draw-action-btn",onClick:l,onMouseEnter:f=>h(f,"清除所有要素"),onMouseLeave:m,"aria-label":"清除所有要素",children:a.jsx("span",{className:"material-symbols-outlined",children:"delete_sweep"})})]})},$n=({activeMode:e,onModeChange:t,modes:n,className:r,style:o})=>{const{showTooltip:i,hideTooltip:s}=Rt(),l=u.useMemo(()=>n?G1.filter(d=>n.includes(d.mode)):G1,[n]),c=u.useCallback(d=>{t(e===d?"none":d)},[e,t]);return a.jsx("div",{className:`l7-control l7-control-draw l7-control--glass${r?` ${r}`:""}`,style:o,role:"toolbar","aria-label":"高级操作工具",children:_t(l,e,c,i,s,"l7-draw-advanced-btn")})},S1=u.forwardRef(function({position:t="topright",defaultFeatures:n,features:r,modes:o,showDelete:i=!0,styles:s,snap:l,className:c,style:d,onDrawCreate:h,onDrawUpdate:m,onDrawDelete:p,onDrawSelect:g,onModeChange:f,onChange:C},v){const{scene:w,mapsService:S,positionClassName:b}=Le(t),A=ve(),z=_n({scene:w,mapsService:S,styles:s,snap:l,defaultFeatures:n,features:r,onDrawCreate:h,onDrawUpdate:m,onDrawDelete:p,onDrawSelect:g,onModeChange:f,onChange:C}),[Z,M]=u.useState("none");u.useImperativeHandle(v,()=>({setMode:z.setMode,addFeatures:z.addFeatures,deleteFeature:z.deleteFeature,clearAll:z.clearAll,getFeatures:z.getFeatures,selectFeature:z.selectFeature}),[z]);const E=u.useCallback(L=>{M(L),z.setMode(L)},[z]),D=u.useCallback(()=>{z.deleteSelectedFeature()},[z]),V=u.useCallback(()=>{z.clearAll()},[z]),R=z.selectedFeatureId!==null,N=z.features.length>0,I=a.jsxs(a.Fragment,{children:[a.jsx(Dn,{activeMode:Z,onModeChange:E,modes:o,showDelete:i,hasSelection:R,hasFeatures:N,onDeleteSelected:D,onClearAll:V}),a.jsx($n,{activeMode:Z,onModeChange:E,modes:o})]});return A?a.jsx("div",{className:c,style:d,children:I}):a.jsx("div",{className:`l7-control-anchor ${b}`,children:I})});me.mark(S1);async function On(e){let t,n;e instanceof File?(t=URL.createObjectURL(e),n=()=>URL.revokeObjectURL(t)):t=e;const{width:r,height:o}=await Bn(t);return{url:t,width:r,height:o,revokeUrl:n}}function Bn(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>t({width:r.naturalWidth,height:r.naturalHeight}),r.onerror=()=>n(new Error("Failed to load image")),r.crossOrigin="anonymous",r.src=e})}function Un(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>t(r),r.onerror=()=>n(new Error("Failed to load image")),r.crossOrigin="anonymous",r.src=e})}function Wn(e,t,n){const r=360/Math.pow(2,t)*.3,o=r*n/2,i=r/2,[s,l]=e;return[[s-o,l+i],[s+o,l+i],[s+o,l-i],[s-o,l-i]]}function qn(e){const t=e.map(r=>r[0]),n=e.map(r=>r[1]);return[Math.min(...t),Math.min(...n),Math.max(...t),Math.max(...n)]}function Gn(e,t){const n=[],r=[];for(let i=0;i<4;i++){const[s,l]=e[i],[c,d]=t[i];n.push([-s,-l,-1,0,0,0,c*s,c*l]),r.push(-c),n.push([0,0,0,-s,-l,-1,d*s,d*l]),r.push(-d)}const o=Kn(n,r);return[o[0],o[1],o[2],o[3],o[4],o[5],o[6],o[7],1]}function Yn(e,t,n,r){const o="naturalWidth"in e?e.naturalWidth:e.width,i="naturalHeight"in e?e.naturalHeight:e.height,s=t.map(E=>E[0]),l=t.map(E=>E[1]),c=Math.min(...s),d=Math.max(...s),h=Math.min(...l),m=Math.max(...l),p=E=>[(E[0]-c)/(d-c)*n,(m-E[1])/(m-h)*r],g=t.map(p),C=Gn(g,[[0,0],[o,0],[o,i],[0,i]]),v=document.createElement("canvas");v.width=n,v.height=r;const w=v.getContext("2d"),S=document.createElement("canvas");S.width=o,S.height=i;const b=S.getContext("2d");b.drawImage(e,0,0);const A=b.getImageData(0,0,o,i),z=w.createImageData(n,r),Z=A.data,M=z.data;for(let E=0;E<r;E++)for(let D=0;D<n;D++){const V=C[6]*D+C[7]*E+C[8];if(Math.abs(V)<1e-10)continue;const R=(C[0]*D+C[1]*E+C[2])/V,N=(C[3]*D+C[4]*E+C[5])/V;if(R>=0&&R<o-1&&N>=0&&N<i-1){const I=Math.floor(R),L=Math.floor(N),H=R-I,O=N-L,q=(L*o+I)*4,ee=(E*n+D)*4;for(let J=0;J<4;J++)M[ee+J]=Math.round(Z[q+J]*(1-H)*(1-O)+Z[q+4+J]*H*(1-O)+Z[q+o*4+J]*(1-H)*O+Z[q+o*4+4+J]*H*O)}}return w.putImageData(z,0,0),v}function Jn(e,t,n,r,o,i,s){const l=document.createElement("canvas");return l.width=r,l.height=o,l.getContext("2d").drawImage(e,t,n,r,o,0,0,r,o),new Promise((d,h)=>{l.toBlob(m=>m?d(m):h(new Error("tile export failed")),i,s)})}async function Xn(e,t,n){const{outputWidth:r,outputHeight:o,cols:i,rows:s,format:l="image/png",quality:c=.92}=n,d=Yn(e,t,r,o),h=t.map(M=>M[0]),m=t.map(M=>M[1]),p=Math.min(...h),g=Math.max(...h),f=Math.min(...m),C=Math.max(...m),v=[p,f,g,C],w=await new Promise((M,E)=>{d.toBlob(D=>D?M(D):E(new Error("export failed")),l,c)}),S=Math.floor(r/i),b=Math.floor(o/s),A=(g-p)/i,z=(C-f)/s,Z=[];for(let M=0;M<s;M++)for(let E=0;E<i;E++){const D=E*S,V=M*b,R=E===i-1?r-D:S,N=M===s-1?o-V:b,I=p+E*A,L=E===i-1?g:I+A,H=C-M*z,O=M===s-1?f:H-z,q=[I,O,L,H],ee=[[I,H],[L,H],[L,O],[I,O]],J=await Jn(d,D,V,R,N,l,c);Z.push({blob:J,row:M,col:E,extent:q,corners:ee,width:R,height:N})}return{canvas:d,fullBlob:w,tiles:Z,extent:v}}function Kn(e,t){const r=[];for(let o=0;o<8;o++)r.push([...e[o],t[o]]);for(let o=0;o<8;o++){let i=o,s=Math.abs(r[o][o]);for(let c=o+1;c<8;c++)Math.abs(r[c][o])>s&&(s=Math.abs(r[c][o]),i=c);[r[o],r[i]]=[r[i],r[o]];const l=r[o][o];if(Math.abs(l)<1e-12)throw new Error("Singular matrix in homography computation");for(let c=o;c<=8;c++)r[o][c]/=l;for(let c=0;c<8;c++){if(c===o)continue;const d=r[c][o];for(let h=o;h<=8;h++)r[c][h]-=d*r[o][h]}}return r.map(o=>o[8])}function Qn({scene:e,mapsService:t,corners:n,defaultCorners:r,imageSource:o,opacity:i=.7,onCornersChange:s,onImageLoad:l}){const[c,d]=u.useState({phase:"idle",imageUrl:null,imageDimensions:null,corners:r??null,draggingCorner:null,opacity:i}),[h,m]=u.useState(null),p=u.useRef(c.corners),g=u.useRef(null),f=u.useRef(null),C=u.useRef(s);C.current=s;const v=u.useRef(null),w=n!==void 0,S=w?n:c.corners;u.useEffect(()=>{p.current=S??null},[S]),u.useEffect(()=>{w&&n&&d(L=>({...L,corners:n}))},[w,n]),u.useEffect(()=>{o&&M(o)},[o]);const[b,A]=u.useState(S??null);u.useEffect(()=>{c.draggingCorner||A(S??null)},[S,c.draggingCorner]),u.useEffect(()=>{if(!e||!c.imageUrl||!b){if(v.current){try{e==null||e.removeLayer(v.current)}catch{}v.current=null}return}const L=[b[0],b[1],b[2],b[3]];if(v.current){try{e.removeLayer(v.current)}catch{}v.current=null}const H=new pe.ImageLayer({zIndex:10,name:"__calibration_image__"});return H.source(c.imageUrl,{parser:{type:"image",coordinates:L}}),H.style({opacity:c.opacity}),e.addLayer(H),v.current=H,()=>{if(v.current){try{e.removeLayer(v.current)}catch{}v.current=null}}},[e,c.imageUrl,b,c.opacity]);const z=u.useCallback(()=>{if(!t||!p.current){m(null);return}try{const L=p.current.map(H=>{const O=t.lngLatToContainer([H[0],H[1]]);return[O.x,O.y]});m(L)}catch{}},[t]);u.useEffect(()=>{if(!t||!S)return;z();const L=()=>z();return t.on("camerachange",L),t.on("viewchange",L),()=>{t.off("camerachange",L),t.off("viewchange",L)}},[t,S,z]);const Z=u.useCallback(L=>{var ee;if(!t)return;g.current=L,d(J=>({...J,draggingCorner:L})),t.setMapStatus({dragEnable:!1,zoomEnable:!1});const H=(ee=t.getContainer)==null?void 0:ee.call(t),O=J=>{var P;if(g.current===null||!p.current||!H)return;const K=H.getBoundingClientRect(),ae=J.clientX-K.left,W=J.clientY-K.top,te=t.containerToLngLat([ae,W]);if(!te)return;const ne=[...p.current];ne[g.current]=[te.lng,te.lat],p.current=ne,w||d(B=>({...B,corners:ne})),(P=C.current)==null||P.call(C,ne),z()},q=()=>{g.current=null,d(J=>({...J,draggingCorner:null})),t.setMapStatus({dragEnable:!0,zoomEnable:!0}),document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",q)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",q)},[t,w,z]),M=u.useCallback(async L=>{var H,O;(H=f.current)==null||H.call(f),f.current=null;try{const q=await On(L);f.current=q.revokeUrl??null;let ee=p.current;if(!ee&&t){const J=t.getCenter(),K=t.getZoom(),ae=q.width/q.height;ee=Wn([J.lng,J.lat],K,ae)}d(J=>({...J,phase:"calibrating",imageUrl:q.url,imageDimensions:{width:q.width,height:q.height},corners:w?J.corners:ee})),!w&&ee&&(p.current=ee,(O=C.current)==null||O.call(C,ee)),l==null||l({width:q.width,height:q.height}),requestAnimationFrame(z)}catch(q){console.error("Failed to load image:",q)}},[t,w,l,z]),E=u.useCallback(L=>{d(H=>({...H,phase:L}))},[]),D=u.useCallback(L=>{d(H=>({...H,opacity:L}))},[]),V=u.useCallback(()=>{var L;if((L=f.current)==null||L.call(f),f.current=null,p.current=null,v.current&&e){try{e.removeLayer(v.current)}catch{}v.current=null}d({phase:"idle",imageUrl:null,imageDimensions:null,corners:null,draggingCorner:null,opacity:i}),m(null)},[i,e]),R=u.useCallback(()=>p.current,[]),N=u.useCallback(L=>{var H;p.current=L,w||d(O=>({...O,corners:L})),(H=C.current)==null||H.call(C,L),z()},[w,z]),I=u.useCallback(async L=>{if(!c.imageUrl||!p.current||!c.imageDimensions)throw new Error("No image or corners to export");const H=await Un(c.imageUrl),O=p.current,q=(L==null?void 0:L.outputWidth)||c.imageDimensions.width,ee=(L==null?void 0:L.outputHeight)||c.imageDimensions.height,J=(L==null?void 0:L.cols)||1,K=(L==null?void 0:L.rows)||1,{fullBlob:ae,tiles:W,extent:te}=await Xn(H,O,{outputWidth:q,outputHeight:ee,cols:J,rows:K,format:L==null?void 0:L.format,quality:L==null?void 0:L.quality}),ne=URL.createObjectURL(ae);return{tiles:W.map(B=>({blob:B.blob,previewUrl:URL.createObjectURL(B.blob),row:B.row,col:B.col,extent:B.extent,corners:B.corners,width:B.width,height:B.height})),extent:te,previewUrl:ne,blob:ae,outputWidth:q,outputHeight:ee}},[c.imageUrl,c.imageDimensions]);return u.useEffect(()=>()=>{var L;if((L=f.current)==null||L.call(f),v.current&&e)try{e.removeLayer(v.current)}catch{}},[e]),{state:c,screenPositions:h,setImage:M,setPhase:E,setOpacity:D,startDrag:Z,clear:V,getCorners:R,setCorners:N,exportImage:I}}const e5=["TL","TR","BR","BL"],Ue=14;function t5({screenPositions:e,draggingCorner:t,phase:n,onStartDrag:r}){const o=u.useCallback(l=>c=>{c.preventDefault(),c.stopPropagation(),r(l)},[r]),i=n==="calibrating",s=`M ${e[0][0]},${e[0][1]} L ${e[1][0]},${e[1][1]} L ${e[2][0]},${e[2][1]} L ${e[3][0]},${e[3][1]} Z`;return a.jsxs(a.Fragment,{children:[a.jsx("svg",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",overflow:"visible"},children:a.jsx("path",{d:s,fill:"none",stroke:"#f59e0b",strokeWidth:"2",strokeDasharray:"6 3"})}),i&&e.map((l,c)=>a.jsx("div",{onMouseDown:o(c),style:{position:"absolute",left:l[0]-Ue/2,top:l[1]-Ue/2,width:Ue,height:Ue,borderRadius:"50%",backgroundColor:"#fff",border:"2px solid #f59e0b",boxShadow:"0 2px 4px rgba(0,0,0,0.3)",cursor:t===c?"grabbing":"grab",transform:t===c?"scale(1.3)":"scale(1)",transition:t===null?"transform 0.15s ease":"none",zIndex:t===c?10:1,pointerEvents:"auto"},title:`${e5[c]} 角点`},c))]})}class n5{constructor(){this.entries=[]}addFile(t,n){typeof n=="string"?this.entries.push({name:t,data:new TextEncoder().encode(n)}):n instanceof Blob?this.entries.push({name:t,data:new Uint8Array(0)}):this.entries.push({name:t,data:n})}async addBlob(t,n){const r=await n.arrayBuffer();this.entries.push({name:t,data:new Uint8Array(r)})}generate(){const t=[],n=[];let r=0;for(const l of this.entries){const c=new TextEncoder().encode(l.name),d=r5(l.data),h=l.data.length,m=new Uint8Array(30+c.length),p=new DataView(m.buffer);p.setUint32(0,67324752,!0),p.setUint16(4,20,!0),p.setUint16(6,0,!0),p.setUint16(8,0,!0),p.setUint16(10,0,!0),p.setUint16(12,0,!0),p.setUint32(14,d,!0),p.setUint32(18,h,!0),p.setUint32(22,h,!0),p.setUint16(26,c.length,!0),p.setUint16(28,0,!0),m.set(c,30),t.push(m),t.push(l.data);const g=new Uint8Array(46+c.length),f=new DataView(g.buffer);f.setUint32(0,33639248,!0),f.setUint16(4,20,!0),f.setUint16(6,20,!0),f.setUint16(8,0,!0),f.setUint16(10,0,!0),f.setUint16(12,0,!0),f.setUint16(14,0,!0),f.setUint32(16,d,!0),f.setUint32(20,h,!0),f.setUint32(24,h,!0),f.setUint16(28,c.length,!0),f.setUint16(30,0,!0),f.setUint16(32,0,!0),f.setUint16(34,0,!0),f.setUint16(36,0,!0),f.setUint32(38,0,!0),f.setUint32(42,r,!0),g.set(c,46),n.push(g),r+=m.length+l.data.length}const o=n.reduce((l,c)=>l+c.length,0),i=new Uint8Array(22),s=new DataView(i.buffer);return s.setUint32(0,101010256,!0),s.setUint16(4,0,!0),s.setUint16(6,0,!0),s.setUint16(8,this.entries.length,!0),s.setUint16(10,this.entries.length,!0),s.setUint32(12,o,!0),s.setUint32(16,r,!0),s.setUint16(20,0,!0),new Blob([...t,...n,i],{type:"application/zip"})}}const Dt=new Uint32Array(256);for(let e=0;e<256;e++){let t=e;for(let n=0;n<8;n++)t=t&1?3988292384^t>>>1:t>>>1;Dt[e]=t}function r5(e){let t=4294967295;for(let n=0;n<e.length;n++)t=Dt[(t^e[n])&255]^t>>>8;return(t^4294967295)>>>0}function Fe({icon:e,tip:t,onClick:n,disabled:r}){const[o,i]=u.useState(!1);return a.jsxs("div",{style:{position:"relative",display:"flex"},onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[a.jsx("button",{className:"l7-button-control",onClick:n,disabled:r,"aria-label":t,children:a.jsx("span",{className:"material-symbols-outlined",children:e})}),o&&a.jsx("div",{style:{position:"absolute",left:"100%",top:"50%",transform:"translateY(-50%)",marginLeft:6,padding:"4px 8px",borderRadius:4,background:"rgba(0,0,0,0.75)",color:"#fff",fontSize:11,whiteSpace:"nowrap",pointerEvents:"none",lineHeight:1.4},children:t})]})}const z1=u.forwardRef(function({position:t="topright",corners:n,defaultCorners:r,imageSource:o,opacity:i=.7,accept:s="image/*",className:l,style:c,onCornersChange:d,onCalibrate:h,onExport:m,onImageLoad:p,onClear:g},f){const{scene:C,mapsService:v,positionClassName:w,getMapContainer:S}=Le(t),b=ve(),A=u.useRef(null),z=Qn({scene:C,mapsService:v,corners:n,defaultCorners:r,imageSource:o,opacity:i,onCornersChange:d,onImageLoad:p}),{state:Z,screenPositions:M,setImage:E,setPhase:D,setOpacity:V,startDrag:R,clear:N,getCorners:I,setCorners:L,exportImage:H}=z;u.useImperativeHandle(f,()=>({getCorners:I,setCorners:L,setImage:E,exportImage:H,clear:ce}));const O=u.useCallback(F=>{var X;const T=(X=F.target.files)==null?void 0:X[0];T&&E(T),F.target.value=""},[E]),q=u.useCallback(()=>{const F=I();F&&(D("confirmed"),h==null||h({corners:F,extent:qn(F)}))},[I,D,h]),[ee,J]=u.useState(!1),[K,ae]=u.useState({outputWidth:0,outputHeight:0,cols:1,rows:1}),[W,te]=u.useState(null),[ne,P]=u.useState(!1),B=u.useCallback(()=>{const F=Z.imageDimensions;ae({outputWidth:(F==null?void 0:F.width)||1024,outputHeight:(F==null?void 0:F.height)||1024,cols:1,rows:1}),te(null),J(!0)},[Z.imageDimensions]),ie=u.useCallback(async()=>{P(!0);try{const F=await H(K);te(F)}catch(F){console.error("Export failed:",F)}P(!1)},[H,K]),Y=u.useCallback(async()=>{if(!W)return;const F=new n5;for(const se of W.tiles)await F.addBlob(`tile_${se.row}_${se.col}.png`,se.blob);const T=W.tiles.map(se=>({file:`tile_${se.row}_${se.col}.png`,row:se.row,col:se.col,width:se.width,height:se.height,extent:se.extent,corners:se.corners})),X=JSON.stringify({extent:W.extent,outputWidth:W.outputWidth,outputHeight:W.outputHeight,tiles:T},null,2);F.addFile("tiles.json",X);const $=F.generate(),re=URL.createObjectURL($),le=document.createElement("a");le.href=re,le.download="calibrated-tiles.zip",le.click(),URL.revokeObjectURL(re),m==null||m(W)},[W,m]),oe=u.useCallback(()=>{W&&(URL.revokeObjectURL(W.previewUrl),W.tiles.forEach(F=>URL.revokeObjectURL(F.previewUrl))),te(null),J(!1)},[W]),ce=u.useCallback(()=>{N(),g==null||g()},[N,g]),j=u.useCallback(()=>{D("calibrating")},[D]),y=u.useCallback(F=>{V(Number(F.target.value))},[V]),k=u.useCallback(()=>{if(!v||Z.phase==="idle")return;const F=v.getBounds();if(!F)return;const[[T,X],[$,re]]=F,le=($-T)*.1,se=(re-X)*.1,de=[[T+le,re-se],[$-le,re-se],[$-le,X+se],[T+le,X+se]];L(de)},[v,Z.phase,L]),[x,G]=u.useState(!1),_=S(),U=Z.phase!=="idle"&&M&&_?Ye.createPortal(a.jsx("div",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:100},children:a.jsx(t5,{screenPositions:M,draggingCorner:Z.draggingCorner,phase:Z.phase,onStartDrag:R})}),_):null,Q=a.jsxs("div",{className:`l7-control l7-control--glass l7-control-image-calibration ${l??""}`,style:{position:"relative",...c},children:[a.jsx(Fe,{icon:"upload",tip:Z.phase==="idle"?"上传图片":"更换图片",onClick:()=>{var F;return(F=A.current)==null?void 0:F.click()}}),a.jsx(Fe,{icon:"fit_screen",tip:"放置到当前位置",onClick:k,disabled:Z.phase==="idle"}),a.jsx(Fe,{icon:Z.phase==="confirmed"?"edit":"check_circle",tip:Z.phase==="confirmed"?"重新校准":"确认校准",onClick:Z.phase==="confirmed"?j:q,disabled:Z.phase==="idle"}),a.jsx(Fe,{icon:"opacity",tip:"透明度",onClick:()=>G(!x),disabled:Z.phase==="idle"}),a.jsx(Fe,{icon:"download",tip:"导出",onClick:B,disabled:Z.phase==="idle"}),a.jsx(Fe,{icon:"delete",tip:"清除",onClick:ce,disabled:Z.phase==="idle"}),x&&Z.phase!=="idle"&&a.jsxs("div",{className:"l7-control--glass",style:{position:"absolute",left:"100%",top:0,marginLeft:6,padding:"8px 10px",borderRadius:6,display:"flex",alignItems:"center",gap:6,fontSize:11,whiteSpace:"nowrap",minWidth:140},children:[a.jsx("input",{type:"range",min:"0",max:"1",step:"0.05",value:Z.opacity,onChange:y,style:{flex:1,height:4}}),a.jsxs("span",{style:{minWidth:28,textAlign:"right"},children:[Math.round(Z.opacity*100),"%"]})]}),a.jsx("input",{ref:A,type:"file",accept:s,onChange:O,style:{display:"none"}}),U,ee&&Ye.createPortal(a.jsx("div",{style:{position:"fixed",inset:0,zIndex:1e4,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.5)"},onClick:oe,children:a.jsxs("div",{style:{background:"#fff",borderRadius:8,padding:20,width:520,maxHeight:"85vh",overflow:"auto",boxShadow:"0 8px 32px rgba(0,0,0,0.25)"},onClick:F=>F.stopPropagation(),children:[a.jsx("div",{style:{fontSize:15,fontWeight:600,marginBottom:16},children:"导出配准图片"}),a.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"8px 16px",marginBottom:12,fontSize:12},children:[a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:6},children:["宽度(px)",a.jsx("input",{type:"number",value:K.outputWidth,min:64,max:8192,onChange:F=>ae(T=>({...T,outputWidth:+F.target.value||1024})),style:{width:72,padding:"2px 6px",border:"1px solid #d1d5db",borderRadius:4}})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:6},children:["高度(px)",a.jsx("input",{type:"number",value:K.outputHeight,min:64,max:8192,onChange:F=>ae(T=>({...T,outputHeight:+F.target.value||1024})),style:{width:72,padding:"2px 6px",border:"1px solid #d1d5db",borderRadius:4}})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:6},children:["切片列数",a.jsx("input",{type:"number",value:K.cols,min:1,max:20,onChange:F=>ae(T=>({...T,cols:Math.max(1,+F.target.value||1)})),style:{width:48,padding:"2px 6px",border:"1px solid #d1d5db",borderRadius:4}})]}),a.jsxs("label",{style:{display:"flex",alignItems:"center",gap:6},children:["切片行数",a.jsx("input",{type:"number",value:K.rows,min:1,max:20,onChange:F=>ae(T=>({...T,rows:Math.max(1,+F.target.value||1)})),style:{width:48,padding:"2px 6px",border:"1px solid #d1d5db",borderRadius:4}})]})]}),a.jsx("button",{onClick:ie,disabled:ne,style:{padding:"6px 16px",fontSize:12,border:"none",borderRadius:4,background:"#2563eb",color:"#fff",cursor:"pointer",marginBottom:12},children:ne?"生成中...":"生成预览"}),W&&a.jsxs(a.Fragment,{children:[a.jsxs("div",{style:{position:"relative",marginBottom:12,border:"1px solid #e5e7eb",borderRadius:4,overflow:"hidden"},children:[a.jsx("img",{src:W.previewUrl,style:{width:"100%",display:"block"}}),(K.cols>1||K.rows>1)&&a.jsxs("svg",{style:{position:"absolute",inset:0,width:"100%",height:"100%",pointerEvents:"none"},children:[Array.from({length:K.cols-1},(F,T)=>a.jsx("line",{x1:`${(T+1)/K.cols*100}%`,y1:"0",x2:`${(T+1)/K.cols*100}%`,y2:"100%",stroke:"#f59e0b",strokeWidth:"1",strokeDasharray:"4 2"},`c${T}`)),Array.from({length:K.rows-1},(F,T)=>a.jsx("line",{x1:"0",y1:`${(T+1)/K.rows*100}%`,x2:"100%",y2:`${(T+1)/K.rows*100}%`,stroke:"#f59e0b",strokeWidth:"1",strokeDasharray:"4 2"},`r${T}`))]})]}),a.jsxs("div",{style:{fontSize:11,color:"#666",fontFamily:"monospace",marginBottom:12,maxHeight:160,overflow:"auto"},children:[a.jsxs("div",{style:{marginBottom:4,fontWeight:600,color:"#333"},children:["总计 ",W.tiles.length," 个切片 | ",W.outputWidth,"×",W.outputHeight,"px"]}),a.jsxs("div",{style:{marginBottom:4},children:["Extent: [",W.extent.map(F=>F.toFixed(5)).join(", "),"]"]}),W.tiles.map(F=>a.jsxs("div",{style:{padding:"2px 0",borderBottom:"1px solid #f3f4f6"},children:["tile_",F.row,"_",F.col,".png (",F.width,"×",F.height,") — [",F.extent.map(T=>T.toFixed(5)).join(", "),"]"]},`${F.row}_${F.col}`))]}),a.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end"},children:[a.jsx("button",{onClick:oe,style:{padding:"6px 16px",fontSize:12,border:"1px solid #d1d5db",borderRadius:4,background:"#fff",cursor:"pointer"},children:"取消"}),a.jsxs("button",{onClick:Y,style:{padding:"6px 16px",fontSize:12,border:"none",borderRadius:4,background:"#2563eb",color:"#fff",cursor:"pointer"},children:["打包下载 ZIP(",W.tiles.length," 张 + 坐标JSON)"]})]})]}),!W&&a.jsx("div",{style:{display:"flex",justifyContent:"flex-end"},children:a.jsx("button",{onClick:oe,style:{padding:"6px 16px",fontSize:12,border:"1px solid #d1d5db",borderRadius:4,background:"#fff",cursor:"pointer"},children:"取消"})})]})}),document.body)]});return!C||!v?null:b?Q:a.jsx("div",{className:`l7-control-anchor ${w}`,children:Q})});me.mark(z1);function $t({controls:e,layers:t,onLayerToggle:n,containerRef:r}){const o=he();return a.jsx(y1,{children:e.map((i,s)=>a.jsx(o5,{control:i,layers:t,onLayerToggle:n,scene:o,containerRef:r},`${i.type}-${s}`))})}function o5({control:e,layers:t,onLayerToggle:n,scene:r,containerRef:o}){var s,l,c,d,h,m,p,g,f;const i=e.position??void 0;switch(e.type){case"zoom":return a.jsx(C1,{position:i??"bottomright"});case"scale":return a.jsx(x1,{position:i??"bottomleft",maxWidth:(s=e.options)==null?void 0:s.maxWidth,metric:((l=e.options)==null?void 0:l.unit)!=="imperial",imperial:((c=e.options)==null?void 0:c.unit)==="imperial"});case"fullscreen":return a.jsx(v1,{position:i??"topright",container:o==null?void 0:o.current});case"geoLocate":return a.jsx(L1,{position:i??"topright"});case"mapTheme":return a.jsx(b1,{position:i??"topright"});case"mouseLocation":return a.jsx(M1,{position:i??"bottomleft",precision:(d=e.options)==null?void 0:d.precision});case"exportImage":return a.jsx(w1,{position:i??"topright",format:(h=e.options)==null?void 0:h.format});case"layerSwitch":return a.jsx(H1,{position:i??"topright",layers:t.map((C,v)=>({id:C.id??`layer-${v}`,name:C.name,visible:C.visible})),onToggle:n??(()=>{})});case"draw":return a.jsx(S1,{position:i??"topright",modes:(m=e.options)==null?void 0:m.modes,showDelete:(p=e.options)==null?void 0:p.showDelete});case"imageCalibration":return a.jsx(z1,{position:i??"topright",opacity:(g=e.options)==null?void 0:g.opacity,imageSource:(f=e.options)==null?void 0:f.imageSource});default:return null}}const ze={aerialway:"M13,5H8V2.6c0.1854-0.1047,0.3325-0.2659,0.42-0.46L13.5,1.5C13.7761,1.5,14,1.2761,14,1s-0.2239-0.5-0.5-0.5L8.28,1.15 C8.0954,0.9037,7.8077,0.7562,7.5,0.75C7.0963,0.752,6.7334,0.9966,6.58,1.37L1.5,2C1.2239,2,1,2.2239,1,2.5S1.2239,3,1.5,3 l5.22-0.65C6.7967,2.4503,6.8917,2.5351,7,2.6V5H2C1.4477,5,1,5.4477,1,6v7c0,0.5523,0.4477,1,1,1h11c0.5523,0,1-0.4477,1-1V6 C14,5.4477,13.5523,5,13,5z M7,11H3V7h4V11z M12,11H8V7h4V11z",airfield:"M6.8182,0.6818H4.7727 C4.0909,0.6818,4.0909,0,4.7727,0h5.4545c0.6818,0,0.6818,0.6818,0,0.6818H8.1818c0,0,0.8182,0.5909,0.8182,1.9545V4h6v2L9,8l-0.5,5 l2.5,1.3182V15H4v-0.6818L6.5,13L6,8L0,6V4h6V2.6364C6,1.2727,6.8182,0.6818,6.8182,0.6818z",airport:"M15,6.8182L15,8.5l-6.5-1 l-0.3182,4.7727L11,14v1l-3.5-0.6818L4,15v-1l2.8182-1.7273L6.5,7.5L0,8.5V6.8182L6.5,4.5v-3c0,0,0-1.5,1-1.5s1,1.5,1,1.5v2.8182 L15,6.8182z","alcohol-shop":"M14,4h-4v3.44l0,0c0,0,0,0,0,0.06c0.003,0.9096,0.6193,1.7026,1.5,1.93V13H11c-0.2761,0-0.5,0.2239-0.5,0.5 S10.7239,14,11,14h2c0.2761,0,0.5-0.2239,0.5-0.5S13.2761,13,13,13h-0.5V9.43c0.8807-0.2274,1.497-1.0204,1.5-1.93c0,0,0,0,0-0.06 l0,0V4z M13,7.5c0,0.5523-0.4477,1-1,1s-1-0.4477-1-1V5h2V7.5z M5.5,2.5V2C5.7761,2,6,1.7761,6,1.5S5.7761,1,5.5,1V0.5 C5.5,0.2239,5.2761,0,5,0H4C3.7239,0,3.5,0.2239,3.5,0.5V1C3.2239,1,3,1.2239,3,1.5S3.2239,2,3.5,2v0.5C3.5,3.93,1,5.57,1,7v6 c0,0.5523,0.4477,1,1,1h5c0.5318-0.0465,0.9535-0.4682,1-1V7C8,5.65,5.5,3.85,5.5,2.5z M4.5,12C3.1193,12,2,10.8807,2,9.5 S3.1193,7,4.5,7S7,8.1193,7,9.5S5.8807,12,4.5,12z","american-football":"M7.53,3C3.09,3,1,7.5,1,7.5S3.09,12,7.53,12S14,7.5,14,7.5S12,3,7.53,3z M11,7v1.5C11,8.7761,10.7761,9,10.5,9 S10,8.7761,10,8.5V8H8v0.5C8,8.7761,7.7761,9,7.5,9S7,8.7761,7,8.5V8H5v0.5C5,8.7761,4.7761,9,4.5,9S4,8.7761,4,8.5v-2 C4,6.2239,4.2239,6,4.5,6S5,6.2239,5,6.5V7h2V6.5C7,6.2239,7.2239,6,7.5,6S8,6.2239,8,6.5V7h2V6.5C10,6.2239,10.2239,6,10.5,6 S11,6.2239,11,6.5V7z","amusement-park":"M13.5 7C13.5 9.02798 12.4939 10.821 10.9535 11.907L12 13.9999H3L4.04645 11.907C2.50613 10.821 1.5 9.02798 1.5 7C1.5 3.68629 4.18629 1 7.5 1C10.8137 1 13.5 3.68629 13.5 7ZM12.2984 7.125H8.99487C8.96844 7.4453 8.84138 7.73706 8.64538 7.96861L10.9814 10.3046C11.7719 9.47202 12.2669 8.35614 12.2984 7.125ZM10.8046 10.4814L8.46861 8.14538C8.33136 8.26156 8.17296 8.35351 8 8.41465V11.7743C9.08206 11.6623 10.0574 11.1908 10.8046 10.4814ZM6.00513 7.125H2.7016C2.73307 8.35614 3.2281 9.47202 4.01864 10.3046L6.35462 7.96861C6.15862 7.73706 6.03156 7.4453 6.00513 7.125ZM4.19542 10.4814C4.94259 11.1908 5.91794 11.6623 7 11.7743V8.41465C6.82704 8.35351 6.66864 8.26156 6.53139 8.14538L4.19542 10.4814ZM12.2984 6.875C12.2669 5.64386 11.7719 4.52798 10.9814 3.69542L8.64538 6.03139C8.84138 6.26294 8.96844 6.5547 8.99487 6.875H12.2984ZM10.8046 3.51864C9.97202 2.7281 8.85614 2.23307 7.625 2.2016V5.50513C7.9453 5.53156 8.23706 5.65862 8.46861 5.85462L10.8046 3.51864ZM7.375 5.50513V2.2016C6.14386 2.23307 5.02798 2.7281 4.19542 3.51864L6.53139 5.85462C6.76294 5.65862 7.0547 5.53156 7.375 5.50513ZM6.35462 6.03139L4.01864 3.69542C3.2281 4.52798 2.73307 5.64386 2.7016 6.875H6.00513C6.03156 6.5547 6.15862 6.26294 6.35462 6.03139Z","animal-shelter":"M 7.528,0.895 9,2 h 1 L 11.473,0.896 C 11.689502,0.73373378 12,0.8884387 12,1.159 V 4.5 c 0,0.722 -0.522,1.184 -1,1.573 V 10 l 0.8,2.4 0.706,0.353 c 0.302922,0.151551 0.494181,0.461283 0.494,0.8 C 13,13.8 12.8,14 12.553,14 H 4.25 C 3.017,14 2,13 2,11.713 2,9.5424588 2.4530836,7.9300225 2.745,6.845 2.8910836,6.3020225 3.0352907,5.8946079 3.138,5.614 3.1956028,5.4566256 3.253276,5.3110749 3.33,5.165 3.7788405,4.3104525 5.0743666,4.9556117 4.672,5.833 4.6232251,5.9393571 4.5778358,6.0512046 4.539,6.15 4.4477518,6.3821288 4.325004,6.7430011 4.193,7.234 3.947004,8.1490011 3.674,9.521 3.558,11.367 3.926,9.307 5.98,7.239 7.635,5.758 7.29,5.432 7.001,5.038 7.001,4.5 l 0,-3.342 c 0,-0.2705613 0.3106215,-0.42543084 0.527,-0.263 z",aquarium:"M1.13505 8.57743C1.98919 6.14741 4.72075 2 10 2C12.6518 2 14 3 14 3C14 3 11.6865 3 10.6203 3.44512C10.54 3.47864 10.4747 3.53744 10.4329 3.61375C10.2432 3.95995 9.75252 5.04744 10.3231 6.19506C10.4172 6.38427 10.6364 6.46548 10.8383 6.40312C11.3474 6.24589 12.3301 5.89727 13.0761 5.35729C13.2973 5.1972 13.615 5.25773 13.6797 5.52298C13.9401 6.59045 13.9401 8.40955 13.6797 9.47702C13.615 9.74227 13.2973 9.8028 13.0761 9.64271C12.3301 9.10273 11.3474 8.75411 10.8383 8.59688C10.6364 8.53452 10.4172 8.61573 10.3231 8.80494C9.75252 9.95256 10.2432 11.04 10.4329 11.3863C10.4747 11.4626 10.54 11.5214 10.6203 11.5549C11.6865 12 14 12 14 12C13.5 12.3333 11.8 13 9.00001 13C4.51722 13 2.02736 10.3427 1.25972 9.35985C1.08546 9.13673 1.04117 8.84452 1.13505 8.57743ZM5.00001 9C5.69037 9 6.25001 8.44036 6.25001 7.75C6.25001 7.05964 5.69037 6.5 5.00001 6.5C4.30966 6.5 3.75001 7.05964 3.75001 7.75C3.75001 8.44036 4.30966 9 5.00001 9Z",arrow:"M8.29289 2.29289C8.68342 1.90237 9.31658 1.90237 9.70711 2.29289L14.2071 6.79289C14.5976 7.18342 14.5976 7.81658 14.2071 8.20711L9.70711 12.7071C9.31658 13.0976 8.68342 13.0976 8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L11 8.5H1.5C0.947715 8.5 0.5 8.05228 0.5 7.5C0.5 6.94772 0.947715 6.5 1.5 6.5H11L8.29289 3.70711C7.90237 3.31658 7.90237 2.68342 8.29289 2.29289Z","art-gallery":"m10.71 3-2.86-2.849996c-.1945-.1960996-.511-.1973996-.7071-.0029-.001.001-.0019.0019-.0029.0029l-2.85 2.849996h-2.79c-.2761 0-.5.2239-.5.5v9c0 .2761.2239.5.5.5h12c.2761 0 .5-.2239.5-.5v-9c0-.2761-.2239-.5-.5-.5zm-3.21-1.79 1.79 1.79h-3.58zm5.5 10.79h-11v-8h11zm-8-5c-.5523 0-1-.4477-1-1s.4477-1 1-1 1 .4477 1 1-.4477 1-1 1zm7 4h-7.5l1.5-3 1.25 2.5 2.25-4.5z",attraction:"M6,2C5.446,2,5.2478,2.5045,5,3L4.5,4h-2C1.669,4,1,4.669,1,5.5v5C1,11.331,1.669,12,2.5,12h10 c0.831,0,1.5-0.669,1.5-1.5v-5C14,4.669,13.331,4,12.5,4h-2L10,3C9.75,2.5,9.554,2,9,2H6z M2.5,5C2.7761,5,3,5.2239,3,5.5 S2.7761,6,2.5,6S2,5.7761,2,5.5S2.2239,5,2.5,5z M7.5,5c1.6569,0,3,1.3431,3,3s-1.3431,3-3,3s-3-1.3431-3-3S5.8431,5,7.5,5z M7.5,6.5C6.6716,6.5,6,7.1716,6,8l0,0c0,0.8284,0.6716,1.5,1.5,1.5l0,0C8.3284,9.5,9,8.8284,9,8l0,0C9,7.1716,8.3284,6.5,7.5,6.5 L7.5,6.5z",bakery:"M5.294,4.382,6,9.5a.979.979,0,0,0,1,1H8a.979.979,0,0,0,1-1l.706-5.118C9.706,3,7.5,3,7.5,3S5.291,3,5.294,4.382ZM3.5,5C2,5,2,6,2,6l1,4H4.5a.793.793,0,0,0,.794-.765L4.5,5Zm-2,2.5a1.533,1.533,0,0,0-1.059.412A1.366,1.366,0,0,0,0,8.794V11H.882A1.02,1.02,0,0,0,2,10ZM11.5,5C13,5,13,6,13,6l-1,4H10.5a.793.793,0,0,1-.794-.765L10.5,5Zm2,2.5a1.533,1.533,0,0,1,1.059.412A1.366,1.366,0,0,1,15,8.794V11h-.882A1.02,1.02,0,0,1,13,10Z",bank:"M1,3C0.446,3,0,3.446,0,4v7c0,0.554,0.446,1,1,1h13c0.554,0,1-0.446,1-1V4c0-0.554-0.446-1-1-1H1z M1,4h1.5 C2.7761,4,3,4.2239,3,4.5S2.7761,5,2.5,5S2,4.7761,2,4.5L1.5,5C1.7761,5,2,5.2239,2,5.5S1.7761,6,1.5,6S1,5.7761,1,5.5V4z M7.5,4 C8.8807,4,10,5.567,10,7.5l0,0C10,9.433,8.8807,11,7.5,11S5,9.433,5,7.5S6.1193,4,7.5,4z M12.5,4H14v1.5C14,5.7761,13.7761,6,13.5,6 S13,5.7761,13,5.5S13.2239,5,13.5,5L13,4.5C13,4.7761,12.7761,5,12.5,5S12,4.7761,12,4.5S12.2239,4,12.5,4z M7.5,5.5 c-0.323,0-0.5336,0.1088-0.6816,0.25h1.3633C8.0336,5.6088,7.823,5.5,7.5,5.5z M6.625,6C6.5795,6.091,6.5633,6.1711,6.5449,6.25 h1.9102C8.4367,6.1711,8.4205,6.091,8.375,6H6.625z M6.5,6.5v0.25h2V6.5H6.5z M6.5,7v0.25h2V7H6.5z M6.5,7.5v0.25h2V7.5H6.5z M6.5,8 L6.25,8.25h2L8.5,8H6.5z M6,8.5c0,0,0.0353,0.1024,0.1016,0.25H8.375L8,8.5H6z M1.5,9C1.7761,9,2,9.2239,2,9.5S1.7761,10,1.5,10 L2,10.5C2,10.2239,2.2239,10,2.5,10S3,10.2239,3,10.5S2.7761,11,2.5,11H1V9.5C1,9.2239,1.2239,9,1.5,9z M6.2383,9 C6.2842,9.0856,6.3144,9.159,6.375,9.25h2.2676C8.7092,9.1121,8.75,9,8.75,9H6.2383z M13.5,9C13.7761,9,14,9.2239,14,9.5V11h-1.5 c-0.2761,0-0.5-0.2239-0.5-0.5s0.2239-0.5,0.5-0.5s0.5,0.2239,0.5,0.5l0.5-0.5C13.2239,10,13,9.7761,13,9.5S13.2239,9,13.5,9z M6.5664,9.5c0.0786,0.0912,0.1647,0.1763,0.2598,0.25h1.4199C8.3462,9.6727,8.4338,9.5883,8.5,9.5H6.5664z","bank-JP":"M12.2808,3.3763l-2.9,3.625H11.25a.75.75,0,0,1,0,1.5H8.5v1h2.75a.75.75,0,0,1,0,1.5H8.5v1.25a1,1,0,0,1-2,0v-1.25H3.75a.75.75,0,1,1,0-1.5H6.5v-1H3.75a.75.75,0,0,1,0-1.5H5.6193l-2.9-3.625A1,1,0,0,1,4.2771,2.1216l.0037.0047L7.5,6.15l3.2192-4.024a1,1,0,0,1,1.5653,1.2453Z",bar:"M7.5,1c-2,0-7,0.25-6.5,0.75L7,8v4 c0,1-3,0.5-3,2h7c0-1.5-3-1-3-2V8l6-6.25C14.5,1.25,9.5,1,7.5,1z M7.5,2c2.5,0,4.75,0.25,4.75,0.25L11.5,3h-8L2.75,2.25 C2.75,2.25,5,2,7.5,2z",barrier:"m13 2h-11c-.26522 0-.51957.10536-.70711.29289-.18753.18754-.29289.44189-.29289.70711v6c0 .26522.10536.51957.29289.70711.18754.18753.44189.29289.70711.29289h1v2.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-.5h7v.5c0 .1326.0527.2598.1464.3536.0938.0937.221.1464.3536.1464s.2598-.0527.3536-.1464c.0937-.0938.1464-.221.1464-.3536v-2.5h1c.2652 0 .5196-.10536.7071-.29289.1875-.18754.2929-.44189.2929-.70711v-6c0-.26522-.1054-.51957-.2929-.70711-.1875-.18753-.4419-.29289-.7071-.29289zm0 1v2l-2-2zm-3.5 0 3.5 3.5v2.5l-6-6zm-4 6-3.5-3.5v-2.5l6 6zm-3.5 0v-2l2 2zm9 2h-7v-1h7zm-.207-2h-1.293l-6-6h2l6 6z",baseball:"m9.00003 3.5c0 .8284-.6716 1.5-1.5 1.5s-1.5-.6716-1.5-1.5.6716-1.5 1.5-1.5 1.5.6716 1.5 1.5zm-3-3.22c0-.1546-.1254-.28-.28-.28-.0979.0262-.1852.0821-.25.16l-2.47 4.43c-.0059.0431-.0059.0869 0 .13 0 .1546.1254.28.28.28.1015-.0243.1926-.0803.26-.16l2.46-4.43c.006-.0431.006-.0869 0-.13zm5.89997 13.92-2.89997-7.81c-.0474-.2273-.2478-.3901-.48-.39h-5c-.2761 0-.5.2239-.5.5s.2239.5.5.5h2.48l1.45 2.51-4.27 4.61c-.1141.0932-.1802.2327-.18.38 0 .2761.2239.5.5.5.1224-.0006.2401-.047.33-.13l4.45-4.15 2.75997 4c.0895.1592.2574.2584.44.26.2796.0002.5092-.2207.52-.5-.0042-.1013-.039-.199-.1-.28z",basketball:"M3.66001 7H2.03C2.11012 6.02077 2.45969 5.05281 3.04001 4.26C3.39039 5.12432 3.59972 6.0693 3.66001 7ZM4.73501 7H7V2C5.78985 2.1061 4.72468 2.61284 3.83501 3.44C4.36491 4.54578 4.67079 5.77549 4.73501 7ZM8 2V7H10.265C10.3292 5.77549 10.6351 4.54578 11.165 3.44C10.2753 2.61284 9.21014 2.1061 8 2ZM11.96 4.26C11.6096 5.12432 11.4003 6.0693 11.34 7H12.97C12.8899 6.02077 12.5403 5.05281 11.96 4.26ZM14 8.49919C14 8.77489 13.7765 8.99838 13.5008 8.99838H11.72L10.96 10.5184V12.8984C10.9578 12.9736 10.934 13.0466 10.8915 13.1087C10.8489 13.1707 10.7894 13.2192 10.72 13.2484C10.6743 13.2607 10.6273 13.2674 10.58 13.2684C10.5312 13.2706 10.4825 13.2619 10.4375 13.2428C10.3925 13.2238 10.3524 13.195 10.32 13.1584L9.3 12.1484L7.71 13.2084C7.64698 13.2476 7.57423 13.2684 7.5 13.2684C7.42577 13.2684 7.35303 13.2476 7.29 13.2084L5.7 12.1484L4.68 13.1584C4.62956 13.211 4.56471 13.2477 4.49357 13.2637C4.42243 13.2797 4.34814 13.2744 4.28 13.2484C4.21063 13.2192 4.1511 13.1707 4.10854 13.1087C4.06599 13.0466 4.04219 12.9736 4.04 12.8984V10.5184L3.28 8.99838H1.49919C1.2235 8.99838 1 8.77489 1 8.4992C0.999998 8.2235 1.22349 8 1.49919 8H13.5008C13.7765 8 14 8.2235 14 8.49919ZM6.86 8.99838H4.12L4.75 10.2684C4.7772 10.3173 4.791 10.3725 4.79 10.4284V11.9884L5.35 11.4384L6.86 8.99838ZM8.84 11.5484L7.5 9.38838L6.16 11.5484L7.5 12.4484L8.84 11.5484ZM10.89 8.99838H8.14L9.65 11.4384L10.21 11.9884V10.4284C10.209 10.3725 10.2228 10.3173 10.25 10.2684L10.89 8.99838Z",bbq:"M9.32,7.655C10.8782,7.108,11.9471,5.6506,12,4H3c0.053,1.6299,1.0978,3.0728,2.63,3.631L4.923,9.044 c-1.3571-0.2355-2.6482,0.6737-2.8837,2.0308s0.6737,2.6482,2.0308,2.8837C4.9927,14.1187,5.9273,13.7485,6.49,13h4.223l0.335,0.717 c0.0836,0.1735,0.2594,0.2836,0.452,0.283c0.0733,0.0003,0.1457-0.0158,0.212-0.047c0.2497-0.117,0.3575-0.4141,0.241-0.664 L9.32,7.655z M4.5,12.75c-0.6904,0-1.25-0.5596-1.25-1.25s0.5596-1.25,1.25-1.25s1.25,0.5596,1.25,1.25 C5.7484,12.1897,5.1897,12.7484,4.5,12.75z M6.95,12c0.2066-1.007-0.2268-2.0374-1.091-2.594L6.6,7.923 c0.577,0.1042,1.168,0.1042,1.745,0l1.9,4.07L6.95,12z M4.75,1C4.6119,1,4.5,1.1119,4.5,1.25c0,0.5-0.5,0.5-0.5,0.5c-1,0-1,1-1,1 C3,2.8881,3.1119,3,3.25,3S3.5,2.8881,3.5,2.75c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C5,1.1119,4.8881,1,4.75,1z M6.75,1 C6.6119,1,6.5,1.1119,6.5,1.25c0,0.5-0.5,0.5-0.5,0.5c-1,0-1,1-1,1C5,2.8881,5.1119,3,5.25,3S5.5,2.8881,5.5,2.75 c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C7,1.1119,6.8881,1,6.75,1z M8.75,1C8.6119,1,8.5,1.1119,8.5,1.25c0,0.5-0.5,0.5-0.5,0.5 c-1,0-1,1-1,1C7,2.8881,7.1119,3,7.25,3S7.5,2.8881,7.5,2.75c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C9,1.1119,8.8881,1,8.75,1z M10.75,1 c-0.1381,0-0.25,0.1119-0.25,0.25c0,0.5-0.5,0.5-0.5,0.5c-1,0-1,1-1,1C9,2.8881,9.1119,3,9.25,3S9.5,2.8881,9.5,2.75 c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C11,1.1119,10.8881,1,10.75,1z M12.75,1c-0.1381,0-0.25,0.1119-0.25,0.25c0,0.5-0.5,0.5-0.5,0.5 c-1,0-1,1-1,1C11,2.8881,11.1119,3,11.25,3s0.25-0.1119,0.25-0.25c0-0.5,0.5-0.5,0.5-0.5c1,0,1-1,1-1C13,1.1119,12.8881,1,12.75,1z",beach:"M5.3608,1.67l-.01,4.02a4.4523,4.4523,0,0,0-1.1-.11c-.37.1-.74.63-1.1.76A4.2019,4.2019,0,0,1,5.3608,1.67Zm2.41-.64,2.03,3.45a3.1832,3.1832,0,0,1,.84-.61c.36-.1.94.17,1.34.11A4.2018,4.2018,0,0,0,7.7708,1.03ZM1.0008,13h13c-.66-.66-2.64-1.11-4.34-1.33l-1.87-7c.52-.05,1.15.03,1.53,0l-2.11-3.6h-.01a6.1743,6.1743,0,0,0-.7.14,4.3792,4.3792,0,0,0-.64.22l-.01,4.15c.35-.17.84-.54,1.3-.74l1.8,6.74c-.58-.05-1.09-.08-1.45-.08C6.0308,11.5,2.0008,12,1.0008,13Z",beer:"M12,5V2c0,0-1-1-4.5-1S3,2,3,2v3c0.0288,1.3915,0.3706,2.7586,1,4c0.6255,1.4348,0.6255,3.0652,0,4.5c0,0,0,1,3.5,1 s3.5-1,3.5-1c-0.6255-1.4348-0.6255-3.0652,0-4.5C11.6294,7.7586,11.9712,6.3915,12,5z M7.5,13.5 c-0.7966,0.035-1.5937-0.0596-2.36-0.28c0.203-0.7224,0.304-1.4696,0.3-2.22h4.12c-0.004,0.7504,0.097,1.4976,0.3,2.22 C9.0937,13.4404,8.2966,13.535,7.5,13.5z M7.5,5C6.3136,5.0299,5.1306,4.8609,4,4.5v-2C5.131,2.1411,6.3137,1.9722,7.5,2 C8.6863,1.9722,9.869,2.1411,11,2.5v2C9.8694,4.8609,8.6864,5.0299,7.5,5z",bicycle:"M7.5,2c-0.6761-0.01-0.6761,1.0096,0,1H9v1.2656l-2.8027,2.334L5.2226,4H5.5c0.6761,0.01,0.6761-1.0096,0-1h-2 c-0.6761-0.01-0.6761,1.0096,0,1h0.6523L5.043,6.375C4.5752,6.1424,4.0559,6,3.5,6C1.5729,6,0,7.5729,0,9.5S1.5729,13,3.5,13 S7,11.4271,7,9.5c0-0.6699-0.2003-1.2911-0.5293-1.8242L9.291,5.3262l0.4629,1.1602C8.7114,7.0937,8,8.2112,8,9.5 c0,1.9271,1.5729,3.5,3.5,3.5S15,11.4271,15,9.5S13.4271,6,11.5,6c-0.2831,0-0.5544,0.0434-0.8184,0.1074L10,4.4023V2.5 c0-0.2761-0.2239-0.5-0.5-0.5H7.5z M3.5,7c0.5923,0,1.1276,0.2119,1.5547,0.5527l-1.875,1.5625 c-0.5109,0.4273,0.1278,1.1945,0.6406,0.7695l1.875-1.5625C5.8835,8.674,6,9.0711,6,9.5C6,10.8866,4.8866,12,3.5,12S1,10.8866,1,9.5 S2.1133,7,3.5,7L3.5,7z M11.5,7C12.8866,7,14,8.1134,14,9.5S12.8866,12,11.5,12S9,10.8866,9,9.5c0-0.877,0.4468-1.6421,1.125-2.0879 l0.9102,2.2734c0.246,0.6231,1.1804,0.2501,0.9297-0.3711l-0.9082-2.2695C11.2009,7.0193,11.3481,7,11.5,7L11.5,7z","bicycle-share":"M10,1C9.4477,1,9,1.4477,9,2c0,0.5523,0.4477,1,1,1s1-0.4477,1-1C11,1.4477,10.5523,1,10,1z M8.1445,2.9941 c-0.13,0.0005-0.2547,0.0517-0.3477,0.1426l-2.6406,2.5c-0.2256,0.2128-0.2051,0.5775,0.043,0.7637L7,7.75v2.75 c-0.01,0.6762,1.0096,0.6762,1,0v-3c0.0003-0.1574-0.0735-0.3057-0.1992-0.4004L7.0332,6.5234l1.818-1.7212l0.7484,0.9985 C9.6943,5.9265,9.8426,6.0003,10,6h1.5c0.6761,0.01,0.6761-1.0096,0-1h-1.25L9.5,4L8.9004,3.1992 C8.8103,3.0756,8.6685,3,8.5156,2.9941H8.1445z M3,7c-1.6569,0-3,1.3432-3,3s1.3431,3,3,3s3-1.3432,3-3S4.6569,7,3,7z M12,7 c-1.6569,0-3,1.3432-3,3s1.3431,3,3,3s3-1.3432,3-3S13.6569,7,12,7z M3,8c1.1046,0,2,0.8954,2,2s-0.8954,2-2,2s-2-0.8954-2-2 S1.8954,8,3,8z M12,8c1.1046,0,2,0.8954,2,2s-0.8954,2-2,2s-2-0.8954-2-2S10.8954,8,12,8z","blood-bank":"m11.2 6.1-3.7-5.1-3.7 5.1c-.5.7-.8 1.6-.8 2.5 0 2.4 2 4.4 4.5 4.4s4.5-2 4.5-4.4c0-.9-.3-1.8-.8-2.5zm-1.2 2.9h-2v2h-1v-2h-2v-1h2v-2h1v2h2z","bowling-alley":"M10.922 3.166c0 1.006-.335 1.857-.693 2.77-.414 1.052-.86 2.185-.86 3.73 0 2.166.687 4.333 1.409 4.333h1.444c.723 0 1.409-2.166 1.409-4.333 0-1.545-.446-2.678-.86-3.73-.358-.912-.693-1.764-.693-2.77 0-.722.144-.723.144-1.445A.743.743 0 0 0 11.5.999a.743.743 0 0 0-.722.722c0 .723.144.723.144 1.445Zm-2.552 6.5c0-1.234.254-2.236.55-3.091a4.5 4.5 0 1 0-.17 6.038c-.237-.865-.38-1.91-.38-2.947ZM5.24 7.12a.62.62 0 1 1-1.24 0 .62.62 0 0 1 1.24 0Zm-1 2a.62.62 0 1 1-1.24 0 .62.62 0 0 1 1.24 0Zm2 0a.62.62 0 1 1-1.24 0 .62.62 0 0 1 1.24 0Z",bridge:"m0 6.84201v4.15799h2v-1c.036-1.08899.911-1.96399 2-1.99999 1.089.036 1.964.911 2 1.99999v1h3v-1c.036-1.08899.911-1.96399 2-1.99999 1.089.036 1.964.911 2 1.99999v1h2v-4.15799c-4.4-5.76-11.929-4.442-15 0zm9.5-3.108c.514.121 1.016.289 1.5.5v2.766h-1.5zm-.5-.1v3.366h-1.5v-3.494c.503 0 1.005.043 1.5.128zm-5.5.843c.48-.248.982-.451 1.5-.606v3.129h-1.5zm2 2.523v-3.27c.493-.115.995-.187 1.5-.215v3.485zm-2.5-2.256v2.256h-2.5c.676-.906 1.532-1.672 2.5-2.256zm8.5 2.256v-2.5l-.053-.053c1.202.603 2.247 1.477 3.053 2.553z",building:"M3,2v11h5v-3h3v3h1V2H3z M7,12H4v-2h3V12z M7,9H4V7h3V9z M7,6H4V4h3V6z M11,9H8V7h3V9z M11,6H8V4h3V6z","building-alt1":"M11,13.5v-9C11,4.2,10.8,4,10.5,4H9V1L5,2.1v11.4H2V14h11v-0.5H11z M7,13.5V3h1v10.5H7z",bus:"M2 3C2 1.9 2.9 1 4 1H11C12.1 1 13 1.9 13 3V11C13 12 12 12 12 12V13C12 13.55 11.55 14 11 14C10.45 14 10 13.55 10 13V12H5V13C5 13.55 4.55 14 4 14C3.45 14 3 13.55 3 13V12C2 12 2 11 2 11V3ZM3.5 4C3.22 4 3 4.22 3 4.5V7.5C3 7.78 3.22 8 3.5 8H11.5C11.78 8 12 7.78 12 7.5V4.5C12 4.22 11.78 4 11.5 4H3.5ZM4 9C3.45 9 3 9.45 3 10C3 10.55 3.45 11 4 11C4.55 11 5 10.55 5 10C5 9.45 4.55 9 4 9ZM11 9C10.45 9 10 9.45 10 10C10 10.55 10.45 11 11 11C11.55 11 12 10.55 12 10C12 9.45 11.55 9 11 9ZM4 2.5C4 2.78 4.22 3 4.5 3H10.5C10.78 3 11 2.78 11 2.5C11 2.22 10.78 2 10.5 2H4.5C4.22 2 4 2.22 4 2.5Z",cafe:"M12,5h-2V3H2v4c0.0133,2.2091,1.8149,3.9891,4.024,3.9758C7.4345,10.9673,8.7362,10.2166,9.45,9H12c1.1046,0,2-0.8954,2-2 S13.1046,5,12,5z M12,8H9.86C9.9487,7.6739,9.9958,7.3379,10,7V6h2c0.5523,0,1,0.4477,1,1S12.5523,8,12,8z M10,12.5 c0,0.2761-0.2239,0.5-0.5,0.5h-7C2.2239,13,2,12.7761,2,12.5S2.2239,12,2.5,12h7C9.7761,12,10,12.2239,10,12.5z",campsite:"M14 10V11C14 11.5523 13.5523 12 13 12H2C1.44772 12 1 11.5523 1 11V10C1 9.44772 1.44772 9.00001 2 9.00001H2.25L7.03206 1.25762C7.24699 0.90965 7.75302 0.909651 7.96794 1.25762L12.75 9.00001H13C13.5523 9.00001 14 9.44772 14 10ZM10.5 9.00001L7.5 4.00001L4.5 9.00001H10.5Z",car:"M13.84,6.852,12.6,5.7,11.5,3.5a1.05,1.05,0,0,0-.9-.5H4.4a1.05,1.05,0,0,0-.9.5L2.4,5.7,1.16,6.852A.5.5,0,0,0,1,7.219V11.5a.5.5,0,0,0,.5.5h2c.2,0,.5-.2.5-.4V11h7v.5c0,.2.2.5.4.5h2.1a.5.5,0,0,0,.5-.5V7.219A.5.5,0,0,0,13.84,6.852ZM4.5,4h6l1,2h-8ZM5,8.6c0,.2-.3.4-.5.4H2.4C2.2,9,2,8.7,2,8.5V7.4c.1-.3.3-.5.6-.4l2,.4c.2,0,.4.3.4.5Zm8-.1c0,.2-.2.5-.4.5H10.5c-.2,0-.5-.2-.5-.4V7.9c0-.2.2-.5.4-.5l2-.4c.3-.1.5.1.6.4Z","car-rental":"M10.5 1C9.94772 1 9.5 1.44772 9.5 2H2V3L3 4 4 3 5 4 6 3 7 4H9.5C9.5 4.55228 9.94772 5 10.5 5H12.5C12.7761 5 13 4.77614 13 4.5V1.5C13 1.22386 12.7761 1 12.5 1H10.5ZM11 2.5C11 2.22386 11.2239 2 11.5 2 11.7761 2 12 2.22386 12 2.5V3.5C12 3.77614 11.7761 4 11.5 4 11.2239 4 11 3.77614 11 3.5V2.5ZM2.14645 9.35355C2.05268 9.44732 2 9.5745 2 9.70711V13.5C2 13.7761 2.22386 14 2.5 14H4C4.27614 14 4.5 13.7761 4.5 13.5V13H10.5V13.5C10.5 13.7761 10.7239 14 11 14H12.5C12.7761 14 13 13.7761 13 13.5V9.70711C13 9.5745 12.9473 9.44732 12.8536 9.35355L12 8.5 10.6457 6.24275C10.5553 6.09215 10.3925 6 10.2169 6H4.7831C4.60746 6 4.44471 6.09215 4.35435 6.24275L3 8.5 2.14645 9.35355ZM11.1338 9H3.86623L5.06619 7H9.93381L11.1338 9ZM5.5 10.8279V11.2C5.5 11.3657 5.36569 11.5 5.2 11.5H3.3C3.13431 11.5 3 11.3657 3 11.2V10.3659C3 10.1766 3.1732 10.0346 3.35884 10.0718L5.17845 10.4357C5.36542 10.4731 5.5 10.6372 5.5 10.8279ZM12 10.4879V11.2C12 11.3657 11.8657 11.5 11.7 11.5H9.8C9.63431 11.5 9.5 11.3657 9.5 11.2V10.7459C9.5 10.6029 9.60094 10.4798 9.74117 10.4518L11.5216 10.0957C11.7691 10.0462 12 10.2355 12 10.4879Z","car-repair":"M3 5C3.74028 5 4.38662 4.5978 4.73243 4H12C12.5523 4 13 3.55228 13 3 13 2.44772 12.5523 2 12 2H4.73243C4.38662 1.4022 3.74028 1 3 1 2.25972 1 1.61337 1.4022 1.26756 2H3V4H1.26756C1.61337 4.5978 2.25972 5 3 5ZM2.14645 9.35355C2.05268 9.44732 2 9.5745 2 9.70711V13.5C2 13.7761 2.22386 14 2.5 14H4C4.27614 14 4.5 13.7761 4.5 13.5V13H10.5V13.5C10.5 13.7761 10.7239 14 11 14H12.5C12.7761 14 13 13.7761 13 13.5V9.70711C13 9.5745 12.9473 9.44732 12.8536 9.35355L12 8.5 10.6456 6.24275C10.5553 6.09215 10.3925 6 10.2169 6H4.78309C4.60746 6 4.44471 6.09215 4.35435 6.24275L3 8.5 2.14645 9.35355ZM11.1338 9H3.86622L5.06619 7H9.93381L11.1338 9ZM5.5 10.8279V11.2C5.5 11.3657 5.36568 11.5 5.2 11.5H3.3C3.13431 11.5 3 11.3657 3 11.2V10.3659C3 10.1766 3.1732 10.0346 3.35883 10.0718L5.17844 10.4357C5.36541 10.4731 5.5 10.6372 5.5 10.8279ZM12 10.4879V11.2C12 11.3657 11.8657 11.5 11.7 11.5H9.8C9.63431 11.5 9.5 11.3657 9.5 11.2V10.7459C9.5 10.6029 9.60094 10.4798 9.74116 10.4518L11.5216 10.0957C11.7691 10.0462 12 10.2355 12 10.4879Z",casino:"M8.5,10c0.4561,0.6072,1.1821,1,2,1c1.3807,0,2.5-1.1193,2.5-2.5c0-0.5642-0.1938-1.0789-0.509-1.4973L12.5,7l-5-6l-5,6 l0.009,0.0027C2.1938,7.4211,2,7.9358,2,8.5C2,9.8807,3.1193,11,4.5,11c0.8179,0,1.5439-0.3928,2-1 C6.5997,9.8672,6.7902,9.6135,7,9.3337V11.5C7,13,4.5,13,4.5,13C4.2239,13,4,13.2238,4,13.5C4,13.7761,4.2239,14,4.5,14H7h1h2.5 c0.2761,0,0.5-0.2239,0.5-0.5c0-0.2762-0.2239-0.5-0.5-0.5c0,0-2.5,0-2.5-1.5V9.3337C8.2098,9.6135,8.4003,9.8672,8.5,10z",castle:"M11,4H4C3.4477,4,3,3.5523,3,3V0.5C3,0.2239,3.2239,0,3.5,0S4,0.2239,4,0.5V2h1V1c0-0.5523,0.4477-1,1-1s1,0.4477,1,1v1h1V1 c0-0.5523,0.4477-1,1-1s1,0.4477,1,1v1h1V0.5C11,0.2239,11.2239,0,11.5,0S12,0.2239,12,0.5V3C12,3.5523,11.5523,4,11,4z M14,14.5 c0,0.2761-0.2239,0.5-0.5,0.5h-12C1.2239,15,1,14.7761,1,14.5S1.2239,14,1.5,14H2c0.5523,0,1-0.4477,1-1c0,0,1-6,1-7 c0-0.5523,0.4477-1,1-1h5c0.5523,0,1,0.4477,1,1c0,1,1,7,1,7c0,0.5523,0.4477,1,1,1h0.5c0.2723-0.0001,0.4946,0.2178,0.5,0.49V14.5z M9,10.5C9,9.6716,8.3284,9,7.5,9S6,9.6716,6,10.5V14h3V10.5z","castle-JP":"M12.5,12.75a1,1,0,0,1-1-.9995V7.25H10a1,1,0,0,1-1-1v-2H6v2a1,1,0,0,1-1,1H3.5v4.5a1,1,0,0,1-2,0V6.25a1,1,0,0,1,1-1H4v-2a1,1,0,0,1,1-1h5a1,1,0,0,1,1,1v2h1.5a1,1,0,0,1,1,1v5.5a1,1,0,0,1-.9995,1Z",caution:"M1.09302 11.8924L6.84044 1.3905C7.12539 0.869834 7.87461 0.869834 8.15956 1.3905L13.907 11.8924C14.1805 12.3922 13.818 13.0019 13.2474 13.0019H1.75258C1.18195 13.0019 0.819505 12.3922 1.09302 11.8924ZM8.29999 8L8.70296 5.5822C8.75375 5.27743 8.51873 5 8.20976 5H6.79022C6.48125 5 6.24623 5.27743 6.29703 5.5822L6.69999 8H8.29999ZM8.59999 9.9C8.59999 9.29249 8.10751 8.8 7.49999 8.8C6.89248 8.8 6.39999 9.29249 6.39999 9.9C6.39999 10.5075 6.89248 11 7.49999 11C8.10751 11 8.59999 10.5075 8.59999 9.9Z",cemetery:"M11.46,12h-0.68L12,3.55c0.0175-0.2867-0.2008-0.5332-0.4874-0.5507C11.4884,2.9979,11.4641,2.9981,11.44,3h-1.18 c0-0.92-1.23-2-2.75-2S4.77,2.08,4.77,3H3.54C3.253,2.9885,3.0111,3.2117,2.9995,3.4987C2.9988,3.5158,2.999,3.5329,3,3.55L4.2,12 H3.55C3.2609,11.9886,3.0162,12.2112,3,12.5V14h9v-1.51C11.9839,12.2067,11.7435,11.9886,11.46,12z M4.5,5h6v1h-6V5z","cemetery-JP":"M11.5,11h-3V2.5a.9448.9448,0,0,0-1-1,.9448.9448,0,0,0-1,1V11h-3a1,1,0,0,0,0,2h8a.9448.9448,0,0,0,1-1A1.0022,1.0022,0,0,0,11.5,11Z","charging-station":"m14 4v-1.51c-.0054-.2722-.2277-.4901-.5-.49-.2816.0047-.5062.2367-.5015.5184.0002.0105.0007.0211.0015.0316v2.45c0 .5523.4477 1 1 1v5.5c0 .2761-.2239.5-.5.5s-.5-.2239-.5-.5v-2c0-.8284-.6716-1.5-1.5-1.5h-1.5v-6c0-.5523-.4477-1-1-1h-6c-.5523 0-1 .4477-1 1v11c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-4h1.5c.2761 0 .5.2239.5.5v2c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5v-6.5c0-.5523-.4477-1-1-1zm-5.7996 3.3995-2.6006 3.4674-.0164-.0072c-.0465.0787-.1167.1403-.2146.1403-.1476 0-.2672-.1196-.2672-.2672 0-.028.0217-.0463.0297-.0717l-.0177-.0078.7766-2.3245c.054-.1617-.0664-.3288-.2369-.3288h-1.6539c-.2058 0-.3232-.2349-.1998-.3995l2.6006-3.4674.0164.0072c.0465-.0787.1167-.1403.2146-.1403.1476 0 .2672.1196.2672.2672 0 .028-.0217.0463-.0297.0717l.0176.0078-.7764 2.3244c-.0541.1618.0663.3289.2368.3289h1.6539c.2058 0 .3232.2349.1998.3995z",cinema:"M14,7.5v2c0,0.2761-0.2239,0.5-0.5,0.5S13,9.7761,13,9.5c0,0,0.06-0.5-1-0.5h-1v2.5c0,0.2761-0.2239,0.5-0.5,0.5h-8 C2.2239,12,2,11.7761,2,11.5v-4C2,7.2239,2.2239,7,2.5,7h8C10.7761,7,11,7.2239,11,7.5V8h1c1.06,0,1-0.5,1-0.5 C13,7.2239,13.2239,7,13.5,7S14,7.2239,14,7.5z M4,3C2.8954,3,2,3.8954,2,5s0.8954,2,2,2s2-0.8954,2-2S5.1046,3,4,3z M4,6 C3.4477,6,3,5.5523,3,5s0.4477-1,1-1s1,0.4477,1,1S4.5523,6,4,6z M8.5,2C7.1193,2,6,3.1193,6,4.5S7.1193,7,8.5,7S11,5.8807,11,4.5 S9.8807,2,8.5,2z M8.5,6C7.6716,6,7,5.3284,7,4.5S7.6716,3,8.5,3S10,3.6716,10,4.5S9.3284,6,8.5,6z",circle:"M14,7.5c0,3.5899-2.9101,6.5-6.5,6.5S1,11.0899,1,7.5S3.9101,1,7.5,1S14,3.9101,14,7.5z","circle-stroked":"M7.5 12.3C4.84898 12.3 2.7 10.151 2.7 7.5C2.7 4.84898 4.84898 2.7 7.5 2.7C10.151 2.7 12.3 4.84898 12.3 7.5C12.3 10.151 10.151 12.3 7.5 12.3ZM7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.9101 11.0899 1 7.5 1C3.9101 1 1 3.9101 1 7.5C1 11.0899 3.9101 14 7.5 14Z",city:"M12.6368 3.9994H10.9981V2.3608C10.998 2.16148 10.8364 1.99994 10.6371 2H10.3591C10.1598 2 9.9982 2.16158 9.9982 2.3609V3.9994H8.36C8.16068 3.9994 7.9991 4.16098 7.9991 4.3603V9.9984H4.3621C4.16168 9.9984 3.9992 10.1609 3.9992 10.3613V12.6358C3.99975 12.8358 4.16207 12.9977 4.3621 12.9977H12.6368C12.8361 12.9977 12.9977 12.8361 12.9977 12.6368V4.36C12.9977 4.16068 12.8361 3.9994 12.6368 3.9994ZM5.9989 11.9981H4.9989V10.9981H5.9989V11.9981ZM7.9989 11.9981H6.9989V10.9981H7.9989V11.9981ZM9.9989 11.9981H8.9989V10.9981H9.9989V11.9981ZM9.9989 9.9981H8.9989V8.9981H9.9989V9.9981ZM9.9989 7.9981H8.9989V6.9981H9.9989V7.9981ZM9.9989 5.9981H8.9989V4.9981H9.9989V5.9981ZM11.9989 11.9971H10.9989V10.9971H11.9989V11.9971ZM11.9989 9.9971H10.9989V8.9971H11.9989V9.9971ZM11.9989 7.9971H10.9989V6.9971H11.9989V7.9971ZM11.9989 5.9971H10.9989V4.9971H11.9989V5.9971ZM6.9987 2.3608C6.99864 2.16152 6.83708 2 6.6378 2H4.36C4.16068 2 3.9991 2.16158 3.9991 2.3609V4H2.36C2.16138 4.00049 2.00049 4.16138 2 4.36V12.6474C2 12.8407 2.1567 12.9974 2.35 12.9974H2.9994V8.9986H6.9987V2.3608ZM4 7.9981H3V6.9981H4V7.9981ZM4 5.9981H3V4.9981H4V5.9981ZM6 7.9981H5V6.9981H6V7.9981ZM6 5.9981H5V4.9981H6V5.9981ZM6 3.9981H5V3H6V4V3.9981Z","clothing-store":"M4 2L1 4.5L1 7H4V13H11V7H14V4.5L11 2H9.5L7.5 6L5.5 2L4 2Z",college:"M7.5,1L0,4.5l2,0.9v1.7C1.4,7.3,1,7.9,1,8.5s0.4,1.2,1,1.4V10l-0.9,2.1 C0.8,13,1,14,2.5,14s1.7-1,1.4-1.9L3,10c0.6-0.3,1-0.8,1-1.5S3.6,7.3,3,7.1V5.9L7.5,8L15,4.5L7.5,1z M11.9,7.5l-4.5,2L5,8.4v0.1 c0,0.7-0.3,1.3-0.8,1.8l0.6,1.4v0.1C4.9,12.2,5,12.6,4.9,13c0.7,0.3,1.5,0.5,2.5,0.5c3.3,0,4.5-2,4.5-3L11.9,7.5L11.9,7.5z","college-JP":"M12.5,2.9992h-4v-1a1,1,0,0,0-2,0v1h-4a1,1,0,0,0,0,2h.67A10.8169,10.8169,0,0,0,5.15,8.8105c.3331.4313.6594.8248.9785,1.1936a14.3825,14.3825,0,0,1-2.6074,2.117,1,1,0,1,0,.955,1.7581h0A15.65,15.65,0,0,0,7.5,11.4613a15.65,15.65,0,0,0,3.0239,2.4179,1,1,0,1,0,.9551-1.7578,14.3789,14.3789,0,0,1-2.6073-2.1171c.3191-.3688.6453-.7622.9784-1.1935a10.818,10.818,0,0,0,1.98-3.8116h.67a1,1,0,0,0,0-2ZM8.2671,7.5879c-.2614.3385-.5154.6413-.767.937-.2517-.2957-.5057-.5985-.7672-.937A9.5885,9.5885,0,0,1,5.2676,4.9992H9.7319A9.5789,9.5789,0,0,1,8.2671,7.5879Z",commercial:"m14 6h-13c.0881-1.3829.427-2.7383 1-4h11c.5731 1.2617.9119 2.6171 1 4zm-11 1h9v6h-1v-5h-3v5h-5zm1 3h3v-2h-3z","communications-tower":"M11.8545,6.4336l-.4131-.2813a4.7623,4.7623,0,0,0,.2813-4.8779l-.0835-.1533L12.0747.875l.0908.167a5.2619,5.2619,0,0,1-.311,5.3916Zm1.1521,7.1316V14h-11v-.4348H4.4952L6.0439,6.4a.5.5,0,0,1,.4888-.3945h.7255V4.6014A1.14,1.14,0,0,1,6.3756,3.5a1.1568,1.1568,0,1,1,2.3136,0,1.14,1.14,0,0,1-.931,1.1112V6.0059h.7223A.5.5,0,0,1,8.9692,6.4l1.5478,7.1648ZM8.4543,8.751H6.5588L6.236,10.2441H8.777ZM6.1279,10.7441l-.3233,1.4952H9.2082l-.3231-1.4952ZM6.936,7.0059,6.6669,8.251H8.3463L8.0771,7.0059ZM5.5179,13.5652H9.4948l-.1786-.8259h-3.62ZM5.21,5.0137a2.7523,2.7523,0,0,1,.0161-3.0518L4.812,1.6826a3.25,3.25,0,0,0-.019,3.6065ZM10.7568,3.5a3.2433,3.2433,0,0,0-.5341-1.7861l-.418.2754a2.7517,2.7517,0,0,1-.0176,3.0488l.4141.2793A3.2341,3.2341,0,0,0,10.7568,3.5ZM3.5342,6.1182A4.7637,4.7637,0,0,1,3.3813,1.13L2.9478.88a5.2643,5.2643,0,0,0,.1694,5.5137Z",confectionery:"M13,4a1,1,0,0,0-1-1,1,1,0,0,0-2,0V5.0673A3.4808,3.4808,0,0,0,4.3583,9H2a1,1,0,0,0,0,2,1,1,0,0,0,1,1,1,1,0,0,0,2,0V9.9326A3.4807,3.4807,0,0,0,10.6417,6H13a1,1,0,0,0,0-2ZM7.5,9.9925A2.484,2.484,0,0,1,6.3184,5.319a1.0809,1.0809,0,0,1,.5459.307A2.1243,2.1243,0,0,1,7.25,7.0117l.001.9561A2.5821,2.5821,0,0,0,7.76,9.7031a1.5462,1.5462,0,0,0,.2591.2333A2.4861,2.4861,0,0,1,7.5,9.9925ZM8.6815,9.681a1.0813,1.0813,0,0,1-.5458-.307A2.1243,2.1243,0,0,1,7.75,7.9883l-.001-.9561A2.5821,2.5821,0,0,0,7.24,5.2969a1.5557,1.5557,0,0,0-.2592-.2334A2.4843,2.4843,0,0,1,8.6815,9.681Z",construction:"M13.5 11h-1.8L8.2.5C8-.2 7-.2 6.8.5L3.3 11H1.5c-.3 0-.5.2-.5.5v1c0 .3.2.5.5.5h12c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5ZM7 3h1l.7 2H6.4L7 3ZM5.7 7h3.6l.7 2H5l.7-2Z",convenience:"M2.9982,3.0687s.1875-1.062,1-1.062H5.0043V1.7276a.5.5,0,0,1,.5-.5H9.4882a.5.5,0,0,1,.5.5v.2791h1.01a.8324.8324,0,0,1,.6373.2937,1.7589,1.7589,0,0,1,.3627.7683s.3108,1.5719.5921,2.9181h-.938L11,3,3.982,2.9956,3.3336,5.9868H2.382Zm11,4.9144a1,1,0,0,1-.9992,1l-1.0008,3.973s-.1875,1.0417-1,1.0417h-7c-.8125,0-1-1.0417-1-1.0417L1.9822,8.98a.9985.9985,0,0,1,.016-1.9968h11A1,1,0,0,1,13.9982,7.9831ZM5.0327,12.13,5.03,11.0051,4.6392,9.4686a.5373.5373,0,1,0-1.0649.1445L3.78,11.0075l.1874,1.2672A.5373.5373,0,1,0,5.0327,12.13Zm2-2.5967A.5332.5332,0,0,0,6.4994,9l-.0039.0008L6.4886,9a.4992.4992,0,0,0-.3575.1509.529.529,0,0,0-.1648.3828v2.68a.5332.5332,0,1,0,1.0663,0Zm1.998,0A.5314.5314,0,0,0,8.694,9.04a.4992.4992,0,0,0-.393,0,.5312.5312,0,0,0-.3366.4934v2.68a.5331.5331,0,1,0,1.0662,0Zm2.3857.08a.5373.5373,0,1,0-1.0649-.1445L9.96,10.9938,9.9579,12.13a.5373.5373,0,1,0,1.0649.1446Z",cricket:"M8,1.5C8,2.3284,7.3284,3,6.5,3S5,2.3284,5,1.5S5.6716,0,6.5,0S8,0.6716,8,1.5z M10.88,7.18L10.88,7.18l-2-2l0,0l0,0 C8.7815,5.0616,8.6339,4.9952,8.48,5H3.75C3.3736,4.9915,3.0508,5.2669,3,5.64l0,0l-1,7.7l0,0c-0.0068,0.0464-0.0068,0.0936,0,0.14 c0,0.2761,0.2239,0.5,0.5,0.5c0.2251,0.0153,0.4315-0.1251,0.5-0.34l0,0l1.2-3.89l0,0l0.26-0.83l0.4,0.44l0,0L6,10.6v2.9 C6,13.7761,6.2239,14,6.5,14S7,13.7761,7,13.5v-3l0,0l0,0c-0.0081-0.0788-0.0356-0.1544-0.08-0.22l0,0L5.48,8.5l1-2.5h1.71l2,1.84 l0,0c0.0928,0.1077,0.2278,0.1697,0.37,0.17C10.8163,7.9791,11.007,7.7581,11,7.5C10.9997,7.3824,10.9571,7.2688,10.88,7.18z M14,11.27c-0.4142,0-0.75,0.3358-0.75,0.75s0.3358,0.75,0.75,0.75s0.75-0.3358,0.75-0.75S14.4142,11.27,14,11.27z M10.76,9.74V9 c0-0.1381-0.1119-0.25-0.25-0.25S10.26,8.8619,10.26,9v0.74c-0.1522,0.0855-0.2474,0.2455-0.25,0.42v3.34 c0,0.2761,0.2239,0.5,0.5,0.5s0.5-0.2239,0.5-0.5v-3.34C11.0074,9.9855,10.9122,9.8255,10.76,9.74z",cross:"M3.64 2.27L7.5 6.13L11.34 2.29C11.5114 2.1076 11.7497 2.0029 12 2C12.5523 2 13 2.4477 13 3C13.0047 3.2478 12.907 3.4866 12.73 3.66L8.84 7.5L12.73 11.39C12.8948 11.5512 12.9915 11.7696 13 12C13 12.5523 12.5523 13 12 13C11.7423 13.0107 11.492 12.9127 11.31 12.73L7.5 8.87L3.65 12.72C3.4793 12.8963 3.2453 12.9971 3 13C2.4477 13 2 12.5523 2 12C1.9953 11.7522 2.093 11.5134 2.27 11.34L6.16 7.5L2.27 3.61C2.1052 3.4488 2.0085 3.2304 2 3C2 2.4477 2.4477 2 3 2C3.2404 2.0029 3.4701 2.0998 3.64 2.27Z",dam:"M13.94,9.5c0,0.2761-0.2239,0.5-0.5,0.5l0,0c-0.259,0.0219-0.4994,0.1439-0.67,0.34c-0.2714,0.2887-0.6175,0.4964-1,0.6 c-0.6115,0.1816-1.2734,0.0424-1.76-0.37l-0.39-0.35c-0.2976-0.3038-0.7851-0.3087-1.0889-0.0111 C8.5274,10.2126,8.5237,10.2163,8.52,10.22c-0.14,0.12-0.27,0.25-0.42,0.37c-0.7278,0.5784-1.7663,0.5489-2.46-0.07L5.3,10.19 l-0.1-0.06l0.3,1.22l0.49,2c0.0829,0.2634-0.0634,0.5441-0.3267,0.6271C5.6105,13.9937,5.5553,14.0014,5.5,14h-4 C1.2239,14,1,13.7761,1,13.5v-12C1,1.2239,1.2239,1,1.5,1h1.1c0.2346-0.0011,0.4384,0.1611,0.49,0.39L4,5.06V5.2 c0.6569-0.314,1.4361-0.2205,2,0.24c0.16,0.13,0.31,0.28,0.47,0.41c0.2847,0.2546,0.7153,0.2546,1,0c0.16-0.13,0.31-0.28,0.47-0.41 c0.7076-0.5968,1.7424-0.5968,2.45,0c0.15,0.13,0.29,0.27,0.44,0.39c0.2847,0.2546,0.7153,0.2546,1,0l0.47-0.41 c0.3163-0.2672,0.7159-0.4157,1.13-0.42l0,0c0.2761,0,0.5,0.2239,0.5,0.5S13.7061,6,13.43,6l0,0 c-0.259,0.0219-0.4994,0.1439-0.67,0.34c-0.2714,0.2887-0.6175,0.4964-1,0.6C11.1485,7.1216,10.4866,6.9824,10,6.57L9.67,6.23 C9.3724,5.9262,8.8849,5.9213,8.5811,6.2189C8.5774,6.2226,8.5737,6.2263,8.57,6.23C8.43,6.35,8.3,6.48,8.15,6.6 C7.4222,7.1784,6.3837,7.1489,5.69,6.53L5.3,6.19c-0.2847-0.2546-0.7153-0.2546-1,0L4.24,6.24L4.93,9 C5.3226,9.029,5.6965,9.1793,6,9.43c0.16,0.13,0.31,0.28,0.47,0.41c0.2847,0.2546,0.7153,0.2546,1,0c0.16-0.13,0.31-0.28,0.47-0.41 c0.7076-0.5968,1.7424-0.5968,2.45,0c0.15,0.13,0.29,0.27,0.44,0.39c0.2847,0.2546,0.7153,0.2546,1,0l0.47-0.41 c0.3177-0.2636,0.7172-0.4085,1.13-0.41l0,0c0.2761-0.0055,0.5044,0.2138,0.5099,0.4899C13.94,9.4933,13.94,9.4966,13.94,9.5z",danger:"M13.94,14.68c-0.0749,0.194-0.262,0.3215-0.47,0.32c-0.0595,0.0107-0.1205,0.0107-0.18,0L7.5,12.56L1.7,15 c-0.2572,0.1005-0.5472-0.0266-0.6476-0.2838C1.0516,14.7141,1.0508,14.7121,1.05,14.71c-0.1291-0.2441-0.0358-0.5467,0.2084-0.6757 C1.2845,14.0205,1.3118,14.009,1.34,14l4.85-2l-4.85-2C1.0758,9.9197,0.9267,9.6404,1.007,9.3762s0.3596-0.4133,0.6238-0.333 C1.6545,9.0504,1.6776,9.0594,1.7,9.07l5.8,2.41l5.8-2.41c0.2494-0.1185,0.5477-0.0124,0.6662,0.237 c0.1185,0.2494,0.0124,0.5477-0.237,0.6662C13.7068,9.9839,13.6837,9.9928,13.66,10L8.8,12l4.85,2 c0.2607,0.091,0.3983,0.3761,0.3074,0.6368C13.9523,14.6515,13.9465,14.6659,13.94,14.68z M12,4.23v0.45 c-0.0021,0.2129-0.0722,0.4196-0.2,0.59C11.2414,5.8883,10.6399,6.4664,10,7v1.16c0.0015,0.208-0.126,0.3951-0.32,0.47L7.52,9.5 H7.45L5.28,8.63C5.1016,8.5428,4.9917,8.3584,5,8.16V7C4.3528,6.4675,3.7446,5.8893,3.18,5.27C3.0593,5.0972,2.9963,4.8907,3,4.68 V4.23C3.1669,2.0117,4.8974,0.2307,7.11,0h0.36l0,0h0.39C10.0862,0.2131,11.8348,1.9997,12,4.23z M6,4c0-0.5523-0.4477-1-1-1 S4,3.4477,4,4s0.4477,1,1,1S6,4.5523,6,4z M7,7c0-0.2761-0.2239-0.5-0.5-0.5S6,6.7239,6,7v0.5C6,7.7761,6.2239,8,6.5,8 S7,7.7761,7,7.5V7z M9,7c0-0.2761-0.2239-0.5-0.5-0.5S8,6.7239,8,7v0.5C8,7.7761,8.2239,8,8.5,8S9,7.7761,9,7.5V7z M11,4 c0-0.5523-0.4477-1-1-1S9,3.4477,9,4s0.4477,1,1,1S11,4.5523,11,4z",defibrillator:"m1.54995 7.33811c-2.386799-4.5965 3.63-7.660899 5.952-3.0644 2.3215-4.596499 8.33875-1.5322 5.95235 3.0644-.0869.1671-.2028.3456-.3114.5212h-1.8079l-1.81455-2.7216c-.06321-.09473-.1511-.1704-.25417-.21884-.10308-.04843-.21743-.06779-.3307-.05599-.11327.01181-.22117.05433-.31205.12298-.09087.06865-.16126.16082-.20358.26655l-1.6484 4.12-1.33-1.33c-.11716-.11707-.27597-.18288-.4416-.183h-3.1389c-.1086-.1757-.2245-.3542-.3111-.5213zm9.45005 1.7713c-.103-.00003-.2044-.02545-.2951-.07399-.0908-.04854-.1682-.11871-.2254-.20431l-1.34085-2.0111-1.5587 3.89679c-.03839.096-.10002.181-.17936.2474-.07935.0663-.17393.1119-.27524.1326-.04125.0086-.08327.0128-.1254.0126-.16568.0001-.32462-.0656-.4419-.1826l-1.8169-1.81739h-2.0054c1.36645 1.66819 2.85739 3.23039 4.46 4.67319.08531.077.19616.1197.3111.1197s.22579-.0427.3111-.1197c1.59778-1.4447 3.08545-3.0068 4.45055-4.67319z",dentist:"M4.36,14c-1,0-0.56-2.67-0.86-5c-0.1-0.76-1-1.49-1.12-2.06C2,5,1.39,1.44,3.66,1S6,3,7.54,3s1.57-2.36,3.85-2 s1.59,3.9,1.29,5.9c-0.1,0.45-1.1,1.48-1.18,2.06c-0.33,2.4,0.32,5-0.8,5c-0.93,0-1.32-2.72-2-4.5C8.43,8.63,8.06,8,7.54,8 C6,8,5.75,14,4.36,14z",diamond:"M7.03715 1.20147L2.12542 6.7C2.04962 6.78393 2.00568 6.89005 2.00051 7C1.99535 7.10994 2.02925 7.21013 2.09689 7.3L7.0065 13.7601C7.06233 13.8343 7.13629 13.8947 7.22216 13.9365C7.30803 13.9782 7.40331 14 7.5 14C7.59669 14 7.69197 13.9782 7.77784 13.9365C7.86371 13.8947 7.93766 13.8343 7.9935 13.7601L12.9031 7.3C12.9707 7.21013 13.0047 7.10994 12.9995 7C12.9943 6.89005 12.9504 6.78393 12.8746 6.7L7.96285 1.20147C7.90591 1.13833 7.83501 1.08761 7.75508 1.05282C7.67514 1.01802 7.5881 1 7.5 1C7.4119 1 7.32486 1.01802 7.24492 1.05282C7.16499 1.08761 7.09409 1.13833 7.03715 1.20147Z",doctor:"M5.5,7C4.1193,7,3,5.8807,3,4.5l0,0v-2C3,2.2239,3.2239,2,3.5,2H4c0.2761,0,0.5-0.2239,0.5-0.5S4.2761,1,4,1H3.5 C2.6716,1,2,1.6716,2,2.5v2c0.0013,1.1466,0.5658,2.2195,1.51,2.87l0,0C4.4131,8.1662,4.9514,9.297,5,10.5C5,12.433,6.567,14,8.5,14 s3.5-1.567,3.5-3.5V9.93c1.0695-0.2761,1.7126-1.367,1.4365-2.4365C13.1603,6.424,12.0695,5.7809,11,6.057 C9.9305,6.3332,9.2874,7.424,9.5635,8.4935C9.7454,9.198,10.2955,9.7481,11,9.93v0.57c0,1.3807-1.1193,2.5-2.5,2.5S6,11.8807,6,10.5 c0.0511-1.2045,0.5932-2.3356,1.5-3.13l0,0C8.4404,6.7172,9.001,5.6448,9,4.5v-2C9,1.6716,8.3284,1,7.5,1H7 C6.7239,1,6.5,1.2239,6.5,1.5S6.7239,2,7,2h0.5C7.7761,2,8,2.2239,8,2.5v2l0,0C8,5.8807,6.8807,7,5.5,7 M11.5,9 c-0.5523,0-1-0.4477-1-1s0.4477-1,1-1s1,0.4477,1,1S12.0523,9,11.5,9z","dog-park":"M 10.300781 1.2207031 C 9.9144812 1.2207031 9.6 1.2 9.5 2 L 9.0996094 4.5214844 L 11.5 6.5 L 13.5 6.5 C 14.9 6.5 15 5.5410156 15 5.5410156 L 13.099609 3.3222656 C 12.399609 2.6222656 11.7 2.5 11 2.5 L 11 2 C 11 2 11.067481 1.2206031 10.300781 1.2207031 z M 4.75 1.5 C 4.75 1.5 3.7992187 1.5206031 3.1992188 1.7207031 C 2.5992187 1.9207031 2 2.6210938 2 3.6210938 L 2 7.5214844 C 2 9.2214844 1.3 9.5 1 9.5 C 1 9.5 0 9.5214844 0 10.521484 L 0 12.720703 C 0 12.720703 0.00078125 13.521484 0.80078125 13.521484 L 1 13.521484 L 1.5 13.521484 L 2 13.521484 L 2 13.021484 L 2 12.822266 C 2 12.422266 1.8 12.221094 1.5 12.121094 L 1.5 11.021484 C 2.5 11.021484 2.6 10.820703 3 10.720703 L 3.5507812 12.917969 C 3.6507813 13.217969 3.7507813 13.417578 4.0507812 13.517578 L 5.0507812 13.517578 L 6 13.5 L 6 12.699219 C 6 12.022819 5 12 5 12 L 5 9.5 L 8.5 9.5 L 9.1992188 12.121094 C 9.5992188 13.521094 10.5 13.5 10.5 13.5 L 11 13.5 L 12 13.5 L 12 12.699219 C 12 11.987419 11 12 11 12 L 11.099609 7.921875 L 8 5.5 L 3.5 5.5 L 3.5 3.5 C 3.5 3.1 3.7765 3.0053 4 3 C 4.4941 2.9882 4.75 3 4.75 3 C 5.1642 3 5.5 2.6642 5.5 2.25 C 5.5 1.8358 5.1642 1.5 4.75 1.5 z M 11.75 4 C 11.8881 4 12 4.1119 12 4.25 C 12 4.3881 11.8881 4.5 11.75 4.5 C 11.6119 4.5 11.5 4.3881 11.5 4.25 C 11.5 4.1119 11.6119 4 11.75 4 z","drinking-water":"M6,1A2,2,0,0,0,4,3V6.5a.5.5,0,0,0,.5.5h2A.5.5,0,0,0,7,6.5v-2A.5.5,0,0,1,7.5,4H14V1ZM7,15H4a.5.5,0,0,1-.48-.38L2,8.62a.5.5,0,0,1,.365-.606A.558.558,0,0,1,2.5,8h6a.5.5,0,0,1,.514.485A.47.47,0,0,1,9,8.62l-1.5,6A.5.5,0,0,1,7,15ZM3.65,11H7.36l.5-2H3.14Z",elevator:"M11,1H4A1,1,0,0,0,3,2V13a1,1,0,0,0,1,1h7a1,1,0,0,0,1-1V2A1,1,0,0,0,11,1ZM7.5,12.5l-2-4h4Zm-2-6,2-4,2,4Z",embassy:"M6.65,2C5.43,2,4.48,3.38,4.11,3.82C4.0365,3.9102,3.9975,4.0237,4,4.14v4.4C3.9884,8.7827,4.1758,8.9889,4.4185,9.0005 C4.528,9.0057,4.6355,8.9699,4.72,8.9c0.4665-0.6264,1.1589-1.0461,1.93-1.17C8.06,7.73,8.6,9,10.07,9 c0.9948-0.0976,1.9415-0.4756,2.73-1.09c0.1272-0.0934,0.2016-0.2422,0.2-0.4V2.45c0.0275-0.2414-0.1459-0.4595-0.3874-0.487 C12.5332,1.954,12.4527,1.9668,12.38,2c-0.6813,0.5212-1.4706,0.8834-2.31,1.06C8.6,3.08,8.12,2,6.65,2z M2.5,3 c-0.5523,0-1-0.4477-1-1s0.4477-1,1-1s1,0.4477,1,1S3.0523,3,2.5,3z M3,4v9.48c0,0.2761-0.2239,0.5-0.5,0.5S2,13.7561,2,13.48V4 c0-0.2761,0.2239-0.5,0.5-0.5S3,3.7239,3,4z","emergency-phone":"M7.875,11.49a.51.51,0,0,0,.72,0l.72-.72,2.18,2.16-.37.37a2.24,2.24,0,0,1-1.44.7H8.24a2.24,2.24,0,0,1-1.45-.7L1.72,8.23A2.24,2.24,0,0,1,1,6.78V5.33a2.24,2.24,0,0,1,.72-1.45l.36-.36L4.26,5.69l-.73.73a.51.51,0,0,0,0,.72Zm4.72.38a1,1,0,0,0,.036-1.414h0l-.036-.036-.72-.72a1,1,0,0,0-1.414-.036h0l-.036.036ZM5.315,4.62a1,1,0,0,0,.036-1.414h0L4.595,2.45a1,1,0,0,0-1.414-.036h0L3.14,2.45ZM10,2V4H8V5h2V7h1V5h2V4H11V2Z",entrance:"m8 6.5v-1c0-.26522-.10536-.51957-.29289-.70711-.18754-.18753-.44189-.29289-.70711-.29289s-.51957.10536-.70711.29289c-.18753.18754-.29289.44189-.29289.70711v3zm-2-3.5c0-.19778.05865-.39112.16853-.55557s.26606-.29262.44879-.36831c.18272-.07569.38379-.09549.57777-.0569.19398.03858.37216.13382.51202.27367.13985.13986.23509.31804.27368.51202.03858.19398.01878.39505-.05691.57777-.07569.18273-.20386.33891-.36831.44879s-.35779.16853-.55557.16853c-.26522 0-.51957-.10536-.70711-.29289-.18753-.18754-.29289-.44189-.29289-.70711zm9 3c0 .26522-.1054.51957-.2929.70711-.1875.18753-.4419.29289-.7071.29289h-1.58c-.1316-.00076-.2621.02446-.3839.07423-.1218.04976-.2327.12309-.3261.21577l-5.42 5.42c-.18626.1847-.43766.2889-.7.29h-2.59c-.26522 0-.51957-.1054-.70711-.2929-.18753-.1875-.29289-.4419-.29289-.7071s.10536-.5196.29289-.7071c.18754-.1875.44189-.2929.70711-.2929h1.59c.26234-.0011.51374-.1053.7-.29l5.42-5.42c.0934-.09268.2043-.16601.3261-.21577.1218-.04977.2523-.07499.3839-.07423h2.58c.2652 0 .5196.10536.7071.29289.1875.18754.2929.44189.2929.70711z","entrance-alt1":"M6.554,9.639a.5.5,0,0,0,.707.707L9.928,7.669a.25.25,0,0,0,0-.354h0L7.261,4.639a.5.5,0,0,0-.707.707L8.2,7H1.5a.5.5,0,0,0,0,1H8.2ZM12,1H5.5a.5.5,0,0,0,0,1h6a.5.5,0,0,1,.5.5v10a.5.5,0,0,1-.5.5H5.25a.5.5,0,0,0,0,1H12a1,1,0,0,0,1-1V2A1,1,0,0,0,12,1Z",farm:"m8 6-3-2-3 2-1 2v4h2v-2h4v2h2v-4zm-2 2h-2v-2h2zm8 4h-3v-9.5c0-.39782.158-.77936.4393-1.06066s.6629-.43934 1.0607-.43934.7794.15804 1.0607.43934.4393.66284.4393 1.06066z","fast-food":"M14,8c0,0.5523-0.4477,1-1,1H2C1.4477,9,1,8.5523,1,8s0.4477-1,1-1h11C13.5523,7,14,7.4477,14,8z M3.5,10H2 c0,1.6569,1.3431,3,3,3h5c1.6569,0,3-1.3431,3-3H3.5z M3,6H2V4c0-1.1046,0.8954-2,2-2h7c1.1046,0,2,0.8954,2,2v2H3z M11,4.5 C11,4.7761,11.2239,5,11.5,5S12,4.7761,12,4.5S11.7761,4,11.5,4S11,4.2239,11,4.5z M9,3.5C9,3.7761,9.2239,4,9.5,4S10,3.7761,10,3.5 S9.7761,3,9.5,3S9,3.2239,9,3.5z M7,4.5C7,4.7761,7.2239,5,7.5,5S8,4.7761,8,4.5S7.7761,4,7.5,4S7,4.2239,7,4.5z M5,3.5 C5,3.7761,5.2239,4,5.5,4S6,3.7761,6,3.5S5.7761,3,5.5,3S5,3.2239,5,3.5z M3,4.5C3,4.7761,3.2239,5,3.5,5S4,4.7761,4,4.5 S3.7761,4,3.5,4S3,4.2239,3,4.5z",fence:"m13.5 9h-.5v-3h.5c.1326 0 .2598-.05268.3536-.14644.0937-.09377.1464-.22095.1464-.35356s-.0527-.25978-.1464-.35355c-.0938-.09377-.221-.14645-.3536-.14645h-.5v-2l-.286-.573c-.0218-.03651-.0525-.06683-.0894-.08809-.0368-.02125-.0784-.03273-.1209-.03333s-.0845.00969-.1219.0299c-.0374.0202-.069.04964-.0918.08552l-.29.579v2h-1v-2l-.286-.573c-.0218-.03651-.0525-.06683-.0894-.08809-.0368-.02125-.0784-.03273-.1209-.03333s-.0845.00969-.1219.0299c-.0374.0202-.069.04964-.0918.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-1v-2l-.286-.573c-.02178-.03651-.05254-.06683-.08936-.08809-.03681-.02125-.07846-.03273-.12096-.03333-.04251-.0006-.08446.00969-.12187.0299-.0374.0202-.06901.04964-.09181.08552l-.29.579v2h-.5c-.13261 0-.25979.05268-.35355.14645-.09377.09377-.14645.22094-.14645.35355s.05268.25979.14645.35356c.09376.09376.22094.14644.35355.14644h.5v3h-.5c-.13261 0-.25979.05268-.35355.14645-.09377.09377-.14645.22094-.14645.35355s.05268.25979.14645.35356c.09376.09376.22094.14644.35355.14644h.5v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.05268.2598.14645.3536.09376.0937.22094.1464.35355.1464s.25979-.0527.35355-.1464c.09377-.0938.14645-.221.14645-.3536v-1.5h1v1.5c0 .1326.0527.2598.1464.3536.0938.0937.221.1464.3536.1464s.2598-.0527.3536-.1464c.0937-.0938.1464-.221.1464-.3536v-1.5h1v1.5c0 .1326.0527.2598.1464.3536.0938.0937.221.1464.3536.1464s.2598-.0527.3536-.1464c.0937-.0938.1464-.221.1464-.3536v-1.5h.5c.1326 0 .2598-.05268.3536-.14644.0937-.09377.1464-.22095.1464-.35356s-.0527-.25978-.1464-.35355c-.0938-.09377-.221-.14645-.3536-.14645zm-10.5 0v-3h1v3zm2 0v-3h1v3zm2 0v-3h1v3zm2 0v-3h1v3zm2 0v-3h1v3z",ferry:"M5.33,11c0.6745,0.009,1.3262,0.245,1.85,0.67l0.26,0.23h0.05l0.31-0.28c0.9817-0.8115,2.379-0.8846,3.44-0.18L13.5,7L12,6 V2.45c-0.0466-0.8-0.6989-1.4305-1.5-1.45H10c0.0343-0.518-0.3579-0.9657-0.8759-1C9.0828-0.0027,9.0413-0.0027,9,0H6 C5.482-0.0343,5.0343,0.3579,5,0.8759C4.9973,0.9172,4.9973,0.9587,5,1H4.5C3.6989,1.0195,3.0466,1.65,3,2.45V6L1.5,7l2.25,4.53 C4.2143,11.2041,4.7631,11.02,5.33,11z M4,2.45c0.0105-0.2594,0.2293-0.4611,0.4886-0.4506C4.4924,1.9996,4.4962,1.9998,4.5,2h6 c0.259-0.0171,0.4829,0.1789,0.5,0.4379c0.0014,0.0207,0.0014,0.0414,0,0.0621v3l-3.5-2L4,5.45C4,5.45,4,2.45,4,2.45z M14,13v1 c-0.2626,0.0194-0.5069,0.1416-0.68,0.34c-0.2717,0.2883-0.6178,0.4959-1,0.6c-0.6147,0.1815-1.2795,0.0425-1.77-0.37l-0.39-0.35 c-0.3043-0.3026-0.7957-0.3026-1.1,0c-0.14,0.12-0.27,0.25-0.42,0.37c-0.7328,0.5856-1.7814,0.556-2.48-0.07l-0.39-0.35 c-0.2864-0.2502-0.7136-0.2502-1,0c-0.19,0.15-0.36,0.32-0.55,0.47c-0.7043,0.5215-1.6732,0.4968-2.35-0.06l-0.31-0.27 C1.4153,14.1443,1.2172,14.0346,1,14v-1c0.2585-0.032,0.5205,0.0169,0.75,0.14c0.2782,0.1722,0.5424,0.3661,0.79,0.58 c0.2051,0.2235,0.5147,0.319,0.81,0.25c0.1125-0.0333,0.2177-0.0876,0.31-0.16c0.16-0.12,0.29-0.26,0.45-0.39 c0.7106-0.5888,1.7394-0.5888,2.45,0c0.16,0.13,0.31,0.28,0.47,0.41c0.2864,0.2502,0.7136,0.2502,1,0c0.16-0.13,0.31-0.28,0.47-0.41 c0.7123-0.5943,1.7477-0.5943,2.46,0c0.15,0.13,0.29,0.27,0.44,0.39c0.2864,0.2502,0.7136,0.2502,1,0l0.47-0.41 C13.1895,13.1408,13.5886,12.9995,14,13z","ferry-JP":"M9.5 12.5H5.5L5.5 8C5.5 6.91153 6.07979 5.44812 6.85389 4.13809C7.07346 3.76652 7.29495 3.43049 7.5 3.1451C7.70505 3.43049 7.92654 3.76652 8.14611 4.13809C8.92021 5.44812 9.5 6.91153 9.5 8V12.5ZM7.5 1C7 1 4 5 4 8V12.5C4 13.3284 4.67157 14 5.5 14H9.5C10.3284 14 11 13.329 11 12.5006V8C11 5 8 1 7.5 1Z","fire-station":"M7.5 14C11.0899 14 14 11 14 7.50003C14 4.5 11.5 2 11.5 2L10.5 5.5L7.5 1L4.5 5.5L3.5 2C3.5 2 1 4.5 1 7.50003C1 11 3.91015 14 7.5 14ZM7.5 12.5C6.11929 12.5 5 11.3807 5 10C5 8.61929 7.5 5.5 7.5 5.5C7.5 5.5 10 8.61929 10 10C10 11.3807 8.88071 12.5 7.5 12.5Z","fire-station-JP":"M8.5,8.1489V11.75a1,1,0,0,1-2,0V8.1489A5.0084,5.0084,0,0,1,2.5,3.25a1,1,0,0,1,2,0,3,3,0,0,0,6,0,1,1,0,0,1,2,0A5.0082,5.0082,0,0,1,8.5,8.1489Z","fitness-centre":"M14.5,7V8h-1v2h-1v1H11V8H4v3H2.5V10h-1V8H.5V7h1V5h1V4H4V7h7V4h1.5V5h1V7Z",florist:"M1.5,1A2.7,2.7,0,0,1,4,3l.5-3L5,3A2.7,2.7,0,0,1,7.5,1c-.2.03-1,.26-1,2v.083A1.959,1.959,0,0,1,4.5,5H4.417A1.959,1.959,0,0,1,2.5,3C2.5,1.261,1.7,1.03,1.5,1ZM12.012,11l3-.5-3-.5A2.686,2.686,0,0,0,14,7.5c-.03.2-.248,1-1.988,1a2,2,0,0,0,0,4c1.739,0,1.958.8,1.988,1A2.686,2.686,0,0,0,12.012,11ZM9.688,5.548a1,1,0,0,1,0-2,1,1,0,0,1,0-2,.986.986,0,0,1,.852.507l.023-.012a.978.978,0,0,1-.116-.444,1,1,0,1,1,2,0,.978.978,0,0,1-.116.444l.019.01a.986.986,0,0,1,.85-.5,1,1,0,0,1,.025,2,1,1,0,0,1-.025,2,.986.986,0,0,1-.85-.5l-.016.009a.978.978,0,0,1,.113.44,1,1,0,0,1-2,0,.978.978,0,0,1,.113-.44l-.02-.011a.986.986,0,0,1-.852.507Zm.71-1.995A1.051,1.051,0,1,0,11.449,2.5,1.051,1.051,0,0,0,10.4,3.553v0ZM4.946,11.444l-.516-.515L8.892,6.475A1.746,1.746,0,0,1,8.44,6.22L4.076,10.575l-.519-.518A16.051,16.051,0,0,0,4.912,6a3.373,3.373,0,0,1-.412.035c-.041,0-.073-.008-.112-.01A16.953,16.953,0,0,1,3.131,9.631L2.76,9.26a.246.246,0,0,0-.4.079L.231,14.445a.287.287,0,0,0-.016.089.25.25,0,0,0,.25.25.289.289,0,0,0,.1-.019l5.1-2.124a.246.246,0,0,0,.079-.4l-.372-.372a16.874,16.874,0,0,1,3.612-1.256c0-.059-.015-.106-.015-.166A3.349,3.349,0,0,1,9,10.089,16.076,16.076,0,0,0,4.946,11.444Z",fuel:"m14 6v5.5c0 .2761-.2239.5-.5.5s-.5-.2239-.5-.5v-2c0-.8284-.6716-1.5-1.5-1.5h-1.5v-6c0-.5523-.4477-1-1-1h-6c-.5523 0-1 .4477-1 1v11c0 .5523.4477 1 1 1h6c.5523 0 1-.4477 1-1v-4h1.5c.2761 0 .5.2239.5.5v2c0 .8284.6716 1.5 1.5 1.5s1.5-.6716 1.5-1.5v-6.5c0-.5523-.4477-1-1-1v-1.51c-.0054-.2722-.2277-.4901-.5-.49-.2816.0047-.5062.2367-.5015.5184.0002.0105.0007.0211.0015.0316v2.45c0 .5523.4477 1 1 1s1-.4477 1-1-.4477-1-1-1zm-5 .5c0 .2761-.2239.5-.5.5h-5c-.2761 0-.5-.2239-.5-.5v-3c0-.2761.2239-.5.5-.5h5c.2761 0 .5.2239.5.5z",furniture:"m8.69099 10.142v-1.642c0-.13261-.05268-.25979-.14645-.35355-.09377-.09377-.22094-.14645-.35355-.14645h-1c-.13261 0-.25979.05268-.35356.14645-.09376.09376-.14644.22094-.14644.35355v1.641c-.75987.1945-1.4456.6085-1.9715 1.1905-.52591.5819-.86868 1.3059-.9855 2.0815-.01141.0723-.00702.1462.01285.2167.01987.0704.05476.1357.10227.1914s.10651.1004.17295.1311c.06643.0307.13873.0467.21193.0468h6.92201c.0732-.0001.1455-.0161.2119-.0468.0665-.0307.1255-.0754.173-.1311s.0824-.121.1022-.1914c.0199-.0705.0243-.1444.0129-.2167-.1176-.7765-.4616-1.501-.989-2.0828-.5275-.5819-1.2148-.9952-1.97601-1.1882zm4.63901-3.863-2.5-5c-.0412-.08351-.1048-.15387-.1838-.20316s-.1701-.07556-.2632-.07584h-5.38401c-.09261.00019-.18335.02609-.2621.07483-.07875.04873-.14241.11837-.1839.20117l-2.5 5c-.03809.076-.05617.16046-.05253.24539.00363.08494.02886.16754.07331.24001.04444.07247.10663.13241.18068.17416s.15753.06393.24254.06444h8.19401v1.5c0 .13261.0527.25979.1464.35355.0938.09377.221.14645.3536.14645s.2598-.05268.3535-.14645c.0938-.09376.1465-.22094.1465-.35355v-1.5h1.194c.0847-.00059.1678-.02269.2416-.06421s.1359-.1011.1804-.17317c.0444-.07207.0699-.15425.0739-.23884s-.0135-.16882-.0509-.24478z",gaming:"m13.1 11.5c-.6.3-1.4.1-1.8-.5l-1.1-1.4h-5.40002l-1.1 1.4c-.5.7-1.4.8-2.1.3-.5-.4-.700004-1-.600004-1.5l.700004-3.7c.2-1.2 1.3-2.1 2.5-2.1h2.8v-1.5c0-.8.6-1.5 1.4-1.5h3.10002c.3 0 .5.2.5.5s-.2.5-.5.5h-3.00002c-.3 0-.5.2-.5.4v.1 1.5h2.80002c1.2 0 2.3.9 2.5 2.1l.7 3.7c.1.7-.2 1.4-.9 1.7zm-7.10002-5c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5.7 1.5 1.5 1.5 1.5-.7 1.5-1.5zm6.00002 0c0-.3-.2-.5-.5-.5h-.5v-.5c0-.3-.2-.5-.5-.5s-.50002.2-.50002.5v.5h-.5c-.3 0-.5.2-.5.5s.2.5.5.5h.5v.5c0 .3.20002.5.50002.5s.5-.2.5-.5v-.5h.5c.3 0 .5-.2.5-.5z",garden:"M13,8c0,3.31-2.19,6-5.5,6S2,11.31,2,8c2.2643,0.0191,4.2694,1.4667,5,3.61V7H4.5C3.6716,7,3,6.3284,3,5.5v-3 C3,2.2239,3.2239,2,3.5,2c0.1574,0,0.3056,0.0741,0.4,0.2l1.53,2l1.65-3c0.1498-0.232,0.4593-0.2985,0.6913-0.1487 C7.8308,1.0898,7.8815,1.1404,7.92,1.2l1.65,3l1.53-2c0.1657-0.2209,0.4791-0.2657,0.7-0.1C11.9259,2.1944,12,2.3426,12,2.5v3 C12,6.3284,11.3284,7,10.5,7H8v4.61C8.7306,9.4667,10.7357,8.0191,13,8z","garden-centre":"M4,5L4,4.5C4,3.12 5.12,2 6.5,2C7.88,2 9,3.12 9,4.5L9,10.293L11.365,7.928L11.018,6.633C11.018,6.631 11.017,6.629 11.017,6.627L11.016,6.627L11.016,6.627C10.973,6.461 11.016,6.276 11.147,6.146C11.342,5.951 11.659,5.951 11.854,6.146L13.854,8.146C14.049,8.341 14.049,8.658 13.854,8.853C13.724,8.983 13.541,9.027 13.375,8.984C13.375,8.984 13.375,8.984 13.375,8.984C13.372,8.983 13.369,8.982 13.365,8.981L12.072,8.635L9,11.707L9,12C9,12.552 8.552,13 8,13L5,13C4.448,13 4,12.552 4,12L4,11.536L1.732,9.268C0.757,8.292 0.757,6.708 1.732,5.732C2.22,5.244 2.86,5 3.5,5L3.5,5L4,5ZM4,6L3.5,6L3.5,6C3.116,6 2.732,6.147 2.439,6.439C1.854,7.025 1.854,7.975 2.439,8.561L4,10.121L4,6ZM8,5L8,4.5C8,3.672 7.328,3 6.5,3C5.672,3 5,3.672 5,4.5L5,5L8,5Z",gate:"M1 2.75A.75.75 0 0 1 1.75 2h1.114c.09 0 .18.016.263.048l3.386 1.27A.75.75 0 0 1 7 4.02v5.96a.75.75 0 0 1-.487.702L3 12v.25a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1-.75-.75v-9.5Zm3 5.736v-4.87a.25.25 0 0 0-.162-.234l-.5-.187A.25.25 0 0 0 3 3.429v5.224c0 .17.167.291.33.237l.5-.166A.25.25 0 0 0 4 8.486ZM5 4.18v3.807a.25.25 0 0 0 .33.238l.5-.167A.25.25 0 0 0 6 7.82V4.366a.25.25 0 0 0-.162-.234l-.5-.187A.25.25 0 0 0 5 4.179Zm9-1.43a.75.75 0 0 0-.75-.75h-1.114a.75.75 0 0 0-.263.048l-3.386 1.27A.75.75 0 0 0 8 4.02v5.96a.75.75 0 0 0 .487.702L12 12v.25c0 .414.336.75.75.75h.5a.75.75 0 0 0 .75-.75v-9.5Zm-2.83 5.974a.25.25 0 0 1-.17-.238v-4.87a.25.25 0 0 1 .162-.234l.5-.187a.25.25 0 0 1 .338.234v5.224a.25.25 0 0 1-.33.237l-.5-.166ZM10 4.179v3.807a.25.25 0 0 1-.33.238l-.5-.167A.25.25 0 0 1 9 7.82V4.366a.25.25 0 0 1 .162-.234l.5-.187a.25.25 0 0 1 .338.234Z",gift:"M10.5 1.00152C9.0967.957116 7.8503 1.89192 7.5 3.25152 7.1497 1.89192 5.9033.957116 4.5 1.00152 2.7678.947006 2.23515 2.79746 2.81831 4H1.5C1.22386 4 1 4.22386 1 4.5V5.5C1 5.77614 1.22386 6 1.5 6H13.5C13.7761 6 14 5.77614 14 5.5V4.5C14 4.22386 13.7761 4 13.5 4H12.1938C12.8 2.81516 12.2922 1.00143 10.5404 1.00112 10.5269 1.00112 10.5135 1.00122 10.5 1.00152ZM10.6831 4H8.5C8.50082 2.8961 9.3959 2.00152 10.5 2.00152 11.675 2.00152 11.8827 3.87414 10.6831 4ZM6.5 4H4.29187C3.25675 3.88256 3.19576 2.10553 4.3323 2.00152 4.3881 1.99642 4.4442 1.99642 4.5 2.00152 5.60409 2.00152 6.49918 2.8961 6.5 4ZM2 7.00146V11.5015C2 12.3299 2.6716 13.0015 3.5 13.0015H6.5V7.00146H2ZM8.5 7.00146V13.0015H11.5C12.3284 13.0015 13 12.3299 13 11.5015V7.00146H8.5Z",globe:"M11.981,9.481,11.26,8.76A4.979,4.979,0,1,1,4.24,1.74l-.721-.721A5.991,5.991,0,0,0,7,11.475V13H6.5a.5.5,0,0,0,0,1h2a.5.5,0,0,0,0-1H8V11.473A5.983,5.983,0,0,0,11.981,9.481ZM7.5,9A3.5,3.5,0,1,0,4,5.5,3.5,3.5,0,0,0,7.5,9Zm1-5,.364-.592a2.5,2.5,0,0,1,.823.9L9.5,5h-1ZM6.656,3.156,7.5,4V5L8,6H9.94a2.494,2.494,0,0,1-1.5,1.814L8,7H6.5L5.05,5A2.5,2.5,0,0,1,6.656,3.156Z",golf:"M3.3999,1.1c0,0.1,0,0.2,0,0.2c0,0.4,0.3,0.7,0.7,0.7c0.3,0,0.5-0.2,0.6-0.5l0,0L4.9,1l5.6,2.3L6.6,6C6.2,6.3,6.2,6.7,6.3,7.1 l0.9,2.1l-1.3,3.9C5.7,13.6,6.1,14,6.5,14c0.3,0,0.5-0.1,0.6-0.5l1.4-4l0.1,0.3v3.5c0,0,0,0.7,0.7,0.7s0.7-0.7,0.7-0.7V10 c0-0.2,0-0.3-0.1-0.5L8.5,6.1l2.7-1.9c0.2-0.2,0.4-0.3,0.4-0.6s-0.2-0.5-0.4-0.6L4,0.1c-0.0878,0-0.118,0.0179-0.2001,0.1 L3.3999,1.1z M5.5,3C4.7,3,4,3.7,4,4.5S4.7,6,5.5,6S7,5.3,7,4.5S6.2999,3,5.5,3z",grocery:"M 13.199219 1.5 C 13.199219 1.5 11.808806 1.4588 11.253906 2 C 10.720406 2.5202 10.5 2.9177 10.5 4 L 1.1992188 4 L 2.59375 8.8144531 C 2.59725 8.8217531 2.6036219 8.8287375 2.6074219 8.8359375 C 2.8418219 9.4932375 3.4545469 9.9666406 4.1855469 9.9941406 C 4.1885469 9.9954406 4.1992187 10 4.1992188 10 L 10.699219 10 L 10.699219 10.199219 C 10.699219 10.199219 10.7 10.500391 10.5 10.900391 C 10.3 11.300391 10.200391 11.5 9.4003906 11.5 L 2.9003906 11.5 C 1.9003906 11.5 1.9003906 13 2.9003906 13 L 4.0996094 13 L 4.1992188 13 L 9.0996094 13 L 9.1992188 13 L 9.3007812 13 C 10.500781 13 11.399219 12.299609 11.699219 11.599609 C 11.999219 10.899609 12 10.300781 12 10.300781 L 12 10 L 12 4 C 12 3.4764 12.228619 3 12.699219 3 L 13.25 3 C 13.6642 3 14 2.6642 14 2.25 C 14 1.8358 13.6642 1.5 13.25 1.5 L 13.199219 1.5 z M 9.1992188 13 C 8.5992188 13 8.1992188 13.4 8.1992188 14 C 8.1992188 14.6 8.5992187 15 9.1992188 15 C 9.7992187 15 10.199219 14.6 10.199219 14 C 10.199219 13.4 9.7992188 13 9.1992188 13 z M 4.1992188 13 C 3.5992188 13 3.1992188 13.4 3.1992188 14 C 3.1992188 14.6 3.5992187 15 4.1992188 15 C 4.7992188 15 5.1992188 14.6 5.1992188 14 C 5.1992188 13.4 4.7992187 13 4.1992188 13 z",hairdresser:"M15,3c0,0-2-0.6-3.5,0.5l-4.3,3C6.4,5.9,5.2,5.2,4,4.8V4c0-1.1-0.9-2-2-2C0.9,2,0,2.9,0,4v1.5 C0,6,0.5,6,0.5,6H2h0.5C4.5,6,6,7.5,6,7.5S4.5,9,2.5,9H2H0.5C0.5,9,0,9,0,9.5V11c0,1.1,0.9,2,2,2c1.1,0,2-0.9,2-2v-0.8 c1.2-0.4,2.4-1.1,3.2-1.7l4.3,3C13,12.6,15,12,15,12L8.5,7.5L15,3z M3,5H2H1V4c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1V5z M3,11 c0,0.6-0.4,1-1,1c-0.6,0-1-0.4-1-1v-1h1h1V11z M7.25,8c-0.2761,0-0.5-0.2239-0.5-0.5S6.9739,7,7.25,7s0.5,0.2239,0.5,0.5 S7.5261,8,7.25,8z",harbor:"M7.5,0C5.5,0,4,1.567,4,3.5c0.0024,1.5629,1.0397,2.902,2.5,3.3379v6.0391 c-0.9305-0.1647-1.8755-0.5496-2.6484-1.2695C2.7992,10.6273,2.002,9.0676,2.002,6.498c0.0077-0.5646-0.4531-1.0236-1.0176-1.0137 C0.4329,5.493-0.0076,5.9465,0,6.498c0,3.0029,1.0119,5.1955,2.4902,6.5723C3.9685,14.4471,5.8379,15,7.5,15 c1.6656,0,3.535-0.5596,5.0117-1.9395S14.998,9.4868,14.998,6.498c0.0648-1.3953-2.0628-1.3953-1.998,0 c0,2.553-0.7997,4.1149-1.8535,5.0996C10.3731,12.3203,9.4288,12.7084,8.5,12.875V6.8418C9.9607,6.4058,10.9986,5.0642,11,3.5 C11,1.567,9.5,0,7.5,0z M7.5,2C8.3284,2,9,2.6716,9,3.5S8.3284,5,7.5,5S6,4.3284,6,3.5S6.6716,2,7.5,2z",hardware:"M13.7919,3.2619c0,0-1.676,1.675-2.1163,2.1208c-0.085,0.0861-0.1688,0.1135-0.282,0.0961 c-0.1481-0.0226-0.2974-0.038-0.4462-0.0558c-0.4072-0.0485-0.8145-0.0966-1.2292-0.1458C9.649,4.6852,9.5787,4.1049,9.5177,3.5236 C9.512,3.4689,9.5509,3.3943,9.5925,3.3522c0.5071-0.5134,1.9261-1.9287,2.134-2.136c-0.4508-0.2129-1.2243-0.2968-1.8007-0.2031 c-2.1801,0.3543-3.5112,2.534-2.8206,4.625C7.1432,5.753,7.1194,5.8201,7.0374,5.902C5.1891,7.7454,3.3436,9.5914,1.498,11.4374 c-0.0616,0.0616-0.1231,0.124-0.1779,0.1913c-0.5264,0.6473-0.3873,1.6264,0.2974,2.102c0.6044,0.4197,1.3658,0.3442,1.9053-0.1948 c1.8534-1.8519,3.7059-3.7047,5.556-5.5598C9.1707,7.884,9.2437,7.8526,9.3779,7.8983c0.6189,0.2109,1.2524,0.2354,1.8884,0.0884 c1.9386-0.4478,3.1251-2.3732,2.6549-4.3034C13.8895,3.5532,13.843,3.4244,13.7919,3.2619z",heart:"m13.91 7.75001c-1.17 2.24999-4.30002 5.30999-6.07002 6.93999-.1903.1718-.4797.1718-.67 0-1.78-1.63-4.91-4.69-6.08-6.93999-2.57-4.95 3.91-8.250002 6.41-3.3 2.5-4.950002 8.98002-1.65 6.41002 3.3z",heliport:"M4,2C3,2,3,3,4,3h4v1C7.723,4,7.5,4.223,7.5,4.5V5H5H3.9707H3.9316 C3.7041,4.1201,2.9122,3.5011,2,3.5c-1.1046,0-2,0.8954-2,2s0.8954,2,2,2c0.3722-0.001,0.7368-0.1058,1.0527-0.3027L5.5,10.5 C6.5074,11.9505,8.3182,12,9,12h5c0,0,1,0,1-1v-0.9941C15,9.2734,14.874,8.874,14.5,8.5l-3-3c0,0-0.5916-0.5-1.2734-0.5H9.5V4.5 C9.5,4.223,9.277,4,9,4V3h4c1,0,1-1,0-1C13,2,4,2,4,2z M2,4.5c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1s-1-0.4477-1-1 C1,4.9477,1.4477,4.5,2,4.5z M10,6c0.5,0,0.7896,0.3231,1,0.5L13.5,9H10c0,0-1,0-1-1V7C9,7,9,6,10,6z","highway-rest-area":"M13.5,13h-3V9h3a.5.5,0,0,0,.4092-.7871L11.66,5h.84a.5.5,0,0,0,.3838-.82l-2.5-3a.5155.5155,0,0,0-.7676,0l-2.5,3A.5.5,0,0,0,7.5,5h.84L6.0908,8.2129A.5.5,0,0,0,6.5,9h3v4H4V11H5.5a.5.5,0,0,0,0-1h-4a.5.5,0,0,0,0,1H3v2H1.5a.5.5,0,0,0,0,1h12a.5.5,0,0,0,0-1Z",historic:"m7.5 1c-1 0-1 1-2 1h-3.5c-.54467 0-1 .45533-1 1v7c0 .5447.45533 1 1 1h5v2.5s0 .5.5.5.5-.5.5-.5v-2.5h5c.5447 0 1-.4553 1-1v-7c0-.54467-.4553-1-1-1h-3.5c-1 0-1-1-2-1zm-4.5 4v-1h9v1zm0 1h4v1h-4zm0 2h7v1h-7z",home:"M2,13.7478c0,0.13807,0.11193,0.25,0.25,0.25h3.749v-3h3v3h3.749c0.13807,0,0.25-0.11193,0.25-0.25V7.9987H2 C2,7.9987,2,13.7478,2,13.7478z M13.93,6.5778l-0.9319-0.8189V2c0-0.55228-0.44771-1-1-1s-1,0.44772-1,1v2L7.6808,1.09 C7.5863,0.9897,7.42846,0.98478,7.3279,1.079L7.3169,1.09L1.0678,6.553C0.9734,6.65376,0.97856,6.81197,1.07932,6.90637 C1.12478,6.94896,1.18451,6.97304,1.2468,6.9739L3,6.9989h10.7468c0.13807,0.00046,0.25037-0.1111,0.25083-0.24917 C13.99784,6.68592,13.97365,6.62445,13.93,6.5779V6.5778z","horse-riding":"M6,1A1,1,0,1,1,7,2,1,1,0,0,1,6,1ZM8,3.5a.484.484,0,0,0,0-.058A.472.472,0,0,0,7.5,3h-1a.484.484,0,0,0-.058,0A.472.472,0,0,0,6,3.5V7H8Zm6.85,3.644L12.8,4.8l.085-.509a.478.478,0,0,0,.008-.063.25.25,0,0,0-.25-.25.346.346,0,0,0-.158.056L9,7H8L9,8V9.5a.5.5,0,0,1-1,0v-1L6,7H4a1.5,1.5,0,0,0-1.243.661A1.466,1.466,0,0,0,1.563,7H1.5A1.449,1.449,0,0,0,0,8.4v.086A3.781,3.781,0,0,0,.559,10.4a.278.278,0,0,0,.191.1A.25.25,0,0,0,1,10.25V9s-.02-.924.753-1c.5-.048.747.253.747.5V11L2,13v1.75a.25.25,0,0,0,.25.25.254.254,0,0,0,.25-.234V13L4,11v1l.5,2.8a.255.255,0,0,0,.246.2A.25.25,0,0,0,5,14.754H5L4.855,12.3,5.5,11H8v1l.508,2.813A.257.257,0,0,0,8.75,15,.25.25,0,0,0,9,14.75V12l.367-1a1.155,1.155,0,0,0,.543-.6l2.161-3.767a.863.863,0,0,0,1.023.4l1.066.818a.591.591,0,0,0,.35.135.487.487,0,0,0,.475-.4A.552.552,0,0,0,14.85,7.144Z",hospital:"M7,1C6.4,1,6,1.4,6,2v4H2C1.4,6,1,6.4,1,7v1 c0,0.6,0.4,1,1,1h4v4c0,0.6,0.4,1,1,1h1c0.6,0,1-0.4,1-1V9h4c0.6,0,1-0.4,1-1V7c0-0.6-0.4-1-1-1H9V2c0-0.6-0.4-1-1-1H7z","hospital-JP":"m12.5038 3h-10.00777c-.26639.00235-.52096.11039-.70772.30036-.18677.18998-.29046.44634-.28828.71274v5.5807c-.00063.18713.05047.37079.14765.5307.09718.1599.23667.2899.40305.3755l4.78 2.8394c.20725.1056.43653.1606.6691.1606.23258 0 .46186-.055.6691-.1606l4.78037-2.8394c.1664-.0856.3059-.2155.4031-.3755.0972-.15989.1483-.34357.1476-.5307v-5.5807c.0012-.13194-.0237-.2628-.0732-.38512-.0494-.12232-.1225-.2337-.215-.32777-.0925-.09408-.2027-.16901-.3241-.22052-.1215-.05151-.2519-.07859-.3839-.07969zm-2.0038 5.5h-1.99997v2h-2v-2h-2v-2h2v-2h2v2h1.99997z","hot-spring":"M6.682,5.759c-.505-.725-.781-1.121-.63-2.376,.139-1.156,.678-1.616,1.198-2.059,.404-.345,.797-.68,.981-1.324,.301,.722-.036,1.47-.349,2.164-.311,.691-.599,1.329-.211,1.836,.971,1.271,1.963,2.88,.971,4.586-.214,.393-.539,.681-.861,.968-.422,.375-.841,.747-1.004,1.348-.269-.677,.008-1.366,.285-2.052,.306-.759,.61-1.516,.172-2.251-.203-.34-.389-.607-.551-.84Zm3.371-1.174c-.098-.632,.034-1.281,.368-1.809,.367-.45,.701-.642,.991-.81,.345-.199,.627-.362,.83-.877,.289,.684,0,1.188-.304,1.718-.119,.207-.24,.418-.329,.645-.191,.61,.101,.893,.467,1.247,.358,.346,.786,.76,.899,1.617,.083,.635-.036,1.156-.372,1.684-.356,.436-.681,.655-.965,.846-.356,.24-.648,.437-.856,.965-.292-.688,.031-1.259,.353-1.828,.123-.217,.246-.434,.334-.658,.073-.558-.234-.867-.581-1.217-.357-.36-.757-.763-.834-1.523Zm-8.018,0c-.098-.632,.005-1.3,.368-1.809,.376-.528,.729-.717,1.035-.881,.323-.173,.594-.318,.786-.806,.289,.683-.014,1.208-.325,1.749-.122,.212-.246,.427-.336,.655-.152,.385,.131,1.014,.501,1.242,1.002,.801,1.227,2.286,.547,3.353-.366,.448-.704,.648-.999,.823-.353,.209-.645,.382-.849,.898-.278-.656,.008-1.18,.3-1.714,.131-.24,.263-.481,.345-.737,.179-.557-.134-.884-.51-1.277-.349-.365-.752-.785-.863-1.498Zm10.965,4.414c.7,2.616-3.474,3-5.5,3s-6.2-.484-5.5-3c-.633,.316-1,.961-1,1.5,0,1.519,2.91,2.9,6.5,2.9s6.5-1.381,6.5-2.9c0-.539-.367-1.184-1-1.5Z","ice-cream":"M5.44,8.17a3.473,3.473,0,0,0,2-.63A3.5,3.5,0,0,0,9,8.14h.44L8,13.7a.5.5,0,0,1-.92,0Zm6-3.473a2,2,0,0,1-4,0h0a2,2,0,1,1-2-2h.12a2,2,0,1,1,3.75,0h.13A2,2,0,0,1,11.439,4.7Z",industry:"M14,1v12H1V8.72c0.0016-0.1419,0.0634-0.2764,0.17-0.37l3-3.22c0.2074-0.1823,0.5234-0.1618,0.7056,0.0456 C4.9568,5.268,5.0011,5.387,5,5.51v3l3.16-3.37c0.2025-0.1878,0.5188-0.1759,0.7066,0.0266C8.9532,5.2599,9.0009,5.3827,9,5.51V11h3 V1H14z",information:"M7.5,1 C6.7,1,6,1.7,6,2.5S6.7,4,7.5,4S9,3.3,9,2.5S8.3,1,7.5,1z M4,5v1c0,0,2,0,2,2v2c0,2-2,2-2,2v1h7v-1c0,0-2,0-2-2V6c0-0.5-0.5-1-1-1H4 z","jewelry-store":"M12,8.5c0,2.4853-2.0147,4.5-4.5,4.5S3,10.9853,3,8.5c0-1.8483,1.1164-3.4329,2.7099-4.1255l0.1761,0.137l0.7739,0.6019 C5.1366,5.4922,4,6.8611,4,8.5C4,10.4299,5.5701,12,7.5,12S11,10.4299,11,8.5c0-1.6389-1.1366-3.0078-2.6599-3.3866l0.95-0.7388 C10.8836,5.0672,12,6.6517,12,8.5z M7.5,4.5L10,2.5555L9,1H6L5,2.5555l1.5,1.1667L7.5,4.5z",karaoke:"M12.1,2.952A2.988,2.988,0,0,0,6.99,4.917l3.142,3.142A2.988,2.988,0,0,0,12.1,2.952Zm-7.428,5.3L2.55,10.377a1,1,0,0,0,0,1.414l.707.707a1,1,0,0,0,1.414,0l2.121-2.121L8.914,8.255,6.793,6.134Zm.741,2.087-.707-.707L6.793,7.548l.707.707Z",landmark:"M12.5,12H12v-0.5c0-0.3-0.2-0.5-0.5-0.5H11V6h1l1-2c-1,0.1-2,0.1-3,0C9.2,3.4,8.6,2.8,8,2V1.5C8,1.2,7.8,1,7.5,1 S7,1.2,7,1.5V2C6.4,2.8,5.8,3.4,5,4C4,4.1,3,4.1,2,4l1,2h1v5c0,0-0.5,0-0.5,0C3.2,11,3,11.2,3,11.5V12H2.5C2.2,12,2,12.2,2,12.5V13 h11v-0.5C13,12.2,12.8,12,12.5,12z M7,11H5V6h2V11z M10,11H8V6h2V11z","landmark-JP":"m9.5 4c0 .39556-.1173.78224-.33706 1.11114s-.53212.58524-.89757.73662c-.36545.15137-.76759.19098-1.15555.11381s-.74433-.26765-1.02403-.54736c-.27971-.2797-.47019-.63607-.54736-1.02403s-.03756-.79009.11381-1.15555c.15138-.36545.40772-.67781.73662-.89757s.71558-.33706 1.11114-.33706c.53043 0 1.03914.21071 1.41421.58579.37508.37507.58579.88378.58579 1.41421zm-6 4c-.39556 0-.78224.1173-1.11114.33706s-.58524.53212-.73662.89757c-.15137.36546-.19098.76757-.11381 1.15557.07717.3879.26765.7443.54736 1.024.2797.2797.63607.4702 1.02403.5474.38796.0771.7901.0375 1.15555-.1138.36545-.1514.67781-.4078.89757-.7367s.33706-.7155.33706-1.1111c0-.53043-.21071-1.03914-.58579-1.41421-.37507-.37508-.88378-.58579-1.41421-.58579zm8 0c-.3956 0-.7822.1173-1.1111.33706s-.58528.53212-.73666.89757c-.15137.36546-.19098.76757-.11381 1.15557.07717.3879.26765.7443.54737 1.024.2797.2797.6361.4702 1.024.5474.388.0771.7901.0375 1.1556-.1138.3654-.1514.6778-.4078.8975-.7367.2198-.3289.3371-.7155.3371-1.1111 0-.53043-.2107-1.03914-.5858-1.41421-.3751-.37508-.8838-.58579-1.4142-.58579z",landuse:"m8.911 2.85401c.02782.02324.05021.0523.06558.08512.01538.03283.02337.06863.02342.10488v3.706c0 .0663-.02634.12989-.07322.17678-.04689.04688-.11048.07322-.17678.07322h-2.5c-.0663 0-.12989-.02634-.17678-.07322-.04688-.04689-.07322-.11048-.07322-.17678v-1.75h-1v1.75c0 .0663-.02634.12989-.07322.17678-.04689.04688-.11048.07322-.17678.07322h-2.5c-.0663 0-.12989-.02634-.17678-.07322-.04688-.04689-.07322-.11048-.07322-.17678v-3.7c.00005-.03625.00804-.07205.02342-.10488.01537-.03282.03776-.06188.06558-.08512l3.254-2.728c.04413-.0370337.09989-.0573335.1575-.0573335s.11337.0202998.1575.0573335zm-1.159 5.646c-.04915.00002-.09718.01464-.138.042l-2.614 1.95799h-1v-1.99999c0-.13261-.05268-.25979-.14645-.35355-.09376-.09377-.22094-.14645-.35355-.14645s-.25979.05268-.35355.14645c-.09377.09376-.14645.22094-.14645.35355v1.99999h-1v-1.99999c0-.13261-.05268-.25979-.14645-.35355-.09376-.09377-.22094-.14645-.35355-.14645s-.25979.05268-.35355.14645c-.09377.09376-.14645.22094-.14645.35355v4.24999c0 .0663.02634.1299.07322.1768.04689.0469.11048.0732.17678.0732h6.5c.0663 0 .12989-.0263.17678-.0732.04688-.0469.07322-.1105.07322-.1768v-3.99999c.00026-.03274-.00596-.0652-.0183-.09552-.01235-.03032-.03057-.0579-.05363-.08114-.02305-.02324-.05048-.04168-.0807-.05427s-.06263-.01907-.09537-.01907zm6.248-3.255v6.49999c0 .0671-.0267.1315-.0741.1789-.0474.0475-.1118.0741-.1789.0741h-3.494c-.0668 0-.1308-.0264-.1782-.0734s-.0743-.1108-.0748-.1776v-6.49699c-.00013-.03287.0062-.06544.0188-.09583.0125-.03039.0309-.058.0541-.08124.0233-.02324.0509-.04165.0813-.05417s.0629-.01889.0958-.01876h.75v-.751c0-.06604.0262-.12937.0729-.17607s.1101-.07293.1761-.07293h1.5c.0668.00053.1306.02742.1776.07481.047.04738.0734.11144.0734.17819v.747h.755c.065 0 .1273.02581.1732.07176.046.04595.0718.10826.0718.17324zm-1 4.75499h-2v1h2zm0-1.99999h-2v1h2zm0-2h-2v1h2z",laundry:"M8,1L6,3H3c0,0-1,0-1,1v9c0,1,1,1,1,1h9c0,0,1,0,1-1V2c0-1-1-1-1-1 S8,1,8,1z M8.5,2h2C10.777,2,11,2.223,11,2.5S10.777,3,10.5,3h-2C8.223,3,8,2.777,8,2.5S8.223,2,8.5,2z M7.5,6 c1.6569,0,3,1.3431,3,3s-1.3431,3-3,3s-3-1.3431-3-3S5.8431,6,7.5,6z",library:"M1.0819,9.9388C0.9871,9.867,1.0007,9.7479,1.0007,9.7479L1.5259,3.5c0,0,0.0082-0.0688,0.0388-0.104 C1.584,3.374,1.6084,3.342,1.6544,3.3232C2.1826,3.1072,5.0537,1.5519,6.5,3c0.2397,0.2777,0.4999,0.6876,0.4999,1v5.2879 c0,0,0.0062,0.1122-0.0953,0.1801c-0.0239,0.016-0.124,0.0616-0.242,0.0026c-2.2253-1.1134-4.711,0.1546-5.3381,0.4871 C1.1987,10.0244,1.1006,9.9531,1.0819,9.9388z M13.6754,9.9577c-0.6271-0.3325-3.1128-1.6005-5.3381-0.4871 c-0.118,0.059-0.2181,0.0134-0.242-0.0026C7.9939,9.4001,8.0001,9.2879,8.0001,9.2879V4c0-0.3124,0.2602-0.7223,0.4999-1 c1.4463-1.4481,4.2991,0.1071,4.8273,0.3232c0.046,0.0188,0.0704,0.0508,0.0897,0.0728C13.4476,3.4312,13.4558,3.5,13.4558,3.5 l0.5435,6.2479c0,0,0.0136,0.1191-0.0812,0.1909C13.8994,9.9531,13.8013,10.0244,13.6754,9.9577z M8.8647,12.6863 c0.0352-0.0085,0.0964-0.0443,0.1179-0.0775c0.0236-0.0364,0.0378-0.0617,0.0423-0.1088c0.0495-0.9379,1.6245-1.8119,4.6477-0.0298 c0.0775,0.0441,0.1666,0.0396,0.2425-0.0155C14.0014,12.392,14,12.2859,14,12.2859v-0.5542c0,0,0.0003-0.0764-0.0272-0.1184 c-0.0205-0.0312-0.0476-0.0643-0.0926-0.0858c-2.0254-1.3145-4.5858-1.8972-5.8854-0.1592 c-0.0181,0.0423-0.0353,0.0613-0.0728,0.0905C7.8654,11.5028,7.7964,11.5,7.7964,11.5H7.2109c0,0-0.069,0.0028-0.1256-0.0412 c-0.0375-0.0292-0.0547-0.0482-0.0728-0.0905c-1.2996-1.738-3.86-1.1828-5.8854,0.1317c-0.045,0.0215-0.0721,0.0546-0.0926,0.0858 c-0.0275,0.042-0.0272,0.1184-0.0272,0.1184v0.5542c0,0-0.0014,0.1061,0.0849,0.1688c0.0759,0.0551,0.165,0.0596,0.2425,0.0155 c3.0232-1.7821,4.5982-0.8806,4.6477,0.0573c0.0045,0.0471,0.0187,0.0724,0.0423,0.1088c0.0215,0.0332,0.0827,0.069,0.1179,0.0775 C6.8645,12.8656,7.9112,12.9363,8.8647,12.6863z","lift-gate":"M1 4a2 2 0 1 1 4 0v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4Zm3 0a1 1 0 1 0-2 0 1 1 0 0 0 2 0Zm4.5 2L7 3H6v3h2.5ZM10 6h1.5L10 3H8.5L10 6Zm3.25 0H13l-1.5-3h1.75a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-.75.75Z",lighthouse:"M4.5,6L0,7V6.5l4.5-1V6z M4.5,3.5L0,2.5V3l4.5,1V3.5z M10.5,3.5V4L15,3V2.5L10.5,3.5z M10.5,6L15,7V6.5l-4.5-1V6z M8,7V2 h2.5c0.2761,0.0552,0.5448-0.1239,0.6-0.4c0.0552-0.2761-0.1239-0.5448-0.4-0.6l-3-1C7.5696-0.0586,7.4204-0.0586,7.29,0l-3,1 c-0.2761,0.0552-0.4552,0.3239-0.4,0.6S4.2139,2.0552,4.49,2H7v5H5l-2,7h9l-2-7H8z","lighthouse-JP":"M9.5,7.4c0,1.1-0.9,2-2,2s-2-0.9-2-2s0.9-2,2-2C8.6,5.4,9.5,6.3,9.5,7.4z M14,7.5C14,7.8,13.8,8,13.5,8h-1.6 c-0.1,0.9-0.311,1.582-0.911,2.282l1.064,1.064c0.2,0.2,0.196,0.504-0.004,0.704c-0.209,0.209-0.5,0.207-0.704,0.004L10.3,11 c-0.6,0.5-1.4,0.8-2.3,0.9v1.6C8,13.8,7.8,14,7.5,14S7,13.8,7,13.5v-1.6c-0.9-0.1-1.7-0.4-2.3-0.9l-1.1,1.1 c-0.207,0.207-0.48,0.213-0.696-0.004c-0.2-0.2-0.207-0.5-0.007-0.7L4,10.3C3.5,9.7,3.1,8.9,3,8H1.5C1.2,8,1,7.8,1,7.5S1.2,7,1.5,7 H3c0.1-0.9,0.4-1.7,1-2.4l-1-1C2.8,3.4,2.8,3.1,3,2.9s0.5-0.2,0.7,0l1,1l0,0C5.3,3.4,6.1,3.1,7,3V1.5C7,1.2,7.2,1,7.5,1S8,1.2,8,1.5 V3c0.9,0.1,1.7,0.5,2.3,1l0,0l1.1-1.1c0.2-0.2,0.5-0.2,0.7,0s0.2,0.5,0,0.7L11,4.7l0,0c0.5,0.7,0.8,1.4,0.9,2.3h1.6 C13.8,7,14,7.2,14,7.5z M11.1,7.4c0-2-1.6-3.6-3.6-3.6S3.8,5.5,3.8,7.4S5.4,11,7.4,11S11.1,9.4,11.1,7.4z",lodging:"M0.5,2.5C0.2,2.5,0,2.7,0,3v7.5v2C0,12.8,0.2,13,0.5,13S1,12.8,1,12.5V11h13v1.5 c0,0.3,0.2,0.5,0.5,0.5s0.5-0.2,0.5-0.5v-2c0-0.3-0.2-0.5-0.5-0.5H1V3C1,2.7,0.8,2.5,0.5,2.5z M3.5,3C2.7,3,2,3.7,2,4.5l0,0 C2,5.3,2.7,6,3.5,6l0,0C4.3,6,5,5.3,5,4.5l0,0C5,3.7,4.3,3,3.5,3L3.5,3z M7,4C5.5,4,5.5,5.5,5.5,5.5V7h-3C2.2,7,2,7.2,2,7.5v1 C2,8.8,2.2,9,2.5,9H6h9V6.5C15,4,12.5,4,12.5,4H7z",logging:"M13.91,3.41,13.5,3l.2-.28c.02-.03.04-.05.06-.08A.969.969,0,0,0,14,1.99a1,1,0,0,0-1.62-.77c-.03.02-.06.05-.09.07L12,1.5l-.386-.386a.354.354,0,0,0-.525.475l.417.417-.5.5-.392-.392a.354.354,0,0,0-.525.475L10.5,3l-.5.5-.381-.381a.354.354,0,1,0-.528.472h0l.028.028L9.5,4,9,4.5l-.395-.395a.354.354,0,0,0-.517.483L8.5,5,8,5.5l-.365-.365a.354.354,0,0,0-.556.439h0C7.1,5.6,7.508,6,7.508,6L7,6.5l-.394-.392a.392.392,0,0,0-.5-.028.384.384,0,0,0-.028.5L6.1,6.6l.4.4L6,7.5l-.4-.4a.37.37,0,0,0-.5,0L6.248,8.244,12.09,2.41,12.5,2H13v.5l-.41.41L6.751,8.749,7.9,9.9a.355.355,0,0,0,0-.5l-.008-.009L7.5,9,8,8.5l.384.384a.354.354,0,0,0,.528-.472L8.5,8,9,7.5l.38.38a.354.354,0,0,0,.528-.472l-.02-.02L9.5,7l.5-.5.377.377A.35.35,0,0,0,10.64,7a.347.347,0,0,0,.252-.6L10.5,6l.5-.5.38.38a.354.354,0,0,0,.528-.472L11.88,5.38,11.5,5l.5-.5.381.381a.354.354,0,0,0,.528-.472l-.025-.025L12.5,4l.5-.5.382.382a.354.354,0,0,0,.528-.472ZM4.39,7.916C3.893,7.419,3.641,7,3,7H1.5a.5.5,0,0,0-.5.5v3A2.19,2.19,0,0,0,1.5,12l.815.811A2.251,2.251,0,0,0,5.493,13h0L7.5,11ZM3.5,10,2.262,11.238A1.3,1.3,0,0,1,2,10.5V8H3a.545.545,0,0,1,.335.194.455.455,0,0,1,.165.418Z",marker:"M7.5 1C5.42312 1 3 2.2883 3 5.56759C3 7.79276 6.46156 12.7117 7.5 14C8.42309 12.7117 12 7.90993 12 5.56759C12 2.2883 9.57688 1 7.5 1Z","marker-stroked":"M5.11697 2.81756C5.76952 2.26561 6.65195 2 7.5 2C8.34805 2 9.23048 2.26561 9.88303 2.81756C10.5075 3.34579 11 4.20017 11 5.56759C11 5.94031 10.8461 6.52407 10.5105 7.29145C10.1859 8.03354 9.73523 8.85087 9.24257 9.65811C8.64175 10.6426 7.999 11.5793 7.48195 12.3097C6.96023 11.5798 6.31599 10.6233 5.71947 9.62296C5.2343 8.80934 4.79303 7.98717 4.47608 7.24844C4.14708 6.48162 4 5.91216 4 5.56759C4 4.20017 4.49248 3.34579 5.11697 2.81756ZM8.10767 13.1554C9.45904 11.2632 12 7.54181 12 5.56759C12 2.2883 9.57688 1 7.5 1C5.42312 1 3 2.2883 3 5.56759C3 7.44926 5.47533 11.2572 6.86751 13.1671C7.12165 13.5157 7.3397 13.8011 7.5 14C7.55627 13.9215 7.62241 13.8299 7.697 13.7266C7.81469 13.5636 7.95343 13.3714 8.10767 13.1554Z","mobile-phone":"M10,2h0V1.5a.5.5,0,0,0-1,0V2H5A1,1,0,0,0,4,3V13a1,1,0,0,0,1,1h5a1,1,0,0,0,1-1V3A1,1,0,0,0,10,2ZM6,13H5V12H6Zm0-2H5V10H6ZM6,9H5V8H6Zm2,4H7V12H8Zm0-2H7V10H8ZM8,9H7V8H8Zm2,4H9V12h1Zm0-2H9V10h1Zm0-2H9V8h1Zm0-2.5a.5.5,0,0,1-.5.5h-4A.5.5,0,0,1,5,6.5v-3A.5.5,0,0,1,5.5,3h4a.5.5,0,0,1,.5.5Z",monument:"M7.5,0L6,2.5v7h3v-7L7.5,0z M3,11.5 L3,15h9v-3.5L10.5,10h-6L3,11.5z","monument-JP":"M12,13H4c-0.5,0-1-0.5-1-1V5c0-2,0.8-4,4-4c3.1,0,4,2,4,4v6h1c0.5,0,1,0.5,1,1S12.5,13,12,13z M5,11h4V5c0-1,0-2-2-2 S5,4,5,5V11z",mountain:"m7.5 1c-.3 0-.4.2-.6.4l-5.8 9.5c-.1.1-.1.3-.1.4 0 .5.4.7.7.7h11.6c.4 0 .7-.2.7-.7 0-.2 0-.2-.1-.4l-5.7-9.5c-.2-.2-.4-.4-.7-.4zm0 1.5 3.3 5.5h-.8l-1.5-1.5-1 1.5-1-1.5-1.5 1.5h-.9z",museum:"M7.5,0L1,3.5V4h13V3.5L7.5,0z M2,5v5l-1,1.6V13h13v-1.4L13,10V5H2z M4,6h1v5.5H4V6z M7,6h1v5.5H7V6z M10,6h1 v5.5h-1V6z",music:"m12.5 0c-.0804.0008-.1594.0213999-.23.0599999l-8.77 2.4400001c-.2761 0-.5.2239-.5.5v6.28c-.3029-.1798-.6478-.2763-1-.28-1.1046 0-2 .8954-2 2s.8954 2 2 2 2-.8954 2-2v-4.64l8-2.22v3.64c-.3029-.1798-.6478-.2763-1-.28-1.1046 0-2 .8954-2 2s.8954 2 2 2 2-.8954 2-2v-9c0-.2761-.2239-.5-.5-.5zm-.5 3.14-8 2.22v-2l8-2.22z",natural:"M8.753,6.278a.5.5,0,0,1-.51,0A4.109,4.109,0,0,1,6.5,3.5a2.779,2.779,0,0,0-.59-1.506l-.019-.027a.257.257,0,0,1-.056-.144.237.237,0,0,1,.25-.25.264.264,0,0,1,.057.011A3.523,3.523,0,0,1,7.5,2.5L8.28.94a.246.246,0,0,1,.44,0L9.5,2.5a3.4,3.4,0,0,1,1.339-.907.283.283,0,0,1,.1-.021c.175.009.212.119.221.249a.35.35,0,0,1-.043.141A5.2,5.2,0,0,0,10.5,3.5,4.113,4.113,0,0,1,8.753,6.278ZM5,8H6.289a.25.25,0,0,0,.25-.25.241.241,0,0,0-.061-.15L4.7,5.235a.255.255,0,0,0-.391,0L2.518,7.589a.274.274,0,0,0-.062.161.25.25,0,0,0,.25.25H4L1.335,10.6a.273.273,0,0,0-.058.152A.25.25,0,0,0,1.529,11H3L1.435,12.565a.255.255,0,0,0,.18.435H4v1H5V13H7.385a.255.255,0,0,0,.18-.435L6,11H7.471a.25.25,0,0,0,.25-.25.233.233,0,0,0-.058-.149Zm9.345,3.748a.252.252,0,0,1-.252.252H8.908a.252.252,0,0,1-.226-.365L11.27,6.451a.252.252,0,0,1,.451,0l2.6,5.184h0A.251.251,0,0,1,14.345,11.748ZM12.75,10,11.5,7.5,10.25,10Z","observation-tower":"M12 12.5H11.5L10 9V7C10.9951 7 10.9951 6.25 10.9951 6.25L11.5 3C11.5 3 11.5 2.5 11 2.5H10C10 2.5 10 2 9.5 2H8.5V1.5C8.5 1.5 8.5 0.5 7.5 0.5C6.5 0.5 6.5 1.5 6.5 1.5V2H5.5C5 2 5 2.5 5 2.5H4C3.5 2.5 3.5 3 3.5 3L4.0049 6.25C4.0049 6.25 4.0049 7 5 7V9L3.5 12.5H3C3 12.5 2 12.5 2 13.25C2 14 3 14 3 14H12C12 14 13 14 13 13.25C13 12.5 12 12.5 12 12.5ZM10.25 3.5L10 5H5L4.75 3.4971L10.25 3.5ZM8.5 7V8H6.5V7H8.5ZM6.5006 9.4971H8.4994L9.5 12.5H5.5L6.5006 9.4971Z",optician:"M1.78483 3.81169C2.03375 3.31421 2.54231 3 3.09859 3C3.48821 3 3.86186 3.15477 4.13736 3.43027L4.85354 4.14645C5.0488 4.34171 5.0488 4.65829 4.85354 4.85355C4.65827 5.04882 4.34169 5.04882 4.14643 4.85355L3.43017 4.1373C3.34226 4.04939 3.22303 4 3.09871 4C2.92116 4 2.75884 4.10032 2.67944 4.25912L1.309 7H5.2476C6.0654 7 6.7487 7.5656 6.941 8.3245C7.1146 8.2834 7.3009 8.25 7.5 8.25C7.6991 8.25 7.8854 8.2835 8.059 8.3246C8.2513 7.5656 8.9344 7 9.752 7H13.691L12.3206 4.25912C12.2412 4.10032 12.0788 4 11.9013 4C11.777 4 11.6577 4.04939 11.5698 4.1373L10.8536 4.85355C10.6583 5.04882 10.3417 5.04882 10.1465 4.85355C9.9512 4.65829 9.9512 4.34171 10.1465 4.14645L10.8626 3.43027C11.1381 3.15477 11.5118 3 11.9014 3C12.4577 3 12.9663 3.31421 13.2152 3.81169L14.9414 7.26172L14.9404 7.26308C14.9784 7.33359 15 7.41428 15 7.5V8.5C15 8.7761 14.7761 9 14.5 9H14V9.5C14 11.0889 12.998 12 11.25 12H10.75C9.002 12 8 11.0889 8 9.5V9.3413C7.8499 9.2933 7.6693 9.25 7.5 9.25C7.3307 9.25 7.1503 9.2933 7 9.3413V9.5C7 11.0889 5.9976 12 4.25 12H3.75C2.0024 12 1 11.0889 1 9.5V9H0.4992C0.2235 9 0 8.7765 0 8.5007V7.5C0 7.41428 0.0215731 7.33359 0.0595866 7.26308L0.0585938 7.26172L1.78483 3.81169ZM9.752 8C9.3369 8 9 8.3374 9 8.7524V9.5C9 10.1982 9.1992 11 10.75 11H11.25C12.8008 11 13 10.1982 13 9.5V8.7529C13 8.3379 12.6621 8 12.2471 8H9.752ZM2.7529 8C2.3379 8 2 8.3374 2 8.7524V9.5C2 10.1982 2.1987 11 3.75 11H4.25C5.8013 11 6 10.1982 6 9.5V8.7524C6 8.3374 5.6626 8 5.2475 8H2.7529Z",paint:"m13.5 3.5h-1v-.9973c0-.2777-.2251-.5027-.5027-.5027h-10.4946c-.2776 0-.5027.225-.5027.5027v2.9946c0 .2776.2251.5027.5027.5027h10.4946c.2776 0 .5027-.2251.5027-.5027v-.9973h.5v3.1021l-6.1123 1.4106c-.2271.0527-.3877.2549-.3877.4873v1.5074c-.2783.02-.5.246-.5.5295v2.9261c0 .2966.2404.537.5369.537h.9261c.2966 0 .537-.2404.537-.5369v-2.9261c0-.2834-.2217-.5095-.5-.5295v-1.11l6.1123-1.4102c.2266-.0522.3877-.2544.3877-.4873v-4c0-.2764-.2236-.5-.5-.5z",park:"M14,5.75c0.0113-0.6863-0.3798-1.3159-1-1.61C12.9475,3.4906,12.4014,2.9926,11.75,3 c-0.0988,0.0079-0.1962,0.0281-0.29,0.06c-0.0607-0.66-0.6449-1.1458-1.3048-1.0851C9.8965,1.9987,9.6526,2.1058,9.46,2.28l0,0 c0-0.6904-0.5596-1.25-1.25-1.25S6.96,1.5896,6.96,2.28C6.96,2.28,7,2.3,7,2.33C6.4886,1.8913,5.7184,1.9503,5.2797,2.4618 C5.1316,2.6345,5.0347,2.8451,5,3.07C4.8417,3.0195,4.6761,2.9959,4.51,3C3.6816,2.9931,3.0044,3.659,2.9975,4.4874 C2.9958,4.6872,3.0341,4.8852,3.11,5.07C2.3175,5.2915,1.8546,6.1136,2.0761,6.9061C2.2163,7.4078,2.6083,7.7998,3.11,7.94 c0.2533,0.7829,1.0934,1.2123,1.8763,0.959C5.5216,8.7258,5.9137,8.2659,6,7.71C6.183,7.8691,6.4093,7.9701,6.65,8v5L5,14h5l-1.6-1 v-2c0.7381-0.8915,1.6915-1.5799,2.77-2c0.8012,0.1879,1.603-0.3092,1.7909-1.1103C12.9893,7.7686,13.0025,7.6444,13,7.52 c0.0029-0.0533,0.0029-0.1067,0-0.16C13.6202,7.0659,14.0113,6.4363,14,5.75z M8.4,10.26V6.82C8.6703,7.3007,9.1785,7.5987,9.73,7.6 h0.28c0.0156,0.4391,0.2242,0.849,0.57,1.12C9.7643,9.094,9.0251,9.6162,8.4,10.26z","park-alt1":"M9.428,10.429a.269.269,0,0,1-.074-.18A.25.25,0,0,1,9.6,10h1.447a.25.25,0,0,0,.25-.25.258.258,0,0,0-.079-.179L9.07,7.419a.3.3,0,0,1-.063-.17A.249.249,0,0,1,9.257,7H10.4a.251.251,0,0,0,.25-.251.247.247,0,0,0-.077-.178L8.432,4.434,8.418,4.42a.262.262,0,0,1-.066-.17A.25.25,0,0,1,8.6,4h.866a.25.25,0,0,0,.25-.25.246.246,0,0,0-.068-.164h.006L7.7,1.238a.253.253,0,0,0-.042-.044A.249.249,0,0,0,7.5,1.139h0a.249.249,0,0,0-.158.055.253.253,0,0,0-.042.044L5.352,3.586a.246.246,0,0,0-.068.164.25.25,0,0,0,.25.25H6.4a.241.241,0,0,1,.184.42l-.014.014L4.431,6.571a.247.247,0,0,0-.077.178A.251.251,0,0,0,4.6,7H5.745a.249.249,0,0,1,.25.249.3.3,0,0,1-.063.17L3.782,9.571A.258.258,0,0,0,3.7,9.75a.25.25,0,0,0,.25.25H5.4a.25.25,0,0,1,.248.249.269.269,0,0,1-.074.18l-2.14,2.132-.009.009a.248.248,0,0,0,0,.351A.256.256,0,0,0,3.605,13H7v1l1-.008V13h3.391a.263.263,0,0,0,.26-.254.248.248,0,0,0-.071-.177Z",parking:"M4 2V13H6V9H8.5C10.433 9 12 7.433 12 5.5C12 3.567 10.433 2 8.5 2H4ZM6 7V4H8.5C9.32843 4 10 4.67157 10 5.5C10 6.32843 9.32843 7 8.5 7H6Z","parking-garage":"M10.5,10.14c-0.6637,0.4788-1.4732,0.7121-2.29,0.66h-1.9V14h-1.9V5h3.92 c0.7801-0.0414,1.5484,0.2041,2.16,0.69c0.5779,0.5595,0.875,1.3483,0.81,2.15C11.4042,8.6892,11.1088,9.5388,10.5,10.14z M9,6.9 C8.711,6.6881,8.3579,6.5822,8,6.6H6.31v2.65H8c0.3612,0.0191,0.717-0.0947,1-0.32c0.2559-0.2675,0.3867-0.6308,0.36-1 C9.4072,7.5493,9.274,7.1684,9,6.9z M14.41,4.21c0.114-0.2486,0.007-0.5427-0.24-0.66L7.5,0.45l-6.71,3.1 C0.5387,3.666,0.429,3.9637,0.545,4.215C0.661,4.4663,0.9587,4.576,1.21,4.46l0,0L7.5,1.55l6.29,2.9 c0.2486,0.114,0.5427,0.007,0.66-0.24H14.41z","parking-paid":"M1 13V2h4.5a3.5 3.5 0 0 1 3.21 2.103 3.36 3.36 0 0 0-.504.676c-.23.41-.232.837-.174 1.154l.3 1.625A3.495 3.495 0 0 1 5.5 9H3v4H1Zm4.5-6a1.5 1.5 0 1 0 0-3H3v3h2.5Zm3.516-1.248a.716.716 0 0 1 .062-.484C9.315 4.848 9.978 4 11.5 4c1.521 0 2.185.847 2.421 1.268a.716.716 0 0 1 .064.484L13.019 11H12v2h-1v-2H9.981l-.965-5.248ZM12.75 7 13 5.655C12.83 5.409 12.42 5 11.5 5s-1.33.41-1.5.655L10.25 7h2.5Z",pharmacy:"M9.5,4l1.07-1.54c0.0599,0.0046,0.1201,0.0046,0.18,0c0.6904-0.0004,1.2497-0.5603,1.2494-1.2506 C11.999,0.519,11.4391-0.0404,10.7487-0.04C10.0584-0.0396,9.499,0.5203,9.4994,1.2106c0,0.0131,0.0002,0.0262,0.0006,0.0394 c0,0,0,0.07,0,0.1L7,4H9.5z M12,6V5H3v1l1.5,3.5L3,13v1h9v-1l-1-3.5L12,6z M10,10H8v2H7v-2H5V9h2V7h1v2h2V10z","picnic-site":"M4,3C3.446,3,3,3.446,3,4s0.446,1,1,1h1.2969 L4.6523,7H2.5c-0.554,0-1,0.446-1,1s0.446,1,1,1h1.5098L3.041,12.0098c-0.1284,0.3939,0.0868,0.8173,0.4807,0.9457 s0.8173-0.0868,0.9457-0.4807c0.0005-0.0013,0.0009-0.0027,0.0013-0.004L5.5859,9h3.8281l1.1172,3.4707 c0.1273,0.3943,0.5501,0.6107,0.9443,0.4834s0.6107-0.5501,0.4834-0.9443l0,0L10.9902,9H12.5c0.554,0,1-0.446,1-1s-0.446-1-1-1 h-2.1523L9.7031,5H11c0.554,0,1-0.446,1-1s-0.446-1-1-1H4z M6.873,5H8.127l0.6445,2h-2.543L6.873,5z",pitch:"M5,3C4.4477,3,4,2.5523,4,2s0.4477-1,1-1s1,0.4477,1,1S5.5523,3,5,3z M12.5,10H10L9,7L8,5.25L9,5l2.3,1l0,0 c0.2761,0.1105,0.5895-0.0239,0.7-0.3S11.9761,5.1105,11.7,5l0,0L9,4H7L5,5L4,6H2.5C2.2239,6,2,6.2239,2,6.5S2.2239,7,2.5,7H5l1-1 l1,2l-2,2v3.5C5,13.7761,5.2239,14,5.5,14S6,13.7761,6,13.5v-3.11L8,9l1,2h3.5c0.2761,0,0.5-0.2239,0.5-0.5S12.7761,10,12.5,10z","place-of-worship":"M7.5,0l-2,2v2h4V2 L7.5,0z M5.5,4.5L4,6h7L9.5,4.5H5.5z M2,6.5c-0.5523,0-1,0.4477-1,1V13h2V7.5C3,6.9477,2.5523,6.5,2,6.5z M4,6.5V13h7V6.5H4z M13,6.5c-0.5523,0-1,0.4477-1,1V13h2V7.5C14,6.9477,13.5523,6.5,13,6.5z",playground:"m3.00002 1.15c.2091-.8016 1.0284-1.2819 1.83-1.0729s1.2819 1.0284 1.0729 1.83c-.2003.7681-.9643 1.2471-1.7429 1.0929-.8126-.161-1.3409-.9502-1.18-1.7629.0058-.0292.0125-.0583.02-.0871zm10.99998 11.17c.1032.5426-.2531 1.066-.7956 1.1692-.0015.0003-.0029.0006-.0044.0008-.4252.086-.8574-.1119-1.07-.49l-1.68-3.37-1.44998.29-.22.08h-.06v2.15l.62-.15h.14c.2871.0054.5155.2425.5101.5297-.0039.2064-.1295.391-.3201.4703l-5 1c-.0563.0095-.1137.0095-.17 0-.2872 0-.52-.2328-.52-.52 0-.2099.1262-.3993.32-.48l4.15-.83v-2.17l-3.22.58c-.164.0423-.336.0423-.5 0-.3394-.0867-.6088-.3446-.71-.68h-.02l-1-4.07c-.0312-.1416-.0312-.2884 0-.43.0936-.387.4078-.6815.8-.75l4.7-.52v-4.13h.22v4.1h.06l.22-.02.4-.08h.21c.2673.0643.43258.3323.37.6-.0439.235-.251.4041-.49.4l-.49.08h-.22-.06v2.86h.06l.22-.06 1.80998-.36c.4275-.0352.8299.2062 1 .6l2 3.94c.077.0758.1411.1636.19.26zm-5.49998-7.19-2.5.27.74 2.94 1.76-.34z",police:"M5.5,1L6,2h5l0.5-1H5.5z M6,2.5v1.25c0,0,0,2.75,2.5,2.75S11,3.75,11,3.75V2.5H6z M1.9844,3.9863 C1.4329,3.9949,0.9924,4.4485,1,5v4c-0.0001,0.6398,0.5922,1.1152,1.2168,0.9766L5,9.3574V14l5.8789-6.9297 C10.7391,7.0294,10.5947,7,10.4414,7H6.5L3,7.7539V5C3.0077,4.4362,2.5481,3.9775,1.9844,3.9863z M11.748,7.7109L6.4121,14H12 V8.5586C12,8.2451,11.9061,7.9548,11.748,7.7109z","police-JP":"M7.5,1A6.5,6.5,0,1,0,14,7.5,6.5,6.5,0,0,0,7.5,1Zm2.6,2.84L7.5,6.44,4.9,3.84A4.4428,4.4428,0,0,1,10.1,3.84ZM3.84,4.9007,6.4394,7.5l-2.6,2.5993A4.4429,4.4429,0,0,1,3.84,4.9007ZM4.9,11.16l2.6-2.6,2.6,2.6A4.4428,4.4428,0,0,1,4.9,11.16Zm6.26-1.0606L8.5606,7.5l2.6-2.5993a4.4429,4.4429,0,0,1-.0006,5.1986Z",post:"M13.5 3.65139C13.5 3.86918 13.3912 4.07257 13.2099 4.19338L7.5 8L1.79006 4.19338C1.60885 4.07257 1.5 3.86918 1.5 3.65139C1.5 3.29164 1.79164 3 2.15139 3L12.8486 3C13.2084 3 13.5 3.29164 13.5 3.65139Z M13.5 5.96713V11C13.5 11.5523 13.0523 12 12.5 12H2.5C1.94772 12 1.5 11.5523 1.5 11L1.5 5.96713C1.5 5.76746 1.72254 5.64836 1.88868 5.75912L7.5 9.5L13.1113 5.75912C13.2775 5.64836 13.5 5.76746 13.5 5.96713Z","post-JP":"m1.5 4c0-.26522.10536-.51957.29289-.70711.18754-.18753.44189-.29289.70711-.29289h10c.2652 0 .5196.10536.7071.29289.1875.18754.2929.44189.2929.70711s-.1054.51957-.2929.70711c-.1875.18753-.4419.29289-.7071.29289h-10c-.26513 0-.51941-.10529-.70693-.29272-.18752-.18742-.29294-.44165-.29307-.70678zm11 2.5h-10c-.26522 0-.51957.10536-.70711.29289-.18753.18754-.29289.44189-.29289.70711s.10536.51957.29289.70711c.18754.18753.44189.29289.70711.29289h4v4.5c0 .2652.10536.5196.29289.7071.18754.1875.44189.2929.70711.2929s.51957-.1054.70711-.2929c.18753-.1875.29289-.4419.29289-.7071v-4.5h4c.2652 0 .5196-.10536.7071-.29289.1875-.18754.2929-.44189.2929-.70711s-.1054-.51957-.2929-.70711c-.1875-.18753-.4419-.29289-.7071-.29289z",prison:"M3.5,1v13H12V1H3.5z M9.5,2H11v3.5H9.5V2z M4.5,2.0547H6V7H4.5V2.0547z M7,2.0547h1.5V7H7V2.0547z M10.25,6.5 C10.6642,6.5,11,6.8358,11,7.25S10.6642,8,10.25,8l0,0C9.8358,8,9.5,7.6642,9.5,7.25l0,0C9.5,6.8358,9.8358,6.5,10.25,6.5z M7,8 h1.4727L8.5,13H7.0273L7,8z M4.5,8.166H6V13H4.5V8.166z M9.5,9H11v4H9.5V9z",racetrack:"M4.99321 1.58228C5.03861 1.30989 4.8546 1.05228 4.58222 1.00688C4.30983 0.961484 4.05222 1.14549 4.00682 1.41788L2.00682 13.4179C1.96142 13.6903 2.14543 13.9479 2.41782 13.9933C2.6902 14.0387 2.94782 13.8547 2.99321 13.5823L3.6632 9.56238C4.46947 9.67976 5.3398 9.7187 6.026 10.2C6.45057 10.505 6.94151 10.7047 7.45839 10.7828C8.424 10.9286 9.28807 10.3976 10.242 10.549L11.531 10.743C11.7908 10.7822 12.0609 10.5828 12.1 10.323L12.984 4.38899L12.988 4.38499C13.0241 4.12469 12.8213 3.85686 12.561 3.82099L11.272 3.62699C10.3092 3.48421 9.44342 3.9997 8.48942 3.85618C8.06155 3.79181 7.65443 3.62915 7.3 3.38099C6.56128 2.86385 5.68119 2.77814 4.81426 2.656L4.99321 1.58228ZM4.40351 5.12049L4.73218 3.14849C5.33161 3.22962 5.96556 3.27693 6.521 3.51699L6.22626 5.48223C5.65576 5.24949 5.01279 5.2037 4.40351 5.12049ZM3.74549 9.0686L4.07436 7.09542C4.69451 7.18147 5.35159 7.22405 5.933 7.46299L6.23273 5.48673C6.89067 5.75614 7.3918 6.21952 8.126 6.32799L8.426 4.34799C9.16402 4.45947 9.77459 4.17131 10.484 4.11399L10.184 6.07999C9.47389 6.1406 8.85956 6.44062 8.124 6.32999L7.83802 8.30784C7.10186 8.19874 6.59996 7.73286 5.939 7.46399L5.639 9.43999C5.04421 9.20148 4.3764 9.15882 3.74549 9.0686ZM7.83898 8.30813C8.57282 8.41936 9.19002 8.11708 9.9 8.05799L10.184 6.07999C10.8385 6.01968 11.5087 6.19133 12.152 6.28899L11.872 8.26499C11.2277 8.16793 10.5563 7.99624 9.901 8.05799L9.601 10.034C8.89229 10.0817 8.26589 10.3943 7.539 10.284L7.83898 8.30813Z","racetrack-boat":"m10.0643 11.2159c.4691-.5125.9358-1.0224 1.5938-1.2417.9212-.3071 1.5902.0778 1.8665.2805.7241.531 1.3904-.2204.5914-.8064-.4269-.3131-1.4451-.86577-2.7741-.4228-.7202.2401-1.2127.7667-1.70487 1.2931-.40012.4279-.80009.8556-1.32212 1.1291-.61911.3243-1.06486-.0266-1.06486-.6352v-.0121c.00021-.7982-.40819-1.3004-1.25-1.3004-.49071 0-.99216.2582-1.50001.5-1.17511.5596-2.31799 1.2859-3.31714 2.1134-.210639.1751-.243189.4951-.06696.7066.2505.3006.58076.1621.82938-.0379.41361-.3329 1.78116-1.3913 2.93376-1.94.47652-.227.86169-.3421 1.12097-.3421.24997 0 .24997.1016.24997.3396-.00202 1.3264 1.29025 2.1428 2.52893 1.4939.50415-.2641.89557-.6917 1.28535-1.1176zm-7.56426-2.2159c1.5-1 3.25492-2 5-2 .75 0 .75.375.75.75s0 .75.75.75c2.52746 0 5.36316-3.21377 5.49996-5.5l-2.5 1-2.34195-.97445c-.61176-.20392-.92799.74476-.31623.94868l1.15818.52577-1.49996.5-4-1.25c-.23606-.07869-.38872.02744-.5.25l-1.5 3-2.00004 1zm2.5-7c0-.5523.4477-1 1-1s1 .4477 1 1-.4477 1-1 1-1-.4477-1-1z","racetrack-cycling":"M8 1L11 4H12C14 4 14 1 12 1H8ZM8.463 3C8.34323 3.00901 8.2307 3.06084 8.146 3.146L5.646 5.646C5.59615 5.69579 5.55739 5.75555 5.53225 5.82136C5.50711 5.88718 5.49617 5.95757 5.50014 6.02791C5.5041 6.09825 5.52289 6.16696 5.55526 6.22953C5.58764 6.2921 5.63287 6.34713 5.688 6.391L7.846 8.117L6.57 10.242C6.50157 10.356 6.48125 10.4926 6.51351 10.6216C6.54577 10.7506 6.62796 10.8616 6.742 10.93C6.85604 10.9984 6.9926 11.0187 7.12162 10.9865C7.25065 10.9542 7.36157 10.872 7.43 10.758L8.93 8.258C8.99256 8.15404 9.01519 8.03088 8.99366 7.91148C8.97214 7.79207 8.90793 7.68457 8.813 7.609L7.304 6.402L9 4.707L10.146 5.854C10.1925 5.9004 10.2477 5.93718 10.3085 5.96223C10.3692 5.98728 10.4343 6.00012 10.5 6H13C13.1326 6 13.2598 5.94732 13.3536 5.85355C13.4473 5.75979 13.5 5.63261 13.5 5.5C13.5 5.36739 13.4473 5.24021 13.3536 5.14645C13.2598 5.05268 13.1326 5 13 5H10.707L8.854 3.146C8.80319 3.09493 8.74195 3.05545 8.67446 3.03025C8.60698 3.00505 8.53484 2.99473 8.463 3ZM2.949 7C2.16222 7.01338 1.4122 7.33534 0.860573 7.89651C0.308947 8.45767 -0.000113683 9.21311 3.13683e-08 10C3.13683e-08 10.7956 0.316071 11.5587 0.87868 12.1213C1.44129 12.6839 2.20435 13 3 13C3.79565 13 4.55871 12.6839 5.12132 12.1213C5.68393 11.5587 6 10.7956 6 10C6.00006 9.60179 5.92083 9.20756 5.76695 8.84028C5.61307 8.47301 5.38761 8.14004 5.10372 7.8608C4.81982 7.58157 4.48318 7.36164 4.11341 7.21385C3.74364 7.06606 3.34815 6.99336 2.95 7H2.949ZM11.949 7C11.1622 7.01338 10.4122 7.33534 9.86057 7.89651C9.30895 8.45767 8.99989 9.21311 9 10C9 10.7956 9.31607 11.5587 9.87868 12.1213C10.4413 12.6839 11.2044 13 12 13C12.7956 13 13.5587 12.6839 14.1213 12.1213C14.6839 11.5587 15 10.7956 15 10C15.0001 9.60179 14.9208 9.20756 14.767 8.84028C14.6131 8.47301 14.3876 8.14004 14.1037 7.8608C13.8198 7.58157 13.4832 7.36164 13.1134 7.21385C12.7436 7.06606 12.3482 6.99336 11.95 7H11.949ZM12.049 8C12.5709 8.01279 13.0671 8.22914 13.4316 8.60283C13.7962 8.97653 14.0002 9.47795 14 10C14 10.5304 13.7893 11.0391 13.4142 11.4142C13.0391 11.7893 12.5304 12 12 12C11.4696 12 10.9609 11.7893 10.5858 11.4142C10.2107 11.0391 10 10.5304 10 10C9.99992 9.73318 10.0532 9.46904 10.1568 9.22314C10.2603 8.97724 10.4121 8.75455 10.603 8.56818C10.7939 8.3818 11.0202 8.23552 11.2686 8.13794C11.5169 8.04036 11.7823 7.99346 12.049 8V8Z","racetrack-horse":"M10 1C9.73478 1 9.48043 1.10536 9.29289 1.29289C9.10536 1.48043 9 1.73478 9 2C9 2.26522 9.10536 2.51957 9.29289 2.70711C9.48043 2.89464 9.73478 3 10 3C10.2652 3 10.5196 2.89464 10.7071 2.70711C10.8946 2.51957 11 2.26522 11 2C11 1.73478 10.8946 1.48043 10.7071 1.29289C10.5196 1.10536 10.2652 1 10 1ZM5.5 3C5.25 3 4.5 3 5 3.75L6.25 6H4.5C4.223 6.003 3.983 6.1 3.75 6.25C2.944 5.121 2.242 5.552 1.51 6C1.107 6.247 0.694 6.499 0.25 6.5C0.184332 6.50201 0.121902 6.52899 0.0754461 6.57545C0.0289898 6.6219 0.00200653 6.68433 0 6.75C0.00200653 6.81567 0.0289898 6.8781 0.0754461 6.92455C0.121902 6.97101 0.184332 6.99799 0.25 7C0.626 7.02 1.057 6.907 1.488 6.793C2.144 6.62 2.798 6.448 3.254 6.75C3.16 6.937 3 7.5 3 8L2.998 9.51C2.792 9.714 2.619 9.633 2.443 9.55C2.303 9.485 2.16 9.42 2 9.5L1 12.45C1 12.7 1.393 12.752 1.5 12.5L2.25 10.744C2.998 10.744 4.5 10 5 9L9 10L11.5 12.5C11.697 12.697 12.12 12.362 11.96 12.115L10 9L12 6.5C12.248 7 12.495 7 12.986 7H13L13.6 7.75C13.988 8.235 14.82 7.743 14.5 7.25L12.834 4.79L13 4.5C13.062 4.313 12.637 3.924 12.5 4L10.5 5.5L8.89 3.187C8.84314 3.12862 8.78377 3.08151 8.71627 3.04915C8.64877 3.01678 8.57486 2.99999 8.5 3H5.5ZM9 5.25L9.5 6L6.777 7.916C6.72243 7.95469 6.66065 7.98204 6.59532 7.99643C6.52999 8.01081 6.46244 8.01194 6.39666 7.99975C6.33089 7.98756 6.26823 7.96229 6.2124 7.92545C6.15656 7.8886 6.10869 7.84093 6.07162 7.78525C6.03454 7.72957 6.00901 7.66701 5.99655 7.60129C5.98409 7.53556 5.98494 7.46801 5.99905 7.40262C6.01317 7.33723 6.04026 7.27534 6.07873 7.22061C6.1172 7.16588 6.16626 7.11943 6.223 7.084L9 5.25Z",rail:"M 3 1 C 2.4477 1 2 1.4477 2 2 L 2 10 C 2 10.5523 2.4477 11 3 11 L 12 11 C 12.5523 11 13 10.5523 13 10 L 13 2 C 13 1.4477 12.5523 1 12 1 L 3 1 z M 5.75 1.5 L 5.7597656 1.5 L 9.2597656 1.5 C 9.3978656 1.5 9.5097656 1.6119 9.5097656 1.75 C 9.5097656 1.8881 9.3978656 2 9.2597656 2 L 5.75 2 C 5.6119 2 5.5 1.8881 5.5 1.75 C 5.5 1.6119 5.6119 1.5 5.75 1.5 z M 3.5 3 L 7 3 L 7 7 L 3.5 7 C 3.2239 7 3 6.7761 3 6.5 L 3 3.5 C 3 3.2239 3.2239 3 3.5 3 z M 8 3 L 11.5 3 C 11.7761 3 12 3.2239 12 3.5 L 12 6.5 C 12 6.7761 11.7761 7 11.5 7 L 8 7 L 8 3 z M 5 8 C 5.5523 8 6 8.4477 6 9 C 6 9.5523 5.5523 10 5 10 C 4.4477 10 4 9.5523 4 9 C 4 8.4477 4.4477 8 5 8 z M 10 8 C 10.5523 8 11 8.4477 11 9 C 11 9.5523 10.5523 10 10 10 C 9.4477 10 9 9.5523 9 9 C 9 8.4477 9.4477 8 10 8 z M 10.445312 11.994141 C 10.380597 11.999652 10.314981 12.018581 10.253906 12.050781 C 10.030606 12.168381 9.9302313 12.433922 10.019531 12.669922 L 10.189453 13 L 4.8105469 13 L 4.9394531 12.730469 C 5.0371531 12.472169 4.9067375 12.183637 4.6484375 12.085938 C 4.4124375 11.996738 4.1468969 12.097113 4.0292969 12.320312 L 3.0292969 14.320312 C 3.0080969 14.377912 2.9986 14.4387 3 14.5 C 3 14.7761 3.2239 15 3.5 15 C 3.6802 14.999 3.8450875 14.899434 3.9296875 14.740234 L 3.9296875 14.689453 L 4 14.689453 L 4.3105469 14 L 10.689453 14 L 11 14.689453 L 11 14.740234 C 11.0846 14.899434 11.249488 14.999 11.429688 15 C 11.705787 15 11.929688 14.7761 11.929688 14.5 C 11.949587 14.4212 11.949587 14.338566 11.929688 14.259766 L 10.929688 12.259766 C 10.833163 12.076541 10.639459 11.977608 10.445312 11.994141 z","rail-light":"M5.5,0C5,0,5,0.5,5,0.5v1C5,1.777,5.223,2,5.5,2S6,1.777,6,1.5V1h1v2H6c0,0-2,0-2,2v3c0,3,3,3,3,3h1 c0,0,3,0,3-3V5c0-2-2-2-2-2H8V1h1v0.5C9,1.777,9.223,2,9.5,2S10,1.777,10,1.5v-1C10,0,9.5,0,9.5,0H5.5z M7.5,4l2.0449,0.7734L10,6.5 C10.1316,7,9.5,7,9.5,7h-4c0,0-0.6316,0-0.5-0.5l0.4551-1.7266L7.5,4z M7.5,8C7.7761,8,8,8.2239,8,8.5S7.7761,9,7.5,9 S7,8.7761,7,8.5S7.2239,8,7.5,8z M4.125,12L3,15h1.5l0.375-1h5.25l0.375,1H12l-1.125-3h-1.5l0.375,1h-4.5l0.375-1H4.125z","rail-metro":"M5.5,0c0,0-0.75,0-1,1L3,6.5V10c0,1,1,1,1,1h7c0,0,1,0,1-1V6.5L10.5,1c-0.2727-1-1-1-1-1H5.5z M6.5,1.5h2 c0,0,0.5357,0,0.75,1L10,6c0.2146,1.0017-1,1-1,1H6c0,0-1.2146,0.0017-1-1l0.75-3.5C5.9643,1.5,6.5,1.5,6.5,1.5z M5,8 c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1S4,9.5523,4,9S4.4477,8,5,8z M6.75,8h1.5C8.3885,8,8.5,8.1115,8.5,8.25S8.3885,8.5,8.25,8.5 h-1.5C6.6115,8.5,6.5,8.3885,6.5,8.25S6.6115,8,6.75,8z M10,8c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1S9,9.5523,9,9S9.4477,8,10,8z M4.125,12L3,15h1.5l0.375-1h5.25l0.375,1H12l-1.125-3h-1.5l0.375,1h-4.5l0.375-1H4.125z","ranger-station":"M9,0.5l-2,1v3.7734L2,8v6h4v-4h3 v4h4V8L8,5.2734V4l1-0.5l2,1l2-1v-3l-2,1L9,0.5z",recycling:"M2.4556,8.6134C2.118,9.2112,1.501,10.3021,2.593,11.0312c0.3432,0.2268,0.7275,0.3836,1.131,0.4614 C4.0314,11.5382,4.0466,12.0111,3.6855,12c-0.3849-0.0193-2.2596-0.1934-2.5606-1.5995c-0.1556-0.8213,0.0204-1.5571,0.504-2.3556 L2.3263,6.812L1.0196,6.0688L4.5,4v4L3.1941,7.3057L2.4556,8.6134z M6.7,2.034c1.155-0.628,1.823,0.43,2.191,1.007l0.8059,1.2631 L8.431,5.112L12,6.986L11.803,2.96l-1.2639,0.8066L9.779,2.578C9.2572,1.8321,8.875,1.2812,7.944,1.033 C6.307,0.7203,5.3007,2.6194,5.311,2.607c-0.1639,0.2871,0.2156,0.5399,0.451,0.21C6.0202,2.4969,6.339,2.2309,6.7,2.034z M13.294,8.221c-0.0877-0.1897-0.5487-0.1413-0.419,0.267c0.1312,0.3892,0.1845,0.8003,0.157,1.21C12.939,11.01,11.684,11,11,11H9.5 V9.5l-3.5,2l3.488,2.025L9.4926,12H11c0.8906,0.0153,1.5999-0.1759,2.2-0.713C14.4,10.226,13.294,8.221,13.294,8.221z","religious-buddhist":"M13.4978,6.9989h-0.5329c-0.09997-1.10708-0.53528-2.15731-1.2478-3.0105l0.378-0.3784 c0.19605-0.19447,0.19733-0.51105,0.00286-0.7071C11.90698,2.71037,11.59733,2.70518,11.4,2.8912l0,0l-0.0123,0.0123L11.01,3.2815 c-0.85331-0.71298-1.90385-1.14864-3.0113-1.2488V1.5c0-0.27614-0.22386-0.5-0.5-0.5s-0.5,0.22386-0.5,0.5v0.5327 C5.8916,2.13306,4.84144,2.56871,3.9884,3.2815L3.61,2.9C3.41007,2.70952,3.09358,2.71717,2.9031,2.9171 c-0.184,0.19312-0.184,0.49668,0,0.6898l0.3784,0.3775C2.56787,4.83856,2.13216,5.89031,2.0327,6.9989H1.5 c-0.27614,0-0.5,0.22386-0.5,0.5s0.22386,0.5,0.5,0.5h0.5327c0.09987,1.10695,0.535,2.15711,1.2473,3.0103l-0.3779,0.3779 c-0.19538,0.19514-0.19557,0.51173-0.00043,0.70711c0.19053,0.19076,0.49798,0.19611,0.69503,0.01209L3.609,12.094l0.3779-0.3779 c0.8533,0.71312,1.90395,1.1488,3.0115,1.2488v0.5329c0,0.27614,0.22386,0.5,0.5,0.5s0.5-0.22386,0.5-0.5v-0.5329 c1.10719-0.10026,2.15744-0.53592,3.0105-1.2488l0.3779,0.3779c0.19514,0.19538,0.51173,0.19557,0.70711,0.00043 c0.19076-0.19053,0.19611-0.49798,0.01209-0.69503l-0.0123-0.0123l0,0l-0.3779-0.3779c0.71283-0.8531,1.14848-1.90333,1.2488-3.0105 h0.5329c0.27609-0.00544,0.49549-0.23366,0.49006-0.50975C13.98227,7.22064,13.76611,7.00435,13.4978,6.9989z M7.9987,3.0505 c0.83871,0.09248,1.63383,0.42154,2.2926,0.9488l-2.15,2.15c-0.04663-0.0218-0.09436-0.04116-0.143-0.058V3.0505H7.9987z M6.9987,3.0505V6.091c-0.04864,0.01684-0.09637,0.0362-0.143,0.058l-2.15-2.15c0.65897-0.52726,1.45431-0.85622,2.2932-0.9485 H6.9987z M3.9987,4.7062l2.15,2.15c-0.0218,0.04663-0.04116,0.09436-0.058,0.143H3.0505 c0.09243-0.83886,0.42154-1.63413,0.9489-2.293L3.9987,4.7062z M3.0505,7.9987H6.091c0.01687,0.04863,0.03623,0.09636,0.058,0.143 l-2.15,2.15C3.47173,9.63281,3.14276,8.83753,3.0505,7.9987z M6.9989,11.9471c-0.83871-0.09248-1.63383-0.42154-2.2926-0.9488 l2.15-2.15c0.04663,0.0218,0.09436,0.04116,0.143,0.058v3.0405L6.9989,11.9471z M7.9989,11.9471V8.9066 c0.04864-0.01683,0.09638-0.03619,0.143-0.058l2.15,2.15c-0.65895,0.5273-1.4543,0.85627-2.2932,0.9485H7.9989z M10.9989,10.2914 l-2.15-2.15c0.02177-0.04664,0.04113-0.09437,0.058-0.143h3.0415c-0.09276,0.83901-0.42232,1.6343-0.9502,2.293H10.9989z M8.9066,6.9989c-0.01684-0.04864-0.0362-0.09637-0.058-0.143l2.15-2.15c0.52726,0.65877,0.85632,1.45389,0.9488,2.2926H8.9066 V6.9989z","religious-christian":"M6,0.9552V4H3v3h3v8h3V7h3V4H9V1 c0-1-0.9776-1-0.9776-1H6.9887C6.9887,0,6,0,6,0.9552z","religious-jewish":"M7.50049 0.5L5.49949 4H1L3.49949 7.5L1 11H5.49949L7.50049 14.5L9.50049 11H14L11.5005 7.5L14 4H9.50049L7.50049 0.5Z","religious-muslim":"M12.0962 12.0962C9.55779 14.6346 5.44221 14.6346 2.90381 12.0962C0.365398 9.55779 0.365398 5.44221 2.90381 2.90381C5.44221 0.365398 9.55779 0.365398 12.0962 2.90381C12.2675 3.07512 12.4273 3.25362 12.5754 3.43832C10.5566 1.86336 7.63341 2.00437 5.77643 3.86135C3.76685 5.87092 3.76685 9.12908 5.77643 11.1387C7.63341 12.9956 10.5566 13.1366 12.5754 11.5617C12.4273 11.7464 12.2675 11.9249 12.0962 12.0962Z M10.1 6.5H8L9.7 8L9 10.5L11 9L13 10.5L12.3 8L14 6.5H11.9L11 4.5L10.1 6.5Z","religious-shinto":"M12.5,2.5H2.5a.9448.9448,0,0,0-1,1,.9448.9448,0,0,0,1,1H3V12a.9448.9448,0,0,0,1,1,.9448.9448,0,0,0,1-1V8h5v4a.9448.9448,0,0,0,1,1,.9448.9448,0,0,0,1-1V4.5h.5a.9448.9448,0,0,0,1-1,.9448.9448,0,0,0-1-1ZM10,6H8V4.5h2ZM7,6H5V4.5H7Z","residential-community":"m11.8 12.5v-2.5c.7-.1 1.2-.7 1.2-1.5s-.7-1.5-1.5-1.5-1.5.7-1.5 1.5c0 .7.5 1.4 1.2 1.5v2.5h-4.2v-11.5h-5v11.5h-1v.5h13v-.5zm-5.8-2.5h-3v-1h3zm0-2h-3v-1h3zm0-2h-3v-1h3zm0-2h-3v-1h3z",restaurant:"M3.5,0l-1,5.5c-0.1464,0.805,1.7815,1.181,1.75,2L4,14c-0.0384,0.9993,1,1,1,1s1.0384-0.0007,1-1L5.75,7.5 c-0.0314-0.8176,1.7334-1.1808,1.75-2L6.5,0H6l0.25,4L5.5,4.5L5.25,0h-0.5L4.5,4.5L3.75,4L4,0H3.5z M12,0 c-0.7364,0-1.9642,0.6549-2.4551,1.6367C9.1358,2.3731,9,4.0182,9,5v2.5c0,0.8182,1.0909,1,1.5,1L10,14c-0.0905,0.9959,1,1,1,1 s1,0,1-1V0z","restaurant-bbq":"M12.0166,12.5H14.5L12,15V12.5165a1.6189,1.6189,0,0,1-1.1367.4806,1.6,1.6,0,0,1-.9931-.3448A6.7838,6.7838,0,0,1,9.8783,2.3418,1.6179,1.6179,0,0,1,12,2.462V0l2.5,2.5H12.036a1.5927,1.5927,0,0,1,.1225.1289,1.6239,1.6239,0,0,1-.2871,2.2793A3.5148,3.5148,0,0,0,10.75,7.4951a3.5578,3.5578,0,0,0,1.1465,2.6162,1.6352,1.6352,0,0,1,.2325,2.2783C12.0949,12.4315,12.0535,12.4624,12.0166,12.5ZM2.504,0l-1,5.5c-.1464.805,1.7815,1.181,1.75,2L3.004,14a.9625.9625,0,0,0,1,1,.9625.9625,0,0,0,1-1l-.25-6.5c-.0314-.8176,1.7334-1.1808,1.75-2l-1-5.5h-.5l.25,4-.75.5L4.254,0h-.5l-.25,4.5L2.754,4l.25-4Z","restaurant-noodle":"M4.457,11.9892,1,8V7H14V8l-3.4961,3.9891ZM3.9882,2.5a.5.5,0,0,0-1,0v.5671l-1.7969.3675a.25.25,0,1,0,.094.4911l1.7029-.2776v.5662l-1.75.0357a.25.25,0,0,0,0,.5l1.75.0357V5.998h1Zm9.5,1.5-7.5.2625V2.9951l7.594-1.0737a.5.5,0,0,0-.1881-.9822L5.9792,2.4555a.4963.4963,0,0,0-.991.0445v.2276l-.493.1009V3.18l.493-.08V4.2974l-.493.01v.4608L13.4882,5a.5.5,0,0,0,0-1ZM10,13H5v.5757h5Z","restaurant-pizza":"M1.393 7.931.025 7.315A14.05 14.05 0 0 1 7.764-.001l.027.07.511 1.331-.003.001a12.613 12.613 0 0 0-6.906 6.53Zm10.963 4.96L2.42 8.414a11.604 11.604 0 0 1 6.354-6.009l.003-.001.817 2.122c-.028-.002-.052-.016-.081-.016a1.062 1.062 0 1 0 .764 1.793l2.413 6.273a.249.249 0 0 1-.334.316ZM7.426 7.52a.925.925 0 1 0-1.849 0 .925.925 0 0 0 1.849 0Zm3.017 2.03a.925.925 0 1 0-.07.353.924.924 0 0 0 .07-.354Z","restaurant-seafood":"M11.433,10.0889h2.49v.75H11.8525A4.81,4.81,0,0,1,13.4751,13.14l-.71.2422a4.01,4.01,0,0,0-1.74-2.1971,1.7775,1.7775,0,0,1-1.0352.4538L8.4374,12.9852H6.5188L4.9839,11.623a2.0222,2.0222,0,0,1-1.0929-.44,4.0093,4.0093,0,0,0-1.7426,2.1988l-.71-.2422a4.8146,4.8146,0,0,1,1.622-2.3007H.99v-.75H3.4839l.8633-.6764L3.3329,7.7567a2.2738,2.2738,0,0,1-.269.0293,2.0192,2.0192,0,0,1-2.0532-2.08c0-2.08,1.979-4.16,1.979-4.16L2.2531,5.9931l1.7255-.0012L4.9913,2.9852l0,2.9956a2.0936,2.0936,0,0,1-.6993,1.4121l.8536,1.3936L5.23,8.7208a3.8669,3.8669,0,0,1,4.4784,0l.0605.0474.869-1.4152a2.1177,2.1177,0,0,1-.6433-1.3722l0-2.9956.9836,3.0067,1.7547.0012-.7367-4.4466s1.982,2.08,1.982,4.16a2.0211,2.0211,0,0,1-2.0562,2.08,2.3125,2.3125,0,0,1-.3441-.0376L10.5676,9.3945l.8407.6593C11.4212,10.0638,11.4218,10.0782,11.433,10.0889Z","restaurant-sushi":"M5.5,3C5.2239,3,5,3.2239,5,3.5H2.75C1.2265,3.5,0,4.7265,0,6.25c0,0.8274,0.3687,1.5592,0.9434,2.0625 C0.3803,8.6675,0,9.2893,0,10c0,1.0994,0.9006,2,2,2h3.5h2H10c1.0994,0,2-0.9006,2-2c0-0.4883-0.1863-0.9294-0.4805-1.2773 l2.1777,0.9629c0.3716,0.1831,0.8213,0.0303,1.0044-0.3413c0.1831-0.3716,0.0303-0.8213-0.3413-1.0044 c-0.0188-0.0093-0.038-0.0178-0.0576-0.0254l-1.8105-0.8027l1.6309-0.2715c0.4099-0.0599,0.6936-0.4408,0.6337-0.8507 c-0.0544-0.3724-0.3765-0.6469-0.7528-0.6415c-0.0426,0.0003-0.085,0.0042-0.127,0.0117l-2.1309,0.3555 C11.2595,4.9521,10.0387,3.7837,8,3.5488V3.5C8,3.2239,7.7761,3,7.5,3H5.5z M6,4h1v5v2H6V9V4z M9.5,8 c0.259,0,0.4638,0.1974,0.4902,0.4492l0.0762-0.1328c0.1385-0.2399,0.4437-0.3201,0.6836-0.1816s0.3201,0.4418,0.1816,0.6816 l-0.2578,0.4473C10.8727,9.445,11,9.7021,11,10c0,0.5626-0.4374,1-1,1H8V9h1V8.5C9,8.223,9.223,8,9.5,8z M2.4395,8.0703 c0.1934-0.0242,0.3903,0.0662,0.4941,0.2461l0.2012,0.3477C3.226,8.5647,3.3538,8.5,3.5,8.5C3.777,8.5,4,8.723,4,9h1v2H2 c-0.5626,0-1-0.4374-1-1s0.4374-1,1-1h0.1738L2.0684,8.8164C1.9299,8.5765,2.0101,8.2733,2.25,8.1348 C2.31,8.1001,2.375,8.0784,2.4395,8.0703z","road-accident":"M12.6,8.7,11.5,6.5a1.05,1.05,0,0,0-.9-.5H4.4a1.05,1.05,0,0,0-.9.5L2.4,8.7,1.16,9.852a.5.5,0,0,0-.16.366V14.5a.5.5,0,0,0,.5.5h2c.2,0,.5-.2.5-.4V14h7v.5c0,.2.2.5.4.5h2.1a.5.5,0,0,0,.5-.5V10.218a.5.5,0,0,0-.16-.366ZM4.5,7h6l1,2h-8ZM5,11.6c0,.2-.3.4-.5.4H2.4c-.2,0-.4-.3-.4-.5V10.4c.1-.3.3-.5.6-.4l2,.4c.2,0,.4.3.4.5Zm8-.1c0,.2-.2.5-.4.5H10.5c-.2,0-.5-.2-.5-.4v-.7c0-.2.2-.5.4-.5l2-.4c.3-.1.5.1.6.4ZM8,4H7L6,0H9ZM1.1,1.8,3.7.3l1.1,4L4,4.7ZM11.3.3l2.6,1.5L11,4.8l-.9-.5Z",roadblock:"M7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.91015 11.0899 1 7.5 1C3.91015 1 1 3.91015 1 7.5C1 11.0899 3.91015 14 7.5 14ZM12 6V9H3V6H12Z",rocket:"m11.5547 2c-2.14407 0-5.02107 1.471-6.95307 4h-1.6016c-1.1573 0-1.8206.8638-2.277302 1.7773l-.6114 1.2227h1.443402 1.4453l1.5 1.5 1.5 1.5v1.4453 1.4434l1.2227-.6113c.9135-.4568 1.7773-1.1201 1.7773-2.2774v-1.6016c2.52897-1.932 3.99997-4.809 3.99997-6.9531v-1.4453zm-2.55467 3c.5523 0 .99997.4477.99997 1s-.44767 1-.99997 1-1-.4477-1-1 .4477-1 1-1zm-6.5 6-.5.5c-.7222.7222-1 2.5-1 2.5s1.698-.198 2.5-1l.5-.5z",school:"M5.542 3.647 3.106 3l.443-1.63a.505.505 0 0 1 .618-.352l1.46.392a.5.5 0 0 1 .355.613l-.44 1.624Zm-4.52 7.356a.496.496 0 0 1-.005-.276l1.819-6.726 2.435.647-1.819 6.726a.499.499 0 0 1-.143.237l-1.457 1.347a.152.152 0 0 1-.247-.066l-.583-1.889ZM10 5c-2.25 0-3-.75-3-3 2.25 0 3 .75 3 3Zm-1.4 7.984c-1.37.21-3.126-1.706-3.52-3.8L5.969 5.9c.399-.35.903-.533 1.419-.533a2.71 2.71 0 0 1 1.564.489.964.964 0 0 0 1.089-.01 2.438 2.438 0 0 1 1.46-.479c.77 0 1.643.489 2.05 1.201 1.536 2.696-1.194 6.709-3.144 6.417a.867.867 0 0 1-.255-.093 1.427 1.427 0 0 0-1.302 0 .866.866 0 0 1-.25.092Z","school-JP":"M12.5,2.9992h-4v-1a1,1,0,0,0-2,0v1h-4a1,1,0,0,0,0,2h.67A10.8169,10.8169,0,0,0,5.15,8.8105c.3331.4313.6594.8248.9785,1.1936a14.3825,14.3825,0,0,1-2.6074,2.117,1,1,0,1,0,.955,1.7581h0A15.65,15.65,0,0,0,7.5,11.4613a15.65,15.65,0,0,0,3.0239,2.4179,1,1,0,1,0,.9551-1.7578,14.3789,14.3789,0,0,1-2.6073-2.1171c.3191-.3688.6453-.7622.9784-1.1935a10.818,10.818,0,0,0,1.98-3.8116h.67a1,1,0,0,0,0-2ZM8.2671,7.5879c-.2614.3385-.5154.6413-.767.937-.2517-.2957-.5057-.5985-.7672-.937A9.5885,9.5885,0,0,1,5.2676,4.9992H9.7319A9.5789,9.5789,0,0,1,8.2671,7.5879Z",scooter:"M4.908,12a1.5,1.5,0,1,1-2.816,0Zm8.65-6C13.539,6,13,6,13,6V3h.351a.282.282,0,0,0,.223-.148l.268-.536a.334.334,0,0,0,.009-.066A.25.25,0,0,0,13.6,2H13V1.7a.215.215,0,0,0-.2-.2H9.25a.25.25,0,0,0,0,.5H12V6.6L7.6,10H6V7.5A.5.5,0,0,0,5.5,7H5V5H6.75a.25.25,0,0,0,0-.5L2.266,4.034c-.006,0-.01-.007-.016-.007a.25.25,0,0,0-.25.25V4.75A.25.25,0,0,0,2.25,5H3V7H2.5A1.538,1.538,0,0,0,1,8.5v2a.472.472,0,0,0,.442.5C1.461,11,7.5,11,7.5,11L10,10h3.5a.472.472,0,0,0,.5-.442C14,9.539,14,6.5,14,6.5A.472.472,0,0,0,13.558,6ZM12.5,11A1.5,1.5,0,1,0,14,12.5,1.538,1.538,0,0,0,12.5,11Z",shelter:"M13 2L1 6V8L2 7.66667V13H12V11H4V7L13 4V2Z",shoe:"M9.5,7a9.97,9.97,0,0,1-1.315-.948L6.01,3.221a.558.558,0,0,0-1,.279H5V5H3.209a.5.5,0,0,1-.357-.148S2.5,4,2,4H1.5a.5.5,0,0,0-.5.5V9H6.5c1.5,0,2,1,3.5,1h4V9.5C14,8,10.547,7.594,9.5,7Zm0,4a3.131,3.131,0,0,1-1.526-.447A4.1,4.1,0,0,0,6,10H1v1.5a.5.5,0,0,0,.5.5h4a.5.5,0,0,0,.5-.5V11a3.134,3.134,0,0,1,1.526.447A4.1,4.1,0,0,0,9.5,12h4a.5.5,0,0,0,.5-.5V11Z",shop:"m13.33 5h-1.83l-.39-2.33c-.1601-.7182-.7017-1.2905-1.41-1.49-.3493-.1124-.7131-.173-1.08-.18h-2.24c-.3669.007-.7307.0676-1.08.18-.7083.1995-1.2499.7718-1.41 1.49l-.39 2.33h-1.83c-.2761-.0017-.5013.2208-.503.497-.0003.0519.0074.1035.023.153l1.88 6.3c.1964.6246.7753 1.0496 1.43 1.05h6c.651-.0047 1.2247-.4289 1.42-1.05l1.88-6.3c.0829-.2634-.0635-.5441-.3269-.627-.0463-.0146-.0945-.0223-.1431-.023zm-8.81 0 .36-2.17c.0807-.3625.3736-.6395.74-.7.2463-.0776.5019-.1213.76-.13h2.24c.2614.0078.5205.0515.77.13.3664.0605.6593.3375.74.7l.35 2.17h-6z",skateboard:"M1.25 5.25V5H2.75V5.25C2.75 5.94036 3.30964 6.5 4 6.5H11C11.6904 6.5 12.25 5.94036 12.25 5.25V5H13.75V5.25C13.75 6.76878 12.5188 8 11 8H4C2.48122 8 1.25 6.76878 1.25 5.25ZM5 10C5 10.5523 4.55228 11 4 11 3.44772 11 3 10.5523 3 10 3 9.44772 3.44772 9 4 9 4.55228 9 5 9.44772 5 10ZM12 10C12 10.5523 11.5523 11 11 11 10.4477 11 10 10.5523 10 10 10 9.44772 10.4477 9 11 9 11.5523 9 12 9.44772 12 10Z",skiing:"M15,4.5C15,5.3284,14.3284,6,13.5,6S12,5.3284,12,4.5S12.6716,3,13.5,3S15,3.6716,15,4.5z M13.72,11.89 c-0.0623-0.1197-0.2083-0.1684-0.33-0.11c-0.6846,0.4194-1.5208,0.5111-2.28,0.25L4.78,8.86L7.5,7.5v-3L9,5.25v3L10.5,9L12,8.25 L10.5,7.5V3l-3-1.5L6,2.25v4.5L3.28,8.11L0.61,6.78C0.4857,6.7192,0.3358,6.7707,0.275,6.895C0.2142,7.0193,0.2657,7.1692,0.39,7.23 l10.5,5.25c0.3156,0.135,0.6568,0.1998,1,0.19c0.5998-0.0103,1.1889-0.161,1.72-0.44c0.1236-0.0615,0.174-0.2116,0.1125-0.3352 C13.7217,11.8932,13.7208,11.8916,13.72,11.89z",slaughterhouse:"M15 6.1c0 1.376-1.363.694-1.363.694L12.5 7H11a5.31 5.31 0 0 1-1.5 2 3.272 3.272 0 0 1-.523 1.125c-.077.091-.06.2-.068.33l.091 2.3a.264.264 0 0 1-.266.25.242.242 0 0 1-.234-.205L8 9.5H4v3.253a.247.247 0 0 1-.247.247.25.25 0 0 1-.24-.2L3 10v-.5a8.2 8.2 0 0 1-1.426-.1A1.886 1.886 0 0 1 .9 10.826c-.128.083-.148.211-.133.386l.19 1.538a.25.25 0 0 1-.25.25.238.238 0 0 1-.23-.174l-.427-1.7a.35.35 0 0 1 .055-.3c.437-.68-.049-2.55-.049-2.55A1.354 1.354 0 0 1 0 7.922V5.5a2.027 2.027 0 0 1 2.736-1.914s.1.03.142.049a15.15 15.15 0 0 0 3.814.038l.18-.062a1.842 1.842 0 0 1 1.26 0c.078.02.154.05.226.089.1.049.196.106.287.171A1.8 1.8 0 0 0 9.5 4h1V3l.5.5c.5-1.5 2.5-1 2.5-1a1.687 1.687 0 0 0-1.5 1l2.5 2a.612.612 0 0 1 .186-.069.318.318 0 0 1 .314.321V6.1Z",slipway:"m2 10 12 1.495V12H2v-2Zm12-4-1 1v.583L5.196 4.332l.063-.125L6.61 2.845h.831a.35.35 0 0 0 0-.7h-.976a.352.352 0 0 0-.248.103L4.723 3.753a.371.371 0 0 0-.066.09l-.109.219L2 3c0 2-.03 3.958 2.86 4.5C6.28 7.765 13 9 13 9l2-2-1-1Z",snowmobile:"M15 10a1 1 0 0 1-1 1H9.414a1 1 0 0 1-.707-.293L7.146 9.146A.499.499 0 0 0 6.793 9H3.334a1 1 0 0 1-.601-.2L1.386 7.788A1.013 1.013 0 0 1 1 7a.995.995 0 0 1 .472-.844L5 4l1.038-1.692A.5.5 0 0 1 7 2.5V6l1 1h1l5.412-.992a.5.5 0 0 1 .355.915L13 8l1.631 1.224A.99.99 0 0 1 15 10Zm-9.5 0H3.225c-.504 0-.999-.127-1.44-.368L.74 9.062a.5.5 0 0 0-.48.877l1.269.693c.441.242.937.368 1.44.368H5.5a.5.5 0 0 0 0-1Z",soccer:"M11,1.5C11,2.3284,10.3284,3,9.5,3S8,2.3284,8,1.5S8.6716,0,9.5,0S11,0.6716,11,1.5z M11,11c-0.5523,0-1,0.4477-1,1 s0.4477,1,1,1s1-0.4477,1-1S11.5523,11,11,11z M12.84,6.09l-1.91-1.91l0,0C10.8399,4.0675,10.7041,4.0014,10.56,4H3.5 C3.2239,4,3,4.2239,3,4.5S3.2239,5,3.5,5h2.7L3,11.3l0,0c-0.0138,0.066-0.0138,0.134,0,0.2c-0.058,0.2761,0.1189,0.547,0.395,0.605 C3.6711,12.163,3.942,11.9861,4,11.71l0,0L5,10h2l-1.93,4.24l0,0C5.0228,14.3184,4.9986,14.4085,5,14.5 c-0.0552,0.2761,0.1239,0.5448,0.4,0.6c0.2761,0.0552,0.5448-0.1239,0.6-0.4l0,0l4.7-9.38l1.44,1.48 c0.211,0.1782,0.5264,0.1516,0.7046-0.0593C13.0037,6.5523,13.0018,6.2761,12.84,6.09z",square:"M12 13H3C2.4477 13 2 12.5523 2 12V3C2 2.4477 2.4477 2 3 2H12C12.5523 2 13 2.4477 13 3V12C13 12.5523 12.5523 13 12 13Z","square-stroked":"M11.7 3.3V11.7H3.3V3.3H11.7ZM12 2H3C2.4477 2 2 2.4477 2 3V12C2 12.5523 2.4477 13 3 13H12C12.5523 13 13 12.5523 13 12V3C13 2.4477 12.5523 2 12 2Z",stadium:"M7,1v2v1.5v0.5098C4.1695,5.1037,2.0021,5.9665,2,7v4.5c0,1.1046,2.4624,2,5.5,2s5.5-0.8954,5.5-2V7 c-0.0021-1.0335-2.1695-1.8963-5-1.9902V4.0625L11,2.75L7,1z M3,8.1465c0.5148,0.2671,1.2014,0.4843,2,0.6328v2.9668 C3.7948,11.477,3,11.0199,3,10.5V8.1465z M12,8.1484V10.5c0,0.5199-0.7948,0.977-2,1.2461V8.7812 C10.7986,8.6328,11.4852,8.4155,12,8.1484z M6,8.9219C6.4877,8.973,6.9925,8.9992,7.5,9C8.0073,8.9999,8.5121,8.9743,9,8.9238 v2.9844C8.5287,11.964,8.0288,12,7.5,12S6.4713,11.964,6,11.9082V8.9219z",star:"M7.5,0l-2,5h-5l4,3.5l-2,6l5-3.5 l5,3.5l-2-6l4-3.5h-5L7.5,0z","star-stroked":"m7.5 2.69 1.07 2.68.25.63h3l-2 1.75-.5.44.23.63 1 3.13-2.48-1.77-.57-.4-.57.4-2.52 1.77 1-3.13.21-.63-.5-.44-2-1.75h3l.25-.63zm0-2.69-2 5h-5l4 3.5-2 6 5-3.5 5 3.5-2-6 4-3.5h-5z",suitcase:"M4.5 4V2C4.5 1.44772 4.94772 1 5.5 1H9.5C10.0523 1 10.5 1.44772 10.5 2V4H12C12.5523 4 13 4.44772 13 5V11C13 11.5523 12.5523 12 12 12H3C2.44771 12 2 11.5523 2 11V5C2 4.44772 2.44772 4 3 4H4.5ZM5.5 2V4H9.5V2H5.5Z",swimming:"M10.1113,2C9.9989,2,9.6758,2.1465,9.6758,2.1465L6.3535,3.8262 C5.9111,4.0024,5.7358,4.7081,6.002,5.0605l0.9707,1.4082L3.002,8.498L5,9.998l2.502-1.5l2.5,1.5l1.002-1.002l-3-4l2.5566-1.5293 c0.5286-0.2662,0.4434-0.7045,0.4434-0.9707C10.9999,2.2861,10.6437,2,10.1113,2z M12.252,5C11.2847,5,10.5,5.7827,10.5,6.75 s0.7847,1.752,1.752,1.752s1.75-0.7847,1.75-1.752S13.2192,5,12.252,5z M2.5,10L0,11.5V13l2.5-1.5L5,13l2.502-1.5l2.5,1.5L12,11.5 l3,1.5v-1.5L12,10l-1.998,1.5l-2.5-1.5L5,11.5L2.5,10z","table-tennis":"M11.9676,10.2275a3.8116,3.8116,0,0,1-1.9122.9831L3.7678,4.9338A4.0283,4.0283,0,0,1,4.7725,3.0324C7.03.7745,9.98.2235,12.3781,2.6219S14.2255,7.97,11.9676,10.2275Zm-6.987,1.6093A3.8422,3.8422,0,0,1,6.149,11.278,4.5328,4.5328,0,0,1,8,11.4452L3.5456,7a4.4126,4.4126,0,0,1,.1572,1.9223,3.6639,3.6639,0,0,1-.5208,1.1159c-1.072,1.263-2.132,1.727-2.132,2.1879A1.8378,1.8378,0,0,0,2.7739,13.95C3.2348,13.95,3.6917,12.9368,4.9806,11.8368Z",teahouse:"M8.00002 5C8.00002 5 10 4.9 10 3.4 10 2.46598 9.17751 2.20864 8.47606 1.98917 7.95458 1.82601 7.5 1.68378 7.5 1.3 7.5.386843 8 0 8 0 8 0 7 .531581 7 1.5 7 2.21063 7.54045 2.46176 8.05947 2.70292 8.53888 2.92568 9 3.13994 9 3.7 9 4.7 8.00002 5 8.00002 5ZM11.8372 6.67447C11.3755 8.62063 10.7854 11.1073 9 12V14H6V12C4.21455 11.1073 3.62454 8.62063 3.16276 6.67447 3.10728 6.44061 3.05364 6.21455 3 6H12C11.9464 6.21453 11.8927 6.44063 11.8372 6.67447ZM6.99998 4C6.99998 5 5.49998 5 5.49998 5 5.49998 5 6.29295 4.9 6.29295 4.3 6.29295 4.02526 6.01604 3.85489 5.71852 3.67184 5.37315 3.45935 5 3.22977 5 2.8 5 1.9661 5.99998 1.5 5.99998 1.5 5.99998 1.5 5.49998 1.77344 5.49998 2.5 5.49998 2.88823 5.85322 3.04095 6.21687 3.19818 6.60257 3.36494 6.99998 3.53675 6.99998 4Z",telephone:"M4.51,8.88a0.51,0.51,0,0,0,0,.72l0.72,0.72L3.07,12.5,2.7,12.13A2.24,2.24,0,0,1,2,10.69V9.24a2.24,2.24,0,0,1,.7-1.45L7.77,2.72A2.24,2.24,0,0,1,9.22,2h1.45a2.24,2.24,0,0,1,1.45.72l0.36,0.36L10.31,5.26,9.58,4.53a0.51,0.51,0,0,0-.72,0ZM4.13,13.6a1,1,0,0,0,1.4137.0363Q5.5623,13.6186,5.58,13.6l0.72-.72a1,1,0,0,0,.0363-1.4137Q6.3186,11.4477,6.3,11.43Zm7.25-7.28a1,1,0,0,0,1.4137.0363C12.8061,6.3445,13.55,5.6,13.55,5.6a1,1,0,0,0,.0363-1.4137Q13.5686,4.1677,13.55,4.15Z",tennis:"M13.1284,1.87c-1.5418-1.5406-4.5535-.7759-6.28,1.05a6.8282,6.8282,0,0,0-1.88,4.4,5.7275,5.7275,0,0,1-.57,2.72.6814.6814,0,0,0-.67.17l-2.49,2.5a.6941.6941,0,0,0,0,.98l.07.07a.7051.7051,0,0,0,.98,0l2.5-2.49a.683.683,0,0,0,.18-.66,8.5694,8.5694,0,0,1,3.12-.58,6.5487,6.5487,0,0,0,3.99-1.87C14.1084,6.13,14.579,3.3194,13.1284,1.87Zm-2.2-.04a2.3071,2.3071,0,0,1,1.64.61,2.548,2.548,0,0,1,.5,2.44l-2.95-2.96A3.8648,3.8648,0,0,1,10.9284,1.83Zm-4.57,6.81a2.6485,2.6485,0,0,1-.48-2.55l3.04,3.04A2.8522,2.8522,0,0,1,6.3584,8.64Zm2.88.39-3.26-3.27a5.1623,5.1623,0,0,1,.49-1.08l3.85,3.85A5.5093,5.5093,0,0,1,9.2384,9.03Zm1.34-.66-3.94-3.95a5.2032,5.2032,0,0,1,.74-.9l4.1,4.1A5.6869,5.6869,0,0,1,10.5784,8.37Zm1.11-.96-4.1-4.1a5.5714,5.5714,0,0,1,.84-.65l3.92,3.92A5.7187,5.7187,0,0,1,11.6884,7.41Zm.82-1.09L8.6984,2.5a4.1707,4.1707,0,0,1,1.09-.48l3.2,3.2A5.5656,5.5656,0,0,1,12.5084,6.32Z",theatre:"M2,1c0,0-1,0-1,1v5.1582C1,8.8885,1.354,11,4.5,11H5V8L2.5,9c0,0,0-2.5,2.5-2.5V5 c0-0.7078,0.0868-1.3209,0.5-1.7754C5.8815,2.805,6.5046,1.9674,8.1562,2.7539L9,3.3027V2c0,0,0-1-1-1C7.2922,1,6.0224,2,5,2 S2.7865,1,2,1z M3,3c0.5523,0,1,0.4477,1,1S3.5523,5,3,5S2,4.5523,2,4S2.4477,3,3,3z M7,4c0,0-1,0-1,1v5c0,2,1,4,4,4s4-2,4-4V5 c0-1-1-1-1-1c-0.7078,0-1.9776,1-3,1S7.7865,4,7,4z M8,6c0.5523,0,1,0.4477,1,1S8.5523,8,8,8S7,7.5523,7,7S7.4477,6,8,6z M12,6 c0.5523,0,1,0.4477,1,1s-0.4477,1-1,1s-1-0.4477-1-1S11.4477,6,12,6z M7.5,10H10h2.5c0,0,0,2.5-2.5,2.5S7.5,10,7.5,10z",toilet:"M3 1.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0ZM11.5 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM3.29 4a1 1 0 0 0-.868.504L.566 7.752a.5.5 0 1 0 .868.496l1.412-2.472A345.048 345.048 0 0 0 1 11h2v2.5a.5.5 0 0 0 1 0V11h1v2.5a.5.5 0 0 0 1 0V11h2L6.103 5.687l1.463 2.561a.5.5 0 1 0 .868-.496L6.578 4.504A1 1 0 0 0 5.71 4H3.29ZM9 4.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0v4a.5.5 0 0 1-1 0v-4h-1v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 1-1 0v-5Z",toll:"M2.5 1C2.22386 1 2 1.22386 2 1.5V2V13H1.5C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14H8.5C8.77614 14 9 13.7761 9 13.5C9 13.2239 8.77614 13 8.5 13H7V10.0987L13.7761 5.54576C14.0053 5.39175 14.0663 5.08109 13.9123 4.85189L13.6334 4.43687C13.4794 4.20766 13.1688 4.1467 12.9396 4.3007L7 8.29152V2H7.5C7.77614 2 8 1.77614 8 1.5C8 1.22386 7.77614 1 7.5 1H2.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5.5C5.77614 3 6 3.22386 6 3.5V7.5C6 7.77614 5.77614 8 5.5 8H3.5C3.22386 8 3 7.77614 3 7.5V3.5Z",town:"m10.651 6.121c-.0445-.0357-.0999-.05516-.157-.05516s-.1125.01946-.157.05516l-2.245 1.808c-.02881.02323-.05204.05263-.06796.08603-.01593.03341-.02414.06997-.02404.10697v4.625c0 .0671.02666.1315.0741.1789.04745.0474.1118.0741.1789.0741h1.494c.0671 0 .13145-.0267.1789-.0741s.0741-.1118.0741-.1789v-1.747h1v1.747c0 .0671.0267.1315.0741.1789.0475.0474.1118.0741.1789.0741h1.494c.0671 0 .1315-.0267.1789-.0741s.0741-.1118.0741-.1789v-4.627c.0007-.03831-.0074-.07627-.0237-.11095s-.0404-.06514-.0703-.08905zm-.651 3.879h-1v-1h1zm2 0h-1v-1h1zm-6.29-9.184997c-.02299-.034654-.05419-.063081-.09083-.082746s-.07758-.029956-.11917-.029956c-.04158 0-.08252.010291-.11916.029956-.03665.019665-.06785.048092-.09084.082746l-3.248 4.120997c-.02752.0415-.04214.09021-.042.14v7.671c-.00013.0331.00626.0659.0188.0965s.031.0585.0543.082c.02331.0235.05102.0422.08154.0549.03053.0128.06327.0195.09636.0196h2.5c.06632-.0008.12964-.0277.17626-.0749.04661-.0471.07275-.1108.07274-.1771v-1.748h1v1.748c0 .0668.02655.1309.07381.1782s.11136.0738.17819.0738h.748v-6c-.00004-.07511.01684-.14926.04938-.21695.03255-.06769.07993-.12718.13862-.17405l1.812-1.609c0-.05-3.29-4.184997-3.29-4.184997zm-1.71 8.184997h-1v-1h1zm0-3h-1v-1h1zm2 3h-1v-1h1zm0-3h-1v-1h1z","town-hall":"M13,4H9l0-3L7.5,0L6,1v3H2L1,5v1h13V5L13,4z M7.5,1.5c0.4,0,0.7,0.3,0.7,0.8S7.9,3,7.5,3S6.7,2.7,6.7,2.2 C6.7,1.8,7.1,1.5,7.5,1.5z M13,7H2v4l-1,1.5V14h13v-1.5L13,11V7z M5,12.5H4V8h1V12.5z M8,12.5H7V8h1V12.5z M11,12.5h-1V8h1V12.5z",triangle:"m7.5385 1c-.2948 0-.4883.1772-.6154.3846l-5.8462 9.5385c-.0769.0769-.0769.2307-.0769.3846 0 .5385.3846.6923.6923.6923h11.6154c.3846 0 .6923-.1538.6923-.6923 0-.1538 0-.2308-.0769-.3846l-5.7693-9.5385c-.1258-.2081-.3656-.3846-.6153-.3846z","triangle-stroked":"m7.52427.500405c-.2814-.0091-.5456.1419-.6907.3948l-5.5 9.869195c-.3118.5434.0614 1.2355.6664 1.2356h11.00003c.605-.0001.9782-.6922.6664-1.2355l-5.50003-9.869195c-.1362-.2374-.378-.3861-.6421-.3949zm-.0243 2.398895 4.12673 7.4704h-8.25343z",tunnel:"M4 2C2.34315 2 1 3.32706 1 4.96406V12.012C1 12.5576 1.44772 13 2 13H3V8.55391C3 6.09839 5.01472 4.10781 7.5 4.10781C9.98528 4.10781 12 6.09842 12 8.55393V13H13C13.5523 13 14 12.5576 14 12.012V4.96406C14 3.32706 12.6569 2 11 2H4ZM11 10V9.04794C11 6.86526 9.43299 5.09583 7.5 5.09583C5.56701 5.09583 4.00001 6.86526 4 9.04794V13L11 10Z",veterinary:"M7.5,6c-2.5,0-3,2.28-3,3.47h0a6.149,6.149,0,0,0-1.7.89,2,2,0,0,0-.4,2.78,2.06,2.06,0,0,0,2.8.4,4,4,0,0,1,2.3-.69,4,4,0,0,1,2.3.69,2,2,0,0,0,2.8-.3,1.929,1.929,0,0,0-.226-2.72c-.024-.021-.049-.041-.074-.06l-.1-.1a8.992,8.992,0,0,0-1.7-.89h0C10.5,8.29,10,6,7.5,6ZM2.08,4.3a1.58,1.58,0,0,0-.76,2A1.52,1.52,0,0,0,2.93,7.7a1.58,1.58,0,0,0,.76-2A1.52,1.52,0,0,0,2.08,4.3Zm10.85,0a1.58,1.58,0,0,1,.76,2,1.52,1.52,0,0,1-1.61,1.4,1.58,1.58,0,0,1-.76-2A1.52,1.52,0,0,1,12.93,4.3Zm-7.85-3c-.68.09-1,.94-.76,1.87A1.77,1.77,0,0,0,5.93,4.7c.68-.09,1-.94.76-1.87A1.77,1.77,0,0,0,5.08,1.3Zm4.85,0c.68.09,1,.94.76,1.87A1.77,1.77,0,0,1,9.07,4.7c-.68-.08-1-.94-.76-1.87A1.769,1.769,0,0,1,9.93,1.3Z",viewpoint:"M6.02,8.425a2.3859,2.3859,0,0,0-.46.44l-4.55-3.5a7.9976,7.9976,0,0,1,1.51-1.51Zm6.46-4.56-3.5,4.55a2.3971,2.3971,0,0,1,.45.45l4.56-3.5A7.945,7.945,0,0,0,12.48,3.865ZM7.3042,10.0129a1.5,1.5,0,1,0,1.6829,1.2914h0A1.5,1.5,0,0,0,7.3042,10.0129ZM6.43,2.235a7.9329,7.9329,0,0,0-2.06.55l2.2,5.32a2.0438,2.0438,0,0,1,.61-.17Zm2.14.01-.75,5.69a2.49,2.49,0,0,1,.61.16l2.2-5.3A7.2129,7.2129,0,0,0,8.57,2.245Z",village:"M6.176 1.176a.249.249 0 0 0-.352 0l-4.4 4.4A.25.25 0 0 0 1.6 6H3v6.751a.25.25 0 0 0 .249.249h3.5A.248.248 0 0 0 7 12.753v-7.43c0-.066.026-.13.073-.176L8.5 3.5 6.176 1.176ZM6 11H5v-1h1v1Zm0-2H5V8h1v1Zm0-3v1H5V6h1Z M12.75 3h-.5a.25.25 0 0 0-.25.25V5l-1.324-1.824a.249.249 0 0 0-.352 0L8.056 5.932A.246.246 0 0 0 8 6.088v6.66a.249.249 0 0 0 .246.252h1.5a.253.253 0 0 0 .254-.252V11h1v1.747a.253.253 0 0 0 .253.253h1.5a.25.25 0 0 0 .247-.249V3.25a.25.25 0 0 0-.25-.25ZM10 8H9V7h1v1Zm2 0h-1V7h1v1Zm-2 2H9V9h1v1Zm2 0h-1V9h1v1Z",volcano:"M8.4844,1.0002 c-0.1464,0.005-0.2835,0.0731-0.375,0.1875L6.4492,3.2619L4.8438,1.7385C4.4079,1.3374,3.7599,1.893,4.0899,2.385l1.666,2.4004 C5.9472,5.061,6.3503,5.0737,6.5586,4.8108C6.7249,4.6009,7,4.133,7.5,4.133s0.7929,0.4907,0.9414,0.6777 c0.175,0.2204,0.4973,0.2531,0.7129,0.0723l1.668-1.4004c0.4408-0.3741,0.0006-1.0735-0.5273-0.8379L9,3.2268V1.5002 C9.0002,1.2179,8.7666,0.9915,8.4844,1.0002L8.4844,1.0002z M5,6.0002L2.0762,11.924C1.9993,12.0009,2,12.155,2,12.3088 c0,0.5385,0.3837,0.6914,0.6914,0.6914h9.6172c0.3846,0,0.6914-0.153,0.6914-0.6914c0-0.1538,0.0008-0.2309-0.0762-0.3848L10,6.0002 c-0.5,0-1,0.5-1,1v0.5c0,0.277-0.223,0.5-0.5,0.5S8,7.7772,8,7.5002v-0.5c0-0.2761-0.2238-0.5-0.5-0.5S7,6.7241,7,7.0002v2 c0,0.277-0.223,0.5-0.5,0.5S6,9.2772,6,9.0002v-2C6,6.5002,5.5,6.0002,5,6.0002z",volleyball:"M13.91,7.94a5.9086,5.9086,0,0,1-.13.94,8.8218,8.8218,0,0,0-2.17-1.49,8.89,8.89,0,0,0-1.4-.56,8.6142,8.6142,0,0,0-1.82-.35.221.221,0,0,0-.08-.01A7.32,7.32,0,0,1,7.5,4.59c-.01-.01-.01-.01,0-.02a7.7573,7.7573,0,0,1,1.52.15,7.0987,7.0987,0,0,1,1.56.5,6.8585,6.8585,0,0,1,1.4.78A7.4165,7.4165,0,0,1,13.91,7.94Zm-1.87-5a6.2232,6.2232,0,0,0-1.85-1.27,4.2725,4.2725,0,0,0-.98-.36,5.6412,5.6412,0,0,0-1.55-.23,1.2882,1.2882,0,0,0-.32,0A7.4263,7.4263,0,0,0,7.21,2.5c0,.2.01.39.02.58a2.28,2.28,0,0,1,.26-.01,2.6438,2.6438,0,0,1,.28.01,8.2865,8.2865,0,0,1,1.49.16,8.9879,8.9879,0,0,1,1.35.37,8.7922,8.7922,0,0,1,1.53.7,10.18,10.18,0,0,1,1.39.97A6.4588,6.4588,0,0,0,12.04,2.94ZM4.01,8.76a9.4084,9.4084,0,0,1-.62-1.37,9.1038,9.1038,0,0,1-.37-1.41,9.1748,9.1748,0,0,1-.16-1.67V4.28a8.455,8.455,0,0,1,.1-1.34A6.28,6.28,0,0,0,1.47,5.3a6.2222,6.2222,0,0,0-.4,2.2c0,.15.01.3.02.44a5.9086,5.9086,0,0,0,.13.94,5.7343,5.7343,0,0,0,.41,1.23c.22-.05.44-.11.65-.17a8.0188,8.0188,0,0,0,1.9-.88C4.12,8.96,4.06,8.86,4.01,8.76Zm2.6-2.28a9,9,0,0,1-.63-1.76,9.135,9.135,0,0,1-.24-1.48c-.02-.25-.03-.49-.03-.74a9.3777,9.3777,0,0,1,.08-1.19,4.2725,4.2725,0,0,0-.98.36,7.7038,7.7038,0,0,0-.42,1.94c-.02.22-.03.44-.03.67a7.2659,7.2659,0,0,0,.06.93,7.4258,7.4258,0,0,0,.37,1.63,6.4705,6.4705,0,0,0,.59,1.28A8.0174,8.0174,0,0,0,6.65,6.55.2522.2522,0,0,1,6.61,6.48ZM12.7,9.93s0-.01-.01,0a7.0128,7.0128,0,0,0-1.7-1.16c-.06.1-.11.19-.17.29a8.783,8.783,0,0,1-.88,1.22,8.9125,8.9125,0,0,1-1.06,1.07,10.4181,10.4181,0,0,1-1.38.98,8.9933,8.9933,0,0,1-2.64,1.02,6.2985,6.2985,0,0,0,5.28,0,5.9674,5.9674,0,0,0,2.42-1.89,4.8258,4.8258,0,0,0,.65-1.03A6.0315,6.0315,0,0,0,12.7,9.93Zm-5.17-2c-.01.01-.02.03-.03.04a9.26,9.26,0,0,1-1.25,1.4,9.5925,9.5925,0,0,1-1.19.91,9.2683,9.2683,0,0,1-2.62,1.18,6.0989,6.0989,0,0,0,.53.61,7.7353,7.7353,0,0,0,3.15-.72,7.3839,7.3839,0,0,0,1.38-.82A7.6429,7.6429,0,0,0,8.75,9.37a7.7441,7.7441,0,0,0,.82-1.15A7.3414,7.3414,0,0,0,7.53,7.93Z",warehouse:"M13.5,5c-0.0762,0.0003-0.1514-0.0168-0.22-0.05L7.5,2L1.72,4.93C1.4632,5.0515,1.1565,4.9418,1.035,4.685 S1.0232,4.1215,1.28,4L7.5,0.92L13.72,4c0.2761,0.0608,0.4508,0.3339,0.39,0.61C14.0492,4.8861,13.7761,5.0608,13.5,5z M5,10H2v3h3 V10z M9,10H6v3h3V10z M13,10h-3v3h3V10z M11,6H8v3h3V6z M7,6H4v3h3V6z","waste-basket":"M12.41,5.58l-1.34,8c-0.0433,0.2368-0.2493,0.4091-0.49,0.41H4.42c-0.2407-0.0009-0.4467-0.1732-0.49-0.41l-1.34-8 C2.5458,5.3074,2.731,5.0506,3.0035,5.0064C3.0288,5.0023,3.0544,5.0002,3.08,5h8.83c0.2761-0.0036,0.5028,0.2174,0.5064,0.4935 C12.4168,5.5225,12.4146,5.5514,12.41,5.58z M13,3.5C13,3.7761,12.7761,4,12.5,4h-10C2.2239,4,2,3.7761,2,3.5S2.2239,3,2.5,3H5V1.5 C5,1.2239,5.2239,1,5.5,1h4C9.7761,1,10,1.2239,10,1.5V3h2.5C12.7761,3,13,3.2239,13,3.5z M9,3V2H6v1H9z",watch:"M12.5,7H12a.426.426,0,0,0-.049.01A4.484,4.484,0,0,0,10,3.76V1.5A.5.5,0,0,0,9.5,1h-4a.5.5,0,0,0-.5.5V3.76a4.5,4.5,0,0,0,0,7.48V13.5a.5.5,0,0,0,.5.5h4a.5.5,0,0,0,.5-.5V11.24a4.486,4.486,0,0,0,1.951-3.25A.426.426,0,0,0,12,8h.5a.5.5,0,0,0,0-1Zm-5,4A3.5,3.5,0,1,1,11,7.5,3.5,3.5,0,0,1,7.5,11ZM9,7H8V5.5a.5.5,0,0,0-1,0v2a.5.5,0,0,0,.5.5H9A.5.5,0,0,0,9,7Z",water:"M7.5 14C9.57688 14 12 12.7117 12 9.43241C12 7.20724 8.53844 2.2883 7.5 1C6.57691 2.2883 3 7.09007 3 9.43241C3 12.7117 5.42312 14 7.5 14Z",waterfall:"M14 1H5C3.34315 1 2 2.34314 2 4V8.87918C1.39704 9.28261 1 9.96937 1 10.75C1 11.9927 2.00736 13 3.25 13C3.7127 13 4.14279 12.8599 4.5 12.6209C4.85721 12.8599 5.2873 13 5.75 13C6.28601 13 6.77826 12.812 7.16413 12.5H7.51743C8.01909 12.8165 8.61403 13 9.25 13C11.0449 13 12.5 11.5449 12.5 9.75002C12.5 8.39777 11.6747 7.23919 10.5 6.74934V5C10.5 3.89543 11.3954 3 12.5 3H14V1ZM11.5 9.75C11.5 10.9926 10.4926 12 9.25 12C8.71418 12 8.2221 11.8127 7.83567 11.5H6.75009C6.52204 11.8036 6.15895 12 5.75 12C5.34105 12 4.97796 11.8036 4.74991 11.5H4.25009C4.02204 11.8036 3.65895 12 3.25 12C2.55964 12 2 11.4404 2 10.75C2 10.1453 2.42944 9.64082 3 9.525V5.75C3 5.33579 3.33579 5 3.75 5C4.16421 5 4.5 5.33579 4.5 5.75V9C4.5 9.27614 4.72386 9.5 5 9.5C5.27614 9.5 5.5 9.27614 5.5 9V6.75C5.5 6.33579 5.83579 6 6.25 6C6.66421 6 7 6.33579 7 6.75V9C7 9.27614 7.22386 9.5 7.5 9.5C7.77614 9.5 8 9.27614 8 9V5.75C8 5.33579 8.33579 5 8.75 5C9.16421 5 9.5 5.33579 9.5 5.75V7.51373C10.625 7.63809 11.5 8.59186 11.5 9.75Z",watermill:"M2,10.2L4,9l2.5,1.5l1.4659-0.8788C7.6592,9.4698,7.3716,9.285,7.1231,9.0536l1.4131-1.4131 C8.7672,7.836,9.0557,7.9606,9.375,7.9874V9.224l0.25,0.1501V7.9874c0.3193-0.0268,0.6078-0.1514,0.8388-0.3469l1.4131,1.4131 c-0.4059,0.3781-0.9044,0.6492-1.4528,0.8003L11.5,10.5l0.6984-0.4191C13.2863,9.2595,14,7.9682,14,6.5C14,4.0147,11.9853,2,9.5,2 C8.1917,2,7.0241,2.5674,6.2018,3.4587L4.5,2L1,5h1V10.2z M12.0536,8.8769l-1.4131-1.4131c0.1954-0.231,0.3201-0.5196,0.3469-0.8388 h1.9999C12.956,7.4946,12.6089,8.2806,12.0536,8.8769z M12.9874,6.375h-1.9999c-0.0268-0.3193-0.1514-0.6078-0.3469-0.8388 l1.4131-1.4131C12.6089,4.7193,12.956,5.5054,12.9874,6.375z M9.625,3.0126c0.8696,0.0314,1.6557,0.3784,2.2519,0.9337 l-1.4131,1.4131c-0.231-0.1954-0.5196-0.32-0.8388-0.3468C9.625,5.0126,9.625,3.0126,9.625,3.0126z M9.375,3.0126v1.9999 C9.0558,5.0394,8.7672,5.164,8.5362,5.3594L7.1231,3.9463C7.7193,3.3911,8.5054,3.044,9.375,3.0126z M6.9464,4.1231l1.4131,1.4131 C8.164,5.7672,8.0394,6.0557,8.0126,6.375h-2C6.044,5.5054,6.3911,4.7193,6.9464,4.1231z M8.0126,6.625 c0.0268,0.3192,0.1515,0.6078,0.3469,0.8388L6.9464,8.8769C6.3911,8.2807,6.044,7.4946,6.0126,6.625H8.0126z M9.002,10L6.5,11.5 L4,10l-2.5,1.5V13L4,11.5L6.5,13l2.502-1.5L11.5,13l2.5-1.5V10l-2.5,1.5L9.002,10z",wetland:"M1.48,4.5C1.905,4.1467,2.4483,3.968,3,4c1.2273-0.0869,2.3154,0.7836,2.5,2l0.78,4.68c-0.6394-0.2893-1.3759-0.2709-2,0.05 L3.48,6C3.1874,5.1347,2.3926,4.5387,1.48,4.5z M7.48,11.24c0.3816-0.3076,0.825-0.5293,1.3-0.65L10,3 c0.2926-0.8653,1.0874-1.4613,2-1.5c-0.4198-0.3485-0.955-0.5269-1.5-0.5C9.2727,0.9131,8.1846,1.7836,8,3l-1.3,7.79 C6.9786,10.9052,7.2408,11.0565,7.48,11.24z M11.8,10.74L11.8,10.74c0.1565-0.1277,0.3238-0.2414,0.5-0.34L13,6 c0.2926-0.8653,1.0874-1.4613,2-1.5c-0.4198-0.3485-0.955-0.5269-1.5-0.5c-1.2273-0.0869-2.3154,0.7836-2.5,2l-0.67,4 C10.8731,10.123,11.3778,10.377,11.8,10.74z M14,12L14,12c-0.4346-0.01-0.8579,0.1394-1.19,0.42l-0.47,0.41 c-0.2847,0.2546-0.7153,0.2546-1,0c-0.15-0.12-0.29-0.26-0.44-0.39c-0.7076-0.5968-1.7424-0.5968-2.45,0 c-0.16,0.13-0.31,0.28-0.47,0.41c-0.2847,0.2546-0.7153,0.2546-1,0c-0.16-0.13-0.31-0.28-0.47-0.41 c-0.7059-0.5912-1.7341-0.5912-2.44,0c-0.15,0.13-0.29,0.27-0.44,0.39c-0.0892,0.0715-0.1909,0.1258-0.3,0.16 c-0.2922,0.0652-0.5969-0.0301-0.8-0.25c-0.2475-0.214-0.5117-0.4079-0.79-0.58C1.5336,12.0421,1.2974,11.9865,1.06,12H1 c-0.2761,0-0.5,0.2239-0.5,0.5S0.7239,13,1,13l0,0c0.246,0.0145,0.4762,0.126,0.64,0.31L2,13.57 c0.6717,0.55,1.6308,0.5747,2.33,0.06c0.19-0.14,0.36-0.32,0.55-0.47c0.2847-0.2546,0.7153-0.2546,1,0l0.39,0.35 c0.6937,0.6189,1.7322,0.6484,2.46,0.07c0.15-0.11,0.27-0.25,0.42-0.37c0.2976-0.3038,0.7851-0.3087,1.0889-0.0111 c0.0037,0.0037,0.0074,0.0074,0.0111,0.0111l0.39,0.35c0.4866,0.4124,1.1485,0.5516,1.76,0.37c0.3825-0.1036,0.7286-0.3113,1-0.6 c0.1549-0.1772,0.3674-0.294,0.6-0.33l0,0c0.2761,0,0.5-0.2239,0.5-0.5S14.2761,12,14,12z",wheelchair:"M12,1.5C12,2.3284,11.3284,3,10.5,3S9,2.3284,9,1.5S9.6716,0,10.5,0S12,0.6716,12,1.5z M2.82,4.87l1.74-1.71l1.85,1.29 L5.67,5.7c1.0747,0.3341,2.0207,0.9904,2.71,1.88l0.88-1.5c0.2295-0.4158,0.0785-0.939-0.3373-1.1685 C8.9218,4.911,8.9209,4.9105,8.92,4.91L8.3,4.54L4.79,2.1C4.5927,1.9594,4.3231,1.9805,4.15,2.15l-2,2 C1.9852,4.3716,2.0312,4.6848,2.2528,4.8496C2.4193,4.9735,2.645,4.9816,2.82,4.87z M8.13,10.94 c-0.0143,1.2308-0.5794,2.3904-1.54,3.16c-0.7118,0.5804-1.6016,0.8982-2.52,0.9C1.8261,15,0.0055,13.1839,0,10.94 c0.0023-0.9231,0.3238-1.8169,0.91-2.53c0.1868-0.232,0.398-0.4432,0.63-0.63c0.7131-0.5862,1.6069-0.9077,2.53-0.91 C6.3139,6.8755,8.13,8.6961,8.13,10.94z M6,12.21C6.7679,11.2051,6.5758,9.7679,5.5709,9C4.7501,8.3727,3.6109,8.3727,2.79,9 C2.5283,9.151,2.311,9.3683,2.16,9.63c-0.6923,1.0584-0.3956,2.4777,0.6628,3.17c0.7615,0.4981,1.7457,0.4981,2.5072,0 C5.5805,12.6365,5.8061,12.4378,6,12.21z M14.2,13.21l-2.49-5C11.5906,7.9251,11.3088,7.7425,11,7.75H8.51 c0.3293,0.4578,0.5856,0.9638,0.76,1.5h1.26l2.29,4.58c0.185,0.3728,0.6372,0.525,1.01,0.34c0.3728-0.185,0.525-0.6372,0.34-1.01 L14.2,13.21z",windmill:"M6,5L3.5,7.5l1,1L7,6V5.5L7.5,5L8,5.5V6l2.5,2.5l1-1L9,5H8.5L8,4.5L8.5,4H9l2.5-2.5l-1-1L8,3v0.5L7.5,4L7,3.5V3L4.5,0.5 l-1,1L6,4h0.5L7,4.5L6.5,5H6z M11.5,13h-1l-1-4l-2-2l-2,2l-1,4h-1C3.2239,13,3,13.2238,3,13.5C3,13.7761,3.2239,14,3.5,14h8 c0.2761,0,0.5-0.2239,0.5-0.5C12,13.2238,11.7761,13,11.5,13z M8,13H7v-1.5024C7,11.2228,7.2228,11,7.4976,11 C7.7751,11,8,11.2249,8,11.5024V13z",zoo:"M8.3879,3.8928C8.3879,3.8928,7.6818,5,7,5H4.5C3.8182,5,3.2016,5.4086,2.7273,5.8636L0.5,8C0.231,8.258,0.0072,8.7681,0,9 c-0.0156,0.5,0,1,0,1s1,0,1-1V8.5l1-1h0.5l0.158,0.2892c0,0-0.9535,1.8244-0.9535,3.5289C1.7046,12,2.3864,12,2.3864,12h0.6818 c0,0,0.3409,0,0-0.3409l-0.3409-0.3409C2.7273,10.6364,3.5002,9.6667,4,9c0,0,0.0168,1.1579,0,2c-0.008,0.4096,0.2721,1,0.6818,1 h0.6818c0,0,0.3409,0,0-0.3409l-0.3409-0.3409C4.7105,10.7495,5.5,8.5,5.5,8.5C6.7716,8.5,7,9,8.5,9l0.3636,2.3182 C8.975,12.0282,9.5,12,9.5,12H11c0.3409,0,0.9611-0.3115,0.3409-0.7736L11,11V9c1.2142-0.1722,2-1,2-2h1c0.3214,0,1,0,1-0.5v-1 l-1.7045-1.6818C12.5444,3.0772,12,2.5,11,2.5C9.5469,2.5,8.8636,3.0688,8.3879,3.8928z"},s5=Object.keys(ze);function Ot(e,t){const n=ze[e];n||console.warn(`[MakiIcon] Unknown icon: "${e}", falling back to "marker"`);const r=n??ze.marker??"",o=(t==null?void 0:t.size)??32,i=(t==null?void 0:t.fill)??"#333",s=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15" width="${o}" height="${o}"><path fill="${i}" d="${r}"/></svg>`;return`data:image/svg+xml,${encodeURIComponent(s)}`}function i5(e,t){const n={};for(const r of e)n[r]=Ot(r,t);return n}const a5="M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z";function Bt(e,t){const n=ze[e];n||console.warn(`[MakiIcon] Unknown icon: "${e}", falling back to "marker"`);const r=n??ze.marker??"",o=(t==null?void 0:t.size)??40,i=(t==null?void 0:t.fill)??"#2563eb",s=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 40" width="${o}" height="${Math.round(o*1.25)}"><path d="${a5}" fill="${i}" stroke="white" stroke-width="1.5"/>`+(r?`<svg x="8" y="8" viewBox="0 0 15 15" width="16" height="16"><path fill="white" d="${r}"/></svg>`:"")+"</svg>";return`data:image/svg+xml,${encodeURIComponent(s)}`}function Ut(e,t){const n={};for(const r of e)n[r]=Bt(r,t);return n}const Qe={primary:{fill:"#2563eb",bg:"rgba(37, 99, 235, 0.2)",ring:"rgba(37, 99, 235, 0.2)"},success:{fill:"#00854d",bg:"rgba(0, 133, 77, 0.2)",ring:"rgba(0, 133, 77, 0.2)"},warning:{fill:"#943700",bg:"rgba(148, 55, 0, 0.2)",ring:"rgba(148, 55, 0, 0.2)"},error:{fill:"#ba1a1a",bg:"rgba(186, 26, 26, 0.2)",ring:"rgba(186, 26, 26, 0.2)"}};function l5(e){return typeof e=="string"&&/<[a-zA-Z][^>]*>/.test(e)}function Y1({color:e="primary"}){const{fill:t}=Qe[e];return a.jsxs("svg",{viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"aimapui-marker-pin",style:{width:32,height:40,display:"block",filter:"drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06))"},children:[a.jsx("path",{d:"M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z",fill:t,stroke:"white",strokeWidth:1.5}),a.jsx("circle",{cx:"16",cy:"16",r:"4",fill:"white"})]})}function c5({icon:e,color:t="primary"}){const{fill:n}=Qe[t],r=ze[e]??ze.marker??"";return a.jsxs("div",{className:"aimapui-marker-pin aimapui-marker-pin--icon",style:{position:"relative",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",width:32,height:40,filter:"drop-shadow(0 4px 3px rgba(0,0,0,0.07)) drop-shadow(0 2px 2px rgba(0,0,0,0.06))"},children:[a.jsx("svg",{viewBox:"0 0 32 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",inset:0,width:"100%",height:"100%"},children:a.jsx("path",{d:"M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z",fill:n,stroke:"white",strokeWidth:1.5})}),r&&a.jsx("svg",{viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg",style:{position:"relative",zIndex:1,width:16,height:16,marginTop:8,fill:"white"},children:a.jsx("path",{d:r,style:{fill:"white"}})})]})}function u5({color:e="primary"}){const{fill:t,bg:n}=Qe[e];return a.jsx("div",{className:"aimapui-marker-circle",style:{position:"relative",width:24,height:24,borderRadius:"50%",border:"1.5px solid white",boxShadow:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",display:"flex",alignItems:"center",justifyContent:"center",background:n,borderColor:t},children:a.jsx("div",{className:"aimapui-marker-circle__inner",style:{width:6,height:6,borderRadius:"50%",background:t}})})}function d5({color:e="primary"}){const{fill:t}=Qe[e];return a.jsx("div",{className:"aimapui-marker-dot",style:{width:8,height:8,borderRadius:"50%",border:"1.5px solid white",boxShadow:"0 1px 3px rgba(0,0,0,0.3)",background:t}})}function h5({text:e}){return a.jsx("div",{className:"aimapui-marker-label",style:{position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",fontSize:12,lineHeight:"16px",fontWeight:450,color:"#1d1d1f",whiteSpace:"nowrap",pointerEvents:"none",textShadow:"-1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff, 0 0 2px #fff, 0 0 4px rgba(255,255,255,0.5)"},children:e})}const J1={center:"translate(-50%, -50%)",top:"translate(-50%, 0)",bottom:"translate(-50%, -100%)",left:"translate(0, -50%)",right:"translate(-100%, -50%)","top-left":"translate(0, 0)","top-right":"translate(-100%, 0)","bottom-left":"translate(0, -100%)","bottom-right":"translate(-100%, -100%)"},p5=[0,0];function f5(e,t,n,r){let o;switch(e){case"pin":o=a.jsx(Y1,{color:t});break;case"circle":o=a.jsx(u5,{color:t});break;case"icon":o=a.jsx(c5,{icon:n||"marker",color:t});break;case"dot":o=a.jsx(d5,{color:t});break;default:o=a.jsx(Y1,{color:t})}return r?a.jsxs("div",{style:{position:"relative",display:"inline-flex",flexDirection:"column",alignItems:"center"},children:[o,a.jsx(h5,{text:r})]}):o}function Ae({longitude:e,latitude:t,variant:n="pin",color:r="primary",icon:o,label:i,content:s,children:l,draggable:c=!1,className:d,overlayContainer:h,onClick:m,onMouseEnter:p,onMouseLeave:g,onDoubleClick:f,onDragEnd:C,onDragging:v,onDragStart:w,selected:S=!1,inactive:b=!1,anchor:A="bottom",offsets:z=p5,overflowHide:Z=!0}){const M=he(),E=u.useRef(null),D=u.useRef(null),V=u.useRef({lng:e,lat:t}),R=u.useRef({width:0,height:0}),N=z[0]??0,I=z[1]??0,L=u.useRef(null),H=u.useRef(m);H.current=m;const O=u.useRef(p);O.current=p;const q=u.useRef(g);q.current=g;const ee=u.useRef(f);ee.current=f;const J=u.useRef(w);J.current=w;const K=u.useRef(v);K.current=v;const ae=u.useRef(C);ae.current=C;const W=u.useMemo(()=>{const P=["aimapui-marker"];return S&&P.push("aimapui-marker--selected"),b&&P.push("aimapui-marker--inactive"),P.push(`aimapui-marker--${r}`),d&&P.push(d),P.join(" ")},[S,b,r,d]),te=u.useMemo(()=>s||l||f5(n,r,o,i),[s,l,n,r,o,i]),ne=P=>{const B=E.current;if(!B||!P)return;const{lng:ie,lat:Y}=V.current;if(isNaN(ie)||isNaN(Y))return;let oe;try{oe=P.lngLatToContainer([ie,Y])}catch{return}if(!oe||isNaN(oe.x)||isNaN(oe.y))return;const ce=oe.x+N,j=oe.y-I,y=J1[A]||J1.bottom,k=Math.round(ce),x=Math.round(j);if(B.style.left="0",B.style.top="0",B.style.transform=`translate3d(${k}px, ${x}px, 0) ${y}`,Z){const{width:G,height:_}=R.current;B.style.visibility=ce<0||ce>G||j<0||j>_?"hidden":"visible"}};return u.useEffect(()=>{if(!M)return;let P=!1;const B=M.mapService;if(!B){console.error("[Marker] mapService not available");return}const ie=()=>{var k;const y=(k=B.getContainer)==null?void 0:k.call(B);y&&(R.current={width:y.scrollWidth||y.clientWidth||0,height:y.scrollHeight||y.clientHeight||0})},Y=()=>{E.current&&ne(B)},oe=(y,k,x)=>{var G;try{(G=y==null?void 0:y.on)==null||G.call(y,k,x)}catch{}},ce=(y,k,x)=>{var G;try{(G=y==null?void 0:y.off)==null||G.call(y,k,x)}catch{}};return ie(),oe(B,"camerachange",Y),oe(B,"viewchange",Y),oe(M,"resize",ie),(async()=>{var F;if(M.loaded||await new Promise(T=>{M.once("loaded",()=>T())}),P)return;const y=document.createElement("div");y.className=W,y.style.position="absolute",y.style.left="0",y.style.top="0",y.style.whiteSpace="nowrap",y.style.pointerEvents="auto",E.current=y;const k=h??((F=B.getMarkerContainer)==null?void 0:F.call(B));if(k)k.appendChild(y);else{console.error("[Marker] getMarkerContainer not available");return}ne(B);let x=!1,G={lng:0,lat:0};const _=T=>{var re;if(!c)return;x=!0,B.setMapStatus({dragEnable:!1,zoomEnable:!1});const X=B.getContainer(),$=(re=X==null?void 0:X.getClientRects())==null?void 0:re[0];if($){const le=$.left,se=$.top,de=T.x||T.clientX,Ce=T.y||T.clientY;G=B.containerToLngLat([de-le,Ce-se])}B.on("mousemove",U),document.addEventListener("mouseup",Q),J.current&&J.current(V.current.lng,V.current.lat)},U=T=>{if(!x)return;const X=T.lngLat||T.lnglat,{lng:$,lat:re}=G,{lng:le,lat:se}=X,de={lng:V.current.lng+le-$,lat:V.current.lat+se-re};V.current=de,G=X,ne(B),K.current&&K.current(de.lng,de.lat)},Q=()=>{x&&(x=!1,B.setMapStatus({dragEnable:!0,zoomEnable:!0}),B.off("mousemove",U),document.removeEventListener("mouseup",Q),ae.current&&ae.current(V.current.lng,V.current.lat))};y.addEventListener("click",(T=>{var X;return(X=H.current)==null?void 0:X.call(H,T)})),y.addEventListener("mouseenter",(T=>{var X;return(X=O.current)==null?void 0:X.call(O,T)})),y.addEventListener("mouseleave",(T=>{var X;return(X=q.current)==null?void 0:X.call(q,T)})),y.addEventListener("dblclick",(T=>{var X;return(X=ee.current)==null?void 0:X.call(ee,T)})),c&&y.addEventListener("mousedown",_),L.current={updatePosition:Y,handleDragStart:_,handleDragMove:U,handleDragEnd:Q}})(),()=>{if(P=!0,ce(B,"camerachange",Y),ce(B,"viewchange",Y),ce(M,"resize",ie),L.current&&c&&B.setMapStatus({dragEnable:!0,zoomEnable:!0}),E.current){const k=D.current,x=E.current;D.current=null,E.current=null,queueMicrotask(()=>{k&&k.unmount(),x.parentNode&&x.parentNode.removeChild(x)})}L.current=null}},[M,A,N,I,Z,c,h]),u.useEffect(()=>{if(!E.current)return;const P=E.current;l5(te)?P.innerHTML=te:(D.current||(D.current=m0.createRoot(P)),D.current.render(a.jsx(a.Fragment,{children:te})))},[te]),u.useEffect(()=>{E.current&&(E.current.className=W)},[W]),u.useEffect(()=>{if(V.current={lng:e,lat:t},M&&E.current){const P=M.mapService;P&&ne(P)}},[e,t,M]),null}function Wt({interactions:e}){const t=he(),[n,r]=u.useState(null);u.useEffect(()=>{if(!t)return;const s=()=>{try{const c=t.mapService;if(c&&typeof c.getMarkerContainer=="function"){const d=c.getMarkerContainer();if(d){r(d);return}}}catch{}const l=setTimeout(()=>{try{const c=t.mapService;if(c&&typeof c.getMarkerContainer=="function"){const d=c.getMarkerContainer();d&&r(d)}}catch{}},100);return()=>clearTimeout(l)};return t.loaded?s():(t.on("loaded",s),()=>{t.off("loaded",s)})},[t]);const o=e.filter(s=>s.type==="marker"),i=e.filter(s=>s.type==="popup");return a.jsxs(a.Fragment,{children:[n&&o.map((s,l)=>a.jsx(Ae,{...s,overlayContainer:n},`marker-${l}`)),n&&i.map((s,l)=>a.jsx(_e,{...s,overlayContainer:n},`popup-${l}`))]})}function V1({title:e,labels:t,colors:n,swatchShape:r="square",grid:o=!1,className:i,interaction:s}){const[l,c]=u.useState(-1),[d,h]=u.useState(new Set),m=f=>{var C;c(f),(C=s==null?void 0:s.onHover)==null||C.call(s,f)},p=()=>{var f;c(-1),(f=s==null?void 0:s.onHover)==null||f.call(s,-1)},g=f=>{var C;h(v=>{const w=new Set(v);return w.has(f)?w.delete(f):w.add(f),w}),(C=s==null?void 0:s.onToggle)==null||C.call(s,f)};return a.jsxs("div",{className:ue(i),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsx("div",{className:ue("flex flex-col gap-1",o&&"grid grid-cols-2 gap-x-3 gap-y-1"),children:t.map((f,C)=>{const v=l>=0?l!==C:d.has(C);return a.jsxs("div",{className:ue("flex items-center gap-2 rounded px-1 py-0.5 cursor-pointer select-none transition-[background,opacity] duration-150 hover:bg-primary/[0.06]",v&&"opacity-35"),onMouseEnter:()=>m(C),onMouseLeave:p,onClick:()=>g(C),children:[a.jsx("span",{className:ue("size-3 shrink-0 rounded-sm shadow-[inset_0_0_0_1px_rgba(0,0,0,0.08)] transition-opacity duration-150",r==="circle"&&"rounded-full"),style:{backgroundColor:n[C]??"#ccc"}}),a.jsx("span",{className:"text-xs leading-4 text-on-surface truncate",children:f})]},C)})})]})}function k1({title:e,labels:t,colors:n,isContinuous:r=!1,showTicks:o=!1,brushable:i=!1,className:s,interaction:l}){const[c,d]=u.useState([0,100]),h=u.useRef(null),m=n.join(", "),p=u.useCallback(g=>f=>{f.stopPropagation(),f.preventDefault();const C=h.current;if(!C)return;const v=C.getBoundingClientRect().width,w=b=>{const A=C.getBoundingClientRect(),z=b.clientX-A.left,Z=Math.max(0,Math.min(100,z/v*100));d(M=>{var D;let E;return g==="left"?E=[Math.min(Z,M[1]-5),M[1]]:E=[M[0],Math.max(Z,M[0]+5)],(D=l==null?void 0:l.onBrush)==null||D.call(l,E),E})},S=()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",S)};document.addEventListener("mousemove",w),document.addEventListener("mouseup",S)},[l,h]);return a.jsxs("div",{className:ue(s),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsxs("div",{className:"flex flex-col gap-1",ref:h,children:[a.jsx("div",{className:ue("flex h-3 rounded overflow-hidden shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",r&&"bg-[length:100%_100%]"),style:r?{background:`linear-gradient(to right, ${m})`}:void 0,children:!r&&n.map((g,f)=>a.jsx("div",{className:"flex-1 relative",style:{backgroundColor:g}},f))}),o&&a.jsx("div",{className:"flex justify-between h-1.5 mt-0.5",children:n.map((g,f)=>f===0?null:a.jsx("div",{className:"w-px h-full bg-outline-variant",style:{position:"absolute",left:`${f/(n.length-1)*100}%`}},f))}),a.jsxs("div",{className:"flex justify-between font-mono text-[11px] leading-3.5 font-[450] text-on-surface-variant",children:[a.jsx("span",{children:t[0]}),t.length>2&&a.jsx("span",{children:t[Math.floor(t.length/2)]}),a.jsx("span",{children:t[t.length-1]})]}),i&&a.jsxs("div",{className:"relative h-3 mt-1 cursor-ew-resize",children:[a.jsx("div",{className:"absolute top-0 h-full border-2 border-primary rounded-sm bg-primary/10 pointer-events-none",style:{left:`${c[0]}%`,width:`${c[1]-c[0]}%`}}),a.jsx("div",{className:"absolute top-1/2 w-2 h-4 bg-primary rounded-sm -translate-x-1/2 -translate-y-1/2 cursor-ew-resize shadow-sm hover:shadow-md hover:shadow-primary/30 transition-shadow duration-150",style:{left:`${c[0]}%`},onMouseDown:p("left")}),a.jsx("div",{className:"absolute top-1/2 w-2 h-4 bg-primary rounded-sm -translate-x-1/2 -translate-y-1/2 cursor-ew-resize shadow-sm hover:shadow-md hover:shadow-primary/30 transition-shadow duration-150",style:{left:`${c[1]}%`},onMouseDown:p("right")})]})]})]})}function j1({title:e,colors:t,labels:n,middleLabel:r,className:o}){const i=t.join(", ");return a.jsxs("div",{className:ue(o),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsxs("div",{className:"flex flex-col gap-1",children:[a.jsxs("div",{style:{position:"relative"},children:[a.jsx("div",{className:"flex h-3 rounded overflow-hidden shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{background:`linear-gradient(to right, ${i})`}}),a.jsx("div",{style:{position:"absolute",top:-4,left:"50%",transform:"translateX(-50%)",width:1,height:20,background:"var(--color-outline-variant, #c3c6d7)"}}),r&&a.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 -bottom-[18px] font-mono text-[11px] text-on-surface-variant whitespace-nowrap",children:r})]}),a.jsxs("div",{className:"flex justify-between font-mono text-[11px] leading-3.5 font-[450] text-on-surface-variant",style:r?{marginBottom:12}:void 0,children:[a.jsx("span",{children:n[0]}),a.jsx("span",{children:n[1]})]})]})]})}function E1({title:e,ranges:t,colors:n,className:r,interaction:o}){const[i,s]=u.useState(-1),[l,c]=u.useState(new Set),d=p=>{var g;s(p),(g=o==null?void 0:o.onHover)==null||g.call(o,p)},h=()=>{var p;s(-1),(p=o==null?void 0:o.onHover)==null||p.call(o,-1)},m=p=>{var g;c(f=>{const C=new Set(f);return C.has(p)?C.delete(p):C.add(p),C}),(g=o==null?void 0:o.onToggle)==null||g.call(o,p)};return a.jsxs("div",{className:ue(r),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsx("div",{className:"flex flex-col gap-1.5",children:t.map(([p,g],f)=>{const C=i>=0?i!==f:l.has(f);return a.jsxs("div",{className:ue("flex items-center gap-2 cursor-pointer select-none transition-opacity duration-150 hover:opacity-80",C&&"opacity-35"),onMouseEnter:()=>d(f),onMouseLeave:h,onClick:()=>m(f),children:[a.jsx("span",{className:"w-6 h-3 shrink-0 rounded-sm shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{backgroundColor:n[f]??"#ccc"}}),a.jsxs("span",{className:"font-mono text-[11px] leading-3.5 text-on-surface-variant",children:["[",p,", ",g,")"]})]},f)})})]})}function A1({title:e,fillColor:t="#4A90D9",items:n,className:r}){const o=Math.max(...n.map(i=>i.size),1);return a.jsxs("div",{className:ue(r),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("div",{className:"flex items-end gap-2 px-1",children:n.map((i,s)=>a.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-end",height:o},children:a.jsx("div",{className:"rounded-full shrink-0 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{width:i.size,height:i.size,backgroundColor:t,opacity:.85}})},s))}),a.jsx("div",{className:"flex items-end gap-2 mt-1",children:n.map((i,s)=>a.jsx("span",{className:"font-mono text-[11px] leading-3.5 text-on-surface-variant whitespace-nowrap",children:i.label},s))})]})]})}function Z1({title:e,color:t="#4A90D9",items:n,className:r,interaction:o}){const[i,s]=u.useState(-1),[l,c]=u.useState(new Set),d=p=>{var g;s(p),(g=o==null?void 0:o.onHover)==null||g.call(o,p)},h=()=>{var p;s(-1),(p=o==null?void 0:o.onHover)==null||p.call(o,-1)},m=p=>{var g;c(f=>{const C=new Set(f);return C.has(p)?C.delete(p):C.add(p),C}),(g=o==null?void 0:o.onToggle)==null||g.call(o,p)};return a.jsxs("div",{className:ue(r),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsx("div",{className:"flex flex-col gap-1.5",children:n.map((p,g)=>{const f=i>=0?i!==g:l.has(g);return a.jsxs("div",{className:ue("flex items-center gap-2.5 py-0.5 cursor-pointer select-none transition-opacity duration-150 hover:opacity-80",f&&"opacity-35"),onMouseEnter:()=>d(g),onMouseLeave:h,onClick:()=>m(g),children:[a.jsx("div",{className:"w-7 shrink-0 rounded-full shadow-[0_0_0_1px_rgba(0,0,0,0.06)]",style:{height:p.width,backgroundColor:t,opacity:.85}}),a.jsx("span",{className:"text-xs leading-4 text-on-surface whitespace-nowrap",children:p.label})]},g)})})]})}function P1({title:e,labels:t,fillColor:n="#4A90D9",className:r}){return a.jsxs("div",{className:ue(r),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("div",{className:"flex items-end gap-2 px-1",children:t.map(([s,l],c)=>{const h=6+c/Math.max(t.length-1,1)*18;return a.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-end",height:24},children:a.jsx("div",{className:"rounded-full shrink-0 shadow-[inset_0_0_0_1px_rgba(0,0,0,0.06)]",style:{width:h,height:h,backgroundColor:n,opacity:.85}})},c)})}),a.jsx("div",{className:"flex items-end gap-2 mt-1",children:t.map(([s,l],c)=>a.jsxs("span",{className:"font-mono text-[11px] leading-3.5 text-on-surface-variant whitespace-nowrap",children:[s,"–",l]},c))})]})]})}function X1(e){return/^(https?:|\/\/|data:)/i.test(e)}function I1({title:e,items:t,className:n,interaction:r}){const[o,i]=u.useState(-1),[s,l]=u.useState(new Set),c=m=>{var p;i(m),(p=r==null?void 0:r.onHover)==null||p.call(r,m)},d=()=>{var m;i(-1),(m=r==null?void 0:r.onHover)==null||m.call(r,-1)},h=m=>{var p;l(g=>{const f=new Set(g);return f.has(m)?f.delete(m):f.add(m),f}),(p=r==null?void 0:r.onToggle)==null||p.call(r,m)};return a.jsxs("div",{className:ue(n),children:[e&&a.jsx("div",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-on-surface-variant",children:e}),a.jsx("div",{className:"flex flex-col gap-1",children:t.map((m,p)=>{const g=o>=0?o!==p:s.has(p);return a.jsxs("div",{className:ue("flex items-center gap-2 px-1 py-0.5 rounded cursor-pointer select-none transition-[background,opacity] duration-150 hover:bg-primary/[0.06]",g&&"opacity-35"),onMouseEnter:()=>c(p),onMouseLeave:d,onClick:()=>h(p),children:[X1(m.icon)?a.jsx("img",{src:m.icon,alt:m.label,className:"size-5 object-contain shrink-0",onError:f=>{const C=f.target;C.style.display="none";const v=C.nextElementSibling;v&&(v.style.display="flex")}}):a.jsx("span",{className:"size-5 flex items-center justify-center shrink-0 text-base leading-none",children:m.icon}),X1(m.icon)&&a.jsx("span",{className:"size-5 hidden items-center justify-center shrink-0 text-base leading-none text-on-surface-variant",children:"□"}),a.jsx("span",{className:"text-xs leading-4 text-on-surface",children:m.label})]},p)})})]})}function qt({legends:e,className:t,style:n,interaction:r}){return e.length?a.jsx("div",{className:ue("absolute z-20 bottom-6 left-6 max-h-[40%] overflow-y-auto rounded-xl border border-outline-variant/30 bg-surface/80 backdrop-blur-md p-3 px-3.5 text-on-surface shadow-lg scrollbar-thin scrollbar-track-transparent scrollbar-thumb-outline-variant",t),style:n,children:a.jsx("div",{className:"flex flex-col gap-4 [&>*+*]:border-t [&>*+*]:border-outline-variant/20 [&>*+*]:pt-4",children:e.map((o,i)=>a.jsx(g5,{legend:o,interaction:r},`legend-${i}`))})}):null}function g5({legend:e,interaction:t}){switch(e.type){case"categories":return a.jsx(V1,{...e,interaction:t});case"ramp":return a.jsx(k1,{...e,interaction:t});case"diverging":return a.jsx(j1,{...e,interaction:t});case"threshold":return a.jsx(E1,{...e,interaction:t});case"size":return a.jsx(A1,{...e,interaction:t});case"lineWidth":return a.jsx(Z1,{...e,interaction:t});case"proportion":return a.jsx(P1,{...e,interaction:t});case"icon":return a.jsx(I1,{...e,interaction:t});default:return null}}const Gt=u.createContext({isMobile:!1,breakpoint:768,width:typeof window<"u"?window.innerWidth:1024,schema:void 0});function m5({responsive:e,children:t}){const[n,r]=u.useState(typeof window<"u"?window.innerWidth:1024);u.useEffect(()=>{const l=()=>r(window.innerWidth);return window.addEventListener("resize",l),()=>window.removeEventListener("resize",l)},[]);const o=(e==null?void 0:e.breakpoint)??768,i=n<o,s=u.useMemo(()=>({isMobile:i,breakpoint:o,width:n,schema:e}),[i,o,n,e]);return a.jsx(Gt.Provider,{value:s,children:t})}function Yt(){return u.useContext(Gt)}function Jt({config:e,className:t}){const n=he(),{items:r,position:o="bottom"}=e,i=c=>{switch(c){case"zoomIn":n==null||n.zoomIn();break;case"zoomOut":n==null||n.zoomOut();break;case"locate":navigator.geolocation&&navigator.geolocation.getCurrentPosition(d=>{n==null||n.setCenter([d.coords.longitude,d.coords.latitude]),n==null||n.setZoom(14)});break;case"reset":n==null||n.setCenter([105,35]),n==null||n.setZoom(4);break}},s={zoomIn:a.jsx("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:a.jsx("path",{d:"M12 5v14m-7-7h14"})}),zoomOut:a.jsx("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:a.jsx("path",{d:"M5 12h14"})}),locate:a.jsxs("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:[a.jsx("circle",{cx:"12",cy:"12",r:"3"}),a.jsx("path",{d:"M12 2v4m0 12v4m10-10h-4M6 12H2"})]}),reset:a.jsxs("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:[a.jsx("path",{d:"M3 12a9 9 0 1 1 3.3 6.9"}),a.jsx("path",{d:"M3 22v-7h7"})]}),layers:a.jsx("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",fill:"none",stroke:"currentColor",strokeWidth:2,children:a.jsx("path",{d:"M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"})})},l={zoomIn:"放大",zoomOut:"缩小",locate:"定位",reset:"复位",layers:"图层"};return a.jsx("div",{className:ue("aimapui-mobile-toolbar pointer-events-none",o==="bottom"?"aimapui-mobile-toolbar--bottom":"aimapui-mobile-toolbar--top",t),children:a.jsx("div",{className:"aimapui-mobile-toolbar__bar pointer-events-auto",children:r.map((c,d)=>a.jsxs("button",{onClick:()=>i(c),className:"aimapui-mobile-toolbar__button group",style:{background:"none",border:"none",cursor:"pointer"},"aria-label":l[c]??c,title:l[c]??c,children:[a.jsx("span",{className:"aimapui-mobile-toolbar__icon",children:s[c]}),a.jsx("span",{className:"aimapui-mobile-toolbar__label",children:l[c]??c})]},`${c}-${d}`))})})}function Xt({legends:e,className:t,interaction:n}){const[r,o]=u.useState(!1);return e.length?a.jsx("div",{className:ue("aimapui-mobile-sheet-legend",t),children:a.jsxs("div",{className:"aimapui-mobile-sheet-legend__panel",children:[a.jsx("div",{className:"aimapui-mobile-sheet-legend__handle","aria-hidden":"true"}),a.jsxs("button",{onClick:()=>o(!r),className:"aimapui-mobile-sheet-legend__toggle",style:{background:"none",border:"none",cursor:"pointer"},children:[a.jsxs("span",{className:"aimapui-mobile-sheet-legend__toggle-copy",children:[a.jsx("span",{className:"aimapui-mobile-sheet-legend__eyebrow",children:"Legend Panel"}),a.jsxs("span",{className:"aimapui-mobile-sheet-legend__title-row",children:[a.jsx("span",{className:"aimapui-mobile-sheet-legend__title",children:"图例"}),a.jsxs("span",{className:"aimapui-mobile-sheet-legend__badge",children:[e.length," 项"]})]})]}),a.jsx("span",{className:"aimapui-mobile-sheet-legend__chevron-shell","aria-hidden":"true",children:a.jsx("svg",{viewBox:"0 0 24 24",className:ue("aimapui-mobile-sheet-legend__chevron",r&&"aimapui-mobile-sheet-legend__chevron--expanded"),fill:"none",stroke:"currentColor",strokeWidth:2,children:a.jsx("path",{d:"M6 9l6 6 6-6"})})})]}),a.jsx("div",{className:ue("aimapui-mobile-sheet-legend__content custom-scrollbar",r?"aimapui-mobile-sheet-legend__content--expanded":"aimapui-mobile-sheet-legend__content--collapsed"),children:e.map((i,s)=>a.jsx("div",{className:"aimapui-mobile-sheet-legend__section",children:a.jsx(y5,{legend:i,interaction:n})},`mobile-legend-${s}`))})]})}):null}function y5({legend:e,interaction:t}){switch(e.type){case"categories":return a.jsx(V1,{...e,interaction:t});case"ramp":return a.jsx(k1,{...e,interaction:t});case"diverging":return a.jsx(j1,{...e,interaction:t});case"threshold":return a.jsx(E1,{...e,interaction:t});case"size":return a.jsx(A1,{...e,interaction:t});case"lineWidth":return a.jsx(Z1,{...e,interaction:t});case"proportion":return a.jsx(P1,{...e,interaction:t});case"icon":return a.jsx(I1,{...e,interaction:t});default:return null}}function C5({map:e,schema:t,theme:n="light",onSceneReady:r,onLayerClick:o,onLayerMouseMove:i,onLayerMouseEnter:s,onLayerMouseLeave:l,onMapMove:c,onMapZoom:d,autoFit:h,events:m,children:p,className:g,style:f}){const C=u.useRef(null),v=u.useMemo(()=>t?d1(ut(t)):{map:v5(e??{basemap:"gaode"}),layers:[],controls:[],interactions:[],legends:[]},[t,e]),w=!t&&!!e,S=u.useMemo(()=>({onClick:o,onMouseMove:i,onMouseEnter:s,onMouseLeave:l}),[o,i,s,l]),b=u.useMemo(()=>({onMove:c,onZoom:d}),[c,d]),A=u.useCallback(z=>{r==null||r(z)},[r]);return a.jsx(Ct,{defaultTheme:n,target:"container",children:a.jsx(ht,{schema:v,children:a.jsx(mt,{events:m,children:a.jsx(k0,{responsive:v.responsive,children:a.jsx(L5,{schema:v,isComposableMode:w,autoFit:h,onSceneReady:A,layerEventHandlers:S,mapEventHandlers:b,containerRef:C,className:g,style:f,children:p})})})})})}function x5(){const e=he();return u.useEffect(()=>{if(!e)return;let t=!1,n=null,r=null;const o=new Set,i=()=>{var v,w;if(t)return;const h=((v=e.getLayers)==null?void 0:v.call(e))??[];if(h.length===0)return;let m=1/0,p=1/0,g=-1/0,f=-1/0,C=!1;for(const S of h)try{const b=(w=S.getSource)==null?void 0:w.call(S),A=b==null?void 0:b.extent;if(!A||!Array.isArray(A)||A.length<4)continue;const[z,Z,M,E]=A;if(!isFinite(z)||!isFinite(Z)||!isFinite(M)||!isFinite(E)||z>=M||Z>=E)continue;m=Math.min(m,z),p=Math.min(p,Z),g=Math.max(g,M),f=Math.max(f,E),C=!0}catch{}if(!(!C||m>=g||p>=f))try{e.fitBounds([[m,p],[g,f]]),t=!0}catch{}},s=()=>{t||(n&&clearTimeout(n),n=setTimeout(i,200))};let l=0;const c=50,d=()=>{var m;if(t)return;l+=1;const h=((m=e.getLayers)==null?void 0:m.call(e))??[];for(const p of h)o.has(p)||(o.add(p),p.inited&&s(),typeof p.on=="function"&&p.on("inited",s));!t&&l<c&&(r=setTimeout(d,100))};return r=setTimeout(d,100),()=>{n&&clearTimeout(n),r&&clearTimeout(r)}},[e]),null}function v5(e){return{basemap:e.basemap??"gaode",token:e.token,style:e.style,center:e.center??[105,35],zoom:e.zoom??4,pitch:e.pitch??0,rotation:e.rotation??0,minZoom:e.minZoom,maxZoom:e.maxZoom,bounds:e.bounds,gestureConfig:e.gestureConfig}}function L5({schema:e,isComposableMode:t,autoFit:n,onSceneReady:r,layerEventHandlers:o,mapEventHandlers:i,containerRef:s,className:l,style:c,children:d}){var v,w;const{isMobile:h}=Yt(),[m,p]=u.useState(e.layers??[]),g=u.useMemo(()=>{var b,A;if(t||!h||!((A=(b=e.responsive)==null?void 0:b.mobile)!=null&&A.layers))return e.layers;const S=e.responsive.mobile.layers;if("*"in S){const z=S["*"];return e.layers.map(Z=>({...Z,...z,id:Z.id}))}return e.layers.map(z=>z.id&&S[z.id]?{...z,...S[z.id],id:z.id}:z)},[e.layers,e.responsive,h,t]),f=u.useMemo(()=>{var A,z;const S=e.controls??[];if(!h||!((z=(A=e.responsive)==null?void 0:A.mobile)!=null&&z.controls))return S;const b=e.responsive.mobile.controls;return b.hide?S.filter(Z=>!b.hide.includes(Z.type)):S},[e.controls,e.responsive,h]),C=u.useCallback((S,b)=>{p(A=>A.map(z=>z.id===S?{...z,visible:b}:z))},[]);return a.jsx("div",{ref:s,className:l??"aimapui-container",style:c??{width:"100%",height:"100%"},children:a.jsxs(Mt,{mapSchema:e.map,onSceneReady:r,mapEventHandlers:i,events:e.events,style:{width:"100%",height:"100%"},children:[n&&a.jsx(x5,{}),!t&&g.length>0&&a.jsx(At,{layers:g,eventHandlers:o}),!t&&a.jsx($t,{controls:f,layers:g,onLayerToggle:C,containerRef:s}),!t&&e.interactions&&e.interactions.length>0&&a.jsx(Wt,{interactions:e.interactions}),!t&&(h?e.legends&&e.legends.length>0&&a.jsx(Xt,{legends:e.legends}):a.jsx(qt,{legends:e.legends??[]})),!t&&h&&((w=(v=e.responsive)==null?void 0:v.mobile)==null?void 0:w.toolbar)&&a.jsx(Jt,{config:e.responsive.mobile.toolbar}),t?a.jsx(b5,{children:d}):null]})})}function b5({children:e}){const{controls:t,others:n}=u.useMemo(()=>{const r=[],o=[];return u.Children.forEach(e,(i,s)=>{u.isValidElement(i)&&me.check(i)?r.push(i):o.push(i)}),{controls:r,others:o}},[e]);return a.jsxs(a.Fragment,{children:[t.length>0&&a.jsx(y1,{children:t}),n]})}function Ne(e,t){if(e===t)return!1;if(e==null||t==null||typeof e!=typeof t||typeof e!="object")return!0;try{return JSON.stringify(e)!==JSON.stringify(t)}catch{return!0}}function M5(e,t){const n=Ne(e.map,t.map),r=new Map;(e.layers??[]).forEach(v=>{v.id&&r.set(v.id,v)});const o=new Map;(t.layers??[]).forEach(v=>{v.id&&o.set(v.id,v)});const i=[],s=[],l=[];(t.layers??[]).forEach((v,w)=>{const S=v.id??`__index_${w}`;if(!r.has(S))i.push(v);else{const b=r.get(S);Ne(b,v)&&l.push({id:S,prev:b,next:v})}}),(e.layers??[]).forEach((v,w)=>{const S=v.id??`__index_${w}`;o.has(S)||s.push(S)});const c=e.controls??[],d=t.controls??[],h=[],m=[],p=[],g=Math.max(c.length,d.length);for(let v=0;v<g;v++)v>=c.length?h.push(d[v]):v>=d.length?m.push(c[v]):Ne(c[v],d[v])&&p.push({index:v,prev:c[v],next:d[v]});const f=Ne(e.interactions,t.interactions),C=Ne(e.legends,t.legends);return{mapChanged:n,layersAdded:i,layersRemoved:s,layersUpdated:l,controlsAdded:h,controlsRemoved:m,controlsUpdated:p,interactionsChanged:f,legendsChanged:C}}function w5(e){const t=[];return e.map?t.push(...H5(e.map)):t.push({path:"map",message:"map is required",severity:"error"}),!e.layers||!Array.isArray(e.layers)?t.push({path:"layers",message:"layers must be an array",severity:"error"}):e.layers.forEach((n,r)=>{t.push(...S5(n,r))}),e.controls&&(Array.isArray(e.controls)?e.controls.forEach((n,r)=>{n.type||t.push({path:`controls[${r}].type`,message:"control type is required",severity:"error"})}):t.push({path:"controls",message:"controls must be an array",severity:"error"})),e.interactions&&(Array.isArray(e.interactions)?e.interactions.forEach((n,r)=>{(n.type==="marker"||n.type==="popup")&&(typeof n.longitude!="number"||typeof n.latitude!="number")&&t.push({path:`interactions[${r}]`,message:"marker/popup requires longitude and latitude as numbers",severity:"error"})}):t.push({path:"interactions",message:"interactions must be an array",severity:"error"})),e.legends&&(Array.isArray(e.legends)?e.legends.forEach((n,r)=>{n.type||t.push({path:`legends[${r}].type`,message:"legend type is required",severity:"error"})}):t.push({path:"legends",message:"legends must be an array",severity:"error"})),t}function H5(e){const t=[],n=["gaode","mapbox","maplibre","tianditu","tencent","baidu","google","map"];if(n.includes(e.basemap)||t.push({path:"map.basemap",message:`Invalid basemap "${e.basemap}". Valid values: ${n.join(", ")}`,severity:"error"}),e.center){const[r,o]=e.center;(r<-180||r>180)&&t.push({path:"map.center[0]",message:"Longitude must be between -180 and 180",severity:"error"}),(o<-90||o>90)&&t.push({path:"map.center[1]",message:"Latitude must be between -90 and 90",severity:"error"})}return e.zoom!==void 0&&(e.zoom<0||e.zoom>22)&&t.push({path:"map.zoom",message:"Zoom must be between 0 and 22",severity:"warning"}),["gaode","mapbox","tianditu","tencent","baidu","google"].includes(e.basemap)&&!e.token&&t.push({path:"map.token",message:`basemap "${e.basemap}" requires a token`,severity:"warning"}),t}function S5(e,t){const n=[],r=`layers[${t}]`,o=["point","line","polygon","heatmap","raster","image"];return e.type?o.includes(e.type)||n.push({path:`${r}.type`,message:`Invalid layer type "${e.type}". Valid values: ${o.join(", ")}`,severity:"error"}):n.push({path:`${r}.type`,message:"layer type is required",severity:"error"}),e.source===void 0&&e.source,e.colorField&&!e.colorValues&&!e.color&&n.push({path:`${r}.colorValues`,message:"colorField is set but colorValues is not. L7 will use default scale.",severity:"warning"}),e.sizeField&&!e.sizeValues&&e.size===void 0&&n.push({path:`${r}.sizeValues`,message:"sizeField is set but sizeValues is not. L7 will use default scale.",severity:"warning"}),n}const z5={$schema:"http://json-schema.org/draft-07/schema#",title:"AiMapSchema",description:"Schema-driven React map visualization component configuration",type:"object",required:["map","layers"],properties:{map:{type:"object",required:["basemap"],properties:{basemap:{type:"string",enum:["gaode","mapbox","maplibre","tianditu","tencent","baidu","google","map"],description:"Map base tile provider"},token:{type:"string",description:"API token for the map service"},style:{type:"string",description:"Map style preset (light/dark/normal/darkblue/satellite) or custom URL"},center:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"Map center [longitude, latitude], default [105, 35]"},zoom:{type:"number",description:"Map zoom level, default 4"},pitch:{type:"number",description:"Map pitch in degrees, default 0"},rotation:{type:"number",description:"Map rotation in degrees, default 0"},minZoom:{type:"number",description:"Minimum zoom level"},maxZoom:{type:"number",description:"Maximum zoom level"},bounds:{type:"array",items:{type:"array",items:{type:"number"},minItems:2,maxItems:2},minItems:2,maxItems:2,description:"Initial bounds [[swLng, swLat], [neLng, neLat]]"},gestureConfig:{type:"object",properties:{dragPan:{type:"boolean"},pinchZoom:{type:"boolean"},dragRotate:{type:"boolean"}}}}},layers:{type:"array",description:"Array of map layers",items:{type:"object",required:["type","source"],properties:{id:{type:"string",description:"Unique layer ID (auto-generated if omitted)"},type:{type:"string",enum:["point","line","polygon","heatmap","raster","image"],description:"Layer visualization type"},name:{type:"string",description:"Human-readable layer name"},visible:{type:"boolean",default:!0},zIndex:{type:"number",default:0},minZoom:{type:"number"},maxZoom:{type:"number"},autoFit:{type:"boolean",default:!1},source:{description:"GeoJSON, JSON array, or URL string"},sourceType:{type:"string",enum:["geojson","json","csv"]},sourceConfig:{type:"object",properties:{x:{type:"string",description:"Longitude field name"},y:{type:"string",description:"Latitude field name"},x1:{type:"string",description:"End longitude field (for arc lines)"},y1:{type:"string",description:"End latitude field (for arc lines)"},coordinates:{type:"string",description:"Coordinates field"}}},color:{type:"string",description:"Fixed color"},colorField:{type:"string",description:"Field to map color to"},colorValues:{oneOf:[{type:"string",description:"Color palette name"},{type:"array",items:{type:"string"},description:"Array of color values"}]},size:{type:"number",description:"Fixed size"},sizeField:{type:"string",description:"Field to map size to"},sizeValues:{type:"array",items:{type:"number"},description:"Size range [min, max]"},shape:{type:"string",description:"Fixed shape"},shapeField:{type:"string",description:"Field to map shape to"},shapeValues:{type:"array",items:{type:"string"}},style:{type:"object",description:"Additional style properties"},filterField:{type:"string"},filterValues:{type:"array"},animate:{type:"object",properties:{enable:{type:"boolean"},speed:{type:"number"},duration:{type:"number"},trailLength:{type:"number"},repeat:{type:"number"}}},active:{oneOf:[{type:"boolean"},{type:"object",properties:{color:{type:"string"}}}]},select:{oneOf:[{type:"boolean"},{type:"object",properties:{color:{type:"string"}}}]},events:{type:"object",description:"Layer event configuration",properties:{click:{type:"string",description:"Event identifier emitted on click (via EventBus)"},mousemove:{type:"string",description:"Event identifier emitted on mousemove"},mouseenter:{type:"string",description:"Event identifier emitted on mouseenter"},mouseleave:{type:"string",description:"Event identifier emitted on mouseleave"},enablePopup:{type:"boolean",description:"Auto-show popup on click"},popupFields:{type:"array",items:{type:"string"},description:"Fields to show in popup"},popupTemplate:{type:"string",description:"HTML template with {{field}} interpolation"}}}}}},controls:{type:"array",description:"Map control widgets",items:{type:"object",required:["type"],properties:{type:{type:"string",enum:["zoom","scale","fullscreen","geoLocate","mapTheme","mouseLocation","exportImage","layerSwitch"]},position:{type:"string",enum:["topleft","topright","bottomleft","bottomright","topcenter","bottomcenter"]},options:{type:"object"}}}},interactions:{type:"array",description:"Interactive elements (markers, popups, tooltips)",items:{oneOf:[{type:"object",required:["type","longitude","latitude"],properties:{type:{type:"string",const:"marker"},longitude:{type:"number"},latitude:{type:"number"},content:{type:"string"},draggable:{type:"boolean"}}},{type:"object",required:["type","longitude","latitude","content"],properties:{type:{type:"string",const:"popup"},longitude:{type:"number"},latitude:{type:"number"},content:{type:"string"},closeButton:{type:"boolean"}}},{type:"object",required:["type","content"],properties:{type:{type:"string",const:"tooltip"},content:{type:"string"},trigger:{type:"string",enum:["hover","click"]}}}]}},legends:{type:"array",description:"Legend configurations",items:{oneOf:[{type:"object",required:["type","labels","colors"],properties:{type:{type:"string",const:"categories"},title:{type:"string"},labels:{type:"array",items:{type:"string"}},colors:{type:"array",items:{type:"string"}}}},{type:"object",required:["type","labels","colors"],properties:{type:{type:"string",const:"ramp"},title:{type:"string"},labels:{type:"array",items:{type:"string"}},colors:{type:"array",items:{type:"string"}},isContinuous:{type:"boolean"}}},{type:"object",required:["type","labels"],properties:{type:{type:"string",const:"proportion"},title:{type:"string"},labels:{type:"array",items:{type:"array",items:{type:"number"}}},fillColor:{type:"string"}}},{type:"object",required:["type","items"],properties:{type:{type:"string",const:"icon"},title:{type:"string"},items:{type:"array",items:{type:"object",properties:{icon:{type:"string"},label:{type:"string"}}}}}}]}},responsive:{type:"object",properties:{breakpoint:{type:"number",default:768},mobile:{type:"object",properties:{controls:{type:"object",properties:{position:{type:"string"},scale:{type:"number"},hide:{type:"array",items:{type:"string"}}}},legends:{type:"object",properties:{compact:{type:"boolean"},position:{type:"string"}}},toolbar:{type:"object",required:["items","position"],properties:{items:{type:"array",items:{type:"string"}},position:{type:"string",enum:["bottom","top"]}}}}}}},events:{type:"object",description:"Global event identifier mappings for map and interactions",properties:{mapMove:{type:"string",description:"Event identifier for map move"},mapZoom:{type:"string",description:"Event identifier for map zoom"},markerDragEnd:{type:"string",description:"Event identifier for marker drag end"}}}}};function ye({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s,onLayerCreated:l,...c}){const d=he();if(!d)return null;const h={...c,type:"point",source:e,sourceType:t??"json",sourceConfig:n},m=r||o||i||s?{onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s}:void 0;return a.jsx(Ze,{schema:h,scene:d,eventHandlers:m,onLayerCreated:l})}function we({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s,onLayerCreated:l,...c}){const d=he();if(!d)return null;const h={...c,type:"line",source:e,sourceType:t??"json",sourceConfig:n},m=r||o||i||s?{onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s}:void 0;return a.jsx(Ze,{schema:h,scene:d,eventHandlers:m,onLayerCreated:l})}function Ke({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s,onLayerCreated:l,...c}){const d=he();if(!d)return null;const h={...c,type:"polygon",source:e,sourceType:t??"geojson",sourceConfig:n},m=r||o||i||s?{onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s}:void 0;return a.jsx(Ze,{schema:h,scene:d,eventHandlers:m,onLayerCreated:l})}function Kt({source:e,sourceType:t,sourceConfig:n,onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s,onLayerCreated:l,...c}){const d=he();if(!d)return null;const h={...c,type:"heatmap",source:e,sourceType:t??"json",sourceConfig:n},m=r||o||i||s?{onClick:r,onMouseMove:o,onMouseEnter:i,onMouseLeave:s}:void 0;return a.jsx(Ze,{schema:h,scene:d,eventHandlers:m,onLayerCreated:l})}function Qt({source:e,sourceType:t="json",sourceConfig:n,hexSize:r=100,weightField:o="h12",weightMethod:i="sum",onClick:s,onMouseMove:l,style:c,...d}){const h=[{type:"hexagon",size:r,field:o,method:i}];return a.jsx(Kt,{...d,source:e,sourceType:t,sourceConfig:{...n,transforms:h},shape:"hexagonColumn",style:{coverage:.8,angle:0,...c??{}},onClick:s,onMouseMove:l})}function e0({source:e,sourceType:t,sourceConfig:n,onClick:r,...o}){const i=he();if(!i)return null;const s={...o,type:"raster",source:e,sourceType:t??"raster",sourceConfig:n},l=r?{onClick:r}:void 0;return a.jsx(Ze,{schema:s,scene:i,eventHandlers:l})}function V5({source:e,sourceType:t,sourceConfig:n,onClick:r,...o}){const i=he();if(!i)return null;const s={...o,type:"image",source:e,sourceType:t??"image",sourceConfig:n},l=r?{onClick:r}:void 0;return a.jsx(Ze,{schema:s,scene:i,eventHandlers:l})}const k5=[8,16,32,48,64],We={primary:"#2563eb",warning:"#f59e0b",error:"#ef4444",success:"#10b981"};function j5({source:e,sourceType:t="geojson",sourceConfig:n,labelField:r="name",labelColor:o="#0b3b8c",labelSize:i=12,showLabel:s=!0,labelTrigger:l="always",labelOffset:c,sizeDomain:d,bubbleAnchor:h="bottom",labelAnchor:m="top",hoverEffect:p=!0,clickEffect:g=!0,tooltipEffect:f=!0,tooltipFields:C,tooltipTemplate:v,semanticColorField:w,color:S="#2563eb",size:b=16,sizeField:A,sizeValues:z,style:Z,active:M,select:E,onClick:D,onMouseMove:V,onMouseEnter:R,onMouseLeave:N,...I}){const L=w??I.colorField,H=I.colorValues??(w?[We.primary,We.warning,We.error,We.success]:void 0),O=A?z??[...k5]:z,[q,ee]=u.useState(l==="always"),J=u.useCallback(Y=>{l==="hover"&&ee(!0),R==null||R(Y)},[l,R]),K=u.useCallback(Y=>{l==="hover"&&ee(!1),N==null||N(Y)},[l,N]),ae={color:"#60a5fa"},W={color:"#1d4ed8"},te=(()=>{const Y=I.events;return f?{...Y,enablePopup:(Y==null?void 0:Y.enablePopup)??!0,popupFields:(Y==null?void 0:Y.popupFields)??C,popupTemplate:(Y==null?void 0:Y.popupTemplate)??v}:Y})(),[ne,P]=u.useState(!1);u.useEffect(()=>{const Y=requestAnimationFrame(()=>P(!0));return()=>cancelAnimationFrame(Y)},[]);const B=s&&q&&ne,ie=A?{sizeField:A,sizeValues:O}:{size:b};return a.jsxs(a.Fragment,{children:[a.jsx(ye,{source:e,sourceType:t,sourceConfig:n,shape:"circle",color:S,colorField:L,colorValues:H,...ie,opacity:.75,active:p?M??ae:M,select:g?E??W:E,events:te,zIndex:I.zIndex??0,autoFit:I.autoFit,visible:I.visible,name:I.name??"bubble-circle",onClick:D,onMouseMove:V,onMouseEnter:J,onMouseLeave:K,style:{stroke:S??"#004ac6",strokeWidth:2,strokeOpacity:1,...Z??{}}}),B&&a.jsx(ye,{source:e,sourceType:t,sourceConfig:n,shapeField:r,shapeValues:"text",color:o,size:i,zIndex:(I.zIndex??0)+1,style:{textAnchor:m,textOffset:c??[0,0],stroke:"#fff",strokeWidth:2,textAllowOverlap:!0}})]})}function E5({source:e,sourceType:t="geojson",sourceConfig:n,gridSize:r=60,minClusterSize:o=2,animationDuration:i=300,easing:s="cubic-bezier(0.4, 0, 0.2, 1)",onPointClick:l,onClusterClick:c}){const d=he(),[h,m]=u.useState([]),[p,g]=u.useState(null),[f,C]=u.useState(null),v=u.useRef(null),w=u.useRef(-1),S=u.useMemo(()=>P5(e,t,n),[e,t,n]);u.useEffect(()=>{if(S.length===0){v.current=null,m([]),w.current=-1;return}const M=new y0({radius:r,minPoints:o,maxZoom:20,minZoom:0}),E=S.map(D=>({type:"Feature",properties:{id:D.id,...D.properties},geometry:{type:"Point",coordinates:[D.lng,D.lat]}}));M.load(E),v.current=M,w.current=-1},[S,r,o]);const b=u.useCallback((M,E)=>{try{const D=Math.floor(E.getZoom());if(D===w.current)return;w.current=D;let V=[-180,-90,180,90];try{const I=E.getBounds();I&&(V=[I[0][0],I[0][1],I[1][0],I[1][1]])}catch{}const N=M.getClusters(V,D).map(I=>{const L=I.geometry.coordinates,H=L[0],O=L[1];return I.properties.cluster?{id:`cluster-${I.properties.cluster_id}`,clusterId:I.properties.cluster_id,lng:H,lat:O,pointCount:I.properties.point_count,isCluster:!0,properties:{}}:{id:`point-${I.properties.id}`,clusterId:-1,lng:H,lat:O,pointCount:1,isCluster:!1,properties:I.properties}});m(N),g(null)}catch{}},[]);u.useEffect(()=>{var V,R;if(!d)return;const M=d.mapService,E=()=>{requestAnimationFrame(()=>{const N=v.current;N&&d.loaded&&b(N,d)})};d.loaded?E():d.once("loaded",E);const D=()=>{const N=v.current;N&&b(N,d)};return(V=M==null?void 0:M.on)==null||V.call(M,"camerachange",D),(R=M==null?void 0:M.on)==null||R.call(M,"viewchange",D),()=>{var N,I;d.off("loaded",E),(N=M==null?void 0:M.off)==null||N.call(M,"camerachange",D),(I=M==null?void 0:M.off)==null||I.call(M,"viewchange",D)}},[d,b]);const A=u.useCallback(M=>{if(!d||!M.isCluster)return;let E=[];const D=v.current;D&&(E=D.getLeaves(M.clusterId,1/0)),c==null||c(M,E);try{if(d.getZoom()>=20-.5){g(N=>N===M.id?null:M.id);return}if(E.length>0){const N=E.map(q=>q.geometry.coordinates),I=N.map(q=>q[0]),L=N.map(q=>q[1]),H=[Math.min(...I),Math.min(...L)],O=[Math.max(...I),Math.max(...L)];d.fitBounds([H,O],{padding:[40,40,40,40],duration:i})}}catch{}},[d,c,i]),z=u.useMemo(()=>{if(!d||!p||!v.current)return[];const M=h.find(E=>E.id===p&&E.isCluster);if(!M)return[];try{const E=v.current.getLeaves(M.clusterId,1/0),D=d.mapService;if(!D)return[];const V=D.lngLatToContainer([M.lng,M.lat]);if(!V)return[];const R=E.length,N=Math.max(24,Math.min(72,18+R*2));return E.map((I,L)=>{var J,K;const H=Math.PI*2*L/R-Math.PI/2,O=V.x+Math.cos(H)*N,q=V.y+Math.sin(H)*N,ee=D.containerToLngLat([O,q]);return{id:`spider-${M.id}-${((J=I.properties)==null?void 0:J.id)??L}`,lng:ee.lng,lat:ee.lat,point:{id:String(((K=I.properties)==null?void 0:K.id)??L),lng:I.geometry.coordinates[0],lat:I.geometry.coordinates[1],properties:I.properties??{}}}})}catch{return[]}},[d,p,h]),Z=u.useMemo(()=>p?h.find(M=>M.id===p&&M.isCluster)??null:null,[p,h]);return a.jsxs(a.Fragment,{children:[p&&Z&&z.map(M=>a.jsx(Ae,{longitude:M.lng,latitude:M.lat,anchor:"center",content:a.jsx(A5,{centerLng:Z.lng,centerLat:Z.lat,lineLng:M.lng,lineLat:M.lat})},`line-${M.id}`)),h.map(M=>{var R;if(!M.isCluster)return a.jsx(Ae,{longitude:M.lng,latitude:M.lat,anchor:"center",content:a.jsx("div",{title:String(((R=M.properties)==null?void 0:R.name)??"单点"),onClick:()=>{var N;return l==null?void 0:l({id:String(((N=M.properties)==null?void 0:N.id)??""),lng:M.lng,lat:M.lat,properties:M.properties})},style:{width:14,height:14,borderRadius:9999,background:"#2563eb",border:"2px solid #fff",boxShadow:"0 2px 10px rgba(37,99,235,.5), 0 0 0 3px rgba(37,99,235,.15)",transition:"transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1)",cursor:"pointer"}})},M.id);const E=M.pointCount,D=Z5(E),V=f===M.id;return a.jsx(Ae,{longitude:M.lng,latitude:M.lat,anchor:"center",content:a.jsxs("div",{title:`包含 ${E} 个要素`,onClick:()=>A(M),onMouseEnter:()=>C(M.id),onMouseLeave:()=>C(N=>N===M.id?null:N),style:{width:D.size,height:D.size,borderRadius:9999,display:"flex",alignItems:"center",justifyContent:"center",color:"#fff",fontWeight:D.fontWeight,fontSize:D.fontSize,background:D.background,border:D.border,boxShadow:D.shadow,position:"relative",cursor:"pointer",transition:"transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1)",transform:V?"scale(1.1)":"scale(1)"},children:[D.pulse&&a.jsx("span",{style:{position:"absolute",inset:-6,borderRadius:9999,background:"rgba(37,99,235,0.25)",animation:"aimapui-cluster-pulse 1.6s ease-out infinite"}}),a.jsx("span",{style:{position:"relative",zIndex:1},children:E})]})},M.id)}),z.map(M=>{var E;return a.jsx(Ae,{longitude:M.lng,latitude:M.lat,anchor:"center",content:a.jsx("div",{title:String(((E=M.point.properties)==null?void 0:E.name)??M.point.id),onClick:()=>l==null?void 0:l(M.point),style:{width:10,height:10,borderRadius:9999,background:"#fff",border:"2px solid #2563eb",boxShadow:"0 2px 8px rgba(0,0,0,.2)",cursor:"pointer"}})},M.id)})]})}function A5({centerLng:e,centerLat:t,lineLng:n,lineLat:r}){const o=he(),i=u.useRef(null);return u.useEffect(()=>{if(!o)return;const s=o.mapService;if(!s)return;const l=()=>{const h=i.current;if(h)try{const m=s.lngLatToContainer([e,t]),p=s.lngLatToContainer([n,r]);if(!m||!p)return;const g=p.x-m.x,f=p.y-m.y,C=Math.sqrt(g*g+f*f),v=Math.atan2(f,g)*180/Math.PI;h.style.width=`${C}px`,h.style.transform=`rotate(${v}deg)`}catch{}};l();const c=(h,m,p)=>{var g;try{(g=h==null?void 0:h.on)==null||g.call(h,m,p)}catch{}},d=(h,m,p)=>{var g;try{(g=h==null?void 0:h.off)==null||g.call(h,m,p)}catch{}};return c(s,"camerachange",l),c(s,"viewchange",l),()=>{d(s,"camerachange",l),d(s,"viewchange",l)}},[o,e,t,n,r]),a.jsx("div",{ref:i,style:{position:"absolute",left:0,top:0,height:1,background:"rgba(195, 198, 215, 0.5)",transformOrigin:"0 50%",pointerEvents:"none"}})}function Z5(e){return e>=1e3?{size:48,fontSize:14,fontWeight:700,background:"linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%)",border:"2px solid rgba(255,255,255,0.55)",shadow:"0 10px 24px rgba(37,99,235,.45)",pulse:!0}:e>=100?{size:40,fontSize:13,fontWeight:700,background:"rgba(37,99,235,0.30)",border:"2px solid rgba(255,255,255,0.5)",shadow:"0 6px 16px rgba(37,99,235,.25)",pulse:!1}:{size:32,fontSize:12,fontWeight:600,background:"radial-gradient(circle, #2563eb 60%, rgba(37,99,235,0.20) 61%)",border:"1px solid rgba(255,255,255,0.55)",shadow:"0 4px 12px rgba(37,99,235,.2)",pulse:!1}}function P5(e,t,n){if(!e)return[];if(t==="geojson"&&typeof e=="object"&&e!==null){const r=e;return(Array.isArray(r.features)?r.features:[]).map((i,s)=>{var d,h,m;const l=i,c=(d=l==null?void 0:l.geometry)==null?void 0:d.coordinates;return!Array.isArray(c)||c.length<2?null:{id:String(((h=l==null?void 0:l.properties)==null?void 0:h.id)??((m=l==null?void 0:l.properties)==null?void 0:m.Id)??s),lng:Number(c[0]),lat:Number(c[1]),properties:(l==null?void 0:l.properties)??{}}}).filter(Boolean)}if(Array.isArray(e)){const r=(n==null?void 0:n.x)??"lng",o=(n==null?void 0:n.y)??"lat";return e.map((i,s)=>{const l=i,c=Number(l[r]),d=Number(l[o]);return Number.isNaN(c)||Number.isNaN(d)?null:{id:String(l.id??s),lng:c,lat:d,properties:l}}).filter(Boolean)}return[]}const I5=["#dbeafe","#93c5fd","#60a5fa","#3b82f6","#2563eb"],F5=["#dc2626","#fca5a5","#e5e7eb","#86efac","#16a34a"],T5=["#2563eb","#f59e0b","#ef4444","#10b981","#8b5cf6","#14b8a6","#f97316","#64748b"];function N5({source:e,sourceType:t="geojson",colorMapping:n="sequential",showStroke:r=!0,strokeColor:o="rgba(255,255,255,0.30)",strokeWidth:i=.5,hoverEffect:s=!0,clickEffect:l=!0,stickySelection:c=!0,tooltipEffect:d=!0,tooltipFields:h,tooltipTemplate:m,regionIdField:p="name",highlightStrokeColor:g="#2563eb",highlightStrokeWidth:f=2,zoomToRegionOnClick:C=!0,clickZoomPadding:v=40,clickZoomDelta:w=1.2,onRegionClick:S,onDrilldown:b,onLayerCreated:A,showLabel:z=!1,labelField:Z="name",labelColor:M="#0f172a",labelSize:E=11,labelAreaThreshold:D=5e-5,labelHaloWidth:V=2,minLabelZoom:R,valueField:N,percentageField:I,nameField:L,color:H,colorField:O,colorValues:q,active:ee,select:J,events:K,style:ae,...W}){const te=he(),[ne,P]=u.useState(null),[B,ie]=u.useState(null),[Y,oe]=u.useState(()=>{if(!te)return 0;try{return te.getZoom()}catch{return 0}});u.useEffect(()=>{if(!te)return;const $=()=>{try{oe(te.getZoom())}catch{}};return $(),te.on("zoomchange",$),()=>{te.off("zoomchange",$)}},[te]);const ce=R===void 0||Y>=R,j=u.useMemo(()=>{if(q)return q;switch(n){case"diverging":return[...F5];case"categorical":return[...T5];case"sequential":default:return[...I5]}},[q,n]),y=N??O??"value",k=L??Z,x=u.useMemo(()=>m??R5(k,y,I),[m,k,y,I]),G={color:"#ffffff"},_={color:"#0f172a"},U=u.useMemo(()=>_5(e,t,Z,p,D),[e,t,Z,p,D]),Q=u.useCallback($=>{S==null||S($);const re=Q1($.feature,p);if(re!==null&&l&&ie(se=>!c&&se===re?null:re),$.feature&&(b==null||b($.feature)),!te||!C)return;const le=Number.isFinite($.lng)&&Number.isFinite($.lat)?[$.lng,$.lat]:$5($.originalEvent);if(le)try{const se=te.getZoom(),de=Math.abs(w);te.setCenter(le),te.setZoom(se+de)}catch{}},[S,p,l,c,b,te,C,w]),F=u.useCallback($=>{if(!s)return;const re=Q1($.feature,p);P(re)},[s,p]),T=u.useCallback(()=>{s&&P(null)},[s]),X=u.useMemo(()=>{const $=K;return d?{...$,enablePopup:($==null?void 0:$.enablePopup)??!0,popupTrigger:($==null?void 0:$.popupTrigger)??"hover",popupFields:($==null?void 0:$.popupFields)??h,popupTemplate:($==null?void 0:$.popupTemplate)??x}:$},[K,d,h,x]);return a.jsxs(a.Fragment,{children:[a.jsx(Ke,{...W,source:e,sourceType:t,shape:W.shape??"fill",color:H??"#2563eb",colorField:O,colorValues:j,active:s?ee??G:ee,select:l?J??_:J,events:X,onClick:Q,onMouseEnter:F,onMouseLeave:T,onLayerCreated:A,style:{opacity:.8,...ae??{}}}),r&&a.jsx(we,{source:e,sourceType:t,color:o,size:i,zIndex:2}),s&&ne!==null&&a.jsxs(a.Fragment,{children:[a.jsx(we,{source:e,sourceType:t,color:K1(g,.35),size:f+2,filterField:p,filterValues:[ne],zIndex:3}),a.jsx(we,{source:e,sourceType:t,color:g,size:f,filterField:p,filterValues:[ne],zIndex:4})]}),l&&B!==null&&a.jsx(we,{source:e,sourceType:t,color:K1(g,.9),size:Math.max(1.5,f),filterField:p,filterValues:[B],zIndex:5}),z&&ce&&a.jsx(ye,{source:U.data,sourceType:U.sourceType,sourceConfig:U.sourceConfig,shapeField:Z,shapeValues:"text",color:M,size:E,style:{textAllowOverlap:!1,stroke:"#ffffff",strokeWidth:V,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace"}})]})}function R5(e,t,n){const r=n?`<tr><td style="padding-right:8px;color:#64748b">占比</td><td style="font-weight:600">{{${n}}}%</td></tr>`:"";return['<div style="min-width:160px">',`<div style="font-weight:700;margin-bottom:6px">{{${e}}}</div>`,'<table style="font-size:12px;line-height:1.4">',`<tr><td style="padding-right:8px;color:#64748b">指标</td><td style="font-weight:600">{{${t}}}</td></tr>`,r,"</table>","</div>"].join("")}function K1(e,t){if(e.startsWith("#")){const n=e.replace("#",""),r=n.length===3?`${n[0]}${n[0]}${n[1]}${n[1]}${n[2]}${n[2]}`:n;if(r.length===6){const o=parseInt(r.slice(0,2),16),i=parseInt(r.slice(2,4),16),s=parseInt(r.slice(4,6),16);return`rgba(${o},${i},${s},${t})`}}return e}function Q1(e,t){if(!e)return null;const n=e[t]??e.id??e.name;return typeof n=="string"||typeof n=="number"?n:null}function _5(e,t,n,r,o){return t!=="geojson"||!D5(e)?{data:e,sourceType:t}:{data:e.features.map(s=>{if(!s||!s.geometry||!s.properties)return null;const l=t0(s.geometry),c=B5(s.geometry);if(!l||c<o)return null;const d=s.properties;return{lng:l[0],lat:l[1],[n]:d[n],[r]:d[r]}}).filter(s=>s!==null),sourceType:"json",sourceConfig:{x:"lng",y:"lat"}}}function D5(e){if(!e||typeof e!="object")return!1;const t=e;return t.type==="FeatureCollection"&&Array.isArray(t.features)}function $5(e){const t=O5(e);return t?t0(t):null}function O5(e){var n,r;const t=e;return((n=t==null?void 0:t.feature)==null?void 0:n.geometry)??((r=t==null?void 0:t.data)==null?void 0:r.geometry)??null}function t0(e){if(e.type==="Polygon")return et(e.coordinates[0]);if(e.type==="MultiPolygon"){let t=0,n=null;return e.coordinates.forEach(r=>{const o=r[0],i=Math.abs(u1(o));i>t&&(t=i,n=et(o))}),n}return null}function B5(e){return e.type==="Polygon"?Math.abs(u1(e.coordinates[0])):e.type==="MultiPolygon"?e.coordinates.reduce((t,n)=>t+Math.abs(u1(n[0])),0):0}function et(e){if(!e||e.length<3)return null;let t=0,n=0,r=0;for(let i=0;i<e.length-1;i+=1){const[s,l]=e[i],[c,d]=e[i+1],h=s*d-c*l;t+=h,n+=(s+c)*h,r+=(l+d)*h}const o=t/2;if(Math.abs(o)<1e-12){const i=e[0];return i?[i[0],i[1]]:null}return[n/(6*o),r/(6*o)]}function u1(e){if(!e||e.length<3)return 0;let t=0;for(let n=0;n<e.length-1;n+=1){const[r,o]=e[n],[i,s]=e[n+1];t+=r*s-i*o}return t/2}const n0=["#eff6ff","#bfdbfe","#60a5fa","#2563eb","#1d4ed8","#1e3a8a"],r0="https://mdn.alipayobjects.com/antforest/afts/file/A*T2OJQ7XZzeEAAAAAgCAAAAgAerd2AQ/original_中国_省.json",o0="https://mdn.alipayobjects.com/antforest/afts/file/A*Xd8TQoduwj8AAAAAgEAAAAgAerd2AQ/original_中国_市.json",s0="https://mdn.alipayobjects.com/portal_moelhz/afts/file/A*Rb96Tac1p8EAAAAAgKAAAAgAegAAAQ",U5=u.forwardRef(function(t,n){const{provinceSource:r=r0,citySource:o=o0,districtSource:i=s0,level:s="province",drillEnabled:l=!0,drillPath:c,onDrill:d,onDrillUp:h,autoFitOnDrill:m=!0,data:p,joinField:g="name",dataJoinField:f="name",valueField:C="value",colors:v=[...n0],fillOpacity:w=.8,strokeColor:S="rgba(255,255,255,0.5)",strokeWidth:b=1.5,dimOpacity:A=.12,showLabel:z=!0,labelField:Z="name",labelSize:M=12,hoverHighlight:E=!0,clickSelect:D=!0,showTooltip:V=!0,tooltipFields:R,onRegionClick:N,zIndex:I=0}=t,L=he(),[H,O]=u.useState(null),[q,ee]=u.useState(null),[J,K]=u.useState(null),[ae,W]=u.useState(null),[te,ne]=u.useState([{level:"province",name:"中国"}]),P=c??te,B=l?q5(P):s,ie=u.useCallback(()=>{if(P.length<=1)return;const T=P.slice(0,-1);c?h==null||h(T):(ne(T),h==null||h(T),d==null||d(T)),ce(null)},[P,c,h,d]),Y=u.useCallback(T=>{if(T<0||T>=P.length-1)return;const X=P.slice(0,T+1);c?h==null||h(X):(ne(X),h==null||h(X),d==null||d(X)),ce(null)},[P,c,h,d]),[oe,ce]=u.useState(null);u.useImperativeHandle(n,()=>({drillUp:ie,drillUpTo:Y,getDrillPath:()=>P}),[ie,Y,P]);const j=u.useRef(P.length);u.useEffect(()=>{s1(r,O,W)},[r]),u.useEffect(()=>{o&&s1(o,ee)},[o]),u.useEffect(()=>{i&&s1(i,K)},[i]);const y=u.useMemo(()=>{switch(B){case"city":return q;case"district":return J;default:return H}},[B,H,q,J]),k=u.useMemo(()=>!y||!p||p.length===0?y:K5(y,p,g,f,C),[y,p,g,f,C]),x=u.useMemo(()=>{if(!l||P.length<=1)return k;if(!k)return null;const T=P[P.length-1];return!T.adcode&&!T.name?k:er(k,T)},[l,P,k,g]),G=u.useMemo(()=>!l||P.length<=1?null:(P.length===2?H:q)??null,[l,P,H,q]);u.useMemo(()=>`<div style="min-width:140px"><table style="font-size:12px;line-height:1.6">${(R??[Z,C]).map($=>`<tr><td style="padding-right:8px;color:#64748b">${$}</td><td style="font-weight:600">{{${$}}}</td></tr>`).join("")}</table></div>`,[R,Z,C]);const _=!!(p&&p.length>0),U=u.useMemo(()=>k?x??k:null,[x,k]),Q=B==="province"?b:b*.6;u.useEffect(()=>{if(!(!m||!L||!U||j.current===P.length)){j.current=P.length;try{const X=or(U);X&&L.fitBounds(X,{padding:[40,40,40,40]})}catch{}}},[m,L,U,P.length]);const F=u.useCallback(T=>{const X=T.feature;if(!X)return;const $=String(X[Z]??X.name??""),re=X.adcode??X.gb;if(N==null||N(X,B),D&&ce(le=>le===$?null:$),l&&G5(B)){const le=[...P,{level:B,name:$,adcode:re}];c||ne(le),d==null||d(le),ce(null)}},[Z,B,D,l,P,c,d,N]);return!L||!U?null:a.jsxs(a.Fragment,{children:[l&&G&&P.length>1&&a.jsxs(a.Fragment,{children:[a.jsx(Ke,{source:G,sourceType:"geojson",shape:"fill",color:"#94a3b8",style:{opacity:A},zIndex:I}),a.jsx(we,{source:G,sourceType:"geojson",color:"rgba(148,163,184,0.2)",size:.5,zIndex:I+1})]}),a.jsx(Ke,{source:U,sourceType:"geojson",shape:"fill",..._?{colorField:C,colorValues:v}:{color:v[2]??"#3b82f6"},active:E?{color:"#ffffff"}:void 0,select:D?{color:"#0f172a"}:void 0,style:{opacity:w},onClick:F,zIndex:I+2}),a.jsx(we,{source:U,sourceType:"geojson",color:S,size:Q,zIndex:I+3}),ae&&B==="province"&&P.length<=1&&a.jsx(we,{source:ae,sourceType:"geojson",color:"#94a3b8",size:1,zIndex:I+3}),z&&U&&a.jsx(W5,{geoData:U,labelField:Z,labelSize:M,zIndex:I+4})]})});function W5({geoData:e,labelField:t,labelSize:n,zIndex:r}){const o=u.useMemo(()=>tr(e,t),[e,t]);return!o||o.data.length===0?null:a.jsx(ye,{source:o.data,sourceType:o.sourceType,sourceConfig:o.sourceConfig,shapeField:t,shapeValues:"text",color:"#0f172a",size:n,style:{textAllowOverlap:!1,stroke:"#ffffff",strokeWidth:2,fontFamily:"PingFang SC, Microsoft YaHei, sans-serif"},zIndex:r})}function q5(e){return e.length<=1?"province":e.length===2?"city":"district"}function G5(e){return e!=="district"}const Y5=new Set(["境界线","边界线","九段线","十段线"]);function J5(e){var n,r,o;const t=(n=e.properties)==null?void 0:n.name;if(typeof t!="string")return!1;if(t==="九段线"||t==="十段线")return!0;if(t==="境界线"){const i=(r=e.geometry)==null?void 0:r.type;if(i!=="MultiLineString"&&i!=="LineString")return!1;const s=(o=e.geometry)==null?void 0:o.coordinates;if(!s)return!1;const l=i==="MultiLineString"?s.flat():s;if(Math.min(...l.map(d=>d[1]))<10)return!0}return!1}function X5(e){var r,o;const t=(r=e.properties)==null?void 0:r.name;if(!t||typeof t!="string"||Y5.has(t))return!1;const n=(o=e.geometry)==null?void 0:o.type;return!(n==="LineString"||n==="MultiLineString")}function tt(e){const t=[],n=[];for(const r of e.features)J5(r)?n.push(r):X5(r)&&t.push(r);return{admin:{type:"FeatureCollection",features:t},dashLine:n.length>0?{type:"FeatureCollection",features:n}:null}}function s1(e,t,n){if(typeof e=="string")fetch(e).then(r=>r.json()).then(r=>{if(r&&r.type==="FeatureCollection"){const o=tt(r);t(o.admin),n==null||n(o.dashLine)}}).catch(()=>{});else if(e&&e.type==="FeatureCollection"){const r=tt(e);t(r.admin),n==null||n(r.dashLine)}}function K5(e,t,n,r,o){const i=new Map;for(const l of t){const c=String(l[r]??"");c&&i.set(c,l)}return{type:"FeatureCollection",features:e.features.map(l=>{const c=String(l.properties[n]??""),d=i.get(c),h=d?d[o]??d.value??0:0;return{...l,properties:{...l.properties,...d??{},[o]:h}}})}}function nt(e){const t=String(e);return t.startsWith("156")&&t.length>=9?t.slice(3):t}const Q5=["省","市","自治区","特别行政区","壮族","回族","维吾尔","藏族","彝族","苗","侗","瑶","白","哈尼","傣","傈僳","佤","畲","拉祜","水","景颇","土家","羌","毛南","仫佬","布朗","撒拉","裕固","塔吉克","柯尔克孜","锡伯","达斡尔","鄂温克","鄂伦春","赫哲","德昂","门巴","珞巴","基诺","怒","保安","京","独龙","仡佬","阿昌","普米"];function i1(e){let t=e;for(const n of Q5)if(t.endsWith(n)){t=t.slice(0,-n.length);break}return t}function er(e,t,n){const r=t.name,o=t.adcode,s=t.level==="province"?2:4;return{type:"FeatureCollection",features:e.features.filter(c=>{const d=c.properties;if(d.parent&&String(d.parent)===r||d.parentName&&String(d.parentName)===r)return!0;const h=d.adcode??d.gb;if(o&&h){const p=nt(String(o)),g=nt(String(h));if(g.length>=s&&g.slice(0,s)===p.slice(0,s)&&g!==p)return!0}const m=i1(r);return!!(d.province&&(String(d.province)===r||i1(String(d.province))===m)||d.city&&(String(d.city)===r||i1(String(d.city))===m))})}}function tr(e,t){const n=[];for(const r of e.features){if(!r.geometry||!r.properties)continue;const o=nr(r.geometry);o&&n.push({lng:o[0],lat:o[1],[t]:r.properties[t]??r.properties.name??""})}return n.length===0?null:{data:n,sourceType:"json",sourceConfig:{x:"lng",y:"lat"}}}function nr(e){const t=e.type,n=e.coordinates;if(!n)return null;if(t==="Point")return n;if(t==="Polygon")return rt(n);if(t==="MultiPolygon"){const r=n;let o=0,i=null;for(const s of r){const l=Math.abs(rr(s[0]));l>o&&(o=l,i=rt(s))}return i}return null}function rt(e){const t=e[0];if(!t||t.length===0)return null;let n=0,r=0;const o=t.length;for(const i of t)n+=i[0],r+=i[1];return[n/o,r/o]}function rr(e){let t=0;const n=e.length;for(let r=0;r<n;r++){const o=(r+1)%n;t+=e[r][0]*e[o][1],t-=e[o][0]*e[r][1]}return t/2}function or(e){let t=1/0,n=1/0,r=-1/0,o=-1/0;for(const i of e.features)sr(i.geometry,(s,l)=>{s<t&&(t=s),l<n&&(n=l),s>r&&(r=s),l>o&&(o=l)});return!isFinite(t)||!isFinite(n)?null:[[t,n],[r,o]]}function sr(e,t){const n=e.type,r=e.coordinates;if(r){if(n==="Point"){const[o,i]=r;t(o,i)}else if(n==="LineString"||n==="MultiPoint")for(const[o,i]of r)t(o,i);else if(n==="Polygon"||n==="MultiLineString")for(const o of r)for(const[i,s]of o)t(i,s);else if(n==="MultiPolygon")for(const o of r)for(const i of o)for(const[s,l]of i)t(s,l)}}const ir=[["sunny",""],["cloud",""],["cloudy",""],["partly_cloudy_day",""],["partly_cloudy_night",""],["rainy",""],["rainy_heavy",""],["rainy_light",""],["rainy_snow",""],["thunderstorm",""],["foggy",""],["air",""],["water_drop",""],["ac_unit",""],["filter_drama",""],["cloudy_snowing",""],["snowing",""],["snowflake",""],["severe_cold",""],["umbrella",""],["storm",""],["tornado",""],["thermostat",""],["heat",""],["hot",""],["flight",""],["flight_takeoff",""],["flight_land",""],["train",""],["directions_transit",""],["directions_railway",""],["directions_bus",""],["directions_car",""],["directions_boat",""],["directions_bike",""],["directions_walk",""],["directions_run",""],["taxi",""],["local_taxi",""],["local_airport",""],["connecting_airports",""],["two_wheeler",""],["tram",""],["subway",""],["ferry",""],["cable_car",""],["ev_station",""],["local_gas_station",""],["location_on",""],["place",""],["room",""],["pin",""],["pin_drop",""],["near_me",""],["my_location",""],["gps_fixed",""],["navigation",""],["explore",""],["map",""],["restaurant",""],["local_cafe",""],["coffee",""],["local_bar",""],["hotel",""],["local_hospital",""],["local_pharmacy",""],["local_atm",""],["local_police",""],["local_fire_department",""],["local_post_office",""],["local_library",""],["local_mall",""],["local_grocery_store",""],["store",""],["school",""],["church",""],["mosque",""],["synagogue",""],["temple_buddhist",""],["temple_hindu",""],["museum",""],["castle",""],["stadium",""],["theater_comedy",""],["pool",""],["fitness_center",""],["spa",""],["park",""],["forest",""],["attractions",""],["celebration",""],["festival",""],["nightlife",""],["sports",""],["sports_soccer",""],["sports_basketball",""],["sports_football",""],["sports_tennis",""],["sports_golf",""],["layers",""],["layers_clear",""],["terrain",""],["landscape",""],["share",""],["favorite",""],["star",""],["home",""],["work",""],["person",""],["people",""],["trip",""],["warning",""],["emergency",""],["photo_camera",""],["shopping_bag",""],["search",""],["settings",""],["info",""],["help",""],["close",""],["check",""],["add",""],["remove",""],["edit",""],["delete",""],["refresh",""],["download",""],["upload",""],["visibility",""],["visibility_off",""]],ot="Material Symbols Outlined",ar="https://fonts.gstatic.com/s/materialsymbolsoutlined/v261/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2",lr="M16 0C7.16344 0 0 7.16344 0 16C0 24.8366 16 40 16 40C16 40 32 24.8366 32 16C32 7.16344 24.8366 0 16 0Z";function cr(e){const t=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 40"><path d="${lr}" fill="${e}" stroke="white" stroke-width="1.5"/></svg>`;return`data:image/svg+xml,${encodeURIComponent(t)}`}function ur({source:e,sourceType:t="json",sourceConfig:n,iconField:r,iconFontFamily:o="material-symbols",iconFontPath:i,iconFontMap:s,iconColor:l="#3b82f6",iconSize:c=20,iconHaloColor:d="#fff",iconHaloWidth:h=1,iconStyle:m,iconAnchor:p="center",iconBgShape:g="pin",iconBgShapeColor:f,iconBgShapeSize:C=24,iconBgStrokeColor:v,iconBgStrokeWidth:w=0,iconBgPadding:S=0,iconBgCornerRadius:b=0,showLabel:A=!0,labelField:z,labelColor:Z="#333",labelSize:M=11,labelAnchor:E="top",labelOffset:D=[0,0],labelHaloColor:V="#fff",labelHaloWidth:R=2,labelStyle:N,textAllowOverlap:I=!1,iconAllowOverlap:L=!0,zoomAdaption:H=!0,zoomShowLabel:O=14,zoomDegradeToPoint:q=10,onClick:ee,onMouseEnter:J,onMouseLeave:K,...ae}){const W=he(),[te,ne]=u.useState(!1),[P,B]=u.useState(!1),[ie,Y]=u.useState(!1),[oe,ce]=u.useState(14),j=u.useRef(!1);u.useEffect(()=>{if(!W||g!=="pin"||!f)return;const Q=cr(f);W.addImage("glyph-pin-bg",Q),Y(!0)},[W,g,f]);const{fontFamily:y,fontPath:k,iconMappings:x}=u.useMemo(()=>{switch(o){case"material-symbols":return{fontFamily:ot,fontPath:ar,iconMappings:ir};default:return{fontFamily:o,fontPath:i??null,iconMappings:s??[]}}},[o,i,s]);if(u.useEffect(()=>{if(!W||j.current)return;j.current=!0;let Q=!1;return(async()=>{k&&W.addFontFace(y,k),x.length>0&&W.addIconFonts(x);try{if(y===ot){const T=x.slice(0,10).map(([,X])=>String.fromCharCode(parseInt(X.replace("&#x","").replace(";",""),16))).join("");await document.fonts.load(`${c}px "${y}"`,T)}else k&&await new Promise(T=>{const X=setTimeout(()=>{T()},3e3),$=()=>{clearTimeout(X),W.off("fontloaded",$),T()};W.on("fontloaded",$),document.fonts.load(`${c}px "${y}"`).then(()=>{clearTimeout(X),W.off("fontloaded",$),T()}).catch(()=>{clearTimeout(X),W.off("fontloaded",$),T()})})}catch{console.warn(`[GlyphLayer] 字体 "${y}" 加载超时,尝试继续渲染`)}try{const X=`${c}px "${y}"`;document.fonts.check(X,"X")||await document.fonts.ready}catch{}Q||ne(!0)})(),()=>{Q=!0}},[W,y,k,x,c]),u.useEffect(()=>{if(!W)return;const Q=()=>B(!0);return W.loaded?Q():W.on("loaded",Q),()=>{W.off("loaded",Q)}},[W]),u.useEffect(()=>{if(!W||!H)return;const Q=()=>{ce(W.getZoom())};return Q(),W.on("zoomchange",Q),()=>{W.off("zoomchange",Q)}},[W,H]),!te||!P||g==="pin"&&f&&!ie)return null;const G=z??r,_=!H||oe>=O;return H&&oe<q?a.jsx(ye,{source:e,sourceType:t,sourceConfig:n,shape:"circle",color:typeof l=="string"?l:"#3b82f6",size:4,style:{opacity:.7}}):a.jsxs(a.Fragment,{children:[a.jsx(ye,{...ae,source:e,sourceType:t,sourceConfig:n,shapeField:r,shapeValues:"text",color:l,size:c,style:{fontFamily:y,iconfont:!0,textAllowOverlap:L,textAnchor:p,backgroundColor:f,backgroundPadding:S,backgroundRadius:b,backgroundShape:g==="pin"?void 0:"circle",stroke:v,strokeWidth:w,...m??{}},onClick:ee,onMouseEnter:J,onMouseLeave:K}),A&&_&&a.jsx(ye,{source:e,sourceType:t,sourceConfig:n,shapeField:G,shapeValues:"text",color:Z,size:M,style:{textAnchor:E,textOffset:D,stroke:V,strokeWidth:R,fontWeight:"500",textAllowOverlap:I,...N??{}}})]})}function i0({source:e,sourceType:t="json",sourceConfig:n,iconField:r,iconMap:o,iconSize:i=24,iconAnchor:s="bottom",size:l,showLabel:c=!0,labelField:d,labelColor:h="#333",labelSize:m=12,labelAnchor:p="top",labelOffset:g=[0,0],labelHaloColor:f="#fff",labelHaloWidth:C=2,labelStyle:v,textAllowOverlap:w=!1,iconAllowOverlap:S=!0,zoomAdaption:b=!0,zoomShowLabel:A=15,zoomDegradeToPoint:z=10,onClick:Z,onMouseEnter:M,onMouseLeave:E,...D}){const V=he(),[R,N]=u.useState(!1),[I,L]=u.useState(15),H=u.useMemo(()=>Object.keys(o),[o]),O=l??i,q=d??r;if(u.useEffect(()=>{V&&(H.forEach(K=>{V.addImage(K,o[K])}),N(!0))},[V,H,o]),u.useEffect(()=>{if(!V||!b)return;const K=()=>{L(V.getZoom())};return K(),V.on("zoomchange",K),()=>{V.off("zoomchange",K)}},[V,b]),!R)return null;const ee=!b||I>=A;return b&&I<z?a.jsx(ye,{source:e,sourceType:t,sourceConfig:n,shape:"circle",color:D.color??"#3b82f6",size:6,style:{opacity:.8}}):a.jsxs(a.Fragment,{children:[a.jsx(ye,{source:e,sourceType:t,sourceConfig:n,shapeField:r,shapeValues:H,size:O,style:{...D.style??{},anchor:s,allowOverlap:S},onClick:Z,onMouseEnter:M,onMouseLeave:E}),c&&ee&&a.jsx(ye,{source:e,sourceType:t,sourceConfig:n,shapeField:q,shapeValues:"text",color:h,size:m,style:{textAnchor:p,textOffset:g,stroke:f,strokeWidth:C,fontWeight:"500",textAllowOverlap:w,...v??{}}})]})}const dr={gaode:()=>"https://webst0{1-4}.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}",google:()=>"https://gwxc.shipxy.com/tile.g?z={z}&x={x}&y={y}",tianditu:(e="4043dde46add842282bacc412299311d")=>`https://t{0-7}.tianditu.gov.cn/DataServer?T=img_w&X={x}&Y={y}&L={z}&tk=${e}`},hr={gaode:"高德卫星",tianditu:"天地图卫星",google:"谷歌卫星"};function pr({provider:e="gaode",zIndex:t=0,opacity:n=1,tiandituToken:r,visible:o=!0}){if(!o)return null;const i=dr[e](r);return a.jsx(e0,{source:i,sourceType:"rasterTile",sourceConfig:{parser:{type:"rasterTile",tileSize:256,zoomOffset:1}},zIndex:t,opacity:n})}function fr({source:e,sourceType:t="json",sourceConfig:n,shape:r="arc",color:o="#2563EB",gradientColors:i,colorMode:s="single",colorField:l,colorValues:c,lineWidth:d=1.5,lineWidthRange:h,weightField:m="weight",opacity:p=.8,blur:g=.6,animate:f=!1,animateSpeed:C=1,animateTrailLength:v=.3,animateDuration:w=2e3,showNodes:S=!0,nodeColor:b,nodeSize:A=4,nodeSizeRange:z,nodePulse:Z=!1,showTooltip:M=!0,showNodePopup:E=!0,activeColor:D="#FFD93D",onArcHover:V,onArcClick:R,onNodeClick:N,style:I}){const L=u.useMemo(()=>n??{x:"fromLng",y:"fromLat",x1:"toLng",y1:"toLat"},[n]),H=u.useMemo(()=>s==="gradient"&&i?i:o,[s,i,o]),O=u.useMemo(()=>d,[d,h]),q=u.useMemo(()=>{if(f)return{enable:!0,speed:C,duration:w,trailLength:v}},[f,C,w,v]),ee=u.useMemo(()=>({opacity:p,blur:g,...I}),[p,g,I]),J=u.useMemo(()=>{if(!S||typeof e=="string")return[];const Y=new Map,oe=L.x??"fromLng",ce=L.y??"fromLat",j=L.x1??"toLng",y=L.y1??"toLat";return e.forEach(k=>{const x=`${k[oe]}_${k[ce]}`,G=`${k[j]}_${k[y]}`;Y.has(x)||Y.set(x,{lng:Number(k[oe]),lat:Number(k[ce]),degree:0,name:k.fromName}),Y.has(G)||Y.set(G,{lng:Number(k[j]),lat:Number(k[y]),degree:0,name:k.toName}),Y.get(x).degree++,Y.get(G).degree++}),Array.from(Y.values())},[e,S,L]),K=b??o,[ae,W]=u.useState({visible:!1,lng:0,lat:0,from:"",to:"",weight:0}),te=u.useCallback(Y=>{if(V==null||V(Y),!M)return;const oe=Y.feature;oe&&W({visible:!0,lng:Y.lng,lat:Y.lat,from:String(oe.fromName??""),to:String(oe.toName??""),weight:Number(oe[m]??0)})},[V,M,m]),ne=u.useCallback(()=>{W(Y=>({...Y,visible:!1}))},[]),[P,B]=u.useState({visible:!1,lng:0,lat:0,name:"",degree:0}),ie=u.useCallback(Y=>{if(N==null||N(Y),!E)return;const oe=Y.feature;oe&&B({visible:!0,lng:Y.lng,lat:Y.lat,name:String(oe.name??""),degree:Number(oe.degree??0)})},[N,E]);return a.jsxs(a.Fragment,{children:[a.jsx(we,{source:e,sourceType:t,sourceConfig:L,shape:r,color:H,colorField:s==="field"?l:void 0,colorValues:s==="field"?c:void 0,size:O,sizeField:h?m:void 0,sizeValues:h||void 0,animate:q,active:D?{color:D}:!1,style:ee,onMouseMove:te,onMouseLeave:ne,onClick:R}),S&&J.length>0&&a.jsx(ye,{source:J,sourceConfig:{x:"lng",y:"lat"},color:K,size:A,sizeField:z?"degree":void 0,sizeValues:z,shape:"circle",style:{opacity:.9,strokeWidth:1,stroke:"#fff"},animate:Z?{enable:!0,speed:.6}:void 0,active:D?{color:D}:!1,onClick:ie}),M&&ae.visible&&a.jsx(m1,{longitude:ae.lng,latitude:ae.lat,visible:!0,variant:"dark",items:[{label:"起点",value:ae.from},{label:"终点",value:ae.to},{label:"流量",value:ae.weight}]}),E&&P.visible&&a.jsx(_e,{longitude:P.lng,latitude:P.lat,content:`<div style="min-width:80px"><div style="font-weight:700;font-size:13px;margin-bottom:4px">${P.name||"节点"}</div><div style="font-size:12px;color:#64748b">连接数: ${P.degree}</div></div>`,closeButton:!0,size:"compact",onClose:()=>B(Y=>({...Y,visible:!1}))})]})}function gr({path:e,segments:t,stops:n=[],routeType:r="straight",onRouteQuery:o,onRouteResult:i,color:s="#2563eb",lineWidth:l=4,opacity:c=.9,glow:d=!0,animate:h=!1,animateSpeed:m=1,stopSize:p=14,stopColor:g,endColor:f="#10b981",showStopIndex:C=!0,stopRenderer:v="point",stopMarkerVariant:w="circle",stopIconMap:S,stopIconField:b="iconValue",stopIconSize:A=16,stopIconAnchor:z="bottom",showStopPopup:Z=!0,activeColor:M="#fbbf24",onPathClick:E,onStopClick:D}){const[V,R]=u.useState(null),N=u.useRef(0),I=r==="walking"||r==="cycling"||r==="driving"||r==="transit";u.useEffect(()=>{if(!I||!o||n.length<2){R(null);return}const P=[n[0].lng,n[0].lat],B=[n[n.length-1].lng,n[n.length-1].lat],ie=n.length>2?n.slice(1,-1).map(oe=>[oe.lng,oe.lat]):[],Y=++N.current;o({origin:P,destination:B,waypoints:ie.length>0?ie:void 0,routeType:r}).then(oe=>{N.current===Y&&(R(oe),i==null||i(oe))}).catch(()=>{N.current===Y&&R(null)})},[I,o,n,r]);const L=I&&V?V.path:e,H=I&&(V!=null&&V.segments)?V.segments:t,O=I&&(V!=null&&V.stops)?V.stops:[],q=r==="arc"?"arc":"line",ee=u.useMemo(()=>H&&H.length>0?{type:"FeatureCollection",features:H.map((P,B)=>({type:"Feature",properties:{color:P.color||s,width:P.width||l,index:B},geometry:{type:"LineString",coordinates:P.coordinates}}))}:L&&L.length>1?{type:"FeatureCollection",features:[{type:"Feature",properties:{color:s,width:l},geometry:{type:"LineString",coordinates:L}}]}:null,[L,H,s,l]),J=H&&H.some(P=>P.color),K=u.useMemo(()=>{const P=L??(H&&H.length>0?[...H[0].coordinates.slice(0,1),...H[H.length-1].coordinates.slice(-1)]:null);let B=[...n,...O];if(P&&P.length>=2){const[ie,Y]=P[0],[oe,ce]=P[P.length-1],j=n.some(k=>Math.abs(k.lng-ie)<1e-6&&Math.abs(k.lat-Y)<1e-6),y=n.some(k=>Math.abs(k.lng-oe)<1e-6&&Math.abs(k.lat-ce)<1e-6);j||(B=[{lng:ie,lat:Y,name:"起点",type:"start"},...B]),y||(B=[...B,{lng:oe,lat:ce,name:"终点",type:"end"}])}return B.map((ie,Y)=>({...ie,index:ie.index??Y+1,type:ie.type??(Y===0?"start":Y===B.length-1?"end":"waypoint"),stopColor:ie.type==="end"||!ie.type&&Y===B.length-1?f:g??s,iconValue:ie.icon??"marker",indexLabel:String(ie.index??Y+1),markerColorValue:ie.markerColor??mr(ie.type??(Y===0?"start":Y===B.length-1?"end":"waypoint"))}))},[n,O,L,H,s,g,f]),ae=u.useMemo(()=>{if(v!=="icon")return;if(S)return S;const P=[...new Set(K.map(B=>B.iconValue).filter(Boolean))];if(P.length)return Ut(P,{fill:g??s,size:Math.max(24,A+8)})},[v,S,K,g,s,A]),[W,te]=u.useState({visible:!1,lng:0,lat:0,name:"",index:""}),ne=u.useCallback(P=>{if(D==null||D(P),!Z)return;const B=P.feature;B&&te({visible:!0,lng:P.lng,lat:P.lat,name:String(B.name??""),index:String(B.indexLabel??B.index??"")})},[D,Z]);return ee?a.jsxs(a.Fragment,{children:[d&&a.jsx(we,{source:ee,sourceType:"geojson",shape:q,color:J?void 0:s,colorField:J?"color":void 0,colorValues:J?H.map(P=>P.color||s):void 0,size:l*2.5,style:{opacity:.15}}),a.jsx(we,{source:ee,sourceType:"geojson",shape:q,color:J?void 0:s,colorField:J?"color":void 0,colorValues:J?H.map(P=>P.color||s):void 0,size:J?void 0:l,sizeField:J?"width":void 0,sizeValues:J?H.map(P=>P.width||l):void 0,style:{opacity:c},active:M?{color:M}:!1,onClick:E}),h&&a.jsx(we,{source:ee,sourceType:"geojson",shape:"line",color:"#ffffff",size:Math.max(1.5,l*.5),style:{opacity:.6,lineType:"dash",lineDash:[8,16]},animate:{enable:!0,speed:m,duration:1500},zIndex:10}),K.length>0&&v==="point"&&a.jsx(ye,{source:K,sourceConfig:{x:"lng",y:"lat"},colorField:"stopColor",colorValues:[...new Set(K.map(P=>P.stopColor))],size:p,shape:"circle",style:{opacity:1,strokeWidth:2,stroke:"#ffffff"},active:M?{color:M}:!1,onClick:ne}),K.length>0&&v==="point"&&C&&a.jsx(ye,{source:K,sourceConfig:{x:"lng",y:"lat"},shapeField:"indexLabel",shapeValues:"text",color:"#ffffff",size:Math.max(10,Math.round(p*.75)),style:{textAnchor:"center",stroke:"rgba(18, 28, 42, 0.28)",strokeWidth:1.5,fontWeight:"700",textAllowOverlap:!0}}),K.length>0&&v==="icon"&&ae&&a.jsx(i0,{source:K,sourceType:"json",sourceConfig:{x:"lng",y:"lat"},iconField:b,iconMap:ae,iconSize:A,iconAnchor:z,showLabel:C,labelField:"indexLabel",labelColor:"#ffffff",labelSize:11,labelAnchor:"top",labelOffset:[0,z==="bottom"?Math.max(10,Math.round(A*.6)):0],labelHaloColor:"rgba(18, 28, 42, 0.35)",labelHaloWidth:2,onClick:ne}),K.length>0&&v==="marker"&&K.map((P,B)=>{const ie=P.markerVariant??w,Y=P.markerColorValue,oe=yr(P.indexLabel,P.stopColor,C,ie);return a.jsx(Ae,{longitude:P.lng,latitude:P.lat,variant:ie,color:Y,icon:P.icon,content:oe,label:oe?void 0:C?P.indexLabel:void 0,onClick:ce=>{ne({layerId:"route-stop-marker",layerType:"point",originalEvent:ce,lng:P.lng,lat:P.lat,feature:P})}},`route-stop-marker-${B}`)}),Z&&W.visible&&a.jsx(_e,{longitude:W.lng,latitude:W.lat,content:`<div style="min-width:100px"><div style="font-weight:700;font-size:13px;margin-bottom:4px">${W.name}</div><div style="font-size:12px;color:#64748b">第 ${W.index} 站</div></div>`,closeButton:!0,size:"compact",onClose:()=>te(P=>({...P,visible:!1}))})]}):null}function mr(e){switch(e){case"start":return"success";case"end":return"error";default:return"primary"}}function yr(e,t,n,r){if(!n||r!=="circle"&&r!=="dot")return;const o=r==="circle"?24:18,i=r==="circle"?11:10;return a.jsx("div",{style:{width:o,height:o,borderRadius:"9999px",border:"2px solid #ffffff",background:t,color:"#ffffff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:i,lineHeight:1,fontWeight:700,boxShadow:"0 6px 12px rgba(0,0,0,0.14)"},children:e})}const st=[73.482190241,3.8150178409999995,135.106618732,57.630045996],Cr={type:"linear",colors:["rgba(92,58,16,0)","rgba(92,58,16,0)","#fabd08","#f1e93f","#f1ff8f","#fcfff7"],positions:[0,3,9,22.5,45,90]};function it(e){const t=e[0]/2003750834e-2*180;let n=e[1]/2003750834e-2*180;return n=180/Math.PI*(2*Math.atan(Math.exp(n*Math.PI/180))-Math.PI/2),[t,n]}function xr({url:e,extent:t=st,renderMode:n="raster",bandIndex:r=0,domain:o=[0,90],noDataValue:i=0,rampColors:s=Cr,clampLow:l=!1,clampHigh:c=!1,bands:d=[0,1,2],countCut:h,rMinMax:m,gMinMax:p,bMinMax:g,opacity:f=.8,mask:C=!1,maskData:v}){const[w,S]=u.useState(null),[b,A]=u.useState(null),[z,Z]=u.useState(null);u.useEffect(()=>{let L=!1;async function H(){try{const O=await import("geotiff"),q=await fetch(e);if(!q.ok)throw new Error(`Fetch failed: ${q.status}`);const ee=await q.arrayBuffer(),K=await(await O.fromArrayBuffer(ee)).getImage(),ae=K.getWidth(),W=K.getHeight(),te=await K.readRasters();let ne;try{const P=K.getBoundingBox();P&&P.length===4&&(ne=P)}catch{}L||(S({rasters:te,width:ae,height:W,tiffExtent:ne}),Z(null))}catch(O){L||(Z(O instanceof Error?O.message:"Failed to load TIFF"),console.error("[TiffRasterLayer] Load error:",O))}}return H(),()=>{L=!0}},[e]),u.useEffect(()=>{if(!C||!v)return;let L=!1;return typeof v=="string"?fetch(v).then(H=>H.json()).then(H=>{L||A(H)}).catch(H=>console.error("[TiffRasterLayer] Mask load error:",H)):A(v),()=>{L=!0}},[C,v]);const M=u.useMemo(()=>{if(t!==st)return t;if(w!=null&&w.tiffExtent){const[L,H,O,q]=w.tiffExtent;if(Math.abs(L)>180||Math.abs(O)>180){const ee=it([L,H]),J=it([O,q]);return[ee[0],ee[1],J[0],J[1]]}return w.tiffExtent}return t},[t,w==null?void 0:w.tiffExtent]),E=u.useMemo(()=>{if(!w)return null;if(n==="rgb"){const L={type:"rgb",width:w.width,height:w.height,bands:d,extent:M};return m&&(L.RMinMax=m),p&&(L.GMinMax=p),g&&(L.BMinMax=g),h&&(L.countCut=h),{parser:L}}return n==="ndi"?{parser:{type:"ndi",width:w.width,height:w.height,bands:d,extent:M}}:{parser:{type:"raster",width:w.width,height:w.height,extent:M}}},[w,n,d,M]),D=u.useMemo(()=>n==="rgb"?{opacity:f}:n==="ndi"?{domain:o,rampColors:s,opacity:f}:{clampLow:l,clampHigh:c,domain:o,noDataValue:i,rampColors:s,opacity:f},[n,l,c,o,i,s,f]),V=u.useMemo(()=>w?n==="rgb"||n==="ndi"?w.rasters:w.rasters[r]:null,[w,n,r]),R=he(),N=u.useRef(null);u.useRef(!1);const I=!C||!!b;return u.useEffect(()=>{if(!R||!E||!V||!I)return;N.current&&(R.removeLayer(N.current),N.current=null);const L={zIndex:10};C&&b&&(L.mask=!0,L.maskfence=b);const H=new pe.RasterLayer(L);return H.source(V,{parser:E.parser}),H.style(D),R.addLayer(H),N.current=H,()=>{N.current&&R&&(R.removeLayer(N.current),N.current=null)}},[R,E,V,I,b]),null}function a0({position:e="bottomleft",className:t,style:n,children:r}){const{positionClassName:o}=Le(e),i=ve();if(!r)return null;const s=a.jsx("div",{className:`l7-control l7-control-legend l7-control--glass${t?` ${t}`:""}`,style:{padding:"12px 14px",borderRadius:8,maxHeight:"40%",overflowY:"auto",...n},children:r});return i?s:a.jsx("div",{className:`l7-control-anchor ${o}`,children:s})}me.mark(a0);function l0({logos:e,position:t="bottomleft",className:n,style:r}){const{positionClassName:o}=Le(t),i=ve(),s=a.jsx("div",{className:`l7-control l7-control-logo${n?` ${n}`:""}`,style:r,children:e.map((l,c)=>{const d=a.jsx("img",{src:l.src,alt:l.alt??"logo",width:l.width??24,height:l.width??24,style:{objectFit:"contain",display:"block"}},c);return l.href?a.jsx("a",{href:l.href,target:"_blank",rel:"noopener noreferrer",className:"l7-control-logo-link",children:d},c):a.jsx("div",{className:"l7-control-logo-link",children:d},c)})});return i?s:a.jsx("div",{className:`l7-control-anchor ${o}`,children:s})}me.mark(l0);function vr({children:e,defaultSnap:t="collapsed",collapsedHeight:n=80,halfRatio:r=.45,expandedRatio:o=.85,onSnapChange:i,className:s,showHandle:l=!0,borderRadius:c=32}){const d=u.useRef(null),h=u.useRef(0),m=u.useRef(0),p=u.useRef(!1),[g,f]=u.useState(0),[C,v]=u.useState(t),[w,S]=u.useState(!1),b=u.useCallback(()=>{var R;const V=(R=d.current)==null?void 0:R.offsetParent;return V?V.clientHeight:window.innerHeight},[]),A=u.useCallback(V=>{const R=b();switch(V){case"collapsed":return n;case"half":return R*r;case"expanded":return R*o}},[n,r,o,b]);u.useEffect(()=>{f(A(t))},[t,A]);const z=u.useCallback((V,R)=>{const N=A("collapsed"),I=A("half"),L=A("expanded");let H;if(Math.abs(R)>.5)R>0?H=V>I?"expanded":"half":H=V<I?"collapsed":"half";else{const O=Math.abs(V-N),q=Math.abs(V-I),ee=Math.abs(V-L),J=Math.min(O,q,ee);J===O?H="collapsed":J===q?H="half":H="expanded"}S(!0),v(H),f(A(H)),i==null||i(H),setTimeout(()=>S(!1),300)},[A,i]),Z=u.useCallback(V=>{p.current=!0,h.current=V.touches[0].clientY,m.current=g,S(!1)},[g]),M=u.useCallback(V=>{if(!p.current)return;const R=h.current-V.touches[0].clientY,N=b()*o,I=Math.max(n,Math.min(N,m.current+R));f(I)},[n,o,b]),E=u.useCallback(V=>{if(!p.current)return;p.current=!1;const N=(h.current-V.changedTouches[0].clientY)/100;z(g,N)},[g,z]),D=u.useCallback(V=>{p.current=!0,h.current=V.clientY,m.current=g,S(!1);const R=I=>{if(!p.current)return;const L=h.current-I.clientY,H=b()*o,O=Math.max(n,Math.min(H,m.current+L));f(O)},N=I=>{p.current=!1;const H=(h.current-I.clientY)/100,O=b()*o;z(Math.max(n,Math.min(O,m.current+(h.current-I.clientY))),H),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",N)};document.addEventListener("mousemove",R),document.addEventListener("mouseup",N)},[g,n,o,z,b]);return u.useCallback(V=>{S(!0),v(V),f(A(V)),i==null||i(V),setTimeout(()=>S(!1),300)},[A,i]),a.jsx("div",{ref:d,className:s,style:{position:"absolute",bottom:0,left:0,width:"100%",height:g,zIndex:1e3,pointerEvents:"auto",transition:w?"height 0.3s cubic-bezier(0.4, 0, 0.2, 1)":"none",willChange:"height",touchAction:"none"},children:a.jsxs("div",{style:{width:"100%",height:"100%",background:"var(--color-surface, #f8f9ff)",borderTopLeftRadius:c,borderTopRightRadius:c,boxShadow:"0 -10px 40px rgba(0, 0, 0, 0.15)",borderTop:"1px solid rgba(195, 198, 215, 0.2)",display:"flex",flexDirection:"column",overflow:"hidden"},children:[a.jsx("div",{onTouchStart:Z,onTouchMove:M,onTouchEnd:E,onMouseDown:D,style:{padding:"12px 0 16px",cursor:"grab",userSelect:"none",flexShrink:0},children:l&&a.jsx("div",{style:{width:48,height:6,borderRadius:3,background:"rgba(195, 198, 215, 0.5)",margin:"0 auto"}})}),a.jsx("div",{style:{flex:1,overflowY:C==="collapsed"?"hidden":"auto",overflowX:"hidden",padding:"0 16px",WebkitOverflowScrolling:"touch",msOverflowStyle:"none",scrollbarWidth:"none"},children:e})]})})}function Lr({placeholder:e="搜索地点...",onSearch:t,onFilter:n,className:r,trailing:o}){const[i,s]=u.useState(""),l=u.useCallback(d=>{const h=d.target.value;s(h),t==null||t(h)},[t]),c=u.useCallback(()=>{s(""),t==null||t("")},[t]);return a.jsxs("div",{className:`glass-panel ${r??""}`,style:{display:"flex",alignItems:"center",padding:"12px 16px",borderRadius:16,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.08)",border:"1px solid rgba(195, 198, 215, 0.3)"},children:[a.jsx("span",{className:"material-symbols-outlined",style:{color:"var(--color-primary, #004ac6)",marginRight:12,fontSize:22},children:"search"}),a.jsx("input",{type:"text",value:i,onChange:l,placeholder:e,style:{flex:1,border:"none",background:"transparent",outline:"none",fontSize:14,lineHeight:"20px",color:"var(--color-on-surface, #121c2a)"}}),i&&a.jsx("button",{onClick:c,style:{background:"none",border:"none",cursor:"pointer",padding:4,borderRadius:999,display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx("span",{className:"material-symbols-outlined",style:{fontSize:18,color:"var(--color-on-surface-variant, #434655)"},children:"close"})}),n&&a.jsx("button",{onClick:n,style:{background:"none",border:"none",cursor:"pointer",padding:4,borderRadius:999,display:"flex",alignItems:"center",justifyContent:"center",marginLeft:4},children:a.jsx("span",{className:"material-symbols-outlined",style:{fontSize:22,color:"var(--color-on-surface-variant, #434655)"},children:"tune"})}),o]})}function F1(e,t){if(!t)return e;const n={...e};for(const r of Object.keys(t)){const o=t[r],i=n[r];o!==null&&typeof o=="object"&&!Array.isArray(o)&&i!==null&&typeof i=="object"&&!Array.isArray(i)?n[r]=F1(i,o):o!==void 0&&(n[r]=o)}return n}function br(e,t){return t?F1(e,t):e}class Mr extends u.Component{constructor(){super(...arguments),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){var r,o;(o=(r=this.props).onError)==null||o.call(r,t,n)}render(){if(this.state.hasError){const{fallback:t}=this.props,{error:n}=this.state;return typeof t=="function"?t(n):t||a.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:32,color:"#666",fontFamily:"system-ui, sans-serif"},children:[a.jsx("span",{className:"material-symbols-outlined",style:{fontSize:48,marginBottom:16,color:"#e53e3e"},children:"error"}),a.jsx("p",{style:{fontSize:16,fontWeight:600,marginBottom:8},children:"地图加载失败"}),a.jsx("p",{style:{fontSize:13,color:"#999"},children:(n==null?void 0:n.message)??"未知错误"})]})}return this.props.children}}exports.ADMIN_SEQUENTIAL_COLORS=n0;exports.AiMap=C5;exports.AiMapJSONSchema=z5;exports.ArcFlowLayer=fr;exports.BottomSheet=vr;exports.BubbleLayer=j5;exports.ChinaDistrict=U5;exports.ControlContainer=y1;exports.ControlRegistry=me;exports.ControlRenderer=$t;exports.DEFAULT_CITY_SOURCE=o0;exports.DEFAULT_DISTRICT_SOURCE=s0;exports.DEFAULT_PROVINCE_SOURCE=r0;exports.DrawControl=S1;exports.ErrorBoundary=Mr;exports.EventBus=pt;exports.EventBusProvider=mt;exports.ExportImageControl=w1;exports.FillLayer=N5;exports.FullscreenControl=v1;exports.GAODE_THEME_PRESETS=c1;exports.GeoLocateControl=L1;exports.GlyphLayer=ur;exports.HeatmapHexagonLayer=Qt;exports.HeatmapLayer=Kt;exports.HexagonLayer=Qt;exports.INDEPENDENT_MAP_THEME_PRESETS=fn;exports.IconLayer=i0;exports.ImageCalibrationControl=z1;exports.ImageLayer=V5;exports.InteractionRenderer=Wt;exports.LayerRenderer=At;exports.LayerSwitchControl=H1;exports.LegendCategories=V1;exports.LegendControl=a0;exports.LegendDiverging=j1;exports.LegendIcon=I1;exports.LegendLineWidth=Z1;exports.LegendProportion=P1;exports.LegendRamp=k1;exports.LegendRenderer=qt;exports.LegendSize=A1;exports.LegendThreshold=E1;exports.LineLayer=we;exports.LogoControl=l0;exports.MAKI_ICONS=ze;exports.MAKI_ICON_NAMES=s5;exports.MapSceneRenderer=Mt;exports.MapThemeControl=b1;exports.Marker=Ae;exports.MarkerClusterLayer=E5;exports.MobileSheetLegend=Xt;exports.MobileToolbar=Jt;exports.MouseLocationControl=M1;exports.OPENFREEMAP_THEME_PRESETS=pn;exports.PointLayer=ye;exports.PolygonLayer=Ke;exports.Popup=_e;exports.RasterLayer=e0;exports.ResponsiveProvider=m5;exports.RouteLayer=gr;exports.SATELLITE_PROVIDER_NAMES=hr;exports.SatelliteLayer=pr;exports.ScaleControl=x1;exports.SceneProvider=Lt;exports.SchemaProvider=ht;exports.SearchBar=Lr;exports.ThemeProvider=Ct;exports.TiffRasterLayer=xr;exports.Tooltip=m1;exports.ZoomControl=C1;exports.adaptHeatmapLayer=kt;exports.adaptImageLayer=Et;exports.adaptLineLayer=zt;exports.adaptPointLayer=St;exports.adaptPolygonLayer=Vt;exports.adaptRasterLayer=jt;exports.applyControlDefaults=ct;exports.applyLayerDefaults=lt;exports.applyMapDefaults=Je;exports.applyResponsiveOverrides=br;exports.applySchemaDefaults=d1;exports.createBasemap=bt;exports.createEventBus=ft;exports.createMakiIconMap=i5;exports.createMakiPinMap=Ut;exports.cx=ue;exports.deepMerge=F1;exports.diffSchema=M5;exports.hexToRgba=W0;exports.makiIconUrl=Ot;exports.makiPinUrl=Bt;exports.parseSchema=ut;exports.useControlContainer=ve;exports.useEventBus=h1;exports.useMapControl=Le;exports.useMapPosition=g1;exports.useResponsive=Yt;exports.useScene=he;exports.useSchema=z0;exports.useTheme=xt;exports.validateAiMapSchema=w5;exports.validateSchema=S0;
|