@tracktor/map 0.7.0 → 0.7.1
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.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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:initial;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:initial}.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:initial;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:initial;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 #0000;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:initial;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 #0000;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid #0000;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 ge, { createContext as
|
|
3
|
-
import { LicenseInfo as
|
|
4
|
-
import me, { LngLatBounds as
|
|
5
|
-
import { useTheme as
|
|
6
|
-
import { useDebounce as
|
|
7
|
-
import
|
|
2
|
+
import ge, { createContext as Tr, useEffect as F, useMemo as ye, useRef as ne, useState as kr, useCallback as ze, memo as Sr } from "react";
|
|
3
|
+
import { LicenseInfo as Pr } from "@mui/x-license";
|
|
4
|
+
import me, { LngLatBounds as Or, Marker as wr, Popup as jr, Map as Ar } from "mapbox-gl";
|
|
5
|
+
import { useTheme as Fr, Box as ve, GlobalStyles as Ir, Skeleton as Lr } from "@tracktor/design-system";
|
|
6
|
+
import { useDebounce as Dr } from "@tracktor/react-utils";
|
|
7
|
+
import Mr from "react-dom";
|
|
8
8
|
const dt = 2.333, pt = 46.8677;
|
|
9
|
-
var te = { exports: {} },
|
|
9
|
+
var te = { exports: {} }, J = {};
|
|
10
10
|
/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,21 +16,21 @@ var te = { exports: {} }, G = {};
|
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
if (
|
|
22
|
-
|
|
23
|
-
var
|
|
24
|
-
function g(
|
|
25
|
-
var l,
|
|
26
|
-
|
|
27
|
-
for (l in u) s.call(u, l) && !v.hasOwnProperty(l) && (
|
|
28
|
-
if (
|
|
29
|
-
return { $$typeof:
|
|
19
|
+
var Be;
|
|
20
|
+
function Nr() {
|
|
21
|
+
if (Be) return J;
|
|
22
|
+
Be = 1;
|
|
23
|
+
var t = ge, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
|
+
function g(f, u, d) {
|
|
25
|
+
var l, p = {}, E = null, C = null;
|
|
26
|
+
d !== void 0 && (E = "" + d), u.key !== void 0 && (E = "" + u.key), u.ref !== void 0 && (C = u.ref);
|
|
27
|
+
for (l in u) s.call(u, l) && !v.hasOwnProperty(l) && (p[l] = u[l]);
|
|
28
|
+
if (f && f.defaultProps) for (l in u = f.defaultProps, u) p[l] === void 0 && (p[l] = u[l]);
|
|
29
|
+
return { $$typeof: n, type: f, key: E, ref: C, props: p, _owner: i.current };
|
|
30
30
|
}
|
|
31
|
-
return
|
|
31
|
+
return J.Fragment = a, J.jsx = g, J.jsxs = g, J;
|
|
32
32
|
}
|
|
33
|
-
var
|
|
33
|
+
var K = {};
|
|
34
34
|
/**
|
|
35
35
|
* @license React
|
|
36
36
|
* react-jsx-runtime.development.js
|
|
@@ -40,17 +40,17 @@ var J = {};
|
|
|
40
40
|
* This source code is licensed under the MIT license found in the
|
|
41
41
|
* LICENSE file in the root directory of this source tree.
|
|
42
42
|
*/
|
|
43
|
-
var
|
|
44
|
-
function
|
|
45
|
-
return
|
|
46
|
-
var
|
|
43
|
+
var Ve;
|
|
44
|
+
function $r() {
|
|
45
|
+
return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
+
var t = ge, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), j = Symbol.iterator, oe = "@@iterator";
|
|
47
47
|
function ae(e) {
|
|
48
48
|
if (e === null || typeof e != "object")
|
|
49
49
|
return null;
|
|
50
|
-
var r =
|
|
50
|
+
var r = j && e[j] || e[oe];
|
|
51
51
|
return typeof r == "function" ? r : null;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var A = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
54
|
function x(e) {
|
|
55
55
|
{
|
|
56
56
|
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
|
|
@@ -60,22 +60,22 @@ function Nr() {
|
|
|
60
60
|
}
|
|
61
61
|
function w(e, r, o) {
|
|
62
62
|
{
|
|
63
|
-
var c =
|
|
63
|
+
var c = A.ReactDebugCurrentFrame, b = c.getStackAddendum();
|
|
64
64
|
b !== "" && (r += "%s", o = o.concat([b]));
|
|
65
|
-
var
|
|
65
|
+
var h = o.map(function(m) {
|
|
66
66
|
return String(m);
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
var H = !1,
|
|
72
|
-
|
|
73
|
-
function
|
|
74
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === v ||
|
|
71
|
+
var H = !1, z = !1, B = !1, T = !1, M = !1, V;
|
|
72
|
+
V = Symbol.for("react.module.reference");
|
|
73
|
+
function N(e) {
|
|
74
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === v || M || e === i || e === d || e === l || T || e === C || H || z || B || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === p || e.$$typeof === g || e.$$typeof === f || e.$$typeof === u || // This needs to include all possible module reference object
|
|
75
75
|
// types supported by any Flight configuration anywhere since
|
|
76
76
|
// we don't know which Flight build this will end up being used
|
|
77
77
|
// with.
|
|
78
|
-
e.$$typeof ===
|
|
78
|
+
e.$$typeof === V || e.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
80
|
function X(e, r, o) {
|
|
81
81
|
var c = e.displayName;
|
|
@@ -87,7 +87,7 @@ function Nr() {
|
|
|
87
87
|
function P(e) {
|
|
88
88
|
return e.displayName || "Context";
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function I(e) {
|
|
91
91
|
if (e == null)
|
|
92
92
|
return null;
|
|
93
93
|
if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -103,14 +103,14 @@ function Nr() {
|
|
|
103
103
|
return "Profiler";
|
|
104
104
|
case i:
|
|
105
105
|
return "StrictMode";
|
|
106
|
-
case
|
|
106
|
+
case d:
|
|
107
107
|
return "Suspense";
|
|
108
108
|
case l:
|
|
109
109
|
return "SuspenseList";
|
|
110
110
|
}
|
|
111
111
|
if (typeof e == "object")
|
|
112
112
|
switch (e.$$typeof) {
|
|
113
|
-
case
|
|
113
|
+
case f:
|
|
114
114
|
var r = e;
|
|
115
115
|
return P(r) + ".Consumer";
|
|
116
116
|
case g:
|
|
@@ -118,13 +118,13 @@ function Nr() {
|
|
|
118
118
|
return P(o._context) + ".Provider";
|
|
119
119
|
case u:
|
|
120
120
|
return X(e, e.render, "ForwardRef");
|
|
121
|
-
case
|
|
121
|
+
case p:
|
|
122
122
|
var c = e.displayName || null;
|
|
123
|
-
return c !== null ? c :
|
|
124
|
-
case
|
|
125
|
-
var b = e,
|
|
123
|
+
return c !== null ? c : I(e.type) || "Memo";
|
|
124
|
+
case E: {
|
|
125
|
+
var b = e, h = b._payload, m = b._init;
|
|
126
126
|
try {
|
|
127
|
-
return
|
|
127
|
+
return I(m(h));
|
|
128
128
|
} catch {
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
@@ -132,18 +132,18 @@ function Nr() {
|
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
136
|
-
function
|
|
135
|
+
var L = Object.assign, q = 0, he, Re, _e, Ce, xe, Te, ke;
|
|
136
|
+
function Se() {
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
function
|
|
138
|
+
Se.__reactDisabledLog = !0;
|
|
139
|
+
function Ze() {
|
|
140
140
|
{
|
|
141
|
-
if (
|
|
142
|
-
|
|
141
|
+
if (q === 0) {
|
|
142
|
+
he = console.log, Re = console.info, _e = console.warn, Ce = console.error, xe = console.group, Te = console.groupCollapsed, ke = console.groupEnd;
|
|
143
143
|
var e = {
|
|
144
144
|
configurable: !0,
|
|
145
145
|
enumerable: !0,
|
|
146
|
-
value:
|
|
146
|
+
value: Se,
|
|
147
147
|
writable: !0
|
|
148
148
|
};
|
|
149
149
|
Object.defineProperties(console, {
|
|
@@ -156,45 +156,45 @@ function Nr() {
|
|
|
156
156
|
groupEnd: e
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
|
-
|
|
159
|
+
q++;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Qe() {
|
|
163
163
|
{
|
|
164
|
-
if (
|
|
164
|
+
if (q--, q === 0) {
|
|
165
165
|
var e = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
168
168
|
writable: !0
|
|
169
169
|
};
|
|
170
170
|
Object.defineProperties(console, {
|
|
171
|
-
log:
|
|
172
|
-
value: be
|
|
173
|
-
}),
|
|
174
|
-
info: I({}, e, {
|
|
175
|
-
value: Ee
|
|
176
|
-
}),
|
|
177
|
-
warn: I({}, e, {
|
|
171
|
+
log: L({}, e, {
|
|
178
172
|
value: he
|
|
179
173
|
}),
|
|
180
|
-
|
|
174
|
+
info: L({}, e, {
|
|
181
175
|
value: Re
|
|
182
176
|
}),
|
|
183
|
-
|
|
177
|
+
warn: L({}, e, {
|
|
184
178
|
value: _e
|
|
185
179
|
}),
|
|
186
|
-
|
|
180
|
+
error: L({}, e, {
|
|
187
181
|
value: Ce
|
|
188
182
|
}),
|
|
189
|
-
|
|
183
|
+
group: L({}, e, {
|
|
190
184
|
value: xe
|
|
185
|
+
}),
|
|
186
|
+
groupCollapsed: L({}, e, {
|
|
187
|
+
value: Te
|
|
188
|
+
}),
|
|
189
|
+
groupEnd: L({}, e, {
|
|
190
|
+
value: ke
|
|
191
191
|
})
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
-
|
|
194
|
+
q < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
var ie =
|
|
197
|
+
var ie = A.ReactCurrentDispatcher, se;
|
|
198
198
|
function Z(e, r, o) {
|
|
199
199
|
{
|
|
200
200
|
if (se === void 0)
|
|
@@ -210,10 +210,10 @@ function Nr() {
|
|
|
210
210
|
}
|
|
211
211
|
var ue = !1, Q;
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
Q = new
|
|
213
|
+
var er = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
+
Q = new er();
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function Pe(e, r) {
|
|
217
217
|
if (!e || ue)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
@@ -225,8 +225,8 @@ function Nr() {
|
|
|
225
225
|
ue = !0;
|
|
226
226
|
var b = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
228
|
+
var h;
|
|
229
|
+
h = ie.current, ie.current = null, Ze();
|
|
230
230
|
try {
|
|
231
231
|
if (r) {
|
|
232
232
|
var m = function() {
|
|
@@ -279,15 +279,15 @@ function Nr() {
|
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
|
-
ue = !1, ie.current =
|
|
282
|
+
ue = !1, ie.current = h, Qe(), Error.prepareStackTrace = b;
|
|
283
283
|
}
|
|
284
|
-
var
|
|
285
|
-
return typeof e == "function" && Q.set(e,
|
|
284
|
+
var W = e ? e.displayName || e.name : "", D = W ? Z(W) : "";
|
|
285
|
+
return typeof e == "function" && Q.set(e, D), D;
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
return
|
|
287
|
+
function rr(e, r, o) {
|
|
288
|
+
return Pe(e, !1);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function tr(e) {
|
|
291
291
|
var r = e.prototype;
|
|
292
292
|
return !!(r && r.isReactComponent);
|
|
293
293
|
}
|
|
@@ -295,11 +295,11 @@ function Nr() {
|
|
|
295
295
|
if (e == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof e == "function")
|
|
298
|
-
return
|
|
298
|
+
return Pe(e, tr(e));
|
|
299
299
|
if (typeof e == "string")
|
|
300
300
|
return Z(e);
|
|
301
301
|
switch (e) {
|
|
302
|
-
case
|
|
302
|
+
case d:
|
|
303
303
|
return Z("Suspense");
|
|
304
304
|
case l:
|
|
305
305
|
return Z("SuspenseList");
|
|
@@ -307,32 +307,32 @@ function Nr() {
|
|
|
307
307
|
if (typeof e == "object")
|
|
308
308
|
switch (e.$$typeof) {
|
|
309
309
|
case u:
|
|
310
|
-
return
|
|
311
|
-
case
|
|
310
|
+
return rr(e.render);
|
|
311
|
+
case p:
|
|
312
312
|
return ee(e.type, r, o);
|
|
313
|
-
case
|
|
314
|
-
var c = e, b = c._payload,
|
|
313
|
+
case E: {
|
|
314
|
+
var c = e, b = c._payload, h = c._init;
|
|
315
315
|
try {
|
|
316
|
-
return ee(
|
|
316
|
+
return ee(h(b), r, o);
|
|
317
317
|
} catch {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var
|
|
323
|
+
var G = Object.prototype.hasOwnProperty, Oe = {}, we = A.ReactDebugCurrentFrame;
|
|
324
324
|
function re(e) {
|
|
325
325
|
if (e) {
|
|
326
326
|
var r = e._owner, o = ee(e.type, e._source, r ? r.type : null);
|
|
327
|
-
|
|
327
|
+
we.setExtraStackFrame(o);
|
|
328
328
|
} else
|
|
329
|
-
|
|
329
|
+
we.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function nr(e, r, o, c, b) {
|
|
332
332
|
{
|
|
333
|
-
var
|
|
333
|
+
var h = Function.call.bind(G);
|
|
334
334
|
for (var m in e)
|
|
335
|
-
if (
|
|
335
|
+
if (h(e, m)) {
|
|
336
336
|
var y = void 0;
|
|
337
337
|
try {
|
|
338
338
|
if (typeof e[m] != "function") {
|
|
@@ -343,63 +343,63 @@ function Nr() {
|
|
|
343
343
|
} catch (R) {
|
|
344
344
|
y = R;
|
|
345
345
|
}
|
|
346
|
-
y && !(y instanceof Error) && (re(b), x("%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).", c || "React class", o, m, typeof y), re(null)), y instanceof Error && !(y.message in
|
|
346
|
+
y && !(y instanceof Error) && (re(b), x("%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).", c || "React class", o, m, typeof y), re(null)), y instanceof Error && !(y.message in Oe) && (Oe[y.message] = !0, re(b), x("Failed %s type: %s", o, y.message), re(null));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
var
|
|
350
|
+
var or = Array.isArray;
|
|
351
351
|
function ce(e) {
|
|
352
|
-
return
|
|
352
|
+
return or(e);
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function ar(e) {
|
|
355
355
|
{
|
|
356
356
|
var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
357
357
|
return o;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function ir(e) {
|
|
361
361
|
try {
|
|
362
|
-
return
|
|
362
|
+
return je(e), !1;
|
|
363
363
|
} catch {
|
|
364
364
|
return !0;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function je(e) {
|
|
368
368
|
return "" + e;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
if (
|
|
372
|
-
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
370
|
+
function Ae(e) {
|
|
371
|
+
if (ir(e))
|
|
372
|
+
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ar(e)), je(e);
|
|
373
373
|
}
|
|
374
|
-
var
|
|
374
|
+
var Fe = A.ReactCurrentOwner, sr = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
378
378
|
__source: !0
|
|
379
|
-
},
|
|
380
|
-
function
|
|
381
|
-
if (
|
|
379
|
+
}, Ie, Le;
|
|
380
|
+
function ur(e) {
|
|
381
|
+
if (G.call(e, "ref")) {
|
|
382
382
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
383
383
|
if (r && r.isReactWarning)
|
|
384
384
|
return !1;
|
|
385
385
|
}
|
|
386
386
|
return e.ref !== void 0;
|
|
387
387
|
}
|
|
388
|
-
function
|
|
389
|
-
if (
|
|
388
|
+
function cr(e) {
|
|
389
|
+
if (G.call(e, "key")) {
|
|
390
390
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
391
391
|
if (r && r.isReactWarning)
|
|
392
392
|
return !1;
|
|
393
393
|
}
|
|
394
394
|
return e.key !== void 0;
|
|
395
395
|
}
|
|
396
|
-
function cr(e, r) {
|
|
397
|
-
typeof e.ref == "string" && je.current;
|
|
398
|
-
}
|
|
399
396
|
function lr(e, r) {
|
|
397
|
+
typeof e.ref == "string" && Fe.current;
|
|
398
|
+
}
|
|
399
|
+
function fr(e, r) {
|
|
400
400
|
{
|
|
401
401
|
var o = function() {
|
|
402
|
-
|
|
402
|
+
Ie || (Ie = !0, x("%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));
|
|
403
403
|
};
|
|
404
404
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
405
405
|
get: o,
|
|
@@ -407,10 +407,10 @@ function Nr() {
|
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function dr(e, r) {
|
|
411
411
|
{
|
|
412
412
|
var o = function() {
|
|
413
|
-
|
|
413
|
+
Le || (Le = !0, x("%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));
|
|
414
414
|
};
|
|
415
415
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
416
416
|
get: o,
|
|
@@ -418,17 +418,17 @@ function Nr() {
|
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
var
|
|
421
|
+
var pr = function(e, r, o, c, b, h, m) {
|
|
422
422
|
var y = {
|
|
423
423
|
// This tag allows us to uniquely identify this as a React Element
|
|
424
|
-
$$typeof:
|
|
424
|
+
$$typeof: n,
|
|
425
425
|
// Built-in properties that belong on the element
|
|
426
426
|
type: e,
|
|
427
427
|
key: r,
|
|
428
428
|
ref: o,
|
|
429
429
|
props: m,
|
|
430
430
|
// Record the component responsible for creating this element.
|
|
431
|
-
_owner:
|
|
431
|
+
_owner: h
|
|
432
432
|
};
|
|
433
433
|
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
434
434
|
configurable: !1,
|
|
@@ -447,41 +447,41 @@ function Nr() {
|
|
|
447
447
|
value: b
|
|
448
448
|
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
449
449
|
};
|
|
450
|
-
function
|
|
450
|
+
function vr(e, r, o, c, b) {
|
|
451
451
|
{
|
|
452
|
-
var
|
|
453
|
-
o !== void 0 && (
|
|
454
|
-
for (
|
|
455
|
-
|
|
452
|
+
var h, m = {}, y = null, k = null;
|
|
453
|
+
o !== void 0 && (Ae(o), y = "" + o), cr(r) && (Ae(r.key), y = "" + r.key), ur(r) && (k = r.ref, lr(r, b));
|
|
454
|
+
for (h in r)
|
|
455
|
+
G.call(r, h) && !sr.hasOwnProperty(h) && (m[h] = r[h]);
|
|
456
456
|
if (e && e.defaultProps) {
|
|
457
457
|
var R = e.defaultProps;
|
|
458
|
-
for (
|
|
459
|
-
m[
|
|
458
|
+
for (h in R)
|
|
459
|
+
m[h] === void 0 && (m[h] = R[h]);
|
|
460
460
|
}
|
|
461
461
|
if (y || k) {
|
|
462
462
|
var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
463
|
-
y &&
|
|
463
|
+
y && fr(m, _), k && dr(m, _);
|
|
464
464
|
}
|
|
465
|
-
return
|
|
465
|
+
return pr(e, y, k, b, c, Fe.current, m);
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
|
-
var le =
|
|
469
|
-
function
|
|
468
|
+
var le = A.ReactCurrentOwner, De = A.ReactDebugCurrentFrame;
|
|
469
|
+
function $(e) {
|
|
470
470
|
if (e) {
|
|
471
471
|
var r = e._owner, o = ee(e.type, e._source, r ? r.type : null);
|
|
472
|
-
|
|
472
|
+
De.setExtraStackFrame(o);
|
|
473
473
|
} else
|
|
474
|
-
|
|
474
|
+
De.setExtraStackFrame(null);
|
|
475
475
|
}
|
|
476
476
|
var fe;
|
|
477
477
|
fe = !1;
|
|
478
478
|
function de(e) {
|
|
479
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
479
|
+
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
480
480
|
}
|
|
481
|
-
function
|
|
481
|
+
function Me() {
|
|
482
482
|
{
|
|
483
483
|
if (le.current) {
|
|
484
|
-
var e =
|
|
484
|
+
var e = I(le.current.type);
|
|
485
485
|
if (e)
|
|
486
486
|
return `
|
|
487
487
|
|
|
@@ -490,13 +490,13 @@ Check the render method of \`` + e + "`.";
|
|
|
490
490
|
return "";
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function yr(e) {
|
|
494
494
|
return "";
|
|
495
495
|
}
|
|
496
|
-
var
|
|
497
|
-
function
|
|
496
|
+
var Ne = {};
|
|
497
|
+
function gr(e) {
|
|
498
498
|
{
|
|
499
|
-
var r =
|
|
499
|
+
var r = Me();
|
|
500
500
|
if (!r) {
|
|
501
501
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
502
502
|
o && (r = `
|
|
@@ -506,39 +506,39 @@ Check the top-level render call using <` + o + ">.");
|
|
|
506
506
|
return r;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function $e(e, r) {
|
|
510
510
|
{
|
|
511
511
|
if (!e._store || e._store.validated || e.key != null)
|
|
512
512
|
return;
|
|
513
513
|
e._store.validated = !0;
|
|
514
|
-
var o =
|
|
515
|
-
if (
|
|
514
|
+
var o = gr(r);
|
|
515
|
+
if (Ne[o])
|
|
516
516
|
return;
|
|
517
|
-
|
|
517
|
+
Ne[o] = !0;
|
|
518
518
|
var c = "";
|
|
519
|
-
e && e._owner && e._owner !== le.current && (c = " It was passed a child from " +
|
|
519
|
+
e && e._owner && e._owner !== le.current && (c = " It was passed a child from " + I(e._owner.type) + "."), $(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, c), $(null);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function We(e, r) {
|
|
523
523
|
{
|
|
524
524
|
if (typeof e != "object")
|
|
525
525
|
return;
|
|
526
526
|
if (ce(e))
|
|
527
527
|
for (var o = 0; o < e.length; o++) {
|
|
528
528
|
var c = e[o];
|
|
529
|
-
de(c) &&
|
|
529
|
+
de(c) && $e(c, r);
|
|
530
530
|
}
|
|
531
531
|
else if (de(e))
|
|
532
532
|
e._store && (e._store.validated = !0);
|
|
533
533
|
else if (e) {
|
|
534
534
|
var b = ae(e);
|
|
535
535
|
if (typeof b == "function" && b !== e.entries)
|
|
536
|
-
for (var
|
|
537
|
-
de(m.value) &&
|
|
536
|
+
for (var h = b.call(e), m; !(m = h.next()).done; )
|
|
537
|
+
de(m.value) && $e(m.value, r);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function mr(e) {
|
|
542
542
|
{
|
|
543
543
|
var r = e.type;
|
|
544
544
|
if (r == null || typeof r == "string")
|
|
@@ -548,46 +548,46 @@ Check the top-level render call using <` + o + ">.");
|
|
|
548
548
|
o = r.propTypes;
|
|
549
549
|
else if (typeof r == "object" && (r.$$typeof === u || // Note: Memo only checks outer props here.
|
|
550
550
|
// Inner props are checked in the reconciler.
|
|
551
|
-
r.$$typeof ===
|
|
551
|
+
r.$$typeof === p))
|
|
552
552
|
o = r.propTypes;
|
|
553
553
|
else
|
|
554
554
|
return;
|
|
555
555
|
if (o) {
|
|
556
|
-
var c =
|
|
557
|
-
|
|
556
|
+
var c = I(r);
|
|
557
|
+
nr(o, e.props, "prop", c, e);
|
|
558
558
|
} else if (r.PropTypes !== void 0 && !fe) {
|
|
559
559
|
fe = !0;
|
|
560
|
-
var b =
|
|
560
|
+
var b = I(r);
|
|
561
561
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
562
562
|
}
|
|
563
563
|
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function br(e) {
|
|
567
567
|
{
|
|
568
568
|
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
569
569
|
var c = r[o];
|
|
570
570
|
if (c !== "children" && c !== "key") {
|
|
571
|
-
|
|
571
|
+
$(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), $(null);
|
|
572
572
|
break;
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
e.ref !== null && (
|
|
575
|
+
e.ref !== null && ($(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
var
|
|
579
|
-
function
|
|
578
|
+
var Ye = {};
|
|
579
|
+
function Ue(e, r, o, c, b, h) {
|
|
580
580
|
{
|
|
581
|
-
var m =
|
|
581
|
+
var m = N(e);
|
|
582
582
|
if (!m) {
|
|
583
583
|
var y = "";
|
|
584
584
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
585
|
-
var k =
|
|
586
|
-
k ? y += k : y +=
|
|
585
|
+
var k = yr();
|
|
586
|
+
k ? y += k : y += Me();
|
|
587
587
|
var R;
|
|
588
|
-
e === null ? R = "null" : ce(e) ? R = "array" : e !== void 0 && e.$$typeof ===
|
|
588
|
+
e === null ? R = "null" : ce(e) ? R = "array" : e !== void 0 && e.$$typeof === n ? (R = "<" + (I(e.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, y);
|
|
589
589
|
}
|
|
590
|
-
var _ =
|
|
590
|
+
var _ = vr(e, r, o, b, h);
|
|
591
591
|
if (_ == null)
|
|
592
592
|
return _;
|
|
593
593
|
if (m) {
|
|
@@ -595,131 +595,141 @@ Check the top-level render call using <` + o + ">.");
|
|
|
595
595
|
if (O !== void 0)
|
|
596
596
|
if (c)
|
|
597
597
|
if (ce(O)) {
|
|
598
|
-
for (var
|
|
599
|
-
|
|
598
|
+
for (var W = 0; W < O.length; W++)
|
|
599
|
+
We(O[W], e);
|
|
600
600
|
Object.freeze && Object.freeze(O);
|
|
601
601
|
} else
|
|
602
602
|
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
603
603
|
else
|
|
604
|
-
|
|
604
|
+
We(O, e);
|
|
605
605
|
}
|
|
606
|
-
if (
|
|
607
|
-
var
|
|
608
|
-
return
|
|
606
|
+
if (G.call(r, "key")) {
|
|
607
|
+
var D = I(e), S = Object.keys(r).filter(function(xr) {
|
|
608
|
+
return xr !== "key";
|
|
609
609
|
}), pe = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
610
|
-
if (
|
|
611
|
-
var
|
|
610
|
+
if (!Ye[D + pe]) {
|
|
611
|
+
var Cr = S.length > 0 ? "{" + S.join(": ..., ") + ": ...}" : "{}";
|
|
612
612
|
x(`A props object containing a "key" prop is being spread into JSX:
|
|
613
613
|
let props = %s;
|
|
614
614
|
<%s {...props} />
|
|
615
615
|
React keys must be passed directly to JSX without using spread:
|
|
616
616
|
let props = %s;
|
|
617
|
-
<%s key={someKey} {...props} />`, pe,
|
|
617
|
+
<%s key={someKey} {...props} />`, pe, D, Cr, D), Ye[D + pe] = !0;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
return e === s ?
|
|
620
|
+
return e === s ? br(_) : mr(_), _;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
function br(e, r, o) {
|
|
624
|
-
return We(e, r, o, !0);
|
|
625
|
-
}
|
|
626
623
|
function Er(e, r, o) {
|
|
627
|
-
return
|
|
624
|
+
return Ue(e, r, o, !0);
|
|
628
625
|
}
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
626
|
+
function hr(e, r, o) {
|
|
627
|
+
return Ue(e, r, o, !1);
|
|
628
|
+
}
|
|
629
|
+
var Rr = hr, _r = Er;
|
|
630
|
+
K.Fragment = s, K.jsx = Rr, K.jsxs = _r;
|
|
631
|
+
}()), K;
|
|
632
632
|
}
|
|
633
|
-
var
|
|
634
|
-
function
|
|
635
|
-
return
|
|
633
|
+
var qe;
|
|
634
|
+
function Wr() {
|
|
635
|
+
return qe || (qe = 1, process.env.NODE_ENV === "production" ? te.exports = Nr() : te.exports = $r()), te.exports;
|
|
636
636
|
}
|
|
637
|
-
var
|
|
638
|
-
const
|
|
637
|
+
var U = Wr();
|
|
638
|
+
const Yr = Tr({
|
|
639
639
|
licenceMapbox: "",
|
|
640
640
|
licenseMuiX: ""
|
|
641
|
-
}), vt = ({ children:
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
}, [
|
|
641
|
+
}), vt = ({ children: t, licenseMuiX: n, licenceMapbox: a }) => {
|
|
642
|
+
F(() => {
|
|
643
|
+
n && Pr.setLicenseKey(n);
|
|
644
|
+
}, [n]);
|
|
645
645
|
const s = ye(
|
|
646
646
|
() => ({
|
|
647
647
|
licenceMapbox: a,
|
|
648
|
-
licenseMuiX:
|
|
648
|
+
licenseMuiX: n
|
|
649
649
|
}),
|
|
650
|
-
[
|
|
650
|
+
[n, a]
|
|
651
651
|
);
|
|
652
|
-
return a && (me.accessToken = a), /* @__PURE__ */
|
|
653
|
-
},
|
|
654
|
-
map:
|
|
655
|
-
disableFlyTo:
|
|
652
|
+
return a && (me.accessToken = a), /* @__PURE__ */ U.jsx(Yr.Provider, { value: s, children: t });
|
|
653
|
+
}, Ke = (t) => Array.isArray(t) ? t.length >= 2 ? [t[0], t[1]] : void 0 : t, Ur = ({
|
|
654
|
+
map: t,
|
|
655
|
+
disableFlyTo: n,
|
|
656
656
|
disableAnimation: a,
|
|
657
657
|
flyToDuration: s,
|
|
658
658
|
zoom: i,
|
|
659
659
|
fitBounds: v,
|
|
660
660
|
markers: g,
|
|
661
|
-
fitBoundDuration:
|
|
661
|
+
fitBoundDuration: f,
|
|
662
662
|
fitBoundsPadding: u,
|
|
663
|
-
isMapInitialized:
|
|
663
|
+
isMapInitialized: d,
|
|
664
|
+
center: l
|
|
664
665
|
}) => {
|
|
665
|
-
const
|
|
666
|
-
|
|
667
|
-
if (!
|
|
666
|
+
const p = ne(!1), E = Dr(g, 150);
|
|
667
|
+
F(() => {
|
|
668
|
+
if (!t.current || !d || a)
|
|
669
|
+
return;
|
|
670
|
+
if (!n && !p.current && (t.current.flyTo({
|
|
668
671
|
duration: s,
|
|
669
672
|
zoom: i
|
|
670
|
-
}),
|
|
673
|
+
}), p.current = !0), !v || !(E != null && E.length) || E.length < 2) {
|
|
674
|
+
const j = Ke(l) || {
|
|
675
|
+
lat: Ee,
|
|
676
|
+
lng: be
|
|
677
|
+
};
|
|
678
|
+
t.current.setCenter(j);
|
|
671
679
|
return;
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
680
|
+
}
|
|
681
|
+
const C = new Or();
|
|
682
|
+
E.forEach((j) => {
|
|
683
|
+
C.extend([Number(j.lng), Number(j.lat)]);
|
|
684
|
+
}), t.current.fitBounds(C, {
|
|
685
|
+
duration: f,
|
|
677
686
|
padding: u
|
|
678
687
|
});
|
|
679
688
|
}, [
|
|
680
|
-
|
|
689
|
+
E,
|
|
681
690
|
v,
|
|
682
691
|
u,
|
|
683
692
|
s,
|
|
684
693
|
i,
|
|
685
|
-
|
|
686
|
-
t,
|
|
694
|
+
f,
|
|
687
695
|
n,
|
|
688
|
-
|
|
689
|
-
|
|
696
|
+
t,
|
|
697
|
+
d,
|
|
698
|
+
a,
|
|
699
|
+
l
|
|
690
700
|
]);
|
|
691
701
|
};
|
|
692
|
-
var
|
|
693
|
-
function
|
|
694
|
-
if (
|
|
695
|
-
|
|
696
|
-
var
|
|
702
|
+
var Y = {}, Ge;
|
|
703
|
+
function zr() {
|
|
704
|
+
if (Ge) return Y;
|
|
705
|
+
Ge = 1;
|
|
706
|
+
var t = Mr;
|
|
697
707
|
if (process.env.NODE_ENV === "production")
|
|
698
|
-
|
|
708
|
+
Y.createRoot = t.createRoot, Y.hydrateRoot = t.hydrateRoot;
|
|
699
709
|
else {
|
|
700
|
-
var
|
|
701
|
-
|
|
702
|
-
|
|
710
|
+
var n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
711
|
+
Y.createRoot = function(a, s) {
|
|
712
|
+
n.usingClientEntryPoint = !0;
|
|
703
713
|
try {
|
|
704
|
-
return
|
|
714
|
+
return t.createRoot(a, s);
|
|
705
715
|
} finally {
|
|
706
|
-
|
|
716
|
+
n.usingClientEntryPoint = !1;
|
|
707
717
|
}
|
|
708
|
-
},
|
|
709
|
-
|
|
718
|
+
}, Y.hydrateRoot = function(a, s, i) {
|
|
719
|
+
n.usingClientEntryPoint = !0;
|
|
710
720
|
try {
|
|
711
|
-
return
|
|
721
|
+
return t.hydrateRoot(a, s, i);
|
|
712
722
|
} finally {
|
|
713
|
-
|
|
723
|
+
n.usingClientEntryPoint = !1;
|
|
714
724
|
}
|
|
715
725
|
};
|
|
716
726
|
}
|
|
717
|
-
return
|
|
727
|
+
return Y;
|
|
718
728
|
}
|
|
719
|
-
var
|
|
720
|
-
const
|
|
721
|
-
const a =
|
|
722
|
-
switch (
|
|
729
|
+
var He = zr();
|
|
730
|
+
const Br = ({ palette: t, type: n }) => {
|
|
731
|
+
const a = t.mode === "dark" ? "black" : "white", s = t.secondary.main, i = t.info.main;
|
|
732
|
+
switch (n) {
|
|
723
733
|
case "dropOff":
|
|
724
734
|
return {
|
|
725
735
|
"circle-color": a,
|
|
@@ -735,7 +745,7 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
735
745
|
"circle-stroke-width": 8
|
|
736
746
|
};
|
|
737
747
|
}
|
|
738
|
-
},
|
|
748
|
+
}, Vr = (t, n, a, s) => {
|
|
739
749
|
const i = {
|
|
740
750
|
features: a.map((u) => ({
|
|
741
751
|
geometry: {
|
|
@@ -749,207 +759,207 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
749
759
|
type: "Feature"
|
|
750
760
|
})),
|
|
751
761
|
type: "FeatureCollection"
|
|
752
|
-
}, v =
|
|
753
|
-
v ? v.setData(i) :
|
|
762
|
+
}, v = t.getSource(n);
|
|
763
|
+
v ? v.setData(i) : t.addSource(n, {
|
|
754
764
|
data: i,
|
|
755
765
|
type: "geojson"
|
|
756
766
|
});
|
|
757
|
-
const g = [...i.features].sort((u,
|
|
758
|
-
var
|
|
759
|
-
const l = ((
|
|
760
|
-
return l -
|
|
761
|
-
}),
|
|
762
|
-
|
|
763
|
-
u.id.startsWith("marker-") &&
|
|
767
|
+
const g = [...i.features].sort((u, d) => {
|
|
768
|
+
var E, C;
|
|
769
|
+
const l = ((E = u.properties) == null ? void 0 : E.zIndex) || 0, p = ((C = d.properties) == null ? void 0 : C.zIndex) || 0;
|
|
770
|
+
return l - p;
|
|
771
|
+
}), f = t.getStyle().layers;
|
|
772
|
+
f == null || f.forEach((u) => {
|
|
773
|
+
u.id.startsWith("marker-") && t.getLayer(u.id) && t.removeLayer(u.id);
|
|
764
774
|
}), g.forEach((u) => {
|
|
765
|
-
const { description:
|
|
766
|
-
|
|
775
|
+
const { description: d, id: l } = u.properties || {}, p = Br({ palette: s, type: d }), E = `marker-${l}`;
|
|
776
|
+
t.addLayer({
|
|
767
777
|
filter: ["==", "id", l],
|
|
768
|
-
id:
|
|
778
|
+
id: E,
|
|
769
779
|
layout: {
|
|
770
780
|
visibility: "visible"
|
|
771
781
|
},
|
|
772
|
-
paint:
|
|
773
|
-
source:
|
|
782
|
+
paint: p,
|
|
783
|
+
source: n,
|
|
774
784
|
type: "circle"
|
|
775
785
|
});
|
|
776
786
|
});
|
|
777
|
-
},
|
|
778
|
-
document.querySelectorAll(".react-custom-marker").forEach((i) => i.remove()), [...
|
|
779
|
-
var u,
|
|
780
|
-
const g = ((u = i.properties) == null ? void 0 : u.zIndex) || 0,
|
|
781
|
-
return g -
|
|
787
|
+
}, qr = (t, n) => {
|
|
788
|
+
document.querySelectorAll(".react-custom-marker").forEach((i) => i.remove()), [...n].sort((i, v) => {
|
|
789
|
+
var u, d;
|
|
790
|
+
const g = ((u = i.properties) == null ? void 0 : u.zIndex) || 0, f = ((d = v.properties) == null ? void 0 : d.zIndex) || 0;
|
|
791
|
+
return g - f;
|
|
782
792
|
}).forEach((i) => {
|
|
783
|
-
const { IconComponent: v, iconProps: g, onClick:
|
|
784
|
-
if (v &&
|
|
793
|
+
const { IconComponent: v, iconProps: g, onClick: f, zIndex: u } = i.properties || {}, { coordinates: d } = i.geometry;
|
|
794
|
+
if (v && d.length >= 2) {
|
|
785
795
|
const l = document.createElement("div");
|
|
786
796
|
l.className = "react-custom-marker", l.style.position = "absolute", u !== void 0 && (l.style.zIndex = u.toString());
|
|
787
|
-
const
|
|
788
|
-
v &&
|
|
797
|
+
const p = document.createElement("div"), E = He.createRoot(p);
|
|
798
|
+
v && E.render(ge.createElement(v, g || {})), l.appendChild(p);
|
|
789
799
|
const C = () => {
|
|
790
|
-
|
|
800
|
+
f == null || f(i);
|
|
791
801
|
};
|
|
792
|
-
l.addEventListener("click", C), new
|
|
802
|
+
l.addEventListener("click", C), new wr(l).setLngLat([d[0], d[1]]).addTo(t);
|
|
793
803
|
}
|
|
794
804
|
});
|
|
795
|
-
},
|
|
796
|
-
features: (
|
|
805
|
+
}, Gr = (t) => ({
|
|
806
|
+
features: (t == null ? void 0 : t.map((n, a) => ({
|
|
797
807
|
geometry: {
|
|
798
808
|
coordinates: [
|
|
799
|
-
Number.isFinite(Number(
|
|
800
|
-
Number.isFinite(Number(
|
|
809
|
+
Number.isFinite(Number(n.lng)) ? Number(n.lng) : Number(be),
|
|
810
|
+
Number.isFinite(Number(n.lat)) ? Number(n.lat) : Number(Ee)
|
|
801
811
|
],
|
|
802
812
|
type: "Point"
|
|
803
813
|
},
|
|
804
814
|
properties: {
|
|
805
|
-
description:
|
|
806
|
-
IconComponent:
|
|
807
|
-
iconProps:
|
|
808
|
-
id:
|
|
809
|
-
name:
|
|
810
|
-
onClick:
|
|
811
|
-
size:
|
|
812
|
-
zIndex:
|
|
815
|
+
description: n.type,
|
|
816
|
+
IconComponent: n.IconComponent,
|
|
817
|
+
iconProps: n.iconProps,
|
|
818
|
+
id: n.id || `{marker-${a}}`,
|
|
819
|
+
name: n.name,
|
|
820
|
+
onClick: n.onClick,
|
|
821
|
+
size: n.size || 1,
|
|
822
|
+
zIndex: n.zIndex || 0
|
|
813
823
|
},
|
|
814
824
|
type: "Feature"
|
|
815
825
|
}))) || [],
|
|
816
826
|
type: "FeatureCollection"
|
|
817
|
-
}),
|
|
818
|
-
if (!
|
|
827
|
+
}), Jr = ({ map: t, palette: n, markers: a }) => {
|
|
828
|
+
if (!t.current)
|
|
819
829
|
return;
|
|
820
|
-
const s =
|
|
821
|
-
var
|
|
822
|
-
return ((
|
|
830
|
+
const s = Gr(a), i = s.features.filter((g) => {
|
|
831
|
+
var f;
|
|
832
|
+
return ((f = g.properties) == null ? void 0 : f.IconComponent) === void 0;
|
|
823
833
|
});
|
|
824
|
-
i.length &&
|
|
834
|
+
i.length && Vr(t.current, "markerProps", i, n);
|
|
825
835
|
const v = s.features.filter((g) => {
|
|
826
|
-
var
|
|
827
|
-
return (
|
|
836
|
+
var f;
|
|
837
|
+
return (f = g.properties) == null ? void 0 : f.IconComponent;
|
|
828
838
|
});
|
|
829
|
-
v.length &&
|
|
830
|
-
},
|
|
831
|
-
|
|
832
|
-
if (!
|
|
839
|
+
v.length && qr(t.current, v);
|
|
840
|
+
}, Kr = ({ map: t, markers: n, palette: a, isMapInitialized: s }) => {
|
|
841
|
+
F(() => {
|
|
842
|
+
if (!t.current || !n || !s)
|
|
833
843
|
return;
|
|
834
844
|
const i = () => {
|
|
835
|
-
|
|
845
|
+
Jr({ map: t, markers: n, palette: a });
|
|
836
846
|
};
|
|
837
|
-
|
|
838
|
-
}, [
|
|
839
|
-
},
|
|
840
|
-
|
|
841
|
-
if (!
|
|
847
|
+
t.current.loaded() ? i() : t.current.once("load", i);
|
|
848
|
+
}, [t, n, a, s]);
|
|
849
|
+
}, Hr = ({ map: t, onMapClick: n, isMapInitialized: a }) => {
|
|
850
|
+
F(() => {
|
|
851
|
+
if (!t.current || !n || !a)
|
|
842
852
|
return;
|
|
843
|
-
const s =
|
|
844
|
-
const g = [v.clientX - s.getBoundingClientRect().left, v.clientY - s.getBoundingClientRect().top],
|
|
845
|
-
|
|
853
|
+
const s = t.current.getCanvas(), i = (v) => {
|
|
854
|
+
const g = [v.clientX - s.getBoundingClientRect().left, v.clientY - s.getBoundingClientRect().top], f = t.current.unproject(g);
|
|
855
|
+
n(f.lng, f.lat);
|
|
846
856
|
};
|
|
847
857
|
s.addEventListener("click", i);
|
|
848
|
-
}, [a,
|
|
849
|
-
},
|
|
850
|
-
const
|
|
851
|
-
return
|
|
852
|
-
},
|
|
853
|
-
if (!a || !
|
|
858
|
+
}, [a, t, n]);
|
|
859
|
+
}, Xr = (t) => {
|
|
860
|
+
const n = document.createElement("button");
|
|
861
|
+
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 = "10px", n.style.cursor = "pointer", n.type = "button", n.setAttribute("aria-label", "Close popup"), n.removeAttribute("aria-hidden"), n.onclick = () => t.remove(), n;
|
|
862
|
+
}, Je = ({ map: t, tooltip: n, coordinates: a }) => {
|
|
863
|
+
if (!a || !n || !t.current || !Array.isArray(a) || a.length !== 2)
|
|
854
864
|
return null;
|
|
855
|
-
const s = document.createElement("div"), i = document.createElement("div"), v =
|
|
856
|
-
s.style.position = "relative", s.style.overflow = "hidden", s.style.zIndex = "1000", v.render(
|
|
857
|
-
const g = new
|
|
865
|
+
const s = document.createElement("div"), i = document.createElement("div"), v = He.createRoot(i);
|
|
866
|
+
s.style.position = "relative", s.style.overflow = "hidden", s.style.zIndex = "1000", v.render(n);
|
|
867
|
+
const g = new jr({
|
|
858
868
|
closeButton: !1
|
|
859
|
-
}).setLngLat(a).setDOMContent(s).addTo(
|
|
869
|
+
}).setLngLat(a).setDOMContent(s).addTo(t.current);
|
|
860
870
|
g.on("close", () => {
|
|
861
871
|
queueMicrotask(() => {
|
|
862
872
|
v.unmount();
|
|
863
873
|
});
|
|
864
874
|
});
|
|
865
|
-
const
|
|
866
|
-
return s.appendChild(
|
|
867
|
-
},
|
|
868
|
-
if (typeof
|
|
875
|
+
const f = Xr(g);
|
|
876
|
+
return s.appendChild(f), s.appendChild(i), g;
|
|
877
|
+
}, Xe = (t) => typeof t == "object" && t !== null && "type" in t && "coordinates" in t, Zr = (t) => {
|
|
878
|
+
if (typeof t != "object" || t === null || !("geometry" in t && "properties" in t))
|
|
869
879
|
return !1;
|
|
870
|
-
const { geometry: a } =
|
|
880
|
+
const { geometry: a } = t;
|
|
871
881
|
if (typeof a != "object" || a === null || !("coordinates" in a))
|
|
872
882
|
return !1;
|
|
873
883
|
const { coordinates: s } = a;
|
|
874
|
-
if (!Array.isArray(s) || s.length !== 2 || !
|
|
884
|
+
if (!Array.isArray(s) || s.length !== 2 || !Xe(a))
|
|
875
885
|
return !1;
|
|
876
|
-
const { properties: i } =
|
|
886
|
+
const { properties: i } = t;
|
|
877
887
|
return typeof i != "object" || i === null ? !1 : "id" in i && i.id !== void 0;
|
|
878
|
-
},
|
|
879
|
-
var i, v, g,
|
|
880
|
-
if (!((i =
|
|
888
|
+
}, Qr = ({ map: t, point: n }) => {
|
|
889
|
+
var i, v, g, f, u;
|
|
890
|
+
if (!((i = t.current) != null && i.isStyleLoaded()))
|
|
881
891
|
return null;
|
|
882
|
-
const a = ((
|
|
892
|
+
const a = ((f = (g = (v = t.current) == null ? void 0 : v.getStyle()) == null ? void 0 : g.layers) == null ? void 0 : f.filter((d) => d.id.startsWith("marker-")).map((d) => d.id)) || [], s = (u = t.current) == null ? void 0 : u.queryRenderedFeatures(n, { layers: a });
|
|
883
893
|
if (s && s.length > 0) {
|
|
884
|
-
const
|
|
885
|
-
if (!
|
|
894
|
+
const d = s[0];
|
|
895
|
+
if (!Zr(d) || !Xe(d.geometry))
|
|
886
896
|
return null;
|
|
887
|
-
const { geometry: l } =
|
|
888
|
-
return
|
|
897
|
+
const { geometry: l } = d, p = l.coordinates.slice();
|
|
898
|
+
return p.length !== 2 || typeof p[0] != "number" || typeof p[1] != "number" ? null : d;
|
|
889
899
|
}
|
|
890
|
-
},
|
|
900
|
+
}, et = ({ openPopup: t, map: n, markers: a, isMapInitialized: s }) => {
|
|
891
901
|
const i = ne(null);
|
|
892
|
-
|
|
893
|
-
if (!
|
|
902
|
+
F(() => {
|
|
903
|
+
if (!n.current || !a || !s)
|
|
894
904
|
return;
|
|
895
|
-
const g =
|
|
896
|
-
if (i.current && (i.current.remove(), i.current = null),
|
|
897
|
-
const u = a.find((
|
|
905
|
+
const g = n.current.getCanvas();
|
|
906
|
+
if (i.current && (i.current.remove(), i.current = null), t) {
|
|
907
|
+
const u = a.find((d) => d.id === t);
|
|
898
908
|
if (u) {
|
|
899
|
-
const
|
|
900
|
-
coordinates:
|
|
901
|
-
map:
|
|
909
|
+
const d = [Number(u.lng) || 0, Number(u.lat) || 0], l = Je({
|
|
910
|
+
coordinates: d,
|
|
911
|
+
map: n,
|
|
902
912
|
tooltip: u.Tooltip
|
|
903
913
|
});
|
|
904
914
|
l && (i.current = l);
|
|
905
915
|
}
|
|
906
916
|
}
|
|
907
|
-
const
|
|
908
|
-
const
|
|
917
|
+
const f = (u) => {
|
|
918
|
+
const d = [
|
|
909
919
|
u.clientX - g.getBoundingClientRect().left,
|
|
910
920
|
u.clientY - g.getBoundingClientRect().top
|
|
911
|
-
], l =
|
|
921
|
+
], l = Qr({ map: n, point: d });
|
|
912
922
|
if (l && l.properties && l.properties.id) {
|
|
913
923
|
i.current && (i.current.remove(), i.current = null);
|
|
914
|
-
const
|
|
915
|
-
if (
|
|
916
|
-
const
|
|
917
|
-
if (typeof
|
|
924
|
+
const p = a.find((E) => E.id === l.properties.id);
|
|
925
|
+
if (p) {
|
|
926
|
+
const E = [Number(p.lng) || 0, Number(p.lat) || 0];
|
|
927
|
+
if (typeof p.onClick == "function") {
|
|
918
928
|
const C = {
|
|
919
929
|
geometry: {
|
|
920
|
-
coordinates:
|
|
930
|
+
coordinates: E,
|
|
921
931
|
type: "Point"
|
|
922
932
|
},
|
|
923
933
|
properties: {
|
|
924
|
-
description:
|
|
925
|
-
id:
|
|
926
|
-
name:
|
|
927
|
-
onClick:
|
|
928
|
-
size:
|
|
929
|
-
zIndex:
|
|
934
|
+
description: p.name,
|
|
935
|
+
id: p.id,
|
|
936
|
+
name: p.name,
|
|
937
|
+
onClick: p.onClick,
|
|
938
|
+
size: p.size || 1,
|
|
939
|
+
zIndex: p.zIndex || 1
|
|
930
940
|
},
|
|
931
941
|
type: "Feature"
|
|
932
942
|
};
|
|
933
|
-
|
|
943
|
+
p.onClick(C);
|
|
934
944
|
}
|
|
935
945
|
requestAnimationFrame(() => {
|
|
936
|
-
const C =
|
|
937
|
-
coordinates:
|
|
938
|
-
map:
|
|
939
|
-
tooltip:
|
|
946
|
+
const C = Je({
|
|
947
|
+
coordinates: E,
|
|
948
|
+
map: n,
|
|
949
|
+
tooltip: p.Tooltip
|
|
940
950
|
});
|
|
941
951
|
C && (i.current = C);
|
|
942
952
|
});
|
|
943
953
|
}
|
|
944
954
|
}
|
|
945
955
|
};
|
|
946
|
-
return g.addEventListener("click",
|
|
947
|
-
g.removeEventListener("click",
|
|
956
|
+
return g.addEventListener("click", f), () => {
|
|
957
|
+
g.removeEventListener("click", f), i.current && (i.current.remove(), i.current = null);
|
|
948
958
|
};
|
|
949
|
-
}, [s,
|
|
950
|
-
},
|
|
951
|
-
const a =
|
|
952
|
-
switch (
|
|
959
|
+
}, [s, n, a, t]);
|
|
960
|
+
}, rt = (t, n) => {
|
|
961
|
+
const a = n === "dark";
|
|
962
|
+
switch (t) {
|
|
953
963
|
case "satellite":
|
|
954
964
|
return "mapbox://styles/mapbox/satellite-v9";
|
|
955
965
|
// No light/dark variants
|
|
@@ -962,8 +972,8 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
962
972
|
return a ? "mapbox://styles/mapbox/dark-v10" : "mapbox://styles/mapbox/streets-v11";
|
|
963
973
|
}
|
|
964
974
|
}, tt = ({
|
|
965
|
-
mapStyle:
|
|
966
|
-
zoomFlyFrom:
|
|
975
|
+
mapStyle: t,
|
|
976
|
+
zoomFlyFrom: n,
|
|
967
977
|
theme: a,
|
|
968
978
|
baseMapView: s,
|
|
969
979
|
doubleClickZoom: i,
|
|
@@ -972,87 +982,88 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
972
982
|
cooperativeGestures: v,
|
|
973
983
|
doubleClickZoom: i,
|
|
974
984
|
failIfMajorPerformanceCaveat: !1,
|
|
975
|
-
style:
|
|
976
|
-
zoom:
|
|
977
|
-
}), nt = (
|
|
978
|
-
markers:
|
|
979
|
-
loading:
|
|
985
|
+
style: t || rt(s, a),
|
|
986
|
+
zoom: n
|
|
987
|
+
}), nt = (t, n) => Number.isFinite(t) && Number.isFinite(n) && t >= -90 && t <= 90 && n >= -180 && n <= 180, be = 2.333, Ee = 46.8677, ot = ({
|
|
988
|
+
markers: t,
|
|
989
|
+
loading: n,
|
|
980
990
|
center: a,
|
|
981
991
|
disableAnimation: s,
|
|
982
992
|
openPopup: i,
|
|
983
993
|
onMapClick: v,
|
|
984
994
|
projection: g,
|
|
985
|
-
theme:
|
|
995
|
+
theme: f,
|
|
986
996
|
mapStyle: u,
|
|
987
|
-
baseMapView:
|
|
997
|
+
baseMapView: d = "default",
|
|
988
998
|
zoom: l = 6,
|
|
989
|
-
fitBoundsPadding:
|
|
990
|
-
zoomFlyFrom:
|
|
999
|
+
fitBoundsPadding: p = 50,
|
|
1000
|
+
zoomFlyFrom: E = 3,
|
|
991
1001
|
flyToDuration: C = 5e3,
|
|
992
|
-
fitBoundDuration:
|
|
1002
|
+
fitBoundDuration: j = 1e3,
|
|
993
1003
|
fitBounds: oe = !0,
|
|
994
1004
|
disableFlyTo: ae = !1,
|
|
995
|
-
cooperativeGestures:
|
|
1005
|
+
cooperativeGestures: A = !0,
|
|
996
1006
|
doubleClickZoom: x = !0
|
|
997
1007
|
}) => {
|
|
998
|
-
const [w, H] =
|
|
1008
|
+
const [w, H] = kr(!1), { palette: z } = Fr(), B = ne(""), T = ne(null), M = ye(() => t ? t.filter(
|
|
999
1009
|
(P) => P.lat !== void 0 && P.lng !== void 0 && nt(Number(P.lat), Number(P.lng))
|
|
1000
|
-
) : [], [
|
|
1010
|
+
) : [], [t]), V = ye(
|
|
1001
1011
|
() => tt({
|
|
1002
|
-
baseMapView:
|
|
1003
|
-
cooperativeGestures:
|
|
1012
|
+
baseMapView: d,
|
|
1013
|
+
cooperativeGestures: A,
|
|
1004
1014
|
doubleClickZoom: x,
|
|
1005
1015
|
mapStyle: u,
|
|
1006
|
-
theme:
|
|
1007
|
-
zoomFlyFrom:
|
|
1016
|
+
theme: f || z.mode,
|
|
1017
|
+
zoomFlyFrom: E
|
|
1008
1018
|
}),
|
|
1009
|
-
[
|
|
1010
|
-
),
|
|
1019
|
+
[d, A, x, u, z.mode, g, f, E]
|
|
1020
|
+
), N = ze(() => {
|
|
1011
1021
|
if (T.current) {
|
|
1012
|
-
const P =
|
|
1022
|
+
const P = B.current;
|
|
1013
1023
|
P && typeof P != "string" && (P.innerHTML = ""), T.current.remove(), T.current = null, H(!1);
|
|
1014
1024
|
}
|
|
1015
|
-
}, []), X =
|
|
1016
|
-
!me.supported() ||
|
|
1017
|
-
...
|
|
1018
|
-
container:
|
|
1025
|
+
}, []), X = ze(() => {
|
|
1026
|
+
!me.supported() || n || (N(), T.current = new Ar({
|
|
1027
|
+
...V,
|
|
1028
|
+
container: B.current
|
|
1019
1029
|
}), T.current.resize(), H(!0));
|
|
1020
|
-
}, [
|
|
1021
|
-
return
|
|
1030
|
+
}, [N, V, n]);
|
|
1031
|
+
return F(() => {
|
|
1022
1032
|
X();
|
|
1023
|
-
}, [X]),
|
|
1033
|
+
}, [X]), F(() => {
|
|
1024
1034
|
if (!T.current || !w)
|
|
1025
1035
|
return;
|
|
1026
|
-
const P =
|
|
1027
|
-
lat:
|
|
1028
|
-
lng:
|
|
1036
|
+
const P = Ke(a) || {
|
|
1037
|
+
lat: Ee,
|
|
1038
|
+
lng: be
|
|
1029
1039
|
};
|
|
1030
1040
|
T.current.setCenter(P);
|
|
1031
|
-
}, [a, w]),
|
|
1041
|
+
}, [a, w]), F(() => {
|
|
1032
1042
|
!T.current || !w || l === void 0 || Math.abs(T.current.getZoom() - l) > 0.1 && T.current.setZoom(l);
|
|
1033
|
-
}, [l, w]),
|
|
1043
|
+
}, [l, w]), Kr({ isMapInitialized: w, map: T, markers: M, palette: z }), et({ isMapInitialized: w, map: T, markers: M, openPopup: i }), Hr({ isMapInitialized: w, map: T, onMapClick: v }), Ur({
|
|
1044
|
+
center: a,
|
|
1034
1045
|
disableAnimation: s,
|
|
1035
1046
|
disableFlyTo: ae,
|
|
1036
|
-
fitBoundDuration:
|
|
1047
|
+
fitBoundDuration: j,
|
|
1037
1048
|
fitBounds: oe,
|
|
1038
|
-
fitBoundsPadding:
|
|
1049
|
+
fitBoundsPadding: p,
|
|
1039
1050
|
flyToDuration: C,
|
|
1040
1051
|
isMapInitialized: w,
|
|
1041
1052
|
map: T,
|
|
1042
|
-
markers:
|
|
1053
|
+
markers: M,
|
|
1043
1054
|
zoom: l
|
|
1044
|
-
}),
|
|
1045
|
-
containerRef:
|
|
1055
|
+
}), F(() => N, [N]), {
|
|
1056
|
+
containerRef: B,
|
|
1046
1057
|
isMapInitialized: w,
|
|
1047
|
-
loading:
|
|
1058
|
+
loading: n,
|
|
1048
1059
|
map: T,
|
|
1049
|
-
markers:
|
|
1060
|
+
markers: M
|
|
1050
1061
|
};
|
|
1051
|
-
}, at = ({ containerStyle:
|
|
1062
|
+
}, at = ({ containerStyle: t, square: n, height: a = 300, width: s = "100%", ...i }) => {
|
|
1052
1063
|
const { loading: v, containerRef: g } = ot(i);
|
|
1053
|
-
return /* @__PURE__ */
|
|
1054
|
-
/* @__PURE__ */
|
|
1055
|
-
|
|
1064
|
+
return /* @__PURE__ */ U.jsxs(ve, { sx: { height: a, position: "relative", width: s, ...t }, children: [
|
|
1065
|
+
/* @__PURE__ */ U.jsx(
|
|
1066
|
+
Ir,
|
|
1056
1067
|
{
|
|
1057
1068
|
styles: {
|
|
1058
1069
|
".mapboxgl-popup-content": {
|
|
@@ -1065,13 +1076,13 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
1065
1076
|
}
|
|
1066
1077
|
}
|
|
1067
1078
|
),
|
|
1068
|
-
me.supported() ? /* @__PURE__ */
|
|
1079
|
+
me.supported() ? /* @__PURE__ */ U.jsx(
|
|
1069
1080
|
ve,
|
|
1070
1081
|
{
|
|
1071
1082
|
ref: g,
|
|
1072
1083
|
sx: {
|
|
1073
1084
|
alignItems: "center",
|
|
1074
|
-
borderRadius:
|
|
1085
|
+
borderRadius: n ? 0 : 1,
|
|
1075
1086
|
display: v ? "none" : "block",
|
|
1076
1087
|
height: a,
|
|
1077
1088
|
justifyContent: "center",
|
|
@@ -1083,7 +1094,7 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
1083
1094
|
zIndex: 1
|
|
1084
1095
|
}
|
|
1085
1096
|
}
|
|
1086
|
-
) : /* @__PURE__ */
|
|
1097
|
+
) : /* @__PURE__ */ U.jsx(
|
|
1087
1098
|
ve,
|
|
1088
1099
|
{
|
|
1089
1100
|
sx: {
|
|
@@ -1096,12 +1107,12 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
1096
1107
|
children: "WebGL is not enabled in your browser. This technology is required to display the interactive map."
|
|
1097
1108
|
}
|
|
1098
1109
|
),
|
|
1099
|
-
v && /* @__PURE__ */
|
|
1100
|
-
|
|
1110
|
+
v && /* @__PURE__ */ U.jsx(
|
|
1111
|
+
Lr,
|
|
1101
1112
|
{
|
|
1102
1113
|
width: s,
|
|
1103
1114
|
height: a,
|
|
1104
|
-
variant:
|
|
1115
|
+
variant: n ? "rectangular" : "rounded",
|
|
1105
1116
|
sx: {
|
|
1106
1117
|
inset: 0,
|
|
1107
1118
|
position: "absolute",
|
|
@@ -1110,12 +1121,12 @@ const zr = ({ palette: n, type: t }) => {
|
|
|
1110
1121
|
}
|
|
1111
1122
|
)
|
|
1112
1123
|
] });
|
|
1113
|
-
}, yt =
|
|
1124
|
+
}, yt = Sr(at);
|
|
1114
1125
|
export {
|
|
1115
1126
|
pt as DEFAULT_CENTER_LAT,
|
|
1116
1127
|
dt as DEFAULT_CENTER_LNG,
|
|
1117
1128
|
vt as MapProvider,
|
|
1118
|
-
|
|
1129
|
+
Yr as MapProviderContext,
|
|
1119
1130
|
yt as MarkerMap,
|
|
1120
1131
|
nt as isValidLatLng
|
|
1121
1132
|
};
|