@tracktor/map 0.7.0 → 0.8.0

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