@tracktor/map 0.1.2 → 0.1.3
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/{main.es.js → main.js} +847 -227
- package/dist/main.umd.cjs +23 -2
- package/dist/utils/loadMarkers.d.ts +1 -6
- package/package.json +4 -9
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom,.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-left,.mapboxgl-ctrl-right,.mapboxgl-ctrl-top,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top{left:50%;top:0;transform:translate(-50%)}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-right{right:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl-bottom{bottom:0;left:50%;transform:translate(-50%)}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-left{left:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl,.mapboxgl-ctrl-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-bottom .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl,.mapboxgl-ctrl-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid transparent;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid transparent;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:#000000b3;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import
|
|
3
|
-
import { Box as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { LicenseInfo as
|
|
7
|
-
var
|
|
2
|
+
import ue, { forwardRef as Cr, useState as xr, useRef as Me, useEffect as L, createContext as Tr, useMemo as Sr } from "react";
|
|
3
|
+
import { Box as Ne, Skeleton as Or, useTheme as Pr, GlobalStyles as wr } from "@tracktor/design-system";
|
|
4
|
+
import jr, { Popup as Ar, Marker as Fr, Map as Dr, LngLatBounds as Lr } from "mapbox-gl";
|
|
5
|
+
import Ir from "react-dom";
|
|
6
|
+
import { LicenseInfo as Mr } from "@mui/x-license";
|
|
7
|
+
var Q = { exports: {} }, J = {};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,44 +14,644 @@ var M = { exports: {} }, L = {};
|
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
for (
|
|
26
|
-
if (
|
|
27
|
-
return { $$typeof:
|
|
17
|
+
var ke;
|
|
18
|
+
function Nr() {
|
|
19
|
+
if (ke) return J;
|
|
20
|
+
ke = 1;
|
|
21
|
+
var t = ue, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function p(v, d, x) {
|
|
23
|
+
var g, T = {}, S = null, j = null;
|
|
24
|
+
x !== void 0 && (S = "" + x), d.key !== void 0 && (S = "" + d.key), d.ref !== void 0 && (j = d.ref);
|
|
25
|
+
for (g in d) a.call(d, g) && !h.hasOwnProperty(g) && (T[g] = d[g]);
|
|
26
|
+
if (v && v.defaultProps) for (g in d = v.defaultProps, d) T[g] === void 0 && (T[g] = d[g]);
|
|
27
|
+
return { $$typeof: n, type: v, key: S, ref: j, props: T, _owner: u.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return J.Fragment = i, J.jsx = p, J.jsxs = p, J;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
var z = {};
|
|
32
|
+
/**
|
|
33
|
+
* @license React
|
|
34
|
+
* react-jsx-runtime.development.js
|
|
35
|
+
*
|
|
36
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
37
|
+
*
|
|
38
|
+
* This source code is licensed under the MIT license found in the
|
|
39
|
+
* LICENSE file in the root directory of this source tree.
|
|
40
|
+
*/
|
|
41
|
+
var $e;
|
|
42
|
+
function kr() {
|
|
43
|
+
return $e || ($e = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var t = ue, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), W = Symbol.iterator, B = "@@iterator";
|
|
45
|
+
function A(e) {
|
|
46
|
+
if (e === null || typeof e != "object")
|
|
47
|
+
return null;
|
|
48
|
+
var r = W && e[W] || e[B];
|
|
49
|
+
return typeof r == "function" ? r : null;
|
|
50
|
+
}
|
|
51
|
+
var l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function C(e) {
|
|
53
|
+
{
|
|
54
|
+
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
|
55
|
+
o[s - 1] = arguments[s];
|
|
56
|
+
R("error", e, o);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function R(e, r, o) {
|
|
60
|
+
{
|
|
61
|
+
var s = l.ReactDebugCurrentFrame, y = s.getStackAddendum();
|
|
62
|
+
y !== "" && (r += "%s", o = o.concat([y]));
|
|
63
|
+
var b = o.map(function(f) {
|
|
64
|
+
return String(f);
|
|
65
|
+
});
|
|
66
|
+
b.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, b);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
var O = !1, E = !1, M = !1, N = !1, Je = !1, fe;
|
|
70
|
+
fe = Symbol.for("react.module.reference");
|
|
71
|
+
function ze(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === h || Je || e === u || e === x || e === g || N || e === j || O || E || M || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === T || e.$$typeof === p || e.$$typeof === v || e.$$typeof === d || // This needs to include all possible module reference object
|
|
73
|
+
// types supported by any Flight configuration anywhere since
|
|
74
|
+
// we don't know which Flight build this will end up being used
|
|
75
|
+
// with.
|
|
76
|
+
e.$$typeof === fe || e.getModuleId !== void 0));
|
|
77
|
+
}
|
|
78
|
+
function Ke(e, r, o) {
|
|
79
|
+
var s = e.displayName;
|
|
80
|
+
if (s)
|
|
81
|
+
return s;
|
|
82
|
+
var y = r.displayName || r.name || "";
|
|
83
|
+
return y !== "" ? o + "(" + y + ")" : o;
|
|
84
|
+
}
|
|
85
|
+
function de(e) {
|
|
86
|
+
return e.displayName || "Context";
|
|
87
|
+
}
|
|
88
|
+
function D(e) {
|
|
89
|
+
if (e == null)
|
|
90
|
+
return null;
|
|
91
|
+
if (typeof e.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
|
+
return e.displayName || e.name || null;
|
|
93
|
+
if (typeof e == "string")
|
|
94
|
+
return e;
|
|
95
|
+
switch (e) {
|
|
96
|
+
case a:
|
|
97
|
+
return "Fragment";
|
|
98
|
+
case i:
|
|
99
|
+
return "Portal";
|
|
100
|
+
case h:
|
|
101
|
+
return "Profiler";
|
|
102
|
+
case u:
|
|
103
|
+
return "StrictMode";
|
|
104
|
+
case x:
|
|
105
|
+
return "Suspense";
|
|
106
|
+
case g:
|
|
107
|
+
return "SuspenseList";
|
|
108
|
+
}
|
|
109
|
+
if (typeof e == "object")
|
|
110
|
+
switch (e.$$typeof) {
|
|
111
|
+
case v:
|
|
112
|
+
var r = e;
|
|
113
|
+
return de(r) + ".Consumer";
|
|
114
|
+
case p:
|
|
115
|
+
var o = e;
|
|
116
|
+
return de(o._context) + ".Provider";
|
|
117
|
+
case d:
|
|
118
|
+
return Ke(e, e.render, "ForwardRef");
|
|
119
|
+
case T:
|
|
120
|
+
var s = e.displayName || null;
|
|
121
|
+
return s !== null ? s : D(e.type) || "Memo";
|
|
122
|
+
case S: {
|
|
123
|
+
var y = e, b = y._payload, f = y._init;
|
|
124
|
+
try {
|
|
125
|
+
return D(f(b));
|
|
126
|
+
} catch {
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
var k = Object.assign, q = 0, pe, ve, ye, ge, be, he, Ee;
|
|
134
|
+
function Re() {
|
|
135
|
+
}
|
|
136
|
+
Re.__reactDisabledLog = !0;
|
|
137
|
+
function He() {
|
|
138
|
+
{
|
|
139
|
+
if (q === 0) {
|
|
140
|
+
pe = console.log, ve = console.info, ye = console.warn, ge = console.error, be = console.group, he = console.groupCollapsed, Ee = console.groupEnd;
|
|
141
|
+
var e = {
|
|
142
|
+
configurable: !0,
|
|
143
|
+
enumerable: !0,
|
|
144
|
+
value: Re,
|
|
145
|
+
writable: !0
|
|
146
|
+
};
|
|
147
|
+
Object.defineProperties(console, {
|
|
148
|
+
info: e,
|
|
149
|
+
log: e,
|
|
150
|
+
warn: e,
|
|
151
|
+
error: e,
|
|
152
|
+
group: e,
|
|
153
|
+
groupCollapsed: e,
|
|
154
|
+
groupEnd: e
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
q++;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function Xe() {
|
|
161
|
+
{
|
|
162
|
+
if (q--, q === 0) {
|
|
163
|
+
var e = {
|
|
164
|
+
configurable: !0,
|
|
165
|
+
enumerable: !0,
|
|
166
|
+
writable: !0
|
|
167
|
+
};
|
|
168
|
+
Object.defineProperties(console, {
|
|
169
|
+
log: k({}, e, {
|
|
170
|
+
value: pe
|
|
171
|
+
}),
|
|
172
|
+
info: k({}, e, {
|
|
173
|
+
value: ve
|
|
174
|
+
}),
|
|
175
|
+
warn: k({}, e, {
|
|
176
|
+
value: ye
|
|
177
|
+
}),
|
|
178
|
+
error: k({}, e, {
|
|
179
|
+
value: ge
|
|
180
|
+
}),
|
|
181
|
+
group: k({}, e, {
|
|
182
|
+
value: be
|
|
183
|
+
}),
|
|
184
|
+
groupCollapsed: k({}, e, {
|
|
185
|
+
value: he
|
|
186
|
+
}),
|
|
187
|
+
groupEnd: k({}, e, {
|
|
188
|
+
value: Ee
|
|
189
|
+
})
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
q < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
var ee = l.ReactCurrentDispatcher, re;
|
|
196
|
+
function K(e, r, o) {
|
|
197
|
+
{
|
|
198
|
+
if (re === void 0)
|
|
199
|
+
try {
|
|
200
|
+
throw Error();
|
|
201
|
+
} catch (y) {
|
|
202
|
+
var s = y.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
re = s && s[1] || "";
|
|
204
|
+
}
|
|
205
|
+
return `
|
|
206
|
+
` + re + e;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
var te = !1, H;
|
|
210
|
+
{
|
|
211
|
+
var Ze = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
H = new Ze();
|
|
213
|
+
}
|
|
214
|
+
function me(e, r) {
|
|
215
|
+
if (!e || te)
|
|
216
|
+
return "";
|
|
217
|
+
{
|
|
218
|
+
var o = H.get(e);
|
|
219
|
+
if (o !== void 0)
|
|
220
|
+
return o;
|
|
221
|
+
}
|
|
222
|
+
var s;
|
|
223
|
+
te = !0;
|
|
224
|
+
var y = Error.prepareStackTrace;
|
|
225
|
+
Error.prepareStackTrace = void 0;
|
|
226
|
+
var b;
|
|
227
|
+
b = ee.current, ee.current = null, He();
|
|
228
|
+
try {
|
|
229
|
+
if (r) {
|
|
230
|
+
var f = function() {
|
|
231
|
+
throw Error();
|
|
232
|
+
};
|
|
233
|
+
if (Object.defineProperty(f.prototype, "props", {
|
|
234
|
+
set: function() {
|
|
235
|
+
throw Error();
|
|
236
|
+
}
|
|
237
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
|
+
try {
|
|
239
|
+
Reflect.construct(f, []);
|
|
240
|
+
} catch (w) {
|
|
241
|
+
s = w;
|
|
242
|
+
}
|
|
243
|
+
Reflect.construct(e, [], f);
|
|
244
|
+
} else {
|
|
245
|
+
try {
|
|
246
|
+
f.call();
|
|
247
|
+
} catch (w) {
|
|
248
|
+
s = w;
|
|
249
|
+
}
|
|
250
|
+
e.call(f.prototype);
|
|
251
|
+
}
|
|
252
|
+
} else {
|
|
253
|
+
try {
|
|
254
|
+
throw Error();
|
|
255
|
+
} catch (w) {
|
|
256
|
+
s = w;
|
|
257
|
+
}
|
|
258
|
+
e();
|
|
259
|
+
}
|
|
260
|
+
} catch (w) {
|
|
261
|
+
if (w && s && typeof w.stack == "string") {
|
|
262
|
+
for (var c = w.stack.split(`
|
|
263
|
+
`), P = s.stack.split(`
|
|
264
|
+
`), m = c.length - 1, _ = P.length - 1; m >= 1 && _ >= 0 && c[m] !== P[_]; )
|
|
265
|
+
_--;
|
|
266
|
+
for (; m >= 1 && _ >= 0; m--, _--)
|
|
267
|
+
if (c[m] !== P[_]) {
|
|
268
|
+
if (m !== 1 || _ !== 1)
|
|
269
|
+
do
|
|
270
|
+
if (m--, _--, _ < 0 || c[m] !== P[_]) {
|
|
271
|
+
var F = `
|
|
272
|
+
` + c[m].replace(" at new ", " at ");
|
|
273
|
+
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, F), F;
|
|
274
|
+
}
|
|
275
|
+
while (m >= 1 && _ >= 0);
|
|
276
|
+
break;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
} finally {
|
|
280
|
+
te = !1, ee.current = b, Xe(), Error.prepareStackTrace = y;
|
|
281
|
+
}
|
|
282
|
+
var U = e ? e.displayName || e.name : "", $ = U ? K(U) : "";
|
|
283
|
+
return typeof e == "function" && H.set(e, $), $;
|
|
284
|
+
}
|
|
285
|
+
function Qe(e, r, o) {
|
|
286
|
+
return me(e, !1);
|
|
287
|
+
}
|
|
288
|
+
function er(e) {
|
|
289
|
+
var r = e.prototype;
|
|
290
|
+
return !!(r && r.isReactComponent);
|
|
291
|
+
}
|
|
292
|
+
function X(e, r, o) {
|
|
293
|
+
if (e == null)
|
|
294
|
+
return "";
|
|
295
|
+
if (typeof e == "function")
|
|
296
|
+
return me(e, er(e));
|
|
297
|
+
if (typeof e == "string")
|
|
298
|
+
return K(e);
|
|
299
|
+
switch (e) {
|
|
300
|
+
case x:
|
|
301
|
+
return K("Suspense");
|
|
302
|
+
case g:
|
|
303
|
+
return K("SuspenseList");
|
|
304
|
+
}
|
|
305
|
+
if (typeof e == "object")
|
|
306
|
+
switch (e.$$typeof) {
|
|
307
|
+
case d:
|
|
308
|
+
return Qe(e.render);
|
|
309
|
+
case T:
|
|
310
|
+
return X(e.type, r, o);
|
|
311
|
+
case S: {
|
|
312
|
+
var s = e, y = s._payload, b = s._init;
|
|
313
|
+
try {
|
|
314
|
+
return X(b(y), r, o);
|
|
315
|
+
} catch {
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
return "";
|
|
320
|
+
}
|
|
321
|
+
var G = Object.prototype.hasOwnProperty, _e = {}, Ce = l.ReactDebugCurrentFrame;
|
|
322
|
+
function Z(e) {
|
|
323
|
+
if (e) {
|
|
324
|
+
var r = e._owner, o = X(e.type, e._source, r ? r.type : null);
|
|
325
|
+
Ce.setExtraStackFrame(o);
|
|
326
|
+
} else
|
|
327
|
+
Ce.setExtraStackFrame(null);
|
|
328
|
+
}
|
|
329
|
+
function rr(e, r, o, s, y) {
|
|
330
|
+
{
|
|
331
|
+
var b = Function.call.bind(G);
|
|
332
|
+
for (var f in e)
|
|
333
|
+
if (b(e, f)) {
|
|
334
|
+
var c = void 0;
|
|
335
|
+
try {
|
|
336
|
+
if (typeof e[f] != "function") {
|
|
337
|
+
var P = Error((s || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw P.name = "Invariant Violation", P;
|
|
339
|
+
}
|
|
340
|
+
c = e[f](r, f, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (m) {
|
|
342
|
+
c = m;
|
|
343
|
+
}
|
|
344
|
+
c && !(c instanceof Error) && (Z(y), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", o, f, typeof c), Z(null)), c instanceof Error && !(c.message in _e) && (_e[c.message] = !0, Z(y), C("Failed %s type: %s", o, c.message), Z(null));
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
var tr = Array.isArray;
|
|
349
|
+
function ne(e) {
|
|
350
|
+
return tr(e);
|
|
351
|
+
}
|
|
352
|
+
function nr(e) {
|
|
353
|
+
{
|
|
354
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
|
+
return o;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
function or(e) {
|
|
359
|
+
try {
|
|
360
|
+
return xe(e), !1;
|
|
361
|
+
} catch {
|
|
362
|
+
return !0;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
function xe(e) {
|
|
366
|
+
return "" + e;
|
|
367
|
+
}
|
|
368
|
+
function Te(e) {
|
|
369
|
+
if (or(e))
|
|
370
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), xe(e);
|
|
371
|
+
}
|
|
372
|
+
var Se = l.ReactCurrentOwner, ar = {
|
|
373
|
+
key: !0,
|
|
374
|
+
ref: !0,
|
|
375
|
+
__self: !0,
|
|
376
|
+
__source: !0
|
|
377
|
+
}, Oe, Pe;
|
|
378
|
+
function ir(e) {
|
|
379
|
+
if (G.call(e, "ref")) {
|
|
380
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
+
if (r && r.isReactWarning)
|
|
382
|
+
return !1;
|
|
383
|
+
}
|
|
384
|
+
return e.ref !== void 0;
|
|
385
|
+
}
|
|
386
|
+
function sr(e) {
|
|
387
|
+
if (G.call(e, "key")) {
|
|
388
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
+
if (r && r.isReactWarning)
|
|
390
|
+
return !1;
|
|
391
|
+
}
|
|
392
|
+
return e.key !== void 0;
|
|
393
|
+
}
|
|
394
|
+
function ur(e, r) {
|
|
395
|
+
typeof e.ref == "string" && Se.current;
|
|
396
|
+
}
|
|
397
|
+
function cr(e, r) {
|
|
398
|
+
{
|
|
399
|
+
var o = function() {
|
|
400
|
+
Oe || (Oe = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
401
|
+
};
|
|
402
|
+
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
|
+
get: o,
|
|
404
|
+
configurable: !0
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
function lr(e, r) {
|
|
409
|
+
{
|
|
410
|
+
var o = function() {
|
|
411
|
+
Pe || (Pe = !0, C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
412
|
+
};
|
|
413
|
+
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
|
+
get: o,
|
|
415
|
+
configurable: !0
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
var fr = function(e, r, o, s, y, b, f) {
|
|
420
|
+
var c = {
|
|
421
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
422
|
+
$$typeof: n,
|
|
423
|
+
// Built-in properties that belong on the element
|
|
424
|
+
type: e,
|
|
425
|
+
key: r,
|
|
426
|
+
ref: o,
|
|
427
|
+
props: f,
|
|
428
|
+
// Record the component responsible for creating this element.
|
|
429
|
+
_owner: b
|
|
430
|
+
};
|
|
431
|
+
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
432
|
+
configurable: !1,
|
|
433
|
+
enumerable: !1,
|
|
434
|
+
writable: !0,
|
|
435
|
+
value: !1
|
|
436
|
+
}), Object.defineProperty(c, "_self", {
|
|
437
|
+
configurable: !1,
|
|
438
|
+
enumerable: !1,
|
|
439
|
+
writable: !1,
|
|
440
|
+
value: s
|
|
441
|
+
}), Object.defineProperty(c, "_source", {
|
|
442
|
+
configurable: !1,
|
|
443
|
+
enumerable: !1,
|
|
444
|
+
writable: !1,
|
|
445
|
+
value: y
|
|
446
|
+
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
447
|
+
};
|
|
448
|
+
function dr(e, r, o, s, y) {
|
|
449
|
+
{
|
|
450
|
+
var b, f = {}, c = null, P = null;
|
|
451
|
+
o !== void 0 && (Te(o), c = "" + o), sr(r) && (Te(r.key), c = "" + r.key), ir(r) && (P = r.ref, ur(r, y));
|
|
452
|
+
for (b in r)
|
|
453
|
+
G.call(r, b) && !ar.hasOwnProperty(b) && (f[b] = r[b]);
|
|
454
|
+
if (e && e.defaultProps) {
|
|
455
|
+
var m = e.defaultProps;
|
|
456
|
+
for (b in m)
|
|
457
|
+
f[b] === void 0 && (f[b] = m[b]);
|
|
458
|
+
}
|
|
459
|
+
if (c || P) {
|
|
460
|
+
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
461
|
+
c && cr(f, _), P && lr(f, _);
|
|
462
|
+
}
|
|
463
|
+
return fr(e, c, P, y, s, Se.current, f);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
var oe = l.ReactCurrentOwner, we = l.ReactDebugCurrentFrame;
|
|
467
|
+
function Y(e) {
|
|
468
|
+
if (e) {
|
|
469
|
+
var r = e._owner, o = X(e.type, e._source, r ? r.type : null);
|
|
470
|
+
we.setExtraStackFrame(o);
|
|
471
|
+
} else
|
|
472
|
+
we.setExtraStackFrame(null);
|
|
473
|
+
}
|
|
474
|
+
var ae;
|
|
475
|
+
ae = !1;
|
|
476
|
+
function ie(e) {
|
|
477
|
+
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
478
|
+
}
|
|
479
|
+
function je() {
|
|
480
|
+
{
|
|
481
|
+
if (oe.current) {
|
|
482
|
+
var e = D(oe.current.type);
|
|
483
|
+
if (e)
|
|
484
|
+
return `
|
|
485
|
+
|
|
486
|
+
Check the render method of \`` + e + "`.";
|
|
487
|
+
}
|
|
488
|
+
return "";
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
function pr(e) {
|
|
492
|
+
return "";
|
|
493
|
+
}
|
|
494
|
+
var Ae = {};
|
|
495
|
+
function vr(e) {
|
|
496
|
+
{
|
|
497
|
+
var r = je();
|
|
498
|
+
if (!r) {
|
|
499
|
+
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
500
|
+
o && (r = `
|
|
501
|
+
|
|
502
|
+
Check the top-level render call using <` + o + ">.");
|
|
503
|
+
}
|
|
504
|
+
return r;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
function Fe(e, r) {
|
|
508
|
+
{
|
|
509
|
+
if (!e._store || e._store.validated || e.key != null)
|
|
510
|
+
return;
|
|
511
|
+
e._store.validated = !0;
|
|
512
|
+
var o = vr(r);
|
|
513
|
+
if (Ae[o])
|
|
514
|
+
return;
|
|
515
|
+
Ae[o] = !0;
|
|
516
|
+
var s = "";
|
|
517
|
+
e && e._owner && e._owner !== oe.current && (s = " It was passed a child from " + D(e._owner.type) + "."), Y(e), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), Y(null);
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
function De(e, r) {
|
|
521
|
+
{
|
|
522
|
+
if (typeof e != "object")
|
|
523
|
+
return;
|
|
524
|
+
if (ne(e))
|
|
525
|
+
for (var o = 0; o < e.length; o++) {
|
|
526
|
+
var s = e[o];
|
|
527
|
+
ie(s) && Fe(s, r);
|
|
528
|
+
}
|
|
529
|
+
else if (ie(e))
|
|
530
|
+
e._store && (e._store.validated = !0);
|
|
531
|
+
else if (e) {
|
|
532
|
+
var y = A(e);
|
|
533
|
+
if (typeof y == "function" && y !== e.entries)
|
|
534
|
+
for (var b = y.call(e), f; !(f = b.next()).done; )
|
|
535
|
+
ie(f.value) && Fe(f.value, r);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
function yr(e) {
|
|
540
|
+
{
|
|
541
|
+
var r = e.type;
|
|
542
|
+
if (r == null || typeof r == "string")
|
|
543
|
+
return;
|
|
544
|
+
var o;
|
|
545
|
+
if (typeof r == "function")
|
|
546
|
+
o = r.propTypes;
|
|
547
|
+
else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
|
|
548
|
+
// Inner props are checked in the reconciler.
|
|
549
|
+
r.$$typeof === T))
|
|
550
|
+
o = r.propTypes;
|
|
551
|
+
else
|
|
552
|
+
return;
|
|
553
|
+
if (o) {
|
|
554
|
+
var s = D(r);
|
|
555
|
+
rr(o, e.props, "prop", s, e);
|
|
556
|
+
} else if (r.PropTypes !== void 0 && !ae) {
|
|
557
|
+
ae = !0;
|
|
558
|
+
var y = D(r);
|
|
559
|
+
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
560
|
+
}
|
|
561
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
function gr(e) {
|
|
565
|
+
{
|
|
566
|
+
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
567
|
+
var s = r[o];
|
|
568
|
+
if (s !== "children" && s !== "key") {
|
|
569
|
+
Y(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), Y(null);
|
|
570
|
+
break;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
e.ref !== null && (Y(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
var Le = {};
|
|
577
|
+
function Ie(e, r, o, s, y, b) {
|
|
578
|
+
{
|
|
579
|
+
var f = ze(e);
|
|
580
|
+
if (!f) {
|
|
581
|
+
var c = "";
|
|
582
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
|
+
var P = pr();
|
|
584
|
+
P ? c += P : c += je();
|
|
585
|
+
var m;
|
|
586
|
+
e === null ? m = "null" : ne(e) ? m = "array" : e !== void 0 && e.$$typeof === n ? (m = "<" + (D(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, c);
|
|
587
|
+
}
|
|
588
|
+
var _ = dr(e, r, o, y, b);
|
|
589
|
+
if (_ == null)
|
|
590
|
+
return _;
|
|
591
|
+
if (f) {
|
|
592
|
+
var F = r.children;
|
|
593
|
+
if (F !== void 0)
|
|
594
|
+
if (s)
|
|
595
|
+
if (ne(F)) {
|
|
596
|
+
for (var U = 0; U < F.length; U++)
|
|
597
|
+
De(F[U], e);
|
|
598
|
+
Object.freeze && Object.freeze(F);
|
|
599
|
+
} else
|
|
600
|
+
C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
|
+
else
|
|
602
|
+
De(F, e);
|
|
603
|
+
}
|
|
604
|
+
if (G.call(r, "key")) {
|
|
605
|
+
var $ = D(e), w = Object.keys(r).filter(function(_r) {
|
|
606
|
+
return _r !== "key";
|
|
607
|
+
}), se = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!Le[$ + se]) {
|
|
609
|
+
var mr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
+
C(`A props object containing a "key" prop is being spread into JSX:
|
|
611
|
+
let props = %s;
|
|
612
|
+
<%s {...props} />
|
|
613
|
+
React keys must be passed directly to JSX without using spread:
|
|
614
|
+
let props = %s;
|
|
615
|
+
<%s key={someKey} {...props} />`, se, $, mr, $), Le[$ + se] = !0;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
return e === a ? gr(_) : yr(_), _;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
function br(e, r, o) {
|
|
622
|
+
return Ie(e, r, o, !0);
|
|
623
|
+
}
|
|
624
|
+
function hr(e, r, o) {
|
|
625
|
+
return Ie(e, r, o, !1);
|
|
626
|
+
}
|
|
627
|
+
var Er = hr, Rr = br;
|
|
628
|
+
z.Fragment = a, z.jsx = Er, z.jsxs = Rr;
|
|
629
|
+
}()), z;
|
|
630
|
+
}
|
|
631
|
+
var We;
|
|
632
|
+
function $r() {
|
|
633
|
+
return We || (We = 1, process.env.NODE_ENV === "production" ? Q.exports = Nr() : Q.exports = kr()), Q.exports;
|
|
34
634
|
}
|
|
35
|
-
var
|
|
36
|
-
const
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
635
|
+
var I = $r();
|
|
636
|
+
const Wr = ({ containerStyle: t, square: n, loading: i = !1, height: a = 300, width: u = "100%" }, h) => /* @__PURE__ */ I.jsxs(Ne, { sx: { position: "relative" }, height: a, children: [
|
|
637
|
+
/* @__PURE__ */ I.jsx(
|
|
638
|
+
Ne,
|
|
39
639
|
{
|
|
40
640
|
sx: {
|
|
41
|
-
borderRadius:
|
|
641
|
+
borderRadius: n ? 0 : 1,
|
|
42
642
|
left: 0,
|
|
43
643
|
position: "absolute",
|
|
44
644
|
top: 0,
|
|
45
645
|
zIndex: 1,
|
|
46
|
-
...
|
|
646
|
+
...t
|
|
47
647
|
},
|
|
48
|
-
ref:
|
|
49
|
-
width:
|
|
50
|
-
height:
|
|
648
|
+
ref: h,
|
|
649
|
+
width: u,
|
|
650
|
+
height: a
|
|
51
651
|
}
|
|
52
652
|
),
|
|
53
|
-
|
|
54
|
-
|
|
653
|
+
i && /* @__PURE__ */ I.jsx(
|
|
654
|
+
Or,
|
|
55
655
|
{
|
|
56
656
|
sx: {
|
|
57
657
|
left: 0,
|
|
@@ -59,263 +659,283 @@ const re = ({ containerStyle: e, square: t, loading: n = !1, height: o = 300, wi
|
|
|
59
659
|
top: 0,
|
|
60
660
|
zIndex: 0
|
|
61
661
|
},
|
|
62
|
-
width:
|
|
63
|
-
height:
|
|
64
|
-
variant:
|
|
662
|
+
width: u,
|
|
663
|
+
height: a,
|
|
664
|
+
variant: n ? "rectangular" : "rounded"
|
|
65
665
|
}
|
|
66
666
|
)
|
|
67
|
-
] }),
|
|
68
|
-
if (typeof
|
|
667
|
+
] }), Yr = Cr(Wr), Ve = (t) => typeof t == "object" && t !== null && "type" in t && "coordinates" in t, Ur = (t) => {
|
|
668
|
+
if (typeof t != "object" || t === null || !("geometry" in t && "properties" in t))
|
|
69
669
|
return !1;
|
|
70
|
-
const { geometry:
|
|
71
|
-
if (typeof
|
|
670
|
+
const { geometry: i } = t;
|
|
671
|
+
if (typeof i != "object" || i === null || !("coordinates" in i))
|
|
72
672
|
return !1;
|
|
73
|
-
const { coordinates:
|
|
74
|
-
if (!Array.isArray(
|
|
673
|
+
const { coordinates: a } = i;
|
|
674
|
+
if (!Array.isArray(a) || a.length !== 2 || !Ve(i))
|
|
75
675
|
return !1;
|
|
76
|
-
const { properties:
|
|
77
|
-
return typeof
|
|
78
|
-
},
|
|
676
|
+
const { properties: u } = t;
|
|
677
|
+
return typeof u != "object" || u === null ? !1 : "id" in u && u.id !== void 0;
|
|
678
|
+
}, Ye = (t, n) => Number.isFinite(t) && Number.isFinite(n) && t >= -90 && t <= 90 && n >= -180 && n <= 180, Vr = () => {
|
|
79
679
|
try {
|
|
80
|
-
const
|
|
81
|
-
return !!(window.WebGLRenderingContext && (
|
|
680
|
+
const t = document.createElement("canvas");
|
|
681
|
+
return !!(window.WebGLRenderingContext && (t.getContext("webgl") || t.getContext("experimental-webgl")));
|
|
82
682
|
} catch {
|
|
83
683
|
return !1;
|
|
84
684
|
}
|
|
85
685
|
};
|
|
86
|
-
var
|
|
87
|
-
function
|
|
88
|
-
if (
|
|
89
|
-
|
|
90
|
-
var
|
|
91
|
-
|
|
686
|
+
var V = {}, Ue;
|
|
687
|
+
function Br() {
|
|
688
|
+
if (Ue) return V;
|
|
689
|
+
Ue = 1;
|
|
690
|
+
var t = Ir;
|
|
691
|
+
if (process.env.NODE_ENV === "production")
|
|
692
|
+
V.createRoot = t.createRoot, V.hydrateRoot = t.hydrateRoot;
|
|
693
|
+
else {
|
|
694
|
+
var n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
695
|
+
V.createRoot = function(i, a) {
|
|
696
|
+
n.usingClientEntryPoint = !0;
|
|
697
|
+
try {
|
|
698
|
+
return t.createRoot(i, a);
|
|
699
|
+
} finally {
|
|
700
|
+
n.usingClientEntryPoint = !1;
|
|
701
|
+
}
|
|
702
|
+
}, V.hydrateRoot = function(i, a, u) {
|
|
703
|
+
n.usingClientEntryPoint = !0;
|
|
704
|
+
try {
|
|
705
|
+
return t.hydrateRoot(i, a, u);
|
|
706
|
+
} finally {
|
|
707
|
+
n.usingClientEntryPoint = !1;
|
|
708
|
+
}
|
|
709
|
+
};
|
|
710
|
+
}
|
|
711
|
+
return V;
|
|
92
712
|
}
|
|
93
|
-
var
|
|
94
|
-
const
|
|
95
|
-
const
|
|
96
|
-
return
|
|
97
|
-
},
|
|
98
|
-
if (!
|
|
713
|
+
var Be = Br();
|
|
714
|
+
const qr = (t) => {
|
|
715
|
+
const n = document.createElement("button");
|
|
716
|
+
return n.innerText = "×", n.style.position = "absolute", n.style.top = "5px", n.style.right = "5px", n.style.background = "transparent", n.style.border = "none", n.style.fontSize = "16px", n.style.padding = "0", n.style.margin = "0", n.style.cursor = "pointer", n.type = "button", n.setAttribute("aria-label", "Close popup"), n.removeAttribute("aria-hidden"), n.onclick = () => t.remove(), n;
|
|
717
|
+
}, qe = ({ map: t, tooltip: n, coordinates: i }) => {
|
|
718
|
+
if (!i || !n || !t.current || !Array.isArray(i) || i.length !== 2)
|
|
99
719
|
return;
|
|
100
|
-
const
|
|
101
|
-
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
const
|
|
720
|
+
const a = document.createElement("div");
|
|
721
|
+
a.style.position = "relative", a.style.overflow = "hidden";
|
|
722
|
+
const u = document.createElement("div");
|
|
723
|
+
u.style.padding = "10px";
|
|
724
|
+
const h = Be.createRoot(u);
|
|
725
|
+
h.render(n);
|
|
726
|
+
const p = new Ar({
|
|
107
727
|
closeButton: !1
|
|
108
|
-
}).setLngLat(
|
|
109
|
-
|
|
110
|
-
|
|
728
|
+
}).setLngLat(i).setDOMContent(a).addTo(t.current);
|
|
729
|
+
p.on("close", () => {
|
|
730
|
+
h.unmount();
|
|
111
731
|
});
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
},
|
|
115
|
-
var
|
|
116
|
-
if (!((
|
|
732
|
+
const v = qr(p);
|
|
733
|
+
a.appendChild(v), a.appendChild(u);
|
|
734
|
+
}, Ge = (t) => Array.isArray(t) ? t.length >= 2 ? [t[0], t[1]] : void 0 : t, Gr = ({ map: t, markers: n, event: i }) => {
|
|
735
|
+
var h, p, v, d, x;
|
|
736
|
+
if (!((h = t.current) != null && h.isStyleLoaded()))
|
|
117
737
|
return;
|
|
118
|
-
const
|
|
119
|
-
if (
|
|
120
|
-
const
|
|
121
|
-
if (!
|
|
738
|
+
const a = ((d = (v = (p = t.current) == null ? void 0 : p.getStyle()) == null ? void 0 : v.layers) == null ? void 0 : d.filter((g) => g.id.startsWith("marker-")).map((g) => g.id)) || [], u = (x = t.current) == null ? void 0 : x.queryRenderedFeatures(i.point, { layers: a });
|
|
739
|
+
if (u && u.length > 0) {
|
|
740
|
+
const g = u[0];
|
|
741
|
+
if (!Ur(g) || !Ve(g.geometry))
|
|
122
742
|
return;
|
|
123
|
-
const { geometry:
|
|
124
|
-
if (
|
|
743
|
+
const { geometry: T } = g, { properties: S } = g, j = T.coordinates.slice();
|
|
744
|
+
if (j.length !== 2 || typeof j[0] != "number" || typeof j[1] != "number")
|
|
125
745
|
return;
|
|
126
|
-
const [
|
|
127
|
-
|
|
746
|
+
const [W, B] = j, A = n.find((l) => l.id === (S == null ? void 0 : S.id));
|
|
747
|
+
A && qe({ coordinates: [W, B], map: t, tooltip: A == null ? void 0 : A.Tooltip });
|
|
128
748
|
}
|
|
129
|
-
},
|
|
130
|
-
const
|
|
131
|
-
switch (
|
|
749
|
+
}, Jr = ({ palette: t, type: n }) => {
|
|
750
|
+
const i = t.mode === "dark" ? "black" : "white", a = t.secondary.main, u = t.info.main;
|
|
751
|
+
switch (n) {
|
|
132
752
|
case "dropOff":
|
|
133
753
|
return {
|
|
134
|
-
"circle-color":
|
|
754
|
+
"circle-color": i,
|
|
135
755
|
"circle-radius": 5,
|
|
136
|
-
"circle-stroke-color":
|
|
756
|
+
"circle-stroke-color": u,
|
|
137
757
|
"circle-stroke-width": 6
|
|
138
758
|
};
|
|
139
759
|
default:
|
|
140
760
|
return {
|
|
141
|
-
"circle-color":
|
|
761
|
+
"circle-color": i,
|
|
142
762
|
"circle-radius": 7,
|
|
143
|
-
"circle-stroke-color":
|
|
763
|
+
"circle-stroke-color": a,
|
|
144
764
|
"circle-stroke-width": 8
|
|
145
765
|
};
|
|
146
766
|
}
|
|
147
|
-
},
|
|
148
|
-
const
|
|
149
|
-
features:
|
|
767
|
+
}, zr = (t, n, i, a) => {
|
|
768
|
+
const u = {
|
|
769
|
+
features: i.map((p) => ({
|
|
150
770
|
geometry: {
|
|
151
|
-
coordinates:
|
|
771
|
+
coordinates: p.geometry.coordinates,
|
|
152
772
|
type: "Point"
|
|
153
773
|
},
|
|
154
774
|
properties: {
|
|
155
|
-
id:
|
|
156
|
-
...
|
|
775
|
+
id: p.properties.id,
|
|
776
|
+
...p.properties
|
|
157
777
|
},
|
|
158
778
|
type: "Feature"
|
|
159
779
|
})),
|
|
160
780
|
type: "FeatureCollection"
|
|
161
|
-
},
|
|
162
|
-
|
|
163
|
-
data:
|
|
781
|
+
}, h = t.getSource(n);
|
|
782
|
+
h ? h.setData(u) : t.addSource(n, {
|
|
783
|
+
data: u,
|
|
164
784
|
type: "geojson"
|
|
165
|
-
}),
|
|
166
|
-
const { description:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}) :
|
|
170
|
-
filter: ["==", "id",
|
|
171
|
-
id:
|
|
172
|
-
paint:
|
|
173
|
-
source:
|
|
785
|
+
}), u.features.forEach((p) => {
|
|
786
|
+
const { description: v, id: d } = p.properties || {}, x = Jr({ palette: a, type: v }), g = `marker-${d}`;
|
|
787
|
+
t.getLayer(g) ? Object.entries(x || {}).forEach(([T, S]) => {
|
|
788
|
+
t.setPaintProperty(g, T, S);
|
|
789
|
+
}) : t.addLayer({
|
|
790
|
+
filter: ["==", "id", d],
|
|
791
|
+
id: g,
|
|
792
|
+
paint: x,
|
|
793
|
+
source: n,
|
|
174
794
|
type: "circle"
|
|
175
795
|
});
|
|
176
796
|
});
|
|
177
|
-
},
|
|
178
|
-
document.querySelectorAll(".react-custom-marker").forEach((
|
|
179
|
-
const { IconComponent:
|
|
180
|
-
if (
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
const
|
|
184
|
-
|
|
797
|
+
}, Kr = (t, n) => {
|
|
798
|
+
document.querySelectorAll(".react-custom-marker").forEach((a) => a.remove()), n.forEach((a) => {
|
|
799
|
+
const { IconComponent: u, iconProps: h } = a.properties || {}, { coordinates: p } = a.geometry;
|
|
800
|
+
if (u && p.length >= 2) {
|
|
801
|
+
const v = document.createElement("div");
|
|
802
|
+
v.className = "react-custom-marker", v.style.position = "absolute";
|
|
803
|
+
const d = document.createElement("div"), x = Be.createRoot(d);
|
|
804
|
+
u && x.render(ue.createElement(u, h || {})), v.appendChild(d), new Fr(v).setLngLat([p[0], p[1]]).addTo(t);
|
|
185
805
|
}
|
|
186
806
|
});
|
|
187
|
-
},
|
|
188
|
-
features: (
|
|
807
|
+
}, Hr = (t) => ({
|
|
808
|
+
features: (t == null ? void 0 : t.map((n, i) => ({
|
|
189
809
|
geometry: {
|
|
190
810
|
coordinates: [
|
|
191
|
-
Number.isFinite(Number(
|
|
192
|
-
Number.isFinite(Number(
|
|
811
|
+
Number.isFinite(Number(n.lng)) ? Number(n.lng) : Number(ce),
|
|
812
|
+
Number.isFinite(Number(n.lat)) ? Number(n.lat) : Number(le)
|
|
193
813
|
],
|
|
194
814
|
type: "Point"
|
|
195
815
|
},
|
|
196
816
|
properties: {
|
|
197
|
-
description:
|
|
198
|
-
IconComponent:
|
|
199
|
-
iconProps:
|
|
200
|
-
id:
|
|
201
|
-
name:
|
|
202
|
-
size:
|
|
203
|
-
zIndex:
|
|
817
|
+
description: n.type,
|
|
818
|
+
IconComponent: n.IconComponent,
|
|
819
|
+
iconProps: n.iconProps,
|
|
820
|
+
id: n.id || `{marker-${i}}`,
|
|
821
|
+
name: n.name,
|
|
822
|
+
size: n.size || 1,
|
|
823
|
+
zIndex: n.zIndex || 0
|
|
204
824
|
},
|
|
205
825
|
type: "Feature"
|
|
206
826
|
}))) || [],
|
|
207
827
|
type: "FeatureCollection"
|
|
208
|
-
}),
|
|
209
|
-
if (
|
|
210
|
-
const
|
|
211
|
-
var
|
|
212
|
-
return ((
|
|
213
|
-
}),
|
|
214
|
-
var
|
|
215
|
-
return (
|
|
828
|
+
}), Xr = ({ map: t, setLoadingMapBox: n, palette: i, markers: a }) => {
|
|
829
|
+
if (n(!1), !t.current) return;
|
|
830
|
+
const u = Hr(a), h = u.features.filter((v) => {
|
|
831
|
+
var d;
|
|
832
|
+
return ((d = v.properties) == null ? void 0 : d.IconComponent) === void 0;
|
|
833
|
+
}), p = u.features.filter((v) => {
|
|
834
|
+
var d;
|
|
835
|
+
return (d = v.properties) == null ? void 0 : d.IconComponent;
|
|
216
836
|
});
|
|
217
|
-
|
|
218
|
-
},
|
|
219
|
-
var
|
|
837
|
+
p.length && Kr(t.current, p), h.length && zr(t.current, "markerProps", h, i);
|
|
838
|
+
}, Zr = ({ mapStyle: t, mapContainer: n, zoomFlyFrom: i, markers: a, center: u }) => {
|
|
839
|
+
var p, v;
|
|
220
840
|
return {
|
|
221
|
-
center:
|
|
222
|
-
lat: ((
|
|
223
|
-
lng: ((
|
|
841
|
+
center: u ? Ge(u) : {
|
|
842
|
+
lat: ((p = a == null ? void 0 : a[0]) == null ? void 0 : p.lat) !== void 0 ? Number(a[0].lat) : le,
|
|
843
|
+
lng: ((v = a == null ? void 0 : a[0]) == null ? void 0 : v.lng) !== void 0 ? Number(a[0].lng) : ce
|
|
224
844
|
},
|
|
225
|
-
container: (
|
|
845
|
+
container: (n == null ? void 0 : n.current) || "",
|
|
226
846
|
cooperativeGestures: !0,
|
|
227
847
|
failIfMajorPerformanceCaveat: !1,
|
|
228
|
-
style:
|
|
229
|
-
zoom:
|
|
848
|
+
style: t,
|
|
849
|
+
zoom: i
|
|
230
850
|
};
|
|
231
|
-
},
|
|
232
|
-
markers:
|
|
233
|
-
loading:
|
|
234
|
-
center:
|
|
235
|
-
flyToDuration:
|
|
236
|
-
fitBoundDuration:
|
|
237
|
-
fitBounds:
|
|
238
|
-
disableFlyTo:
|
|
239
|
-
fitBoundsPadding:
|
|
240
|
-
mapStyle:
|
|
241
|
-
zoom:
|
|
242
|
-
zoomFlyFrom:
|
|
243
|
-
openPopup:
|
|
244
|
-
onMapClick:
|
|
851
|
+
}, ce = 2.333, le = 46.8677, Qr = ({
|
|
852
|
+
markers: t,
|
|
853
|
+
loading: n,
|
|
854
|
+
center: i,
|
|
855
|
+
flyToDuration: a = 5e3,
|
|
856
|
+
fitBoundDuration: u = 1e3,
|
|
857
|
+
fitBounds: h = !0,
|
|
858
|
+
disableFlyTo: p = !1,
|
|
859
|
+
fitBoundsPadding: v = 50,
|
|
860
|
+
mapStyle: d = "mapbox://styles/mapbox/streets-v12?optimize=true",
|
|
861
|
+
zoom: x = 6,
|
|
862
|
+
zoomFlyFrom: g = 3,
|
|
863
|
+
openPopup: T,
|
|
864
|
+
onMapClick: S
|
|
245
865
|
}) => {
|
|
246
|
-
const { palette:
|
|
247
|
-
return
|
|
248
|
-
if (l.current || !
|
|
866
|
+
const { palette: j } = Pr(), [W, B] = xr(!0), A = Me(null), l = Me(null), C = !t || t.some((R) => R.lat === void 0 || R.lng === void 0);
|
|
867
|
+
return L(() => {
|
|
868
|
+
if (l.current || !A.current || n || !Vr())
|
|
249
869
|
return;
|
|
250
|
-
|
|
251
|
-
const
|
|
252
|
-
l.current = new
|
|
253
|
-
}, [
|
|
254
|
-
if (!l.current ||
|
|
255
|
-
const
|
|
256
|
-
|
|
870
|
+
A.current.innerHTML !== "" && (A.current.innerHTML = "");
|
|
871
|
+
const R = Zr({ center: i, mapContainer: A, mapStyle: d, markers: t, zoomFlyFrom: g });
|
|
872
|
+
l.current = new Dr(R);
|
|
873
|
+
}, [i, n, d, t, g]), L(() => {
|
|
874
|
+
if (!l.current || C) return;
|
|
875
|
+
const R = () => {
|
|
876
|
+
Xr({ map: l, markers: t, palette: j, setLoadingMapBox: B });
|
|
257
877
|
};
|
|
258
|
-
l.current.loaded() ?
|
|
259
|
-
}, [
|
|
260
|
-
if (!l.current || !
|
|
261
|
-
const
|
|
262
|
-
if (
|
|
263
|
-
const
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
const
|
|
267
|
-
|
|
878
|
+
l.current.loaded() ? R() : l.current.once("load", R);
|
|
879
|
+
}, [t, C, j]), L(() => {
|
|
880
|
+
if (!l.current || !t) return;
|
|
881
|
+
const R = l.current._popups;
|
|
882
|
+
if (R.length && R.forEach((E) => E.remove()), T) {
|
|
883
|
+
const E = t.find((N) => N.id === T), M = [Number(E == null ? void 0 : E.lng) || 0, Number(E == null ? void 0 : E.lat) || 0];
|
|
884
|
+
qe({ coordinates: M, map: l, tooltip: E == null ? void 0 : E.Tooltip });
|
|
885
|
+
}
|
|
886
|
+
const O = (E) => {
|
|
887
|
+
Gr({ event: E, map: l, markers: t });
|
|
268
888
|
};
|
|
269
|
-
return l.current.on("click",
|
|
270
|
-
var
|
|
271
|
-
(
|
|
889
|
+
return l.current.on("click", O), () => {
|
|
890
|
+
var E;
|
|
891
|
+
(E = l.current) == null || E.off("click", O);
|
|
272
892
|
};
|
|
273
|
-
}, [l,
|
|
274
|
-
if (!l.current || !
|
|
275
|
-
const
|
|
276
|
-
|
|
277
|
-
}, [
|
|
278
|
-
if (!l.current || !
|
|
279
|
-
const
|
|
280
|
-
return l.current.on("click",
|
|
281
|
-
var
|
|
282
|
-
(
|
|
893
|
+
}, [l, t, T]), L(() => {
|
|
894
|
+
if (!l.current || !i) return;
|
|
895
|
+
const R = Array.isArray(i) && Ye(i[1], i[0]) ? Ge(i) : { lat: le, lng: ce };
|
|
896
|
+
R && l.current.setCenter(R);
|
|
897
|
+
}, [i]), L(() => {
|
|
898
|
+
if (!l.current || !S) return;
|
|
899
|
+
const R = (O) => S(O.lngLat.lng, O.lngLat.lat);
|
|
900
|
+
return l.current.on("click", R), () => {
|
|
901
|
+
var O;
|
|
902
|
+
(O = l.current) == null || O.off("click", R);
|
|
283
903
|
};
|
|
284
|
-
}, [
|
|
285
|
-
if (!l.current || (
|
|
286
|
-
duration:
|
|
287
|
-
zoom:
|
|
288
|
-
}), !
|
|
289
|
-
const
|
|
290
|
-
const
|
|
291
|
-
return
|
|
904
|
+
}, [S]), L(() => {
|
|
905
|
+
if (!l.current || (p || l.current.flyTo({
|
|
906
|
+
duration: a,
|
|
907
|
+
zoom: x
|
|
908
|
+
}), !h || !(t != null && t.length) || (t == null ? void 0 : t.length) < 2)) return;
|
|
909
|
+
const R = new Lr(), O = t.filter((E) => {
|
|
910
|
+
const M = Number(E.lng), N = Number(E.lat);
|
|
911
|
+
return Ye(N, M);
|
|
292
912
|
});
|
|
293
|
-
if (!(
|
|
294
|
-
for (let
|
|
295
|
-
const
|
|
296
|
-
|
|
913
|
+
if (!(O.length < 2)) {
|
|
914
|
+
for (let E = 0; E < O.length; E += 1) {
|
|
915
|
+
const M = Number(O[E].lng), N = Number(O[E].lat);
|
|
916
|
+
R.extend([M, N]);
|
|
297
917
|
}
|
|
298
|
-
l.current.fitBounds(
|
|
299
|
-
duration:
|
|
300
|
-
padding:
|
|
918
|
+
l.current.fitBounds(R, {
|
|
919
|
+
duration: u,
|
|
920
|
+
padding: v
|
|
301
921
|
});
|
|
302
922
|
}
|
|
303
|
-
}, [
|
|
923
|
+
}, [t, h, v, a, x, u, p]), L(
|
|
304
924
|
() => () => {
|
|
305
925
|
l.current && (l.current.remove(), l.current = null);
|
|
306
926
|
},
|
|
307
927
|
[]
|
|
308
928
|
), {
|
|
309
|
-
loading:
|
|
929
|
+
loading: W || n,
|
|
310
930
|
map: l,
|
|
311
|
-
mapContainer:
|
|
312
|
-
markers:
|
|
931
|
+
mapContainer: A,
|
|
932
|
+
markers: t
|
|
313
933
|
};
|
|
314
|
-
},
|
|
315
|
-
const { loading:
|
|
316
|
-
return /* @__PURE__ */
|
|
317
|
-
/* @__PURE__ */
|
|
318
|
-
|
|
934
|
+
}, it = ({ containerStyle: t, square: n, theme: i, height: a = 300, width: u = "100%", ...h }) => {
|
|
935
|
+
const { loading: p, mapContainer: v } = Qr(h);
|
|
936
|
+
return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
937
|
+
/* @__PURE__ */ I.jsx(
|
|
938
|
+
wr,
|
|
319
939
|
{
|
|
320
940
|
styles: {
|
|
321
941
|
".mapboxgl-popup-content": {
|
|
@@ -328,26 +948,26 @@ const ue = (e) => {
|
|
|
328
948
|
}
|
|
329
949
|
}
|
|
330
950
|
),
|
|
331
|
-
/* @__PURE__ */
|
|
951
|
+
/* @__PURE__ */ I.jsx(Yr, { ref: v, loading: p, height: a, width: u, containerStyle: t, square: n })
|
|
332
952
|
] });
|
|
333
|
-
},
|
|
953
|
+
}, et = Tr({
|
|
334
954
|
licenceMapbox: "",
|
|
335
955
|
licenseMuiX: ""
|
|
336
|
-
}),
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}, [
|
|
340
|
-
const
|
|
956
|
+
}), st = ({ children: t, licenseMuiX: n, licenceMapbox: i }) => {
|
|
957
|
+
L(() => {
|
|
958
|
+
n && Mr.setLicenseKey(n);
|
|
959
|
+
}, [n]);
|
|
960
|
+
const a = Sr(
|
|
341
961
|
() => ({
|
|
342
|
-
licenceMapbox:
|
|
343
|
-
licenseMuiX:
|
|
962
|
+
licenceMapbox: i,
|
|
963
|
+
licenseMuiX: n
|
|
344
964
|
}),
|
|
345
|
-
[
|
|
965
|
+
[n, i]
|
|
346
966
|
);
|
|
347
|
-
return
|
|
967
|
+
return i && (jr.accessToken = i), /* @__PURE__ */ I.jsx(et.Provider, { value: a, children: t });
|
|
348
968
|
};
|
|
349
969
|
export {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
970
|
+
st as MapProvider,
|
|
971
|
+
et as MapProviderContext,
|
|
972
|
+
it as MarkerMap
|
|
353
973
|
};
|