@tracktor/map 0.2.1 → 0.3.4

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