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