@map-colonies/react-components 4.7.0 → 4.7.2

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,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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}.trackerPosition{background-color:var(--mdc-theme-surface);z-index:2000;padding:2px;border-radius:2px;font-size:12px;height:24px;text-align:center;line-height:20px;white-space:nowrap}.scalePosition{background-color:var(--mdc-theme-surface);padding:1px;border-radius:2px;font-size:12px;width:110px}.scale-tracker-label{text-align:center}.scale-tracker-bar{background:var(--mdc-theme-on-surface);margin:0 auto;display:block;transition:all .5s ease-in-out}.zoomLevel{z-index:2000;background-color:var(--mdc-theme-surface);border-radius:2px;padding:2px;height:24px}.zoomLevelValue{margin:2px;font-size:14px;line-height:10px;text-align:center}.zoomLevelLabel{font-size:8px;line-height:8px}.mapViewIcon{fill:#fff;width:40px;height:40px;background:#303336;border:1px solid #444;border-radius:4px}.mapViewIcon:hover{background:#48b;border-color:#aef}.mapViewCurrent{fill:#aef;border:1px solid #aef;border-radius:4px}.mapSelector{width:260px;list-style:none;padding-left:0;display:flex;flex-wrap:wrap;grid-gap:4px;min-height:140px;margin-block-start:0px;padding-inline-start:0px}.mapContainerSelected{border:blueviolet 2px solid!important;border-radius:2px}.mapContainer:hover{border:tomato 2px solid;border-radius:2px}.mapContainerImg{width:100%;height:100%}.mapLabel{font-size:12px}.mapLabel:before{content:"\\a0"}.mapScenesContainer{display:flex;gap:8px}.settingsIconContainer,.mapLegendToggleContainer{fill:#fff;width:40px;height:40px;background:#303336;border:1px solid #444;border-radius:4px}.settingsIconContainer:hover,.mapLegendToggleContainer:hover{background:#48b;border-color:#aef}.baseMapsContainer{margin-top:12px;min-height:58%}.settingsDialogPortal{transform:translateZ(0);height:calc(100vh - 220px);max-height:460px;width:280px;position:absolute;top:40px;right:80px}.settingsDialogPortal .mdc-dialog__container{align-items:unset}.settingsDialogPortal .mdc-dialog .mdc-dialog__surface{max-height:unset}body[dir=rtl] .settingsDialogPortal{left:80px;right:unset}.sectionLabel{margin-block-end:.5em}.zoom-buttons-container{display:flex;flex-direction:column;gap:2px;--full-screen-button-offset: 8px;--full-screen-button-size: 29px;--full-screen-button-bottom: 8px;position:absolute;bottom:calc(var(--full-screen-button-offset) + var(--full-screen-button-size) + var(--full-screen-button-bottom));right:var(--full-screen-button-offset);left:unset}body[dir=rtl] .zoom-buttons-container{left:var(--full-screen-button-offset);right:unset}.zoom-button{cursor:pointer;width:29px;height:29px;text-align:center;background:#303336;border:1px solid #444;border-radius:4px;box-sizing:border-box}.zoom-button:hover{background:#48b;border-color:#aef}.mapLegendSidebarContainer{width:340px;height:100%;position:relative;overflow-y:auto;overflow-x:hidden;font-size:16px}.mapLegendSidebarContainer.mdc-drawer--animate{transform:translate(0)!important;transition:none!important}.mapLegendSidebarContainer.mdc-drawer--dismissible{position:relative}div.MuiPaper-root{transition:none!important}.mapLegendCloseBtn{position:absolute;top:0;right:0;cursor:pointer;width:50px;height:50px;padding:20px;font-size:24px}body[dir=rtl] .mapLegendCloseBtn{right:unset;left:0}.mapLegendToggleContainer{display:flex;align-items:center;justify-content:center}.mapLegendIcon{width:2rem;height:2rem;transform:translate(8%,8%)}.sidebarHeaderContainer{text-align:center;margin-top:40px}.sidebarTitle{font-size:1.5rem;font-weight:700}.mapLegend{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 14px}.layerNameContainer{width:90%;display:flex;justify-content:center;align-items:center}.layerName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legendImg{width:90%;height:150px;border:1px solid black;border-radius:5px;object-fit:cover;cursor:pointer}.legendActionsContainer{display:flex;flex-direction:row;align-self:center}.legendAction:not(:last-child):after{content:"|";margin:0 4px}.mapLegendsList{display:flex;flex-direction:column;padding:20px 0;width:100%;height:90%}.legendAction{text-decoration:underline;cursor:pointer;font-size:1.1rem;transition:all .1s ease-in-out;width:max-content}.legendAction:hover{filter:brightness(1.2)}.noLegendsContainer{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.noLegendsMsg{text-align:center}.cesium-widget-credits{display:none!important}.cesium-viewer-fullscreenContainer{bottom:8px;right:8px;left:unset}body[dir=rtl] .cesium-viewer-fullscreenContainer{left:8px;right:unset}body[dir=rtl] .cesium-viewer-toolbar{left:5px;right:unset}.cesium-button.cesium-fullscreenButton{border-radius:14%}.toolsContainer{color:var(--mdc-theme-on-surface);display:flex;gap:8px;z-index:2000;position:absolute;bottom:12px;right:40px;opacity:.7}body[dir=rtl] .toolsContainer{left:40px;right:unset}.sideToolsContainer{display:flex;flex-direction:row;gap:8px;z-index:2000;position:absolute;top:12px;right:40px}body[dir=rtl] .sideToolsContainer{left:40px;right:unset}.viewer{display:flex;flex-direction:row}.viewer .mdc-linear-progress__bar-inner{border-top-width:10px}.compass.rtl{right:unset;left:20px}.compass.ltr{left:unset;right:20px}.twipsy{display:block;position:absolute;visibility:visible;max-width:200px;min-width:100px;padding:5px;font-size:11px;z-index:1000;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:20000;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(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.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}.trackerPosition{background-color:var(--mdc-theme-surface);z-index:2000;padding:2px;border-radius:2px;font-size:12px;height:24px;text-align:center;line-height:20px;white-space:nowrap}.scalePosition{background-color:var(--mdc-theme-surface);padding:1px;border-radius:2px;font-size:12px;width:110px}.scale-tracker-label{text-align:center}.scale-tracker-bar{background:var(--mdc-theme-on-surface);margin:0 auto;display:block;transition:all .5s ease-in-out}.zoomLevel{z-index:2000;background-color:var(--mdc-theme-surface);border-radius:2px;padding:2px;height:24px}.zoomLevelValue{margin:2px;font-size:14px;line-height:10px;text-align:center}.zoomLevelLabel{font-size:8px;line-height:8px}.mapViewIcon{fill:#fff;width:40px;height:40px;background:#303336;border:1px solid #444;border-radius:4px}.mapViewIcon:hover{background:#48b;border-color:#aef}.mapViewCurrent{fill:#aef;border:1px solid #aef;border-radius:4px}.mapSelector{width:260px;list-style:none;padding-left:0;display:flex;flex-wrap:wrap;grid-gap:4px;min-height:140px;margin-block-start:0px;padding-inline-start:0px}.mapContainerSelected{border:blueviolet 2px solid!important;border-radius:2px}.mapContainer:hover{border:tomato 2px solid;border-radius:2px}.mapContainerImg{width:100%;height:100%}.mapLabel{font-size:12px}.mapLabel:before{content:"\\a0"}.mapScenesContainer{display:flex;gap:8px}.settingsIconContainer,.mapLegendToggleContainer{fill:#fff;width:40px;height:40px;background:#303336;border:1px solid #444;border-radius:4px}.settingsIconContainer:hover,.mapLegendToggleContainer:hover{background:#48b;border-color:#aef}.baseMapsContainer{margin-top:12px;min-height:58%}.settingsDialogPortal{transform:translateZ(0);height:calc(100vh - 220px);max-height:460px;width:280px;position:absolute;top:40px;right:80px}.settingsDialogPortal .mdc-dialog__container{align-items:unset}.settingsDialogPortal .mdc-dialog .mdc-dialog__surface{max-height:unset}body[dir=rtl] .settingsDialogPortal{left:80px;right:unset}.sectionLabel{margin-block-end:.5em}.zoom-buttons-container{display:flex;flex-direction:column;gap:2px;--full-screen-button-offset: 8px;--full-screen-button-size: 29px;--full-screen-button-bottom: 8px;position:absolute;bottom:calc(var(--full-screen-button-offset) + var(--full-screen-button-size) + var(--full-screen-button-bottom));right:var(--full-screen-button-offset);left:unset}body[dir=rtl] .zoom-buttons-container{left:var(--full-screen-button-offset);right:unset}.zoom-button{cursor:pointer;width:29px;height:29px;background:#303336;border:1px solid #444;border-radius:4px;box-sizing:border-box;display:flex;justify-content:center;padding:4px}.zoom-button:hover{background:#48b;border-color:#aef}.mapLegendSidebarContainer{width:340px;height:100%;position:relative;overflow-y:auto;overflow-x:hidden;font-size:16px}.mapLegendSidebarContainer.mdc-drawer--animate{transform:translate(0)!important;transition:none!important}.mapLegendSidebarContainer.mdc-drawer--dismissible{position:relative}div.MuiPaper-root{transition:none!important}.mapLegendCloseBtn{position:absolute;top:0;right:0;cursor:pointer;width:50px;height:50px;padding:20px;font-size:24px}body[dir=rtl] .mapLegendCloseBtn{right:unset;left:0}.mapLegendToggleContainer{display:flex;align-items:center;justify-content:center}.mapLegendIcon{width:2rem;height:2rem;transform:translate(8%,8%)}.sidebarHeaderContainer{text-align:center;margin-top:40px}.sidebarTitle{font-size:1.5rem;font-weight:700}.mapLegend{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:10px 14px}.layerNameContainer{width:90%;display:flex;justify-content:center;align-items:center}.layerName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legendImg{width:90%;height:150px;border:1px solid black;border-radius:5px;object-fit:cover;cursor:pointer}.legendActionsContainer{display:flex;flex-direction:row;align-self:center}.legendAction:not(:last-child):after{content:"|";margin:0 4px}.mapLegendsList{display:flex;flex-direction:column;padding:20px 0;width:100%;height:90%}.legendAction{text-decoration:underline;cursor:pointer;font-size:1.1rem;transition:all .1s ease-in-out;width:max-content}.legendAction:hover{filter:brightness(1.2)}.noLegendsContainer{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.noLegendsMsg{text-align:center}.cesium-widget-credits{display:none!important}.cesium-viewer-fullscreenContainer{bottom:8px;right:8px;left:unset}body[dir=rtl] .cesium-viewer-fullscreenContainer{left:8px;right:unset}body[dir=rtl] .cesium-viewer-toolbar{left:5px;right:unset}.cesium-button.cesium-fullscreenButton{border-radius:14%}.toolsContainer{color:var(--mdc-theme-on-surface);display:flex;gap:8px;z-index:2000;position:absolute;bottom:12px;right:40px;opacity:.7}body[dir=rtl] .toolsContainer{left:40px;right:unset}.sideToolsContainer{display:flex;flex-direction:row;gap:8px;z-index:2000;position:absolute;top:12px;right:40px}body[dir=rtl] .sideToolsContainer{left:40px;right:unset}.viewer{display:flex;flex-direction:row}.viewer .mdc-linear-progress__bar-inner{border-top-width:10px}.compass.rtl{right:unset;left:20px}.compass.ltr{left:unset;right:20px}.twipsy{display:block;position:absolute;visibility:visible;max-width:200px;min-width:100px;padding:5px;font-size:11px;z-index:1000;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:20000;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(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
2
  var En = Object.defineProperty;
3
3
  var Cn = (e, n, t) => n in e ? En(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
4
4
  var X = (e, n, t) => (Cn(e, typeof n != "symbol" ? n + "" : n, t), t);
@@ -131,7 +131,7 @@ const hr = 2, mr = 0.5, pr = Fe(
131
131
  })
132
132
  ), gr = (e) => {
133
133
  var j, O, z, k;
134
- const n = pr(), t = Xt(), i = an(t), [o, r] = D(null), [c, u] = D(null), [m, p] = D(J.DATE_RANGE_PICKER.dateFormat), E = e.controlsLayout ?? J.DATE_RANGE_PICKER.controlsLayout, L = e.disableFuture ?? J.DATE_RANGE_PICKER.disableFuture, w = ((j = e.local) == null ? void 0 : j.startPlaceHolderText) ?? J.DATE_RANGE_PICKER.local.startPlaceHolderText, P = ((O = e.local) == null ? void 0 : O.endPlaceHolderText) ?? J.DATE_RANGE_PICKER.local.endPlaceHolderText, A = ((z = e.local) == null ? void 0 : z.setText) ?? J.DATE_RANGE_PICKER.local.setText, Y = (((k = e.local) == null ? void 0 : k.calendarLocale) ?? J.DATE_RANGE_PICKER.local.calendarLocale) === he.HE ? Ut : jt;
134
+ const n = pr(), t = Xt(), i = an(t), [o, r] = D(null), [c, u] = D(null), [m, p] = D(J.DATE_RANGE_PICKER.dateFormat), v = e.controlsLayout ?? J.DATE_RANGE_PICKER.controlsLayout, L = e.disableFuture ?? J.DATE_RANGE_PICKER.disableFuture, w = ((j = e.local) == null ? void 0 : j.startPlaceHolderText) ?? J.DATE_RANGE_PICKER.local.startPlaceHolderText, P = ((O = e.local) == null ? void 0 : O.endPlaceHolderText) ?? J.DATE_RANGE_PICKER.local.endPlaceHolderText, A = ((z = e.local) == null ? void 0 : z.setText) ?? J.DATE_RANGE_PICKER.local.setText, Y = (((k = e.local) == null ? void 0 : k.calendarLocale) ?? J.DATE_RANGE_PICKER.local.calendarLocale) === he.HE ? Ut : jt;
135
135
  I(() => {
136
136
  r(e.from ?? null);
137
137
  }, [e.from]), I(() => {
@@ -152,8 +152,8 @@ const hr = 2, mr = 0.5, pr = Fe(
152
152
  {
153
153
  className: `${n.container} drpContainer`,
154
154
  display: "flex",
155
- flexDirection: E,
156
- width: E === "column" ? e.contentWidth : "unset",
155
+ flexDirection: v,
156
+ width: v === "column" ? e.contentWidth : "unset",
157
157
  children: /* @__PURE__ */ N(Kt, { utils: qt, locale: Y, children: [
158
158
  /* @__PURE__ */ l(
159
159
  rt,
@@ -203,7 +203,7 @@ const Qs = (e) => {
203
203
  var O, z;
204
204
  const [n, t] = D(null), [i, o] = D(null), [r, c] = D(J.DATE_RANGE_PICKER.dateFormat), [u, m] = Ee.useState(null), p = (k) => {
205
205
  m(k.currentTarget);
206
- }, E = (k) => {
206
+ }, v = (k) => {
207
207
  k.currentTarget.tagName === "I" ? m(k.currentTarget.previousElementSibling) : m(k.currentTarget);
208
208
  }, L = () => {
209
209
  m(null);
@@ -224,11 +224,11 @@ const Qs = (e) => {
224
224
  readOnly: !0,
225
225
  style: { width: e.width },
226
226
  value: j,
227
- onClick: E,
227
+ onClick: v,
228
228
  trailingIcon: {
229
229
  icon: "date_range",
230
230
  tabIndex: 0,
231
- onClick: E
231
+ onClick: v
232
232
  }
233
233
  }
234
234
  ),
@@ -263,9 +263,9 @@ const Qs = (e) => {
263
263
  timeRangeInputsWrapperClassName: u = "",
264
264
  startTimeInputClassName: m = "",
265
265
  startTimeLabel: p = "",
266
- startTimeWrapperClassName: E = ""
266
+ startTimeWrapperClassName: v = ""
267
267
  }) => /* @__PURE__ */ N("div", { className: `timeRangeWrapper ${u}`, children: [
268
- /* @__PURE__ */ l("div", { className: `startTimeWrapper ${E}`, children: /* @__PURE__ */ l(
268
+ /* @__PURE__ */ l("div", { className: `startTimeWrapper ${v}`, children: /* @__PURE__ */ l(
269
269
  We,
270
270
  {
271
271
  label: p,
@@ -328,7 +328,7 @@ const Qs = (e) => {
328
328
  r ? m.id === r && (p || c(void 0)) : p && c(m.id);
329
329
  }
330
330
  }, [i, r, u]), /* @__PURE__ */ l("div", { className: "shortcutsContainer", children: u.map((m, p) => {
331
- const E = () => {
331
+ const v = () => {
332
332
  e(m.startDate), n(m.endDate);
333
333
  };
334
334
  return /* @__PURE__ */ l(
@@ -337,7 +337,7 @@ const Qs = (e) => {
337
337
  type: "button",
338
338
  className: `shortcut ${r === m.id ? "selected" : ""}`,
339
339
  onClick: (L) => {
340
- E(), o == null || o({ startDate: m.startDate, endDate: m.endDate });
340
+ v(), o == null || o({ startDate: m.startDate, endDate: m.endDate });
341
341
  },
342
342
  outlined: !0,
343
343
  children: m.label
@@ -365,23 +365,23 @@ const Qs = (e) => {
365
365
  showMonthYearDropdown: m,
366
366
  // withTimeRange,
367
367
  withShortcuts: p,
368
- locale: E = "en"
368
+ locale: v = "en"
369
369
  } = e, [L, w] = D(null), [P, A] = D(null), [H, Y] = D(!1), G = r ? { startDate: L, endDate: P } : L;
370
370
  I(() => {
371
- E === "he" && Kn("he", qn);
372
- }, [E]), I(() => {
371
+ v === "he" && Kn("he", qn);
372
+ }, [v]), I(() => {
373
373
  var O, z;
374
374
  ((O = e.startDate) == null ? void 0 : O.toString()) !== (L == null ? void 0 : L.toString()) && w(e.startDate), ((z = e.endDate) == null ? void 0 : z.toString()) !== (P == null ? void 0 : P.toString()) && A(e.endDate);
375
375
  }, [e.startDate, e.endDate, L, P]);
376
376
  const U = Be(() => {
377
- let O = "pickerContainer" + (E === "he" ? " pickerContainer-rtl" : "");
377
+ let O = "pickerContainer" + (v === "he" ? " pickerContainer-rtl" : "");
378
378
  return p && r && (O += " pickerContainer-withShortcuts"), O;
379
- }, [E, p, r]), j = m ? {
379
+ }, [v, p, r]), j = m ? {
380
380
  showMonthDropdown: !0,
381
381
  showYearDropdown: !0,
382
382
  dropdownMode: "select"
383
383
  } : {};
384
- return /* @__PURE__ */ l("div", { className: U, style: { direction: E === "he" ? "rtl" : "ltr" }, children: /* @__PURE__ */ l(
384
+ return /* @__PURE__ */ l("div", { className: U, style: { direction: v === "he" ? "rtl" : "ltr" }, children: /* @__PURE__ */ l(
385
385
  jn,
386
386
  {
387
387
  ...e,
@@ -425,7 +425,7 @@ const na = (e) => {
425
425
  onChange: u,
426
426
  showTime: m = J.DATE_PICKER.showTime,
427
427
  value: p,
428
- ...E
428
+ ...v
429
429
  } = e, { placeHolderText: L = J.DATE_PICKER.local.placeHolderText, calendarLocale: w } = c ?? {
430
430
  placeHolderText: J.DATE_PICKER.local.placeHolderText,
431
431
  calendarLocale: he.EN
@@ -442,7 +442,7 @@ const na = (e) => {
442
442
  value: p,
443
443
  disableFuture: r,
444
444
  format: i,
445
- ...E
445
+ ...v
446
446
  }
447
447
  ),
448
448
  !m && /* @__PURE__ */ l(
@@ -454,7 +454,7 @@ const na = (e) => {
454
454
  value: p,
455
455
  disableFuture: r,
456
456
  format: i,
457
- ...E
457
+ ...v
458
458
  }
459
459
  )
460
460
  ] }) });
@@ -469,8 +469,8 @@ const na = (e) => {
469
469
  }
470
470
  })
471
471
  ), wr = (e) => {
472
- const n = Cr(), [t, i] = Ee.useState(null), { isSelectionEnabled: o, onCancelDraw: r, onStartDraw: c, onReset: u } = e, m = (E) => {
473
- i(E.currentTarget);
472
+ const n = Cr(), [t, i] = Ee.useState(null), { isSelectionEnabled: o, onCancelDraw: r, onStartDraw: c, onReset: u } = e, m = (v) => {
473
+ i(v.currentTarget);
474
474
  }, p = () => {
475
475
  i(null);
476
476
  };
@@ -545,8 +545,8 @@ const ut = 5, ht = 2, ln = Me(null), Tr = ln.Provider, Mt = 35, Pt = 32, br = 10
545
545
  r.getView().setZoom(e.zoom ?? br);
546
546
  }, [r, e.zoom, e.projection]);
547
547
  const c = (u, m) => {
548
- m.getControls().forEach((E) => {
549
- E instanceof u && m.removeControl(E);
548
+ m.getControls().forEach((v) => {
549
+ v instanceof u && m.removeControl(v);
550
550
  });
551
551
  };
552
552
  return I(() => {
@@ -691,7 +691,7 @@ const Fr = (e) => {
691
691
  isSelectionEnabled: n !== void 0
692
692
  }
693
693
  ),
694
- (m = e.filters) == null ? void 0 : m.map((p, E) => /* @__PURE__ */ l("div", { className: r.filtersMargin, children: p }, E))
694
+ (m = e.filters) == null ? void 0 : m.map((p, v) => /* @__PURE__ */ l("div", { className: r.filtersMargin, children: p }, v))
695
695
  ] }),
696
696
  /* @__PURE__ */ l(ot, { color: "red", className: `${r.contentContainer}`, children: e.children })
697
697
  ] }),
@@ -857,7 +857,7 @@ const Yr = Jt(
857
857
  "KeyboardArrowUp"
858
858
  );
859
859
  function Zr(e) {
860
- const { cellsMetadata: n, isRowSelected: t, item: i, onRowSelected: o, rowIndex: r, isCollapseable: c, collapsedElement: u } = e, [m, p] = D(!1), E = n.length;
860
+ const { cellsMetadata: n, isRowSelected: t, item: i, onRowSelected: o, rowIndex: r, isCollapseable: c, collapsedElement: u } = e, [m, p] = D(!1), v = n.length;
861
861
  return /* @__PURE__ */ N(oe, { children: [
862
862
  /* @__PURE__ */ N($e, { hover: !0, selected: t, onClick: () => {
863
863
  o == null || o(r);
@@ -883,7 +883,7 @@ function Zr(e) {
883
883
  w.id + r.toString()
884
884
  ))
885
885
  ] }),
886
- c && /* @__PURE__ */ l($e, { children: /* @__PURE__ */ l(Ae, { style: { paddingBottom: 0, paddingTop: 0 }, colSpan: E + 1, children: /* @__PURE__ */ l(In, { in: m, unmountOnExit: !0, timeout: "auto", children: u == null ? void 0 : u(i) }) }) })
886
+ c && /* @__PURE__ */ l($e, { children: /* @__PURE__ */ l(Ae, { style: { paddingBottom: 0, paddingTop: 0 }, colSpan: v + 1, children: /* @__PURE__ */ l(In, { in: m, unmountOnExit: !0, timeout: "auto", children: u == null ? void 0 : u(i) }) }) })
887
887
  ] });
888
888
  }
889
889
  function ga(e) {
@@ -893,7 +893,7 @@ function ga(e) {
893
893
  onRequestSort: u,
894
894
  onRowSelected: m,
895
895
  isCollapseable: p,
896
- collapsedElement: E,
896
+ collapsedElement: v,
897
897
  isDense: L,
898
898
  page: w,
899
899
  rowsPerPage: P,
@@ -924,7 +924,7 @@ function ga(e) {
924
924
  rowIndex: j,
925
925
  isCollapseable: p,
926
926
  cellsMetadata: r,
927
- collapsedElement: E,
927
+ collapsedElement: v,
928
928
  isRowSelected: !1,
929
929
  onRowSelected: m
930
930
  },
@@ -1037,8 +1037,8 @@ const Ia = at, Da = tn, to = (e) => {
1037
1037
  let m = "";
1038
1038
  switch (e.projection) {
1039
1039
  case ge.WEB_MERCATOR: {
1040
- const E = new $i(r).project(u);
1041
- m = `Mercator: ${E.y.toFixed(ht)}m, ${E.x.toFixed(
1040
+ const v = new $i(r).project(u);
1041
+ m = `Mercator: ${v.y.toFixed(ht)}m, ${v.x.toFixed(
1042
1042
  ht
1043
1043
  )}m`, t.current.style.width = "220px";
1044
1044
  break;
@@ -1097,7 +1097,7 @@ const nt = [
1097
1097
  if (m < c.lastLegendUpdate + 250)
1098
1098
  return;
1099
1099
  c.lastLegendUpdate = m;
1100
- const p = e.scene.canvas.clientWidth, E = e.scene.canvas.clientHeight, L = e.scene.camera.getPickRay(new Ce(p / 2 | 0, E - 1)), w = e.scene.camera.getPickRay(new Ce(1 + p / 2 | 0, E - 1)), P = e.scene.globe, A = P.pick(L, e.scene), H = P.pick(w, e.scene);
1100
+ const p = e.scene.canvas.clientWidth, v = e.scene.canvas.clientHeight, L = e.scene.camera.getPickRay(new Ce(p / 2 | 0, v - 1)), w = e.scene.camera.getPickRay(new Ce(1 + p / 2 | 0, v - 1)), P = e.scene.globe, A = P.pick(L, e.scene), H = P.pick(w, e.scene);
1101
1101
  if (!A || !H)
1102
1102
  return;
1103
1103
  const Y = P.ellipsoid.cartesianToCartographic(A), G = P.ellipsoid.cartesianToCartographic(H);
@@ -1179,17 +1179,17 @@ const At = (e, n) => {
1179
1179
  return t;
1180
1180
  }, oo = ({ locale: e = void 0, valueBy: n = "RENDERED_TILES" }) => {
1181
1181
  const t = se(), [i, o] = D(1), r = ro(1, t), c = pe(() => {
1182
- const E = t.camera, L = 0.5;
1182
+ const v = t.camera, L = 0.5;
1183
1183
  let w = 0;
1184
1184
  switch (t.scene.mode) {
1185
1185
  case re.SCENE3D:
1186
- w = t.scene.mapProjection.ellipsoid.cartesianToCartographic(E.positionWC).height;
1186
+ w = t.scene.mapProjection.ellipsoid.cartesianToCartographic(v.positionWC).height;
1187
1187
  break;
1188
1188
  case re.SCENE2D:
1189
- w = (E.frustum.right - E.frustum.left) * L;
1189
+ w = (v.frustum.right - v.frustum.left) * L;
1190
1190
  break;
1191
1191
  case re.COLUMBUS_VIEW:
1192
- w = E.position.z;
1192
+ w = v.position.z;
1193
1193
  break;
1194
1194
  default:
1195
1195
  w = 0;
@@ -1197,24 +1197,24 @@ const At = (e, n) => {
1197
1197
  }
1198
1198
  if (r.length > 0) {
1199
1199
  const P = r.reduce((A, H) => Math.abs(H.height - w) < Math.abs(A.height - w) ? H : A);
1200
- o(P.level);
1200
+ o(P.level), t.currentZoomLevel = P.level;
1201
1201
  }
1202
1202
  }, [t, r]), u = pe(() => {
1203
- let E = 0;
1203
+ let v = 0;
1204
1204
  t.scene.globe._surface.forEachRenderedTile(function(L) {
1205
- E = Math.max(E, L.level);
1206
- }), o(E);
1205
+ v = Math.max(v, L.level);
1206
+ }), o(v), t.currentZoomLevel = v;
1207
1207
  }, [t]), p = Be(() => ({
1208
1208
  CALCULATION: c,
1209
1209
  RENDERED_TILES: u
1210
1210
  }), [c, u])[n];
1211
1211
  return I(() => {
1212
- const E = t.scene.globe.tileLoadProgressEvent.addEventListener(function() {
1212
+ const v = t.scene.globe.tileLoadProgressEvent.addEventListener(function() {
1213
1213
  t.scene.globe.tilesLoaded && p();
1214
1214
  });
1215
1215
  return t.camera.moveEnd.addEventListener(p), () => {
1216
1216
  try {
1217
- typeof Z(t, "_cesiumWidget") < "u" && (t.camera.moveEnd.removeEventListener(p), E());
1217
+ typeof Z(t, "_cesiumWidget") < "u" && (t.camera.moveEnd.removeEventListener(p), v());
1218
1218
  } catch (L) {
1219
1219
  console.log('CESIUM camera "moveEnd"(from zoom tracker) remove listener failed', L);
1220
1220
  }
@@ -1269,13 +1269,13 @@ const lo = Fe(
1269
1269
  ), co = (e) => {
1270
1270
  const n = se(), { baseMaps: t } = e, [i, o] = D(" "), [r, c] = D(), u = lo();
1271
1271
  I(() => {
1272
- const p = t == null ? void 0 : t.maps.find((E) => E.isCurrent);
1272
+ const p = t == null ? void 0 : t.maps.find((v) => v.isCurrent);
1273
1273
  p && (c(p), o(p.title !== void 0 ? p.title : " "));
1274
1274
  }, [t]);
1275
1275
  const m = (p) => {
1276
- var E, L;
1276
+ var v, L;
1277
1277
  if (t) {
1278
- (E = n.layersManager) == null || E.removeBaseMapLayers();
1278
+ (v = n.layersManager) == null || v.removeBaseMapLayers();
1279
1279
  const w = t.maps.find((P) => P.id === p);
1280
1280
  w && ((L = n.layersManager) == null || L.setBaseMapLayers(w), c(w), t.maps.forEach((P) => {
1281
1281
  P.isCurrent = w === P;
@@ -1306,13 +1306,13 @@ const lo = Fe(
1306
1306
  const it = "ic_settings_24px", uo = (e) => {
1307
1307
  const [n, t] = D(!1), { sceneModes: i, baseMaps: o, locale: r } = e, c = Se(null), u = Z(r, "MAP_SETTINGS_DIALOG_TITLE") ?? "Map Settings", m = Z(r, "MAP_SETTINGS_SCENE_MODE_TITLE") ?? "Scene Mode", p = Z(r, "MAP_SETTINGS_BASE_MAP_TITLE") ?? "Base Map";
1308
1308
  return I(() => {
1309
- const E = (L) => {
1309
+ const v = (L) => {
1310
1310
  var A;
1311
1311
  const w = L.target, P = Z(c, "current");
1312
- P && !P.contains(w) && w.id !== it && ((A = w.parentElement) == null ? void 0 : A.id) !== it && (document.removeEventListener("click", E, !1), t(!1));
1312
+ P && !P.contains(w) && w.id !== it && ((A = w.parentElement) == null ? void 0 : A.id) !== it && (document.removeEventListener("click", v, !1), t(!1));
1313
1313
  };
1314
- return document.addEventListener("click", E, !1), () => {
1315
- document.removeEventListener("click", E, !1);
1314
+ return document.addEventListener("click", v, !1), () => {
1315
+ document.removeEventListener("click", v, !1);
1316
1316
  };
1317
1317
  }), /* @__PURE__ */ N(oe, { children: [
1318
1318
  /* @__PURE__ */ l(
@@ -1447,8 +1447,8 @@ function ft(e, n, t, i, o) {
1447
1447
  const r = (u = this.layerListInstance.find(
1448
1448
  /* eslint-disable */
1449
1449
  (m) => {
1450
- var p, E;
1451
- return ((p = m._imageryProvider._resource) == null ? void 0 : p._url) === ((E = this._resource) == null ? void 0 : E._url);
1450
+ var p, v;
1451
+ return ((p = m._imageryProvider._resource) == null ? void 0 : p._url) === ((v = this._resource) == null ? void 0 : v._url);
1452
1452
  }
1453
1453
  /* eslint-enable */
1454
1454
  )) == null ? void 0 : u.meta, c = Z(r, je) === !0;
@@ -1457,7 +1457,7 @@ function ft(e, n, t, i, o) {
1457
1457
  (p = this.mapViewer.layersManager) == null || p.addMetaToLayer(
1458
1458
  { [je]: m },
1459
1459
  /* eslint-disable */
1460
- (E) => E._imageryProvider._resource._url === this._resource._url
1460
+ (v) => v._imageryProvider._resource._url === this._resource._url
1461
1461
  );
1462
1462
  });
1463
1463
  }, 0), e(n, t, i, o);
@@ -1637,8 +1637,8 @@ class wo {
1637
1637
  geometry: m
1638
1638
  }) && (i ? u.show : !0) : (console.warn("[LayerManager] [findLayerByPOI] CesiumImageryLayer has no defined footprint", u.meta), !1);
1639
1639
  }).sort((u, m) => {
1640
- var p, E;
1641
- return ((p = m.meta) == null ? void 0 : p.zIndex) - ((E = u.meta) == null ? void 0 : E.zIndex);
1640
+ var p, v;
1641
+ return ((p = m.meta) == null ? void 0 : p.zIndex) - ((v = u.meta) == null ? void 0 : v.zIndex);
1642
1642
  });
1643
1643
  } else
1644
1644
  return console.warn("[LayerManager] [findLayerByPOI]layerManagerFootprintMetaFieldPath is not defined"), [];
@@ -1673,8 +1673,8 @@ class wo {
1673
1673
  this.layers.forEach((u) => {
1674
1674
  var p;
1675
1675
  if (!Z(u.meta, "parentBasetMapId")) {
1676
- const E = (p = u.meta) == null ? void 0 : p.zIndex;
1677
- u.meta.zIndex = E >= r && E <= c && E !== t ? E + o : E === t ? i : E;
1676
+ const v = (p = u.meta) == null ? void 0 : p.zIndex;
1677
+ u.meta.zIndex = v >= r && v <= c && v !== t ? v + o : v === t ? i : v;
1678
1678
  }
1679
1679
  });
1680
1680
  }
@@ -1753,6 +1753,7 @@ class Oa extends qi {
1753
1753
  constructor(t, i) {
1754
1754
  super(t, i);
1755
1755
  X(this, "layersManager");
1756
+ X(this, "currentZoomLevel");
1756
1757
  X(this, "useOptimizedTileRequests");
1757
1758
  }
1758
1759
  get shouldOptimizedTileRequests() {
@@ -1769,7 +1770,7 @@ const vn = Me(null), Lo = vn.Provider, se = () => {
1769
1770
  return e;
1770
1771
  }, Aa = (e) => {
1771
1772
  var V, Q, ne, ye, ue, ae, ce, Re;
1772
- const n = Se(null), [t, i] = D(), [o, r] = D(), [c, u] = D(), [m, p] = D(), [E, L] = D(), [w, P] = D(), [A, H] = D(), [Y, G] = D(!1), [U, j] = D(), O = Se(), [z, k] = D(), [$, te] = D([]), [s, a] = D(), [v, d] = D(!1), y = Se(), [h, C] = D(void 0), [f, T] = D(!1), [_, S] = D(), [b, M] = D(), x = {
1773
+ const n = Se(null), [t, i] = D(), [o, r] = D(), [c, u] = D(), [m, p] = D(), [v, L] = D(), [w, P] = D(), [A, H] = D(), [Y, G] = D(!1), [U, j] = D(), O = Se(), [z, k] = D(), [$, te] = D([]), [s, a] = D(), [E, d] = D(!1), y = Se(), [h, C] = D(void 0), [f, T] = D(!1), [_, S] = D(), [b, M] = D(), x = {
1773
1774
  fullscreenButton: !0,
1774
1775
  timeline: !1,
1775
1776
  animation: !1,
@@ -1926,13 +1927,13 @@ const vn = Me(null), Lo = vn.Provider, se = () => {
1926
1927
  /* @__PURE__ */ N(de, { className: "toolsContainer", children: [
1927
1928
  c && /* @__PURE__ */ l(to, { projection: o }),
1928
1929
  m && /* @__PURE__ */ l(oo, { locale: U, valueBy: "RENDERED_TILES" }),
1929
- E && /* @__PURE__ */ l(io, { locale: U }),
1930
+ v && /* @__PURE__ */ l(io, { locale: U }),
1930
1931
  w && /* @__PURE__ */ l(To, { locale: U })
1931
1932
  ] }),
1932
1933
  b && /* @__PURE__ */ l(ho, {})
1933
1934
  ] }),
1934
1935
  document.querySelector(".cesium-viewer")
1935
- ), [s, U, t, o, z, c, E, f, Y]);
1936
+ ), [s, U, t, o, z, c, v, f, Y]);
1936
1937
  return /* @__PURE__ */ l(Si, { className: "viewer", full: !0, ref: n, ...x, children: /* @__PURE__ */ N(Lo, { value: t, children: [
1937
1938
  /* @__PURE__ */ l(
1938
1939
  yo,
@@ -1947,7 +1948,7 @@ const vn = Me(null), Lo = vn.Provider, se = () => {
1947
1948
  ),
1948
1949
  e.children,
1949
1950
  R(),
1950
- e.imageryContextMenu && v && h && _ && Ee.cloneElement(e.imageryContextMenu, {
1951
+ e.imageryContextMenu && E && h && _ && Ee.cloneElement(e.imageryContextMenu, {
1951
1952
  data: (ue = t == null ? void 0 : t.layersManager) == null ? void 0 : ue.findLayerByPOI(
1952
1953
  h.x,
1953
1954
  h.y,
@@ -1970,7 +1971,7 @@ const vn = Me(null), Lo = vn.Provider, se = () => {
1970
1971
  width: Bt
1971
1972
  },
1972
1973
  handleClose: () => {
1973
- d(!v);
1974
+ d(!E);
1974
1975
  },
1975
1976
  contextEvt: y.current
1976
1977
  })
@@ -2036,8 +2037,8 @@ const vn = Me(null), Lo = vn.Provider, se = () => {
2036
2037
  }, _o = (e) => /* @__PURE__ */ l(xi, { ...e }), Ga = (e) => /* @__PURE__ */ l(Qt, { ...e }), Mo = (e) => /* @__PURE__ */ l(Qt, { ...e }), Po = (e) => /* @__PURE__ */ l(Ii, { ...e }), xo = (e) => /* @__PURE__ */ l(Di, { ...e }), Io = (e) => /* @__PURE__ */ l(Oi, { ...e }), Do = (e) => /* @__PURE__ */ l(Ai, { ...e });
2037
2038
  var be = function() {
2038
2039
  var e = g.Ellipsoid.WGS84, n, t = g.Material.fromType(g.Material.ColorType);
2039
- function i(s, a = new g.Color(1, 1, 0, 0.5), v = new g.Color(1, 1, 1, 1)) {
2040
- this._scene = s.scene, t.uniforms.color = a, n = v, this._tooltip = {
2040
+ function i(s, a = new g.Color(1, 1, 0, 0.5), E = new g.Color(1, 1, 1, 1)) {
2041
+ this._scene = s.scene, t.uniforms.color = a, n = E, this._tooltip = {
2041
2042
  setVisible: () => {
2042
2043
  },
2043
2044
  showAt: () => {
@@ -2045,40 +2046,40 @@ var be = function() {
2045
2046
  }, this._surfaces = [], this.initialiseHandlers(), this.enhancePrimitives();
2046
2047
  }
2047
2048
  i.prototype.initialiseHandlers = function() {
2048
- var s = this._scene, a = this, v = new g.ScreenSpaceEventHandler(s.canvas);
2049
+ var s = this._scene, a = this, E = new g.ScreenSpaceEventHandler(s.canvas);
2049
2050
  function d(h, C) {
2050
2051
  if (a._handlersMuted != !0) {
2051
2052
  var f = s.pick(C);
2052
2053
  f && f.primitive && f.primitive[h] && f.primitive[h](C);
2053
2054
  }
2054
2055
  }
2055
- v.setInputAction(function(h) {
2056
+ E.setInputAction(function(h) {
2056
2057
  d("leftClick", h.position);
2057
- }, g.ScreenSpaceEventType.LEFT_CLICK), v.setInputAction(function(h) {
2058
+ }, g.ScreenSpaceEventType.LEFT_CLICK), E.setInputAction(function(h) {
2058
2059
  d("leftDoubleClick", h.position);
2059
2060
  }, g.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
2060
2061
  var y;
2061
- v.setInputAction(function(h) {
2062
+ E.setInputAction(function(h) {
2062
2063
  if (a._handlersMuted != !0) {
2063
2064
  var C = s.pick(h.endPosition);
2064
2065
  y && (!C || y != C.primitive) && (!(y.isDestroyed && y.isDestroyed()) && y.mouseOut(h.endPosition), y = null), C && C.primitive && (C = C.primitive, C.mouseOut && (y = C), C.mouseMove && C.mouseMove(h.endPosition));
2065
2066
  }
2066
- }, g.ScreenSpaceEventType.MOUSE_MOVE), v.setInputAction(function(h) {
2067
+ }, g.ScreenSpaceEventType.MOUSE_MOVE), E.setInputAction(function(h) {
2067
2068
  d("leftUp", h.position);
2068
- }, g.ScreenSpaceEventType.LEFT_UP), v.setInputAction(function(h) {
2069
+ }, g.ScreenSpaceEventType.LEFT_UP), E.setInputAction(function(h) {
2069
2070
  d("leftDown", h.position);
2070
2071
  }, g.ScreenSpaceEventType.LEFT_DOWN);
2071
- }, i.prototype.setListener = function(s, a, v) {
2072
- s[a] = v;
2072
+ }, i.prototype.setListener = function(s, a, E) {
2073
+ s[a] = E;
2073
2074
  }, i.prototype.muteHandlers = function(s) {
2074
2075
  this._handlersMuted = s;
2075
2076
  }, i.prototype.registerEditableShape = function(s) {
2076
2077
  var a = this;
2077
- $(s, "mouseMove", function(v) {
2078
- s.setHighlighted(!0), s._editMode || a._tooltip.showAt(v, "Click to edit this shape");
2079
- }), $(s, "mouseOut", function(v) {
2078
+ $(s, "mouseMove", function(E) {
2079
+ s.setHighlighted(!0), s._editMode || a._tooltip.showAt(E, "Click to edit this shape");
2080
+ }), $(s, "mouseOut", function(E) {
2080
2081
  s.setHighlighted(!1), a._tooltip.setVisible(!1);
2081
- }), $(s, "leftClick", function(v) {
2082
+ }), $(s, "leftClick", function(E) {
2082
2083
  s.setEditMode(!0);
2083
2084
  });
2084
2085
  }, i.prototype.startDrawing = function(s) {
@@ -2109,7 +2110,7 @@ var be = function() {
2109
2110
  granularity: Math.PI / 180
2110
2111
  }), c = k(o, {}), u = k(o, {}), m = k(o, {}), p = k(r, {
2111
2112
  rotation: 0
2112
- }), E = k(o, {
2113
+ }), v = k(o, {
2113
2114
  width: 5,
2114
2115
  geodesic: !0,
2115
2116
  granularity: 1e4,
@@ -2122,11 +2123,11 @@ var be = function() {
2122
2123
  }
2123
2124
  return s.prototype.initialiseOptions = function(a) {
2124
2125
  z(this, a), 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;
2125
- }, s.prototype.setAttribute = function(a, v) {
2126
- this[a] = v, this._createPrimitive = !0;
2126
+ }, s.prototype.setAttribute = function(a, E) {
2127
+ this[a] = E, this._createPrimitive = !0;
2127
2128
  }, s.prototype.getAttribute = function(a) {
2128
2129
  return this[a];
2129
- }, s.prototype.update = function(a, v, d) {
2130
+ }, s.prototype.update = function(a, E, d) {
2130
2131
  if (!g.defined(this.ellipsoid))
2131
2132
  throw new g.DeveloperError("this.ellipsoid must be defined.");
2132
2133
  if (!g.defined(this.appearance))
@@ -2167,14 +2168,14 @@ var be = function() {
2167
2168
  }));
2168
2169
  }
2169
2170
  var h = this._primitive;
2170
- h.appearance.material = this.material, h.debugShowBoundingVolume = this.debugShowBoundingVolume, h.update(a, v, d), this._outlinePolygon && this._outlinePolygon.update(a, v, d);
2171
+ h.appearance.material = this.material, h.debugShowBoundingVolume = this.debugShowBoundingVolume, h.update(a, E, d), this._outlinePolygon && this._outlinePolygon.update(a, E, d);
2171
2172
  }
2172
2173
  }, s.prototype.isDestroyed = function() {
2173
2174
  return !1;
2174
2175
  }, s.prototype.destroy = function() {
2175
2176
  return this._primitive = this._primitive && this._primitive.destroy(), g.destroyObject(this);
2176
- }, s.prototype.setStrokeStyle = function(a, v) {
2177
- (!this.strokeColor || !this.strokeColor.equals(a) || this.strokeWidth != v) && (this._createPrimitive = !0, this.strokeColor = a, this.strokeWidth = v);
2177
+ }, s.prototype.setStrokeStyle = function(a, E) {
2178
+ (!this.strokeColor || !this.strokeColor.equals(a) || this.strokeWidth != E) && (this._createPrimitive = !0, this.strokeColor = a, this.strokeWidth = E);
2178
2179
  }, s;
2179
2180
  }();
2180
2181
  i.ExtentPrimitive = function() {
@@ -2301,7 +2302,7 @@ var be = function() {
2301
2302
  }, s;
2302
2303
  }(), i.PolylinePrimitive = function() {
2303
2304
  function s(a) {
2304
- a = k(a, E), this.initialiseOptions(a);
2305
+ a = k(a, v), this.initialiseOptions(a);
2305
2306
  }
2306
2307
  return s.prototype = new L(), s.prototype.setPositions = function(a) {
2307
2308
  this.setAttribute("positions", a);
@@ -2339,15 +2340,15 @@ var be = function() {
2339
2340
  shiftX: 0,
2340
2341
  shiftY: 0
2341
2342
  };
2342
- i.prototype.createBillboardGroup = function(s, a, v) {
2343
+ i.prototype.createBillboardGroup = function(s, a, E) {
2343
2344
  var d = new i.BillboardGroup(this, a);
2344
- return d.addBillboards(s, v), d;
2345
+ return d.addBillboards(s, E), d;
2345
2346
  }, i.BillboardGroup = function(s, a) {
2346
2347
  this._drawHelper = s, this._scene = s._scene, this._options = k(a, w);
2347
- var v = new g.BillboardCollection();
2348
- this._scene.primitives.add(v), this._billboards = v, this._orderedBillboards = [];
2348
+ var E = new g.BillboardCollection();
2349
+ this._scene.primitives.add(E), this._billboards = E, this._orderedBillboards = [];
2349
2350
  }, i.BillboardGroup.prototype.createBillboard = function(s, a) {
2350
- var v = this._billboards.add({
2351
+ var E = this._billboards.add({
2351
2352
  show: !0,
2352
2353
  position: s,
2353
2354
  pixelOffset: new g.Cartesian2(this._options.shiftX, this._options.shiftY),
@@ -2362,17 +2363,17 @@ var be = function() {
2362
2363
  let h = function(f) {
2363
2364
  y.enableRotate = f;
2364
2365
  }, C = function() {
2365
- for (var f = 0, T = d._orderedBillboards.length; f < T && d._orderedBillboards[f] != v; ++f)
2366
+ for (var f = 0, T = d._orderedBillboards.length; f < T && d._orderedBillboards[f] != E; ++f)
2366
2367
  ;
2367
2368
  return f;
2368
2369
  };
2369
2370
  var d = this, y = this._scene.screenSpaceCameraController;
2370
2371
  if (a.dragHandlers) {
2371
2372
  var d = this;
2372
- $(v, "leftDown", function(T) {
2373
+ $(E, "leftDown", function(T) {
2373
2374
  function _(M) {
2374
- v.position = M;
2375
- for (var x = 0, W = d._orderedBillboards.length; x < W && d._orderedBillboards[x] != v; ++x)
2375
+ E.position = M;
2376
+ for (var x = 0, W = d._orderedBillboards.length; x < W && d._orderedBillboards[x] != E; ++x)
2376
2377
  ;
2377
2378
  a.dragHandlers.onDrag && a.dragHandlers.onDrag(C(), M);
2378
2379
  }
@@ -2388,24 +2389,24 @@ var be = function() {
2388
2389
  }, g.ScreenSpaceEventType.LEFT_UP), h(!1), a.dragHandlers.onDragStart && a.dragHandlers.onDragStart(C(), d._scene.camera.pickEllipsoid(T, e));
2389
2390
  });
2390
2391
  }
2391
- a.onDoubleClick && $(v, "leftDoubleClick", function(f) {
2392
+ a.onDoubleClick && $(E, "leftDoubleClick", function(f) {
2392
2393
  a.onDoubleClick(C());
2393
- }), a.onClick && $(v, "leftClick", function(f) {
2394
+ }), a.onClick && $(E, "leftClick", function(f) {
2394
2395
  a.onClick(C());
2395
- }), a.tooltip && ($(v, "mouseMove", function(f) {
2396
+ }), a.tooltip && ($(E, "mouseMove", function(f) {
2396
2397
  d._drawHelper._tooltip.showAt(f, a.tooltip());
2397
- }), $(v, "mouseOut", function(f) {
2398
+ }), $(E, "mouseOut", function(f) {
2398
2399
  d._drawHelper._tooltip.setVisible(!1);
2399
2400
  }));
2400
2401
  }
2401
- return v;
2402
- }, i.BillboardGroup.prototype.insertBillboard = function(s, a, v) {
2403
- this._orderedBillboards.splice(s, 0, this.createBillboard(a, v));
2402
+ return E;
2403
+ }, i.BillboardGroup.prototype.insertBillboard = function(s, a, E) {
2404
+ this._orderedBillboards.splice(s, 0, this.createBillboard(a, E));
2404
2405
  }, i.BillboardGroup.prototype.addBillboard = function(s, a) {
2405
2406
  this._orderedBillboards.push(this.createBillboard(s, a));
2406
2407
  }, i.BillboardGroup.prototype.addBillboards = function(s, a) {
2407
- for (var v = 0; v < s.length; v++)
2408
- this.addBillboard(s[v], a);
2408
+ for (var E = 0; E < s.length; E++)
2409
+ this.addBillboard(s[E], a);
2409
2410
  }, i.BillboardGroup.prototype.updateBillboardsPositions = function(s) {
2410
2411
  for (var a = 0; a < s.length; a++)
2411
2412
  this.getBillboard(a).position = s[a];
@@ -2424,13 +2425,13 @@ var be = function() {
2424
2425
  this.startDrawing(function() {
2425
2426
  h.remove(), C.destroy(), y.setVisible(!1);
2426
2427
  });
2427
- var v = this, d = this._scene;
2428
+ var E = this, d = this._scene;
2428
2429
  d.primitives;
2429
2430
  var y = this._tooltip, h = new i.BillboardGroup(this, a), C = new g.ScreenSpaceEventHandler(d.canvas);
2430
2431
  C.setInputAction(function(f) {
2431
2432
  if (f.position != null) {
2432
2433
  var T = d.camera.pickEllipsoid(f.position, e);
2433
- T && (h.addBillboard(T), v.stopDrawing(), a.callback(T));
2434
+ T && (h.addBillboard(T), E.stopDrawing(), a.callback(T));
2434
2435
  }
2435
2436
  }, g.ScreenSpaceEventType.LEFT_CLICK), C.setInputAction(function(f) {
2436
2437
  var T = f.endPosition;
@@ -2446,13 +2447,13 @@ var be = function() {
2446
2447
  var a = k(a, r);
2447
2448
  this.startDrawingPolyshape(!0, a);
2448
2449
  }, i.prototype.startDrawingPolyline = function(a) {
2449
- var a = k(a, E);
2450
+ var a = k(a, v);
2450
2451
  this.startDrawingPolyshape(!1, a);
2451
2452
  }, i.prototype.startDrawingPolyshape = function(s, a) {
2452
2453
  this.startDrawing(function() {
2453
2454
  y.remove(f), _.remove(), S.destroy(), h.setVisible(!1), G(d);
2454
2455
  });
2455
- var v = this, d = this._scene, y = d.primitives, h = this._tooltip, C = s ? 3 : 2, f;
2456
+ var E = this, d = this._scene, y = d.primitives, h = this._tooltip, C = s ? 3 : 2, f;
2456
2457
  s ? f = new be.PolygonPrimitive(a) : f = new be.PolylinePrimitive(a), f.asynchronous = !1, y.add(f);
2457
2458
  var T = [], _ = new i.BillboardGroup(this, w), S = new g.ScreenSpaceEventHandler(d.canvas);
2458
2459
  Y(d), S.setInputAction(function(b) {
@@ -2478,7 +2479,7 @@ var be = function() {
2478
2479
  if (T.length < C + 2)
2479
2480
  return;
2480
2481
  var x = d.camera.pickEllipsoid(M, e);
2481
- x && (G(d), v.stopDrawing(), typeof a.callback == "function" && (T.length - 1, a.callback(T)));
2482
+ x && (G(d), E.stopDrawing(), typeof a.callback == "function" && (T.length - 1, a.callback(T)));
2482
2483
  }
2483
2484
  }, g.ScreenSpaceEventType.LEFT_DOUBLE_CLICK);
2484
2485
  };
@@ -2501,7 +2502,7 @@ var be = function() {
2501
2502
  this.startDrawing(function() {
2502
2503
  f != null && y.remove(f), T != null && T.remove(), _.destroy(), h.setVisible(!1), G(d);
2503
2504
  });
2504
- var v = this, d = this._scene, y = this._scene.primitives, h = this._tooltip, C = null, f = null, T = null, _ = new g.ScreenSpaceEventHandler(d.canvas);
2505
+ var E = this, d = this._scene, y = this._scene.primitives, h = this._tooltip, C = null, f = null, T = null, _ = new g.ScreenSpaceEventHandler(d.canvas);
2505
2506
  Y(d);
2506
2507
  function S(b) {
2507
2508
  f == null && (f = new be.ExtentPrimitive({
@@ -2509,7 +2510,7 @@ var be = function() {
2509
2510
  material: a.material
2510
2511
  }), f.asynchronous = !1, y.add(f)), f.setExtent(b);
2511
2512
  var M = H(b);
2512
- T == null ? (T = new i.BillboardGroup(v, w), T.addBillboards(M)) : T.updateBillboardsPositions(M);
2513
+ T == null ? (T = new i.BillboardGroup(E, w), T.addBillboards(M)) : T.updateBillboardsPositions(M);
2513
2514
  }
2514
2515
  _.setInputAction(function(b) {
2515
2516
  if (b.position != null) {
@@ -2520,7 +2521,7 @@ var be = function() {
2520
2521
  var x = U(C, C);
2521
2522
  S(x);
2522
2523
  } else
2523
- v.stopDrawing(), typeof a.callback == "function" && a.callback(U(C, e.cartesianToCartographic(M)));
2524
+ E.stopDrawing(), typeof a.callback == "function" && a.callback(U(C, e.cartesianToCartographic(M)));
2524
2525
  }
2525
2526
  }, g.ScreenSpaceEventType.LEFT_DOWN), _.setInputAction(function(b) {
2526
2527
  var M = b.endPosition;
@@ -2540,7 +2541,7 @@ var be = function() {
2540
2541
  this.startDrawing(function() {
2541
2542
  C != null && y.remove(C), f.remove(), T.destroy(), h.setVisible(!1);
2542
2543
  });
2543
- var v = this, d = this._scene, y = this._scene.primitives, h = this._tooltip, C = null, f = null, T = new g.ScreenSpaceEventHandler(d.canvas);
2544
+ var E = this, d = this._scene, y = this._scene.primitives, h = this._tooltip, C = null, f = null, T = new g.ScreenSpaceEventHandler(d.canvas);
2544
2545
  T.setInputAction(function(_) {
2545
2546
  if (_.position != null) {
2546
2547
  var S = d.camera.pickEllipsoid(_.position, e);
@@ -2549,7 +2550,7 @@ var be = function() {
2549
2550
  radius: 0,
2550
2551
  asynchronous: !1,
2551
2552
  material: a.material
2552
- }), y.add(C), f = new i.BillboardGroup(v, w), f.addBillboards([S])) : (typeof a.callback == "function" && a.callback(C.getCenter(), C.getRadius()), v.stopDrawing()));
2553
+ }), y.add(C), f = new i.BillboardGroup(E, w), f.addBillboards([S])) : (typeof a.callback == "function" && a.callback(C.getCenter(), C.getRadius()), E.stopDrawing()));
2553
2554
  }
2554
2555
  }, g.ScreenSpaceEventType.LEFT_DOWN), T.setInputAction(function(_) {
2555
2556
  var S = _.endPosition;
@@ -2590,7 +2591,7 @@ var be = function() {
2590
2591
  function a(d) {
2591
2592
  s._scene, !(this._highlighted && this._highlighted == d) && this._editMode !== !0 && (this._highlighted = d, d ? (s.setHighlighted(this), this._strokeColor = this.strokeColor, this.setStrokeStyle(g.Color.fromCssColorString("white"), this.strokeWidth)) : this._strokeColor ? this.setStrokeStyle(this._strokeColor, this.strokeWidth) : this.setStrokeStyle(void 0, void 0));
2592
2593
  }
2593
- function v(d) {
2594
+ function E(d) {
2594
2595
  if (this._editMode != d)
2595
2596
  if (s.disableAllHighlights(), d) {
2596
2597
  s.setEdited(this);
@@ -2661,7 +2662,7 @@ var be = function() {
2661
2662
  be.PolylinePrimitive.prototype.setEditable = function() {
2662
2663
  if (!this.setEditMode) {
2663
2664
  var d = this;
2664
- d.isPolygon = !1, d.asynchronous = !1, s.registerEditableShape(d), d.setEditMode = v;
2665
+ d.isPolygon = !1, d.asynchronous = !1, s.registerEditableShape(d), d.setEditMode = E;
2665
2666
  var y = this.width;
2666
2667
  d.setHighlighted = function(h) {
2667
2668
  this._editMode !== !0 && (h ? (s.setHighlighted(this), this.setWidth(y * 2)) : this.setWidth(y));
@@ -2671,7 +2672,7 @@ var be = function() {
2671
2672
  }
2672
2673
  }, be.PolygonPrimitive.prototype.setEditable = function() {
2673
2674
  var d = this;
2674
- d.asynchronous = !1, s._scene, s.registerEditableShape(d), d.setEditMode = v, d.setHighlighted = a, te(d), d.setEditMode(!1);
2675
+ d.asynchronous = !1, s._scene, s.registerEditableShape(d), d.setEditMode = E, d.setHighlighted = a, te(d), d.setEditMode(!1);
2675
2676
  }, be.ExtentPrimitive.prototype.setEditable = function() {
2676
2677
  if (!this.setEditMode) {
2677
2678
  var d = this, y = s._scene;
@@ -2814,8 +2815,8 @@ var be = function() {
2814
2815
  }
2815
2816
  };
2816
2817
  }, i.DrawHelperWidget = function() {
2817
- function s(a, v) {
2818
- if (!g.defined(v.container))
2818
+ function s(a, E) {
2819
+ if (!g.defined(E.container))
2819
2820
  throw new g.DeveloperError("Container is required");
2820
2821
  var d = {
2821
2822
  markerIcon: "./assets/img/glyphicons_242_google_maps.png",
@@ -2824,14 +2825,14 @@ var be = function() {
2824
2825
  circleIcon: "./assets/img/glyphicons_095_vector_path_circle.png",
2825
2826
  extentIcon: "./assets/img/glyphicons_094_vector_path_square.png",
2826
2827
  clearIcon: "./assets/img/glyphicons_067_cleaning.png",
2827
- polylineDrawingOptions: E,
2828
+ polylineDrawingOptions: v,
2828
2829
  polygonDrawingOptions: c,
2829
2830
  extentDrawingOptions: u,
2830
2831
  circleDrawingOptions: m
2831
2832
  };
2832
- z(v, d);
2833
+ z(E, d);
2833
2834
  var y = this, h = document.createElement("DIV");
2834
- h.className = "toolbar", v.container.appendChild(h);
2835
+ h.className = "toolbar", E.container.appendChild(h);
2835
2836
  function C(_, S, b, M) {
2836
2837
  var x = document.createElement("DIV");
2837
2838
  x.className = "button", x.title = b, h.appendChild(x), x.onclick = M;
@@ -2841,7 +2842,7 @@ var be = function() {
2841
2842
  return q.src = S, W.appendChild(q), x;
2842
2843
  }
2843
2844
  var f = a._scene;
2844
- C("marker", v.markerIcon, "Click to start drawing a 2D marker", function() {
2845
+ C("marker", E.markerIcon, "Click to start drawing a 2D marker", function() {
2845
2846
  a.startDrawingMarker({
2846
2847
  callback: function(_) {
2847
2848
  y.executeListeners({
@@ -2850,7 +2851,7 @@ var be = function() {
2850
2851
  });
2851
2852
  }
2852
2853
  });
2853
- }), C("polyline", v.polylineIcon, "Click to start drawing a 2D polyline", function() {
2854
+ }), C("polyline", E.polylineIcon, "Click to start drawing a 2D polyline", function() {
2854
2855
  a.startDrawingPolyline({
2855
2856
  callback: function(_) {
2856
2857
  y.executeListeners({
@@ -2859,7 +2860,7 @@ var be = function() {
2859
2860
  });
2860
2861
  }
2861
2862
  });
2862
- }), C("polygon", v.polygonIcon, "Click to start drawing a 2D polygon", function() {
2863
+ }), C("polygon", E.polygonIcon, "Click to start drawing a 2D polygon", function() {
2863
2864
  a.startDrawingPolygon({
2864
2865
  callback: function(_) {
2865
2866
  y.executeListeners({
@@ -2868,13 +2869,13 @@ var be = function() {
2868
2869
  });
2869
2870
  }
2870
2871
  });
2871
- }), C("extent", v.extentIcon, "Click to start drawing an Extent", function() {
2872
+ }), C("extent", E.extentIcon, "Click to start drawing an Extent", function() {
2872
2873
  a.startDrawingExtent({
2873
2874
  callback: function(_) {
2874
2875
  y.executeListeners({ name: "extentCreated", extent: _ });
2875
2876
  }
2876
2877
  });
2877
- }), C("circle", v.circleIcon, "Click to start drawing a Circle", function() {
2878
+ }), C("circle", E.circleIcon, "Click to start drawing a Circle", function() {
2878
2879
  a.startDrawingCircle({
2879
2880
  callback: function(_, S) {
2880
2881
  y.executeListeners({
@@ -2886,7 +2887,7 @@ var be = function() {
2886
2887
  });
2887
2888
  });
2888
2889
  var T = document.createElement("DIV");
2889
- T.className = "divider", h.appendChild(T), C("clear", v.clearIcon, "Remove all primitives", function() {
2890
+ T.className = "divider", h.appendChild(T), C("clear", E.clearIcon, "Remove all primitives", function() {
2890
2891
  f.primitives.removeAll();
2891
2892
  }), te(this);
2892
2893
  }
@@ -2895,10 +2896,10 @@ var be = function() {
2895
2896
  return a = k(a, { container: s }), new i.DrawHelperWidget(this, a);
2896
2897
  };
2897
2898
  function U(s, a) {
2898
- var v = new g.Rectangle();
2899
- v.west = Math.min(s.longitude, a.longitude), v.east = Math.max(s.longitude, a.longitude), v.south = Math.min(s.latitude, a.latitude), v.north = Math.max(s.latitude, a.latitude);
2899
+ var E = new g.Rectangle();
2900
+ E.west = Math.min(s.longitude, a.longitude), E.east = Math.max(s.longitude, a.longitude), E.south = Math.min(s.latitude, a.latitude), E.north = Math.max(s.latitude, a.latitude);
2900
2901
  var d = g.Math.EPSILON7;
2901
- return v.east - v.west < d && (v.east += d * 2), v.north - v.south < d && (v.north += d * 2), v;
2902
+ return E.east - E.west < d && (E.east += d * 2), E.north - E.south < d && (E.north += d * 2), E;
2902
2903
  }
2903
2904
  function j(s, a) {
2904
2905
  return s.longitude.toFixed(a || 3) + ", " + s.latitude.toFixed(a || 3);
@@ -2909,34 +2910,34 @@ var be = function() {
2909
2910
  if (s.constructor == Date || s.constructor == RegExp || s.constructor == Function || s.constructor == String || s.constructor == Number || s.constructor == Boolean)
2910
2911
  return new s.constructor(s);
2911
2912
  a = a || new s.constructor();
2912
- for (var v in s)
2913
- a[v] = typeof a[v] > "u" ? O(s[v], null) : a[v];
2913
+ for (var E in s)
2914
+ a[E] = typeof a[E] > "u" ? O(s[E], null) : a[E];
2914
2915
  return a;
2915
2916
  }
2916
2917
  function z(s, a) {
2917
2918
  s = s || {};
2918
- var v;
2919
- for (v in a)
2920
- s[v] === void 0 && (s[v] = O(a[v]));
2919
+ var E;
2920
+ for (E in a)
2921
+ s[E] === void 0 && (s[E] = O(a[E]));
2921
2922
  }
2922
2923
  function k(s, a) {
2923
- var v = O(s), d;
2924
+ var E = O(s), d;
2924
2925
  for (d in a)
2925
- v[d] === void 0 && (v[d] = O(a[d]));
2926
- return v;
2926
+ E[d] === void 0 && (E[d] = O(a[d]));
2927
+ return E;
2927
2928
  }
2928
- function $(s, a, v) {
2929
- s[a] = v;
2929
+ function $(s, a, E) {
2930
+ s[a] = E;
2930
2931
  }
2931
2932
  function te(s) {
2932
- s._listeners = {}, s.addListener = function(a, v) {
2933
- return this._listeners[a] = this._listeners[a] || [], this._listeners[a].push(v), this._listeners[a].length;
2934
- }, s.executeListeners = function(a, v) {
2933
+ s._listeners = {}, s.addListener = function(a, E) {
2934
+ return this._listeners[a] = this._listeners[a] || [], this._listeners[a].push(E), this._listeners[a].length;
2935
+ }, s.executeListeners = function(a, E) {
2935
2936
  if (this._listeners[a.name] && this._listeners[a.name].length > 0)
2936
2937
  for (var d = 0; d < this._listeners[a.name].length; d++)
2937
2938
  this._listeners[a.name][d](a);
2938
2939
  else
2939
- v && v(a);
2940
+ E && E(a);
2940
2941
  };
2941
2942
  }
2942
2943
  return i;
@@ -3037,7 +3038,7 @@ const za = (e) => {
3037
3038
  L.stopDrawing(), u.scene.globe.depthTestAgainstTerrain = !0;
3038
3039
  }
3039
3040
  }, [n, m]);
3040
- const E = (L) => {
3041
+ const v = (L) => {
3041
3042
  try {
3042
3043
  let w = L.coordinates !== void 0 ? L.coordinates : Ao(L.type, L.geojson);
3043
3044
  if (r !== !0)
@@ -3074,7 +3075,7 @@ const za = (e) => {
3074
3075
  ] }),
3075
3076
  /* @__PURE__ */ l("p", { children: "This is description of drawed entity" })
3076
3077
  ] }),
3077
- E(L)
3078
+ v(L)
3078
3079
  ] }, L.id)) });
3079
3080
  }, $a = (e) => {
3080
3081
  const n = se();
@@ -3085,10 +3086,10 @@ const za = (e) => {
3085
3086
  const n = se(), t = (r, c = ",") => r.slice(r.indexOf(`
3086
3087
  `) + 1).split(`
3087
3088
  `).map((p) => {
3088
- const E = p.split(c);
3089
+ const v = p.split(c);
3089
3090
  return {
3090
- cartographic: He.fromDegrees(parseFloat(E[0]), parseFloat(E[1])),
3091
- cartesian: new Ce(parseFloat(E[0]), parseFloat(E[1]))
3091
+ cartographic: He.fromDegrees(parseFloat(v[0]), parseFloat(v[1])),
3092
+ cartesian: new Ce(parseFloat(v[0]), parseFloat(v[1]))
3092
3093
  };
3093
3094
  }), i = (r) => {
3094
3095
  var u;
@@ -3096,11 +3097,11 @@ const za = (e) => {
3096
3097
  const c = new FileReader();
3097
3098
  c.onload = (m) => {
3098
3099
  var w;
3099
- const p = (w = m.target) == null ? void 0 : w.result, E = t(p), L = en.WGS84;
3100
+ const p = (w = m.target) == null ? void 0 : w.result, v = t(p), L = en.WGS84;
3100
3101
  console.log(`Loaded CSV content:
3101
3102
  `, p), Qi(
3102
3103
  n.terrainProvider,
3103
- E.map((P) => P.cartographic)
3104
+ v.map((P) => P.cartographic)
3104
3105
  ).then(
3105
3106
  (P) => {
3106
3107
  console.log(P), P = P.slice(0, P.length - 1), n.scene.globe.depthTestAgainstTerrain = !0, n.entities.suspendEvents(), n.entities.removeAll(), P.forEach((A, H) => {
@@ -3123,12 +3124,12 @@ const za = (e) => {
3123
3124
  pixelOffset: new Ce(0, Bo)
3124
3125
  },
3125
3126
  description: `
3126
- Long: ${E[H].cartesian.x} </br>
3127
- Lat: ${E[H].cartesian.y} </br>
3127
+ Long: ${v[H].cartesian.x} </br>
3128
+ Lat: ${v[H].cartesian.y} </br>
3128
3129
  Height(m): <span style="font-weight: 500">${A.height}</span>
3129
3130
  `
3130
3131
  });
3131
- }), n.entities.resumeEvents(), r.target.files !== null && (o(`terranian_heights_${r.target.files[0].name}`, E), r.target.value = ""), console.log("Pinned point count is ", n.entities.values.length);
3132
+ }), n.entities.resumeEvents(), r.target.files !== null && (o(`terranian_heights_${r.target.files[0].name}`, v), r.target.value = ""), console.log("Pinned point count is ", n.entities.values.length);
3132
3133
  },
3133
3134
  (P) => {
3134
3135
  console.error("ERROR while sampleTerrainMostDetailed:", P);
@@ -3146,8 +3147,8 @@ const za = (e) => {
3146
3147
  c.forEach((w) => {
3147
3148
  m += u(w);
3148
3149
  });
3149
- const p = new Blob([m], { type: "text/csv;charset=utf-8;" }), E = document.createElement("a"), L = URL.createObjectURL(p);
3150
- E.setAttribute("href", L), E.setAttribute("download", r), E.style.visibility = "hidden", document.body.appendChild(E), E.click(), document.body.removeChild(E);
3150
+ const p = new Blob([m], { type: "text/csv;charset=utf-8;" }), v = document.createElement("a"), L = URL.createObjectURL(p);
3151
+ v.setAttribute("href", L), v.setAttribute("download", r), v.style.visibility = "hidden", document.body.appendChild(v), v.click(), document.body.removeChild(v);
3151
3152
  };
3152
3153
  return /* @__PURE__ */ l(oe, { children: /* @__PURE__ */ l(
3153
3154
  "input",
@@ -3205,7 +3206,7 @@ const Fo = 38, Ho = 40, Go = 13, Vo = 14, zo = 27, $o = 9, Wo = 10, Uo = 100, jo
3205
3206
  let ae = -1;
3206
3207
  if (Q > 0) {
3207
3208
  const ce = V ? ne : ne - Q + 1;
3208
- if (ce < 0 || (E(R, y, ce) && (ae = ce + Q), !ue && ae < 0))
3209
+ if (ce < 0 || (v(R, y, ce) && (ae = ce + Q), !ue && ae < 0))
3209
3210
  break;
3210
3211
  } else {
3211
3212
  if (ue && ne > 0)
@@ -3236,7 +3237,7 @@ const Fo = 38, Ho = 40, Go = 13, Vo = 14, zo = 27, $o = 9, Wo = 10, Uo = 100, jo
3236
3237
  triggerStr: f,
3237
3238
  triggerMatch: f.match(h),
3238
3239
  triggerLength: f.length
3239
- })), E = (y, h, C) => !y || !y.length || h.substr(C, y.length) === y, L = (y) => {
3240
+ })), v = (y, h, C) => !y || !y.length || h.substr(C, y.length) === y, L = (y) => {
3240
3241
  const { onChange: h, options: C, spaceRemovers: f, spacer: T, value: _ } = e, S = n, b = y.target.value, M = or(w(y.target)).end;
3241
3242
  if (b.length || G({
3242
3243
  ...r,
@@ -3394,7 +3395,7 @@ const Fo = 38, Ho = 40, Go = 13, Vo = 14, zo = 27, $o = 9, Wo = 10, Uo = 100, jo
3394
3395
  );
3395
3396
  }), ye = V === "ltr" ? { left: h + q } : { right: C + q };
3396
3397
  return /* @__PURE__ */ l("ul", { className: "react-autocomplete-input", style: { ...ye, top: b + R, width: x }, children: ne });
3397
- }, { Component: z, ComponentProps: k, defaultValue: $, disabled: te, onBlur: s, value: a, ...v } = e, d = Object.assign({}, v);
3398
+ }, { Component: z, ComponentProps: k, defaultValue: $, disabled: te, onBlur: s, value: a, ...E } = e, d = Object.assign({}, E);
3398
3399
  return Object.keys(e).forEach((y) => {
3399
3400
  delete d[y];
3400
3401
  }), /* @__PURE__ */ N(oe, { children: [
@@ -3576,7 +3577,7 @@ const qa = Ee.memo(
3576
3577
  onFileAction: u,
3577
3578
  ...m
3578
3579
  }, p) => {
3579
- const E = pe(
3580
+ const v = pe(
3580
3581
  ($) => null,
3581
3582
  // file.thumbnailUrl ? `https://chonky.io${file.thumbnailUrl}` : null,
3582
3583
  []
@@ -3613,7 +3614,7 @@ const qa = Ee.memo(
3613
3614
  onFileAction: ($) => {
3614
3615
  typeof u == "function" && u($);
3615
3616
  },
3616
- thumbnailGenerator: E,
3617
+ thumbnailGenerator: v,
3617
3618
  defaultFileViewActionId: H,
3618
3619
  disableDragAndDrop: G,
3619
3620
  fileActions: j,