@vcmap/ui 5.1.0-rc.4 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/buildHelpers.js +1 -1
- package/build/getPluginProxies.js +16 -2
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.2274d8.js → core.8ecfba.js} +3592 -3536
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-c87f843d.js +1 -0
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.21bb56.js → ui.186a84.js} +795 -771
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.145dc5.js → vuetify.10881a.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +1 -1
- package/index.d.ts +2 -2
- package/index.js +4 -1
- package/package.json +2 -2
- package/plugins/package.json +2 -2
- package/src/components/flight/VcsFlightComponent.vue +1 -0
- package/src/components/viewpoint/VcsViewpointComponent.vue +2 -3
- package/src/manager/collectionManager/categoryManager.d.ts +17 -0
- package/src/manager/collectionManager/categoryManager.js +41 -3
- package/src/manager/collectionManager/collectionComponentClass.d.ts +7 -0
- package/src/manager/collectionManager/collectionComponentClass.js +25 -0
- package/src/pluginHelper.js +4 -2
- package/dist/assets/index-564248ae.js +0 -1
- /package/dist/assets/{cesium.1bcede.js → cesium.c1accb.js} +0 -0
- /package/dist/assets/{ol.d39205.js → ol.b751cb.js} +0 -0
- /package/dist/assets/{ui.21bb56.css → ui.186a84.css} +0 -0
- /package/dist/assets/{vue.403631.js → vue.3f80ec.js} +0 -0
- /package/dist/assets/{vuetify.145dc5.css → vuetify.10881a.css} +0 -0
@@ -13,24 +13,24 @@ function loadCss(href) {
|
|
13
13
|
elem.onerror = reject;
|
14
14
|
document.head.appendChild(elem);
|
15
15
|
});
|
16
|
-
} await loadCss('./assets/ui.
|
16
|
+
} await loadCss('./assets/ui.186a84.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var p1 = Object.defineProperty;
|
17
17
|
var m1 = (s, e, t) => e in s ? p1(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
18
18
|
var oe = (s, e, t) => (m1(s, typeof e != "symbol" ? e + "" : e, t), t), _1 = (s, e, t) => {
|
19
19
|
if (!e.has(s))
|
20
20
|
throw TypeError("Cannot " + t);
|
21
21
|
};
|
22
|
-
var
|
22
|
+
var Ur = (s, e, t) => {
|
23
23
|
if (e.has(s))
|
24
24
|
throw TypeError("Cannot add the same private member more than once");
|
25
25
|
e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
26
26
|
};
|
27
|
-
var
|
28
|
-
import
|
29
|
-
import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as
|
30
|
-
import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as
|
31
|
-
import { Feature as
|
32
|
-
import { Color as wc, Math as
|
33
|
-
|
27
|
+
var Rs = (s, e, t) => (_1(s, e, "access private method"), t);
|
28
|
+
import Fn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as Nn, shallowRef as Ui, provide as ys, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.3f80ec.js";
|
29
|
+
import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ws, Extent as bs, mercatorProjection as Pe, LayerState as A1, startCreateFeatureSession as M1, GeometryType as Ze, VectorLayer as Kt, maxZIndex as Yi, markVolatile as Qi, startEditFeaturesSession as x1, startEditGeometrySession as L1, ClassRegistry as Ji, FeatureLayer as I1, AbstractInteraction as vr, EventType as lt, ModificationKeyType as qi, OpenlayersMap as gr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as fs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Wr, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as as, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, defaultDynamicModuleId as Ln, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as bi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Yr, volatileModuleId as Qr, destroyCollection as js, VcsModule as Ai, createFlightVisualization as uo, anchorFromViewpoint as tc, anchorToViewpoint as nc, getSplineAndTimesForInstance as z1, FlightInstance as ho, getTextFromOptions as B1, getImageStyleFromOptions as G1, highlighted as sc, originalStyle as Xi, getStyleOptions as Z1, vectorStyleSymbol as H1, parseColor as fo, getImageStyleOptions as U1, getTextOptions as W1, SessionType as po, VectorProperties as Y1 } from "./core.8ecfba.js";
|
30
|
+
import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as yr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Pn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as wr, VContainer as me, VRow as Re, VCol as Ye, VToolbarItems as br, VSlider as oc, VSelect as K1, VRadioGroup as lc, VRadio as cc, VListItemAction as e0, VExpansionPanel as uc, VExpansionPanelHeader as dc, VExpansionPanelContent as hc, VExpansionPanels as fc, VLayout as t0, VFlex as n0, VImg as s0, VListItemSubtitle as ea, VSnackbar as r0, VFooter as i0, VApp as a0, VTreeview as o0, VDataTable as l0, VListItemAvatar as pc, VAlert as c0, VCheckbox as u0, VTextarea as d0, VStepper as h0, VStepperStep as f0, VStepperContent as p0, VDatePicker as m0, VColorPicker as mc, VTabs as _0, VTab as v0, VForm as g0 } from "./vuetify.10881a.js";
|
31
|
+
import { Feature as As, ol$proj$transformExtent as _c, ol$Observable$unByKey as $n, ol$geom$Polygon$fromExtent as y0, ol$geom$Polygon as w0, ol$extent$createOrUpdateFromCoordinates as b0, ol$style$Icon as ta, ol$geom$Point as vc, ol$Feature as A0, ol$source$Vector as Jr, ol$math$clamp as M0, ol$extent$getCenter as x0, ol$render$toContext as L0, ol$style$Stroke as gc, ol$style$Fill as yc, ol$style$RegularShape as I0, ol$style$Circle as C0, ol$style$Style as E0 } from "./ol.b751cb.js";
|
32
|
+
import { Color as wc, Math as Cn, Cartographic as ps, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as qr } from "./cesium.c1accb.js";
|
33
|
+
Fn.config.productionTip = !1;
|
34
34
|
window.CESIUM_BASE_URL = "./assets/cesium/";
|
35
35
|
function m(s, e, t, n, r, i, a, o) {
|
36
36
|
var l = typeof s == "function" ? s.options : s;
|
@@ -67,7 +67,7 @@ const N0 = {
|
|
67
67
|
VSheet: ue,
|
68
68
|
VList: pt,
|
69
69
|
VListItem: mt,
|
70
|
-
VListItemIcon:
|
70
|
+
VListItemIcon: yr,
|
71
71
|
VListItemTitle: kt,
|
72
72
|
VChip: ic,
|
73
73
|
VListItemContent: Nt
|
@@ -169,7 +169,7 @@ function Gt(s, e, t) {
|
|
169
169
|
}
|
170
170
|
return F0(n);
|
171
171
|
}
|
172
|
-
const
|
172
|
+
const ss = [
|
173
173
|
[String, "string"],
|
174
174
|
[Number, "number"],
|
175
175
|
[Boolean, "boolean"],
|
@@ -177,7 +177,7 @@ const ns = [
|
|
177
177
|
[void 0, "undefined"],
|
178
178
|
[Symbol, "symbol"]
|
179
179
|
];
|
180
|
-
function
|
180
|
+
function Ks(s) {
|
181
181
|
const e = {};
|
182
182
|
if (!s || e.toString(s) !== "[object Object]")
|
183
183
|
return !1;
|
@@ -216,7 +216,7 @@ function B0(s, e, t) {
|
|
216
216
|
let n = !1;
|
217
217
|
return s.findIndex((i) => {
|
218
218
|
try {
|
219
|
-
|
219
|
+
M(i, e[0], t);
|
220
220
|
} catch (a) {
|
221
221
|
n = a.message.replace(/Match failed:\s/, "");
|
222
222
|
}
|
@@ -227,18 +227,18 @@ function B0(s, e, t) {
|
|
227
227
|
}
|
228
228
|
return null;
|
229
229
|
}
|
230
|
-
function
|
230
|
+
function Mi(s, e, t) {
|
231
231
|
const n = t ? `${t}.` : "";
|
232
|
-
if (!
|
232
|
+
if (!Ks(s))
|
233
233
|
return `Expected ${Xe(s)} to be a plain Object`;
|
234
234
|
let i = !1;
|
235
235
|
const a = Object.keys(e).find((o) => {
|
236
236
|
const l = s[o];
|
237
|
-
if (
|
238
|
-
i =
|
237
|
+
if (Ks(e[o]))
|
238
|
+
i = Mi(l, e[o], n + o);
|
239
239
|
else
|
240
240
|
try {
|
241
|
-
|
241
|
+
M(l, e[o]);
|
242
242
|
} catch (c) {
|
243
243
|
i = c.message.replace(/Match failed:\s/, "");
|
244
244
|
}
|
@@ -249,15 +249,15 @@ function Ai(s, e, t) {
|
|
249
249
|
function G0(s, e) {
|
250
250
|
if (e === Number)
|
251
251
|
return Number.isFinite(s) ? !1 : `expected ${Xe(s)} to be a number, excluding NaN`;
|
252
|
-
for (let t =
|
253
|
-
if (e ===
|
254
|
-
return typeof s ===
|
252
|
+
for (let t = ss.length; t--; )
|
253
|
+
if (e === ss[t][0])
|
254
|
+
return typeof s === ss[t][1] ? !1 : `expected ${Xe(s)} to be a ${ss[t][1]}`;
|
255
255
|
return null;
|
256
256
|
}
|
257
|
-
function
|
257
|
+
function xi(s) {
|
258
258
|
if (s === null)
|
259
259
|
return "null";
|
260
|
-
const e =
|
260
|
+
const e = ss.find((r) => r[0] === s);
|
261
261
|
if (e)
|
262
262
|
return e[1];
|
263
263
|
let t = s.toString();
|
@@ -266,10 +266,10 @@ function Mi(s) {
|
|
266
266
|
const n = t.match(/function (.*)\(/);
|
267
267
|
if (n && n.length > 1)
|
268
268
|
return n[1];
|
269
|
-
if (
|
269
|
+
if (Ks(s)) {
|
270
270
|
const r = {};
|
271
271
|
Object.keys(s).forEach((i) => {
|
272
|
-
r[i] =
|
272
|
+
r[i] = xi(s[i]);
|
273
273
|
});
|
274
274
|
try {
|
275
275
|
t = `Object of ${JSON.stringify(r)}`;
|
@@ -283,7 +283,7 @@ function Mc(s, e, t) {
|
|
283
283
|
const n = t ? `${t}.` : "";
|
284
284
|
let r = !1;
|
285
285
|
return Object.keys(s).find((a) => {
|
286
|
-
if (
|
286
|
+
if (Ks(e[a])) {
|
287
287
|
const o = s[a];
|
288
288
|
r = Mc(o, e[a], n + a);
|
289
289
|
} else
|
@@ -304,21 +304,21 @@ function xc(s, e, t) {
|
|
304
304
|
if (Array.isArray(o))
|
305
305
|
return B0(a, o, t);
|
306
306
|
if (o instanceof Function)
|
307
|
-
return a instanceof o ? !1 : `Expected ${Xe(a, !0)} to be of Type ${
|
307
|
+
return a instanceof o ? !1 : `Expected ${Xe(a, !0)} to be of Type ${xi(o)}`;
|
308
308
|
if (o === Object)
|
309
|
-
return
|
309
|
+
return Mi(a, {});
|
310
310
|
if (typeof o != "object")
|
311
311
|
throw new Error(`Cannot handler pattern ${o}`);
|
312
|
-
const u =
|
312
|
+
const u = Mi(a, o);
|
313
313
|
return u || (t ? Mc(a, o) : !1);
|
314
314
|
};
|
315
315
|
let r;
|
316
|
-
return Array.isArray(e) && e.length > 1 ? e.every((a) => n(s, a)) && (r = `Expected ${Xe(s)} to be a ${e.map((a) =>
|
316
|
+
return Array.isArray(e) && e.length > 1 ? e.every((a) => n(s, a)) && (r = `Expected ${Xe(s)} to be a ${e.map((a) => xi(a)).join(" or ")}`) : r = n(s, e), r;
|
317
317
|
}
|
318
|
-
function
|
318
|
+
function Li(s, e, t) {
|
319
319
|
return !xc(s, e, t);
|
320
320
|
}
|
321
|
-
function
|
321
|
+
function M(s, e, t) {
|
322
322
|
const n = xc(s, e, t);
|
323
323
|
if (n)
|
324
324
|
throw new Error(`Match failed: ${n}`);
|
@@ -328,9 +328,9 @@ function pe(s, e, t) {
|
|
328
328
|
const n = [null, void 0];
|
329
329
|
return Array.isArray(e) && e.length > 1 ? e.forEach((r) => {
|
330
330
|
n.push(r);
|
331
|
-
}) : n.push(e),
|
331
|
+
}) : n.push(e), M(s, n.reverse(), t);
|
332
332
|
}
|
333
|
-
function
|
333
|
+
function Ii(s, e) {
|
334
334
|
if (s != null) {
|
335
335
|
const t = Number.parseFloat(String(s));
|
336
336
|
if (t != null && !Number.isNaN(t))
|
@@ -365,14 +365,14 @@ It.ERROR = he.ERROR | he.WARN | he.INFO | he.DEBUG;
|
|
365
365
|
It.WARN = he.WARN | he.INFO | he.DEBUG;
|
366
366
|
It.INFO = he.INFO | he.DEBUG;
|
367
367
|
It.DEBUG = he.DEBUG;
|
368
|
-
const
|
368
|
+
const Jn = {
|
369
369
|
useTimestamp: !1,
|
370
370
|
logLevel: he.INFO
|
371
|
-
},
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
371
|
+
}, Ms = /* @__PURE__ */ new Map();
|
372
|
+
Ms.set(he.ERROR, "error");
|
373
|
+
Ms.set(he.WARN, "warn");
|
374
|
+
Ms.set(he.INFO, "info");
|
375
|
+
Ms.set(he.DEBUG, "log");
|
376
376
|
class Lc {
|
377
377
|
/**
|
378
378
|
* @param {string=} className
|
@@ -386,7 +386,7 @@ class Lc {
|
|
386
386
|
* @param {...any} optArgs
|
387
387
|
*/
|
388
388
|
error(e, ...t) {
|
389
|
-
|
389
|
+
Jn.logLevel & It.ERROR && this._log(String(e), he.ERROR, t);
|
390
390
|
}
|
391
391
|
/**
|
392
392
|
* Logs a warning message
|
@@ -394,7 +394,7 @@ class Lc {
|
|
394
394
|
* @param {...any} optArgs
|
395
395
|
*/
|
396
396
|
warning(e, ...t) {
|
397
|
-
|
397
|
+
Jn.logLevel & It.WARN && this._log(String(e), he.WARN, t);
|
398
398
|
}
|
399
399
|
/**
|
400
400
|
* Deprecate a function. deprecations are stored on the logger
|
@@ -415,7 +415,7 @@ class Lc {
|
|
415
415
|
* @param {...any} optArgs
|
416
416
|
*/
|
417
417
|
info(e, ...t) {
|
418
|
-
|
418
|
+
Jn.logLevel & It.INFO && this._log(String(e), he.INFO, t);
|
419
419
|
}
|
420
420
|
/**
|
421
421
|
* Logs a debug message
|
@@ -423,7 +423,7 @@ class Lc {
|
|
423
423
|
* @param {...any} optArgs
|
424
424
|
*/
|
425
425
|
debug(e, ...t) {
|
426
|
-
|
426
|
+
Jn.logLevel & It.DEBUG && this._log(String(e), he.DEBUG, t);
|
427
427
|
}
|
428
428
|
/**
|
429
429
|
* Alias for debug
|
@@ -431,7 +431,7 @@ class Lc {
|
|
431
431
|
* @param {...any} optArgs
|
432
432
|
*/
|
433
433
|
log(e, ...t) {
|
434
|
-
|
434
|
+
Jn.logLevel & It.DEBUG && this._log(String(e), he.DEBUG, t);
|
435
435
|
}
|
436
436
|
/**
|
437
437
|
* Logs a message
|
@@ -442,25 +442,25 @@ class Lc {
|
|
442
442
|
*/
|
443
443
|
_log(e, t, n) {
|
444
444
|
let r = e;
|
445
|
-
this.className && (r = `[${this.className}] ${r}`), console[
|
445
|
+
this.className && (r = `[${this.className}] ${r}`), console[Ms.get(t)](r, ...n), t & he.ERROR && (console.group(), console.trace(), console.groupEnd());
|
446
446
|
}
|
447
447
|
}
|
448
|
-
const
|
449
|
-
let
|
448
|
+
const Ci = /* @__PURE__ */ new Map();
|
449
|
+
let Xr;
|
450
450
|
function H0() {
|
451
|
-
return
|
451
|
+
return Xr || (Xr = new Lc()), Xr;
|
452
452
|
}
|
453
453
|
function U0(s) {
|
454
454
|
const e = new Lc(s);
|
455
|
-
return
|
455
|
+
return Ci.set(s, e), e;
|
456
456
|
}
|
457
457
|
function De(s) {
|
458
|
-
return s ?
|
458
|
+
return s ? Ci.has(s) ? Ci.get(s) : U0(s) : H0();
|
459
459
|
}
|
460
460
|
function W0(s) {
|
461
461
|
return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
|
462
462
|
}
|
463
|
-
var
|
463
|
+
var Ei = { exports: {} };
|
464
464
|
const Y0 = "2.0.0", Ic = 256, Q0 = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
465
465
|
9007199254740991, J0 = 16, q0 = Ic - 6, X0 = [
|
466
466
|
"major",
|
@@ -471,7 +471,7 @@ const Y0 = "2.0.0", Ic = 256, Q0 = Number.MAX_SAFE_INTEGER || /* istanbul ignore
|
|
471
471
|
"prepatch",
|
472
472
|
"prerelease"
|
473
473
|
];
|
474
|
-
var
|
474
|
+
var Ar = {
|
475
475
|
MAX_LENGTH: Ic,
|
476
476
|
MAX_SAFE_COMPONENT_LENGTH: J0,
|
477
477
|
MAX_SAFE_BUILD_LENGTH: q0,
|
@@ -483,13 +483,13 @@ var br = {
|
|
483
483
|
};
|
484
484
|
const K0 = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...s) => console.error("SEMVER", ...s) : () => {
|
485
485
|
};
|
486
|
-
var
|
486
|
+
var Mr = K0;
|
487
487
|
(function(s, e) {
|
488
488
|
const {
|
489
489
|
MAX_SAFE_COMPONENT_LENGTH: t,
|
490
490
|
MAX_SAFE_BUILD_LENGTH: n,
|
491
491
|
MAX_LENGTH: r
|
492
|
-
} =
|
492
|
+
} = Ar, i = Mr;
|
493
493
|
e = s.exports = {};
|
494
494
|
const a = e.re = [], o = e.safeRe = [], l = e.src = [], c = e.t = {};
|
495
495
|
let u = 0;
|
@@ -506,8 +506,8 @@ var Ar = K0;
|
|
506
506
|
i(_, A, g), c[_] = A, l[A] = g, a[A] = new RegExp(g, E ? "g" : void 0), o[A] = new RegExp(z, E ? "g" : void 0);
|
507
507
|
};
|
508
508
|
p("NUMERICIDENTIFIER", "0|[1-9]\\d*"), p("NUMERICIDENTIFIERLOOSE", "\\d+"), p("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${d}*`), p("MAINVERSION", `(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`), p("MAINVERSIONLOOSE", `(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASEIDENTIFIER", `(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`), p("PRERELEASEIDENTIFIERLOOSE", `(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`), p("PRERELEASE", `(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`), p("PRERELEASELOOSE", `(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`), p("BUILDIDENTIFIER", `${d}+`), p("BUILD", `(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`), p("FULLPLAIN", `v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`), p("FULL", `^${l[c.FULLPLAIN]}$`), p("LOOSEPLAIN", `[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`), p("LOOSE", `^${l[c.LOOSEPLAIN]}$`), p("GTLT", "((?:<|>)?=?)"), p("XRANGEIDENTIFIERLOOSE", `${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), p("XRANGEIDENTIFIER", `${l[c.NUMERICIDENTIFIER]}|x|X|\\*`), p("XRANGEPLAIN", `[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`), p("XRANGEPLAINLOOSE", `[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`), p("XRANGE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`), p("XRANGELOOSE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`), p("COERCE", `(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?(?:$|[^\\d])`), p("COERCERTL", l[c.COERCE], !0), p("LONETILDE", "(?:~>?)"), p("TILDETRIM", `(\\s*)${l[c.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", p("TILDE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`), p("TILDELOOSE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`), p("LONECARET", "(?:\\^)"), p("CARETTRIM", `(\\s*)${l[c.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", p("CARET", `^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`), p("CARETLOOSE", `^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`), p("COMPARATORLOOSE", `^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`), p("COMPARATOR", `^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`), p("COMPARATORTRIM", `(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", p("HYPHENRANGE", `^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`), p("HYPHENRANGELOOSE", `^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`), p("STAR", "(<|>)?=?\\s*\\*"), p("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), p("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
509
|
-
})(
|
510
|
-
var
|
509
|
+
})(Ei, Ei.exports);
|
510
|
+
var xs = Ei.exports;
|
511
511
|
const ed = Object.freeze({ loose: !0 }), td = Object.freeze({}), nd = (s) => s ? typeof s != "object" ? ed : s : td;
|
512
512
|
var na = nd;
|
513
513
|
const _o = /^[0-9]+$/, Cc = (s, e) => {
|
@@ -518,7 +518,7 @@ var Ec = {
|
|
518
518
|
compareIdentifiers: Cc,
|
519
519
|
rcompareIdentifiers: sd
|
520
520
|
};
|
521
|
-
const Vs =
|
521
|
+
const Vs = Mr, { MAX_LENGTH: vo, MAX_SAFE_INTEGER: Fs } = Ar, { safeRe: go, t: yo } = xs, rd = na, { compareIdentifiers: bn } = Ec;
|
522
522
|
let id = class ot {
|
523
523
|
constructor(e, t) {
|
524
524
|
if (t = rd(t), e instanceof ot) {
|
@@ -669,13 +669,13 @@ const wo = Ee, ad = (s, e, t = !1) => {
|
|
669
669
|
throw n;
|
670
670
|
}
|
671
671
|
};
|
672
|
-
var
|
673
|
-
const od =
|
672
|
+
var zn = ad;
|
673
|
+
const od = zn, ld = (s, e) => {
|
674
674
|
const t = od(s, e);
|
675
675
|
return t ? t.version : null;
|
676
676
|
};
|
677
677
|
var cd = ld;
|
678
|
-
const ud =
|
678
|
+
const ud = zn, dd = (s, e) => {
|
679
679
|
const t = ud(s.trim().replace(/^[=v]+/, ""), e);
|
680
680
|
return t ? t.version : null;
|
681
681
|
};
|
@@ -692,7 +692,7 @@ const bo = Ee, fd = (s, e, t, n, r) => {
|
|
692
692
|
}
|
693
693
|
};
|
694
694
|
var pd = fd;
|
695
|
-
const Ao =
|
695
|
+
const Ao = zn, md = (s, e) => {
|
696
696
|
const t = Ao(s, null, !0), n = Ao(e, null, !0), r = t.compare(n);
|
697
697
|
if (r === 0)
|
698
698
|
return null;
|
@@ -709,7 +709,7 @@ const wd = Ee, bd = (s, e) => new wd(s, e).minor;
|
|
709
709
|
var Ad = bd;
|
710
710
|
const Md = Ee, xd = (s, e) => new Md(s, e).patch;
|
711
711
|
var Ld = xd;
|
712
|
-
const Id =
|
712
|
+
const Id = zn, Cd = (s, e) => {
|
713
713
|
const t = Id(s, e);
|
714
714
|
return t && t.prerelease.length ? t.prerelease : null;
|
715
715
|
};
|
@@ -730,7 +730,7 @@ var Fd = Vd;
|
|
730
730
|
const Pd = sa, zd = (s, e) => s.sort((t, n) => Pd(n, t, e));
|
731
731
|
var Bd = zd;
|
732
732
|
const Gd = tt, Zd = (s, e, t) => Gd(s, e, t) > 0;
|
733
|
-
var
|
733
|
+
var xr = Zd;
|
734
734
|
const Hd = tt, Ud = (s, e, t) => Hd(s, e, t) < 0;
|
735
735
|
var ra = Ud;
|
736
736
|
const Wd = tt, Yd = (s, e, t) => Wd(s, e, t) === 0;
|
@@ -741,7 +741,7 @@ const qd = tt, Xd = (s, e, t) => qd(s, e, t) >= 0;
|
|
741
741
|
var ia = Xd;
|
742
742
|
const Kd = tt, eh = (s, e, t) => Kd(s, e, t) <= 0;
|
743
743
|
var aa = eh;
|
744
|
-
const th = Sc, nh = Tc, sh =
|
744
|
+
const th = Sc, nh = Tc, sh = xr, rh = ia, ih = ra, ah = aa, oh = (s, e, t, n) => {
|
745
745
|
switch (e) {
|
746
746
|
case "===":
|
747
747
|
return typeof s == "object" && (s = s.version), typeof t == "object" && (t = t.version), s === t;
|
@@ -766,7 +766,7 @@ const th = Sc, nh = Tc, sh = Mr, rh = ia, ih = ra, ah = aa, oh = (s, e, t, n) =>
|
|
766
766
|
}
|
767
767
|
};
|
768
768
|
var kc = oh;
|
769
|
-
const lh = Ee, ch =
|
769
|
+
const lh = Ee, ch = zn, { safeRe: Ps, t: zs } = xs, uh = (s, e) => {
|
770
770
|
if (s instanceof lh)
|
771
771
|
return s;
|
772
772
|
if (typeof s == "number" && (s = String(s)), typeof s != "string")
|
@@ -783,14 +783,14 @@ const lh = Ee, ch = Pn, { safeRe: Ps, t: zs } = Ms, uh = (s, e) => {
|
|
783
783
|
}
|
784
784
|
return t === null ? null : ch(`${t[2]}.${t[3] || "0"}.${t[4] || "0"}`, e);
|
785
785
|
};
|
786
|
-
var dh = uh,
|
786
|
+
var dh = uh, Kr, Lo;
|
787
787
|
function hh() {
|
788
|
-
return Lo || (Lo = 1,
|
788
|
+
return Lo || (Lo = 1, Kr = function(s) {
|
789
789
|
s.prototype[Symbol.iterator] = function* () {
|
790
790
|
for (let e = this.head; e; e = e.next)
|
791
791
|
yield e.value;
|
792
792
|
};
|
793
|
-
}),
|
793
|
+
}), Kr;
|
794
794
|
}
|
795
795
|
var fh = X;
|
796
796
|
X.Node = an;
|
@@ -977,14 +977,14 @@ try {
|
|
977
977
|
hh()(X);
|
978
978
|
} catch {
|
979
979
|
}
|
980
|
-
const vh = fh, Xt = Symbol("max"), Lt = Symbol("length"), An = Symbol("lengthCalculator"),
|
980
|
+
const vh = fh, Xt = Symbol("max"), Lt = Symbol("length"), An = Symbol("lengthCalculator"), os = Symbol("allowStale"), en = Symbol("maxAge"), xt = Symbol("dispose"), Io = Symbol("noDisposeOnSet"), ve = Symbol("lruList"), Je = Symbol("cache"), Nc = Symbol("updateAgeOnGet"), ei = () => 1;
|
981
981
|
class gh {
|
982
982
|
constructor(e) {
|
983
983
|
if (typeof e == "number" && (e = { max: e }), e || (e = {}), e.max && (typeof e.max != "number" || e.max < 0))
|
984
984
|
throw new TypeError("max must be a non-negative number");
|
985
985
|
this[Xt] = e.max || 1 / 0;
|
986
|
-
const t = e.length ||
|
987
|
-
if (this[An] = typeof t != "function" ?
|
986
|
+
const t = e.length || ei;
|
987
|
+
if (this[An] = typeof t != "function" ? ei : t, this[os] = e.stale || !1, e.maxAge && typeof e.maxAge != "number")
|
988
988
|
throw new TypeError("maxAge must be a number");
|
989
989
|
this[en] = e.maxAge || 0, this[xt] = e.dispose, this[Io] = e.noDisposeOnSet || !1, this[Nc] = e.updateAgeOnGet || !1, this.reset();
|
990
990
|
}
|
@@ -992,30 +992,30 @@ class gh {
|
|
992
992
|
set max(e) {
|
993
993
|
if (typeof e != "number" || e < 0)
|
994
994
|
throw new TypeError("max must be a non-negative number");
|
995
|
-
this[Xt] = e || 1 / 0,
|
995
|
+
this[Xt] = e || 1 / 0, qn(this);
|
996
996
|
}
|
997
997
|
get max() {
|
998
998
|
return this[Xt];
|
999
999
|
}
|
1000
1000
|
set allowStale(e) {
|
1001
|
-
this[
|
1001
|
+
this[os] = !!e;
|
1002
1002
|
}
|
1003
1003
|
get allowStale() {
|
1004
|
-
return this[
|
1004
|
+
return this[os];
|
1005
1005
|
}
|
1006
1006
|
set maxAge(e) {
|
1007
1007
|
if (typeof e != "number")
|
1008
1008
|
throw new TypeError("maxAge must be a non-negative number");
|
1009
|
-
this[en] = e,
|
1009
|
+
this[en] = e, qn(this);
|
1010
1010
|
}
|
1011
1011
|
get maxAge() {
|
1012
1012
|
return this[en];
|
1013
1013
|
}
|
1014
1014
|
// resize the cache when the lengthCalculator changes.
|
1015
1015
|
set lengthCalculator(e) {
|
1016
|
-
typeof e != "function" && (e =
|
1016
|
+
typeof e != "function" && (e = ei), e !== this[An] && (this[An] = e, this[Lt] = 0, this[ve].forEach((t) => {
|
1017
1017
|
t.length = this[An](t.value, t.key), this[Lt] += t.length;
|
1018
|
-
})),
|
1018
|
+
})), qn(this);
|
1019
1019
|
}
|
1020
1020
|
get lengthCalculator() {
|
1021
1021
|
return this[An];
|
@@ -1050,7 +1050,7 @@ class gh {
|
|
1050
1050
|
this[xt] && this[ve] && this[ve].length && this[ve].forEach((e) => this[xt](e.key, e.value)), this[Je] = /* @__PURE__ */ new Map(), this[ve] = new vh(), this[Lt] = 0;
|
1051
1051
|
}
|
1052
1052
|
dump() {
|
1053
|
-
return this[ve].map((e) =>
|
1053
|
+
return this[ve].map((e) => er(this, e) ? !1 : {
|
1054
1054
|
k: e.key,
|
1055
1055
|
v: e.value,
|
1056
1056
|
e: e.now + (e.maxAge || 0)
|
@@ -1065,31 +1065,31 @@ class gh {
|
|
1065
1065
|
const r = n ? Date.now() : 0, i = this[An](t, e);
|
1066
1066
|
if (this[Je].has(e)) {
|
1067
1067
|
if (i > this[Xt])
|
1068
|
-
return
|
1068
|
+
return En(this, this[Je].get(e)), !1;
|
1069
1069
|
const l = this[Je].get(e).value;
|
1070
|
-
return this[xt] && (this[Io] || this[xt](e, l.value)), l.now = r, l.maxAge = n, l.value = t, this[Lt] += i - l.length, l.length = i, this.get(e),
|
1070
|
+
return this[xt] && (this[Io] || this[xt](e, l.value)), l.now = r, l.maxAge = n, l.value = t, this[Lt] += i - l.length, l.length = i, this.get(e), qn(this), !0;
|
1071
1071
|
}
|
1072
1072
|
const a = new yh(e, t, i, r, n);
|
1073
|
-
return a.length > this[Xt] ? (this[xt] && this[xt](e, t), !1) : (this[Lt] += a.length, this[ve].unshift(a), this[Je].set(e, this[ve].head),
|
1073
|
+
return a.length > this[Xt] ? (this[xt] && this[xt](e, t), !1) : (this[Lt] += a.length, this[ve].unshift(a), this[Je].set(e, this[ve].head), qn(this), !0);
|
1074
1074
|
}
|
1075
1075
|
has(e) {
|
1076
1076
|
if (!this[Je].has(e))
|
1077
1077
|
return !1;
|
1078
1078
|
const t = this[Je].get(e).value;
|
1079
|
-
return !
|
1079
|
+
return !er(this, t);
|
1080
1080
|
}
|
1081
1081
|
get(e) {
|
1082
|
-
return
|
1082
|
+
return ti(this, e, !0);
|
1083
1083
|
}
|
1084
1084
|
peek(e) {
|
1085
|
-
return
|
1085
|
+
return ti(this, e, !1);
|
1086
1086
|
}
|
1087
1087
|
pop() {
|
1088
1088
|
const e = this[ve].tail;
|
1089
|
-
return e ? (
|
1089
|
+
return e ? (En(this, e), e.value) : null;
|
1090
1090
|
}
|
1091
1091
|
del(e) {
|
1092
|
-
|
1092
|
+
En(this, this[Je].get(e));
|
1093
1093
|
}
|
1094
1094
|
load(e) {
|
1095
1095
|
this.reset();
|
@@ -1105,32 +1105,32 @@ class gh {
|
|
1105
1105
|
}
|
1106
1106
|
}
|
1107
1107
|
prune() {
|
1108
|
-
this[Je].forEach((e, t) =>
|
1108
|
+
this[Je].forEach((e, t) => ti(this, t, !1));
|
1109
1109
|
}
|
1110
1110
|
}
|
1111
|
-
const
|
1111
|
+
const ti = (s, e, t) => {
|
1112
1112
|
const n = s[Je].get(e);
|
1113
1113
|
if (n) {
|
1114
1114
|
const r = n.value;
|
1115
|
-
if (
|
1116
|
-
if (
|
1115
|
+
if (er(s, r)) {
|
1116
|
+
if (En(s, n), !s[os])
|
1117
1117
|
return;
|
1118
1118
|
} else
|
1119
1119
|
t && (s[Nc] && (n.value.now = Date.now()), s[ve].unshiftNode(n));
|
1120
1120
|
return r.value;
|
1121
1121
|
}
|
1122
|
-
},
|
1122
|
+
}, er = (s, e) => {
|
1123
1123
|
if (!e || !e.maxAge && !s[en])
|
1124
1124
|
return !1;
|
1125
1125
|
const t = Date.now() - e.now;
|
1126
1126
|
return e.maxAge ? t > e.maxAge : s[en] && t > s[en];
|
1127
|
-
},
|
1127
|
+
}, qn = (s) => {
|
1128
1128
|
if (s[Lt] > s[Xt])
|
1129
1129
|
for (let e = s[ve].tail; s[Lt] > s[Xt] && e !== null; ) {
|
1130
1130
|
const t = e.prev;
|
1131
|
-
|
1131
|
+
En(s, e), e = t;
|
1132
1132
|
}
|
1133
|
-
},
|
1133
|
+
}, En = (s, e) => {
|
1134
1134
|
if (e) {
|
1135
1135
|
const t = e.value;
|
1136
1136
|
s[xt] && s[xt](t.key, t.value), s[Lt] -= t.length, s[Je].delete(t.key), s[ve].removeNode(e);
|
@@ -1143,20 +1143,20 @@ class yh {
|
|
1143
1143
|
}
|
1144
1144
|
const Co = (s, e, t, n) => {
|
1145
1145
|
let r = t.value;
|
1146
|
-
|
1146
|
+
er(s, r) && (En(s, t), s[os] || (r = void 0)), r && e.call(n, r.value, r.key, s);
|
1147
1147
|
};
|
1148
|
-
var wh = gh,
|
1148
|
+
var wh = gh, ni, Eo;
|
1149
1149
|
function nt() {
|
1150
1150
|
if (Eo)
|
1151
|
-
return
|
1151
|
+
return ni;
|
1152
1152
|
Eo = 1;
|
1153
1153
|
class s {
|
1154
|
-
constructor(
|
1155
|
-
if (O = n(O),
|
1156
|
-
return
|
1157
|
-
if (
|
1158
|
-
return this.raw =
|
1159
|
-
if (this.options = O, this.loose = !!O.loose, this.includePrerelease = !!O.includePrerelease, this.raw =
|
1154
|
+
constructor(x, O) {
|
1155
|
+
if (O = n(O), x instanceof s)
|
1156
|
+
return x.loose === !!O.loose && x.includePrerelease === !!O.includePrerelease ? x : new s(x.raw, O);
|
1157
|
+
if (x instanceof r)
|
1158
|
+
return this.raw = x.value, this.set = [[x]], this.format(), this;
|
1159
|
+
if (this.options = O, this.loose = !!O.loose, this.includePrerelease = !!O.includePrerelease, this.raw = x.trim().split(/\s+/).join(" "), this.set = this.raw.split("||").map((C) => this.parseRange(C.trim())).filter((C) => C.length), !this.set.length)
|
1160
1160
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
1161
1161
|
if (this.set.length > 1) {
|
1162
1162
|
const C = this.set[0];
|
@@ -1173,18 +1173,18 @@ function nt() {
|
|
1173
1173
|
this.format();
|
1174
1174
|
}
|
1175
1175
|
format() {
|
1176
|
-
return this.range = this.set.map((
|
1176
|
+
return this.range = this.set.map((x) => x.join(" ").trim()).join("||").trim(), this.range;
|
1177
1177
|
}
|
1178
1178
|
toString() {
|
1179
1179
|
return this.range;
|
1180
1180
|
}
|
1181
|
-
parseRange(
|
1182
|
-
const C = ((this.options.includePrerelease && h) | (this.options.loose && f)) + ":" +
|
1181
|
+
parseRange(x) {
|
1182
|
+
const C = ((this.options.includePrerelease && h) | (this.options.loose && f)) + ":" + x, R = t.get(C);
|
1183
1183
|
if (R)
|
1184
1184
|
return R;
|
1185
1185
|
const S = this.options.loose, T = S ? o[l.HYPHENRANGELOOSE] : o[l.HYPHENRANGE];
|
1186
|
-
|
1187
|
-
let J =
|
1186
|
+
x = x.replace(T, B(this.options.includePrerelease)), i("hyphen replace", x), x = x.replace(o[l.COMPARATORTRIM], c), i("comparator trim", x), x = x.replace(o[l.TILDETRIM], u), i("tilde trim", x), x = x.replace(o[l.CARETTRIM], d), i("caret trim", x);
|
1187
|
+
let J = x.split(" ").map((ee) => E(ee, this.options)).join(" ").split(/\s+/).map((ee) => N(ee, this.options));
|
1188
1188
|
S && (J = J.filter((ee) => (i("loose invalid filter", ee, this.options), !!ee.match(o[l.COMPARATORLOOSE])))), i("range list", J);
|
1189
1189
|
const F = /* @__PURE__ */ new Map(), K = J.map((ee) => new r(ee, this.options));
|
1190
1190
|
for (const ee of K) {
|
@@ -1196,85 +1196,85 @@ function nt() {
|
|
1196
1196
|
const Y = [...F.values()];
|
1197
1197
|
return t.set(C, Y), Y;
|
1198
1198
|
}
|
1199
|
-
intersects(
|
1200
|
-
if (!(
|
1199
|
+
intersects(x, O) {
|
1200
|
+
if (!(x instanceof s))
|
1201
1201
|
throw new TypeError("a Range is required");
|
1202
|
-
return this.set.some((C) => g(C, O) &&
|
1202
|
+
return this.set.some((C) => g(C, O) && x.set.some((R) => g(R, O) && C.every((S) => R.every((T) => S.intersects(T, O)))));
|
1203
1203
|
}
|
1204
1204
|
// if ANY of the sets match ALL of its comparators, then pass
|
1205
|
-
test(
|
1206
|
-
if (!
|
1205
|
+
test(x) {
|
1206
|
+
if (!x)
|
1207
1207
|
return !1;
|
1208
|
-
if (typeof
|
1208
|
+
if (typeof x == "string")
|
1209
1209
|
try {
|
1210
|
-
|
1210
|
+
x = new a(x, this.options);
|
1211
1211
|
} catch {
|
1212
1212
|
return !1;
|
1213
1213
|
}
|
1214
1214
|
for (let O = 0; O < this.set.length; O++)
|
1215
|
-
if (re(this.set[O],
|
1215
|
+
if (re(this.set[O], x, this.options))
|
1216
1216
|
return !0;
|
1217
1217
|
return !1;
|
1218
1218
|
}
|
1219
1219
|
}
|
1220
|
-
|
1221
|
-
const e = wh, t = new e({ max: 1e3 }), n = na, r =
|
1220
|
+
ni = s;
|
1221
|
+
const e = wh, t = new e({ max: 1e3 }), n = na, r = Lr(), i = Mr, a = Ee, {
|
1222
1222
|
safeRe: o,
|
1223
1223
|
t: l,
|
1224
1224
|
comparatorTrimReplace: c,
|
1225
1225
|
tildeTrimReplace: u,
|
1226
1226
|
caretTrimReplace: d
|
1227
|
-
} =
|
1227
|
+
} = xs, { FLAG_INCLUDE_PRERELEASE: h, FLAG_LOOSE: f } = Ar, p = (I) => I.value === "<0.0.0-0", _ = (I) => I.value === "", g = (I, x) => {
|
1228
1228
|
let O = !0;
|
1229
1229
|
const C = I.slice();
|
1230
1230
|
let R = C.pop();
|
1231
1231
|
for (; O && C.length; )
|
1232
|
-
O = C.every((S) => R.intersects(S,
|
1232
|
+
O = C.every((S) => R.intersects(S, x)), R = C.pop();
|
1233
1233
|
return O;
|
1234
|
-
}, E = (I,
|
1235
|
-
const O =
|
1234
|
+
}, E = (I, x) => (i("comp", I, x), I = H(I, x), i("caret", I), I = A(I, x), i("tildes", I), I = G(I, x), i("xrange", I), I = $(I, x), i("stars", I), I), z = (I) => !I || I.toLowerCase() === "x" || I === "*", A = (I, x) => I.trim().split(/\s+/).map((O) => V(O, x)).join(" "), V = (I, x) => {
|
1235
|
+
const O = x.loose ? o[l.TILDELOOSE] : o[l.TILDE];
|
1236
1236
|
return I.replace(O, (C, R, S, T, J) => {
|
1237
1237
|
i("tilde", I, C, R, S, T, J);
|
1238
1238
|
let F;
|
1239
1239
|
return z(R) ? F = "" : z(S) ? F = `>=${R}.0.0 <${+R + 1}.0.0-0` : z(T) ? F = `>=${R}.${S}.0 <${R}.${+S + 1}.0-0` : J ? (i("replaceTilde pr", J), F = `>=${R}.${S}.${T}-${J} <${R}.${+S + 1}.0-0`) : F = `>=${R}.${S}.${T} <${R}.${+S + 1}.0-0`, i("tilde return", F), F;
|
1240
1240
|
});
|
1241
|
-
}, H = (I,
|
1242
|
-
i("caret", I,
|
1243
|
-
const O =
|
1241
|
+
}, H = (I, x) => I.trim().split(/\s+/).map((O) => b(O, x)).join(" "), b = (I, x) => {
|
1242
|
+
i("caret", I, x);
|
1243
|
+
const O = x.loose ? o[l.CARETLOOSE] : o[l.CARET], C = x.includePrerelease ? "-0" : "";
|
1244
1244
|
return I.replace(O, (R, S, T, J, F) => {
|
1245
1245
|
i("caret", I, R, S, T, J, F);
|
1246
1246
|
let K;
|
1247
1247
|
return z(S) ? K = "" : z(T) ? K = `>=${S}.0.0${C} <${+S + 1}.0.0-0` : z(J) ? S === "0" ? K = `>=${S}.${T}.0${C} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.0${C} <${+S + 1}.0.0-0` : F ? (i("replaceCaret pr", F), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}-${F} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}-${F} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J}-${F} <${+S + 1}.0.0-0`) : (i("no pr"), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}${C} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}${C} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J} <${+S + 1}.0.0-0`), i("caret return", K), K;
|
1248
1248
|
});
|
1249
|
-
}, G = (I,
|
1249
|
+
}, G = (I, x) => (i("replaceXRanges", I, x), I.split(/\s+/).map((O) => D(O, x)).join(" ")), D = (I, x) => {
|
1250
1250
|
I = I.trim();
|
1251
|
-
const O =
|
1251
|
+
const O = x.loose ? o[l.XRANGELOOSE] : o[l.XRANGE];
|
1252
1252
|
return I.replace(O, (C, R, S, T, J, F) => {
|
1253
1253
|
i("xRange", I, C, R, S, T, J, F);
|
1254
1254
|
const K = z(S), Y = K || z(T), ee = Y || z(J), ze = ee;
|
1255
|
-
return R === "=" && ze && (R = ""), F =
|
1255
|
+
return R === "=" && ze && (R = ""), F = x.includePrerelease ? "-0" : "", K ? R === ">" || R === "<" ? C = "<0.0.0-0" : C = "*" : R && ze ? (Y && (T = 0), J = 0, R === ">" ? (R = ">=", Y ? (S = +S + 1, T = 0, J = 0) : (T = +T + 1, J = 0)) : R === "<=" && (R = "<", Y ? S = +S + 1 : T = +T + 1), R === "<" && (F = "-0"), C = `${R + S}.${T}.${J}${F}`) : Y ? C = `>=${S}.0.0${F} <${+S + 1}.0.0-0` : ee && (C = `>=${S}.${T}.0${F} <${S}.${+T + 1}.0-0`), i("xRange return", C), C;
|
1256
1256
|
});
|
1257
|
-
}, $ = (I,
|
1257
|
+
}, $ = (I, x) => (i("replaceStars", I, x), I.trim().replace(o[l.STAR], "")), N = (I, x) => (i("replaceGTE0", I, x), I.trim().replace(o[x.includePrerelease ? l.GTE0PRE : l.GTE0], "")), B = (I) => (x, O, C, R, S, T, J, F, K, Y, ee, ze, fn) => (z(C) ? O = "" : z(R) ? O = `>=${C}.0.0${I ? "-0" : ""}` : z(S) ? O = `>=${C}.${R}.0${I ? "-0" : ""}` : T ? O = `>=${O}` : O = `>=${O}${I ? "-0" : ""}`, z(K) ? F = "" : z(Y) ? F = `<${+K + 1}.0.0-0` : z(ee) ? F = `<${K}.${+Y + 1}.0-0` : ze ? F = `<=${K}.${Y}.${ee}-${ze}` : I ? F = `<${K}.${Y}.${+ee + 1}-0` : F = `<=${F}`, `${O} ${F}`.trim()), re = (I, x, O) => {
|
1258
1258
|
for (let C = 0; C < I.length; C++)
|
1259
|
-
if (!I[C].test(
|
1259
|
+
if (!I[C].test(x))
|
1260
1260
|
return !1;
|
1261
|
-
if (
|
1261
|
+
if (x.prerelease.length && !O.includePrerelease) {
|
1262
1262
|
for (let C = 0; C < I.length; C++)
|
1263
1263
|
if (i(I[C].semver), I[C].semver !== r.ANY && I[C].semver.prerelease.length > 0) {
|
1264
1264
|
const R = I[C].semver;
|
1265
|
-
if (R.major ===
|
1265
|
+
if (R.major === x.major && R.minor === x.minor && R.patch === x.patch)
|
1266
1266
|
return !0;
|
1267
1267
|
}
|
1268
1268
|
return !1;
|
1269
1269
|
}
|
1270
1270
|
return !0;
|
1271
1271
|
};
|
1272
|
-
return
|
1272
|
+
return ni;
|
1273
1273
|
}
|
1274
|
-
var
|
1275
|
-
function
|
1274
|
+
var si, So;
|
1275
|
+
function Lr() {
|
1276
1276
|
if (So)
|
1277
|
-
return
|
1277
|
+
return si;
|
1278
1278
|
So = 1;
|
1279
1279
|
const s = Symbol("SemVer ANY");
|
1280
1280
|
class e {
|
@@ -1315,9 +1315,9 @@ function xr() {
|
|
1315
1315
|
return this.operator === "" ? this.value === "" ? !0 : new l(u.value, d).test(this.value) : u.operator === "" ? u.value === "" ? !0 : new l(this.value, d).test(u.semver) : (d = t(d), d.includePrerelease && (this.value === "<0.0.0-0" || u.value === "<0.0.0-0") || !d.includePrerelease && (this.value.startsWith("<0.0.0") || u.value.startsWith("<0.0.0")) ? !1 : !!(this.operator.startsWith(">") && u.operator.startsWith(">") || this.operator.startsWith("<") && u.operator.startsWith("<") || this.semver.version === u.semver.version && this.operator.includes("=") && u.operator.includes("=") || i(this.semver, "<", u.semver, d) && this.operator.startsWith(">") && u.operator.startsWith("<") || i(this.semver, ">", u.semver, d) && this.operator.startsWith("<") && u.operator.startsWith(">")));
|
1316
1316
|
}
|
1317
1317
|
}
|
1318
|
-
|
1319
|
-
const t = na, { safeRe: n, t: r } =
|
1320
|
-
return
|
1318
|
+
si = e;
|
1319
|
+
const t = na, { safeRe: n, t: r } = xs, i = kc, a = Mr, o = Ee, l = nt();
|
1320
|
+
return si;
|
1321
1321
|
}
|
1322
1322
|
const bh = nt(), Ah = (s, e, t) => {
|
1323
1323
|
try {
|
@@ -1327,7 +1327,7 @@ const bh = nt(), Ah = (s, e, t) => {
|
|
1327
1327
|
}
|
1328
1328
|
return e.test(s);
|
1329
1329
|
};
|
1330
|
-
var
|
1330
|
+
var Ir = Ah;
|
1331
1331
|
const Mh = nt(), xh = (s, e) => new Mh(s, e).set.map((t) => t.map((n) => n.value).join(" ").trim().split(" "));
|
1332
1332
|
var Lh = xh;
|
1333
1333
|
const Ih = Ee, Ch = nt(), Eh = (s, e, t) => {
|
@@ -1354,17 +1354,17 @@ const Th = Ee, kh = nt(), Nh = (s, e, t) => {
|
|
1354
1354
|
}), n;
|
1355
1355
|
};
|
1356
1356
|
var $h = Nh;
|
1357
|
-
const
|
1357
|
+
const ri = Ee, Dh = nt(), To = xr, Rh = (s, e) => {
|
1358
1358
|
s = new Dh(s, e);
|
1359
|
-
let t = new
|
1360
|
-
if (s.test(t) || (t = new
|
1359
|
+
let t = new ri("0.0.0");
|
1360
|
+
if (s.test(t) || (t = new ri("0.0.0-0"), s.test(t)))
|
1361
1361
|
return t;
|
1362
1362
|
t = null;
|
1363
1363
|
for (let n = 0; n < s.set.length; ++n) {
|
1364
1364
|
const r = s.set[n];
|
1365
1365
|
let i = null;
|
1366
1366
|
r.forEach((a) => {
|
1367
|
-
const o = new
|
1367
|
+
const o = new ri(a.semver.version);
|
1368
1368
|
switch (a.operator) {
|
1369
1369
|
case ">":
|
1370
1370
|
o.prerelease.length === 0 ? o.patch++ : o.prerelease.push(0), o.raw = o.format();
|
@@ -1391,7 +1391,7 @@ const Oh = nt(), Vh = (s, e) => {
|
|
1391
1391
|
}
|
1392
1392
|
};
|
1393
1393
|
var Fh = Vh;
|
1394
|
-
const Ph = Ee, $c =
|
1394
|
+
const Ph = Ee, $c = Lr(), { ANY: zh } = $c, Bh = nt(), Gh = Ir, ko = xr, No = ra, Zh = aa, Hh = ia, Uh = (s, e, t, n) => {
|
1395
1395
|
s = new Ph(s, n), e = new Bh(e, n);
|
1396
1396
|
let r, i, a, o, l;
|
1397
1397
|
switch (t) {
|
@@ -1425,7 +1425,7 @@ const Jh = oa, qh = (s, e, t) => Jh(s, e, "<", t);
|
|
1425
1425
|
var Xh = qh;
|
1426
1426
|
const $o = nt(), Kh = (s, e, t) => (s = new $o(s, t), e = new $o(e, t), s.intersects(e, t));
|
1427
1427
|
var ef = Kh;
|
1428
|
-
const tf =
|
1428
|
+
const tf = Ir, nf = tt;
|
1429
1429
|
var sf = (s, e, t) => {
|
1430
1430
|
const n = [];
|
1431
1431
|
let r = null, i = null;
|
@@ -1439,7 +1439,7 @@ var sf = (s, e, t) => {
|
|
1439
1439
|
const l = o.join(" || "), c = typeof e.raw == "string" ? e.raw : String(e);
|
1440
1440
|
return l.length < c.length ? l : e;
|
1441
1441
|
};
|
1442
|
-
const Do = nt(), la =
|
1442
|
+
const Do = nt(), la = Lr(), { ANY: ii } = la, Xn = Ir, ca = tt, rf = (s, e, t = {}) => {
|
1443
1443
|
if (s === e)
|
1444
1444
|
return !0;
|
1445
1445
|
s = new Do(s, t), e = new Do(e, t);
|
@@ -1458,12 +1458,12 @@ const Do = nt(), la = xr(), { ANY: ri } = la, qn = Lr, ca = tt, rf = (s, e, t =
|
|
1458
1458
|
}, af = [new la(">=0.0.0-0")], Ro = [new la(">=0.0.0")], of = (s, e, t) => {
|
1459
1459
|
if (s === e)
|
1460
1460
|
return !0;
|
1461
|
-
if (s.length === 1 && s[0].semver ===
|
1462
|
-
if (e.length === 1 && e[0].semver ===
|
1461
|
+
if (s.length === 1 && s[0].semver === ii) {
|
1462
|
+
if (e.length === 1 && e[0].semver === ii)
|
1463
1463
|
return !0;
|
1464
1464
|
t.includePrerelease ? s = af : s = Ro;
|
1465
1465
|
}
|
1466
|
-
if (e.length === 1 && e[0].semver ===
|
1466
|
+
if (e.length === 1 && e[0].semver === ii) {
|
1467
1467
|
if (t.includePrerelease)
|
1468
1468
|
return !0;
|
1469
1469
|
e = Ro;
|
@@ -1482,10 +1482,10 @@ const Do = nt(), la = xr(), { ANY: ri } = la, qn = Lr, ca = tt, rf = (s, e, t =
|
|
1482
1482
|
return null;
|
1483
1483
|
}
|
1484
1484
|
for (const f of n) {
|
1485
|
-
if (r && !
|
1485
|
+
if (r && !Xn(f, String(r), t) || i && !Xn(f, String(i), t))
|
1486
1486
|
return null;
|
1487
1487
|
for (const p of e)
|
1488
|
-
if (!
|
1488
|
+
if (!Xn(f, String(p), t))
|
1489
1489
|
return !1;
|
1490
1490
|
return !0;
|
1491
1491
|
}
|
@@ -1496,14 +1496,14 @@ const Do = nt(), la = xr(), { ANY: ri } = la, qn = Lr, ca = tt, rf = (s, e, t =
|
|
1496
1496
|
if (h && f.semver.prerelease && f.semver.prerelease.length && f.semver.major === h.major && f.semver.minor === h.minor && f.semver.patch === h.patch && (h = !1), f.operator === ">" || f.operator === ">=") {
|
1497
1497
|
if (o = jo(r, f, t), o === f && o !== r)
|
1498
1498
|
return !1;
|
1499
|
-
} else if (r.operator === ">=" && !
|
1499
|
+
} else if (r.operator === ">=" && !Xn(r.semver, String(f), t))
|
1500
1500
|
return !1;
|
1501
1501
|
}
|
1502
1502
|
if (i) {
|
1503
1503
|
if (d && f.semver.prerelease && f.semver.prerelease.length && f.semver.major === d.major && f.semver.minor === d.minor && f.semver.patch === d.patch && (d = !1), f.operator === "<" || f.operator === "<=") {
|
1504
1504
|
if (l = Oo(i, f, t), l === f && l !== i)
|
1505
1505
|
return !1;
|
1506
|
-
} else if (i.operator === "<=" && !
|
1506
|
+
} else if (i.operator === "<=" && !Xn(i.semver, String(f), t))
|
1507
1507
|
return !1;
|
1508
1508
|
}
|
1509
1509
|
if (!f.operator && (i || r) && a !== 0)
|
@@ -1522,7 +1522,7 @@ const Do = nt(), la = xr(), { ANY: ri } = la, qn = Lr, ca = tt, rf = (s, e, t =
|
|
1522
1522
|
return n < 0 ? s : n > 0 || e.operator === "<" && s.operator === "<=" ? e : s;
|
1523
1523
|
};
|
1524
1524
|
var lf = rf;
|
1525
|
-
const
|
1525
|
+
const ai = xs, Vo = Ar, cf = Ee, Fo = Ec, uf = zn, df = cd, hf = hd, ff = pd, pf = _d, mf = yd, _f = Ad, vf = Ld, gf = Ed, yf = tt, wf = Nd, bf = Rd, Af = sa, Mf = Fd, xf = Bd, Lf = xr, If = ra, Cf = Sc, Ef = Tc, Sf = ia, Tf = aa, kf = kc, Nf = dh, $f = Lr(), Df = nt(), Rf = Ir, jf = Lh, Of = Sh, Vf = $h, Ff = jh, Pf = Fh, zf = oa, Bf = Qh, Gf = Xh, Zf = ef, Hf = sf, Uf = lf;
|
1526
1526
|
var Wf = {
|
1527
1527
|
parse: uf,
|
1528
1528
|
valid: df,
|
@@ -1562,21 +1562,21 @@ var Wf = {
|
|
1562
1562
|
simplifyRange: Hf,
|
1563
1563
|
subset: Uf,
|
1564
1564
|
SemVer: cf,
|
1565
|
-
re:
|
1566
|
-
src:
|
1567
|
-
tokens:
|
1565
|
+
re: ai.re,
|
1566
|
+
src: ai.src,
|
1567
|
+
tokens: ai.t,
|
1568
1568
|
SEMVER_SPEC_VERSION: Vo.SEMVER_SPEC_VERSION,
|
1569
1569
|
RELEASE_TYPES: Vo.RELEASE_TYPES,
|
1570
1570
|
compareIdentifiers: Fo.compareIdentifiers,
|
1571
1571
|
rcompareIdentifiers: Fo.rcompareIdentifiers
|
1572
1572
|
};
|
1573
|
-
const
|
1573
|
+
const Js = "5.1.1";
|
1574
1574
|
function Jt() {
|
1575
1575
|
return De("plugin-helpers");
|
1576
1576
|
}
|
1577
|
-
const Q = Symbol("vcsApp"), tn = Symbol("pluginFactory"), on = Symbol("pluginBaseUrl"),
|
1577
|
+
const Q = Symbol("vcsApp"), tn = Symbol("pluginFactory"), on = Symbol("pluginBaseUrl"), Sn = Symbol("pluginModuleUrl"), nn = Symbol("pluginVersionRange");
|
1578
1578
|
function PE(s, e, t) {
|
1579
|
-
|
1579
|
+
M(e, String), M(t, String);
|
1580
1580
|
const n = s.plugins.getByKey(e);
|
1581
1581
|
if (n && n[on]) {
|
1582
1582
|
const r = new URL(n[on]), i = new URL(t.replace(/^\//, "/"), r);
|
@@ -1587,7 +1587,7 @@ function PE(s, e, t) {
|
|
1587
1587
|
return null;
|
1588
1588
|
}
|
1589
1589
|
function Yf(s) {
|
1590
|
-
return
|
1590
|
+
return M(s, String), /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(
|
1591
1591
|
s
|
1592
1592
|
);
|
1593
1593
|
}
|
@@ -1602,35 +1602,33 @@ async function Qf(s, e) {
|
|
1602
1602
|
t = `/${s}.js`;
|
1603
1603
|
else if (t === "http://localhost/_test")
|
1604
1604
|
return null;
|
1605
|
-
|
1606
|
-
|
1607
|
-
n.searchParams.set("version", e.version), t = n.toString();
|
1608
|
-
}
|
1605
|
+
const n = new URL(t, window.location.href);
|
1606
|
+
e.version && n.searchParams.set("version", e.version), n.searchParams.set("mapVersion", Js), t = n.toString();
|
1609
1607
|
try {
|
1610
|
-
let
|
1611
|
-
if (window.VcsPluginLoaderFunction ?
|
1608
|
+
let r;
|
1609
|
+
if (window.VcsPluginLoaderFunction ? r = await window.VcsPluginLoaderFunction(s, t) : r = await import(
|
1612
1610
|
/* @vite-ignore */
|
1613
1611
|
t
|
1614
|
-
),
|
1612
|
+
), r.default == null || typeof r.default != "function")
|
1615
1613
|
return Jt().error(
|
1616
1614
|
`plugin ${s} does not provide a default exported function`
|
1617
1615
|
), null;
|
1618
|
-
const
|
1619
|
-
|
1620
|
-
const
|
1621
|
-
return
|
1622
|
-
`plugin ${
|
1623
|
-
),
|
1616
|
+
const i = new URL(t);
|
1617
|
+
i.pathname = i.pathname.replace(/\/[^/]+$/, "/");
|
1618
|
+
const a = await r.default(e, i.toString());
|
1619
|
+
return a.name || a.version ? (Yf(a.name) || Jt().warning(
|
1620
|
+
`plugin ${a.name} has no valid package name!`
|
1621
|
+
), a.mapVersion ? Wf.satisfies(Js, a.mapVersion, {
|
1624
1622
|
includePrerelease: !0
|
1625
1623
|
}) || Jt().warning(
|
1626
|
-
`plugin ${
|
1624
|
+
`plugin ${a.name} of version ${a.version} with map version range ${a.mapVersion} does not satisfy version ${Js} of this VC Map!`
|
1627
1625
|
) : Jt().warning(
|
1628
|
-
`plugin ${
|
1629
|
-
),
|
1626
|
+
`plugin ${a.name} of version ${a.version} does not provide a mapVersion!`
|
1627
|
+
), a[tn] = r.default, a[on] = i.toString(), a[Sn] = t, a[nn] = e.version, a) : (Jt().error(
|
1630
1628
|
`plugin ${s} does not conform to the VcsPlugin interface, which requires a name and version`
|
1631
|
-
),
|
1632
|
-
} catch (
|
1633
|
-
Jt().error(`failed to load plugin ${s}`), Jt().error(
|
1629
|
+
), a.destroy && a.destroy(), null);
|
1630
|
+
} catch (r) {
|
1631
|
+
Jt().error(`failed to load plugin ${s}`), Jt().error(r);
|
1634
1632
|
}
|
1635
1633
|
return null;
|
1636
1634
|
}
|
@@ -1645,13 +1643,13 @@ function qf(s) {
|
|
1645
1643
|
const e = s.toJSON ? s.toJSON() : {};
|
1646
1644
|
return e.name = s.name, s[nn] && (e.version = s[nn]), e.entry = Jf(
|
1647
1645
|
window.location.href,
|
1648
|
-
s[
|
1649
|
-
), e[tn] = s[tn], e[on] = s[on], e[
|
1646
|
+
s[Sn]
|
1647
|
+
), e[tn] = s[tn], e[on] = s[on], e[Sn] = s[Sn], e[nn] = s[nn], e;
|
1650
1648
|
}
|
1651
1649
|
async function Xf(s) {
|
1652
1650
|
if (s[tn]) {
|
1653
1651
|
const e = await s[tn](s);
|
1654
|
-
return e[tn] = s[tn], e[on] = s[on], e[
|
1652
|
+
return e[tn] = s[tn], e[on] = s[on], e[Sn] = s[Sn], e[nn] = s[nn], e;
|
1655
1653
|
}
|
1656
1654
|
return Qf(s.name, s);
|
1657
1655
|
}
|
@@ -1693,7 +1691,7 @@ function Kf(s) {
|
|
1693
1691
|
function Qe(s) {
|
1694
1692
|
return typeof s == "number" ? `${s}px` : s;
|
1695
1693
|
}
|
1696
|
-
function
|
1694
|
+
function Tn(s, e = {}) {
|
1697
1695
|
let t = Qe(s.left) || "unset";
|
1698
1696
|
const n = Qe(s.right) || "unset";
|
1699
1697
|
let r = Qe(s.top) || "unset";
|
@@ -1711,12 +1709,12 @@ function Sn(s, e = {}) {
|
|
1711
1709
|
return s.maxWidth && (l.maxWidth = Qe(s.maxWidth)), s.maxHeight && (l.maxHeight = Qe(s.maxHeight)), s.minHeight && (l.minHeight = Qe(s.minHeight)), s.minWidth && (l.minWidth = Qe(s.minWidth)), Object.assign(e, l);
|
1712
1710
|
}
|
1713
1711
|
function Po(s, e) {
|
1714
|
-
const t =
|
1712
|
+
const t = Tn(
|
1715
1713
|
e,
|
1716
1714
|
s.position
|
1717
1715
|
);
|
1718
1716
|
Kf(t) || (s.slot.value = U.DETACHED);
|
1719
|
-
const n =
|
1717
|
+
const n = Tn(
|
1720
1718
|
s.initialPositionOptions
|
1721
1719
|
), r = ua(
|
1722
1720
|
t,
|
@@ -1748,7 +1746,7 @@ class ep {
|
|
1748
1746
|
* @param {string} id
|
1749
1747
|
*/
|
1750
1748
|
remove(e) {
|
1751
|
-
|
1749
|
+
M(e, String);
|
1752
1750
|
const t = this._windowComponents.get(e);
|
1753
1751
|
if (t) {
|
1754
1752
|
this._cachePosition(t), this.componentIds.splice(this.componentIds.indexOf(e), 1), this._zIndices.value.splice(this._zIndices.value.indexOf(e), 1), this._windowComponents.delete(e), this._handleSlotsChanged(t.slot.value), this.removed.raiseEvent(t);
|
@@ -1839,7 +1837,7 @@ class ep {
|
|
1839
1837
|
* @private
|
1840
1838
|
*/
|
1841
1839
|
_cachePosition(e) {
|
1842
|
-
const t =
|
1840
|
+
const t = Tn(
|
1843
1841
|
e.initialPositionOptions
|
1844
1842
|
);
|
1845
1843
|
ua(t, e.position) || this._windowPositionsCache.set(e.id, {
|
@@ -1869,8 +1867,8 @@ class ep {
|
|
1869
1867
|
* @returns {WindowComponent}
|
1870
1868
|
*/
|
1871
1869
|
add(e, t) {
|
1872
|
-
var b, G, D, $, N, B, re, I,
|
1873
|
-
if (
|
1870
|
+
var b, G, D, $, N, B, re, I, x, O, C, R, S;
|
1871
|
+
if (M(t, [String, Q]), e.id && this.has(e.id))
|
1874
1872
|
throw new Error(
|
1875
1873
|
`A window with id ${e.id} has already been registered.`
|
1876
1874
|
);
|
@@ -1880,14 +1878,14 @@ class ep {
|
|
1880
1878
|
a,
|
1881
1879
|
e.position,
|
1882
1880
|
r
|
1883
|
-
), l =
|
1881
|
+
), l = Tn(o), c = w(a), { component: u, headerComponent: d } = e, h = { ...(G = e == null ? void 0 : e.state) == null ? void 0 : G.styles }, f = Array.isArray((D = e == null ? void 0 : e.state) == null ? void 0 : D.classes) ? [...(($ = e == null ? void 0 : e.state) == null ? void 0 : $.classes) ?? []] : { ...(N = e == null ? void 0 : e.state) == null ? void 0 : N.classes }, p = ce({
|
1884
1882
|
id: n,
|
1885
1883
|
parentId: r,
|
1886
1884
|
owner: t,
|
1887
1885
|
hideHeader: !!((B = e == null ? void 0 : e.state) != null && B.hideHeader),
|
1888
1886
|
hidePin: !!((re = e == null ? void 0 : e.state) != null && re.hidePin),
|
1889
1887
|
headerTitle: (I = e == null ? void 0 : e.state) == null ? void 0 : I.headerTitle,
|
1890
|
-
headerIcon: (
|
1888
|
+
headerIcon: (x = e == null ? void 0 : e.state) == null ? void 0 : x.headerIcon,
|
1891
1889
|
headerActions: (O = e == null ? void 0 : e.state) == null ? void 0 : O.headerActions,
|
1892
1890
|
headerActionsOverflow: (C = e == null ? void 0 : e.state) == null ? void 0 : C.headerActionsOverflow,
|
1893
1891
|
dockable: !1,
|
@@ -1966,7 +1964,7 @@ class ep {
|
|
1966
1964
|
t.initialPositionOptions,
|
1967
1965
|
t.parentId
|
1968
1966
|
);
|
1969
|
-
|
1967
|
+
Tn(n, t.position), this._windowPositionsCache.delete(e);
|
1970
1968
|
}
|
1971
1969
|
/**
|
1972
1970
|
* removes all windowComponents of a specific owner (plugin) and fires removed Events
|
@@ -2004,18 +2002,18 @@ const qt = {
|
|
2004
2002
|
BOTTOM_LEFT: 3,
|
2005
2003
|
BOTTOM_RIGHT: 4
|
2006
2004
|
};
|
2007
|
-
function
|
2005
|
+
function Bn(s) {
|
2008
2006
|
return s ? s.parentElement.getBoundingClientRect() : null;
|
2009
2007
|
}
|
2010
2008
|
function Dc(s, e, t, n = Ct.TOP_LEFT) {
|
2011
|
-
const r =
|
2009
|
+
const r = Bn(t);
|
2012
2010
|
if (!r)
|
2013
2011
|
return { left: s, top: e };
|
2014
2012
|
const { left: i, top: a, width: o, height: l } = r;
|
2015
2013
|
return n === Ct.TOP_LEFT ? { left: s - i, top: e - a } : n === Ct.TOP_RIGHT ? { right: i + o - s, top: e - a } : n === Ct.BOTTOM_LEFT ? { left: s - i, bottom: l + a - e } : { right: i + o - s, bottom: l + a - e };
|
2016
2014
|
}
|
2017
2015
|
function tp(s, e, t) {
|
2018
|
-
const n =
|
2016
|
+
const n = Bn(e);
|
2019
2017
|
if (!n)
|
2020
2018
|
return { left: s.x, top: s.y };
|
2021
2019
|
const { left: r, top: i } = n;
|
@@ -2027,7 +2025,7 @@ function tp(s, e, t) {
|
|
2027
2025
|
);
|
2028
2026
|
}
|
2029
2027
|
function np(s, e, t, n, r) {
|
2030
|
-
const i =
|
2028
|
+
const i = Bn(r);
|
2031
2029
|
if (!i)
|
2032
2030
|
return { left: s, top: e };
|
2033
2031
|
const { width: a, height: o } = i, l = e + n > o, c = s + t > a;
|
@@ -2035,7 +2033,7 @@ function np(s, e, t, n, r) {
|
|
2035
2033
|
return l ? c ? u = Ct.BOTTOM_RIGHT : u = Ct.BOTTOM_LEFT : c && (u = Ct.TOP_RIGHT), Dc(s, e, r, u);
|
2036
2034
|
}
|
2037
2035
|
function Rc(s, e, t, n) {
|
2038
|
-
const r =
|
2036
|
+
const r = Bn(n);
|
2039
2037
|
if (!r)
|
2040
2038
|
return { left: s.x, top: s.y };
|
2041
2039
|
const { left: i, top: a } = r;
|
@@ -2184,7 +2182,7 @@ function op(s, e, t) {
|
|
2184
2182
|
r,
|
2185
2183
|
e
|
2186
2184
|
);
|
2187
|
-
return
|
2185
|
+
return Tn(i);
|
2188
2186
|
}
|
2189
2187
|
const zo = {
|
2190
2188
|
bottom: "arrow-top",
|
@@ -2231,7 +2229,7 @@ var cp = function() {
|
|
2231
2229
|
null
|
2232
2230
|
);
|
2233
2231
|
const Se = dp.exports;
|
2234
|
-
function
|
2232
|
+
function Gn(s) {
|
2235
2233
|
return y(() => {
|
2236
2234
|
if (s.value) {
|
2237
2235
|
const e = Array.isArray(s.value.errorMessages) ? s.value.errorMessages : [s.value.errorMessages];
|
@@ -2275,7 +2273,7 @@ const hp = {
|
|
2275
2273
|
Tt(() => {
|
2276
2274
|
r.value = e.autofocus != null;
|
2277
2275
|
});
|
2278
|
-
const a =
|
2276
|
+
const a = Gn(i), o = y(() => e.type === "file" ? "VFileInput" : "VTextField"), l = y(() => e.clearable !== void 0 && e.clearable !== !1 && (n.value || r.value || !!a.value)), c = y(() => e.dense !== !1), u = y(() => (n.value || r.value || !!a.value) && !(e.disabled || e.disabled === "")), d = y({
|
2279
2277
|
get() {
|
2280
2278
|
return e.type === "number" && Number.isFinite(e.value) && s.decimals >= 0 ? parseFloat(e.value.toFixed(s.decimals)) : e.value ?? "";
|
2281
2279
|
},
|
@@ -2371,13 +2369,13 @@ var vp = function() {
|
|
2371
2369
|
null,
|
2372
2370
|
null
|
2373
2371
|
);
|
2374
|
-
const
|
2372
|
+
const Cr = yp.exports;
|
2375
2373
|
const wp = {
|
2376
2374
|
name: "VcsButton",
|
2377
2375
|
components: {
|
2378
2376
|
VcsTooltip: Se,
|
2379
|
-
VcsBadge:
|
2380
|
-
VBtn:
|
2377
|
+
VcsBadge: Cr,
|
2378
|
+
VBtn: Pn,
|
2381
2379
|
VIcon: le
|
2382
2380
|
},
|
2383
2381
|
inheritAttrs: !1,
|
@@ -2449,8 +2447,8 @@ const xp = {
|
|
2449
2447
|
name: "VcsToolButton",
|
2450
2448
|
components: {
|
2451
2449
|
VcsTooltip: Se,
|
2452
|
-
VcsBadge:
|
2453
|
-
VBtn:
|
2450
|
+
VcsBadge: Cr,
|
2451
|
+
VBtn: Pn,
|
2454
2452
|
VIcon: le
|
2455
2453
|
},
|
2456
2454
|
inheritAttrs: !1,
|
@@ -2529,13 +2527,13 @@ var Lp = function() {
|
|
2529
2527
|
null,
|
2530
2528
|
null
|
2531
2529
|
);
|
2532
|
-
const
|
2530
|
+
const Ls = Cp.exports;
|
2533
2531
|
const Ep = {
|
2534
2532
|
name: "VcsFormButton",
|
2535
2533
|
components: {
|
2536
2534
|
VcsTooltip: Se,
|
2537
|
-
VcsBadge:
|
2538
|
-
VBtn:
|
2535
|
+
VcsBadge: Cr,
|
2536
|
+
VBtn: Pn,
|
2539
2537
|
VIcon: le
|
2540
2538
|
},
|
2541
2539
|
inheritAttrs: !1,
|
@@ -2610,8 +2608,8 @@ var Sp = function() {
|
|
2610
2608
|
null,
|
2611
2609
|
null
|
2612
2610
|
);
|
2613
|
-
const
|
2614
|
-
const
|
2611
|
+
const Er = kp.exports;
|
2612
|
+
const tr = {
|
2615
2613
|
name: String,
|
2616
2614
|
title: [void 0, String],
|
2617
2615
|
icon: [void 0, String],
|
@@ -2622,7 +2620,7 @@ const er = {
|
|
2622
2620
|
disabled: [void 0, Boolean]
|
2623
2621
|
};
|
2624
2622
|
function fa(s) {
|
2625
|
-
return
|
2623
|
+
return Li(s, tr);
|
2626
2624
|
}
|
2627
2625
|
function pa(s) {
|
2628
2626
|
return s.every(fa);
|
@@ -2633,7 +2631,7 @@ const Np = {
|
|
2633
2631
|
VcsTooltip: Se,
|
2634
2632
|
VList: pt,
|
2635
2633
|
VListItem: mt,
|
2636
|
-
VListItemIcon:
|
2634
|
+
VListItemIcon: yr,
|
2637
2635
|
VIcon: le,
|
2638
2636
|
VListItemTitle: kt,
|
2639
2637
|
VListItemContent: Nt
|
@@ -2687,8 +2685,8 @@ const jp = {
|
|
2687
2685
|
components: {
|
2688
2686
|
VcsActionList: ma,
|
2689
2687
|
VcsButton: Oe,
|
2690
|
-
VcsToolButton:
|
2691
|
-
VcsFormButton:
|
2688
|
+
VcsToolButton: Ls,
|
2689
|
+
VcsFormButton: Er,
|
2692
2690
|
VMenu: Bt,
|
2693
2691
|
VIcon: le,
|
2694
2692
|
VSpacer: q1
|
@@ -2772,7 +2770,7 @@ const zp = {
|
|
2772
2770
|
name: "ResultItem",
|
2773
2771
|
components: {
|
2774
2772
|
VcsActionButtonList: st,
|
2775
|
-
VListItemIcon:
|
2773
|
+
VListItemIcon: yr,
|
2776
2774
|
VIcon: le
|
2777
2775
|
},
|
2778
2776
|
props: {
|
@@ -2877,7 +2875,7 @@ var Wp = function() {
|
|
2877
2875
|
const Jp = Qp.exports;
|
2878
2876
|
const qp = {
|
2879
2877
|
components: {
|
2880
|
-
VcsFormButton:
|
2878
|
+
VcsFormButton: Er,
|
2881
2879
|
ResultsComponent: Jp,
|
2882
2880
|
VcsTextField: je,
|
2883
2881
|
VSheet: ue,
|
@@ -2932,15 +2930,15 @@ var Xp = function() {
|
|
2932
2930
|
);
|
2933
2931
|
const t2 = e2.exports;
|
2934
2932
|
function Si(s) {
|
2935
|
-
return
|
2933
|
+
return M(s.name, String), pe(s.title, String), pe(s.icon, String), M(s.callback, Function), s.active = qe(s.active, !1), s.hasUpdate = qe(s.hasUpdate, !1), s.background = qe(s.background, !1), s.disabled = qe(s.disabled, !1), s;
|
2936
2934
|
}
|
2937
2935
|
function n2(s, e, t) {
|
2938
2936
|
var a;
|
2939
|
-
|
2937
|
+
M(s, {
|
2940
2938
|
name: String,
|
2941
2939
|
icon: [void 0, String],
|
2942
2940
|
title: [void 0, String]
|
2943
|
-
}),
|
2941
|
+
}), M(e, String), M(t, Wi);
|
2944
2942
|
const n = ((a = t.activeMap) == null ? void 0 : a.name) === e, r = {
|
2945
2943
|
...s,
|
2946
2944
|
active: n,
|
@@ -2953,12 +2951,12 @@ function n2(s, e, t) {
|
|
2953
2951
|
return { action: r, destroy: i };
|
2954
2952
|
}
|
2955
2953
|
function $t(s, e, t, n) {
|
2956
|
-
|
2954
|
+
M(s, {
|
2957
2955
|
name: String,
|
2958
2956
|
icon: [void 0, String],
|
2959
2957
|
title: [void 0, String],
|
2960
2958
|
hasUpdate: [void 0, Boolean]
|
2961
|
-
}),
|
2959
|
+
}), M(e, { id: String }), M(n, [String, Q]);
|
2962
2960
|
const r = {
|
2963
2961
|
...s,
|
2964
2962
|
active: t.has(e.id),
|
@@ -3047,11 +3045,11 @@ function r2(s, e, t) {
|
|
3047
3045
|
} };
|
3048
3046
|
}
|
3049
3047
|
function i2(s, e, t, n) {
|
3050
|
-
|
3048
|
+
M(s, {
|
3051
3049
|
name: String,
|
3052
3050
|
icon: [void 0, String],
|
3053
3051
|
title: [void 0, String]
|
3054
|
-
}),
|
3052
|
+
}), M(n, [String, Q]);
|
3055
3053
|
const r = Gt(), { position: i, ...a } = e;
|
3056
3054
|
let o = null;
|
3057
3055
|
const l = (h) => {
|
@@ -3069,7 +3067,7 @@ function i2(s, e, t, n) {
|
|
3069
3067
|
o = h.currentTarget;
|
3070
3068
|
const g = {
|
3071
3069
|
...Rc(
|
3072
|
-
{ x: f + _, y: p -
|
3070
|
+
{ x: f + _, y: p - Bn(t.maps.target).top },
|
3073
3071
|
(i == null ? void 0 : i.width) || 320,
|
3074
3072
|
(i == null ? void 0 : i.height) || 0,
|
3075
3073
|
t.maps.target
|
@@ -3094,11 +3092,11 @@ function i2(s, e, t, n) {
|
|
3094
3092
|
} };
|
3095
3093
|
}
|
3096
3094
|
function _a(s, e) {
|
3097
|
-
return
|
3095
|
+
return M(s, {
|
3098
3096
|
name: String,
|
3099
3097
|
icon: [void 0, String],
|
3100
3098
|
title: [void 0, String]
|
3101
|
-
}),
|
3099
|
+
}), M(e, [String, Function]), {
|
3102
3100
|
...s,
|
3103
3101
|
callback() {
|
3104
3102
|
const t = document.createElement("a");
|
@@ -3107,11 +3105,11 @@ function _a(s, e) {
|
|
3107
3105
|
};
|
3108
3106
|
}
|
3109
3107
|
function Oc(s, e, t, n) {
|
3110
|
-
return
|
3108
|
+
return M(s, {
|
3111
3109
|
name: String,
|
3112
3110
|
icon: [void 0, String],
|
3113
3111
|
title: [void 0, String]
|
3114
|
-
}),
|
3112
|
+
}), M(e, [He, String]), M(t, ws), M(n, Wi), {
|
3115
3113
|
title: "content.viewpointAction.title",
|
3116
3114
|
...s,
|
3117
3115
|
async callback() {
|
@@ -3122,18 +3120,18 @@ function Oc(s, e, t, n) {
|
|
3122
3120
|
}
|
3123
3121
|
function Vc(s) {
|
3124
3122
|
var t, n;
|
3125
|
-
const e = new
|
3123
|
+
const e = new bs({
|
3126
3124
|
coordinates: (n = (t = s.getGeometry()) == null ? void 0 : t.getExtent) == null ? void 0 : n.call(t),
|
3127
3125
|
projection: Pe
|
3128
3126
|
});
|
3129
3127
|
return !e || !e.isValid() ? null : He.createViewpointFromExtent(e);
|
3130
3128
|
}
|
3131
3129
|
function zE(s, e, t) {
|
3132
|
-
return
|
3130
|
+
return M(s, {
|
3133
3131
|
name: String,
|
3134
3132
|
icon: [void 0, String],
|
3135
3133
|
title: [void 0, String]
|
3136
|
-
}),
|
3134
|
+
}), M(e, As), M(t, Wi), {
|
3137
3135
|
title: "search.zoomToFeatureAction",
|
3138
3136
|
...s,
|
3139
3137
|
async callback() {
|
@@ -3200,7 +3198,7 @@ function Go(s) {
|
|
3200
3198
|
}
|
3201
3199
|
return s;
|
3202
3200
|
}
|
3203
|
-
const
|
3201
|
+
const ls = { exec: () => null };
|
3204
3202
|
function Zo(s, e) {
|
3205
3203
|
const t = s.replace(/\|/g, (i, a, o) => {
|
3206
3204
|
let l = !1, c = a;
|
@@ -3285,7 +3283,7 @@ function f2(s, e) {
|
|
3285
3283
|
}).join(`
|
3286
3284
|
`);
|
3287
3285
|
}
|
3288
|
-
class
|
3286
|
+
class nr {
|
3289
3287
|
// set by the lexer
|
3290
3288
|
constructor(e) {
|
3291
3289
|
oe(this, "options");
|
@@ -3719,43 +3717,43 @@ class tr {
|
|
3719
3717
|
}
|
3720
3718
|
}
|
3721
3719
|
}
|
3722
|
-
const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
|
3720
|
+
const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Is = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, v2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Bc = /(?:[*+-]|\d{1,9}[.)])/, Gc = ne(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Bc).getRegex(), ga = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, g2 = /^[^\n]+/, ya = /(?!\s*\])(?:\\.|[^\[\]\\])+/, y2 = ne(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", ya).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), w2 = ne(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Bc).getRegex(), Sr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", wa = /<!--(?!-?>)[\s\S]*?(?:-->|$)/, b2 = ne("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", wa).replace("tag", Sr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Zc = ne(ga).replace("hr", Is).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Sr).getRegex(), A2 = ne(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Zc).getRegex(), ba = {
|
3723
3721
|
blockquote: A2,
|
3724
3722
|
code: m2,
|
3725
3723
|
def: y2,
|
3726
3724
|
fences: _2,
|
3727
3725
|
heading: v2,
|
3728
|
-
hr:
|
3726
|
+
hr: Is,
|
3729
3727
|
html: b2,
|
3730
3728
|
lheading: Gc,
|
3731
3729
|
list: w2,
|
3732
3730
|
newline: p2,
|
3733
3731
|
paragraph: Zc,
|
3734
|
-
table:
|
3732
|
+
table: ls,
|
3735
3733
|
text: g2
|
3736
|
-
}, Uo = ne("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",
|
3734
|
+
}, Uo = ne("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Is).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Sr).getRegex(), M2 = {
|
3737
3735
|
...ba,
|
3738
3736
|
table: Uo,
|
3739
|
-
paragraph: ne(ga).replace("hr",
|
3737
|
+
paragraph: ne(ga).replace("hr", Is).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Uo).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Sr).getRegex()
|
3740
3738
|
}, x2 = {
|
3741
3739
|
...ba,
|
3742
3740
|
html: ne(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", wa).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
3743
3741
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
3744
3742
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
3745
|
-
fences:
|
3743
|
+
fences: ls,
|
3746
3744
|
// fences not supported
|
3747
3745
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
3748
|
-
paragraph: ne(ga).replace("hr",
|
3746
|
+
paragraph: ne(ga).replace("hr", Is).replace("heading", ` *#{1,6} *[^
|
3749
3747
|
]`).replace("lheading", Gc).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
3750
|
-
}, Hc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, L2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uc = /^( {2,}|\\)\n(?!\s*$)/, I2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
|
3751
|
-
_backpedal:
|
3748
|
+
}, Hc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, L2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uc = /^( {2,}|\\)\n(?!\s*$)/, I2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Cs = "\\p{P}$+<=>`^|~", C2 = ne(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Cs).getRegex(), E2 = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, S2 = ne(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Cs).getRegex(), T2 = ne("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Cs).getRegex(), k2 = ne("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Cs).getRegex(), N2 = ne(/\\([punct])/, "gu").replace(/punct/g, Cs).getRegex(), $2 = ne(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), D2 = ne(wa).replace("(?:-->|$)", "-->").getRegex(), R2 = ne("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", D2).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), sr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, j2 = ne(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", sr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wc = ne(/^!?\[(label)\]\[(ref)\]/).replace("label", sr).replace("ref", ya).getRegex(), Yc = ne(/^!?\[(ref)\](?:\[\])?/).replace("ref", ya).getRegex(), O2 = ne("reflink|nolink(?!\\()", "g").replace("reflink", Wc).replace("nolink", Yc).getRegex(), Aa = {
|
3749
|
+
_backpedal: ls,
|
3752
3750
|
// only used for GFM url
|
3753
3751
|
anyPunctuation: N2,
|
3754
3752
|
autolink: $2,
|
3755
3753
|
blockSkip: E2,
|
3756
3754
|
br: Uc,
|
3757
3755
|
code: L2,
|
3758
|
-
del:
|
3756
|
+
del: ls,
|
3759
3757
|
emStrongLDelim: S2,
|
3760
3758
|
emStrongRDelimAst: T2,
|
3761
3759
|
emStrongRDelimUnd: k2,
|
@@ -3767,11 +3765,11 @@ const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 =
|
|
3767
3765
|
reflinkSearch: O2,
|
3768
3766
|
tag: R2,
|
3769
3767
|
text: I2,
|
3770
|
-
url:
|
3768
|
+
url: ls
|
3771
3769
|
}, V2 = {
|
3772
3770
|
...Aa,
|
3773
|
-
link: ne(/^!?\[(label)\]\((.*?)\)/).replace("label",
|
3774
|
-
reflink: ne(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",
|
3771
|
+
link: ne(/^!?\[(label)\]\((.*?)\)/).replace("label", sr).getRegex(),
|
3772
|
+
reflink: ne(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", sr).getRegex()
|
3775
3773
|
}, Ti = {
|
3776
3774
|
...Aa,
|
3777
3775
|
escape: ne(Hc).replace("])", "~|])").getRegex(),
|
@@ -3787,7 +3785,7 @@ const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 =
|
|
3787
3785
|
normal: ba,
|
3788
3786
|
gfm: M2,
|
3789
3787
|
pedantic: x2
|
3790
|
-
},
|
3788
|
+
}, Kn = {
|
3791
3789
|
normal: Aa,
|
3792
3790
|
gfm: Ti,
|
3793
3791
|
breaks: F2,
|
@@ -3800,16 +3798,16 @@ class ut {
|
|
3800
3798
|
oe(this, "state");
|
3801
3799
|
oe(this, "tokenizer");
|
3802
3800
|
oe(this, "inlineQueue");
|
3803
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || un, this.options.tokenizer = this.options.tokenizer || new
|
3801
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || un, this.options.tokenizer = this.options.tokenizer || new nr(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
3804
3802
|
inLink: !1,
|
3805
3803
|
inRawBlock: !1,
|
3806
3804
|
top: !0
|
3807
3805
|
};
|
3808
3806
|
const t = {
|
3809
3807
|
block: Gs.normal,
|
3810
|
-
inline:
|
3808
|
+
inline: Kn.normal
|
3811
3809
|
};
|
3812
|
-
this.options.pedantic ? (t.block = Gs.pedantic, t.inline =
|
3810
|
+
this.options.pedantic ? (t.block = Gs.pedantic, t.inline = Kn.pedantic) : this.options.gfm && (t.block = Gs.gfm, this.options.breaks ? t.inline = Kn.breaks : t.inline = Kn.gfm), this.tokenizer.rules = t;
|
3813
3811
|
}
|
3814
3812
|
/**
|
3815
3813
|
* Expose Rules
|
@@ -3817,7 +3815,7 @@ class ut {
|
|
3817
3815
|
static get rules() {
|
3818
3816
|
return {
|
3819
3817
|
block: Gs,
|
3820
|
-
inline:
|
3818
|
+
inline: Kn
|
3821
3819
|
};
|
3822
3820
|
}
|
3823
3821
|
/**
|
@@ -4015,7 +4013,7 @@ class ut {
|
|
4015
4013
|
return t;
|
4016
4014
|
}
|
4017
4015
|
}
|
4018
|
-
class
|
4016
|
+
class rr {
|
4019
4017
|
constructor(e) {
|
4020
4018
|
oe(this, "options");
|
4021
4019
|
this.options = e || un;
|
@@ -4151,7 +4149,7 @@ class dt {
|
|
4151
4149
|
oe(this, "options");
|
4152
4150
|
oe(this, "renderer");
|
4153
4151
|
oe(this, "textRenderer");
|
4154
|
-
this.options = e || un, this.options.renderer = this.options.renderer || new
|
4152
|
+
this.options = e || un, this.options.renderer = this.options.renderer || new rr(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new Ma();
|
4155
4153
|
}
|
4156
4154
|
/**
|
4157
4155
|
* Static Parse Method
|
@@ -4340,7 +4338,7 @@ class dt {
|
|
4340
4338
|
return n;
|
4341
4339
|
}
|
4342
4340
|
}
|
4343
|
-
class
|
4341
|
+
class cs {
|
4344
4342
|
constructor(e) {
|
4345
4343
|
oe(this, "options");
|
4346
4344
|
this.options = e || un;
|
@@ -4364,26 +4362,26 @@ class ls {
|
|
4364
4362
|
return e;
|
4365
4363
|
}
|
4366
4364
|
}
|
4367
|
-
oe(
|
4365
|
+
oe(cs, "passThroughHooks", /* @__PURE__ */ new Set([
|
4368
4366
|
"preprocess",
|
4369
4367
|
"postprocess",
|
4370
4368
|
"processAllTokens"
|
4371
4369
|
]));
|
4372
|
-
var
|
4370
|
+
var gs, ki, _r, Qc;
|
4373
4371
|
class P2 {
|
4374
4372
|
constructor(...e) {
|
4375
|
-
|
4376
|
-
|
4373
|
+
Ur(this, gs);
|
4374
|
+
Ur(this, _r);
|
4377
4375
|
oe(this, "defaults", va());
|
4378
4376
|
oe(this, "options", this.setOptions);
|
4379
|
-
oe(this, "parse",
|
4380
|
-
oe(this, "parseInline",
|
4377
|
+
oe(this, "parse", Rs(this, gs, ki).call(this, ut.lex, dt.parse));
|
4378
|
+
oe(this, "parseInline", Rs(this, gs, ki).call(this, ut.lexInline, dt.parseInline));
|
4381
4379
|
oe(this, "Parser", dt);
|
4382
|
-
oe(this, "Renderer",
|
4380
|
+
oe(this, "Renderer", rr);
|
4383
4381
|
oe(this, "TextRenderer", Ma);
|
4384
4382
|
oe(this, "Lexer", ut);
|
4385
|
-
oe(this, "Tokenizer",
|
4386
|
-
oe(this, "Hooks",
|
4383
|
+
oe(this, "Tokenizer", nr);
|
4384
|
+
oe(this, "Hooks", cs);
|
4387
4385
|
this.use(...e);
|
4388
4386
|
}
|
4389
4387
|
/**
|
@@ -4439,7 +4437,7 @@ class P2 {
|
|
4439
4437
|
}
|
4440
4438
|
"childTokens" in i && i.childTokens && (t.childTokens[i.name] = i.childTokens);
|
4441
4439
|
}), r.extensions = t), n.renderer) {
|
4442
|
-
const i = this.defaults.renderer || new
|
4440
|
+
const i = this.defaults.renderer || new rr(this.defaults);
|
4443
4441
|
for (const a in n.renderer) {
|
4444
4442
|
if (!(a in i))
|
4445
4443
|
throw new Error(`renderer '${a}' does not exist`);
|
@@ -4454,7 +4452,7 @@ class P2 {
|
|
4454
4452
|
r.renderer = i;
|
4455
4453
|
}
|
4456
4454
|
if (n.tokenizer) {
|
4457
|
-
const i = this.defaults.tokenizer || new
|
4455
|
+
const i = this.defaults.tokenizer || new nr(this.defaults);
|
4458
4456
|
for (const a in n.tokenizer) {
|
4459
4457
|
if (!(a in i))
|
4460
4458
|
throw new Error(`tokenizer '${a}' does not exist`);
|
@@ -4469,14 +4467,14 @@ class P2 {
|
|
4469
4467
|
r.tokenizer = i;
|
4470
4468
|
}
|
4471
4469
|
if (n.hooks) {
|
4472
|
-
const i = this.defaults.hooks || new
|
4470
|
+
const i = this.defaults.hooks || new cs();
|
4473
4471
|
for (const a in n.hooks) {
|
4474
4472
|
if (!(a in i))
|
4475
4473
|
throw new Error(`hook '${a}' does not exist`);
|
4476
4474
|
if (a === "options")
|
4477
4475
|
continue;
|
4478
4476
|
const o = a, l = n.hooks[o], c = i[o];
|
4479
|
-
|
4477
|
+
cs.passThroughHooks.has(a) ? i[o] = (u) => {
|
4480
4478
|
if (this.defaults.async)
|
4481
4479
|
return Promise.resolve(l.call(i, u)).then((h) => c.call(i, h));
|
4482
4480
|
const d = l.call(i, u);
|
@@ -4508,11 +4506,11 @@ class P2 {
|
|
4508
4506
|
return dt.parse(e, t ?? this.defaults);
|
4509
4507
|
}
|
4510
4508
|
}
|
4511
|
-
|
4509
|
+
gs = new WeakSet(), ki = function(e, t) {
|
4512
4510
|
return (n, r) => {
|
4513
4511
|
const i = { ...r }, a = { ...this.defaults, ...i };
|
4514
4512
|
this.defaults.async === !0 && i.async === !1 && (a.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), a.async = !0);
|
4515
|
-
const o =
|
4513
|
+
const o = Rs(this, _r, Qc).call(this, !!a.silent, !!a.async);
|
4516
4514
|
if (typeof n > "u" || n === null)
|
4517
4515
|
return o(new Error("marked(): input parameter is undefined or null"));
|
4518
4516
|
if (typeof n != "string")
|
@@ -4529,7 +4527,7 @@ vs = new WeakSet(), ki = function(e, t) {
|
|
4529
4527
|
return o(l);
|
4530
4528
|
}
|
4531
4529
|
};
|
4532
|
-
},
|
4530
|
+
}, _r = new WeakSet(), Qc = function(e, t) {
|
4533
4531
|
return (n) => {
|
4534
4532
|
if (n.message += `
|
4535
4533
|
Please report this to https://github.com/markedjs/marked.`, e) {
|
@@ -4559,12 +4557,12 @@ te.walkTokens = function(s, e) {
|
|
4559
4557
|
te.parseInline = ln.parseInline;
|
4560
4558
|
te.Parser = dt;
|
4561
4559
|
te.parser = dt.parse;
|
4562
|
-
te.Renderer =
|
4560
|
+
te.Renderer = rr;
|
4563
4561
|
te.TextRenderer = Ma;
|
4564
4562
|
te.Lexer = ut;
|
4565
4563
|
te.lexer = ut.lex;
|
4566
|
-
te.Tokenizer =
|
4567
|
-
te.Hooks =
|
4564
|
+
te.Tokenizer = nr;
|
4565
|
+
te.Hooks = cs;
|
4568
4566
|
te.parse = te;
|
4569
4567
|
te.options;
|
4570
4568
|
te.setOptions;
|
@@ -4601,7 +4599,7 @@ Ni || (Ni = function(e, t, n) {
|
|
4601
4599
|
$i || ($i = function(e, t) {
|
4602
4600
|
return new e(...t);
|
4603
4601
|
});
|
4604
|
-
const Zs = Ue(Array.prototype.forEach), Yo = Ue(Array.prototype.pop),
|
4602
|
+
const Zs = Ue(Array.prototype.forEach), Yo = Ue(Array.prototype.pop), es = Ue(Array.prototype.push), qs = Ue(String.prototype.toLowerCase), oi = Ue(String.prototype.toString), G2 = Ue(String.prototype.match), ts = Ue(String.prototype.replace), Z2 = Ue(String.prototype.indexOf), H2 = Ue(String.prototype.trim), Ve = Ue(RegExp.prototype.test), ns = U2(TypeError);
|
4605
4603
|
function Ue(s) {
|
4606
4604
|
return function(e) {
|
4607
4605
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
@@ -4617,7 +4615,7 @@ function U2(s) {
|
|
4617
4615
|
};
|
4618
4616
|
}
|
4619
4617
|
function W(s, e) {
|
4620
|
-
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
4618
|
+
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : qs;
|
4621
4619
|
Wo && Wo(s, null);
|
4622
4620
|
let n = e.length;
|
4623
4621
|
for (; n--; ) {
|
@@ -4652,7 +4650,7 @@ function Hs(s, e) {
|
|
4652
4650
|
}
|
4653
4651
|
return t;
|
4654
4652
|
}
|
4655
|
-
const Qo = Ce(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]),
|
4653
|
+
const Qo = Ce(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), li = Ce(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ci = Ce(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), W2 = Ce(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ui = Ce(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Y2 = Ce(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Jo = Ce(["#text"]), qo = Ce(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "xmlns", "slot"]), di = Ce(["accent-height", "accumulate", "additive", "alignment-baseline", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Xo = Ce(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Us = Ce(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Q2 = et(/\{\{[\w\W]*|[\w\W]*\}\}/gm), J2 = et(/<%[\w\W]*|[\w\W]*%>/gm), q2 = et(/\${[\w\W]*}/gm), X2 = et(/^data-[\-\w.\u00B7-\uFFFF]/), K2 = et(/^aria-[\-\w]+$/), Kc = et(
|
4656
4654
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
4657
4655
|
// eslint-disable-line no-useless-escape
|
4658
4656
|
), em = et(/^(?:\w+script|data):/i), tm = et(
|
@@ -4731,7 +4729,7 @@ function tu() {
|
|
4731
4729
|
MUSTACHE_EXPR: B,
|
4732
4730
|
ERB_EXPR: re,
|
4733
4731
|
TMPLIT_EXPR: I,
|
4734
|
-
DATA_ATTR:
|
4732
|
+
DATA_ATTR: x,
|
4735
4733
|
ARIA_ATTR: O,
|
4736
4734
|
IS_SCRIPT_OR_DATA: C,
|
4737
4735
|
ATTR_WHITESPACE: R
|
@@ -4739,9 +4737,9 @@ function tu() {
|
|
4739
4737
|
let {
|
4740
4738
|
IS_ALLOWED_URI: S
|
4741
4739
|
} = Ko, T = null;
|
4742
|
-
const J = W({}, [...Qo, ...
|
4740
|
+
const J = W({}, [...Qo, ...li, ...ci, ...ui, ...Jo]);
|
4743
4741
|
let F = null;
|
4744
|
-
const K = W({}, [...qo, ...
|
4742
|
+
const K = W({}, [...qo, ...di, ...Xo, ...Us]);
|
4745
4743
|
let Y = Object.seal(Xc(null, {
|
4746
4744
|
tagNameCheck: {
|
4747
4745
|
writable: !0,
|
@@ -4761,26 +4759,26 @@ function tu() {
|
|
4761
4759
|
enumerable: !0,
|
4762
4760
|
value: !1
|
4763
4761
|
}
|
4764
|
-
})), ee = null, ze = null, fn = !0, pn = !0,
|
4762
|
+
})), ee = null, ze = null, fn = !0, pn = !0, Un = !1, Wn = !0, vt = !1, at = !1, mn = !1, _n = !1, gt = !1, Ht = !1, Ut = !1, Ga = !0, Za = !1;
|
4765
4763
|
const i1 = "user-content-";
|
4766
|
-
let
|
4764
|
+
let Fr = !0, Yn = !1, vn = {}, gn = null;
|
4767
4765
|
const Ha = W({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
4768
4766
|
let Ua = null;
|
4769
4767
|
const Wa = W({}, ["audio", "video", "img", "source", "image", "track"]);
|
4770
|
-
let
|
4771
|
-
const Ya = W({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]),
|
4772
|
-
let yn = yt,
|
4773
|
-
const a1 = W({}, [
|
4768
|
+
let Pr = null;
|
4769
|
+
const Ya = W({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ns = "http://www.w3.org/1998/Math/MathML", $s = "http://www.w3.org/2000/svg", yt = "http://www.w3.org/1999/xhtml";
|
4770
|
+
let yn = yt, zr = !1, Br = null;
|
4771
|
+
const a1 = W({}, [Ns, $s, yt], oi);
|
4774
4772
|
let Wt = null;
|
4775
4773
|
const o1 = ["application/xhtml+xml", "text/html"], l1 = "text/html";
|
4776
4774
|
let _e = null, wn = null;
|
4777
4775
|
const c1 = t.createElement("form"), Qa = function(v) {
|
4778
4776
|
return v instanceof RegExp || v instanceof Function;
|
4779
|
-
},
|
4777
|
+
}, Gr = function() {
|
4780
4778
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
4781
4779
|
if (!(wn && wn === v)) {
|
4782
4780
|
if ((!v || typeof v != "object") && (v = {}), v = Mn(v), Wt = // eslint-disable-next-line unicorn/prefer-includes
|
4783
|
-
o1.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? Wt = l1 : Wt = v.PARSER_MEDIA_TYPE, _e = Wt === "application/xhtml+xml" ?
|
4781
|
+
o1.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? Wt = l1 : Wt = v.PARSER_MEDIA_TYPE, _e = Wt === "application/xhtml+xml" ? oi : qs, T = "ALLOWED_TAGS" in v ? W({}, v.ALLOWED_TAGS, _e) : J, F = "ALLOWED_ATTR" in v ? W({}, v.ALLOWED_ATTR, _e) : K, Br = "ALLOWED_NAMESPACES" in v ? W({}, v.ALLOWED_NAMESPACES, oi) : a1, Pr = "ADD_URI_SAFE_ATTR" in v ? W(
|
4784
4782
|
Mn(Ya),
|
4785
4783
|
// eslint-disable-line indent
|
4786
4784
|
v.ADD_URI_SAFE_ATTR,
|
@@ -4794,30 +4792,30 @@ function tu() {
|
|
4794
4792
|
// eslint-disable-line indent
|
4795
4793
|
_e
|
4796
4794
|
// eslint-disable-line indent
|
4797
|
-
) : Wa, gn = "FORBID_CONTENTS" in v ? W({}, v.FORBID_CONTENTS, _e) : Ha, ee = "FORBID_TAGS" in v ? W({}, v.FORBID_TAGS, _e) : {}, ze = "FORBID_ATTR" in v ? W({}, v.FORBID_ATTR, _e) : {}, vn = "USE_PROFILES" in v ? v.USE_PROFILES : !1, fn = v.ALLOW_ARIA_ATTR !== !1, pn = v.ALLOW_DATA_ATTR !== !1,
|
4795
|
+
) : Wa, gn = "FORBID_CONTENTS" in v ? W({}, v.FORBID_CONTENTS, _e) : Ha, ee = "FORBID_TAGS" in v ? W({}, v.FORBID_TAGS, _e) : {}, ze = "FORBID_ATTR" in v ? W({}, v.FORBID_ATTR, _e) : {}, vn = "USE_PROFILES" in v ? v.USE_PROFILES : !1, fn = v.ALLOW_ARIA_ATTR !== !1, pn = v.ALLOW_DATA_ATTR !== !1, Un = v.ALLOW_UNKNOWN_PROTOCOLS || !1, Wn = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, vt = v.SAFE_FOR_TEMPLATES || !1, at = v.WHOLE_DOCUMENT || !1, gt = v.RETURN_DOM || !1, Ht = v.RETURN_DOM_FRAGMENT || !1, Ut = v.RETURN_TRUSTED_TYPE || !1, _n = v.FORCE_BODY || !1, Ga = v.SANITIZE_DOM !== !1, Za = v.SANITIZE_NAMED_PROPS || !1, Fr = v.KEEP_CONTENT !== !1, Yn = v.IN_PLACE || !1, S = v.ALLOWED_URI_REGEXP || Kc, yn = v.NAMESPACE || yt, Y = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Y.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Y.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Y.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), vt && (pn = !1), Ht && (gt = !0), vn && (T = W({}, [...Jo]), F = [], vn.html === !0 && (W(T, Qo), W(F, qo)), vn.svg === !0 && (W(T, li), W(F, di), W(F, Us)), vn.svgFilters === !0 && (W(T, ci), W(F, di), W(F, Us)), vn.mathMl === !0 && (W(T, ui), W(F, Xo), W(F, Us))), v.ADD_TAGS && (T === J && (T = Mn(T)), W(T, v.ADD_TAGS, _e)), v.ADD_ATTR && (F === K && (F = Mn(F)), W(F, v.ADD_ATTR, _e)), v.ADD_URI_SAFE_ATTR && W(Pr, v.ADD_URI_SAFE_ATTR, _e), v.FORBID_CONTENTS && (gn === Ha && (gn = Mn(gn)), W(gn, v.FORBID_CONTENTS, _e)), Fr && (T["#text"] = !0), at && W(T, ["html", "head", "body"]), T.table && (W(T, ["tbody"]), delete ee.tbody), v.TRUSTED_TYPES_POLICY) {
|
4798
4796
|
if (typeof v.TRUSTED_TYPES_POLICY.createHTML != "function")
|
4799
|
-
throw
|
4797
|
+
throw ns('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
4800
4798
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
4801
|
-
throw
|
4799
|
+
throw ns('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
4802
4800
|
A = v.TRUSTED_TYPES_POLICY, V = A.createHTML("");
|
4803
4801
|
} else
|
4804
4802
|
A === void 0 && (A = sm(f, r)), A !== null && typeof V == "string" && (V = A.createHTML(""));
|
4805
4803
|
Ce && Ce(v), wn = v;
|
4806
4804
|
}
|
4807
|
-
}, Ja = W({}, ["mi", "mo", "mn", "ms", "mtext"]), qa = W({}, ["foreignobject", "desc", "title", "annotation-xml"]), u1 = W({}, ["title", "style", "font", "a", "script"]),
|
4808
|
-
W(
|
4809
|
-
const
|
4810
|
-
W(
|
4805
|
+
}, Ja = W({}, ["mi", "mo", "mn", "ms", "mtext"]), qa = W({}, ["foreignobject", "desc", "title", "annotation-xml"]), u1 = W({}, ["title", "style", "font", "a", "script"]), Ds = W({}, li);
|
4806
|
+
W(Ds, ci), W(Ds, W2);
|
4807
|
+
const Zr = W({}, ui);
|
4808
|
+
W(Zr, Y2);
|
4811
4809
|
const d1 = function(v) {
|
4812
4810
|
let L = z(v);
|
4813
4811
|
(!L || !L.tagName) && (L = {
|
4814
4812
|
namespaceURI: yn,
|
4815
4813
|
tagName: "template"
|
4816
4814
|
});
|
4817
|
-
const j =
|
4818
|
-
return
|
4815
|
+
const j = qs(v.tagName), ae = qs(L.tagName);
|
4816
|
+
return Br[v.namespaceURI] ? v.namespaceURI === $s ? L.namespaceURI === yt ? j === "svg" : L.namespaceURI === Ns ? j === "svg" && (ae === "annotation-xml" || Ja[ae]) : !!Ds[j] : v.namespaceURI === Ns ? L.namespaceURI === yt ? j === "math" : L.namespaceURI === $s ? j === "math" && qa[ae] : !!Zr[j] : v.namespaceURI === yt ? L.namespaceURI === $s && !qa[ae] || L.namespaceURI === Ns && !Ja[ae] ? !1 : !Zr[j] && (u1[j] || !Ds[j]) : !!(Wt === "application/xhtml+xml" && Br[v.namespaceURI]) : !1;
|
4819
4817
|
}, Yt = function(v) {
|
4820
|
-
|
4818
|
+
es(e.removed, {
|
4821
4819
|
element: v
|
4822
4820
|
});
|
4823
4821
|
try {
|
@@ -4825,14 +4823,14 @@ function tu() {
|
|
4825
4823
|
} catch {
|
4826
4824
|
v.remove();
|
4827
4825
|
}
|
4828
|
-
},
|
4826
|
+
}, Hr = function(v, L) {
|
4829
4827
|
try {
|
4830
|
-
|
4828
|
+
es(e.removed, {
|
4831
4829
|
attribute: L.getAttributeNode(v),
|
4832
4830
|
from: L
|
4833
4831
|
});
|
4834
4832
|
} catch {
|
4835
|
-
|
4833
|
+
es(e.removed, {
|
4836
4834
|
attribute: null,
|
4837
4835
|
from: L
|
4838
4836
|
});
|
@@ -4866,7 +4864,7 @@ function tu() {
|
|
4866
4864
|
if (!L || !L.documentElement) {
|
4867
4865
|
L = H.createDocument(yn, "template", null);
|
4868
4866
|
try {
|
4869
|
-
L.documentElement.innerHTML =
|
4867
|
+
L.documentElement.innerHTML = zr ? V : ae;
|
4870
4868
|
} catch {
|
4871
4869
|
}
|
4872
4870
|
}
|
@@ -4901,7 +4899,7 @@ function tu() {
|
|
4901
4899
|
if (!T[j] || ee[j]) {
|
4902
4900
|
if (!ee[j] && so(j) && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, j) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(j)))
|
4903
4901
|
return !1;
|
4904
|
-
if (
|
4902
|
+
if (Fr && !gn[j]) {
|
4905
4903
|
const ae = z(v) || v.parentNode, Me = E(v) || v.childNodes;
|
4906
4904
|
if (Me && ae) {
|
4907
4905
|
const xe = Me.length;
|
@@ -4912,14 +4910,14 @@ function tu() {
|
|
4912
4910
|
return Yt(v), !0;
|
4913
4911
|
}
|
4914
4912
|
return v instanceof l && !d1(v) || (j === "noscript" || j === "noembed" || j === "noframes") && Ve(/<\/no(script|embed|frames)/i, v.innerHTML) ? (Yt(v), !0) : (vt && v.nodeType === 3 && (L = v.textContent, Zs([B, re, I], (ae) => {
|
4915
|
-
L =
|
4916
|
-
}), v.textContent !== L && (
|
4913
|
+
L = ts(L, ae, " ");
|
4914
|
+
}), v.textContent !== L && (es(e.removed, {
|
4917
4915
|
element: v.cloneNode()
|
4918
4916
|
}), v.textContent = L)), wt("afterSanitizeElements", v, null), !1);
|
4919
4917
|
}, no = function(v, L, j) {
|
4920
4918
|
if (Ga && (L === "id" || L === "name") && (j in t || j in c1))
|
4921
4919
|
return !1;
|
4922
|
-
if (!(pn && !ze[L] && Ve(
|
4920
|
+
if (!(pn && !ze[L] && Ve(x, L))) {
|
4923
4921
|
if (!(fn && Ve(O, L))) {
|
4924
4922
|
if (!F[L] || ze[L]) {
|
4925
4923
|
if (
|
@@ -4931,10 +4929,10 @@ function tu() {
|
|
4931
4929
|
L === "is" && Y.allowCustomizedBuiltInElements && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, j) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(j)))
|
4932
4930
|
)
|
4933
4931
|
return !1;
|
4934
|
-
} else if (!
|
4935
|
-
if (!Ve(S,
|
4932
|
+
} else if (!Pr[L]) {
|
4933
|
+
if (!Ve(S, ts(j, R, ""))) {
|
4936
4934
|
if (!((L === "src" || L === "xlink:href" || L === "href") && v !== "script" && Z2(j, "data:") === 0 && Ua[v])) {
|
4937
|
-
if (!(
|
4935
|
+
if (!(Un && !Ve(C, ts(j, R, "")))) {
|
4938
4936
|
if (j)
|
4939
4937
|
return !1;
|
4940
4938
|
}
|
@@ -4965,21 +4963,21 @@ function tu() {
|
|
4965
4963
|
name: xe,
|
4966
4964
|
namespaceURI: Te,
|
4967
4965
|
value: Qt
|
4968
|
-
} = Me,
|
4966
|
+
} = Me, Qn = _e(xe);
|
4969
4967
|
let ke = xe === "value" ? Qt : H2(Qt);
|
4970
|
-
if (j.attrName =
|
4968
|
+
if (j.attrName = Qn, j.attrValue = ke, j.keepAttr = !0, j.forceKeepAttr = void 0, wt("uponSanitizeAttribute", v, j), ke = j.attrValue, j.forceKeepAttr || (Hr(xe, v), !j.keepAttr))
|
4971
4969
|
continue;
|
4972
|
-
if (!
|
4973
|
-
|
4970
|
+
if (!Wn && Ve(/\/>/i, ke)) {
|
4971
|
+
Hr(xe, v);
|
4974
4972
|
continue;
|
4975
4973
|
}
|
4976
4974
|
vt && Zs([B, re, I], (ao) => {
|
4977
|
-
ke =
|
4975
|
+
ke = ts(ke, ao, " ");
|
4978
4976
|
});
|
4979
4977
|
const io = _e(v.nodeName);
|
4980
|
-
if (no(io,
|
4981
|
-
if (Za && (
|
4982
|
-
switch (f.getAttributeType(io,
|
4978
|
+
if (no(io, Qn, ke)) {
|
4979
|
+
if (Za && (Qn === "id" || Qn === "name") && (Hr(xe, v), ke = i1 + ke), A && typeof f == "object" && typeof f.getAttributeType == "function" && !Te)
|
4980
|
+
switch (f.getAttributeType(io, Qn)) {
|
4983
4981
|
case "TrustedHTML": {
|
4984
4982
|
ke = A.createHTML(ke);
|
4985
4983
|
break;
|
@@ -5005,19 +5003,19 @@ function tu() {
|
|
5005
5003
|
};
|
5006
5004
|
return e.sanitize = function(P) {
|
5007
5005
|
let v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, L = null, j = null, ae = null, Me = null;
|
5008
|
-
if (
|
5006
|
+
if (zr = !P, zr && (P = "<!-->"), typeof P != "string" && !eo(P))
|
5009
5007
|
if (typeof P.toString == "function") {
|
5010
5008
|
if (P = P.toString(), typeof P != "string")
|
5011
|
-
throw
|
5009
|
+
throw ns("dirty is not a string, aborting");
|
5012
5010
|
} else
|
5013
|
-
throw
|
5011
|
+
throw ns("toString is not a function");
|
5014
5012
|
if (!e.isSupported)
|
5015
5013
|
return P;
|
5016
|
-
if (mn ||
|
5014
|
+
if (mn || Gr(v), e.removed = [], typeof P == "string" && (Yn = !1), Yn) {
|
5017
5015
|
if (P.nodeName) {
|
5018
5016
|
const Qt = _e(P.nodeName);
|
5019
5017
|
if (!T[Qt] || ee[Qt])
|
5020
|
-
throw
|
5018
|
+
throw ns("root node is forbidden and cannot be sanitized in-place");
|
5021
5019
|
}
|
5022
5020
|
} else if (P instanceof o)
|
5023
5021
|
L = Xa("<!---->"), j = L.ownerDocument.importNode(P, !0), j.nodeType === 1 && j.nodeName === "BODY" || j.nodeName === "HTML" ? L = j : L.appendChild(j);
|
@@ -5029,10 +5027,10 @@ function tu() {
|
|
5029
5027
|
return gt ? null : Ut ? V : "";
|
5030
5028
|
}
|
5031
5029
|
L && _n && Yt(L.firstChild);
|
5032
|
-
const xe = Ka(
|
5030
|
+
const xe = Ka(Yn ? P : L);
|
5033
5031
|
for (; ae = xe.nextNode(); )
|
5034
5032
|
to(ae) || (ae.content instanceof i && f1(ae.content), ro(ae));
|
5035
|
-
if (
|
5033
|
+
if (Yn)
|
5036
5034
|
return P;
|
5037
5035
|
if (gt) {
|
5038
5036
|
if (Ht)
|
@@ -5045,19 +5043,19 @@ function tu() {
|
|
5045
5043
|
let Te = at ? L.outerHTML : L.innerHTML;
|
5046
5044
|
return at && T["!doctype"] && L.ownerDocument && L.ownerDocument.doctype && L.ownerDocument.doctype.name && Ve(eu, L.ownerDocument.doctype.name) && (Te = "<!DOCTYPE " + L.ownerDocument.doctype.name + `>
|
5047
5045
|
` + Te), vt && Zs([B, re, I], (Qt) => {
|
5048
|
-
Te =
|
5046
|
+
Te = ts(Te, Qt, " ");
|
5049
5047
|
}), A && Ut ? A.createHTML(Te) : Te;
|
5050
5048
|
}, e.setConfig = function() {
|
5051
5049
|
let P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
5052
|
-
|
5050
|
+
Gr(P), mn = !0;
|
5053
5051
|
}, e.clearConfig = function() {
|
5054
5052
|
wn = null, mn = !1;
|
5055
5053
|
}, e.isValidAttribute = function(P, v, L) {
|
5056
|
-
wn ||
|
5054
|
+
wn || Gr({});
|
5057
5055
|
const j = _e(P), ae = _e(v);
|
5058
5056
|
return no(j, ae, L);
|
5059
5057
|
}, e.addHook = function(P, v) {
|
5060
|
-
typeof v == "function" && (N[P] = N[P] || [],
|
5058
|
+
typeof v == "function" && (N[P] = N[P] || [], es(N[P], v));
|
5061
5059
|
}, e.removeHook = function(P) {
|
5062
5060
|
if (N[P])
|
5063
5061
|
return Yo(N[P]);
|
@@ -5084,7 +5082,7 @@ const Z = {
|
|
5084
5082
|
[Z.LOADING]: "$vcsProgress"
|
5085
5083
|
};
|
5086
5084
|
function am(s, e, t) {
|
5087
|
-
|
5085
|
+
M(s, String), M(e == null ? void 0 : e.value, Object.values(Z)), M(t, Function);
|
5088
5086
|
const n = e.value, r = {
|
5089
5087
|
name: s,
|
5090
5088
|
icon: el[n],
|
@@ -5169,7 +5167,7 @@ function nu(s, e) {
|
|
5169
5167
|
b0(s.getGeometry().getCoordinates()[0]),
|
5170
5168
|
Pe.proj,
|
5171
5169
|
e.value.projection.proj
|
5172
|
-
), e.value = new
|
5170
|
+
), e.value = new bs(t);
|
5173
5171
|
}
|
5174
5172
|
function um(s, e, t, n, r) {
|
5175
5173
|
let i;
|
@@ -5185,12 +5183,12 @@ function um(s, e, t, n, r) {
|
|
5185
5183
|
const o = e.getFeatureById(t);
|
5186
5184
|
if (o) {
|
5187
5185
|
const l = o.getGeometry().on("change", () => {
|
5188
|
-
r.value = !0, nu(o, n),
|
5186
|
+
r.value = !0, nu(o, n), Nn(() => {
|
5189
5187
|
r.value = !1;
|
5190
5188
|
});
|
5191
5189
|
});
|
5192
5190
|
await e.activate(), i = x1(s, e), i.stopped.addEventListener(() => {
|
5193
|
-
a.active = !1,
|
5191
|
+
a.active = !1, $n(l), i = void 0;
|
5194
5192
|
}), i.setFeatures([o]), a.active = !0;
|
5195
5193
|
}
|
5196
5194
|
}
|
@@ -5218,12 +5216,12 @@ function dm(s, e, t, n, r) {
|
|
5218
5216
|
const o = e.getFeatureById(t);
|
5219
5217
|
if (o) {
|
5220
5218
|
const l = o.getGeometry().on("change", () => {
|
5221
|
-
r.value = !0, nu(o, n),
|
5219
|
+
r.value = !0, nu(o, n), Nn(() => {
|
5222
5220
|
r.value = !1;
|
5223
5221
|
});
|
5224
5222
|
});
|
5225
5223
|
await e.activate(), i = L1(s, e), i.stopped.addEventListener(() => {
|
5226
|
-
a.active = !1,
|
5224
|
+
a.active = !1, $n(l), i = void 0;
|
5227
5225
|
}), i.setFeature(o), a.active = !0;
|
5228
5226
|
}
|
5229
5227
|
}
|
@@ -5255,7 +5253,7 @@ function BE(s, e, t) {
|
|
5255
5253
|
zIndex: Yi - 1
|
5256
5254
|
});
|
5257
5255
|
Qi(n), s.layers.add(n);
|
5258
|
-
const r = new
|
5256
|
+
const r = new As(), i = Gt(), a = w(!1);
|
5259
5257
|
r.setId(i), n.addFeatures([r]), e.value.isValid() && tl(e, n, i);
|
5260
5258
|
const o = ie(
|
5261
5259
|
e,
|
@@ -5415,7 +5413,7 @@ class gm {
|
|
5415
5413
|
}
|
5416
5414
|
const ym = {
|
5417
5415
|
name: "ImportComponent",
|
5418
|
-
components: { VcsFormButton:
|
5416
|
+
components: { VcsFormButton: Er, VcsTextField: je, VCard: cn, FileDrop: _m },
|
5419
5417
|
props: {
|
5420
5418
|
importFiles: {
|
5421
5419
|
type: Function,
|
@@ -5493,7 +5491,7 @@ function Lm(s, e, t = {}) {
|
|
5493
5491
|
};
|
5494
5492
|
}
|
5495
5493
|
function xa(s, e) {
|
5496
|
-
|
5494
|
+
M(e, {
|
5497
5495
|
name: String,
|
5498
5496
|
icon: [void 0, String],
|
5499
5497
|
title: [void 0, String],
|
@@ -5522,7 +5520,7 @@ function GE(s, e, t) {
|
|
5522
5520
|
};
|
5523
5521
|
}
|
5524
5522
|
function ZE(s, e, t, n) {
|
5525
|
-
|
5523
|
+
M(s, Function), M(t, [String, Q]), M(n, String);
|
5526
5524
|
const { action: r, destroy: i } = $t(
|
5527
5525
|
{
|
5528
5526
|
name: "list.import"
|
@@ -5574,7 +5572,7 @@ function Im(s, e, t, n, r) {
|
|
5574
5572
|
}
|
5575
5573
|
};
|
5576
5574
|
}
|
5577
|
-
const
|
5575
|
+
const Es = new Ji();
|
5578
5576
|
function St(s, e) {
|
5579
5577
|
e.forEach(
|
5580
5578
|
(t) => {
|
@@ -5583,7 +5581,7 @@ function St(s, e) {
|
|
5583
5581
|
}
|
5584
5582
|
);
|
5585
5583
|
}
|
5586
|
-
class
|
5584
|
+
class Tr {
|
5587
5585
|
/**
|
5588
5586
|
* @type {string}
|
5589
5587
|
*/
|
@@ -5609,7 +5607,7 @@ class Sr {
|
|
5609
5607
|
};
|
5610
5608
|
}
|
5611
5609
|
}
|
5612
|
-
class nl extends
|
5610
|
+
class nl extends Tr {
|
5613
5611
|
/**
|
5614
5612
|
* @type {string}
|
5615
5613
|
*/
|
@@ -5634,11 +5632,11 @@ class nl extends Sr {
|
|
5634
5632
|
return e.layerNames = this._layerNames.slice(), e;
|
5635
5633
|
}
|
5636
5634
|
}
|
5637
|
-
|
5635
|
+
Es.registerClass(
|
5638
5636
|
nl.className,
|
5639
5637
|
nl
|
5640
5638
|
);
|
5641
|
-
class sl extends
|
5639
|
+
class sl extends Tr {
|
5642
5640
|
/**
|
5643
5641
|
* @type {string}
|
5644
5642
|
*/
|
@@ -5663,11 +5661,11 @@ class sl extends Sr {
|
|
5663
5661
|
return e.layerNames = this._layerNames.slice(), e;
|
5664
5662
|
}
|
5665
5663
|
}
|
5666
|
-
|
5664
|
+
Es.registerClass(
|
5667
5665
|
sl.className,
|
5668
5666
|
sl
|
5669
5667
|
);
|
5670
|
-
class rl extends
|
5668
|
+
class rl extends Tr {
|
5671
5669
|
/**
|
5672
5670
|
* @type {string}
|
5673
5671
|
*/
|
@@ -5693,11 +5691,11 @@ class rl extends Sr {
|
|
5693
5691
|
return e.viewpoint = this._viewpoint, e;
|
5694
5692
|
}
|
5695
5693
|
}
|
5696
|
-
|
5694
|
+
Es.registerClass(
|
5697
5695
|
rl.className,
|
5698
5696
|
rl
|
5699
5697
|
);
|
5700
|
-
class il extends
|
5698
|
+
class il extends Tr {
|
5701
5699
|
/**
|
5702
5700
|
* @type {string}
|
5703
5701
|
*/
|
@@ -5723,7 +5721,7 @@ class il extends Sr {
|
|
5723
5721
|
return e.styleName = this._styleName, e.layerName = this._layerName, e;
|
5724
5722
|
}
|
5725
5723
|
}
|
5726
|
-
|
5724
|
+
Es.registerClass(
|
5727
5725
|
il.className,
|
5728
5726
|
il
|
5729
5727
|
);
|
@@ -5754,7 +5752,7 @@ class su {
|
|
5754
5752
|
* @param {string} id
|
5755
5753
|
*/
|
5756
5754
|
remove(e) {
|
5757
|
-
|
5755
|
+
M(e, String);
|
5758
5756
|
const t = this._buttonComponents.get(e);
|
5759
5757
|
if (t) {
|
5760
5758
|
const n = this.componentIds.indexOf(e);
|
@@ -5769,7 +5767,7 @@ class su {
|
|
5769
5767
|
* @returns {ButtonComponent}
|
5770
5768
|
*/
|
5771
5769
|
add(e, t) {
|
5772
|
-
if (pe(e.id, String), pe(e.weight, Number),
|
5770
|
+
if (pe(e.id, String), pe(e.weight, Number), M(e.action, tr), M(t, [String, Q]), e.id && this.has(e.id))
|
5773
5771
|
throw new Error(
|
5774
5772
|
`A button with id ${e.id} has already been registered.`
|
5775
5773
|
);
|
@@ -5787,7 +5785,7 @@ class su {
|
|
5787
5785
|
return e.weight || 0;
|
5788
5786
|
},
|
5789
5787
|
set weight(a) {
|
5790
|
-
|
5788
|
+
M(a, Number), e.weight = a;
|
5791
5789
|
}
|
5792
5790
|
};
|
5793
5791
|
return this._buttonComponents.set(n, i), this.componentIds.push(n), this.added.raiseEvent(i), i;
|
@@ -5842,7 +5840,7 @@ class Em extends su {
|
|
5842
5840
|
* @returns {import("./buttonManager.js").ButtonComponent}
|
5843
5841
|
*/
|
5844
5842
|
add(e, t, n) {
|
5845
|
-
|
5843
|
+
M(n, Object.values(Ne));
|
5846
5844
|
const r = super.add(e, t);
|
5847
5845
|
return r[ru] = n, r;
|
5848
5846
|
}
|
@@ -5853,7 +5851,7 @@ class Em extends su {
|
|
5853
5851
|
* @param {boolean} [active]
|
5854
5852
|
*/
|
5855
5853
|
toggle(e, t = void 0) {
|
5856
|
-
if (
|
5854
|
+
if (M(e, String), this.has(e)) {
|
5857
5855
|
const { action: n } = this.get(e);
|
5858
5856
|
t !== void 0 ? (n == null ? void 0 : n.active) !== t && n.callback() : n && n.callback();
|
5859
5857
|
}
|
@@ -5865,12 +5863,12 @@ const Tm = {
|
|
5865
5863
|
components: {
|
5866
5864
|
VcsActionButtonList: st,
|
5867
5865
|
VcsActionList: ma,
|
5868
|
-
VcsToolButton:
|
5869
|
-
VToolbar:
|
5866
|
+
VcsToolButton: Ls,
|
5867
|
+
VToolbar: wr,
|
5870
5868
|
VContainer: me,
|
5871
5869
|
VRow: Re,
|
5872
5870
|
VCol: Ye,
|
5873
|
-
VToolbarItems:
|
5871
|
+
VToolbarItems: br,
|
5874
5872
|
VDivider: _t,
|
5875
5873
|
VMenu: Bt
|
5876
5874
|
},
|
@@ -5943,7 +5941,7 @@ const Rm = {
|
|
5943
5941
|
setup(s, { emit: e }) {
|
5944
5942
|
const t = q("vcsApp"), { provides: n } = t.windowManager.get(s.windowState.id);
|
5945
5943
|
Object.entries(n).forEach(([p, _]) => {
|
5946
|
-
|
5944
|
+
ys(p, _);
|
5947
5945
|
});
|
5948
5946
|
const r = y(() => !!s.windowState.parentId), i = y(() => s.slotWindow !== U.STATIC), a = y(() => s.slotWindow !== U.DETACHED), o = y(() => s.slotWindow === U.STATIC || s.slotWindow === U.DYNAMIC_LEFT || s.slotWindow === U.DYNAMIC_CHILD), l = y(
|
5949
5947
|
() => s.slotWindow === U.DYNAMIC_RIGHT
|
@@ -6105,7 +6103,7 @@ const Hm = {
|
|
6105
6103
|
const E = e.get(_), z = o(E);
|
6106
6104
|
rp(_, g, e, n.value, z);
|
6107
6105
|
}, d = w(t), h = y(() => zt().proxy.$vuetify.breakpoint.xs && d.value.length > 0), f = () => {
|
6108
|
-
n.value =
|
6106
|
+
n.value = Bn(s.maps.target);
|
6109
6107
|
};
|
6110
6108
|
window.addEventListener("resize", f);
|
6111
6109
|
const p = s.maps.mapActivated.addEventListener(f);
|
@@ -6176,7 +6174,7 @@ const Qm = Ym.exports, Vt = {
|
|
6176
6174
|
icon: "mdi-dots-grid",
|
6177
6175
|
title: "toolbox.miscellaneous"
|
6178
6176
|
}
|
6179
|
-
], al = ["featureInfo", "flight"],
|
6177
|
+
], al = ["featureInfo", "flight"], rs = Symbol("defaultToolboxName");
|
6180
6178
|
function qm(s, e, t = []) {
|
6181
6179
|
const n = [Q, ...t];
|
6182
6180
|
let r = n.indexOf(s.owner), i = n.indexOf(e.owner);
|
@@ -6192,16 +6190,16 @@ function Xm(s, e = Jm) {
|
|
6192
6190
|
}
|
6193
6191
|
class Km {
|
6194
6192
|
constructor() {
|
6195
|
-
this.added = new Ae(), this.removed = new Ae(), this.componentIds = [], this._toolboxGroups = /* @__PURE__ */ new Map(), this._toolboxName =
|
6193
|
+
this.added = new Ae(), this.removed = new Ae(), this.componentIds = [], this._toolboxGroups = /* @__PURE__ */ new Map(), this._toolboxName = rs, this.toolboxNameChanged = new Ae();
|
6196
6194
|
}
|
6197
6195
|
get toolboxName() {
|
6198
6196
|
return this._toolboxName;
|
6199
6197
|
}
|
6200
6198
|
set toolboxName(e) {
|
6201
|
-
|
6199
|
+
M(e, [String, rs]), this._toolboxName !== e && (this._toolboxName = e, this.toolboxNameChanged.raiseEvent(e));
|
6202
6200
|
}
|
6203
6201
|
setDefaultToolboxName() {
|
6204
|
-
this.toolboxName =
|
6202
|
+
this.toolboxName = rs;
|
6205
6203
|
}
|
6206
6204
|
/**
|
6207
6205
|
* @param {string} id
|
@@ -6223,7 +6221,7 @@ class Km {
|
|
6223
6221
|
* @param {string} id
|
6224
6222
|
*/
|
6225
6223
|
remove(e) {
|
6226
|
-
|
6224
|
+
M(e, String);
|
6227
6225
|
const t = this._toolboxGroups.get(e);
|
6228
6226
|
if (t) {
|
6229
6227
|
const n = this.componentIds.indexOf(e);
|
@@ -6238,11 +6236,11 @@ class Km {
|
|
6238
6236
|
* @returns {SingleToolboxComponent|SelectToolboxComponent|import("vue").ShallowReactive<GroupToolboxComponent>}
|
6239
6237
|
*/
|
6240
6238
|
add(e, t) {
|
6241
|
-
if (pe(e.id, String),
|
6239
|
+
if (pe(e.id, String), M(e.type, Object.values(Vt)), M(t, [String, Q]), e.id && this.has(e.id))
|
6242
6240
|
throw new Error(
|
6243
6241
|
`A toolGroup with id ${e.id} has already been registered.`
|
6244
6242
|
);
|
6245
|
-
const n = e.id || Gt(), { type: r, toolboxNames: i } = e, a = i ? [...i] : [
|
6243
|
+
const n = e.id || Gt(), { type: r, toolboxNames: i } = e, a = i ? [...i] : [rs];
|
6246
6244
|
let o = {
|
6247
6245
|
get id() {
|
6248
6246
|
return n;
|
@@ -6258,7 +6256,7 @@ class Km {
|
|
6258
6256
|
}
|
6259
6257
|
};
|
6260
6258
|
if (r === Vt.SINGLE) {
|
6261
|
-
|
6259
|
+
M(e.action, tr);
|
6262
6260
|
const l = Si(e.action);
|
6263
6261
|
o = {
|
6264
6262
|
...o,
|
@@ -6267,8 +6265,8 @@ class Km {
|
|
6267
6265
|
}
|
6268
6266
|
};
|
6269
6267
|
} else if (r === Vt.SELECT) {
|
6270
|
-
|
6271
|
-
...
|
6268
|
+
M(e.action, {
|
6269
|
+
...tr,
|
6272
6270
|
selected: Function,
|
6273
6271
|
currentIndex: Number,
|
6274
6272
|
disabled: [void 0, Boolean],
|
@@ -6289,7 +6287,7 @@ class Km {
|
|
6289
6287
|
}
|
6290
6288
|
};
|
6291
6289
|
} else {
|
6292
|
-
|
6290
|
+
M(e.icon, String), pe(e.title, String), pe(e.disabled, Boolean);
|
6293
6291
|
const {
|
6294
6292
|
icon: l,
|
6295
6293
|
title: c = void 0,
|
@@ -6335,11 +6333,11 @@ class Km {
|
|
6335
6333
|
const e_ = {
|
6336
6334
|
name: "ToolboxActionSelect",
|
6337
6335
|
components: {
|
6338
|
-
VcsToolButton:
|
6336
|
+
VcsToolButton: Ls,
|
6339
6337
|
VMenu: Bt,
|
6340
6338
|
VIcon: le,
|
6341
|
-
VToolbar:
|
6342
|
-
VToolbarItems:
|
6339
|
+
VToolbar: wr,
|
6340
|
+
VToolbarItems: br
|
6343
6341
|
},
|
6344
6342
|
props: {
|
6345
6343
|
group: {
|
@@ -6384,11 +6382,11 @@ const r_ = s_.exports;
|
|
6384
6382
|
const i_ = {
|
6385
6383
|
name: "ToolboxActionGroup",
|
6386
6384
|
components: {
|
6387
|
-
VcsToolButton:
|
6385
|
+
VcsToolButton: Ls,
|
6388
6386
|
VMenu: Bt,
|
6389
6387
|
VIcon: le,
|
6390
|
-
VToolbar:
|
6391
|
-
VToolbarItems:
|
6388
|
+
VToolbar: wr,
|
6389
|
+
VToolbarItems: br
|
6392
6390
|
},
|
6393
6391
|
props: {
|
6394
6392
|
group: {
|
@@ -6442,9 +6440,9 @@ const u_ = {
|
|
6442
6440
|
components: {
|
6443
6441
|
ToolboxActionSelect: r_,
|
6444
6442
|
ToolboxActionGroup: c_,
|
6445
|
-
VcsToolButton:
|
6446
|
-
VToolbar:
|
6447
|
-
VToolbarItems:
|
6443
|
+
VcsToolButton: Ls,
|
6444
|
+
VToolbar: wr,
|
6445
|
+
VToolbarItems: br
|
6448
6446
|
},
|
6449
6447
|
setup() {
|
6450
6448
|
const s = q("vcsApp"), e = w(s.toolboxManager.componentIds), t = y(() => e.value.map(
|
@@ -6485,7 +6483,7 @@ const u_ = {
|
|
6485
6483
|
toolboxOpen: o,
|
6486
6484
|
orderedGroups: a,
|
6487
6485
|
isDefaultToolbox: y(
|
6488
|
-
() => n.value ===
|
6486
|
+
() => n.value === rs
|
6489
6487
|
),
|
6490
6488
|
ToolboxType: Vt,
|
6491
6489
|
open: w(!1)
|
@@ -6540,7 +6538,7 @@ var __ = function() {
|
|
6540
6538
|
null
|
6541
6539
|
);
|
6542
6540
|
const au = g_.exports;
|
6543
|
-
class y_ extends
|
6541
|
+
class y_ extends vr {
|
6544
6542
|
constructor() {
|
6545
6543
|
super(lt.CLICK, qi.ALL), this.mapClicked = new Ae(), this.setActive();
|
6546
6544
|
}
|
@@ -6595,11 +6593,11 @@ function A_(s) {
|
|
6595
6593
|
function M_(s, e = 0, t = 1) {
|
6596
6594
|
return Math.max(e, Math.min(t, s));
|
6597
6595
|
}
|
6598
|
-
function
|
6596
|
+
function us(s = {}, e = {}) {
|
6599
6597
|
for (const t in e) {
|
6600
6598
|
const n = s[t], r = e[t];
|
6601
6599
|
if (ol(n) && ol(r)) {
|
6602
|
-
s[t] =
|
6600
|
+
s[t] = us(n, r);
|
6603
6601
|
continue;
|
6604
6602
|
}
|
6605
6603
|
s[t] = r;
|
@@ -6609,7 +6607,7 @@ function cs(s = {}, e = {}) {
|
|
6609
6607
|
function Ri(s, e = {}) {
|
6610
6608
|
if (Ri.installed)
|
6611
6609
|
return;
|
6612
|
-
Ri.installed = !0,
|
6610
|
+
Ri.installed = !0, Fn !== s && yu(`Multiple instances of Vue detected
|
6613
6611
|
See https://github.com/vuetifyjs/vuetify/issues/4068
|
6614
6612
|
|
6615
6613
|
If you're seeing "$attrs is readonly", it's caused by this`);
|
@@ -6670,14 +6668,14 @@ class lu extends dn {
|
|
6670
6668
|
}
|
6671
6669
|
}
|
6672
6670
|
lu.property = "application";
|
6673
|
-
class
|
6671
|
+
class kr extends dn {
|
6674
6672
|
constructor(e) {
|
6675
6673
|
super(), this.xs = !1, this.sm = !1, this.md = !1, this.lg = !1, this.xl = !1, this.xsOnly = !1, this.smOnly = !1, this.smAndDown = !1, this.smAndUp = !1, this.mdOnly = !1, this.mdAndDown = !1, this.mdAndUp = !1, this.lgOnly = !1, this.lgAndDown = !1, this.lgAndUp = !1, this.xlOnly = !1, this.name = "xs", this.height = 0, this.width = 0, this.mobile = !0, this.resizeTimeout = 0;
|
6676
6674
|
const {
|
6677
6675
|
mobileBreakpoint: t,
|
6678
6676
|
scrollBarWidth: n,
|
6679
6677
|
thresholds: r
|
6680
|
-
} = e[
|
6678
|
+
} = e[kr.property];
|
6681
6679
|
this.mobileBreakpoint = t, this.scrollBarWidth = n, this.thresholds = r;
|
6682
6680
|
}
|
6683
6681
|
init() {
|
@@ -6730,7 +6728,7 @@ class Tr extends dn {
|
|
6730
6728
|
return typeof document > "u" ? 0 : Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
|
6731
6729
|
}
|
6732
6730
|
}
|
6733
|
-
|
6731
|
+
kr.property = "breakpoint";
|
6734
6732
|
const x_ = (s) => s, L_ = (s) => s ** 2, I_ = (s) => s * (2 - s), C_ = (s) => s < 0.5 ? 2 * s ** 2 : -1 + (4 - 2 * s) * s, E_ = (s) => s ** 3, S_ = (s) => --s ** 3 + 1, T_ = (s) => s < 0.5 ? 4 * s ** 3 : (s - 1) * (2 * s - 2) * (2 * s - 2) + 1, k_ = (s) => s ** 4, N_ = (s) => 1 - --s ** 4, $_ = (s) => s < 0.5 ? 8 * s * s * s * s : 1 - 8 * --s * s * s * s, D_ = (s) => s ** 5, R_ = (s) => 1 + --s ** 5, j_ = (s) => s < 0.5 ? 16 * s ** 5 : 1 + 16 * --s ** 5, O_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6735
6733
|
__proto__: null,
|
6736
6734
|
easeInCubic: E_,
|
@@ -6747,7 +6745,7 @@ const x_ = (s) => s, L_ = (s) => s ** 2, I_ = (s) => s * (2 - s), C_ = (s) => s
|
|
6747
6745
|
easeOutQuint: R_,
|
6748
6746
|
linear: x_
|
6749
6747
|
}, Symbol.toStringTag, { value: "Module" }));
|
6750
|
-
function
|
6748
|
+
function hi(s) {
|
6751
6749
|
if (typeof s == "number")
|
6752
6750
|
return s;
|
6753
6751
|
let e = uu(s);
|
@@ -6770,7 +6768,7 @@ function cu(s) {
|
|
6770
6768
|
function uu(s) {
|
6771
6769
|
return typeof s == "string" ? document.querySelector(s) : s && s._isVue ? s.$el : s instanceof HTMLElement ? s : null;
|
6772
6770
|
}
|
6773
|
-
function
|
6771
|
+
function ms(s, e = {}) {
|
6774
6772
|
const t = {
|
6775
6773
|
container: document.scrollingElement || document.body || document.documentElement,
|
6776
6774
|
duration: 500,
|
@@ -6779,16 +6777,16 @@ function ps(s, e = {}) {
|
|
6779
6777
|
appOffset: !0,
|
6780
6778
|
...e
|
6781
6779
|
}, n = V_(t.container);
|
6782
|
-
if (t.appOffset &&
|
6780
|
+
if (t.appOffset && ms.framework.application) {
|
6783
6781
|
const l = n.classList.contains("v-navigation-drawer"), c = n.classList.contains("v-navigation-drawer--clipped"), {
|
6784
6782
|
bar: u,
|
6785
6783
|
top: d
|
6786
|
-
} =
|
6784
|
+
} = ms.framework.application;
|
6787
6785
|
t.offset += u, (!l || c) && (t.offset += d);
|
6788
6786
|
}
|
6789
6787
|
const r = performance.now();
|
6790
6788
|
let i;
|
6791
|
-
typeof s == "number" ? i =
|
6789
|
+
typeof s == "number" ? i = hi(s) - t.offset : i = hi(s) - hi(n) - t.offset;
|
6792
6790
|
const a = n.scrollTop;
|
6793
6791
|
if (i === a)
|
6794
6792
|
return Promise.resolve(i);
|
@@ -6805,12 +6803,12 @@ function ps(s, e = {}) {
|
|
6805
6803
|
requestAnimationFrame(c);
|
6806
6804
|
}));
|
6807
6805
|
}
|
6808
|
-
|
6809
|
-
|
6806
|
+
ms.framework = {};
|
6807
|
+
ms.init = () => {
|
6810
6808
|
};
|
6811
6809
|
class du extends dn {
|
6812
6810
|
constructor() {
|
6813
|
-
return super(),
|
6811
|
+
return super(), ms;
|
6814
6812
|
}
|
6815
6813
|
}
|
6816
6814
|
du.property = "goTo";
|
@@ -7012,7 +7010,7 @@ let fu = class pu extends dn {
|
|
7012
7010
|
values: n,
|
7013
7011
|
component: r
|
7014
7012
|
} = e[pu.property];
|
7015
|
-
this.component = r, this.iconfont = t, this.values =
|
7013
|
+
this.component = r, this.iconfont = t, this.values = us(J_[t], n);
|
7016
7014
|
}
|
7017
7015
|
};
|
7018
7016
|
fu.property = "icons";
|
@@ -7020,16 +7018,16 @@ const mu = "$vuetify.", ll = Symbol("Lang fallback");
|
|
7020
7018
|
function _u(s, e, t = !1, n) {
|
7021
7019
|
const r = e.replace(mu, "");
|
7022
7020
|
let i = b_(s, r, ll);
|
7023
|
-
return i === ll && (t ? (yu(`Translation key "${r}" not found in fallback`), i = e) : (
|
7021
|
+
return i === ll && (t ? (yu(`Translation key "${r}" not found in fallback`), i = e) : (ds(`Translation key "${r}" not found, falling back to default`), i = _u(n, e, !0, n))), i;
|
7024
7022
|
}
|
7025
|
-
class
|
7023
|
+
class Nr extends dn {
|
7026
7024
|
constructor(e) {
|
7027
7025
|
super(), this.defaultLocale = "en";
|
7028
7026
|
const {
|
7029
7027
|
current: t,
|
7030
7028
|
locales: n,
|
7031
7029
|
t: r
|
7032
|
-
} = e[
|
7030
|
+
} = e[Nr.property];
|
7033
7031
|
this.current = t, this.locales = n, this.translator = r || this.defaultTranslator;
|
7034
7032
|
}
|
7035
7033
|
currentLocale(e) {
|
@@ -7046,7 +7044,7 @@ class kr extends dn {
|
|
7046
7044
|
return e.replace(/\{(\d+)\}/g, (n, r) => String(t[+r]));
|
7047
7045
|
}
|
7048
7046
|
}
|
7049
|
-
|
7047
|
+
Nr.property = "lang";
|
7050
7048
|
const q_ = {
|
7051
7049
|
badge: "Badge",
|
7052
7050
|
close: "Close",
|
@@ -7177,17 +7175,17 @@ const q_ = {
|
|
7177
7175
|
class vu extends dn {
|
7178
7176
|
constructor(e, t) {
|
7179
7177
|
super();
|
7180
|
-
const n =
|
7178
|
+
const n = us({}, X_), {
|
7181
7179
|
userPreset: r
|
7182
7180
|
} = t, {
|
7183
7181
|
preset: i = {},
|
7184
7182
|
...a
|
7185
7183
|
} = r;
|
7186
|
-
i.preset != null &&
|
7184
|
+
i.preset != null && ds("Global presets do not support the **preset** option, it can be safely omitted"), t.preset = us(us(n, i), a);
|
7187
7185
|
}
|
7188
7186
|
}
|
7189
7187
|
vu.property = "presets";
|
7190
|
-
class
|
7188
|
+
class $r extends dn {
|
7191
7189
|
constructor(e) {
|
7192
7190
|
super(), this.disabled = !1, this.isDark = null, this.unwatch = null, this.vueMeta = null;
|
7193
7191
|
const {
|
@@ -7195,7 +7193,7 @@ class Nr extends dn {
|
|
7195
7193
|
disable: n,
|
7196
7194
|
options: r,
|
7197
7195
|
themes: i
|
7198
|
-
} = e[
|
7196
|
+
} = e[$r.property];
|
7199
7197
|
if (this.dark = !!t, this.defaults = this.themes = i, this.options = r, n) {
|
7200
7198
|
this.disabled = !0;
|
7201
7199
|
return;
|
@@ -7296,7 +7294,7 @@ class Nr extends dn {
|
|
7296
7294
|
}
|
7297
7295
|
initTheme(e) {
|
7298
7296
|
typeof document > "u" || (this.unwatch && (this.unwatch(), this.unwatch = null), e.$once("hook:created", () => {
|
7299
|
-
const t =
|
7297
|
+
const t = Fn.observable({
|
7300
7298
|
themes: this.themes
|
7301
7299
|
});
|
7302
7300
|
this.unwatch = e.$watch(() => t.themes, () => this.applyTheme(), {
|
@@ -7322,12 +7320,12 @@ class Nr extends dn {
|
|
7322
7320
|
return typeof this.vueMeta.addApp == "function";
|
7323
7321
|
}
|
7324
7322
|
}
|
7325
|
-
|
7326
|
-
class
|
7323
|
+
$r.property = "theme";
|
7324
|
+
class Ss {
|
7327
7325
|
constructor(e = {}) {
|
7328
7326
|
this.framework = {
|
7329
7327
|
isHydrating: !1
|
7330
|
-
}, this.installed = [], this.preset = {}, this.userPreset = {}, this.userPreset = e, this.use(vu), this.use(lu), this.use(
|
7328
|
+
}, this.installed = [], this.preset = {}, this.userPreset = {}, this.userPreset = e, this.use(vu), this.use(lu), this.use(kr), this.use(du), this.use(fu), this.use(Nr), this.use($r);
|
7331
7329
|
}
|
7332
7330
|
// Called on the new vuetify instance
|
7333
7331
|
// bootstrap in install beforeCreate
|
@@ -7344,14 +7342,14 @@ class Es {
|
|
7344
7342
|
this.installed.includes(t) || (this.framework[t] = new e(this.preset, this), this.installed.push(t));
|
7345
7343
|
}
|
7346
7344
|
}
|
7347
|
-
|
7348
|
-
|
7349
|
-
|
7350
|
-
|
7345
|
+
Ss.install = Ri;
|
7346
|
+
Ss.installed = !1;
|
7347
|
+
Ss.version = "2.6.16";
|
7348
|
+
Ss.config = {
|
7351
7349
|
silent: !1
|
7352
7350
|
};
|
7353
7351
|
function gu(s, e, t) {
|
7354
|
-
if (!
|
7352
|
+
if (!Ss.config.silent) {
|
7355
7353
|
if (t && (e = {
|
7356
7354
|
_isVue: !0,
|
7357
7355
|
$parent: t,
|
@@ -7364,7 +7362,7 @@ function gu(s, e, t) {
|
|
7364
7362
|
return `[Vuetify] ${s}` + (e ? tv(e) : "");
|
7365
7363
|
}
|
7366
7364
|
}
|
7367
|
-
function
|
7365
|
+
function ds(s, e, t) {
|
7368
7366
|
const n = gu(s, e, t);
|
7369
7367
|
n != null && console.warn(n);
|
7370
7368
|
}
|
@@ -7373,7 +7371,7 @@ function yu(s, e, t) {
|
|
7373
7371
|
n != null && console.error(n);
|
7374
7372
|
}
|
7375
7373
|
const K_ = /(?:^|[-_])(\w)/g, ev = (s) => s.replace(K_, (e) => e.toUpperCase()).replace(/[-_]/g, "");
|
7376
|
-
function
|
7374
|
+
function fi(s, e) {
|
7377
7375
|
if (s.$root === s)
|
7378
7376
|
return "<Root>";
|
7379
7377
|
const t = typeof s == "function" && s.cid != null ? s.options : s._isVue ? s.$options || s.constructor.options : s || {};
|
@@ -7404,12 +7402,12 @@ function tv(s) {
|
|
7404
7402
|
|
7405
7403
|
found in
|
7406
7404
|
|
7407
|
-
` + e.map((n, r) => `${r === 0 ? "---> " : " ".repeat(5 + r * 2)}${Array.isArray(n) ? `${
|
7405
|
+
` + e.map((n, r) => `${r === 0 ? "---> " : " ".repeat(5 + r * 2)}${Array.isArray(n) ? `${fi(n[0])}... (${n[1]} recursive calls)` : fi(n)}`).join(`
|
7408
7406
|
`);
|
7409
7407
|
} else
|
7410
7408
|
return `
|
7411
7409
|
|
7412
|
-
(found in ${
|
7410
|
+
(found in ${fi(s)})`;
|
7413
7411
|
}
|
7414
7412
|
const nv = [[3.2406, -1.5372, -0.4986], [-0.9689, 1.8758, 0.0415], [0.0557, -0.204, 1.057]], sv = (s) => s <= 31308e-7 ? s * 12.92 : 1.055 * s ** (1 / 2.4) - 0.055, rv = [[0.4124, 0.3576, 0.1805], [0.2126, 0.7152, 0.0722], [0.0193, 0.1192, 0.9505]], iv = (s) => s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4;
|
7415
7413
|
function wu(s) {
|
@@ -7424,25 +7422,25 @@ function bu(s) {
|
|
7424
7422
|
e[o] = n[o][0] * r + n[o][1] * i + n[o][2] * a;
|
7425
7423
|
return e;
|
7426
7424
|
}
|
7427
|
-
function
|
7425
|
+
function ir(s) {
|
7428
7426
|
let e;
|
7429
7427
|
if (typeof s == "number")
|
7430
7428
|
e = s;
|
7431
7429
|
else if (typeof s == "string") {
|
7432
7430
|
let t = s[0] === "#" ? s.substring(1) : s;
|
7433
|
-
t.length === 3 && (t = t.split("").map((n) => n + n).join("")), t.length !== 6 &&
|
7431
|
+
t.length === 3 && (t = t.split("").map((n) => n + n).join("")), t.length !== 6 && ds(`'${s}' is not a valid rgb color`), e = parseInt(t, 16);
|
7434
7432
|
} else
|
7435
7433
|
throw new TypeError(`Colors can only be numbers or strings, recieved ${s == null ? s : s.constructor.name} instead`);
|
7436
|
-
return e < 0 ? (
|
7434
|
+
return e < 0 ? (ds(`Colors cannot be negative: '${s}'`), e = 0) : (e > 16777215 || isNaN(e)) && (ds(`'${s}' is not a valid rgb color`), e = 16777215), e;
|
7437
7435
|
}
|
7438
|
-
function
|
7436
|
+
function hs(s) {
|
7439
7437
|
let e = s.toString(16);
|
7440
7438
|
return e.length < 6 && (e = "0".repeat(6 - e.length) + e), "#" + e;
|
7441
7439
|
}
|
7442
7440
|
function av(s) {
|
7443
|
-
return
|
7441
|
+
return hs(ir(s));
|
7444
7442
|
}
|
7445
|
-
const
|
7443
|
+
const ar = 0.20689655172413793, ov = (s) => s > ar ** 3 ? Math.cbrt(s) : s / (3 * ar ** 2) + 4 / 29, lv = (s) => s > ar ? s ** 3 : 3 * ar ** 2 * (s - 4 / 29);
|
7446
7444
|
function Au(s) {
|
7447
7445
|
const e = ov, t = e(s[1]);
|
7448
7446
|
return [116 * t - 16, 500 * (e(s[0] / 0.95047) - t), 200 * (t - e(s[2] / 1.08883))];
|
@@ -7458,8 +7456,8 @@ function xu(s, e = !1, t = !0) {
|
|
7458
7456
|
} = s, i = Object.keys(r), a = {};
|
7459
7457
|
for (let o = 0; o < i.length; ++o) {
|
7460
7458
|
const l = i[o], c = s[l];
|
7461
|
-
c != null && (t ? e ? (l === "base" || l.startsWith("lighten") || l.startsWith("darken")) && (a[l] = av(c)) : typeof c == "object" ? a[l] = xu(c, !0, t) : a[l] = Lu(l,
|
7462
|
-
base:
|
7459
|
+
c != null && (t ? e ? (l === "base" || l.startsWith("lighten") || l.startsWith("darken")) && (a[l] = av(c)) : typeof c == "object" ? a[l] = xu(c, !0, t) : a[l] = Lu(l, ir(c)) : a[l] = {
|
7460
|
+
base: hs(ir(c))
|
7463
7461
|
});
|
7464
7462
|
}
|
7465
7463
|
return e || (a.anchor = n || a.base || a.primary.base), a;
|
@@ -7483,7 +7481,7 @@ const cv = (s, e) => `
|
|
7483
7481
|
color: ${t} !important;
|
7484
7482
|
caret-color: ${t} !important;
|
7485
7483
|
}`;
|
7486
|
-
},
|
7484
|
+
}, Xs = (s, e = "base") => `--v-${s}-${e}`, pi = (s, e = "base") => `var(${Xs(s, e)})`;
|
7487
7485
|
function dv(s, e = !1) {
|
7488
7486
|
const {
|
7489
7487
|
anchor: t,
|
@@ -7492,17 +7490,17 @@ function dv(s, e = !1) {
|
|
7492
7490
|
if (!r.length)
|
7493
7491
|
return "";
|
7494
7492
|
let i = "", a = "";
|
7495
|
-
const o = e ?
|
7496
|
-
a += `.v-application a { color: ${o}; }`, e && (i += ` ${
|
7493
|
+
const o = e ? pi("anchor") : t;
|
7494
|
+
a += `.v-application a { color: ${o}; }`, e && (i += ` ${Xs("anchor")}: ${t};
|
7497
7495
|
`);
|
7498
7496
|
for (let l = 0; l < r.length; ++l) {
|
7499
7497
|
const c = r[l], u = s[c];
|
7500
|
-
a += cv(c, e ?
|
7498
|
+
a += cv(c, e ? pi(c) : u.base), e && (i += ` ${Xs(c)}: ${u.base};
|
7501
7499
|
`);
|
7502
7500
|
const d = A_(u);
|
7503
7501
|
for (let h = 0; h < d.length; ++h) {
|
7504
7502
|
const f = d[h], p = u[f];
|
7505
|
-
f !== "base" && (a += uv(c, f, e ?
|
7503
|
+
f !== "base" && (a += uv(c, f, e ? pi(c, f) : p), e && (i += ` ${Xs(c, f)}: ${p};
|
7506
7504
|
`));
|
7507
7505
|
}
|
7508
7506
|
}
|
@@ -7513,12 +7511,12 @@ ${i}}
|
|
7513
7511
|
}
|
7514
7512
|
function Lu(s, e) {
|
7515
7513
|
const t = {
|
7516
|
-
base:
|
7514
|
+
base: hs(e)
|
7517
7515
|
};
|
7518
7516
|
for (let n = 5; n > 0; --n)
|
7519
|
-
t[`lighten${n}`] =
|
7517
|
+
t[`lighten${n}`] = hs(hv(e, n));
|
7520
7518
|
for (let n = 1; n <= 4; ++n)
|
7521
|
-
t[`darken${n}`] =
|
7519
|
+
t[`darken${n}`] = hs(fv(e, n));
|
7522
7520
|
return t;
|
7523
7521
|
}
|
7524
7522
|
function hv(s, e) {
|
@@ -9374,8 +9372,8 @@ const fb = hb.exports, pb = {
|
|
9374
9372
|
{}
|
9375
9373
|
), Iu = _b(pb);
|
9376
9374
|
Object.keys(Iu).map((s) => `$${s}`);
|
9377
|
-
|
9378
|
-
const
|
9375
|
+
Fn.use(rc);
|
9376
|
+
const Dn = {
|
9379
9377
|
light: "#409D76",
|
9380
9378
|
dark: "#27B97C"
|
9381
9379
|
};
|
@@ -9408,7 +9406,7 @@ function vb() {
|
|
9408
9406
|
darken3: "#525252",
|
9409
9407
|
darken4: "#383838"
|
9410
9408
|
},
|
9411
|
-
primary:
|
9409
|
+
primary: Dn.light,
|
9412
9410
|
warning: "#FFCE00",
|
9413
9411
|
error: "#AA0000",
|
9414
9412
|
info: "#2196F3",
|
@@ -9427,7 +9425,7 @@ function vb() {
|
|
9427
9425
|
darken3: "#EBEBEB",
|
9428
9426
|
darken4: "#F8F8F8"
|
9429
9427
|
},
|
9430
|
-
primary:
|
9428
|
+
primary: Dn.dark,
|
9431
9429
|
warning: "#FFCE00",
|
9432
9430
|
error: "#FF5252",
|
9433
9431
|
info: "#2196F3",
|
@@ -9443,15 +9441,15 @@ function vb() {
|
|
9443
9441
|
}
|
9444
9442
|
});
|
9445
9443
|
}
|
9446
|
-
const
|
9447
|
-
function
|
9448
|
-
return
|
9444
|
+
const or = vb();
|
9445
|
+
function Rn() {
|
9446
|
+
return or.framework.theme.isDark ? Dn.dark : Dn.light;
|
9449
9447
|
}
|
9450
9448
|
function Cu(s, e) {
|
9451
|
-
const t =
|
9452
|
-
return n && e ? n[e] ?? Lu(s,
|
9449
|
+
const t = or.framework.theme.isDark ? "dark" : "light", n = or.framework.theme.themes[t][s];
|
9450
|
+
return n && e ? n[e] ?? Lu(s, ir(n))[e] : (n == null ? void 0 : n.base) ?? n;
|
9453
9451
|
}
|
9454
|
-
const
|
9452
|
+
const is = Symbol("overviewMapLayerSymbol");
|
9455
9453
|
function Eu() {
|
9456
9454
|
return {
|
9457
9455
|
component: au,
|
@@ -9501,10 +9499,10 @@ class gb {
|
|
9501
9499
|
* @param {import("@src/vcsUiApp.js").default} app
|
9502
9500
|
*/
|
9503
9501
|
constructor(e) {
|
9504
|
-
this._app = e, this._active = !1, this._map = new
|
9502
|
+
this._app = e, this._active = !1, this._map = new gr({
|
9505
9503
|
target: "overview-map-container"
|
9506
9504
|
}), this._cachedViewpoint = null, this._obliqueTileLayer = null, this._obliqueImageLayer = null, this._obliqueSelectedImageLayer = null;
|
9507
|
-
const t = e.uiConfig.config.value.primaryColor ??
|
9505
|
+
const t = e.uiConfig.config.value.primaryColor ?? Rn(), n = wc.fromCssColorString("#EDEDED");
|
9508
9506
|
this.obliqueSelectedStyle = new Dt({
|
9509
9507
|
fill: {
|
9510
9508
|
color: n.withAlpha(0.8).toCssColorString()
|
@@ -9514,7 +9512,7 @@ class gb {
|
|
9514
9512
|
width: 3
|
9515
9513
|
}
|
9516
9514
|
}), this._obliqueResolutionFactor = 2, this._obliqueViewDirection = null, this._cameraIconLayer = null, this.cameraIconStyle = new Dt({
|
9517
|
-
image: cl(
|
9515
|
+
image: cl(Rn())
|
9518
9516
|
}), this.minimumHeight = 150, this._eventHandler = null, this._mapClicked = null, this._mapPointerListener = null, this._listeners = [], this._mapActivatedListener = null, this._collectionListeners = [
|
9519
9517
|
this._app.maps.layerCollection.added.addEventListener((r) => {
|
9520
9518
|
if (r.properties.showInOverviewMap) {
|
@@ -9651,7 +9649,7 @@ class gb {
|
|
9651
9649
|
], r = this._map.olMap.once("postrender", () => {
|
9652
9650
|
this._obliqueCollectionChanged(e.collection), this._obliqueImageChange(e.currentImage);
|
9653
9651
|
}), i = () => {
|
9654
|
-
this._obliqueTileLayer.deactivate(), this._obliqueImageLayer.deactivate(), this._obliqueSelectedImageLayer.deactivate(),
|
9652
|
+
this._obliqueTileLayer.deactivate(), this._obliqueImageLayer.deactivate(), this._obliqueSelectedImageLayer.deactivate(), $n(r), n.forEach((a) => {
|
9655
9653
|
a();
|
9656
9654
|
});
|
9657
9655
|
};
|
@@ -9674,7 +9672,7 @@ class gb {
|
|
9674
9672
|
const n = t.getFeatureById(e.name);
|
9675
9673
|
if (n) {
|
9676
9674
|
this._obliqueSelectedImageLayer.removeAllFeatures(), this._obliqueSelectedImageLayer.addFeatures([n]);
|
9677
|
-
const r = new
|
9675
|
+
const r = new bs({
|
9678
9676
|
coordinates: n.getGeometry().getExtent(),
|
9679
9677
|
projection: Pe.toJSON()
|
9680
9678
|
}), i = He.createViewpointFromExtent(r);
|
@@ -9692,15 +9690,15 @@ class gb {
|
|
9692
9690
|
projection: Pe.toJSON(),
|
9693
9691
|
style: t,
|
9694
9692
|
zIndex: 1
|
9695
|
-
}), this._obliqueTileLayer[
|
9693
|
+
}), this._obliqueTileLayer[is] = !0;
|
9696
9694
|
const n = new Dt({});
|
9697
9695
|
n.style = (r) => r.get("viewDirection") === this._obliqueViewDirection ? e.style : oo, this._obliqueImageLayer = new Kt({
|
9698
9696
|
projection: Pe.toJSON(),
|
9699
9697
|
style: n
|
9700
|
-
}), this._obliqueImageLayer[
|
9698
|
+
}), this._obliqueImageLayer[is] = !0, this._obliqueSelectedImageLayer = new Kt({
|
9701
9699
|
projection: Pe.toJSON(),
|
9702
9700
|
style: this.obliqueSelectedStyle
|
9703
|
-
}), this._obliqueSelectedImageLayer[
|
9701
|
+
}), this._obliqueSelectedImageLayer[is] = !0, this._map.layerCollection.add(this._obliqueImageLayer), this._map.layerCollection.add(this._obliqueSelectedImageLayer), this._map.layerCollection.add(this._obliqueTileLayer);
|
9704
9702
|
}
|
9705
9703
|
/**
|
9706
9704
|
* @param {import("@vcmap/core").VcsMap} activeMap
|
@@ -9710,14 +9708,14 @@ class gb {
|
|
9710
9708
|
_addNavigationListener(e) {
|
9711
9709
|
return this._mapClicked.addEventListener((t) => {
|
9712
9710
|
const n = e.getViewpointSync(), r = n.groundPosition[2] ? n.groundPosition[2] : 0;
|
9713
|
-
n.groundPosition =
|
9711
|
+
n.groundPosition = fs.mercatorToWgs84(t.positionOrPixel), n.groundPosition[2] = r, n.cameraPosition = null, e.gotoViewpoint(n);
|
9714
9712
|
});
|
9715
9713
|
}
|
9716
9714
|
_setupCameraIconLayer() {
|
9717
9715
|
this._cameraIconLayer || (this._cameraIconLayer = new Kt({
|
9718
9716
|
projection: Pe.toJSON(),
|
9719
9717
|
zIndex: 50
|
9720
|
-
}), this._cameraIconLayer[
|
9718
|
+
}), this._cameraIconLayer[is] = !0, this._map.layerCollection.add(this._cameraIconLayer));
|
9721
9719
|
}
|
9722
9720
|
/**
|
9723
9721
|
* Adds and maintains the view and camera feature
|
@@ -9734,7 +9732,7 @@ class gb {
|
|
9734
9732
|
if (n[2] && !(i && i < n[2] * 4) && (i = n[2] * 4), i = i > this.minimumHeight ? i : this.minimumHeight, r == null || i == null)
|
9735
9733
|
return;
|
9736
9734
|
let a = this._cameraIconLayer.getFeatureById("cameraFeature");
|
9737
|
-
const o =
|
9735
|
+
const o = fs.wgs84ToMercator(n);
|
9738
9736
|
if (!a) {
|
9739
9737
|
const d = new vc(o);
|
9740
9738
|
a = new A0({
|
@@ -9742,7 +9740,7 @@ class gb {
|
|
9742
9740
|
}), a.setId("cameraFeature"), a.setStyle(this.cameraIconStyle.style), this._cameraIconLayer.addFeatures([a]);
|
9743
9741
|
}
|
9744
9742
|
a.getGeometry().setCoordinates(o);
|
9745
|
-
const l = e.heading, c =
|
9743
|
+
const l = e.heading, c = Cn.toRadians(l);
|
9746
9744
|
this.cameraIconStyle.image.setRotation(c), e.heading = 0, e.cameraPosition && (e.cameraPosition = n, e.groundPosition = null, e.distance = i * 4), this._map.gotoViewpoint(e);
|
9747
9745
|
}
|
9748
9746
|
/**
|
@@ -9752,7 +9750,7 @@ class gb {
|
|
9752
9750
|
this._listeners.forEach((e) => e()), this._listeners.splice(0);
|
9753
9751
|
}
|
9754
9752
|
destroy() {
|
9755
|
-
this._clearListeners(), this._collectionListeners.forEach((e) => e()), this._collectionListeners = [], this._mapPointerListener && (this._mapPointerListener(), this._mapPointerListener = null), this._mapActivatedListener && (this._mapActivatedListener(), this._mapActivatedListener = null), this._map && this._map.destroy(), this._obliqueTileLayer && (this._obliqueTileLayer.source = new
|
9753
|
+
this._clearListeners(), this._collectionListeners.forEach((e) => e()), this._collectionListeners = [], this._mapPointerListener && (this._mapPointerListener(), this._mapPointerListener = null), this._mapActivatedListener && (this._mapActivatedListener(), this._mapActivatedListener = null), this._map && this._map.destroy(), this._obliqueTileLayer && (this._obliqueTileLayer.source = new Jr({}), this._obliqueTileLayer.destroy()), this._obliqueImageLayer && (this._obliqueImageLayer.source = new Jr({}), this._obliqueImageLayer.destroy()), this._obliqueSelectedImageLayer && (this._obliqueSelectedImageLayer.source = new Jr({}), this._obliqueSelectedImageLayer.destroy()), this._cameraIconLayer && this._cameraIconLayer.destroy(), this._eventHandler && this._eventHandler.destroy(), this.cameraIconStyle.destroy(), this.obliqueSelectedStyle.destroy(), this._cachedViewpoint = null, this._mapClicked = null;
|
9756
9754
|
}
|
9757
9755
|
}
|
9758
9756
|
const yb = {
|
@@ -10076,7 +10074,7 @@ const Jb = {
|
|
10076
10074
|
}),
|
10077
10075
|
s.overviewMap.map.layerCollection.removed.addEventListener(() => {
|
10078
10076
|
[...s.overviewMap.map.layerCollection].filter(
|
10079
|
-
(p) => !p[
|
10077
|
+
(p) => !p[is]
|
10080
10078
|
).length < 1 && s.overviewMap.active && (s.overviewMap.deactivate(), u.value = !1);
|
10081
10079
|
})
|
10082
10080
|
], { action: h, destroy: f } = Yb(s);
|
@@ -10193,7 +10191,7 @@ const i9 = {
|
|
10193
10191
|
}
|
10194
10192
|
},
|
10195
10193
|
setup(s, { attrs: e }) {
|
10196
|
-
const t = w(!1), n = w(!1), r = w(), i =
|
10194
|
+
const t = w(!1), n = w(!1), r = w(), i = Gn(r), a = y(() => e.dense !== !1), o = y(() => (t.value || n.value || !!i.value) && !(e.disabled || e.disabled === ""));
|
10197
10195
|
function l(c) {
|
10198
10196
|
return s.itemText ? s.itemText(c) : (c == null ? void 0 : c.text) ?? c;
|
10199
10197
|
}
|
@@ -10243,7 +10241,7 @@ var a9 = function() {
|
|
10243
10241
|
null,
|
10244
10242
|
null
|
10245
10243
|
);
|
10246
|
-
const
|
10244
|
+
const Dr = l9.exports;
|
10247
10245
|
const c9 = {
|
10248
10246
|
name: "VcsRadio",
|
10249
10247
|
components: {
|
@@ -10263,7 +10261,7 @@ const c9 = {
|
|
10263
10261
|
}
|
10264
10262
|
},
|
10265
10263
|
setup(s, { attrs: e }) {
|
10266
|
-
const t = w(), n =
|
10264
|
+
const t = w(), n = Gn(t), r = y(() => e.dense !== !1);
|
10267
10265
|
return {
|
10268
10266
|
radioGroup: t,
|
10269
10267
|
errorMessage: n,
|
@@ -10296,7 +10294,7 @@ var u9 = function() {
|
|
10296
10294
|
const f9 = h9.exports, p9 = {
|
10297
10295
|
name: "VcsSettings",
|
10298
10296
|
components: {
|
10299
|
-
VcsSelect:
|
10297
|
+
VcsSelect: Dr,
|
10300
10298
|
VcsRadio: f9,
|
10301
10299
|
VcsLabel: rt,
|
10302
10300
|
VContainer: me,
|
@@ -10420,7 +10418,7 @@ function Ea(s, e, t) {
|
|
10420
10418
|
const M9 = {
|
10421
10419
|
name: "VcsList",
|
10422
10420
|
components: {
|
10423
|
-
VcsBadge:
|
10421
|
+
VcsBadge: Cr,
|
10424
10422
|
VcsTreeviewSearchbar: Ca,
|
10425
10423
|
VcsActionButtonList: st,
|
10426
10424
|
VcsTooltip: Se,
|
@@ -10545,7 +10543,7 @@ const M9 = {
|
|
10545
10543
|
* @param {PointerEvent} event
|
10546
10544
|
*/
|
10547
10545
|
select(b, G) {
|
10548
|
-
var D, $, N, B, re, I,
|
10546
|
+
var D, $, N, B, re, I, x, O;
|
10549
10547
|
if (Array.isArray(b.clickedCallbacks) && b.clickedCallbacks.forEach((C) => C(G)), !(!s.selectable || b.disabled)) {
|
10550
10548
|
if (s.singleSelect)
|
10551
10549
|
n.value[0] === b ? ((D = b.selectionChanged) == null || D.call(b, !1), n.value = [], u = null) : ((N = ($ = n.value[0]) == null ? void 0 : $.selectionChanged) == null || N.call($, !1), (B = b.selectionChanged) == null || B.call(b, !0), n.value = [b], u = b);
|
@@ -10566,7 +10564,7 @@ const M9 = {
|
|
10566
10564
|
} else
|
10567
10565
|
n.value.filter((S) => S !== b && S.selectionChanged).forEach((S) => S.selectionChanged(!1)), n.value = [], u = null;
|
10568
10566
|
} else
|
10569
|
-
n.value.includes(b) ? G.ctrlKey ? ((re = b.selectionChanged) == null || re.call(b, !1), n.value = n.value.filter((C) => C !== b)) : n.value.length > 1 ? (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), n.value = [b], u = b) : ((I = b.selectionChanged) == null || I.call(b, !1), n.value = [], u = null) : G.ctrlKey ? ((
|
10567
|
+
n.value.includes(b) ? G.ctrlKey ? ((re = b.selectionChanged) == null || re.call(b, !1), n.value = n.value.filter((C) => C !== b)) : n.value.length > 1 ? (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), n.value = [b], u = b) : ((I = b.selectionChanged) == null || I.call(b, !1), n.value = [], u = null) : G.ctrlKey ? ((x = b.selectionChanged) == null || x.call(b, !0), n.value = [...n.value, b], n.value.length === 1 && (u = b)) : (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), (O = b.selectionChanged) == null || O.call(b, !0), n.value = [b], u = b);
|
10570
10568
|
e("input", n.value);
|
10571
10569
|
}
|
10572
10570
|
},
|
@@ -10796,7 +10794,7 @@ const Su = R9.exports, j9 = {
|
|
10796
10794
|
},
|
10797
10795
|
setup(s) {
|
10798
10796
|
const t = q("collectionManager").get(s.componentId);
|
10799
|
-
|
10797
|
+
ys("collectionComponent", t);
|
10800
10798
|
}
|
10801
10799
|
};
|
10802
10800
|
var O9 = function() {
|
@@ -10928,7 +10926,7 @@ const q9 = {
|
|
10928
10926
|
VLayout: t0,
|
10929
10927
|
VFlex: n0,
|
10930
10928
|
VListItem: mt,
|
10931
|
-
VListItemIcon:
|
10929
|
+
VListItemIcon: yr,
|
10932
10930
|
VImg: s0,
|
10933
10931
|
VListItemContent: Nt,
|
10934
10932
|
VListItemTitle: kt
|
@@ -10956,8 +10954,8 @@ const q9 = {
|
|
10956
10954
|
var X9 = function() {
|
10957
10955
|
var e = this, t = e._self._c;
|
10958
10956
|
return t("v-list", { attrs: { dense: "" } }, [t("v-layout", { attrs: { wrap: "", column: e.item.colNr === 1 } }, e._l(e.item.rows, function(n, r) {
|
10959
|
-
var i, a, o, l, c, u, d, h, f, p, _, g, E, z, A, V, H, b, G, D, $, N, B, re, I,
|
10960
|
-
return t("v-flex", { key: r, class: { "w-full": e.item.colNr === 1, "w-half": e.item.colNr !== 1 } }, [t("v-list-item", { staticClass: "pa-0", class: e.determineInnerPadding(r), attrs: { dense: "" } }, [t("v-list-item-icon", { staticClass: "pr-2" }, [n.type === e.StyleRowType.Icon || n.type === e.StyleRowType.Shape ? t("v-img", { attrs: { width: "32", height: "24", contain: "", src: e.getImageSrcFromShape(n.image) } }) : t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "24", viewBox: "0 0 32 24" } }, [n.type === e.StyleRowType.Text ? t("text", { style: `font:${n.text.font}`, attrs: { x: "0", y: "17", stroke: e.getColor((a = (i = n.text) == null ? void 0 : i.stroke) == null ? void 0 : a.color), "stroke-linecap": (l = (o = n.text) == null ? void 0 : o.stroke) == null ? void 0 : l.lineCap, "stroke-linejoin": (u = (c = n.text) == null ? void 0 : c.stroke) == null ? void 0 : u.lineJoin, "stroke-dasharray": (h = (d = n.text) == null ? void 0 : d.stroke) == null ? void 0 : h.lineDash, "stroke-dashoffset": (p = (f = n.text) == null ? void 0 : f.stroke) == null ? void 0 : p.lineDashOffset, "stroke-miterlimit": (g = (_ = n.text) == null ? void 0 : _.stroke) == null ? void 0 : g.miterLimit, "stroke-width": (z = (E = n.text) == null ? void 0 : E.stroke) == null ? void 0 : z.width, fill: e.getColor((V = (A = n.text) == null ? void 0 : A.fill) == null ? void 0 : V.color) || "rgba(255,255,255,0)" } }, [e._v(" " + e._s(e.$t(n.label || "legend.defaultLabelText")) + " ")]) : n.type === e.StyleRowType.Stroke ? t("line", { attrs: { x1: "0", y1: "12", x2: "32", y2: "12", stroke: e.getColor((H = n.stroke) == null ? void 0 : H.color), "stroke-linecap": (b = n.stroke) == null ? void 0 : b.lineCap, "stroke-linejoin": (G = n.stroke) == null ? void 0 : G.lineJoin, "stroke-dasharray": (D = n.stroke) == null ? void 0 : D.lineDash, "stroke-dashoffset": ($ = n.stroke) == null ? void 0 : $.lineDashOffset, "stroke-miterlimit": (N = n.stroke) == null ? void 0 : N.miterLimit, "stroke-width": (B = n.stroke) == null ? void 0 : B.width } }) : n.type === e.StyleRowType.Fill ? t("rect", { attrs: { width: "32", height: "24", stroke: e.getColor((re = n.stroke) == null ? void 0 : re.color), "stroke-linecap": (I = n.stroke) == null ? void 0 : I.lineCap, "stroke-linejoin": (
|
10957
|
+
var i, a, o, l, c, u, d, h, f, p, _, g, E, z, A, V, H, b, G, D, $, N, B, re, I, x, O, C, R, S, T, J, F, K, Y, ee, ze, fn, pn, Un, Wn, vt, at, mn, _n, gt, Ht, Ut;
|
10958
|
+
return t("v-flex", { key: r, class: { "w-full": e.item.colNr === 1, "w-half": e.item.colNr !== 1 } }, [t("v-list-item", { staticClass: "pa-0", class: e.determineInnerPadding(r), attrs: { dense: "" } }, [t("v-list-item-icon", { staticClass: "pr-2" }, [n.type === e.StyleRowType.Icon || n.type === e.StyleRowType.Shape ? t("v-img", { attrs: { width: "32", height: "24", contain: "", src: e.getImageSrcFromShape(n.image) } }) : t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "24", viewBox: "0 0 32 24" } }, [n.type === e.StyleRowType.Text ? t("text", { style: `font:${n.text.font}`, attrs: { x: "0", y: "17", stroke: e.getColor((a = (i = n.text) == null ? void 0 : i.stroke) == null ? void 0 : a.color), "stroke-linecap": (l = (o = n.text) == null ? void 0 : o.stroke) == null ? void 0 : l.lineCap, "stroke-linejoin": (u = (c = n.text) == null ? void 0 : c.stroke) == null ? void 0 : u.lineJoin, "stroke-dasharray": (h = (d = n.text) == null ? void 0 : d.stroke) == null ? void 0 : h.lineDash, "stroke-dashoffset": (p = (f = n.text) == null ? void 0 : f.stroke) == null ? void 0 : p.lineDashOffset, "stroke-miterlimit": (g = (_ = n.text) == null ? void 0 : _.stroke) == null ? void 0 : g.miterLimit, "stroke-width": (z = (E = n.text) == null ? void 0 : E.stroke) == null ? void 0 : z.width, fill: e.getColor((V = (A = n.text) == null ? void 0 : A.fill) == null ? void 0 : V.color) || "rgba(255,255,255,0)" } }, [e._v(" " + e._s(e.$t(n.label || "legend.defaultLabelText")) + " ")]) : n.type === e.StyleRowType.Stroke ? t("line", { attrs: { x1: "0", y1: "12", x2: "32", y2: "12", stroke: e.getColor((H = n.stroke) == null ? void 0 : H.color), "stroke-linecap": (b = n.stroke) == null ? void 0 : b.lineCap, "stroke-linejoin": (G = n.stroke) == null ? void 0 : G.lineJoin, "stroke-dasharray": (D = n.stroke) == null ? void 0 : D.lineDash, "stroke-dashoffset": ($ = n.stroke) == null ? void 0 : $.lineDashOffset, "stroke-miterlimit": (N = n.stroke) == null ? void 0 : N.miterLimit, "stroke-width": (B = n.stroke) == null ? void 0 : B.width } }) : n.type === e.StyleRowType.Fill ? t("rect", { attrs: { width: "32", height: "24", stroke: e.getColor((re = n.stroke) == null ? void 0 : re.color), "stroke-linecap": (I = n.stroke) == null ? void 0 : I.lineCap, "stroke-linejoin": (x = n.stroke) == null ? void 0 : x.lineJoin, "stroke-dasharray": (O = n.stroke) == null ? void 0 : O.lineDash, "stroke-dashoffset": (C = n.stroke) == null ? void 0 : C.lineDashOffset, "stroke-miterlimit": (R = n.stroke) == null ? void 0 : R.miterLimit, "stroke-width": (S = n.stroke) == null ? void 0 : S.width, fill: e.getColor((T = n.fill) == null ? void 0 : T.color) || "rgba(255,255,255,0)" } }) : n.type === e.StyleRowType.Circle ? t("circle", { attrs: { cx: "16", cy: "12", r: ((J = n.image) == null ? void 0 : J.radius) || 8, stroke: e.getColor((K = (F = n.image) == null ? void 0 : F.stroke) == null ? void 0 : K.color), "stroke-linecap": (ee = (Y = n.image) == null ? void 0 : Y.stroke) == null ? void 0 : ee.lineCap, "stroke-linejoin": (fn = (ze = n.image) == null ? void 0 : ze.stroke) == null ? void 0 : fn.lineJoin, "stroke-dasharray": (Un = (pn = n.image) == null ? void 0 : pn.stroke) == null ? void 0 : Un.lineDash, "stroke-dashoffset": (vt = (Wn = n.image) == null ? void 0 : Wn.stroke) == null ? void 0 : vt.lineDashOffset, "stroke-miterlimit": (mn = (at = n.image) == null ? void 0 : at.stroke) == null ? void 0 : mn.miterLimit, "stroke-width": (gt = (_n = n.image) == null ? void 0 : _n.stroke) == null ? void 0 : gt.width, fill: e.getColor((Ut = (Ht = n.image) == null ? void 0 : Ht.fill) == null ? void 0 : Ut.color) || "rgba(255,255,255,0)" } }) : e._e()])], 1), t("v-list-item-content", [t("v-list-item-title", { staticClass: "pt-2", attrs: { title: e.$t(n.tooltip || n.title) } }, [e._v(" " + e._s(e.$t(n.title)) + " ")])], 1)], 1)], 1);
|
10961
10959
|
}), 1)], 1);
|
10962
10960
|
}, K9 = [], eA = /* @__PURE__ */ m(
|
10963
10961
|
q9,
|
@@ -11380,7 +11378,7 @@ var OA = function() {
|
|
11380
11378
|
null
|
11381
11379
|
);
|
11382
11380
|
const PA = FA.exports;
|
11383
|
-
class zA extends
|
11381
|
+
class zA extends vr {
|
11384
11382
|
/**
|
11385
11383
|
* @param {PositionDisplayInteractionOptions} options
|
11386
11384
|
*/
|
@@ -11394,7 +11392,7 @@ class zA extends _r {
|
|
11394
11392
|
* @param {boolean} move
|
11395
11393
|
*/
|
11396
11394
|
setMove(e) {
|
11397
|
-
|
11395
|
+
M(e, Boolean), this._move = e, this._defaultActive = this._move ? lt.CLICK | lt.MOVE : lt.CLICK, this.setActive();
|
11398
11396
|
}
|
11399
11397
|
/**
|
11400
11398
|
* @param {import("@vcmap/core").InteractionEvent} event
|
@@ -11422,7 +11420,7 @@ const BA = {
|
|
11422
11420
|
s.maps.eventHandler.addPersistentInteraction(n);
|
11423
11421
|
const r = lo(), i = {
|
11424
11422
|
[r.epsg]: r,
|
11425
|
-
[
|
11423
|
+
[Wr.epsg]: Wr
|
11426
11424
|
}, a = w(r.epsg);
|
11427
11425
|
function o() {
|
11428
11426
|
return Object.keys(i).map((g) => ({
|
@@ -11458,7 +11456,7 @@ const BA = {
|
|
11458
11456
|
}), h = y(() => d.active ? ["primary"] : []), f = y(() => t.value.length > 0 ? Pe.transformTo(
|
11459
11457
|
i[a.value],
|
11460
11458
|
t.value
|
11461
|
-
) : []), p = y(() => a.value ===
|
11459
|
+
) : []), p = y(() => a.value === Wr.epsg ? 6 : 2);
|
11462
11460
|
return {
|
11463
11461
|
positionDisplayAction: d,
|
11464
11462
|
transformedPosition: f,
|
@@ -11711,7 +11709,7 @@ function KA(s, e) {
|
|
11711
11709
|
r.name === "primaryColor" && (e.theme.themes.dark.primary = ((i = r.value) == null ? void 0 : i.dark) || r.value, e.theme.themes.light.primary = ((a = r.value) == null ? void 0 : a.light) || r.value, s.themeChanged.raiseEvent());
|
11712
11710
|
}),
|
11713
11711
|
s.uiConfig.removed.addEventListener((r) => {
|
11714
|
-
r.name === "primaryColor" && (e.theme.themes.dark.primary =
|
11712
|
+
r.name === "primaryColor" && (e.theme.themes.dark.primary = Dn.dark, e.theme.themes.light.primary = Dn.light, s.themeChanged.raiseEvent());
|
11715
11713
|
})
|
11716
11714
|
], n = ie(
|
11717
11715
|
() => e.theme.dark,
|
@@ -11790,7 +11788,7 @@ const nM = {
|
|
11790
11788
|
},
|
11791
11789
|
setup(s) {
|
11792
11790
|
const t = `mapCollection-${Gt()}`, n = N1(s.appId);
|
11793
|
-
|
11791
|
+
ys("vcsApp", n);
|
11794
11792
|
const r = YA(n), i = QA(n), a = JA(n);
|
11795
11793
|
qA(n);
|
11796
11794
|
const o = XA(n), l = KA(
|
@@ -11872,7 +11870,7 @@ class Pt {
|
|
11872
11870
|
* @param {import("@src/vcsUiApp.js").default} app
|
11873
11871
|
*/
|
11874
11872
|
constructor(e, t) {
|
11875
|
-
this._app = t, this._actions = w([]), this._name = e.name, this._visible = w(!0), this._clickable = w(!0), this._disabled = w(!1), this._state = w(Z.NONE), this._stateActionListener = null, this._infoUrl = null, this.infoUrl = e.infoUrl, this._title = w(e.title), this._tooltip = w(e.tooltip), this._icon = w(e.icon), this._children = w([]), this._weight =
|
11873
|
+
this._app = t, this._actions = w([]), this._name = e.name, this._visible = w(!0), this._clickable = w(!0), this._disabled = w(!1), this._state = w(Z.NONE), this._stateActionListener = null, this._infoUrl = null, this.infoUrl = e.infoUrl, this._title = w(e.title), this._tooltip = w(e.tooltip), this._icon = w(e.icon), this._children = w([]), this._weight = Ii(e.weight, 0), this.initOpen = qe(e.initOpen, !1), this._onClick = e.onClick ?? [], this._onActivate = e.onActivate ?? [], this._onDeactivate = e.onDeactivate ?? [], this.weightChanged = new Ae();
|
11876
11874
|
}
|
11877
11875
|
/**
|
11878
11876
|
* @type {string}
|
@@ -11939,7 +11937,7 @@ class Pt {
|
|
11939
11937
|
* @param {StateActionState} state
|
11940
11938
|
*/
|
11941
11939
|
set state(e) {
|
11942
|
-
|
11940
|
+
M(e, Object.values(Z)), this._state.value !== e && (this._state.value = e, this._setStateAction());
|
11943
11941
|
}
|
11944
11942
|
/**
|
11945
11943
|
* @type {string|null}
|
@@ -12014,7 +12012,7 @@ class Pt {
|
|
12014
12012
|
* @param {number} weight
|
12015
12013
|
*/
|
12016
12014
|
set weight(e) {
|
12017
|
-
|
12015
|
+
M(e, Number), e !== this._weight && (this._weight = e, this.weightChanged.raiseEvent(e));
|
12018
12016
|
}
|
12019
12017
|
/**
|
12020
12018
|
* @private
|
@@ -12053,7 +12051,7 @@ class Pt {
|
|
12053
12051
|
* @param {number} [weight=11]
|
12054
12052
|
*/
|
12055
12053
|
addAction(e, t = 11) {
|
12056
|
-
if (
|
12054
|
+
if (M(e.name, String), pe(t, Number), this._getActionIndex(e.name) > -1)
|
12057
12055
|
throw new Error("Action names must be unique");
|
12058
12056
|
e[hl] = t;
|
12059
12057
|
const r = this._actions.value.findIndex(
|
@@ -12295,7 +12293,7 @@ var EM = function() {
|
|
12295
12293
|
null,
|
12296
12294
|
null
|
12297
12295
|
);
|
12298
|
-
const kM = TM.exports,
|
12296
|
+
const kM = TM.exports, mi = Symbol("SubTreeOpenState"), bt = Symbol("SubTreeItemWeight");
|
12299
12297
|
class NM extends Rt {
|
12300
12298
|
/**
|
12301
12299
|
* @param {import("@src/vcsUiApp.js").default} app
|
@@ -12469,9 +12467,9 @@ class NM extends Rt {
|
|
12469
12467
|
*/
|
12470
12468
|
getTreeOpenStateRef(e) {
|
12471
12469
|
const t = this._getSubTree(e);
|
12472
|
-
return t ? (t[
|
12470
|
+
return t ? (t[mi] || (t[mi] = w(
|
12473
12471
|
this.getChildrenForSubTree(e).filter((n) => n.initOpen).map((n) => n.name)
|
12474
|
-
)), t[
|
12472
|
+
)), t[mi]) : w([]);
|
12475
12473
|
}
|
12476
12474
|
destroy() {
|
12477
12475
|
this._clearSubTrees(), this._defaultSubtreeItem.destroy(), this._listeners.forEach((e) => {
|
@@ -12482,7 +12480,7 @@ class NM extends Rt {
|
|
12482
12480
|
}
|
12483
12481
|
}
|
12484
12482
|
function $M(s) {
|
12485
|
-
const e = new NM(s), t =
|
12483
|
+
const e = new NM(s), t = as(
|
12486
12484
|
e,
|
12487
12485
|
() => s.dynamicModuleId,
|
12488
12486
|
null,
|
@@ -12537,7 +12535,7 @@ it.registerClass(
|
|
12537
12535
|
fl.className,
|
12538
12536
|
fl
|
12539
12537
|
);
|
12540
|
-
class
|
12538
|
+
class jn extends Pt {
|
12541
12539
|
/**
|
12542
12540
|
* @type {string}
|
12543
12541
|
*/
|
@@ -12589,8 +12587,8 @@ class Rn extends Pt {
|
|
12589
12587
|
}
|
12590
12588
|
}
|
12591
12589
|
it.registerClass(
|
12592
|
-
|
12593
|
-
|
12590
|
+
jn.className,
|
12591
|
+
jn
|
12594
12592
|
);
|
12595
12593
|
function ka(s, e, t) {
|
12596
12594
|
const n = "ViewpointAction";
|
@@ -12610,7 +12608,7 @@ function ka(s, e, t) {
|
|
12610
12608
|
function Vi(s) {
|
12611
12609
|
return s.active ? Z.ACTIVE : s.loading ? Z.LOADING : Z.INACTIVE;
|
12612
12610
|
}
|
12613
|
-
class pl extends
|
12611
|
+
class pl extends jn {
|
12614
12612
|
/**
|
12615
12613
|
* @todo this has to be refactored, just so we can read the config as is
|
12616
12614
|
* @returns {string}
|
@@ -12826,7 +12824,7 @@ it.registerClass(
|
|
12826
12824
|
_l.className,
|
12827
12825
|
_l
|
12828
12826
|
);
|
12829
|
-
class vl extends
|
12827
|
+
class vl extends jn {
|
12830
12828
|
/**
|
12831
12829
|
* @returns {string}
|
12832
12830
|
*/
|
@@ -12950,7 +12948,7 @@ it.registerClass(
|
|
12950
12948
|
gl
|
12951
12949
|
);
|
12952
12950
|
const DM = new $1({});
|
12953
|
-
class yl extends
|
12951
|
+
class yl extends jn {
|
12954
12952
|
/**
|
12955
12953
|
* @type {string}
|
12956
12954
|
*/
|
@@ -13039,7 +13037,7 @@ it.registerClass(
|
|
13039
13037
|
yl.className,
|
13040
13038
|
yl
|
13041
13039
|
);
|
13042
|
-
class wl extends
|
13040
|
+
class wl extends jn {
|
13043
13041
|
static get className() {
|
13044
13042
|
return "ViewpointContentTreeItem";
|
13045
13043
|
}
|
@@ -13098,13 +13096,23 @@ it.registerClass(
|
|
13098
13096
|
wl.className,
|
13099
13097
|
wl
|
13100
13098
|
);
|
13101
|
-
function
|
13099
|
+
function _i(s) {
|
13102
13100
|
var e;
|
13103
13101
|
s.destroyFunctions.forEach((t) => t()), (e = s.destroy) == null || e.call(s);
|
13104
13102
|
}
|
13105
13103
|
function RM(s, e, t) {
|
13106
13104
|
s.properties || (s.properties = {}), s.properties.title = t, e.title = t;
|
13107
13105
|
}
|
13106
|
+
function HE(s, e) {
|
13107
|
+
return M(s, [[String], Function]), (t, n, r) => {
|
13108
|
+
const i = typeof s == "function" ? s(t) : s;
|
13109
|
+
r.disabled = !i.includes(e.activeMap.className), r.destroyFunctions.push(
|
13110
|
+
e.mapActivated.addEventListener((a) => {
|
13111
|
+
r.disabled = !i.includes(a.className);
|
13112
|
+
})
|
13113
|
+
);
|
13114
|
+
};
|
13115
|
+
}
|
13108
13116
|
class Na {
|
13109
13117
|
/**
|
13110
13118
|
* @param {CollectionComponentClassOptions<T>} options
|
@@ -13116,7 +13124,7 @@ class Na {
|
|
13116
13124
|
throw new Error(
|
13117
13125
|
"CollectionComponentClassOptions requires a collection with mandatory key!"
|
13118
13126
|
);
|
13119
|
-
this._collection = e.collection, this._id = e.id || Gt(), this.title = w(e.title), this.open = w(!1), this.overflowCount = w(
|
13127
|
+
this._collection = e.collection, this._id = e.id || Gt(), this.title = w(e.title), this.open = w(!1), this.overflowCount = w(Ii(e.overflowCount, 2)), this.limit = w(Ii(e.limit, 10)), this._draggable = w(
|
13120
13128
|
e.draggable && this._collection instanceof Rt
|
13121
13129
|
), this.renamable = w(qe(e.renamable, !1)), this.removable = w(qe(e.removable, !1)), this.selectable = w(qe(e.selectable)), this.singleSelect = w(qe(e.singleSelect)), this._owner = t, this._actions = w([]), this._itemMappings = [], this._itemFilters = [], this._listItems = w([]), this.selection = w([]), this._resetWatchers = [
|
13122
13130
|
ie(this.renamable, () => this.reset()),
|
@@ -13334,7 +13342,7 @@ class Na {
|
|
13334
13342
|
const t = this._listItems.value.findIndex((n) => n.name === e[this._collection.uniqueKey]);
|
13335
13343
|
if (t > -1) {
|
13336
13344
|
const n = this._listItems.value[t], r = this.selection.value.indexOf(n);
|
13337
|
-
r > -1 && this.selection.value.splice(r, 1),
|
13345
|
+
r > -1 && this.selection.value.splice(r, 1), _i(this._listItems.value[t]), this._listItems.value.splice(t, 1);
|
13338
13346
|
}
|
13339
13347
|
}
|
13340
13348
|
/**
|
@@ -13406,14 +13414,14 @@ class Na {
|
|
13406
13414
|
* re-adding them from the collection applying current filter and mapping functions
|
13407
13415
|
*/
|
13408
13416
|
reset() {
|
13409
|
-
this._listItems.value.forEach(
|
13417
|
+
this._listItems.value.forEach(_i), this._listItems.value = [], this.selection.value = [], [...this._collection].filter(
|
13410
13418
|
(e) => this._itemFilters.every(
|
13411
13419
|
({ filterFunction: t }) => t(e, this)
|
13412
13420
|
)
|
13413
13421
|
).map((e) => this._transformItem(e)).forEach((e) => this._listItems.value.push(e));
|
13414
13422
|
}
|
13415
13423
|
destroy() {
|
13416
|
-
this._listeners.forEach((e) => e()), this._destroyBulkDelete(), this._resetWatchers.forEach((e) => e()), this._listItems.value.forEach(
|
13424
|
+
this._listeners.forEach((e) => e()), this._destroyBulkDelete(), this._resetWatchers.forEach((e) => e()), this._listItems.value.forEach(_i), this._listItems.value = [], this.selection.value = [];
|
13417
13425
|
}
|
13418
13426
|
}
|
13419
13427
|
class jM {
|
@@ -13462,7 +13470,7 @@ class jM {
|
|
13462
13470
|
* @template {Object|import("@vcmap/core").VcsObject} T
|
13463
13471
|
*/
|
13464
13472
|
add(e, t) {
|
13465
|
-
if (
|
13473
|
+
if (M(e, { collection: ws }), M(t, [String, Symbol]), e.id && this.has(e.id))
|
13466
13474
|
throw new Error(
|
13467
13475
|
`A collection component with id ${e.id} has already been registered.`
|
13468
13476
|
);
|
@@ -13488,7 +13496,7 @@ class jM {
|
|
13488
13496
|
* @param {string} id
|
13489
13497
|
*/
|
13490
13498
|
remove(e) {
|
13491
|
-
|
13499
|
+
M(e, String);
|
13492
13500
|
const t = this._collectionComponents.get(e);
|
13493
13501
|
if (t) {
|
13494
13502
|
const n = this.componentIds.indexOf(e);
|
@@ -13515,7 +13523,7 @@ class jM {
|
|
13515
13523
|
* @template {Object} T
|
13516
13524
|
*/
|
13517
13525
|
addMappingFunction(e, t, n, r = []) {
|
13518
|
-
pe(e, Function),
|
13526
|
+
pe(e, Function), M(t, Function), M(n, [String, Symbol]), M(r, [String]);
|
13519
13527
|
const i = {
|
13520
13528
|
predicate: e,
|
13521
13529
|
mappingFunction: t,
|
@@ -13536,7 +13544,7 @@ class jM {
|
|
13536
13544
|
* @template {Object} T
|
13537
13545
|
*/
|
13538
13546
|
removeMappingFunction(e, t) {
|
13539
|
-
|
13547
|
+
M(e, Function), M(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
|
13540
13548
|
n.removeItemMapping({ mappingFunction: e, owner: t });
|
13541
13549
|
}), this._itemMappings = this._itemMappings.filter(
|
13542
13550
|
(n) => !(n.mappingFunction === e && n.owner === t)
|
@@ -13549,7 +13557,7 @@ class jM {
|
|
13549
13557
|
* @template {Object} T
|
13550
13558
|
*/
|
13551
13559
|
addFilterFunction(e, t, n = []) {
|
13552
|
-
|
13560
|
+
M(e, Function), M(t, [String, Symbol]), M(n, [String]);
|
13553
13561
|
const r = {
|
13554
13562
|
filterFunction: e,
|
13555
13563
|
owner: t
|
@@ -13569,7 +13577,7 @@ class jM {
|
|
13569
13577
|
* @template {Object} T
|
13570
13578
|
*/
|
13571
13579
|
removeFilterFunction(e, t) {
|
13572
|
-
|
13580
|
+
M(e, Function), M(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
|
13573
13581
|
n.removeItemFilter({ filterFunction: e, owner: t });
|
13574
13582
|
}), this._itemFilters = this._itemFilters.filter(
|
13575
13583
|
(n) => !(n.filterFunction === e && n.owner === t)
|
@@ -13582,7 +13590,7 @@ class jM {
|
|
13582
13590
|
* @param {Array<string>} [collectionComponentIds] list of collectionComponents this mappingFunction should be used on. If empty, actions are applied to all managed collectionComponents.
|
13583
13591
|
*/
|
13584
13592
|
addActions(e, t, n = []) {
|
13585
|
-
if (
|
13593
|
+
if (M(t, [String, Symbol]), M(n, [String]), !pa(e))
|
13586
13594
|
throw new Error("Invalid actions Array");
|
13587
13595
|
if (!this._actions.find(
|
13588
13596
|
(r) => r.actions === e && r.owner === t
|
@@ -13603,7 +13611,7 @@ class jM {
|
|
13603
13611
|
* @param {string | symbol} owner
|
13604
13612
|
*/
|
13605
13613
|
removeActions(e, t) {
|
13606
|
-
|
13614
|
+
M(t, [String, Symbol]);
|
13607
13615
|
const n = e.map((r) => ({ action: r, owner: t }));
|
13608
13616
|
[...this._collectionComponents.values()].forEach((r) => {
|
13609
13617
|
r.removeActions(n);
|
@@ -13616,7 +13624,7 @@ class jM {
|
|
13616
13624
|
* @param {string | symbol} owner
|
13617
13625
|
*/
|
13618
13626
|
removeOwner(e) {
|
13619
|
-
|
13627
|
+
M(e, [String, Symbol]), [...this._collectionComponents.values()].forEach((t) => {
|
13620
13628
|
t.owner === e ? (this.remove(t.id), t.destroy()) : t.removeOwner(e);
|
13621
13629
|
}), this._itemMappings = this._itemMappings.filter((t) => t.owner !== e), this._itemFilters = this._itemFilters.filter((t) => t.owner !== e), this._actions = this._actions.filter(
|
13622
13630
|
(t) => t.owner !== e
|
@@ -13653,9 +13661,9 @@ class OM extends jM {
|
|
13653
13661
|
* @param {import("../../vcsUiApp.js").default} app
|
13654
13662
|
*/
|
13655
13663
|
constructor(e) {
|
13656
|
-
super(), this._app = e, this._dynamicModuleId = this.
|
13664
|
+
super(), this._app = e, this._dynamicModuleId = Ln, this._moduleIds = [], this._dynamicModuleIdFilter = (t) => t[Mt] === this._dynamicModuleId, this.addFilterFunction(this._dynamicModuleIdFilter, Q), this._categoryListeners = [
|
13657
13665
|
this._app.dynamicModuleIdChanged.addEventListener((t) => {
|
13658
|
-
this._dynamicModuleId = t, this.reset();
|
13666
|
+
(t === Ln || this._moduleIds.includes(t)) && (this._dynamicModuleId = t), this.reset();
|
13659
13667
|
}),
|
13660
13668
|
this._app.categories.removed.addEventListener((t) => {
|
13661
13669
|
this.getCollection(t.collection).forEach(({ id: r }) => this.remove(r));
|
@@ -13684,6 +13692,21 @@ class OM extends jM {
|
|
13684
13692
|
t
|
13685
13693
|
), category: r };
|
13686
13694
|
}
|
13695
|
+
/**
|
13696
|
+
* Updates the filterFunction for added moduleIds.
|
13697
|
+
* Items of added moduleIds, are shown in the CategoryManager
|
13698
|
+
* @param {string} id
|
13699
|
+
*/
|
13700
|
+
addModuleId(e) {
|
13701
|
+
M(e, String), this._moduleIds.includes(e) || this._moduleIds.push(e), e === this._app.dynamicModuleId && this.reset();
|
13702
|
+
}
|
13703
|
+
/**
|
13704
|
+
* @param {string} id
|
13705
|
+
*/
|
13706
|
+
removeModuleId(e) {
|
13707
|
+
const t = this._moduleIds.indexOf(e);
|
13708
|
+
t > -1 && this._moduleIds.splice(t, 1), e === this._app.dynamicModuleId && this.reset();
|
13709
|
+
}
|
13687
13710
|
destroy() {
|
13688
13711
|
super.destroy(), this._categoryListeners.forEach((e) => e());
|
13689
13712
|
}
|
@@ -13691,8 +13714,8 @@ class OM extends jM {
|
|
13691
13714
|
const bl = Symbol(
|
13692
13715
|
"EditorCollectionComponentClass"
|
13693
13716
|
);
|
13694
|
-
function
|
13695
|
-
|
13717
|
+
function UE(s, e, t, n = "category-manager") {
|
13718
|
+
M(e, Na), M(t.editor, [Object, Function]), pe(t.multiEditor, Object), pe(t.predicate, Function);
|
13696
13719
|
const r = (
|
13697
13720
|
/** @type {EditorCollectionComponentClass} */
|
13698
13721
|
e
|
@@ -13757,7 +13780,7 @@ function HE(s, e, t, n = "category-manager") {
|
|
13757
13780
|
const H = ie(
|
13758
13781
|
r.selection,
|
13759
13782
|
async ($, N) => {
|
13760
|
-
$.length > 1 ? E() : $.length === 1 && N.indexOf($[0]) < 0 ? (l && (E(), await
|
13783
|
+
$.length > 1 ? E() : $.length === 1 && N.indexOf($[0]) < 0 ? (l && (E(), await Nn()), A(h($[0]))) : $.length === 0 && (l && E(), z());
|
13761
13784
|
}
|
13762
13785
|
), b = r.collection.removed.addEventListener(
|
13763
13786
|
g
|
@@ -13771,7 +13794,7 @@ function HE(s, e, t, n = "category-manager") {
|
|
13771
13794
|
const re = {
|
13772
13795
|
name: "list.editItem",
|
13773
13796
|
async callback() {
|
13774
|
-
l ? (E(), await
|
13797
|
+
l ? (E(), await Nn(), e.selection.value = [B]) : e.selection.value = [], A($);
|
13775
13798
|
},
|
13776
13799
|
weight: 10
|
13777
13800
|
};
|
@@ -13805,7 +13828,7 @@ function HE(s, e, t, n = "category-manager") {
|
|
13805
13828
|
D(), H(), b(), G();
|
13806
13829
|
}, r;
|
13807
13830
|
}
|
13808
|
-
class VM extends
|
13831
|
+
class VM extends vr {
|
13809
13832
|
/**
|
13810
13833
|
* @param {function(import("@vcmap/core").InteractionEvent):Promise<void>} rightClick - the right click callback, called on right click only
|
13811
13834
|
* @param {function(import("@vcmap/core").InteractionEvent):Promise<void>} clear - the clear callback
|
@@ -13865,7 +13888,7 @@ function ZM(s, e) {
|
|
13865
13888
|
if (s instanceof R1) {
|
13866
13889
|
const r = s.olMap.on("postrender", n);
|
13867
13890
|
return () => {
|
13868
|
-
|
13891
|
+
$n(r);
|
13869
13892
|
};
|
13870
13893
|
}
|
13871
13894
|
return () => {
|
@@ -13935,7 +13958,7 @@ class HM {
|
|
13935
13958
|
* @param {string|symbol} owner
|
13936
13959
|
*/
|
13937
13960
|
addEventHandler(e, t) {
|
13938
|
-
|
13961
|
+
M(e, Function), M(t, [String, Q]), this._ensureInteraction(), this._eventHandlers.push({ owner: t, handler: e });
|
13939
13962
|
const n = [...this._app.plugins].map((r) => r.name);
|
13940
13963
|
this._eventHandlers.sort((r, i) => La(r.owner, i.owner, n));
|
13941
13964
|
}
|
@@ -14455,28 +14478,28 @@ const Ml = { x: 55, y: 25 };
|
|
14455
14478
|
function Ru(s, e) {
|
14456
14479
|
return S0.wgs84ToWindowCoordinates(s, e);
|
14457
14480
|
}
|
14458
|
-
function
|
14481
|
+
function lr(s, e) {
|
14459
14482
|
const t = s.getPixelFromCoordinate(e);
|
14460
14483
|
if (t)
|
14461
14484
|
return new bc(...t);
|
14462
14485
|
}
|
14463
|
-
async function
|
14486
|
+
async function WE(s, e) {
|
14464
14487
|
const t = s.maps.activeMap;
|
14465
14488
|
if (t instanceof Ft) {
|
14466
|
-
const n =
|
14467
|
-
|
14489
|
+
const n = fs.mercatorToWgs84(e), r = ps.toCartesian(
|
14490
|
+
ps.fromDegrees(...n)
|
14468
14491
|
);
|
14469
14492
|
return Ru(t.getScene(), r);
|
14470
14493
|
} else {
|
14471
|
-
if (t instanceof
|
14472
|
-
return
|
14494
|
+
if (t instanceof gr)
|
14495
|
+
return lr(t.olMap, e);
|
14473
14496
|
if (t instanceof Ke) {
|
14474
14497
|
const { coords: n } = await Kl(t.currentImage, e);
|
14475
|
-
return
|
14498
|
+
return lr(t.olMap, n);
|
14476
14499
|
}
|
14477
14500
|
}
|
14478
14501
|
}
|
14479
|
-
function
|
14502
|
+
function vi(s, e, t, n) {
|
14480
14503
|
t && s.setWindowPositionOptions(
|
14481
14504
|
e,
|
14482
14505
|
tp(
|
@@ -14504,12 +14527,12 @@ async function xl(s, e, t) {
|
|
14504
14527
|
const [h] = await c.getHeightFromTerrain([l]);
|
14505
14528
|
l[2] = h[2];
|
14506
14529
|
}
|
14507
|
-
const u =
|
14508
|
-
|
14530
|
+
const u = fs.mercatorToWgs84(l), d = ps.toCartesian(
|
14531
|
+
ps.fromDegrees(...u)
|
14509
14532
|
);
|
14510
14533
|
n.push(
|
14511
14534
|
c.getScene().postRender.addEventListener((h) => {
|
14512
|
-
|
14535
|
+
vi(
|
14513
14536
|
a.windowManager,
|
14514
14537
|
e,
|
14515
14538
|
Ru(h, d),
|
@@ -14517,14 +14540,14 @@ async function xl(s, e, t) {
|
|
14517
14540
|
);
|
14518
14541
|
})
|
14519
14542
|
);
|
14520
|
-
} else if (c instanceof
|
14521
|
-
const u = () =>
|
14543
|
+
} else if (c instanceof gr) {
|
14544
|
+
const u = () => vi(
|
14522
14545
|
a.windowManager,
|
14523
14546
|
e,
|
14524
|
-
|
14547
|
+
lr(c.olMap, l),
|
14525
14548
|
a.maps.target
|
14526
14549
|
), d = c.olMap.on("postrender", u);
|
14527
|
-
n.push(() =>
|
14550
|
+
n.push(() => $n(d));
|
14528
14551
|
} else if (c instanceof Ke) {
|
14529
14552
|
const { coords: u } = await Kl(c.currentImage, l);
|
14530
14553
|
n.push(
|
@@ -14532,13 +14555,13 @@ async function xl(s, e, t) {
|
|
14532
14555
|
i.bind(null, a, e, l)
|
14533
14556
|
)
|
14534
14557
|
);
|
14535
|
-
const d = () =>
|
14558
|
+
const d = () => vi(
|
14536
14559
|
a.windowManager,
|
14537
14560
|
e,
|
14538
|
-
|
14561
|
+
lr(c.olMap, u),
|
14539
14562
|
a.maps.target
|
14540
14563
|
), h = c.olMap.on("postrender", d);
|
14541
|
-
n.push(() =>
|
14564
|
+
n.push(() => $n(h));
|
14542
14565
|
}
|
14543
14566
|
};
|
14544
14567
|
return await i(s, e, t), r;
|
@@ -14638,21 +14661,21 @@ var ax = function() {
|
|
14638
14661
|
);
|
14639
14662
|
const ju = lx.exports;
|
14640
14663
|
function zi(s, e, t = null) {
|
14641
|
-
|
14664
|
+
M(s, String), M(e, Object);
|
14642
14665
|
const r = s.split(".").reduce((i, a) => i[a] || {}, e);
|
14643
14666
|
return typeof r == "string" ? r : t;
|
14644
14667
|
}
|
14645
14668
|
function Ll(s) {
|
14646
|
-
const e =
|
14647
|
-
|
14648
|
-
|
14669
|
+
const e = ps.fromCartesian(s), t = [
|
14670
|
+
Cn.toDegrees(e.longitude),
|
14671
|
+
Cn.toDegrees(e.latitude),
|
14649
14672
|
e.height
|
14650
14673
|
];
|
14651
|
-
return
|
14674
|
+
return fs.wgs84ToMercator(t);
|
14652
14675
|
}
|
14653
14676
|
function cx(s) {
|
14654
14677
|
var e, t;
|
14655
|
-
return s instanceof
|
14678
|
+
return s instanceof As && s.getGeometry() ? x0(s.getGeometry().getExtent()) : s instanceof Ac ? Ll(s.position) : (t = (e = s == null ? void 0 : s.primitive) == null ? void 0 : e.boundingSphere) != null && t.center ? Ll(s.primitive.boundingSphere.center) : null;
|
14656
14679
|
}
|
14657
14680
|
class Bi extends hn {
|
14658
14681
|
/**
|
@@ -14736,7 +14759,7 @@ var dx = function() {
|
|
14736
14759
|
null
|
14737
14760
|
);
|
14738
14761
|
const px = fx.exports;
|
14739
|
-
class
|
14762
|
+
class kn extends Bi {
|
14740
14763
|
/**
|
14741
14764
|
* @type {string}
|
14742
14765
|
*/
|
@@ -14759,7 +14782,7 @@ class Tn extends Bi {
|
|
14759
14782
|
*/
|
14760
14783
|
constructor(e) {
|
14761
14784
|
super(e, px);
|
14762
|
-
const t =
|
14785
|
+
const t = kn.getDefaultOptions();
|
14763
14786
|
this.addressName = e.addressName !== void 0 ? e.addressName : t.addressName, this.street = e.street !== void 0 ? e.street : t.street, this.number = e.number !== void 0 ? e.number : t.number, this.city = e.city !== void 0 ? e.city : t.city, this.zip = e.zip !== void 0 ? e.zip : t.zip, this.country = e.country !== void 0 ? e.country : t.country;
|
14764
14787
|
}
|
14765
14788
|
/**
|
@@ -14774,7 +14797,7 @@ class Tn extends Bi {
|
|
14774
14797
|
a && (n[i] = a);
|
14775
14798
|
}
|
14776
14799
|
};
|
14777
|
-
return Object.keys(
|
14800
|
+
return Object.keys(kn.getDefaultOptions()).forEach(
|
14778
14801
|
(i) => r(i)
|
14779
14802
|
), n;
|
14780
14803
|
}
|
@@ -14782,7 +14805,7 @@ class Tn extends Bi {
|
|
14782
14805
|
* @returns {AddressBalloonFeatureInfoViewOptions}
|
14783
14806
|
*/
|
14784
14807
|
toJSON() {
|
14785
|
-
const e = super.toJSON(), t =
|
14808
|
+
const e = super.toJSON(), t = kn.getDefaultOptions();
|
14786
14809
|
return this.addressName !== t.addressName && (e.addressName = this.addressName), this.street !== t.street && (e.street = this.street), this.number !== t.number && (e.number = this.number), this.city !== t.city && (e.city = this.city), this.zip !== t.zip && (e.zip = this.zip), this.country !== t.country && (e.country = this.country), e;
|
14787
14810
|
}
|
14788
14811
|
}
|
@@ -14835,7 +14858,7 @@ class Il extends hn {
|
|
14835
14858
|
return this.src && (e.src = this.src), this.title && (e.title = this.title), e;
|
14836
14859
|
}
|
14837
14860
|
}
|
14838
|
-
class
|
14861
|
+
class _s extends hn {
|
14839
14862
|
/**
|
14840
14863
|
* @type {string}
|
14841
14864
|
*/
|
@@ -14855,7 +14878,7 @@ class ms extends hn {
|
|
14855
14878
|
*/
|
14856
14879
|
constructor(e) {
|
14857
14880
|
super(e, tx);
|
14858
|
-
const t =
|
14881
|
+
const t = _s.getDefaultOptions();
|
14859
14882
|
this.itemsPerPageArray = e.itemsPerPageArray || t.itemsPerPageArray;
|
14860
14883
|
const n = e.itemsPerPage || t.itemsPerPage;
|
14861
14884
|
this.itemsPerPage = this.itemsPerPageArray.includes(n) ? n : this.itemsPerPageArray[0], this.showSearchbar = qe(
|
@@ -14885,13 +14908,13 @@ class ms extends hn {
|
|
14885
14908
|
* @returns {TableFeatureInfoViewOptions}
|
14886
14909
|
*/
|
14887
14910
|
toJSON() {
|
14888
|
-
const e = super.toJSON(), t =
|
14911
|
+
const e = super.toJSON(), t = _s.getDefaultOptions();
|
14889
14912
|
return (this.itemsPerPageArray.length !== t.itemsPerPageArray.length || this.itemsPerPageArray.some(
|
14890
14913
|
(n, r) => n !== t.itemsPerPageArray[r]
|
14891
14914
|
)) && (e.itemsPerPageArray = this.itemsPerPageArray), this.itemsPerPage !== t.itemsPerPage && (e.itemsPerPage = this.itemsPerPage), this.showSearchbar !== t.showSearchbar && (e.showSearchbar = this.showSearchbar), this.searchbarPlaceholder && (e.searchbarPlaceholder = this.searchbarPlaceholder), e;
|
14892
14915
|
}
|
14893
14916
|
}
|
14894
|
-
class _x extends
|
14917
|
+
class _x extends vr {
|
14895
14918
|
/**
|
14896
14919
|
* @param {import("./featureInfo.js").default} featureInfo
|
14897
14920
|
*/
|
@@ -14917,7 +14940,7 @@ function El(s, e, t) {
|
|
14917
14940
|
if (e && e.highlightStyle)
|
14918
14941
|
return e.highlightStyle;
|
14919
14942
|
const n = wc.fromCssColorString(t).withAlpha(0.8);
|
14920
|
-
if (s instanceof
|
14943
|
+
if (s instanceof As) {
|
14921
14944
|
let a = s.getStyle() ?? ((r = e == null ? void 0 : e.style) == null ? void 0 : r.style);
|
14922
14945
|
if (typeof a == "function" && (a = a(s, 1)), a = ((i = a == null ? void 0 : a.clone) == null ? void 0 : i.call(a)) ?? new Dt(ec()).style, a.getText() && (a.getText().getFill() && a.getText().getFill().setColor(n.toCssColorString()), a.getText().setScale((a.getText().getScale() ?? 1) * 2)), a.getImage() && a.getImage().setScale(a.getImage().getScale() * 2), a.getStroke() && (a.getStroke().setColor(n.toCssColorString()), a.getStroke().setWidth(a.getStroke().getWidth() * 2)), a.getFill()) {
|
14923
14946
|
const o = n.toBytes();
|
@@ -14986,8 +15009,8 @@ function Sl(s) {
|
|
14986
15009
|
e && e.stop(), s.toolboxManager.remove("featureInfo"), r.forEach((i) => i());
|
14987
15010
|
};
|
14988
15011
|
}
|
14989
|
-
const
|
14990
|
-
class yx extends
|
15012
|
+
const Ts = new Ji(), gx = Symbol("featureInfoView");
|
15013
|
+
class yx extends ws {
|
14991
15014
|
/**
|
14992
15015
|
* @param {import("@src/vcsUiApp.js").default} app
|
14993
15016
|
*/
|
@@ -15054,7 +15077,7 @@ class yx extends ys {
|
|
15054
15077
|
*/
|
15055
15078
|
_getFeatureInfoViewForFeature(e) {
|
15056
15079
|
var r;
|
15057
|
-
const t = this._app.layers.getByKey(e[
|
15080
|
+
const t = this._app.layers.getByKey(e[bi]), n = (r = t == null ? void 0 : t.properties) == null ? void 0 : r.featureInfo;
|
15058
15081
|
return n ? this.hasKey(n) ? (
|
15059
15082
|
/** @type {AbstractFeatureInfoView} */
|
15060
15083
|
this.getByKey(n)
|
@@ -15076,13 +15099,13 @@ class yx extends ys {
|
|
15076
15099
|
* @returns {Promise<void>}
|
15077
15100
|
*/
|
15078
15101
|
async selectFeature(e, t, n, r) {
|
15079
|
-
|
15080
|
-
|
15102
|
+
M(e, [
|
15103
|
+
As,
|
15081
15104
|
Ac,
|
15082
15105
|
T0,
|
15083
15106
|
k0
|
15084
15107
|
]), pe(t, [Number]), pe(n, [Number]), pe(r, hn);
|
15085
|
-
const i = e[gx] ?? r ?? this._getFeatureInfoViewForFeature(e), a = this._app.layers.getByKey(e[
|
15108
|
+
const i = e[gx] ?? r ?? this._getFeatureInfoViewForFeature(e), a = this._app.layers.getByKey(e[bi]);
|
15086
15109
|
if (i && a) {
|
15087
15110
|
if (this._clearInternal(), e[V1]) {
|
15088
15111
|
this._ensureScratchLayer(), this._scratchLayer.addFeatures([e]);
|
@@ -15091,7 +15114,7 @@ class yx extends ys {
|
|
15091
15114
|
[o]: El(
|
15092
15115
|
e,
|
15093
15116
|
a,
|
15094
|
-
this._app.uiConfig.config.value.primaryColor ??
|
15117
|
+
this._app.uiConfig.config.value.primaryColor ?? Rn()
|
15095
15118
|
)
|
15096
15119
|
}), this._clearHighlightingCb = () => this._scratchLayer.featureVisibility.unHighlight([o]);
|
15097
15120
|
} else if (a.featureVisibility) {
|
@@ -15100,7 +15123,7 @@ class yx extends ys {
|
|
15100
15123
|
[o]: El(
|
15101
15124
|
e,
|
15102
15125
|
a,
|
15103
|
-
this._app.uiConfig.config.value.primaryColor ??
|
15126
|
+
this._app.uiConfig.config.value.primaryColor ?? Rn()
|
15104
15127
|
)
|
15105
15128
|
}), this._clearHighlightingCb = () => a.featureVisibility.unHighlight([o]);
|
15106
15129
|
}
|
@@ -15138,21 +15161,21 @@ class yx extends ys {
|
|
15138
15161
|
super.destroy(), this._clearInternal(), this._featureChanged.destroy(), this._destroyFeatureInfoTool(), this._scratchLayer && (this._app.layers.remove(this._scratchLayer), this._scratchLayer.destroy()), this._listeners.forEach((e) => e()), this._listeners.splice(0);
|
15139
15162
|
}
|
15140
15163
|
}
|
15141
|
-
|
15142
|
-
|
15143
|
-
|
15164
|
+
Ts.registerClass(
|
15165
|
+
_s.className,
|
15166
|
+
_s
|
15144
15167
|
);
|
15145
|
-
|
15168
|
+
Ts.registerClass(
|
15146
15169
|
Il.className,
|
15147
15170
|
Il
|
15148
15171
|
);
|
15149
|
-
|
15172
|
+
Ts.registerClass(
|
15150
15173
|
Bi.className,
|
15151
15174
|
Bi
|
15152
15175
|
);
|
15153
|
-
|
15154
|
-
|
15155
|
-
|
15176
|
+
Ts.registerClass(
|
15177
|
+
kn.className,
|
15178
|
+
kn
|
15156
15179
|
);
|
15157
15180
|
/*!
|
15158
15181
|
* vue-i18n v8.28.2
|
@@ -15196,7 +15219,7 @@ var Ou = [
|
|
15196
15219
|
"second",
|
15197
15220
|
"timeZoneName"
|
15198
15221
|
];
|
15199
|
-
function
|
15222
|
+
function On(s, e) {
|
15200
15223
|
typeof console < "u" && (console.warn("[vue-i18n] " + s), e && console.warn(e.stack));
|
15201
15224
|
}
|
15202
15225
|
function bx(s, e) {
|
@@ -15222,13 +15245,13 @@ function $e(s) {
|
|
15222
15245
|
function Gi(s) {
|
15223
15246
|
return typeof s == "function";
|
15224
15247
|
}
|
15225
|
-
function
|
15248
|
+
function Rr() {
|
15226
15249
|
for (var s = [], e = arguments.length; e--; )
|
15227
15250
|
s[e] = arguments[e];
|
15228
15251
|
var t = null, n = null;
|
15229
15252
|
return s.length === 1 ? We(s[0]) || ft(s[0]) ? n = s[0] : typeof s[0] == "string" && (t = s[0]) : s.length === 2 && (typeof s[0] == "string" && (t = s[0]), (We(s[1]) || ft(s[1])) && (n = s[1])), { locale: t, params: n };
|
15230
15253
|
}
|
15231
|
-
function
|
15254
|
+
function Zn(s) {
|
15232
15255
|
return JSON.parse(JSON.stringify(s));
|
15233
15256
|
}
|
15234
15257
|
function Lx(s, e) {
|
@@ -15241,7 +15264,7 @@ function Ix(s) {
|
|
15241
15264
|
return e.push(t);
|
15242
15265
|
}), e;
|
15243
15266
|
}
|
15244
|
-
function
|
15267
|
+
function ks(s, e) {
|
15245
15268
|
return !!~s.indexOf(e);
|
15246
15269
|
}
|
15247
15270
|
var Cx = Object.prototype.hasOwnProperty;
|
@@ -15259,7 +15282,7 @@ function rn(s) {
|
|
15259
15282
|
}
|
15260
15283
|
return t;
|
15261
15284
|
}
|
15262
|
-
function
|
15285
|
+
function cr(s, e) {
|
15263
15286
|
if (s === e)
|
15264
15287
|
return !0;
|
15265
15288
|
var t = We(s), n = We(e);
|
@@ -15268,12 +15291,12 @@ function lr(s, e) {
|
|
15268
15291
|
var r = ft(s), i = ft(e);
|
15269
15292
|
if (r && i)
|
15270
15293
|
return s.length === e.length && s.every(function(l, c) {
|
15271
|
-
return
|
15294
|
+
return cr(l, e[c]);
|
15272
15295
|
});
|
15273
15296
|
if (!r && !i) {
|
15274
15297
|
var a = Object.keys(s), o = Object.keys(e);
|
15275
15298
|
return a.length === o.length && a.every(function(l) {
|
15276
|
-
return
|
15299
|
+
return cr(s[l], e[l]);
|
15277
15300
|
});
|
15278
15301
|
} else
|
15279
15302
|
return !1;
|
@@ -15461,7 +15484,7 @@ var kl = {
|
|
15461
15484
|
var o = null, l = null;
|
15462
15485
|
ye(n.format) ? o = n.format : We(n.format) && (n.format.key && (o = n.format.key), l = Object.keys(n.format).reduce(function(f, p) {
|
15463
15486
|
var _;
|
15464
|
-
return
|
15487
|
+
return ks(Ou, p) ? Object.assign({}, f, (_ = {}, _[p] = n.format[p], _)) : f;
|
15465
15488
|
}, null));
|
15466
15489
|
var c = n.locale || a.locale, u = a._ntp(n.value, c, o, l), d = u.map(function(f, p) {
|
15467
15490
|
var _, g = i.scopedSlots && i.scopedSlots[f.type];
|
@@ -15480,13 +15503,13 @@ function Vx(s, e, t) {
|
|
15480
15503
|
function Fx(s, e, t, n) {
|
15481
15504
|
if (Fu(s, t)) {
|
15482
15505
|
var r = t.context.$i18n;
|
15483
|
-
zx(s, t) &&
|
15506
|
+
zx(s, t) && cr(e.value, e.oldValue) && cr(s._localeMessage, r.getLocaleMessage(r.locale)) || Pu(s, e, t);
|
15484
15507
|
}
|
15485
15508
|
}
|
15486
15509
|
function Px(s, e, t, n) {
|
15487
15510
|
var r = t.context;
|
15488
15511
|
if (!r) {
|
15489
|
-
|
15512
|
+
On("Vue instance does not exists in VNode context");
|
15490
15513
|
return;
|
15491
15514
|
}
|
15492
15515
|
var i = t.context.$i18n || {};
|
@@ -15494,7 +15517,7 @@ function Px(s, e, t, n) {
|
|
15494
15517
|
}
|
15495
15518
|
function Fu(s, e) {
|
15496
15519
|
var t = e.context;
|
15497
|
-
return t ? t.$i18n ? !0 : (
|
15520
|
+
return t ? t.$i18n ? !0 : (On("VueI18n instance does not exists in Vue instance"), !1) : (On("Vue instance does not exists in VNode context"), !1);
|
15498
15521
|
}
|
15499
15522
|
function zx(s, e) {
|
15500
15523
|
var t = e.context;
|
@@ -15503,11 +15526,11 @@ function zx(s, e) {
|
|
15503
15526
|
function Pu(s, e, t) {
|
15504
15527
|
var n, r, i = e.value, a = Bx(i), o = a.path, l = a.locale, c = a.args, u = a.choice;
|
15505
15528
|
if (!o && !l && !c) {
|
15506
|
-
|
15529
|
+
On("value type not supported");
|
15507
15530
|
return;
|
15508
15531
|
}
|
15509
15532
|
if (!o) {
|
15510
|
-
|
15533
|
+
On("`path` is required in v-t directive");
|
15511
15534
|
return;
|
15512
15535
|
}
|
15513
15536
|
var d = t.context;
|
@@ -15575,21 +15598,21 @@ function Ux(s, e) {
|
|
15575
15598
|
}
|
15576
15599
|
return t;
|
15577
15600
|
}
|
15578
|
-
var ge = 0,
|
15601
|
+
var ge = 0, In = 1, Bu = 2, Gu = 3, Zi = 0, ur = 1, dr = 2, jt = 3, Et = 4, hr = 5, fr = 6, jr = 7, vs = 8, Zt = [];
|
15579
15602
|
Zt[Zi] = {
|
15580
15603
|
ws: [Zi],
|
15581
15604
|
ident: [jt, ge],
|
15582
15605
|
"[": [Et],
|
15583
|
-
eof: [
|
15584
|
-
};
|
15585
|
-
Zt[cr] = {
|
15586
|
-
ws: [cr],
|
15587
|
-
".": [ur],
|
15588
|
-
"[": [Et],
|
15589
|
-
eof: [Rr]
|
15606
|
+
eof: [jr]
|
15590
15607
|
};
|
15591
15608
|
Zt[ur] = {
|
15592
15609
|
ws: [ur],
|
15610
|
+
".": [dr],
|
15611
|
+
"[": [Et],
|
15612
|
+
eof: [jr]
|
15613
|
+
};
|
15614
|
+
Zt[dr] = {
|
15615
|
+
ws: [dr],
|
15593
15616
|
ident: [jt, ge],
|
15594
15617
|
0: [jt, ge],
|
15595
15618
|
number: [jt, ge]
|
@@ -15598,28 +15621,28 @@ Zt[jt] = {
|
|
15598
15621
|
ident: [jt, ge],
|
15599
15622
|
0: [jt, ge],
|
15600
15623
|
number: [jt, ge],
|
15601
|
-
ws: [
|
15602
|
-
".": [
|
15603
|
-
"[": [Et,
|
15604
|
-
eof: [
|
15624
|
+
ws: [ur, In],
|
15625
|
+
".": [dr, In],
|
15626
|
+
"[": [Et, In],
|
15627
|
+
eof: [jr, In]
|
15605
15628
|
};
|
15606
15629
|
Zt[Et] = {
|
15607
|
-
"'": [
|
15608
|
-
'"': [
|
15630
|
+
"'": [hr, ge],
|
15631
|
+
'"': [fr, ge],
|
15609
15632
|
"[": [Et, Bu],
|
15610
|
-
"]": [
|
15611
|
-
eof:
|
15633
|
+
"]": [ur, Gu],
|
15634
|
+
eof: vs,
|
15612
15635
|
else: [Et, ge]
|
15613
15636
|
};
|
15614
|
-
Zt[
|
15637
|
+
Zt[hr] = {
|
15615
15638
|
"'": [Et, ge],
|
15616
|
-
eof:
|
15617
|
-
else: [
|
15639
|
+
eof: vs,
|
15640
|
+
else: [hr, ge]
|
15618
15641
|
};
|
15619
|
-
Zt[
|
15642
|
+
Zt[fr] = {
|
15620
15643
|
'"': [Et, ge],
|
15621
|
-
eof:
|
15622
|
-
else: [
|
15644
|
+
eof: vs,
|
15645
|
+
else: [fr, ge]
|
15623
15646
|
};
|
15624
15647
|
var Wx = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
15625
15648
|
function Yx(s) {
|
@@ -15661,7 +15684,7 @@ function qx(s) {
|
|
15661
15684
|
}
|
15662
15685
|
function Xx(s) {
|
15663
15686
|
var e = [], t = -1, n = Zi, r = 0, i, a, o, l, c, u, d, h = [];
|
15664
|
-
h[
|
15687
|
+
h[In] = function() {
|
15665
15688
|
a !== void 0 && (e.push(a), a = void 0);
|
15666
15689
|
}, h[ge] = function() {
|
15667
15690
|
a === void 0 ? a = o : a += o;
|
@@ -15673,19 +15696,19 @@ function Xx(s) {
|
|
15673
15696
|
else {
|
15674
15697
|
if (r = 0, a === void 0 || (a = qx(a), a === !1))
|
15675
15698
|
return !1;
|
15676
|
-
h[
|
15699
|
+
h[In]();
|
15677
15700
|
}
|
15678
15701
|
};
|
15679
15702
|
function f() {
|
15680
15703
|
var p = s[t + 1];
|
15681
|
-
if (n ===
|
15704
|
+
if (n === hr && p === "'" || n === fr && p === '"')
|
15682
15705
|
return t++, o = "\\" + p, h[ge](), !0;
|
15683
15706
|
}
|
15684
15707
|
for (; n !== null; )
|
15685
15708
|
if (t++, i = s[t], !(i === "\\" && f())) {
|
15686
|
-
if (l = Jx(i), d = Zt[n], c = d[l] || d.else ||
|
15709
|
+
if (l = Jx(i), d = Zt[n], c = d[l] || d.else || vs, c === vs || (n = c[0], u = h[c[1]], u && (o = c[2], o = o === void 0 ? i : o, u() === !1)))
|
15687
15710
|
return;
|
15688
|
-
if (n ===
|
15711
|
+
if (n === jr)
|
15689
15712
|
return e;
|
15690
15713
|
}
|
15691
15714
|
}
|
@@ -15761,7 +15784,7 @@ k.prototype._checkLocaleMessage = function(e, t, n) {
|
|
15761
15784
|
var u = Kx.test(l);
|
15762
15785
|
if (u) {
|
15763
15786
|
var d = "Detected HTML in message '" + l + "' of keypath '" + c.join("") + "' at '" + o + "'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";
|
15764
|
-
a === "warn" ?
|
15787
|
+
a === "warn" ? On(d) : a === "error" && bx(d);
|
15765
15788
|
}
|
15766
15789
|
}
|
15767
15790
|
};
|
@@ -15813,13 +15836,13 @@ se.vm.get = function() {
|
|
15813
15836
|
return this._vm;
|
15814
15837
|
};
|
15815
15838
|
se.messages.get = function() {
|
15816
|
-
return
|
15839
|
+
return Zn(this._getMessages());
|
15817
15840
|
};
|
15818
15841
|
se.dateTimeFormats.get = function() {
|
15819
|
-
return
|
15842
|
+
return Zn(this._getDateTimeFormats());
|
15820
15843
|
};
|
15821
15844
|
se.numberFormats.get = function() {
|
15822
|
-
return
|
15845
|
+
return Zn(this._getNumberFormats());
|
15823
15846
|
};
|
15824
15847
|
se.availableLocales.get = function() {
|
15825
15848
|
return Object.keys(this.messages).sort();
|
@@ -15914,7 +15937,7 @@ k.prototype._warnDefault = function(e, t, n, r, i, a) {
|
|
15914
15937
|
return o;
|
15915
15938
|
}
|
15916
15939
|
if (this._formatFallbackMessages) {
|
15917
|
-
var l =
|
15940
|
+
var l = Rr.apply(void 0, i);
|
15918
15941
|
return this._render(t, a, l.params, t);
|
15919
15942
|
} else
|
15920
15943
|
return t;
|
@@ -15955,7 +15978,7 @@ k.prototype._link = function(e, t, n, r, i, a, o) {
|
|
15955
15978
|
for (var u in c)
|
15956
15979
|
if (c.hasOwnProperty(u)) {
|
15957
15980
|
var d = c[u], h = d.match(tL), f = h[0], p = h[1], _ = d.replace(f, "").replace(nL, "");
|
15958
|
-
if (
|
15981
|
+
if (ks(o, _))
|
15959
15982
|
return l;
|
15960
15983
|
o.push(_);
|
15961
15984
|
var g = this._interpolate(
|
@@ -16021,7 +16044,7 @@ k.prototype._render = function(e, t, n, r) {
|
|
16021
16044
|
};
|
16022
16045
|
k.prototype._appendItemToChain = function(e, t, n) {
|
16023
16046
|
var r = !1;
|
16024
|
-
return
|
16047
|
+
return ks(e, t) || (r = !0, t && (r = t[t.length - 1] !== "!", t = t.replace(/!/g, ""), e.push(t), n && n[t] && (r = n[t]))), r;
|
16025
16048
|
};
|
16026
16049
|
k.prototype._appendLocaleToChain = function(e, t, n) {
|
16027
16050
|
var r, i = t.split("-");
|
@@ -16073,7 +16096,7 @@ k.prototype._t = function(e, t, n, r) {
|
|
16073
16096
|
a[o] = arguments[o + 4];
|
16074
16097
|
if (!e)
|
16075
16098
|
return "";
|
16076
|
-
var l =
|
16099
|
+
var l = Rr.apply(void 0, a);
|
16077
16100
|
this._escapeParameterHtml && (l.params = Tx(l.params));
|
16078
16101
|
var c = l.locale || t, u = this._translate(
|
16079
16102
|
n,
|
@@ -16114,7 +16137,7 @@ k.prototype._tc = function(e, t, n, r, i) {
|
|
16114
16137
|
if (!e)
|
16115
16138
|
return "";
|
16116
16139
|
i === void 0 && (i = 1);
|
16117
|
-
var c = { count: i, n: i }, u =
|
16140
|
+
var c = { count: i, n: i }, u = Rr.apply(void 0, o);
|
16118
16141
|
return u.params = Object.assign(c, u.params), o = u.locale === null ? [u.params] : [u.locale, u.params], this.fetchChoice((a = this)._t.apply(a, [e, t, n, r].concat(o)), i);
|
16119
16142
|
};
|
16120
16143
|
k.prototype.fetchChoice = function(e, t) {
|
@@ -16131,14 +16154,14 @@ k.prototype.tc = function(e, t) {
|
|
16131
16154
|
k.prototype._te = function(e, t, n) {
|
16132
16155
|
for (var r = [], i = arguments.length - 3; i-- > 0; )
|
16133
16156
|
r[i] = arguments[i + 3];
|
16134
|
-
var a =
|
16157
|
+
var a = Rr.apply(void 0, r).locale || t;
|
16135
16158
|
return this._exist(n[a], e);
|
16136
16159
|
};
|
16137
16160
|
k.prototype.te = function(e, t) {
|
16138
16161
|
return this._te(e, this.locale, this._getMessages(), t);
|
16139
16162
|
};
|
16140
16163
|
k.prototype.getLocaleMessage = function(e) {
|
16141
|
-
return
|
16164
|
+
return Zn(this._vm.messages[e] || {});
|
16142
16165
|
};
|
16143
16166
|
k.prototype.setLocaleMessage = function(e, t) {
|
16144
16167
|
(this._warnHtmlInMessage === "warn" || this._warnHtmlInMessage === "error") && this._checkLocaleMessage(e, this._warnHtmlInMessage, t), this._vm.$set(this._vm.messages, e, t);
|
@@ -16150,7 +16173,7 @@ k.prototype.mergeLocaleMessage = function(e, t) {
|
|
16150
16173
|
));
|
16151
16174
|
};
|
16152
16175
|
k.prototype.getDateTimeFormat = function(e) {
|
16153
|
-
return
|
16176
|
+
return Zn(this._vm.dateTimeFormats[e] || {});
|
16154
16177
|
};
|
16155
16178
|
k.prototype.setDateTimeFormat = function(e, t) {
|
16156
16179
|
this._vm.$set(this._vm.dateTimeFormats, e, t), this._clearDateTimeFormat(e, t);
|
@@ -16200,11 +16223,11 @@ k.prototype.d = function(e) {
|
|
16200
16223
|
var r = this.locale, i = null, a = null;
|
16201
16224
|
return t.length === 1 ? (ye(t[0]) ? i = t[0] : We(t[0]) && (t[0].locale && (r = t[0].locale), t[0].key && (i = t[0].key)), a = Object.keys(t[0]).reduce(function(o, l) {
|
16202
16225
|
var c;
|
16203
|
-
return
|
16226
|
+
return ks(wx, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
|
16204
16227
|
}, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._d(e, r, i, a);
|
16205
16228
|
};
|
16206
16229
|
k.prototype.getNumberFormat = function(e) {
|
16207
|
-
return
|
16230
|
+
return Zn(this._vm.numberFormats[e] || {});
|
16208
16231
|
};
|
16209
16232
|
k.prototype.setNumberFormat = function(e, t) {
|
16210
16233
|
this._vm.$set(this._vm.numberFormats, e, t), this._clearNumberFormat(e, t);
|
@@ -16256,7 +16279,7 @@ k.prototype.n = function(e) {
|
|
16256
16279
|
var r = this.locale, i = null, a = null;
|
16257
16280
|
return t.length === 1 ? ye(t[0]) ? i = t[0] : We(t[0]) && (t[0].locale && (r = t[0].locale), t[0].key && (i = t[0].key), a = Object.keys(t[0]).reduce(function(o, l) {
|
16258
16281
|
var c;
|
16259
|
-
return
|
16282
|
+
return ks(Ou, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
|
16260
16283
|
}, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._n(e, r, i, a);
|
16261
16284
|
};
|
16262
16285
|
k.prototype._ntp = function(e, t, n, r) {
|
@@ -16275,23 +16298,23 @@ k.prototype._ntp = function(e, t, n, r) {
|
|
16275
16298
|
return o || [];
|
16276
16299
|
};
|
16277
16300
|
Object.defineProperties(k.prototype, se);
|
16278
|
-
var
|
16301
|
+
var gi;
|
16279
16302
|
Object.defineProperty(k, "availabilities", {
|
16280
16303
|
get: function() {
|
16281
|
-
if (!
|
16304
|
+
if (!gi) {
|
16282
16305
|
var e = typeof Intl < "u";
|
16283
|
-
|
16306
|
+
gi = {
|
16284
16307
|
dateTimeFormat: e && typeof Intl.DateTimeFormat < "u",
|
16285
16308
|
numberFormat: e && typeof Intl.NumberFormat < "u"
|
16286
16309
|
};
|
16287
16310
|
}
|
16288
|
-
return
|
16311
|
+
return gi;
|
16289
16312
|
}
|
16290
16313
|
});
|
16291
16314
|
k.install = $a;
|
16292
16315
|
k.version = "8.28.2";
|
16293
16316
|
const Zu = k;
|
16294
|
-
|
16317
|
+
Fn.use(Zu);
|
16295
16318
|
function sL() {
|
16296
16319
|
return new Zu({
|
16297
16320
|
locale: "en",
|
@@ -16932,13 +16955,13 @@ const iL = {
|
|
16932
16955
|
backwardStepTooltip: "Schritt rückwärts zur letzten Position"
|
16933
16956
|
}
|
16934
16957
|
};
|
16935
|
-
function
|
16958
|
+
function yi(s) {
|
16936
16959
|
return !!s && typeof s == "object" && !Array.isArray(s);
|
16937
16960
|
}
|
16938
|
-
const
|
16961
|
+
const YE = Symbol("I18nPluginSymbol");
|
16939
16962
|
function Hu(...s) {
|
16940
16963
|
return s.reduce((e, t) => (Object.entries(t).filter(([n]) => !["name", "properties"].includes(n)).forEach(([n, r]) => {
|
16941
|
-
|
16964
|
+
yi(e[n]) && yi(r) ? e[n] = Hu(e[n], r) : yi(e[n]) ? De("i18n").warning(
|
16942
16965
|
`Overwriting a complex Object I18n Key with a string value is not allowed. Value:
|
16943
16966
|
${JSON.stringify(e[n])}, newValue: ${JSON.stringify(t[n])}`
|
16944
16967
|
) : e[n] = JSON.parse(JSON.stringify(r));
|
@@ -16987,23 +17010,23 @@ function Uu(s, e) {
|
|
16987
17010
|
function lL(s, e) {
|
16988
17011
|
Uu(URL.createObjectURL(s), e);
|
16989
17012
|
}
|
16990
|
-
function
|
17013
|
+
function QE(s, e) {
|
16991
17014
|
Uu(
|
16992
17015
|
`data:text/plain;charset=utf-8,${encodeURIComponent(s)}`,
|
16993
17016
|
e
|
16994
17017
|
);
|
16995
17018
|
}
|
16996
|
-
function
|
17019
|
+
function JE(s, e, t) {
|
16997
17020
|
s.toBlob((n) => {
|
16998
17021
|
lL(n, e);
|
16999
17022
|
}, t);
|
17000
17023
|
}
|
17001
|
-
class cL extends
|
17024
|
+
class cL extends ws {
|
17002
17025
|
/**
|
17003
17026
|
* @param {function():string} getDynamicModuleId
|
17004
17027
|
*/
|
17005
17028
|
constructor(e) {
|
17006
|
-
super(),
|
17029
|
+
super(), as(this, e);
|
17007
17030
|
const t = {};
|
17008
17031
|
this._config = w({}), this._listeners = [
|
17009
17032
|
this.added.addEventListener((n) => {
|
@@ -17096,7 +17119,7 @@ function vL(s, e) {
|
|
17096
17119
|
), t;
|
17097
17120
|
}
|
17098
17121
|
function gL(s) {
|
17099
|
-
if (
|
17122
|
+
if (M(s, URL), s.searchParams.has("state"))
|
17100
17123
|
try {
|
17101
17124
|
return _L(JSON.parse(s.searchParams.get("state")));
|
17102
17125
|
} catch {
|
@@ -17106,15 +17129,15 @@ function gL(s) {
|
|
17106
17129
|
}
|
17107
17130
|
return Ra();
|
17108
17131
|
}
|
17109
|
-
function
|
17110
|
-
|
17132
|
+
function qE(s, e) {
|
17133
|
+
M(s, {
|
17111
17134
|
activeMap: [String, void 0],
|
17112
17135
|
activeViewpoint: [Object, void 0],
|
17113
17136
|
activeObliqueCollection: [String, void 0],
|
17114
17137
|
layers: Array,
|
17115
17138
|
plugins: Array,
|
17116
17139
|
moduleIds: [String]
|
17117
|
-
}),
|
17140
|
+
}), M(e, URL);
|
17118
17141
|
const t = uL - e.toString().length;
|
17119
17142
|
e.searchParams.set(
|
17120
17143
|
"state",
|
@@ -17144,12 +17167,12 @@ function yL(s) {
|
|
17144
17167
|
});
|
17145
17168
|
Qi(e), s.layers.add(e);
|
17146
17169
|
const t = new Dt({
|
17147
|
-
image: Rl(
|
17170
|
+
image: Rl(Rn()),
|
17148
17171
|
fill: {
|
17149
17172
|
color: "rgba(237, 237, 237, 0.1)"
|
17150
17173
|
},
|
17151
17174
|
stroke: {
|
17152
|
-
color:
|
17175
|
+
color: Rn(),
|
17153
17176
|
width: 5
|
17154
17177
|
}
|
17155
17178
|
});
|
@@ -17201,7 +17224,7 @@ class wL extends Rt {
|
|
17201
17224
|
* @param {number=} index
|
17202
17225
|
*/
|
17203
17226
|
add(e, t, n) {
|
17204
|
-
|
17227
|
+
M(t, [String, Q]), M(e.search, Function), e.name !== t && De("Search").warning(
|
17205
17228
|
"SearchImplementations must be named as the plugin they are owned by."
|
17206
17229
|
), e[jl] = t, super.add(e, n);
|
17207
17230
|
}
|
@@ -17283,7 +17306,7 @@ class wL extends Rt {
|
|
17283
17306
|
*/
|
17284
17307
|
clearResults() {
|
17285
17308
|
var e;
|
17286
|
-
this.abort(), this._currentResults.value.length > 0 && (this._currentResults.value = [], this.resultsChanged.raiseEvent(this._currentResults.value.slice(0))), this._resultLayer.removeAllFeatures(), this._resultLayer.deactivate(), ((e = this._app.featureInfo.selectedFeature) == null ? void 0 : e[
|
17309
|
+
this.abort(), this._currentResults.value.length > 0 && (this._currentResults.value = [], this.resultsChanged.raiseEvent(this._currentResults.value.slice(0))), this._resultLayer.removeAllFeatures(), this._resultLayer.deactivate(), ((e = this._app.featureInfo.selectedFeature) == null ? void 0 : e[bi]) === this._resultLayer.name && this._app.featureInfo.clear();
|
17287
17310
|
}
|
17288
17311
|
/**
|
17289
17312
|
* @inheritDoc
|
@@ -17301,11 +17324,11 @@ class ja extends P1 {
|
|
17301
17324
|
* @returns {string}
|
17302
17325
|
*/
|
17303
17326
|
static getVersion() {
|
17304
|
-
return
|
17327
|
+
return Js;
|
17305
17328
|
}
|
17306
17329
|
constructor() {
|
17307
|
-
super(), this.themeChanged = new Ae(), this._plugins =
|
17308
|
-
new
|
17330
|
+
super(), this.themeChanged = new Ae(), this._plugins = as(
|
17331
|
+
new ws(),
|
17309
17332
|
() => this.dynamicModuleId,
|
17310
17333
|
qf,
|
17311
17334
|
Xf
|
@@ -17329,19 +17352,19 @@ class ja extends P1 {
|
|
17329
17352
|
this._plugins.removed.addEventListener(async (e) => {
|
17330
17353
|
this._windowManager.removeOwner(e.name), this._navbarManager.removeOwner(e.name), this._toolboxManager.removeOwner(e.name), this._categoryManager.removeOwner(e.name), this._contextMenuManager.removeOwner(e.name), this._search.removeOwner(e.name);
|
17331
17354
|
})
|
17332
|
-
], this._callbackClassRegistry = new
|
17333
|
-
|
17334
|
-
), this._contentTreeClassRegistry = new
|
17355
|
+
], this._callbackClassRegistry = new Yr(
|
17356
|
+
Es
|
17357
|
+
), this._contentTreeClassRegistry = new Yr(
|
17335
17358
|
it
|
17336
|
-
), this._contentTree = $M(this), this._toolboxManager = new Km(), Xm(this._toolboxManager), this._windowManager = new ep(), this._navbarManager = new Em(), this._uiConfig = new cL(() => this.dynamicModuleId), this._featureInfoClassRegistry = new
|
17337
|
-
|
17338
|
-
), this._featureInfo =
|
17359
|
+
), this._contentTree = $M(this), this._toolboxManager = new Km(), Xm(this._toolboxManager), this._windowManager = new ep(), this._navbarManager = new Em(), this._uiConfig = new cL(() => this.dynamicModuleId), this._featureInfoClassRegistry = new Yr(
|
17360
|
+
Ts
|
17361
|
+
), this._featureInfo = as(
|
17339
17362
|
new yx(this),
|
17340
17363
|
() => this.dynamicModuleId,
|
17341
17364
|
null,
|
17342
17365
|
(e) => Xl(this._featureInfoClassRegistry, e),
|
17343
17366
|
hn
|
17344
|
-
), this._overviewMap = new gb(this), this._i18n =
|
17367
|
+
), this._overviewMap = new gb(this), this._i18n = as(
|
17345
17368
|
new oL(this._plugins),
|
17346
17369
|
() => this.dynamicModuleId
|
17347
17370
|
), this._vueI18n = sL(), this._vueI18nDestroy = rL(this), this._categoryManager = new OM(this), this._contextMenuManager = new HM(this), this._search = new wL(this), this._notifier = new gm(), this._cachedAppState = gL(new URL(window.location.href)), this.mounted = new Ae();
|
@@ -17477,20 +17500,20 @@ class ja extends P1 {
|
|
17477
17500
|
async getState(e) {
|
17478
17501
|
var i;
|
17479
17502
|
const t = Ra();
|
17480
|
-
t.moduleIds = this.modules.filter(({ _id: a }) => a !==
|
17503
|
+
t.moduleIds = this.modules.filter(({ _id: a }) => a !== Ln).map(({ _id: a }) => a), t.activeMap = this.maps.activeMap.name;
|
17481
17504
|
const n = await this.maps.activeMap.getViewpoint();
|
17482
17505
|
t.activeViewpoint = (i = n == null ? void 0 : n.isValid) != null && i.call(n) ? n.toJSON() : void 0, t.layers = [...this.layers].filter(
|
17483
|
-
(a) => a.isSupported(this.maps.activeMap) && a[Mt] !==
|
17506
|
+
(a) => a.isSupported(this.maps.activeMap) && a[Mt] !== Ln && a[Mt] !== Qr && ((a.active || a.loading) && !a.activeOnStartup || !a.active && a.activeOnStartup || (a.active || a.loading) && a.style !== a.defaultStyle && this.styles.has(a.style))
|
17484
17507
|
).map((a) => {
|
17485
17508
|
const o = {
|
17486
17509
|
name: a.name,
|
17487
17510
|
active: a.active || a.loading
|
17488
17511
|
};
|
17489
|
-
return a.style && a.style.name !== a.defaultStyle.name && this.styles.has(a.style) && a.style[Mt] !==
|
17512
|
+
return a.style && a.style.name !== a.defaultStyle.name && this.styles.has(a.style) && a.style[Mt] !== Ln && a.style[Mt] !== Qr && (o.styleName = a.style.name), o;
|
17490
17513
|
});
|
17491
17514
|
const r = await Promise.all(
|
17492
17515
|
[...this.plugins].filter(
|
17493
|
-
(a) => a[Mt] !==
|
17516
|
+
(a) => a[Mt] !== Ln && a[Mt] !== Qr && typeof a.getState == "function"
|
17494
17517
|
).map(async (a) => {
|
17495
17518
|
try {
|
17496
17519
|
return { name: a.name, state: await a.getState(e) };
|
@@ -17586,10 +17609,10 @@ const xn = {
|
|
17586
17609
|
i18n: [void 0, [Object]]
|
17587
17610
|
};
|
17588
17611
|
async function Wu(s) {
|
17589
|
-
|
17612
|
+
M(s, String);
|
17590
17613
|
const e = new ja();
|
17591
|
-
return new
|
17592
|
-
vuetify:
|
17614
|
+
return new Fn({
|
17615
|
+
vuetify: or,
|
17593
17616
|
i18n: e.vueI18n,
|
17594
17617
|
render: (t) => t(dM, {
|
17595
17618
|
props: {
|
@@ -17598,31 +17621,31 @@ async function Wu(s) {
|
|
17598
17621
|
})
|
17599
17622
|
}).$mount(s), e;
|
17600
17623
|
}
|
17601
|
-
async function
|
17602
|
-
|
17624
|
+
async function XE(s, e) {
|
17625
|
+
M(s, String), pe(e, String);
|
17603
17626
|
const t = await Wu(s);
|
17604
17627
|
if (e) {
|
17605
|
-
const n = await fetch(e).then((i) => i.json()), r = new
|
17628
|
+
const n = await fetch(e).then((i) => i.json()), r = new Ai(n);
|
17606
17629
|
await t.addModule(r);
|
17607
17630
|
}
|
17608
17631
|
return t;
|
17609
17632
|
}
|
17610
|
-
async function
|
17611
|
-
|
17633
|
+
async function KE(s, e) {
|
17634
|
+
M(s, String), M(e, String);
|
17612
17635
|
const t = await Wu(s), n = await fetch(e).then((i) => i.json());
|
17613
|
-
|
17636
|
+
M(n.modules, [String, Object]);
|
17614
17637
|
const r = await Promise.all(
|
17615
17638
|
n.modules.map(async (i) => {
|
17616
|
-
if (
|
17617
|
-
return new
|
17639
|
+
if (Li(i, bL))
|
17640
|
+
return new Ai(
|
17618
17641
|
/** @type{import("@vcmap/core").VcsModuleConfig} */
|
17619
17642
|
i
|
17620
17643
|
);
|
17621
|
-
if (
|
17644
|
+
if (Li(i, String)) {
|
17622
17645
|
const a = await fetch(i);
|
17623
17646
|
if (a.ok) {
|
17624
17647
|
const o = await a.json();
|
17625
|
-
return new
|
17648
|
+
return new Ai(o);
|
17626
17649
|
}
|
17627
17650
|
}
|
17628
17651
|
return null;
|
@@ -17677,7 +17700,7 @@ const IL = {
|
|
17677
17700
|
}
|
17678
17701
|
},
|
17679
17702
|
setup(s, { attrs: e }) {
|
17680
|
-
const t = w(), n =
|
17703
|
+
const t = w(), n = Gn(t), r = y(() => e.dense !== !1);
|
17681
17704
|
return {
|
17682
17705
|
checkbox: t,
|
17683
17706
|
errorMessage: n,
|
@@ -17705,7 +17728,7 @@ var CL = function() {
|
|
17705
17728
|
null,
|
17706
17729
|
null
|
17707
17730
|
);
|
17708
|
-
const
|
17731
|
+
const Or = SL.exports;
|
17709
17732
|
const TL = {
|
17710
17733
|
name: "VcsRadioGrid",
|
17711
17734
|
components: {
|
@@ -17731,7 +17754,7 @@ const TL = {
|
|
17731
17754
|
}
|
17732
17755
|
},
|
17733
17756
|
setup(s, { attrs: e }) {
|
17734
|
-
const t = w(), n =
|
17757
|
+
const t = w(), n = Gn(t);
|
17735
17758
|
return {
|
17736
17759
|
isDense: y(() => e.dense !== !1),
|
17737
17760
|
radioGroup: t,
|
@@ -17765,7 +17788,7 @@ const DL = $L.exports;
|
|
17765
17788
|
const RL = {
|
17766
17789
|
name: "VcsFormSection",
|
17767
17790
|
components: {
|
17768
|
-
VBtn:
|
17791
|
+
VBtn: Pn,
|
17769
17792
|
VIcon: le,
|
17770
17793
|
VcsActionButtonList: st,
|
17771
17794
|
VcsHelp: Yu
|
@@ -17836,7 +17859,7 @@ var jL = function() {
|
|
17836
17859
|
null,
|
17837
17860
|
null
|
17838
17861
|
);
|
17839
|
-
const
|
17862
|
+
const Hn = VL.exports;
|
17840
17863
|
const FL = {
|
17841
17864
|
name: "VcsSlider",
|
17842
17865
|
components: {
|
@@ -17860,7 +17883,7 @@ const Oa = BL.exports;
|
|
17860
17883
|
const GL = {
|
17861
17884
|
name: "VcsChipArrayInput",
|
17862
17885
|
components: {
|
17863
|
-
VBtn:
|
17886
|
+
VBtn: Pn,
|
17864
17887
|
VcsTextField: je,
|
17865
17888
|
VChip: ic,
|
17866
17889
|
VIcon: le
|
@@ -17920,7 +17943,7 @@ const GL = {
|
|
17920
17943
|
l.value = void 0, r.value = !1;
|
17921
17944
|
}
|
17922
17945
|
async function z(A, V) {
|
17923
|
-
A.stopPropagation(), A.preventDefault(), o.value && (V && (h([...s.value, V]), await
|
17946
|
+
A.stopPropagation(), A.preventDefault(), o.value && (V && (h([...s.value, V]), await Nn(), f(), await Nn(), c.value.scrollLeft = c.value.scrollWidth), l.value = void 0, r.value = !0);
|
17924
17947
|
}
|
17925
17948
|
return {
|
17926
17949
|
selected: n,
|
@@ -17990,7 +18013,7 @@ var ZL = function() {
|
|
17990
18013
|
null
|
17991
18014
|
);
|
17992
18015
|
const WL = UL.exports;
|
17993
|
-
function
|
18016
|
+
function Vn(s) {
|
17994
18017
|
return y(() => {
|
17995
18018
|
const e = s();
|
17996
18019
|
return e ? {
|
@@ -18018,7 +18041,7 @@ function ct(s, e, t, n, r, i) {
|
|
18018
18041
|
}
|
18019
18042
|
});
|
18020
18043
|
}
|
18021
|
-
function
|
18044
|
+
function pr(s) {
|
18022
18045
|
return `rgba(${Object.values(s).toString()})`;
|
18023
18046
|
}
|
18024
18047
|
function Vl(s, e) {
|
@@ -18064,7 +18087,7 @@ const QL = {
|
|
18064
18087
|
},
|
18065
18088
|
extent: {
|
18066
18089
|
type: Array,
|
18067
|
-
default: () =>
|
18090
|
+
default: () => bs.WGS_84_EXTENT
|
18068
18091
|
},
|
18069
18092
|
axisRules: {
|
18070
18093
|
type: Array,
|
@@ -18132,7 +18155,7 @@ const KL = {
|
|
18132
18155
|
}
|
18133
18156
|
},
|
18134
18157
|
setup(s, { attrs: e }) {
|
18135
|
-
const t = w(!1), n = w(!1), r = w(), i =
|
18158
|
+
const t = w(!1), n = w(!1), r = w(), i = Gn(r), a = y(() => e.clearable !== void 0 && e.clearable !== !1 && (t.value || n.value || i.value)), o = y(() => e.dense !== !1), l = y(() => (t.value || n.value || i.value) && !(e.disabled || e.disabled === ""));
|
18136
18159
|
return {
|
18137
18160
|
hover: t,
|
18138
18161
|
focus: n,
|
@@ -18173,7 +18196,7 @@ var eI = function() {
|
|
18173
18196
|
null,
|
18174
18197
|
null
|
18175
18198
|
);
|
18176
|
-
const
|
18199
|
+
const eS = nI.exports;
|
18177
18200
|
const sI = {
|
18178
18201
|
name: "VcsWizard",
|
18179
18202
|
components: {
|
@@ -18199,7 +18222,7 @@ var rI = function() {
|
|
18199
18222
|
null,
|
18200
18223
|
null
|
18201
18224
|
);
|
18202
|
-
const
|
18225
|
+
const tS = aI.exports;
|
18203
18226
|
const oI = {
|
18204
18227
|
name: "VcsWizardStep",
|
18205
18228
|
components: {
|
@@ -18289,7 +18312,7 @@ var lI = function() {
|
|
18289
18312
|
null,
|
18290
18313
|
null
|
18291
18314
|
);
|
18292
|
-
const
|
18315
|
+
const nS = uI.exports;
|
18293
18316
|
const dI = {
|
18294
18317
|
name: "VcsDatePicker",
|
18295
18318
|
props: {
|
@@ -18306,7 +18329,7 @@ const dI = {
|
|
18306
18329
|
VMenu: Bt,
|
18307
18330
|
VTextField: Ki,
|
18308
18331
|
VDatePicker: m0,
|
18309
|
-
VBtn:
|
18332
|
+
VBtn: Pn
|
18310
18333
|
},
|
18311
18334
|
setup(s, { emit: e, attrs: t }) {
|
18312
18335
|
const n = (
|
@@ -18376,7 +18399,7 @@ var hI = function() {
|
|
18376
18399
|
null,
|
18377
18400
|
null
|
18378
18401
|
);
|
18379
|
-
const
|
18402
|
+
const sS = pI.exports, mI = {
|
18380
18403
|
name: "VcsFillSelector",
|
18381
18404
|
components: {
|
18382
18405
|
VSheet: ue,
|
@@ -18390,7 +18413,7 @@ const nS = pI.exports, mI = {
|
|
18390
18413
|
},
|
18391
18414
|
setup(s, { emit: e }) {
|
18392
18415
|
return {
|
18393
|
-
rgbaObject:
|
18416
|
+
rgbaObject: Vn(() => {
|
18394
18417
|
var t;
|
18395
18418
|
return (t = s.value) == null ? void 0 : t.color;
|
18396
18419
|
}),
|
@@ -18423,9 +18446,9 @@ const wI = {
|
|
18423
18446
|
VSheet: ue,
|
18424
18447
|
VMenu: Bt,
|
18425
18448
|
VCard: cn,
|
18426
|
-
VcsFormSection:
|
18449
|
+
VcsFormSection: Hn,
|
18427
18450
|
VcsTooltip: Se,
|
18428
|
-
VcsCheckbox:
|
18451
|
+
VcsCheckbox: Or
|
18429
18452
|
},
|
18430
18453
|
props: {
|
18431
18454
|
value: {
|
@@ -18505,13 +18528,13 @@ var bI = function() {
|
|
18505
18528
|
null,
|
18506
18529
|
null
|
18507
18530
|
);
|
18508
|
-
const
|
18531
|
+
const Vr = MI.exports;
|
18509
18532
|
const xI = {
|
18510
18533
|
name: "VcsFillMenu",
|
18511
18534
|
components: {
|
18512
18535
|
VSheet: ue,
|
18513
18536
|
VcsFillSelector: yI,
|
18514
|
-
MenuWrapper:
|
18537
|
+
MenuWrapper: Vr
|
18515
18538
|
},
|
18516
18539
|
props: {
|
18517
18540
|
value: {
|
@@ -18528,12 +18551,12 @@ const xI = {
|
|
18528
18551
|
}
|
18529
18552
|
},
|
18530
18553
|
setup(s) {
|
18531
|
-
const e =
|
18554
|
+
const e = Vn(() => {
|
18532
18555
|
var t;
|
18533
18556
|
return (t = s.value) == null ? void 0 : t.color;
|
18534
18557
|
});
|
18535
18558
|
return {
|
18536
|
-
rgbaString: y(() =>
|
18559
|
+
rgbaString: y(() => pr(e.value))
|
18537
18560
|
};
|
18538
18561
|
}
|
18539
18562
|
};
|
@@ -18573,7 +18596,7 @@ const Fa = CI.exports, EI = {
|
|
18573
18596
|
},
|
18574
18597
|
setup(s, { emit: e }) {
|
18575
18598
|
return {
|
18576
|
-
rgbaObject:
|
18599
|
+
rgbaObject: Vn(() => {
|
18577
18600
|
var t;
|
18578
18601
|
return (t = s.value) == null ? void 0 : t.color;
|
18579
18602
|
}),
|
@@ -18624,7 +18647,7 @@ const $I = {
|
|
18624
18647
|
components: {
|
18625
18648
|
VSheet: ue,
|
18626
18649
|
VcsStrokeSelector: NI,
|
18627
|
-
MenuWrapper:
|
18650
|
+
MenuWrapper: Vr
|
18628
18651
|
},
|
18629
18652
|
props: {
|
18630
18653
|
value: {
|
@@ -18641,12 +18664,12 @@ const $I = {
|
|
18641
18664
|
}
|
18642
18665
|
},
|
18643
18666
|
setup(s) {
|
18644
|
-
const e =
|
18667
|
+
const e = Vn(() => {
|
18645
18668
|
var t;
|
18646
18669
|
return (t = s.value) == null ? void 0 : t.color;
|
18647
18670
|
});
|
18648
18671
|
return {
|
18649
|
-
rgbaString: y(() =>
|
18672
|
+
rgbaString: y(() => pr(e.value))
|
18650
18673
|
};
|
18651
18674
|
}
|
18652
18675
|
};
|
@@ -18673,7 +18696,7 @@ const Pa = jI.exports, Be = {
|
|
18673
18696
|
SHAPE: "shape",
|
18674
18697
|
ICON: "icon"
|
18675
18698
|
};
|
18676
|
-
async function
|
18699
|
+
async function mr(s, e, t = !1) {
|
18677
18700
|
const n = s.getContext("2d");
|
18678
18701
|
if (n.clearRect(0, 0, s.width, s.height), !(e != null && e.radius) && !(e != null && e.src))
|
18679
18702
|
return;
|
@@ -19320,10 +19343,10 @@ const Ws = [
|
|
19320
19343
|
return i.value === Be.SHAPE ? (_ = [...Ws], s.extendedShapeSettings && _.push({ src: a })) : i.value === Be.ICON && (_ = s.iconOptions), _;
|
19321
19344
|
});
|
19322
19345
|
return Tt(() => {
|
19323
|
-
|
19346
|
+
mr(o.value, s.value), ie(
|
19324
19347
|
() => s.value,
|
19325
19348
|
() => {
|
19326
|
-
|
19349
|
+
mr(o.value, s.value);
|
19327
19350
|
},
|
19328
19351
|
{ deep: !0 }
|
19329
19352
|
);
|
@@ -19391,7 +19414,7 @@ const GI = BI.exports;
|
|
19391
19414
|
const ZI = {
|
19392
19415
|
name: "VcsImageMenu",
|
19393
19416
|
components: {
|
19394
|
-
MenuWrapper:
|
19417
|
+
MenuWrapper: Vr,
|
19395
19418
|
VcsImageSelector: GI
|
19396
19419
|
},
|
19397
19420
|
props: {
|
@@ -19415,10 +19438,10 @@ const ZI = {
|
|
19415
19438
|
setup(s) {
|
19416
19439
|
const e = w(null);
|
19417
19440
|
return Tt(() => {
|
19418
|
-
|
19441
|
+
mr(e.value, s.value, !0), ie(
|
19419
19442
|
() => s.value,
|
19420
19443
|
() => {
|
19421
|
-
|
19444
|
+
mr(e.value, s.value, !0);
|
19422
19445
|
},
|
19423
19446
|
{ deep: !0 }
|
19424
19447
|
);
|
@@ -19466,7 +19489,7 @@ const YI = WI.exports, QI = {
|
|
19466
19489
|
VContainer: me,
|
19467
19490
|
VRow: Re,
|
19468
19491
|
VCol: Ye,
|
19469
|
-
VcsSelect:
|
19492
|
+
VcsSelect: Dr,
|
19470
19493
|
VcsTextField: je,
|
19471
19494
|
VcsButton: Oe,
|
19472
19495
|
VcsStrokeMenu: Pa,
|
@@ -19628,7 +19651,7 @@ const tC = {
|
|
19628
19651
|
}, za = {
|
19629
19652
|
name: "VcsTextMenu",
|
19630
19653
|
components: {
|
19631
|
-
MenuWrapper:
|
19654
|
+
MenuWrapper: Vr,
|
19632
19655
|
VcsTextSelector: eC
|
19633
19656
|
},
|
19634
19657
|
props: {
|
@@ -19642,10 +19665,10 @@ const tC = {
|
|
19642
19665
|
}
|
19643
19666
|
},
|
19644
19667
|
setup(s) {
|
19645
|
-
const e =
|
19668
|
+
const e = Vn(() => {
|
19646
19669
|
var n, r;
|
19647
19670
|
return (r = (n = s.value) == null ? void 0 : n.fill) == null ? void 0 : r.color;
|
19648
|
-
}), t =
|
19671
|
+
}), t = Vn(
|
19649
19672
|
() => {
|
19650
19673
|
var n, r;
|
19651
19674
|
return (r = (n = s.value) == null ? void 0 : n.stroke) == null ? void 0 : r.color;
|
@@ -19653,9 +19676,9 @@ const tC = {
|
|
19653
19676
|
);
|
19654
19677
|
return {
|
19655
19678
|
strokeColor: y(
|
19656
|
-
() =>
|
19679
|
+
() => pr(t.value)
|
19657
19680
|
),
|
19658
|
-
fillColor: y(() =>
|
19681
|
+
fillColor: y(() => pr(e.value)),
|
19659
19682
|
fontStyle: y(() => {
|
19660
19683
|
var n;
|
19661
19684
|
return (n = s.value) == null ? void 0 : n.font;
|
@@ -19724,7 +19747,7 @@ const lC = {
|
|
19724
19747
|
},
|
19725
19748
|
set(i) {
|
19726
19749
|
const a = structuredClone(s.value);
|
19727
|
-
a.coordinates[n] = i[0], a.coordinates[r - 1] = i[1],
|
19750
|
+
a.coordinates[n] = i[0], a.coordinates[r - 1] = i[1], bs.validateOptions(a) && e("input", a);
|
19728
19751
|
}
|
19729
19752
|
});
|
19730
19753
|
return {
|
@@ -19761,7 +19784,7 @@ var cC = function() {
|
|
19761
19784
|
null,
|
19762
19785
|
null
|
19763
19786
|
);
|
19764
|
-
const
|
19787
|
+
const rS = dC.exports, Ie = {
|
19765
19788
|
FILL: "fill",
|
19766
19789
|
STROKE: "stroke",
|
19767
19790
|
IMAGE: "image",
|
@@ -19928,11 +19951,11 @@ const Ju = [
|
|
19928
19951
|
], Gl = [0, 1, 1, 1], Zl = [0, 0, 0], Hl = ["X", "Y", "Z"], yC = {
|
19929
19952
|
name: "VcsVectorPropertiesComponent",
|
19930
19953
|
components: {
|
19931
|
-
VcsFormSection:
|
19954
|
+
VcsFormSection: Hn,
|
19932
19955
|
VcsLabel: rt,
|
19933
|
-
VcsSelect:
|
19956
|
+
VcsSelect: Dr,
|
19934
19957
|
VcsTextField: je,
|
19935
|
-
VcsCheckbox:
|
19958
|
+
VcsCheckbox: Or,
|
19936
19959
|
VcsChipArrayInput: WL,
|
19937
19960
|
VContainer: me,
|
19938
19961
|
VRow: Re,
|
@@ -20061,14 +20084,14 @@ const Ju = [
|
|
20061
20084
|
...N,
|
20062
20085
|
[B]: y({
|
20063
20086
|
get() {
|
20064
|
-
var re, I,
|
20065
|
-
return Array.isArray((re = s.value) == null ? void 0 : re[B]) ? (I = s.value) == null ? void 0 : I[B] : ((
|
20087
|
+
var re, I, x, O;
|
20088
|
+
return Array.isArray((re = s.value) == null ? void 0 : re[B]) ? (I = s.value) == null ? void 0 : I[B] : ((x = s.value) == null ? void 0 : x[B]) > 0 ? [(O = s.value) == null ? void 0 : O[B]] : [];
|
20066
20089
|
},
|
20067
20090
|
set(re) {
|
20068
|
-
const I = structuredClone(s.value),
|
20091
|
+
const I = structuredClone(s.value), x = {
|
20069
20092
|
[B]: re
|
20070
20093
|
};
|
20071
|
-
e("input", Object.assign(I,
|
20094
|
+
e("input", Object.assign(I, x)), e("propertyChange", x);
|
20072
20095
|
}
|
20073
20096
|
})
|
20074
20097
|
}), {})), z = de(
|
@@ -20258,7 +20281,7 @@ function xC(s, e, t, n, r) {
|
|
20258
20281
|
const d = u == null ? void 0 : u.getViewpointSync();
|
20259
20282
|
!d || !d.isValid() || d.equals(a, 1e-6) || (Ku(e, d, t), a = d);
|
20260
20283
|
}
|
20261
|
-
), s.maps.activeMap.className ===
|
20284
|
+
), s.maps.activeMap.className === gr.className && s.maps.activeMap.requestRender();
|
20262
20285
|
}
|
20263
20286
|
const l = ce({
|
20264
20287
|
name: "edit-viewpoint-action",
|
@@ -20300,11 +20323,11 @@ const CC = {
|
|
20300
20323
|
VContainer: me,
|
20301
20324
|
VRow: Re,
|
20302
20325
|
VCol: Ye,
|
20303
|
-
VcsFormSection:
|
20326
|
+
VcsFormSection: Hn,
|
20304
20327
|
VcsLabel: rt,
|
20305
20328
|
VcsTextField: je,
|
20306
20329
|
VcsCoordinate: Qu,
|
20307
|
-
VcsCheckbox:
|
20330
|
+
VcsCheckbox: Or,
|
20308
20331
|
VcsSlider: Oa
|
20309
20332
|
},
|
20310
20333
|
props: {
|
@@ -20446,7 +20469,7 @@ var EC = function() {
|
|
20446
20469
|
e.title = n;
|
20447
20470
|
}, expression: "title" } })], 1)], 1), e.hideAnimate ? e._e() : t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsCheckbox", { attrs: { id: "animate", label: "components.viewpoint.animate", dense: "" }, model: { value: e.animate, callback: function(n) {
|
20448
20471
|
e.animate = n;
|
20449
|
-
}, expression: "animate" } })], 1), t("v-col", [e.animate ? t("VcsTextField", { attrs: { id: "duration", dense: "", type: "number", min:
|
20472
|
+
}, expression: "animate" } })], 1), t("v-col", [e.animate ? t("VcsTextField", { attrs: { id: "duration", dense: "", clearable: "", type: "number", min: 1, unit: "s", title: e.$t("components.viewpoint.duration") }, model: { value: e.duration, callback: function(n) {
|
20450
20473
|
e.duration = e._n(n);
|
20451
20474
|
}, expression: "duration" } }) : e._e()], 1)], 1)], 1)], 1), t("VcsFormSection", { attrs: { heading: "components.viewpoint.positionAndOrientation", expandable: e.expandable, "start-open": "", "header-actions": [e.updateFromViewAction, e.editAction] } }, [t("v-container", { staticClass: "py-0 px-1" }, [e.isCesiumMap ? [t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsLabel", { attrs: { "html-for": "cameraPosition", dense: "" } }, [e._v(" " + e._s(e.$t("components.viewpoint.cameraPosition")) + " ")])], 1)], 1), t("VcsCoordinate", { attrs: { disabled: e.editAction.active }, on: { blur: function(n) {
|
20452
20475
|
return e.handleInput("cameraPosition");
|
@@ -20521,7 +20544,7 @@ const $C = {
|
|
20521
20544
|
components: {
|
20522
20545
|
VContainer: me,
|
20523
20546
|
VForm: g0,
|
20524
|
-
VcsFormButton:
|
20547
|
+
VcsFormButton: Er,
|
20525
20548
|
VcsActionButtonList: st
|
20526
20549
|
},
|
20527
20550
|
props: {
|
@@ -20685,7 +20708,7 @@ const Ot = {
|
|
20685
20708
|
Backward: "backward"
|
20686
20709
|
};
|
20687
20710
|
function Ul(s, e, t) {
|
20688
|
-
|
20711
|
+
M(t, Object.values(Ot));
|
20689
20712
|
let n;
|
20690
20713
|
const r = ce({
|
20691
20714
|
name: `step-${t}`,
|
@@ -20704,7 +20727,7 @@ function Ul(s, e, t) {
|
|
20704
20727
|
return { action: r, destroy: i };
|
20705
20728
|
}
|
20706
20729
|
function Wl(s, e, t) {
|
20707
|
-
|
20730
|
+
M(t, Object.values(Ot));
|
20708
20731
|
let n;
|
20709
20732
|
const r = t === Ot.Forward ? 1 : -1, i = t === Ot.Forward ? "mdi-fast-forward" : "mdi-rewind", { multiplier: a } = e;
|
20710
20733
|
function o() {
|
@@ -20782,9 +20805,9 @@ function ZC(s, e) {
|
|
20782
20805
|
};
|
20783
20806
|
}
|
20784
20807
|
function Yl(s, e, t = 300) {
|
20785
|
-
return
|
20786
|
-
|
20787
|
-
|
20808
|
+
return qr.distance(
|
20809
|
+
qr.fromDegrees(...s.coordinate),
|
20810
|
+
qr.fromDegrees(...e.coordinate)
|
20788
20811
|
) / t || 1;
|
20789
20812
|
}
|
20790
20813
|
function HC(s, e) {
|
@@ -20871,7 +20894,7 @@ const QC = {
|
|
20871
20894
|
VcsTextField: je,
|
20872
20895
|
VContainer: me,
|
20873
20896
|
VSheet: ue,
|
20874
|
-
VcsFormSection:
|
20897
|
+
VcsFormSection: Hn,
|
20875
20898
|
VcsList: Sa
|
20876
20899
|
},
|
20877
20900
|
props: {
|
@@ -21047,7 +21070,7 @@ var tE = function() {
|
|
21047
21070
|
null
|
21048
21071
|
);
|
21049
21072
|
const rE = sE.exports;
|
21050
|
-
function
|
21073
|
+
function wi(s) {
|
21051
21074
|
if (s.isValid()) {
|
21052
21075
|
const { times: e } = z1(s);
|
21053
21076
|
return e.at(-1);
|
@@ -21064,11 +21087,11 @@ const iE = {
|
|
21064
21087
|
VRow: Re,
|
21065
21088
|
VCol: Ye,
|
21066
21089
|
VDivider: _t,
|
21067
|
-
VcsFormSection:
|
21090
|
+
VcsFormSection: Hn,
|
21068
21091
|
VcsLabel: rt,
|
21069
21092
|
VcsTextField: je,
|
21070
|
-
VcsSelect:
|
21071
|
-
VcsCheckbox:
|
21093
|
+
VcsSelect: Dr,
|
21094
|
+
VcsCheckbox: Or
|
21072
21095
|
},
|
21073
21096
|
props: {
|
21074
21097
|
heading: {
|
@@ -21113,12 +21136,12 @@ const iE = {
|
|
21113
21136
|
}
|
21114
21137
|
},
|
21115
21138
|
setup() {
|
21116
|
-
const s = q("vcsApp"), e = Ba(), t = w(
|
21139
|
+
const s = q("vcsApp"), e = Ba(), t = w(wi(e)), n = w(!(t.value > 0)), r = [
|
21117
21140
|
e.anchorsChanged.addEventListener(() => {
|
21118
|
-
t.value =
|
21141
|
+
t.value = wi(e), n.value = !(t.value > 0);
|
21119
21142
|
}),
|
21120
21143
|
e.propertyChanged.addEventListener((a) => {
|
21121
|
-
a === "loop" && (t.value =
|
21144
|
+
a === "loop" && (t.value = wi(e));
|
21122
21145
|
})
|
21123
21146
|
], i = ZC(
|
21124
21147
|
s.windowManager,
|
@@ -21182,7 +21205,7 @@ var aE = function() {
|
|
21182
21205
|
{ value: "linear", text: "components.flight.linear" }
|
21183
21206
|
] }, model: { value: e.interpolation, callback: function(n) {
|
21184
21207
|
e.interpolation = n;
|
21185
|
-
}, expression: "interpolation" } })], 1)], 1), e.hideDuration ? e._e() : t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsLabel", { attrs: { "html-for": "duration", dense: "" } }, [e._v(" " + e._s(e.$t("components.flight.duration")) + " ")])], 1), t("v-col", [t("VcsTextField", { attrs: { id: "duration", type: "number", unit: "s", step: "1", decimals: 2, rules: [e.durationRule] }, model: { value: e.duration, callback: function(n) {
|
21208
|
+
}, expression: "interpolation" } })], 1)], 1), e.hideDuration ? e._e() : t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsLabel", { attrs: { "html-for": "duration", dense: "" } }, [e._v(" " + e._s(e.$t("components.flight.duration")) + " ")])], 1), t("v-col", [t("VcsTextField", { attrs: { id: "duration", type: "number", unit: "s", step: "1", decimals: 2, disabled: e.disablePlayer, rules: [e.durationRule] }, model: { value: e.duration, callback: function(n) {
|
21186
21209
|
e.duration = e._n(n);
|
21187
21210
|
}, expression: "duration" } })], 1)], 1), e.hideLoop ? e._e() : t("v-row", { attrs: { "no-gutters": "" } }, [t("v-col", { attrs: { cols: "6" } }, [t("VcsCheckbox", { attrs: { id: "animate", label: "components.flight.loop", dense: "" }, model: { value: e.loop, callback: function(n) {
|
21188
21211
|
e.loop = n;
|
@@ -21223,7 +21246,7 @@ const uE = {
|
|
21223
21246
|
const t = s.getFlightInstance();
|
21224
21247
|
let n = !1;
|
21225
21248
|
const r = t.toJSON();
|
21226
|
-
return
|
21249
|
+
return ys("flightInstance", t), fe(() => {
|
21227
21250
|
!n && !t1(r, t.toJSON()) && s.setFlightInstance(t);
|
21228
21251
|
}), {
|
21229
21252
|
async apply() {
|
@@ -21251,7 +21274,7 @@ var dE = function() {
|
|
21251
21274
|
null,
|
21252
21275
|
null
|
21253
21276
|
);
|
21254
|
-
const
|
21277
|
+
const iS = fE.exports;
|
21255
21278
|
function Ys(s, e) {
|
21256
21279
|
const t = e.style.style.clone();
|
21257
21280
|
let n;
|
@@ -21485,14 +21508,14 @@ const AE = {
|
|
21485
21508
|
},
|
21486
21509
|
async rotate() {
|
21487
21510
|
e.currentEditSession.value.rotate(
|
21488
|
-
|
21511
|
+
Cn.toRadians(i.value ?? 0)
|
21489
21512
|
), i.value = null;
|
21490
21513
|
},
|
21491
21514
|
async cw() {
|
21492
|
-
e.currentEditSession.value.rotate(-
|
21515
|
+
e.currentEditSession.value.rotate(-Cn.PI_OVER_TWO);
|
21493
21516
|
},
|
21494
21517
|
async ccw() {
|
21495
|
-
e.currentEditSession.value.rotate(
|
21518
|
+
e.currentEditSession.value.rotate(Cn.PI_OVER_TWO);
|
21496
21519
|
},
|
21497
21520
|
async scale() {
|
21498
21521
|
e.currentEditSession.value.scale(
|
@@ -21572,7 +21595,7 @@ const TE = {
|
|
21572
21595
|
components: {
|
21573
21596
|
VcsFeatureTransforms: IE,
|
21574
21597
|
VSheet: ue,
|
21575
|
-
VcsFormSection:
|
21598
|
+
VcsFormSection: Hn,
|
21576
21599
|
VcsVectorPropertiesComponent: MC,
|
21577
21600
|
VcsFeatureStyleComponent: bE
|
21578
21601
|
},
|
@@ -21611,7 +21634,7 @@ const TE = {
|
|
21611
21634
|
currentEditSession: i,
|
21612
21635
|
currentLayer: a
|
21613
21636
|
} = t, o = w([]), l = w([]);
|
21614
|
-
|
21637
|
+
ys("features", n);
|
21615
21638
|
const c = w();
|
21616
21639
|
ie(
|
21617
21640
|
n,
|
@@ -21748,13 +21771,13 @@ var kE = function() {
|
|
21748
21771
|
null,
|
21749
21772
|
null
|
21750
21773
|
);
|
21751
|
-
const
|
21774
|
+
const aS = $E.exports;
|
21752
21775
|
export {
|
21753
21776
|
n1 as AbstractConfigEditor,
|
21754
21777
|
hn as AbstractFeatureInfoView,
|
21755
21778
|
nl as ActivateLayersCallback,
|
21756
21779
|
px as AddressBalloonComponent,
|
21757
|
-
|
21780
|
+
kn as AddressBalloonFeatureInfoView,
|
21758
21781
|
il as ApplyLayerStyleCallback,
|
21759
21782
|
ju as BalloonComponent,
|
21760
21783
|
Bi as BalloonFeatureInfoView,
|
@@ -21798,7 +21821,7 @@ export {
|
|
21798
21821
|
Z as StateActionState,
|
21799
21822
|
j0 as StyleSelector,
|
21800
21823
|
Oi as SubContentTreeItem,
|
21801
|
-
|
21824
|
+
_s as TableFeatureInfoView,
|
21802
21825
|
Bb as TiltSlider,
|
21803
21826
|
Km as ToolboxManager,
|
21804
21827
|
Vt as ToolboxType,
|
@@ -21806,29 +21829,29 @@ export {
|
|
21806
21829
|
ma as VcsActionList,
|
21807
21830
|
aM as VcsApp,
|
21808
21831
|
dM as VcsAppWrapper,
|
21809
|
-
|
21832
|
+
Cr as VcsBadge,
|
21810
21833
|
Oe as VcsButton,
|
21811
|
-
|
21812
|
-
|
21834
|
+
Tr as VcsCallback,
|
21835
|
+
Or as VcsCheckbox,
|
21813
21836
|
WL as VcsChipArrayInput,
|
21814
21837
|
Eb as VcsCompass,
|
21815
21838
|
Qu as VcsCoordinate,
|
21816
21839
|
JM as VcsDataTable,
|
21817
|
-
|
21840
|
+
sS as VcsDatePicker,
|
21818
21841
|
Sm as VcsDefaultLogo,
|
21819
21842
|
DA as VcsDefaultMobileLogo,
|
21820
|
-
|
21821
|
-
|
21843
|
+
rS as VcsExtent,
|
21844
|
+
aS as VcsFeatureEditingWindow,
|
21822
21845
|
bE as VcsFeatureStyleComponent,
|
21823
21846
|
IE as VcsFeatureTransforms,
|
21824
21847
|
Fa as VcsFillMenu,
|
21825
21848
|
yI as VcsFillSelector,
|
21826
21849
|
KC as VcsFlightAnchorsComponent,
|
21827
21850
|
cE as VcsFlightComponent,
|
21828
|
-
|
21851
|
+
iS as VcsFlightEditor,
|
21829
21852
|
rE as VcsFlightPlayer,
|
21830
|
-
|
21831
|
-
|
21853
|
+
Er as VcsFormButton,
|
21854
|
+
Hn as VcsFormSection,
|
21832
21855
|
PA as VcsFormattedNumber,
|
21833
21856
|
Yu as VcsHelp,
|
21834
21857
|
YI as VcsImageMenu,
|
@@ -21837,20 +21860,20 @@ export {
|
|
21837
21860
|
Sa as VcsList,
|
21838
21861
|
au as VcsMap,
|
21839
21862
|
Dm as VcsNavbar,
|
21840
|
-
|
21863
|
+
jn as VcsObjectContentTreeItem,
|
21841
21864
|
f9 as VcsRadio,
|
21842
21865
|
DL as VcsRadioGrid,
|
21843
|
-
|
21866
|
+
Dr as VcsSelect,
|
21844
21867
|
Oa as VcsSlider,
|
21845
21868
|
Pa as VcsStrokeMenu,
|
21846
21869
|
NI as VcsStrokeSelector,
|
21847
21870
|
tx as VcsTable,
|
21848
|
-
|
21871
|
+
eS as VcsTextArea,
|
21849
21872
|
je as VcsTextField,
|
21850
21873
|
aC as VcsTextMenu,
|
21851
21874
|
gA as VcsTextPage,
|
21852
21875
|
eC as VcsTextSelector,
|
21853
|
-
|
21876
|
+
Ls as VcsToolButton,
|
21854
21877
|
Se as VcsTooltip,
|
21855
21878
|
IM as VcsTreeview,
|
21856
21879
|
bM as VcsTreeviewLeaf,
|
@@ -21862,8 +21885,8 @@ export {
|
|
21862
21885
|
kC as VcsViewpointComponent,
|
21863
21886
|
s1 as VcsViewpointEditor,
|
21864
21887
|
Qm as VcsWindowManager,
|
21865
|
-
|
21866
|
-
|
21888
|
+
tS as VcsWizard,
|
21889
|
+
nS as VcsWizardStep,
|
21867
21890
|
Ob as VcsZoomButton,
|
21868
21891
|
Ie as VectorStyleMenus,
|
21869
21892
|
wl as ViewpointContentTreeItem,
|
@@ -21892,25 +21915,26 @@ export {
|
|
21892
21915
|
i2 as createModalAction,
|
21893
21916
|
r2 as createOverviewMapAction,
|
21894
21917
|
am as createStateRefAction,
|
21918
|
+
HE as createSupportedMapMappingFunction,
|
21895
21919
|
$t as createToggleAction,
|
21896
21920
|
sL as createVueI18n,
|
21897
21921
|
vb as createVuetify,
|
21898
21922
|
om as createZoomToExtentAction,
|
21899
21923
|
zE as createZoomToFeatureAction,
|
21900
|
-
|
21924
|
+
rs as defaultToolboxName,
|
21901
21925
|
Xf as deserializePlugin,
|
21902
21926
|
lL as downloadBlob,
|
21903
|
-
|
21904
|
-
|
21927
|
+
JE as downloadCanvas,
|
21928
|
+
QE as downloadText,
|
21905
21929
|
Uu as downloadURI,
|
21906
21930
|
St as executeCallbacks,
|
21907
21931
|
zi as extractNestedKey,
|
21908
21932
|
gx as featureInfoViewSymbol,
|
21909
21933
|
Cm as getActionsByLocation,
|
21910
21934
|
SE as getAllowedEditorTransformationModes,
|
21911
|
-
|
21935
|
+
WE as getBalloonPosition,
|
21912
21936
|
Cu as getColorByKey,
|
21913
|
-
|
21937
|
+
Rn as getDefaultPrimaryColor,
|
21914
21938
|
np as getFittedWindowPositionOptions,
|
21915
21939
|
Rc as getFittedWindowPositionOptionsFromMapEvent,
|
21916
21940
|
El as getHighlightStyle,
|
@@ -21919,30 +21943,30 @@ export {
|
|
21919
21943
|
Ba as getProvidedFlightInstance,
|
21920
21944
|
Vi as getStateFromLayer,
|
21921
21945
|
gL as getStateFromURL,
|
21922
|
-
|
21946
|
+
Bn as getTargetSize,
|
21923
21947
|
Eu as getWindowComponentOptions,
|
21924
21948
|
Dc as getWindowPositionOptions,
|
21925
21949
|
tp as getWindowPositionOptionsFromMapEvent,
|
21926
|
-
|
21950
|
+
YE as i18nPluginSymbol,
|
21927
21951
|
Wu as initApp,
|
21928
|
-
|
21929
|
-
|
21952
|
+
KE as initAppFromAppConfig,
|
21953
|
+
XE as initAppFromModule,
|
21930
21954
|
bl as isEditorCollectionComponentClass,
|
21931
21955
|
Yf as isValidPackageName,
|
21932
21956
|
Qf as loadPlugin,
|
21933
|
-
|
21957
|
+
UE as makeEditorCollectionComponentClass,
|
21934
21958
|
rp as moveWindow,
|
21935
21959
|
ha as optionsFromWindowPosition,
|
21936
21960
|
im as parseAndSanitizeMarkdown,
|
21937
21961
|
on as pluginBaseUrlSymbol,
|
21938
21962
|
tn as pluginFactorySymbol,
|
21939
|
-
|
21963
|
+
Sn as pluginModuleUrlSymbol,
|
21940
21964
|
da as posToNumber,
|
21941
21965
|
sp as posToPercent,
|
21942
21966
|
Qe as posToPixel,
|
21943
21967
|
qf as serializePlugin,
|
21944
|
-
|
21945
|
-
|
21968
|
+
vi as setBalloonPosition,
|
21969
|
+
qE as setStateToUrl,
|
21946
21970
|
ka as setViewpointAction,
|
21947
21971
|
xl as setupBalloonPositionListener,
|
21948
21972
|
XA as setupCategoryManagerWindow,
|
@@ -21956,6 +21980,6 @@ export {
|
|
21956
21980
|
pa as validateActions,
|
21957
21981
|
Q as vcsAppSymbol,
|
21958
21982
|
gC as vectorProperties,
|
21959
|
-
|
21960
|
-
|
21983
|
+
or as vuetify,
|
21984
|
+
Tn as windowPositionFromOptions
|
21961
21985
|
};
|