@map-colonies/react-components 4.13.0 → 4.13.3

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.
@@ -1,83 +1,87 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('body[dir=rtl] .drpOpener .mdc-text-field{direction:ltr}body[dir=rtl] .drpContainer .MuiInputLabel-formControl{right:0px;left:unset}body[dir=rtl] .drpContainer .MuiInputBase-input{direction:ltr;text-align:end}.map{height:100%;width:100%}.ol-mouse-position{top:auto!important;right:auto!important;bottom:8px;left:8px;background-color:#fff;opacity:.7;font-size:12px;padding:2px;border-radius:2px}.ol-zoom{top:2.5em;right:.5em;left:unset}.cesium-viewer .activeLayersPanel .layer{display:flex;justify-content:space-between;align-items:center;width:90%}.cesium-viewer .activeLayersPanel .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cesium-viewer .activeLayersPanel .name.disabled{opacity:.5;pointer-events:none}.cesium-viewer .activeLayersPanel .icons{display:flex;justify-content:flex-end;align-items:center}.cesium-viewer .activeLayersPanel .icon{width:17px;height:17px;margin-left:8px;cursor:pointer}.cesium-viewer .activeLayersPanel .icon.disabled{opacity:0;pointer-events:none}.cesium-viewer .wfsContainer .title{text-align:center;font-weight:700;margin-bottom:12px;width:260px}.cesium-viewer .wfsContainer .featureType{font-size:12px;margin-bottom:12px;direction:ltr}body[dir=rtl] .cesium-viewer .wfsContainer .featureType{direction:rtl}.cesium-viewer .wfsContainer .name{color:#aef;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:260px}.cesium-viewer .wfsContainer .info{display:flex}.cesium-viewer .wfsContainer .spacer{margin:0 20px}.cesium-viewer .wfsContainer .blinking{animation:blink 1s infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.5}}.cesium-viewer .geocoderContainer{display:flex;flex-direction:row-reverse;color:var(--mdc-theme-cesium-color)}.cesium-viewer .geocoderContainer .mdc-text-field__input{width:100%;border-radius:4px;padding:4px}.cesium-viewer .geocoderContainer .listsContainer{max-height:348px;overflow-y:auto;overflow-x:hidden;width:100%}.cesium-viewer .geocoderContainer .listContainer{border:1px solid var(--mdc-theme-cesium-color);min-height:56px;width:308px;max-height:56px;overflow-y:auto;overflow-x:hidden;padding-top:2px}.cesium-viewer .geocoderContainer .listContainer .queryItemResult{display:flex;justify-content:space-between;width:100%}.cesium-viewer .geocoderContainer .listContainer .queryNoResults{justify-content:normal;color:unset}.cesium-viewer .geocoderContainer .listContainer .queryError{color:var(--mdc-theme-cesium-error)}.cesium-viewer .geocoderContainer .listContainer .queryWarning{color:var(--mdc-theme-cesium-warning)}.cesium-viewer .geocoderContainer .listContainer .generalListItem{font-size:var(--mdc-theme-cesium-font-size);text-wrap:wrap!important;padding:unset;padding-right:4px;padding-left:4px}body[dir=ltr] .cesium-viewer .geocoderContainer .geocoderForm{position:relative;right:8%}body[dir=rtl] .cesium-viewer .geocoderContainer .geocoderForm{position:relative;right:0%}.cesium-viewer .geocoderContainer .checkboxesContainer{display:flex;justify-content:space-between;padding-bottom:8px}.cesium-viewer .geocoderContainer .checkboxElement{font-size:var(--mdc-theme-cesium-font-size);font-weight:700;flex:1}.cesium-viewer .geocoderContainer .bold{font-weight:700}.cesium-viewer .geocoderContainer .cesium-geocoder-searchButton{position:relative!important}.cesium-viewer .geocoderContainer .cesium-geocoder-input{width:100%;background:transparent;border-color:var(--mdc-theme-cesium-color)}.viewer .mapLegendSidebarContainer{width:340px;height:100%;position:relative;overflow-y:auto;overflow-x:hidden;font-size:16px}.viewer .mapLegendSidebarContainer.mdc-drawer--animate{transform:translate(0)!important;transition:none!important}.viewer .mapLegendSidebarContainer.mdc-drawer--dismissible{position:relative}.viewer div.MuiPaper-root{transition:none!important}.viewer .mapLegendCloseBtn{position:absolute;top:0;right:0;cursor:pointer;width:50px;height:50px;padding:20px;font-size:24px}body[dir=rtl] .viewer .mapLegendCloseBtn{right:unset;left:0}.viewer .mapLegendIcon{width:2rem;height:2rem;transform:translate(8%,8%)}.viewer .sidebarHeaderContainer{text-align:center;margin-top:40px}.viewer .sidebarTitle{font-size:1.5rem;font-weight:700}.viewer .mapLegend{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 14px}.viewer .layerNameContainer{width:90%;display:flex;justify-content:center;align-items:center}.viewer .layerName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer .legendImg{width:90%;height:150px;border:1px solid black;border-radius:5px;object-fit:cover;cursor:pointer}.viewer .legendActionsContainer{display:flex;flex-direction:row;align-self:center}.viewer .legendAction:not(:last-child):after{content:"|";margin:0 4px}.viewer .mapLegendsList{display:flex;flex-direction:column;padding:20px 0;width:100%;height:90%}.viewer .legendAction{text-decoration:underline;cursor:pointer;font-size:1.1rem;transition:all .1s ease-in-out;width:max-content}.viewer .legendAction:hover{filter:brightness(1.2)}.viewer .noLegendsContainer{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.viewer .noLegendsMsg{text-align:center}.cesium-viewer .compass{top:20px;right:0px}body[dir=rtl] .cesium-viewer .compass{right:unset;left:0px}.cesium-viewer .coordinatesTracker{background-color:var(--mdc-theme-surface);padding-top:7px;border-radius:2px;font-size:12px;text-align:center;white-space:nowrap;min-width:200px}.cesium-viewer .scaleTracker{background-color:var(--mdc-theme-surface);padding-top:4px;border-radius:2px;font-size:12px;width:110px}.cesium-viewer .scaleTrackerLabel{text-align:center}.cesium-viewer .scaleTrackerBar{background:var(--mdc-theme-on-surface);margin:0 auto;display:block;transition:all .5s ease-in-out}.cesium-viewer .zoomButtons{display:flex;flex-direction:column;gap:2px;position:absolute;bottom:48px;right:30px}body[dir=rtl] .cesium-viewer .zoomButtons{right:unset;left:30px}.cesium-viewer .zoomButton{width:32px;height:32px;background:#303336;border:1px solid #444;border-radius:4px;box-sizing:border-box;display:flex;justify-content:center;padding:4px;cursor:pointer}.cesium-viewer .zoomButton:hover{background:#48b;border-color:#aef}.cesium-viewer .zoomLevel{background-color:var(--mdc-theme-surface);border-radius:2px;padding:2px;height:24px}.cesium-viewer .zoomLevelValue{margin:2px;font-size:14px;line-height:12px;text-align:center}.cesium-viewer .zoomLevelLabel{font-size:8px;line-height:8px;display:table;margin:auto}.cesium-viewer .cesium-widget-credits{display:none!important}.cesium-viewer .cesium-viewer-toolbar{display:flex;flex-direction:column;align-items:flex-end;top:116px;right:27px}body[dir=rtl] .cesium-viewer .cesium-viewer-toolbar{left:27px;right:unset}.cesium-viewer .widgetsContainer{top:24px;left:10px}body[dir=rtl] .cesium-viewer .widgetsContainer{left:unset;right:10px}.cesium-viewer .cesium-mc-tool{display:block;position:absolute;box-sizing:content-box;top:auto;right:0;width:320px;max-height:500px;margin-top:5px;background-color:#262626bf;border:1px solid #444;padding:6px;overflow:auto;border-radius:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;transform:translateY(-20%);visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in,transform .2s ease-in}.cesium-viewer .cesium-mc-tool-visible{transform:translate(0);visibility:visible;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.cesium-viewer .cesium-mc-title{display:block;font-family:sans-serif;font-size:16pt;text-align:left;margin-bottom:4px}body[dir=rtl] .cesium-viewer .cesium-mc-title{text-align:right}.cesium-viewer .cesium-mc-tool{color:var(--mdc-theme-cesium-color);right:40px;margin-top:0}body[dir=rtl] .cesium-viewer .cesium-mc-tool{right:unset;left:40px}.cesium-viewer .cesium-mc-choices{display:block;border:1px solid #888;border-radius:5px;padding:5px 0;margin-bottom:5px}.cesium-viewer .cesium-baseLayerPicker-dropDown{right:40px;margin-top:0}body[dir=rtl] .cesium-viewer .cesium-baseLayerPicker-dropDown{right:unset;left:40px}body[dir=rtl] .cesium-viewer .cesium-baseLayerPicker-sectionTitle{text-align:right}.cesium-viewer span.cesium-sceneModePicker-wrapper{width:100%;display:flex;flex-direction:row-reverse;align-items:center;column-gap:4px;margin:3px 3px 1px}.cesium-viewer .cesium-viewer-fullscreenContainer{width:32px;height:32px;bottom:9px;right:30px}body[dir=rtl] .cesium-viewer .cesium-viewer-fullscreenContainer{right:unset;left:30px}.cesium-viewer .cesium-button.cesium-fullscreenButton{border-radius:14%;box-sizing:border-box}.cesium-viewer .bottomToolsContainer{color:var(--mdc-theme-on-surface);opacity:.7;display:flex;gap:8px;position:absolute;bottom:10px;right:70px}body[dir=rtl] .cesium-viewer .bottomToolsContainer{left:70px;right:unset}.cesium-viewer input[type=checkbox]{accent-color:var(--mdc-theme-cesium-checkbox-color)}.cesium-viewer input::placeholder{color:unset;opacity:.8}.cesium-viewer input{font-size:var(--mdc-theme-cesium-font-size);color:unset;font-weight:700;caret-color:unset}.cesium-viewer ::-webkit-scrollbar{width:6px;height:6px}.cesium-viewer ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #0000004d;border-radius:6px}.cesium-viewer ::-webkit-scrollbar-thumb{background-color:#aaa;border-radius:6px}.cesium-viewer .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-theme-cesium-checkbox-color);background-color:var(--mdc-theme-cesium-checkbox-color)}.cesium-viewer .mdc-checkbox--upgraded{--mdc-checkbox-checked-color: var(--mdc-theme-cesium-checkbox-color)}.cesium-viewer .mdc-checkbox{width:var(--mdc-theme-cesium-checkbox-width);height:var(--mdc-theme-cesium-checkbox-height)}.cesium-viewer .mdc-checkbox__background{width:12px;height:12px}.cesium-viewer .mdc-form-field{color:unset;margin:-2% -2% -4%}.cesium-viewer .mdc-form-field>label{color:unset}.cesium-viewer .mdc-ripple-upgraded--unbounded{--mdc-ripple-fg-size: 0px !important}.cesium-viewer .mdc-list{font-size:var(--mdc-theme-cesium-font-size);font-family:sans-serif;padding:1px;color:unset}.cesium-viewer .mdc-list-item{padding:unset;padding-right:4px;padding-left:4px;height:24px;font-weight:700}.cesium-viewer .mdc-text-field--filled{height:32px}.cesium-viewer .mdc-text-field__input{box-sizing:border-box;border:unset}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:transparent!important}.cesium-viewer .mdc-text-field{padding:unset;padding-right:4px;padding-left:4px}.cesium-viewer .mdc-line-ripple:before,.cesium-viewer .mdc-line-ripple:after{border-bottom:none!important}.cesium-viewer .disabled{opacity:.6;cursor:initial}.cesium-viewer .search-results{padding:4px}.viewer{display:flex;flex-direction:row}.viewer .mdc-linear-progress__bar-inner{border-top-width:10px}.twipsy{display:block;position:absolute;visibility:visible;max-width:200px;min-width:100px;padding:5px;font-size:11px;z-index:100;opacity:.8;-khtml-opacity:.8;-moz-opacity:.8;filter:alpha(opacity=80)}.twipsy.left .twipsy-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.twipsy.right .twipsy-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.twipsy-inner{padding:3px 8px;background-color:#000;color:#fff;text-align:center;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.twipsy-arrow{position:absolute;width:0;height:0}.toolbar{margin:0;padding:0;background:white}.toolbar>.button{margin:5px;padding:5px;border:1px solid #eee;cursor:pointer}.toolbar>.button:hover{background:#eee}.infoWindow{position:absolute;min-width:100px;max-width:300px}.infoWindow #frame{padding:10px;border:1px solid black;background:white}.infoWindow #close{float:right;margin:5px 2px;font-size:small;color:gray;cursor:pointer}.infoWindow #arrow{position:absolute;bottom:-8px;left:50%;margin-left:-10px;border-right:10px solid transparent;border-left:10px solid transparent;border-top:10px solid white}.react-autocomplete-input{background-clip:padding-box;background-color:#fff;bottom:auto;box-shadow:0 6px 12px #0000002d;display:block;font-size:14px;list-style:none;padding:1px;position:absolute;z-index:200;margin-block-start:unset;margin-block-end:unset}.react-autocomplete-input>li{cursor:pointer;padding:10px;min-width:100px}.react-autocomplete-input>li.active{background-color:#337ab7;color:#fff}body[dir=rtl] .chonky-fileListWrapper [class^=listContainer-]{direction:rtl!important}body[dir=rtl] .chonky-fileEntryClickableWrapper [class^=listFileEntryProperty-],body[dir=rtl] .chonky-navbarContainer{direction:ltr!important}body[dir=rtl] .chonky-chonkyRoot{text-align:right}body[dir=rtl] .chonky-infoText{margin-left:unset;margin-right:12px}body[dir=rtl] .chonky-contextMenuList .MuiListItemText-root,body[dir=rtl] .chonky-dropdownList .MuiListItemText-root{text-align:right}body[dir=rtl] .chonky-icon{margin-right:unset;margin-left:8px}.chonky-chonkyRoot div[class^=folderBackSide]{box-shadow:unset}.chonky-chonkyRoot div[class^=folderBackSide]:after{border-color:var(--fp-theme-background, #fff) var(--fp-theme-background, #fff) transparent transparent}.chonky-chonkyRoot div[class^=listFileEntryIcon-]{color:#d5d5d5}.chonky-chonkyRoot div[class*=previewFile-d]{background-color:#d5d5d5}.chonky-chonkyRoot div[class^=selectionIndicator-]{background:var(--fp-theme-selection-background, #455570)}.chonky-chonkyRoot{background-color:var(--fp-theme-background, #fff)!important}.chonky-contextMenuList{background-color:var(--fp-theme-surface, #fff)!important}button[class*=chonky-activeButton],.chonky-selectionSizeText{color:var(--fp-theme-primary, #24aee9)!important}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- var ui = Object.defineProperty;
3
- var hi = (e, t, n) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
- var ue = (e, t, n) => (hi(e, typeof t != "symbol" ? t + "" : t, n), n);
5
- import { jsx as s, jsxs as z, Fragment as ge } from "react/jsx-runtime";
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('body[dir=rtl] .drpOpener .mdc-text-field{direction:ltr}body[dir=rtl] .drpContainer .MuiInputLabel-formControl{right:0px;left:unset}body[dir=rtl] .drpContainer .MuiInputBase-input{direction:ltr;text-align:end}.map{height:100%;width:100%}.ol-mouse-position{top:auto!important;right:auto!important;bottom:8px;left:8px;background-color:#fff;opacity:.7;font-size:12px;padding:2px;border-radius:2px}.ol-zoom{top:2.5em;right:.5em;left:unset}.cesium-viewer .activeLayersPanel .layer{display:flex;justify-content:space-between;align-items:center;width:90%}.cesium-viewer .activeLayersPanel .name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cesium-viewer .activeLayersPanel .name.disabled{opacity:.5;pointer-events:none}.cesium-viewer .activeLayersPanel .icons{display:flex;justify-content:flex-end;align-items:center}.cesium-viewer .activeLayersPanel .icon{width:17px;height:17px;margin-left:8px;cursor:pointer}.cesium-viewer .activeLayersPanel .icon.disabled{opacity:0;pointer-events:none}.disappear{display:contents}.cesium-viewer .wfsContainer .title{text-align:center;font-weight:700;margin-bottom:12px;width:260px}.cesium-viewer .wfsContainer .featureType{font-size:12px;margin-bottom:12px;direction:ltr}body[dir=rtl] .cesium-viewer .wfsContainer .featureType{direction:rtl}.cesium-viewer .wfsContainer .name{color:#aef;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:260px}.cesium-viewer .wfsContainer .info{display:flex}.cesium-viewer .wfsContainer .spacer{margin:0 20px}.cesium-viewer .wfsContainer .blinking{animation:blink 1s infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.5}}.cesium-viewer .geocoderContainer{display:flex;flex-direction:row-reverse;color:var(--mdc-theme-cesium-color)}.cesium-viewer .geocoderContainer .mdc-text-field__input{width:100%;border-radius:4px;padding:4px}.cesium-viewer .geocoderContainer .listsContainer{max-height:348px;overflow-y:auto;overflow-x:hidden;width:100%}.cesium-viewer .geocoderContainer .listContainer{border:1px solid var(--mdc-theme-cesium-color);min-height:56px;width:308px;max-height:56px;overflow-y:auto;overflow-x:hidden;padding-top:2px}.cesium-viewer .geocoderContainer .listContainer .queryItemResult{display:flex;justify-content:space-between;width:100%}.cesium-viewer .geocoderContainer .listContainer .queryNoResults{justify-content:normal;color:unset}.cesium-viewer .geocoderContainer .listContainer .queryError{color:var(--mdc-theme-cesium-error)}.cesium-viewer .geocoderContainer .listContainer .queryWarning{color:var(--mdc-theme-cesium-warning)}.cesium-viewer .geocoderContainer .listContainer .generalListItem{font-size:var(--mdc-theme-cesium-font-size);text-wrap:wrap!important;padding:unset;padding-right:4px;padding-left:4px}body[dir=ltr] .cesium-viewer .geocoderContainer .geocoderForm{position:relative;right:8%}body[dir=rtl] .cesium-viewer .geocoderContainer .geocoderForm{position:relative;right:0%}.cesium-viewer .geocoderContainer .checkboxesContainer{display:flex;justify-content:space-between;padding-bottom:8px}.cesium-viewer .geocoderContainer .checkboxElement{font-size:var(--mdc-theme-cesium-font-size);font-weight:700;flex:1}.cesium-viewer .geocoderContainer .bold{font-weight:700}.cesium-viewer .geocoderContainer .cesium-geocoder-searchButton{position:relative!important}.cesium-viewer .geocoderContainer .cesium-geocoder-input{width:100%;background:transparent;border-color:var(--mdc-theme-cesium-color)}.viewer .mapLegendSidebarContainer{width:340px;height:100%;position:relative;overflow-y:auto;overflow-x:hidden;font-size:16px}.viewer .mapLegendSidebarContainer.mdc-drawer--animate{transform:translate(0)!important;transition:none!important}.viewer .mapLegendSidebarContainer.mdc-drawer--dismissible{position:relative}.viewer div.MuiPaper-root{transition:none!important}.viewer .mapLegendCloseBtn{position:absolute;top:0;right:0;cursor:pointer;width:50px;height:50px;padding:20px;font-size:24px}body[dir=rtl] .viewer .mapLegendCloseBtn{right:unset;left:0}.viewer .mapLegendIcon{width:2rem;height:2rem;transform:translate(8%,8%)}.viewer .sidebarHeaderContainer{text-align:center;margin-top:40px}.viewer .sidebarTitle{font-size:1.5rem;font-weight:700}.viewer .mapLegend{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 14px}.viewer .layerNameContainer{width:90%;display:flex;justify-content:center;align-items:center}.viewer .layerName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer .legendImg{width:90%;height:150px;border:1px solid black;border-radius:5px;object-fit:cover;cursor:pointer}.viewer .legendActionsContainer{display:flex;flex-direction:row;align-self:center}.viewer .legendAction:not(:last-child):after{content:"|";margin:0 4px}.viewer .mapLegendsList{display:flex;flex-direction:column;padding:20px 0;width:100%;height:90%}.viewer .legendAction{text-decoration:underline;cursor:pointer;font-size:1.1rem;transition:all .1s ease-in-out;width:max-content}.viewer .legendAction:hover{filter:brightness(1.2)}.viewer .noLegendsContainer{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.viewer .noLegendsMsg{text-align:center}.cesium-viewer .compass{top:20px;right:0px}body[dir=rtl] .cesium-viewer .compass{right:unset;left:0px}.cesium-viewer .coordinatesTracker{background-color:var(--mdc-theme-surface);padding-top:7px;border-radius:2px;font-size:12px;text-align:center;white-space:nowrap;min-width:200px}.cesium-viewer .scaleTracker{background-color:var(--mdc-theme-surface);padding-top:4px;border-radius:2px;font-size:12px;width:110px}.cesium-viewer .scaleTrackerLabel{text-align:center}.cesium-viewer .scaleTrackerBar{background:var(--mdc-theme-on-surface);margin:0 auto;display:block;transition:all .5s ease-in-out}.cesium-viewer .zoomButtons{display:flex;flex-direction:column;gap:2px;position:absolute;bottom:48px;right:30px}body[dir=rtl] .cesium-viewer .zoomButtons{right:unset;left:30px}.cesium-viewer .zoomButton{width:32px;height:32px;background:#303336;border:1px solid #444;border-radius:4px;box-sizing:border-box;display:flex;justify-content:center;padding:4px;cursor:pointer}.cesium-viewer .zoomButton:hover{background:#48b;border-color:#aef}.cesium-viewer .zoomLevel{background-color:var(--mdc-theme-surface);border-radius:2px;padding:2px;height:24px}.cesium-viewer .zoomLevelValue{margin:2px;font-size:14px;line-height:12px;text-align:center}.cesium-viewer .zoomLevelLabel{font-size:8px;line-height:8px;display:table;margin:auto}.cesium-viewer .cesium-widget-credits{display:none!important}.cesium-viewer .cesium-viewer-toolbar{display:flex;flex-direction:column;align-items:flex-end;top:116px;right:27px}body[dir=rtl] .cesium-viewer .cesium-viewer-toolbar{left:27px;right:unset}.cesium-viewer .widgetsContainer{top:24px;left:10px}body[dir=rtl] .cesium-viewer .widgetsContainer{left:unset;right:10px}.cesium-viewer .cesium-mc-tool{display:block;position:absolute;box-sizing:content-box;top:auto;right:0;width:320px;max-height:500px;margin-top:5px;background-color:#262626bf;border:1px solid #444;padding:6px;overflow:auto;border-radius:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;transform:translateY(-20%);visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in,transform .2s ease-in}.cesium-viewer .cesium-mc-tool-visible{transform:translate(0);visibility:visible;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.cesium-viewer .cesium-mc-title{display:block;font-family:sans-serif;font-size:16pt;text-align:left;margin-bottom:4px}body[dir=rtl] .cesium-viewer .cesium-mc-title{text-align:right}.cesium-viewer .cesium-mc-tool{color:var(--mdc-theme-cesium-color);right:40px;margin-top:0}body[dir=rtl] .cesium-viewer .cesium-mc-tool{right:unset;left:40px}.cesium-viewer .cesium-mc-choices{display:block;border:1px solid #888;border-radius:5px;padding:5px 0;margin-bottom:5px}.cesium-viewer .cesium-baseLayerPicker-dropDown{right:40px;margin-top:0}body[dir=rtl] .cesium-viewer .cesium-baseLayerPicker-dropDown{right:unset;left:40px}body[dir=rtl] .cesium-viewer .cesium-baseLayerPicker-sectionTitle{text-align:right}.cesium-viewer span.cesium-sceneModePicker-wrapper{width:100%;display:flex;flex-direction:row-reverse;align-items:center;column-gap:4px;margin:3px 3px 1px}.cesium-viewer .cesium-viewer-fullscreenContainer{width:32px;height:32px;bottom:9px;right:30px}body[dir=rtl] .cesium-viewer .cesium-viewer-fullscreenContainer{right:unset;left:30px}.cesium-viewer .cesium-button.cesium-fullscreenButton{border-radius:14%;box-sizing:border-box}.cesium-viewer .bottomToolsContainer{color:var(--mdc-theme-on-surface);opacity:.7;display:flex;gap:8px;position:absolute;bottom:10px;right:70px}body[dir=rtl] .cesium-viewer .bottomToolsContainer{left:70px;right:unset}.cesium-viewer input[type=checkbox]{accent-color:var(--mdc-theme-cesium-checkbox-color)}.cesium-viewer input::placeholder{color:unset;opacity:.8}.cesium-viewer input{font-size:var(--mdc-theme-cesium-font-size);color:unset;font-weight:700;caret-color:unset}.cesium-viewer ::-webkit-scrollbar{width:6px;height:6px}.cesium-viewer ::-webkit-scrollbar-track{box-shadow:inset 0 0 6px #0000004d;border-radius:6px}.cesium-viewer ::-webkit-scrollbar-thumb{background-color:#aaa;border-radius:6px}.cesium-viewer .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-theme-cesium-checkbox-color);background-color:var(--mdc-theme-cesium-checkbox-color)}.cesium-viewer .mdc-checkbox--upgraded{--mdc-checkbox-checked-color: var(--mdc-theme-cesium-checkbox-color)}.cesium-viewer .mdc-checkbox{width:var(--mdc-theme-cesium-checkbox-width);height:var(--mdc-theme-cesium-checkbox-height)}.cesium-viewer .mdc-checkbox__background{width:12px;height:12px}.cesium-viewer .mdc-form-field{color:unset;margin:-2% -2% -4%}.cesium-viewer .mdc-form-field>label{color:unset}.cesium-viewer .mdc-ripple-upgraded--unbounded{--mdc-ripple-fg-size: 0px !important}.cesium-viewer .mdc-list{font-size:var(--mdc-theme-cesium-font-size);font-family:sans-serif;padding:1px;color:unset}.cesium-viewer .mdc-list-item{padding:unset;padding-right:4px;padding-left:4px;height:24px;font-weight:700}.cesium-viewer .mdc-text-field--filled{height:32px}.cesium-viewer .mdc-text-field__input{box-sizing:border-box;border:unset}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:transparent!important}.cesium-viewer .mdc-text-field{padding:unset;padding-right:4px;padding-left:4px}.cesium-viewer .mdc-line-ripple:before,.cesium-viewer .mdc-line-ripple:after{border-bottom:none!important}.cesium-viewer .disabled{opacity:.6;cursor:initial}.cesium-viewer .search-results{padding:4px}.viewer{display:flex;flex-direction:row}.viewer .mdc-linear-progress__bar-inner{border-top-width:10px}.twipsy{display:block;position:absolute;visibility:visible;max-width:200px;min-width:100px;padding:5px;font-size:11px;z-index:100;opacity:.8;-khtml-opacity:.8;-moz-opacity:.8;filter:alpha(opacity=80)}.twipsy.left .twipsy-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000}.twipsy.right .twipsy-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000}.twipsy-inner{padding:3px 8px;background-color:#000;color:#fff;text-align:center;max-width:200px;text-decoration:none;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.twipsy-arrow{position:absolute;width:0;height:0}.toolbar{margin:0;padding:0;background:white}.toolbar>.button{margin:5px;padding:5px;border:1px solid #eee;cursor:pointer}.toolbar>.button:hover{background:#eee}.infoWindow{position:absolute;min-width:100px;max-width:300px}.infoWindow #frame{padding:10px;border:1px solid black;background:white}.infoWindow #close{float:right;margin:5px 2px;font-size:small;color:gray;cursor:pointer}.infoWindow #arrow{position:absolute;bottom:-8px;left:50%;margin-left:-10px;border-right:10px solid transparent;border-left:10px solid transparent;border-top:10px solid white}.react-autocomplete-input{background-clip:padding-box;background-color:#fff;bottom:auto;box-shadow:0 6px 12px #0000002d;display:block;font-size:14px;list-style:none;padding:1px;position:absolute;z-index:200;margin-block-start:unset;margin-block-end:unset}.react-autocomplete-input>li{cursor:pointer;padding:10px;min-width:100px}.react-autocomplete-input>li.active{background-color:#337ab7;color:#fff}body[dir=rtl] .chonky-fileListWrapper [class^=listContainer-]{direction:rtl!important}body[dir=rtl] .chonky-fileEntryClickableWrapper [class^=listFileEntryProperty-],body[dir=rtl] .chonky-navbarContainer{direction:ltr!important}body[dir=rtl] .chonky-chonkyRoot{text-align:right}body[dir=rtl] .chonky-infoText{margin-left:unset;margin-right:12px}body[dir=rtl] .chonky-contextMenuList .MuiListItemText-root,body[dir=rtl] .chonky-dropdownList .MuiListItemText-root{text-align:right}body[dir=rtl] .chonky-icon{margin-right:unset;margin-left:8px}.chonky-chonkyRoot div[class^=folderBackSide]{box-shadow:unset}.chonky-chonkyRoot div[class^=folderBackSide]:after{border-color:var(--fp-theme-background, #fff) var(--fp-theme-background, #fff) transparent transparent}.chonky-chonkyRoot div[class^=listFileEntryIcon-]{color:#d5d5d5}.chonky-chonkyRoot div[class*=previewFile-d]{background-color:#d5d5d5}.chonky-chonkyRoot div[class^=selectionIndicator-]{background:var(--fp-theme-selection-background, #455570)}.chonky-chonkyRoot{background-color:var(--fp-theme-background, #fff)!important}.chonky-contextMenuList{background-color:var(--fp-theme-surface, #fff)!important}button[class*=chonky-activeButton],.chonky-selectionSizeText{color:var(--fp-theme-primary, #24aee9)!important}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
+ var mi = Object.defineProperty;
3
+ var pi = (e, t, n) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
+ var ue = (e, t, n) => (pi(e, typeof t != "symbol" ? t + "" : t, n), n);
5
+ import { jsx as a, jsxs as z, Fragment as ge } from "react/jsx-runtime";
6
6
  import * as Rn from "react";
7
- import ke, { useState as O, useEffect as B, useMemo as ae, forwardRef as mi, createContext as ze, useContext as Ve, useRef as Se, useLayoutEffect as Dn, useCallback as Le } from "react";
8
- import { isValid as $e, isBefore as pi, format as It, endOfDay as gi, isSameDay as on } from "date-fns";
7
+ import ke, { useState as B, useEffect as O, useMemo as ae, forwardRef as gi, createContext as ze, useContext as Ve, useRef as Te, useLayoutEffect as Dn, useCallback as Le } from "react";
8
+ import { isValid as $e, isBefore as fi, format as It, endOfDay as yi, isSameDay as on } from "date-fns";
9
9
  import { he as On, enUS as kn } from "date-fns/locale";
10
- import { MuiPickersUtilsProvider as Nn, KeyboardDateTimePicker as Pt, KeyboardDatePicker as fi } from "@material-ui/pickers";
11
- import Bn from "@date-io/date-fns";
12
- import { createTheme as yi, makeStyles as ct, createStyles as Ht } from "@material-ui/core/styles";
13
- import { Box as vi, ThemeProvider as Wt, Popover as wi, Paper as xt, TableRow as ot, TableCell as Ze, TableSortLabel as Ei, IconButton as Li, Collapse as Ci, TableContainer as bi, Table as Ti, TableBody as Si, Typography as _i, TablePagination as Mi, Input as Ii } from "@material-ui/core";
14
- import { useTheme as lt, ThemeProvider as Fn, Button as Je, TextField as Qe, Tooltip as We, Menu as Pi, MenuItem as ft, Typography as At, Checkbox as Rt, List as xi, ListItem as Ai, ListItemSecondaryText as yt, Drawer as Ri, DrawerHeader as Di, DrawerTitle as Oi, DrawerContent as ki, Icon as Gn, LinearProgress as Ni } from "@map-colonies/react-core";
15
- import { default as zl } from "@material-ui/core/useMediaQuery";
16
- import Bi, { registerLocale as Fi } from "react-datepicker";
17
- import Gi from "date-fns/locale/he";
10
+ import Nn from "@date-io/date-fns";
11
+ import { MuiPickersUtilsProvider as Bn, KeyboardDateTimePicker as Fn, KeyboardDatePicker as Gn } from "@material-ui/pickers";
12
+ import { Box as vi, ThemeProvider as Vt, Popover as wi, Paper as Pt, TableRow as ot, TableCell as Ze, TableSortLabel as Ei, IconButton as Li, Collapse as Ci, TableContainer as bi, Table as Ti, TableBody as Si, Typography as _i, TablePagination as Mi, Input as Ii } from "@material-ui/core";
13
+ import { createTheme as Pi, makeStyles as ct, createStyles as Ht } from "@material-ui/core/styles";
14
+ import { useTheme as lt, ThemeProvider as Vn, Button as Je, TextField as Qe, Tooltip as We, Menu as xi, MenuItem as ft, Typography as xt, Checkbox as At, List as Ai, ListItem as Ri, ListItemSecondaryText as yt, Drawer as Di, DrawerHeader as Oi, DrawerTitle as ki, DrawerContent as Ni, Icon as Hn, LinearProgress as Bi } from "@map-colonies/react-core";
15
+ import { default as Yl } from "@material-ui/core/useMediaQuery";
16
+ import Fi, { registerLocale as Gi } from "react-datepicker";
17
+ import Vi from "date-fns/locale/he";
18
18
  import je from "moment";
19
- import Vi from "@turf/rewind";
20
- import { Map as Hi, View as Wi } from "ol";
19
+ import Hi from "@turf/rewind";
20
+ import { Map as Wi, View as zi } from "ol";
21
21
  import "ol/ol.css";
22
22
  import { format as sn } from "ol/coordinate";
23
- import { defaults as zi, FullScreen as an } from "ol/control";
23
+ import { defaults as Ui, FullScreen as an } from "ol/control";
24
24
  import vt from "ol/control/MousePosition";
25
- import { transform as Ui, get as $i } from "ol/proj";
26
- import { Tile as ji, Vector as Yi } from "ol/layer";
27
- import { Vector as Zi, OSM as Xi, WMTS as qi } from "ol/source";
28
- import { GeoJSON as Vn, MVT as Ki } from "ol/format";
29
- import { Draw as Ji } from "ol/interaction";
30
- import { createBox as Qi } from "ol/interaction/Draw";
31
- import er from "ol/layer/VectorTile";
32
- import { Fill as tr, Stroke as nr, Style as ir, Circle as rr } from "ol/style";
33
- import or from "ol/tilegrid/WMTS";
34
- import { getWidth as sr, getTopLeft as ar } from "ol/extent";
35
- import cr from "ol/source/TileWMS";
36
- import lr from "ol/source/XYZ";
37
- import dr from "ol/source/VectorTile";
25
+ import { transform as $i, get as ji } from "ol/proj";
26
+ import { Tile as Yi, Vector as Zi } from "ol/layer";
27
+ import { Vector as Xi, OSM as Ki, WMTS as qi } from "ol/source";
28
+ import { GeoJSON as Wn, MVT as Ji } from "ol/format";
29
+ import { Draw as Qi } from "ol/interaction";
30
+ import { createBox as er } from "ol/interaction/Draw";
31
+ import tr from "ol/layer/VectorTile";
32
+ import { Fill as nr, Stroke as ir, Style as rr, Circle as or } from "ol/style";
33
+ import sr from "ol/tilegrid/WMTS";
34
+ import { getWidth as ar, getTopLeft as cr } from "ol/extent";
35
+ import lr from "ol/source/TileWMS";
36
+ import dr from "ol/source/XYZ";
37
+ import ur from "ol/source/VectorTile";
38
38
  import cn from "ol-ext/legend/Legend";
39
- import ur from "ol-ext/control/Legend";
39
+ import hr from "ol-ext/control/Legend";
40
40
  import "ol-ext/dist/ol-ext.css";
41
- import hr from "@material-ui/core/TableHead";
42
- import { createSvgIcon as Hn } from "@material-ui/core/utils";
43
- import mr from "@material-ui/core/CssBaseline";
44
- import pr from "@material-ui/core/ScopedCssBaseline";
41
+ import mr from "@material-ui/core/TableHead";
42
+ import { createSvgIcon as zn } from "@material-ui/core/utils";
43
+ import pr from "@material-ui/core/CssBaseline";
44
+ import gr from "@material-ui/core/ScopedCssBaseline";
45
45
  import { createPortal as wt } from "react-dom";
46
- import { Viewer as gr, Cesium3DTileset as fr, GeoJsonDataSource as yr, ImageryLayer as vr, Entity as wr, EntityDescription as Wn, PolygonGraphics as Er, RectangleGraphics as Lr, CustomDataSource as Cr, PolylineGraphics as br } from "resium";
46
+ import { Viewer as fr, Cesium3DTileset as yr, GeoJsonDataSource as vr, ImageryLayer as wr, Entity as Er, EntityDescription as Un, PolygonGraphics as Lr, RectangleGraphics as Cr, CustomDataSource as br, PolylineGraphics as Tr } from "resium";
47
47
  import * as T from "cesium";
48
- import { Rectangle as Be, EllipsoidTerrainProvider as zn, PolylineDashMaterialProperty as Tr, ConstantProperty as Sr, ConstantPositionProperty as _r, Cartesian2 as Ie, Cartesian3 as Te, Cartographic as Oe, BoundingSphere as Un, Ellipsoid as zt, GeographicTilingScheme as Mr, Resource as Ir, CesiumTerrainProvider as Pr, PolylineGraphics as $n, JulianDate as Ye, PositionProperty as xr, BillboardGraphics as Dt, Color as Ge, PolygonHierarchy as jn, Scene as Ar, VerticalOrigin as st, HorizontalOrigin as Rr, SceneMode as Fe, LabelStyle as Yn, HeightReference as Ot, Math as ne, defined as kt, PerspectiveFrustum as Dr, PolygonGraphics as Or, GeoJsonDataSource as Ut, SceneTransforms as Zn, UrlTemplateImageryProvider as $t, WebMapServiceImageryProvider as jt, WebMapTileServiceImageryProvider as Yt, Event as ln, SingleTileImageryProvider as kr, ScreenSpaceEventType as Nt, WebMercatorProjection as Nr, EventHelper as Br, EllipsoidGeodesic as Fr, Viewer as Gr, Matrix4 as Vr, OpenStreetMapImageryProvider as Hr, ScreenSpaceEventHandler as Wr, viewerCesiumInspectorMixin as zr, sampleTerrainMostDetailed as Ur } from "cesium";
49
- import { Entity as $l, PolygonGraphics as jl, GeoJsonDataSource as Yl, Math as Zl, SceneTransforms as Xl, sampleTerrainMostDetailed as ql } from "cesium";
50
- import { get as Q, debounce as $r, isEmpty as Bt, isNumber as et, isArray as dn, cloneDeep as jr, find as un } from "lodash";
48
+ import { Rectangle as Be, EllipsoidTerrainProvider as $n, PolylineDashMaterialProperty as Sr, ConstantProperty as _r, ConstantPositionProperty as Mr, Cartesian2 as Ie, Cartesian3 as Se, Cartographic as Oe, BoundingSphere as jn, Ellipsoid as Wt, GeographicTilingScheme as Ir, Resource as Pr, CesiumTerrainProvider as xr, PolylineGraphics as Yn, JulianDate as Ye, PositionProperty as Ar, BillboardGraphics as Rt, Color as Ge, PolygonHierarchy as Zn, Scene as Rr, VerticalOrigin as st, HorizontalOrigin as Dr, SceneMode as Fe, LabelStyle as Xn, HeightReference as Dt, Math as ne, defined as Ot, PerspectiveFrustum as Or, PolygonGraphics as kr, GeoJsonDataSource as zt, SceneTransforms as Kn, UrlTemplateImageryProvider as Ut, WebMapServiceImageryProvider as $t, WebMapTileServiceImageryProvider as jt, Event as ln, SingleTileImageryProvider as Nr, ScreenSpaceEventType as kt, WebMercatorProjection as Br, EventHelper as Fr, EllipsoidGeodesic as Gr, Viewer as Vr, Matrix4 as Hr, OpenStreetMapImageryProvider as Wr, ScreenSpaceEventHandler as zr, viewerCesiumInspectorMixin as Ur, sampleTerrainMostDetailed as $r } from "cesium";
49
+ import { Entity as Xl, PolygonGraphics as Kl, GeoJsonDataSource as ql, Math as Jl, SceneTransforms as Ql, sampleTerrainMostDetailed as ed } from "cesium";
50
+ import { get as ee, debounce as jr, isEmpty as Nt, isNumber as et, isArray as dn, cloneDeep as Yr, find as un } from "lodash";
51
51
  import dt from "@turf/bbox";
52
- import { getType as Yr } from "@turf/invariant";
52
+ import { getType as Zr } from "@turf/invariant";
53
53
  import hn from "@turf/area";
54
54
  import ut from "@turf/bbox-polygon";
55
- import Zr from "@turf/centroid";
56
- import * as Xn from "@turf/helpers";
57
- import { point as Xr } from "@turf/helpers";
55
+ import Xr from "@turf/centroid";
56
+ import * as qn from "@turf/helpers";
57
+ import { point as Kr } from "@turf/helpers";
58
58
  import mn from "@turf/intersect";
59
59
  import qr from "@turf/point-to-polygon-distance";
60
60
  import "@map-colonies/react-core/dist/list/styles";
61
61
  import "@map-colonies/react-core/dist/textfield/styles";
62
- import Kr from "@turf/boolean-point-in-polygon";
63
- import Jr from "@cmcleese/cesium-navigation";
62
+ import Jr from "@turf/boolean-point-in-polygon";
63
+ import Qr from "@cmcleese/cesium-navigation";
64
64
  import "@cmcleese/cesium-navigation/dist/index.css";
65
65
  import "@map-colonies/react-core/dist/linear-progress/styles";
66
66
  import "@map-colonies/react-core/dist/checkbox/styles";
67
67
  import Et from "p-map";
68
68
  import { v4 as pn } from "uuid";
69
- import Qr from "@turf/boolean-valid";
70
- import eo from "textarea-caret";
71
- import to, { setCaretPosition as no } from "get-input-selection";
72
- import { ChonkyActions as ie, FileHelper as qn, setChonkyDefaults as io, FullFileBrowser as ro } from "chonky";
73
- import { ChonkyIconFA as oo } from "chonky-icon-fontawesome";
74
- import so from "filesize";
75
- import ao, { components as co } from "react-select";
76
- import { buildStyles as lo, CircularProgressbarWithChildren as uo, CircularProgressbar as ho } from "react-circular-progressbar";
77
- import { buildStyles as Jl } from "react-circular-progressbar";
69
+ import eo from "@turf/boolean-valid";
70
+ import to from "textarea-caret";
71
+ import no, { setCaretPosition as io } from "get-input-selection";
72
+ import { ChonkyActions as ie, FileHelper as Jn, setChonkyDefaults as ro, FullFileBrowser as oo } from "chonky";
73
+ import { ChonkyIconFA as so } from "chonky-icon-fontawesome";
74
+ import ao from "filesize";
75
+ import co, { components as lo } from "react-select";
76
+ import { buildStyles as uo, CircularProgressbarWithChildren as ho, CircularProgressbar as mo } from "react-circular-progressbar";
77
+ import { buildStyles as nd } from "react-circular-progressbar";
78
78
  import "react-circular-progressbar/dist/styles.css";
79
- import { Animate as mo } from "react-move";
80
- var be = /* @__PURE__ */ ((e) => (e.BOX = "BOX", e.POLYGON = "POLYGON", e.UNKNOWN = "UNKNOWN", e))(be || {}), Me = /* @__PURE__ */ ((e) => (e.HE = "he", e.EN = "en", e.RU = "ru", e))(Me || {}), Ft = /* @__PURE__ */ ((e) => (e.TOP_RIGHT = "TOP_RIGHT", e.BOTTOM_LEFT = "BOTTOM_LEFT", e))(Ft || {});
79
+ import { Animate as po } from "react-move";
80
+ const q = (e) => {
81
+ const { children: t, ...n } = e;
82
+ return /* @__PURE__ */ a(vi, { ...n, children: t });
83
+ };
84
+ var be = /* @__PURE__ */ ((e) => (e.BOX = "BOX", e.POLYGON = "POLYGON", e.UNKNOWN = "UNKNOWN", e))(be || {}), Me = /* @__PURE__ */ ((e) => (e.HE = "he", e.EN = "en", e.RU = "ru", e))(Me || {}), Bt = /* @__PURE__ */ ((e) => (e.TOP_RIGHT = "TOP_RIGHT", e.BOTTOM_LEFT = "BOTTOM_LEFT", e))(Bt || {});
81
85
  const me = {
82
86
  // eslint-disable-next-line @typescript-eslint/naming-convention
83
87
  DATE_PICKER: {
@@ -103,15 +107,13 @@ const me = {
103
107
  },
104
108
  renderAsButton: !0,
105
109
  offset: 0,
106
- disableFuture: !0
110
+ disableFuture: !0,
111
+ showTime: !0
107
112
  }
108
- }, K = (e) => {
109
- const { children: t, ...n } = e;
110
- return /* @__PURE__ */ s(vi, { ...n, children: t });
111
- }, Zt = (e) => {
113
+ }, Yt = (e) => {
112
114
  const t = e.type === "dark";
113
- return ke.useMemo(() => po(e, t), [t, e]);
114
- }, po = (e, t = !1) => yi({
115
+ return ke.useMemo(() => go(e, t), [t, e]);
116
+ }, go = (e, t = !1) => Pi({
115
117
  palette: {
116
118
  type: t ? "dark" : "light",
117
119
  primary: {
@@ -132,7 +134,7 @@ const me = {
132
134
  secondary: t ? e.textSecondaryOnDark : e.textSecondaryOnLight
133
135
  }
134
136
  }
135
- }), go = (e) => ke.useMemo(() => ({
137
+ }), fo = (e) => ke.useMemo(() => ({
136
138
  ...e,
137
139
  "cesium-color": "#EDFFFF",
138
140
  "cesium-error": e["--mdc-theme-gc-error-medium"] ?? "#FF3636",
@@ -142,51 +144,51 @@ const me = {
142
144
  "cesium-checkbox-height": "12px",
143
145
  "cesium-font-size": "10pt"
144
146
  }), [e]);
145
- const fo = 2, yo = 0.5, vo = ct(
147
+ const yo = 2, vo = 0.5, wo = ct(
146
148
  (e) => Ht({
147
149
  container: {
148
- padding: e.spacing(fo),
150
+ padding: e.spacing(yo),
149
151
  alignItems: "center"
150
152
  },
151
153
  setButton: {
152
154
  marginTop: e.spacing(1)
153
155
  },
154
156
  margin: {
155
- marginLeft: e.spacing(yo)
157
+ marginLeft: e.spacing(vo)
156
158
  }
157
159
  })
158
- ), wo = (e) => {
159
- var j, N, Z, V;
160
- const t = vo(), n = lt(), i = Zt(n), [o, r] = O(null), [l, d] = O(null), [h, f] = O(me.DATE_RANGE_PICKER.dateFormat), C = e.controlsLayout ?? me.DATE_RANGE_PICKER.controlsLayout, L = e.disableFuture ?? me.DATE_RANGE_PICKER.disableFuture, u = ((j = e.local) == null ? void 0 : j.startPlaceHolderText) ?? me.DATE_RANGE_PICKER.local.startPlaceHolderText, g = ((N = e.local) == null ? void 0 : N.endPlaceHolderText) ?? me.DATE_RANGE_PICKER.local.endPlaceHolderText, _ = ((Z = e.local) == null ? void 0 : Z.setText) ?? me.DATE_RANGE_PICKER.local.setText, k = (((V = e.local) == null ? void 0 : V.calendarLocale) ?? me.DATE_RANGE_PICKER.local.calendarLocale) === Me.HE ? On : kn;
161
- B(() => {
160
+ ), Eo = (e) => {
161
+ var Z, V, Y, J;
162
+ const t = wo(), n = lt(), i = Yt(n), [o, r] = B(null), [l, d] = B(null), [h, f] = B(me.DATE_RANGE_PICKER.dateFormat), C = e.controlsLayout ?? me.DATE_RANGE_PICKER.controlsLayout, L = e.disableFuture ?? me.DATE_RANGE_PICKER.disableFuture, u = ((Z = e.local) == null ? void 0 : Z.startPlaceHolderText) ?? me.DATE_RANGE_PICKER.local.startPlaceHolderText, g = ((V = e.local) == null ? void 0 : V.endPlaceHolderText) ?? me.DATE_RANGE_PICKER.local.endPlaceHolderText, _ = ((Y = e.local) == null ? void 0 : Y.setText) ?? me.DATE_RANGE_PICKER.local.setText, v = ((J = e.local) == null ? void 0 : J.calendarLocale) ?? me.DATE_RANGE_PICKER.local.calendarLocale, k = e.showTime ?? me.DATE_RANGE_PICKER.showTime, G = v === Me.HE ? On : kn;
163
+ O(() => {
162
164
  r(e.from ?? null);
163
- }, [e.from]), B(() => {
165
+ }, [e.from]), O(() => {
164
166
  d(e.to ?? null);
165
- }, [e.to]), B(() => {
167
+ }, [e.to]), O(() => {
166
168
  f(e.dateFormat ?? me.DATE_RANGE_PICKER.dateFormat);
167
169
  }, [e.dateFormat]);
168
- const G = Boolean(
169
- $e(o) && !l || $e(l) && !o || o && l && $e(o) && $e(l) && pi(o, l)
170
- ), $ = () => {
170
+ const $ = Boolean(
171
+ $e(o) && !l || $e(l) && !o || o && l && $e(o) && $e(l) && fi(o, l)
172
+ ), j = () => {
171
173
  e.onChange({
172
174
  from: o && $e(o) ? o : void 0,
173
175
  to: l && $e(l) ? l : void 0
174
176
  });
175
- };
176
- return /* @__PURE__ */ s(Wt, { theme: i, children: /* @__PURE__ */ s(
177
- K,
177
+ }, N = k ? Fn : Gn;
178
+ return /* @__PURE__ */ a(Vt, { theme: i, children: /* @__PURE__ */ a(
179
+ q,
178
180
  {
179
181
  className: `${t.container} drpContainer`,
180
182
  display: "flex",
181
183
  flexDirection: C,
182
184
  width: C === "column" ? e.contentWidth : "unset",
183
- children: /* @__PURE__ */ z(Nn, { utils: Bn, locale: k, children: [
184
- /* @__PURE__ */ s(
185
- Pt,
185
+ children: /* @__PURE__ */ z(Bn, { utils: Nn, locale: G, children: [
186
+ /* @__PURE__ */ a(
187
+ N,
186
188
  {
187
189
  variant: "inline",
188
190
  placeholder: u,
189
- onChange: (Y) => r(Y),
191
+ onChange: (s) => r(s),
190
192
  value: o,
191
193
  disableFuture: L,
192
194
  format: h,
@@ -194,13 +196,13 @@ const fo = 2, yo = 0.5, vo = ct(
194
196
  minDate: e.minDate
195
197
  }
196
198
  ),
197
- /* @__PURE__ */ s(
198
- Pt,
199
+ /* @__PURE__ */ a(
200
+ N,
199
201
  {
200
202
  variant: "inline",
201
203
  placeholder: g,
202
204
  className: t.margin,
203
- onChange: (Y) => d(Y),
205
+ onChange: (s) => d(s),
204
206
  value: l,
205
207
  disableFuture: L,
206
208
  format: h,
@@ -208,42 +210,42 @@ const fo = 2, yo = 0.5, vo = ct(
208
210
  minDate: e.minDate
209
211
  }
210
212
  ),
211
- /* @__PURE__ */ s(Fn, { options: n, children: /* @__PURE__ */ s(
213
+ /* @__PURE__ */ a(Vn, { options: n, children: /* @__PURE__ */ a(
212
214
  Je,
213
215
  {
214
216
  className: `${t.setButton} ${t.margin}`,
215
217
  raised: !0,
216
- onClick: $,
217
- disabled: !G,
218
+ onClick: j,
219
+ disabled: !$,
218
220
  children: _
219
221
  }
220
222
  ) })
221
223
  ] })
222
224
  }
223
225
  ) });
224
- }, Eo = (e) => {
226
+ }, Lo = (e) => {
225
227
  const { children: t, ...n } = e;
226
- return /* @__PURE__ */ s(wi, { ...n, children: t });
228
+ return /* @__PURE__ */ a(wi, { ...n, children: t });
227
229
  };
228
- const Oc = (e) => {
230
+ const Fc = (e) => {
229
231
  var N, Z;
230
- const [t, n] = O(null), [i, o] = O(null), [r, l] = O(me.DATE_RANGE_PICKER.dateFormat), [d, h] = ke.useState(null), f = (V) => {
232
+ const [t, n] = B(null), [i, o] = B(null), [r, l] = B(me.DATE_RANGE_PICKER.dateFormat), [d, h] = ke.useState(null), f = (V) => {
231
233
  h(V.currentTarget);
232
234
  }, C = (V) => {
233
235
  V.currentTarget.tagName === "I" ? h(V.currentTarget.previousElementSibling) : h(V.currentTarget);
234
236
  }, L = () => {
235
237
  h(null);
236
238
  }, u = Boolean(d), g = e.controlsLayout ?? "column";
237
- B(() => {
239
+ O(() => {
238
240
  n(e.from ?? null);
239
- }, [e.from]), B(() => {
241
+ }, [e.from]), O(() => {
240
242
  o(e.to ?? null);
241
- }, [e.to]), B(() => {
243
+ }, [e.to]), O(() => {
242
244
  l(e.dateFormat ?? me.DATE_RANGE_PICKER.dateFormat);
243
245
  }, [e.dateFormat]);
244
246
  const _ = ((N = e.local) == null ? void 0 : N.startPlaceHolderText) ?? me.DATE_RANGE_PICKER.local.startPlaceHolderText, v = ((Z = e.local) == null ? void 0 : Z.endPlaceHolderText) ?? me.DATE_RANGE_PICKER.local.endPlaceHolderText, k = e.renderAsButton === void 0 ? me.DATE_RANGE_PICKER.renderAsButton : e.renderAsButton, G = e.offset === void 0 ? me.DATE_RANGE_PICKER.offset : e.offset, $ = e.disableFuture === void 0 ? me.DATE_RANGE_PICKER.disableFuture : e.disableFuture, j = ae(() => `${t ? It(t, r) : _} - ${i ? It(i, r) : v}`, [t, i, r, _, v]);
245
247
  return /* @__PURE__ */ z(ge, { children: [
246
- k ? /* @__PURE__ */ s(Je, { style: { width: e.width }, raised: !0, onClick: f, className: "drpOpener", children: j }) : /* @__PURE__ */ s(
248
+ k ? /* @__PURE__ */ a(Je, { style: { width: e.width }, raised: !0, onClick: f, className: "drpOpener", children: j }) : /* @__PURE__ */ a(
247
249
  Qe,
248
250
  {
249
251
  className: "drpOpener",
@@ -258,8 +260,8 @@ const Oc = (e) => {
258
260
  }
259
261
  }
260
262
  ),
261
- /* @__PURE__ */ s(Eo, { open: u, anchorEl: d, onClose: L, anchorOrigin: { vertical: "bottom", horizontal: "left" }, keepMounted: !0, children: /* @__PURE__ */ s(
262
- wo,
263
+ /* @__PURE__ */ a(Lo, { open: u, anchorEl: d, onClose: L, anchorOrigin: { vertical: "bottom", horizontal: "left" }, keepMounted: !0, children: /* @__PURE__ */ a(
264
+ Eo,
263
265
  {
264
266
  controlsLayout: g,
265
267
  contentWidth: ((d == null ? void 0 : d.clientWidth) ?? 0) - G,
@@ -276,7 +278,7 @@ const Oc = (e) => {
276
278
  }
277
279
  ) })
278
280
  ] });
279
- }, Lt = (e) => typeof e < "u" && e !== null && "startDate" in e && "endDate" in e, kc = ({
281
+ }, Lt = (e) => typeof e < "u" && e !== null && "startDate" in e && "endDate" in e, Gc = ({
280
282
  endDate: e,
281
283
  startDate: t,
282
284
  setEndDate: n = () => {
@@ -291,7 +293,7 @@ const Oc = (e) => {
291
293
  startTimeLabel: f = "",
292
294
  startTimeWrapperClassName: C = ""
293
295
  }) => /* @__PURE__ */ z("div", { className: `timeRangeWrapper ${d}`, children: [
294
- /* @__PURE__ */ s("div", { className: `startTimeWrapper ${C}`, children: /* @__PURE__ */ s(
296
+ /* @__PURE__ */ a("div", { className: `startTimeWrapper ${C}`, children: /* @__PURE__ */ a(
295
297
  Qe,
296
298
  {
297
299
  label: f,
@@ -309,7 +311,7 @@ const Oc = (e) => {
309
311
  }
310
312
  }
311
313
  ) }),
312
- /* @__PURE__ */ s("div", { className: `endTimeWrapper ${l}`, children: /* @__PURE__ */ s(
314
+ /* @__PURE__ */ a("div", { className: `endTimeWrapper ${l}`, children: /* @__PURE__ */ a(
313
315
  Qe,
314
316
  {
315
317
  label: r,
@@ -327,8 +329,8 @@ const Oc = (e) => {
327
329
  }
328
330
  }
329
331
  ) })
330
- ] }), Lo = mi(
331
- ({ value: e, onClick: t, onInputClick: n, ...i }, o) => /* @__PURE__ */ s(
332
+ ] }), Co = gi(
333
+ ({ value: e, onClick: t, onInputClick: n, ...i }, o) => /* @__PURE__ */ a(
332
334
  Qe,
333
335
  {
334
336
  ...i,
@@ -341,23 +343,23 @@ const Oc = (e) => {
341
343
  value: e
342
344
  }
343
345
  )
344
- ), Co = ({ setStartDate: e = () => {
346
+ ), bo = ({ setStartDate: e = () => {
345
347
  }, setEndDate: t = () => {
346
348
  }, shortcuts: n, dateRange: i, onShortcut: o }) => {
347
- const [r, l] = O(), d = ae(
349
+ const [r, l] = B(), d = ae(
348
350
  () => n.map((h) => h instanceof Function ? h() : h),
349
351
  [n]
350
352
  );
351
- return B(() => {
353
+ return O(() => {
352
354
  for (const h of d) {
353
355
  const f = i.startDate && i.endDate && on(h.startDate, i.startDate) && on(h.endDate, i.endDate);
354
356
  r ? h.id === r && (f || l(void 0)) : f && l(h.id);
355
357
  }
356
- }, [i, r, d]), /* @__PURE__ */ s("div", { className: "shortcutsContainer", children: d.map((h, f) => {
358
+ }, [i, r, d]), /* @__PURE__ */ a("div", { className: "shortcutsContainer", children: d.map((h, f) => {
357
359
  const C = () => {
358
360
  e(h.startDate), t(h.endDate);
359
361
  };
360
- return /* @__PURE__ */ s(
362
+ return /* @__PURE__ */ a(
361
363
  Je,
362
364
  {
363
365
  type: "button",
@@ -371,7 +373,7 @@ const Oc = (e) => {
371
373
  h.id + f
372
374
  );
373
375
  }) });
374
- }, Nc = ke.forwardRef((e, t) => {
376
+ }, Vc = ke.forwardRef((e, t) => {
375
377
  const {
376
378
  // Time range input props
377
379
  // endTimeInputClassName,
@@ -392,10 +394,10 @@ const Oc = (e) => {
392
394
  // withTimeRange,
393
395
  withShortcuts: f,
394
396
  locale: C = "en"
395
- } = e, [L, u] = O(null), [g, _] = O(null), [v, k] = O(!1), G = r ? { startDate: L, endDate: g } : L;
396
- B(() => {
397
- C === "he" && Fi("he", Gi);
398
- }, [C]), B(() => {
397
+ } = e, [L, u] = B(null), [g, _] = B(null), [v, k] = B(!1), G = r ? { startDate: L, endDate: g } : L;
398
+ O(() => {
399
+ C === "he" && Gi("he", Vi);
400
+ }, [C]), O(() => {
399
401
  var N, Z;
400
402
  ((N = e.startDate) == null ? void 0 : N.toString()) !== (L == null ? void 0 : L.toString()) && u(e.startDate), ((Z = e.endDate) == null ? void 0 : Z.toString()) !== (g == null ? void 0 : g.toString()) && _(e.endDate);
401
403
  }, [e.startDate, e.endDate, L, g]);
@@ -407,8 +409,8 @@ const Oc = (e) => {
407
409
  showYearDropdown: !0,
408
410
  dropdownMode: "select"
409
411
  } : {};
410
- return /* @__PURE__ */ s("div", { className: $, style: { direction: C === "he" ? "rtl" : "ltr" }, children: /* @__PURE__ */ s(
411
- Bi,
412
+ return /* @__PURE__ */ a("div", { className: $, style: { direction: C === "he" ? "rtl" : "ltr" }, children: /* @__PURE__ */ a(
413
+ Fi,
412
414
  {
413
415
  ...e,
414
416
  ref: t,
@@ -425,16 +427,16 @@ const Oc = (e) => {
425
427
  onChange: (N, Z) => {
426
428
  if (Array.isArray(N)) {
427
429
  const [V, Y] = N;
428
- u(V), _(Y), l == null || l({ startDate: V, endDate: Y && gi(Y) }, Z);
430
+ u(V), _(Y), l == null || l({ startDate: V, endDate: Y && yi(Y) }, Z);
429
431
  } else
430
432
  u(N), l == null || l(N, Z);
431
433
  },
432
- customInput: /* @__PURE__ */ s(Lo, { name: d, onInputClick: () => {
434
+ customInput: /* @__PURE__ */ a(Co, { name: d, onInputClick: () => {
433
435
  k(!0);
434
436
  } }),
435
437
  showTimeInput: !!(f && r),
436
438
  timeInputLabel: "",
437
- customTimeInput: f && Lt(G) && /* @__PURE__ */ s(Co, { onShortcut: (N) => {
439
+ customTimeInput: f && Lt(G) && /* @__PURE__ */ a(bo, { onShortcut: (N) => {
438
440
  l == null || l(N), k(!1);
439
441
  }, shortcuts: f, setEndDate: _, setStartDate: u, dateRange: G }),
440
442
  showMonthYearDropdown: void 0,
@@ -442,8 +444,8 @@ const Oc = (e) => {
442
444
  }
443
445
  ) });
444
446
  });
445
- const Bc = (e) => {
446
- const t = lt(), n = Zt(t), {
447
+ const Hc = (e) => {
448
+ const t = lt(), n = Yt(t), {
447
449
  format: i = me.DATE_PICKER.dateFormat,
448
450
  variant: o = me.DATE_PICKER.variant,
449
451
  disableFuture: r = me.DATE_PICKER.disableFuture,
@@ -458,9 +460,9 @@ const Bc = (e) => {
458
460
  }, g = u === Me.HE ? On : kn, _ = (v) => {
459
461
  d(v);
460
462
  };
461
- return /* @__PURE__ */ s(Wt, { theme: n, children: /* @__PURE__ */ z(Nn, { utils: Bn, locale: g, children: [
462
- h && /* @__PURE__ */ s(
463
- Pt,
463
+ return /* @__PURE__ */ a(Vt, { theme: n, children: /* @__PURE__ */ z(Bn, { utils: Nn, locale: g, children: [
464
+ h && /* @__PURE__ */ a(
465
+ Fn,
464
466
  {
465
467
  variant: o,
466
468
  placeholder: L,
@@ -471,8 +473,8 @@ const Bc = (e) => {
471
473
  ...C
472
474
  }
473
475
  ),
474
- !h && /* @__PURE__ */ s(
475
- fi,
476
+ !h && /* @__PURE__ */ a(
477
+ Gn,
476
478
  {
477
479
  variant: o,
478
480
  placeholder: L,
@@ -484,32 +486,32 @@ const Bc = (e) => {
484
486
  }
485
487
  )
486
488
  ] }) });
487
- }, bo = 18, To = ct(
489
+ }, To = 18, So = ct(
488
490
  (e) => Ht({
489
491
  drawingButton: {
490
- width: e.spacing(bo)
492
+ width: e.spacing(To)
491
493
  },
492
494
  fullWidth: {
493
495
  width: "100%",
494
496
  marginTop: "36px"
495
497
  }
496
498
  })
497
- ), So = (e) => {
498
- const t = To(), [n, i] = ke.useState(null), { isSelectionEnabled: o, onCancelDraw: r, onStartDraw: l, onReset: d } = e, h = (C) => {
499
+ ), _o = (e) => {
500
+ const t = So(), [n, i] = ke.useState(null), { isSelectionEnabled: o, onCancelDraw: r, onStartDraw: l, onReset: d } = e, h = (C) => {
499
501
  i(C.currentTarget);
500
502
  }, f = () => {
501
503
  i(null);
502
504
  };
503
- return o ? /* @__PURE__ */ s(We, { content: "Cancel the ongoing draw", align: "bottomLeft", children: /* @__PURE__ */ s(Je, { className: t.drawingButton, raised: !0, onClick: r, children: "Cancel Draw" }) }) : /* @__PURE__ */ z(K, { position: "relative", children: [
504
- /* @__PURE__ */ s(We, { content: "draw an Area of interest to limit the search", align: "bottomLeft", children: /* @__PURE__ */ s(Je, { className: t.drawingButton, raised: !0, onClick: h, children: "Draw AOI" }) }),
505
+ return o ? /* @__PURE__ */ a(We, { content: "Cancel the ongoing draw", align: "bottomLeft", children: /* @__PURE__ */ a(Je, { className: t.drawingButton, raised: !0, onClick: r, children: "Cancel Draw" }) }) : /* @__PURE__ */ z(q, { position: "relative", children: [
506
+ /* @__PURE__ */ a(We, { content: "draw an Area of interest to limit the search", align: "bottomLeft", children: /* @__PURE__ */ a(Je, { className: t.drawingButton, raised: !0, onClick: h, children: "Draw AOI" }) }),
505
507
  /* @__PURE__ */ z(
506
- Pi,
508
+ xi,
507
509
  {
508
510
  className: t.fullWidth,
509
511
  open: Boolean(n),
510
512
  onClose: f,
511
513
  children: [
512
- /* @__PURE__ */ s(
514
+ /* @__PURE__ */ a(
513
515
  ft,
514
516
  {
515
517
  onClick: () => {
@@ -518,7 +520,7 @@ const Bc = (e) => {
518
520
  children: "Polygon"
519
521
  }
520
522
  ),
521
- /* @__PURE__ */ s(
523
+ /* @__PURE__ */ a(
522
524
  ft,
523
525
  {
524
526
  onClick: () => {
@@ -527,7 +529,7 @@ const Bc = (e) => {
527
529
  children: "Box"
528
530
  }
529
531
  ),
530
- /* @__PURE__ */ s(
532
+ /* @__PURE__ */ a(
531
533
  ft,
532
534
  {
533
535
  onClick: () => {
@@ -542,108 +544,108 @@ const Bc = (e) => {
542
544
  ] });
543
545
  };
544
546
  var Re = /* @__PURE__ */ ((e) => (e.WGS84 = "EPSG:4326", e.WEB_MERCATOR = "EPSG:3857", e))(Re || {});
545
- const Gt = 5, Vt = 2, Kn = ze(null), _o = Kn.Provider, gn = 35, fn = 32, Mo = 10, Io = (e) => e !== void 0 && e !== Re.WGS84 ? Ui([gn, fn], Re.WGS84, e) : [gn, fn], Po = (e) => {
547
+ const Ft = 5, Gt = 2, Qn = ze(null), Mo = Qn.Provider, gn = 35, fn = 32, Io = 10, Po = (e) => e !== void 0 && e !== Re.WGS84 ? $i([gn, fn], Re.WGS84, e) : [gn, fn], xo = (e) => {
546
548
  switch (e) {
547
549
  case Re.WEB_MERCATOR:
548
- return (t) => sn(t, "Mercator: {y}m, {x}m", Vt);
550
+ return (t) => sn(t, "Mercator: {y}m, {x}m", Gt);
549
551
  case Re.WGS84:
550
- return (t) => sn(t, "WGS84: {y}°N {x}°E", Gt);
552
+ return (t) => sn(t, "WGS84: {y}°N {x}°E", Ft);
551
553
  default:
552
554
  return (t) => "";
553
555
  }
554
556
  }, Xe = () => {
555
- const e = Ve(Kn);
557
+ const e = Ve(Qn);
556
558
  if (e === null)
557
559
  throw new Error("map context is null, please check the provider");
558
560
  return e;
559
- }, xo = (e) => {
560
- const t = Se(null), { allowFullScreen: n, showMousePosition: i, projection: o } = e, [r] = O(
561
- new Hi({
562
- view: new Wi({
561
+ }, Ao = (e) => {
562
+ const t = Te(null), { allowFullScreen: n, showMousePosition: i, projection: o } = e, [r] = B(
563
+ new Wi({
564
+ view: new zi({
563
565
  projection: o ?? Re.WGS84
564
566
  }),
565
- controls: zi()
567
+ controls: Ui()
566
568
  })
567
569
  );
568
- B(() => {
569
- r.getView().setCenter(e.center ?? Io(e.projection));
570
- }, [r, e.center, e.projection]), B(() => {
571
- r.getView().setZoom(e.zoom ?? Mo);
570
+ O(() => {
571
+ r.getView().setCenter(e.center ?? Po(e.projection));
572
+ }, [r, e.center, e.projection]), O(() => {
573
+ r.getView().setZoom(e.zoom ?? Io);
572
574
  }, [r, e.zoom, e.projection]);
573
575
  const l = (d, h) => {
574
576
  h.getControls().forEach((C) => {
575
577
  C instanceof d && h.removeControl(C);
576
578
  });
577
579
  };
578
- return B(() => {
580
+ return O(() => {
579
581
  r.setTarget(t.current), n !== void 0 && n ? r.addControl(new an()) : l(an, r);
580
- }, [r, n]), B(() => {
582
+ }, [r, n]), O(() => {
581
583
  i !== void 0 && i ? (l(vt, r), r.addControl(
582
584
  new vt({
583
- coordinateFormat: Po(o ?? Re.WGS84),
585
+ coordinateFormat: xo(o ?? Re.WGS84),
584
586
  projection: o ?? Re.WGS84,
585
587
  undefinedHTML: "&nbsp;"
586
588
  })
587
589
  )) : l(vt, r);
588
- }, [r, i, o]), /* @__PURE__ */ z(_o, { value: r, children: [
589
- /* @__PURE__ */ s("div", { className: "map", ref: t }),
590
+ }, [r, i, o]), /* @__PURE__ */ z(Mo, { value: r, children: [
591
+ /* @__PURE__ */ a("div", { className: "map", ref: t }),
590
592
  e.children
591
593
  ] });
592
- }, Jn = ze(null), Ao = Jn.Provider, ht = () => {
593
- const e = Ve(Jn);
594
+ }, ei = ze(null), Ro = ei.Provider, ht = () => {
595
+ const e = Ve(ei);
594
596
  if (e === null)
595
597
  throw new Error("tile layer context is null, please check the provider");
596
598
  return e;
597
- }, Ro = ({ options: e, children: t }) => {
598
- const n = Xe(), [i] = O(new ji(e));
599
- return B(() => (n.addLayer(i), () => {
599
+ }, Do = ({ options: e, children: t }) => {
600
+ const n = Xe(), [i] = B(new Yi(e));
601
+ return O(() => (n.addLayer(i), () => {
600
602
  n.removeLayer(i);
601
- }), [n, i]), /* @__PURE__ */ s(Ao, { value: i, children: t });
602
- }, Qn = ze(null), Do = Qn.Provider, Oo = () => {
603
- const e = Ve(Qn);
603
+ }), [n, i]), /* @__PURE__ */ a(Ro, { value: i, children: t });
604
+ }, ti = ze(null), Oo = ti.Provider, ko = () => {
605
+ const e = Ve(ti);
604
606
  if (e === null)
605
607
  throw new Error("vector layer context is null, please check the provider");
606
608
  return e;
607
- }, ko = ({ children: e }) => {
608
- const t = Xe(), [n] = O(new Yi());
609
- return B(() => (t.addLayer(n), () => {
609
+ }, No = ({ children: e }) => {
610
+ const t = Xe(), [n] = B(new Zi());
611
+ return O(() => (t.addLayer(n), () => {
610
612
  t.removeLayer(n);
611
- }), [t, n]), /* @__PURE__ */ s(Do, { value: n, children: e });
612
- }, ei = ze(null), No = ei.Provider, Bo = () => {
613
- const e = Ve(ei);
613
+ }), [t, n]), /* @__PURE__ */ a(Oo, { value: n, children: e });
614
+ }, ni = ze(null), Bo = ni.Provider, Fo = () => {
615
+ const e = Ve(ni);
614
616
  if (e === null)
615
617
  throw new Error("vector source context is null, please check the provider");
616
618
  return e;
617
- }, Fo = ({ children: e }) => {
618
- const t = Oo(), [n] = O(new Zi());
619
- return B(() => {
619
+ }, Go = ({ children: e }) => {
620
+ const t = ko(), [n] = B(new Xi());
621
+ return O(() => {
620
622
  t.setSource(n);
621
- }, [n, t]), /* @__PURE__ */ s(No, { value: n, children: e });
622
- }, Go = ({ geometry: e, fitOptions: t, fit: n, featureStyle: i }) => {
623
- const o = Bo(), r = Xe();
623
+ }, [n, t]), /* @__PURE__ */ a(Bo, { value: n, children: e });
624
+ }, Vo = ({ geometry: e, fitOptions: t, fit: n, featureStyle: i }) => {
625
+ const o = Fo(), r = Xe();
624
626
  return Dn(() => {
625
- const d = new Vn().readFeature(e);
627
+ const d = new Wn().readFeature(e);
626
628
  return n && o.on("addfeature", function() {
627
629
  r.getView().fit(o.getExtent(), t);
628
630
  }), i && d.setStyle(i), o.addFeature(d), () => {
629
631
  o.removeFeature(d);
630
632
  };
631
633
  }, [e, o, n]), null;
632
- }, Vo = (e) => {
634
+ }, Ho = (e) => {
633
635
  const t = ht();
634
- return B(() => {
635
- t.setSource(new Xi());
636
+ return O(() => {
637
+ t.setSource(new Ki());
636
638
  }, [t]), null;
637
- }, Ho = ({ drawType: e, onPolygonSelected: t }) => {
639
+ }, Wo = ({ drawType: e, onPolygonSelected: t }) => {
638
640
  const n = Xe();
639
- return B(() => {
641
+ return O(() => {
640
642
  const i = {
641
643
  type: "Circle"
642
644
  /* CIRCLE */
643
645
  };
644
646
  switch (e) {
645
647
  case be.BOX:
646
- i.geometryFunction = Qi();
648
+ i.geometryFunction = er();
647
649
  break;
648
650
  case be.POLYGON:
649
651
  i.type = "Polygon";
@@ -651,10 +653,10 @@ const Gt = 5, Vt = 2, Kn = ze(null), _o = Kn.Provider, gn = 35, fn = 32, Mo = 10
651
653
  default:
652
654
  return;
653
655
  }
654
- const o = new Ji(i);
656
+ const o = new Qi(i);
655
657
  n.addInteraction(o);
656
658
  const r = (l) => {
657
- const h = new Vn().writeGeometryObject(l.feature.getGeometry());
659
+ const h = new Wn().writeGeometryObject(l.feature.getGeometry());
658
660
  t == null || t(h);
659
661
  };
660
662
  return o.on("drawend", r), () => {
@@ -662,18 +664,18 @@ const Gt = 5, Vt = 2, Kn = ze(null), _o = Kn.Provider, gn = 35, fn = 32, Mo = 10
662
664
  };
663
665
  }, [t, e, n]), null;
664
666
  };
665
- const Wo = (e) => {
667
+ const zo = (e) => {
666
668
  const t = (n) => {
667
- const i = Vi(n);
669
+ const i = Hi(n);
668
670
  e.onPolygonSelection(i);
669
671
  };
670
- return /* @__PURE__ */ z(xo, { allowFullScreen: !0, showMousePosition: !0, children: [
671
- /* @__PURE__ */ s(Ro, { children: /* @__PURE__ */ s(Vo, {}) }),
672
- e.selectionPolygon && /* @__PURE__ */ s(ko, { children: /* @__PURE__ */ s(Fo, { children: /* @__PURE__ */ s(Go, { geometry: e.selectionPolygon }) }) }),
672
+ return /* @__PURE__ */ z(Ao, { allowFullScreen: !0, showMousePosition: !0, children: [
673
+ /* @__PURE__ */ a(Do, { children: /* @__PURE__ */ a(Ho, {}) }),
674
+ e.selectionPolygon && /* @__PURE__ */ a(No, { children: /* @__PURE__ */ a(Go, { children: /* @__PURE__ */ a(Vo, { geometry: e.selectionPolygon }) }) }),
673
675
  e.children,
674
- e.drawType !== void 0 && /* @__PURE__ */ s(Ho, { drawType: e.drawType, onPolygonSelected: t })
676
+ e.drawType !== void 0 && /* @__PURE__ */ a(Wo, { drawType: e.drawType, onPolygonSelected: t })
675
677
  ] });
676
- }, Ct = 1.5, zo = 80, Uo = ct(
678
+ }, Ct = 1.5, Uo = 80, $o = ct(
677
679
  (e) => Ht({
678
680
  map: {
679
681
  height: "100%",
@@ -688,7 +690,7 @@ const Wo = (e) => {
688
690
  },
689
691
  contentContainer: {
690
692
  marginTop: e.spacing(Ct),
691
- width: e.spacing(zo)
693
+ width: e.spacing(Uo)
692
694
  },
693
695
  filtersContainer: {
694
696
  display: "flex",
@@ -698,18 +700,18 @@ const Wo = (e) => {
698
700
  marginLeft: e.spacing(1)
699
701
  }
700
702
  })
701
- ), Fc = (e) => {
703
+ ), Wc = (e) => {
702
704
  var h;
703
- const [t, n] = O(), [i, o] = O(), r = Uo(), l = (f) => {
705
+ const [t, n] = B(), [i, o] = B(), r = $o(), l = (f) => {
704
706
  o(f), n(void 0), e.handlePolygonSelected(f);
705
707
  }, d = () => {
706
708
  o(void 0), e.handlePolygonReset();
707
709
  };
708
710
  return /* @__PURE__ */ z("div", { className: r.map, children: [
709
711
  /* @__PURE__ */ z("div", { className: `${r.absolute}`, children: [
710
- /* @__PURE__ */ z(xt, { className: r.filtersContainer, children: [
711
- /* @__PURE__ */ s(
712
- So,
712
+ /* @__PURE__ */ z(Pt, { className: r.filtersContainer, children: [
713
+ /* @__PURE__ */ a(
714
+ _o,
713
715
  {
714
716
  onCancelDraw: () => n(void 0),
715
717
  onReset: d,
@@ -717,20 +719,20 @@ const Wo = (e) => {
717
719
  isSelectionEnabled: t !== void 0
718
720
  }
719
721
  ),
720
- (h = e.filters) == null ? void 0 : h.map((f, C) => /* @__PURE__ */ s("div", { className: r.filtersMargin, children: f }, C))
722
+ (h = e.filters) == null ? void 0 : h.map((f, C) => /* @__PURE__ */ a("div", { className: r.filtersMargin, children: f }, C))
721
723
  ] }),
722
- /* @__PURE__ */ s(xt, { color: "red", className: `${r.contentContainer}`, children: e.children })
724
+ /* @__PURE__ */ a(Pt, { color: "red", className: `${r.contentContainer}`, children: e.children })
723
725
  ] }),
724
- /* @__PURE__ */ s(Wo, { children: e.mapContent, onPolygonSelection: l, drawType: t, selectionPolygon: i })
726
+ /* @__PURE__ */ a(zo, { children: e.mapContent, onPolygonSelection: l, drawType: t, selectionPolygon: i })
725
727
  ] });
726
- }, yn = new tr({
728
+ }, yn = new nr({
727
729
  color: "rgba(255,255,255,0.4)"
728
- }), vn = new nr({
730
+ }), vn = new ir({
729
731
  color: "#3399CC",
730
732
  width: 1.25
731
733
  }), wn = [
732
- new ir({
733
- image: new rr({
734
+ new rr({
735
+ image: new or({
734
736
  fill: yn,
735
737
  stroke: vn,
736
738
  radius: 5
@@ -738,27 +740,27 @@ const Wo = (e) => {
738
740
  fill: yn,
739
741
  stroke: vn
740
742
  })
741
- ], ti = ze(null), $o = ti.Provider, jo = () => {
742
- const e = Ve(ti);
743
+ ], ii = ze(null), jo = ii.Provider, Yo = () => {
744
+ const e = Ve(ii);
743
745
  if (e === null)
744
746
  throw new Error("vector tile layer context is null, please check the provider");
745
747
  return e;
746
- }, Gc = ({ children: e, options: t, style: n }) => {
747
- const i = Xe(), [o] = O(
748
- new er({
748
+ }, zc = ({ children: e, options: t, style: n }) => {
749
+ const i = Xe(), [o] = B(
750
+ new tr({
749
751
  ...t,
750
752
  style: n || wn
751
753
  })
752
754
  );
753
- return B(() => (i.addLayer(o), () => {
755
+ return O(() => (i.addLayer(o), () => {
754
756
  i.removeLayer(o);
755
- }), [i, o]), B(() => {
757
+ }), [i, o]), O(() => {
756
758
  o.setStyle(n || wn);
757
- }, [o, n]), /* @__PURE__ */ s($o, { value: o, children: e });
758
- }, bt = 20, Yo = 256, Zo = 2, Xo = 2, qo = "REST", Vc = (e) => {
759
- const t = $i(e.projection), n = t.getExtent(), i = new Array(bt), o = new Array(bt), r = sr(n) / Yo, l = e.heightWidthRatio !== void 0 ? e.heightWidthRatio : Xo, d = e.requestEncoding !== void 0 ? e.requestEncoding : qo;
759
+ }, [o, n]), /* @__PURE__ */ a(jo, { value: o, children: e });
760
+ }, bt = 20, Zo = 256, Xo = 2, Ko = 2, qo = "REST", Uc = (e) => {
761
+ const t = ji(e.projection), n = t.getExtent(), i = new Array(bt), o = new Array(bt), r = ar(n) / Zo, l = e.heightWidthRatio !== void 0 ? e.heightWidthRatio : Ko, d = e.requestEncoding !== void 0 ? e.requestEncoding : qo;
760
762
  for (let f = 0; f < bt; ++f)
761
- i[f] = r / Math.pow(Zo, f) / l, o[f] = f.toString();
763
+ i[f] = r / Math.pow(Xo, f) / l, o[f] = f.toString();
762
764
  return {
763
765
  attributions: e.attributions,
764
766
  url: e.url,
@@ -766,8 +768,8 @@ const Wo = (e) => {
766
768
  matrixSet: e.matrixSet,
767
769
  format: e.format,
768
770
  projection: t,
769
- tileGrid: new or({
770
- origin: ar(n),
771
+ tileGrid: new sr({
772
+ origin: cr(n),
771
773
  resolutions: i,
772
774
  matrixIds: o
773
775
  }),
@@ -775,12 +777,12 @@ const Wo = (e) => {
775
777
  requestEncoding: d,
776
778
  wrapX: e.wrapX !== void 0 ? e.wrapX : !0
777
779
  };
778
- }, Hc = (e) => {
780
+ }, $c = (e) => {
779
781
  const t = ht(), { options: n } = e;
780
- return B(() => {
782
+ return O(() => {
781
783
  t.setSource(new qi(n));
782
784
  }, [t, n]), null;
783
- }, Wc = (e) => {
785
+ }, jc = (e) => {
784
786
  const { attributions: t, url: n, params: i, serverType: o, transition: r } = e;
785
787
  return {
786
788
  attributions: t,
@@ -789,46 +791,46 @@ const Wo = (e) => {
789
791
  serverType: o,
790
792
  transition: r
791
793
  };
792
- }, zc = (e) => {
794
+ }, Yc = (e) => {
793
795
  const t = ht(), { options: n } = e;
794
- return B(() => {
795
- t.setSource(new cr(n));
796
+ return O(() => {
797
+ t.setSource(new lr(n));
796
798
  }, [t, n]), null;
797
- }, Uc = (e) => {
799
+ }, Zc = (e) => {
798
800
  const { attributions: t, url: n } = e;
799
801
  return {
800
802
  attributions: t,
801
803
  url: n
802
804
  };
803
- }, $c = (e) => {
805
+ }, Xc = (e) => {
804
806
  const t = ht(), { options: n } = e;
805
- return B(() => {
806
- t.setSource(new lr(n));
807
+ return O(() => {
808
+ t.setSource(new dr(n));
807
809
  }, [t, n]), null;
808
- }, Ko = ze(null), jc = () => {
809
- const e = Ve(Ko);
810
+ }, Jo = ze(null), Kc = () => {
811
+ const e = Ve(Jo);
810
812
  if (e === null)
811
813
  throw new Error("vector tile source context is null, please check the provider");
812
814
  return e;
813
- }, Yc = (e) => {
815
+ }, qc = (e) => {
814
816
  const { url: t } = e;
815
817
  return {
816
818
  url: t,
817
- format: new Ki()
819
+ format: new Ji()
818
820
  };
819
- }, Zc = ({ children: e, options: t }) => {
820
- const n = jo();
821
- return B(() => {
822
- n.setSource(new dr(t));
821
+ }, Jc = ({ children: e, options: t }) => {
822
+ const n = Yo();
823
+ return O(() => {
824
+ n.setSource(new ur(t));
823
825
  }, [t, n]), null;
824
- }, Xc = ({ legendItems: e, title: t, isCollapsed: n }) => {
826
+ }, Qc = ({ legendItems: e, title: t, isCollapsed: n }) => {
825
827
  const i = Xe();
826
- return B(() => {
828
+ return O(() => {
827
829
  const o = new cn({
828
830
  title: t ?? "",
829
831
  margin: 5,
830
832
  maxWidth: 300
831
- }), r = new ur({
833
+ }), r = new hr({
832
834
  legend: o,
833
835
  collapsed: n === void 0 ? !0 : n
834
836
  });
@@ -843,21 +845,21 @@ const Wo = (e) => {
843
845
  }), o.addItem(l), () => {
844
846
  i.removeControl(r);
845
847
  };
846
- }, [i, e, t, n]), /* @__PURE__ */ s(ge, {});
848
+ }, [i, e, t, n]), /* @__PURE__ */ a(ge, {});
847
849
  };
848
- function Jo(e) {
850
+ function Qo(e) {
849
851
  const { headCells: t, order: n, orderBy: i, onRequestSort: o, isCollapseable: r } = e, l = (d) => (h) => {
850
852
  o(h, d);
851
853
  };
852
- return /* @__PURE__ */ s(hr, { children: /* @__PURE__ */ z(ot, { children: [
853
- r && /* @__PURE__ */ s(Ze, {}),
854
- t.map((d) => /* @__PURE__ */ s(
854
+ return /* @__PURE__ */ a(mr, { children: /* @__PURE__ */ z(ot, { children: [
855
+ r && /* @__PURE__ */ a(Ze, {}),
856
+ t.map((d) => /* @__PURE__ */ a(
855
857
  Ze,
856
858
  {
857
859
  align: d.numeric ? "right" : "left",
858
860
  padding: d.disablePadding ? "none" : "default",
859
861
  sortDirection: i === d.id ? n : !1,
860
- children: /* @__PURE__ */ s(
862
+ children: /* @__PURE__ */ a(
861
863
  Ei,
862
864
  {
863
865
  active: i === d.id,
@@ -871,24 +873,24 @@ function Jo(e) {
871
873
  ))
872
874
  ] }) });
873
875
  }
874
- const Qo = Hn(
876
+ const es = zn(
875
877
  /* @__PURE__ */ Rn.createElement("path", {
876
878
  d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"
877
879
  }),
878
880
  "KeyboardArrowDown"
879
- ), es = Hn(
881
+ ), ts = zn(
880
882
  /* @__PURE__ */ Rn.createElement("path", {
881
883
  d: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"
882
884
  }),
883
885
  "KeyboardArrowUp"
884
886
  );
885
- function ts(e) {
886
- const { cellsMetadata: t, isRowSelected: n, item: i, onRowSelected: o, rowIndex: r, isCollapseable: l, collapsedElement: d } = e, [h, f] = O(!1), C = t.length;
887
+ function ns(e) {
888
+ const { cellsMetadata: t, isRowSelected: n, item: i, onRowSelected: o, rowIndex: r, isCollapseable: l, collapsedElement: d } = e, [h, f] = B(!1), C = t.length;
887
889
  return /* @__PURE__ */ z(ge, { children: [
888
890
  /* @__PURE__ */ z(ot, { hover: !0, selected: n, onClick: () => {
889
891
  o == null || o(r);
890
892
  }, children: [
891
- l && /* @__PURE__ */ s(Ze, { padding: "checkbox", children: /* @__PURE__ */ s(
893
+ l && /* @__PURE__ */ a(Ze, { padding: "checkbox", children: /* @__PURE__ */ a(
892
894
  Li,
893
895
  {
894
896
  "aria-label": "expand row",
@@ -896,10 +898,10 @@ function ts(e) {
896
898
  onClick: (u) => {
897
899
  u.stopPropagation(), f(!h);
898
900
  },
899
- children: h ? /* @__PURE__ */ s(es, {}) : /* @__PURE__ */ s(Qo, {})
901
+ children: h ? /* @__PURE__ */ a(ts, {}) : /* @__PURE__ */ a(es, {})
900
902
  }
901
903
  ) }),
902
- t.map((u) => /* @__PURE__ */ s(
904
+ t.map((u) => /* @__PURE__ */ a(
903
905
  Ze,
904
906
  {
905
907
  align: u.numeric ? "right" : "left",
@@ -909,11 +911,11 @@ function ts(e) {
909
911
  u.id + r.toString()
910
912
  ))
911
913
  ] }),
912
- l && /* @__PURE__ */ s(ot, { children: /* @__PURE__ */ s(Ze, { style: { paddingBottom: 0, paddingTop: 0 }, colSpan: C + 1, children: /* @__PURE__ */ s(Ci, { in: h, unmountOnExit: !0, timeout: "auto", children: d == null ? void 0 : d(i) }) }) })
914
+ l && /* @__PURE__ */ a(ot, { children: /* @__PURE__ */ a(Ze, { style: { paddingBottom: 0, paddingTop: 0 }, colSpan: C + 1, children: /* @__PURE__ */ a(Ci, { in: h, unmountOnExit: !0, timeout: "auto", children: d == null ? void 0 : d(i) }) }) })
913
915
  ] });
914
916
  }
915
- function qc(e) {
916
- const [t, n] = O(""), [i, o] = O("asc"), {
917
+ function el(e) {
918
+ const [t, n] = B(""), [i, o] = B("asc"), {
917
919
  cellsMetadata: r,
918
920
  items: l,
919
921
  onRequestSort: d,
@@ -927,10 +929,10 @@ function qc(e) {
927
929
  handleChangePage: v,
928
930
  handleChangeRowsPerPage: k
929
931
  } = e;
930
- return /* @__PURE__ */ z(bi, { component: xt, children: [
932
+ return /* @__PURE__ */ z(bi, { component: Pt, children: [
931
933
  /* @__PURE__ */ z(Ti, { size: L ? "small" : "medium", children: [
932
- /* @__PURE__ */ s(
933
- Jo,
934
+ /* @__PURE__ */ a(
935
+ Qo,
934
936
  {
935
937
  headCells: r,
936
938
  onRequestSort: ($, j) => {
@@ -943,8 +945,8 @@ function qc(e) {
943
945
  }
944
946
  ),
945
947
  /* @__PURE__ */ z(Si, { children: [
946
- l.map(($, j) => /* @__PURE__ */ s(
947
- ts,
948
+ l.map(($, j) => /* @__PURE__ */ a(
949
+ ns,
948
950
  {
949
951
  item: $,
950
952
  rowIndex: j,
@@ -956,18 +958,18 @@ function qc(e) {
956
958
  },
957
959
  j
958
960
  )),
959
- (l.length === 0 || g > l.length) && /* @__PURE__ */ s(
961
+ (l.length === 0 || g > l.length) && /* @__PURE__ */ a(
960
962
  ot,
961
963
  {
962
964
  style: {
963
965
  height: (L ? 33 : 53) * (g - l.length)
964
966
  },
965
- children: /* @__PURE__ */ s(Ze, { colSpan: f ? r.length + 1 : r.length, children: l.length === 0 && /* @__PURE__ */ s(_i, { align: "center", children: "No results :(" }) })
967
+ children: /* @__PURE__ */ a(Ze, { colSpan: f ? r.length + 1 : r.length, children: l.length === 0 && /* @__PURE__ */ a(_i, { align: "center", children: "No results :(" }) })
966
968
  }
967
969
  )
968
970
  ] })
969
971
  ] }),
970
- /* @__PURE__ */ s(
972
+ /* @__PURE__ */ a(
971
973
  Mi,
972
974
  {
973
975
  rowsPerPage: g,
@@ -981,24 +983,24 @@ function qc(e) {
981
983
  )
982
984
  ] });
983
985
  }
984
- const Kc = (e) => {
986
+ const tl = (e) => {
985
987
  const { children: t, ...n } = e;
986
- return /* @__PURE__ */ s(mr, { ...n, children: t });
987
- }, Jc = (e) => {
988
+ return /* @__PURE__ */ a(pr, { ...n, children: t });
989
+ }, nl = (e) => {
988
990
  const { children: t, ...n } = e;
989
- return /* @__PURE__ */ s(pr, { ...n, children: t });
990
- }, En = (e) => e * Math.PI / 180, nt = (e) => e * (180 / Math.PI), ns = (e) => 0.05 * (5916575505e-1 / Math.pow(2, e - 1) / 2) * (Math.cos(En(85.362 / 2)) / Math.sin(En(85.362 / 2))), is = ({ title: e, onClick: t }) => /* @__PURE__ */ s("div", { className: "cesium-cesiumInspector-button", onClick: t, children: e }), rs = ({ title: e, isVisible: t, onClick: n, children: i }) => /* @__PURE__ */ z(K, { className: `cesium-cesiumInspector ${t ? "cesium-cesiumInspector-visible" : ""}`, children: [
991
- /* @__PURE__ */ s(is, { title: e, onClick: n }),
992
- t && /* @__PURE__ */ s(K, { className: "cesium-cesiumInspector-dropDown", children: i })
991
+ return /* @__PURE__ */ a(gr, { ...n, children: t });
992
+ }, En = (e) => e * Math.PI / 180, nt = (e) => e * (180 / Math.PI), is = (e) => 0.05 * (5916575505e-1 / Math.pow(2, e - 1) / 2) * (Math.cos(En(85.362 / 2)) / Math.sin(En(85.362 / 2))), rs = ({ title: e, onClick: t }) => /* @__PURE__ */ a("div", { className: "cesium-cesiumInspector-button", onClick: t, children: e }), os = ({ title: e, isVisible: t, onClick: n, children: i }) => /* @__PURE__ */ z(q, { className: `cesium-cesiumInspector ${t ? "cesium-cesiumInspector-visible" : ""}`, children: [
993
+ /* @__PURE__ */ a(rs, { title: e, onClick: n }),
994
+ t && /* @__PURE__ */ a(q, { className: "cesium-cesiumInspector-dropDown", children: i })
993
995
  ] });
994
- const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
996
+ const Tt = "Imagery", St = "Data", ss = ({ locale: e }) => {
995
997
  var L, u;
996
- const t = ve(), [n, i] = O([{ id: Tt, values: [] }, { id: St, values: [] }]), [o, r] = O({}), l = (g) => Q(e, g.toUpperCase()) ?? g, d = () => t.imageryLayers ? Array.from({ length: t.imageryLayers.length }, (g, _) => {
998
+ const t = ve(), [n, i] = B([{ id: Tt, values: [] }, { id: St, values: [] }]), [o, r] = B({}), l = (g) => ee(e, g.toUpperCase()) ?? g, d = () => t.imageryLayers ? Array.from({ length: t.imageryLayers.length }, (g, _) => {
997
999
  var G;
998
1000
  const v = t.imageryLayers.get(_), k = v.meta;
999
1001
  return {
1000
1002
  id: k == null ? void 0 : k.id,
1001
- name: Q(k, "layerRecord.productName") ?? (k == null ? void 0 : k.id),
1003
+ name: ee(k, "layerRecord.productName") ?? (k == null ? void 0 : k.id),
1002
1004
  rect: v.rectangle,
1003
1005
  isBaseMap: (G = t.layersManager) == null ? void 0 : G.isBaseMapLayer(k)
1004
1006
  };
@@ -1008,13 +1010,13 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1008
1010
  var v, k;
1009
1011
  return {
1010
1012
  id: (v = _.meta) == null ? void 0 : v.id,
1011
- name: Q(_.meta, "featureStructure.aliasLayerName") ?? _.meta.productName,
1013
+ name: ee(_.meta, "featureStructure.aliasLayerName") ?? _.meta.productName,
1012
1014
  rect: Be.fromDegrees(...dt((k = _.meta) == null ? void 0 : k.footprint)),
1013
1015
  isBaseMap: !1
1014
1016
  };
1015
1017
  })) || [];
1016
1018
  };
1017
- B(() => {
1019
+ O(() => {
1018
1020
  (() => {
1019
1021
  const _ = [
1020
1022
  {
@@ -1028,7 +1030,7 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1028
1030
  ];
1029
1031
  i(_), r(_.reduce((v, k) => ({ ...v, [k.id]: !0 }), {}));
1030
1032
  })();
1031
- }, []), B(() => {
1033
+ }, []), O(() => {
1032
1034
  if (!t.layersManager)
1033
1035
  return;
1034
1036
  const g = () => {
@@ -1043,9 +1045,9 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1043
1045
  };
1044
1046
  return t.layersManager.addLayerUpdatedListener(g), t.imageryLayers.layerRemoved.addEventListener(g), () => {
1045
1047
  var _;
1046
- Q(t, "_cesiumWidget") !== void 0 && ((_ = t.layersManager) == null || _.removeLayerUpdatedListener(g), t.imageryLayers.layerRemoved.removeEventListener(g));
1048
+ ee(t, "_cesiumWidget") !== void 0 && ((_ = t.layersManager) == null || _.removeLayerUpdatedListener(g), t.imageryLayers.layerRemoved.removeEventListener(g));
1047
1049
  };
1048
- }, [(L = t.layersManager) == null ? void 0 : L.layerList]), B(() => {
1050
+ }, [(L = t.layersManager) == null ? void 0 : L.layerList]), O(() => {
1049
1051
  if (!t.layersManager)
1050
1052
  return;
1051
1053
  const g = () => {
@@ -1068,46 +1070,63 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1068
1070
  }, C = (g) => {
1069
1071
  t.camera.flyTo({ destination: g });
1070
1072
  };
1071
- return /* @__PURE__ */ s(K, { className: "activeLayersPanel", children: n.filter((g) => g.values.length > 0).map((g) => /* @__PURE__ */ z(
1072
- K,
1073
+ return /* @__PURE__ */ a(q, { className: "activeLayersPanel", children: n.filter((g) => g.values.length > 0).map((g) => /* @__PURE__ */ z(
1074
+ q,
1073
1075
  {
1074
1076
  className: `cesium-cesiumInspector-section ${o[g.id] ? "cesium-cesiumInspector-section-collapsed" : ""}`,
1075
1077
  onClick: () => f(g.id),
1076
1078
  children: [
1077
- /* @__PURE__ */ s(At, { tag: "h3", className: "cesium-cesiumInspector-sectionHeader", children: l(g.id) }),
1078
- /* @__PURE__ */ s(K, { className: "cesium-cesiumInspector-sectionContent", children: g.values.map((_) => /* @__PURE__ */ z(K, { className: "layer", children: [
1079
- /* @__PURE__ */ s(We, { content: _.name, children: /* @__PURE__ */ s(K, { className: `name ${_.isBaseMap ? "disabled" : ""}`, children: _.name }) }),
1080
- /* @__PURE__ */ s(K, { className: "icons", children: /* @__PURE__ */ s(We, { content: Q(e, "FLY_TO") ?? "Fly To", children: /* @__PURE__ */ s(K, { className: "icon", onClick: (v) => {
1079
+ /* @__PURE__ */ a(xt, { tag: "h3", className: "cesium-cesiumInspector-sectionHeader", children: l(g.id) }),
1080
+ /* @__PURE__ */ a(q, { className: "cesium-cesiumInspector-sectionContent", children: g.values.map((_) => /* @__PURE__ */ z(q, { className: "layer", children: [
1081
+ /* @__PURE__ */ a(We, { content: _.name, children: /* @__PURE__ */ a(q, { className: `name ${_.isBaseMap ? "disabled" : ""}`, children: _.name }) }),
1082
+ /* @__PURE__ */ a(q, { className: "icons", children: /* @__PURE__ */ a(We, { content: ee(e, "FLY_TO") ?? "Fly To", children: /* @__PURE__ */ a(q, { className: "icon", onClick: (v) => {
1081
1083
  v.stopPropagation(), C(_.rect);
1082
1084
  }, children: /* @__PURE__ */ z("svg", { fill: "var(--mdc-theme-cesium-color)", width: "100%", height: "100%", viewBox: "0 0 256 256", children: [
1083
- /* @__PURE__ */ s("path", { d: "M236,120H223.66406A96.15352,96.15352,0,0,0,136,32.33618V20a8,8,0,0,0-16,0V32.33618A96.15352,96.15352,0,0,0,32.33594,120H20a8,8,0,0,0,0,16H32.33594A96.15352,96.15352,0,0,0,120,223.66382V236a8,8,0,0,0,16,0V223.66382A96.15352,96.15352,0,0,0,223.66406,136H236a8,8,0,0,0,0-16Zm-40,16h11.59912A80.14164,80.14164,0,0,1,136,207.59912V196a8,8,0,0,0-16,0v11.59912A80.14164,80.14164,0,0,1,48.40088,136H60a8,8,0,0,0,0-16H48.40088A80.14164,80.14164,0,0,1,120,48.40088V60a8,8,0,0,0,16,0V48.40088A80.14164,80.14164,0,0,1,207.59912,120H196a8,8,0,0,0,0,16Z" }),
1084
- /* @__PURE__ */ s("polygon", { points: "128,80 80,170 128,150 176,170", fill: "var(--mdc-theme-cesium-color)" })
1085
+ /* @__PURE__ */ a("path", { d: "M236,120H223.66406A96.15352,96.15352,0,0,0,136,32.33618V20a8,8,0,0,0-16,0V32.33618A96.15352,96.15352,0,0,0,32.33594,120H20a8,8,0,0,0,0,16H32.33594A96.15352,96.15352,0,0,0,120,223.66382V236a8,8,0,0,0,16,0V223.66382A96.15352,96.15352,0,0,0,223.66406,136H236a8,8,0,0,0,0-16Zm-40,16h11.59912A80.14164,80.14164,0,0,1,136,207.59912V196a8,8,0,0,0-16,0v11.59912A80.14164,80.14164,0,0,1,48.40088,136H60a8,8,0,0,0,0-16H48.40088A80.14164,80.14164,0,0,1,120,48.40088V60a8,8,0,0,0,16,0V48.40088A80.14164,80.14164,0,0,1,207.59912,120H196a8,8,0,0,0,0,16Z" }),
1086
+ /* @__PURE__ */ a("polygon", { points: "128,80 80,170 128,150 176,170", fill: "var(--mdc-theme-cesium-color)" })
1085
1087
  ] }) }) }) })
1086
1088
  ] }, _.id)) })
1087
1089
  ]
1088
1090
  },
1089
1091
  g.id
1090
1092
  )) });
1091
- }, ss = ({ locale: e }) => {
1092
- const [t, n] = O(!1), i = ae(() => Q(e, "ACTIVE_LAYERS_TITLE") ?? "Active Layers", [e]);
1093
- return /* @__PURE__ */ s(rs, { title: i, isVisible: t, onClick: () => n(!t), children: /* @__PURE__ */ s(os, { locale: e }) });
1094
- }, mt = ({ onClick: e, children: t }) => /* @__PURE__ */ s("div", { className: "cesium-toolbar-button cesium-button", onClick: e, children: t }), Xt = ({ title: e }) => /* @__PURE__ */ s(K, { className: "cesium-mc-title", children: e }), qt = ({ isVisible: e, children: t, title: n }) => /* @__PURE__ */ z(K, { className: `cesium-mc-tool ${e ? "cesium-mc-tool-visible" : ""}`, children: [
1095
- n && /* @__PURE__ */ s(Xt, { title: n }),
1093
+ }, as = ({ locale: e }) => {
1094
+ const [t, n] = B(!1), i = ae(() => ee(e, "ACTIVE_LAYERS_TITLE") ?? "Active Layers", [e]);
1095
+ return /* @__PURE__ */ a(os, { title: i, isVisible: t, onClick: () => n(!t), children: /* @__PURE__ */ a(ss, { locale: e }) });
1096
+ }, mt = ({ onClick: e, children: t }) => /* @__PURE__ */ a("div", { className: "cesium-toolbar-button cesium-button", onClick: e, children: t }), Zt = ({ title: e }) => /* @__PURE__ */ a(q, { className: "cesium-mc-title", children: e }), Xt = ({ isVisible: e, children: t, title: n }) => /* @__PURE__ */ z(q, { className: `cesium-mc-tool ${e ? "cesium-mc-tool-visible" : ""}`, children: [
1097
+ n && /* @__PURE__ */ a(Zt, { title: n }),
1096
1098
  t
1097
- ] }), ni = ({ item: e, isSelected: t, onClick: n }) => /* @__PURE__ */ z(
1098
- K,
1099
+ ] });
1100
+ function Kt(e) {
1101
+ return function(n) {
1102
+ const i = Te(null), [o, r] = B(!1);
1103
+ return O(() => {
1104
+ if (!o)
1105
+ return;
1106
+ const l = (d) => {
1107
+ const h = d.target;
1108
+ i.current && !i.current.contains(h) && r(!1);
1109
+ };
1110
+ return document.addEventListener("click", l, !0), () => {
1111
+ document.removeEventListener("click", l, !0);
1112
+ };
1113
+ }, [o]), /* @__PURE__ */ a("div", { ref: i, className: "disappear", children: /* @__PURE__ */ a(e, { ...n, isOpen: o, setIsOpen: r }) });
1114
+ };
1115
+ }
1116
+ const ri = ({ item: e, isSelected: t, onClick: n }) => /* @__PURE__ */ z(
1117
+ q,
1099
1118
  {
1100
1119
  className: `cesium-baseLayerPicker-item ${t ? "cesium-baseLayerPicker-selectedItem" : ""}`,
1101
1120
  title: e.title,
1102
1121
  onClick: n,
1103
1122
  children: [
1104
- /* @__PURE__ */ s("img", { className: "cesium-baseLayerPicker-itemIcon", src: e.thumbnail, alt: e.title }),
1105
- /* @__PURE__ */ s(K, { className: "cesium-baseLayerPicker-itemLabel", children: e.title })
1123
+ /* @__PURE__ */ a("img", { className: "cesium-baseLayerPicker-itemIcon", src: e.thumbnail, alt: e.title }),
1124
+ /* @__PURE__ */ a(q, { className: "cesium-baseLayerPicker-itemLabel", children: e.title })
1106
1125
  ]
1107
1126
  }
1108
- ), as = ({ title: e, baseMaps: t, setCurrent: n }) => {
1109
- const i = ve(), [o, r] = O();
1110
- B(() => {
1127
+ ), cs = ({ title: e, baseMaps: t, setCurrent: n }) => {
1128
+ const i = ve(), [o, r] = B();
1129
+ O(() => {
1111
1130
  const d = t.maps.find((h) => h.isCurrent);
1112
1131
  d && (r(d), n(d));
1113
1132
  }, [t]);
@@ -1120,9 +1139,9 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1120
1139
  }));
1121
1140
  };
1122
1141
  return /* @__PURE__ */ z(ge, { children: [
1123
- /* @__PURE__ */ s(Xt, { title: e }),
1124
- /* @__PURE__ */ s(K, { className: "cesium-mc-choices", children: t.maps.map((d) => /* @__PURE__ */ s(
1125
- ni,
1142
+ /* @__PURE__ */ a(Zt, { title: e }),
1143
+ /* @__PURE__ */ a(q, { className: "cesium-mc-choices", children: t.maps.map((d) => /* @__PURE__ */ a(
1144
+ ri,
1126
1145
  {
1127
1146
  item: d,
1128
1147
  isSelected: o === d,
@@ -1131,22 +1150,22 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1131
1150
  d.id
1132
1151
  )) })
1133
1152
  ] });
1134
- }, cs = ({ title: e, terrains: t }) => {
1135
- const [n, i] = O(), o = ve();
1136
- B(() => {
1153
+ }, ls = ({ title: e, terrains: t }) => {
1154
+ const [n, i] = B(), o = ve();
1155
+ O(() => {
1137
1156
  const l = t.find((d) => d.isCurrent);
1138
1157
  l && i(l);
1139
1158
  }, [t]);
1140
1159
  const r = (l) => {
1141
1160
  const d = t.find((h) => h.id === l);
1142
- d && (o.terrainProvider = d.terrainProvider ?? new zn({}), i(d), t.forEach((h) => {
1161
+ d && (o.terrainProvider = d.terrainProvider ?? new $n({}), i(d), t.forEach((h) => {
1143
1162
  h.isCurrent = d === h;
1144
1163
  }));
1145
1164
  };
1146
1165
  return /* @__PURE__ */ z(ge, { children: [
1147
- /* @__PURE__ */ s(Xt, { title: e }),
1148
- /* @__PURE__ */ s(K, { className: "cesium-mc-choices", children: t.map((l) => /* @__PURE__ */ s(
1149
- ni,
1166
+ /* @__PURE__ */ a(Zt, { title: e }),
1167
+ /* @__PURE__ */ a(q, { className: "cesium-mc-choices", children: t.map((l) => /* @__PURE__ */ a(
1168
+ ri,
1150
1169
  {
1151
1170
  item: l,
1152
1171
  isSelected: n === l,
@@ -1155,10 +1174,10 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1155
1174
  l.id
1156
1175
  )) })
1157
1176
  ] });
1158
- }, ls = ({ baseMaps: e, terrains: t, locale: n }) => {
1159
- const [i, o] = O(!1), [r, l] = O(), d = ae(() => Q(n, "BASE_MAP_TITLE") ?? "Base Map", [n]), h = ae(() => Q(n, "TERRAIN_TITLE") ?? "Terrain", [n]);
1177
+ }, ds = ({ baseMaps: e, terrains: t, locale: n, isOpen: i, setIsOpen: o }) => {
1178
+ const [r, l] = B(), d = ae(() => ee(n, "BASE_MAP_TITLE") ?? "Base Map", [n]), h = ae(() => ee(n, "TERRAIN_TITLE") ?? "Terrain", [n]);
1160
1179
  return /* @__PURE__ */ z(ge, { children: [
1161
- /* @__PURE__ */ s(mt, { onClick: () => o((f) => !f), children: /* @__PURE__ */ s(
1180
+ /* @__PURE__ */ a(mt, { onClick: () => o(!i), children: /* @__PURE__ */ a(
1162
1181
  "img",
1163
1182
  {
1164
1183
  className: "cesium-baseLayerPicker-selected",
@@ -1167,27 +1186,27 @@ const Tt = "Imagery", St = "Data", os = ({ locale: e }) => {
1167
1186
  alt: "Current Map"
1168
1187
  }
1169
1188
  ) }),
1170
- /* @__PURE__ */ z(qt, { isVisible: i, children: [
1171
- e && /* @__PURE__ */ s(as, { title: d, baseMaps: e, setCurrent: l }),
1172
- t && /* @__PURE__ */ s(cs, { title: h, terrains: t })
1189
+ /* @__PURE__ */ z(Xt, { isVisible: i, children: [
1190
+ e && /* @__PURE__ */ a(cs, { title: d, baseMaps: e, setCurrent: l }),
1191
+ t && /* @__PURE__ */ a(ls, { title: h, terrains: t })
1173
1192
  ] })
1174
1193
  ] });
1175
- };
1176
- const ds = ({ featureTypes: e, locale: t }) => {
1177
- const n = ae(() => Q(t, "WFS_TITLE") ?? "Data Layers", [t]), i = ae(() => Q(t, "WFS_CACHE") ?? "Cache", [t]), o = ae(() => Q(t, "WFS_EXTENT") ?? "Extent", [t]), r = ae(() => Q(t, "NO_DATA_LAYERS") ?? "No layers found", [t]), l = ae(() => /* @__PURE__ */ s(K, { className: "title", children: n }), [n]), d = ae(() => /* @__PURE__ */ s(ge, { children: e.length > 0 ? e.map((h, f) => /* @__PURE__ */ z(K, { className: "featureType", children: [
1178
- /* @__PURE__ */ s(We, { content: `${h.featureStructure.aliasLayerName} ${h.id} (${String(h.zoomLevel)})`, children: /* @__PURE__ */ z(K, { className: `name ${h.currentZoomLevel < h.zoomLevel ? "warning blinking" : h.total === -1 ? "error blinking" : ""}`, children: [
1194
+ }, us = Kt(ds);
1195
+ const hs = ({ featureTypes: e, locale: t }) => {
1196
+ const n = ae(() => ee(t, "WFS_TITLE") ?? "Data Layers", [t]), i = ae(() => ee(t, "WFS_CACHE") ?? "Cache", [t]), o = ae(() => ee(t, "WFS_EXTENT") ?? "Extent", [t]), r = ae(() => ee(t, "NO_DATA_LAYERS") ?? "No layers found", [t]), l = ae(() => /* @__PURE__ */ a(q, { className: "title", children: n }), [n]), d = ae(() => /* @__PURE__ */ a(ge, { children: e.length > 0 ? e.map((h, f) => /* @__PURE__ */ z(q, { className: "featureType", children: [
1197
+ /* @__PURE__ */ a(We, { content: `${h.featureStructure.aliasLayerName} ${h.id} (${String(h.zoomLevel)})`, children: /* @__PURE__ */ z(q, { className: `name ${h.currentZoomLevel < h.zoomLevel ? "warning blinking" : h.total === -1 ? "error blinking" : ""}`, children: [
1179
1198
  h.featureStructure.aliasLayerName,
1180
1199
  " (",
1181
1200
  String(h.zoomLevel),
1182
1201
  "):"
1183
1202
  ] }) }),
1184
- /* @__PURE__ */ z(K, { className: "info", children: [
1185
- /* @__PURE__ */ z(K, { children: [
1203
+ /* @__PURE__ */ z(q, { className: "info", children: [
1204
+ /* @__PURE__ */ z(q, { children: [
1186
1205
  i,
1187
1206
  ": ",
1188
1207
  h.cache ?? 0
1189
1208
  ] }),
1190
- h.total > 0 && /* @__PURE__ */ z(K, { className: "spacer", children: [
1209
+ h.total > 0 && /* @__PURE__ */ z(q, { className: "spacer", children: [
1191
1210
  o,
1192
1211
  ": ",
1193
1212
  h.items,
@@ -1195,15 +1214,15 @@ const ds = ({ featureTypes: e, locale: t }) => {
1195
1214
  h.total
1196
1215
  ] })
1197
1216
  ] })
1198
- ] }, f)) : /* @__PURE__ */ s(K, { children: r }) }), [e]);
1199
- return /* @__PURE__ */ z(K, { className: "wfsContainer", children: [
1217
+ ] }, f)) : /* @__PURE__ */ a(q, { children: r }) }), [e]);
1218
+ return /* @__PURE__ */ z(q, { className: "wfsContainer", children: [
1200
1219
  l,
1201
1220
  d
1202
1221
  ] });
1203
- }, us = ({ locale: e }) => {
1222
+ }, ms = ({ locale: e, isOpen: t, setIsOpen: n }) => {
1204
1223
  var d;
1205
- const [t, n] = O(!1), [i, o] = O([]), r = ae(() => Q(e, "DEBUG_PANEL_TITLE") ?? "Debugger Tool", [e]), l = ve();
1206
- return B(() => {
1224
+ const [i, o] = B([]), r = ae(() => ee(e, "DEBUG_PANEL_TITLE") ?? "Debugger Tool", [e]), l = ve();
1225
+ return O(() => {
1207
1226
  if (!l.layersManager)
1208
1227
  return;
1209
1228
  const h = (f, C) => {
@@ -1213,11 +1232,11 @@ const ds = ({ featureTypes: e, locale: t }) => {
1213
1232
  return;
1214
1233
  const { options: _, meta: v } = g, { zoomLevel: k } = _, { id: G, items: $, total: j, cache: N, currentZoomLevel: Z, featureStructure: V } = v;
1215
1234
  o((Y) => {
1216
- const ee = Y.findIndex((a) => a.id === G);
1217
- if (ee >= 0) {
1218
- if (JSON.stringify(Y[ee]) !== JSON.stringify({ id: G, items: $, total: j, cache: N, currentZoomLevel: Z, featureStructure: V, zoomLevel: k })) {
1219
- const a = [...Y];
1220
- return a[ee] = { id: G, items: $, total: j, cache: N, currentZoomLevel: Z, featureStructure: V, zoomLevel: k }, a;
1235
+ const J = Y.findIndex((s) => s.id === G);
1236
+ if (J >= 0) {
1237
+ if (JSON.stringify(Y[J]) !== JSON.stringify({ id: G, items: $, total: j, cache: N, currentZoomLevel: Z, featureStructure: V, zoomLevel: k })) {
1238
+ const s = [...Y];
1239
+ return s[J] = { id: G, items: $, total: j, cache: N, currentZoomLevel: Z, featureStructure: V, zoomLevel: k }, s;
1221
1240
  }
1222
1241
  } else
1223
1242
  return [...Y, { id: G, items: $, total: j, cache: N, currentZoomLevel: Z, featureStructure: V, zoomLevel: k }];
@@ -1232,57 +1251,57 @@ const ds = ({ featureTypes: e, locale: t }) => {
1232
1251
  (f = l.layersManager) == null || f.removeDataLayerUpdatedListener(h);
1233
1252
  };
1234
1253
  }, [(d = l.layersManager) == null ? void 0 : d.dataLayerList]), /* @__PURE__ */ z(ge, { children: [
1235
- /* @__PURE__ */ s(mt, { onClick: () => n(!t), children: /* @__PURE__ */ s("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", children: /* @__PURE__ */ s("path", { d: "M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16z", fill: "orange" }) }) }),
1236
- /* @__PURE__ */ s(qt, { isVisible: t, title: r, children: /* @__PURE__ */ s(ds, { featureTypes: i, locale: e }) })
1254
+ /* @__PURE__ */ a(mt, { onClick: () => n(!t), children: /* @__PURE__ */ a("svg", { width: "100%", height: "100%", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { d: "M11.99 18.54l-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27-7.38 5.74zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27L12 16z", fill: "orange" }) }) }),
1255
+ /* @__PURE__ */ a(Xt, { isVisible: t, title: r, children: /* @__PURE__ */ a(hs, { featureTypes: i, locale: e }) })
1237
1256
  ] });
1238
- };
1239
- class Qc extends Tr {
1257
+ }, ps = Kt(ms);
1258
+ class il extends Sr {
1240
1259
  }
1241
- class el extends Sr {
1260
+ class rl extends _r {
1242
1261
  }
1243
- class tl extends _r {
1262
+ class ol extends Mr {
1244
1263
  }
1245
- class nl extends Ie {
1264
+ class sl extends Ie {
1246
1265
  }
1247
- class il extends Te {
1266
+ class al extends Se {
1248
1267
  }
1249
- class hs extends Oe {
1268
+ class gs extends Oe {
1250
1269
  }
1251
- class rl extends Un {
1270
+ class cl extends jn {
1252
1271
  }
1253
- class ol extends zt {
1272
+ class ll extends Wt {
1254
1273
  }
1255
- class sl extends Mr {
1274
+ class dl extends Ir {
1256
1275
  }
1257
- class ms extends Be {
1276
+ class fs extends Be {
1258
1277
  }
1259
- class al extends Ir {
1278
+ class ul extends Pr {
1260
1279
  }
1261
- class cl extends zn {
1280
+ class hl extends $n {
1262
1281
  }
1263
- class ll extends Pr {
1282
+ class ml extends xr {
1264
1283
  }
1265
- class dl extends $n {
1284
+ class pl extends Yn {
1266
1285
  }
1267
- class ul extends Ye {
1286
+ class gl extends Ye {
1268
1287
  }
1269
- class hl extends xr {
1288
+ class fl extends Ar {
1270
1289
  }
1271
- class ml extends Dt {
1290
+ class yl extends Rt {
1272
1291
  }
1273
- class pl extends Ge {
1292
+ class vl extends Ge {
1274
1293
  }
1275
- class gl extends jn {
1294
+ class wl extends Zn {
1276
1295
  }
1277
- class fl extends Ar {
1296
+ class El extends Rr {
1278
1297
  }
1279
- const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("canvas"), Ce = xe.getContext("2d"), Ln = (e) => {
1298
+ const Ll = st, Cl = Dr, _t = Fe, bl = Xn, Tl = Dt, xe = document.createElement("canvas"), Ce = xe.getContext("2d"), Ln = (e) => {
1280
1299
  const i = (e == null ? void 0 : e.data) ?? [];
1281
1300
  for (let o = 3; o < i.length; o += 4)
1282
1301
  if (i[o] < 255)
1283
1302
  return !0;
1284
1303
  return !1;
1285
- }, ps = async (e, t) => (t && t.tileTransparencyCheckedCounter++, new Promise((n, i) => {
1304
+ }, ys = async (e, t) => (t && t.tileTransparencyCheckedCounter++, new Promise((n, i) => {
1286
1305
  try {
1287
1306
  Ce == null || Ce.clearRect(0, 0, xe.width, xe.height);
1288
1307
  let o;
@@ -1306,33 +1325,33 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1306
1325
  })), it = (e, t) => {
1307
1326
  const { west: n, east: i, north: o, south: r } = e, { west: l, east: d, north: h, south: f } = t;
1308
1327
  return n >= l && i <= d && o <= h && r >= f;
1309
- }, gs = (e, t) => qr(e, ut(t)), fs = (e) => {
1328
+ }, vs = (e, t) => qr(e, ut(t)), ws = (e) => {
1310
1329
  const t = (ne.toDegrees(e.west) + ne.toDegrees(e.east)) / 2, n = (ne.toDegrees(e.south) + ne.toDegrees(e.north)) / 2;
1311
- return Xr([t, n]);
1312
- }, ii = (e) => [
1330
+ return Kr([t, n]);
1331
+ }, oi = (e) => [
1313
1332
  ne.toDegrees(e.west),
1314
1333
  ne.toDegrees(e.south),
1315
1334
  ne.toDegrees(e.east),
1316
1335
  ne.toDegrees(e.north)
1317
- ], ri = (e) => {
1336
+ ], si = (e) => {
1318
1337
  const t = e.scene;
1319
1338
  let i = e.camera.computeViewRectangle(t.globe.ellipsoid);
1320
- if (!kt(i) || !i) {
1339
+ if (!Ot(i) || !i) {
1321
1340
  console.error("cesium native computeViewRectangle returned invalid rectangle, fallback to custom calculation ");
1322
1341
  const o = new Ie(0, 0), r = t.camera.pickEllipsoid(o, t.globe.ellipsoid), l = new Ie(t.canvas.width, t.canvas.height), d = t.camera.pickEllipsoid(l, t.globe.ellipsoid), h = t.globe.ellipsoid.cartesianToCartographic(r), f = t.globe.ellipsoid.cartesianToCartographic(d);
1323
1342
  i = new Be(h.longitude, f.latitude, f.longitude, h.latitude);
1324
1343
  }
1325
1344
  return i;
1326
- }, ys = (e, t = 100) => {
1327
- const n = e.scene, i = e.camera, o = n.mode, r = ri(e);
1328
- if (!kt(r) || !r) {
1345
+ }, Es = (e, t = 100) => {
1346
+ const n = e.scene, i = e.camera, o = n.mode, r = si(e);
1347
+ if (!Ot(r) || !r) {
1329
1348
  console.error("customComputeViewRectangle returned invalid rectangle.");
1330
1349
  return;
1331
1350
  }
1332
1351
  if (o === Fe.SCENE2D)
1333
1352
  return r;
1334
1353
  const l = i.positionCartographic;
1335
- if (!kt(l)) {
1354
+ if (!Ot(l)) {
1336
1355
  console.error("Camera position is undefined in 3D mode.");
1337
1356
  return;
1338
1357
  }
@@ -1343,9 +1362,9 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1343
1362
  }
1344
1363
  const f = 111320, C = 111320 * Math.cos(d);
1345
1364
  let L = t / f, u = t / C;
1346
- const g = Te.magnitude(i.positionWC);
1365
+ const g = Se.magnitude(i.positionWC);
1347
1366
  g > 1e7 && (L = 10, u = 10);
1348
- const _ = i.frustum instanceof Dr ? i.frustum.fov : Math.PI / 3;
1367
+ const _ = i.frustum instanceof Or ? i.frustum.fov : Math.PI / 3;
1349
1368
  let v = 1;
1350
1369
  g < 5e5 ? v = 0.05 : g < 2e6 && (v = 0.1), L *= v * (_ / Math.PI), u *= v * (_ / Math.PI);
1351
1370
  const k = i.pitch;
@@ -1355,14 +1374,14 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1355
1374
  L *= $, u *= $;
1356
1375
  const j = 5e-4;
1357
1376
  L = Math.max(L, j), u = Math.max(u, j);
1358
- const N = l.latitude - L, Z = l.latitude + L, V = l.longitude - u, Y = l.longitude + u, ee = ne.clamp(N, r.south, r.north), a = ne.clamp(Z, r.south, r.north), c = ne.clamp(V, r.west, r.east), b = ne.clamp(Y, r.west, r.east), p = Math.min(1, k / ne.PI_OVER_TWO), E = r.north - (r.north - r.south) * p, y = Math.min(a, E);
1377
+ const N = l.latitude - L, Z = l.latitude + L, V = l.longitude - u, Y = l.longitude + u, J = ne.clamp(N, r.south, r.north), s = ne.clamp(Z, r.south, r.north), c = ne.clamp(V, r.west, r.east), b = ne.clamp(Y, r.west, r.east), p = Math.min(1, k / ne.PI_OVER_TWO), E = r.north - (r.north - r.south) * p, y = Math.min(s, E);
1359
1378
  return new Be(
1360
1379
  ne.negativePiToPi(c),
1361
- ne.clamp(ee, -ne.PI_OVER_TWO, ne.PI_OVER_TWO),
1380
+ ne.clamp(J, -ne.PI_OVER_TWO, ne.PI_OVER_TWO),
1362
1381
  ne.negativePiToPi(b),
1363
1382
  ne.clamp(y, -ne.PI_OVER_TWO, ne.PI_OVER_TWO)
1364
1383
  );
1365
- }, oi = (e, t, n, i, o, r) => {
1384
+ }, ai = (e, t, n, i, o, r) => {
1366
1385
  const l = e.scene.mode === Fe.SCENE2D, d = (u) => {
1367
1386
  var g;
1368
1387
  if (u.polygon)
@@ -1379,25 +1398,25 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1379
1398
  })]
1380
1399
  };
1381
1400
  }, h = (u, g, _, v) => {
1382
- const k = Zn.wgs84ToWindowCoordinates(u, g);
1401
+ const k = Kn.wgs84ToWindowCoordinates(u, g);
1383
1402
  if (!k)
1384
1403
  return null;
1385
1404
  const G = k.x + _, $ = k.y + v, j = new Ie(G, k.y), N = new Ie(k.x, $), Z = u.camera.pickEllipsoid(j, u.globe.ellipsoid), V = u.camera.pickEllipsoid(N, u.globe.ellipsoid);
1386
1405
  if (!Z || !V)
1387
1406
  return null;
1388
- const Y = Te.distance(g, Z), ee = Te.distance(g, V);
1389
- return { widthMeters: Y, heightMeters: ee };
1407
+ const Y = Se.distance(g, Z), J = Se.distance(g, V);
1408
+ return { widthMeters: Y, heightMeters: J };
1390
1409
  }, f = (u, g, _) => {
1391
- const v = zt.WGS84, k = u.latitude, G = u.longitude, $ = Math.PI / 180 * v.maximumRadius, j = Math.PI / 180 * v.maximumRadius, N = _ / 2 / $, Z = g / 2 / j, V = k + N, Y = k - N, ee = G + Z, a = G - Z;
1410
+ const v = Wt.WGS84, k = u.latitude, G = u.longitude, $ = Math.PI / 180 * v.maximumRadius, j = Math.PI / 180 * v.maximumRadius, N = _ / 2 / $, Z = g / 2 / j, V = k + N, Y = k - N, J = G + Z, s = G - Z;
1392
1411
  return {
1393
1412
  type: "Polygon",
1394
1413
  coordinates: [
1395
1414
  [
1396
- [a, V],
1397
- [ee, V],
1398
- [ee, Y],
1399
- [a, Y],
1400
- [a, V]
1415
+ [s, V],
1416
+ [J, V],
1417
+ [J, Y],
1418
+ [s, Y],
1419
+ [s, V]
1401
1420
  // close the ring
1402
1421
  ]
1403
1422
  ]
@@ -1412,24 +1431,24 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1412
1431
  try {
1413
1432
  const v = ut(o), k = mn(d(u), v);
1414
1433
  if (k) {
1415
- const G = (g = u.properties) == null ? void 0 : g.label.getValue(Ye.now()), $ = Zr(k, {
1434
+ const G = (g = u.properties) == null ? void 0 : g.label.getValue(Ye.now()), $ = Xr(k, {
1416
1435
  properties: {
1417
1436
  label: G
1418
1437
  }
1419
- }), j = { width: G.width, height: G.height }, [N, Z, V = 0] = $.geometry.coordinates, Y = Te.fromDegrees(N, Z, V), ee = h(e.scene, Y, j.width, j.height);
1420
- if (ee) {
1421
- const a = f({ longitude: N, latitude: Z }, ee.widthMeters, ee.heightMeters), c = mn(k, {
1438
+ }), j = { width: G.width, height: G.height }, [N, Z, V = 0] = $.geometry.coordinates, Y = Se.fromDegrees(N, Z, V), J = h(e.scene, Y, j.width, j.height);
1439
+ if (J) {
1440
+ const s = f({ longitude: N, latitude: Z }, J.widthMeters, J.heightMeters), c = mn(k, {
1422
1441
  type: "Feature",
1423
1442
  properties: {},
1424
- geometry: a
1443
+ geometry: s
1425
1444
  });
1426
- C(c == null ? void 0 : c.geometry, a) > 0.7 && L.push($);
1445
+ C(c == null ? void 0 : c.geometry, s) > 0.7 && L.push($);
1427
1446
  }
1428
1447
  }
1429
1448
  } catch {
1430
1449
  console.log("*** Label placement failed: turf.intersect() failed ***", "entity -->", u, "extent -->", o);
1431
1450
  }
1432
- if (!(n.length > 0 && !n.some((v) => u.id.startsWith(v))) && (u.polygon && (u.polygon = new Or({
1451
+ if (!(n.length > 0 && !n.some((v) => u.id.startsWith(v))) && (u.polygon && (u.polygon = new kr({
1433
1452
  hierarchy: u.polygon.hierarchy,
1434
1453
  material: l ? Ge.fromCssColorString(i).withAlpha(0.2) : Ge.fromCssColorString(i).withAlpha(0.5),
1435
1454
  outline: !0,
@@ -1438,7 +1457,7 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1438
1457
  height: l ? 1e4 : void 0,
1439
1458
  // Mount Everest peak reaches an elevation of approximately 8848.86 meters above sea level
1440
1459
  perPositionHeight: !1
1441
- })), u.polyline && (u.polyline = new $n({
1460
+ })), u.polyline && (u.polyline = new Yn({
1442
1461
  positions: u.polyline.positions,
1443
1462
  material: Ge.fromCssColorString(i).withAlpha(0.5),
1444
1463
  clampToGround: !0,
@@ -1448,8 +1467,8 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1448
1467
  k.longitude,
1449
1468
  k.latitude,
1450
1469
  l ? 500 : e.scene.sampleHeight(Oe.fromCartesian(v))
1451
- ), $ = Te.fromRadians(G.longitude, G.latitude, G.height), j = "#FFFF00";
1452
- u.position = $, u.billboard = new Dt({
1470
+ ), $ = Se.fromRadians(G.longitude, G.latitude, G.height), j = "#FFFF00";
1471
+ u.position = $, u.billboard = new Rt({
1453
1472
  image: "data:image/svg+xml;base64," + btoa(`
1454
1473
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
1455
1474
  <circle cx="8" cy="8" r="6" fill="${i}33" stroke="${j}80" stroke-width="2"/>
@@ -1457,23 +1476,23 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1457
1476
  `),
1458
1477
  //${color}33 - with opacity 0.2 ; #FFFF0080 - with opacity 0.5
1459
1478
  verticalOrigin: st.BOTTOM,
1460
- heightReference: Ot.NONE,
1479
+ heightReference: Dt.NONE,
1461
1480
  // Ensures it's not clamped and floats above
1462
1481
  scale: 1,
1463
1482
  disableDepthTestDistance: Number.POSITIVE_INFINITY
1464
1483
  });
1465
1484
  }
1466
1485
  }), e.dataSources.remove(e.dataSources.getByName(`${r == null ? void 0 : r.dataSourcePrefix}${t.name}`)[0]), r && l) {
1467
- const u = new Ut(`${r == null ? void 0 : r.dataSourcePrefix}${t.name}`);
1486
+ const u = new zt(`${r == null ? void 0 : r.dataSourcePrefix}${t.name}`);
1468
1487
  e.dataSources.add(u), u.load({
1469
1488
  type: "FeatureCollection",
1470
1489
  features: L
1471
1490
  }).then((g) => {
1472
1491
  g == null || g.entities.values.forEach((_) => {
1473
1492
  var v;
1474
- _.billboard = new Dt({
1493
+ _.billboard = new Rt({
1475
1494
  image: (v = _.properties) == null ? void 0 : v.label.getValue(Ye.now()).dataURL,
1476
- heightReference: Ot.NONE,
1495
+ heightReference: Dt.NONE,
1477
1496
  // Ensures it's not clamped and floats above
1478
1497
  scale: 1,
1479
1498
  disableDepthTestDistance: Number.POSITIVE_INFINITY
@@ -1481,23 +1500,23 @@ const yl = st, vl = Rr, _t = Fe, wl = Yn, El = Ot, xe = document.createElement("
1481
1500
  });
1482
1501
  });
1483
1502
  }
1484
- }, vs = 0.2, ws = (e, t = vs) => e.width === 0 ? (e.east = e.east + 1e-4 * t, e.west = e.west - 1e-4 * t, e.south = e.south - 1e-4 * t, e.north = e.north + 1e-4 * t, e) : (e.east = e.east + e.width * t, e.west = e.west - e.width * t, e.south = e.south - e.height * t, e.north = e.north + e.height * t, e);
1485
- const Es = ({ options: e, isOpen: t, locale: n }) => {
1486
- const i = ve(), o = Se(void 0), r = Se(null), [l, d] = O(""), [h, f] = O(!1), [C, L] = O(!0), [u, g] = O(), [_, v] = O(), k = ae(() => Q(n, "SHOW_FEATURE_ON_MAP") ?? "Show on map", [n]), G = ae(() => Q(n, "IN_MAP_EXTENT") ?? "Search in extent", [n]), $ = ae(() => Q(n, "SEARCH_PLACEHOLDER") ?? "Search...", [n]), j = ae(() => Q(n, "NO_RESULTS") ?? "No Results", [n]), N = ae(() => i.scene.mode === Fe.SCENE2D ? !1 : (f(!1), !0), [i.scene.mode]), Z = 300, V = /* @__PURE__ */ s("svg", { width: "16px", height: "16px", viewBox: "0 0 16 16", children: /* @__PURE__ */ s("rect", { x: "0", y: "0", width: 16, height: 16, rx: "2", ry: "2", fill: "white", stroke: "#ccc", strokeWidth: 1 }) }), Y = /* @__PURE__ */ z("svg", { width: "16px", height: "16px", viewBox: "0 0 16 16", children: [
1487
- /* @__PURE__ */ s("rect", { x: "0", y: "0", width: 16, height: 16, rx: "2", ry: "2", fill: "#1976d2", stroke: "#1976d2", strokeWidth: 1 }),
1488
- /* @__PURE__ */ s("path", { d: "M4 8l2 2 6-6", fill: "none", stroke: "white", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })
1503
+ }, Ls = 0.2, Cs = (e, t = Ls) => e.width === 0 ? (e.east = e.east + 1e-4 * t, e.west = e.west - 1e-4 * t, e.south = e.south - 1e-4 * t, e.north = e.north + 1e-4 * t, e) : (e.east = e.east + e.width * t, e.west = e.west - e.width * t, e.south = e.south - e.height * t, e.north = e.north + e.height * t, e);
1504
+ const bs = ({ options: e, isOpen: t, locale: n }) => {
1505
+ const i = ve(), o = Te(void 0), r = Te(null), [l, d] = B(""), [h, f] = B(!1), [C, L] = B(!0), [u, g] = B(), [_, v] = B(), k = ae(() => ee(n, "SHOW_FEATURE_ON_MAP") ?? "Show on map", [n]), G = ae(() => ee(n, "IN_MAP_EXTENT") ?? "Search in extent", [n]), $ = ae(() => ee(n, "SEARCH_PLACEHOLDER") ?? "Search...", [n]), j = ae(() => ee(n, "NO_RESULTS") ?? "No Results", [n]), N = ae(() => i.scene.mode === Fe.SCENE2D ? !1 : (f(!1), !0), [i.scene.mode]), Z = 300, V = /* @__PURE__ */ a("svg", { width: "16px", height: "16px", viewBox: "0 0 16 16", children: /* @__PURE__ */ a("rect", { x: "0", y: "0", width: 16, height: 16, rx: "2", ry: "2", fill: "white", stroke: "#ccc", strokeWidth: 1 }) }), Y = /* @__PURE__ */ z("svg", { width: "16px", height: "16px", viewBox: "0 0 16 16", children: [
1506
+ /* @__PURE__ */ a("rect", { x: "0", y: "0", width: 16, height: 16, rx: "2", ry: "2", fill: "#1976d2", stroke: "#1976d2", strokeWidth: 1 }),
1507
+ /* @__PURE__ */ a("path", { d: "M4 8l2 2 6-6", fill: "none", stroke: "white", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })
1489
1508
  ] });
1490
- B(() => {
1509
+ O(() => {
1491
1510
  e.forEach((m) => {
1492
1511
  m.baseUrl && m.endPoint && !m.url && (m.url = m.baseUrl + m.endPoint);
1493
1512
  });
1494
- }, [e]), B(() => {
1513
+ }, [e]), O(() => {
1495
1514
  t && r.current && r.current.focus();
1496
- }, [t]), B(() => {
1515
+ }, [t]), O(() => {
1497
1516
  if (!i)
1498
1517
  return;
1499
1518
  if (!o.current) {
1500
- const w = new Ut("geocoderDataSource");
1519
+ const w = new zt("geocoderDataSource");
1501
1520
  o.current = w, i.dataSources.add(w);
1502
1521
  }
1503
1522
  const m = o.current;
@@ -1506,10 +1525,10 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1506
1525
  type: "FeatureCollection",
1507
1526
  features: [_]
1508
1527
  };
1509
- await m.load(x), oi(i, m, [], "#01FF1F");
1528
+ await m.load(x), ai(i, m, [], "#01FF1F");
1510
1529
  })() : m.entities.removeAll();
1511
1530
  }, [i, C, _]);
1512
- const ee = (m) => {
1531
+ const J = (m) => {
1513
1532
  switch (typeof m) {
1514
1533
  case "object":
1515
1534
  return Array.isArray(m) ? `[${m.map((w) => `'${w}'`).join(", ")}]` : JSON.stringify(m);
@@ -1520,30 +1539,30 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1520
1539
  case "undefined":
1521
1540
  return;
1522
1541
  }
1523
- }, a = (m, w, x) => {
1524
- const R = ee(x);
1542
+ }, s = (m, w, x) => {
1543
+ const R = J(x);
1525
1544
  if (R) {
1526
1545
  const M = m.includes("?") ? m.endsWith("?") || m.endsWith("&") ? "" : "&" : "?";
1527
1546
  return `${m}${M}${encodeURIComponent(w)}=${encodeURIComponent(R)}`;
1528
1547
  }
1529
1548
  return m;
1530
1549
  }, c = (m, w) => (m && m.forEach((x) => {
1531
- w = a(w, x[0], x[1]);
1550
+ w = s(w, x[0], x[1]);
1532
1551
  }), w), b = Le(
1533
1552
  (m, w, x, R) => ((() => {
1534
- const P = w.dynamic.queryText, D = typeof P == "string" ? P : P.name, J = typeof P == "string" ? void 0 : P.relatedParams;
1535
- if (m = a(m, D, x), J && J.forEach((te) => {
1536
- m = a(m, te[0], te[1]);
1553
+ const P = w.dynamic.queryText, D = typeof P == "string" ? P : P.name, Q = typeof P == "string" ? void 0 : P.relatedParams;
1554
+ if (m = s(m, D, x), Q && Q.forEach((te) => {
1555
+ m = s(m, te[0], te[1]);
1537
1556
  }), R) {
1538
- const te = ri(i), U = w.dynamic.geoContext, q = typeof U == "string" ? U : U == null ? void 0 : U.name;
1539
- if (te && q) {
1540
- const re = ii(te), he = {
1557
+ const te = si(i), U = w.dynamic.geoContext, K = typeof U == "string" ? U : U == null ? void 0 : U.name;
1558
+ if (te && K) {
1559
+ const re = oi(te), he = {
1541
1560
  bbox: [re[0], re[1], re[2], re[3]]
1542
1561
  };
1543
- m = a(m, q, he);
1562
+ m = s(m, K, he);
1544
1563
  const we = typeof U == "string" || U == null ? void 0 : U.relatedParams;
1545
1564
  we && we.forEach((oe) => {
1546
- m = a(m, oe[0], oe[1]);
1565
+ m = s(m, oe[0], oe[1]);
1547
1566
  });
1548
1567
  }
1549
1568
  }
@@ -1566,9 +1585,9 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1566
1585
  });
1567
1586
  }), R = await Promise.all(x), M = await Promise.all(
1568
1587
  R.filter((P) => P !== void 0).map(async (P) => {
1569
- var J;
1588
+ var Q;
1570
1589
  const D = await P.json();
1571
- return D.features = (J = D.features) == null ? void 0 : J.map((te) => ({
1590
+ return D.features = (Q = D.features) == null ? void 0 : Q.map((te) => ({
1572
1591
  ...te,
1573
1592
  properties: {
1574
1593
  ...te.properties,
@@ -1583,37 +1602,37 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1583
1602
  })
1584
1603
  );
1585
1604
  g(M);
1586
- }, [b, e]), E = ae(() => $r((m, w) => {
1605
+ }, [b, e]), E = ae(() => jr((m, w) => {
1587
1606
  p(m, w);
1588
1607
  }, Z), [p]);
1589
- B(() => () => E.cancel(), [E]);
1608
+ O(() => () => E.cancel(), [E]);
1590
1609
  const y = (m, w) => {
1591
1610
  d(m), E(m, w);
1592
1611
  };
1593
- B(() => {
1612
+ O(() => {
1594
1613
  p(l, h);
1595
1614
  }, [h]);
1596
1615
  const S = (m) => {
1597
- const w = Yr(m);
1616
+ const w = Zr(m);
1598
1617
  let x;
1599
1618
  switch (w) {
1600
1619
  case "Point":
1601
- x = /* @__PURE__ */ s("svg", { width: "18px", height: "18px", viewBox: "0 0 24 24", fill: "var(--mdc-theme-cesium-color)", children: /* @__PURE__ */ s("path", { d: "M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z" }) });
1620
+ x = /* @__PURE__ */ a("svg", { width: "18px", height: "18px", viewBox: "0 0 24 24", fill: "var(--mdc-theme-cesium-color)", children: /* @__PURE__ */ a("path", { d: "M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z" }) });
1602
1621
  break;
1603
1622
  case "LineString":
1604
1623
  x = /* @__PURE__ */ z("svg", { width: "18px", height: "18px", viewBox: "0 0 24 24", children: [
1605
- /* @__PURE__ */ s("path", { fill: "var(--mdc-theme-cesium-color)", stroke: "var(--mdc-theme-cesium-color)", strokeWidth: 0.5, d: "M21 6h.046l-5.25 9h-.944L10 9.455V7H7v2.926L1.862 18H0v3h3v-2.926L8.138 10h1.01L14 15.545V18h3v-3h-.046l5.25-9H24V3h-3zM8 8h1v1H8zM2 20H1v-1h1zm14-3h-1v-1h1zm7-13v1h-1V4z" }),
1606
- /* @__PURE__ */ s("path", { fill: "none", d: "M0 0h24v24H0z" })
1624
+ /* @__PURE__ */ a("path", { fill: "var(--mdc-theme-cesium-color)", stroke: "var(--mdc-theme-cesium-color)", strokeWidth: 0.5, d: "M21 6h.046l-5.25 9h-.944L10 9.455V7H7v2.926L1.862 18H0v3h3v-2.926L8.138 10h1.01L14 15.545V18h3v-3h-.046l5.25-9H24V3h-3zM8 8h1v1H8zM2 20H1v-1h1zm14-3h-1v-1h1zm7-13v1h-1V4z" }),
1625
+ /* @__PURE__ */ a("path", { fill: "none", d: "M0 0h24v24H0z" })
1607
1626
  ] });
1608
1627
  break;
1609
1628
  default:
1610
- x = /* @__PURE__ */ s("svg", { width: "18px", height: "18px", viewBox: "0 0 24 24", fill: "none", stroke: "var(--mdc-theme-cesium-color)", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ s("path", { d: "M11 4 L20 14 L20 20 L4 20 L4 10 Z" }) });
1629
+ x = /* @__PURE__ */ a("svg", { width: "18px", height: "18px", viewBox: "0 0 24 24", fill: "none", stroke: "var(--mdc-theme-cesium-color)", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ a("path", { d: "M11 4 L20 14 L20 20 L4 20 L4 10 Z" }) });
1611
1630
  break;
1612
1631
  }
1613
- return /* @__PURE__ */ s(K, { children: x });
1632
+ return /* @__PURE__ */ a(q, { children: x });
1614
1633
  };
1615
- return /* @__PURE__ */ s(K, { className: "geocoderContainer", children: /* @__PURE__ */ z(K, { className: "geocoderForm", children: [
1616
- /* @__PURE__ */ s(
1634
+ return /* @__PURE__ */ a(q, { className: "geocoderContainer", children: /* @__PURE__ */ z(q, { className: "geocoderForm", children: [
1635
+ /* @__PURE__ */ a(
1617
1636
  Qe,
1618
1637
  {
1619
1638
  id: "geocoderTextField",
@@ -1625,10 +1644,10 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1625
1644
  autoComplete: "off"
1626
1645
  }
1627
1646
  ),
1628
- /* @__PURE__ */ z(K, { className: "search-results", children: [
1629
- /* @__PURE__ */ z(K, { className: "checkboxesContainer", children: [
1630
- /* @__PURE__ */ s(
1631
- Rt,
1647
+ /* @__PURE__ */ z(q, { className: "search-results", children: [
1648
+ /* @__PURE__ */ z(q, { className: "checkboxesContainer", children: [
1649
+ /* @__PURE__ */ a(
1650
+ At,
1632
1651
  {
1633
1652
  className: "checkboxElement",
1634
1653
  label: k,
@@ -1640,11 +1659,11 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1640
1659
  }
1641
1660
  }
1642
1661
  ),
1643
- /* @__PURE__ */ s(
1644
- Rt,
1662
+ /* @__PURE__ */ a(
1663
+ At,
1645
1664
  {
1646
1665
  className: "checkboxElement",
1647
- label: /* @__PURE__ */ s(At, { tag: "span", className: N ? "disabled" : "", children: G }),
1666
+ label: /* @__PURE__ */ a(xt, { tag: "span", className: N ? "disabled" : "", children: G }),
1648
1667
  checked: h,
1649
1668
  icon: V,
1650
1669
  checkedicon: Y,
@@ -1655,42 +1674,39 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1655
1674
  }
1656
1675
  )
1657
1676
  ] }),
1658
- /* @__PURE__ */ s(K, { className: "listsContainer", children: e.map((m, w) => /* @__PURE__ */ z(xi, { children: [
1659
- /* @__PURE__ */ s(At, { className: "bold", tag: "span", children: m.title ?? m.endPoint }),
1660
- /* @__PURE__ */ s(K, { className: "listContainer", children: (() => {
1661
- var D, J, te, U, q, re, he, we;
1662
- const x = (J = (D = u == null ? void 0 : u[w]) == null ? void 0 : D.body) == null ? void 0 : J.features, R = (q = (U = (te = u == null ? void 0 : u[w]) == null ? void 0 : te.body) == null ? void 0 : U.features) == null ? void 0 : q.length, M = (he = (re = u == null ? void 0 : u[w]) == null ? void 0 : re.body) == null ? void 0 : he.message, P = (we = u == null ? void 0 : u[w]) == null ? void 0 : we.status;
1677
+ /* @__PURE__ */ a(q, { className: "listsContainer", children: e.map((m, w) => /* @__PURE__ */ z(Ai, { children: [
1678
+ /* @__PURE__ */ a(xt, { className: "bold", tag: "span", children: m.title ?? m.endPoint }),
1679
+ /* @__PURE__ */ a(q, { className: "listContainer", children: (() => {
1680
+ var D, Q, te, U, K, re, he, we;
1681
+ const x = (Q = (D = u == null ? void 0 : u[w]) == null ? void 0 : D.body) == null ? void 0 : Q.features, R = (K = (U = (te = u == null ? void 0 : u[w]) == null ? void 0 : te.body) == null ? void 0 : U.features) == null ? void 0 : K.length, M = (he = (re = u == null ? void 0 : u[w]) == null ? void 0 : re.body) == null ? void 0 : he.message, P = (we = u == null ? void 0 : u[w]) == null ? void 0 : we.status;
1663
1682
  return R ? x.map((oe, pe) => {
1664
1683
  var I, A, F, H, W;
1665
- return /* @__PURE__ */ s(
1666
- Ai,
1684
+ return /* @__PURE__ */ a(
1685
+ Ri,
1667
1686
  {
1668
1687
  className: _ === oe ? "mdc-ripple-upgraded--background-focused" : "",
1669
1688
  onClick: () => {
1670
1689
  var X;
1671
1690
  i.camera.flyTo({
1672
- destination: ws(ms.fromDegrees(...dt(oe.geometry)))
1691
+ destination: Cs(fs.fromDegrees(...dt(oe.geometry)))
1673
1692
  }), v(oe), (X = m.callbackFunc) == null || X.call(m, oe, m, pe);
1674
1693
  },
1675
- children: /* @__PURE__ */ z(K, { className: "queryItemResult", children: [
1676
- /* @__PURE__ */ s(We, { content: (A = (I = oe == null ? void 0 : oe.properties) == null ? void 0 : I.names) == null ? void 0 : A.display, children: /* @__PURE__ */ s(K, { children: (W = (H = (F = oe == null ? void 0 : oe.properties) == null ? void 0 : F.names) == null ? void 0 : H.default) == null ? void 0 : W[0] }) }),
1694
+ children: /* @__PURE__ */ z(q, { className: "queryItemResult", children: [
1695
+ /* @__PURE__ */ a(We, { content: (A = (I = oe == null ? void 0 : oe.properties) == null ? void 0 : I.names) == null ? void 0 : A.display, children: /* @__PURE__ */ a(q, { children: (W = (H = (F = oe == null ? void 0 : oe.properties) == null ? void 0 : F.names) == null ? void 0 : H.default) == null ? void 0 : W[0] }) }),
1677
1696
  S(oe)
1678
1697
  ] })
1679
1698
  },
1680
1699
  `feature-${pe}`
1681
1700
  );
1682
- }) : R === 0 ? /* @__PURE__ */ s(yt, { className: "generalListItem queryNoResults", children: j }) : M ? /* @__PURE__ */ s(yt, { className: `generalListItem ${P === 400 ? "queryWarning" : "queryError"}`, children: M }) : /* @__PURE__ */ s(yt, { className: "generalListItem" });
1701
+ }) : R === 0 ? /* @__PURE__ */ a(yt, { className: "generalListItem queryNoResults", children: j }) : M ? /* @__PURE__ */ a(yt, { className: `generalListItem ${P === 400 ? "queryWarning" : "queryError"}`, children: M }) : /* @__PURE__ */ a(yt, { className: "generalListItem" });
1683
1702
  })() })
1684
1703
  ] })) })
1685
1704
  ] })
1686
1705
  ] }) });
1687
- }, Ls = ({ options: e, locale: t }) => {
1688
- const [n, i] = O(!1);
1689
- return /* @__PURE__ */ z(ge, { children: [
1690
- /* @__PURE__ */ s(mt, { onClick: () => i((o) => !o), children: /* @__PURE__ */ s("svg", { className: "cesium-svgPath-svg", width: "32", height: "32", fill: "var(--mdc-theme-cesium-color)", viewBox: "0 0 32 32", children: /* @__PURE__ */ s("path", { d: "M29.772,26.433l-7.126-7.126c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127L29.772,26.433zM7.203,13.885c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486c-0.007,3.58-2.905,6.476-6.484,6.484C10.106,20.361,7.209,17.465,7.203,13.885z" }) }) }),
1691
- /* @__PURE__ */ s(qt, { isVisible: n, children: /* @__PURE__ */ s(Es, { options: e, isOpen: n, locale: t }) })
1692
- ] });
1693
- }, Cs = {
1706
+ }, Ts = ({ options: e, locale: t, isOpen: n, setIsOpen: i }) => /* @__PURE__ */ z(ge, { children: [
1707
+ /* @__PURE__ */ a(mt, { onClick: () => i(!n), children: /* @__PURE__ */ a("svg", { className: "cesium-svgPath-svg", width: "32", height: "32", fill: "var(--mdc-theme-cesium-color)", viewBox: "0 0 32 32", children: /* @__PURE__ */ a("path", { d: "M29.772,26.433l-7.126-7.126c0.96-1.583,1.523-3.435,1.524-5.421C24.169,8.093,19.478,3.401,13.688,3.399C7.897,3.401,3.204,8.093,3.204,13.885c0,5.789,4.693,10.481,10.484,10.481c1.987,0,3.839-0.563,5.422-1.523l7.128,7.127L29.772,26.433zM7.203,13.885c0.006-3.582,2.903-6.478,6.484-6.486c3.579,0.008,6.478,2.904,6.484,6.486c-0.007,3.58-2.905,6.476-6.484,6.484C10.106,20.361,7.209,17.465,7.203,13.885z" }) }) }),
1708
+ /* @__PURE__ */ a(Xt, { isVisible: n, children: /* @__PURE__ */ a(bs, { options: e, isOpen: n, locale: t }) })
1709
+ ] }), Ss = Kt(Ts), _s = {
1694
1710
  "BM-GOOGLE_TERRAIN-XYZ_LAYER": "https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}",
1695
1711
  "BM-INFRARED_RASTER-WMS_LAYER": "https://mesonet.agron.iastate.edu/cgi-bin/wms/goes/conus_ir.cgi?",
1696
1712
  "BM-RADAR_RASTER-WMS_LAYER": "https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?",
@@ -1698,8 +1714,8 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1698
1714
  "BM-VECTOR_TILES-XYZ_LAYER": "https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=6170aad10dfd42a38d4d8c709a536f38",
1699
1715
  "BM-WMTS_POPULATION_TILES-WMTS_LAYER": "https://services.arcgisonline.com/arcgis/rest/services/Demographics/USA_Population_Density/MapServer/WMTS/",
1700
1716
  "3D_MODEL": "https://3d.ofek-air.com/3d/Jeru_Old_City_Cesium/ACT/Jeru_Old_City_Cesium_ACT.json"
1701
- }, bs = {
1702
- GLOBAL: Cs,
1717
+ }, Ms = {
1718
+ GLOBAL: _s,
1703
1719
  "WFS Vector layer": {
1704
1720
  "3d_model": "https://tiles.mapcolonies.net/api/3d/v1/b3dm/32d542c1-b956-4579-91df-2a43b183d8b3/data/vricon.3dtiles/tileset.json?token=eyJhbGciOiJSUzI1NiIsImtpZCI6Im1hcC1jb2xvbmllcy1pbnQifQ.eyJhbyI6WyJodHRwczovL2FwcC1pbnQtY2xpZW50LXJvdXRlLWludGVncmF0aW9uLmFwcHMuajFsazNuanAuZWFzdHVzLmFyb2FwcC5pbyIsImh0dHBzOi8vYXBwLWludC1jbGllbnQtdG9vbHMtcm91dGUtaW50ZWdyYXRpb24uYXBwcy5qMWxrM25qcC5lYXN0dXMuYXJvYXBwLmlvIiwiaHR0cDovL2xvY2FsaG9zdDozMDAwIl0sImQiOlsicmFzdGVyIiwicmFzdGVyV21zIiwicmFzdGVyRXhwb3J0IiwiZGVtIiwidmVjdG9yIiwiM2QiXSwiaWF0IjoxNjc0NjMyMzQ2LCJzdWIiOiJtYXBjb2xvbmllcy1hcHAiLCJpc3MiOiJtYXBjb2xvbmllcy10b2tlbi1jbGkifQ.e-4SmHNOE8FwpcJoHdp-3Dh6D8GqCwM5wZfZIPrivGhfeKdihcsjEj_WN2jWN-ULha_ytZN5gRusLjwikNwgbF6hvb-QTDe3bEHPAjtgpZmF4HaJze8e6VPDF1tTC52CHDzNnwkUGAH1tnVGq10SnyhsGDezUChTVeBeVu-swTI58qCjemUQRw7-Q03uSEH24AkbX2CC1_rNwulo7ChglyTdn01tTWPsPjIuDjeixxm2CUmUHpfZzroaSzwof7ByQe22o3tFddje6ItNLBUC_VN7UfNLa_QPSVbIuNac-iMGFbK-RIyXUK8mp1AwddvSGsBUYcDs8fWMLzKhItljnw",
1705
1721
  vector_geoserver: "http://geoserver-vector-dev.apps.j1lk3njp.eastus.aroapp.io/geoserver/core/ows"
@@ -1710,11 +1726,11 @@ const Es = ({ options: e, isOpen: t, locale: n }) => {
1710
1726
  "WFS PP layer": {
1711
1727
  raster_pp_geoserver: "https://raster-serving-int-pp-geoserver-nginx-route-manual-integration.apps.j1lk3njp.eastus.aroapp.io/geoserver/wfs?token=eyJhbGciOiJSUzI1NiIsImtpZCI6Im1hcC1jb2xvbmllcy1pbnQifQ.eyJkIjpbInJhc3RlciIsInJhc3RlcldtcyIsInJhc3RlckV4cG9ydCIsImRlbSIsInZlY3RvciIsIjNkIl0sImlhdCI6MTY3NDYzMjM0Niwic3ViIjoibWFwY29sb25pZXMtYXBwIiwiaXNzIjoibWFwY29sb25pZXMtdG9rZW4tY2xpIn0.D1u28gFlxf_Z1bzIiRHZonUgrdWwhZy8DtmQj15cIzaABRUrGV2n_OJlgWTuNfrao0SbUZb_s0_qUUW6Gz_zO3ET2bVx5xQjBu0CaIWdmUPDjEYr6tw-eZx8EjFFIyq3rs-Fo0daVY9cX1B2aGW_GeJir1oMnJUURhABYRoh60azzl_utee9UdhDpnr_QElNtzJZIKogngsxCWp7tI7wkTuNCBaQM7aLEcymk0ktxlWEAt1E0nGt1R-bx-HnPeeQyZlxx4UQ1nuYTijpz7N8poaCCExOFeafj9T7megv2BzTrKWgfM1eai8srSgNa3I5wKuW0EyYnGZxdbJe8aseZg"
1712
1728
  }
1713
- }, Ae = (e, t) => bs[e][t], Ts = Ae("GLOBAL", "DEFAULT_TERRAIN_PROVIDER_URL");
1729
+ }, Ae = (e, t) => Ms[e][t], Is = Ae("GLOBAL", "DEFAULT_TERRAIN_PROVIDER_URL");
1714
1730
  Ae("GLOBAL", "TERRAIN_SRTM100");
1715
1731
  Ae("GLOBAL", "TERRAIN_COMBINED");
1716
1732
  Ae("GLOBAL", "BM-GOOGLE_TERRAIN-XYZ_LAYER"), Ae("GLOBAL", "BM-INFRARED_RASTER-WMS_LAYER"), Ae("GLOBAL", "BM-RADAR_RASTER-WMS_LAYER"), Ae("GLOBAL", "BM-GOOGLE_TERRAIN-XYZ_LAYER"), Ae("GLOBAL", "BM-VECTOR_TILES_GPS-XYZ_LAYER"), Ae("GLOBAL", "BM-VECTOR_TILES-XYZ_LAYER"), Ae("GLOBAL", "BM-VECTOR_TILES_GPS-XYZ_LAYER"), Ae("GLOBAL", "BM-WMTS_POPULATION_TILES-WMTS_LAYER");
1717
- const si = (e, t, n) => {
1733
+ const ci = (e, t, n) => {
1718
1734
  let i;
1719
1735
  if (e.scene.mode !== Fe.SCENE2D)
1720
1736
  i = e.scene.pickPosition(new Ie(t, n));
@@ -1723,8 +1739,8 @@ const si = (e, t, n) => {
1723
1739
  i = e.camera.pickEllipsoid(new Ie(t, n), o);
1724
1740
  }
1725
1741
  return Oe.fromCartesian(i);
1726
- }, Ss = (e, t, n) => {
1727
- const i = si(e, t, n);
1742
+ }, Ps = (e, t, n) => {
1743
+ const i = ci(e, t, n);
1728
1744
  return {
1729
1745
  type: "Feature",
1730
1746
  properties: {},
@@ -1733,9 +1749,9 @@ const si = (e, t, n) => {
1733
1749
  coordinates: [ne.toDegrees(i.longitude), ne.toDegrees(i.latitude)]
1734
1750
  }
1735
1751
  };
1736
- }, ai = (e, t, n) => {
1752
+ }, li = (e, t, n) => {
1737
1753
  try {
1738
- const i = si(e, t, n);
1754
+ const i = ci(e, t, n);
1739
1755
  return {
1740
1756
  longitude: ne.toDegrees(i.longitude),
1741
1757
  latitude: ne.toDegrees(i.latitude)
@@ -1744,7 +1760,7 @@ const si = (e, t, n) => {
1744
1760
  return;
1745
1761
  }
1746
1762
  }, pt = 3, at = "hasTransparency";
1747
- function Kt(e, t, n, i, o) {
1763
+ function qt(e, t, n, i, o) {
1748
1764
  return setTimeout(() => {
1749
1765
  var d;
1750
1766
  const r = (d = this.layerListInstance.find(
@@ -1754,8 +1770,8 @@ function Kt(e, t, n, i, o) {
1754
1770
  return ((f = h._imageryProvider._resource) == null ? void 0 : f._url) === ((C = this._resource) == null ? void 0 : C._url);
1755
1771
  }
1756
1772
  /* eslint-enable */
1757
- )) == null ? void 0 : d.meta, l = Q(r, at) === !0;
1758
- this.tileTransparencyCheckedCounter < pt && !l && ps(o == null ? void 0 : o.url, this).then((h) => {
1773
+ )) == null ? void 0 : d.meta, l = ee(r, at) === !0;
1774
+ this.tileTransparencyCheckedCounter < pt && !l && ys(o == null ? void 0 : o.url, this).then((h) => {
1759
1775
  var f;
1760
1776
  (f = this.mapViewer.layersManager) == null || f.addMetaToLayer(
1761
1777
  { [at]: h },
@@ -1765,7 +1781,7 @@ function Kt(e, t, n, i, o) {
1765
1781
  });
1766
1782
  }, 0), e(t, n, i, o);
1767
1783
  }
1768
- class ci extends $t {
1784
+ class di extends Ut {
1769
1785
  constructor(n, i) {
1770
1786
  var o;
1771
1787
  super(n);
@@ -1776,10 +1792,10 @@ class ci extends $t {
1776
1792
  this.layerListInstance = (o = i.layersManager) == null ? void 0 : o.layerList, this.mapViewer = i;
1777
1793
  }
1778
1794
  requestImage(n, i, o, r) {
1779
- return Kt.call(this, super.requestImage.bind(this), n, i, o, r);
1795
+ return qt.call(this, super.requestImage.bind(this), n, i, o, r);
1780
1796
  }
1781
1797
  }
1782
- class li extends jt {
1798
+ class ui extends $t {
1783
1799
  constructor(n, i) {
1784
1800
  var o;
1785
1801
  super(n);
@@ -1790,10 +1806,10 @@ class li extends jt {
1790
1806
  this.layerListInstance = (o = i.layersManager) == null ? void 0 : o.layerList, this.mapViewer = i;
1791
1807
  }
1792
1808
  requestImage(n, i, o, r) {
1793
- return Kt.call(this, super.requestImage.bind(this), n, i, o, r);
1809
+ return qt.call(this, super.requestImage.bind(this), n, i, o, r);
1794
1810
  }
1795
1811
  }
1796
- class di extends Yt {
1812
+ class hi extends jt {
1797
1813
  constructor(n, i) {
1798
1814
  var o;
1799
1815
  super(n);
@@ -1804,11 +1820,11 @@ class di extends Yt {
1804
1820
  this.layerListInstance = (o = i.layersManager) == null ? void 0 : o.layerList, this.mapViewer = i;
1805
1821
  }
1806
1822
  requestImage(n, i, o, r) {
1807
- return Kt.call(this, super.requestImage.bind(this), n, i, o, r);
1823
+ return qt.call(this, super.requestImage.bind(this), n, i, o, r);
1808
1824
  }
1809
1825
  }
1810
- const _s = 1, Ms = -1, Cn = "TRANSPARENT_BASE_LAYER";
1811
- class Is {
1826
+ const xs = 1, As = -1, Cn = "TRANSPARENT_BASE_LAYER";
1827
+ class Rs {
1812
1828
  constructor(t, n, i, o, r) {
1813
1829
  ue(this, "mapViewer");
1814
1830
  ue(this, "legendsList");
@@ -1839,7 +1855,7 @@ class Is {
1839
1855
  return this.dataLayers;
1840
1856
  }
1841
1857
  isBaseMapLayer(t) {
1842
- return !!Q(t, "parentBasetMapId");
1858
+ return !!ee(t, "parentBasetMapId");
1843
1859
  }
1844
1860
  addDataLayer(t) {
1845
1861
  this.dataLayers.push({ ...t }), this.dataLayerUpdated.raiseEvent(this.dataLayers);
@@ -1865,17 +1881,17 @@ class Is {
1865
1881
  let o;
1866
1882
  switch (t.type) {
1867
1883
  case "XYZ_LAYER": {
1868
- const r = t.options, l = this.shouldOptimizedTileRequests ? new ci(r, this.mapViewer) : new $t(r);
1884
+ const r = t.options, l = this.shouldOptimizedTileRequests ? new di(r, this.mapViewer) : new Ut(r);
1869
1885
  o = this.mapViewer.imageryLayers.addImageryProvider(l, n);
1870
1886
  break;
1871
1887
  }
1872
1888
  case "WMS_LAYER": {
1873
- const r = t.options, l = this.shouldOptimizedTileRequests ? new li(r, this.mapViewer) : new jt(r);
1889
+ const r = t.options, l = this.shouldOptimizedTileRequests ? new ui(r, this.mapViewer) : new $t(r);
1874
1890
  o = this.mapViewer.imageryLayers.addImageryProvider(l, n);
1875
1891
  break;
1876
1892
  }
1877
1893
  case "WMTS_LAYER": {
1878
- const r = t.options, l = this.shouldOptimizedTileRequests ? new di(r, this.mapViewer) : new Yt(r);
1894
+ const r = t.options, l = this.shouldOptimizedTileRequests ? new hi(r, this.mapViewer) : new jt(r);
1879
1895
  o = this.mapViewer.imageryLayers.addImageryProvider(l, n);
1880
1896
  break;
1881
1897
  }
@@ -1902,7 +1918,7 @@ class Is {
1902
1918
  });
1903
1919
  }
1904
1920
  removeNotBaseMapLayers() {
1905
- this.layers.filter((n) => !Q(n.meta, "parentBasetMapId")).forEach((n) => {
1921
+ this.layers.filter((n) => !ee(n.meta, "parentBasetMapId")).forEach((n) => {
1906
1922
  this.mapViewer.imageryLayers.remove(n, !0);
1907
1923
  });
1908
1924
  }
@@ -1936,7 +1952,7 @@ class Is {
1936
1952
  i !== void 0 && (i.show = n);
1937
1953
  }
1938
1954
  showAllNotBase(t) {
1939
- this.layers.filter((i) => !Q(i.meta, "parentBasetMapId")).forEach((i) => {
1955
+ this.layers.filter((i) => !ee(i.meta, "parentBasetMapId")).forEach((i) => {
1940
1956
  var o;
1941
1957
  this.show((o = i.meta) == null ? void 0 : o.id, t);
1942
1958
  });
@@ -1949,14 +1965,14 @@ class Is {
1949
1965
  var o;
1950
1966
  const n = this.mapViewer.camera.getPickRay(t);
1951
1967
  let i;
1952
- return n && (i = (o = this.mapViewer.imageryLayers.pickImageryLayers(n, this.mapViewer.scene)) == null ? void 0 : o.filter((r) => !Q(r.meta, "parentBasetMapId"))), i;
1968
+ return n && (i = (o = this.mapViewer.imageryLayers.pickImageryLayers(n, this.mapViewer.scene)) == null ? void 0 : o.filter((r) => !ee(r.meta, "parentBasetMapId"))), i;
1953
1969
  }
1954
1970
  findLayerByPOI(t, n, i = !0) {
1955
1971
  if (this.layerManagerFootprintMetaFieldPath) {
1956
- const o = Ss(this.mapViewer, t, n);
1957
- return this.layers.filter((d) => !Q(d.meta, "parentBasetMapId")).filter((d) => {
1958
- const h = Q(d.meta, this.layerManagerFootprintMetaFieldPath);
1959
- return h !== void 0 ? Kr(o.geometry, {
1972
+ const o = Ps(this.mapViewer, t, n);
1973
+ return this.layers.filter((d) => !ee(d.meta, "parentBasetMapId")).filter((d) => {
1974
+ const h = ee(d.meta, this.layerManagerFootprintMetaFieldPath);
1975
+ return h !== void 0 ? Jr(o.geometry, {
1960
1976
  type: "Feature",
1961
1977
  properties: {},
1962
1978
  geometry: h
@@ -1970,7 +1986,7 @@ class Is {
1970
1986
  }
1971
1987
  addTransparentImageryProvider() {
1972
1988
  const t = this.mapViewer.imageryLayers.addImageryProvider(
1973
- new kr({
1989
+ new Nr({
1974
1990
  url: "./assets/img/transparent-tile.png",
1975
1991
  /* eslint-disable @typescript-eslint/no-magic-numbers */
1976
1992
  rectangle: new Be(-3.141592653589793, -1.5707963267948966, 3.141592653589793, 1.5707963267948966)
@@ -2003,16 +2019,16 @@ class Is {
2003
2019
  typeof this.legendsExtractor < "u" && (this.legendsList = this.legendsExtractor(this.layers));
2004
2020
  }
2005
2021
  getBaseLayersCount() {
2006
- return this.layers.filter((n) => !!Q(n.meta, "parentBasetMapId")).length;
2022
+ return this.layers.filter((n) => !!ee(n.meta, "parentBasetMapId")).length;
2007
2023
  }
2008
2024
  findLayerById(t) {
2009
2025
  return this.layers.find((n) => n.meta !== void 0 ? n.meta.id === t : !1);
2010
2026
  }
2011
2027
  updateLayersOrder(t, n, i) {
2012
- const o = n > i ? _s : Ms, r = n < i ? n : i, l = n < i ? i : n;
2028
+ const o = n > i ? xs : As, r = n < i ? n : i, l = n < i ? i : n;
2013
2029
  this.layers.forEach((d) => {
2014
2030
  var f;
2015
- if (!Q(d.meta, "parentBasetMapId")) {
2031
+ if (!ee(d.meta, "parentBasetMapId")) {
2016
2032
  const C = (f = d.meta) == null ? void 0 : f.zIndex;
2017
2033
  d.meta.zIndex = C >= r && C <= l && C !== n ? C + o : C === n ? i : C;
2018
2034
  }
@@ -2028,7 +2044,7 @@ class Is {
2028
2044
  try {
2029
2045
  const i = this.mapViewer.camera.computeViewRectangle();
2030
2046
  for (let o = this.layers.length - 1; o >= 0; o--) {
2031
- const r = this.layers[o], l = !Bt(i) && !Bt(r.rectangle) && Be.intersection(i, r.rectangle);
2047
+ const r = this.layers[o], l = !Nt(i) && !Nt(r.rectangle) && Be.intersection(i, r.rectangle);
2032
2048
  for (let d = this.layers.length - 1; d >= o; d--) {
2033
2049
  if (((t = r.meta) == null ? void 0 : t.skipRelevancyCheck) === !0) {
2034
2050
  r.meta = { ...r.meta, relevantToExtent: !0 };
@@ -2075,7 +2091,7 @@ class Is {
2075
2091
  }
2076
2092
  }
2077
2093
  }
2078
- const Ps = ({ legend: { legendImg: e, legendDoc: t, layer: n }, docText: i, imgText: o }) => {
2094
+ const Ds = ({ legend: { legendImg: e, legendDoc: t, layer: n }, docText: i, imgText: o }) => {
2079
2095
  const r = Le(() => {
2080
2096
  window.open(e, "_blank");
2081
2097
  }, [e]);
@@ -2083,43 +2099,43 @@ const Ps = ({ legend: { legendImg: e, legendDoc: t, layer: n }, docText: i, imgT
2083
2099
  window.open(t, "_blank");
2084
2100
  }, [t]);
2085
2101
  const l = Le(() => {
2086
- const f = /* @__PURE__ */ s(K, { className: "layerNameContainer", children: /* @__PURE__ */ s("h3", { style: { maxWidth: `${15}ch` }, className: "layerName", children: n }) });
2087
- return (n ?? "").length > 15 ? /* @__PURE__ */ s(We, { content: n, children: f }) : f;
2102
+ const f = /* @__PURE__ */ a(q, { className: "layerNameContainer", children: /* @__PURE__ */ a("h3", { style: { maxWidth: `${15}ch` }, className: "layerName", children: n }) });
2103
+ return (n ?? "").length > 15 ? /* @__PURE__ */ a(We, { content: n, children: f }) : f;
2088
2104
  }, [n]), d = Le(() => [
2089
- typeof e == "string" && /* @__PURE__ */ s("a", { className: "legendAction", href: e, target: "_blank", rel: "noreferrer", children: o }),
2090
- typeof t == "string" && /* @__PURE__ */ s("a", { className: "legendAction", href: t, target: "_blank", rel: "noreferrer", children: i })
2105
+ typeof e == "string" && /* @__PURE__ */ a("a", { className: "legendAction", href: e, target: "_blank", rel: "noreferrer", children: o }),
2106
+ typeof t == "string" && /* @__PURE__ */ a("a", { className: "legendAction", href: t, target: "_blank", rel: "noreferrer", children: i })
2091
2107
  ], [e, o, t, i]);
2092
- return /* @__PURE__ */ z(K, { className: "mapLegend", children: [
2108
+ return /* @__PURE__ */ z(q, { className: "mapLegend", children: [
2093
2109
  l(),
2094
- /* @__PURE__ */ s("img", { alt: "Map Legend", className: "legendImg", src: e, onClick: r }),
2095
- /* @__PURE__ */ s(K, { className: "legendActionsContainer", children: d() })
2110
+ /* @__PURE__ */ a("img", { alt: "Map Legend", className: "legendImg", src: e, onClick: r }),
2111
+ /* @__PURE__ */ a(q, { className: "legendActionsContainer", children: d() })
2096
2112
  ] });
2097
- }, xs = ({ legends: e, actionsTexts: { docText: t, imgText: n }, noLegendsText: i }) => {
2098
- const o = Le(() => /* @__PURE__ */ s(K, { className: "noLegendsContainer", children: /* @__PURE__ */ s("h2", { className: "noLegendsMsg", children: i }) }), [i]), r = Le(() => e.length ? e.map((l, d) => /* @__PURE__ */ s(Ps, { legend: l, docText: t, imgText: n }, `${l.layer}_${d}`)) : o(), [e]);
2099
- return /* @__PURE__ */ s(K, { className: "mapLegendsList", children: r() });
2100
- }, As = ({
2113
+ }, Os = ({ legends: e, actionsTexts: { docText: t, imgText: n }, noLegendsText: i }) => {
2114
+ const o = Le(() => /* @__PURE__ */ a(q, { className: "noLegendsContainer", children: /* @__PURE__ */ a("h2", { className: "noLegendsMsg", children: i }) }), [i]), r = Le(() => e.length ? e.map((l, d) => /* @__PURE__ */ a(Ds, { legend: l, docText: t, imgText: n }, `${l.layer}_${d}`)) : o(), [e]);
2115
+ return /* @__PURE__ */ a(q, { className: "mapLegendsList", children: r() });
2116
+ }, ks = ({
2101
2117
  isOpen: e,
2102
2118
  toggleSidebar: t,
2103
2119
  title: n = "Map Legends",
2104
2120
  noLegendsText: i = "No legends to display...",
2105
2121
  actionsTexts: o = { docText: "Docs", imgText: "View Image" },
2106
2122
  legends: r = []
2107
- }) => e ? /* @__PURE__ */ z(Ri, { className: "mapLegendSidebarContainer", modal: !1, dismissible: !0, open: e, children: [
2108
- /* @__PURE__ */ s(Di, { className: "sidebarHeaderContainer", children: /* @__PURE__ */ s(Oi, { className: "sidebarTitle", children: n }) }),
2109
- /* @__PURE__ */ z(ki, { className: "sidebarContent", children: [
2110
- /* @__PURE__ */ s(Gn, { onClick: t, className: "mapLegendCloseBtn", icon: { icon: "close", size: "small" } }),
2111
- /* @__PURE__ */ s(xs, { noLegendsText: i, legends: r, actionsTexts: o })
2123
+ }) => e ? /* @__PURE__ */ z(Di, { className: "mapLegendSidebarContainer", modal: !1, dismissible: !0, open: e, children: [
2124
+ /* @__PURE__ */ a(Oi, { className: "sidebarHeaderContainer", children: /* @__PURE__ */ a(ki, { className: "sidebarTitle", children: n }) }),
2125
+ /* @__PURE__ */ z(Ni, { className: "sidebarContent", children: [
2126
+ /* @__PURE__ */ a(Hn, { onClick: t, className: "mapLegendCloseBtn", icon: { icon: "close", size: "small" } }),
2127
+ /* @__PURE__ */ a(Os, { noLegendsText: i, legends: r, actionsTexts: o })
2112
2128
  ] })
2113
- ] }) : null, Rs = ({ legendToggle: e }) => /* @__PURE__ */ s(ge, { children: /* @__PURE__ */ s(mt, { onClick: e, children: /* @__PURE__ */ z("svg", { height: "100%", width: "100%", viewBox: "-45 -45 650 650", children: [
2114
- /* @__PURE__ */ s("path", { d: `M322.4,173.9l-129,16.2l-4.6,21.4l25.3,4.7c16.5,3.9,19.8,9.9,16.2,26.4l-41.5,195.3c-10.9,50.5,5.9,74.3,45.5,74.3\r
2129
+ ] }) : null, Ns = ({ legendToggle: e }) => /* @__PURE__ */ a(ge, { children: /* @__PURE__ */ a(mt, { onClick: e, children: /* @__PURE__ */ z("svg", { height: "100%", width: "100%", viewBox: "-45 -45 650 650", children: [
2130
+ /* @__PURE__ */ a("path", { d: `M322.4,173.9l-129,16.2l-4.6,21.4l25.3,4.7c16.5,3.9,19.8,9.9,16.2,26.4l-41.5,195.3c-10.9,50.5,5.9,74.3,45.5,74.3\r
2115
2131
  c30.7,0,66.3-14.2,82.5-33.6l4.9-23.4c-11.3,9.9-27.7,13.9-38.6,13.9c-15.5,0-21.1-10.9-17.1-30L322.4,173.9z` }),
2116
- /* @__PURE__ */ s("circle", { cx: "270.1", cy: "56.3", r: "56.3" })
2132
+ /* @__PURE__ */ a("circle", { cx: "270.1", cy: "56.3", r: "56.3" })
2117
2133
  ] }) }) });
2118
- const Ds = (e) => {
2134
+ const Bs = (e) => {
2119
2135
  const t = ve(), { enableCompass: n = !0, enableZoomControls: i = !1, lockCompassNavigation: o = !1, locale: r = { DIRECTION: "ltr" } } = e;
2120
- return B(() => {
2121
- if (typeof Q(t, "cesiumNavigation") > "u") {
2122
- t.extend(Jr, {
2136
+ return O(() => {
2137
+ if (typeof ee(t, "cesiumNavigation") > "u") {
2138
+ t.extend(Qr, {
2123
2139
  enableCompass: n,
2124
2140
  enableZoomControls: i,
2125
2141
  enableDistanceLegend: !1
@@ -2129,34 +2145,34 @@ const Ds = (e) => {
2129
2145
  }
2130
2146
  }, [t, n, i, r.DIRECTION, o]), null;
2131
2147
  };
2132
- const Os = (e) => {
2133
- const t = ve(), n = Se(null), [i, o] = O({ x: 0, y: 0 });
2134
- return B(() => {
2148
+ const Fs = (e) => {
2149
+ const t = ve(), n = Te(null), [i, o] = B({ x: 0, y: 0 });
2150
+ return O(() => {
2135
2151
  t.screenSpaceEventHandler.setInputAction((r) => {
2136
2152
  if (r != null && r.endPosition) {
2137
2153
  const l = { ...r.endPosition };
2138
2154
  l.x = Math.ceil(l.x), l.y = Math.ceil(l.y), o(l);
2139
2155
  }
2140
- }, Nt.MOUSE_MOVE);
2141
- }, [n, t]), B(() => {
2156
+ }, kt.MOUSE_MOVE);
2157
+ }, [n, t]), O(() => {
2142
2158
  const r = t.scene.globe.ellipsoid;
2143
2159
  if (i) {
2144
- const l = ai(t, i.x, i.y);
2160
+ const l = li(t, i.x, i.y);
2145
2161
  if (l) {
2146
- const d = new hs(l.longitude, l.latitude);
2162
+ const d = new gs(l.longitude, l.latitude);
2147
2163
  if (n.current) {
2148
2164
  let h = "";
2149
2165
  switch (e.projection) {
2150
2166
  case Re.WEB_MERCATOR: {
2151
- const C = new Nr(r).project(d);
2152
- h = `Mercator: ${C.y.toFixed(Vt)}m, ${C.x.toFixed(
2153
- Vt
2167
+ const C = new Br(r).project(d);
2168
+ h = `Mercator: ${C.y.toFixed(Gt)}m, ${C.x.toFixed(
2169
+ Gt
2154
2170
  )}m`, n.current.style.width = "220px";
2155
2171
  break;
2156
2172
  }
2157
2173
  case Re.WGS84: {
2158
- const f = d.longitude.toFixed(Gt);
2159
- h = `WGS84: ${d.latitude.toFixed(Gt)}°N ${f}°E`, n.current.style.width = "200px";
2174
+ const f = d.longitude.toFixed(Ft);
2175
+ h = `WGS84: ${d.latitude.toFixed(Ft)}°N ${f}°E`, n.current.style.width = "200px";
2160
2176
  break;
2161
2177
  }
2162
2178
  }
@@ -2164,7 +2180,7 @@ const Os = (e) => {
2164
2180
  }
2165
2181
  }
2166
2182
  }
2167
- }, [i, n, t, e.projection]), /* @__PURE__ */ s("div", { className: "coordinatesTracker", ref: n });
2183
+ }, [i, n, t, e.projection]), /* @__PURE__ */ a("div", { className: "coordinatesTracker", ref: n });
2168
2184
  };
2169
2185
  const Mt = [
2170
2186
  1,
@@ -2199,12 +2215,12 @@ const Mt = [
2199
2215
  2e7,
2200
2216
  3e7,
2201
2217
  5e7
2202
- ], ks = (e, t, n, i) => {
2203
- const o = Q(i, "METERS_UNIT") ?? "m", r = Q(i, "KILOMETERS_UNIT") ?? "km", l = {
2218
+ ], Gs = (e, t, n, i) => {
2219
+ const o = ee(i, "METERS_UNIT") ?? "m", r = ee(i, "KILOMETERS_UNIT") ?? "km", l = {
2204
2220
  barWidth: void 0,
2205
2221
  distanceLabel: void 0,
2206
2222
  lastLegendUpdate: t.lastLegendUpdate
2207
- }, d = new Fr(), h = new Date().getTime();
2223
+ }, d = new Gr(), h = new Date().getTime();
2208
2224
  if (h < l.lastLegendUpdate + 250)
2209
2225
  return;
2210
2226
  l.lastLegendUpdate = h;
@@ -2222,30 +2238,30 @@ const Mt = [
2222
2238
  N >= 1e3 ? Z = `${(N / 1e3).toString()} ${r}` : Z = `${N.toString()} ${o}`, l.barWidth = N / $ | 0, l.distanceLabel = Z;
2223
2239
  }
2224
2240
  n(l);
2225
- }, Ns = (e) => {
2226
- const t = ve(), [n, i] = O({
2241
+ }, Vs = (e) => {
2242
+ const t = ve(), [n, i] = B({
2227
2243
  barWidth: void 0,
2228
2244
  distanceLabel: void 0,
2229
2245
  lastLegendUpdate: -1
2230
2246
  });
2231
- B(() => {
2247
+ O(() => {
2232
2248
  const r = (h) => {
2233
- ks(t, n, i, e.locale);
2234
- }, l = new Br(), d = (h) => {
2249
+ Gs(t, n, i, e.locale);
2250
+ }, l = new Fr(), d = (h) => {
2235
2251
  t.scene.globe.tilesLoaded && (r(new MouseEvent("mouse")), l.removeAll());
2236
2252
  };
2237
2253
  return l.add(t.scene.globe.tileLoadProgressEvent, d), t.camera.moveEnd.addEventListener(r), () => {
2238
2254
  try {
2239
- Q(t, "_cesiumWidget") != null && t.camera.moveEnd.removeEventListener(r);
2255
+ ee(t, "_cesiumWidget") != null && t.camera.moveEnd.removeEventListener(r);
2240
2256
  } catch (h) {
2241
2257
  console.log('CESIUM camera "moveEnd" remove listener failed', h);
2242
2258
  }
2243
2259
  };
2244
2260
  }, [t, e.locale, n]);
2245
2261
  const o = (r) => 5 + (125 - r) / 2;
2246
- return /* @__PURE__ */ s("div", { className: "scaleTracker", children: et(n.barWidth) && /* @__PURE__ */ z(ge, { children: [
2247
- /* @__PURE__ */ s("div", { className: "scaleTrackerLabel", children: /* @__PURE__ */ s("bdi", { children: n.distanceLabel }) }),
2248
- /* @__PURE__ */ s(
2262
+ return /* @__PURE__ */ a("div", { className: "scaleTracker", children: et(n.barWidth) && /* @__PURE__ */ z(ge, { children: [
2263
+ /* @__PURE__ */ a("div", { className: "scaleTrackerLabel", children: /* @__PURE__ */ a("bdi", { children: n.distanceLabel }) }),
2264
+ /* @__PURE__ */ a(
2249
2265
  "div",
2250
2266
  {
2251
2267
  className: "scaleTrackerBar",
@@ -2258,15 +2274,15 @@ const Mt = [
2258
2274
  )
2259
2275
  ] }) });
2260
2276
  };
2261
- const Bs = () => {
2277
+ const Hs = () => {
2262
2278
  const e = ve();
2263
- return /* @__PURE__ */ s("div", { className: "zoomButtons", children: [
2279
+ return /* @__PURE__ */ a("div", { className: "zoomButtons", children: [
2264
2280
  { onClick: () => e.camera.zoomIn(), iconPath: "M48 20h-18v-18h-10v18h-18v10h18v18h10v-18h18z" },
2265
2281
  { onClick: () => e.camera.zoomOut(), iconPath: "M2 20h46v10h-46z" }
2266
- ].map((n, i) => /* @__PURE__ */ s(
2267
- Gn,
2282
+ ].map((n, i) => /* @__PURE__ */ a(
2283
+ Hn,
2268
2284
  {
2269
- icon: /* @__PURE__ */ s("div", { className: "zoomButton", children: /* @__PURE__ */ s(
2285
+ icon: /* @__PURE__ */ a("div", { className: "zoomButton", children: /* @__PURE__ */ a(
2270
2286
  "svg",
2271
2287
  {
2272
2288
  fill: "var(--mdc-theme-cesium-color)",
@@ -2277,7 +2293,7 @@ const Bs = () => {
2277
2293
  baseProfile: "tiny",
2278
2294
  xmlns: "http://www.w3.org/2000/svg",
2279
2295
  overflow: "inherit",
2280
- children: /* @__PURE__ */ s("path", { d: n.iconPath })
2296
+ children: /* @__PURE__ */ a("path", { d: n.iconPath })
2281
2297
  }
2282
2298
  ) }),
2283
2299
  onClick: n.onClick
@@ -2286,12 +2302,12 @@ const Bs = () => {
2286
2302
  )) });
2287
2303
  };
2288
2304
  const bn = (e, t) => {
2289
- const i = Q(t.scene.globe, "_surface.tileProvider"), o = i._quadtree, r = t.canvas.height, l = Q(t.camera.frustum, "sseDenominator") ?? 1;
2305
+ const i = ee(t.scene.globe, "_surface.tileProvider"), o = i._quadtree, r = t.canvas.height, l = ee(t.camera.frustum, "sseDenominator") ?? 1;
2290
2306
  for (let d = 0; d <= 19; d++)
2291
2307
  if (i.getLevelMaximumGeometricError(d) * r / (e * l) < o.maximumScreenSpaceError)
2292
2308
  return d;
2293
2309
  return null;
2294
- }, Fs = (e, t) => {
2310
+ }, Ws = (e, t) => {
2295
2311
  e = e || 10;
2296
2312
  const n = [];
2297
2313
  let i = 1e5, o = 0;
@@ -2310,8 +2326,8 @@ const bn = (e, t) => {
2310
2326
  }
2311
2327
  }
2312
2328
  return n;
2313
- }, Gs = ({ locale: e = void 0, valueBy: t = "RENDERED_TILES" }) => {
2314
- const n = ve(), i = tt(), [o, r] = O(1), l = Fs(1, n), d = Le(() => {
2329
+ }, zs = ({ locale: e = void 0, valueBy: t = "RENDERED_TILES" }) => {
2330
+ const n = ve(), i = tt(), [o, r] = B(1), l = Ws(1, n), d = Le(() => {
2315
2331
  const L = n.camera, u = 0.5;
2316
2332
  let g = 0;
2317
2333
  switch (n.scene.mode) {
@@ -2341,30 +2357,30 @@ const bn = (e, t) => {
2341
2357
  CALCULATION: d,
2342
2358
  RENDERED_TILES: h
2343
2359
  }), [d, h])[t];
2344
- return B(() => {
2360
+ return O(() => {
2345
2361
  const L = n.scene.globe.tileLoadProgressEvent.addEventListener(function() {
2346
2362
  n.scene.globe.tilesLoaded && C();
2347
2363
  });
2348
2364
  return n.camera.moveEnd.addEventListener(C), () => {
2349
2365
  try {
2350
- typeof Q(n, "_cesiumWidget") < "u" && (n.camera.moveEnd.removeEventListener(C), L());
2366
+ typeof ee(n, "_cesiumWidget") < "u" && (n.camera.moveEnd.removeEventListener(C), L());
2351
2367
  } catch (u) {
2352
2368
  console.log('CESIUM camera "moveEnd"(from zoom tracker) remove listener failed', u);
2353
2369
  }
2354
2370
  };
2355
2371
  }, [n, C]), /* @__PURE__ */ z("div", { className: "zoomLevel", children: [
2356
- /* @__PURE__ */ s("div", { className: "zoomLevelValue", children: o }),
2357
- /* @__PURE__ */ s("div", { className: "zoomLevelLabel", children: Q(e, "ZOOM_LABEL") ?? "zoom" })
2372
+ /* @__PURE__ */ a("div", { className: "zoomLevelValue", children: o }),
2373
+ /* @__PURE__ */ a("div", { className: "zoomLevelLabel", children: ee(e, "ZOOM_LABEL") ?? "zoom" })
2358
2374
  ] });
2359
2375
  };
2360
- const Tn = 2, Sn = 212, _n = 260, Vs = 0;
2361
- class Ll extends Gr {
2376
+ const Tn = 2, Sn = 212, _n = 260, Us = 0;
2377
+ class Sl extends Vr {
2362
2378
  constructor(n, i) {
2363
2379
  super(n, i);
2364
2380
  ue(this, "layersManager");
2365
2381
  }
2366
2382
  }
2367
- const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2383
+ const Jt = ze(null), $s = Jt.Provider, ve = () => {
2368
2384
  const e = Ve(Jt);
2369
2385
  if (e === null)
2370
2386
  throw new Error("map context is null, please check the provider");
@@ -2374,10 +2390,10 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2374
2390
  if (t === null)
2375
2391
  throw new Error("map context viewstate is null, please check the provider");
2376
2392
  return t;
2377
- }, Cl = (e) => {
2378
- var fe, ye, Pe, Ue, qe, en, tn, nn;
2379
- const t = Se(null), [n, i] = O(), [o, r] = O(), [l, d] = O(), [h, f] = O(), [C, L] = O(), [u, g] = O(), [_, v] = O(), [k, G] = O(), [$, j] = O(), [N, Z] = O(), [V, Y] = O(!1), [ee, a] = O(!1), c = Se(), [b, p] = O([]), [E, y] = O(), [S, m] = O(), [w, x] = O(!1), R = Se(), [M, P] = O(void 0), [D, J] = O(!1), [te, U] = O(), [q, re] = O(), he = lt(), we = go(he), oe = ae(() => V || ee, [V, ee]);
2380
- B(() => {
2393
+ }, _l = (e) => {
2394
+ var fe, ye, Pe, Ue, Ke, en, tn, nn;
2395
+ const t = Te(null), [n, i] = B(), [o, r] = B(), [l, d] = B(), [h, f] = B(), [C, L] = B(), [u, g] = B(), [_, v] = B(), [k, G] = B(), [$, j] = B(), [N, Z] = B(), [V, Y] = B(!1), [J, s] = B(!1), c = Te(), [b, p] = B([]), [E, y] = B(), [S, m] = B(), [w, x] = B(!1), R = Te(), [M, P] = B(void 0), [D, Q] = B(!1), [te, U] = B(), [K, re] = B(), he = lt(), we = fo(he), oe = ae(() => V || J, [V, J]);
2396
+ O(() => {
2381
2397
  re({
2382
2398
  currentZoomLevel: -1,
2383
2399
  shouldOptimizedTileRequests: e.useOptimizedTileRequests ?? !1
@@ -2395,21 +2411,21 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2395
2411
  imageryProvider: !1,
2396
2412
  ...e
2397
2413
  }, I = (se, de, ce, Ee, _e) => {
2398
- const Ne = n.container, De = Ne.clientWidth, Ke = Ne.clientHeight, rn = Ee + _e;
2414
+ const Ne = n.container, De = Ne.clientWidth, qe = Ne.clientHeight, rn = Ee + _e;
2399
2415
  return {
2400
2416
  left: `${De - se < ce ? se - (ce - (De - se)) : se}px`,
2401
- top: `${Ke - de < rn ? de - (rn - (Ke - de)) : de}px`
2417
+ top: `${qe - de < rn ? de - (rn - (qe - de)) : de}px`
2402
2418
  };
2403
2419
  }, A = Le(
2404
2420
  (se) => {
2405
2421
  if (t.current !== null) {
2406
2422
  const de = t.current.cesiumElement, ce = { x: se.offsetX, y: se.offsetY };
2407
- x(!1), P(ce), U(ai(de, ce.x, ce.y)), x(!0), R.current = se;
2423
+ x(!1), P(ce), U(li(de, ce.x, ce.y)), x(!0), R.current = se;
2408
2424
  }
2409
2425
  },
2410
2426
  [t]
2411
2427
  );
2412
- B(() => {
2428
+ O(() => {
2413
2429
  var se;
2414
2430
  if (t.current !== null) {
2415
2431
  const de = t.current.cesiumElement;
@@ -2422,7 +2438,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2422
2438
  if (n)
2423
2439
  return {
2424
2440
  mapViewer: n.layersManager ? n : Object.assign(n, {
2425
- layersManager: new Is(
2441
+ layersManager: new Rs(
2426
2442
  n,
2427
2443
  (se = e.legends) == null ? void 0 : se.mapLegendsExtractor,
2428
2444
  () => {
@@ -2430,45 +2446,45 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2430
2446
  p((ce = n.layersManager) == null ? void 0 : ce.legendsList);
2431
2447
  },
2432
2448
  e.layerManagerFootprintMetaFieldPath,
2433
- q == null ? void 0 : q.shouldOptimizedTileRequests
2449
+ K == null ? void 0 : K.shouldOptimizedTileRequests
2434
2450
  )
2435
2451
  }),
2436
- viewState: q,
2452
+ viewState: K,
2437
2453
  setViewState: re
2438
2454
  };
2439
- }, [e.useOptimizedTileRequests, e.legends, e.layerManagerFootprintMetaFieldPath, n, q]);
2440
- B(() => {
2455
+ }, [e.useOptimizedTileRequests, e.legends, e.layerManagerFootprintMetaFieldPath, n, K]);
2456
+ O(() => {
2441
2457
  var de, ce;
2442
2458
  y(e.baseMaps);
2443
2459
  const se = (de = e.baseMaps) == null ? void 0 : de.maps.find((Ee) => Ee.isCurrent);
2444
2460
  se && n && ((ce = n.layersManager) == null || ce.setBaseMapLayers(se));
2445
- }, [e.baseMaps, n]), B(() => {
2461
+ }, [e.baseMaps, n]), O(() => {
2446
2462
  const se = e.terrains || (n && n.terrainProvider ? [{
2447
2463
  id: "1",
2448
- url: Ts,
2464
+ url: Is,
2449
2465
  title: "Default Terrain",
2450
2466
  thumbnail: "Cesium/Widgets/Images/TerrainProviders/Ellipsoid.png",
2451
2467
  isCurrent: !0,
2452
2468
  terrainProvider: n.terrainProvider
2453
2469
  }] : void 0);
2454
2470
  m(se);
2455
- }, [e.terrains, n]), B(() => {
2471
+ }, [e.terrains, n]), O(() => {
2456
2472
  d(e.projection ?? Re.WGS84);
2457
- }, [e.projection]), B(() => {
2473
+ }, [e.projection]), O(() => {
2458
2474
  r(e.locale);
2459
- }, [e.locale]), B(() => {
2475
+ }, [e.locale]), O(() => {
2460
2476
  f(e.showMousePosition ?? !0);
2461
- }, [e.showMousePosition]), B(() => {
2477
+ }, [e.showMousePosition]), O(() => {
2462
2478
  L(e.showZoomLevel ?? !0);
2463
- }, [e.showZoomLevel]), B(() => {
2479
+ }, [e.showZoomLevel]), O(() => {
2464
2480
  g(e.showScale ?? !0);
2465
- }, [e.showScale]), B(() => {
2481
+ }, [e.showScale]), O(() => {
2466
2482
  v(e.showCompass ?? !0);
2467
- }, [e.showCompass]), B(() => {
2483
+ }, [e.showCompass]), O(() => {
2468
2484
  Z(e.showLoadingProgress ?? !0);
2469
- }, [e.showLoadingProgress]), B(() => {
2485
+ }, [e.showLoadingProgress]), O(() => {
2470
2486
  j(e.showActiveLayersTool ?? !0);
2471
- }, [e.showActiveLayersTool]), B(() => {
2487
+ }, [e.showActiveLayersTool]), O(() => {
2472
2488
  var de;
2473
2489
  const se = () => {
2474
2490
  if (n === void 0)
@@ -2527,14 +2543,14 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2527
2543
  ce = !0;
2528
2544
  return;
2529
2545
  }
2530
- }), a(ce);
2546
+ }), s(ce);
2531
2547
  })));
2532
- }, [n]), B(() => {
2548
+ }, [n]), O(() => {
2533
2549
  const se = () => {
2534
2550
  if (n && c.current) {
2535
2551
  const de = c.current;
2536
2552
  n.camera.flyTo({
2537
- destination: Te.fromDegrees(de.position.longitude, de.position.latitude, de.position.height),
2553
+ destination: Se.fromDegrees(de.position.longitude, de.position.latitude, de.position.height),
2538
2554
  duration: 0
2539
2555
  });
2540
2556
  }
@@ -2547,19 +2563,19 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2547
2563
  console.error("morphCompleteHandler event not cleaned");
2548
2564
  }
2549
2565
  };
2550
- }, [n]), B(() => {
2566
+ }, [n]), O(() => {
2551
2567
  const se = e.zoom, de = e.center;
2552
2568
  if (n && et(se) && dn(de)) {
2553
- const ce = de[0], Ee = de[1], _e = ns(se);
2569
+ const ce = de[0], Ee = de[1], _e = is(se);
2554
2570
  n.camera.flyTo({
2555
- destination: Te.fromDegrees(ce, Ee, _e),
2571
+ destination: Se.fromDegrees(ce, Ee, _e),
2556
2572
  duration: 0
2557
2573
  });
2558
- const Ne = n.homeButton.viewModel.command, De = function(Ke) {
2574
+ const Ne = n.homeButton.viewModel.command, De = function(qe) {
2559
2575
  n.camera.flyTo({
2560
- destination: Te.fromDegrees(ce, Ee, _e),
2576
+ destination: Se.fromDegrees(ce, Ee, _e),
2561
2577
  duration: 1
2562
- }), Ke.cancel = !0;
2578
+ }), qe.cancel = !0;
2563
2579
  };
2564
2580
  return Ne.beforeExecute.addEventListener(De), () => {
2565
2581
  Ne.beforeExecute.removeEventListener(De);
@@ -2570,38 +2586,38 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2570
2586
  }
2571
2587
  };
2572
2588
  }
2573
- }, [e.zoom, e.center, n]), B(() => {
2589
+ }, [e.zoom, e.center, n]), O(() => {
2574
2590
  G(e.showZoomButtons ?? !0);
2575
2591
  }, [e.showZoomButtons]);
2576
2592
  const H = () => {
2577
- J((se) => !se);
2593
+ Q((se) => !se);
2578
2594
  }, W = Le(() => n && wt(
2579
2595
  /* @__PURE__ */ z(ge, { children: [
2580
- N && oe && /* @__PURE__ */ s(Ni, { style: { position: "absolute", top: 0, height: "10px", zIndex: 4 } }),
2581
- _ && /* @__PURE__ */ s(Ds, { locale: o }),
2582
- /* @__PURE__ */ z(K, { className: "bottomToolsContainer", children: [
2583
- h && /* @__PURE__ */ s(Os, { projection: l }),
2584
- C && /* @__PURE__ */ s(Gs, { locale: o, valueBy: "RENDERED_TILES" }),
2585
- u && /* @__PURE__ */ s(Ns, { locale: o })
2596
+ N && oe && /* @__PURE__ */ a(Bi, { style: { position: "absolute", top: 0, height: "10px", zIndex: 4 } }),
2597
+ _ && /* @__PURE__ */ a(Bs, { locale: o }),
2598
+ /* @__PURE__ */ z(q, { className: "bottomToolsContainer", children: [
2599
+ h && /* @__PURE__ */ a(Fs, { projection: l }),
2600
+ C && /* @__PURE__ */ a(zs, { locale: o, valueBy: "RENDERED_TILES" }),
2601
+ u && /* @__PURE__ */ a(Vs, { locale: o })
2586
2602
  ] }),
2587
- k && /* @__PURE__ */ s(Bs, {})
2603
+ k && /* @__PURE__ */ a(Hs, {})
2588
2604
  ] }),
2589
2605
  document.querySelector(".cesium-viewer")
2590
2606
  ), [n, o, l, h, u, oe]), X = Le(() => n && wt(
2591
2607
  /* @__PURE__ */ z(ge, { children: [
2592
- e.geocoderPanel && /* @__PURE__ */ s(Ls, { options: [...e.geocoderPanel], locale: o }),
2593
- /* @__PURE__ */ s(ls, { baseMaps: E, terrains: S, locale: o }),
2594
- e.showDebuggerTool && /* @__PURE__ */ s(us, { locale: o }),
2595
- /* @__PURE__ */ s(Rs, { legendToggle: H })
2608
+ e.geocoderPanel && /* @__PURE__ */ a(Ss, { options: [...e.geocoderPanel], locale: o }),
2609
+ /* @__PURE__ */ a(us, { baseMaps: E, terrains: S, locale: o }),
2610
+ e.showDebuggerTool && /* @__PURE__ */ a(ps, { locale: o }),
2611
+ /* @__PURE__ */ a(Ns, { legendToggle: H })
2596
2612
  ] }),
2597
2613
  document.querySelector(".cesium-viewer-toolbar")
2598
2614
  ), [n, o, E, S]), le = Le(() => n && wt(
2599
- /* @__PURE__ */ s(K, { className: "cesium-viewer-cesiumInspectorContainer widgetsContainer", children: $ && /* @__PURE__ */ s(ss, { locale: o }) }),
2615
+ /* @__PURE__ */ a(q, { className: "cesium-viewer-cesiumInspectorContainer widgetsContainer", children: $ && /* @__PURE__ */ a(as, { locale: o }) }),
2600
2616
  document.querySelector(".cesium-widget")
2601
2617
  ), [n, o]);
2602
- return /* @__PURE__ */ s(Fn, { id: "cesiumTheme", options: we, children: /* @__PURE__ */ s(gr, { className: "viewer", full: !0, ref: t, ...pe, children: /* @__PURE__ */ z(Hs, { value: F, children: [
2603
- /* @__PURE__ */ s(
2604
- As,
2618
+ return /* @__PURE__ */ a(Vn, { id: "cesiumTheme", options: we, children: /* @__PURE__ */ a(fr, { className: "viewer", full: !0, ref: t, ...pe, children: /* @__PURE__ */ z($s, { value: F, children: [
2619
+ /* @__PURE__ */ a(
2620
+ ks,
2605
2621
  {
2606
2622
  title: (fe = e.legends) == null ? void 0 : fe.title,
2607
2623
  isOpen: D,
@@ -2616,7 +2632,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2616
2632
  X(),
2617
2633
  le(),
2618
2634
  e.imageryContextMenu && w && M && te && ke.cloneElement(e.imageryContextMenu, {
2619
- data: (qe = n == null ? void 0 : n.layersManager) == null ? void 0 : qe.findLayerByPOI(
2635
+ data: (Ke = n == null ? void 0 : n.layersManager) == null ? void 0 : Ke.findLayerByPOI(
2620
2636
  M.x,
2621
2637
  M.y,
2622
2638
  !1
@@ -2631,7 +2647,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2631
2647
  M.y,
2632
2648
  ((en = e.imageryContextMenuSize) == null ? void 0 : en.width) ?? _n,
2633
2649
  ((tn = e.imageryContextMenuSize) == null ? void 0 : tn.height) ?? Sn,
2634
- ((nn = e.imageryContextMenuSize) == null ? void 0 : nn.dynamicHeightIncrement) ?? Vs
2650
+ ((nn = e.imageryContextMenuSize) == null ? void 0 : nn.dynamicHeightIncrement) ?? Us
2635
2651
  ),
2636
2652
  size: e.imageryContextMenuSize ?? {
2637
2653
  height: Sn,
@@ -2643,20 +2659,20 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2643
2659
  contextEvt: R.current
2644
2660
  })
2645
2661
  ] }) }) });
2646
- }, Ws = 0, bl = (e) => {
2662
+ }, js = 0, Ml = (e) => {
2647
2663
  const t = ve();
2648
- return /* @__PURE__ */ s(
2649
- fr,
2664
+ return /* @__PURE__ */ a(
2665
+ yr,
2650
2666
  {
2651
2667
  ...e,
2652
2668
  onReady: (n) => {
2653
2669
  e.isZoomTo === !0 && t.zoomTo(n);
2654
2670
  const i = t.scene;
2655
2671
  i.globe.depthTestAgainstTerrain = !0;
2656
- const o = Oe.fromCartesian(n.boundingSphere.center), r = e.heightFromGround ?? Ws;
2672
+ const o = Oe.fromCartesian(n.boundingSphere.center), r = e.heightFromGround ?? js;
2657
2673
  if (r) {
2658
- const l = Te.fromRadians(o.longitude, o.latitude, o.height), d = Te.fromRadians(o.longitude, o.latitude, o.height + r), h = Te.subtract(d, l, new Te());
2659
- n.modelMatrix = Vr.fromTranslation(h);
2674
+ const l = Se.fromRadians(o.longitude, o.latitude, o.height), d = Se.fromRadians(o.longitude, o.latitude, o.height + r), h = Se.subtract(d, l, new Se());
2675
+ n.modelMatrix = Hr.fromTranslation(h);
2660
2676
  }
2661
2677
  }
2662
2678
  }
@@ -2678,35 +2694,35 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2678
2694
  });
2679
2695
  break;
2680
2696
  }
2681
- }, Tl = (e) => {
2682
- const { data: t, ...n } = e, i = jr(t);
2697
+ }, Il = (e) => {
2698
+ const { data: t, ...n } = e, i = Yr(t);
2683
2699
  return i && (typeof i.features < "u" ? i.features.forEach((o) => {
2684
2700
  xn(o.geometry);
2685
- }) : xn(i)), /* @__PURE__ */ s(yr, { data: i, ...n });
2701
+ }) : xn(i)), /* @__PURE__ */ a(vr, { data: i, ...n });
2686
2702
  }, gt = (e) => {
2687
2703
  const { meta: t, ...n } = e, i = ve();
2688
2704
  return Dn(() => {
2689
2705
  var o;
2690
2706
  (o = i.layersManager) == null || o.addMetaToLayer(t, t.searchLayerPredicate);
2691
- }, [t, i]), /* @__PURE__ */ s(vr, { ...n });
2692
- }, Sl = (e) => {
2693
- const { options: t, ...n } = e, i = ve(), { viewState: o } = tt(), r = ae(() => o.shouldOptimizedTileRequests ? new li(t, i) : new jt(t), [o.shouldOptimizedTileRequests]);
2694
- return /* @__PURE__ */ s(gt, { ...n, imageryProvider: r });
2695
- }, _l = (e) => {
2696
- const { options: t, ...n } = e, i = ve(), { viewState: o } = tt(), r = ae(() => o.shouldOptimizedTileRequests ? new di(t, i) : new Yt(t), [o.shouldOptimizedTileRequests]);
2697
- return /* @__PURE__ */ s(gt, { ...n, imageryProvider: r });
2698
- }, Ml = (e) => {
2699
- const { options: t, ...n } = e, i = ve(), { viewState: o } = tt(), r = ae(() => o.shouldOptimizedTileRequests ? new ci(t, i) : new $t(t), [o.shouldOptimizedTileRequests]);
2700
- return /* @__PURE__ */ s(gt, { ...n, imageryProvider: r });
2701
- }, Il = (e) => {
2702
- const { options: t, ...n } = e;
2703
- return /* @__PURE__ */ s(gt, { ...n, imageryProvider: new Hr(t) });
2707
+ }, [t, i]), /* @__PURE__ */ a(wr, { ...n });
2704
2708
  }, Pl = (e) => {
2705
- const { options: t, meta: n, visualizationHandler: i, withGeometryValidation: o = !1 } = e, { url: r, featureType: l, style: d, pageSize: h, zoomLevel: f, maxCacheSize: C, keyField: L, labeling: u } = t, { color: g, hover: _ } = d, v = ve(), k = tt(), G = Se(k.viewState), $ = Se(/* @__PURE__ */ new Map()), j = Se(/* @__PURE__ */ new Set()), N = Se(0), [Z, V] = O(n), Y = ae(() => Ge.fromCssColorString(_ ?? "#24AEE9").withAlpha(0.5), [_]), ee = ae(() => `wfs_${l}_${pn()}`, [l]), a = Se(!1);
2706
- B(() => {
2709
+ const { options: t, ...n } = e, i = ve(), { viewState: o } = tt(), r = ae(() => o.shouldOptimizedTileRequests ? new ui(t, i) : new $t(t), [o.shouldOptimizedTileRequests]);
2710
+ return /* @__PURE__ */ a(gt, { ...n, imageryProvider: r });
2711
+ }, xl = (e) => {
2712
+ const { options: t, ...n } = e, i = ve(), { viewState: o } = tt(), r = ae(() => o.shouldOptimizedTileRequests ? new hi(t, i) : new jt(t), [o.shouldOptimizedTileRequests]);
2713
+ return /* @__PURE__ */ a(gt, { ...n, imageryProvider: r });
2714
+ }, Al = (e) => {
2715
+ const { options: t, ...n } = e, i = ve(), { viewState: o } = tt(), r = ae(() => o.shouldOptimizedTileRequests ? new di(t, i) : new Ut(t), [o.shouldOptimizedTileRequests]);
2716
+ return /* @__PURE__ */ a(gt, { ...n, imageryProvider: r });
2717
+ }, Rl = (e) => {
2718
+ const { options: t, ...n } = e;
2719
+ return /* @__PURE__ */ a(gt, { ...n, imageryProvider: new Wr(t) });
2720
+ }, Dl = (e) => {
2721
+ const { options: t, meta: n, visualizationHandler: i, withGeometryValidation: o = !1 } = e, { url: r, featureType: l, style: d, pageSize: h, zoomLevel: f, maxCacheSize: C, keyField: L, labeling: u } = t, { color: g, hover: _ } = d, v = ve(), k = tt(), G = Te(k.viewState), $ = Te(/* @__PURE__ */ new Map()), j = Te(/* @__PURE__ */ new Set()), N = Te(0), [Z, V] = B(n), Y = ae(() => Ge.fromCssColorString(_ ?? "#24AEE9").withAlpha(0.5), [_]), J = ae(() => `wfs_${l}_${pn()}`, [l]), s = Te(!1);
2722
+ O(() => {
2707
2723
  G.current = k.viewState;
2708
2724
  }, [k.viewState]);
2709
- const c = new Ut(ee), b = (I) => {
2725
+ const c = new zt(J), b = (I) => {
2710
2726
  const A = [], F = n.featureStructure;
2711
2727
  if (F && F.fields)
2712
2728
  for (const W of F.fields) {
@@ -2735,16 +2751,16 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2735
2751
  if (!A)
2736
2752
  return null;
2737
2753
  const F = A.positions;
2738
- return Un.fromPoints(F).center;
2754
+ return jn.fromPoints(F).center;
2739
2755
  }, y = (I) => {
2740
- const F = v.scene.drillPick(I).map((W) => W.id).filter((W) => W && W.polygon && W.entityCollection.owner.name === ee);
2756
+ const F = v.scene.drillPick(I).map((W) => W.id).filter((W) => W && W.polygon && W.entityCollection.owner.name === J);
2741
2757
  if (F.length === 0)
2742
2758
  return null;
2743
2759
  const H = F.map((W) => {
2744
2760
  const X = E(W);
2745
2761
  if (!X)
2746
2762
  return { entity: W, distance: Number.MAX_VALUE };
2747
- const le = Zn.wgs84ToWindowCoordinates(v.scene, X);
2763
+ const le = Kn.wgs84ToWindowCoordinates(v.scene, X);
2748
2764
  if (!le)
2749
2765
  return { entity: W, distance: Number.MAX_VALUE };
2750
2766
  const fe = I.x - le.x, ye = I.y - le.y, Pe = Math.sqrt(fe * fe + ye * ye);
@@ -2756,12 +2772,12 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2756
2772
  I.setInputAction((H) => {
2757
2773
  if (v.scene.mode === Fe.SCENE2D) {
2758
2774
  const X = v.scene.pick(H.endPosition);
2759
- X && X.id && (X.id.polygon || X.id.polyline) ? Q(A, "id") !== Q(X.id, "id") && (A && (A[p(A)].material = F, v.container.style.cursor = "default"), A = X.id, F = A[p(A)].material, A[p(A)].material = Y, v.container.style.cursor = "pointer") : A && (A[p(A)].material = F, A = null, v.container.style.cursor = "default");
2775
+ X && X.id && (X.id.polygon || X.id.polyline) ? ee(A, "id") !== ee(X.id, "id") && (A && (A[p(A)].material = F, v.container.style.cursor = "default"), A = X.id, F = A[p(A)].material, A[p(A)].material = Y, v.container.style.cursor = "pointer") : A && (A[p(A)].material = F, A = null, v.container.style.cursor = "default");
2760
2776
  } else {
2761
2777
  const X = y(H.endPosition);
2762
- X ? Q(A, "id") !== Q(X, "id") && (A && (A[p(A)].material = F, v.container.style.cursor = "default"), A = X, F = A[p(A)].material, A[p(A)].material = Y, v.container.style.cursor = "pointer") : A && (A[p(A)].material = F, A = null, v.container.style.cursor = "default");
2778
+ X ? ee(A, "id") !== ee(X, "id") && (A && (A[p(A)].material = F, v.container.style.cursor = "default"), A = X, F = A[p(A)].material, A[p(A)].material = Y, v.container.style.cursor = "pointer") : A && (A[p(A)].material = F, A = null, v.container.style.cursor = "default");
2763
2779
  }
2764
- }, Nt.MOUSE_MOVE);
2780
+ }, kt.MOUSE_MOVE);
2765
2781
  }, m = (I, A) => {
2766
2782
  const F = navigator.hardwareConcurrency || 4;
2767
2783
  let H = Math.ceil(F * 1.5);
@@ -2803,14 +2819,14 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2803
2819
  fe.width = le + W * 2, fe.height = X * F.length + W * 2;
2804
2820
  const ye = fe.getContext("2d");
2805
2821
  return ye.font = `${H}px ${(u == null ? void 0 : u.fontName) ?? A.fontName}`, ye.fillStyle = (u == null ? void 0 : u.fillStyle) ?? A.fillStyle, ye.strokeStyle = (u == null ? void 0 : u.strokeStyle) ?? A.strokeStyle, ye.lineWidth = (u == null ? void 0 : u.lineWidth) ?? A.lineWidth, F.forEach((Pe, Ue) => {
2806
- const qe = W + (Ue + 1) * X - 4;
2807
- ye.strokeText(Pe, W, qe), ye.fillText(Pe, W, qe);
2822
+ const Ke = W + (Ue + 1) * X - 4;
2823
+ ye.strokeText(Pe, W, Ke), ye.fillText(Pe, W, Ke);
2808
2824
  }), {
2809
2825
  dataURL: fe.toDataURL(),
2810
2826
  width: fe.width,
2811
2827
  height: fe.height
2812
2828
  };
2813
- }, J = (I) => u == null ? void 0 : u.text.pattern.replace(/\$\{([^}]+)\}/g, (F, H) => {
2829
+ }, Q = (I) => u == null ? void 0 : u.text.pattern.replace(/\$\{([^}]+)\}/g, (F, H) => {
2814
2830
  const W = u.text.fields.find((le) => le.name === H);
2815
2831
  let X = "";
2816
2832
  if (W)
@@ -2836,7 +2852,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2836
2852
  let X = !0;
2837
2853
  if (o)
2838
2854
  try {
2839
- X = Qr(H.geometry), X || console.error("Skipped invalid WFS feature with", L ?? "id", "->", W);
2855
+ X = eo(H.geometry), X || console.error("Skipped invalid WFS feature with", L ?? "id", "->", W);
2840
2856
  } catch {
2841
2857
  X = !1, console.error("Skipped invalid WFS feature with", L ?? "id", "->", W);
2842
2858
  }
@@ -2844,7 +2860,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2844
2860
  j.current.add(W), H.properties.fetch_id = A;
2845
2861
  const le = H.properties.description;
2846
2862
  if (H.properties.description = void 0, H.properties._description = le, u) {
2847
- const fe = D(J(H));
2863
+ const fe = D(Q(H));
2848
2864
  H.properties.label = fe;
2849
2865
  }
2850
2866
  F.push(H);
@@ -2855,11 +2871,11 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2855
2871
  ), F;
2856
2872
  }, U = (I, A) => Array.from($.current.values()).filter((F) => JSON.stringify(F.parentBBox) !== JSON.stringify(I)).reduce(
2857
2873
  (F, H) => {
2858
- const W = gs(A, H.bbox);
2874
+ const W = vs(A, H.bbox);
2859
2875
  return W > F.distance ? { id: H.id, key: H.bbox.join(","), distance: W } : F;
2860
2876
  },
2861
2877
  { id: "", key: "", distance: -1 / 0 }
2862
- ), q = async (I) => {
2878
+ ), K = async (I) => {
2863
2879
  const A = [];
2864
2880
  await Et(
2865
2881
  c.entities.values,
@@ -2882,7 +2898,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2882
2898
  const F = U(I, A);
2883
2899
  if (F.id === "")
2884
2900
  break;
2885
- await q(F.id), F.key && $.current.delete(F.key);
2901
+ await K(F.id), F.key && $.current.delete(F.key);
2886
2902
  }
2887
2903
  }, he = async (I, A, F, H) => {
2888
2904
  let W = "", X = "", le = [];
@@ -2915,7 +2931,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2915
2931
  }, we = Le(async (I = 0) => {
2916
2932
  if (!v || v.scene.mode === Fe.MORPHING)
2917
2933
  return;
2918
- const A = ys(v);
2934
+ const A = Es(v);
2919
2935
  if (A) {
2920
2936
  if (await oe(), G.current.currentZoomLevel > 0 && G.current.currentZoomLevel < f && (c == null ? void 0 : c.entities.values.length) > 0) {
2921
2937
  x();
@@ -2923,7 +2939,7 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2923
2939
  }
2924
2940
  if (G.current.currentZoomLevel >= f) {
2925
2941
  c.show = !0;
2926
- const F = ii(A), H = fs(A);
2942
+ const F = oi(A), H = ws(A);
2927
2943
  try {
2928
2944
  const W = r.includes("?") ? "&" : "?";
2929
2945
  let X = `${r}${W}service=WFS&version=2.0.0&request=GetFeature&typeNames=${l}&outputFormat=application/json&bbox=${F.join(
@@ -2942,33 +2958,33 @@ const Jt = ze(null), Hs = Jt.Provider, ve = () => {
2942
2958
  v.scene.globe.tilesLoaded && (clearInterval(A), I());
2943
2959
  }, 100);
2944
2960
  }), pe = (I, A, F, H) => {
2945
- i ? i(I, A, F, H) : oi(I, A, F, g, H, u);
2961
+ i ? i(I, A, F, H) : ai(I, A, F, g, H, u);
2946
2962
  };
2947
- return B(() => {
2948
- const I = v.dataSources.getByName(ee)[0];
2963
+ return O(() => {
2964
+ const I = v.dataSources.getByName(J)[0];
2949
2965
  I && pe(v, I, [], void 0);
2950
- }, [v.scene.mode]), B(() => {
2966
+ }, [v.scene.mode]), O(() => {
2951
2967
  v.layersManager && v.layersManager.dataLayerList.length > 0 && v.layersManager.findDataLayerById(n.id) !== void 0 && v.layersManager.addMetaToDataLayer(Z);
2952
- }, [Z]), B(() => {
2968
+ }, [Z]), O(() => {
2953
2969
  var I;
2954
2970
  (I = v.layersManager) == null || I.addDataLayer({ options: t, meta: { ...Z }, visualizationHandler: i });
2955
- }, [v.layersManager]), B(() => {
2971
+ }, [v.layersManager]), O(() => {
2956
2972
  v.dataSources.add(c);
2957
2973
  const I = () => {
2958
2974
  we();
2959
2975
  };
2960
2976
  v.scene.camera.moveEnd.addEventListener(I);
2961
- const A = new Wr(v.scene.canvas);
2962
- return S(A), G.current.currentZoomLevel > 0 && (we(), a.current = !0), () => {
2977
+ const A = new zr(v.scene.canvas);
2978
+ return S(A), G.current.currentZoomLevel > 0 && (we(), s.current = !0), () => {
2963
2979
  var F;
2964
- Q(v, "_cesiumWidget") !== void 0 && (j.current.clear(), $.current.clear(), v.dataSources.remove(v.dataSources.getByName(`${u == null ? void 0 : u.dataSourcePrefix}${c.name}`)[0]), v.dataSources.remove(c, !0), (F = v.layersManager) == null || F.removeDataLayer(n.id), v.scene.camera.moveEnd.removeEventListener(I), A.removeInputAction(Nt.MOUSE_MOVE));
2980
+ ee(v, "_cesiumWidget") !== void 0 && (j.current.clear(), $.current.clear(), v.dataSources.remove(v.dataSources.getByName(`${u == null ? void 0 : u.dataSourcePrefix}${c.name}`)[0]), v.dataSources.remove(c, !0), (F = v.layersManager) == null || F.removeDataLayer(n.id), v.scene.camera.moveEnd.removeEventListener(I), A.removeInputAction(kt.MOUSE_MOVE));
2965
2981
  };
2966
2982
  }, []), null;
2967
- }, zs = (e) => /* @__PURE__ */ s(wr, { ...e }), xl = (e) => /* @__PURE__ */ s(Wn, { ...e }), Us = (e) => /* @__PURE__ */ s(Wn, { ...e }), $s = (e) => /* @__PURE__ */ s(Er, { ...e }), js = (e) => /* @__PURE__ */ s(Lr, { ...e }), Ys = (e) => /* @__PURE__ */ s(Cr, { ...e }), Zs = (e) => /* @__PURE__ */ s(br, { ...e });
2983
+ }, Ys = (e) => /* @__PURE__ */ a(Er, { ...e }), Ol = (e) => /* @__PURE__ */ a(Un, { ...e }), Zs = (e) => /* @__PURE__ */ a(Un, { ...e }), Xs = (e) => /* @__PURE__ */ a(Lr, { ...e }), Ks = (e) => /* @__PURE__ */ a(Cr, { ...e }), qs = (e) => /* @__PURE__ */ a(br, { ...e }), Js = (e) => /* @__PURE__ */ a(Tr, { ...e });
2968
2984
  var He = function() {
2969
2985
  var e = T.Ellipsoid.WGS84, t, n = T.Material.fromType(T.Material.ColorType);
2970
- function i(a, c = new T.Color(1, 1, 0, 0.5), b = new T.Color(1, 1, 1, 1)) {
2971
- this._scene = a.scene, n.uniforms.color = c, t = b, this._tooltip = {
2986
+ function i(s, c = new T.Color(1, 1, 0, 0.5), b = new T.Color(1, 1, 1, 1)) {
2987
+ this._scene = s.scene, n.uniforms.color = c, t = b, this._tooltip = {
2972
2988
  setVisible: () => {
2973
2989
  },
2974
2990
  showAt: () => {
@@ -2976,10 +2992,10 @@ var He = function() {
2976
2992
  }, this._surfaces = [], this.initialiseHandlers(), this.enhancePrimitives();
2977
2993
  }
2978
2994
  i.prototype.initialiseHandlers = function() {
2979
- var a = this._scene, c = this, b = new T.ScreenSpaceEventHandler(a.canvas);
2995
+ var s = this._scene, c = this, b = new T.ScreenSpaceEventHandler(s.canvas);
2980
2996
  function p(y, S) {
2981
2997
  if (c._handlersMuted != !0) {
2982
- var m = a.pick(S);
2998
+ var m = s.pick(S);
2983
2999
  m && m.primitive && m.primitive[y] && m.primitive[y](S);
2984
3000
  }
2985
3001
  }
@@ -2991,7 +3007,7 @@ var He = function() {
2991
3007
  var E;
2992
3008
  b.setInputAction(function(y) {
2993
3009
  if (c._handlersMuted != !0) {
2994
- var S = a.pick(y.endPosition);
3010
+ var S = s.pick(y.endPosition);
2995
3011
  E && (!S || E != S.primitive) && (!(E.isDestroyed && E.isDestroyed()) && E.mouseOut(y.endPosition), E = null), S && S.primitive && (S = S.primitive, S.mouseOut && (E = S), S.mouseMove && S.mouseMove(y.endPosition));
2996
3012
  }
2997
3013
  }, T.ScreenSpaceEventType.MOUSE_MOVE), b.setInputAction(function(y) {
@@ -2999,31 +3015,31 @@ var He = function() {
2999
3015
  }, T.ScreenSpaceEventType.LEFT_UP), b.setInputAction(function(y) {
3000
3016
  p("leftDown", y.position);
3001
3017
  }, T.ScreenSpaceEventType.LEFT_DOWN);
3002
- }, i.prototype.setListener = function(a, c, b) {
3003
- a[c] = b;
3004
- }, i.prototype.muteHandlers = function(a) {
3005
- this._handlersMuted = a;
3006
- }, i.prototype.registerEditableShape = function(a) {
3018
+ }, i.prototype.setListener = function(s, c, b) {
3019
+ s[c] = b;
3020
+ }, i.prototype.muteHandlers = function(s) {
3021
+ this._handlersMuted = s;
3022
+ }, i.prototype.registerEditableShape = function(s) {
3007
3023
  var c = this;
3008
- Y(a, "mouseMove", function(b) {
3009
- a.setHighlighted(!0), a._editMode || c._tooltip.showAt(b, "Click to edit this shape");
3010
- }), Y(a, "mouseOut", function(b) {
3011
- a.setHighlighted(!1), c._tooltip.setVisible(!1);
3012
- }), Y(a, "leftClick", function(b) {
3013
- a.setEditMode(!0);
3024
+ Y(s, "mouseMove", function(b) {
3025
+ s.setHighlighted(!0), s._editMode || c._tooltip.showAt(b, "Click to edit this shape");
3026
+ }), Y(s, "mouseOut", function(b) {
3027
+ s.setHighlighted(!1), c._tooltip.setVisible(!1);
3028
+ }), Y(s, "leftClick", function(b) {
3029
+ s.setEditMode(!0);
3014
3030
  });
3015
- }, i.prototype.startDrawing = function(a) {
3016
- this.disableAllEditMode(), this.editCleanUp && this.editCleanUp(), this.editCleanUp = a, this.muteHandlers(!0);
3031
+ }, i.prototype.startDrawing = function(s) {
3032
+ this.disableAllEditMode(), this.editCleanUp && this.editCleanUp(), this.editCleanUp = s, this.muteHandlers(!0);
3017
3033
  }, i.prototype.stopDrawing = function() {
3018
3034
  this.editCleanUp && (this.editCleanUp(), this.editCleanUp = null), this.muteHandlers(!1);
3019
3035
  }, i.prototype.disableAllHighlights = function() {
3020
3036
  this.setHighlighted(void 0);
3021
- }, i.prototype.setHighlighted = function(a) {
3022
- this._highlightedSurface && !this._highlightedSurface.isDestroyed() && this._highlightedSurface != a && this._highlightedSurface.setHighlighted(!1), this._highlightedSurface = a;
3037
+ }, i.prototype.setHighlighted = function(s) {
3038
+ this._highlightedSurface && !this._highlightedSurface.isDestroyed() && this._highlightedSurface != s && this._highlightedSurface.setHighlighted(!1), this._highlightedSurface = s;
3023
3039
  }, i.prototype.disableAllEditMode = function() {
3024
3040
  this.setEdited(void 0);
3025
- }, i.prototype.setEdited = function(a) {
3026
- this._editedSurface && !this._editedSurface.isDestroyed() && this._editedSurface.setEditMode(!1), this._editedSurface = a;
3041
+ }, i.prototype.setEdited = function(s) {
3042
+ this._editedSurface && !this._editedSurface.isDestroyed() && this._editedSurface.setEditMode(!1), this._editedSurface = s;
3027
3043
  };
3028
3044
  var o = {
3029
3045
  ellipsoid: T.Ellipsoid.WGS84,
@@ -3049,15 +3065,15 @@ var He = function() {
3049
3065
  }),
3050
3066
  material: n
3051
3067
  }), L = function() {
3052
- function a() {
3068
+ function s() {
3053
3069
  }
3054
- return a.prototype.initialiseOptions = function(c) {
3070
+ return s.prototype.initialiseOptions = function(c) {
3055
3071
  Z(this, c), this._ellipsoid = void 0, this._granularity = void 0, this._height = void 0, this._textureRotationAngle = void 0, this._id = void 0, this._createPrimitive = !0, this._primitive = void 0, this._outlinePolygon = void 0;
3056
- }, a.prototype.setAttribute = function(c, b) {
3072
+ }, s.prototype.setAttribute = function(c, b) {
3057
3073
  this[c] = b, this._createPrimitive = !0;
3058
- }, a.prototype.getAttribute = function(c) {
3074
+ }, s.prototype.getAttribute = function(c) {
3059
3075
  return this[c];
3060
- }, a.prototype.update = function(c, b, p) {
3076
+ }, s.prototype.update = function(c, b, p) {
3061
3077
  if (!T.defined(this.ellipsoid))
3062
3078
  throw new T.DeveloperError("this.ellipsoid must be defined.");
3063
3079
  if (!T.defined(this.appearance))
@@ -3100,25 +3116,25 @@ var He = function() {
3100
3116
  var y = this._primitive;
3101
3117
  y.appearance.material = this.material, y.debugShowBoundingVolume = this.debugShowBoundingVolume, y.update(c, b, p), this._outlinePolygon && this._outlinePolygon.update(c, b, p);
3102
3118
  }
3103
- }, a.prototype.isDestroyed = function() {
3119
+ }, s.prototype.isDestroyed = function() {
3104
3120
  return !1;
3105
- }, a.prototype.destroy = function() {
3121
+ }, s.prototype.destroy = function() {
3106
3122
  return this._primitive = this._primitive && this._primitive.destroy(), T.destroyObject(this);
3107
- }, a.prototype.setStrokeStyle = function(c, b) {
3123
+ }, s.prototype.setStrokeStyle = function(c, b) {
3108
3124
  (!this.strokeColor || !this.strokeColor.equals(c) || this.strokeWidth != b) && (this._createPrimitive = !0, this.strokeColor = c, this.strokeWidth = b);
3109
- }, a;
3125
+ }, s;
3110
3126
  }();
3111
3127
  i.ExtentPrimitive = function() {
3112
- function a(c) {
3128
+ function s(c) {
3113
3129
  if (!T.defined(c.extent))
3114
3130
  throw new T.DeveloperError("Extent is required");
3115
3131
  c = V(c, r), this.initialiseOptions(c), this.setExtent(c.extent);
3116
3132
  }
3117
- return a.prototype = new L(), a.prototype.setExtent = function(c) {
3133
+ return s.prototype = new L(), s.prototype.setExtent = function(c) {
3118
3134
  this.setAttribute("extent", c);
3119
- }, a.prototype.getExtent = function() {
3135
+ }, s.prototype.getExtent = function() {
3120
3136
  return this.getAttribute("extent");
3121
- }, a.prototype.getGeometry = function() {
3137
+ }, s.prototype.getGeometry = function() {
3122
3138
  if (T.defined(this.extent))
3123
3139
  return new T.RectangleGeometry({
3124
3140
  rectangle: this.extent,
@@ -3128,20 +3144,20 @@ var He = function() {
3128
3144
  ellipsoid: this.ellipsoid,
3129
3145
  granularity: this.granularity
3130
3146
  });
3131
- }, a.prototype.getOutlineGeometry = function() {
3147
+ }, s.prototype.getOutlineGeometry = function() {
3132
3148
  return new T.RectangleOutlineGeometry({
3133
3149
  rectangle: this.extent
3134
3150
  });
3135
- }, a;
3151
+ }, s;
3136
3152
  }(), i.PolygonPrimitive = function() {
3137
- function a(c) {
3153
+ function s(c) {
3138
3154
  c = V(c, r), this.initialiseOptions(c), this.isPolygon = !0;
3139
3155
  }
3140
- return a.prototype = new L(), a.prototype.setPositions = function(c) {
3156
+ return s.prototype = new L(), s.prototype.setPositions = function(c) {
3141
3157
  this.setAttribute("positions", c);
3142
- }, a.prototype.getPositions = function() {
3158
+ }, s.prototype.getPositions = function() {
3143
3159
  return this.getAttribute("positions");
3144
- }, a.prototype.getGeometry = function() {
3160
+ }, s.prototype.getGeometry = function() {
3145
3161
  if (!(!T.defined(this.positions) || this.positions.length < 3))
3146
3162
  return T.PolygonGeometry.fromPositions({
3147
3163
  positions: this.positions,
@@ -3151,26 +3167,26 @@ var He = function() {
3151
3167
  ellipsoid: this.ellipsoid,
3152
3168
  granularity: this.granularity
3153
3169
  });
3154
- }, a.prototype.getOutlineGeometry = function() {
3170
+ }, s.prototype.getOutlineGeometry = function() {
3155
3171
  return T.PolygonOutlineGeometry.fromPositions({
3156
3172
  positions: this.getPositions()
3157
3173
  });
3158
- }, a;
3174
+ }, s;
3159
3175
  }(), i.CirclePrimitive = function() {
3160
- function a(c) {
3176
+ function s(c) {
3161
3177
  if (!(T.defined(c.center) && T.defined(c.radius)))
3162
3178
  throw new T.DeveloperError("Center and radius are required");
3163
3179
  c = V(c, r), this.initialiseOptions(c), this.setRadius(c.radius);
3164
3180
  }
3165
- return a.prototype = new L(), a.prototype.setCenter = function(c) {
3181
+ return s.prototype = new L(), s.prototype.setCenter = function(c) {
3166
3182
  this.setAttribute("center", c);
3167
- }, a.prototype.setRadius = function(c) {
3183
+ }, s.prototype.setRadius = function(c) {
3168
3184
  this.setAttribute("radius", Math.max(0.1, c));
3169
- }, a.prototype.getCenter = function() {
3185
+ }, s.prototype.getCenter = function() {
3170
3186
  return this.getAttribute("center");
3171
- }, a.prototype.getRadius = function() {
3187
+ }, s.prototype.getRadius = function() {
3172
3188
  return this.getAttribute("radius");
3173
- }, a.prototype.getGeometry = function() {
3189
+ }, s.prototype.getGeometry = function() {
3174
3190
  if (T.defined(this.center) && T.defined(this.radius))
3175
3191
  return new T.CircleGeometry({
3176
3192
  center: this.center,
@@ -3181,35 +3197,35 @@ var He = function() {
3181
3197
  ellipsoid: this.ellipsoid,
3182
3198
  granularity: this.granularity
3183
3199
  });
3184
- }, a.prototype.getOutlineGeometry = function() {
3200
+ }, s.prototype.getOutlineGeometry = function() {
3185
3201
  return new T.CircleOutlineGeometry({
3186
3202
  center: this.getCenter(),
3187
3203
  radius: this.getRadius()
3188
3204
  });
3189
- }, a;
3205
+ }, s;
3190
3206
  }(), i.EllipsePrimitive = function() {
3191
- function a(c) {
3207
+ function s(c) {
3192
3208
  if (!(T.defined(c.center) && T.defined(c.semiMajorAxis) && T.defined(c.semiMinorAxis)))
3193
3209
  throw new T.DeveloperError("Center and semi major and semi minor axis are required");
3194
3210
  c = V(c, f), this.initialiseOptions(c);
3195
3211
  }
3196
- return a.prototype = new L(), a.prototype.setCenter = function(c) {
3212
+ return s.prototype = new L(), s.prototype.setCenter = function(c) {
3197
3213
  this.setAttribute("center", c);
3198
- }, a.prototype.setSemiMajorAxis = function(c) {
3214
+ }, s.prototype.setSemiMajorAxis = function(c) {
3199
3215
  c < this.getSemiMinorAxis() || this.setAttribute("semiMajorAxis", c);
3200
- }, a.prototype.setSemiMinorAxis = function(c) {
3216
+ }, s.prototype.setSemiMinorAxis = function(c) {
3201
3217
  c > this.getSemiMajorAxis() || this.setAttribute("semiMinorAxis", c);
3202
- }, a.prototype.setRotation = function(c) {
3218
+ }, s.prototype.setRotation = function(c) {
3203
3219
  return this.setAttribute("rotation", c);
3204
- }, a.prototype.getCenter = function() {
3220
+ }, s.prototype.getCenter = function() {
3205
3221
  return this.getAttribute("center");
3206
- }, a.prototype.getSemiMajorAxis = function() {
3222
+ }, s.prototype.getSemiMajorAxis = function() {
3207
3223
  return this.getAttribute("semiMajorAxis");
3208
- }, a.prototype.getSemiMinorAxis = function() {
3224
+ }, s.prototype.getSemiMinorAxis = function() {
3209
3225
  return this.getAttribute("semiMinorAxis");
3210
- }, a.prototype.getRotation = function() {
3226
+ }, s.prototype.getRotation = function() {
3211
3227
  return this.getAttribute("rotation");
3212
- }, a.prototype.getGeometry = function() {
3228
+ }, s.prototype.getGeometry = function() {
3213
3229
  if (T.defined(this.center) && T.defined(this.semiMajorAxis) && T.defined(this.semiMinorAxis))
3214
3230
  return new T.EllipseGeometry({
3215
3231
  ellipsoid: this.ellipsoid,
@@ -3222,31 +3238,31 @@ var He = function() {
3222
3238
  stRotation: this.textureRotationAngle,
3223
3239
  granularity: this.granularity
3224
3240
  });
3225
- }, a.prototype.getOutlineGeometry = function() {
3241
+ }, s.prototype.getOutlineGeometry = function() {
3226
3242
  return new T.EllipseOutlineGeometry({
3227
3243
  center: this.getCenter(),
3228
3244
  semiMajorAxis: this.getSemiMajorAxis(),
3229
3245
  semiMinorAxis: this.getSemiMinorAxis(),
3230
3246
  rotation: this.getRotation()
3231
3247
  });
3232
- }, a;
3248
+ }, s;
3233
3249
  }(), i.PolylinePrimitive = function() {
3234
- function a(c) {
3250
+ function s(c) {
3235
3251
  c = V(c, C), this.initialiseOptions(c);
3236
3252
  }
3237
- return a.prototype = new L(), a.prototype.setPositions = function(c) {
3253
+ return s.prototype = new L(), s.prototype.setPositions = function(c) {
3238
3254
  this.setAttribute("positions", c);
3239
- }, a.prototype.setWidth = function(c) {
3255
+ }, s.prototype.setWidth = function(c) {
3240
3256
  this.setAttribute("width", c);
3241
- }, a.prototype.setGeodesic = function(c) {
3257
+ }, s.prototype.setGeodesic = function(c) {
3242
3258
  this.setAttribute("geodesic", c);
3243
- }, a.prototype.getPositions = function() {
3259
+ }, s.prototype.getPositions = function() {
3244
3260
  return this.getAttribute("positions");
3245
- }, a.prototype.getWidth = function() {
3261
+ }, s.prototype.getWidth = function() {
3246
3262
  return this.getAttribute("width");
3247
- }, a.prototype.getGeodesic = function(c) {
3263
+ }, s.prototype.getGeodesic = function(c) {
3248
3264
  return this.getAttribute("geodesic");
3249
- }, a.prototype.getGeometry = function() {
3265
+ }, s.prototype.getGeometry = function() {
3250
3266
  if (!(!T.defined(this.positions) || this.positions.length < 2))
3251
3267
  return new T.PolylineGeometry({
3252
3268
  positions: this.positions,
@@ -3255,7 +3271,7 @@ var He = function() {
3255
3271
  vertexFormat: T.EllipsoidSurfaceAppearance.VERTEX_FORMAT,
3256
3272
  ellipsoid: this.ellipsoid
3257
3273
  });
3258
- }, a;
3274
+ }, s;
3259
3275
  }();
3260
3276
  var u = {
3261
3277
  iconUrl: "./assets/img/dragIcon.png",
@@ -3270,17 +3286,17 @@ var He = function() {
3270
3286
  shiftX: 0,
3271
3287
  shiftY: 0
3272
3288
  };
3273
- i.prototype.createBillboardGroup = function(a, c, b) {
3289
+ i.prototype.createBillboardGroup = function(s, c, b) {
3274
3290
  var p = new i.BillboardGroup(this, c);
3275
- return p.addBillboards(a, b), p;
3276
- }, i.BillboardGroup = function(a, c) {
3277
- this._drawHelper = a, this._scene = a._scene, this._options = V(c, u);
3291
+ return p.addBillboards(s, b), p;
3292
+ }, i.BillboardGroup = function(s, c) {
3293
+ this._drawHelper = s, this._scene = s._scene, this._options = V(c, u);
3278
3294
  var b = new T.BillboardCollection();
3279
3295
  this._scene.primitives.add(b), this._billboards = b, this._orderedBillboards = [];
3280
- }, i.BillboardGroup.prototype.createBillboard = function(a, c) {
3296
+ }, i.BillboardGroup.prototype.createBillboard = function(s, c) {
3281
3297
  var b = this._billboards.add({
3282
3298
  show: !0,
3283
- position: a,
3299
+ position: s,
3284
3300
  pixelOffset: new T.Cartesian2(this._options.shiftX, this._options.shiftY),
3285
3301
  eyeOffset: new T.Cartesian3(0, 0, 0),
3286
3302
  horizontalOrigin: T.HorizontalOrigin.CENTER,
@@ -3303,7 +3319,7 @@ var He = function() {
3303
3319
  Y(b, "leftDown", function(w) {
3304
3320
  function x(P) {
3305
3321
  b.position = P;
3306
- for (var D = 0, J = p._orderedBillboards.length; D < J && p._orderedBillboards[D] != b; ++D)
3322
+ for (var D = 0, Q = p._orderedBillboards.length; D < Q && p._orderedBillboards[D] != b; ++D)
3307
3323
  ;
3308
3324
  c.dragHandlers.onDrag && c.dragHandlers.onDrag(S(), P);
3309
3325
  }
@@ -3330,22 +3346,22 @@ var He = function() {
3330
3346
  }));
3331
3347
  }
3332
3348
  return b;
3333
- }, i.BillboardGroup.prototype.insertBillboard = function(a, c, b) {
3334
- this._orderedBillboards.splice(a, 0, this.createBillboard(c, b));
3335
- }, i.BillboardGroup.prototype.addBillboard = function(a, c) {
3336
- this._orderedBillboards.push(this.createBillboard(a, c));
3337
- }, i.BillboardGroup.prototype.addBillboards = function(a, c) {
3338
- for (var b = 0; b < a.length; b++)
3339
- this.addBillboard(a[b], c);
3340
- }, i.BillboardGroup.prototype.updateBillboardsPositions = function(a) {
3341
- for (var c = 0; c < a.length; c++)
3342
- this.getBillboard(c).position = a[c];
3349
+ }, i.BillboardGroup.prototype.insertBillboard = function(s, c, b) {
3350
+ this._orderedBillboards.splice(s, 0, this.createBillboard(c, b));
3351
+ }, i.BillboardGroup.prototype.addBillboard = function(s, c) {
3352
+ this._orderedBillboards.push(this.createBillboard(s, c));
3353
+ }, i.BillboardGroup.prototype.addBillboards = function(s, c) {
3354
+ for (var b = 0; b < s.length; b++)
3355
+ this.addBillboard(s[b], c);
3356
+ }, i.BillboardGroup.prototype.updateBillboardsPositions = function(s) {
3357
+ for (var c = 0; c < s.length; c++)
3358
+ this.getBillboard(c).position = s[c];
3343
3359
  }, i.BillboardGroup.prototype.countBillboards = function() {
3344
3360
  return this._orderedBillboards.length;
3345
- }, i.BillboardGroup.prototype.getBillboard = function(a) {
3346
- return this._orderedBillboards[a];
3347
- }, i.BillboardGroup.prototype.removeBillboard = function(a) {
3348
- this._billboards.remove(this.getBillboard(a)), this._orderedBillboards.splice(a, 1);
3361
+ }, i.BillboardGroup.prototype.getBillboard = function(s) {
3362
+ return this._orderedBillboards[s];
3363
+ }, i.BillboardGroup.prototype.removeBillboard = function(s) {
3364
+ this._billboards.remove(this.getBillboard(s)), this._orderedBillboards.splice(s, 1);
3349
3365
  }, i.BillboardGroup.prototype.remove = function() {
3350
3366
  this._billboards = this._billboards && this._billboards.removeAll() && this._billboards.destroy();
3351
3367
  }, i.BillboardGroup.prototype.setOnTop = function() {
@@ -3379,12 +3395,12 @@ var He = function() {
3379
3395
  }, i.prototype.startDrawingPolyline = function(c) {
3380
3396
  var c = V(c, C);
3381
3397
  this.startDrawingPolyshape(!1, c);
3382
- }, i.prototype.startDrawingPolyshape = function(a, c) {
3398
+ }, i.prototype.startDrawingPolyshape = function(s, c) {
3383
3399
  this.startDrawing(function() {
3384
3400
  E.remove(m), x.remove(), R.destroy(), y.setVisible(!1), G(p);
3385
3401
  });
3386
- var b = this, p = this._scene, E = p.primitives, y = this._tooltip, S = a ? 3 : 2, m;
3387
- a ? m = new He.PolygonPrimitive(c) : m = new He.PolylinePrimitive(c), m.asynchronous = !1, E.add(m);
3402
+ var b = this, p = this._scene, E = p.primitives, y = this._tooltip, S = s ? 3 : 2, m;
3403
+ s ? m = new He.PolygonPrimitive(c) : m = new He.PolylinePrimitive(c), m.asynchronous = !1, E.add(m);
3388
3404
  var w = [], x = new i.BillboardGroup(this, u), R = new T.ScreenSpaceEventHandler(p.canvas);
3389
3405
  k(p), R.setInputAction(function(M) {
3390
3406
  if (M.position != null) {
@@ -3413,19 +3429,19 @@ var He = function() {
3413
3429
  }
3414
3430
  }, T.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
3415
3431
  };
3416
- function v(a) {
3432
+ function v(s) {
3417
3433
  return e.cartographicArrayToCartesianArray([
3418
- T.Rectangle.northwest(a),
3419
- T.Rectangle.northeast(a),
3420
- T.Rectangle.southeast(a),
3421
- T.Rectangle.southwest(a)
3434
+ T.Rectangle.northwest(s),
3435
+ T.Rectangle.northeast(s),
3436
+ T.Rectangle.southeast(s),
3437
+ T.Rectangle.southwest(s)
3422
3438
  ]);
3423
3439
  }
3424
- function k(a) {
3425
- a && (a.canvas.style.cursor = "crosshair");
3440
+ function k(s) {
3441
+ s && (s.canvas.style.cursor = "crosshair");
3426
3442
  }
3427
- function G(a) {
3428
- a && (a.canvas.style.cursor = "");
3443
+ function G(s) {
3444
+ s && (s.canvas.style.cursor = "");
3429
3445
  }
3430
3446
  i.prototype.startDrawingExtent = function(c) {
3431
3447
  var c = V(c, r);
@@ -3461,8 +3477,8 @@ var He = function() {
3461
3477
  else {
3462
3478
  var D = p.camera.pickEllipsoid(P, e);
3463
3479
  if (D) {
3464
- var J = $(S, e.cartesianToCartographic(D));
3465
- R(J), y.showAt(P, "<p>Drag to change rectangle extent</p><p>Click again to finish drawing</p>");
3480
+ var Q = $(S, e.cartesianToCartographic(D));
3481
+ R(Q), y.showAt(P, "<p>Drag to change rectangle extent</p><p>Click again to finish drawing</p>");
3466
3482
  }
3467
3483
  }
3468
3484
  }, T.ScreenSpaceEventType.MOUSE_MOVE);
@@ -3493,14 +3509,14 @@ var He = function() {
3493
3509
  }
3494
3510
  }, T.ScreenSpaceEventType.MOUSE_MOVE);
3495
3511
  }, i.prototype.enhancePrimitives = function() {
3496
- var a = this;
3512
+ var s = this;
3497
3513
  T.Billboard.prototype.setEditable = function() {
3498
3514
  if (this._editable)
3499
3515
  return;
3500
3516
  this._editable = !0;
3501
3517
  var p = this, E = this;
3502
3518
  function y(S) {
3503
- a._scene.screenSpaceCameraController.enableRotate = S;
3519
+ s._scene.screenSpaceCameraController.enableRotate = S;
3504
3520
  }
3505
3521
  Y(p, "leftDown", function(S) {
3506
3522
  function m(R) {
@@ -3509,52 +3525,52 @@ var He = function() {
3509
3525
  function w(R) {
3510
3526
  x.destroy(), y(!0), E.executeListeners({ name: "dragEnd", positions: R });
3511
3527
  }
3512
- var x = new T.ScreenSpaceEventHandler(a._scene.canvas);
3528
+ var x = new T.ScreenSpaceEventHandler(s._scene.canvas);
3513
3529
  x.setInputAction(function(R) {
3514
- var M = a._scene.camera.pickEllipsoid(R.endPosition, e);
3530
+ var M = s._scene.camera.pickEllipsoid(R.endPosition, e);
3515
3531
  M ? m(M) : w(M);
3516
3532
  }, T.ScreenSpaceEventType.MOUSE_MOVE), x.setInputAction(function(R) {
3517
- w(a._scene.camera.pickEllipsoid(R.position, e));
3533
+ w(s._scene.camera.pickEllipsoid(R.position, e));
3518
3534
  }, T.ScreenSpaceEventType.LEFT_UP), y(!1);
3519
- }), ee(p);
3535
+ }), J(p);
3520
3536
  };
3521
3537
  function c(p) {
3522
- a._scene, !(this._highlighted && this._highlighted == p) && this._editMode !== !0 && (this._highlighted = p, p ? (a.setHighlighted(this), this._strokeColor = this.strokeColor, this.setStrokeStyle(T.Color.fromCssColorString("white"), this.strokeWidth)) : this._strokeColor ? this.setStrokeStyle(this._strokeColor, this.strokeWidth) : this.setStrokeStyle(void 0, void 0));
3538
+ s._scene, !(this._highlighted && this._highlighted == p) && this._editMode !== !0 && (this._highlighted = p, p ? (s.setHighlighted(this), this._strokeColor = this.strokeColor, this.setStrokeStyle(T.Color.fromCssColorString("white"), this.strokeWidth)) : this._strokeColor ? this.setStrokeStyle(this._strokeColor, this.strokeWidth) : this.setStrokeStyle(void 0, void 0));
3523
3539
  }
3524
3540
  function b(p) {
3525
3541
  if (this._editMode != p)
3526
- if (a.disableAllHighlights(), p) {
3527
- a.setEdited(this);
3528
- var E = a._scene, y = this;
3542
+ if (s.disableAllHighlights(), p) {
3543
+ s.setEdited(this);
3544
+ var E = s._scene, y = this;
3529
3545
  if (this._markers == null) {
3530
- let D = function(U, q) {
3531
- var re = U - 1 < 0 ? q.length - 1 : U - 1;
3546
+ let D = function(U, K) {
3547
+ var re = U - 1 < 0 ? K.length - 1 : U - 1;
3532
3548
  re < m.countBillboards() && (m.getBillboard(re).position = te(re)), re = U, re < m.countBillboards() && (m.getBillboard(re).position = te(re));
3533
- }, J = function() {
3549
+ }, Q = function() {
3534
3550
  y.executeListeners({
3535
3551
  name: "onEdited",
3536
3552
  positions: y.positions
3537
3553
  });
3538
3554
  }, te = function(U) {
3539
- var q = y.positions;
3555
+ var K = y.positions;
3540
3556
  return e.cartographicToCartesian(
3541
3557
  new T.EllipsoidGeodesic(
3542
- e.cartesianToCartographic(q[U]),
3543
- e.cartesianToCartographic(q[U < q.length - 1 ? U + 1 : 0])
3558
+ e.cartesianToCartographic(K[U]),
3559
+ e.cartesianToCartographic(K[U < K.length - 1 ? U + 1 : 0])
3544
3560
  ).interpolateUsingFraction(0.5)
3545
3561
  );
3546
3562
  };
3547
- var S = new i.BillboardGroup(a, g), m = new i.BillboardGroup(a, _), w = {
3563
+ var S = new i.BillboardGroup(s, g), m = new i.BillboardGroup(s, _), w = {
3548
3564
  dragHandlers: {
3549
- onDrag: function(U, q) {
3550
- y.positions[U] = q, D(U, y.positions), y._createPrimitive = !0;
3565
+ onDrag: function(U, K) {
3566
+ y.positions[U] = K, D(U, y.positions), y._createPrimitive = !0;
3551
3567
  },
3552
- onDragEnd: function(U, q) {
3553
- y._createPrimitive = !0, J();
3568
+ onDragEnd: function(U, K) {
3569
+ y._createPrimitive = !0, Q();
3554
3570
  }
3555
3571
  },
3556
3572
  onDoubleClick: function(U) {
3557
- y.positions.length < 4 || (y.positions.splice(U, 1), y._createPrimitive = !0, S.removeBillboard(U), m.removeBillboard(U), D(U, y.positions), J());
3573
+ y.positions.length < 4 || (y.positions.splice(U, 1), y._createPrimitive = !0, S.removeBillboard(U), m.removeBillboard(U), D(U, y.positions), Q());
3558
3574
  },
3559
3575
  tooltip: function() {
3560
3576
  if (y.positions.length > 3)
@@ -3566,14 +3582,14 @@ var He = function() {
3566
3582
  x.push(te(R));
3567
3583
  var P = {
3568
3584
  dragHandlers: {
3569
- onDragStart: function(U, q) {
3570
- this.index = U + 1, y.positions.splice(this.index, 0, q), y._createPrimitive = !0;
3585
+ onDragStart: function(U, K) {
3586
+ this.index = U + 1, y.positions.splice(this.index, 0, K), y._createPrimitive = !0;
3571
3587
  },
3572
- onDrag: function(U, q) {
3573
- y.positions[this.index] = q, y._createPrimitive = !0;
3588
+ onDrag: function(U, K) {
3589
+ y.positions[this.index] = K, y._createPrimitive = !0;
3574
3590
  },
3575
- onDragEnd: function(U, q) {
3576
- S.insertBillboard(this.index, q, w), m.getBillboard(this.index - 1).position = te(this.index - 1), m.insertBillboard(this.index, te(this.index), P), y._createPrimitive = !0, J();
3591
+ onDragEnd: function(U, K) {
3592
+ S.insertBillboard(this.index, K, w), m.getBillboard(this.index - 1).position = te(this.index - 1), m.insertBillboard(this.index, te(this.index), P), y._createPrimitive = !0, Q();
3577
3593
  }
3578
3594
  },
3579
3595
  tooltip: function() {
@@ -3581,8 +3597,8 @@ var He = function() {
3581
3597
  }
3582
3598
  };
3583
3599
  m.addBillboards(x, P), this._editMarkers = m, this._globeClickhandler = new T.ScreenSpaceEventHandler(E.canvas), this._globeClickhandler.setInputAction(function(U) {
3584
- var q = E.pick(U.position);
3585
- q && q.primitive || y.setEditMode(!1);
3600
+ var K = E.pick(U.position);
3601
+ K && K.primitive || y.setEditMode(!1);
3586
3602
  }, T.ScreenSpaceEventType.LEFT_CLICK), S.setOnTop(), m.setOnTop();
3587
3603
  }
3588
3604
  this._editMode = !0;
@@ -3592,31 +3608,31 @@ var He = function() {
3592
3608
  He.PolylinePrimitive.prototype.setEditable = function() {
3593
3609
  if (!this.setEditMode) {
3594
3610
  var p = this;
3595
- p.isPolygon = !1, p.asynchronous = !1, a.registerEditableShape(p), p.setEditMode = b;
3611
+ p.isPolygon = !1, p.asynchronous = !1, s.registerEditableShape(p), p.setEditMode = b;
3596
3612
  var E = this.width;
3597
3613
  p.setHighlighted = function(y) {
3598
- this._editMode !== !0 && (y ? (a.setHighlighted(this), this.setWidth(E * 2)) : this.setWidth(E));
3614
+ this._editMode !== !0 && (y ? (s.setHighlighted(this), this.setWidth(E * 2)) : this.setWidth(E));
3599
3615
  }, p.getExtent = function() {
3600
3616
  return T.Rectangle.fromCartographicArray(e.cartesianArrayToCartographicArray(this.positions));
3601
- }, ee(p), p.setEditMode(!1);
3617
+ }, J(p), p.setEditMode(!1);
3602
3618
  }
3603
3619
  }, He.PolygonPrimitive.prototype.setEditable = function() {
3604
3620
  var p = this;
3605
- p.asynchronous = !1, a._scene, a.registerEditableShape(p), p.setEditMode = b, p.setHighlighted = c, ee(p), p.setEditMode(!1);
3621
+ p.asynchronous = !1, s._scene, s.registerEditableShape(p), p.setEditMode = b, p.setHighlighted = c, J(p), p.setEditMode(!1);
3606
3622
  }, He.ExtentPrimitive.prototype.setEditable = function() {
3607
3623
  if (!this.setEditMode) {
3608
- var p = this, E = a._scene;
3609
- a.registerEditableShape(p), p.asynchronous = !1, p.setEditMode = function(y) {
3624
+ var p = this, E = s._scene;
3625
+ s.registerEditableShape(p), p.asynchronous = !1, p.setEditMode = function(y) {
3610
3626
  if (this._editMode != y)
3611
- if (a.disableAllHighlights(), y) {
3612
- if (a.setEdited(this), this._markers == null) {
3627
+ if (s.disableAllHighlights(), y) {
3628
+ if (s.setEdited(this), this._markers == null) {
3613
3629
  let w = function() {
3614
3630
  p.executeListeners({
3615
3631
  name: "onEdited",
3616
3632
  extent: p.extent
3617
3633
  });
3618
3634
  };
3619
- var S = new i.BillboardGroup(a, g), m = {
3635
+ var S = new i.BillboardGroup(s, g), m = {
3620
3636
  dragHandlers: {
3621
3637
  onDrag: function(x, R) {
3622
3638
  var M = S.getBillboard((x + 2) % 4).position;
@@ -3638,15 +3654,15 @@ var He = function() {
3638
3654
  this._editMode = !0;
3639
3655
  } else
3640
3656
  this._markers != null && (this._markers.remove(), this._markers = null, this._globeClickhandler.destroy()), this._editMode = !1;
3641
- }, p.setHighlighted = c, ee(p), p.setEditMode(!1);
3657
+ }, p.setHighlighted = c, J(p), p.setEditMode(!1);
3642
3658
  }
3643
3659
  }, i.EllipsePrimitive.prototype.setEditable = function() {
3644
3660
  if (!this.setEditMode) {
3645
- var p = this, E = a._scene;
3646
- p.asynchronous = !1, a.registerEditableShape(p), p.setEditMode = function(y) {
3661
+ var p = this, E = s._scene;
3662
+ p.asynchronous = !1, s.registerEditableShape(p), p.setEditMode = function(y) {
3647
3663
  if (this._editMode != y)
3648
- if (a.disableAllHighlights(), y) {
3649
- a.setEdited(this);
3664
+ if (s.disableAllHighlights(), y) {
3665
+ s.setEdited(this);
3650
3666
  var S = this;
3651
3667
  if (this._markers == null) {
3652
3668
  let x = function() {
@@ -3667,7 +3683,7 @@ var He = function() {
3667
3683
  rotation: 0
3668
3684
  });
3669
3685
  };
3670
- var m = new i.BillboardGroup(a, g), w = {
3686
+ var m = new i.BillboardGroup(s, g), w = {
3671
3687
  dragHandlers: {
3672
3688
  onDrag: function(M, P) {
3673
3689
  var D = T.Cartesian3.distance(p.getCenter(), P);
@@ -3689,7 +3705,7 @@ var He = function() {
3689
3705
  this._editMode = !0;
3690
3706
  } else
3691
3707
  this._markers != null && (this._markers.remove(), this._markers = null, this._globeClickhandler.destroy()), this._editMode = !1;
3692
- }, p.setHighlighted = c, ee(p), p.setEditMode(!1);
3708
+ }, p.setHighlighted = c, J(p), p.setEditMode(!1);
3693
3709
  }
3694
3710
  }, i.CirclePrimitive.prototype.getCircleCartesianCoordinates = function(p) {
3695
3711
  for (var E = T.CircleOutlineGeometry.createGeometry(
@@ -3704,11 +3720,11 @@ var He = function() {
3704
3720
  return m;
3705
3721
  }, i.CirclePrimitive.prototype.setEditable = function() {
3706
3722
  if (!this.setEditMode) {
3707
- var p = this, E = a._scene;
3708
- p.asynchronous = !1, a.registerEditableShape(p), p.setEditMode = function(y) {
3723
+ var p = this, E = s._scene;
3724
+ p.asynchronous = !1, s.registerEditableShape(p), p.setEditMode = function(y) {
3709
3725
  if (this._editMode != y)
3710
- if (a.disableAllHighlights(), y) {
3711
- a.setEdited(this);
3726
+ if (s.disableAllHighlights(), y) {
3727
+ s.setEdited(this);
3712
3728
  var S = this;
3713
3729
  if (this._markers == null) {
3714
3730
  let x = function() {
@@ -3720,7 +3736,7 @@ var He = function() {
3720
3736
  radius: p.getRadius()
3721
3737
  });
3722
3738
  };
3723
- var m = new i.BillboardGroup(a, g), w = {
3739
+ var m = new i.BillboardGroup(s, g), w = {
3724
3740
  dragHandlers: {
3725
3741
  onDrag: function(M, P) {
3726
3742
  p.setRadius(T.Cartesian3.distance(p.getCenter(), P)), m.updateBillboardsPositions(x());
@@ -3741,11 +3757,11 @@ var He = function() {
3741
3757
  this._editMode = !0;
3742
3758
  } else
3743
3759
  this._markers != null && (this._markers.remove(), this._markers = null, this._globeClickhandler.destroy()), this._editMode = !1;
3744
- }, p.setHighlighted = c, ee(p), p.setEditMode(!1);
3760
+ }, p.setHighlighted = c, J(p), p.setEditMode(!1);
3745
3761
  }
3746
3762
  };
3747
3763
  }, i.DrawHelperWidget = function() {
3748
- function a(c, b) {
3764
+ function s(c, b) {
3749
3765
  if (!T.defined(b.container))
3750
3766
  throw new T.DeveloperError("Container is required");
3751
3767
  var p = {
@@ -3766,10 +3782,10 @@ var He = function() {
3766
3782
  function S(x, R, M, P) {
3767
3783
  var D = document.createElement("DIV");
3768
3784
  D.className = "button", D.title = M, y.appendChild(D), D.onclick = P;
3769
- var J = document.createElement("SPAN");
3770
- D.appendChild(J);
3785
+ var Q = document.createElement("SPAN");
3786
+ D.appendChild(Q);
3771
3787
  var te = document.createElement("IMG");
3772
- return te.src = R, J.appendChild(te), D;
3788
+ return te.src = R, Q.appendChild(te), D;
3773
3789
  }
3774
3790
  var m = c._scene;
3775
3791
  S("marker", b.markerIcon, "Click to start drawing a 2D marker", function() {
@@ -3819,50 +3835,50 @@ var He = function() {
3819
3835
  var w = document.createElement("DIV");
3820
3836
  w.className = "divider", y.appendChild(w), S("clear", b.clearIcon, "Remove all primitives", function() {
3821
3837
  m.primitives.removeAll();
3822
- }), ee(this);
3838
+ }), J(this);
3823
3839
  }
3824
- return a;
3825
- }(), i.prototype.addToolbar = function(a, c) {
3826
- return c = V(c, { container: a }), new i.DrawHelperWidget(this, c);
3840
+ return s;
3841
+ }(), i.prototype.addToolbar = function(s, c) {
3842
+ return c = V(c, { container: s }), new i.DrawHelperWidget(this, c);
3827
3843
  };
3828
- function $(a, c) {
3844
+ function $(s, c) {
3829
3845
  var b = new T.Rectangle();
3830
- b.west = Math.min(a.longitude, c.longitude), b.east = Math.max(a.longitude, c.longitude), b.south = Math.min(a.latitude, c.latitude), b.north = Math.max(a.latitude, c.latitude);
3846
+ b.west = Math.min(s.longitude, c.longitude), b.east = Math.max(s.longitude, c.longitude), b.south = Math.min(s.latitude, c.latitude), b.north = Math.max(s.latitude, c.latitude);
3831
3847
  var p = T.Math.EPSILON7;
3832
3848
  return b.east - b.west < p && (b.east += p * 2), b.north - b.south < p && (b.north += p * 2), b;
3833
3849
  }
3834
- function j(a, c) {
3835
- return a.longitude.toFixed(c || 3) + ", " + a.latitude.toFixed(c || 3);
3850
+ function j(s, c) {
3851
+ return s.longitude.toFixed(c || 3) + ", " + s.latitude.toFixed(c || 3);
3836
3852
  }
3837
- function N(a, c) {
3838
- if (a == null || typeof a != "object" || a.constructor != Object && a.constructor != Array)
3839
- return a;
3840
- if (a.constructor == Date || a.constructor == RegExp || a.constructor == Function || a.constructor == String || a.constructor == Number || a.constructor == Boolean)
3841
- return new a.constructor(a);
3842
- c = c || new a.constructor();
3843
- for (var b in a)
3844
- c[b] = typeof c[b] > "u" ? N(a[b], null) : c[b];
3853
+ function N(s, c) {
3854
+ if (s == null || typeof s != "object" || s.constructor != Object && s.constructor != Array)
3855
+ return s;
3856
+ if (s.constructor == Date || s.constructor == RegExp || s.constructor == Function || s.constructor == String || s.constructor == Number || s.constructor == Boolean)
3857
+ return new s.constructor(s);
3858
+ c = c || new s.constructor();
3859
+ for (var b in s)
3860
+ c[b] = typeof c[b] > "u" ? N(s[b], null) : c[b];
3845
3861
  return c;
3846
3862
  }
3847
- function Z(a, c) {
3848
- a = a || {};
3863
+ function Z(s, c) {
3864
+ s = s || {};
3849
3865
  var b;
3850
3866
  for (b in c)
3851
- a[b] === void 0 && (a[b] = N(c[b]));
3867
+ s[b] === void 0 && (s[b] = N(c[b]));
3852
3868
  }
3853
- function V(a, c) {
3854
- var b = N(a), p;
3869
+ function V(s, c) {
3870
+ var b = N(s), p;
3855
3871
  for (p in c)
3856
3872
  b[p] === void 0 && (b[p] = N(c[p]));
3857
3873
  return b;
3858
3874
  }
3859
- function Y(a, c, b) {
3860
- a[c] = b;
3875
+ function Y(s, c, b) {
3876
+ s[c] = b;
3861
3877
  }
3862
- function ee(a) {
3863
- a._listeners = {}, a.addListener = function(c, b) {
3878
+ function J(s) {
3879
+ s._listeners = {}, s.addListener = function(c, b) {
3864
3880
  return this._listeners[c] = this._listeners[c] || [], this._listeners[c].push(b), this._listeners[c].length;
3865
- }, a.executeListeners = function(c, b) {
3881
+ }, s.executeListeners = function(c, b) {
3866
3882
  if (this._listeners[c.name] && this._listeners[c.name].length > 0)
3867
3883
  for (var p = 0; p < this._listeners[c.name].length; p++)
3868
3884
  this._listeners[c.name][p](c);
@@ -3872,7 +3888,7 @@ var He = function() {
3872
3888
  }
3873
3889
  return i;
3874
3890
  }();
3875
- const Xs = (e) => {
3891
+ const Qs = (e) => {
3876
3892
  const t = e.map((n) => {
3877
3893
  const i = Oe.fromCartesian(n);
3878
3894
  return [ne.toDegrees(i.longitude), ne.toDegrees(i.latitude)];
@@ -3885,23 +3901,23 @@ const Xs = (e) => {
3885
3901
  coordinates: [t]
3886
3902
  }
3887
3903
  };
3888
- }, qs = (e) => {
3889
- const t = Xn.lineString([
3904
+ }, ea = (e) => {
3905
+ const t = qn.lineString([
3890
3906
  [ne.toDegrees(e.west), ne.toDegrees(e.south)],
3891
3907
  [ne.toDegrees(e.east), ne.toDegrees(e.north)]
3892
3908
  ]);
3893
3909
  return ut(dt(t));
3894
- }, Ks = 2, Js = (e, t) => {
3910
+ }, ta = 2, na = (e, t) => {
3895
3911
  switch (e) {
3896
3912
  case be.BOX: {
3897
- if (t.features.length !== Ks)
3913
+ if (t.features.length !== ta)
3898
3914
  throw new Error(`${e} must have 2 points`);
3899
3915
  const n = un(t.features, (o) => {
3900
3916
  var r;
3901
- return ((r = o.properties) == null ? void 0 : r.type) === Ft.BOTTOM_LEFT;
3917
+ return ((r = o.properties) == null ? void 0 : r.type) === Bt.BOTTOM_LEFT;
3902
3918
  }), i = un(t.features, (o) => {
3903
3919
  var r;
3904
- return ((r = o.properties) == null ? void 0 : r.type) === Ft.TOP_RIGHT;
3920
+ return ((r = o.properties) == null ? void 0 : r.type) === Bt.TOP_RIGHT;
3905
3921
  });
3906
3922
  if (i && n) {
3907
3923
  if (n.geometry.coordinates[0] === i.geometry.coordinates[0] && n.geometry.coordinates[1] === i.geometry.coordinates[1])
@@ -3918,20 +3934,20 @@ const Xs = (e) => {
3918
3934
  default:
3919
3935
  throw new Error(`${e} type geoJSON still not supported`);
3920
3936
  }
3921
- }, Qs = (e) => {
3922
- const t = Xn.lineString([
3937
+ }, ia = (e) => {
3938
+ const t = qn.lineString([
3923
3939
  [e.west, e.south],
3924
3940
  [e.east, e.north]
3925
3941
  ]);
3926
- return ut(dt(t)).geometry.coordinates[0].map((i) => Te.fromRadiansArray(i)[0]);
3927
- }, Al = (e) => {
3928
- const { drawState: t, drawingMaterial: n, drawingVertexColor: i, material: o, hollow: r, outlineWidth: l } = e, d = ve(), [h, f] = O();
3929
- B(() => {
3942
+ return ut(dt(t)).geometry.coordinates[0].map((i) => Se.fromRadiansArray(i)[0]);
3943
+ }, kl = (e) => {
3944
+ const { drawState: t, drawingMaterial: n, drawingVertexColor: i, material: o, hollow: r, outlineWidth: l } = e, d = ve(), [h, f] = B();
3945
+ O(() => {
3930
3946
  f(
3931
3947
  // eslint-disable-next-line
3932
3948
  new He(d, n, i)
3933
3949
  );
3934
- }, []), B(() => {
3950
+ }, []), O(() => {
3935
3951
  if (h) {
3936
3952
  const L = h;
3937
3953
  if (t.drawing)
@@ -3942,7 +3958,7 @@ const Xs = (e) => {
3942
3958
  t.handler({
3943
3959
  primitive: u,
3944
3960
  type: be.POLYGON,
3945
- geojson: Xs(u)
3961
+ geojson: Qs(u)
3946
3962
  });
3947
3963
  }
3948
3964
  });
@@ -3953,7 +3969,7 @@ const Xs = (e) => {
3953
3969
  t.handler({
3954
3970
  primitive: u,
3955
3971
  type: be.BOX,
3956
- geojson: qs(u)
3972
+ geojson: ea(u)
3957
3973
  });
3958
3974
  }
3959
3975
  });
@@ -3967,49 +3983,49 @@ const Xs = (e) => {
3967
3983
  }, [t, h]);
3968
3984
  const C = (L) => {
3969
3985
  try {
3970
- let u = L.coordinates !== void 0 ? L.coordinates : Js(L.type, L.geojson);
3986
+ let u = L.coordinates !== void 0 ? L.coordinates : na(L.type, L.geojson);
3971
3987
  if (r !== !0)
3972
3988
  switch (L.type) {
3973
3989
  case be.BOX:
3974
- return /* @__PURE__ */ s(js, { coordinates: u, material: o ?? n });
3990
+ return /* @__PURE__ */ a(Ks, { coordinates: u, material: o ?? n });
3975
3991
  case be.POLYGON:
3976
- return /* @__PURE__ */ s($s, { hierarchy: new jn(u), material: o ?? n });
3992
+ return /* @__PURE__ */ a(Xs, { hierarchy: new Zn(u), material: o ?? n });
3977
3993
  default:
3978
- return /* @__PURE__ */ s(ge, {});
3994
+ return /* @__PURE__ */ a(ge, {});
3979
3995
  }
3980
3996
  else {
3981
3997
  switch (L.type) {
3982
3998
  case be.BOX:
3983
- u = Qs(u);
3999
+ u = ia(u);
3984
4000
  break;
3985
4001
  case be.POLYGON:
3986
4002
  u = [...u, u[0]];
3987
4003
  break;
3988
4004
  default:
3989
- return /* @__PURE__ */ s(ge, {});
4005
+ return /* @__PURE__ */ a(ge, {});
3990
4006
  }
3991
- return /* @__PURE__ */ s(Zs, { clampToGround: !0, positions: u, width: l ?? 1, material: o ?? n });
4007
+ return /* @__PURE__ */ a(Js, { clampToGround: !0, positions: u, width: l ?? 1, material: o ?? n });
3992
4008
  }
3993
4009
  } catch (u) {
3994
- return console.error(u), /* @__PURE__ */ s(ge, {});
4010
+ return console.error(u), /* @__PURE__ */ a(ge, {});
3995
4011
  }
3996
4012
  };
3997
- return /* @__PURE__ */ s(Ys, { ...e, children: e.drawings.map((L, u) => /* @__PURE__ */ z(zs, { name: L.name, children: [
3998
- /* @__PURE__ */ z(Us, { children: [
4013
+ return /* @__PURE__ */ a(qs, { ...e, children: e.drawings.map((L, u) => /* @__PURE__ */ z(Ys, { name: L.name, children: [
4014
+ /* @__PURE__ */ z(Zs, { children: [
3999
4015
  /* @__PURE__ */ z("h1", { children: [
4000
4016
  "Drawed Entity ",
4001
4017
  L.name
4002
4018
  ] }),
4003
- /* @__PURE__ */ s("p", { children: "This is description of drawed entity" })
4019
+ /* @__PURE__ */ a("p", { children: "This is description of drawed entity" })
4004
4020
  ] }),
4005
4021
  C(L)
4006
4022
  ] }, L.id)) });
4007
- }, Rl = () => {
4023
+ }, Nl = () => {
4008
4024
  const e = ve();
4009
- return B(() => {
4010
- e.extend(zr);
4025
+ return O(() => {
4026
+ e.extend(Ur);
4011
4027
  }, [e]), null;
4012
- }, ea = -25, An = 2, Dl = (e) => {
4028
+ }, ra = -25, An = 2, Bl = (e) => {
4013
4029
  const t = ve(), n = (r, l = ",") => r.slice(r.indexOf(`
4014
4030
  `) + 1).split(`
4015
4031
  `).map((f) => {
@@ -4024,9 +4040,9 @@ const Xs = (e) => {
4024
4040
  const l = new FileReader();
4025
4041
  l.onload = (h) => {
4026
4042
  var u;
4027
- const f = (u = h.target) == null ? void 0 : u.result, C = n(f), L = zt.WGS84;
4043
+ const f = (u = h.target) == null ? void 0 : u.result, C = n(f), L = Wt.WGS84;
4028
4044
  console.log(`Loaded CSV content:
4029
- `, f), Ur(
4045
+ `, f), $r(
4030
4046
  t.terrainProvider,
4031
4047
  C.map((g) => g.cartographic)
4032
4048
  ).then(
@@ -4044,11 +4060,11 @@ const Xs = (e) => {
4044
4060
  text: (v + An).toString(),
4045
4061
  font: "14pt monospace",
4046
4062
  fillColor: Ge.BLACK,
4047
- style: Yn.FILL_AND_OUTLINE,
4063
+ style: Xn.FILL_AND_OUTLINE,
4048
4064
  outlineWidth: 4,
4049
4065
  outlineColor: Ge.BLACK,
4050
4066
  verticalOrigin: st.BOTTOM,
4051
- pixelOffset: new Ie(0, ea)
4067
+ pixelOffset: new Ie(0, ra)
4052
4068
  },
4053
4069
  description: `
4054
4070
  Long: ${C[v].cartesian.x} </br>
@@ -4077,7 +4093,7 @@ const Xs = (e) => {
4077
4093
  const f = new Blob([h], { type: "text/csv;charset=utf-8;" }), C = document.createElement("a"), L = URL.createObjectURL(f);
4078
4094
  C.setAttribute("href", L), C.setAttribute("download", r), C.style.visibility = "hidden", document.body.appendChild(C), C.click(), document.body.removeChild(C);
4079
4095
  };
4080
- return /* @__PURE__ */ s(ge, { children: /* @__PURE__ */ s(
4096
+ return /* @__PURE__ */ a(ge, { children: /* @__PURE__ */ a(
4081
4097
  "input",
4082
4098
  {
4083
4099
  type: "file",
@@ -4089,8 +4105,8 @@ const Xs = (e) => {
4089
4105
  }
4090
4106
  ) });
4091
4107
  };
4092
- const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la = (e) => {
4093
- const [t, n] = O(e.defaultValue ?? ""), [i, o] = O(!1), [r, l] = O({
4108
+ const oa = 38, sa = 40, aa = 13, ca = 14, la = 27, da = 9, ua = 10, ha = 100, ma = (e) => {
4109
+ const [t, n] = B(e.defaultValue ?? ""), [i, o] = B(!1), [r, l] = B({
4094
4110
  helperVisible: !1,
4095
4111
  left: 0,
4096
4112
  right: 0,
@@ -4103,16 +4119,16 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4103
4119
  value: "",
4104
4120
  caret: 0,
4105
4121
  width: "unset"
4106
- }), d = Se(null);
4107
- B(() => (window.addEventListener("resize", _), () => {
4122
+ }), d = Te(null);
4123
+ O(() => (window.addEventListener("resize", _), () => {
4108
4124
  try {
4109
4125
  window.removeEventListener("resize", _);
4110
4126
  } catch (E) {
4111
4127
  console.log('WINDOW "resize" remove listener failed', E);
4112
4128
  }
4113
- }), []), B(() => {
4129
+ }), []), O(() => {
4114
4130
  typeof e.value < "u" && n(e.value), typeof e.defaultValue < "u" && n(e.defaultValue);
4115
- }, [e.value, e.defaultValue]), B(() => {
4131
+ }, [e.value, e.defaultValue]), O(() => {
4116
4132
  const { options: E } = e, { caret: y } = r;
4117
4133
  $(t, y, E);
4118
4134
  }, [e]);
@@ -4125,14 +4141,14 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4125
4141
  P[te] = S;
4126
4142
  });
4127
4143
  const D = f(M, R);
4128
- let J = {};
4144
+ let Q = {};
4129
4145
  for (let te = 0; te < D.length; te++) {
4130
- const { triggerStr: U, triggerMatch: q, triggerLength: re } = D[te];
4146
+ const { triggerStr: U, triggerMatch: K, triggerLength: re } = D[te];
4131
4147
  for (let he = y - 1; he >= 0; --he) {
4132
4148
  const oe = E.substring(he, y).match(R);
4133
4149
  let pe = -1;
4134
4150
  if (re > 0) {
4135
- const I = q ? he : he - re + 1;
4151
+ const I = K ? he : he - re + 1;
4136
4152
  if (I < 0 || (C(U, E, I) && (pe = I + re), !oe && pe < 0))
4137
4153
  break;
4138
4154
  } else {
@@ -4149,8 +4165,8 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4149
4165
  const le = X.toLowerCase().indexOf(A.toLowerCase());
4150
4166
  return le !== -1 && (w || le === 0);
4151
4167
  }), H = U, W = A.length;
4152
- J = {
4153
- ...J,
4168
+ Q = {
4169
+ ...Q,
4154
4170
  trigger: H,
4155
4171
  matchStart: pe,
4156
4172
  matchLength: W,
@@ -4159,13 +4175,13 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4159
4175
  }
4160
4176
  }
4161
4177
  }
4162
- return J;
4178
+ return Q;
4163
4179
  }, f = (E, y) => E.map((m) => ({
4164
4180
  triggerStr: m,
4165
4181
  triggerMatch: m.match(y),
4166
4182
  triggerLength: m.length
4167
4183
  })), C = (E, y, S) => !E || !E.length || y.substr(S, E.length) === E, L = (E) => {
4168
- const { onChange: y, options: S, spaceRemovers: m, spacer: w, value: x } = e, R = t, M = E.target.value, P = to(u(E.target)).end;
4184
+ const { onChange: y, options: S, spaceRemovers: m, spacer: w, value: x } = e, R = t, M = E.target.value, P = no(u(E.target)).end;
4169
4185
  if (M.length || G({
4170
4186
  ...r,
4171
4187
  helperVisible: !1
@@ -4178,12 +4194,12 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4178
4194
  if (i && m.length && M.length > 2 && w.length) {
4179
4195
  for (let D = 0; D < Math.max(R.length, M.length); ++D)
4180
4196
  if (R[D] !== M[D]) {
4181
- if (D >= 2 && M[D - 1] === w && m.indexOf(M[D - 2]) === -1 && m.indexOf(M[D]) !== -1 && !Bt(h(M.substring(0, D - 2), P - 3, S))) {
4182
- const J = `${M.slice(0, D - 1)}${M.slice(D, D + 1)}${M.slice(D - 1, D)}${M.slice(D + 1)}`;
4183
- return k(D + 1), d.current !== null && (d.current.value = J), x || G({
4197
+ if (D >= 2 && M[D - 1] === w && m.indexOf(M[D - 2]) === -1 && m.indexOf(M[D]) !== -1 && !Nt(h(M.substring(0, D - 2), P - 3, S))) {
4198
+ const Q = `${M.slice(0, D - 1)}${M.slice(D, D + 1)}${M.slice(D - 1, D)}${M.slice(D + 1)}`;
4199
+ return k(D + 1), d.current !== null && (d.current.value = Q), x || G({
4184
4200
  ...r,
4185
- value: J
4186
- }), y(J);
4201
+ value: Q
4202
+ }), y(Q);
4187
4203
  }
4188
4204
  break;
4189
4205
  }
@@ -4205,26 +4221,26 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4205
4221
  const { helperVisible: y, options: S, selection: m } = r, { onKeyDown: w, passThroughEnter: x } = e;
4206
4222
  if (y)
4207
4223
  switch (E.keyCode) {
4208
- case oa:
4224
+ case la:
4209
4225
  E.preventDefault(), j();
4210
4226
  break;
4211
- case ta:
4227
+ case oa:
4212
4228
  E.preventDefault(), G({
4213
4229
  ...r,
4214
4230
  selection: (S.length + m - 1) % S.length
4215
4231
  });
4216
4232
  break;
4217
- case na:
4233
+ case sa:
4218
4234
  E.preventDefault(), G({
4219
4235
  ...r,
4220
4236
  selection: (m + 1) % S.length
4221
4237
  });
4222
4238
  break;
4223
- case ra:
4224
- case ia:
4239
+ case ca:
4240
+ case aa:
4225
4241
  x || E.preventDefault(), v(m);
4226
4242
  break;
4227
- case sa:
4243
+ case da:
4228
4244
  v(m);
4229
4245
  break;
4230
4246
  default:
@@ -4239,15 +4255,15 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4239
4255
  helperVisible: !1
4240
4256
  });
4241
4257
  }, v = (E) => {
4242
- const { spacer: y, onSelect: S, changeOnSelect: m } = e, { matchStart: w, matchLength: x, options: R, trigger: M } = r, P = R[E], D = t, J = D.substring(0, w - M.length), te = D.substring(w + x), U = { target: d.current }, q = m(M, P);
4243
- U.target !== null && (U.target.value = `${J}${q}${y}${te}`), L(U), U.target !== null && S(U.target.value), j(), k(J.length + q.length + 1), o(!0);
4258
+ const { spacer: y, onSelect: S, changeOnSelect: m } = e, { matchStart: w, matchLength: x, options: R, trigger: M } = r, P = R[E], D = t, Q = D.substring(0, w - M.length), te = D.substring(w + x), U = { target: d.current }, K = m(M, P);
4259
+ U.target !== null && (U.target.value = `${Q}${K}${y}${te}`), L(U), U.target !== null && S(U.target.value), j(), k(Q.length + K.length + 1), o(!0);
4244
4260
  }, k = (E) => {
4245
4261
  G({
4246
4262
  ...r,
4247
4263
  caret: E
4248
4264
  });
4249
4265
  const y = u(d.current);
4250
- no(y, E);
4266
+ io(y, E);
4251
4267
  }, G = (E) => {
4252
4268
  setTimeout(() => {
4253
4269
  l({
@@ -4263,18 +4279,18 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4263
4279
  return;
4264
4280
  const x = m.getBoundingClientRect(), R = h(E, y, S);
4265
4281
  if (Object.keys(R).length > 0 && w !== null) {
4266
- const M = eo(w, y), P = w.getBoundingClientRect(), { minChars: D, onRequestOptions: J, requestOnlyIfNoOptions: te, mode: U } = e;
4267
- let q, re, he, we = "unset";
4268
- U === "assist" ? (q = m === w ? M.top + w.offsetTop : M.top + x.top, re = Math.min(M.left + w.offsetLeft - aa, w.offsetLeft + P.width - ca)) : (q = x.top + m.offsetHeight, re = m.offsetLeft, he = m.offsetLeft - m.offsetWidth, we = `${x.width}px`), R.matchLength >= D && (R.options.length > 1 || R.options.length === 1 && R.options[0].length !== R.matchLength) ? G({
4282
+ const M = to(w, y), P = w.getBoundingClientRect(), { minChars: D, onRequestOptions: Q, requestOnlyIfNoOptions: te, mode: U } = e;
4283
+ let K, re, he, we = "unset";
4284
+ U === "assist" ? (K = m === w ? M.top + w.offsetTop : M.top + x.top, re = Math.min(M.left + w.offsetLeft - ua, w.offsetLeft + P.width - ha)) : (K = x.top + m.offsetHeight, re = m.offsetLeft, he = m.offsetLeft - m.offsetWidth, we = `${x.width}px`), R.matchLength >= D && (R.options.length > 1 || R.options.length === 1 && R.options[0].length !== R.matchLength) ? G({
4269
4285
  ...r,
4270
4286
  value: E,
4271
4287
  helperVisible: !0,
4272
- top: q,
4288
+ top: K,
4273
4289
  left: re,
4274
4290
  right: he,
4275
4291
  width: we,
4276
4292
  ...R
4277
- }) : ((!te || !R.options.length) && J(E.substr(R.matchStart, R.matchLength)), j());
4293
+ }) : ((!te || !R.options.length) && Q(E.substr(R.matchStart, R.matchLength)), j());
4278
4294
  } else
4279
4295
  j();
4280
4296
  }, j = () => {
@@ -4289,7 +4305,7 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4289
4305
  const { helperVisible: E, left: y, right: S, matchStart: m, matchLength: w, options: x, selection: R, top: M, value: P, width: D } = r;
4290
4306
  if (!E)
4291
4307
  return null;
4292
- const { maxOptions: J, offsetX: te, offsetY: U, direction: q } = e;
4308
+ const { maxOptions: Q, offsetX: te, offsetY: U, direction: K } = e;
4293
4309
  if (x.length === 0)
4294
4310
  return null;
4295
4311
  if (R >= x.length)
@@ -4297,7 +4313,7 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4297
4313
  ...r,
4298
4314
  selection: 0
4299
4315
  }), null;
4300
- const re = J === 0 ? x.length : J, he = x.slice(0, re).map((oe, pe) => {
4316
+ const re = Q === 0 ? x.length : Q, he = x.slice(0, re).map((oe, pe) => {
4301
4317
  const I = oe.toLowerCase().indexOf(P.substr(m, w).toLowerCase());
4302
4318
  return /* @__PURE__ */ z(
4303
4319
  "li",
@@ -4314,21 +4330,21 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4314
4330
  },
4315
4331
  children: [
4316
4332
  oe.slice(0, I),
4317
- /* @__PURE__ */ s("strong", { children: oe.substr(I, w) }),
4333
+ /* @__PURE__ */ a("strong", { children: oe.substr(I, w) }),
4318
4334
  oe.slice(I + w)
4319
4335
  ]
4320
4336
  },
4321
4337
  oe
4322
4338
  );
4323
- }), we = q === "ltr" ? { left: y + te } : { right: S + te };
4324
- return /* @__PURE__ */ s("ul", { className: "react-autocomplete-input", style: { ...we, top: M + U, width: D }, children: he });
4325
- }, { Component: Z, ComponentProps: V, defaultValue: Y, disabled: ee, onBlur: a, value: c, ...b } = e, p = Object.assign({}, b);
4339
+ }), we = K === "ltr" ? { left: y + te } : { right: S + te };
4340
+ return /* @__PURE__ */ a("ul", { className: "react-autocomplete-input", style: { ...we, top: M + U, width: D }, children: he });
4341
+ }, { Component: Z, ComponentProps: V, defaultValue: Y, disabled: J, onBlur: s, value: c, ...b } = e, p = Object.assign({}, b);
4326
4342
  return Object.keys(e).forEach((E) => {
4327
4343
  delete p[E];
4328
4344
  }), /* @__PURE__ */ z(ge, { children: [
4329
4345
  ke.cloneElement(Z, {
4330
- disabled: ee,
4331
- onBlur: a,
4346
+ disabled: J,
4347
+ onBlur: s,
4332
4348
  onChange: L,
4333
4349
  onKeyDown: g,
4334
4350
  ref: d,
@@ -4338,8 +4354,8 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4338
4354
  }),
4339
4355
  N()
4340
4356
  ] });
4341
- }, da = {
4342
- Component: /* @__PURE__ */ s("textarea", {}),
4357
+ }, pa = {
4358
+ Component: /* @__PURE__ */ a("textarea", {}),
4343
4359
  ComponentProps: {},
4344
4360
  defaultValue: void 0,
4345
4361
  disabled: !1,
@@ -4369,9 +4385,9 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4369
4385
  passThroughEnter: !1,
4370
4386
  mode: "assist",
4371
4387
  direction: "ltr"
4372
- }, Ol = (e) => {
4388
+ }, Fl = (e) => {
4373
4389
  let t = {
4374
- ...da,
4390
+ ...pa,
4375
4391
  ...e
4376
4392
  };
4377
4393
  return e.mode === "autocomplete" && (t = {
@@ -4379,10 +4395,10 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4379
4395
  trigger: "",
4380
4396
  regex: ".",
4381
4397
  spacer: ""
4382
- }), /* @__PURE__ */ s(la, { ...t });
4398
+ }), /* @__PURE__ */ a(ma, { ...t });
4383
4399
  }, Qt = {
4384
4400
  formatFileModDate: (e, t) => {
4385
- const n = qn.getModDate(t);
4401
+ const n = Jn.getModDate(t);
4386
4402
  return n ? e.formatDate(n, {
4387
4403
  dateStyle: "short",
4388
4404
  timeStyle: "short"
@@ -4391,16 +4407,16 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4391
4407
  formatFileSize: (e, t) => {
4392
4408
  if (!t || typeof t.size != "number")
4393
4409
  return null;
4394
- const n = t.size, i = so(n, {
4410
+ const n = t.size, i = ao(n, {
4395
4411
  bits: !1,
4396
4412
  output: "object"
4397
4413
  });
4398
4414
  return i.symbol === "B" ? `${Math.round(i.value / 10) / 100} KB` : i.symbol === "KB" ? `${Math.round(i.value)} ${i.symbol}` : `${i.value} ${i.symbol.toUpperCase()}`;
4399
4415
  }
4400
- }, ua = {
4416
+ }, ga = {
4401
4417
  locale: Me.EN,
4402
4418
  formatters: { ...Qt }
4403
- }, ha = {
4419
+ }, fa = {
4404
4420
  locale: Me.RU,
4405
4421
  formatters: { ...Qt },
4406
4422
  messages: {
@@ -4440,7 +4456,7 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4440
4456
  [`chonky.actions.${ie.ToggleHiddenFiles.id}.button.name`]: "Скрытые файлы",
4441
4457
  [`chonky.actions.${ie.ToggleShowFoldersFirst.id}.button.name`]: "Папки в начале"
4442
4458
  }
4443
- }, ma = {
4459
+ }, ya = {
4444
4460
  locale: Me.HE,
4445
4461
  formatters: { ...Qt },
4446
4462
  messages: {
@@ -4479,24 +4495,24 @@ const ta = 38, na = 40, ia = 13, ra = 14, oa = 27, sa = 9, aa = 10, ca = 100, la
4479
4495
  [`chonky.actions.${ie.ToggleHiddenFiles.id}.button.name`]: "קבצים נסתרים",
4480
4496
  [`chonky.actions.${ie.ToggleShowFoldersFirst.id}.button.name`]: "הצגת תיקיות בראש הרשימה"
4481
4497
  }
4482
- }, pa = {
4483
- [Me.EN]: ua,
4484
- [Me.RU]: ha,
4485
- [Me.HE]: ma
4498
+ }, va = {
4499
+ [Me.EN]: ga,
4500
+ [Me.RU]: fa,
4501
+ [Me.HE]: ya
4486
4502
  };
4487
- class kl extends qn {
4503
+ class Gl extends Jn {
4488
4504
  }
4489
- const Nl = ie, ga = {
4505
+ const Vl = ie, wa = {
4490
4506
  listView: ie.EnableListView.id,
4491
4507
  gridView: ie.EnableGridView.id
4492
4508
  };
4493
- io({ iconComponent: oo });
4494
- const Bl = ke.memo(
4509
+ ro({ iconComponent: so });
4510
+ const Hl = ke.memo(
4495
4511
  ke.forwardRef(
4496
4512
  ({
4497
4513
  theme: e,
4498
4514
  styles: t = { height: "100%", minWidth: "600px" },
4499
- defaultView: n = ga.listView,
4515
+ defaultView: n = wa.listView,
4500
4516
  readOnlyMode: i = !1,
4501
4517
  locale: o,
4502
4518
  files: r,
@@ -4519,21 +4535,21 @@ const Bl = ke.memo(
4519
4535
  }
4520
4536
  }
4521
4537
  })();
4522
- const L = (Y) => Y.replace(/([A-Z])/g, (ee) => "-" + ee.toLowerCase()), u = ae(() => e !== void 0 ? Object.keys(e).reduce((ee, a) => {
4523
- const c = e[a];
4524
- return a = a.startsWith("--") ? a : `--fp-theme-${L(a)}`, ee[a] = c, ee;
4525
- }, {}) : {}, [e]), [g, _] = O(!1), [v, k] = O(), [G, $] = O(!1), [j, N] = O(), [Z, V] = O();
4526
- return B(() => {
4527
- e && _(!0), k(n), i ? $(!0) : N([ie.CreateFolder, ie.DeleteFiles]), o !== void 0 && V(pa[o]);
4528
- }, [e, n, i, o]), /* @__PURE__ */ s(
4529
- K,
4538
+ const L = (Y) => Y.replace(/([A-Z])/g, (J) => "-" + J.toLowerCase()), u = ae(() => e !== void 0 ? Object.keys(e).reduce((J, s) => {
4539
+ const c = e[s];
4540
+ return s = s.startsWith("--") ? s : `--fp-theme-${L(s)}`, J[s] = c, J;
4541
+ }, {}) : {}, [e]), [g, _] = B(!1), [v, k] = B(), [G, $] = B(!1), [j, N] = B(), [Z, V] = B();
4542
+ return O(() => {
4543
+ e && _(!0), k(n), i ? $(!0) : N([ie.CreateFolder, ie.DeleteFiles]), o !== void 0 && V(va[o]);
4544
+ }, [e, n, i, o]), /* @__PURE__ */ a(
4545
+ q,
4530
4546
  {
4531
4547
  style: {
4532
4548
  ...t,
4533
4549
  ...u
4534
4550
  },
4535
- children: /* @__PURE__ */ s(
4536
- ro,
4551
+ children: /* @__PURE__ */ a(
4552
+ oo,
4537
4553
  {
4538
4554
  ref: f,
4539
4555
  files: r ?? [],
@@ -4554,18 +4570,20 @@ const Bl = ke.memo(
4554
4570
  );
4555
4571
  }
4556
4572
  )
4557
- ), fa = (e) => /* @__PURE__ */ s(co.Option, { ...e, children: /* @__PURE__ */ s(Rt, { label: e.label, checked: e.isSelected }) }), ya = (e) => {
4573
+ ), Ea = (e) => /* @__PURE__ */ a(lo.Option, { ...e, children: /* @__PURE__ */ a(At, { label: e.label, checked: e.isSelected }) }), La = (e) => {
4558
4574
  const { styles: t } = e;
4559
- return /* @__PURE__ */ s(ao, { isMulti: !0, components: { Option: fa }, styles: t, isClearable: !0, hideSelectedOptions: !1, closeMenuOnSelect: !1, ...e });
4560
- }, Fl = (e) => {
4561
- const { values: t, options: n, onChange: i, placeholder: o, styles: r } = e, l = lt(), d = Zt(l), [h, f] = O(t);
4562
- return /* @__PURE__ */ s(Wt, { theme: d, children: /* @__PURE__ */ s(
4575
+ return /* @__PURE__ */ a(co, { isMulti: !0, components: { Option: Ea }, styles: t, isClearable: !0, hideSelectedOptions: !1, closeMenuOnSelect: !1, ...e });
4576
+ }, Wl = (e) => {
4577
+ const { values: t, options: n, onChange: i, placeholder: o, styles: r } = e, l = lt(), d = Yt(l), [h, f] = B(t);
4578
+ return O(() => {
4579
+ f(t ?? []);
4580
+ }, [t]), /* @__PURE__ */ a(Vt, { theme: d, children: /* @__PURE__ */ a(
4563
4581
  Ii,
4564
4582
  {
4565
4583
  multiline: !0,
4566
4584
  fullWidth: !0,
4567
4585
  disableUnderline: !0,
4568
- inputComponent: ya,
4586
+ inputComponent: La,
4569
4587
  value: h,
4570
4588
  onChange: (L) => {
4571
4589
  f(L), i && i(L);
@@ -4578,7 +4596,7 @@ const Bl = ke.memo(
4578
4596
  }
4579
4597
  }
4580
4598
  ) });
4581
- }, Gl = ({
4599
+ }, zl = ({
4582
4600
  value: e,
4583
4601
  text: t,
4584
4602
  children: n,
@@ -4596,18 +4614,18 @@ const Bl = ke.memo(
4596
4614
  backgroundPadding: l,
4597
4615
  counterClockwise: d,
4598
4616
  circleRatio: h,
4599
- styles: lo({
4617
+ styles: uo({
4600
4618
  ...o
4601
4619
  })
4602
4620
  };
4603
- return n ? /* @__PURE__ */ s(uo, { ...f, children: n }) : /* @__PURE__ */ s(
4604
- ho,
4621
+ return n ? /* @__PURE__ */ a(ho, { ...f, children: n }) : /* @__PURE__ */ a(
4622
+ mo,
4605
4623
  {
4606
4624
  ...f,
4607
4625
  text: t
4608
4626
  }
4609
4627
  );
4610
- }, Vl = ({
4628
+ }, Ul = ({
4611
4629
  values: e,
4612
4630
  valueStart: t = 0,
4613
4631
  valueEnd: n,
@@ -4617,8 +4635,8 @@ const Bl = ke.memo(
4617
4635
  repeat: l,
4618
4636
  children: d
4619
4637
  }) => {
4620
- const [h, f] = O(0), [C, L] = O(t), u = ke.useRef(void 0), g = e === void 0 && n !== void 0;
4621
- return B(() => {
4638
+ const [h, f] = B(0), [C, L] = B(t), u = ke.useRef(void 0), g = e === void 0 && n !== void 0;
4639
+ return O(() => {
4622
4640
  if (g)
4623
4641
  return l ? u.current = window.setInterval(() => {
4624
4642
  L((_) => _ === t ? n : t);
@@ -4629,8 +4647,8 @@ const Bl = ke.memo(
4629
4647
  return u.current = window.setInterval(() => {
4630
4648
  f((_) => (_ + 1) % e.length), L(e[h]);
4631
4649
  }, o), () => clearInterval(u.current);
4632
- }, [e, n, i, o, l, h]), g ? /* @__PURE__ */ s(
4633
- mo,
4650
+ }, [e, n, i, o, l, h]), g ? /* @__PURE__ */ a(
4651
+ po,
4634
4652
  {
4635
4653
  start: () => ({
4636
4654
  value: t
@@ -4642,121 +4660,121 @@ const Bl = ke.memo(
4642
4660
  ease: r
4643
4661
  }
4644
4662
  }),
4645
- children: ({ value: _ }) => /* @__PURE__ */ s(ge, { children: d(_) })
4663
+ children: ({ value: _ }) => /* @__PURE__ */ a(ge, { children: d(_) })
4646
4664
  }
4647
- ) : /* @__PURE__ */ s(ge, { children: d(C) });
4665
+ ) : /* @__PURE__ */ a(ge, { children: d(C) });
4648
4666
  };
4649
4667
  export {
4650
- Vl as AnimatedValuesProvider,
4651
- Ol as Autocomplete,
4652
- Ft as BboxCorner,
4653
- K as Box,
4654
- Vt as COORDINATES_MERCATOR_FRACTION_DIGITS,
4655
- Gt as COORDINATES_WGS_FRACTION_DIGITS,
4656
- bl as Cesium3DTileset,
4657
- rl as CesiumBoundingSphere,
4658
- nl as CesiumCartesian2,
4659
- il as CesiumCartesian3,
4660
- hs as CesiumCartographic,
4661
- ml as CesiumCesiumBillboardGraphics,
4662
- $l as CesiumCesiumEntity,
4663
- jl as CesiumCesiumPolygonGraphics,
4664
- dl as CesiumCesiumPolylineGraphics,
4665
- ll as CesiumCesiumTerrainProvider,
4666
- pl as CesiumColor,
4667
- Ds as CesiumCompassTool,
4668
- tl as CesiumConstantPositionProperty,
4669
- el as CesiumConstantProperty,
4670
- Ys as CesiumCustomDataSource,
4671
- Al as CesiumDrawingsDataSource,
4672
- ol as CesiumEllipsoid,
4673
- cl as CesiumEllipsoidTerrainProvider,
4674
- zs as CesiumEntity,
4675
- xl as CesiumEntityDescription,
4676
- Us as CesiumEntityStaticDescription,
4677
- Yl as CesiumGeoJsonDataSource,
4678
- sl as CesiumGeographicTilingScheme,
4679
- Tl as CesiumGeojsonLayer,
4680
- El as CesiumHeightReference,
4681
- vl as CesiumHorizontalOrigin,
4668
+ Ul as AnimatedValuesProvider,
4669
+ Fl as Autocomplete,
4670
+ Bt as BboxCorner,
4671
+ q as Box,
4672
+ Gt as COORDINATES_MERCATOR_FRACTION_DIGITS,
4673
+ Ft as COORDINATES_WGS_FRACTION_DIGITS,
4674
+ Ml as Cesium3DTileset,
4675
+ cl as CesiumBoundingSphere,
4676
+ sl as CesiumCartesian2,
4677
+ al as CesiumCartesian3,
4678
+ gs as CesiumCartographic,
4679
+ yl as CesiumCesiumBillboardGraphics,
4680
+ Xl as CesiumCesiumEntity,
4681
+ Kl as CesiumCesiumPolygonGraphics,
4682
+ pl as CesiumCesiumPolylineGraphics,
4683
+ ml as CesiumCesiumTerrainProvider,
4684
+ vl as CesiumColor,
4685
+ Bs as CesiumCompassTool,
4686
+ ol as CesiumConstantPositionProperty,
4687
+ rl as CesiumConstantProperty,
4688
+ qs as CesiumCustomDataSource,
4689
+ kl as CesiumDrawingsDataSource,
4690
+ ll as CesiumEllipsoid,
4691
+ hl as CesiumEllipsoidTerrainProvider,
4692
+ Ys as CesiumEntity,
4693
+ Ol as CesiumEntityDescription,
4694
+ Zs as CesiumEntityStaticDescription,
4695
+ ql as CesiumGeoJsonDataSource,
4696
+ dl as CesiumGeographicTilingScheme,
4697
+ Il as CesiumGeojsonLayer,
4698
+ Tl as CesiumHeightReference,
4699
+ Cl as CesiumHorizontalOrigin,
4682
4700
  gt as CesiumImageryLayer,
4683
- ul as CesiumJulianDate,
4684
- wl as CesiumLabelStyle,
4685
- Cl as CesiumMap,
4686
- Zl as CesiumMath,
4687
- Il as CesiumOSMLayer,
4688
- $s as CesiumPolygonGraphics,
4689
- gl as CesiumPolygonHierarchy,
4690
- Qc as CesiumPolylineDashMaterialProperty,
4691
- hl as CesiumPositionProperty,
4692
- ms as CesiumRectangle,
4693
- js as CesiumRectangleGraphics,
4694
- al as CesiumResource,
4695
- fl as CesiumScene,
4701
+ gl as CesiumJulianDate,
4702
+ bl as CesiumLabelStyle,
4703
+ _l as CesiumMap,
4704
+ Jl as CesiumMath,
4705
+ Rl as CesiumOSMLayer,
4706
+ Xs as CesiumPolygonGraphics,
4707
+ wl as CesiumPolygonHierarchy,
4708
+ il as CesiumPolylineDashMaterialProperty,
4709
+ fl as CesiumPositionProperty,
4710
+ fs as CesiumRectangle,
4711
+ Ks as CesiumRectangleGraphics,
4712
+ ul as CesiumResource,
4713
+ El as CesiumScene,
4696
4714
  _t as CesiumSceneMode,
4697
- Xl as CesiumSceneTransforms,
4698
- yl as CesiumVerticalOrigin,
4699
- Ll as CesiumViewer,
4700
- Pl as CesiumWFSLayer,
4701
- Sl as CesiumWMSLayer,
4702
- _l as CesiumWMTSLayer,
4703
- Ml as CesiumXYZLayer,
4704
- Gl as CircularProgressBar,
4705
- Os as CoordinatesTrackerTool,
4706
- Kc as CssBaseline,
4707
- Nc as DateRangePicker,
4708
- Bc as DateTimePicker,
4709
- wo as DateTimeRangePicker,
4710
- Oc as DateTimeRangePickerFormControl,
4711
- Ho as DrawInteraction,
4715
+ Ql as CesiumSceneTransforms,
4716
+ Ll as CesiumVerticalOrigin,
4717
+ Sl as CesiumViewer,
4718
+ Dl as CesiumWFSLayer,
4719
+ Pl as CesiumWMSLayer,
4720
+ xl as CesiumWMTSLayer,
4721
+ Al as CesiumXYZLayer,
4722
+ zl as CircularProgressBar,
4723
+ Fs as CoordinatesTrackerTool,
4724
+ tl as CssBaseline,
4725
+ Vc as DateRangePicker,
4726
+ Hc as DateTimePicker,
4727
+ Eo as DateTimeRangePicker,
4728
+ Fc as DateTimeRangePickerFormControl,
4729
+ Wo as DrawInteraction,
4712
4730
  be as DrawType,
4713
- kl as FileHelper,
4714
- Bl as FilePicker,
4715
- Nl as FilePickerActions,
4716
- ga as FilePickerViewObj,
4717
- Go as GeoJSONFeature,
4718
- Rl as InspectorTool,
4719
- Xc as Legend,
4720
- Zc as MVTSource,
4721
- xo as Map,
4722
- Fc as MapFilterContainer,
4723
- Fl as MultiSelection,
4724
- Eo as Popover,
4731
+ Gl as FileHelper,
4732
+ Hl as FilePicker,
4733
+ Vl as FilePickerActions,
4734
+ wa as FilePickerViewObj,
4735
+ Vo as GeoJSONFeature,
4736
+ Nl as InspectorTool,
4737
+ Qc as Legend,
4738
+ Jc as MVTSource,
4739
+ Ao as Map,
4740
+ Wc as MapFilterContainer,
4741
+ Wl as MultiSelection,
4742
+ Lo as Popover,
4725
4743
  Re as Proj,
4726
- Ns as ScaleTrackerTool,
4727
- Jc as ScopedCssBaseline,
4728
- qc as SmartTable,
4744
+ Vs as ScaleTrackerTool,
4745
+ nl as ScopedCssBaseline,
4746
+ el as SmartTable,
4729
4747
  Me as SupportedLocales,
4730
- Dl as TerrainianHeightTool,
4731
- Ro as TileLayer,
4732
- Vo as TileOsm,
4733
- zc as TileWMS,
4734
- Hc as TileWMTS,
4735
- $c as TileXYZ,
4736
- kc as TimeRangeInput,
4737
- ko as VectorLayer,
4738
- Fo as VectorSource,
4739
- Gc as VectorTileLayer,
4740
- Bs as ZoomButtons,
4741
- Gs as ZoomLevelTrackerTool,
4742
- Jl as buildStyles,
4743
- ql as cesiumSampleTerrainMostDetailed,
4748
+ Bl as TerrainianHeightTool,
4749
+ Do as TileLayer,
4750
+ Ho as TileOsm,
4751
+ Yc as TileWMS,
4752
+ $c as TileWMTS,
4753
+ Xc as TileXYZ,
4754
+ Gc as TimeRangeInput,
4755
+ No as VectorLayer,
4756
+ Go as VectorSource,
4757
+ zc as VectorTileLayer,
4758
+ Hs as ZoomButtons,
4759
+ zs as ZoomLevelTrackerTool,
4760
+ nd as buildStyles,
4761
+ ed as cesiumSampleTerrainMostDetailed,
4744
4762
  Qt as defaultFormatters,
4745
- Yc as getMVTOptions,
4746
- Wc as getWMSOptions,
4747
- Vc as getWMTSOptions,
4748
- Uc as getXYZOptions,
4763
+ qc as getMVTOptions,
4764
+ jc as getWMSOptions,
4765
+ Uc as getWMTSOptions,
4766
+ Zc as getXYZOptions,
4749
4767
  Lt as isDateRange,
4750
- po as mapMcToMuiTheme,
4768
+ go as mapMcToMuiTheme,
4751
4769
  ve as useCesiumMap,
4752
4770
  tt as useCesiumMapViewstate,
4753
4771
  Xe as useMap,
4754
- go as useMappedCesiumTheme,
4755
- Zt as useMappedMuiTheme,
4756
- zl as useMediaQuery,
4772
+ fo as useMappedCesiumTheme,
4773
+ Yt as useMappedMuiTheme,
4774
+ Yl as useMediaQuery,
4757
4775
  ht as useTileLayer,
4758
- Oo as useVectorLayer,
4759
- Bo as useVectorSource,
4760
- jo as useVectorTileLayer,
4761
- jc as useVectorTileSource
4776
+ ko as useVectorLayer,
4777
+ Fo as useVectorSource,
4778
+ Yo as useVectorTileLayer,
4779
+ Kc as useVectorTileSource
4762
4780
  };