@tracktor/map 1.0.5 → 1.0.6
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/components/MarkerMap/useMarkerMap.d.ts +3 -3
- package/dist/hooks/useFitBounds.d.ts +2 -2
- package/dist/hooks/useMarkers.d.ts +2 -2
- package/dist/hooks/useOnMapClick.d.ts +2 -2
- package/dist/hooks/usePopups.d.ts +2 -2
- package/dist/main.d.ts +7 -8
- package/dist/main.js +204 -200
- package/dist/main.umd.cjs +40 -40
- package/dist/types/MarkerProps.d.ts +2 -2
- package/dist/utils/addPopup.d.ts +3 -3
- package/dist/utils/getFeature.d.ts +3 -3
- package/dist/utils/loadMarkers.d.ts +4 -4
- package/package.json +4 -3
package/dist/main.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom,.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-left,.mapboxgl-ctrl-right,.mapboxgl-ctrl-top,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top{left:50%;top:0;transform:translate(-50%)}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-right{right:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl-bottom{bottom:0;left:50%;transform:translate(-50%)}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-left{left:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl,.mapboxgl-ctrl-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-bottom .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl,.mapboxgl-ctrl-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:initial;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:initial}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:initial;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:initial;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid #0000;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:initial;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid #0000;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid #0000;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:#000000b3;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import Mg, {
|
|
3
|
-
import {
|
|
4
|
-
import Ug, { LngLatBounds as
|
|
5
|
-
import {
|
|
6
|
-
import { useDebounce as cT } from "@tracktor/react-utils";
|
|
2
|
+
import Mg, { useRef as lv, useEffect as $o, useState as WS, useMemo as Og, useCallback as Mb, memo as FS, createContext as IS } from "react";
|
|
3
|
+
import { useTheme as PS, Box as Rg, GlobalStyles as eT, Skeleton as tT } from "@tracktor/design-system";
|
|
4
|
+
import Ug, { LngLatBounds as lT, Marker as aT, Popup as nT, Map as uT } from "mapbox-gl";
|
|
5
|
+
import { useDebounce as iT } from "@tracktor/react-utils";
|
|
7
6
|
import jb from "react-dom";
|
|
8
|
-
|
|
7
|
+
import { LicenseInfo as cT } from "@mui/x-license";
|
|
9
8
|
var Pp = { exports: {} }, e0 = {};
|
|
10
9
|
/**
|
|
11
10
|
* @license React
|
|
@@ -16,10 +15,10 @@ var Pp = { exports: {} }, e0 = {};
|
|
|
16
15
|
* This source code is licensed under the MIT license found in the
|
|
17
16
|
* LICENSE file in the root directory of this source tree.
|
|
18
17
|
*/
|
|
19
|
-
var
|
|
18
|
+
var Ub;
|
|
20
19
|
function oT() {
|
|
21
|
-
if (
|
|
22
|
-
|
|
20
|
+
if (Ub) return e0;
|
|
21
|
+
Ub = 1;
|
|
23
22
|
var D = Symbol.for("react.transitional.element"), L = Symbol.for("react.fragment");
|
|
24
23
|
function W(R, K, ie) {
|
|
25
24
|
var de = null;
|
|
@@ -48,9 +47,9 @@ var t0 = {};
|
|
|
48
47
|
* This source code is licensed under the MIT license found in the
|
|
49
48
|
* LICENSE file in the root directory of this source tree.
|
|
50
49
|
*/
|
|
51
|
-
var
|
|
50
|
+
var xb;
|
|
52
51
|
function fT() {
|
|
53
|
-
return
|
|
52
|
+
return xb || (xb = 1, process.env.NODE_ENV !== "production" && function() {
|
|
54
53
|
function D(B) {
|
|
55
54
|
if (B == null) return null;
|
|
56
55
|
if (typeof B == "function")
|
|
@@ -67,7 +66,7 @@ function fT() {
|
|
|
67
66
|
return "Suspense";
|
|
68
67
|
case dt:
|
|
69
68
|
return "SuspenseList";
|
|
70
|
-
case
|
|
69
|
+
case ae:
|
|
71
70
|
return "Activity";
|
|
72
71
|
}
|
|
73
72
|
if (typeof B == "object")
|
|
@@ -189,7 +188,7 @@ function fT() {
|
|
|
189
188
|
value: Mu
|
|
190
189
|
}), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
|
|
191
190
|
}
|
|
192
|
-
function
|
|
191
|
+
function ne(B, le, $, he, Ne, ft, Xe, Mu) {
|
|
193
192
|
var Rt = le.children;
|
|
194
193
|
if (Rt !== void 0)
|
|
195
194
|
if (he)
|
|
@@ -242,7 +241,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
242
241
|
function fe(B) {
|
|
243
242
|
typeof B == "object" && B !== null && B.$$typeof === we && B._store && (B._store.validated = 1);
|
|
244
243
|
}
|
|
245
|
-
var re = Mg, we = Symbol.for("react.transitional.element"), at = Symbol.for("react.portal"), nl = Symbol.for("react.fragment"), Je = Symbol.for("react.strict_mode"), Pe = Symbol.for("react.profiler"), Dl = Symbol.for("react.consumer"), rt = Symbol.for("react.context"), qt = Symbol.for("react.forward_ref"), nt = Symbol.for("react.suspense"), dt = Symbol.for("react.suspense_list"), qe = Symbol.for("react.memo"), Nt = Symbol.for("react.lazy"),
|
|
244
|
+
var re = Mg, we = Symbol.for("react.transitional.element"), at = Symbol.for("react.portal"), nl = Symbol.for("react.fragment"), Je = Symbol.for("react.strict_mode"), Pe = Symbol.for("react.profiler"), Dl = Symbol.for("react.consumer"), rt = Symbol.for("react.context"), qt = Symbol.for("react.forward_ref"), nt = Symbol.for("react.suspense"), dt = Symbol.for("react.suspense_list"), qe = Symbol.for("react.memo"), Nt = Symbol.for("react.lazy"), ae = Symbol.for("react.activity"), ht = Symbol.for("react.client.reference"), ge = re.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Te = Object.prototype.hasOwnProperty, kt = Array.isArray, Ol = console.createTask ? console.createTask : function() {
|
|
246
245
|
return null;
|
|
247
246
|
};
|
|
248
247
|
re = {
|
|
@@ -256,7 +255,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
256
255
|
)(), J = Ol(R(ie)), se = {};
|
|
257
256
|
t0.Fragment = nl, t0.jsx = function(B, le, $, he, Ne) {
|
|
258
257
|
var ft = 1e4 > ge.recentlyCreatedOwnerStacks++;
|
|
259
|
-
return
|
|
258
|
+
return ne(
|
|
260
259
|
B,
|
|
261
260
|
le,
|
|
262
261
|
$,
|
|
@@ -268,7 +267,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
268
267
|
);
|
|
269
268
|
}, t0.jsxs = function(B, le, $, he, Ne) {
|
|
270
269
|
var ft = 1e4 > ge.recentlyCreatedOwnerStacks++;
|
|
271
|
-
return
|
|
270
|
+
return ne(
|
|
272
271
|
B,
|
|
273
272
|
le,
|
|
274
273
|
$,
|
|
@@ -281,27 +280,12 @@ React keys must be passed directly to JSX without using spread:
|
|
|
281
280
|
};
|
|
282
281
|
}()), t0;
|
|
283
282
|
}
|
|
284
|
-
var
|
|
283
|
+
var Cb;
|
|
285
284
|
function sT() {
|
|
286
|
-
return
|
|
285
|
+
return Cb || (Cb = 1, process.env.NODE_ENV === "production" ? Pp.exports = oT() : Pp.exports = fT()), Pp.exports;
|
|
287
286
|
}
|
|
288
287
|
var Gs = sT();
|
|
289
|
-
const rT =
|
|
290
|
-
licenceMapbox: "",
|
|
291
|
-
licenseMuiX: ""
|
|
292
|
-
}), wT = ({ children: D, licenseMuiX: L, licenceMapbox: W }) => {
|
|
293
|
-
$o(() => {
|
|
294
|
-
L && PS.setLicenseKey(L);
|
|
295
|
-
}, [L]);
|
|
296
|
-
const R = Og(
|
|
297
|
-
() => ({
|
|
298
|
-
licenceMapbox: W,
|
|
299
|
-
licenseMuiX: L
|
|
300
|
-
}),
|
|
301
|
-
[L, W]
|
|
302
|
-
);
|
|
303
|
-
return W && (Ug.accessToken = W), /* @__PURE__ */ Gs.jsx(rT.Provider, { value: R, children: D });
|
|
304
|
-
}, dT = (D) => typeof D == "string" || typeof D == "number" ? String(D) : JSON.stringify(D), hT = (D, L) => L && L?.length <= 1 ? 100 : D, yT = ({
|
|
288
|
+
const rT = (D) => typeof D == "string" || typeof D == "number" ? String(D) : JSON.stringify(D), dT = (D, L) => L && L?.length <= 1 ? 100 : D, hT = ({
|
|
305
289
|
map: D,
|
|
306
290
|
disableAnimation: L,
|
|
307
291
|
fitBounds: W,
|
|
@@ -313,23 +297,23 @@ const rT = WS({
|
|
|
313
297
|
}) => {
|
|
314
298
|
const Z = lv(void 0);
|
|
315
299
|
$o(() => {
|
|
316
|
-
if (!D.current
|
|
300
|
+
if (!(D.current && de) || L || W === !1 || !R?.length || R?.length <= 1)
|
|
317
301
|
return;
|
|
318
302
|
if (Oe !== void 0) {
|
|
319
|
-
const
|
|
320
|
-
if (Z.current ===
|
|
303
|
+
const ne = rT(Oe);
|
|
304
|
+
if (Z.current === ne)
|
|
321
305
|
return;
|
|
322
|
-
Z.current =
|
|
306
|
+
Z.current = ne;
|
|
323
307
|
}
|
|
324
|
-
const He = new
|
|
325
|
-
R.forEach((
|
|
326
|
-
He.extend([Number(
|
|
308
|
+
const He = new lT();
|
|
309
|
+
R.forEach((ne) => {
|
|
310
|
+
He.extend([Number(ne.lng), Number(ne.lat)]);
|
|
327
311
|
}), D.current?.fitBounds(He, {
|
|
328
|
-
duration:
|
|
312
|
+
duration: dT(K, R),
|
|
329
313
|
padding: ie
|
|
330
314
|
});
|
|
331
315
|
}, [R, L, K, W, Oe, ie, de, D]);
|
|
332
|
-
},
|
|
316
|
+
}, Hb = 2.333, Nb = 46.8677, yT = (D) => Array.isArray(D) ? D.length >= 2 ? [D[0], D[1]] : void 0 : D;
|
|
333
317
|
var ev = { exports: {} }, l0 = {}, tv = { exports: {} }, zg = {};
|
|
334
318
|
/**
|
|
335
319
|
* @license React
|
|
@@ -341,7 +325,7 @@ var ev = { exports: {} }, l0 = {}, tv = { exports: {} }, zg = {};
|
|
|
341
325
|
* LICENSE file in the root directory of this source tree.
|
|
342
326
|
*/
|
|
343
327
|
var Bb;
|
|
344
|
-
function
|
|
328
|
+
function mT() {
|
|
345
329
|
return Bb || (Bb = 1, function(D) {
|
|
346
330
|
function L(A, Q) {
|
|
347
331
|
var J = A.length;
|
|
@@ -387,7 +371,7 @@ function pT() {
|
|
|
387
371
|
return de.now() - Oe;
|
|
388
372
|
};
|
|
389
373
|
}
|
|
390
|
-
var Z = [], He = [],
|
|
374
|
+
var Z = [], He = [], ne = 1, fe = null, re = 3, we = !1, at = !1, nl = !1, Je = !1, Pe = typeof setTimeout == "function" ? setTimeout : null, Dl = typeof clearTimeout == "function" ? clearTimeout : null, rt = typeof setImmediate < "u" ? setImmediate : null;
|
|
391
375
|
function qt(A) {
|
|
392
376
|
for (var Q = W(He); Q !== null; ) {
|
|
393
377
|
if (Q.callback === null) R(He);
|
|
@@ -406,14 +390,14 @@ function pT() {
|
|
|
406
390
|
Q !== null && Vt(nt, Q.startTime - A);
|
|
407
391
|
}
|
|
408
392
|
}
|
|
409
|
-
var dt = !1, qe = -1, Nt = 5,
|
|
393
|
+
var dt = !1, qe = -1, Nt = 5, ae = -1;
|
|
410
394
|
function ht() {
|
|
411
|
-
return Je ? !0 : !(D.unstable_now() -
|
|
395
|
+
return Je ? !0 : !(D.unstable_now() - ae < Nt);
|
|
412
396
|
}
|
|
413
397
|
function ge() {
|
|
414
398
|
if (Je = !1, dt) {
|
|
415
399
|
var A = D.unstable_now();
|
|
416
|
-
|
|
400
|
+
ae = A;
|
|
417
401
|
var Q = !0;
|
|
418
402
|
try {
|
|
419
403
|
e: {
|
|
@@ -539,7 +523,7 @@ function pT() {
|
|
|
539
523
|
B = 5e3;
|
|
540
524
|
}
|
|
541
525
|
return B = J + B, A = {
|
|
542
|
-
id:
|
|
526
|
+
id: ne++,
|
|
543
527
|
callback: Q,
|
|
544
528
|
priorityLevel: A,
|
|
545
529
|
startTime: J,
|
|
@@ -571,11 +555,11 @@ var Dg = {};
|
|
|
571
555
|
* LICENSE file in the root directory of this source tree.
|
|
572
556
|
*/
|
|
573
557
|
var qb;
|
|
574
|
-
function
|
|
558
|
+
function pT() {
|
|
575
559
|
return qb || (qb = 1, function(D) {
|
|
576
560
|
process.env.NODE_ENV !== "production" && function() {
|
|
577
561
|
function L() {
|
|
578
|
-
if (nt = !1,
|
|
562
|
+
if (nt = !1, ae) {
|
|
579
563
|
var A = D.unstable_now();
|
|
580
564
|
Te = A;
|
|
581
565
|
var Q = !0;
|
|
@@ -616,7 +600,7 @@ function vT() {
|
|
|
616
600
|
Q = void 0;
|
|
617
601
|
}
|
|
618
602
|
} finally {
|
|
619
|
-
Q ? kt() :
|
|
603
|
+
Q ? kt() : ae = !1;
|
|
620
604
|
}
|
|
621
605
|
}
|
|
622
606
|
}
|
|
@@ -665,7 +649,7 @@ function vT() {
|
|
|
665
649
|
function Oe(A) {
|
|
666
650
|
if (qt = !1, de(A), !rt)
|
|
667
651
|
if (R(we) !== null)
|
|
668
|
-
rt = !0,
|
|
652
|
+
rt = !0, ae || (ae = !0, kt());
|
|
669
653
|
else {
|
|
670
654
|
var Q = R(at);
|
|
671
655
|
Q !== null && He(
|
|
@@ -683,9 +667,9 @@ function vT() {
|
|
|
683
667
|
}, Q);
|
|
684
668
|
}
|
|
685
669
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()), D.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
|
|
686
|
-
var
|
|
670
|
+
var ne = performance;
|
|
687
671
|
D.unstable_now = function() {
|
|
688
|
-
return
|
|
672
|
+
return ne.now();
|
|
689
673
|
};
|
|
690
674
|
} else {
|
|
691
675
|
var fe = Date, re = fe.now();
|
|
@@ -693,7 +677,7 @@ function vT() {
|
|
|
693
677
|
return fe.now() - re;
|
|
694
678
|
};
|
|
695
679
|
}
|
|
696
|
-
var we = [], at = [], nl = 1, Je = null, Pe = 3, Dl = !1, rt = !1, qt = !1, nt = !1, dt = typeof setTimeout == "function" ? setTimeout : null, qe = typeof clearTimeout == "function" ? clearTimeout : null, Nt = typeof setImmediate < "u" ? setImmediate : null,
|
|
680
|
+
var we = [], at = [], nl = 1, Je = null, Pe = 3, Dl = !1, rt = !1, qt = !1, nt = !1, dt = typeof setTimeout == "function" ? setTimeout : null, qe = typeof clearTimeout == "function" ? clearTimeout : null, Nt = typeof setImmediate < "u" ? setImmediate : null, ae = !1, ht = -1, ge = 5, Te = -1;
|
|
697
681
|
if (typeof Nt == "function")
|
|
698
682
|
var kt = function() {
|
|
699
683
|
Nt(L);
|
|
@@ -777,7 +761,7 @@ function vT() {
|
|
|
777
761
|
startTime: J,
|
|
778
762
|
expirationTime: B,
|
|
779
763
|
sortIndex: -1
|
|
780
|
-
}, J > se ? (A.sortIndex = J, W(at, A), R(we) === null && A === R(at) && (qt ? (qe(ht), ht = -1) : qt = !0, He(Oe, J - se))) : (A.sortIndex = B, W(we, A), rt || Dl || (rt = !0,
|
|
764
|
+
}, J > se ? (A.sortIndex = J, W(at, A), R(we) === null && A === R(at) && (qt ? (qe(ht), ht = -1) : qt = !0, He(Oe, J - se))) : (A.sortIndex = B, W(we, A), rt || Dl || (rt = !0, ae || (ae = !0, kt()))), A;
|
|
781
765
|
}, D.unstable_shouldYield = Z, D.unstable_wrapCallback = function(A) {
|
|
782
766
|
var Q = Pe;
|
|
783
767
|
return function() {
|
|
@@ -795,7 +779,7 @@ function vT() {
|
|
|
795
779
|
}
|
|
796
780
|
var Yb;
|
|
797
781
|
function Qb() {
|
|
798
|
-
return Yb || (Yb = 1, process.env.NODE_ENV === "production" ? tv.exports =
|
|
782
|
+
return Yb || (Yb = 1, process.env.NODE_ENV === "production" ? tv.exports = mT() : tv.exports = pT()), tv.exports;
|
|
799
783
|
}
|
|
800
784
|
/**
|
|
801
785
|
* @license React
|
|
@@ -807,7 +791,7 @@ function Qb() {
|
|
|
807
791
|
* LICENSE file in the root directory of this source tree.
|
|
808
792
|
*/
|
|
809
793
|
var _b;
|
|
810
|
-
function
|
|
794
|
+
function vT() {
|
|
811
795
|
if (_b) return l0;
|
|
812
796
|
_b = 1;
|
|
813
797
|
var D = Qb(), L = Mg, W = jb;
|
|
@@ -912,7 +896,7 @@ function gT() {
|
|
|
912
896
|
}
|
|
913
897
|
return null;
|
|
914
898
|
}
|
|
915
|
-
var
|
|
899
|
+
var ne = Object.assign, fe = Symbol.for("react.element"), re = Symbol.for("react.transitional.element"), we = Symbol.for("react.portal"), at = Symbol.for("react.fragment"), nl = Symbol.for("react.strict_mode"), Je = Symbol.for("react.profiler"), Pe = Symbol.for("react.provider"), Dl = Symbol.for("react.consumer"), rt = Symbol.for("react.context"), qt = Symbol.for("react.forward_ref"), nt = Symbol.for("react.suspense"), dt = Symbol.for("react.suspense_list"), qe = Symbol.for("react.memo"), Nt = Symbol.for("react.lazy"), ae = Symbol.for("react.activity"), ht = Symbol.for("react.memo_cache_sentinel"), ge = Symbol.iterator;
|
|
916
900
|
function Te(l) {
|
|
917
901
|
return l === null || typeof l != "object" ? null : (l = ge && l[ge] || l["@@iterator"], typeof l == "function" ? l : null);
|
|
918
902
|
}
|
|
@@ -933,7 +917,7 @@ function gT() {
|
|
|
933
917
|
return "Suspense";
|
|
934
918
|
case dt:
|
|
935
919
|
return "SuspenseList";
|
|
936
|
-
case
|
|
920
|
+
case ae:
|
|
937
921
|
return "Activity";
|
|
938
922
|
}
|
|
939
923
|
if (typeof l == "object")
|
|
@@ -1862,7 +1846,7 @@ Error generating stack: ` + u.message + `
|
|
|
1862
1846
|
l.hasOwnProperty(m) && (u = l[m], this[m] = u ? u(r) : r[m]);
|
|
1863
1847
|
return this.isDefaultPrevented = (r.defaultPrevented != null ? r.defaultPrevented : r.returnValue === !1) ? Ws : Fs, this.isPropagationStopped = Fs, this;
|
|
1864
1848
|
}
|
|
1865
|
-
return
|
|
1849
|
+
return ne(n.prototype, {
|
|
1866
1850
|
preventDefault: function() {
|
|
1867
1851
|
this.defaultPrevented = !0;
|
|
1868
1852
|
var u = this.nativeEvent;
|
|
@@ -1886,7 +1870,7 @@ Error generating stack: ` + u.message + `
|
|
|
1886
1870
|
},
|
|
1887
1871
|
defaultPrevented: 0,
|
|
1888
1872
|
isTrusted: 0
|
|
1889
|
-
}, Is = Cl(Yu), ff =
|
|
1873
|
+
}, Is = Cl(Yu), ff = ne({}, Yu, { view: 0, detail: 0 }), p0 = Cl(ff), Sh, Ps, sf, qi = ne({}, ff, {
|
|
1890
1874
|
screenX: 0,
|
|
1891
1875
|
screenY: 0,
|
|
1892
1876
|
clientX: 0,
|
|
@@ -1909,15 +1893,15 @@ Error generating stack: ` + u.message + `
|
|
|
1909
1893
|
movementY: function(l) {
|
|
1910
1894
|
return "movementY" in l ? l.movementY : Ps;
|
|
1911
1895
|
}
|
|
1912
|
-
}), Th = Cl(qi), v0 =
|
|
1896
|
+
}), Th = Cl(qi), v0 = ne({}, qi, { dataTransfer: 0 }), g0 = Cl(v0), fv = ne({}, ff, { relatedTarget: 0 }), Eh = Cl(fv), sv = ne({}, Yu, {
|
|
1913
1897
|
animationName: 0,
|
|
1914
1898
|
elapsedTime: 0,
|
|
1915
1899
|
pseudoElement: 0
|
|
1916
|
-
}), rv = Cl(sv), dv =
|
|
1900
|
+
}), rv = Cl(sv), dv = ne({}, Yu, {
|
|
1917
1901
|
clipboardData: function(l) {
|
|
1918
1902
|
return "clipboardData" in l ? l.clipboardData : window.clipboardData;
|
|
1919
1903
|
}
|
|
1920
|
-
}), rf = Cl(dv), b0 =
|
|
1904
|
+
}), rf = Cl(dv), b0 = ne({}, Yu, { data: 0 }), Ah = Cl(b0), S0 = {
|
|
1921
1905
|
Esc: "Escape",
|
|
1922
1906
|
Spacebar: " ",
|
|
1923
1907
|
Left: "ArrowLeft",
|
|
@@ -1980,7 +1964,7 @@ Error generating stack: ` + u.message + `
|
|
|
1980
1964
|
function eu() {
|
|
1981
1965
|
return E0;
|
|
1982
1966
|
}
|
|
1983
|
-
var Yi =
|
|
1967
|
+
var Yi = ne({}, ff, {
|
|
1984
1968
|
key: function(l) {
|
|
1985
1969
|
if (l.key) {
|
|
1986
1970
|
var n = S0[l.key] || l.key;
|
|
@@ -2006,7 +1990,7 @@ Error generating stack: ` + u.message + `
|
|
|
2006
1990
|
which: function(l) {
|
|
2007
1991
|
return l.type === "keypress" ? cl(l) : l.type === "keydown" || l.type === "keyup" ? l.keyCode : 0;
|
|
2008
1992
|
}
|
|
2009
|
-
}), Va = Cl(Yi), na =
|
|
1993
|
+
}), Va = Cl(Yi), na = ne({}, qi, {
|
|
2010
1994
|
pointerId: 0,
|
|
2011
1995
|
width: 0,
|
|
2012
1996
|
height: 0,
|
|
@@ -2017,7 +2001,7 @@ Error generating stack: ` + u.message + `
|
|
|
2017
2001
|
twist: 0,
|
|
2018
2002
|
pointerType: 0,
|
|
2019
2003
|
isPrimary: 0
|
|
2020
|
-
}), df = Cl(na), er =
|
|
2004
|
+
}), df = Cl(na), er = ne({}, ff, {
|
|
2021
2005
|
touches: 0,
|
|
2022
2006
|
targetTouches: 0,
|
|
2023
2007
|
changedTouches: 0,
|
|
@@ -2026,11 +2010,11 @@ Error generating stack: ` + u.message + `
|
|
|
2026
2010
|
ctrlKey: 0,
|
|
2027
2011
|
shiftKey: 0,
|
|
2028
2012
|
getModifierState: eu
|
|
2029
|
-
}), zh = Cl(er), Xl =
|
|
2013
|
+
}), zh = Cl(er), Xl = ne({}, Yu, {
|
|
2030
2014
|
propertyName: 0,
|
|
2031
2015
|
elapsedTime: 0,
|
|
2032
2016
|
pseudoElement: 0
|
|
2033
|
-
}), A0 = Cl(Xl), tr =
|
|
2017
|
+
}), A0 = Cl(Xl), tr = ne({}, qi, {
|
|
2034
2018
|
deltaX: function(l) {
|
|
2035
2019
|
return "deltaX" in l ? l.deltaX : "wheelDeltaX" in l ? -l.wheelDeltaX : 0;
|
|
2036
2020
|
},
|
|
@@ -2039,7 +2023,7 @@ Error generating stack: ` + u.message + `
|
|
|
2039
2023
|
},
|
|
2040
2024
|
deltaZ: 0,
|
|
2041
2025
|
deltaMode: 0
|
|
2042
|
-
}), _i = Cl(tr), Dh =
|
|
2026
|
+
}), _i = Cl(tr), Dh = ne({}, Yu, {
|
|
2043
2027
|
newState: 0,
|
|
2044
2028
|
oldState: 0
|
|
2045
2029
|
}), R0 = Cl(Dh), z0 = [9, 13, 27, 32], hf = un && "CompositionEvent" in window, yf = null;
|
|
@@ -2381,8 +2365,8 @@ Error generating stack: ` + u.message + `
|
|
|
2381
2365
|
) ? 26 : l === "html" || l === "head" || l === "body" ? 27 : 5;
|
|
2382
2366
|
else
|
|
2383
2367
|
e: switch (l) {
|
|
2384
|
-
case
|
|
2385
|
-
return l = Ql(31, u, n, s), l.elementType =
|
|
2368
|
+
case ae:
|
|
2369
|
+
return l = Ql(31, u, n, s), l.elementType = ae, l.lanes = r, l;
|
|
2386
2370
|
case at:
|
|
2387
2371
|
return Ea(u.children, s, r, n);
|
|
2388
2372
|
case nl:
|
|
@@ -2934,7 +2918,7 @@ Error generating stack: ` + u.message + `
|
|
|
2934
2918
|
ce.flags = ce.flags & -65537 | 128;
|
|
2935
2919
|
case 0:
|
|
2936
2920
|
if (ce = oe.payload, x = typeof ce == "function" ? ce.call($e, j, x) : ce, x == null) break e;
|
|
2937
|
-
j =
|
|
2921
|
+
j = ne({}, j, x);
|
|
2938
2922
|
break e;
|
|
2939
2923
|
case 2:
|
|
2940
2924
|
vn = !0;
|
|
@@ -4401,7 +4385,7 @@ Error generating stack: ` + u.message + `
|
|
|
4401
4385
|
return null;
|
|
4402
4386
|
}
|
|
4403
4387
|
function Pu(l, n, u, c) {
|
|
4404
|
-
n = l.memoizedState, u = u(c, n), u = u == null ? n :
|
|
4388
|
+
n = l.memoizedState, u = u(c, n), u = u == null ? n : ne({}, n, u), l.memoizedState = u, l.lanes === 0 && (l.updateQueue.baseState = u);
|
|
4405
4389
|
}
|
|
4406
4390
|
var jr = {
|
|
4407
4391
|
enqueueSetState: function(l, n, u) {
|
|
@@ -4434,7 +4418,7 @@ Error generating stack: ` + u.message + `
|
|
|
4434
4418
|
c !== "ref" && (u[c] = n[c]);
|
|
4435
4419
|
}
|
|
4436
4420
|
if (l = l.defaultProps) {
|
|
4437
|
-
u === n && (u =
|
|
4421
|
+
u === n && (u = ne({}, u));
|
|
4438
4422
|
for (var s in l)
|
|
4439
4423
|
u[s] === void 0 && (u[s] = l[s]);
|
|
4440
4424
|
}
|
|
@@ -9287,7 +9271,7 @@ Error generating stack: ` + u.message + `
|
|
|
9287
9271
|
case "script":
|
|
9288
9272
|
r = Ba(l);
|
|
9289
9273
|
}
|
|
9290
|
-
Ht.has(r) || (l =
|
|
9274
|
+
Ht.has(r) || (l = ne(
|
|
9291
9275
|
{
|
|
9292
9276
|
rel: "preload",
|
|
9293
9277
|
href: n === "image" && u && u.imageSrcSet ? void 0 : l,
|
|
@@ -9311,7 +9295,7 @@ Error generating stack: ` + u.message + `
|
|
|
9311
9295
|
case "script":
|
|
9312
9296
|
r = Ba(l);
|
|
9313
9297
|
}
|
|
9314
|
-
if (!Ht.has(r) && (l =
|
|
9298
|
+
if (!Ht.has(r) && (l = ne({ rel: "modulepreload", href: l }, n), Ht.set(r, l), u.querySelector(s) === null)) {
|
|
9315
9299
|
switch (c) {
|
|
9316
9300
|
case "audioworklet":
|
|
9317
9301
|
case "paintworklet":
|
|
@@ -9340,7 +9324,7 @@ Error generating stack: ` + u.message + `
|
|
|
9340
9324
|
))
|
|
9341
9325
|
m.loading = 5;
|
|
9342
9326
|
else {
|
|
9343
|
-
l =
|
|
9327
|
+
l = ne(
|
|
9344
9328
|
{ rel: "stylesheet", href: l, "data-precedence": n },
|
|
9345
9329
|
u
|
|
9346
9330
|
), (u = Ht.get(r)) && Dd(l, u);
|
|
@@ -9367,7 +9351,7 @@ Error generating stack: ` + u.message + `
|
|
|
9367
9351
|
var u = yl;
|
|
9368
9352
|
if (u && l) {
|
|
9369
9353
|
var c = Wn(u).hoistableScripts, s = Ba(l), r = c.get(s);
|
|
9370
|
-
r || (r = u.querySelector(mc(s)), r || (l =
|
|
9354
|
+
r || (r = u.querySelector(mc(s)), r || (l = ne({ src: l, async: !0 }, n), (n = Ht.get(s)) && Od(l, n), r = u.createElement("script"), jt(r), pe(r, "link", l), u.head.appendChild(r)), r = {
|
|
9371
9355
|
type: "script",
|
|
9372
9356
|
instance: r,
|
|
9373
9357
|
count: 1,
|
|
@@ -9380,7 +9364,7 @@ Error generating stack: ` + u.message + `
|
|
|
9380
9364
|
var u = yl;
|
|
9381
9365
|
if (u && l) {
|
|
9382
9366
|
var c = Wn(u).hoistableScripts, s = Ba(l), r = c.get(s);
|
|
9383
|
-
r || (r = u.querySelector(mc(s)), r || (l =
|
|
9367
|
+
r || (r = u.querySelector(mc(s)), r || (l = ne({ src: l, async: !0, type: "module" }, n), (n = Ht.get(s)) && Od(l, n), r = u.createElement("script"), jt(r), pe(r, "link", l), u.head.appendChild(r)), r = {
|
|
9384
9368
|
type: "script",
|
|
9385
9369
|
instance: r,
|
|
9386
9370
|
count: 1,
|
|
@@ -9458,7 +9442,7 @@ Error generating stack: ` + u.message + `
|
|
|
9458
9442
|
return 'link[rel="stylesheet"][' + l + "]";
|
|
9459
9443
|
}
|
|
9460
9444
|
function xo(l) {
|
|
9461
|
-
return
|
|
9445
|
+
return ne({}, l, {
|
|
9462
9446
|
"data-precedence": l.precedence,
|
|
9463
9447
|
precedence: null
|
|
9464
9448
|
});
|
|
@@ -9485,7 +9469,7 @@ Error generating stack: ` + u.message + `
|
|
|
9485
9469
|
);
|
|
9486
9470
|
if (c)
|
|
9487
9471
|
return n.instance = c, jt(c), c;
|
|
9488
|
-
var s =
|
|
9472
|
+
var s = ne({}, u, {
|
|
9489
9473
|
"data-href": u.href,
|
|
9490
9474
|
"data-precedence": u.precedence,
|
|
9491
9475
|
href: null,
|
|
@@ -9509,7 +9493,7 @@ Error generating stack: ` + u.message + `
|
|
|
9509
9493
|
case "script":
|
|
9510
9494
|
return r = Ba(u.src), (s = l.querySelector(
|
|
9511
9495
|
mc(r)
|
|
9512
|
-
)) ? (n.instance = s, jt(s), s) : (c = u, (s = Ht.get(r)) && (c =
|
|
9496
|
+
)) ? (n.instance = s, jt(s), s) : (c = u, (s = Ht.get(r)) && (c = ne({}, u), Od(c, s)), l = l.ownerDocument || l, s = l.createElement("script"), jt(s), pe(s, "link", c), l.head.appendChild(s), n.instance = s);
|
|
9513
9497
|
case "void":
|
|
9514
9498
|
return null;
|
|
9515
9499
|
default:
|
|
@@ -10209,7 +10193,7 @@ var a0 = {};
|
|
|
10209
10193
|
* LICENSE file in the root directory of this source tree.
|
|
10210
10194
|
*/
|
|
10211
10195
|
var Gb;
|
|
10212
|
-
function
|
|
10196
|
+
function gT() {
|
|
10213
10197
|
return Gb || (Gb = 1, process.env.NODE_ENV !== "production" && function() {
|
|
10214
10198
|
function D(e, t) {
|
|
10215
10199
|
for (e = e.memoizedState; e !== null && 0 < t; )
|
|
@@ -10266,7 +10250,7 @@ function bT() {
|
|
|
10266
10250
|
"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
|
|
10267
10251
|
);
|
|
10268
10252
|
}
|
|
10269
|
-
function
|
|
10253
|
+
function ne() {
|
|
10270
10254
|
}
|
|
10271
10255
|
function fe(e) {
|
|
10272
10256
|
var t = [];
|
|
@@ -10440,9 +10424,9 @@ function bT() {
|
|
|
10440
10424
|
return null;
|
|
10441
10425
|
}
|
|
10442
10426
|
function Nt(e) {
|
|
10443
|
-
return typeof e.tag == "number" ?
|
|
10427
|
+
return typeof e.tag == "number" ? ae(e) : typeof e.name == "string" ? e.name : null;
|
|
10444
10428
|
}
|
|
10445
|
-
function
|
|
10429
|
+
function ae(e) {
|
|
10446
10430
|
var t = e.type;
|
|
10447
10431
|
switch (e.tag) {
|
|
10448
10432
|
case 31:
|
|
@@ -10499,7 +10483,7 @@ function bT() {
|
|
|
10499
10483
|
if (typeof t[a].name == "string") return t[a].name;
|
|
10500
10484
|
}
|
|
10501
10485
|
if (e.return !== null)
|
|
10502
|
-
return
|
|
10486
|
+
return ae(e.return);
|
|
10503
10487
|
}
|
|
10504
10488
|
return null;
|
|
10505
10489
|
}
|
|
@@ -13446,7 +13430,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
13446
13430
|
var i = e.updateQueue;
|
|
13447
13431
|
if (i === null) return null;
|
|
13448
13432
|
if (i = i.shared, Xv === i && !a1) {
|
|
13449
|
-
var o =
|
|
13433
|
+
var o = ae(e);
|
|
13450
13434
|
console.error(
|
|
13451
13435
|
`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
13452
13436
|
|
|
@@ -13630,7 +13614,7 @@ Please update the following component: %s`,
|
|
|
13630
13614
|
function w() {
|
|
13631
13615
|
var e = q;
|
|
13632
13616
|
if (Zn !== null && (Rc++, Zn[Rc] !== e)) {
|
|
13633
|
-
var t =
|
|
13617
|
+
var t = ae(Se);
|
|
13634
13618
|
if (!n1.has(t) && (n1.add(t), Zn !== null)) {
|
|
13635
13619
|
for (var a = "", i = 0; i <= Rc; i++) {
|
|
13636
13620
|
var o = Zn[i], f = i === Rc ? e : o;
|
|
@@ -13660,7 +13644,7 @@ Please update the following component: %s`,
|
|
|
13660
13644
|
);
|
|
13661
13645
|
}
|
|
13662
13646
|
function Jc() {
|
|
13663
|
-
var e =
|
|
13647
|
+
var e = ae(Se);
|
|
13664
13648
|
i1.has(e) || (i1.add(e), console.error(
|
|
13665
13649
|
"ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",
|
|
13666
13650
|
e
|
|
@@ -13696,7 +13680,7 @@ Incoming: %s`,
|
|
|
13696
13680
|
return !0;
|
|
13697
13681
|
}
|
|
13698
13682
|
function Ju(e, t, a, i, o, f) {
|
|
13699
|
-
_o = f, Se = t, Zn = e !== null ? e._debugHookTypes : null, Rc = -1, Bm = e !== null && e.type !== t.type, (Object.prototype.toString.call(a) === "[object AsyncFunction]" || Object.prototype.toString.call(a) === "[object AsyncGeneratorFunction]") && (f =
|
|
13683
|
+
_o = f, Se = t, Zn = e !== null ? e._debugHookTypes : null, Rc = -1, Bm = e !== null && e.type !== t.type, (Object.prototype.toString.call(a) === "[object AsyncFunction]" || Object.prototype.toString.call(a) === "[object AsyncGeneratorFunction]") && (f = ae(Se), Qv.has(f) || (Qv.add(f), console.error(
|
|
13700
13684
|
"%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",
|
|
13701
13685
|
f === null ? "An unknown Component" : "<" + f + ">"
|
|
13702
13686
|
))), t.memoizedState = null, t.updateQueue = null, t.lanes = 0, N.H = e !== null && e.memoizedState !== null ? Zv : Zn !== null ? c1 : Lv, Ds = f = (t.mode & ea) !== bt;
|
|
@@ -13734,7 +13718,7 @@ Incoming: %s`,
|
|
|
13734
13718
|
throw Error(
|
|
13735
13719
|
"Rendered fewer hooks than expected. This may be caused by an accidental early return statement."
|
|
13736
13720
|
);
|
|
13737
|
-
e === null || Rl || (e = e.dependencies, e !== null && Xu(e) && (Rl = !0)), Dp ? (Dp = !1, e = !0) : e = !1, e && (t =
|
|
13721
|
+
e === null || Rl || (e = e.dependencies, e !== null && Xu(e) && (Rl = !0)), Dp ? (Dp = !1, e = !0) : e = !1, e && (t = ae(t) || "Unknown", u1.has(t) || Qv.has(t) || (u1.add(t), console.error(
|
|
13738
13722
|
"`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary."
|
|
13739
13723
|
)));
|
|
13740
13724
|
}
|
|
@@ -14494,7 +14478,7 @@ Incoming: %s`,
|
|
|
14494
14478
|
o,
|
|
14495
14479
|
t,
|
|
14496
14480
|
_s,
|
|
14497
|
-
a === null ?
|
|
14481
|
+
a === null ? ne : function() {
|
|
14498
14482
|
return $h(e), a(i);
|
|
14499
14483
|
}
|
|
14500
14484
|
);
|
|
@@ -14728,7 +14712,7 @@ Incoming: %s`,
|
|
|
14728
14712
|
));
|
|
14729
14713
|
}
|
|
14730
14714
|
function Fe(e, t) {
|
|
14731
|
-
var a =
|
|
14715
|
+
var a = ae(e) || "Component";
|
|
14732
14716
|
A1[a] || (A1[a] = !0, t = t.displayName || t.name || "Component", e.tag === 3 ? console.error(
|
|
14733
14717
|
`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
14734
14718
|
root.render(%s)`,
|
|
@@ -14746,7 +14730,7 @@ Incoming: %s`,
|
|
|
14746
14730
|
));
|
|
14747
14731
|
}
|
|
14748
14732
|
function Et(e, t) {
|
|
14749
|
-
var a =
|
|
14733
|
+
var a = ae(e) || "Component";
|
|
14750
14734
|
R1[a] || (R1[a] = !0, t = String(t), e.tag === 3 ? console.error(
|
|
14751
14735
|
`Symbols are not valid as a React child.
|
|
14752
14736
|
root.render(%s)`,
|
|
@@ -15369,7 +15353,7 @@ Incoming: %s`,
|
|
|
15369
15353
|
}
|
|
15370
15354
|
function Er(e, t, a, i) {
|
|
15371
15355
|
var o = t.state;
|
|
15372
|
-
typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(a, i), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(a, i), t.state !== o && (e =
|
|
15356
|
+
typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(a, i), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(a, i), t.state !== o && (e = ae(e) || "Component", O1.has(e) || (O1.add(e), console.error(
|
|
15373
15357
|
"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
|
|
15374
15358
|
e
|
|
15375
15359
|
)), kv.enqueueReplaceState(
|
|
@@ -15450,7 +15434,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
15450
15434
|
}
|
|
15451
15435
|
function ao(e, t) {
|
|
15452
15436
|
try {
|
|
15453
|
-
Wd = t.source ?
|
|
15437
|
+
Wd = t.source ? ae(t.source) : null, Wv = null;
|
|
15454
15438
|
var a = t.value;
|
|
15455
15439
|
if (N.actQueue !== null)
|
|
15456
15440
|
N.thrownErrors.push(a);
|
|
@@ -15466,7 +15450,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
15466
15450
|
}
|
|
15467
15451
|
function Rr(e, t, a) {
|
|
15468
15452
|
try {
|
|
15469
|
-
Wd = a.source ?
|
|
15453
|
+
Wd = a.source ? ae(a.source) : null, Wv = ae(t);
|
|
15470
15454
|
var i = e.onCaughtError;
|
|
15471
15455
|
i(a.value, {
|
|
15472
15456
|
componentStack: a.stack,
|
|
@@ -15512,7 +15496,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
15512
15496
|
i
|
|
15513
15497
|
), typeof o != "function" && (Qo === null ? Qo = /* @__PURE__ */ new Set([this]) : Qo.add(this)), RS(this, i), typeof o == "function" || (a.lanes & 2) === 0 && console.error(
|
|
15514
15498
|
"%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",
|
|
15515
|
-
|
|
15499
|
+
ae(a) || "Unknown"
|
|
15516
15500
|
);
|
|
15517
15501
|
});
|
|
15518
15502
|
}
|
|
@@ -15890,7 +15874,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
15890
15874
|
i
|
|
15891
15875
|
), f.state = t.memoizedState), typeof a.getDerivedStateFromProps == "function" || typeof f.getSnapshotBeforeUpdate == "function" || typeof f.UNSAFE_componentWillMount != "function" && typeof f.componentWillMount != "function" || (d = f.state, typeof f.componentWillMount == "function" && f.componentWillMount(), typeof f.UNSAFE_componentWillMount == "function" && f.UNSAFE_componentWillMount(), d !== f.state && (console.error(
|
|
15892
15876
|
"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
|
|
15893
|
-
|
|
15877
|
+
ae(t) || "Component"
|
|
15894
15878
|
), kv.enqueueReplaceState(
|
|
15895
15879
|
f,
|
|
15896
15880
|
f.state,
|
|
@@ -15982,7 +15966,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
15982
15966
|
);
|
|
15983
15967
|
return o = t.stateNode, f && o.props !== i && (Fd || console.error(
|
|
15984
15968
|
"It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",
|
|
15985
|
-
|
|
15969
|
+
ae(t) || "a component"
|
|
15986
15970
|
), Fd = !0), e;
|
|
15987
15971
|
}
|
|
15988
15972
|
function ly(e, t, a, i) {
|
|
@@ -17315,10 +17299,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
17315
17299
|
var a = e.stateNode;
|
|
17316
17300
|
e.type.defaultProps || "ref" in e.memoizedProps || Fd || (a.props !== e.memoizedProps && console.error(
|
|
17317
17301
|
"Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
17318
|
-
|
|
17302
|
+
ae(e) || "instance"
|
|
17319
17303
|
), a.state !== e.memoizedState && console.error(
|
|
17320
17304
|
"Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
|
|
17321
|
-
|
|
17305
|
+
ae(e) || "instance"
|
|
17322
17306
|
));
|
|
17323
17307
|
try {
|
|
17324
17308
|
P(
|
|
@@ -17339,10 +17323,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
17339
17323
|
var a = t.memoizedProps, i = t.memoizedState;
|
|
17340
17324
|
t = e.stateNode, e.type.defaultProps || "ref" in e.memoizedProps || Fd || (t.props !== e.memoizedProps && console.error(
|
|
17341
17325
|
"Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
17342
|
-
|
|
17326
|
+
ae(e) || "instance"
|
|
17343
17327
|
), t.state !== e.memoizedState && console.error(
|
|
17344
17328
|
"Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
|
|
17345
|
-
|
|
17329
|
+
ae(e) || "instance"
|
|
17346
17330
|
));
|
|
17347
17331
|
try {
|
|
17348
17332
|
var o = Fu(
|
|
@@ -17359,7 +17343,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
17359
17343
|
a = Z1, f !== void 0 || a.has(e.type) || (a.add(e.type), P(e, function() {
|
|
17360
17344
|
console.error(
|
|
17361
17345
|
"%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",
|
|
17362
|
-
|
|
17346
|
+
ae(e)
|
|
17363
17347
|
);
|
|
17364
17348
|
})), t.__reactInternalSnapshotBeforeUpdate = f;
|
|
17365
17349
|
} catch (d) {
|
|
@@ -17410,7 +17394,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
17410
17394
|
else
|
|
17411
17395
|
typeof t == "string" ? console.error("String refs are no longer supported.") : t.hasOwnProperty("current") || console.error(
|
|
17412
17396
|
"Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",
|
|
17413
|
-
|
|
17397
|
+
ae(e)
|
|
17414
17398
|
), t.current = a;
|
|
17415
17399
|
}
|
|
17416
17400
|
}
|
|
@@ -17698,10 +17682,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
17698
17682
|
if (e = a.stateNode, t === null)
|
|
17699
17683
|
a.type.defaultProps || "ref" in a.memoizedProps || Fd || (e.props !== a.memoizedProps && console.error(
|
|
17700
17684
|
"Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
17701
|
-
|
|
17685
|
+
ae(a) || "instance"
|
|
17702
17686
|
), e.state !== a.memoizedState && console.error(
|
|
17703
17687
|
"Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
|
|
17704
|
-
|
|
17688
|
+
ae(a) || "instance"
|
|
17705
17689
|
)), $a(a) ? (La(), P(
|
|
17706
17690
|
a,
|
|
17707
17691
|
Jv,
|
|
@@ -17720,10 +17704,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
17720
17704
|
);
|
|
17721
17705
|
t = t.memoizedState, a.type.defaultProps || "ref" in a.memoizedProps || Fd || (e.props !== a.memoizedProps && console.error(
|
|
17722
17706
|
"Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
|
|
17723
|
-
|
|
17707
|
+
ae(a) || "instance"
|
|
17724
17708
|
), e.state !== a.memoizedState && console.error(
|
|
17725
17709
|
"Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
|
|
17726
|
-
|
|
17710
|
+
ae(a) || "instance"
|
|
17727
17711
|
)), $a(a) ? (La(), P(
|
|
17728
17712
|
a,
|
|
17729
17713
|
y1,
|
|
@@ -18851,7 +18835,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18851
18835
|
case 0:
|
|
18852
18836
|
case 11:
|
|
18853
18837
|
case 15:
|
|
18854
|
-
e = Ge &&
|
|
18838
|
+
e = Ge && ae(Ge) || "Unknown", tb.has(e) || (tb.add(e), t = ae(t) || "Unknown", console.error(
|
|
18855
18839
|
"Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",
|
|
18856
18840
|
t,
|
|
18857
18841
|
e,
|
|
@@ -19809,7 +19793,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
19809
19793
|
if ((lt & pa) === en) {
|
|
19810
19794
|
var t = e.tag;
|
|
19811
19795
|
if (t === 3 || t === 1 || t === 0 || t === 11 || t === 14 || t === 15) {
|
|
19812
|
-
if (t =
|
|
19796
|
+
if (t = ae(e) || "ReactComponent", Yp !== null) {
|
|
19813
19797
|
if (Yp.has(t)) return;
|
|
19814
19798
|
Yp.add(t);
|
|
19815
19799
|
} else Yp = /* @__PURE__ */ new Set([t]);
|
|
@@ -19843,7 +19827,7 @@ act(() => {
|
|
|
19843
19827
|
/* assert on the output */
|
|
19844
19828
|
|
|
19845
19829
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,
|
|
19846
|
-
|
|
19830
|
+
ae(e)
|
|
19847
19831
|
);
|
|
19848
19832
|
});
|
|
19849
19833
|
}
|
|
@@ -22707,7 +22691,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22707
22691
|
`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
22708
22692
|
|
|
22709
22693
|
Check the render method of %s.`,
|
|
22710
|
-
|
|
22694
|
+
ae(da) || "Unknown"
|
|
22711
22695
|
)), i = rn(t), i.payload = { element: a }, f = f === void 0 ? null : f, f !== null && (typeof f != "function" && console.error(
|
|
22712
22696
|
"Expected the last optional `callback` argument to be a function. Instead received: %s.",
|
|
22713
22697
|
f
|
|
@@ -24216,39 +24200,39 @@ Check the render method of %s.`,
|
|
|
24216
24200
|
var e = /* @__PURE__ */ new Set();
|
|
24217
24201
|
0 < zm.length && (zm.forEach(function(h) {
|
|
24218
24202
|
e.add(
|
|
24219
|
-
|
|
24203
|
+
ae(h) || "Component"
|
|
24220
24204
|
), zs.add(h.type);
|
|
24221
24205
|
}), zm = []);
|
|
24222
24206
|
var t = /* @__PURE__ */ new Set();
|
|
24223
24207
|
0 < Dm.length && (Dm.forEach(function(h) {
|
|
24224
24208
|
t.add(
|
|
24225
|
-
|
|
24209
|
+
ae(h) || "Component"
|
|
24226
24210
|
), zs.add(h.type);
|
|
24227
24211
|
}), Dm = []);
|
|
24228
24212
|
var a = /* @__PURE__ */ new Set();
|
|
24229
24213
|
0 < Om.length && (Om.forEach(function(h) {
|
|
24230
24214
|
a.add(
|
|
24231
|
-
|
|
24215
|
+
ae(h) || "Component"
|
|
24232
24216
|
), zs.add(h.type);
|
|
24233
24217
|
}), Om = []);
|
|
24234
24218
|
var i = /* @__PURE__ */ new Set();
|
|
24235
24219
|
0 < Mm.length && (Mm.forEach(
|
|
24236
24220
|
function(h) {
|
|
24237
24221
|
i.add(
|
|
24238
|
-
|
|
24222
|
+
ae(h) || "Component"
|
|
24239
24223
|
), zs.add(h.type);
|
|
24240
24224
|
}
|
|
24241
24225
|
), Mm = []);
|
|
24242
24226
|
var o = /* @__PURE__ */ new Set();
|
|
24243
24227
|
0 < Um.length && (Um.forEach(function(h) {
|
|
24244
24228
|
o.add(
|
|
24245
|
-
|
|
24229
|
+
ae(h) || "Component"
|
|
24246
24230
|
), zs.add(h.type);
|
|
24247
24231
|
}), Um = []);
|
|
24248
24232
|
var f = /* @__PURE__ */ new Set();
|
|
24249
24233
|
if (0 < xm.length && (xm.forEach(function(h) {
|
|
24250
24234
|
f.add(
|
|
24251
|
-
|
|
24235
|
+
ae(h) || "Component"
|
|
24252
24236
|
), zs.add(h.type);
|
|
24253
24237
|
}), xm = []), 0 < t.size) {
|
|
24254
24238
|
var d = fe(
|
|
@@ -24323,7 +24307,7 @@ Please update the following components: %s`,
|
|
|
24323
24307
|
if (e.length !== 0) {
|
|
24324
24308
|
var t = e[0], a = /* @__PURE__ */ new Set();
|
|
24325
24309
|
e.forEach(function(o) {
|
|
24326
|
-
a.add(
|
|
24310
|
+
a.add(ae(o) || "Component"), Ig.add(o.type);
|
|
24327
24311
|
});
|
|
24328
24312
|
var i = fe(a);
|
|
24329
24313
|
P(t, function() {
|
|
@@ -25097,17 +25081,17 @@ Learn more about this warning here: https://react.dev/link/legacy-context`,
|
|
|
25097
25081
|
"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."
|
|
25098
25082
|
);
|
|
25099
25083
|
a._store.validated = 1;
|
|
25100
|
-
var i =
|
|
25084
|
+
var i = ae(e), o = i || "null";
|
|
25101
25085
|
if (!E1[o]) {
|
|
25102
25086
|
E1[o] = !0, a = a._owner, e = e._debugOwner;
|
|
25103
25087
|
var f = "";
|
|
25104
|
-
e && typeof e.tag == "number" && (o =
|
|
25088
|
+
e && typeof e.tag == "number" && (o = ae(e)) && (f = `
|
|
25105
25089
|
|
|
25106
25090
|
Check the render method of \`` + o + "`."), f || i && (f = `
|
|
25107
25091
|
|
|
25108
25092
|
Check the top-level render call using <` + i + ">.");
|
|
25109
25093
|
var d = "";
|
|
25110
|
-
a != null && e !== a && (i = null, typeof a.tag == "number" ? i =
|
|
25094
|
+
a != null && e !== a && (i = null, typeof a.tag == "number" ? i = ae(a) : typeof a.name == "string" && (i = a.name), i && (d = " It was passed a child from " + i + ".")), P(t, function() {
|
|
25111
25095
|
console.error(
|
|
25112
25096
|
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
25113
25097
|
f,
|
|
@@ -25507,7 +25491,7 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
25507
25491
|
}()), a0;
|
|
25508
25492
|
}
|
|
25509
25493
|
var Vb;
|
|
25510
|
-
function
|
|
25494
|
+
function bT() {
|
|
25511
25495
|
if (Vb) return ev.exports;
|
|
25512
25496
|
Vb = 1;
|
|
25513
25497
|
function D() {
|
|
@@ -25521,10 +25505,10 @@ function ST() {
|
|
|
25521
25505
|
}
|
|
25522
25506
|
}
|
|
25523
25507
|
}
|
|
25524
|
-
return process.env.NODE_ENV === "production" ? (D(), ev.exports =
|
|
25508
|
+
return process.env.NODE_ENV === "production" ? (D(), ev.exports = vT()) : ev.exports = gT(), ev.exports;
|
|
25525
25509
|
}
|
|
25526
|
-
var Lb =
|
|
25527
|
-
const
|
|
25510
|
+
var Lb = bT();
|
|
25511
|
+
const ST = ({ palette: D, type: L }) => {
|
|
25528
25512
|
const W = D.mode === "dark" ? "black" : "white", R = D.secondary.main, K = D.info.main;
|
|
25529
25513
|
switch (L) {
|
|
25530
25514
|
case "dropOff":
|
|
@@ -25542,7 +25526,7 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25542
25526
|
"circle-stroke-width": 8
|
|
25543
25527
|
};
|
|
25544
25528
|
}
|
|
25545
|
-
},
|
|
25529
|
+
}, TT = (D, L, W, R) => {
|
|
25546
25530
|
const K = {
|
|
25547
25531
|
features: W.map((Z) => ({
|
|
25548
25532
|
geometry: {
|
|
@@ -25562,15 +25546,15 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25562
25546
|
type: "geojson"
|
|
25563
25547
|
});
|
|
25564
25548
|
const de = [...K.features].sort((Z, He) => {
|
|
25565
|
-
const
|
|
25566
|
-
return
|
|
25549
|
+
const ne = Z.properties?.zIndex || 0, fe = He.properties?.zIndex || 0;
|
|
25550
|
+
return ne - fe;
|
|
25567
25551
|
});
|
|
25568
25552
|
D.getStyle().layers?.forEach((Z) => {
|
|
25569
25553
|
Z.id.startsWith("marker-") && D.getLayer(Z.id) && D.removeLayer(Z.id);
|
|
25570
25554
|
}), de.forEach((Z) => {
|
|
25571
|
-
const { description: He, id:
|
|
25555
|
+
const { description: He, id: ne } = Z.properties || {}, fe = ST({ palette: R, type: He }), re = `marker-${ne}`;
|
|
25572
25556
|
D.addLayer({
|
|
25573
|
-
filter: ["==", "id",
|
|
25557
|
+
filter: ["==", "id", ne],
|
|
25574
25558
|
id: re,
|
|
25575
25559
|
layout: {
|
|
25576
25560
|
visibility: "visible"
|
|
@@ -25580,13 +25564,15 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25580
25564
|
type: "circle"
|
|
25581
25565
|
});
|
|
25582
25566
|
});
|
|
25583
|
-
},
|
|
25584
|
-
document.querySelectorAll(".react-custom-marker").forEach((K) =>
|
|
25567
|
+
}, ET = (D, L) => {
|
|
25568
|
+
document.querySelectorAll(".react-custom-marker").forEach((K) => {
|
|
25569
|
+
K.remove();
|
|
25570
|
+
}), [...L].sort((K, ie) => {
|
|
25585
25571
|
const de = K.properties?.zIndex || 0, Oe = ie.properties?.zIndex || 0;
|
|
25586
25572
|
return de - Oe;
|
|
25587
25573
|
}).forEach((K) => {
|
|
25588
|
-
const { IconComponent: ie, iconProps: de, onClick: Oe, zIndex: Z, pointerEvents: He } = K.properties || {}, { coordinates:
|
|
25589
|
-
if (ie &&
|
|
25574
|
+
const { IconComponent: ie, iconProps: de, onClick: Oe, zIndex: Z, pointerEvents: He } = K.properties || {}, { coordinates: ne } = K.geometry;
|
|
25575
|
+
if (ie && ne.length >= 2) {
|
|
25590
25576
|
const fe = document.createElement("div");
|
|
25591
25577
|
fe.className = "react-custom-marker", fe.style.position = "absolute", Z !== void 0 && (fe.style.zIndex = Z.toString()), He !== void 0 && (fe.style.pointerEvents = He.toString());
|
|
25592
25578
|
const re = document.createElement("div"), we = Lb.createRoot(re);
|
|
@@ -25594,15 +25580,15 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25594
25580
|
const at = () => {
|
|
25595
25581
|
Oe?.(K);
|
|
25596
25582
|
};
|
|
25597
|
-
fe.addEventListener("click", at), new
|
|
25583
|
+
fe.addEventListener("click", at), new aT(fe).setLngLat([ne[0], ne[1]]).addTo(D);
|
|
25598
25584
|
}
|
|
25599
25585
|
});
|
|
25600
|
-
},
|
|
25586
|
+
}, AT = (D) => ({
|
|
25601
25587
|
features: D?.map((L, W) => ({
|
|
25602
25588
|
geometry: {
|
|
25603
25589
|
coordinates: [
|
|
25604
|
-
Number.isFinite(Number(L.lng)) ? Number(L.lng) : Number(
|
|
25605
|
-
Number.isFinite(Number(L.lat)) ? Number(L.lat) : Number(
|
|
25590
|
+
Number.isFinite(Number(L.lng)) ? Number(L.lng) : Number(BT),
|
|
25591
|
+
Number.isFinite(Number(L.lat)) ? Number(L.lat) : Number(qT)
|
|
25606
25592
|
],
|
|
25607
25593
|
type: "Point"
|
|
25608
25594
|
},
|
|
@@ -25620,52 +25606,55 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25620
25606
|
type: "Feature"
|
|
25621
25607
|
})) || [],
|
|
25622
25608
|
type: "FeatureCollection"
|
|
25623
|
-
}),
|
|
25609
|
+
}), RT = ({ map: D, palette: L, markers: W }) => {
|
|
25624
25610
|
if (!D.current)
|
|
25625
25611
|
return;
|
|
25626
|
-
const R =
|
|
25627
|
-
K.length &&
|
|
25612
|
+
const R = AT(W), K = R.features.filter((de) => de.properties?.IconComponent === void 0);
|
|
25613
|
+
K.length && TT(D.current, "markerProps", K, L);
|
|
25628
25614
|
const ie = R.features.filter((de) => de.properties?.IconComponent);
|
|
25629
|
-
ie.length &&
|
|
25630
|
-
},
|
|
25615
|
+
ie.length && ET(D.current, ie);
|
|
25616
|
+
}, zT = ({ map: D, markers: L, palette: W, isMapInitialized: R, fitBounds: K, center: ie }) => {
|
|
25631
25617
|
$o(() => {
|
|
25632
|
-
if (!D.current
|
|
25618
|
+
if (!(D.current && L && R))
|
|
25633
25619
|
return;
|
|
25634
25620
|
const de = () => {
|
|
25635
25621
|
if (!K || (L?.length || 0) <= 1) {
|
|
25636
|
-
const Z = ie ?
|
|
25637
|
-
lat:
|
|
25638
|
-
lng:
|
|
25622
|
+
const Z = ie ? yT(ie) || {
|
|
25623
|
+
lat: Nb,
|
|
25624
|
+
lng: Hb
|
|
25639
25625
|
} : {
|
|
25640
|
-
lat: L?.[0]?.lat !== void 0 ? Number(L[0].lat) :
|
|
25641
|
-
lng: L?.[0]?.lng !== void 0 ? Number(L[0].lng) :
|
|
25626
|
+
lat: L?.[0]?.lat !== void 0 ? Number(L[0].lat) : Nb,
|
|
25627
|
+
lng: L?.[0]?.lng !== void 0 ? Number(L[0].lng) : Hb
|
|
25642
25628
|
};
|
|
25643
25629
|
D.current?.setCenter(Z);
|
|
25644
25630
|
}
|
|
25645
25631
|
}, Oe = () => {
|
|
25646
|
-
de(),
|
|
25632
|
+
de(), RT({ map: D, markers: L, palette: W });
|
|
25647
25633
|
};
|
|
25648
25634
|
D.current.loaded() ? Oe() : D.current.once("load", Oe);
|
|
25649
25635
|
}, [ie, K, R, D, L, W]);
|
|
25650
|
-
},
|
|
25636
|
+
}, DT = ({ map: D, onMapClick: L, isMapInitialized: W }) => {
|
|
25651
25637
|
$o(() => {
|
|
25652
|
-
if (!D.current
|
|
25638
|
+
if (!(D.current && L && W))
|
|
25653
25639
|
return;
|
|
25654
25640
|
const R = D.current.getCanvas(), K = (ie) => {
|
|
25655
|
-
const de = [ie.clientX - R.getBoundingClientRect().left, ie.clientY - R.getBoundingClientRect().top]
|
|
25641
|
+
const de = [ie.clientX - R.getBoundingClientRect().left, ie.clientY - R.getBoundingClientRect().top];
|
|
25642
|
+
if (!D.current)
|
|
25643
|
+
return;
|
|
25644
|
+
const Oe = D.current.unproject(de);
|
|
25656
25645
|
L(Oe.lng, Oe.lat);
|
|
25657
25646
|
};
|
|
25658
25647
|
R.addEventListener("click", K);
|
|
25659
25648
|
}, [W, D, L]);
|
|
25660
|
-
},
|
|
25649
|
+
}, OT = (D) => {
|
|
25661
25650
|
const L = document.createElement("button");
|
|
25662
25651
|
return L.innerText = "×", L.style.position = "absolute", L.style.top = "5px", L.style.right = "5px", L.style.background = "transparent", L.style.border = "none", L.style.fontSize = "16px", L.style.padding = "0", L.style.margin = "10px", L.style.cursor = "pointer", L.style.color = "currentColor", L.type = "button", L.setAttribute("aria-label", "Close popup"), L.removeAttribute("aria-hidden"), L.onclick = () => D.remove(), L;
|
|
25663
25652
|
}, Xb = ({ map: D, tooltip: L, coordinates: W }) => {
|
|
25664
|
-
if (!W
|
|
25653
|
+
if (!(W && L && D.current && Array.isArray(W)) || W.length !== 2)
|
|
25665
25654
|
return null;
|
|
25666
25655
|
const R = document.createElement("div"), K = document.createElement("div"), ie = Lb.createRoot(K);
|
|
25667
25656
|
R.style.position = "relative", R.style.overflow = "hidden", R.style.zIndex = "1000", ie.render(L);
|
|
25668
|
-
const de = new
|
|
25657
|
+
const de = new nT({
|
|
25669
25658
|
closeButton: !1
|
|
25670
25659
|
}).setLngLat(W).setDOMContent(R).addTo(D.current);
|
|
25671
25660
|
de.on("close", () => {
|
|
@@ -25673,9 +25662,9 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25673
25662
|
ie.unmount();
|
|
25674
25663
|
});
|
|
25675
25664
|
});
|
|
25676
|
-
const Oe =
|
|
25665
|
+
const Oe = OT(de);
|
|
25677
25666
|
return R.appendChild(Oe), R.appendChild(K), de;
|
|
25678
|
-
}, Zb = (D) => typeof D == "object" && D !== null && "type" in D && "coordinates" in D,
|
|
25667
|
+
}, Zb = (D) => typeof D == "object" && D !== null && "type" in D && "coordinates" in D, MT = (D) => {
|
|
25679
25668
|
if (typeof D != "object" || D === null || !("geometry" in D && "properties" in D))
|
|
25680
25669
|
return !1;
|
|
25681
25670
|
const { geometry: W } = D;
|
|
@@ -25686,42 +25675,42 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25686
25675
|
return !1;
|
|
25687
25676
|
const { properties: K } = D;
|
|
25688
25677
|
return typeof K != "object" || K === null ? !1 : "id" in K && K.id !== void 0;
|
|
25689
|
-
},
|
|
25678
|
+
}, UT = ({ map: D, point: L }) => {
|
|
25690
25679
|
if (!D.current?.isStyleLoaded())
|
|
25691
25680
|
return null;
|
|
25692
25681
|
const W = D.current?.getStyle()?.layers?.filter((K) => K.id.startsWith("marker-")).map((K) => K.id) || [], R = D.current?.queryRenderedFeatures(L, { layers: W });
|
|
25693
25682
|
if (R && R.length > 0) {
|
|
25694
25683
|
const K = R[0];
|
|
25695
|
-
if (!
|
|
25684
|
+
if (!(MT(K) && Zb(K.geometry)))
|
|
25696
25685
|
return null;
|
|
25697
25686
|
const { geometry: ie } = K, de = ie.coordinates.slice();
|
|
25698
25687
|
return de.length !== 2 || typeof de[0] != "number" || typeof de[1] != "number" ? null : K;
|
|
25699
25688
|
}
|
|
25700
|
-
},
|
|
25689
|
+
}, xT = ({ openPopup: D, map: L, markers: W, isMapInitialized: R }) => {
|
|
25701
25690
|
const K = lv(null);
|
|
25702
25691
|
$o(() => {
|
|
25703
|
-
if (!L.current
|
|
25692
|
+
if (!(L.current && W && R))
|
|
25704
25693
|
return;
|
|
25705
25694
|
const de = L.current.getCanvas();
|
|
25706
25695
|
if (K.current && (K.current.remove(), K.current = null), D) {
|
|
25707
25696
|
const Z = W.find((He) => He.id === D);
|
|
25708
25697
|
if (Z) {
|
|
25709
|
-
const He = [Number(Z.lng) || 0, Number(Z.lat) || 0],
|
|
25698
|
+
const He = [Number(Z.lng) || 0, Number(Z.lat) || 0], ne = Xb({
|
|
25710
25699
|
coordinates: He,
|
|
25711
25700
|
map: L,
|
|
25712
25701
|
tooltip: Z.Tooltip
|
|
25713
25702
|
});
|
|
25714
|
-
|
|
25703
|
+
ne && (K.current = ne);
|
|
25715
25704
|
}
|
|
25716
25705
|
}
|
|
25717
25706
|
const Oe = (Z) => {
|
|
25718
25707
|
const He = [
|
|
25719
25708
|
Z.clientX - de.getBoundingClientRect().left,
|
|
25720
25709
|
Z.clientY - de.getBoundingClientRect().top
|
|
25721
|
-
],
|
|
25722
|
-
if (
|
|
25710
|
+
], ne = UT({ map: L, point: He });
|
|
25711
|
+
if (ne?.properties?.id) {
|
|
25723
25712
|
K.current && (K.current.remove(), K.current = null);
|
|
25724
|
-
const fe = W.find((re) => re.id ===
|
|
25713
|
+
const fe = W.find((re) => re.id === ne.properties.id);
|
|
25725
25714
|
if (fe) {
|
|
25726
25715
|
const re = [Number(fe.lng) || 0, Number(fe.lat) || 0];
|
|
25727
25716
|
if (typeof fe.onClick == "function") {
|
|
@@ -25757,7 +25746,7 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25757
25746
|
de.removeEventListener("click", Oe), K.current && (K.current.remove(), K.current = null);
|
|
25758
25747
|
};
|
|
25759
25748
|
}, [R, L, W, D]);
|
|
25760
|
-
},
|
|
25749
|
+
}, CT = (D, L) => {
|
|
25761
25750
|
const W = L === "dark";
|
|
25762
25751
|
switch (D) {
|
|
25763
25752
|
case "satellite":
|
|
@@ -25771,7 +25760,7 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25771
25760
|
default:
|
|
25772
25761
|
return W ? "mapbox://styles/mapbox/dark-v10" : "mapbox://styles/mapbox/streets-v11";
|
|
25773
25762
|
}
|
|
25774
|
-
},
|
|
25763
|
+
}, HT = ({
|
|
25775
25764
|
mapStyle: D,
|
|
25776
25765
|
theme: L,
|
|
25777
25766
|
baseMapView: W,
|
|
@@ -25781,8 +25770,8 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25781
25770
|
cooperativeGestures: K,
|
|
25782
25771
|
doubleClickZoom: R,
|
|
25783
25772
|
failIfMajorPerformanceCaveat: !1,
|
|
25784
|
-
style: D ||
|
|
25785
|
-
}),
|
|
25773
|
+
style: D || CT(W, L)
|
|
25774
|
+
}), NT = (D, L) => Number.isFinite(D) && Number.isFinite(L) && D >= -90 && D <= 90 && L >= -180 && L <= 180, BT = 2.333, qT = 46.8677, YT = ({
|
|
25786
25775
|
markers: D,
|
|
25787
25776
|
center: L,
|
|
25788
25777
|
disableAnimation: W,
|
|
@@ -25793,17 +25782,17 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25793
25782
|
mapStyle: Oe,
|
|
25794
25783
|
fitBoundsAnimationKey: Z,
|
|
25795
25784
|
baseMapView: He = "default",
|
|
25796
|
-
zoom:
|
|
25785
|
+
zoom: ne = 6,
|
|
25797
25786
|
fitBoundsPadding: fe = 50,
|
|
25798
25787
|
fitBoundDuration: re = 1e3,
|
|
25799
25788
|
fitBounds: we = !0,
|
|
25800
25789
|
cooperativeGestures: at = !0,
|
|
25801
25790
|
doubleClickZoom: nl = !0
|
|
25802
25791
|
}) => {
|
|
25803
|
-
const [Je, Pe] =
|
|
25804
|
-
(ge) => ge.lat !== void 0 && ge.lng !== void 0 &&
|
|
25792
|
+
const [Je, Pe] = WS(!1), { palette: Dl } = PS(), rt = iT(D), qt = lv(""), nt = lv(null), dt = de || Dl.mode, qe = Og(() => rt ? rt.filter(
|
|
25793
|
+
(ge) => ge.lat !== void 0 && ge.lng !== void 0 && NT(Number(ge.lat), Number(ge.lng))
|
|
25805
25794
|
) : [], [rt]), Nt = Og(
|
|
25806
|
-
() =>
|
|
25795
|
+
() => HT({
|
|
25807
25796
|
baseMapView: He,
|
|
25808
25797
|
cooperativeGestures: at,
|
|
25809
25798
|
doubleClickZoom: nl,
|
|
@@ -25811,25 +25800,25 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25811
25800
|
theme: dt
|
|
25812
25801
|
}),
|
|
25813
25802
|
[He, at, dt, nl, Oe, ie]
|
|
25814
|
-
),
|
|
25803
|
+
), ae = Mb(() => {
|
|
25815
25804
|
nt.current && (nt.current.remove(), nt.current = null, Pe(!1));
|
|
25816
25805
|
const ge = qt.current;
|
|
25817
25806
|
ge && typeof ge != "string" && ge instanceof HTMLElement && (ge.innerHTML = "");
|
|
25818
25807
|
}, []), ht = Mb(() => {
|
|
25819
25808
|
if (!Ug.supported())
|
|
25820
25809
|
return;
|
|
25821
|
-
|
|
25810
|
+
ae();
|
|
25822
25811
|
const ge = qt.current;
|
|
25823
|
-
!ge || typeof ge == "string" || (nt.current = new
|
|
25812
|
+
!ge || typeof ge == "string" || (nt.current = new uT({
|
|
25824
25813
|
...Nt,
|
|
25825
25814
|
container: ge
|
|
25826
25815
|
}), nt.current.resize(), Pe(!0));
|
|
25827
|
-
}, [
|
|
25816
|
+
}, [ae, Nt]);
|
|
25828
25817
|
return $o(() => {
|
|
25829
25818
|
ht();
|
|
25830
25819
|
}, [ht]), $o(() => {
|
|
25831
|
-
!nt.current
|
|
25832
|
-
}, [
|
|
25820
|
+
!(nt.current && Je) || ne === void 0 || Math.abs(nt.current.getZoom() - ne) > 0.1 && nt.current.setZoom(ne);
|
|
25821
|
+
}, [ne, Je]), zT({ center: L, fitBounds: we, isMapInitialized: Je, map: nt, markers: qe, palette: Dl }), xT({ isMapInitialized: Je, map: nt, markers: qe, openPopup: R }), DT({ isMapInitialized: Je, map: nt, onMapClick: K }), hT({
|
|
25833
25822
|
disableAnimation: W,
|
|
25834
25823
|
fitBoundDuration: re,
|
|
25835
25824
|
fitBounds: we,
|
|
@@ -25838,18 +25827,18 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25838
25827
|
isMapInitialized: Je,
|
|
25839
25828
|
map: nt,
|
|
25840
25829
|
markers: qe
|
|
25841
|
-
}), $o(() =>
|
|
25830
|
+
}), $o(() => ae, [ae]), {
|
|
25842
25831
|
containerRef: qt,
|
|
25843
25832
|
currentTheme: dt,
|
|
25844
25833
|
isMapInitialized: Je,
|
|
25845
25834
|
map: nt,
|
|
25846
25835
|
markers: qe
|
|
25847
25836
|
};
|
|
25848
|
-
},
|
|
25849
|
-
const { containerRef: de, currentTheme: Oe } =
|
|
25837
|
+
}, _T = ({ containerStyle: D, square: L, loading: W, height: R = 300, width: K = "100%", ...ie }) => {
|
|
25838
|
+
const { containerRef: de, currentTheme: Oe } = YT(ie);
|
|
25850
25839
|
return /* @__PURE__ */ Gs.jsxs(Rg, { sx: { height: R, position: "relative", width: K, ...D }, children: [
|
|
25851
25840
|
/* @__PURE__ */ Gs.jsx(
|
|
25852
|
-
|
|
25841
|
+
eT,
|
|
25853
25842
|
{
|
|
25854
25843
|
styles: {
|
|
25855
25844
|
".mapboxgl-popup-content": {
|
|
@@ -25897,7 +25886,7 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25897
25886
|
}
|
|
25898
25887
|
),
|
|
25899
25888
|
W && /* @__PURE__ */ Gs.jsx(
|
|
25900
|
-
|
|
25889
|
+
tT,
|
|
25901
25890
|
{
|
|
25902
25891
|
width: K,
|
|
25903
25892
|
height: R,
|
|
@@ -25910,12 +25899,27 @@ const TT = ({ palette: D, type: L }) => {
|
|
|
25910
25899
|
}
|
|
25911
25900
|
)
|
|
25912
25901
|
] });
|
|
25913
|
-
},
|
|
25902
|
+
}, wT = FS(_T), GT = IS({
|
|
25903
|
+
licenceMapbox: "",
|
|
25904
|
+
licenseMuiX: ""
|
|
25905
|
+
}), JT = ({ children: D, licenseMuiX: L, licenceMapbox: W }) => {
|
|
25906
|
+
$o(() => {
|
|
25907
|
+
L && cT.setLicenseKey(L);
|
|
25908
|
+
}, [L]);
|
|
25909
|
+
const R = Og(
|
|
25910
|
+
() => ({
|
|
25911
|
+
licenceMapbox: W,
|
|
25912
|
+
licenseMuiX: L
|
|
25913
|
+
}),
|
|
25914
|
+
[L, W]
|
|
25915
|
+
);
|
|
25916
|
+
return W && (Ug.accessToken = W), /* @__PURE__ */ Gs.jsx(GT.Provider, { value: R, children: D });
|
|
25917
|
+
};
|
|
25914
25918
|
export {
|
|
25915
|
-
|
|
25916
|
-
|
|
25917
|
-
|
|
25918
|
-
|
|
25919
|
-
|
|
25920
|
-
|
|
25919
|
+
Nb as DEFAULT_CENTER_LAT,
|
|
25920
|
+
Hb as DEFAULT_CENTER_LNG,
|
|
25921
|
+
JT as MapProvider,
|
|
25922
|
+
GT as MapProviderContext,
|
|
25923
|
+
wT as MarkerMap,
|
|
25924
|
+
NT as isValidLatLng
|
|
25921
25925
|
};
|