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