@opengis/admin 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-page-D8DdFnjh.js → add-page-C3Wh2-Ml.js} +1 -1
- package/dist/{admin-interface-1gKS5Vfr.js → admin-interface-C4m7uvG2.js} +1 -1
- package/dist/{admin-view-BKGOESqt.js → admin-view-YtM2-LrW.js} +1 -1
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +24 -24
- package/dist/{card-page-CrXRWzNJ.js → card-page-WrYs8chM.js} +1 -1
- package/dist/{card-view-CWNJ2kcf.js → card-view-BwtqUSFP.js} +1 -1
- package/dist/{edit-page-BiFGmlQZ.js → edit-page-CMTqsvJf.js} +1 -1
- package/dist/{import-file-BOQRtUOt.js → import-file-bdYAo8iW.js} +811 -805
- package/package.json +3 -3
- package/server/routes/data/controllers/cardData.js +9 -7
- package/server/routes/data/controllers/tableData.js +16 -4
- package/server/routes/data/controllers/utils/getColumns.js +22 -0
- package/server/routes/menu/controllers/getMenu.js +21 -38
- package/server/routes/templates/controllers/getTemplate.js +11 -3
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { resolveComponent as kn, openBlock as ht, createBlock as ka, shallowRef as
|
|
2
|
-
function
|
|
1
|
+
import { resolveComponent as kn, openBlock as ht, createBlock as ka, shallowRef as kb, unref as Ll, shallowReactive as Eb, nextTick as Mb, defineComponent as S_, reactive as Pb, inject as pu, computed as hr, h as T_, provide as Vp, ref as Cb, watch as k_, getCurrentInstance as E_, watchEffect as Ib, createElementBlock as _t, createElementVNode as re, toDisplayString as bi, normalizeStyle as Vf, Fragment as qr, renderList as fu, withDirectives as $f, vShow as Ab, normalizeClass as M_, createCommentVNode as Uf, createVNode as Wr, createTextVNode as Hs, renderSlot as Db, withCtx as mu, withModifiers as ry, vModelText as P_ } from "vue";
|
|
2
|
+
function C_(s, i) {
|
|
3
3
|
return function() {
|
|
4
4
|
return s.apply(i, arguments);
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
const { toString:
|
|
8
|
-
const a =
|
|
7
|
+
const { toString: zb } = Object.prototype, { getPrototypeOf: qf } = Object, cd = /* @__PURE__ */ ((s) => (i) => {
|
|
8
|
+
const a = zb.call(i);
|
|
9
9
|
return s[a] || (s[a] = a.slice(8, -1).toLowerCase());
|
|
10
10
|
})(/* @__PURE__ */ Object.create(null)), Ys = (s) => (s = s.toLowerCase(), (i) => cd(i) === s), ud = (s) => (i) => typeof i === s, { isArray: $l } = Array, gu = ud("undefined");
|
|
11
|
-
function
|
|
11
|
+
function Rb(s) {
|
|
12
12
|
return s !== null && !gu(s) && s.constructor !== null && !gu(s.constructor) && gs(s.constructor.isBuffer) && s.constructor.isBuffer(s);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
function
|
|
14
|
+
const I_ = Ys("ArrayBuffer");
|
|
15
|
+
function Lb(s) {
|
|
16
16
|
let i;
|
|
17
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? i = ArrayBuffer.isView(s) : i = s && s.buffer &&
|
|
17
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? i = ArrayBuffer.isView(s) : i = s && s.buffer && I_(s.buffer), i;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const Ob = ud("string"), gs = ud("function"), A_ = ud("number"), hd = (s) => s !== null && typeof s == "object", Fb = (s) => s === !0 || s === !1, Zh = (s) => {
|
|
20
20
|
if (cd(s) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const i = qf(s);
|
|
23
23
|
return (i === null || i === Object.prototype || Object.getPrototypeOf(i) === null) && !(Symbol.toStringTag in s) && !(Symbol.iterator in s);
|
|
24
|
-
},
|
|
24
|
+
}, Bb = Ys("Date"), Nb = Ys("File"), jb = Ys("Blob"), Vb = Ys("FileList"), $b = (s) => hd(s) && gs(s.pipe), Ub = (s) => {
|
|
25
25
|
let i;
|
|
26
26
|
return s && (typeof FormData == "function" && s instanceof FormData || gs(s.append) && ((i = cd(s)) === "formdata" || // detect form-data instance
|
|
27
27
|
i === "object" && gs(s.toString) && s.toString() === "[object FormData]"));
|
|
28
|
-
},
|
|
28
|
+
}, qb = Ys("URLSearchParams"), [Hb, Zb, Wb, Gb] = ["ReadableStream", "Request", "Response", "Headers"].map(Ys), Yb = (s) => s.trim ? s.trim() : s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
29
|
function wu(s, i, { allOwnKeys: a = !1 } = {}) {
|
|
30
30
|
if (s === null || typeof s > "u")
|
|
31
31
|
return;
|
|
@@ -40,7 +40,7 @@ function wu(s, i, { allOwnKeys: a = !1 } = {}) {
|
|
|
40
40
|
u = x[c], i.call(null, s[u], u, s);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function D_(s, i) {
|
|
44
44
|
i = i.toLowerCase();
|
|
45
45
|
const a = Object.keys(s);
|
|
46
46
|
let c = a.length, f;
|
|
@@ -49,23 +49,23 @@ function A_(s, i) {
|
|
|
49
49
|
return f;
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
|
-
const wa = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
52
|
+
const wa = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, z_ = (s) => !gu(s) && s !== wa;
|
|
53
53
|
function yf() {
|
|
54
|
-
const { caseless: s } =
|
|
55
|
-
const x = s &&
|
|
54
|
+
const { caseless: s } = z_(this) && this || {}, i = {}, a = (c, f) => {
|
|
55
|
+
const x = s && D_(i, f) || f;
|
|
56
56
|
Zh(i[x]) && Zh(c) ? i[x] = yf(i[x], c) : Zh(c) ? i[x] = yf({}, c) : $l(c) ? i[x] = c.slice() : i[x] = c;
|
|
57
57
|
};
|
|
58
58
|
for (let c = 0, f = arguments.length; c < f; c++)
|
|
59
59
|
arguments[c] && wu(arguments[c], a);
|
|
60
60
|
return i;
|
|
61
61
|
}
|
|
62
|
-
const
|
|
63
|
-
a && gs(f) ? s[x] =
|
|
64
|
-
}, { allOwnKeys: c }), s),
|
|
62
|
+
const Xb = (s, i, a, { allOwnKeys: c } = {}) => (wu(i, (f, x) => {
|
|
63
|
+
a && gs(f) ? s[x] = C_(f, a) : s[x] = f;
|
|
64
|
+
}, { allOwnKeys: c }), s), Kb = (s) => (s.charCodeAt(0) === 65279 && (s = s.slice(1)), s), Jb = (s, i, a, c) => {
|
|
65
65
|
s.prototype = Object.create(i.prototype, c), s.prototype.constructor = s, Object.defineProperty(s, "super", {
|
|
66
66
|
value: i.prototype
|
|
67
67
|
}), a && Object.assign(s.prototype, a);
|
|
68
|
-
},
|
|
68
|
+
}, Qb = (s, i, a, c) => {
|
|
69
69
|
let f, x, v;
|
|
70
70
|
const u = {};
|
|
71
71
|
if (i = i || {}, s == null) return i;
|
|
@@ -75,45 +75,45 @@ const Yb = (s, i, a, { allOwnKeys: c } = {}) => (wu(i, (f, x) => {
|
|
|
75
75
|
s = a !== !1 && qf(s);
|
|
76
76
|
} while (s && (!a || a(s, i)) && s !== Object.prototype);
|
|
77
77
|
return i;
|
|
78
|
-
},
|
|
78
|
+
}, e1 = (s, i, a) => {
|
|
79
79
|
s = String(s), (a === void 0 || a > s.length) && (a = s.length), a -= i.length;
|
|
80
80
|
const c = s.indexOf(i, a);
|
|
81
81
|
return c !== -1 && c === a;
|
|
82
|
-
},
|
|
82
|
+
}, t1 = (s) => {
|
|
83
83
|
if (!s) return null;
|
|
84
84
|
if ($l(s)) return s;
|
|
85
85
|
let i = s.length;
|
|
86
|
-
if (!
|
|
86
|
+
if (!A_(i)) return null;
|
|
87
87
|
const a = new Array(i);
|
|
88
88
|
for (; i-- > 0; )
|
|
89
89
|
a[i] = s[i];
|
|
90
90
|
return a;
|
|
91
|
-
},
|
|
91
|
+
}, i1 = /* @__PURE__ */ ((s) => (i) => s && i instanceof s)(typeof Uint8Array < "u" && qf(Uint8Array)), n1 = (s, i) => {
|
|
92
92
|
const c = (s && s[Symbol.iterator]).call(s);
|
|
93
93
|
let f;
|
|
94
94
|
for (; (f = c.next()) && !f.done; ) {
|
|
95
95
|
const x = f.value;
|
|
96
96
|
i.call(s, x[0], x[1]);
|
|
97
97
|
}
|
|
98
|
-
},
|
|
98
|
+
}, s1 = (s, i) => {
|
|
99
99
|
let a;
|
|
100
100
|
const c = [];
|
|
101
101
|
for (; (a = s.exec(i)) !== null; )
|
|
102
102
|
c.push(a);
|
|
103
103
|
return c;
|
|
104
|
-
},
|
|
104
|
+
}, r1 = Ys("HTMLFormElement"), o1 = (s) => s.toLowerCase().replace(
|
|
105
105
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
106
106
|
function(a, c, f) {
|
|
107
107
|
return c.toUpperCase() + f;
|
|
108
108
|
}
|
|
109
|
-
), oy = (({ hasOwnProperty: s }) => (i, a) => s.call(i, a))(Object.prototype),
|
|
109
|
+
), oy = (({ hasOwnProperty: s }) => (i, a) => s.call(i, a))(Object.prototype), a1 = Ys("RegExp"), R_ = (s, i) => {
|
|
110
110
|
const a = Object.getOwnPropertyDescriptors(s), c = {};
|
|
111
111
|
wu(a, (f, x) => {
|
|
112
112
|
let v;
|
|
113
113
|
(v = i(f, x, s)) !== !1 && (c[x] = v || f);
|
|
114
114
|
}), Object.defineProperties(s, c);
|
|
115
|
-
},
|
|
116
|
-
|
|
115
|
+
}, l1 = (s) => {
|
|
116
|
+
R_(s, (i, a) => {
|
|
117
117
|
if (gs(s) && ["arguments", "caller", "callee"].indexOf(a) !== -1)
|
|
118
118
|
return !1;
|
|
119
119
|
const c = s[a];
|
|
@@ -127,29 +127,29 @@ const Yb = (s, i, a, { allOwnKeys: c } = {}) => (wu(i, (f, x) => {
|
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
|
-
},
|
|
130
|
+
}, c1 = (s, i) => {
|
|
131
131
|
const a = {}, c = (f) => {
|
|
132
132
|
f.forEach((x) => {
|
|
133
133
|
a[x] = !0;
|
|
134
134
|
});
|
|
135
135
|
};
|
|
136
136
|
return $l(s) ? c(s) : c(String(s).split(i)), a;
|
|
137
|
-
},
|
|
138
|
-
},
|
|
137
|
+
}, u1 = () => {
|
|
138
|
+
}, h1 = (s, i) => s != null && Number.isFinite(s = +s) ? s : i, $p = "abcdefghijklmnopqrstuvwxyz", ay = "0123456789", L_ = {
|
|
139
139
|
DIGIT: ay,
|
|
140
140
|
ALPHA: $p,
|
|
141
141
|
ALPHA_DIGIT: $p + $p.toUpperCase() + ay
|
|
142
|
-
},
|
|
142
|
+
}, d1 = (s = 16, i = L_.ALPHA_DIGIT) => {
|
|
143
143
|
let a = "";
|
|
144
144
|
const { length: c } = i;
|
|
145
145
|
for (; s--; )
|
|
146
146
|
a += i[Math.random() * c | 0];
|
|
147
147
|
return a;
|
|
148
148
|
};
|
|
149
|
-
function
|
|
149
|
+
function p1(s) {
|
|
150
150
|
return !!(s && gs(s.append) && s[Symbol.toStringTag] === "FormData" && s[Symbol.iterator]);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const f1 = (s) => {
|
|
153
153
|
const i = new Array(10), a = (c, f) => {
|
|
154
154
|
if (hd(c)) {
|
|
155
155
|
if (i.indexOf(c) >= 0)
|
|
@@ -166,72 +166,72 @@ const p1 = (s) => {
|
|
|
166
166
|
return c;
|
|
167
167
|
};
|
|
168
168
|
return a(s, 0);
|
|
169
|
-
},
|
|
169
|
+
}, m1 = Ys("AsyncFunction"), g1 = (s) => s && (hd(s) || gs(s)) && gs(s.then) && gs(s.catch), O_ = ((s, i) => s ? setImmediate : i ? ((a, c) => (wa.addEventListener("message", ({ source: f, data: x }) => {
|
|
170
170
|
f === wa && x === a && c.length && c.shift()();
|
|
171
171
|
}, !1), (f) => {
|
|
172
172
|
c.push(f), wa.postMessage(a, "*");
|
|
173
173
|
}))(`axios@${Math.random()}`, []) : (a) => setTimeout(a))(
|
|
174
174
|
typeof setImmediate == "function",
|
|
175
175
|
gs(wa.postMessage)
|
|
176
|
-
),
|
|
176
|
+
), y1 = typeof queueMicrotask < "u" ? queueMicrotask.bind(wa) : typeof process < "u" && process.nextTick || O_, ke = {
|
|
177
177
|
isArray: $l,
|
|
178
|
-
isArrayBuffer:
|
|
179
|
-
isBuffer:
|
|
180
|
-
isFormData:
|
|
181
|
-
isArrayBufferView:
|
|
182
|
-
isString:
|
|
183
|
-
isNumber:
|
|
184
|
-
isBoolean:
|
|
178
|
+
isArrayBuffer: I_,
|
|
179
|
+
isBuffer: Rb,
|
|
180
|
+
isFormData: Ub,
|
|
181
|
+
isArrayBufferView: Lb,
|
|
182
|
+
isString: Ob,
|
|
183
|
+
isNumber: A_,
|
|
184
|
+
isBoolean: Fb,
|
|
185
185
|
isObject: hd,
|
|
186
186
|
isPlainObject: Zh,
|
|
187
|
-
isReadableStream:
|
|
188
|
-
isRequest:
|
|
189
|
-
isResponse:
|
|
190
|
-
isHeaders:
|
|
187
|
+
isReadableStream: Hb,
|
|
188
|
+
isRequest: Zb,
|
|
189
|
+
isResponse: Wb,
|
|
190
|
+
isHeaders: Gb,
|
|
191
191
|
isUndefined: gu,
|
|
192
|
-
isDate:
|
|
193
|
-
isFile:
|
|
194
|
-
isBlob:
|
|
195
|
-
isRegExp:
|
|
192
|
+
isDate: Bb,
|
|
193
|
+
isFile: Nb,
|
|
194
|
+
isBlob: jb,
|
|
195
|
+
isRegExp: a1,
|
|
196
196
|
isFunction: gs,
|
|
197
|
-
isStream:
|
|
198
|
-
isURLSearchParams:
|
|
199
|
-
isTypedArray:
|
|
200
|
-
isFileList:
|
|
197
|
+
isStream: $b,
|
|
198
|
+
isURLSearchParams: qb,
|
|
199
|
+
isTypedArray: i1,
|
|
200
|
+
isFileList: Vb,
|
|
201
201
|
forEach: wu,
|
|
202
202
|
merge: yf,
|
|
203
|
-
extend:
|
|
204
|
-
trim:
|
|
205
|
-
stripBOM:
|
|
206
|
-
inherits:
|
|
207
|
-
toFlatObject:
|
|
203
|
+
extend: Xb,
|
|
204
|
+
trim: Yb,
|
|
205
|
+
stripBOM: Kb,
|
|
206
|
+
inherits: Jb,
|
|
207
|
+
toFlatObject: Qb,
|
|
208
208
|
kindOf: cd,
|
|
209
209
|
kindOfTest: Ys,
|
|
210
|
-
endsWith:
|
|
211
|
-
toArray:
|
|
212
|
-
forEachEntry:
|
|
213
|
-
matchAll:
|
|
214
|
-
isHTMLForm:
|
|
210
|
+
endsWith: e1,
|
|
211
|
+
toArray: t1,
|
|
212
|
+
forEachEntry: n1,
|
|
213
|
+
matchAll: s1,
|
|
214
|
+
isHTMLForm: r1,
|
|
215
215
|
hasOwnProperty: oy,
|
|
216
216
|
hasOwnProp: oy,
|
|
217
217
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
218
|
-
reduceDescriptors:
|
|
219
|
-
freezeMethods:
|
|
220
|
-
toObjectSet:
|
|
221
|
-
toCamelCase:
|
|
222
|
-
noop:
|
|
223
|
-
toFiniteNumber:
|
|
224
|
-
findKey:
|
|
218
|
+
reduceDescriptors: R_,
|
|
219
|
+
freezeMethods: l1,
|
|
220
|
+
toObjectSet: c1,
|
|
221
|
+
toCamelCase: o1,
|
|
222
|
+
noop: u1,
|
|
223
|
+
toFiniteNumber: h1,
|
|
224
|
+
findKey: D_,
|
|
225
225
|
global: wa,
|
|
226
|
-
isContextDefined:
|
|
227
|
-
ALPHABET:
|
|
228
|
-
generateString:
|
|
229
|
-
isSpecCompliantForm:
|
|
230
|
-
toJSONObject:
|
|
231
|
-
isAsyncFn:
|
|
232
|
-
isThenable:
|
|
233
|
-
setImmediate:
|
|
234
|
-
asap:
|
|
226
|
+
isContextDefined: z_,
|
|
227
|
+
ALPHABET: L_,
|
|
228
|
+
generateString: d1,
|
|
229
|
+
isSpecCompliantForm: p1,
|
|
230
|
+
toJSONObject: f1,
|
|
231
|
+
isAsyncFn: m1,
|
|
232
|
+
isThenable: g1,
|
|
233
|
+
setImmediate: O_,
|
|
234
|
+
asap: y1
|
|
235
235
|
};
|
|
236
236
|
function At(s, i, a, c, f) {
|
|
237
237
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = s, this.name = "AxiosError", i && (this.code = i), a && (this.config = a), c && (this.request = c), f && (this.response = f, this.status = f.status ? f.status : null);
|
|
@@ -257,7 +257,7 @@ ke.inherits(At, Error, {
|
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
|
-
const
|
|
260
|
+
const F_ = At.prototype, B_ = {};
|
|
261
261
|
[
|
|
262
262
|
"ERR_BAD_OPTION_VALUE",
|
|
263
263
|
"ERR_BAD_OPTION",
|
|
@@ -273,32 +273,32 @@ const O_ = At.prototype, F_ = {};
|
|
|
273
273
|
"ERR_INVALID_URL"
|
|
274
274
|
// eslint-disable-next-line func-names
|
|
275
275
|
].forEach((s) => {
|
|
276
|
-
|
|
276
|
+
B_[s] = { value: s };
|
|
277
277
|
});
|
|
278
|
-
Object.defineProperties(At,
|
|
279
|
-
Object.defineProperty(
|
|
278
|
+
Object.defineProperties(At, B_);
|
|
279
|
+
Object.defineProperty(F_, "isAxiosError", { value: !0 });
|
|
280
280
|
At.from = (s, i, a, c, f, x) => {
|
|
281
|
-
const v = Object.create(
|
|
281
|
+
const v = Object.create(F_);
|
|
282
282
|
return ke.toFlatObject(s, v, function(C) {
|
|
283
283
|
return C !== Error.prototype;
|
|
284
284
|
}, (u) => u !== "isAxiosError"), At.call(v, s.message, i, a, c, f), v.cause = s, v.name = s.name, x && Object.assign(v, x), v;
|
|
285
285
|
};
|
|
286
|
-
const
|
|
286
|
+
const _1 = null;
|
|
287
287
|
function _f(s) {
|
|
288
288
|
return ke.isPlainObject(s) || ke.isArray(s);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function N_(s) {
|
|
291
291
|
return ke.endsWith(s, "[]") ? s.slice(0, -2) : s;
|
|
292
292
|
}
|
|
293
293
|
function ly(s, i, a) {
|
|
294
294
|
return s ? s.concat(i).map(function(f, x) {
|
|
295
|
-
return f =
|
|
295
|
+
return f = N_(f), !a && x ? "[" + f + "]" : f;
|
|
296
296
|
}).join(a ? "." : "") : i;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function v1(s) {
|
|
299
299
|
return ke.isArray(s) && !s.some(_f);
|
|
300
300
|
}
|
|
301
|
-
const
|
|
301
|
+
const x1 = ke.toFlatObject(ke, {}, null, function(i) {
|
|
302
302
|
return /^is[A-Z]/.test(i);
|
|
303
303
|
});
|
|
304
304
|
function dd(s, i, a) {
|
|
@@ -327,8 +327,8 @@ function dd(s, i, a) {
|
|
|
327
327
|
if (G && !ce && typeof G == "object") {
|
|
328
328
|
if (ke.endsWith(ne, "{}"))
|
|
329
329
|
ne = c ? ne : ne.slice(0, -2), G = JSON.stringify(G);
|
|
330
|
-
else if (ke.isArray(G) &&
|
|
331
|
-
return ne =
|
|
330
|
+
else if (ke.isArray(G) && v1(G) || (ke.isFileList(G) || ke.endsWith(ne, "[]")) && (de = ke.toArray(G)))
|
|
331
|
+
return ne = N_(ne), de.forEach(function(_e, Ae) {
|
|
332
332
|
!(ke.isUndefined(_e) || _e === null) && i.append(
|
|
333
333
|
// eslint-disable-next-line no-nested-ternary
|
|
334
334
|
v === !0 ? ly([ne], Ae, x) : v === null ? ne : ne + "[]",
|
|
@@ -338,7 +338,7 @@ function dd(s, i, a) {
|
|
|
338
338
|
}
|
|
339
339
|
return _f(G) ? !0 : (i.append(ly(ce, ne, x), I(G)), !1);
|
|
340
340
|
}
|
|
341
|
-
const z = [], R = Object.assign(
|
|
341
|
+
const z = [], R = Object.assign(x1, {
|
|
342
342
|
defaultVisitor: A,
|
|
343
343
|
convertValue: I,
|
|
344
344
|
isVisitable: _f
|
|
@@ -379,11 +379,11 @@ function cy(s) {
|
|
|
379
379
|
function Hf(s, i) {
|
|
380
380
|
this._pairs = [], s && dd(s, this, i);
|
|
381
381
|
}
|
|
382
|
-
const
|
|
383
|
-
|
|
382
|
+
const j_ = Hf.prototype;
|
|
383
|
+
j_.append = function(i, a) {
|
|
384
384
|
this._pairs.push([i, a]);
|
|
385
385
|
};
|
|
386
|
-
|
|
386
|
+
j_.toString = function(i) {
|
|
387
387
|
const a = i ? function(c) {
|
|
388
388
|
return i.call(this, c, cy);
|
|
389
389
|
} : cy;
|
|
@@ -391,13 +391,13 @@ N_.toString = function(i) {
|
|
|
391
391
|
return a(f[0]) + "=" + a(f[1]);
|
|
392
392
|
}, "").join("&");
|
|
393
393
|
};
|
|
394
|
-
function
|
|
394
|
+
function b1(s) {
|
|
395
395
|
return encodeURIComponent(s).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function V_(s, i, a) {
|
|
398
398
|
if (!i)
|
|
399
399
|
return s;
|
|
400
|
-
const c = a && a.encode ||
|
|
400
|
+
const c = a && a.encode || b1, f = a && a.serialize;
|
|
401
401
|
let x;
|
|
402
402
|
if (f ? x = f(i, a) : x = ke.isURLSearchParams(i) ? i.toString() : new Hf(i, a).toString(c), x) {
|
|
403
403
|
const v = s.indexOf("#");
|
|
@@ -459,41 +459,41 @@ class uy {
|
|
|
459
459
|
});
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
const
|
|
462
|
+
const $_ = {
|
|
463
463
|
silentJSONParsing: !0,
|
|
464
464
|
forcedJSONParsing: !0,
|
|
465
465
|
clarifyTimeoutError: !1
|
|
466
|
-
},
|
|
466
|
+
}, w1 = typeof URLSearchParams < "u" ? URLSearchParams : Hf, S1 = typeof FormData < "u" ? FormData : null, T1 = typeof Blob < "u" ? Blob : null, k1 = {
|
|
467
467
|
isBrowser: !0,
|
|
468
468
|
classes: {
|
|
469
|
-
URLSearchParams:
|
|
470
|
-
FormData:
|
|
471
|
-
Blob:
|
|
469
|
+
URLSearchParams: w1,
|
|
470
|
+
FormData: S1,
|
|
471
|
+
Blob: T1
|
|
472
472
|
},
|
|
473
473
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
474
|
-
}, Zf = typeof window < "u" && typeof document < "u", vf = typeof navigator == "object" && navigator || void 0,
|
|
475
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
474
|
+
}, Zf = typeof window < "u" && typeof document < "u", vf = typeof navigator == "object" && navigator || void 0, E1 = Zf && (!vf || ["ReactNative", "NativeScript", "NS"].indexOf(vf.product) < 0), M1 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
475
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", P1 = Zf && window.location.href || "http://localhost", C1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
476
476
|
__proto__: null,
|
|
477
477
|
hasBrowserEnv: Zf,
|
|
478
|
-
hasStandardBrowserEnv:
|
|
479
|
-
hasStandardBrowserWebWorkerEnv:
|
|
478
|
+
hasStandardBrowserEnv: E1,
|
|
479
|
+
hasStandardBrowserWebWorkerEnv: M1,
|
|
480
480
|
navigator: vf,
|
|
481
|
-
origin:
|
|
481
|
+
origin: P1
|
|
482
482
|
}, Symbol.toStringTag, { value: "Module" })), es = {
|
|
483
|
-
...
|
|
484
|
-
...
|
|
483
|
+
...C1,
|
|
484
|
+
...k1
|
|
485
485
|
};
|
|
486
|
-
function
|
|
486
|
+
function I1(s, i) {
|
|
487
487
|
return dd(s, new es.classes.URLSearchParams(), Object.assign({
|
|
488
488
|
visitor: function(a, c, f, x) {
|
|
489
489
|
return es.isNode && ke.isBuffer(a) ? (this.append(c, a.toString("base64")), !1) : x.defaultVisitor.apply(this, arguments);
|
|
490
490
|
}
|
|
491
491
|
}, i));
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function A1(s) {
|
|
494
494
|
return ke.matchAll(/\w+|\[(\w*)]/g, s).map((i) => i[0] === "[]" ? "" : i[1] || i[0]);
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function D1(s) {
|
|
497
497
|
const i = {}, a = Object.keys(s);
|
|
498
498
|
let c;
|
|
499
499
|
const f = a.length;
|
|
@@ -502,22 +502,22 @@ function A1(s) {
|
|
|
502
502
|
x = a[c], i[x] = s[x];
|
|
503
503
|
return i;
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function U_(s) {
|
|
506
506
|
function i(a, c, f, x) {
|
|
507
507
|
let v = a[x++];
|
|
508
508
|
if (v === "__proto__") return !0;
|
|
509
509
|
const u = Number.isFinite(+v), C = x >= a.length;
|
|
510
|
-
return v = !v && ke.isArray(f) ? f.length : v, C ? (ke.hasOwnProp(f, v) ? f[v] = [f[v], c] : f[v] = c, !u) : ((!f[v] || !ke.isObject(f[v])) && (f[v] = []), i(a, c, f[v], x) && ke.isArray(f[v]) && (f[v] =
|
|
510
|
+
return v = !v && ke.isArray(f) ? f.length : v, C ? (ke.hasOwnProp(f, v) ? f[v] = [f[v], c] : f[v] = c, !u) : ((!f[v] || !ke.isObject(f[v])) && (f[v] = []), i(a, c, f[v], x) && ke.isArray(f[v]) && (f[v] = D1(f[v])), !u);
|
|
511
511
|
}
|
|
512
512
|
if (ke.isFormData(s) && ke.isFunction(s.entries)) {
|
|
513
513
|
const a = {};
|
|
514
514
|
return ke.forEachEntry(s, (c, f) => {
|
|
515
|
-
i(
|
|
515
|
+
i(A1(c), f, a, 0);
|
|
516
516
|
}), a;
|
|
517
517
|
}
|
|
518
518
|
return null;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function z1(s, i, a) {
|
|
521
521
|
if (ke.isString(s))
|
|
522
522
|
try {
|
|
523
523
|
return (i || JSON.parse)(s), ke.trim(s);
|
|
@@ -528,12 +528,12 @@ function D1(s, i, a) {
|
|
|
528
528
|
return (a || JSON.stringify)(s);
|
|
529
529
|
}
|
|
530
530
|
const Su = {
|
|
531
|
-
transitional:
|
|
531
|
+
transitional: $_,
|
|
532
532
|
adapter: ["xhr", "http", "fetch"],
|
|
533
533
|
transformRequest: [function(i, a) {
|
|
534
534
|
const c = a.getContentType() || "", f = c.indexOf("application/json") > -1, x = ke.isObject(i);
|
|
535
535
|
if (x && ke.isHTMLForm(i) && (i = new FormData(i)), ke.isFormData(i))
|
|
536
|
-
return f ? JSON.stringify(
|
|
536
|
+
return f ? JSON.stringify(U_(i)) : i;
|
|
537
537
|
if (ke.isArrayBuffer(i) || ke.isBuffer(i) || ke.isStream(i) || ke.isFile(i) || ke.isBlob(i) || ke.isReadableStream(i))
|
|
538
538
|
return i;
|
|
539
539
|
if (ke.isArrayBufferView(i))
|
|
@@ -543,7 +543,7 @@ const Su = {
|
|
|
543
543
|
let u;
|
|
544
544
|
if (x) {
|
|
545
545
|
if (c.indexOf("application/x-www-form-urlencoded") > -1)
|
|
546
|
-
return
|
|
546
|
+
return I1(i, this.formSerializer).toString();
|
|
547
547
|
if ((u = ke.isFileList(i)) || c.indexOf("multipart/form-data") > -1) {
|
|
548
548
|
const C = this.env && this.env.FormData;
|
|
549
549
|
return dd(
|
|
@@ -553,7 +553,7 @@ const Su = {
|
|
|
553
553
|
);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
return x || f ? (a.setContentType("application/json", !1),
|
|
556
|
+
return x || f ? (a.setContentType("application/json", !1), z1(i)) : i;
|
|
557
557
|
}],
|
|
558
558
|
transformResponse: [function(i) {
|
|
559
559
|
const a = this.transitional || Su.transitional, c = a && a.forcedJSONParsing, f = this.responseType === "json";
|
|
@@ -596,7 +596,7 @@ const Su = {
|
|
|
596
596
|
ke.forEach(["delete", "get", "head", "post", "put", "patch"], (s) => {
|
|
597
597
|
Su.headers[s] = {};
|
|
598
598
|
});
|
|
599
|
-
const
|
|
599
|
+
const R1 = ke.toObjectSet([
|
|
600
600
|
"age",
|
|
601
601
|
"authorization",
|
|
602
602
|
"content-length",
|
|
@@ -614,12 +614,12 @@ const z1 = ke.toObjectSet([
|
|
|
614
614
|
"referer",
|
|
615
615
|
"retry-after",
|
|
616
616
|
"user-agent"
|
|
617
|
-
]),
|
|
617
|
+
]), L1 = (s) => {
|
|
618
618
|
const i = {};
|
|
619
619
|
let a, c, f;
|
|
620
620
|
return s && s.split(`
|
|
621
621
|
`).forEach(function(v) {
|
|
622
|
-
f = v.indexOf(":"), a = v.substring(0, f).trim().toLowerCase(), c = v.substring(f + 1).trim(), !(!a || i[a] &&
|
|
622
|
+
f = v.indexOf(":"), a = v.substring(0, f).trim().toLowerCase(), c = v.substring(f + 1).trim(), !(!a || i[a] && R1[a]) && (a === "set-cookie" ? i[a] ? i[a].push(c) : i[a] = [c] : i[a] = i[a] ? i[a] + ", " + c : c);
|
|
623
623
|
}), i;
|
|
624
624
|
}, hy = Symbol("internals");
|
|
625
625
|
function tu(s) {
|
|
@@ -628,14 +628,14 @@ function tu(s) {
|
|
|
628
628
|
function Wh(s) {
|
|
629
629
|
return s === !1 || s == null ? s : ke.isArray(s) ? s.map(Wh) : String(s);
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function O1(s) {
|
|
632
632
|
const i = /* @__PURE__ */ Object.create(null), a = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
633
633
|
let c;
|
|
634
634
|
for (; c = a.exec(s); )
|
|
635
635
|
i[c[1]] = c[2];
|
|
636
636
|
return i;
|
|
637
637
|
}
|
|
638
|
-
const
|
|
638
|
+
const F1 = (s) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(s.trim());
|
|
639
639
|
function Up(s, i, a, c, f) {
|
|
640
640
|
if (ke.isFunction(c))
|
|
641
641
|
return c.call(this, i, a);
|
|
@@ -646,10 +646,10 @@ function Up(s, i, a, c, f) {
|
|
|
646
646
|
return c.test(i);
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function B1(s) {
|
|
650
650
|
return s.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (i, a, c) => a.toUpperCase() + c);
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function N1(s, i) {
|
|
653
653
|
const a = ke.toCamelCase(" " + i);
|
|
654
654
|
["get", "set", "has"].forEach((c) => {
|
|
655
655
|
Object.defineProperty(s, c + a, {
|
|
@@ -676,8 +676,8 @@ class ts {
|
|
|
676
676
|
const v = (u, C) => ke.forEach(u, (I, A) => x(I, A, C));
|
|
677
677
|
if (ke.isPlainObject(i) || i instanceof this.constructor)
|
|
678
678
|
v(i, a);
|
|
679
|
-
else if (ke.isString(i) && (i = i.trim()) && !
|
|
680
|
-
v(
|
|
679
|
+
else if (ke.isString(i) && (i = i.trim()) && !F1(i))
|
|
680
|
+
v(L1(i), a);
|
|
681
681
|
else if (ke.isHeaders(i))
|
|
682
682
|
for (const [u, C] of i.entries())
|
|
683
683
|
x(C, u, c);
|
|
@@ -693,7 +693,7 @@ class ts {
|
|
|
693
693
|
if (!a)
|
|
694
694
|
return f;
|
|
695
695
|
if (a === !0)
|
|
696
|
-
return
|
|
696
|
+
return O1(f);
|
|
697
697
|
if (ke.isFunction(a))
|
|
698
698
|
return a.call(this, f, c);
|
|
699
699
|
if (ke.isRegExp(a))
|
|
@@ -737,7 +737,7 @@ class ts {
|
|
|
737
737
|
a[v] = Wh(f), delete a[x];
|
|
738
738
|
return;
|
|
739
739
|
}
|
|
740
|
-
const u = i ?
|
|
740
|
+
const u = i ? B1(x) : String(x).trim();
|
|
741
741
|
u !== x && delete a[x], a[u] = Wh(f), c[u] = !0;
|
|
742
742
|
}), this;
|
|
743
743
|
}
|
|
@@ -773,7 +773,7 @@ class ts {
|
|
|
773
773
|
}).accessors, f = this.prototype;
|
|
774
774
|
function x(v) {
|
|
775
775
|
const u = tu(v);
|
|
776
|
-
c[u] || (
|
|
776
|
+
c[u] || (N1(f, v), c[u] = !0);
|
|
777
777
|
}
|
|
778
778
|
return ke.isArray(i) ? i.forEach(x) : x(i), this;
|
|
779
779
|
}
|
|
@@ -796,7 +796,7 @@ function qp(s, i) {
|
|
|
796
796
|
x = u.call(a, x, f.normalize(), i ? i.status : void 0);
|
|
797
797
|
}), f.normalize(), x;
|
|
798
798
|
}
|
|
799
|
-
function
|
|
799
|
+
function q_(s) {
|
|
800
800
|
return !!(s && s.__CANCEL__);
|
|
801
801
|
}
|
|
802
802
|
function Ul(s, i, a) {
|
|
@@ -805,7 +805,7 @@ function Ul(s, i, a) {
|
|
|
805
805
|
ke.inherits(Ul, At, {
|
|
806
806
|
__CANCEL__: !0
|
|
807
807
|
});
|
|
808
|
-
function
|
|
808
|
+
function H_(s, i, a) {
|
|
809
809
|
const c = a.config.validateStatus;
|
|
810
810
|
!a.status || !c || c(a.status) ? s(a) : i(new At(
|
|
811
811
|
"Request failed with status code " + a.status,
|
|
@@ -815,11 +815,11 @@ function q_(s, i, a) {
|
|
|
815
815
|
a
|
|
816
816
|
));
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function j1(s) {
|
|
819
819
|
const i = /^([-+\w]{1,25})(:?\/\/|:)/.exec(s);
|
|
820
820
|
return i && i[1] || "";
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
function V1(s, i) {
|
|
823
823
|
s = s || 10;
|
|
824
824
|
const a = new Array(s), c = new Array(s);
|
|
825
825
|
let f = 0, x = 0, v;
|
|
@@ -835,7 +835,7 @@ function j1(s, i) {
|
|
|
835
835
|
return U ? Math.round(R * 1e3 / U) : void 0;
|
|
836
836
|
};
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function $1(s, i) {
|
|
839
839
|
let a = 0, c = 1e3 / i, f, x;
|
|
840
840
|
const v = (I, A = Date.now()) => {
|
|
841
841
|
a = A, f = null, x && (clearTimeout(x), x = null), s.apply(null, I);
|
|
@@ -849,8 +849,8 @@ function V1(s, i) {
|
|
|
849
849
|
}
|
|
850
850
|
const Kh = (s, i, a = 3) => {
|
|
851
851
|
let c = 0;
|
|
852
|
-
const f =
|
|
853
|
-
return
|
|
852
|
+
const f = V1(50, 250);
|
|
853
|
+
return $1((x) => {
|
|
854
854
|
const v = x.loaded, u = x.lengthComputable ? x.total : void 0, C = v - c, I = f(C), A = v <= u;
|
|
855
855
|
c = v;
|
|
856
856
|
const z = {
|
|
@@ -873,7 +873,7 @@ const Kh = (s, i, a = 3) => {
|
|
|
873
873
|
total: s,
|
|
874
874
|
loaded: c
|
|
875
875
|
}), i[1]];
|
|
876
|
-
}, py = (s) => (...i) => ke.asap(() => s(...i)),
|
|
876
|
+
}, py = (s) => (...i) => ke.asap(() => s(...i)), U1 = es.hasStandardBrowserEnv ? (
|
|
877
877
|
// Standard browser envs have full support of the APIs needed to test
|
|
878
878
|
// whether the request URL is of the same origin as current location.
|
|
879
879
|
function() {
|
|
@@ -904,7 +904,7 @@ const Kh = (s, i, a = 3) => {
|
|
|
904
904
|
return !0;
|
|
905
905
|
};
|
|
906
906
|
}()
|
|
907
|
-
),
|
|
907
|
+
), q1 = es.hasStandardBrowserEnv ? (
|
|
908
908
|
// Standard browser envs support document.cookie
|
|
909
909
|
{
|
|
910
910
|
write(s, i, a, c, f, x) {
|
|
@@ -931,14 +931,14 @@ const Kh = (s, i, a = 3) => {
|
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
933
|
);
|
|
934
|
-
function
|
|
934
|
+
function H1(s) {
|
|
935
935
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(s);
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function Z1(s, i) {
|
|
938
938
|
return i ? s.replace(/\/?\/$/, "") + "/" + i.replace(/^\/+/, "") : s;
|
|
939
939
|
}
|
|
940
|
-
function
|
|
941
|
-
return s && !
|
|
940
|
+
function Z_(s, i) {
|
|
941
|
+
return s && !H1(i) ? Z1(s, i) : i;
|
|
942
942
|
}
|
|
943
943
|
const fy = (s) => s instanceof ts ? { ...s } : s;
|
|
944
944
|
function Ca(s, i) {
|
|
@@ -1005,10 +1005,10 @@ function Ca(s, i) {
|
|
|
1005
1005
|
ke.isUndefined(R) && z !== u || (a[A] = R);
|
|
1006
1006
|
}), a;
|
|
1007
1007
|
}
|
|
1008
|
-
const
|
|
1008
|
+
const W_ = (s) => {
|
|
1009
1009
|
const i = Ca({}, s);
|
|
1010
1010
|
let { data: a, withXSRFToken: c, xsrfHeaderName: f, xsrfCookieName: x, headers: v, auth: u } = i;
|
|
1011
|
-
i.headers = v = ts.from(v), i.url =
|
|
1011
|
+
i.headers = v = ts.from(v), i.url = V_(Z_(i.baseURL, i.url), s.params, s.paramsSerializer), u && v.set(
|
|
1012
1012
|
"Authorization",
|
|
1013
1013
|
"Basic " + btoa((u.username || "") + ":" + (u.password ? unescape(encodeURIComponent(u.password)) : ""))
|
|
1014
1014
|
);
|
|
@@ -1021,14 +1021,14 @@ const Z_ = (s) => {
|
|
|
1021
1021
|
v.setContentType([I || "multipart/form-data", ...A].join("; "));
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
|
-
if (es.hasStandardBrowserEnv && (c && ke.isFunction(c) && (c = c(i)), c || c !== !1 &&
|
|
1025
|
-
const I = f && x &&
|
|
1024
|
+
if (es.hasStandardBrowserEnv && (c && ke.isFunction(c) && (c = c(i)), c || c !== !1 && U1(i.url))) {
|
|
1025
|
+
const I = f && x && q1.read(x);
|
|
1026
1026
|
I && v.set(f, I);
|
|
1027
1027
|
}
|
|
1028
1028
|
return i;
|
|
1029
|
-
},
|
|
1029
|
+
}, W1 = typeof XMLHttpRequest < "u", G1 = W1 && function(s) {
|
|
1030
1030
|
return new Promise(function(a, c) {
|
|
1031
|
-
const f =
|
|
1031
|
+
const f = W_(s);
|
|
1032
1032
|
let x = f.data;
|
|
1033
1033
|
const v = ts.from(f.headers).normalize();
|
|
1034
1034
|
let { responseType: u, onUploadProgress: C, onDownloadProgress: I } = f, A, z, R, U, G;
|
|
@@ -1050,7 +1050,7 @@ const Z_ = (s) => {
|
|
|
1050
1050
|
config: s,
|
|
1051
1051
|
request: ce
|
|
1052
1052
|
};
|
|
1053
|
-
|
|
1053
|
+
H_(function(Ve) {
|
|
1054
1054
|
a(Ve), ne();
|
|
1055
1055
|
}, function(Ve) {
|
|
1056
1056
|
c(Ve), ne();
|
|
@@ -1064,7 +1064,7 @@ const Z_ = (s) => {
|
|
|
1064
1064
|
c(new At("Network Error", At.ERR_NETWORK, s, ce)), ce = null;
|
|
1065
1065
|
}, ce.ontimeout = function() {
|
|
1066
1066
|
let Ae = f.timeout ? "timeout of " + f.timeout + "ms exceeded" : "timeout exceeded";
|
|
1067
|
-
const at = f.transitional ||
|
|
1067
|
+
const at = f.transitional || $_;
|
|
1068
1068
|
f.timeoutErrorMessage && (Ae = f.timeoutErrorMessage), c(new At(
|
|
1069
1069
|
Ae,
|
|
1070
1070
|
at.clarifyTimeoutError ? At.ETIMEDOUT : At.ECONNABORTED,
|
|
@@ -1076,14 +1076,14 @@ const Z_ = (s) => {
|
|
|
1076
1076
|
}), ke.isUndefined(f.withCredentials) || (ce.withCredentials = !!f.withCredentials), u && u !== "json" && (ce.responseType = f.responseType), I && ([R, G] = Kh(I, !0), ce.addEventListener("progress", R)), C && ce.upload && ([z, U] = Kh(C), ce.upload.addEventListener("progress", z), ce.upload.addEventListener("loadend", U)), (f.cancelToken || f.signal) && (A = (_e) => {
|
|
1077
1077
|
ce && (c(!_e || _e.type ? new Ul(null, s, ce) : _e), ce.abort(), ce = null);
|
|
1078
1078
|
}, f.cancelToken && f.cancelToken.subscribe(A), f.signal && (f.signal.aborted ? A() : f.signal.addEventListener("abort", A)));
|
|
1079
|
-
const be =
|
|
1079
|
+
const be = j1(f.url);
|
|
1080
1080
|
if (be && es.protocols.indexOf(be) === -1) {
|
|
1081
1081
|
c(new At("Unsupported protocol " + be + ":", At.ERR_BAD_REQUEST, s));
|
|
1082
1082
|
return;
|
|
1083
1083
|
}
|
|
1084
1084
|
ce.send(x || null);
|
|
1085
1085
|
});
|
|
1086
|
-
},
|
|
1086
|
+
}, Y1 = (s, i) => {
|
|
1087
1087
|
const { length: a } = s = s ? s.filter(Boolean) : [];
|
|
1088
1088
|
if (i || a) {
|
|
1089
1089
|
let c = new AbortController(), f;
|
|
@@ -1106,7 +1106,7 @@ const Z_ = (s) => {
|
|
|
1106
1106
|
const { signal: C } = c;
|
|
1107
1107
|
return C.unsubscribe = () => ke.asap(u), C;
|
|
1108
1108
|
}
|
|
1109
|
-
},
|
|
1109
|
+
}, X1 = function* (s, i) {
|
|
1110
1110
|
let a = s.byteLength;
|
|
1111
1111
|
if (!i || a < i) {
|
|
1112
1112
|
yield s;
|
|
@@ -1115,10 +1115,10 @@ const Z_ = (s) => {
|
|
|
1115
1115
|
let c = 0, f;
|
|
1116
1116
|
for (; c < a; )
|
|
1117
1117
|
f = c + i, yield s.slice(c, f), c = f;
|
|
1118
|
-
},
|
|
1119
|
-
for await (const a of
|
|
1120
|
-
yield*
|
|
1121
|
-
},
|
|
1118
|
+
}, K1 = async function* (s, i) {
|
|
1119
|
+
for await (const a of J1(s))
|
|
1120
|
+
yield* X1(a, i);
|
|
1121
|
+
}, J1 = async function* (s) {
|
|
1122
1122
|
if (s[Symbol.asyncIterator]) {
|
|
1123
1123
|
yield* s;
|
|
1124
1124
|
return;
|
|
@@ -1135,7 +1135,7 @@ const Z_ = (s) => {
|
|
|
1135
1135
|
await i.cancel();
|
|
1136
1136
|
}
|
|
1137
1137
|
}, my = (s, i, a, c) => {
|
|
1138
|
-
const f =
|
|
1138
|
+
const f = K1(s, i);
|
|
1139
1139
|
let x = 0, v, u = (C) => {
|
|
1140
1140
|
v || (v = !0, c && c(C));
|
|
1141
1141
|
};
|
|
@@ -1163,13 +1163,13 @@ const Z_ = (s) => {
|
|
|
1163
1163
|
}, {
|
|
1164
1164
|
highWaterMark: 2
|
|
1165
1165
|
});
|
|
1166
|
-
}, pd = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
1166
|
+
}, pd = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", G_ = pd && typeof ReadableStream == "function", Q1 = pd && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((s) => (i) => s.encode(i))(new TextEncoder()) : async (s) => new Uint8Array(await new Response(s).arrayBuffer())), Y_ = (s, ...i) => {
|
|
1167
1167
|
try {
|
|
1168
1168
|
return !!s(...i);
|
|
1169
1169
|
} catch {
|
|
1170
1170
|
return !1;
|
|
1171
1171
|
}
|
|
1172
|
-
},
|
|
1172
|
+
}, ew = G_ && Y_(() => {
|
|
1173
1173
|
let s = !1;
|
|
1174
1174
|
const i = new Request(es.origin, {
|
|
1175
1175
|
body: new ReadableStream(),
|
|
@@ -1179,7 +1179,7 @@ const Z_ = (s) => {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
}).headers.has("Content-Type");
|
|
1181
1181
|
return s && !i;
|
|
1182
|
-
}), gy = 64 * 1024, xf =
|
|
1182
|
+
}), gy = 64 * 1024, xf = G_ && Y_(() => ke.isReadableStream(new Response("").body)), Jh = {
|
|
1183
1183
|
stream: xf && ((s) => s.body)
|
|
1184
1184
|
};
|
|
1185
1185
|
pd && ((s) => {
|
|
@@ -1189,7 +1189,7 @@ pd && ((s) => {
|
|
|
1189
1189
|
});
|
|
1190
1190
|
});
|
|
1191
1191
|
})(new Response());
|
|
1192
|
-
const
|
|
1192
|
+
const tw = async (s) => {
|
|
1193
1193
|
if (s == null)
|
|
1194
1194
|
return 0;
|
|
1195
1195
|
if (ke.isBlob(s))
|
|
@@ -1202,11 +1202,11 @@ const ew = async (s) => {
|
|
|
1202
1202
|
if (ke.isArrayBufferView(s) || ke.isArrayBuffer(s))
|
|
1203
1203
|
return s.byteLength;
|
|
1204
1204
|
if (ke.isURLSearchParams(s) && (s = s + ""), ke.isString(s))
|
|
1205
|
-
return (await
|
|
1206
|
-
},
|
|
1205
|
+
return (await Q1(s)).byteLength;
|
|
1206
|
+
}, iw = async (s, i) => {
|
|
1207
1207
|
const a = ke.toFiniteNumber(s.getContentLength());
|
|
1208
|
-
return a ??
|
|
1209
|
-
},
|
|
1208
|
+
return a ?? tw(i);
|
|
1209
|
+
}, nw = pd && (async (s) => {
|
|
1210
1210
|
let {
|
|
1211
1211
|
url: i,
|
|
1212
1212
|
method: a,
|
|
@@ -1220,15 +1220,15 @@ const ew = async (s) => {
|
|
|
1220
1220
|
headers: A,
|
|
1221
1221
|
withCredentials: z = "same-origin",
|
|
1222
1222
|
fetchOptions: R
|
|
1223
|
-
} =
|
|
1223
|
+
} = W_(s);
|
|
1224
1224
|
I = I ? (I + "").toLowerCase() : "text";
|
|
1225
|
-
let U =
|
|
1225
|
+
let U = Y1([f, x && x.toAbortSignal()], v), G;
|
|
1226
1226
|
const ne = U && U.unsubscribe && (() => {
|
|
1227
1227
|
U.unsubscribe();
|
|
1228
1228
|
});
|
|
1229
1229
|
let ce;
|
|
1230
1230
|
try {
|
|
1231
|
-
if (C &&
|
|
1231
|
+
if (C && ew && a !== "get" && a !== "head" && (ce = await iw(A, c)) !== 0) {
|
|
1232
1232
|
let at = new Request(i, {
|
|
1233
1233
|
method: "POST",
|
|
1234
1234
|
body: c,
|
|
@@ -1274,7 +1274,7 @@ const ew = async (s) => {
|
|
|
1274
1274
|
I = I || "text";
|
|
1275
1275
|
let Ae = await Jh[ke.findKey(Jh, I) || "text"](be, s);
|
|
1276
1276
|
return !_e && ne && ne(), await new Promise((at, wt) => {
|
|
1277
|
-
|
|
1277
|
+
H_(at, wt, {
|
|
1278
1278
|
data: Ae,
|
|
1279
1279
|
headers: ts.from(be.headers),
|
|
1280
1280
|
status: be.status,
|
|
@@ -1292,9 +1292,9 @@ const ew = async (s) => {
|
|
|
1292
1292
|
) : At.from(de, de && de.code, s, G);
|
|
1293
1293
|
}
|
|
1294
1294
|
}), bf = {
|
|
1295
|
-
http:
|
|
1296
|
-
xhr:
|
|
1297
|
-
fetch:
|
|
1295
|
+
http: _1,
|
|
1296
|
+
xhr: G1,
|
|
1297
|
+
fetch: nw
|
|
1298
1298
|
};
|
|
1299
1299
|
ke.forEach(bf, (s, i) => {
|
|
1300
1300
|
if (s) {
|
|
@@ -1305,7 +1305,7 @@ ke.forEach(bf, (s, i) => {
|
|
|
1305
1305
|
Object.defineProperty(s, "adapterName", { value: i });
|
|
1306
1306
|
}
|
|
1307
1307
|
});
|
|
1308
|
-
const yy = (s) => `- ${s}`,
|
|
1308
|
+
const yy = (s) => `- ${s}`, sw = (s) => ke.isFunction(s) || s === null || s === !1, X_ = {
|
|
1309
1309
|
getAdapter: (s) => {
|
|
1310
1310
|
s = ke.isArray(s) ? s : [s];
|
|
1311
1311
|
const { length: i } = s;
|
|
@@ -1314,7 +1314,7 @@ const yy = (s) => `- ${s}`, nw = (s) => ke.isFunction(s) || s === null || s ===
|
|
|
1314
1314
|
for (let x = 0; x < i; x++) {
|
|
1315
1315
|
a = s[x];
|
|
1316
1316
|
let v;
|
|
1317
|
-
if (c = a, !
|
|
1317
|
+
if (c = a, !sw(a) && (c = bf[(v = String(a)).toLowerCase()], c === void 0))
|
|
1318
1318
|
throw new At(`Unknown adapter '${v}'`);
|
|
1319
1319
|
if (c)
|
|
1320
1320
|
break;
|
|
@@ -1344,21 +1344,21 @@ function _y(s) {
|
|
|
1344
1344
|
return Hp(s), s.headers = ts.from(s.headers), s.data = qp.call(
|
|
1345
1345
|
s,
|
|
1346
1346
|
s.transformRequest
|
|
1347
|
-
), ["post", "put", "patch"].indexOf(s.method) !== -1 && s.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1347
|
+
), ["post", "put", "patch"].indexOf(s.method) !== -1 && s.headers.setContentType("application/x-www-form-urlencoded", !1), X_.getAdapter(s.adapter || Su.adapter)(s).then(function(c) {
|
|
1348
1348
|
return Hp(s), c.data = qp.call(
|
|
1349
1349
|
s,
|
|
1350
1350
|
s.transformResponse,
|
|
1351
1351
|
c
|
|
1352
1352
|
), c.headers = ts.from(c.headers), c;
|
|
1353
1353
|
}, function(c) {
|
|
1354
|
-
return
|
|
1354
|
+
return q_(c) || (Hp(s), c && c.response && (c.response.data = qp.call(
|
|
1355
1355
|
s,
|
|
1356
1356
|
s.transformResponse,
|
|
1357
1357
|
c.response
|
|
1358
1358
|
), c.response.headers = ts.from(c.response.headers))), Promise.reject(c);
|
|
1359
1359
|
});
|
|
1360
1360
|
}
|
|
1361
|
-
const
|
|
1361
|
+
const K_ = "1.7.7", Wf = {};
|
|
1362
1362
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((s, i) => {
|
|
1363
1363
|
Wf[s] = function(c) {
|
|
1364
1364
|
return typeof c === s || "a" + (i < 1 ? "n " : " ") + s;
|
|
@@ -1367,7 +1367,7 @@ const X_ = "1.7.7", Wf = {};
|
|
|
1367
1367
|
const vy = {};
|
|
1368
1368
|
Wf.transitional = function(i, a, c) {
|
|
1369
1369
|
function f(x, v) {
|
|
1370
|
-
return "[Axios v" +
|
|
1370
|
+
return "[Axios v" + K_ + "] Transitional option '" + x + "'" + v + (c ? ". " + c : "");
|
|
1371
1371
|
}
|
|
1372
1372
|
return (x, v, u) => {
|
|
1373
1373
|
if (i === !1)
|
|
@@ -1383,7 +1383,7 @@ Wf.transitional = function(i, a, c) {
|
|
|
1383
1383
|
)), i ? i(x, v, u) : !0;
|
|
1384
1384
|
};
|
|
1385
1385
|
};
|
|
1386
|
-
function
|
|
1386
|
+
function rw(s, i, a) {
|
|
1387
1387
|
if (typeof s != "object")
|
|
1388
1388
|
throw new At("options must be an object", At.ERR_BAD_OPTION_VALUE);
|
|
1389
1389
|
const c = Object.keys(s);
|
|
@@ -1401,7 +1401,7 @@ function sw(s, i, a) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
1403
|
const wf = {
|
|
1404
|
-
assertOptions:
|
|
1404
|
+
assertOptions: rw,
|
|
1405
1405
|
validators: Wf
|
|
1406
1406
|
}, zo = wf.validators;
|
|
1407
1407
|
class Ea {
|
|
@@ -1497,8 +1497,8 @@ class Ea {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
getUri(i) {
|
|
1499
1499
|
i = Ca(this.defaults, i);
|
|
1500
|
-
const a =
|
|
1501
|
-
return
|
|
1500
|
+
const a = Z_(i.baseURL, i.url);
|
|
1501
|
+
return V_(a, i.params, i.paramsSerializer);
|
|
1502
1502
|
}
|
|
1503
1503
|
}
|
|
1504
1504
|
ke.forEach(["delete", "get", "head", "options"], function(i) {
|
|
@@ -1598,12 +1598,12 @@ class Gf {
|
|
|
1598
1598
|
};
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function ow(s) {
|
|
1602
1602
|
return function(a) {
|
|
1603
1603
|
return s.apply(null, a);
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function aw(s) {
|
|
1607
1607
|
return ke.isObject(s) && s.isAxiosError === !0;
|
|
1608
1608
|
}
|
|
1609
1609
|
const Sf = {
|
|
@@ -1674,30 +1674,30 @@ const Sf = {
|
|
|
1674
1674
|
Object.entries(Sf).forEach(([s, i]) => {
|
|
1675
1675
|
Sf[i] = s;
|
|
1676
1676
|
});
|
|
1677
|
-
function
|
|
1678
|
-
const i = new Ea(s), a =
|
|
1677
|
+
function J_(s) {
|
|
1678
|
+
const i = new Ea(s), a = C_(Ea.prototype.request, i);
|
|
1679
1679
|
return ke.extend(a, Ea.prototype, i, { allOwnKeys: !0 }), ke.extend(a, i, null, { allOwnKeys: !0 }), a.create = function(f) {
|
|
1680
|
-
return
|
|
1680
|
+
return J_(Ca(s, f));
|
|
1681
1681
|
}, a;
|
|
1682
1682
|
}
|
|
1683
|
-
const qt =
|
|
1683
|
+
const qt = J_(Su);
|
|
1684
1684
|
qt.Axios = Ea;
|
|
1685
1685
|
qt.CanceledError = Ul;
|
|
1686
1686
|
qt.CancelToken = Gf;
|
|
1687
|
-
qt.isCancel =
|
|
1688
|
-
qt.VERSION =
|
|
1687
|
+
qt.isCancel = q_;
|
|
1688
|
+
qt.VERSION = K_;
|
|
1689
1689
|
qt.toFormData = dd;
|
|
1690
1690
|
qt.AxiosError = At;
|
|
1691
1691
|
qt.Cancel = qt.CanceledError;
|
|
1692
1692
|
qt.all = function(i) {
|
|
1693
1693
|
return Promise.all(i);
|
|
1694
1694
|
};
|
|
1695
|
-
qt.spread =
|
|
1696
|
-
qt.isAxiosError =
|
|
1695
|
+
qt.spread = ow;
|
|
1696
|
+
qt.isAxiosError = aw;
|
|
1697
1697
|
qt.mergeConfig = Ca;
|
|
1698
1698
|
qt.AxiosHeaders = ts;
|
|
1699
|
-
qt.formToJSON = (s) =>
|
|
1700
|
-
qt.getAdapter =
|
|
1699
|
+
qt.formToJSON = (s) => U_(ke.isHTMLForm(s) ? new FormData(s) : s);
|
|
1700
|
+
qt.getAdapter = X_.getAdapter;
|
|
1701
1701
|
qt.HttpStatusCode = Sf;
|
|
1702
1702
|
qt.default = qt;
|
|
1703
1703
|
const qi = (s, i) => {
|
|
@@ -1705,28 +1705,28 @@ const qi = (s, i) => {
|
|
|
1705
1705
|
for (const [c, f] of i)
|
|
1706
1706
|
a[c] = f;
|
|
1707
1707
|
return a;
|
|
1708
|
-
},
|
|
1709
|
-
function
|
|
1708
|
+
}, lw = {};
|
|
1709
|
+
function cw(s, i, a, c, f, x) {
|
|
1710
1710
|
const v = kn("router-view");
|
|
1711
1711
|
return ht(), ka(v);
|
|
1712
1712
|
}
|
|
1713
|
-
const
|
|
1714
|
-
function
|
|
1715
|
-
return
|
|
1713
|
+
const uw = /* @__PURE__ */ qi(lw, [["render", cw]]);
|
|
1714
|
+
function hw() {
|
|
1715
|
+
return Q_().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1717
|
+
function Q_() {
|
|
1718
1718
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
1719
1719
|
}
|
|
1720
|
-
const
|
|
1720
|
+
const dw = typeof Proxy == "function", pw = "devtools-plugin:setup", fw = "plugin:settings:set";
|
|
1721
1721
|
let El, Tf;
|
|
1722
|
-
function
|
|
1722
|
+
function mw() {
|
|
1723
1723
|
var s;
|
|
1724
1724
|
return El !== void 0 || (typeof window < "u" && window.performance ? (El = !0, Tf = window.performance) : typeof globalThis < "u" && (!((s = globalThis.perf_hooks) === null || s === void 0) && s.performance) ? (El = !0, Tf = globalThis.perf_hooks.performance) : El = !1), El;
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1727
|
-
return
|
|
1726
|
+
function gw() {
|
|
1727
|
+
return mw() ? Tf.now() : Date.now();
|
|
1728
1728
|
}
|
|
1729
|
-
class
|
|
1729
|
+
class yw {
|
|
1730
1730
|
constructor(i, a) {
|
|
1731
1731
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = i, this.hook = a;
|
|
1732
1732
|
const c = {};
|
|
@@ -1754,9 +1754,9 @@ class gw {
|
|
|
1754
1754
|
x = v;
|
|
1755
1755
|
},
|
|
1756
1756
|
now() {
|
|
1757
|
-
return
|
|
1757
|
+
return gw();
|
|
1758
1758
|
}
|
|
1759
|
-
}, a && a.on(
|
|
1759
|
+
}, a && a.on(fw, (v, u) => {
|
|
1760
1760
|
v === this.plugin.id && this.fallbacks.setSettings(u);
|
|
1761
1761
|
}), this.proxiedOn = new Proxy({}, {
|
|
1762
1762
|
get: (v, u) => this.target ? this.target.on[u] : (...C) => {
|
|
@@ -1788,12 +1788,12 @@ class gw {
|
|
|
1788
1788
|
a.resolve(await this.target[a.method](...a.args));
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
|
-
function
|
|
1792
|
-
const a = s, c =
|
|
1791
|
+
function _w(s, i) {
|
|
1792
|
+
const a = s, c = Q_(), f = hw(), x = dw && a.enableEarlyProxy;
|
|
1793
1793
|
if (f && (c.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !x))
|
|
1794
|
-
f.emit(
|
|
1794
|
+
f.emit(pw, s, i);
|
|
1795
1795
|
else {
|
|
1796
|
-
const v = x ? new
|
|
1796
|
+
const v = x ? new yw(a, f) : null;
|
|
1797
1797
|
(c.__VUE_DEVTOOLS_PLUGINS__ = c.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
1798
1798
|
pluginDescriptor: a,
|
|
1799
1799
|
setupFn: i,
|
|
@@ -1802,18 +1802,18 @@ function yw(s, i) {
|
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
1804
|
/*!
|
|
1805
|
-
* vue-router v4.4.
|
|
1805
|
+
* vue-router v4.4.5
|
|
1806
1806
|
* (c) 2024 Eduardo San Martin Morote
|
|
1807
1807
|
* @license MIT
|
|
1808
1808
|
*/
|
|
1809
1809
|
const jr = typeof document < "u";
|
|
1810
|
-
function
|
|
1810
|
+
function e0(s) {
|
|
1811
1811
|
return typeof s == "object" || "displayName" in s || "props" in s || "__vccOpts" in s;
|
|
1812
1812
|
}
|
|
1813
|
-
function
|
|
1813
|
+
function vw(s) {
|
|
1814
1814
|
return s.__esModule || s[Symbol.toStringTag] === "Module" || // support CF with dynamic imports that do not
|
|
1815
1815
|
// add the Module string tag
|
|
1816
|
-
s.default &&
|
|
1816
|
+
s.default && e0(s.default);
|
|
1817
1817
|
}
|
|
1818
1818
|
const ai = Object.assign;
|
|
1819
1819
|
function Zp(s, i) {
|
|
@@ -1830,24 +1830,24 @@ function jt(s) {
|
|
|
1830
1830
|
const i = Array.from(arguments).slice(1);
|
|
1831
1831
|
console.warn.apply(console, ["[Vue Router warn]: " + s].concat(i));
|
|
1832
1832
|
}
|
|
1833
|
-
const
|
|
1833
|
+
const t0 = /#/g, xw = /&/g, bw = /\//g, ww = /=/g, Sw = /\?/g, i0 = /\+/g, Tw = /%5B/g, kw = /%5D/g, n0 = /%5E/g, Ew = /%60/g, s0 = /%7B/g, Mw = /%7C/g, r0 = /%7D/g, Pw = /%20/g;
|
|
1834
1834
|
function Yf(s) {
|
|
1835
|
-
return encodeURI("" + s).replace(
|
|
1835
|
+
return encodeURI("" + s).replace(Mw, "|").replace(Tw, "[").replace(kw, "]");
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1838
|
-
return Yf(s).replace(
|
|
1837
|
+
function Cw(s) {
|
|
1838
|
+
return Yf(s).replace(s0, "{").replace(r0, "}").replace(n0, "^");
|
|
1839
1839
|
}
|
|
1840
1840
|
function kf(s) {
|
|
1841
|
-
return Yf(s).replace(
|
|
1842
|
-
}
|
|
1843
|
-
function Cw(s) {
|
|
1844
|
-
return kf(s).replace(bw, "%3D");
|
|
1841
|
+
return Yf(s).replace(i0, "%2B").replace(Pw, "+").replace(t0, "%23").replace(xw, "%26").replace(Ew, "`").replace(s0, "{").replace(r0, "}").replace(n0, "^");
|
|
1845
1842
|
}
|
|
1846
1843
|
function Iw(s) {
|
|
1847
|
-
return
|
|
1844
|
+
return kf(s).replace(ww, "%3D");
|
|
1848
1845
|
}
|
|
1849
1846
|
function Aw(s) {
|
|
1850
|
-
return s
|
|
1847
|
+
return Yf(s).replace(t0, "%23").replace(Sw, "%3F");
|
|
1848
|
+
}
|
|
1849
|
+
function Dw(s) {
|
|
1850
|
+
return s == null ? "" : Aw(s).replace(bw, "%2F");
|
|
1851
1851
|
}
|
|
1852
1852
|
function jl(s) {
|
|
1853
1853
|
try {
|
|
@@ -1857,19 +1857,19 @@ function jl(s) {
|
|
|
1857
1857
|
}
|
|
1858
1858
|
return "" + s;
|
|
1859
1859
|
}
|
|
1860
|
-
const
|
|
1860
|
+
const zw = /\/$/, Rw = (s) => s.replace(zw, "");
|
|
1861
1861
|
function Wp(s, i, a = "/") {
|
|
1862
1862
|
let c, f = {}, x = "", v = "";
|
|
1863
1863
|
const u = i.indexOf("#");
|
|
1864
1864
|
let C = i.indexOf("?");
|
|
1865
|
-
return u < C && u >= 0 && (C = -1), C > -1 && (c = i.slice(0, C), x = i.slice(C + 1, u > -1 ? u : i.length), f = s(x)), u > -1 && (c = c || i.slice(0, u), v = i.slice(u, i.length)), c =
|
|
1865
|
+
return u < C && u >= 0 && (C = -1), C > -1 && (c = i.slice(0, C), x = i.slice(C + 1, u > -1 ? u : i.length), f = s(x)), u > -1 && (c = c || i.slice(0, u), v = i.slice(u, i.length)), c = Fw(c ?? i, a), {
|
|
1866
1866
|
fullPath: c + (x && "?") + x + v,
|
|
1867
1867
|
path: c,
|
|
1868
1868
|
query: f,
|
|
1869
1869
|
hash: jl(v)
|
|
1870
1870
|
};
|
|
1871
1871
|
}
|
|
1872
|
-
function
|
|
1872
|
+
function Lw(s, i) {
|
|
1873
1873
|
const a = i.query ? s(i.query) : "";
|
|
1874
1874
|
return i.path + (a && "?") + a + (i.hash || "");
|
|
1875
1875
|
}
|
|
@@ -1878,26 +1878,26 @@ function xy(s, i) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
function by(s, i, a) {
|
|
1880
1880
|
const c = i.matched.length - 1, f = a.matched.length - 1;
|
|
1881
|
-
return c > -1 && c === f && jo(i.matched[c], a.matched[f]) &&
|
|
1881
|
+
return c > -1 && c === f && jo(i.matched[c], a.matched[f]) && o0(i.params, a.params) && s(i.query) === s(a.query) && i.hash === a.hash;
|
|
1882
1882
|
}
|
|
1883
1883
|
function jo(s, i) {
|
|
1884
1884
|
return (s.aliasOf || s) === (i.aliasOf || i);
|
|
1885
1885
|
}
|
|
1886
|
-
function
|
|
1886
|
+
function o0(s, i) {
|
|
1887
1887
|
if (Object.keys(s).length !== Object.keys(i).length)
|
|
1888
1888
|
return !1;
|
|
1889
1889
|
for (const a in s)
|
|
1890
|
-
if (!
|
|
1890
|
+
if (!Ow(s[a], i[a]))
|
|
1891
1891
|
return !1;
|
|
1892
1892
|
return !0;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Ow(s, i) {
|
|
1895
1895
|
return ys(s) ? wy(s, i) : ys(i) ? wy(i, s) : s === i;
|
|
1896
1896
|
}
|
|
1897
1897
|
function wy(s, i) {
|
|
1898
1898
|
return ys(i) ? s.length === i.length && s.every((a, c) => a === i[c]) : s.length === 1 && s[0] === i;
|
|
1899
1899
|
}
|
|
1900
|
-
function
|
|
1900
|
+
function Fw(s, i) {
|
|
1901
1901
|
if (s.startsWith("/"))
|
|
1902
1902
|
return s;
|
|
1903
1903
|
if (process.env.NODE_ENV !== "production" && !i.startsWith("/"))
|
|
@@ -1935,20 +1935,20 @@ var uu;
|
|
|
1935
1935
|
(function(s) {
|
|
1936
1936
|
s.back = "back", s.forward = "forward", s.unknown = "";
|
|
1937
1937
|
})(uu || (uu = {}));
|
|
1938
|
-
function
|
|
1938
|
+
function Bw(s) {
|
|
1939
1939
|
if (!s)
|
|
1940
1940
|
if (jr) {
|
|
1941
1941
|
const i = document.querySelector("base");
|
|
1942
1942
|
s = i && i.getAttribute("href") || "/", s = s.replace(/^\w+:\/\/[^\/]+/, "");
|
|
1943
1943
|
} else
|
|
1944
1944
|
s = "/";
|
|
1945
|
-
return s[0] !== "/" && s[0] !== "#" && (s = "/" + s),
|
|
1946
|
-
}
|
|
1947
|
-
const Bw = /^[^#]+#/;
|
|
1948
|
-
function Nw(s, i) {
|
|
1949
|
-
return s.replace(Bw, "#") + i;
|
|
1945
|
+
return s[0] !== "/" && s[0] !== "#" && (s = "/" + s), Rw(s);
|
|
1950
1946
|
}
|
|
1947
|
+
const Nw = /^[^#]+#/;
|
|
1951
1948
|
function jw(s, i) {
|
|
1949
|
+
return s.replace(Nw, "#") + i;
|
|
1950
|
+
}
|
|
1951
|
+
function Vw(s, i) {
|
|
1952
1952
|
const a = document.documentElement.getBoundingClientRect(), c = s.getBoundingClientRect();
|
|
1953
1953
|
return {
|
|
1954
1954
|
behavior: i.behavior,
|
|
@@ -1960,7 +1960,7 @@ const fd = () => ({
|
|
|
1960
1960
|
left: window.scrollX,
|
|
1961
1961
|
top: window.scrollY
|
|
1962
1962
|
});
|
|
1963
|
-
function
|
|
1963
|
+
function $w(s) {
|
|
1964
1964
|
let i;
|
|
1965
1965
|
if ("el" in s) {
|
|
1966
1966
|
const a = s.el, c = typeof a == "string" && a.startsWith("#");
|
|
@@ -1980,7 +1980,7 @@ function Vw(s) {
|
|
|
1980
1980
|
process.env.NODE_ENV !== "production" && jt(`Couldn't find element using selector "${s.el}" returned by scrollBehavior.`);
|
|
1981
1981
|
return;
|
|
1982
1982
|
}
|
|
1983
|
-
i =
|
|
1983
|
+
i = Vw(f, s);
|
|
1984
1984
|
} else
|
|
1985
1985
|
i = s;
|
|
1986
1986
|
"scrollBehavior" in document.documentElement.style ? window.scrollTo(i) : window.scrollTo(i.left != null ? i.left : window.scrollX, i.top != null ? i.top : window.scrollY);
|
|
@@ -1989,15 +1989,15 @@ function Sy(s, i) {
|
|
|
1989
1989
|
return (history.state ? history.state.position - i : -1) + s;
|
|
1990
1990
|
}
|
|
1991
1991
|
const Ef = /* @__PURE__ */ new Map();
|
|
1992
|
-
function
|
|
1992
|
+
function Uw(s, i) {
|
|
1993
1993
|
Ef.set(s, i);
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function qw(s) {
|
|
1996
1996
|
const i = Ef.get(s);
|
|
1997
1997
|
return Ef.delete(s), i;
|
|
1998
1998
|
}
|
|
1999
|
-
let
|
|
2000
|
-
function
|
|
1999
|
+
let Hw = () => location.protocol + "//" + location.host;
|
|
2000
|
+
function a0(s, i) {
|
|
2001
2001
|
const { pathname: a, search: c, hash: f } = i, x = s.indexOf("#");
|
|
2002
2002
|
if (x > -1) {
|
|
2003
2003
|
let u = f.includes(s.slice(x)) ? s.slice(x).length : 1, C = f.slice(u);
|
|
@@ -2005,10 +2005,10 @@ function o0(s, i) {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
return xy(a, s) + c + f;
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2008
|
+
function Zw(s, i, a, c) {
|
|
2009
2009
|
let f = [], x = [], v = null;
|
|
2010
2010
|
const u = ({ state: R }) => {
|
|
2011
|
-
const U =
|
|
2011
|
+
const U = a0(s, location), G = a.value, ne = i.value;
|
|
2012
2012
|
let ce = 0;
|
|
2013
2013
|
if (R) {
|
|
2014
2014
|
if (a.value = U, i.value = R, v && v === G) {
|
|
@@ -2064,9 +2064,9 @@ function Ty(s, i, a, c = !1, f = !1) {
|
|
|
2064
2064
|
scroll: f ? fd() : null
|
|
2065
2065
|
};
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function Ww(s) {
|
|
2068
2068
|
const { history: i, location: a } = window, c = {
|
|
2069
|
-
value:
|
|
2069
|
+
value: a0(s, a)
|
|
2070
2070
|
}, f = { value: i.state };
|
|
2071
2071
|
f.value || x(c.value, {
|
|
2072
2072
|
back: null,
|
|
@@ -2080,7 +2080,7 @@ function Zw(s) {
|
|
|
2080
2080
|
scroll: null
|
|
2081
2081
|
}, !0);
|
|
2082
2082
|
function x(C, I, A) {
|
|
2083
|
-
const z = s.indexOf("#"), R = z > -1 ? (a.host && document.querySelector("base") ? s : s.slice(z)) + C :
|
|
2083
|
+
const z = s.indexOf("#"), R = z > -1 ? (a.host && document.querySelector("base") ? s : s.slice(z)) + C : Hw() + s + C;
|
|
2084
2084
|
try {
|
|
2085
2085
|
i[A ? "replaceState" : "pushState"](I, "", R), f.value = I;
|
|
2086
2086
|
} catch (U) {
|
|
@@ -2125,9 +2125,9 @@ You can find more information at https://router.vuejs.org/guide/migration/#Usage
|
|
|
2125
2125
|
replace: v
|
|
2126
2126
|
};
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2129
|
-
s =
|
|
2130
|
-
const i =
|
|
2128
|
+
function Gw(s) {
|
|
2129
|
+
s = Bw(s);
|
|
2130
|
+
const i = Ww(s), a = Zw(s, i.state, i.location, i.replace);
|
|
2131
2131
|
function c(x, v = !0) {
|
|
2132
2132
|
v || a.pauseListeners(), history.go(x);
|
|
2133
2133
|
}
|
|
@@ -2136,7 +2136,7 @@ function Ww(s) {
|
|
|
2136
2136
|
location: "",
|
|
2137
2137
|
base: s,
|
|
2138
2138
|
go: c,
|
|
2139
|
-
createHref:
|
|
2139
|
+
createHref: jw.bind(null, s)
|
|
2140
2140
|
}, i, a);
|
|
2141
2141
|
return Object.defineProperty(f, "location", {
|
|
2142
2142
|
enumerable: !0,
|
|
@@ -2149,7 +2149,7 @@ function Ww(s) {
|
|
|
2149
2149
|
function Qh(s) {
|
|
2150
2150
|
return typeof s == "string" || s && typeof s == "object";
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function l0(s) {
|
|
2153
2153
|
return typeof s == "string" || typeof s == "symbol";
|
|
2154
2154
|
}
|
|
2155
2155
|
const Mf = Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
|
|
@@ -2157,7 +2157,7 @@ var ky;
|
|
|
2157
2157
|
(function(s) {
|
|
2158
2158
|
s[s.aborted = 4] = "aborted", s[s.cancelled = 8] = "cancelled", s[s.duplicated = 16] = "duplicated";
|
|
2159
2159
|
})(ky || (ky = {}));
|
|
2160
|
-
const
|
|
2160
|
+
const Yw = {
|
|
2161
2161
|
1({ location: s, currentLocation: i }) {
|
|
2162
2162
|
return `No match for
|
|
2163
2163
|
${JSON.stringify(s)}${i ? `
|
|
@@ -2165,7 +2165,7 @@ while being at
|
|
|
2165
2165
|
` + JSON.stringify(i) : ""}`;
|
|
2166
2166
|
},
|
|
2167
2167
|
2({ from: s, to: i }) {
|
|
2168
|
-
return `Redirected from "${s.fullPath}" to "${
|
|
2168
|
+
return `Redirected from "${s.fullPath}" to "${Kw(i)}" via a navigation guard.`;
|
|
2169
2169
|
},
|
|
2170
2170
|
4({ from: s, to: i }) {
|
|
2171
2171
|
return `Navigation aborted from "${s.fullPath}" to "${i.fullPath}" via a navigation guard.`;
|
|
@@ -2178,7 +2178,7 @@ while being at
|
|
|
2178
2178
|
}
|
|
2179
2179
|
};
|
|
2180
2180
|
function Vl(s, i) {
|
|
2181
|
-
return process.env.NODE_ENV !== "production" ? ai(new Error(
|
|
2181
|
+
return process.env.NODE_ENV !== "production" ? ai(new Error(Yw[s](i)), {
|
|
2182
2182
|
type: s,
|
|
2183
2183
|
[Mf]: !0
|
|
2184
2184
|
}, i) : ai(new Error(), {
|
|
@@ -2189,25 +2189,25 @@ function Vl(s, i) {
|
|
|
2189
2189
|
function Lr(s, i) {
|
|
2190
2190
|
return s instanceof Error && Mf in s && (i == null || !!(s.type & i));
|
|
2191
2191
|
}
|
|
2192
|
-
const
|
|
2193
|
-
function
|
|
2192
|
+
const Xw = ["params", "query", "hash"];
|
|
2193
|
+
function Kw(s) {
|
|
2194
2194
|
if (typeof s == "string")
|
|
2195
2195
|
return s;
|
|
2196
2196
|
if (s.path != null)
|
|
2197
2197
|
return s.path;
|
|
2198
2198
|
const i = {};
|
|
2199
|
-
for (const a of
|
|
2199
|
+
for (const a of Xw)
|
|
2200
2200
|
a in s && (i[a] = s[a]);
|
|
2201
2201
|
return JSON.stringify(i, null, 2);
|
|
2202
2202
|
}
|
|
2203
|
-
const Ey = "[^/]+?",
|
|
2203
|
+
const Ey = "[^/]+?", Jw = {
|
|
2204
2204
|
sensitive: !1,
|
|
2205
2205
|
strict: !1,
|
|
2206
2206
|
start: !0,
|
|
2207
2207
|
end: !0
|
|
2208
|
-
},
|
|
2209
|
-
function
|
|
2210
|
-
const a = ai({},
|
|
2208
|
+
}, Qw = /[.+*?^${}()[\]/\\]/g;
|
|
2209
|
+
function e2(s, i) {
|
|
2210
|
+
const a = ai({}, Jw, i), c = [];
|
|
2211
2211
|
let f = a.start ? "^" : "";
|
|
2212
2212
|
const x = [];
|
|
2213
2213
|
for (const I of s) {
|
|
@@ -2220,7 +2220,7 @@ function Qw(s, i) {
|
|
|
2220
2220
|
const R = I[z];
|
|
2221
2221
|
let U = 40 + (a.sensitive ? 0.25 : 0);
|
|
2222
2222
|
if (R.type === 0)
|
|
2223
|
-
z || (f += "/"), f += R.value.replace(
|
|
2223
|
+
z || (f += "/"), f += R.value.replace(Qw, "\\$&"), U += 40;
|
|
2224
2224
|
else if (R.type === 1) {
|
|
2225
2225
|
const { value: G, repeatable: ne, optional: ce, regexp: de } = R;
|
|
2226
2226
|
x.push({
|
|
@@ -2292,7 +2292,7 @@ function Qw(s, i) {
|
|
|
2292
2292
|
stringify: C
|
|
2293
2293
|
};
|
|
2294
2294
|
}
|
|
2295
|
-
function
|
|
2295
|
+
function t2(s, i) {
|
|
2296
2296
|
let a = 0;
|
|
2297
2297
|
for (; a < s.length && a < i.length; ) {
|
|
2298
2298
|
const c = i[a] - s[a];
|
|
@@ -2302,11 +2302,11 @@ function e2(s, i) {
|
|
|
2302
2302
|
}
|
|
2303
2303
|
return s.length < i.length ? s.length === 1 && s[0] === 80 ? -1 : 1 : s.length > i.length ? i.length === 1 && i[0] === 80 ? 1 : -1 : 0;
|
|
2304
2304
|
}
|
|
2305
|
-
function
|
|
2305
|
+
function c0(s, i) {
|
|
2306
2306
|
let a = 0;
|
|
2307
2307
|
const c = s.score, f = i.score;
|
|
2308
2308
|
for (; a < c.length && a < f.length; ) {
|
|
2309
|
-
const x =
|
|
2309
|
+
const x = t2(c[a], f[a]);
|
|
2310
2310
|
if (x)
|
|
2311
2311
|
return x;
|
|
2312
2312
|
a++;
|
|
@@ -2323,15 +2323,15 @@ function My(s) {
|
|
|
2323
2323
|
const i = s[s.length - 1];
|
|
2324
2324
|
return s.length > 0 && i[i.length - 1] < 0;
|
|
2325
2325
|
}
|
|
2326
|
-
const
|
|
2326
|
+
const i2 = {
|
|
2327
2327
|
type: 0,
|
|
2328
2328
|
value: ""
|
|
2329
|
-
},
|
|
2330
|
-
function
|
|
2329
|
+
}, n2 = /[a-zA-Z0-9_]/;
|
|
2330
|
+
function s2(s) {
|
|
2331
2331
|
if (!s)
|
|
2332
2332
|
return [[]];
|
|
2333
2333
|
if (s === "/")
|
|
2334
|
-
return [[
|
|
2334
|
+
return [[i2]];
|
|
2335
2335
|
if (!s.startsWith("/"))
|
|
2336
2336
|
throw new Error(process.env.NODE_ENV !== "production" ? `Route paths should start with a "/": "${s}" should be "/${s}".` : `Invalid path "${s}"`);
|
|
2337
2337
|
function i(U) {
|
|
@@ -2372,7 +2372,7 @@ function n2(s) {
|
|
|
2372
2372
|
R(), a = c;
|
|
2373
2373
|
break;
|
|
2374
2374
|
case 1:
|
|
2375
|
-
C === "(" ? a = 2 :
|
|
2375
|
+
C === "(" ? a = 2 : n2.test(C) ? R() : (z(), a = 0, C !== "*" && C !== "?" && C !== "+" && u--);
|
|
2376
2376
|
break;
|
|
2377
2377
|
case 2:
|
|
2378
2378
|
C === ")" ? A[A.length - 1] == "\\" ? A = A.slice(0, -1) + C : a = 3 : A += C;
|
|
@@ -2387,8 +2387,8 @@ function n2(s) {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
return a === 2 && i(`Unfinished custom RegExp for param "${I}"`), z(), v(), f;
|
|
2389
2389
|
}
|
|
2390
|
-
function
|
|
2391
|
-
const c =
|
|
2390
|
+
function r2(s, i, a) {
|
|
2391
|
+
const c = e2(s2(s.path), a);
|
|
2392
2392
|
if (process.env.NODE_ENV !== "production") {
|
|
2393
2393
|
const x = /* @__PURE__ */ new Set();
|
|
2394
2394
|
for (const v of c.keys)
|
|
@@ -2403,31 +2403,33 @@ function s2(s, i, a) {
|
|
|
2403
2403
|
});
|
|
2404
2404
|
return i && !f.record.aliasOf == !i.record.aliasOf && i.children.push(f), f;
|
|
2405
2405
|
}
|
|
2406
|
-
function
|
|
2406
|
+
function o2(s, i) {
|
|
2407
2407
|
const a = [], c = /* @__PURE__ */ new Map();
|
|
2408
|
-
i =
|
|
2408
|
+
i = Ay({ strict: !1, end: !0, sensitive: !1 }, i);
|
|
2409
2409
|
function f(z) {
|
|
2410
2410
|
return c.get(z);
|
|
2411
2411
|
}
|
|
2412
2412
|
function x(z, R, U) {
|
|
2413
|
-
const G = !U, ne =
|
|
2413
|
+
const G = !U, ne = Cy(z);
|
|
2414
2414
|
process.env.NODE_ENV !== "production" && u2(ne, R), ne.aliasOf = U && U.record;
|
|
2415
|
-
const ce =
|
|
2416
|
-
ne
|
|
2417
|
-
];
|
|
2415
|
+
const ce = Ay(i, z), de = [ne];
|
|
2418
2416
|
if ("alias" in z) {
|
|
2419
2417
|
const Ae = typeof z.alias == "string" ? [z.alias] : z.alias;
|
|
2420
2418
|
for (const at of Ae)
|
|
2421
|
-
de.push(
|
|
2422
|
-
//
|
|
2423
|
-
//
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2419
|
+
de.push(
|
|
2420
|
+
// we need to normalize again to ensure the `mods` property
|
|
2421
|
+
// being non enumerable
|
|
2422
|
+
Cy(ai({}, ne, {
|
|
2423
|
+
// this allows us to hold a copy of the `components` option
|
|
2424
|
+
// so that async components cache is hold on the original record
|
|
2425
|
+
components: U ? U.record.components : ne.components,
|
|
2426
|
+
path: at,
|
|
2427
|
+
// we might be the child of an alias
|
|
2428
|
+
aliasOf: U ? U.record : ne
|
|
2429
|
+
// the aliases are always of the same kind as the original since they
|
|
2430
|
+
// are defined on the same record
|
|
2431
|
+
}))
|
|
2432
|
+
);
|
|
2431
2433
|
}
|
|
2432
2434
|
let be, _e;
|
|
2433
2435
|
for (const Ae of de) {
|
|
@@ -2439,7 +2441,7 @@ function r2(s, i) {
|
|
|
2439
2441
|
if (process.env.NODE_ENV !== "production" && Ae.path === "*")
|
|
2440
2442
|
throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
2441
2443
|
See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);
|
|
2442
|
-
if (be =
|
|
2444
|
+
if (be = r2(Ae, R, ce), process.env.NODE_ENV !== "production" && R && at[0] === "/" && h2(be, R), U ? (U.alias.push(be), process.env.NODE_ENV !== "production" && c2(U, be)) : (_e = _e || be, _e !== be && _e.alias.push(be), G && z.name && !Iy(be) && v(z.name)), u0(be) && C(be), ne.children) {
|
|
2443
2445
|
const wt = ne.children;
|
|
2444
2446
|
for (let Ve = 0; Ve < wt.length; Ve++)
|
|
2445
2447
|
x(wt[Ve], be, U && U.children[Ve]);
|
|
@@ -2451,7 +2453,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
|
|
|
2451
2453
|
} : cu;
|
|
2452
2454
|
}
|
|
2453
2455
|
function v(z) {
|
|
2454
|
-
if (
|
|
2456
|
+
if (l0(z)) {
|
|
2455
2457
|
const R = c.get(z);
|
|
2456
2458
|
R && (c.delete(z), a.splice(a.indexOf(R), 1), R.children.forEach(v), R.alias.forEach(v));
|
|
2457
2459
|
} else {
|
|
@@ -2464,7 +2466,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
|
|
|
2464
2466
|
}
|
|
2465
2467
|
function C(z) {
|
|
2466
2468
|
const R = d2(z, a);
|
|
2467
|
-
a.splice(R, 0, z), z.record.name && !
|
|
2469
|
+
a.splice(R, 0, z), z.record.name && !Iy(z) && c.set(z.record.name, z);
|
|
2468
2470
|
}
|
|
2469
2471
|
function I(z, R) {
|
|
2470
2472
|
let U, G = {}, ne, ce;
|
|
@@ -2530,13 +2532,13 @@ function Py(s, i) {
|
|
|
2530
2532
|
c in s && (a[c] = s[c]);
|
|
2531
2533
|
return a;
|
|
2532
2534
|
}
|
|
2533
|
-
function
|
|
2534
|
-
|
|
2535
|
+
function Cy(s) {
|
|
2536
|
+
const i = {
|
|
2535
2537
|
path: s.path,
|
|
2536
2538
|
redirect: s.redirect,
|
|
2537
2539
|
name: s.name,
|
|
2538
2540
|
meta: s.meta || {},
|
|
2539
|
-
aliasOf:
|
|
2541
|
+
aliasOf: s.aliasOf,
|
|
2540
2542
|
beforeEnter: s.beforeEnter,
|
|
2541
2543
|
props: a2(s),
|
|
2542
2544
|
children: s.children || [],
|
|
@@ -2544,9 +2546,13 @@ function o2(s) {
|
|
|
2544
2546
|
leaveGuards: /* @__PURE__ */ new Set(),
|
|
2545
2547
|
updateGuards: /* @__PURE__ */ new Set(),
|
|
2546
2548
|
enterCallbacks: {},
|
|
2547
|
-
|
|
2549
|
+
// must be declared afterwards
|
|
2550
|
+
// mods: {},
|
|
2548
2551
|
components: "components" in s ? s.components || null : s.component && { default: s.component }
|
|
2549
2552
|
};
|
|
2553
|
+
return Object.defineProperty(i, "mods", {
|
|
2554
|
+
value: {}
|
|
2555
|
+
}), i;
|
|
2550
2556
|
}
|
|
2551
2557
|
function a2(s) {
|
|
2552
2558
|
const i = {}, a = s.props || !1;
|
|
@@ -2557,7 +2563,7 @@ function a2(s) {
|
|
|
2557
2563
|
i[c] = typeof a == "object" ? a[c] : a;
|
|
2558
2564
|
return i;
|
|
2559
2565
|
}
|
|
2560
|
-
function
|
|
2566
|
+
function Iy(s) {
|
|
2561
2567
|
for (; s; ) {
|
|
2562
2568
|
if (s.record.aliasOf)
|
|
2563
2569
|
return !0;
|
|
@@ -2568,7 +2574,7 @@ function Cy(s) {
|
|
|
2568
2574
|
function l2(s) {
|
|
2569
2575
|
return s.reduce((i, a) => ai(i, a.meta), {});
|
|
2570
2576
|
}
|
|
2571
|
-
function
|
|
2577
|
+
function Ay(s, i) {
|
|
2572
2578
|
const a = {};
|
|
2573
2579
|
for (const c in s)
|
|
2574
2580
|
a[c] = c in i ? i[c] : s[c];
|
|
@@ -2597,7 +2603,7 @@ function d2(s, i) {
|
|
|
2597
2603
|
let a = 0, c = i.length;
|
|
2598
2604
|
for (; a !== c; ) {
|
|
2599
2605
|
const x = a + c >> 1;
|
|
2600
|
-
|
|
2606
|
+
c0(s, i[x]) < 0 ? c = x : a = x + 1;
|
|
2601
2607
|
}
|
|
2602
2608
|
const f = p2(s);
|
|
2603
2609
|
return f && (c = i.lastIndexOf(f, c - 1), process.env.NODE_ENV !== "production" && c < 0 && jt(`Finding ancestor route "${f.record.path}" failed for "${s.record.path}"`)), c;
|
|
@@ -2605,10 +2611,10 @@ function d2(s, i) {
|
|
|
2605
2611
|
function p2(s) {
|
|
2606
2612
|
let i = s;
|
|
2607
2613
|
for (; i = i.parent; )
|
|
2608
|
-
if (
|
|
2614
|
+
if (u0(i) && c0(s, i) === 0)
|
|
2609
2615
|
return i;
|
|
2610
2616
|
}
|
|
2611
|
-
function
|
|
2617
|
+
function u0({ record: s }) {
|
|
2612
2618
|
return !!(s.name || s.components && Object.keys(s.components).length || s.redirect);
|
|
2613
2619
|
}
|
|
2614
2620
|
function f2(s) {
|
|
@@ -2617,7 +2623,7 @@ function f2(s) {
|
|
|
2617
2623
|
return i;
|
|
2618
2624
|
const c = (s[0] === "?" ? s.slice(1) : s).split("&");
|
|
2619
2625
|
for (let f = 0; f < c.length; ++f) {
|
|
2620
|
-
const x = c[f].replace(
|
|
2626
|
+
const x = c[f].replace(i0, " "), v = x.indexOf("="), u = jl(v < 0 ? x : x.slice(0, v)), C = v < 0 ? null : jl(x.slice(v + 1));
|
|
2621
2627
|
if (u in i) {
|
|
2622
2628
|
let I = i[u];
|
|
2623
2629
|
ys(I) || (I = i[u] = [I]), I.push(C);
|
|
@@ -2626,11 +2632,11 @@ function f2(s) {
|
|
|
2626
2632
|
}
|
|
2627
2633
|
return i;
|
|
2628
2634
|
}
|
|
2629
|
-
function
|
|
2635
|
+
function Dy(s) {
|
|
2630
2636
|
let i = "";
|
|
2631
2637
|
for (let a in s) {
|
|
2632
2638
|
const c = s[a];
|
|
2633
|
-
if (a =
|
|
2639
|
+
if (a = Iw(a), c == null) {
|
|
2634
2640
|
c !== void 0 && (i += (i.length ? "&" : "") + a);
|
|
2635
2641
|
continue;
|
|
2636
2642
|
}
|
|
@@ -2648,7 +2654,7 @@ function m2(s) {
|
|
|
2648
2654
|
}
|
|
2649
2655
|
return i;
|
|
2650
2656
|
}
|
|
2651
|
-
const g2 = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""),
|
|
2657
|
+
const g2 = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""), zy = Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : ""), Xf = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), h0 = Symbol(process.env.NODE_ENV !== "production" ? "route location" : ""), Cf = Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
2652
2658
|
function iu() {
|
|
2653
2659
|
let s = [];
|
|
2654
2660
|
function i(c) {
|
|
@@ -2718,7 +2724,7 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2718
2724
|
!C.__warnedDefineAsync && (C.__warnedDefineAsync = !0, jt(`Component "${u}" in record with path "${v.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
|
|
2719
2725
|
}
|
|
2720
2726
|
if (!(i !== "beforeRouteEnter" && !v.instances[u]))
|
|
2721
|
-
if (
|
|
2727
|
+
if (e0(C)) {
|
|
2722
2728
|
const A = (C.__vccOpts || C)[i];
|
|
2723
2729
|
A && x.push(Oo(A, a, c, v, u, f));
|
|
2724
2730
|
} else {
|
|
@@ -2726,7 +2732,7 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2726
2732
|
process.env.NODE_ENV !== "production" && !("catch" in I) && (jt(`Component "${u}" in record with path "${v.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`), I = Promise.resolve(I)), x.push(() => I.then((A) => {
|
|
2727
2733
|
if (!A)
|
|
2728
2734
|
throw new Error(`Couldn't resolve component "${u}" at "${v.path}"`);
|
|
2729
|
-
const z =
|
|
2735
|
+
const z = vw(A) ? A.default : A;
|
|
2730
2736
|
v.mods[u] = A, v.components[u] = z;
|
|
2731
2737
|
const U = (z.__vccOpts || z)[i];
|
|
2732
2738
|
return U && Oo(U, a, c, v, u, f)();
|
|
@@ -2736,8 +2742,8 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2736
2742
|
}
|
|
2737
2743
|
return x;
|
|
2738
2744
|
}
|
|
2739
|
-
function
|
|
2740
|
-
const i = pu(Xf), a = pu(
|
|
2745
|
+
function Ry(s) {
|
|
2746
|
+
const i = pu(Xf), a = pu(h0);
|
|
2741
2747
|
let c = !1, f = null;
|
|
2742
2748
|
const x = hr(() => {
|
|
2743
2749
|
const A = Ll(s.to);
|
|
@@ -2754,16 +2760,16 @@ function zy(s) {
|
|
|
2754
2760
|
const G = U.findIndex(jo.bind(null, R));
|
|
2755
2761
|
if (G > -1)
|
|
2756
2762
|
return G;
|
|
2757
|
-
const ne =
|
|
2763
|
+
const ne = Ly(A[z - 2]);
|
|
2758
2764
|
return (
|
|
2759
2765
|
// we are dealing with nested routes
|
|
2760
2766
|
z > 1 && // if the parent and matched route have the same path, this link is
|
|
2761
2767
|
// referring to the empty child. Or we currently are on a different
|
|
2762
2768
|
// child of the same parent
|
|
2763
|
-
|
|
2769
|
+
Ly(R) === ne && // avoid comparing the child with its parent
|
|
2764
2770
|
U[U.length - 1].path !== ne ? U.findIndex(jo.bind(null, A[z - 2])) : G
|
|
2765
2771
|
);
|
|
2766
|
-
}), u = hr(() => v.value > -1 && b2(a.params, x.value.params)), C = hr(() => v.value > -1 && v.value === a.matched.length - 1 &&
|
|
2772
|
+
}), u = hr(() => v.value > -1 && b2(a.params, x.value.params)), C = hr(() => v.value > -1 && v.value === a.matched.length - 1 && o0(a.params, x.value.params));
|
|
2767
2773
|
function I(A = {}) {
|
|
2768
2774
|
return x2(A) ? i[Ll(s.replace) ? "replace" : "push"](
|
|
2769
2775
|
Ll(s.to)
|
|
@@ -2771,7 +2777,7 @@ function zy(s) {
|
|
|
2771
2777
|
).catch(cu) : Promise.resolve();
|
|
2772
2778
|
}
|
|
2773
2779
|
if (process.env.NODE_ENV !== "production" && jr) {
|
|
2774
|
-
const A =
|
|
2780
|
+
const A = E_();
|
|
2775
2781
|
if (A) {
|
|
2776
2782
|
const z = {
|
|
2777
2783
|
route: x.value,
|
|
@@ -2779,7 +2785,7 @@ function zy(s) {
|
|
|
2779
2785
|
isExactActive: C.value,
|
|
2780
2786
|
error: null
|
|
2781
2787
|
};
|
|
2782
|
-
A.__vrl_devtools = A.__vrl_devtools || [], A.__vrl_devtools.push(z),
|
|
2788
|
+
A.__vrl_devtools = A.__vrl_devtools || [], A.__vrl_devtools.push(z), Ib(() => {
|
|
2783
2789
|
z.route = x.value, z.isActive = u.value, z.isExactActive = C.value, z.error = Qh(Ll(s.to)) ? null : 'Invalid "to" value';
|
|
2784
2790
|
}, { flush: "post" });
|
|
2785
2791
|
}
|
|
@@ -2792,7 +2798,7 @@ function zy(s) {
|
|
|
2792
2798
|
navigate: I
|
|
2793
2799
|
};
|
|
2794
2800
|
}
|
|
2795
|
-
const _2 = /* @__PURE__ */
|
|
2801
|
+
const _2 = /* @__PURE__ */ S_({
|
|
2796
2802
|
name: "RouterLink",
|
|
2797
2803
|
compatConfig: { MODE: 3 },
|
|
2798
2804
|
props: {
|
|
@@ -2810,20 +2816,20 @@ const _2 = /* @__PURE__ */ w_({
|
|
|
2810
2816
|
default: "page"
|
|
2811
2817
|
}
|
|
2812
2818
|
},
|
|
2813
|
-
useLink:
|
|
2819
|
+
useLink: Ry,
|
|
2814
2820
|
setup(s, { slots: i }) {
|
|
2815
|
-
const a =
|
|
2816
|
-
[
|
|
2821
|
+
const a = Pb(Ry(s)), { options: c } = pu(Xf), f = hr(() => ({
|
|
2822
|
+
[Oy(s.activeClass, c.linkActiveClass, "router-link-active")]: a.isActive,
|
|
2817
2823
|
// [getLinkClass(
|
|
2818
2824
|
// props.inactiveClass,
|
|
2819
2825
|
// options.linkInactiveClass,
|
|
2820
2826
|
// 'router-link-inactive'
|
|
2821
2827
|
// )]: !link.isExactActive,
|
|
2822
|
-
[
|
|
2828
|
+
[Oy(s.exactActiveClass, c.linkExactActiveClass, "router-link-exact-active")]: a.isExactActive
|
|
2823
2829
|
}));
|
|
2824
2830
|
return () => {
|
|
2825
2831
|
const x = i.default && i.default(a);
|
|
2826
|
-
return s.custom ? x :
|
|
2832
|
+
return s.custom ? x : T_("a", {
|
|
2827
2833
|
"aria-current": a.isExactActive ? s.ariaCurrentValue : null,
|
|
2828
2834
|
href: a.href,
|
|
2829
2835
|
// this would override user added attrs but Vue will still add
|
|
@@ -2855,10 +2861,10 @@ function b2(s, i) {
|
|
|
2855
2861
|
}
|
|
2856
2862
|
return !0;
|
|
2857
2863
|
}
|
|
2858
|
-
function
|
|
2864
|
+
function Ly(s) {
|
|
2859
2865
|
return s ? s.aliasOf ? s.aliasOf.path : s.path : "";
|
|
2860
2866
|
}
|
|
2861
|
-
const
|
|
2867
|
+
const Oy = (s, i, a) => s ?? i ?? a, w2 = /* @__PURE__ */ S_({
|
|
2862
2868
|
name: "RouterView",
|
|
2863
2869
|
// #674 we manually inherit them
|
|
2864
2870
|
inheritAttrs: !1,
|
|
@@ -2874,7 +2880,7 @@ const Ly = (s, i, a) => s ?? i ?? a, w2 = /* @__PURE__ */ w_({
|
|
|
2874
2880
|
compatConfig: { MODE: 3 },
|
|
2875
2881
|
setup(s, { attrs: i, slots: a }) {
|
|
2876
2882
|
process.env.NODE_ENV !== "production" && T2();
|
|
2877
|
-
const c = pu(Cf), f = hr(() => s.route || c.value), x = pu(
|
|
2883
|
+
const c = pu(Cf), f = hr(() => s.route || c.value), x = pu(zy, 0), v = hr(() => {
|
|
2878
2884
|
let I = Ll(x);
|
|
2879
2885
|
const { matched: A } = f.value;
|
|
2880
2886
|
let z;
|
|
@@ -2882,17 +2888,17 @@ const Ly = (s, i, a) => s ?? i ?? a, w2 = /* @__PURE__ */ w_({
|
|
|
2882
2888
|
I++;
|
|
2883
2889
|
return I;
|
|
2884
2890
|
}), u = hr(() => f.value.matched[v.value]);
|
|
2885
|
-
Vp(
|
|
2886
|
-
const C =
|
|
2887
|
-
return
|
|
2891
|
+
Vp(zy, hr(() => v.value + 1)), Vp(g2, u), Vp(Cf, f);
|
|
2892
|
+
const C = Cb();
|
|
2893
|
+
return k_(() => [C.value, u.value, s.name], ([I, A, z], [R, U, G]) => {
|
|
2888
2894
|
A && (A.instances[z] = I, U && U !== A && I && I === R && (A.leaveGuards.size || (A.leaveGuards = U.leaveGuards), A.updateGuards.size || (A.updateGuards = U.updateGuards))), I && A && // if there is no instance but to and from are the same this might be
|
|
2889
2895
|
// the first visit
|
|
2890
2896
|
(!U || !jo(A, U) || !R) && (A.enterCallbacks[z] || []).forEach((ne) => ne(I));
|
|
2891
2897
|
}, { flush: "post" }), () => {
|
|
2892
2898
|
const I = f.value, A = s.name, z = u.value, R = z && z.components[A];
|
|
2893
2899
|
if (!R)
|
|
2894
|
-
return
|
|
2895
|
-
const U = z.props[A], G = U ? U === !0 ? I.params : typeof U == "function" ? U(I) : U : null, ce =
|
|
2900
|
+
return Fy(a.default, { Component: R, route: I });
|
|
2901
|
+
const U = z.props[A], G = U ? U === !0 ? I.params : typeof U == "function" ? U(I) : U : null, ce = T_(R, ai({}, G, i, {
|
|
2896
2902
|
onVnodeUnmounted: (de) => {
|
|
2897
2903
|
de.component.isUnmounted && (z.instances[A] = null);
|
|
2898
2904
|
},
|
|
@@ -2912,12 +2918,12 @@ const Ly = (s, i, a) => s ?? i ?? a, w2 = /* @__PURE__ */ w_({
|
|
|
2912
2918
|
return (
|
|
2913
2919
|
// pass the vnode to the slot as a prop.
|
|
2914
2920
|
// h and <component :is="..."> both accept vnodes
|
|
2915
|
-
|
|
2921
|
+
Fy(a.default, { Component: ce, route: I }) || ce
|
|
2916
2922
|
);
|
|
2917
2923
|
};
|
|
2918
2924
|
}
|
|
2919
2925
|
});
|
|
2920
|
-
function
|
|
2926
|
+
function Fy(s, i) {
|
|
2921
2927
|
if (!s)
|
|
2922
2928
|
return null;
|
|
2923
2929
|
const a = s(i);
|
|
@@ -2925,7 +2931,7 @@ function Oy(s, i) {
|
|
|
2925
2931
|
}
|
|
2926
2932
|
const S2 = w2;
|
|
2927
2933
|
function T2() {
|
|
2928
|
-
const s =
|
|
2934
|
+
const s = E_(), i = s.parent && s.parent.type.name, a = s.parent && s.parent.subTree && s.parent.subTree.type;
|
|
2929
2935
|
if (i && (i === "KeepAlive" || i.includes("Transition")) && typeof a == "object" && a.name === "RouterView") {
|
|
2930
2936
|
const c = i === "KeepAlive" ? "keep-alive" : "transition";
|
|
2931
2937
|
jt(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
@@ -2966,7 +2972,7 @@ function E2(s, i, a) {
|
|
|
2966
2972
|
return;
|
|
2967
2973
|
i.__hasDevtools = !0;
|
|
2968
2974
|
const c = k2++;
|
|
2969
|
-
|
|
2975
|
+
_w({
|
|
2970
2976
|
id: "org.vuejs.router" + (c ? "." + c : ""),
|
|
2971
2977
|
label: "Vue Router",
|
|
2972
2978
|
packageName: "vue-router",
|
|
@@ -2989,19 +2995,19 @@ function E2(s, i, a) {
|
|
|
2989
2995
|
label: (R.name ? `${R.name.toString()}: ` : "") + R.path,
|
|
2990
2996
|
textColor: 0,
|
|
2991
2997
|
tooltip: "This component is rendered by <router-view>",
|
|
2992
|
-
backgroundColor:
|
|
2998
|
+
backgroundColor: d0
|
|
2993
2999
|
});
|
|
2994
3000
|
}
|
|
2995
3001
|
ys(z.__vrl_devtools) && (z.__devtoolsApi = f, z.__vrl_devtools.forEach((R) => {
|
|
2996
|
-
let U = R.route.path, G =
|
|
2997
|
-
R.error ? (U = R.error, G = A2, ce = D2) : R.isExactActive ? (G =
|
|
3002
|
+
let U = R.route.path, G = m0, ne = "", ce = 0;
|
|
3003
|
+
R.error ? (U = R.error, G = A2, ce = D2) : R.isExactActive ? (G = f0, ne = "This is exactly active") : R.isActive && (G = p0, ne = "This link is active"), A.tags.push({
|
|
2998
3004
|
label: U,
|
|
2999
3005
|
textColor: ce,
|
|
3000
3006
|
tooltip: ne,
|
|
3001
3007
|
backgroundColor: G
|
|
3002
3008
|
});
|
|
3003
3009
|
}));
|
|
3004
|
-
}),
|
|
3010
|
+
}), k_(i.currentRoute, () => {
|
|
3005
3011
|
C(), f.notifyComponentUpdate(), f.sendInspectorTree(u), f.sendInspectorState(u);
|
|
3006
3012
|
});
|
|
3007
3013
|
const x = "router:navigations:" + c;
|
|
@@ -3079,10 +3085,10 @@ function E2(s, i, a) {
|
|
|
3079
3085
|
let z = a.getRoutes().filter((R) => !R.parent || // these routes have a parent with no component which will not appear in the view
|
|
3080
3086
|
// therefore we still need to include them
|
|
3081
3087
|
!R.parent.record.components);
|
|
3082
|
-
z.forEach(
|
|
3088
|
+
z.forEach(_0), A.filter && (z = z.filter((R) => (
|
|
3083
3089
|
// save matches state based on the payload
|
|
3084
3090
|
If(R, A.filter.toLowerCase())
|
|
3085
|
-
))), z.forEach((R) =>
|
|
3091
|
+
))), z.forEach((R) => y0(R, i.currentRoute.value)), A.rootNodes = z.map(g0);
|
|
3086
3092
|
}
|
|
3087
3093
|
let I;
|
|
3088
3094
|
f.on.getInspectorTree((A) => {
|
|
@@ -3146,8 +3152,8 @@ function P2(s) {
|
|
|
3146
3152
|
}
|
|
3147
3153
|
}), a;
|
|
3148
3154
|
}
|
|
3149
|
-
const
|
|
3150
|
-
function
|
|
3155
|
+
const d0 = 15485081, p0 = 2450411, f0 = 8702998, C2 = 2282478, m0 = 16486972, I2 = 6710886, A2 = 16704226, D2 = 12131356;
|
|
3156
|
+
function g0(s) {
|
|
3151
3157
|
const i = [], { record: a } = s;
|
|
3152
3158
|
a.name != null && i.push({
|
|
3153
3159
|
label: String(a.name),
|
|
@@ -3156,19 +3162,19 @@ function m0(s) {
|
|
|
3156
3162
|
}), a.aliasOf && i.push({
|
|
3157
3163
|
label: "alias",
|
|
3158
3164
|
textColor: 0,
|
|
3159
|
-
backgroundColor:
|
|
3165
|
+
backgroundColor: m0
|
|
3160
3166
|
}), s.__vd_match && i.push({
|
|
3161
3167
|
label: "matches",
|
|
3162
3168
|
textColor: 0,
|
|
3163
|
-
backgroundColor:
|
|
3169
|
+
backgroundColor: d0
|
|
3164
3170
|
}), s.__vd_exactActive && i.push({
|
|
3165
3171
|
label: "exact",
|
|
3166
3172
|
textColor: 0,
|
|
3167
|
-
backgroundColor:
|
|
3173
|
+
backgroundColor: f0
|
|
3168
3174
|
}), s.__vd_active && i.push({
|
|
3169
3175
|
label: "active",
|
|
3170
3176
|
textColor: 0,
|
|
3171
|
-
backgroundColor:
|
|
3177
|
+
backgroundColor: p0
|
|
3172
3178
|
}), a.redirect && i.push({
|
|
3173
3179
|
label: typeof a.redirect == "string" ? `redirect: ${a.redirect}` : "redirects",
|
|
3174
3180
|
textColor: 16777215,
|
|
@@ -3179,17 +3185,17 @@ function m0(s) {
|
|
|
3179
3185
|
id: c,
|
|
3180
3186
|
label: a.path,
|
|
3181
3187
|
tags: i,
|
|
3182
|
-
children: s.children.map(
|
|
3188
|
+
children: s.children.map(g0)
|
|
3183
3189
|
};
|
|
3184
3190
|
}
|
|
3185
3191
|
let z2 = 0;
|
|
3186
3192
|
const R2 = /^\/(.*)\/([a-z]*)$/;
|
|
3187
|
-
function
|
|
3193
|
+
function y0(s, i) {
|
|
3188
3194
|
const a = i.matched.length && jo(i.matched[i.matched.length - 1], s.record);
|
|
3189
|
-
s.__vd_exactActive = s.__vd_active = a, a || (s.__vd_active = i.matched.some((c) => jo(c, s.record))), s.children.forEach((c) =>
|
|
3195
|
+
s.__vd_exactActive = s.__vd_active = a, a || (s.__vd_active = i.matched.some((c) => jo(c, s.record))), s.children.forEach((c) => y0(c, i));
|
|
3190
3196
|
}
|
|
3191
|
-
function
|
|
3192
|
-
s.__vd_match = !1, s.children.forEach(
|
|
3197
|
+
function _0(s) {
|
|
3198
|
+
s.__vd_match = !1, s.children.forEach(_0);
|
|
3193
3199
|
}
|
|
3194
3200
|
function If(s, i) {
|
|
3195
3201
|
const a = String(s.re).match(R2);
|
|
@@ -3207,19 +3213,19 @@ function L2(s, i) {
|
|
|
3207
3213
|
return a;
|
|
3208
3214
|
}
|
|
3209
3215
|
function O2(s) {
|
|
3210
|
-
const i =
|
|
3216
|
+
const i = o2(s.routes, s), a = s.parseQuery || f2, c = s.stringifyQuery || Dy, f = s.history;
|
|
3211
3217
|
if (process.env.NODE_ENV !== "production" && !f)
|
|
3212
3218
|
throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');
|
|
3213
|
-
const x = iu(), v = iu(), u = iu(), C =
|
|
3219
|
+
const x = iu(), v = iu(), u = iu(), C = kb(Ro);
|
|
3214
3220
|
let I = Ro;
|
|
3215
3221
|
jr && s.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
|
|
3216
|
-
const A = Zp.bind(null, (Te) => "" + Te), z = Zp.bind(null,
|
|
3222
|
+
const A = Zp.bind(null, (Te) => "" + Te), z = Zp.bind(null, Dw), R = (
|
|
3217
3223
|
// @ts-expect-error: intentionally avoid the type check
|
|
3218
3224
|
Zp.bind(null, jl)
|
|
3219
3225
|
);
|
|
3220
3226
|
function U(Te, qe) {
|
|
3221
3227
|
let Ze, rt;
|
|
3222
|
-
return
|
|
3228
|
+
return l0(Te) ? (Ze = i.getRecordMatcher(Te), process.env.NODE_ENV !== "production" && !Ze && jt(`Parent route "${String(Te)}" not found when adding child route`, qe), rt = qe) : rt = Te, i.addRoute(rt, Ze);
|
|
3223
3229
|
}
|
|
3224
3230
|
function G(Te) {
|
|
3225
3231
|
const qe = i.getRecordMatcher(Te);
|
|
@@ -3260,8 +3266,8 @@ function O2(s) {
|
|
|
3260
3266
|
}
|
|
3261
3267
|
const rt = i.resolve(Ze, qe), Nt = Te.hash || "";
|
|
3262
3268
|
process.env.NODE_ENV !== "production" && Nt && !Nt.startsWith("#") && jt(`A \`hash\` should always start with the character "#". Replace "${Nt}" with "#${Nt}".`), rt.params = A(R(rt.params));
|
|
3263
|
-
const Jt =
|
|
3264
|
-
hash:
|
|
3269
|
+
const Jt = Lw(c, ai({}, Te, {
|
|
3270
|
+
hash: Cw(Nt),
|
|
3265
3271
|
path: rt.path
|
|
3266
3272
|
})), Tt = f.createHref(Jt);
|
|
3267
3273
|
return process.env.NODE_ENV !== "production" && (Tt.startsWith("//") ? jt(`Location "${Te}" resolved to "${Tt}". A resolved location cannot start with multiple slashes.`) : rt.matched.length || jt(`No match found for location with path "${Te.path != null ? Te.path : Te}"`)), ai({
|
|
@@ -3275,7 +3281,7 @@ function O2(s) {
|
|
|
3275
3281
|
// numbers at `$route.query`, but at the point, the user will have to
|
|
3276
3282
|
// use their own type anyway.
|
|
3277
3283
|
// https://github.com/vuejs/router/issues/328#issuecomment-649481567
|
|
3278
|
-
c ===
|
|
3284
|
+
c === Dy ? m2(Te.query) : Te.query || {}
|
|
3279
3285
|
)
|
|
3280
3286
|
}, rt, {
|
|
3281
3287
|
redirectedFrom: void 0,
|
|
@@ -3457,7 +3463,7 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3457
3463
|
}
|
|
3458
3464
|
I = rt;
|
|
3459
3465
|
const Jt = C.value;
|
|
3460
|
-
jr &&
|
|
3466
|
+
jr && Uw(Sy(Jt.fullPath, Ze.delta), fd()), Bt(rt, Jt).catch((Tt) => Lr(
|
|
3461
3467
|
Tt,
|
|
3462
3468
|
12
|
|
3463
3469
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
@@ -3513,8 +3519,8 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3513
3519
|
const { scrollBehavior: Nt } = s;
|
|
3514
3520
|
if (!jr || !Nt)
|
|
3515
3521
|
return Promise.resolve();
|
|
3516
|
-
const Jt = !Ze &&
|
|
3517
|
-
return
|
|
3522
|
+
const Jt = !Ze && qw(Sy(Te.fullPath, 0)) || (rt || !Ze) && history.state && history.state.scroll || null;
|
|
3523
|
+
return Mb().then(() => Nt(Te, qe, Jt)).then((Tt) => Tt && $w(Tt)).catch((Tt) => vs(Tt, Te, qe));
|
|
3518
3524
|
}
|
|
3519
3525
|
const ln = (Te) => f.go(Te);
|
|
3520
3526
|
let xs;
|
|
@@ -3554,7 +3560,7 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3554
3560
|
get: () => C.value[Nt],
|
|
3555
3561
|
enumerable: !0
|
|
3556
3562
|
});
|
|
3557
|
-
Te.provide(Xf, qe), Te.provide(
|
|
3563
|
+
Te.provide(Xf, qe), Te.provide(h0, Eb(Ze)), Te.provide(Cf, C);
|
|
3558
3564
|
const rt = Te.unmount;
|
|
3559
3565
|
Cn.add(Te), Te.unmount = function() {
|
|
3560
3566
|
Cn.delete(Te), Cn.size < 1 && (I = Ro, Dt && Dt(), Dt = null, C.value = Ro, xs = !1, Hi = !1), rt();
|
|
@@ -3577,17 +3583,17 @@ function F2(s, i) {
|
|
|
3577
3583
|
return [a, c, f];
|
|
3578
3584
|
}
|
|
3579
3585
|
const B2 = [
|
|
3580
|
-
{ name: "edit", path: "/edit", component: () => import("./edit-page-
|
|
3581
|
-
{ name: "add", path: "/add", component: () => import("./add-page-
|
|
3586
|
+
{ name: "edit", path: "/edit", component: () => import("./edit-page-CMTqsvJf.js") },
|
|
3587
|
+
{ name: "add", path: "/add", component: () => import("./add-page-C3Wh2-Ml.js") },
|
|
3582
3588
|
{
|
|
3583
3589
|
name: "card-view",
|
|
3584
3590
|
path: "/card",
|
|
3585
|
-
component: () => import("./card-view-
|
|
3591
|
+
component: () => import("./card-view-BwtqUSFP.js"),
|
|
3586
3592
|
children: [{
|
|
3587
3593
|
name: "table",
|
|
3588
3594
|
path: ":table",
|
|
3589
|
-
component: () => import("./card-view-
|
|
3590
|
-
children: [{ name: "card", path: ":id", component: () => import("./card-page-
|
|
3595
|
+
component: () => import("./card-view-BwtqUSFP.js"),
|
|
3596
|
+
children: [{ name: "card", path: ":id", component: () => import("./card-page-WrYs8chM.js") }]
|
|
3591
3597
|
}]
|
|
3592
3598
|
}
|
|
3593
3599
|
], N2 = {}, j2 = { class: "bg-gray-200 w-full px-16 md:px-0 h-screen flex items-center justify-center" }, V2 = { class: "bg-white border border-gray-200 flex flex-col items-center justify-center px-4 md:px-8 lg:px-24 py-8 rounded-lg shadow-2xl" };
|
|
@@ -3625,7 +3631,7 @@ const U2 = /* @__PURE__ */ qi(N2, [["render", $2]]), q2 = (s) => {
|
|
|
3625
3631
|
}));
|
|
3626
3632
|
return {
|
|
3627
3633
|
router: O2({
|
|
3628
|
-
history:
|
|
3634
|
+
history: Gw(),
|
|
3629
3635
|
routes: [
|
|
3630
3636
|
{
|
|
3631
3637
|
path: "/404",
|
|
@@ -3635,13 +3641,13 @@ const U2 = /* @__PURE__ */ qi(N2, [["render", $2]]), q2 = (s) => {
|
|
|
3635
3641
|
{
|
|
3636
3642
|
path: "/",
|
|
3637
3643
|
name: "global",
|
|
3638
|
-
component: () => import("./admin-view-
|
|
3644
|
+
component: () => import("./admin-view-YtM2-LrW.js"),
|
|
3639
3645
|
children: [
|
|
3640
3646
|
...i,
|
|
3641
3647
|
...s,
|
|
3642
3648
|
{
|
|
3643
3649
|
path: "/:catchAll(.*)",
|
|
3644
|
-
component: () => import("./admin-interface-
|
|
3650
|
+
component: () => import("./admin-interface-C4m7uvG2.js")
|
|
3645
3651
|
}
|
|
3646
3652
|
]
|
|
3647
3653
|
}
|
|
@@ -3663,7 +3669,7 @@ const U2 = /* @__PURE__ */ qi(N2, [["render", $2]]), q2 = (s) => {
|
|
|
3663
3669
|
function Z2(s, i, a, c, f, x) {
|
|
3664
3670
|
return ht(), _t("div", null, bi(a.value), 1);
|
|
3665
3671
|
}
|
|
3666
|
-
const
|
|
3672
|
+
const By = /* @__PURE__ */ qi(H2, [["render", Z2]]), W2 = {
|
|
3667
3673
|
props: {
|
|
3668
3674
|
value: {
|
|
3669
3675
|
type: [String, Number],
|
|
@@ -3735,7 +3741,7 @@ function rS(s, i, a, c, f, x) {
|
|
|
3735
3741
|
})) : (ht(), _t("div", sS))
|
|
3736
3742
|
]);
|
|
3737
3743
|
}
|
|
3738
|
-
const
|
|
3744
|
+
const Ny = /* @__PURE__ */ qi(iS, [["render", rS]]), oS = {
|
|
3739
3745
|
props: {
|
|
3740
3746
|
data: Object,
|
|
3741
3747
|
name: String
|
|
@@ -3756,12 +3762,12 @@ function hS(s, i, a, c, f, x) {
|
|
|
3756
3762
|
}
|
|
3757
3763
|
const dS = /* @__PURE__ */ qi(oS, [["render", hS]]), pS = {
|
|
3758
3764
|
// formats
|
|
3759
|
-
"table-format-text":
|
|
3765
|
+
"table-format-text": By,
|
|
3760
3766
|
"table-format-select": dS,
|
|
3761
3767
|
"table-format-badge": K2,
|
|
3762
|
-
"table-format-swetch":
|
|
3763
|
-
"table-format-check":
|
|
3764
|
-
"table-format-html":
|
|
3768
|
+
"table-format-swetch": Ny,
|
|
3769
|
+
"table-format-check": Ny,
|
|
3770
|
+
"table-format-html": By
|
|
3765
3771
|
}, fS = [
|
|
3766
3772
|
{
|
|
3767
3773
|
path: "/",
|
|
@@ -3829,13 +3835,13 @@ const dS = /* @__PURE__ */ qi(oS, [["render", hS]]), pS = {
|
|
|
3829
3835
|
}
|
|
3830
3836
|
]
|
|
3831
3837
|
}
|
|
3832
|
-
],
|
|
3838
|
+
], v0 = (s) => {
|
|
3833
3839
|
const i = [];
|
|
3834
3840
|
return s.forEach((a) => {
|
|
3835
|
-
a.menu ? i.push(...
|
|
3841
|
+
a.menu ? i.push(...v0(a.menu)) : i.push(a);
|
|
3836
3842
|
}), i;
|
|
3837
3843
|
};
|
|
3838
|
-
function
|
|
3844
|
+
function x0(s, i, a) {
|
|
3839
3845
|
if (s !== null)
|
|
3840
3846
|
for (var c, f, x, v, u, C, I, A = 0, z = 0, R, U = s.type, G = U === "FeatureCollection", ne = U === "Feature", ce = G ? s.features.length : 1, de = 0; de < ce; de++) {
|
|
3841
3847
|
I = G ? s.features[de].geometry : ne ? s.geometry : s, R = I ? I.type === "GeometryCollection" : !1, u = R ? I.geometries.length : 1;
|
|
@@ -3912,7 +3918,7 @@ function v0(s, i, a) {
|
|
|
3912
3918
|
break;
|
|
3913
3919
|
case "GeometryCollection":
|
|
3914
3920
|
for (c = 0; c < v.geometries.length; c++)
|
|
3915
|
-
if (
|
|
3921
|
+
if (x0(v.geometries[c], i) === !1)
|
|
3916
3922
|
return !1;
|
|
3917
3923
|
break;
|
|
3918
3924
|
default:
|
|
@@ -3922,11 +3928,11 @@ function v0(s, i, a) {
|
|
|
3922
3928
|
}
|
|
3923
3929
|
}
|
|
3924
3930
|
}
|
|
3925
|
-
function
|
|
3931
|
+
function b0(s, i = {}) {
|
|
3926
3932
|
if (s.bbox != null && i.recompute !== !0)
|
|
3927
3933
|
return s.bbox;
|
|
3928
3934
|
const a = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
3929
|
-
return
|
|
3935
|
+
return x0(s, (c) => {
|
|
3930
3936
|
a[0] > c[0] && (a[0] = c[0]), a[1] > c[1] && (a[1] = c[1]), a[2] < c[0] && (a[2] = c[0]), a[3] < c[1] && (a[3] = c[1]);
|
|
3931
3937
|
}), a;
|
|
3932
3938
|
}
|
|
@@ -3935,11 +3941,11 @@ function gS(s, i, a = {}) {
|
|
|
3935
3941
|
const c = { type: "Feature" };
|
|
3936
3942
|
return (a.id === 0 || a.id) && (c.id = a.id), a.bbox && (c.bbox = a.bbox), c.properties = {}, c.geometry = s, c;
|
|
3937
3943
|
}
|
|
3938
|
-
function
|
|
3944
|
+
function jy(s, i = {}) {
|
|
3939
3945
|
const a = { type: "FeatureCollection" };
|
|
3940
3946
|
return i.id && (a.id = i.id), i.bbox && (a.bbox = i.bbox), a.features = s, a;
|
|
3941
3947
|
}
|
|
3942
|
-
var
|
|
3948
|
+
var w0 = { exports: {} };
|
|
3943
3949
|
/**
|
|
3944
3950
|
* MapLibre GL JS
|
|
3945
3951
|
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.7.0/LICENSE.txt
|
|
@@ -5369,7 +5375,7 @@ var b0 = { exports: {} };
|
|
|
5369
5375
|
}
|
|
5370
5376
|
function io(n, t, r) {
|
|
5371
5377
|
const l = n !== "==" && n !== "!=";
|
|
5372
|
-
return class
|
|
5378
|
+
return class S0 {
|
|
5373
5379
|
constructor(y, _, b) {
|
|
5374
5380
|
this.type = pt, this.lhs = y, this.rhs = _, this.collator = b, this.hasUntypedArgument = y.type.kind === "value" || _.type.kind === "value";
|
|
5375
5381
|
}
|
|
@@ -5389,7 +5395,7 @@ var b0 = { exports: {} };
|
|
|
5389
5395
|
if (S.type.kind !== "string" && E.type.kind !== "string" && S.type.kind !== "value" && E.type.kind !== "value") return _.error("Cannot use collator to compare non-string types.");
|
|
5390
5396
|
if (M = _.parse(y[3], 3, Ss), !M) return null;
|
|
5391
5397
|
}
|
|
5392
|
-
return new
|
|
5398
|
+
return new S0(S, E, M);
|
|
5393
5399
|
}
|
|
5394
5400
|
evaluate(y) {
|
|
5395
5401
|
const _ = this.lhs.evaluate(y), b = this.rhs.evaluate(y);
|
|
@@ -8282,7 +8288,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8282
8288
|
t.r === this.current.r && t.g === this.current.g && t.b === this.current.b && t.a === this.current.a || (this.current = t, this.gl.uniform4f(this.location, t.r, t.g, t.b, t.a));
|
|
8283
8289
|
}
|
|
8284
8290
|
}
|
|
8285
|
-
const
|
|
8291
|
+
const zv = new Float32Array(16);
|
|
8286
8292
|
function Qd(n) {
|
|
8287
8293
|
return [Ir(255 * n.r, 255 * n.g), Ir(255 * n.b, 255 * n.a)];
|
|
8288
8294
|
}
|
|
@@ -8406,7 +8412,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8406
8412
|
if (!l(y)) continue;
|
|
8407
8413
|
const _ = t.paint.get(y);
|
|
8408
8414
|
if (!(_ instanceof Ms && ao(_.property.specification))) continue;
|
|
8409
|
-
const b =
|
|
8415
|
+
const b = Rv(y, t.type), S = _.value, E = _.property.specification.type, M = _.property.useIntegerZoom, D = _.property.specification["property-type"], F = D === "cross-faded" || D === "cross-faded-data-driven";
|
|
8410
8416
|
if (S.kind === "constant") this.binders[y] = F ? new fl(S.value, b) : new Fc(S.value, b, E), p.push(`/u_${y}`);
|
|
8411
8417
|
else if (S.kind === "source" || F) {
|
|
8412
8418
|
const j = km(y, E, "source");
|
|
@@ -8545,7 +8551,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8545
8551
|
for (const t in this.programConfigurations) this.programConfigurations[t].destroy();
|
|
8546
8552
|
}
|
|
8547
8553
|
}
|
|
8548
|
-
function
|
|
8554
|
+
function Rv(n, t) {
|
|
8549
8555
|
return { "text-opacity": ["opacity"], "icon-opacity": ["opacity"], "text-color": ["fill_color"], "icon-color": ["fill_color"], "text-halo-color": ["halo_color"], "icon-halo-color": ["halo_color"], "text-halo-blur": ["halo_blur"], "icon-halo-blur": ["halo_blur"], "text-halo-width": ["halo_width"], "icon-halo-width": ["halo_width"], "line-gap-width": ["gapwidth"], "line-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"], "fill-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"], "fill-extrusion-pattern": ["pattern_to", "pattern_from", "pixel_ratio_to", "pixel_ratio_from"] }[n] || [n.replace(`${t}-`, "").replace(/-/g, "_")];
|
|
8550
8556
|
}
|
|
8551
8557
|
function km(n, t, r) {
|
|
@@ -8623,7 +8629,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8623
8629
|
for (let r = 0; r < t.length; r++) if (ml(n, t[r])) return !0;
|
|
8624
8630
|
return !!ip(n, t);
|
|
8625
8631
|
}
|
|
8626
|
-
function
|
|
8632
|
+
function Lv(n, t, r) {
|
|
8627
8633
|
return !!ml(n, t) || !!np(t, n, r);
|
|
8628
8634
|
}
|
|
8629
8635
|
function Pm(n, t) {
|
|
@@ -8636,7 +8642,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8636
8642
|
for (let r = 0; r < t.length; r++) if (ip(n, t[r])) return !0;
|
|
8637
8643
|
return !1;
|
|
8638
8644
|
}
|
|
8639
|
-
function
|
|
8645
|
+
function Ov(n, t, r) {
|
|
8640
8646
|
if (n.length > 1) {
|
|
8641
8647
|
if (ip(n, t)) return !0;
|
|
8642
8648
|
for (let l = 0; l < t.length; l++) if (np(t[l], n, r)) return !0;
|
|
@@ -8648,11 +8654,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8648
8654
|
if (n.length === 0 || t.length === 0) return !1;
|
|
8649
8655
|
for (let r = 0; r < n.length - 1; r++) {
|
|
8650
8656
|
const l = n[r], p = n[r + 1];
|
|
8651
|
-
for (let y = 0; y < t.length - 1; y++) if (
|
|
8657
|
+
for (let y = 0; y < t.length - 1; y++) if (Fv(l, p, t[y], t[y + 1])) return !0;
|
|
8652
8658
|
}
|
|
8653
8659
|
return !1;
|
|
8654
8660
|
}
|
|
8655
|
-
function
|
|
8661
|
+
function Fv(n, t, r, l) {
|
|
8656
8662
|
return pi(n, r, l) !== pi(t, r, l) && pi(n, t, r) !== pi(n, t, l);
|
|
8657
8663
|
}
|
|
8658
8664
|
function np(n, t, r) {
|
|
@@ -8683,7 +8689,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8683
8689
|
}
|
|
8684
8690
|
return r;
|
|
8685
8691
|
}
|
|
8686
|
-
function
|
|
8692
|
+
function Bv(n, t, r) {
|
|
8687
8693
|
const l = r[0], p = r[2];
|
|
8688
8694
|
if (n.x < l.x && t.x < l.x || n.x > p.x && t.x > p.x || n.y < l.y && t.y < l.y || n.y > p.y && t.y > p.y) return !1;
|
|
8689
8695
|
const y = pi(n, t, r[0]);
|
|
@@ -8706,7 +8712,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8706
8712
|
}
|
|
8707
8713
|
let Am, Dm;
|
|
8708
8714
|
Ye("CircleBucket", tp, { omit: ["layers"] });
|
|
8709
|
-
var
|
|
8715
|
+
var Nv = { get paint() {
|
|
8710
8716
|
return Dm = Dm || new g({ "circle-radius": new ut(ve.paint_circle["circle-radius"]), "circle-color": new ut(ve.paint_circle["circle-color"]), "circle-blur": new ut(ve.paint_circle["circle-blur"]), "circle-opacity": new ut(ve.paint_circle["circle-opacity"]), "circle-translate": new Qe(ve.paint_circle["circle-translate"]), "circle-translate-anchor": new Qe(ve.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new Qe(ve.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new Qe(ve.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new ut(ve.paint_circle["circle-stroke-width"]), "circle-stroke-color": new ut(ve.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new ut(ve.paint_circle["circle-stroke-opacity"]) });
|
|
8711
8717
|
}, get layout() {
|
|
8712
8718
|
return Am = Am || new g({ "circle-sort-key": new ut(ve.layout_circle["circle-sort-key"]) });
|
|
@@ -8722,15 +8728,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8722
8728
|
for (var n = 0, t = arguments.length; t--; ) n += arguments[t] * arguments[t];
|
|
8723
8729
|
return Math.sqrt(n);
|
|
8724
8730
|
});
|
|
8725
|
-
var Nc,
|
|
8731
|
+
var Nc, jv = zm;
|
|
8726
8732
|
function fh(n, t, r) {
|
|
8727
8733
|
var l = t[0], p = t[1], y = t[2], _ = t[3];
|
|
8728
8734
|
return n[0] = r[0] * l + r[4] * p + r[8] * y + r[12] * _, n[1] = r[1] * l + r[5] * p + r[9] * y + r[13] * _, n[2] = r[2] * l + r[6] * p + r[10] * y + r[14] * _, n[3] = r[3] * l + r[7] * p + r[11] * y + r[15] * _, n;
|
|
8729
8735
|
}
|
|
8730
8736
|
Nc = new gl(4), gl != Float32Array && (Nc[0] = 0, Nc[1] = 0, Nc[2] = 0, Nc[3] = 0);
|
|
8731
|
-
class
|
|
8737
|
+
class Vv extends o {
|
|
8732
8738
|
constructor(t) {
|
|
8733
|
-
super(t,
|
|
8739
|
+
super(t, Nv);
|
|
8734
8740
|
}
|
|
8735
8741
|
createBucket(t) {
|
|
8736
8742
|
return new tp(t);
|
|
@@ -8747,7 +8753,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8747
8753
|
const X = D ? q : Rm(q, S);
|
|
8748
8754
|
let ee = j;
|
|
8749
8755
|
const ge = fh([], [q.x, q.y, 0, 1], S);
|
|
8750
|
-
if (this.paint.get("circle-pitch-scale") === "viewport" && this.paint.get("circle-pitch-alignment") === "map" ? ee *= ge[3] / _.cameraToCenterDistance : this.paint.get("circle-pitch-scale") === "map" && this.paint.get("circle-pitch-alignment") === "viewport" && (ee *= _.cameraToCenterDistance / ge[3]),
|
|
8756
|
+
if (this.paint.get("circle-pitch-scale") === "viewport" && this.paint.get("circle-pitch-alignment") === "map" ? ee *= ge[3] / _.cameraToCenterDistance : this.paint.get("circle-pitch-scale") === "map" && this.paint.get("circle-pitch-alignment") === "viewport" && (ee *= _.cameraToCenterDistance / ge[3]), Lv(F, X, ee)) return !0;
|
|
8751
8757
|
}
|
|
8752
8758
|
return !1;
|
|
8753
8759
|
}
|
|
@@ -8760,7 +8766,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8760
8766
|
}
|
|
8761
8767
|
let Om;
|
|
8762
8768
|
Ye("HeatmapBucket", Lm, { omit: ["layers"] });
|
|
8763
|
-
var
|
|
8769
|
+
var $v = { get paint() {
|
|
8764
8770
|
return Om = Om || new g({ "heatmap-radius": new ut(ve.paint_heatmap["heatmap-radius"]), "heatmap-weight": new ut(ve.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new Qe(ve.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Lc(ve.paint_heatmap["heatmap-color"]), "heatmap-opacity": new Qe(ve.paint_heatmap["heatmap-opacity"]) });
|
|
8765
8771
|
} };
|
|
8766
8772
|
function rp(n, { width: t, height: r }, l, p) {
|
|
@@ -8835,12 +8841,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8835
8841
|
}
|
|
8836
8842
|
Ye("AlphaImage", jc), Ye("RGBAImage", hs);
|
|
8837
8843
|
const ap = "big-fb";
|
|
8838
|
-
class
|
|
8844
|
+
class Uv extends o {
|
|
8839
8845
|
createBucket(t) {
|
|
8840
8846
|
return new Lm(t);
|
|
8841
8847
|
}
|
|
8842
8848
|
constructor(t) {
|
|
8843
|
-
super(t,
|
|
8849
|
+
super(t, $v), this.heatmapFbos = /* @__PURE__ */ new Map(), this._updateColorRamp();
|
|
8844
8850
|
}
|
|
8845
8851
|
_handleSpecialPaintPropertyUpdate(t) {
|
|
8846
8852
|
t === "heatmap-color" && this._updateColorRamp();
|
|
@@ -8862,18 +8868,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8862
8868
|
}
|
|
8863
8869
|
}
|
|
8864
8870
|
let Nm;
|
|
8865
|
-
var
|
|
8871
|
+
var qv = { get paint() {
|
|
8866
8872
|
return Nm = Nm || new g({ "hillshade-illumination-direction": new Qe(ve.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-anchor": new Qe(ve.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new Qe(ve.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new Qe(ve.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new Qe(ve.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new Qe(ve.paint_hillshade["hillshade-accent-color"]) });
|
|
8867
8873
|
} };
|
|
8868
|
-
class
|
|
8874
|
+
class Hv extends o {
|
|
8869
8875
|
constructor(t) {
|
|
8870
|
-
super(t,
|
|
8876
|
+
super(t, qv);
|
|
8871
8877
|
}
|
|
8872
8878
|
hasOffscreenPass() {
|
|
8873
8879
|
return this.paint.get("hillshade-exaggeration") !== 0 && this.visibility !== "none";
|
|
8874
8880
|
}
|
|
8875
8881
|
}
|
|
8876
|
-
const
|
|
8882
|
+
const Zv = w([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: Wv } = Zv;
|
|
8877
8883
|
function jm(n, t, r = 2) {
|
|
8878
8884
|
const l = t && t.length, p = l ? t[0] * r : n.length;
|
|
8879
8885
|
let y = Vm(n, 0, p, r, !0);
|
|
@@ -8884,10 +8890,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8884
8890
|
const $ = [];
|
|
8885
8891
|
for (let q = 0, X = D.length; q < X; q++) {
|
|
8886
8892
|
const ee = Vm(M, D[q] * j, q < X - 1 ? D[q + 1] * j : M.length, j, !1);
|
|
8887
|
-
ee === ee.next && (ee.steiner = !0), $.push(
|
|
8893
|
+
ee === ee.next && (ee.steiner = !0), $.push(tx(ee));
|
|
8888
8894
|
}
|
|
8889
|
-
$.sort(
|
|
8890
|
-
for (let q = 0; q < $.length; q++) F =
|
|
8895
|
+
$.sort(Jv);
|
|
8896
|
+
for (let q = 0; q < $.length; q++) F = Qv($[q], F);
|
|
8891
8897
|
return F;
|
|
8892
8898
|
}(n, t, y, r)), n.length > 80 * r) {
|
|
8893
8899
|
b = 1 / 0, S = 1 / 0;
|
|
@@ -8951,14 +8957,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8951
8957
|
let b = n;
|
|
8952
8958
|
for (; n.prev !== n.next; ) {
|
|
8953
8959
|
const S = n.prev, E = n.next;
|
|
8954
|
-
if (y ?
|
|
8960
|
+
if (y ? Yv(n, l, p, y) : Gv(n)) t.push(S.i, n.i, E.i), Uc(n), n = E.next, b = E.next;
|
|
8955
8961
|
else if ((n = E) === b) {
|
|
8956
|
-
_ ? _ === 1 ? Vc(n =
|
|
8962
|
+
_ ? _ === 1 ? Vc(n = Xv(fa(n), t), t, r, l, p, y, 2) : _ === 2 && Kv(n, t, r, l, p, y) : Vc(fa(n), t, r, l, p, y, 1);
|
|
8957
8963
|
break;
|
|
8958
8964
|
}
|
|
8959
8965
|
}
|
|
8960
8966
|
}
|
|
8961
|
-
function
|
|
8967
|
+
function Gv(n) {
|
|
8962
8968
|
const t = n.prev, r = n, l = n.next;
|
|
8963
8969
|
if (zi(t, r, l) >= 0) return !1;
|
|
8964
8970
|
const p = t.x, y = r.x, _ = l.x, b = t.y, S = r.y, E = l.y, M = p < y ? p < _ ? p : _ : y < _ ? y : _, D = b < S ? b < E ? b : E : S < E ? S : E, F = p > y ? p > _ ? p : _ : y > _ ? y : _, j = b > S ? b > E ? b : E : S > E ? S : E;
|
|
@@ -8969,7 +8975,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8969
8975
|
}
|
|
8970
8976
|
return !0;
|
|
8971
8977
|
}
|
|
8972
|
-
function
|
|
8978
|
+
function Yv(n, t, r, l) {
|
|
8973
8979
|
const p = n.prev, y = n, _ = n.next;
|
|
8974
8980
|
if (zi(p, y, _) >= 0) return !1;
|
|
8975
8981
|
const b = p.x, S = y.x, E = _.x, M = p.y, D = y.y, F = _.y, j = b < S ? b < E ? b : E : S < E ? S : E, $ = M < D ? M < F ? M : F : D < F ? D : F, q = b > S ? b > E ? b : E : S > E ? S : E, X = M > D ? M > F ? M : F : D > F ? D : F, ee = lp(j, $, t, r, l), ge = lp(q, X, t, r, l);
|
|
@@ -8988,7 +8994,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8988
8994
|
}
|
|
8989
8995
|
return !0;
|
|
8990
8996
|
}
|
|
8991
|
-
function
|
|
8997
|
+
function Xv(n, t) {
|
|
8992
8998
|
let r = n;
|
|
8993
8999
|
do {
|
|
8994
9000
|
const l = r.prev, p = r.next.next;
|
|
@@ -8996,12 +9002,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8996
9002
|
} while (r !== n);
|
|
8997
9003
|
return fa(r);
|
|
8998
9004
|
}
|
|
8999
|
-
function
|
|
9005
|
+
function Kv(n, t, r, l, p, y) {
|
|
9000
9006
|
let _ = n;
|
|
9001
9007
|
do {
|
|
9002
9008
|
let b = _.next.next;
|
|
9003
9009
|
for (; b !== _.prev; ) {
|
|
9004
|
-
if (_.i !== b.i &&
|
|
9010
|
+
if (_.i !== b.i && ix(_, b)) {
|
|
9005
9011
|
let S = Um(_, b);
|
|
9006
9012
|
return _ = fa(_, _.next), S = fa(S, S.next), Vc(_, t, r, l, p, y, 0), void Vc(S, t, r, l, p, y, 0);
|
|
9007
9013
|
}
|
|
@@ -9010,10 +9016,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9010
9016
|
_ = _.next;
|
|
9011
9017
|
} while (_ !== n);
|
|
9012
9018
|
}
|
|
9013
|
-
function
|
|
9019
|
+
function Jv(n, t) {
|
|
9014
9020
|
return n.x - t.x;
|
|
9015
9021
|
}
|
|
9016
|
-
function
|
|
9022
|
+
function Qv(n, t) {
|
|
9017
9023
|
const r = function(p, y) {
|
|
9018
9024
|
let _ = y;
|
|
9019
9025
|
const b = p.x, S = p.y;
|
|
@@ -9032,7 +9038,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9032
9038
|
do {
|
|
9033
9039
|
if (b >= _.x && _.x >= F && b !== _.x && yl(S < j ? b : M, S, F, j, S < j ? M : b, S, _.x, _.y)) {
|
|
9034
9040
|
const q = Math.abs(S - _.y) / (b - _.x);
|
|
9035
|
-
$c(_, p) && (q < $ || q === $ && (_.x > E.x || _.x === E.x &&
|
|
9041
|
+
$c(_, p) && (q < $ || q === $ && (_.x > E.x || _.x === E.x && ex(E, _))) && (E = _, $ = q);
|
|
9036
9042
|
}
|
|
9037
9043
|
_ = _.next;
|
|
9038
9044
|
} while (_ !== D);
|
|
@@ -9042,13 +9048,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9042
9048
|
const l = Um(r, n);
|
|
9043
9049
|
return fa(l, l.next), fa(r, r.next);
|
|
9044
9050
|
}
|
|
9045
|
-
function
|
|
9051
|
+
function ex(n, t) {
|
|
9046
9052
|
return zi(n.prev, n, t.prev) < 0 && zi(t.next, n, n.next) < 0;
|
|
9047
9053
|
}
|
|
9048
9054
|
function lp(n, t, r, l, p) {
|
|
9049
9055
|
return (n = 1431655765 & ((n = 858993459 & ((n = 252645135 & ((n = 16711935 & ((n = (n - r) * p | 0) | n << 8)) | n << 4)) | n << 2)) | n << 1)) | (t = 1431655765 & ((t = 858993459 & ((t = 252645135 & ((t = 16711935 & ((t = (t - l) * p | 0) | t << 8)) | t << 4)) | t << 2)) | t << 1)) << 1;
|
|
9050
9056
|
}
|
|
9051
|
-
function
|
|
9057
|
+
function tx(n) {
|
|
9052
9058
|
let t = n, r = n;
|
|
9053
9059
|
do
|
|
9054
9060
|
(t.x < r.x || t.x === r.x && t.y < r.y) && (r = t), t = t.next;
|
|
@@ -9058,7 +9064,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9058
9064
|
function yl(n, t, r, l, p, y, _, b) {
|
|
9059
9065
|
return (p - _) * (t - b) >= (n - _) * (y - b) && (n - _) * (l - b) >= (r - _) * (t - b) && (r - _) * (y - b) >= (p - _) * (l - b);
|
|
9060
9066
|
}
|
|
9061
|
-
function
|
|
9067
|
+
function ix(n, t) {
|
|
9062
9068
|
return n.next.i !== t.i && n.prev.i !== t.i && !function(r, l) {
|
|
9063
9069
|
let p = r;
|
|
9064
9070
|
do {
|
|
@@ -9166,7 +9172,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9166
9172
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
9167
9173
|
}
|
|
9168
9174
|
upload(t) {
|
|
9169
|
-
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
9175
|
+
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, Wv), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.indexBuffer2 = t.createIndexBuffer(this.indexArray2)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
9170
9176
|
}
|
|
9171
9177
|
destroy() {
|
|
9172
9178
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.indexBuffer2.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.segments2.destroy());
|
|
@@ -9193,14 +9199,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9193
9199
|
}
|
|
9194
9200
|
let Hm, Zm;
|
|
9195
9201
|
Ye("FillBucket", dp, { omit: ["layers", "patternFeatures"] });
|
|
9196
|
-
var
|
|
9202
|
+
var nx = { get paint() {
|
|
9197
9203
|
return Zm = Zm || new g({ "fill-antialias": new Qe(ve.paint_fill["fill-antialias"]), "fill-opacity": new ut(ve.paint_fill["fill-opacity"]), "fill-color": new ut(ve.paint_fill["fill-color"]), "fill-outline-color": new ut(ve.paint_fill["fill-outline-color"]), "fill-translate": new Qe(ve.paint_fill["fill-translate"]), "fill-translate-anchor": new Qe(ve.paint_fill["fill-translate-anchor"]), "fill-pattern": new al(ve.paint_fill["fill-pattern"]) });
|
|
9198
9204
|
}, get layout() {
|
|
9199
9205
|
return Hm = Hm || new g({ "fill-sort-key": new ut(ve.layout_fill["fill-sort-key"]) });
|
|
9200
9206
|
} };
|
|
9201
|
-
class
|
|
9207
|
+
class sx extends o {
|
|
9202
9208
|
constructor(t) {
|
|
9203
|
-
super(t,
|
|
9209
|
+
super(t, nx);
|
|
9204
9210
|
}
|
|
9205
9211
|
recalculate(t, r) {
|
|
9206
9212
|
super.recalculate(t, r);
|
|
@@ -9220,12 +9226,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9220
9226
|
return !0;
|
|
9221
9227
|
}
|
|
9222
9228
|
}
|
|
9223
|
-
const
|
|
9224
|
-
var Mo = {},
|
|
9229
|
+
const rx = w([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_normal_ed", components: 4, type: "Int16" }], 4), ox = w([{ name: "a_centroid", components: 2, type: "Int16" }], 4), { members: ax } = rx;
|
|
9230
|
+
var Mo = {}, lx = I, Wm = _l;
|
|
9225
9231
|
function _l(n, t, r, l, p) {
|
|
9226
|
-
this.properties = {}, this.extent = r, this.type = 0, this._pbf = n, this._geometry = -1, this._keys = l, this._values = p, n.readFields(
|
|
9232
|
+
this.properties = {}, this.extent = r, this.type = 0, this._pbf = n, this._geometry = -1, this._keys = l, this._values = p, n.readFields(cx, this, t);
|
|
9227
9233
|
}
|
|
9228
|
-
function
|
|
9234
|
+
function cx(n, t, r) {
|
|
9229
9235
|
n == 1 ? t.id = r.readVarint() : n == 2 ? function(l, p) {
|
|
9230
9236
|
for (var y = l.readVarint() + l.pos; l.pos < y; ) {
|
|
9231
9237
|
var _ = p._keys[l.readVarint()], b = p._values[l.readVarint()];
|
|
@@ -9233,7 +9239,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9233
9239
|
}
|
|
9234
9240
|
}(r, t) : n == 3 ? t.type = r.readVarint() : n == 4 && (t._geometry = r.pos);
|
|
9235
9241
|
}
|
|
9236
|
-
function
|
|
9242
|
+
function ux(n) {
|
|
9237
9243
|
for (var t, r, l = 0, p = 0, y = n.length, _ = y - 1; p < y; _ = p++) l += ((r = n[_]).x - (t = n[p]).x) * (t.y + r.y);
|
|
9238
9244
|
return l;
|
|
9239
9245
|
}
|
|
@@ -9245,7 +9251,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9245
9251
|
var S = n.readVarint();
|
|
9246
9252
|
l = 7 & S, p = S >> 3;
|
|
9247
9253
|
}
|
|
9248
|
-
if (p--, l === 1 || l === 2) y += n.readSVarint(), _ += n.readSVarint(), l === 1 && (t && b.push(t), t = []), t.push(new
|
|
9254
|
+
if (p--, l === 1 || l === 2) y += n.readSVarint(), _ += n.readSVarint(), l === 1 && (t && b.push(t), t = []), t.push(new lx(y, _));
|
|
9249
9255
|
else {
|
|
9250
9256
|
if (l !== 7) throw new Error("unknown command " + l);
|
|
9251
9257
|
t && t.push(t[0].clone());
|
|
@@ -9286,7 +9292,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9286
9292
|
var $ = j.length;
|
|
9287
9293
|
if ($ <= 1) return [j];
|
|
9288
9294
|
for (var q, X, ee = [], ge = 0; ge < $; ge++) {
|
|
9289
|
-
var ae =
|
|
9295
|
+
var ae = ux(j[ge]);
|
|
9290
9296
|
ae !== 0 && (X === void 0 && (X = ae < 0), X === ae < 0 ? (q && ee.push(q), q = [j[ge]]) : q.push(j[ge]));
|
|
9291
9297
|
}
|
|
9292
9298
|
return q && ee.push(q), ee;
|
|
@@ -9296,11 +9302,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9296
9302
|
var F = { type: "Feature", geometry: { type: E, coordinates: S }, properties: this.properties };
|
|
9297
9303
|
return "id" in this && (F.id = this.id), F;
|
|
9298
9304
|
};
|
|
9299
|
-
var
|
|
9305
|
+
var hx = Wm, Gm = Ym;
|
|
9300
9306
|
function Ym(n, t) {
|
|
9301
|
-
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = n, this._keys = [], this._values = [], this._features = [], n.readFields(
|
|
9307
|
+
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = n, this._keys = [], this._values = [], this._features = [], n.readFields(dx, this, t), this.length = this._features.length;
|
|
9302
9308
|
}
|
|
9303
|
-
function
|
|
9309
|
+
function dx(n, t, r) {
|
|
9304
9310
|
n === 15 ? t.version = r.readVarint() : n === 1 ? t.name = r.readString() : n === 5 ? t.extent = r.readVarint() : n === 2 ? t._features.push(r.pos) : n === 3 ? t._keys.push(r.readString()) : n === 4 && t._values.push(function(l) {
|
|
9305
9311
|
for (var p = null, y = l.readVarint() + l.pos; l.pos < y; ) {
|
|
9306
9312
|
var _ = l.readVarint() >> 3;
|
|
@@ -9313,19 +9319,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9313
9319
|
if (n < 0 || n >= this._features.length) throw new Error("feature index out of bounds");
|
|
9314
9320
|
this._pbf.pos = this._features[n];
|
|
9315
9321
|
var t = this._pbf.readVarint() + this._pbf.pos;
|
|
9316
|
-
return new
|
|
9322
|
+
return new hx(this._pbf, t, this.extent, this._keys, this._values);
|
|
9317
9323
|
};
|
|
9318
|
-
var
|
|
9319
|
-
function
|
|
9324
|
+
var px = Gm;
|
|
9325
|
+
function fx(n, t, r) {
|
|
9320
9326
|
if (n === 3) {
|
|
9321
|
-
var l = new
|
|
9327
|
+
var l = new px(r, r.readVarint() + r.pos);
|
|
9322
9328
|
l.length && (t[l.name] = l);
|
|
9323
9329
|
}
|
|
9324
9330
|
}
|
|
9325
9331
|
Mo.VectorTile = function(n, t) {
|
|
9326
|
-
this.layers = n.readFields(
|
|
9332
|
+
this.layers = n.readFields(fx, {}, t);
|
|
9327
9333
|
}, Mo.VectorTileFeature = Wm, Mo.VectorTileLayer = Gm;
|
|
9328
|
-
const
|
|
9334
|
+
const mx = Mo.VectorTileFeature.types, pp = Math.pow(2, 13);
|
|
9329
9335
|
function qc(n, t, r, l, p, y, _, b) {
|
|
9330
9336
|
n.emplaceBack(t, r, 2 * Math.floor(l * pp) + _, p * pp * 2, y * pp * 2, Math.round(b));
|
|
9331
9337
|
}
|
|
@@ -9358,7 +9364,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9358
9364
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
9359
9365
|
}
|
|
9360
9366
|
upload(t) {
|
|
9361
|
-
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
9367
|
+
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, ax), this.centroidVertexBuffer = t.createVertexBuffer(this.centroidVertexArray, ox.members, !0), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
9362
9368
|
}
|
|
9363
9369
|
destroy() {
|
|
9364
9370
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.centroidVertexBuffer.destroy());
|
|
@@ -9370,13 +9376,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9370
9376
|
for (const $ of _) S += $.length;
|
|
9371
9377
|
let E = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray);
|
|
9372
9378
|
for (const $ of _) {
|
|
9373
|
-
if ($.length === 0 ||
|
|
9379
|
+
if ($.length === 0 || yx($)) continue;
|
|
9374
9380
|
let q = 0;
|
|
9375
9381
|
for (let X = 0; X < $.length; X++) {
|
|
9376
9382
|
const ee = $[X];
|
|
9377
9383
|
if (X >= 1) {
|
|
9378
9384
|
const ge = $[X - 1];
|
|
9379
|
-
if (!
|
|
9385
|
+
if (!gx(ee, ge)) {
|
|
9380
9386
|
E.vertexLength + 4 > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray));
|
|
9381
9387
|
const ae = ee.sub(ge)._perp()._unit(), fe = ge.dist(ee);
|
|
9382
9388
|
q + fe > 32768 && (q = 0), qc(this.layoutVertexArray, ee.x, ee.y, ae.x, ae.y, 0, 0, q), qc(this.layoutVertexArray, ee.x, ee.y, ae.x, ae.y, 0, 1, q), b.x += 2 * ee.x, b.y += 2 * ee.y, b.vertexCount += 2, q += fe, qc(this.layoutVertexArray, ge.x, ge.y, ae.x, ae.y, 0, 0, q), qc(this.layoutVertexArray, ge.x, ge.y, ae.x, ae.y, 0, 1, q), b.x += 2 * ge.x, b.y += 2 * ge.y, b.vertexCount += 2;
|
|
@@ -9386,7 +9392,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9386
9392
|
}
|
|
9387
9393
|
}
|
|
9388
9394
|
}
|
|
9389
|
-
if (E.vertexLength + S > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(S, this.layoutVertexArray, this.indexArray)),
|
|
9395
|
+
if (E.vertexLength + S > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(S, this.layoutVertexArray, this.indexArray)), mx[t.type] !== "Polygon") continue;
|
|
9390
9396
|
const M = [], D = [], F = E.vertexLength;
|
|
9391
9397
|
for (const $ of _) if ($.length !== 0) {
|
|
9392
9398
|
$ !== _[0] && D.push(M.length / 2);
|
|
@@ -9406,20 +9412,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9406
9412
|
this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, l, y, p);
|
|
9407
9413
|
}
|
|
9408
9414
|
}
|
|
9409
|
-
function
|
|
9415
|
+
function gx(n, t) {
|
|
9410
9416
|
return n.x === t.x && (n.x < 0 || n.x > Oi) || n.y === t.y && (n.y < 0 || n.y > Oi);
|
|
9411
9417
|
}
|
|
9412
|
-
function
|
|
9418
|
+
function yx(n) {
|
|
9413
9419
|
return n.every((t) => t.x < 0) || n.every((t) => t.x > Oi) || n.every((t) => t.y < 0) || n.every((t) => t.y > Oi);
|
|
9414
9420
|
}
|
|
9415
9421
|
let Xm;
|
|
9416
9422
|
Ye("FillExtrusionBucket", fp, { omit: ["layers", "features"] });
|
|
9417
|
-
var
|
|
9423
|
+
var _x = { get paint() {
|
|
9418
9424
|
return Xm = Xm || new g({ "fill-extrusion-opacity": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new ut(ve["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new al(ve["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new ut(ve["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new ut(ve["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) });
|
|
9419
9425
|
} };
|
|
9420
|
-
class
|
|
9426
|
+
class vx extends o {
|
|
9421
9427
|
constructor(t) {
|
|
9422
|
-
super(t,
|
|
9428
|
+
super(t, _x);
|
|
9423
9429
|
}
|
|
9424
9430
|
createBucket(t) {
|
|
9425
9431
|
return new fp(t);
|
|
@@ -9487,7 +9493,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9487
9493
|
return r;
|
|
9488
9494
|
}
|
|
9489
9495
|
}
|
|
9490
|
-
const
|
|
9496
|
+
const xx = w([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }], 4), { members: bx } = xx, wx = w([{ name: "a_uv_x", components: 1, type: "Float32" }, { name: "a_split_index", components: 1, type: "Float32" }]), { members: Sx } = wx, Tx = Mo.VectorTileFeature.types, kx = Math.cos(Math.PI / 180 * 37.5), Jm = Math.pow(2, 14) / 0.5;
|
|
9491
9497
|
class mp {
|
|
9492
9498
|
constructor(t) {
|
|
9493
9499
|
this.zoom = t.zoom, this.overscaling = t.overscaling, this.layers = t.layers, this.layerIds = this.layers.map((r) => r.id), this.index = t.index, this.hasPattern = !1, this.patternFeatures = [], this.lineClipsArray = [], this.gradients = {}, this.layers.forEach((r) => {
|
|
@@ -9526,7 +9532,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9526
9532
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
9527
9533
|
}
|
|
9528
9534
|
upload(t) {
|
|
9529
|
-
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = t.createVertexBuffer(this.layoutVertexArray2,
|
|
9535
|
+
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = t.createVertexBuffer(this.layoutVertexArray2, Sx)), this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, bx), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
9530
9536
|
}
|
|
9531
9537
|
destroy() {
|
|
9532
9538
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());
|
|
@@ -9546,7 +9552,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9546
9552
|
for (let ee = 0; ee < t.length - 1; ee++) this.totalDistance += t[ee].dist(t[ee + 1]);
|
|
9547
9553
|
this.updateScaledDistance(), this.maxLineLength = Math.max(this.maxLineLength, this.totalDistance);
|
|
9548
9554
|
}
|
|
9549
|
-
const b =
|
|
9555
|
+
const b = Tx[r.type] === "Polygon";
|
|
9550
9556
|
let S = t.length;
|
|
9551
9557
|
for (; S >= 2 && t[S - 1].equals(t[S - 2]); ) S--;
|
|
9552
9558
|
let E = 0;
|
|
@@ -9561,7 +9567,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9561
9567
|
X && (q = X), F && (j = F), F = t[ee], X = $ ? $.sub(F)._unit()._perp() : q, q = q || X;
|
|
9562
9568
|
let ge = q.add(X);
|
|
9563
9569
|
ge.x === 0 && ge.y === 0 || ge._unit();
|
|
9564
|
-
const ae = q.x * X.x + q.y * X.y, fe = ge.x * X.x + ge.y * X.y, we = fe !== 0 ? 1 / fe : 1 / 0, Ce = 2 * Math.sqrt(2 - 2 * fe), He = fe <
|
|
9570
|
+
const ae = q.x * X.x + q.y * X.y, fe = ge.x * X.x + ge.y * X.y, we = fe !== 0 ? 1 / fe : 1 / 0, Ce = 2 * Math.sqrt(2 - 2 * fe), He = fe < kx && j && $, ct = q.x * X.y - q.y * X.x > 0;
|
|
9565
9571
|
if (He && ee > E) {
|
|
9566
9572
|
const it = F.dist(j);
|
|
9567
9573
|
if (it > 2 * M) {
|
|
@@ -9632,7 +9638,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9632
9638
|
}, get layout() {
|
|
9633
9639
|
return Qm = Qm || new g({ "line-cap": new Qe(ve.layout_line["line-cap"]), "line-join": new ut(ve.layout_line["line-join"]), "line-miter-limit": new Qe(ve.layout_line["line-miter-limit"]), "line-round-limit": new Qe(ve.layout_line["line-round-limit"]), "line-sort-key": new ut(ve.layout_line["line-sort-key"]) });
|
|
9634
9640
|
} };
|
|
9635
|
-
class
|
|
9641
|
+
class Ex extends ut {
|
|
9636
9642
|
possiblyEvaluate(t, r) {
|
|
9637
9643
|
return r = new fi(Math.floor(r.zoom), { now: r.now, fadeDuration: r.fadeDuration, zoomHistory: r.zoomHistory, transition: r.transition }), super.possiblyEvaluate(t, r);
|
|
9638
9644
|
}
|
|
@@ -9641,9 +9647,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9641
9647
|
}
|
|
9642
9648
|
}
|
|
9643
9649
|
let _h;
|
|
9644
|
-
class
|
|
9650
|
+
class Mx extends o {
|
|
9645
9651
|
constructor(t) {
|
|
9646
|
-
super(t, tg), this.gradientVersion = 0, _h || (_h = new
|
|
9652
|
+
super(t, tg), this.gradientVersion = 0, _h || (_h = new Ex(tg.paint.properties["line-width"].specification), _h.useIntegerZoom = !0);
|
|
9647
9653
|
}
|
|
9648
9654
|
_handleSpecialPaintPropertyUpdate(t) {
|
|
9649
9655
|
if (t === "line-gradient") {
|
|
@@ -9685,7 +9691,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9685
9691
|
if (D.length >= 3) {
|
|
9686
9692
|
for (let X = 0; X < q.length; X++) if (ml(D, q[X])) return !0;
|
|
9687
9693
|
}
|
|
9688
|
-
if (
|
|
9694
|
+
if (Ov(D, q, j)) return !0;
|
|
9689
9695
|
}
|
|
9690
9696
|
return !1;
|
|
9691
9697
|
}(S, p, E);
|
|
@@ -9697,12 +9703,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9697
9703
|
function ig(n, t) {
|
|
9698
9704
|
return t > 0 ? t + 2 * n : n;
|
|
9699
9705
|
}
|
|
9700
|
-
const
|
|
9706
|
+
const Px = w([{ name: "a_pos_offset", components: 4, type: "Int16" }, { name: "a_data", components: 4, type: "Uint16" }, { name: "a_pixeloffset", components: 4, type: "Int16" }], 4), Cx = w([{ name: "a_projected_pos", components: 3, type: "Float32" }], 4);
|
|
9701
9707
|
w([{ name: "a_fade_opacity", components: 1, type: "Uint32" }], 4);
|
|
9702
|
-
const
|
|
9708
|
+
const Ix = w([{ name: "a_placed", components: 2, type: "Uint8" }, { name: "a_shift", components: 2, type: "Float32" }, { name: "a_box_real", components: 2, type: "Int16" }]);
|
|
9703
9709
|
w([{ type: "Int16", name: "anchorPointX" }, { type: "Int16", name: "anchorPointY" }, { type: "Int16", name: "x1" }, { type: "Int16", name: "y1" }, { type: "Int16", name: "x2" }, { type: "Int16", name: "y2" }, { type: "Uint32", name: "featureIndex" }, { type: "Uint16", name: "sourceLayerIndex" }, { type: "Uint16", name: "bucketIndex" }]);
|
|
9704
|
-
const ng = w([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4),
|
|
9705
|
-
function
|
|
9710
|
+
const ng = w([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4), Ax = w([{ name: "a_pos", components: 2, type: "Float32" }, { name: "a_radius", components: 1, type: "Float32" }, { name: "a_flags", components: 2, type: "Int16" }], 4);
|
|
9711
|
+
function Dx(n, t, r) {
|
|
9706
9712
|
return n.sections.forEach((l) => {
|
|
9707
9713
|
l.text = function(p, y, _) {
|
|
9708
9714
|
const b = y.layout.get("text-transform").evaluate(_, {});
|
|
@@ -9744,31 +9750,31 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9744
9750
|
r.realloc(l);
|
|
9745
9751
|
for (var p = r.pos - 1; p >= n; p--) r.buf[p + l] = r.buf[p];
|
|
9746
9752
|
}
|
|
9747
|
-
function
|
|
9753
|
+
function zx(n, t) {
|
|
9748
9754
|
for (var r = 0; r < n.length; r++) t.writeVarint(n[r]);
|
|
9749
9755
|
}
|
|
9750
|
-
function
|
|
9756
|
+
function Rx(n, t) {
|
|
9751
9757
|
for (var r = 0; r < n.length; r++) t.writeSVarint(n[r]);
|
|
9752
9758
|
}
|
|
9753
|
-
function
|
|
9759
|
+
function Lx(n, t) {
|
|
9754
9760
|
for (var r = 0; r < n.length; r++) t.writeFloat(n[r]);
|
|
9755
9761
|
}
|
|
9756
|
-
function
|
|
9762
|
+
function Ox(n, t) {
|
|
9757
9763
|
for (var r = 0; r < n.length; r++) t.writeDouble(n[r]);
|
|
9758
9764
|
}
|
|
9759
|
-
function
|
|
9765
|
+
function Fx(n, t) {
|
|
9760
9766
|
for (var r = 0; r < n.length; r++) t.writeBoolean(n[r]);
|
|
9761
9767
|
}
|
|
9762
|
-
function
|
|
9768
|
+
function Bx(n, t) {
|
|
9763
9769
|
for (var r = 0; r < n.length; r++) t.writeFixed32(n[r]);
|
|
9764
9770
|
}
|
|
9765
|
-
function
|
|
9771
|
+
function Nx(n, t) {
|
|
9766
9772
|
for (var r = 0; r < n.length; r++) t.writeSFixed32(n[r]);
|
|
9767
9773
|
}
|
|
9768
|
-
function
|
|
9774
|
+
function jx(n, t) {
|
|
9769
9775
|
for (var r = 0; r < n.length; r++) t.writeFixed64(n[r]);
|
|
9770
9776
|
}
|
|
9771
|
-
function
|
|
9777
|
+
function Vx(n, t) {
|
|
9772
9778
|
for (var r = 0; r < n.length; r++) t.writeSFixed64(n[r]);
|
|
9773
9779
|
}
|
|
9774
9780
|
function vh(n, t) {
|
|
@@ -9963,23 +9969,23 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9963
9969
|
}, writeMessage: function(n, t, r) {
|
|
9964
9970
|
this.writeTag(n, ri.Bytes), this.writeRawMessage(t, r);
|
|
9965
9971
|
}, writePackedVarint: function(n, t) {
|
|
9966
|
-
t.length && this.writeMessage(n, Dx, t);
|
|
9967
|
-
}, writePackedSVarint: function(n, t) {
|
|
9968
9972
|
t.length && this.writeMessage(n, zx, t);
|
|
9973
|
+
}, writePackedSVarint: function(n, t) {
|
|
9974
|
+
t.length && this.writeMessage(n, Rx, t);
|
|
9969
9975
|
}, writePackedBoolean: function(n, t) {
|
|
9970
|
-
t.length && this.writeMessage(n,
|
|
9976
|
+
t.length && this.writeMessage(n, Fx, t);
|
|
9971
9977
|
}, writePackedFloat: function(n, t) {
|
|
9972
|
-
t.length && this.writeMessage(n, Rx, t);
|
|
9973
|
-
}, writePackedDouble: function(n, t) {
|
|
9974
9978
|
t.length && this.writeMessage(n, Lx, t);
|
|
9979
|
+
}, writePackedDouble: function(n, t) {
|
|
9980
|
+
t.length && this.writeMessage(n, Ox, t);
|
|
9975
9981
|
}, writePackedFixed32: function(n, t) {
|
|
9976
|
-
t.length && this.writeMessage(n, Fx, t);
|
|
9977
|
-
}, writePackedSFixed32: function(n, t) {
|
|
9978
9982
|
t.length && this.writeMessage(n, Bx, t);
|
|
9979
|
-
},
|
|
9983
|
+
}, writePackedSFixed32: function(n, t) {
|
|
9980
9984
|
t.length && this.writeMessage(n, Nx, t);
|
|
9981
|
-
},
|
|
9985
|
+
}, writePackedFixed64: function(n, t) {
|
|
9982
9986
|
t.length && this.writeMessage(n, jx, t);
|
|
9987
|
+
}, writePackedSFixed64: function(n, t) {
|
|
9988
|
+
t.length && this.writeMessage(n, Vx, t);
|
|
9983
9989
|
}, writeBytesField: function(n, t) {
|
|
9984
9990
|
this.writeTag(n, ri.Bytes), this.writeBytes(t);
|
|
9985
9991
|
}, writeFixed32Field: function(n, t) {
|
|
@@ -10005,16 +10011,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10005
10011
|
} };
|
|
10006
10012
|
var yp = C(sg);
|
|
10007
10013
|
const _p = 3;
|
|
10008
|
-
function Vx(n, t, r) {
|
|
10009
|
-
n === 1 && r.readMessage($x, t);
|
|
10010
|
-
}
|
|
10011
10014
|
function $x(n, t, r) {
|
|
10015
|
+
n === 1 && r.readMessage(Ux, t);
|
|
10016
|
+
}
|
|
10017
|
+
function Ux(n, t, r) {
|
|
10012
10018
|
if (n === 3) {
|
|
10013
|
-
const { id: l, bitmap: p, width: y, height: _, left: b, top: S, advance: E } = r.readMessage(
|
|
10019
|
+
const { id: l, bitmap: p, width: y, height: _, left: b, top: S, advance: E } = r.readMessage(qx, {});
|
|
10014
10020
|
t.push({ id: l, bitmap: new jc({ width: y + 2 * _p, height: _ + 2 * _p }, p), metrics: { width: y, height: _, left: b, top: S, advance: E } });
|
|
10015
10021
|
}
|
|
10016
10022
|
}
|
|
10017
|
-
function
|
|
10023
|
+
function qx(n, t, r) {
|
|
10018
10024
|
n === 1 ? t.id = r.readVarint() : n === 2 ? t.bitmap = r.readBytes() : n === 3 ? t.width = r.readVarint() : n === 4 ? t.height = r.readVarint() : n === 5 ? t.left = r.readSVarint() : n === 6 ? t.top = r.readSVarint() : n === 7 && (t.advance = r.readVarint());
|
|
10019
10025
|
}
|
|
10020
10026
|
const hg = _p;
|
|
@@ -10236,7 +10242,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10236
10242
|
}
|
|
10237
10243
|
Is ? (we.verticalizable = !0, Sn.push({ glyph: _i, imageName: or, x: gt, y: ci + Yn, vertical: Is, scale: Zt.scale, fontStack: Zt.fontStack, sectionIndex: di, metrics: ki, rect: kl }), gt += ar * Zt.scale + Ee) : (Sn.push({ glyph: _i, imageName: or, x: gt, y: ci + Yn, vertical: Is, scale: Zt.scale, fontStack: Zt.fontStack, sectionIndex: di, metrics: ki, rect: kl }), gt += ki.advance * Zt.scale + Ee);
|
|
10238
10244
|
}
|
|
10239
|
-
Sn.length !== 0 && (oi = Math.max(gt - Ee, oi),
|
|
10245
|
+
Sn.length !== 0 && (oi = Math.max(gt - Ee, oi), Gx(Sn, 0, Sn.length - 1, Cs, rn)), gt = 0;
|
|
10240
10246
|
const ps = Ne * $i + rn;
|
|
10241
10247
|
sn.lineOffset = Math.max(rn, pn), ci += ps, ji = Math.max(ps, ji), ++nn;
|
|
10242
10248
|
}
|
|
@@ -10253,7 +10259,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10253
10259
|
return !0;
|
|
10254
10260
|
}(ae) && fe;
|
|
10255
10261
|
}
|
|
10256
|
-
const bh = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 },
|
|
10262
|
+
const bh = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 }, Hx = { 10: !0, 32: !0, 38: !0, 41: !0, 43: !0, 45: !0, 47: !0, 173: !0, 183: !0, 8203: !0, 8208: !0, 8211: !0, 8231: !0 }, Zx = { 40: !0 };
|
|
10257
10263
|
function fg(n, t, r, l, p, y) {
|
|
10258
10264
|
if (t.imageName) {
|
|
10259
10265
|
const _ = l[t.imageName];
|
|
@@ -10268,7 +10274,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10268
10274
|
const p = Math.pow(n - t, 2);
|
|
10269
10275
|
return l ? n < t ? p / 2 : 2 * p : p + Math.abs(r) * r;
|
|
10270
10276
|
}
|
|
10271
|
-
function
|
|
10277
|
+
function Wx(n, t, r) {
|
|
10272
10278
|
let l = 0;
|
|
10273
10279
|
return n === 10 && (l -= 1e4), r && (l += 150), n !== 40 && n !== 65288 || (l += 50), t !== 41 && t !== 65289 || (l += 50), l;
|
|
10274
10280
|
}
|
|
@@ -10298,7 +10304,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10298
10304
|
const F = n.getSection(D), j = n.getCharCode(D);
|
|
10299
10305
|
if (bh[j] || (E += fg(j, F, l, p, t, y)), D < n.length() - 1) {
|
|
10300
10306
|
const $ = !((M = j) < 11904) && (!!Ot["CJK Compatibility Forms"](M) || !!Ot["CJK Compatibility"](M) || !!Ot["CJK Strokes"](M) || !!Ot["CJK Symbols and Punctuation"](M) || !!Ot["Enclosed CJK Letters and Months"](M) || !!Ot["Halfwidth and Fullwidth Forms"](M) || !!Ot["Ideographic Description Characters"](M) || !!Ot["Vertical Forms"](M) || sh.test(String.fromCodePoint(M)));
|
|
10301
|
-
(
|
|
10307
|
+
(Hx[j] || $ || F.imageName || D !== n.length() - 2 && Zx[n.getCharCode(D + 1)]) && _.push(gg(D + 1, E, b, _, Wx(j, n.getCharCode(D + 1), $ && S), !1));
|
|
10302
10308
|
}
|
|
10303
10309
|
}
|
|
10304
10310
|
var M;
|
|
@@ -10330,12 +10336,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10330
10336
|
}
|
|
10331
10337
|
return { horizontalAlign: t, verticalAlign: r };
|
|
10332
10338
|
}
|
|
10333
|
-
function
|
|
10339
|
+
function Gx(n, t, r, l, p) {
|
|
10334
10340
|
if (!l && !p) return;
|
|
10335
10341
|
const y = n[r], _ = (n[r].x + y.metrics.advance * y.scale) * l;
|
|
10336
10342
|
for (let b = t; b <= r; b++) n[b].x -= _, n[b].y += p;
|
|
10337
10343
|
}
|
|
10338
|
-
function
|
|
10344
|
+
function Yx(n, t, r) {
|
|
10339
10345
|
const { horizontalAlign: l, verticalAlign: p } = bp(r), y = t[0] - n.displaySize[0] * l, _ = t[1] - n.displaySize[1] * p;
|
|
10340
10346
|
return { image: n, top: _, bottom: _ + n.displaySize[1], left: y, right: y + n.displaySize[0] };
|
|
10341
10347
|
}
|
|
@@ -10389,7 +10395,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10389
10395
|
const p = n.get(t);
|
|
10390
10396
|
return p ? l = p : n.get(r) && (l = "always"), l;
|
|
10391
10397
|
}
|
|
10392
|
-
const
|
|
10398
|
+
const Xx = Mo.VectorTileFeature.types, Kx = [{ name: "a_fade_opacity", components: 1, type: "Uint8", offset: 0 }];
|
|
10393
10399
|
function wh(n, t, r, l, p, y, _, b, S, E, M, D, F) {
|
|
10394
10400
|
const j = b ? Math.min(Co, Math.round(b[0])) : 0, $ = b ? Math.min(Co, Math.round(b[1])) : 0;
|
|
10395
10401
|
n.emplaceBack(t, r, Math.round(32 * l), Math.round(32 * p), y, _, (j << 1) + (S ? 1 : 0), $, 16 * E, 16 * M, 256 * D, 256 * F);
|
|
@@ -10397,7 +10403,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10397
10403
|
function Sp(n, t, r) {
|
|
10398
10404
|
n.emplaceBack(t.x, t.y, r), n.emplaceBack(t.x, t.y, r), n.emplaceBack(t.x, t.y, r), n.emplaceBack(t.x, t.y, r);
|
|
10399
10405
|
}
|
|
10400
|
-
function
|
|
10406
|
+
function Jx(n) {
|
|
10401
10407
|
for (const t of n.sections) if (Kd(t.text)) return !0;
|
|
10402
10408
|
return !1;
|
|
10403
10409
|
}
|
|
@@ -10409,7 +10415,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10409
10415
|
return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0;
|
|
10410
10416
|
}
|
|
10411
10417
|
upload(t, r, l, p) {
|
|
10412
|
-
this.isEmpty() || (l && (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
10418
|
+
this.isEmpty() || (l && (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, Px.members), this.indexBuffer = t.createIndexBuffer(this.indexArray, r), this.dynamicLayoutVertexBuffer = t.createVertexBuffer(this.dynamicLayoutVertexArray, Cx.members, !0), this.opacityVertexBuffer = t.createVertexBuffer(this.opacityVertexArray, Kx, !0), this.opacityVertexBuffer.itemSize = 1), (l || p) && this.programConfigurations.upload(t));
|
|
10413
10419
|
}
|
|
10414
10420
|
destroy() {
|
|
10415
10421
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.dynamicLayoutVertexBuffer.destroy(), this.opacityVertexBuffer.destroy());
|
|
@@ -10421,7 +10427,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10421
10427
|
this.layoutVertexArray = new t(), this.layoutAttributes = r, this.indexArray = new l(), this.segments = new Ft(), this.collisionVertexArray = new nr();
|
|
10422
10428
|
}
|
|
10423
10429
|
upload(t) {
|
|
10424
|
-
this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray,
|
|
10430
|
+
this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray, Ix.members, !0);
|
|
10425
10431
|
}
|
|
10426
10432
|
destroy() {
|
|
10427
10433
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.segments.destroy(), this.collisionVertexBuffer.destroy());
|
|
@@ -10454,8 +10460,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10454
10460
|
if (!p._featureFilter.filter(q, we, l)) continue;
|
|
10455
10461
|
let Ce, He;
|
|
10456
10462
|
if (fe || (we.geometry = da(X)), E) {
|
|
10457
|
-
const $e = p.getValueAndResolveTokens("text-field", we, l, $), Ne = Dn.factory($e), it = this.hasRTLText = this.hasRTLText ||
|
|
10458
|
-
(!it || On.getRTLTextPluginStatus() === "unavailable" || it && On.isParsed()) && (Ce =
|
|
10463
|
+
const $e = p.getValueAndResolveTokens("text-field", we, l, $), Ne = Dn.factory($e), it = this.hasRTLText = this.hasRTLText || Jx(Ne);
|
|
10464
|
+
(!it || On.getRTLTextPluginStatus() === "unavailable" || it && On.isParsed()) && (Ce = Dx(Ne, p, we));
|
|
10459
10465
|
}
|
|
10460
10466
|
if (M) {
|
|
10461
10467
|
const $e = p.getValueAndResolveTokens("icon-image", we, l, $);
|
|
@@ -10463,7 +10469,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10463
10469
|
}
|
|
10464
10470
|
if (!Ce && !He) continue;
|
|
10465
10471
|
const ct = this.sortFeaturesByKey ? D.evaluate(we, {}, l) : void 0;
|
|
10466
|
-
if (this.features.push({ id: ee, text: Ce, icon: He, index: ge, sourceLayerIndex: ae, geometry: we.geometry, properties: X.properties, type:
|
|
10472
|
+
if (this.features.push({ id: ee, text: Ce, icon: He, index: ge, sourceLayerIndex: ae, geometry: we.geometry, properties: X.properties, type: Xx[X.type], sortKey: ct }), He && (F[He.name] = !0), Ce) {
|
|
10467
10473
|
const $e = _.evaluate(we, {}, l).join(","), Ne = y.get("text-rotation-alignment") !== "viewport" && y.get("symbol-placement") !== "point";
|
|
10468
10474
|
this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(v.ah.vertical) >= 0;
|
|
10469
10475
|
for (const it of Ce.sections) if (it.image) F[it.image.name] = !0;
|
|
@@ -10733,24 +10739,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10733
10739
|
}
|
|
10734
10740
|
}
|
|
10735
10741
|
let Tg;
|
|
10736
|
-
var
|
|
10742
|
+
var Qx = { get paint() {
|
|
10737
10743
|
return Tg = Tg || new g({ "background-color": new Qe(ve.paint_background["background-color"]), "background-pattern": new ll(ve.paint_background["background-pattern"]), "background-opacity": new Qe(ve.paint_background["background-opacity"]) });
|
|
10738
10744
|
} };
|
|
10739
|
-
class
|
|
10745
|
+
class eb extends o {
|
|
10740
10746
|
constructor(t) {
|
|
10741
|
-
super(t,
|
|
10747
|
+
super(t, Qx);
|
|
10742
10748
|
}
|
|
10743
10749
|
}
|
|
10744
10750
|
let kg;
|
|
10745
|
-
var
|
|
10751
|
+
var tb = { get paint() {
|
|
10746
10752
|
return kg = kg || new g({ "raster-opacity": new Qe(ve.paint_raster["raster-opacity"]), "raster-hue-rotate": new Qe(ve.paint_raster["raster-hue-rotate"]), "raster-brightness-min": new Qe(ve.paint_raster["raster-brightness-min"]), "raster-brightness-max": new Qe(ve.paint_raster["raster-brightness-max"]), "raster-saturation": new Qe(ve.paint_raster["raster-saturation"]), "raster-contrast": new Qe(ve.paint_raster["raster-contrast"]), "raster-resampling": new Qe(ve.paint_raster["raster-resampling"]), "raster-fade-duration": new Qe(ve.paint_raster["raster-fade-duration"]) });
|
|
10747
10753
|
} };
|
|
10748
|
-
class
|
|
10754
|
+
class ib extends o {
|
|
10749
10755
|
constructor(t) {
|
|
10750
|
-
super(t,
|
|
10756
|
+
super(t, tb);
|
|
10751
10757
|
}
|
|
10752
10758
|
}
|
|
10753
|
-
class
|
|
10759
|
+
class nb extends o {
|
|
10754
10760
|
constructor(t) {
|
|
10755
10761
|
super(t, {}), this.onAdd = (r) => {
|
|
10756
10762
|
this.implementation.onAdd && this.implementation.onAdd(r, r.painter.context.gl);
|
|
@@ -10775,7 +10781,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10775
10781
|
throw new Error("Custom layers cannot be serialized");
|
|
10776
10782
|
}
|
|
10777
10783
|
}
|
|
10778
|
-
class
|
|
10784
|
+
class sb {
|
|
10779
10785
|
constructor(t) {
|
|
10780
10786
|
this._methodToThrottle = t, this._triggered = !1, typeof MessageChannel < "u" && (this._channel = new MessageChannel(), this._channel.port2.onmessage = () => {
|
|
10781
10787
|
this._triggered = !1, this._methodToThrottle();
|
|
@@ -11074,11 +11080,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11074
11080
|
if (fe.length > 2) {
|
|
11075
11081
|
for (const Ne of $e) if (ml(fe, Ne)) return !0;
|
|
11076
11082
|
}
|
|
11077
|
-
for (let Ne = 0; Ne < fe.length - 1; Ne++) if (
|
|
11083
|
+
for (let Ne = 0; Ne < fe.length - 1; Ne++) if (Bv(fe[Ne], fe[Ne + 1], $e)) return !0;
|
|
11078
11084
|
return !1;
|
|
11079
11085
|
}(t.cameraQueryGeometry, X - E, ee - E, ge + E, ae + E));
|
|
11080
11086
|
for (const X of j) D.push(X);
|
|
11081
|
-
D.sort(
|
|
11087
|
+
D.sort(rb);
|
|
11082
11088
|
const $ = {};
|
|
11083
11089
|
let q;
|
|
11084
11090
|
for (let X = 0; X < D.length; X++) {
|
|
@@ -11147,7 +11153,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11147
11153
|
for (const y of n) t = Math.min(t, y.x), r = Math.min(r, y.y), l = Math.max(l, y.x), p = Math.max(p, y.y);
|
|
11148
11154
|
return { minX: t, minY: r, maxX: l, maxY: p };
|
|
11149
11155
|
}
|
|
11150
|
-
function
|
|
11156
|
+
function rb(n, t) {
|
|
11151
11157
|
return t - n;
|
|
11152
11158
|
}
|
|
11153
11159
|
function Ng(n, t, r, l, p) {
|
|
@@ -11202,7 +11208,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11202
11208
|
function Ug(n, t) {
|
|
11203
11209
|
return Math.max(n ? n.right - n.left : 0, t ? t.right - t.left : 0);
|
|
11204
11210
|
}
|
|
11205
|
-
function
|
|
11211
|
+
function ob(n, t, r, l, p, y) {
|
|
11206
11212
|
const _ = $g(r, p, y), b = Ug(r, l) * y;
|
|
11207
11213
|
let S = 0;
|
|
11208
11214
|
const E = Vg(n) / 2;
|
|
@@ -11215,7 +11221,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11215
11221
|
S += j;
|
|
11216
11222
|
}
|
|
11217
11223
|
}
|
|
11218
|
-
function
|
|
11224
|
+
function ab(n, t, r, l, p, y, _, b, S) {
|
|
11219
11225
|
const E = $g(l, y, _), M = Ug(l, p), D = M * _, F = n[0].x === 0 || n[0].x === S || n[0].y === 0 || n[0].y === S;
|
|
11220
11226
|
return t - D < t / 4 && (t = D + t / 4), qg(n, F ? t / 2 * b % t : (M / 2 + 2 * y) * _ * b % t, t, E, r, D, F, !1, S);
|
|
11221
11227
|
}
|
|
@@ -11306,7 +11312,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11306
11312
|
this.boxEndIndex = t.length;
|
|
11307
11313
|
}
|
|
11308
11314
|
}
|
|
11309
|
-
class
|
|
11315
|
+
class lb {
|
|
11310
11316
|
constructor(t = [], r = (l, p) => l < p ? -1 : l > p ? 1 : 0) {
|
|
11311
11317
|
if (this.data = t, this.length = this.data.length, this.compare = r, this.length > 0) for (let l = (this.length >> 1) - 1; l >= 0; l--) this._down(l);
|
|
11312
11318
|
}
|
|
@@ -11341,7 +11347,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11341
11347
|
r[t] = y;
|
|
11342
11348
|
}
|
|
11343
11349
|
}
|
|
11344
|
-
function
|
|
11350
|
+
function cb(n, t = 1, r = !1) {
|
|
11345
11351
|
let l = 1 / 0, p = 1 / 0, y = -1 / 0, _ = -1 / 0;
|
|
11346
11352
|
const b = n[0];
|
|
11347
11353
|
for (let j = 0; j < b.length; j++) {
|
|
@@ -11350,7 +11356,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11350
11356
|
}
|
|
11351
11357
|
const S = Math.min(y - l, _ - p);
|
|
11352
11358
|
let E = S / 2;
|
|
11353
|
-
const M = new
|
|
11359
|
+
const M = new lb([], ub);
|
|
11354
11360
|
if (S === 0) return new z(l, p);
|
|
11355
11361
|
for (let j = l; j < y; j += S) for (let $ = p; $ < _; $ += S) M.push(new Tl(j + E, $ + E, E, n));
|
|
11356
11362
|
let D = function(j) {
|
|
@@ -11368,7 +11374,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11368
11374
|
}
|
|
11369
11375
|
return r && (console.log(`num probes: ${F}`), console.log(`best distance: ${D.d}`)), D.p;
|
|
11370
11376
|
}
|
|
11371
|
-
function
|
|
11377
|
+
function ub(n, t) {
|
|
11372
11378
|
return t.max - n.max;
|
|
11373
11379
|
}
|
|
11374
11380
|
function Tl(n, t, r, l) {
|
|
@@ -11484,7 +11490,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11484
11490
|
}
|
|
11485
11491
|
return "center";
|
|
11486
11492
|
}
|
|
11487
|
-
function
|
|
11493
|
+
function hb(n, t, r, l, p, y, _, b, S, E, M) {
|
|
11488
11494
|
let D = y.textMaxSize.evaluate(t, {});
|
|
11489
11495
|
D === void 0 && (D = _);
|
|
11490
11496
|
const F = n.layers[0].layout, j = F.get("icon-offset").evaluate(t, {}, M), $ = Xg(r.horizontal), q = _ / 24, X = n.tilePixelRatio * q, ee = n.tilePixelRatio * D / 24, ge = n.tilePixelRatio * b, ae = n.tilePixelRatio * F.get("symbol-spacing"), fe = F.get("text-padding") * n.tilePixelRatio, we = function(Ee, nt, tt, gt = 1) {
|
|
@@ -11522,34 +11528,34 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11522
11528
|
if (ey += Yg(tt, gt, ms, Cs, Vi, sn, di, Sn, or, oi.vertical ? v.ah.horizontal : v.ah.horizontalOnly, ma ? ny : [fn], Rr, Np, _i, ki), ma) break;
|
|
11523
11529
|
}
|
|
11524
11530
|
oi.vertical && (ty += Yg(tt, gt, oi.vertical, Cs, Vi, sn, di, Sn, or, v.ah.vertical, ["vertical"], Rr, jp, _i, ki));
|
|
11525
|
-
const
|
|
11531
|
+
const fb = ar ? ar.boxStartIndex : tt.collisionBoxArray.length, mb = ar ? ar.boxEndIndex : tt.collisionBoxArray.length, gb = fs ? fs.boxStartIndex : tt.collisionBoxArray.length, yb = fs ? fs.boxEndIndex : tt.collisionBoxArray.length, _b = Is ? Is.boxStartIndex : tt.collisionBoxArray.length, vb = Is ? Is.boxEndIndex : tt.collisionBoxArray.length, xb = Yi ? Yi.boxStartIndex : tt.collisionBoxArray.length, bb = Yi ? Yi.boxEndIndex : tt.collisionBoxArray.length;
|
|
11526
11532
|
let Us = -1;
|
|
11527
11533
|
const Ch = (fn, ms) => fn && fn.circleDiameter ? Math.max(fn.circleDiameter, ms) : ms;
|
|
11528
11534
|
Us = Ch(ar, Us), Us = Ch(fs, Us), Us = Ch(Is, Us), Us = Ch(Yi, Us);
|
|
11529
11535
|
const sy = Us > -1 ? 1 : 0;
|
|
11530
11536
|
sy && (Us *= kl / Fi), tt.glyphOffsetArray.length >= wl.MAX_GLYPHS && Dt("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), di.sortKey !== void 0 && tt.addToSortKeyRanges(tt.symbolInstances.length, di.sortKey);
|
|
11531
|
-
const
|
|
11537
|
+
const wb = Gg(Vi, di, ki), [Sb, Tb] = function(fn, ms) {
|
|
11532
11538
|
const ma = fn.length, qs = ms == null ? void 0 : ms.values;
|
|
11533
11539
|
if ((qs == null ? void 0 : qs.length) > 0) for (let ga = 0; ga < qs.length; ga += 2) {
|
|
11534
11540
|
const lr = qs[ga + 1];
|
|
11535
11541
|
fn.emplaceBack(v.aq[qs[ga]], lr[0], lr[1]);
|
|
11536
11542
|
}
|
|
11537
11543
|
return [ma, fn.length];
|
|
11538
|
-
}(tt.textAnchorOffsets,
|
|
11539
|
-
tt.symbolInstances.emplaceBack(gt.x, gt.y, Rr.right >= 0 ? Rr.right : -1, Rr.center >= 0 ? Rr.center : -1, Rr.left >= 0 ? Rr.left : -1, Rr.vertical || -1, Np, jp, iy,
|
|
11544
|
+
}(tt.textAnchorOffsets, wb);
|
|
11545
|
+
tt.symbolInstances.emplaceBack(gt.x, gt.y, Rr.right >= 0 ? Rr.right : -1, Rr.center >= 0 ? Rr.center : -1, Rr.left >= 0 ? Rr.left : -1, Rr.vertical || -1, Np, jp, iy, fb, mb, gb, yb, _b, vb, xb, bb, bn, ey, ty, zr, eu, sy, 0, $i, Us, Sb, Tb);
|
|
11540
11546
|
}(n, nt, Ee, r, l, p, Ke, n.layers[0], n.collisionBoxArray, t.index, t.sourceLayerIndex, n.index, X, [fe, fe, fe, fe], He, S, ge, we, ct, j, t, y, E, M, _);
|
|
11541
11547
|
};
|
|
11542
11548
|
if ($e === "line") for (const Ee of Ng(t.geometry, 0, 0, Oi, Oi)) {
|
|
11543
|
-
const nt =
|
|
11544
|
-
for (const tt of nt) $ &&
|
|
11549
|
+
const nt = ab(Ee, ae, Ce, r.vertical || $, l, 24, ee, n.overscaling, Oi);
|
|
11550
|
+
for (const tt of nt) $ && db(n, $.text, Ne, tt) || Ge(Ee, tt);
|
|
11545
11551
|
}
|
|
11546
11552
|
else if ($e === "line-center") {
|
|
11547
11553
|
for (const Ee of t.geometry) if (Ee.length > 1) {
|
|
11548
|
-
const nt =
|
|
11554
|
+
const nt = ob(Ee, Ce, r.vertical || $, l, 24, ee);
|
|
11549
11555
|
nt && Ge(Ee, nt);
|
|
11550
11556
|
}
|
|
11551
11557
|
} else if (t.type === "Polygon") for (const Ee of Va(t.geometry, 0)) {
|
|
11552
|
-
const nt =
|
|
11558
|
+
const nt = cb(Ee, 16);
|
|
11553
11559
|
Ge(Ee[0], new Ao(nt.x, nt.y, 0));
|
|
11554
11560
|
}
|
|
11555
11561
|
else if (t.type === "LineString") for (const Ee of t.geometry) Ge(Ee, new Ao(Ee[0].x, Ee[0].y, 0));
|
|
@@ -11593,7 +11599,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11593
11599
|
for (const t in n) return n[t];
|
|
11594
11600
|
return null;
|
|
11595
11601
|
}
|
|
11596
|
-
function
|
|
11602
|
+
function db(n, t, r, l) {
|
|
11597
11603
|
const p = n.compareText;
|
|
11598
11604
|
if (t in p) {
|
|
11599
11605
|
const y = p[t];
|
|
@@ -11696,7 +11702,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11696
11702
|
var Lp;
|
|
11697
11703
|
v.bg = void 0, (Lp = v.bg || (v.bg = {})).create = "create", Lp.load = "load", Lp.fullLoad = "fullLoad";
|
|
11698
11704
|
let Ph = null, Qc = [];
|
|
11699
|
-
const Op = 1e3 / 60, Fp = "loadTime", Bp = "fullLoadTime",
|
|
11705
|
+
const Op = 1e3 / 60, Fp = "loadTime", Bp = "fullLoadTime", pb = { mark(n) {
|
|
11700
11706
|
performance.mark(n);
|
|
11701
11707
|
}, frame(n) {
|
|
11702
11708
|
const t = n;
|
|
@@ -11718,7 +11724,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11718
11724
|
return is;
|
|
11719
11725
|
}, v.D = Qe, v.E = ni, v.F = class {
|
|
11720
11726
|
constructor(n, t) {
|
|
11721
|
-
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new
|
|
11727
|
+
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new sb(() => this.process()), this.subscription = function(r, l, p, y) {
|
|
11722
11728
|
return r.addEventListener(l, p, !1), { unsubscribe: () => {
|
|
11723
11729
|
r.removeEventListener(l, p, !1);
|
|
11724
11730
|
} };
|
|
@@ -11815,24 +11821,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11815
11821
|
}, v.a4 = function() {
|
|
11816
11822
|
return Mt++;
|
|
11817
11823
|
}, v.a5 = Ue, v.a6 = wl, v.a7 = gc, v.a8 = pa, v.a9 = Lg, v.aA = function(n) {
|
|
11818
|
-
if (n.type === "custom") return new
|
|
11824
|
+
if (n.type === "custom") return new nb(n);
|
|
11819
11825
|
switch (n.type) {
|
|
11820
11826
|
case "background":
|
|
11821
|
-
return new
|
|
11827
|
+
return new eb(n);
|
|
11822
11828
|
case "circle":
|
|
11823
|
-
return new
|
|
11829
|
+
return new Vv(n);
|
|
11824
11830
|
case "fill":
|
|
11825
|
-
return new
|
|
11831
|
+
return new sx(n);
|
|
11826
11832
|
case "fill-extrusion":
|
|
11827
|
-
return new
|
|
11833
|
+
return new vx(n);
|
|
11828
11834
|
case "heatmap":
|
|
11829
|
-
return new
|
|
11835
|
+
return new Uv(n);
|
|
11830
11836
|
case "hillshade":
|
|
11831
|
-
return new
|
|
11837
|
+
return new Hv(n);
|
|
11832
11838
|
case "line":
|
|
11833
|
-
return new
|
|
11839
|
+
return new Mx(n);
|
|
11834
11840
|
case "raster":
|
|
11835
|
-
return new
|
|
11841
|
+
return new ib(n);
|
|
11836
11842
|
case "symbol":
|
|
11837
11843
|
return new Sh(n);
|
|
11838
11844
|
}
|
|
@@ -11890,7 +11896,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11890
11896
|
}
|
|
11891
11897
|
}, v.aI = uh, v.aJ = class extends ua {
|
|
11892
11898
|
constructor(n, t) {
|
|
11893
|
-
super(n, t), this.current =
|
|
11899
|
+
super(n, t), this.current = zv;
|
|
11894
11900
|
}
|
|
11895
11901
|
set(n) {
|
|
11896
11902
|
if (n[12] !== this.current[12] || n[0] !== this.current[0]) return this.current = n, void this.gl.uniformMatrix4fv(this.location, !1, n);
|
|
@@ -11916,8 +11922,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11916
11922
|
}, v.aP = function(n, t, r, l, p, y, _) {
|
|
11917
11923
|
var b = 1 / (t - r), S = 1 / (l - p), E = 1 / (y - _);
|
|
11918
11924
|
return n[0] = -2 * b, n[1] = 0, n[2] = 0, n[3] = 0, n[4] = 0, n[5] = -2 * S, n[6] = 0, n[7] = 0, n[8] = 0, n[9] = 0, n[10] = 2 * E, n[11] = 0, n[12] = (t + r) * b, n[13] = (p + l) * S, n[14] = (_ + y) * E, n[15] = 1, n;
|
|
11919
|
-
}, v.aQ =
|
|
11920
|
-
}, v.aS =
|
|
11925
|
+
}, v.aQ = jv, v.aR = class extends ue {
|
|
11926
|
+
}, v.aS = Ax, v.aT = class extends ye {
|
|
11921
11927
|
}, v.aU = ap, v.aV = function(n) {
|
|
11922
11928
|
return n <= 1 ? 1 : Math.pow(2, Math.ceil(Math.log(n) / Math.LN2));
|
|
11923
11929
|
}, v.aW = Bm, v.aX = Qi, v.aY = us, v.aZ = class extends et {
|
|
@@ -12003,7 +12009,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12003
12009
|
}, v.bc = function(n, t) {
|
|
12004
12010
|
return n[0] = t[0], n[1] = 0, n[2] = 0, n[3] = 0, n[4] = 0, n[5] = t[1], n[6] = 0, n[7] = 0, n[8] = 0, n[9] = 0, n[10] = t[2], n[11] = 0, n[12] = 0, n[13] = 0, n[14] = 0, n[15] = 1, n;
|
|
12005
12011
|
}, v.bd = class extends P {
|
|
12006
|
-
}, v.be = Mp, v.bf =
|
|
12012
|
+
}, v.be = Mp, v.bf = pb, v.bh = Te, v.bi = function(n, t) {
|
|
12007
12013
|
Cn.REGISTERED_PROTOCOLS[n] = t;
|
|
12008
12014
|
}, v.bj = function(n) {
|
|
12009
12015
|
delete Cn.REGISTERED_PROTOCOLS[n];
|
|
@@ -12063,10 +12069,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12063
12069
|
let ge = !1;
|
|
12064
12070
|
if (E.icon && E.icon.name) {
|
|
12065
12071
|
const fe = n.imageMap[E.icon.name];
|
|
12066
|
-
fe && (X =
|
|
12072
|
+
fe && (X = Yx(n.imagePositions[E.icon.name], r.get("icon-offset").evaluate(E, {}, n.canonical), r.get("icon-anchor").evaluate(E, {}, n.canonical)), ge = !!fe.sdf, n.bucket.sdfIcons === void 0 ? n.bucket.sdfIcons = ge : n.bucket.sdfIcons !== ge && Dt("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (fe.pixelRatio !== n.bucket.pixelRatio || r.get("icon-rotate").constantOr(1) !== 0) && (n.bucket.iconsNeedLinear = !0));
|
|
12067
12073
|
}
|
|
12068
12074
|
const ae = Xg($.horizontal) || $.vertical;
|
|
12069
|
-
n.bucket.iconsInText = !!ae && ae.iconsInText, (ae || X) &&
|
|
12075
|
+
n.bucket.iconsInText = !!ae && ae.iconsInText, (ae || X) && hb(n.bucket, E, $, X, n.imageMap, p, F, j, ee, ge, n.canonical);
|
|
12070
12076
|
}
|
|
12071
12077
|
n.showCollisionBoxes && n.bucket.generateCollisionDebugBuffers();
|
|
12072
12078
|
}, v.bq = mp, v.br = dp, v.bs = fp, v.bt = Mo, v.bu = yp, v.bv = class {
|
|
@@ -12109,7 +12115,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12109
12115
|
const p = new Blob([new Uint8Array(n)], { type: "image/png" });
|
|
12110
12116
|
l.src = n.byteLength ? URL.createObjectURL(p) : vs;
|
|
12111
12117
|
}), v.g = In, v.h = (n, t) => Ze(Ve(n, { type: "json" }), t), v.i = an, v.j = xt, v.k = Tt, v.l = (n, t) => Ze(Ve(n, { type: "arrayBuffer" }), t), v.m = Ze, v.n = function(n) {
|
|
12112
|
-
return new yp(n).readFields(
|
|
12118
|
+
return new yp(n).readFields($x, []);
|
|
12113
12119
|
}, v.o = jc, v.p = dg, v.q = g, v.r = Hd, v.s = rt, v.t = Pc, v.u = Cr, v.v = ve, v.w = Dt, v.x = function([n, t, r]) {
|
|
12114
12120
|
return t += 90, t *= Math.PI / 180, r *= Math.PI / 180, { x: n * Math.cos(t) * Math.sin(r), y: n * Math.sin(t) * Math.sin(r), z: n * Math.cos(r) };
|
|
12115
12121
|
}, v.y = gn, v.z = fi;
|
|
@@ -21922,8 +21928,8 @@ uniform ${L} ${O} u_${V};
|
|
|
21922
21928
|
var x = a;
|
|
21923
21929
|
return x;
|
|
21924
21930
|
});
|
|
21925
|
-
})(
|
|
21926
|
-
var Yp =
|
|
21931
|
+
})(w0);
|
|
21932
|
+
var Yp = w0.exports;
|
|
21927
21933
|
const ed = [
|
|
21928
21934
|
"#FF6633",
|
|
21929
21935
|
"#FFB399",
|
|
@@ -22701,13 +22707,13 @@ function MS(s, i, a, c, f, x) {
|
|
|
22701
22707
|
re("div", { class: "text-red-500" }, " Не визначено ", -1)
|
|
22702
22708
|
])))
|
|
22703
22709
|
])), [
|
|
22704
|
-
[
|
|
22710
|
+
[Ab, !x.rowValue(v).includes("id")]
|
|
22705
22711
|
])), 128))
|
|
22706
22712
|
])
|
|
22707
22713
|
]))
|
|
22708
22714
|
], 4);
|
|
22709
22715
|
}
|
|
22710
|
-
const PS = /* @__PURE__ */ qi(xS, [["render", MS], ["__scopeId", "data-v-3f5a9aff"]]),
|
|
22716
|
+
const PS = /* @__PURE__ */ qi(xS, [["render", MS], ["__scopeId", "data-v-3f5a9aff"]]), Vy = {
|
|
22711
22717
|
width: 200,
|
|
22712
22718
|
show: !0,
|
|
22713
22719
|
position: "horizontal"
|
|
@@ -22723,7 +22729,7 @@ const PS = /* @__PURE__ */ qi(xS, [["render", MS], ["__scopeId", "data-v-3f5a9af
|
|
|
22723
22729
|
data() {
|
|
22724
22730
|
return {
|
|
22725
22731
|
objectData: [],
|
|
22726
|
-
popupSettings:
|
|
22732
|
+
popupSettings: Vy
|
|
22727
22733
|
};
|
|
22728
22734
|
},
|
|
22729
22735
|
computed: {
|
|
@@ -22752,7 +22758,7 @@ const PS = /* @__PURE__ */ qi(xS, [["render", MS], ["__scopeId", "data-v-3f5a9af
|
|
|
22752
22758
|
const i = Object.keys(s.properties).filter(
|
|
22753
22759
|
(G) => !G.match("__text") && !["id"].includes(G)
|
|
22754
22760
|
), { currentLayer: a } = this;
|
|
22755
|
-
if ((C = a == null ? void 0 : a.setting) != null && C.popup && (this.popupSettings = (a == null ? void 0 : a.setting.popup) ||
|
|
22761
|
+
if ((C = a == null ? void 0 : a.setting) != null && C.popup && (this.popupSettings = (a == null ? void 0 : a.setting.popup) || Vy), !(a != null && a.meta)) {
|
|
22756
22762
|
const G = i.map((ne) => ({ title: ne, value: s.properties[ne] }));
|
|
22757
22763
|
this.objectData = [
|
|
22758
22764
|
...G,
|
|
@@ -22825,7 +22831,7 @@ function OS(s, i, a, c, f, x) {
|
|
|
22825
22831
|
var u, C, I, A, z, R, U, G, ne, ce, de;
|
|
22826
22832
|
const v = kn("VsPopupBody");
|
|
22827
22833
|
return ht(), _t("div", {
|
|
22828
|
-
class:
|
|
22834
|
+
class: M_((((u = f.popupSettings) == null ? void 0 : u.position) || "horizontal") + "-position")
|
|
22829
22835
|
}, [
|
|
22830
22836
|
f.objectData.filter((be) => be.column !== "image").length ? (ht(), _t("div", IS, [
|
|
22831
22837
|
x.getImage && ((C = x.getImage) != null && C.value) ? (ht(), _t("div", AS, [
|
|
@@ -23000,7 +23006,7 @@ const FS = /* @__PURE__ */ qi(CS, [["render", OS], ["__scopeId", "data-v-deb51e0
|
|
|
23000
23006
|
}
|
|
23001
23007
|
const { data: a } = await qt.get(
|
|
23002
23008
|
`https://data.gki.com.ua/api-user/atu/${s}`
|
|
23003
|
-
), c =
|
|
23009
|
+
), c = b0(a);
|
|
23004
23010
|
this.cityBbox = c, i.addSource("atu", {
|
|
23005
23011
|
type: "geojson",
|
|
23006
23012
|
data: a
|
|
@@ -23121,14 +23127,14 @@ const $S = /* @__PURE__ */ qi(BS, [["render", VS]]), cr = "widget-map-source", U
|
|
|
23121
23127
|
formatGeojson(s) {
|
|
23122
23128
|
let i = s;
|
|
23123
23129
|
const a = s == null ? void 0 : s.type;
|
|
23124
|
-
if (Array.isArray(s)) return
|
|
23130
|
+
if (Array.isArray(s)) return jy(s);
|
|
23125
23131
|
if (!a) throw new Error("Unknown geometry type!");
|
|
23126
23132
|
return a === "FeatureCollection" ? s : (a === "Feature" && (i = [s]), !["FeatureCollection", "Feature"].includes(
|
|
23127
23133
|
a
|
|
23128
|
-
) && (i = [gS(s)]),
|
|
23134
|
+
) && (i = [gS(s)]), jy(i));
|
|
23129
23135
|
},
|
|
23130
23136
|
zoomToGeometry(s) {
|
|
23131
|
-
const { map: i } = this, a =
|
|
23137
|
+
const { map: i } = this, a = b0(s);
|
|
23132
23138
|
i.fitBounds(a, {
|
|
23133
23139
|
zoom: this.zoom,
|
|
23134
23140
|
padding: 30,
|
|
@@ -23222,10 +23228,10 @@ class ZS {
|
|
|
23222
23228
|
this.element.removeEventListener("mousedown", this.onPointerStart, Pl), this.element.removeEventListener("touchstart", this.onTouchStart, Pl), this.element.removeEventListener("touchmove", this.onMove, Pl), this.element.removeEventListener("touchend", this.onTouchEnd), this.element.removeEventListener("touchcancel", this.onTouchEnd), window.removeEventListener("mousemove", this.onMove), window.removeEventListener("mouseup", this.onPointerEnd), window.removeEventListener("blur", this.onWindowBlur);
|
|
23223
23229
|
}
|
|
23224
23230
|
}
|
|
23225
|
-
function
|
|
23231
|
+
function $y(s, i) {
|
|
23226
23232
|
return i ? Math.sqrt(Math.pow(i.clientX - s.clientX, 2) + Math.pow(i.clientY - s.clientY, 2)) : 0;
|
|
23227
23233
|
}
|
|
23228
|
-
function
|
|
23234
|
+
function Uy(s, i) {
|
|
23229
23235
|
return i ? { clientX: (s.clientX + i.clientX) / 2, clientY: (s.clientY + i.clientY) / 2 } : s;
|
|
23230
23236
|
}
|
|
23231
23237
|
const Df = (s) => typeof s == "object" && s !== null && s.constructor === Object && Object.prototype.toString.call(s) === "[object Object]", Qn = (s, ...i) => {
|
|
@@ -23320,7 +23326,7 @@ var ui;
|
|
|
23320
23326
|
(function(s) {
|
|
23321
23327
|
s[s.Init = 0] = "Init", s[s.Error = 1] = "Error", s[s.Ready = 2] = "Ready", s[s.Panning = 3] = "Panning", s[s.Mousemove = 4] = "Mousemove", s[s.Destroy = 5] = "Destroy";
|
|
23322
23328
|
})(ui || (ui = {}));
|
|
23323
|
-
const Or = ["a", "b", "c", "d", "e", "f"],
|
|
23329
|
+
const Or = ["a", "b", "c", "d", "e", "f"], T0 = { PANUP: "Move up", PANDOWN: "Move down", PANLEFT: "Move left", PANRIGHT: "Move right", ZOOMIN: "Zoom in", ZOOMOUT: "Zoom out", TOGGLEZOOM: "Toggle zoom level", TOGGLE1TO1: "Toggle zoom level", ITERATEZOOM: "Toggle zoom level", ROTATECCW: "Rotate counterclockwise", ROTATECW: "Rotate clockwise", FLIPX: "Flip horizontally", FLIPY: "Flip vertically", FITX: "Fit horizontally", FITY: "Fit vertically", RESET: "Reset", TOGGLEFS: "Toggle fullscreen" }, WS = { content: null, width: "auto", height: "auto", panMode: "drag", touch: !0, dragMinThreshold: 3, lockAxis: !1, mouseMoveFactor: 1, mouseMoveFriction: 0.12, zoom: !0, pinchToZoom: !0, panOnlyZoomed: "auto", minScale: 1, maxScale: 2, friction: 0.25, dragFriction: 0.35, decelFriction: 0.05, click: "toggleZoom", dblClick: !1, wheel: "zoom", wheelLimit: 7, spinner: !0, bounds: "auto", infinite: !1, rubberband: !0, bounce: !0, maxVelocity: 75, transformParent: !1, classes: { content: "f-panzoom__content", isLoading: "is-loading", canZoomIn: "can-zoom_in", canZoomOut: "can-zoom_out", isDraggable: "is-draggable", isDragging: "is-dragging", inFullscreen: "in-fullscreen", htmlHasFullscreen: "with-panzoom-in-fullscreen" }, l10n: T0 }, qy = '<circle cx="25" cy="25" r="20"></circle>', Qf = '<div class="f-spinner"><svg viewBox="0 0 50 50">' + qy + qy + "</svg></div>", Jn = (s) => s && s !== null && s instanceof Element && "nodeType" in s, li = (s, i) => {
|
|
23324
23330
|
s && Kf(i).forEach((a) => {
|
|
23325
23331
|
s.classList.remove(a);
|
|
23326
23332
|
});
|
|
@@ -23328,7 +23334,7 @@ const Or = ["a", "b", "c", "d", "e", "f"], S0 = { PANUP: "Move up", PANDOWN: "Mo
|
|
|
23328
23334
|
s && Kf(i).forEach((a) => {
|
|
23329
23335
|
s.classList.add(a);
|
|
23330
23336
|
});
|
|
23331
|
-
}, Dh = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 }, GS = 1e5, zh = 1e4, As = "mousemove",
|
|
23337
|
+
}, Dh = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 }, GS = 1e5, zh = 1e4, As = "mousemove", Hy = "drag", Zy = "content", Ds = "auto";
|
|
23332
23338
|
let Kp = null, Jp = null;
|
|
23333
23339
|
class Ia extends Jf {
|
|
23334
23340
|
get fits() {
|
|
@@ -23341,7 +23347,7 @@ class Ia extends Jf {
|
|
|
23341
23347
|
return Kp === null && (Kp = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent)), Kp;
|
|
23342
23348
|
}
|
|
23343
23349
|
get panMode() {
|
|
23344
|
-
return this.options.panMode !== As || this.isTouchDevice ?
|
|
23350
|
+
return this.options.panMode !== As || this.isTouchDevice ? Hy : As;
|
|
23345
23351
|
}
|
|
23346
23352
|
get panOnlyZoomed() {
|
|
23347
23353
|
const i = this.options.panOnlyZoomed;
|
|
@@ -23410,8 +23416,8 @@ class Ia extends Jf {
|
|
|
23410
23416
|
});
|
|
23411
23417
|
}
|
|
23412
23418
|
initContent() {
|
|
23413
|
-
const { container: i } = this, a = this.cn(
|
|
23414
|
-
let c = this.option(
|
|
23419
|
+
const { container: i } = this, a = this.cn(Zy);
|
|
23420
|
+
let c = this.option(Zy) || i.querySelector(`.${a}`);
|
|
23415
23421
|
if (c || (c = i.querySelector("img,picture") || i.firstElementChild, c && dt(c, a)), c instanceof HTMLPictureElement && (c = c.querySelector("img")), !c) throw new Error("No content found");
|
|
23416
23422
|
this.content = c;
|
|
23417
23423
|
}
|
|
@@ -23563,13 +23569,13 @@ class Ia extends Jf {
|
|
|
23563
23569
|
onPointerMove(i, a, c) {
|
|
23564
23570
|
if (this.option("touch", i) === !1 || !this.isDragging || a.length < 2 && this.panOnlyZoomed && Xe(this.targetScale) <= Xe(this.minScale) || (this.emit("touchMove", i), i.defaultPrevented)) return;
|
|
23565
23571
|
this.addTrackingPoint(a[0]);
|
|
23566
|
-
const { content: f } = this, x =
|
|
23572
|
+
const { content: f } = this, x = Uy(c[0], c[1]), v = Uy(a[0], a[1]);
|
|
23567
23573
|
let u = 0, C = 0;
|
|
23568
23574
|
if (a.length > 1) {
|
|
23569
23575
|
const _e = f.getBoundingClientRect();
|
|
23570
23576
|
u = x.clientX - _e.left - 0.5 * _e.width, C = x.clientY - _e.top - 0.5 * _e.height;
|
|
23571
23577
|
}
|
|
23572
|
-
const I =
|
|
23578
|
+
const I = $y(c[0], c[1]), A = $y(a[0], a[1]);
|
|
23573
23579
|
let z = I ? A / I : 1, R = v.clientX - x.clientX, U = v.clientY - x.clientY;
|
|
23574
23580
|
this.dragOffset.x += R, this.dragOffset.y += U, this.dragOffset.time = Date.now() - this.dragStart.time;
|
|
23575
23581
|
let G = Xe(this.targetScale) === Xe(this.minScale) && this.option("lockAxis");
|
|
@@ -23701,7 +23707,7 @@ class Ia extends Jf {
|
|
|
23701
23707
|
const i = this, a = i.container, { panMode: c, contentRect: f, targetScale: x, minScale: v } = i;
|
|
23702
23708
|
let u = v, C = i.option("click") || !1;
|
|
23703
23709
|
C && (u = i.getNextScale(C));
|
|
23704
|
-
let I = i.canZoomIn(), A = i.canZoomOut(), z = c ===
|
|
23710
|
+
let I = i.canZoomIn(), A = i.canZoomOut(), z = c === Hy && !!this.option("touch"), R = A && z;
|
|
23705
23711
|
if (z && (Xe(x) < Xe(v) && !this.panOnlyZoomed && (R = !0), (Xe(f.width, 1) > Xe(f.fitWidth, 1) || Xe(f.height, 1) > Xe(f.fitHeight, 1)) && (R = !0)), Xe(f.width * x, 1) < Xe(f.fitWidth, 1) && (R = !1), c === As && (R = !1), fr(a, this.cn("isDraggable"), R), !this.option("zoom")) return;
|
|
23706
23712
|
let U = I && Xe(u) > Xe(x), G = !U && !R && A && Xe(u) < Xe(x);
|
|
23707
23713
|
fr(a, this.cn("canZoomIn"), U), fr(a, this.cn("canZoomOut"), G);
|
|
@@ -23870,14 +23876,14 @@ class Ia extends Jf {
|
|
|
23870
23876
|
}
|
|
23871
23877
|
}
|
|
23872
23878
|
Object.defineProperty(Ia, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: WS }), Object.defineProperty(Ia, "Plugins", { enumerable: !0, configurable: !0, writable: !0, value: {} });
|
|
23873
|
-
const
|
|
23879
|
+
const Wy = function(s, i) {
|
|
23874
23880
|
let a = !0;
|
|
23875
23881
|
return (...c) => {
|
|
23876
23882
|
a && (a = !1, s(...c), setTimeout(() => {
|
|
23877
23883
|
a = !0;
|
|
23878
23884
|
}, i));
|
|
23879
23885
|
};
|
|
23880
|
-
},
|
|
23886
|
+
}, Gy = (s, i) => {
|
|
23881
23887
|
let a = [];
|
|
23882
23888
|
return s.childNodes.forEach((c) => {
|
|
23883
23889
|
c.nodeType !== Node.ELEMENT_NODE || i && !c.matches(i) || a.push(c);
|
|
@@ -23905,7 +23911,7 @@ class Xs extends id {
|
|
|
23905
23911
|
}
|
|
23906
23912
|
}
|
|
23907
23913
|
const KS = { classes: { list: "f-carousel__dots", isDynamic: "is-dynamic", hasDots: "has-dots", dot: "f-carousel__dot", isBeforePrev: "is-before-prev", isPrev: "is-prev", isCurrent: "is-current", isNext: "is-next", isAfterNext: "is-after-next" }, dotTpl: '<button type="button" data-carousel-page="%i" aria-label="{{GOTO}}"><span class="f-carousel__dot" aria-hidden="true"></span></button>', dynamicFrom: 11, maxCount: 1 / 0, minCount: 2 };
|
|
23908
|
-
class
|
|
23914
|
+
class k0 extends Xs {
|
|
23909
23915
|
constructor() {
|
|
23910
23916
|
super(...arguments), Object.defineProperty(this, "isDynamic", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "list", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
23911
23917
|
}
|
|
@@ -23961,9 +23967,9 @@ class T0 extends Xs {
|
|
|
23961
23967
|
this.instance.off(["refresh", "change"], this.onRefresh), this.cleanup();
|
|
23962
23968
|
}
|
|
23963
23969
|
}
|
|
23964
|
-
Object.defineProperty(
|
|
23965
|
-
const Rh = "disabled", Lh = "next",
|
|
23966
|
-
class
|
|
23970
|
+
Object.defineProperty(k0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: KS });
|
|
23971
|
+
const Rh = "disabled", Lh = "next", Yy = "prev";
|
|
23972
|
+
class E0 extends Xs {
|
|
23967
23973
|
constructor() {
|
|
23968
23974
|
super(...arguments), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "prev", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "next", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "isDom", { enumerable: !0, configurable: !0, writable: !0, value: !1 });
|
|
23969
23975
|
}
|
|
@@ -23978,14 +23984,14 @@ class k0 extends Xs {
|
|
|
23978
23984
|
var a;
|
|
23979
23985
|
const c = this.instance, f = document.createElement("button");
|
|
23980
23986
|
f.setAttribute("tabindex", "0"), f.setAttribute("title", c.localize(`{{${i.toUpperCase()}}}`)), dt(f, this.cn("button") + " " + this.cn(i === Lh ? "isNext" : "isPrev"));
|
|
23981
|
-
const x = c.isRTL ? i === Lh ?
|
|
23987
|
+
const x = c.isRTL ? i === Lh ? Yy : Lh : i;
|
|
23982
23988
|
var v;
|
|
23983
23989
|
return f.innerHTML = c.localize(this.option(`${x}Tpl`)), f.dataset[`carousel${v = i, v ? v.match("^[a-z]") ? v.charAt(0).toUpperCase() + v.substring(1) : v : ""}`] = "true", (a = this.container) === null || a === void 0 || a.appendChild(f), f;
|
|
23984
23990
|
}
|
|
23985
23991
|
build() {
|
|
23986
23992
|
const i = this.instance.container, a = this.cn("container");
|
|
23987
23993
|
let { container: c, prev: f, next: x } = this;
|
|
23988
|
-
c || (c = i.querySelector("." + a), this.isDom = !!c), c || (c = document.createElement("div"), dt(c, a), i.appendChild(c)), this.container = c, x || (x = c.querySelector("[data-carousel-next]")), x || (x = this.addBtn(Lh)), this.next = x, f || (f = c.querySelector("[data-carousel-prev]")), f || (f = this.addBtn(
|
|
23994
|
+
c || (c = i.querySelector("." + a), this.isDom = !!c), c || (c = document.createElement("div"), dt(c, a), i.appendChild(c)), this.container = c, x || (x = c.querySelector("[data-carousel-next]")), x || (x = this.addBtn(Lh)), this.next = x, f || (f = c.querySelector("[data-carousel-prev]")), f || (f = this.addBtn(Yy)), this.prev = f;
|
|
23989
23995
|
}
|
|
23990
23996
|
cleanup() {
|
|
23991
23997
|
this.isDom || (this.prev && this.prev.remove(), this.next && this.next.remove(), this.container && this.container.remove()), this.prev = null, this.next = null, this.container = null, this.isDom = !1;
|
|
@@ -23997,8 +24003,8 @@ class k0 extends Xs {
|
|
|
23997
24003
|
this.instance.off(["refresh", "change"], this.onRefresh), this.cleanup();
|
|
23998
24004
|
}
|
|
23999
24005
|
}
|
|
24000
|
-
Object.defineProperty(
|
|
24001
|
-
class
|
|
24006
|
+
Object.defineProperty(E0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { classes: { container: "f-carousel__nav", button: "f-button", isNext: "is-next", isPrev: "is-prev" }, nextTpl: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>', prevTpl: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>' } });
|
|
24007
|
+
class M0 extends Xs {
|
|
24002
24008
|
constructor() {
|
|
24003
24009
|
super(...arguments), Object.defineProperty(this, "selectedIndex", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "target", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "nav", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
24004
24010
|
}
|
|
@@ -24057,8 +24063,8 @@ class E0 extends Xs {
|
|
|
24057
24063
|
a && (a.off("ready", i.onNavReady), a.off("createSlide", i.onNavCreateSlide), a.off("Panzoom.click", i.onNavClick), a.off("Panzoom.touchEnd", i.onNavTouch)), i.nav = null, c && (c.off("ready", i.onTargetReady), c.off("refresh", i.onTargetChange), c.off("change", i.onTargetChange)), i.target = null;
|
|
24058
24064
|
}
|
|
24059
24065
|
}
|
|
24060
|
-
Object.defineProperty(
|
|
24061
|
-
const JS = { Navigation:
|
|
24066
|
+
Object.defineProperty(M0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { friction: 0.35 } });
|
|
24067
|
+
const JS = { Navigation: E0, Dots: k0, Sync: M0 }, Oh = "animationend", Xy = "isSelected", Fh = "slide";
|
|
24062
24068
|
class Ma extends Jf {
|
|
24063
24069
|
get axis() {
|
|
24064
24070
|
return this.isHorizontal ? "e" : "f";
|
|
@@ -24079,7 +24085,7 @@ class Ma extends Jf {
|
|
|
24079
24085
|
}
|
|
24080
24086
|
constructor(i, a = {}, c = {}) {
|
|
24081
24087
|
if (super(), Object.defineProperty(this, "bp", { enumerable: !0, configurable: !0, writable: !0, value: "" }), Object.defineProperty(this, "lp", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "userOptions", { enumerable: !0, configurable: !0, writable: !0, value: {} }), Object.defineProperty(this, "userPlugins", { enumerable: !0, configurable: !0, writable: !0, value: {} }), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: Ui.Init }), Object.defineProperty(this, "page", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "prevPage", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: void 0 }), Object.defineProperty(this, "viewport", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "track", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "slides", { enumerable: !0, configurable: !0, writable: !0, value: [] }), Object.defineProperty(this, "pages", { enumerable: !0, configurable: !0, writable: !0, value: [] }), Object.defineProperty(this, "panzoom", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "inTransition", { enumerable: !0, configurable: !0, writable: !0, value: /* @__PURE__ */ new Set() }), Object.defineProperty(this, "contentDim", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "viewportDim", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), typeof i == "string" && (i = document.querySelector(i)), !i || !Jn(i)) throw new Error("No Element found");
|
|
24082
|
-
this.container = i, this.slideNext =
|
|
24088
|
+
this.container = i, this.slideNext = Wy(this.slideNext.bind(this), 150), this.slidePrev = Wy(this.slidePrev.bind(this), 150), this.userOptions = a, this.userPlugins = c, queueMicrotask(() => {
|
|
24083
24089
|
this.processOptions();
|
|
24084
24090
|
});
|
|
24085
24091
|
}
|
|
@@ -24100,7 +24106,7 @@ class Ma extends Jf {
|
|
|
24100
24106
|
const { container: i } = this, a = this.option("classes");
|
|
24101
24107
|
dt(i, this.cn("container")), fr(i, a.isLTR, !this.isRTL), fr(i, a.isRTL, this.isRTL), fr(i, a.isVertical, !this.isHorizontal), fr(i, a.isHorizontal, this.isHorizontal);
|
|
24102
24108
|
let c = this.option("viewport") || i.querySelector(`.${a.viewport}`);
|
|
24103
|
-
c || (c = document.createElement("div"), dt(c, a.viewport), c.append(...
|
|
24109
|
+
c || (c = document.createElement("div"), dt(c, a.viewport), c.append(...Gy(i, `.${a.slide}`)), i.prepend(c)), c.addEventListener("scroll", this.onScroll);
|
|
24104
24110
|
let f = this.option("track") || i.querySelector(`.${a.track}`);
|
|
24105
24111
|
f || (f = document.createElement("div"), dt(f, a.track), f.append(...Array.from(c.childNodes))), f.setAttribute("aria-live", "polite"), c.contains(f) || c.prepend(f), this.viewport = c, this.track = f, this.emit("initLayout");
|
|
24106
24112
|
}
|
|
@@ -24108,7 +24114,7 @@ class Ma extends Jf {
|
|
|
24108
24114
|
const { track: i } = this;
|
|
24109
24115
|
if (!i) return;
|
|
24110
24116
|
const a = [...this.slides], c = [];
|
|
24111
|
-
[...
|
|
24117
|
+
[...Gy(i, `.${this.cn(Fh)}`)].forEach((f) => {
|
|
24112
24118
|
if (Jn(f)) {
|
|
24113
24119
|
const x = Qp({ el: f, isDom: !0, index: this.slides.length });
|
|
24114
24120
|
c.push(x);
|
|
@@ -24236,7 +24242,7 @@ class Ma extends Jf {
|
|
|
24236
24242
|
removeSlideEl(i, a = !1) {
|
|
24237
24243
|
const c = i == null ? void 0 : i.el;
|
|
24238
24244
|
if (!c || !c.parentNode) return;
|
|
24239
|
-
const f = this.cn(
|
|
24245
|
+
const f = this.cn(Xy);
|
|
24240
24246
|
if (c.classList.contains(f) && (li(c, f), this.emit("unselectSlide", i)), i.isDom && !a) return c.removeAttribute("aria-hidden"), c.removeAttribute("data-index"), void (c.style.left = "");
|
|
24241
24247
|
this.emit("removeSlide", i);
|
|
24242
24248
|
const x = new CustomEvent(Oh);
|
|
@@ -24274,7 +24280,7 @@ class Ma extends Jf {
|
|
|
24274
24280
|
markSelectedSlides() {
|
|
24275
24281
|
if (!this.pages[this.page] || !this.pages[this.page].slides) return;
|
|
24276
24282
|
const i = "aria-hidden";
|
|
24277
|
-
let a = this.cn(
|
|
24283
|
+
let a = this.cn(Xy);
|
|
24278
24284
|
if (a) for (const c of this.slides) {
|
|
24279
24285
|
const f = c.el;
|
|
24280
24286
|
f && (f.dataset.index = `${c.index}`, f.classList.contains("f-thumbs__slide") ? this.getVisibleSlides(0).has(c) ? f.removeAttribute(i) : f.setAttribute(i, "true") : this.pages[this.page].slides.includes(c) ? (f.classList.contains(a) || (dt(f, a), this.emit("selectSlide", c)), f.removeAttribute(i)) : (f.classList.contains(a) && (li(f, a), this.emit("unselectSlide", c)), f.setAttribute(i, "true")));
|
|
@@ -24520,7 +24526,7 @@ class Ma extends Jf {
|
|
|
24520
24526
|
}
|
|
24521
24527
|
}
|
|
24522
24528
|
Object.defineProperty(Ma, "Panzoom", { enumerable: !0, configurable: !0, writable: !0, value: Ia }), Object.defineProperty(Ma, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: YS }), Object.defineProperty(Ma, "Plugins", { enumerable: !0, configurable: !0, writable: !0, value: JS });
|
|
24523
|
-
const
|
|
24529
|
+
const P0 = function(s) {
|
|
24524
24530
|
if (!Jn(s)) return 0;
|
|
24525
24531
|
const i = window.scrollY, a = window.innerHeight, c = i + a, f = s.getBoundingClientRect(), x = f.y + i, v = f.height, u = x + v;
|
|
24526
24532
|
if (i > u || c < x) return 0;
|
|
@@ -24531,7 +24537,7 @@ const M0 = function(s) {
|
|
|
24531
24537
|
return Math.round(I);
|
|
24532
24538
|
}, hu = !(typeof window > "u" || !window.document || !window.document.createElement);
|
|
24533
24539
|
let ef;
|
|
24534
|
-
const tf = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"]):not([aria-hidden])', "select:not([disabled]):not([aria-hidden])", "textarea:not([disabled]):not([aria-hidden])", "button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)", "iframe", "object", "embed", "video", "audio", "[contenteditable]", '[tabindex]:not([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","),
|
|
24540
|
+
const tf = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"]):not([aria-hidden])', "select:not([disabled]):not([aria-hidden])", "textarea:not([disabled]):not([aria-hidden])", "button:not([disabled]):not([aria-hidden]):not(.fancybox-focus-guard)", "iframe", "object", "embed", "video", "audio", "[contenteditable]", '[tabindex]:not([tabindex^="-"]):not([disabled]):not([aria-hidden])'].join(","), Ky = (s) => {
|
|
24535
24541
|
if (s && hu) {
|
|
24536
24542
|
ef === void 0 && document.createElement("div").focus({ get preventScroll() {
|
|
24537
24543
|
return ef = !0, !1;
|
|
@@ -24545,7 +24551,7 @@ const tf = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"])
|
|
|
24545
24551
|
} catch {
|
|
24546
24552
|
}
|
|
24547
24553
|
}
|
|
24548
|
-
},
|
|
24554
|
+
}, C0 = () => {
|
|
24549
24555
|
const s = document;
|
|
24550
24556
|
let i, a = "", c = "", f = "";
|
|
24551
24557
|
return s.fullscreenEnabled ? (a = "requestFullscreen", c = "exitFullscreen", f = "fullscreenElement") : s.webkitFullscreenEnabled && (a = "webkitRequestFullscreen", c = "webkitExitFullscreen", f = "webkitFullscreenElement"), a && (i = { request: function(x = s.documentElement) {
|
|
@@ -24555,7 +24561,7 @@ const tf = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"])
|
|
|
24555
24561
|
}, isFullscreen: function() {
|
|
24556
24562
|
return s[f];
|
|
24557
24563
|
} }), i;
|
|
24558
|
-
}, zf = { animated: !0, autoFocus: !0, backdropClick: "close", Carousel: { classes: { container: "fancybox__carousel", viewport: "fancybox__viewport", track: "fancybox__track", slide: "fancybox__slide" } }, closeButton: "auto", closeExisting: !1, commonCaption: !1, compact: () => window.matchMedia("(max-width: 578px), (max-height: 578px)").matches, contentClick: "toggleZoom", contentDblClick: !1, defaultType: "image", defaultDisplay: "flex", dragToClose: !0, Fullscreen: { autoStart: !1 }, groupAll: !1, groupAttr: "data-fancybox", hideClass: "f-fadeOut", hideScrollbar: !0, idle: 3500, keyboard: { Escape: "close", Delete: "close", Backspace: "close", PageUp: "next", PageDown: "prev", ArrowUp: "prev", ArrowDown: "next", ArrowRight: "next", ArrowLeft: "prev" }, l10n: Object.assign(Object.assign({},
|
|
24564
|
+
}, zf = { animated: !0, autoFocus: !0, backdropClick: "close", Carousel: { classes: { container: "fancybox__carousel", viewport: "fancybox__viewport", track: "fancybox__track", slide: "fancybox__slide" } }, closeButton: "auto", closeExisting: !1, commonCaption: !1, compact: () => window.matchMedia("(max-width: 578px), (max-height: 578px)").matches, contentClick: "toggleZoom", contentDblClick: !1, defaultType: "image", defaultDisplay: "flex", dragToClose: !0, Fullscreen: { autoStart: !1 }, groupAll: !1, groupAttr: "data-fancybox", hideClass: "f-fadeOut", hideScrollbar: !0, idle: 3500, keyboard: { Escape: "close", Delete: "close", Backspace: "close", PageUp: "next", PageDown: "prev", ArrowUp: "prev", ArrowDown: "next", ArrowRight: "next", ArrowLeft: "prev" }, l10n: Object.assign(Object.assign({}, T0), { CLOSE: "Close", NEXT: "Next", PREV: "Previous", MODAL: "You can close this modal content with the ESC key", ERROR: "Something Went Wrong, Please Try Again Later", IMAGE_ERROR: "Image Not Found", ELEMENT_NOT_FOUND: "HTML Element Not Found", AJAX_NOT_FOUND: "Error Loading AJAX : Not Found", AJAX_FORBIDDEN: "Error Loading AJAX : Forbidden", IFRAME_ERROR: "Error Loading Page", TOGGLE_ZOOM: "Toggle zoom level", TOGGLE_THUMBS: "Toggle thumbnails", TOGGLE_SLIDESHOW: "Toggle slideshow", TOGGLE_FULLSCREEN: "Toggle full-screen mode", DOWNLOAD: "Download" }), parentEl: null, placeFocusBack: !0, showClass: "f-zoomInUp", startIndex: 0, tpl: { closeButton: '<button data-fancybox-close class="f-button is-close-btn" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M20 20L4 4m16 0L4 20"/></svg></button>', main: `<div class="fancybox__container" role="dialog" aria-modal="true" aria-label="{{MODAL}}" tabindex="-1">
|
|
24559
24565
|
<div class="fancybox__backdrop"></div>
|
|
24560
24566
|
<div class="fancybox__carousel"></div>
|
|
24561
24567
|
<div class="fancybox__footer"></div>
|
|
@@ -24566,8 +24572,8 @@ var on, Tn;
|
|
|
24566
24572
|
})(on || (on = {})), function(s) {
|
|
24567
24573
|
s[s.Loading = 0] = "Loading", s[s.Opening = 1] = "Opening", s[s.Ready = 2] = "Ready", s[s.Closing = 3] = "Closing";
|
|
24568
24574
|
}(Tn || (Tn = {}));
|
|
24569
|
-
let
|
|
24570
|
-
const
|
|
24575
|
+
let Jy = "", lu = !1, Bh = !1, ba = null;
|
|
24576
|
+
const I0 = () => {
|
|
24571
24577
|
let s = "", i = "";
|
|
24572
24578
|
const a = Vt.getInstance();
|
|
24573
24579
|
if (a) {
|
|
@@ -24581,31 +24587,31 @@ const C0 = () => {
|
|
|
24581
24587
|
}, nd = () => {
|
|
24582
24588
|
const s = new URL(document.URL).hash, i = s.slice(1).split("-"), a = i[i.length - 1], c = a && /^\+?\d+$/.test(a) && parseInt(i.pop() || "1", 10) || 1;
|
|
24583
24589
|
return { hash: s, slug: i.join("-"), index: c };
|
|
24584
|
-
},
|
|
24590
|
+
}, A0 = () => {
|
|
24585
24591
|
const { slug: s, index: i } = nd();
|
|
24586
24592
|
if (!s) return;
|
|
24587
24593
|
let a = document.querySelector(`[data-slug="${s}"]`);
|
|
24588
24594
|
if (a && a.dispatchEvent(new CustomEvent("click", { bubbles: !0, cancelable: !0 })), Vt.getInstance()) return;
|
|
24589
24595
|
const c = document.querySelectorAll(`[data-fancybox="${s}"]`);
|
|
24590
24596
|
c.length && (a = c[i - 1], a && a.dispatchEvent(new CustomEvent("click", { bubbles: !0, cancelable: !0 })));
|
|
24591
|
-
},
|
|
24597
|
+
}, D0 = () => {
|
|
24592
24598
|
if (Vt.defaults.Hash === !1) return;
|
|
24593
24599
|
const s = Vt.getInstance();
|
|
24594
24600
|
if ((s == null ? void 0 : s.options.Hash) === !1) return;
|
|
24595
|
-
const { slug: i, index: a } = nd(), { slug: c } =
|
|
24596
|
-
s && (i === c ? s.jumpTo(a - 1) : (lu = !0, s.close())),
|
|
24597
|
-
},
|
|
24601
|
+
const { slug: i, index: a } = nd(), { slug: c } = I0();
|
|
24602
|
+
s && (i === c ? s.jumpTo(a - 1) : (lu = !0, s.close())), A0();
|
|
24603
|
+
}, z0 = () => {
|
|
24598
24604
|
ba && clearTimeout(ba), queueMicrotask(() => {
|
|
24599
|
-
|
|
24605
|
+
D0();
|
|
24600
24606
|
});
|
|
24601
|
-
},
|
|
24602
|
-
window.addEventListener("hashchange",
|
|
24603
|
-
|
|
24607
|
+
}, Qy = () => {
|
|
24608
|
+
window.addEventListener("hashchange", z0, !1), setTimeout(() => {
|
|
24609
|
+
D0();
|
|
24604
24610
|
}, 500);
|
|
24605
24611
|
};
|
|
24606
|
-
hu && (/complete|interactive|loaded/.test(document.readyState) ?
|
|
24612
|
+
hu && (/complete|interactive|loaded/.test(document.readyState) ? Qy() : document.addEventListener("DOMContentLoaded", Qy));
|
|
24607
24613
|
const Nh = "is-zooming-in";
|
|
24608
|
-
class
|
|
24614
|
+
class R0 extends Xs {
|
|
24609
24615
|
onCreateSlide(i, a, c) {
|
|
24610
24616
|
const f = this.instance.optionFor(c, "src") || "";
|
|
24611
24617
|
c.el && c.type === "image" && typeof f == "string" && this.setImage(c, f);
|
|
@@ -24746,7 +24752,7 @@ class z0 extends Xs {
|
|
|
24746
24752
|
}
|
|
24747
24753
|
getZoomInfo(i) {
|
|
24748
24754
|
const { el: a, imageEl: c, thumbEl: f, panzoom: x } = i, v = this.instance, u = v.container;
|
|
24749
|
-
if (!a || !c || !f || !x ||
|
|
24755
|
+
if (!a || !c || !f || !x || P0(f) < 3 || !this.optionFor(i, "zoom") || !u || v.state === on.Destroy || getComputedStyle(u).getPropertyValue("--f-images-zoom") === "0") return !1;
|
|
24750
24756
|
const C = window.visualViewport || null;
|
|
24751
24757
|
if ((C ? C.scale : 1) !== 1) return !1;
|
|
24752
24758
|
let { top: I, left: A, width: z, height: R } = f.getBoundingClientRect(), { top: U, left: G, fitWidth: ne, fitHeight: ce } = x.contentRect;
|
|
@@ -24766,8 +24772,8 @@ class z0 extends Xs {
|
|
|
24766
24772
|
a.off("Carousel.change", i.onChange), a.off("Carousel.createSlide", i.onCreateSlide), a.off("Carousel.removeSlide", i.onRemoveSlide), a.off("close", i.onClose);
|
|
24767
24773
|
}
|
|
24768
24774
|
}
|
|
24769
|
-
Object.defineProperty(
|
|
24770
|
-
const nf = "html",
|
|
24775
|
+
Object.defineProperty(R0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { initialSize: "fit", Panzoom: { maxScale: 1 }, protected: !1, zoom: !0, zoomOpacity: "auto" } }), typeof SuppressedError == "function" && SuppressedError;
|
|
24776
|
+
const nf = "html", e_ = "image", sf = "map", Fr = "youtube", ya = "vimeo", su = "html5video", t_ = (s, i = {}) => {
|
|
24771
24777
|
const a = new URL(s), c = new URLSearchParams(a.search), f = new URLSearchParams();
|
|
24772
24778
|
for (const [u, C] of [...c, ...Object.entries(i)]) {
|
|
24773
24779
|
let I = C + "";
|
|
@@ -24780,7 +24786,7 @@ const nf = "html", Qy = "image", sf = "map", Fr = "youtube", ya = "vimeo", su =
|
|
|
24780
24786
|
return v && (x += `#t=${v[1]}`), x;
|
|
24781
24787
|
}, QS = { ajax: null, autoSize: !0, iframeAttr: { allow: "autoplay; fullscreen", scrolling: "auto" }, preload: !0, videoAutoplay: !0, videoRatio: 16 / 9, videoTpl: `<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
|
|
24782
24788
|
<source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`, videoFormat: "", vimeo: { byline: 1, color: "00adef", controls: 1, dnt: 1, muted: 0 }, youtube: { controls: 1, enablejsapi: 1, nocookie: 1, rel: 0, fs: 1 } }, eT = ["image", "html", "ajax", "inline", "clone", "iframe", "map", "pdf", "html5video", "youtube", "vimeo"];
|
|
24783
|
-
class
|
|
24789
|
+
class L0 extends Xs {
|
|
24784
24790
|
onBeforeInitSlide(i, a, c) {
|
|
24785
24791
|
this.processType(c);
|
|
24786
24792
|
}
|
|
@@ -24945,17 +24951,17 @@ class R0 extends Xs {
|
|
|
24945
24951
|
for (G = Object.getOwnPropertySymbols(z); ne < G.length; ne++) R.indexOf(G[ne]) < 0 && Object.prototype.propertyIsEnumerable.call(z, G[ne]) && (U[G[ne]] = z[G[ne]]);
|
|
24946
24952
|
}
|
|
24947
24953
|
return U;
|
|
24948
|
-
}(x, ["nocookie"]), C = `www.youtube${v ? "-nocookie" : ""}.com`, I =
|
|
24954
|
+
}(x, ["nocookie"]), C = `www.youtube${v ? "-nocookie" : ""}.com`, I = t_(a, u), A = encodeURIComponent(f[2]);
|
|
24949
24955
|
i.videoId = A, i.src = `https://${C}/embed/${A}?${I}`, i.thumbSrc = i.thumbSrc || `https://i.ytimg.com/vi/${A}/mqdefault.jpg`, c = Fr;
|
|
24950
24956
|
} else if (f = a.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)) {
|
|
24951
|
-
const x =
|
|
24957
|
+
const x = t_(a, this.optionFor(i, ya)), v = encodeURIComponent(f[1]), u = f[4] || "";
|
|
24952
24958
|
i.videoId = v, i.src = `https://player.vimeo.com/video/${v}?${u ? `h=${u}${x ? "&" : ""}` : ""}${x}`, c = ya;
|
|
24953
24959
|
}
|
|
24954
24960
|
if (!c && i.triggerEl) {
|
|
24955
24961
|
const x = i.triggerEl.dataset.type;
|
|
24956
24962
|
eT.includes(x) && (c = x);
|
|
24957
24963
|
}
|
|
24958
|
-
c || typeof a == "string" && (a.charAt(0) === "#" ? c = "inline" : (f = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (c = su, i.videoFormat = i.videoFormat || "video/" + (f[1] === "ogv" ? "ogg" : f[1])) : a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i) ? c =
|
|
24964
|
+
c || typeof a == "string" && (a.charAt(0) === "#" ? c = "inline" : (f = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (c = su, i.videoFormat = i.videoFormat || "video/" + (f[1] === "ogv" ? "ogg" : f[1])) : a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i) ? c = e_ : a.match(/\.(pdf)((\?|#).*)?$/i) && (c = "pdf")), (f = a.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i)) ? (i.src = `https://maps.google.${f[1]}/?ll=${(f[2] ? f[2] + "&z=" + Math.floor(parseFloat(f[3])) + (f[4] ? f[4].replace(/^\//, "&") : "") : f[4] + "").replace(/\?/, "&")}&output=${f[4] && f[4].indexOf("layer=c") > 0 ? "svembed" : "embed"}`, c = sf) : (f = a.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i)) && (i.src = `https://maps.google.${f[1]}/maps?q=${f[2].replace("query=", "q=").replace("api=1", "")}&output=embed`, c = sf), c = c || this.instance.option("defaultType"), i.type = c, c === e_ && (i.thumbSrc = i.thumbSrc || i.src);
|
|
24959
24965
|
}
|
|
24960
24966
|
setContent(i) {
|
|
24961
24967
|
const a = this.instance.optionFor(i, "src") || "";
|
|
@@ -25009,9 +25015,9 @@ class R0 extends Xs {
|
|
|
25009
25015
|
a.off("Carousel.beforeInitSlide", i.onBeforeInitSlide), a.off("Carousel.createSlide", i.onCreateSlide), a.off("Carousel.selectSlide", i.onSelectSlide), a.off("Carousel.unselectSlide", i.onUnselectSlide), a.off("Carousel.Panzoom.refresh", i.onRefresh), a.off("done", i.onDone), a.off("clearContent", i.onClearContent), window.removeEventListener("message", i.onMessage);
|
|
25010
25016
|
}
|
|
25011
25017
|
}
|
|
25012
|
-
Object.defineProperty(
|
|
25018
|
+
Object.defineProperty(L0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: QS });
|
|
25013
25019
|
const jh = "play", Vh = "pause", ru = "ready";
|
|
25014
|
-
class
|
|
25020
|
+
class O0 extends Xs {
|
|
25015
25021
|
constructor() {
|
|
25016
25022
|
super(...arguments), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: ru }), Object.defineProperty(this, "inHover", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "timer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "progressBar", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
25017
25023
|
}
|
|
@@ -25108,8 +25114,8 @@ class L0 extends Xs {
|
|
|
25108
25114
|
a.off("ready", i.onReady), a.off("Panzoom.startAnimation", i.onChange), a.off("Panzoom.endAnimation", i.onSettle), a.off("Panzoom.touchMove", i.onChange), i.stop();
|
|
25109
25115
|
}
|
|
25110
25116
|
}
|
|
25111
|
-
Object.defineProperty(
|
|
25112
|
-
class
|
|
25117
|
+
Object.defineProperty(O0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { autoStart: !0, pauseOnHover: !0, progressParentEl: null, showProgress: !0, timeout: 3e3 } });
|
|
25118
|
+
class F0 extends Xs {
|
|
25113
25119
|
constructor() {
|
|
25114
25120
|
super(...arguments), Object.defineProperty(this, "ref", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
25115
25121
|
}
|
|
@@ -25127,7 +25133,7 @@ class O0 extends Xs {
|
|
|
25127
25133
|
}, resume: (f, x) => {
|
|
25128
25134
|
var v, u, C;
|
|
25129
25135
|
!x || !x.cancelable || ((v = i.getSlide()) === null || v === void 0 ? void 0 : v.state) === Tn.Ready && (!((C = (u = i.carousel) === null || u === void 0 ? void 0 : u.panzoom) === null || C === void 0) && C.isResting) || x.preventDefault();
|
|
25130
|
-
} } }), a.attachPlugins({ Autoplay:
|
|
25136
|
+
} } }), a.attachPlugins({ Autoplay: O0 }), this.ref = a.plugins.Autoplay);
|
|
25131
25137
|
}
|
|
25132
25138
|
onReady(i) {
|
|
25133
25139
|
const a = i.carousel, c = this.ref;
|
|
@@ -25155,17 +25161,17 @@ class O0 extends Xs {
|
|
|
25155
25161
|
a.off("Carousel.init", i.onPrepare), a.off("Carousel.ready", i.onReady), a.off("done", i.onDone), a.off("keydown", i.onKeydown);
|
|
25156
25162
|
}
|
|
25157
25163
|
}
|
|
25158
|
-
Object.defineProperty(
|
|
25164
|
+
Object.defineProperty(F0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { key: " ", playOnStart: !1, progressParentEl: (s) => {
|
|
25159
25165
|
var i;
|
|
25160
25166
|
return ((i = s.instance.container) === null || i === void 0 ? void 0 : i.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]")) || s.instance.container;
|
|
25161
25167
|
}, timeout: 3e3 } });
|
|
25162
|
-
const
|
|
25168
|
+
const B0 = { classes: { container: "f-thumbs f-carousel__thumbs", viewport: "f-thumbs__viewport", track: "f-thumbs__track", slide: "f-thumbs__slide", isResting: "is-resting", isSelected: "is-selected", isLoading: "is-loading", hasThumbs: "has-thumbs" }, minCount: 2, parentEl: null, thumbTpl: '<button class="f-thumbs__slide__button" tabindex="0" type="button" aria-label="{{GOTO}}" data-carousel-index="%i"><img class="f-thumbs__slide__img" data-lazy-src="{{%s}}" alt="" /></button>', type: "modern" };
|
|
25163
25169
|
var Vr;
|
|
25164
25170
|
(function(s) {
|
|
25165
25171
|
s[s.Init = 0] = "Init", s[s.Ready = 1] = "Ready", s[s.Hidden = 2] = "Hidden";
|
|
25166
25172
|
})(Vr || (Vr = {}));
|
|
25167
|
-
const
|
|
25168
|
-
let
|
|
25173
|
+
const i_ = "isResting", $h = "thumbWidth", Cl = "thumbHeight", ur = "thumbClipWidth";
|
|
25174
|
+
let N0 = class extends Xs {
|
|
25169
25175
|
constructor() {
|
|
25170
25176
|
super(...arguments), Object.defineProperty(this, "type", { enumerable: !0, configurable: !0, writable: !0, value: "modern" }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "track", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "carousel", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "thumbWidth", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbClipWidth", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbHeight", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbGap", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbExtraGap", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: Vr.Init });
|
|
25171
25177
|
}
|
|
@@ -25185,12 +25191,12 @@ let B0 = class extends Xs {
|
|
|
25185
25191
|
const i = this.container, a = this.instance, c = a.panzoom, f = this.carousel, x = f ? f.panzoom : null, v = a.page;
|
|
25186
25192
|
if (c && f && x) {
|
|
25187
25193
|
if (c.isDragging) {
|
|
25188
|
-
li(i, this.cn(
|
|
25194
|
+
li(i, this.cn(i_));
|
|
25189
25195
|
let u = ((s = f.pages[v]) === null || s === void 0 ? void 0 : s.pos) || 0;
|
|
25190
25196
|
u += a.getProgress(v) * (this[ur] + this.thumbGap);
|
|
25191
25197
|
let C = x.getBounds();
|
|
25192
25198
|
-1 * u > C.x.min && -1 * u < C.x.max && x.panTo({ x: -1 * u, friction: 0.12 });
|
|
25193
|
-
} else fr(i, this.cn(
|
|
25199
|
+
} else fr(i, this.cn(i_), c.isResting);
|
|
25194
25200
|
this.shiftModern();
|
|
25195
25201
|
}
|
|
25196
25202
|
}
|
|
@@ -25318,9 +25324,9 @@ let B0 = class extends Xs {
|
|
|
25318
25324
|
i.off("initSlide", s.onInitSlide), i.off("initSlides", s.onInitSlides), i.off(["change", "Panzoom.afterTransform"], s.onChange), i.off("Panzoom.refresh", s.onRefresh), s.cleanup();
|
|
25319
25325
|
}
|
|
25320
25326
|
};
|
|
25321
|
-
Object.defineProperty(
|
|
25322
|
-
const tT = Object.assign(Object.assign({},
|
|
25323
|
-
class
|
|
25327
|
+
Object.defineProperty(N0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: B0 });
|
|
25328
|
+
const tT = Object.assign(Object.assign({}, B0), { key: "t", showOnStart: !0, parentEl: null }), n_ = "is-masked", s_ = "aria-hidden";
|
|
25329
|
+
class j0 extends Xs {
|
|
25324
25330
|
constructor() {
|
|
25325
25331
|
super(...arguments), Object.defineProperty(this, "ref", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "hidden", { enumerable: !0, configurable: !0, writable: !0, value: !1 });
|
|
25326
25332
|
}
|
|
@@ -25354,7 +25360,7 @@ class N0 extends Xs {
|
|
|
25354
25360
|
C.style.transition = "", a.show();
|
|
25355
25361
|
}));
|
|
25356
25362
|
} } });
|
|
25357
|
-
v.Carousel = v.Carousel || {}, v.Carousel.on = Qn(((i = a.options.Carousel) === null || i === void 0 ? void 0 : i.on) || {}, { click: this.onClick, createSlide: this.onCreateSlide }), f.options.Thumbs = v, f.attachPlugins({ Thumbs:
|
|
25363
|
+
v.Carousel = v.Carousel || {}, v.Carousel.on = Qn(((i = a.options.Carousel) === null || i === void 0 ? void 0 : i.on) || {}, { click: this.onClick, createSlide: this.onCreateSlide }), f.options.Thumbs = v, f.attachPlugins({ Thumbs: N0 }), a.ref = f.plugins.Thumbs, a.option("showOnStart") || (a.ref.state = Vr.Hidden, a.hidden = !0);
|
|
25358
25364
|
}
|
|
25359
25365
|
onResize() {
|
|
25360
25366
|
var i;
|
|
@@ -25373,11 +25379,11 @@ class N0 extends Xs {
|
|
|
25373
25379
|
const i = this.ref;
|
|
25374
25380
|
if (!i || i.isDisabled()) return;
|
|
25375
25381
|
const a = i.container;
|
|
25376
|
-
a && (this.refresh(), a.offsetHeight, a.removeAttribute(
|
|
25382
|
+
a && (this.refresh(), a.offsetHeight, a.removeAttribute(s_), a.classList.remove(n_), this.hidden = !1);
|
|
25377
25383
|
}
|
|
25378
25384
|
hide() {
|
|
25379
25385
|
const i = this.ref, a = i && i.container;
|
|
25380
|
-
a && (this.refresh(), a.offsetHeight, a.classList.add(
|
|
25386
|
+
a && (this.refresh(), a.offsetHeight, a.classList.add(n_), a.setAttribute(s_, "true")), this.hidden = !0;
|
|
25381
25387
|
}
|
|
25382
25388
|
refresh() {
|
|
25383
25389
|
const i = this.ref;
|
|
@@ -25395,14 +25401,14 @@ class N0 extends Xs {
|
|
|
25395
25401
|
c.off("Carousel.init", a.onInit), c.off("resize", a.onResize), c.off("keydown", a.onKeydown), (i = c.carousel) === null || i === void 0 || i.detachPlugins(["Thumbs"]), a.ref = null;
|
|
25396
25402
|
}
|
|
25397
25403
|
}
|
|
25398
|
-
Object.defineProperty(
|
|
25404
|
+
Object.defineProperty(j0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: tT });
|
|
25399
25405
|
const rf = { panLeft: { icon: '<svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg>', change: { panX: -100 } }, panRight: { icon: '<svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg>', change: { panX: 100 } }, panUp: { icon: '<svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg>', change: { panY: -100 } }, panDown: { icon: '<svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg>', change: { panY: 100 } }, zoomIn: { icon: '<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg>', action: "zoomIn" }, zoomOut: { icon: '<svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>', action: "zoomOut" }, toggle1to1: { icon: '<svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg>', action: "toggleZoom" }, toggleZoom: { icon: '<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>', action: "toggleZoom" }, iterateZoom: { icon: '<svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg>', action: "iterateZoom" }, rotateCCW: { icon: '<svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg>', action: "rotateCCW" }, rotateCW: { icon: '<svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg>', action: "rotateCW" }, flipX: { icon: '<svg style="stroke-width: 1.3"><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg>', action: "flipX" }, flipY: { icon: '<svg style="stroke-width: 1.3"><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg>', action: "flipY" }, fitX: { icon: '<svg><path d="M4 12V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v6M10 18H3M21 18h-7M6 15l-3 3 3 3M18 15l3 3-3 3"/></svg>', action: "fitX" }, fitY: { icon: '<svg><path d="M12 20H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h6M18 14v7M18 3v7M15 18l3 3 3-3M15 6l3-3 3 3"/></svg>', action: "fitY" }, reset: { icon: '<svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg>', action: "reset" }, toggleFS: { icon: '<svg><g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g></svg>', action: "toggleFS" } };
|
|
25400
25406
|
var Sa;
|
|
25401
25407
|
(function(s) {
|
|
25402
25408
|
s[s.Init = 0] = "Init", s[s.Ready = 1] = "Ready", s[s.Disabled = 2] = "Disabled";
|
|
25403
25409
|
})(Sa || (Sa = {}));
|
|
25404
|
-
const iT = { absolute: "auto", display: { left: ["infobar"], middle: [], right: ["iterateZoom", "slideshow", "fullscreen", "thumbs", "close"] }, enabled: "auto", items: { infobar: { tpl: '<div class="fancybox__infobar" tabindex="-1"><span data-fancybox-current-index></span>/<span data-fancybox-count></span></div>' }, download: { tpl: '<a class="f-button" title="{{DOWNLOAD}}" data-fancybox-download href="javasript:;"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></a>' }, prev: { tpl: '<button class="f-button" title="{{PREV}}" data-fancybox-prev><svg><path d="m15 6-6 6 6 6"/></svg></button>' }, next: { tpl: '<button class="f-button" title="{{NEXT}}" data-fancybox-next><svg><path d="m9 6 6 6-6 6"/></svg></button>' }, slideshow: { tpl: '<button class="f-button" title="{{TOGGLE_SLIDESHOW}}" data-fancybox-toggle-slideshow><svg><g><path d="M8 4v16l13 -8z"></path></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>' }, fullscreen: { tpl: '<button class="f-button" title="{{TOGGLE_FULLSCREEN}}" data-fancybox-toggle-fullscreen><svg><g><path d="M4 8V6a2 2 0 0 1 2-2h2M4 16v2a2 2 0 0 0 2 2h2M16 4h2a2 2 0 0 1 2 2v2M16 20h2a2 2 0 0 0 2-2v-2"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>' }, thumbs: { tpl: '<button class="f-button" title="{{TOGGLE_THUMBS}}" data-fancybox-toggle-thumbs><svg><circle cx="5.5" cy="5.5" r="1"/><circle cx="12" cy="5.5" r="1"/><circle cx="18.5" cy="5.5" r="1"/><circle cx="5.5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18.5" cy="12" r="1"/><circle cx="5.5" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><circle cx="18.5" cy="18.5" r="1"/></svg></button>' }, close: { tpl: '<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="m19.5 4.5-15 15M4.5 4.5l15 15"/></svg></button>' } }, parentEl: null }, nT = { tabindex: "-1", width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
25405
|
-
class
|
|
25410
|
+
const iT = { absolute: "auto", display: { left: ["infobar"], middle: [], right: ["iterateZoom", "slideshow", "fullscreen", "thumbs", "close"] }, enabled: "auto", items: { infobar: { tpl: '<div class="fancybox__infobar" tabindex="-1"><span data-fancybox-current-index></span>/<span data-fancybox-count></span></div>' }, download: { tpl: '<a class="f-button" title="{{DOWNLOAD}}" data-fancybox-download href="javasript:;"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></a>' }, prev: { tpl: '<button class="f-button" title="{{PREV}}" data-fancybox-prev><svg><path d="m15 6-6 6 6 6"/></svg></button>' }, next: { tpl: '<button class="f-button" title="{{NEXT}}" data-fancybox-next><svg><path d="m9 6 6 6-6 6"/></svg></button>' }, slideshow: { tpl: '<button class="f-button" title="{{TOGGLE_SLIDESHOW}}" data-fancybox-toggle-slideshow><svg><g><path d="M8 4v16l13 -8z"></path></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>' }, fullscreen: { tpl: '<button class="f-button" title="{{TOGGLE_FULLSCREEN}}" data-fancybox-toggle-fullscreen><svg><g><path d="M4 8V6a2 2 0 0 1 2-2h2M4 16v2a2 2 0 0 0 2 2h2M16 4h2a2 2 0 0 1 2 2v2M16 20h2a2 2 0 0 0 2-2v-2"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>' }, thumbs: { tpl: '<button class="f-button" title="{{TOGGLE_THUMBS}}" data-fancybox-toggle-thumbs><svg><circle cx="5.5" cy="5.5" r="1"/><circle cx="12" cy="5.5" r="1"/><circle cx="18.5" cy="5.5" r="1"/><circle cx="5.5" cy="12" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="18.5" cy="12" r="1"/><circle cx="5.5" cy="18.5" r="1"/><circle cx="12" cy="18.5" r="1"/><circle cx="18.5" cy="18.5" r="1"/></svg></button>' }, close: { tpl: '<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="m19.5 4.5-15 15M4.5 4.5l15 15"/></svg></button>' } }, parentEl: null }, nT = { tabindex: "-1", width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, r_ = "has-toolbar", of = "fancybox__toolbar";
|
|
25411
|
+
class V0 extends Xs {
|
|
25406
25412
|
constructor() {
|
|
25407
25413
|
super(...arguments), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: Sa.Init }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
25408
25414
|
}
|
|
@@ -25487,11 +25493,11 @@ class j0 extends Xs {
|
|
|
25487
25493
|
if (!i) return null;
|
|
25488
25494
|
const a = this.option("parentEl") || i;
|
|
25489
25495
|
let c = a.querySelector("." + of);
|
|
25490
|
-
return c || (c = document.createElement("div"), dt(c, of), a.prepend(c)), c.addEventListener("click", this.onClick, { passive: !1, capture: !0 }), i && dt(i,
|
|
25496
|
+
return c || (c = document.createElement("div"), dt(c, of), a.prepend(c)), c.addEventListener("click", this.onClick, { passive: !1, capture: !0 }), i && dt(i, r_), this.container = c, c;
|
|
25491
25497
|
}
|
|
25492
25498
|
createEl(i) {
|
|
25493
25499
|
const a = this.instance, c = a.carousel;
|
|
25494
|
-
if (!c || i === "toggleFS" || i === "fullscreen" && !
|
|
25500
|
+
if (!c || i === "toggleFS" || i === "fullscreen" && !C0()) return null;
|
|
25495
25501
|
let f = null;
|
|
25496
25502
|
const x = c.slides.length || 0;
|
|
25497
25503
|
let v = 0, u = 0;
|
|
@@ -25521,7 +25527,7 @@ class j0 extends Xs {
|
|
|
25521
25527
|
const i = this.container;
|
|
25522
25528
|
i && i.remove(), this.container = null, this.state = Sa.Disabled;
|
|
25523
25529
|
const a = this.instance.container;
|
|
25524
|
-
a && li(a,
|
|
25530
|
+
a && li(a, r_);
|
|
25525
25531
|
}
|
|
25526
25532
|
attach() {
|
|
25527
25533
|
const i = this, a = i.instance;
|
|
@@ -25532,15 +25538,15 @@ class j0 extends Xs {
|
|
|
25532
25538
|
a.off("Carousel.initSlides", i.onReady), a.off("done", i.onDone), a.off(["reveal", "Carousel.change"], i.onChange), i.removeContainer();
|
|
25533
25539
|
}
|
|
25534
25540
|
}
|
|
25535
|
-
Object.defineProperty(
|
|
25541
|
+
Object.defineProperty(V0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: iT });
|
|
25536
25542
|
const sT = { Hash: class extends Xs {
|
|
25537
25543
|
onReady() {
|
|
25538
25544
|
lu = !1;
|
|
25539
25545
|
}
|
|
25540
25546
|
onChange(s) {
|
|
25541
25547
|
ba && clearTimeout(ba);
|
|
25542
|
-
const { hash: i } =
|
|
25543
|
-
c && (
|
|
25548
|
+
const { hash: i } = I0(), { hash: a } = nd(), c = s.isOpeningSlide(s.getSlide());
|
|
25549
|
+
c && (Jy = a === i ? "" : a), i && i !== a && (ba = setTimeout(() => {
|
|
25544
25550
|
try {
|
|
25545
25551
|
if (s.state === on.Ready) {
|
|
25546
25552
|
let f = "replaceState";
|
|
@@ -25553,7 +25559,7 @@ const sT = { Hash: class extends Xs {
|
|
|
25553
25559
|
onClose(s) {
|
|
25554
25560
|
if (ba && clearTimeout(ba), !lu && Bh) return Bh = !1, lu = !1, void window.history.back();
|
|
25555
25561
|
if (!lu) try {
|
|
25556
|
-
window.history.replaceState({}, document.title, window.location.pathname + window.location.search + (
|
|
25562
|
+
window.history.replaceState({}, document.title, window.location.pathname + window.location.search + (Jy || ""));
|
|
25557
25563
|
} catch {
|
|
25558
25564
|
}
|
|
25559
25565
|
}
|
|
@@ -25569,16 +25575,16 @@ const sT = { Hash: class extends Xs {
|
|
|
25569
25575
|
return nd();
|
|
25570
25576
|
}
|
|
25571
25577
|
static startFromUrl() {
|
|
25572
|
-
|
|
25578
|
+
A0();
|
|
25573
25579
|
}
|
|
25574
25580
|
static destroy() {
|
|
25575
|
-
window.removeEventListener("hashchange",
|
|
25581
|
+
window.removeEventListener("hashchange", z0, !1);
|
|
25576
25582
|
}
|
|
25577
|
-
}, Html:
|
|
25583
|
+
}, Html: L0, Images: R0, Slideshow: F0, Thumbs: j0, Toolbar: V0 }, o_ = "with-fancybox", af = "hide-scrollbar", a_ = "--fancybox-scrollbar-compensate", l_ = "--fancybox-body-margin", lf = "aria-hidden", cf = "is-using-tab", uf = "is-animated", c_ = "is-compact", u_ = "is-loading", hf = "is-opening", Uh = "has-caption", Il = "disabled", _a = "tabindex", h_ = "download", df = "href", Al = "src", Lo = (s) => typeof s == "string", d_ = function() {
|
|
25578
25584
|
var s = window.getSelection();
|
|
25579
25585
|
return !!s && s.type === "Range";
|
|
25580
25586
|
};
|
|
25581
|
-
let zs, Rs = null, va = null,
|
|
25587
|
+
let zs, Rs = null, va = null, p_ = 0, f_ = 0, m_ = 0, g_ = 0;
|
|
25582
25588
|
const Dl = /* @__PURE__ */ new Map();
|
|
25583
25589
|
let rT = 0;
|
|
25584
25590
|
class Vt extends Jf {
|
|
@@ -25589,7 +25595,7 @@ class Vt extends Jf {
|
|
|
25589
25595
|
return this.option("compact");
|
|
25590
25596
|
}
|
|
25591
25597
|
constructor(i = [], a = {}, c = {}) {
|
|
25592
|
-
super(a), Object.defineProperty(this, "userSlides", { enumerable: !0, configurable: !0, writable: !0, value: [] }), Object.defineProperty(this, "userPlugins", { enumerable: !0, configurable: !0, writable: !0, value: {} }), Object.defineProperty(this, "idle", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "idleTimer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "clickTimer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "pwt", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "ignoreFocusChange", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "startedFs", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: on.Init }), Object.defineProperty(this, "id", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "caption", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "footer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "carousel", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "lastFocus", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "prevMouseMoveEvent", { enumerable: !0, configurable: !0, writable: !0, value: void 0 }), zs || (zs =
|
|
25598
|
+
super(a), Object.defineProperty(this, "userSlides", { enumerable: !0, configurable: !0, writable: !0, value: [] }), Object.defineProperty(this, "userPlugins", { enumerable: !0, configurable: !0, writable: !0, value: {} }), Object.defineProperty(this, "idle", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "idleTimer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "clickTimer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "pwt", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "ignoreFocusChange", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "startedFs", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: on.Init }), Object.defineProperty(this, "id", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "caption", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "footer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "carousel", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "lastFocus", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "prevMouseMoveEvent", { enumerable: !0, configurable: !0, writable: !0, value: void 0 }), zs || (zs = C0()), this.id = a.id || ++rT, Dl.set(this.id, this), this.userSlides = i, this.userPlugins = c, queueMicrotask(() => {
|
|
25593
25599
|
this.init();
|
|
25594
25600
|
});
|
|
25595
25601
|
}
|
|
@@ -25601,7 +25607,7 @@ class Vt extends Jf {
|
|
|
25601
25607
|
if (c.classList.contains(af)) return;
|
|
25602
25608
|
let x = window.innerWidth - f.getBoundingClientRect().width;
|
|
25603
25609
|
const v = parseFloat(window.getComputedStyle(c).marginRight);
|
|
25604
|
-
x < 0 && (x = 0), f.style.setProperty(
|
|
25610
|
+
x < 0 && (x = 0), f.style.setProperty(a_, `${x}px`), v && c.style.setProperty(l_, `${v}px`), c.classList.add(af);
|
|
25605
25611
|
})(), this.initLayout(), this.scale();
|
|
25606
25612
|
const i = () => {
|
|
25607
25613
|
this.initCarousel(this.userSlides), this.state = on.Ready, this.attachEvents(), this.emit("ready"), setTimeout(() => {
|
|
@@ -25616,8 +25622,8 @@ class Vt extends Jf {
|
|
|
25616
25622
|
var i, a;
|
|
25617
25623
|
const c = this.option("parentEl") || document.body, f = pr(this.localize(this.option("tpl.main") || ""));
|
|
25618
25624
|
if (f) {
|
|
25619
|
-
if (f.setAttribute("id", `fancybox-${this.id}`), f.setAttribute("aria-label", this.localize("{{MODAL}}")), f.classList.toggle(
|
|
25620
|
-
|
|
25625
|
+
if (f.setAttribute("id", `fancybox-${this.id}`), f.setAttribute("aria-label", this.localize("{{MODAL}}")), f.classList.toggle(c_, this.isCompact), dt(f, this.option("mainClass") || ""), dt(f, hf), this.container = f, this.footer = f.querySelector(".fancybox__footer"), c.appendChild(f), dt(document.documentElement, o_), Rs && va || (Rs = document.createElement("span"), dt(Rs, "fancybox-focus-guard"), Rs.setAttribute(_a, "0"), Rs.setAttribute(lf, "true"), Rs.setAttribute("aria-label", "Focus guard"), va = Rs.cloneNode(), (i = f.parentElement) === null || i === void 0 || i.insertBefore(Rs, f), (a = f.parentElement) === null || a === void 0 || a.append(va)), f.addEventListener("mousedown", (x) => {
|
|
25626
|
+
p_ = x.pageX, f_ = x.pageY, li(f, cf);
|
|
25621
25627
|
}), this.option("closeExisting")) for (const x of Dl.values()) x.id !== this.id && x.close();
|
|
25622
25628
|
else this.option("animated") && (dt(f, uf), setTimeout(() => {
|
|
25623
25629
|
this.isClosing() || li(f, uf);
|
|
@@ -25678,7 +25684,7 @@ class Vt extends Jf {
|
|
|
25678
25684
|
C || u.type !== "image" || u.error || !Lo(u[Al]) || (C = u[Al]);
|
|
25679
25685
|
for (const I of v.querySelectorAll("[data-fancybox-download]")) {
|
|
25680
25686
|
const A = u.downloadFilename;
|
|
25681
|
-
C ? (I.removeAttribute(Il), I.removeAttribute(_a), I.setAttribute(df, C), I.setAttribute(
|
|
25687
|
+
C ? (I.removeAttribute(Il), I.removeAttribute(_a), I.setAttribute(df, C), I.setAttribute(h_, A || C), I.setAttribute("target", "_blank")) : (I.setAttribute(Il, ""), I.setAttribute(_a, "-1"), I.removeAttribute(df), I.removeAttribute(h_));
|
|
25682
25688
|
}
|
|
25683
25689
|
}), this.emit("initCarousel");
|
|
25684
25690
|
}
|
|
@@ -25716,9 +25722,9 @@ class Vt extends Jf {
|
|
|
25716
25722
|
if (x.closest(".fancybox-spinner") || x.closest("[data-fancybox-close]")) return i.preventDefault(), void this.close(i);
|
|
25717
25723
|
if (x.closest("[data-fancybox-prev]")) return i.preventDefault(), void this.prev();
|
|
25718
25724
|
if (x.closest("[data-fancybox-next]")) return i.preventDefault(), void this.next();
|
|
25719
|
-
if (i.type === "click" && i.detail === 0 || Math.abs(i.pageX -
|
|
25725
|
+
if (i.type === "click" && i.detail === 0 || Math.abs(i.pageX - p_) > 30 || Math.abs(i.pageY - f_) > 30) return;
|
|
25720
25726
|
const v = document.activeElement;
|
|
25721
|
-
if (
|
|
25727
|
+
if (d_() && v && c.contains(v)) return;
|
|
25722
25728
|
if (f && ((a = this.getSlide()) === null || a === void 0 ? void 0 : a.type) === "image") return void (this.clickTimer ? (clearTimeout(this.clickTimer), this.clickTimer = null) : this.clickTimer = setTimeout(() => {
|
|
25723
25729
|
this.toggleIdle(), this.clickTimer = null;
|
|
25724
25730
|
}, 350));
|
|
@@ -25729,7 +25735,7 @@ class Vt extends Jf {
|
|
|
25729
25735
|
if (v.closest("[contenteditable]")) return;
|
|
25730
25736
|
x.matches(tf) || v.blur();
|
|
25731
25737
|
}
|
|
25732
|
-
if (
|
|
25738
|
+
if (d_()) return;
|
|
25733
25739
|
u = this.option("contentClick");
|
|
25734
25740
|
} else x.closest(".fancybox__carousel") && !x.matches(tf) && (u = this.option("backdropClick"));
|
|
25735
25741
|
u === "close" ? (i.preventDefault(), this.close(i)) : u === "next" ? (i.preventDefault(), this.next()) : u === "prev" && (i.preventDefault(), this.prev());
|
|
@@ -25744,7 +25750,7 @@ class Vt extends Jf {
|
|
|
25744
25750
|
this.pwt && u - this.pwt < 300 ? f && i.preventDefault() : (this.pwt = u, this.emit("wheel", i, v), i.defaultPrevented || (c === "close" ? (i.preventDefault(), this.close(i)) : c === "slide" && (td(a) || (i.preventDefault(), this[v > 0 ? "prev" : "next"]()))));
|
|
25745
25751
|
}
|
|
25746
25752
|
onScroll() {
|
|
25747
|
-
window.scrollTo(
|
|
25753
|
+
window.scrollTo(m_, g_);
|
|
25748
25754
|
}
|
|
25749
25755
|
onKeydown(i) {
|
|
25750
25756
|
if (!this.isTopmost()) return;
|
|
@@ -25761,7 +25767,7 @@ class Vt extends Jf {
|
|
|
25761
25767
|
const i = this.container;
|
|
25762
25768
|
if (!i) return;
|
|
25763
25769
|
const a = this.isCompact;
|
|
25764
|
-
i.classList.toggle(
|
|
25770
|
+
i.classList.toggle(c_, a), this.manageCaption(this.getSlide()), this.isCompact ? this.clearIdle() : this.endIdle(), this.scale(), this.emit("resize");
|
|
25765
25771
|
}
|
|
25766
25772
|
onFocus(i) {
|
|
25767
25773
|
this.isTopmost() && this.checkFocus(i);
|
|
@@ -25833,7 +25839,7 @@ class Vt extends Jf {
|
|
|
25833
25839
|
}
|
|
25834
25840
|
}
|
|
25835
25841
|
let R = null;
|
|
25836
|
-
i ? (!f || A.indexOf(f) < 0) && (R = z || x, A.length && (c === va ? R = A[0] : this.lastFocus !== x && c !== Rs || (R = A[A.length - 1]))) : R = u && u.type === "image" ? x : z || x, R &&
|
|
25842
|
+
i ? (!f || A.indexOf(f) < 0) && (R = z || x, A.length && (c === va ? R = A[0] : this.lastFocus !== x && c !== Rs || (R = A[A.length - 1]))) : R = u && u.type === "image" ? x : z || x, R && Ky(R), this.lastFocus = document.activeElement, this.ignoreFocusChange = !1;
|
|
25837
25843
|
}
|
|
25838
25844
|
next() {
|
|
25839
25845
|
const i = this.carousel;
|
|
@@ -25895,7 +25901,7 @@ class Vt extends Jf {
|
|
|
25895
25901
|
showLoading(i) {
|
|
25896
25902
|
i.state = Tn.Loading;
|
|
25897
25903
|
const a = i.el;
|
|
25898
|
-
a && (dt(a,
|
|
25904
|
+
a && (dt(a, u_), this.emit("loading", i), i.spinnerEl || setTimeout(() => {
|
|
25899
25905
|
if (!this.isClosing() && !i.spinnerEl && i.state === Tn.Loading) {
|
|
25900
25906
|
let c = pr(Qf);
|
|
25901
25907
|
dt(c, "fancybox-spinner"), i.spinnerEl = c, a.prepend(c), this.animate(c, "f-fadeIn");
|
|
@@ -25906,7 +25912,7 @@ class Vt extends Jf {
|
|
|
25906
25912
|
const a = i.el;
|
|
25907
25913
|
if (!a) return;
|
|
25908
25914
|
const c = i.spinnerEl;
|
|
25909
|
-
this.isClosing() ? c == null || c.remove() : (li(a,
|
|
25915
|
+
this.isClosing() ? c == null || c.remove() : (li(a, u_), c && this.animate(c, "f-fadeOut", () => {
|
|
25910
25916
|
c.remove();
|
|
25911
25917
|
}), i.state === Tn.Loading && (this.emit("loaded", i), i.state = Tn.Ready));
|
|
25912
25918
|
}
|
|
@@ -25973,7 +25979,7 @@ class Vt extends Jf {
|
|
|
25973
25979
|
var c, f;
|
|
25974
25980
|
this.state = on.Closing, this.clearIdle(), this.detachEvents();
|
|
25975
25981
|
const x = this.container, v = this.carousel, u = this.getSlide(), C = u && this.option("placeFocusBack") ? u.triggerEl || this.option("triggerEl") : null;
|
|
25976
|
-
if (C && (
|
|
25982
|
+
if (C && (P0(C) ? Ky(C) : C.focus()), x && (li(x, hf), dt(x, "is-closing"), x.setAttribute(lf, "true"), this.option("animated") && dt(x, uf), x.style.pointerEvents = "none"), v) {
|
|
25977
25983
|
v.clearTransitions(), (c = v.panzoom) === null || c === void 0 || c.destroy(), (f = v.plugins.Navigation) === null || f === void 0 || f.detach();
|
|
25978
25984
|
for (const I of v.slides) {
|
|
25979
25985
|
I.state = Tn.Closing, this.hideLoading(I);
|
|
@@ -25983,7 +25989,7 @@ class Vt extends Jf {
|
|
|
25983
25989
|
z && (z.stop(), z.detachEvents(), z.detachObserver()), this.isCurrentSlide(I) || v.emit("removeSlide", I);
|
|
25984
25990
|
}
|
|
25985
25991
|
}
|
|
25986
|
-
|
|
25992
|
+
m_ = window.scrollX, g_ = window.scrollY, window.addEventListener("scroll", this.onScroll), this.emit("close", i), this.state !== on.CustomClosing ? (a === void 0 && u && (a = this.optionFor(u, "hideClass")), a && u ? (this.animate(u.contentEl, a, () => {
|
|
25987
25993
|
v && v.emit("removeSlide", u);
|
|
25988
25994
|
}), setTimeout(() => {
|
|
25989
25995
|
this.destroy();
|
|
@@ -25998,10 +26004,10 @@ class Vt extends Jf {
|
|
|
25998
26004
|
const a = this.container;
|
|
25999
26005
|
a && a.remove(), Dl.delete(this.id);
|
|
26000
26006
|
const c = Vt.getInstance();
|
|
26001
|
-
c ? c.focus() : (Rs && (Rs.remove(), Rs = null), va && (va.remove(), va = null), li(document.documentElement,
|
|
26007
|
+
c ? c.focus() : (Rs && (Rs.remove(), Rs = null), va && (va.remove(), va = null), li(document.documentElement, o_), (() => {
|
|
26002
26008
|
if (!hu) return;
|
|
26003
26009
|
const f = document, x = f.body;
|
|
26004
|
-
x.classList.remove(af), x.style.setProperty(
|
|
26010
|
+
x.classList.remove(af), x.style.setProperty(l_, ""), f.documentElement.style.setProperty(a_, "");
|
|
26005
26011
|
})(), this.emit("destroy"));
|
|
26006
26012
|
}
|
|
26007
26013
|
static bind(i, a, c) {
|
|
@@ -26117,7 +26123,7 @@ const oT = {
|
|
|
26117
26123
|
}, aT = { ref: "container" };
|
|
26118
26124
|
function lT(s, i, a, c, f, x) {
|
|
26119
26125
|
return ht(), _t("div", aT, [
|
|
26120
|
-
|
|
26126
|
+
Db(s.$slots, "default")
|
|
26121
26127
|
], 512);
|
|
26122
26128
|
}
|
|
26123
26129
|
const cT = /* @__PURE__ */ qi(oT, [["render", lT]]), uT = {
|
|
@@ -26299,7 +26305,7 @@ function IT(s, i, a, c, f, x) {
|
|
|
26299
26305
|
]),
|
|
26300
26306
|
re("div", null, [
|
|
26301
26307
|
re("div", {
|
|
26302
|
-
class:
|
|
26308
|
+
class: M_(["flex items-center justify-center gap-2 hover:bg-gray-200 p-1 rounded", {
|
|
26303
26309
|
disabled: a.readonly,
|
|
26304
26310
|
"hover:cursor-pointer": !a.readonly
|
|
26305
26311
|
}]),
|
|
@@ -26356,12 +26362,12 @@ const AT = /* @__PURE__ */ qi(fT, [["render", IT]]);
|
|
|
26356
26362
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
26357
26363
|
//! license : MIT
|
|
26358
26364
|
//! momentjs.com
|
|
26359
|
-
var
|
|
26365
|
+
var $0;
|
|
26360
26366
|
function Je() {
|
|
26361
|
-
return
|
|
26367
|
+
return $0.apply(null, arguments);
|
|
26362
26368
|
}
|
|
26363
26369
|
function DT(s) {
|
|
26364
|
-
|
|
26370
|
+
$0 = s;
|
|
26365
26371
|
}
|
|
26366
26372
|
function Ws(s) {
|
|
26367
26373
|
return s instanceof Array || Object.prototype.toString.call(s) === "[object Array]";
|
|
@@ -26390,7 +26396,7 @@ function Gr(s) {
|
|
|
26390
26396
|
function Tu(s) {
|
|
26391
26397
|
return s instanceof Date || Object.prototype.toString.call(s) === "[object Date]";
|
|
26392
26398
|
}
|
|
26393
|
-
function
|
|
26399
|
+
function U0(s, i) {
|
|
26394
26400
|
var a = [], c, f = s.length;
|
|
26395
26401
|
for (c = 0; c < f; ++c)
|
|
26396
26402
|
a.push(i(s[c], c));
|
|
@@ -26402,7 +26408,7 @@ function Fo(s, i) {
|
|
|
26402
26408
|
return ti(i, "toString") && (s.toString = i.toString), ti(i, "valueOf") && (s.valueOf = i.valueOf), s;
|
|
26403
26409
|
}
|
|
26404
26410
|
function gr(s, i, a, c) {
|
|
26405
|
-
return
|
|
26411
|
+
return dv(s, i, a, c, !0).utc();
|
|
26406
26412
|
}
|
|
26407
26413
|
function zT() {
|
|
26408
26414
|
return {
|
|
@@ -26449,12 +26455,12 @@ function md(s) {
|
|
|
26449
26455
|
var i = gr(NaN);
|
|
26450
26456
|
return s != null ? Fo(Lt(i), s) : Lt(i).userInvalidated = !0, i;
|
|
26451
26457
|
}
|
|
26452
|
-
var
|
|
26458
|
+
var y_ = Je.momentProperties = [], pf = !1;
|
|
26453
26459
|
function im(s, i) {
|
|
26454
|
-
var a, c, f, x =
|
|
26460
|
+
var a, c, f, x = y_.length;
|
|
26455
26461
|
if (Xn(i._isAMomentObject) || (s._isAMomentObject = i._isAMomentObject), Xn(i._i) || (s._i = i._i), Xn(i._f) || (s._f = i._f), Xn(i._l) || (s._l = i._l), Xn(i._strict) || (s._strict = i._strict), Xn(i._tzm) || (s._tzm = i._tzm), Xn(i._isUTC) || (s._isUTC = i._isUTC), Xn(i._offset) || (s._offset = i._offset), Xn(i._pf) || (s._pf = Lt(i)), Xn(i._locale) || (s._locale = i._locale), x > 0)
|
|
26456
26462
|
for (a = 0; a < x; a++)
|
|
26457
|
-
c =
|
|
26463
|
+
c = y_[a], f = i[c], Xn(f) || (s[c] = f);
|
|
26458
26464
|
return s;
|
|
26459
26465
|
}
|
|
26460
26466
|
function ku(s) {
|
|
@@ -26463,7 +26469,7 @@ function ku(s) {
|
|
|
26463
26469
|
function Gs(s) {
|
|
26464
26470
|
return s instanceof ku || s != null && s._isAMomentObject != null;
|
|
26465
26471
|
}
|
|
26466
|
-
function
|
|
26472
|
+
function q0(s) {
|
|
26467
26473
|
Je.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + s);
|
|
26468
26474
|
}
|
|
26469
26475
|
function Os(s, i) {
|
|
@@ -26482,7 +26488,7 @@ function Os(s, i) {
|
|
|
26482
26488
|
f = arguments[x];
|
|
26483
26489
|
c.push(f);
|
|
26484
26490
|
}
|
|
26485
|
-
|
|
26491
|
+
q0(
|
|
26486
26492
|
s + `
|
|
26487
26493
|
Arguments: ` + Array.prototype.slice.call(c).join("") + `
|
|
26488
26494
|
` + new Error().stack
|
|
@@ -26491,9 +26497,9 @@ Arguments: ` + Array.prototype.slice.call(c).join("") + `
|
|
|
26491
26497
|
return i.apply(this, arguments);
|
|
26492
26498
|
}, i);
|
|
26493
26499
|
}
|
|
26494
|
-
var
|
|
26495
|
-
function
|
|
26496
|
-
Je.deprecationHandler != null && Je.deprecationHandler(s, i),
|
|
26500
|
+
var __ = {};
|
|
26501
|
+
function H0(s, i) {
|
|
26502
|
+
Je.deprecationHandler != null && Je.deprecationHandler(s, i), __[s] || (q0(i), __[s] = !0);
|
|
26497
26503
|
}
|
|
26498
26504
|
Je.suppressDeprecationWarnings = !1;
|
|
26499
26505
|
Je.deprecationHandler = null;
|
|
@@ -26571,9 +26577,9 @@ function BT(s) {
|
|
|
26571
26577
|
};
|
|
26572
26578
|
}
|
|
26573
26579
|
function Gh(s, i) {
|
|
26574
|
-
return s.isValid() ? (i =
|
|
26580
|
+
return s.isValid() ? (i = Z0(i, s.localeData()), ff[i] = ff[i] || BT(i), ff[i](s)) : s.localeData().invalidDate();
|
|
26575
26581
|
}
|
|
26576
|
-
function
|
|
26582
|
+
function Z0(s, i) {
|
|
26577
26583
|
var a = 5;
|
|
26578
26584
|
function c(f) {
|
|
26579
26585
|
return i.longDateFormat(f) || f;
|
|
@@ -26633,7 +26639,7 @@ function GT(s, i) {
|
|
|
26633
26639
|
var a = this._relativeTime[s > 0 ? "future" : "past"];
|
|
26634
26640
|
return yr(a) ? a(i) : a.replace(/%s/i, i);
|
|
26635
26641
|
}
|
|
26636
|
-
var
|
|
26642
|
+
var v_ = {
|
|
26637
26643
|
D: "date",
|
|
26638
26644
|
dates: "date",
|
|
26639
26645
|
date: "date",
|
|
@@ -26684,7 +26690,7 @@ var __ = {
|
|
|
26684
26690
|
year: "year"
|
|
26685
26691
|
};
|
|
26686
26692
|
function Fs(s) {
|
|
26687
|
-
return typeof s == "string" ?
|
|
26693
|
+
return typeof s == "string" ? v_[s] || v_[s.toLowerCase()] : void 0;
|
|
26688
26694
|
}
|
|
26689
26695
|
function rm(s) {
|
|
26690
26696
|
var i = {}, a, c;
|
|
@@ -26718,7 +26724,7 @@ function XT(s) {
|
|
|
26718
26724
|
return c.priority - f.priority;
|
|
26719
26725
|
}), i;
|
|
26720
26726
|
}
|
|
26721
|
-
var
|
|
26727
|
+
var W0 = /\d/, _s = /\d\d/, G0 = /\d{3}/, om = /\d{4}/, gd = /[+-]?\d{6}/, Mi = /\d\d?/, Y0 = /\d\d\d\d?/, X0 = /\d\d\d\d\d\d?/, yd = /\d{1,3}/, am = /\d{1,4}/, _d = /[+-]?\d{1,6}/, ql = /\d+/, vd = /[+-]?\d+/, KT = /Z|[+-]\d\d:?\d\d/gi, xd = /Z|[+-]\d\d(?::?\d\d)?/gi, JT = /[+-]?\d+(\.\d{1,3})?/, Eu = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, Hl = /^[1-9]\d?/, lm = /^([1-9]\d|\d)/, sd;
|
|
26722
26728
|
sd = {};
|
|
26723
26729
|
function st(s, i, a) {
|
|
26724
26730
|
sd[s] = yr(i) ? i : function(c, f) {
|
|
@@ -26799,13 +26805,13 @@ function du(s) {
|
|
|
26799
26805
|
Je.parseTwoDigitYear = function(s) {
|
|
26800
26806
|
return Wt(s) + (Wt(s) > 68 ? 1900 : 2e3);
|
|
26801
26807
|
};
|
|
26802
|
-
var
|
|
26808
|
+
var K0 = Zl("FullYear", !0);
|
|
26803
26809
|
function sk() {
|
|
26804
26810
|
return bd(this.year());
|
|
26805
26811
|
}
|
|
26806
26812
|
function Zl(s, i) {
|
|
26807
26813
|
return function(a) {
|
|
26808
|
-
return a != null ? (
|
|
26814
|
+
return a != null ? (J0(this, s, a), Je.updateOffset(this, i), this) : _u(this, s);
|
|
26809
26815
|
};
|
|
26810
26816
|
}
|
|
26811
26817
|
function _u(s, i) {
|
|
@@ -26833,7 +26839,7 @@ function _u(s, i) {
|
|
|
26833
26839
|
return NaN;
|
|
26834
26840
|
}
|
|
26835
26841
|
}
|
|
26836
|
-
function
|
|
26842
|
+
function J0(s, i, a) {
|
|
26837
26843
|
var c, f, x, v, u;
|
|
26838
26844
|
if (!(!s.isValid() || isNaN(a))) {
|
|
26839
26845
|
switch (c = s._d, f = s._isUTC, i) {
|
|
@@ -26911,12 +26917,12 @@ vi(["MMM", "MMMM"], function(s, i, a, c) {
|
|
|
26911
26917
|
});
|
|
26912
26918
|
var lk = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
26913
26919
|
"_"
|
|
26914
|
-
),
|
|
26920
|
+
), Q0 = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), ev = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, ck = Eu, uk = Eu;
|
|
26915
26921
|
function hk(s, i) {
|
|
26916
|
-
return s ? Ws(this._months) ? this._months[s.month()] : this._months[(this._months.isFormat ||
|
|
26922
|
+
return s ? Ws(this._months) ? this._months[s.month()] : this._months[(this._months.isFormat || ev).test(i) ? "format" : "standalone"][s.month()] : Ws(this._months) ? this._months : this._months.standalone;
|
|
26917
26923
|
}
|
|
26918
26924
|
function dk(s, i) {
|
|
26919
|
-
return s ? Ws(this._monthsShort) ? this._monthsShort[s.month()] : this._monthsShort[
|
|
26925
|
+
return s ? Ws(this._monthsShort) ? this._monthsShort[s.month()] : this._monthsShort[ev.test(i) ? "format" : "standalone"][s.month()] : Ws(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
26920
26926
|
}
|
|
26921
26927
|
function pk(s, i, a) {
|
|
26922
26928
|
var c, f, x, v = s.toLocaleLowerCase();
|
|
@@ -26947,7 +26953,7 @@ function fk(s, i, a) {
|
|
|
26947
26953
|
return c;
|
|
26948
26954
|
}
|
|
26949
26955
|
}
|
|
26950
|
-
function
|
|
26956
|
+
function tv(s, i) {
|
|
26951
26957
|
if (!s.isValid())
|
|
26952
26958
|
return s;
|
|
26953
26959
|
if (typeof i == "string") {
|
|
@@ -26959,19 +26965,19 @@ function ev(s, i) {
|
|
|
26959
26965
|
var a = i, c = s.date();
|
|
26960
26966
|
return c = c < 29 ? c : Math.min(c, cm(s.year(), a)), s._isUTC ? s._d.setUTCMonth(a, c) : s._d.setMonth(a, c), s;
|
|
26961
26967
|
}
|
|
26962
|
-
function
|
|
26963
|
-
return s != null ? (
|
|
26968
|
+
function iv(s) {
|
|
26969
|
+
return s != null ? (tv(this, s), Je.updateOffset(this, !0), this) : _u(this, "Month");
|
|
26964
26970
|
}
|
|
26965
26971
|
function mk() {
|
|
26966
26972
|
return cm(this.year(), this.month());
|
|
26967
26973
|
}
|
|
26968
26974
|
function gk(s) {
|
|
26969
|
-
return this._monthsParseExact ? (ti(this, "_monthsRegex") ||
|
|
26975
|
+
return this._monthsParseExact ? (ti(this, "_monthsRegex") || nv.call(this), s ? this._monthsShortStrictRegex : this._monthsShortRegex) : (ti(this, "_monthsShortRegex") || (this._monthsShortRegex = ck), this._monthsShortStrictRegex && s ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
26970
26976
|
}
|
|
26971
26977
|
function yk(s) {
|
|
26972
|
-
return this._monthsParseExact ? (ti(this, "_monthsRegex") ||
|
|
26978
|
+
return this._monthsParseExact ? (ti(this, "_monthsRegex") || nv.call(this), s ? this._monthsStrictRegex : this._monthsRegex) : (ti(this, "_monthsRegex") || (this._monthsRegex = uk), this._monthsStrictRegex && s ? this._monthsStrictRegex : this._monthsRegex);
|
|
26973
26979
|
}
|
|
26974
|
-
function
|
|
26980
|
+
function nv() {
|
|
26975
26981
|
function s(C, I) {
|
|
26976
26982
|
return I.length - C.length;
|
|
26977
26983
|
}
|
|
@@ -26998,7 +27004,7 @@ function rd(s, i, a) {
|
|
|
26998
27004
|
var c = 7 + i - a, f = (7 + vu(s, 0, c).getUTCDay() - i) % 7;
|
|
26999
27005
|
return -f + c - 1;
|
|
27000
27006
|
}
|
|
27001
|
-
function
|
|
27007
|
+
function sv(s, i, a, c, f) {
|
|
27002
27008
|
var x = (7 + a - c) % 7, v = rd(s, c, f), u = 1 + 7 * (i - 1) + x + v, C, I;
|
|
27003
27009
|
return u <= 0 ? (C = s - 1, I = du(C) + u) : u > du(s) ? (C = s + 1, I = u - du(s)) : (C = s, I = u), {
|
|
27004
27010
|
year: C,
|
|
@@ -27091,7 +27097,7 @@ function Ek(s, i) {
|
|
|
27091
27097
|
function um(s, i) {
|
|
27092
27098
|
return s.slice(i, 7).concat(s.slice(0, i));
|
|
27093
27099
|
}
|
|
27094
|
-
var Mk = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
27100
|
+
var Mk = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), rv = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Pk = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Ck = Eu, Ik = Eu, Ak = Eu;
|
|
27095
27101
|
function Dk(s, i) {
|
|
27096
27102
|
var a = Ws(this._weekdays) ? this._weekdays : this._weekdays[s && s !== !0 && this._weekdays.isFormat.test(i) ? "format" : "standalone"];
|
|
27097
27103
|
return s === !0 ? um(a, this._week.dow) : s ? a[s.day()] : a;
|
|
@@ -27208,7 +27214,7 @@ ft("Hmm", 0, 0, function() {
|
|
|
27208
27214
|
ft("Hmmss", 0, 0, function() {
|
|
27209
27215
|
return "" + this.hours() + mr(this.minutes(), 2) + mr(this.seconds(), 2);
|
|
27210
27216
|
});
|
|
27211
|
-
function
|
|
27217
|
+
function ov(s, i) {
|
|
27212
27218
|
ft(s, 0, 0, function() {
|
|
27213
27219
|
return this.localeData().meridiem(
|
|
27214
27220
|
this.hours(),
|
|
@@ -27217,23 +27223,23 @@ function rv(s, i) {
|
|
|
27217
27223
|
);
|
|
27218
27224
|
});
|
|
27219
27225
|
}
|
|
27220
|
-
|
|
27221
|
-
|
|
27222
|
-
function
|
|
27226
|
+
ov("a", !0);
|
|
27227
|
+
ov("A", !1);
|
|
27228
|
+
function av(s, i) {
|
|
27223
27229
|
return i._meridiemParse;
|
|
27224
27230
|
}
|
|
27225
|
-
st("a",
|
|
27226
|
-
st("A",
|
|
27231
|
+
st("a", av);
|
|
27232
|
+
st("A", av);
|
|
27227
27233
|
st("H", Mi, lm);
|
|
27228
27234
|
st("h", Mi, Hl);
|
|
27229
27235
|
st("k", Mi, Hl);
|
|
27230
27236
|
st("HH", Mi, _s);
|
|
27231
27237
|
st("hh", Mi, _s);
|
|
27232
27238
|
st("kk", Mi, _s);
|
|
27233
|
-
st("hmm",
|
|
27234
|
-
st("hmmss",
|
|
27235
|
-
st("Hmm",
|
|
27236
|
-
st("Hmmss",
|
|
27239
|
+
st("hmm", Y0);
|
|
27240
|
+
st("hmmss", X0);
|
|
27241
|
+
st("Hmm", Y0);
|
|
27242
|
+
st("Hmmss", X0);
|
|
27237
27243
|
vi(["H", "HH"], Xi);
|
|
27238
27244
|
vi(["k", "kk"], function(s, i, a) {
|
|
27239
27245
|
var c = Wt(s);
|
|
@@ -27268,7 +27274,7 @@ var Hk = /[ap]\.?m?\.?/i, Zk = Zl("Hours", !0);
|
|
|
27268
27274
|
function Wk(s, i, a) {
|
|
27269
27275
|
return s > 11 ? a ? "pm" : "PM" : a ? "am" : "AM";
|
|
27270
27276
|
}
|
|
27271
|
-
var
|
|
27277
|
+
var lv = {
|
|
27272
27278
|
calendar: LT,
|
|
27273
27279
|
longDateFormat: NT,
|
|
27274
27280
|
invalidDate: VT,
|
|
@@ -27276,11 +27282,11 @@ var av = {
|
|
|
27276
27282
|
dayOfMonthOrdinalParse: qT,
|
|
27277
27283
|
relativeTime: ZT,
|
|
27278
27284
|
months: lk,
|
|
27279
|
-
monthsShort:
|
|
27285
|
+
monthsShort: Q0,
|
|
27280
27286
|
week: xk,
|
|
27281
27287
|
weekdays: Mk,
|
|
27282
27288
|
weekdaysMin: Pk,
|
|
27283
|
-
weekdaysShort:
|
|
27289
|
+
weekdaysShort: rv,
|
|
27284
27290
|
meridiemParse: Hk
|
|
27285
27291
|
}, Ai = {}, ou = {}, bu;
|
|
27286
27292
|
function Gk(s, i) {
|
|
@@ -27290,12 +27296,12 @@ function Gk(s, i) {
|
|
|
27290
27296
|
return a;
|
|
27291
27297
|
return c;
|
|
27292
27298
|
}
|
|
27293
|
-
function
|
|
27299
|
+
function x_(s) {
|
|
27294
27300
|
return s && s.toLowerCase().replace("_", "-");
|
|
27295
27301
|
}
|
|
27296
27302
|
function Yk(s) {
|
|
27297
27303
|
for (var i = 0, a, c, f, x; i < s.length; ) {
|
|
27298
|
-
for (x =
|
|
27304
|
+
for (x = x_(s[i]).split("-"), a = x.length, c = x_(s[i + 1]), c = c ? c.split("-") : null; a > 0; ) {
|
|
27299
27305
|
if (f = wd(x.slice(0, a).join("-")), f)
|
|
27300
27306
|
return f;
|
|
27301
27307
|
if (c && c.length >= a && Gk(x, c) >= a - 1)
|
|
@@ -27327,9 +27333,9 @@ function No(s, i) {
|
|
|
27327
27333
|
}
|
|
27328
27334
|
function pm(s, i) {
|
|
27329
27335
|
if (i !== null) {
|
|
27330
|
-
var a, c =
|
|
27336
|
+
var a, c = lv;
|
|
27331
27337
|
if (i.abbr = s, Ai[s] != null)
|
|
27332
|
-
|
|
27338
|
+
H0(
|
|
27333
27339
|
"defineLocaleOverride",
|
|
27334
27340
|
"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
|
|
27335
27341
|
), c = Ai[s]._config;
|
|
@@ -27351,7 +27357,7 @@ function pm(s, i) {
|
|
|
27351
27357
|
}
|
|
27352
27358
|
function Kk(s, i) {
|
|
27353
27359
|
if (i != null) {
|
|
27354
|
-
var a, c, f =
|
|
27360
|
+
var a, c, f = lv;
|
|
27355
27361
|
Ai[s] != null && Ai[s].parentLocale != null ? Ai[s].set(Lf(Ai[s]._config, i)) : (c = wd(s), c != null && (f = c._config), i = Lf(f, i), c == null && (i.abbr = s), a = new nm(i), a.parentLocale = Ai[s], Ai[s] = a), No(s);
|
|
27356
27362
|
} else
|
|
27357
27363
|
Ai[s] != null && (Ai[s].parentLocale != null ? (Ai[s] = Ai[s].parentLocale, s === No() && No(s)) : Ai[s] != null && delete Ai[s]);
|
|
@@ -27411,7 +27417,7 @@ var Qk = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
27411
27417
|
PDT: -7 * 60,
|
|
27412
27418
|
PST: -8 * 60
|
|
27413
27419
|
};
|
|
27414
|
-
function
|
|
27420
|
+
function cv(s) {
|
|
27415
27421
|
var i, a, c = s._i, f = Qk.exec(c) || eE.exec(c), x, v, u, C, I = Hh.length, A = mf.length;
|
|
27416
27422
|
if (f) {
|
|
27417
27423
|
for (Lt(s).iso = !0, i = 0, a = I; i < a; i++)
|
|
@@ -27452,7 +27458,7 @@ function lv(s) {
|
|
|
27452
27458
|
function rE(s, i, a, c, f, x) {
|
|
27453
27459
|
var v = [
|
|
27454
27460
|
oE(s),
|
|
27455
|
-
|
|
27461
|
+
Q0.indexOf(i),
|
|
27456
27462
|
parseInt(a, 10),
|
|
27457
27463
|
parseInt(c, 10),
|
|
27458
27464
|
parseInt(f, 10)
|
|
@@ -27468,7 +27474,7 @@ function aE(s) {
|
|
|
27468
27474
|
}
|
|
27469
27475
|
function lE(s, i, a) {
|
|
27470
27476
|
if (s) {
|
|
27471
|
-
var c =
|
|
27477
|
+
var c = rv.indexOf(s), f = new Date(
|
|
27472
27478
|
i[0],
|
|
27473
27479
|
i[1],
|
|
27474
27480
|
i[2]
|
|
@@ -27486,7 +27492,7 @@ function cE(s, i, a) {
|
|
|
27486
27492
|
var c = parseInt(a, 10), f = c % 100, x = (c - f) / 100;
|
|
27487
27493
|
return x * 60 + f;
|
|
27488
27494
|
}
|
|
27489
|
-
function
|
|
27495
|
+
function uv(s) {
|
|
27490
27496
|
var i = nE.exec(aE(s._i)), a;
|
|
27491
27497
|
if (i) {
|
|
27492
27498
|
if (a = rE(
|
|
@@ -27508,11 +27514,11 @@ function uE(s) {
|
|
|
27508
27514
|
s._d = /* @__PURE__ */ new Date(+i[1]);
|
|
27509
27515
|
return;
|
|
27510
27516
|
}
|
|
27511
|
-
if (
|
|
27517
|
+
if (cv(s), s._isValid === !1)
|
|
27512
27518
|
delete s._isValid;
|
|
27513
27519
|
else
|
|
27514
27520
|
return;
|
|
27515
|
-
if (
|
|
27521
|
+
if (uv(s), s._isValid === !1)
|
|
27516
27522
|
delete s._isValid;
|
|
27517
27523
|
else
|
|
27518
27524
|
return;
|
|
@@ -27554,7 +27560,7 @@ function dE(s) {
|
|
|
27554
27560
|
i.GG,
|
|
27555
27561
|
s._a[En],
|
|
27556
27562
|
xu(Ei(), 1, 4).year
|
|
27557
|
-
), c = Rl(i.W, 1), f = Rl(i.E, 1), (f < 1 || f > 7) && (C = !0)) : (x = s._locale._week.dow, v = s._locale._week.doy, I = xu(Ei(), x, v), a = Rl(i.gg, s._a[En], I.year), c = Rl(i.w, I.week), i.d != null ? (f = i.d, (f < 0 || f > 6) && (C = !0)) : i.e != null ? (f = i.e + x, (i.e < 0 || i.e > 6) && (C = !0)) : f = x), c < 1 || c > Zr(a, x, v) ? Lt(s)._overflowWeeks = !0 : C != null ? Lt(s)._overflowWeekday = !0 : (u =
|
|
27563
|
+
), c = Rl(i.W, 1), f = Rl(i.E, 1), (f < 1 || f > 7) && (C = !0)) : (x = s._locale._week.dow, v = s._locale._week.doy, I = xu(Ei(), x, v), a = Rl(i.gg, s._a[En], I.year), c = Rl(i.w, I.week), i.d != null ? (f = i.d, (f < 0 || f > 6) && (C = !0)) : i.e != null ? (f = i.e + x, (i.e < 0 || i.e > 6) && (C = !0)) : f = x), c < 1 || c > Zr(a, x, v) ? Lt(s)._overflowWeeks = !0 : C != null ? Lt(s)._overflowWeekday = !0 : (u = sv(a, c, f, x, v), s._a[En] = u.year, s._dayOfYear = u.dayOfYear);
|
|
27558
27564
|
}
|
|
27559
27565
|
Je.ISO_8601 = function() {
|
|
27560
27566
|
};
|
|
@@ -27562,16 +27568,16 @@ Je.RFC_2822 = function() {
|
|
|
27562
27568
|
};
|
|
27563
27569
|
function gm(s) {
|
|
27564
27570
|
if (s._f === Je.ISO_8601) {
|
|
27565
|
-
|
|
27571
|
+
cv(s);
|
|
27566
27572
|
return;
|
|
27567
27573
|
}
|
|
27568
27574
|
if (s._f === Je.RFC_2822) {
|
|
27569
|
-
|
|
27575
|
+
uv(s);
|
|
27570
27576
|
return;
|
|
27571
27577
|
}
|
|
27572
27578
|
s._a = [], Lt(s).empty = !0;
|
|
27573
27579
|
var i = "" + s._i, a, c, f, x, v, u = i.length, C = 0, I, A;
|
|
27574
|
-
for (f =
|
|
27580
|
+
for (f = Z0(s._f, s._locale).match(sm) || [], A = f.length, a = 0; a < A; a++)
|
|
27575
27581
|
x = f[a], c = (i.match(QT(x, s)) || [])[0], c && (v = i.substr(0, i.indexOf(c)), v.length > 0 && Lt(s).unusedInput.push(v), i = i.slice(
|
|
27576
27582
|
i.indexOf(c) + c.length
|
|
27577
27583
|
), C += c.length), Fl[x] ? (c ? Lt(s).empty = !1 : Lt(s).unusedTokens.push(x), tk(x, c, s)) : s._strict && !c && Lt(s).unusedTokens.push(x);
|
|
@@ -27598,7 +27604,7 @@ function fE(s) {
|
|
|
27598
27604
|
function mE(s) {
|
|
27599
27605
|
if (!s._d) {
|
|
27600
27606
|
var i = rm(s._i), a = i.day === void 0 ? i.date : i.day;
|
|
27601
|
-
s._a =
|
|
27607
|
+
s._a = U0(
|
|
27602
27608
|
[i.year, i.month, a, i.hour, i.minute, i.second, i.millisecond],
|
|
27603
27609
|
function(c) {
|
|
27604
27610
|
return c && parseInt(c, 10);
|
|
@@ -27607,25 +27613,25 @@ function mE(s) {
|
|
|
27607
27613
|
}
|
|
27608
27614
|
}
|
|
27609
27615
|
function gE(s) {
|
|
27610
|
-
var i = new ku(fm(
|
|
27616
|
+
var i = new ku(fm(hv(s)));
|
|
27611
27617
|
return i._nextDay && (i.add(1, "d"), i._nextDay = void 0), i;
|
|
27612
27618
|
}
|
|
27613
|
-
function
|
|
27619
|
+
function hv(s) {
|
|
27614
27620
|
var i = s._i, a = s._f;
|
|
27615
27621
|
return s._locale = s._locale || Yr(s._l), i === null || a === void 0 && i === "" ? md({ nullInput: !0 }) : (typeof i == "string" && (s._i = i = s._locale.preparse(i)), Gs(i) ? new ku(fm(i)) : (Tu(i) ? s._d = i : Ws(a) ? fE(s) : a ? gm(s) : yE(s), tm(s) || (s._d = null), s));
|
|
27616
27622
|
}
|
|
27617
27623
|
function yE(s) {
|
|
27618
27624
|
var i = s._i;
|
|
27619
|
-
Xn(i) ? s._d = new Date(Je.now()) : Tu(i) ? s._d = new Date(i.valueOf()) : typeof i == "string" ? uE(s) : Ws(i) ? (s._a =
|
|
27625
|
+
Xn(i) ? s._d = new Date(Je.now()) : Tu(i) ? s._d = new Date(i.valueOf()) : typeof i == "string" ? uE(s) : Ws(i) ? (s._a = U0(i.slice(0), function(a) {
|
|
27620
27626
|
return parseInt(a, 10);
|
|
27621
27627
|
}), mm(s)) : Pa(i) ? mE(s) : Gr(i) ? s._d = new Date(i) : Je.createFromInputFallback(s);
|
|
27622
27628
|
}
|
|
27623
|
-
function
|
|
27629
|
+
function dv(s, i, a, c, f) {
|
|
27624
27630
|
var x = {};
|
|
27625
27631
|
return (i === !0 || i === !1) && (c = i, i = void 0), (a === !0 || a === !1) && (c = a, a = void 0), (Pa(s) && em(s) || Ws(s) && s.length === 0) && (s = void 0), x._isAMomentObject = !0, x._useUTC = x._isUTC = f, x._l = a, x._i = s, x._f = i, x._strict = c, gE(x);
|
|
27626
27632
|
}
|
|
27627
27633
|
function Ei(s, i, a, c) {
|
|
27628
|
-
return
|
|
27634
|
+
return dv(s, i, a, c, !1);
|
|
27629
27635
|
}
|
|
27630
27636
|
var _E = Os(
|
|
27631
27637
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
@@ -27640,7 +27646,7 @@ var _E = Os(
|
|
|
27640
27646
|
return this.isValid() && s.isValid() ? s > this ? this : s : md();
|
|
27641
27647
|
}
|
|
27642
27648
|
);
|
|
27643
|
-
function
|
|
27649
|
+
function pv(s, i) {
|
|
27644
27650
|
var a, c;
|
|
27645
27651
|
if (i.length === 1 && Ws(i[0]) && (i = i[0]), !i.length)
|
|
27646
27652
|
return Ei();
|
|
@@ -27650,11 +27656,11 @@ function dv(s, i) {
|
|
|
27650
27656
|
}
|
|
27651
27657
|
function xE() {
|
|
27652
27658
|
var s = [].slice.call(arguments, 0);
|
|
27653
|
-
return
|
|
27659
|
+
return pv("isBefore", s);
|
|
27654
27660
|
}
|
|
27655
27661
|
function bE() {
|
|
27656
27662
|
var s = [].slice.call(arguments, 0);
|
|
27657
|
-
return
|
|
27663
|
+
return pv("isAfter", s);
|
|
27658
27664
|
}
|
|
27659
27665
|
var wE = function() {
|
|
27660
27666
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
@@ -27706,14 +27712,14 @@ function EE(s, i, a) {
|
|
|
27706
27712
|
Wt(s[v]) !== Wt(i[v]) && x++;
|
|
27707
27713
|
return x + f;
|
|
27708
27714
|
}
|
|
27709
|
-
function
|
|
27715
|
+
function fv(s, i) {
|
|
27710
27716
|
ft(s, 0, 0, function() {
|
|
27711
27717
|
var a = this.utcOffset(), c = "+";
|
|
27712
27718
|
return a < 0 && (a = -a, c = "-"), c + mr(~~(a / 60), 2) + i + mr(~~a % 60, 2);
|
|
27713
27719
|
});
|
|
27714
27720
|
}
|
|
27715
|
-
|
|
27716
|
-
|
|
27721
|
+
fv("Z", ":");
|
|
27722
|
+
fv("ZZ", "");
|
|
27717
27723
|
st("Z", xd);
|
|
27718
27724
|
st("ZZ", xd);
|
|
27719
27725
|
vi(["Z", "ZZ"], function(s, i, a) {
|
|
@@ -27742,7 +27748,7 @@ function PE(s, i, a) {
|
|
|
27742
27748
|
if (s = ym(xd, s), s === null)
|
|
27743
27749
|
return this;
|
|
27744
27750
|
} else Math.abs(s) < 16 && !a && (s = s * 60);
|
|
27745
|
-
return !this._isUTC && i && (f = Nf(this)), this._offset = s, this._isUTC = !0, f != null && this.add(f, "m"), c !== s && (!i || this._changeInProgress ?
|
|
27751
|
+
return !this._isUTC && i && (f = Nf(this)), this._offset = s, this._isUTC = !0, f != null && this.add(f, "m"), c !== s && (!i || this._changeInProgress ? yv(
|
|
27746
27752
|
this,
|
|
27747
27753
|
Ks(s - c, "m"),
|
|
27748
27754
|
1,
|
|
@@ -27779,7 +27785,7 @@ function LE() {
|
|
|
27779
27785
|
if (!Xn(this._isDSTShifted))
|
|
27780
27786
|
return this._isDSTShifted;
|
|
27781
27787
|
var s = {}, i;
|
|
27782
|
-
return im(s, this), s =
|
|
27788
|
+
return im(s, this), s = hv(s), s._a ? (i = s._isUTC ? gr(s._a) : Ei(s._a), this._isDSTShifted = this.isValid() && EE(s._a, i.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
27783
27789
|
}
|
|
27784
27790
|
function OE() {
|
|
27785
27791
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -27787,7 +27793,7 @@ function OE() {
|
|
|
27787
27793
|
function FE() {
|
|
27788
27794
|
return this.isValid() ? this._isUTC : !1;
|
|
27789
27795
|
}
|
|
27790
|
-
function
|
|
27796
|
+
function mv() {
|
|
27791
27797
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
27792
27798
|
}
|
|
27793
27799
|
var BE = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, NE = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
@@ -27824,33 +27830,33 @@ function xa(s, i) {
|
|
|
27824
27830
|
var a = s && parseFloat(s.replace(",", "."));
|
|
27825
27831
|
return (isNaN(a) ? 0 : a) * i;
|
|
27826
27832
|
}
|
|
27827
|
-
function
|
|
27833
|
+
function b_(s, i) {
|
|
27828
27834
|
var a = {};
|
|
27829
27835
|
return a.months = i.month() - s.month() + (i.year() - s.year()) * 12, s.clone().add(a.months, "M").isAfter(i) && --a.months, a.milliseconds = +i - +s.clone().add(a.months, "M"), a;
|
|
27830
27836
|
}
|
|
27831
27837
|
function jE(s, i) {
|
|
27832
27838
|
var a;
|
|
27833
|
-
return s.isValid() && i.isValid() ? (i = _m(i, s), s.isBefore(i) ? a =
|
|
27839
|
+
return s.isValid() && i.isValid() ? (i = _m(i, s), s.isBefore(i) ? a = b_(s, i) : (a = b_(i, s), a.milliseconds = -a.milliseconds, a.months = -a.months), a) : { milliseconds: 0, months: 0 };
|
|
27834
27840
|
}
|
|
27835
|
-
function
|
|
27841
|
+
function gv(s, i) {
|
|
27836
27842
|
return function(a, c) {
|
|
27837
27843
|
var f, x;
|
|
27838
|
-
return c !== null && !isNaN(+c) && (
|
|
27844
|
+
return c !== null && !isNaN(+c) && (H0(
|
|
27839
27845
|
i,
|
|
27840
27846
|
"moment()." + i + "(period, number) is deprecated. Please use moment()." + i + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
27841
|
-
), x = a, a = c, c = x), f = Ks(a, c),
|
|
27847
|
+
), x = a, a = c, c = x), f = Ks(a, c), yv(this, f, s), this;
|
|
27842
27848
|
};
|
|
27843
27849
|
}
|
|
27844
|
-
function
|
|
27850
|
+
function yv(s, i, a, c) {
|
|
27845
27851
|
var f = i._milliseconds, x = Bf(i._days), v = Bf(i._months);
|
|
27846
|
-
s.isValid() && (c = c ?? !0, v &&
|
|
27852
|
+
s.isValid() && (c = c ?? !0, v && tv(s, _u(s, "Month") + v * a), x && J0(s, "Date", _u(s, "Date") + x * a), f && s._d.setTime(s._d.valueOf() + f * a), c && Je.updateOffset(s, x || v));
|
|
27847
27853
|
}
|
|
27848
|
-
var VE =
|
|
27849
|
-
function
|
|
27854
|
+
var VE = gv(1, "add"), $E = gv(-1, "subtract");
|
|
27855
|
+
function _v(s) {
|
|
27850
27856
|
return typeof s == "string" || s instanceof String;
|
|
27851
27857
|
}
|
|
27852
27858
|
function UE(s) {
|
|
27853
|
-
return Gs(s) || Tu(s) ||
|
|
27859
|
+
return Gs(s) || Tu(s) || _v(s) || Gr(s) || HE(s) || qE(s) || s === null || s === void 0;
|
|
27854
27860
|
}
|
|
27855
27861
|
function qE(s) {
|
|
27856
27862
|
var i = Pa(s) && !em(s), a = !1, c = [
|
|
@@ -27886,7 +27892,7 @@ function qE(s) {
|
|
|
27886
27892
|
function HE(s) {
|
|
27887
27893
|
var i = Ws(s), a = !1;
|
|
27888
27894
|
return i && (a = s.filter(function(c) {
|
|
27889
|
-
return !Gr(c) &&
|
|
27895
|
+
return !Gr(c) && _v(s);
|
|
27890
27896
|
}).length === 0), i && a;
|
|
27891
27897
|
}
|
|
27892
27898
|
function ZE(s) {
|
|
@@ -28020,34 +28026,34 @@ function cM(s, i) {
|
|
|
28020
28026
|
function uM(s) {
|
|
28021
28027
|
return this.to(Ei(), s);
|
|
28022
28028
|
}
|
|
28023
|
-
function
|
|
28029
|
+
function vv(s) {
|
|
28024
28030
|
var i;
|
|
28025
28031
|
return s === void 0 ? this._locale._abbr : (i = Yr(s), i != null && (this._locale = i), this);
|
|
28026
28032
|
}
|
|
28027
|
-
var
|
|
28033
|
+
var xv = Os(
|
|
28028
28034
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
28029
28035
|
function(s) {
|
|
28030
28036
|
return s === void 0 ? this.localeData() : this.locale(s);
|
|
28031
28037
|
}
|
|
28032
28038
|
);
|
|
28033
|
-
function
|
|
28039
|
+
function bv() {
|
|
28034
28040
|
return this._locale;
|
|
28035
28041
|
}
|
|
28036
|
-
var od = 1e3, Bl = 60 * od, ad = 60 * Bl,
|
|
28042
|
+
var od = 1e3, Bl = 60 * od, ad = 60 * Bl, wv = (365 * 400 + 97) * 24 * ad;
|
|
28037
28043
|
function Nl(s, i) {
|
|
28038
28044
|
return (s % i + i) % i;
|
|
28039
28045
|
}
|
|
28040
|
-
function wv(s, i, a) {
|
|
28041
|
-
return s < 100 && s >= 0 ? new Date(s + 400, i, a) - bv : new Date(s, i, a).valueOf();
|
|
28042
|
-
}
|
|
28043
28046
|
function Sv(s, i, a) {
|
|
28044
|
-
return s < 100 && s >= 0 ? Date
|
|
28047
|
+
return s < 100 && s >= 0 ? new Date(s + 400, i, a) - wv : new Date(s, i, a).valueOf();
|
|
28048
|
+
}
|
|
28049
|
+
function Tv(s, i, a) {
|
|
28050
|
+
return s < 100 && s >= 0 ? Date.UTC(s + 400, i, a) - wv : Date.UTC(s, i, a);
|
|
28045
28051
|
}
|
|
28046
28052
|
function hM(s) {
|
|
28047
28053
|
var i, a;
|
|
28048
28054
|
if (s = Fs(s), s === void 0 || s === "millisecond" || !this.isValid())
|
|
28049
28055
|
return this;
|
|
28050
|
-
switch (a = this._isUTC ?
|
|
28056
|
+
switch (a = this._isUTC ? Tv : Sv, s) {
|
|
28051
28057
|
case "year":
|
|
28052
28058
|
i = a(this.year(), 0, 1);
|
|
28053
28059
|
break;
|
|
@@ -28098,7 +28104,7 @@ function dM(s) {
|
|
|
28098
28104
|
var i, a;
|
|
28099
28105
|
if (s = Fs(s), s === void 0 || s === "millisecond" || !this.isValid())
|
|
28100
28106
|
return this;
|
|
28101
|
-
switch (a = this._isUTC ?
|
|
28107
|
+
switch (a = this._isUTC ? Tv : Sv, s) {
|
|
28102
28108
|
case "year":
|
|
28103
28109
|
i = a(this.year() + 1, 0, 1) - 1;
|
|
28104
28110
|
break;
|
|
@@ -28365,7 +28371,7 @@ Mu(["gg", "GG"], function(s, i, a, c) {
|
|
|
28365
28371
|
i[c] = Je.parseTwoDigitYear(s);
|
|
28366
28372
|
});
|
|
28367
28373
|
function OM(s) {
|
|
28368
|
-
return
|
|
28374
|
+
return kv.call(
|
|
28369
28375
|
this,
|
|
28370
28376
|
s,
|
|
28371
28377
|
this.week(),
|
|
@@ -28375,7 +28381,7 @@ function OM(s) {
|
|
|
28375
28381
|
);
|
|
28376
28382
|
}
|
|
28377
28383
|
function FM(s) {
|
|
28378
|
-
return
|
|
28384
|
+
return kv.call(
|
|
28379
28385
|
this,
|
|
28380
28386
|
s,
|
|
28381
28387
|
this.isoWeek(),
|
|
@@ -28398,16 +28404,16 @@ function VM() {
|
|
|
28398
28404
|
var s = this.localeData()._week;
|
|
28399
28405
|
return Zr(this.weekYear(), s.dow, s.doy);
|
|
28400
28406
|
}
|
|
28401
|
-
function
|
|
28407
|
+
function kv(s, i, a, c, f) {
|
|
28402
28408
|
var x;
|
|
28403
28409
|
return s == null ? xu(this, c, f).year : (x = Zr(s, c, f), i > x && (i = x), $M.call(this, s, i, a, c, f));
|
|
28404
28410
|
}
|
|
28405
28411
|
function $M(s, i, a, c, f) {
|
|
28406
|
-
var x =
|
|
28412
|
+
var x = sv(s, i, a, c, f), v = vu(x.year, 0, x.dayOfYear);
|
|
28407
28413
|
return this.year(v.getUTCFullYear()), this.month(v.getUTCMonth()), this.date(v.getUTCDate()), this;
|
|
28408
28414
|
}
|
|
28409
28415
|
ft("Q", 0, "Qo", "quarter");
|
|
28410
|
-
st("Q",
|
|
28416
|
+
st("Q", W0);
|
|
28411
28417
|
vi("Q", function(s, i) {
|
|
28412
28418
|
i[$r] = (Wt(s) - 1) * 3;
|
|
28413
28419
|
});
|
|
@@ -28424,10 +28430,10 @@ vi(["D", "DD"], dr);
|
|
|
28424
28430
|
vi("Do", function(s, i) {
|
|
28425
28431
|
i[dr] = Wt(s.match(Mi)[0]);
|
|
28426
28432
|
});
|
|
28427
|
-
var
|
|
28433
|
+
var Ev = Zl("Date", !0);
|
|
28428
28434
|
ft("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
28429
28435
|
st("DDD", yd);
|
|
28430
|
-
st("DDDD",
|
|
28436
|
+
st("DDDD", G0);
|
|
28431
28437
|
vi(["DDD", "DDDD"], function(s, i, a) {
|
|
28432
28438
|
a._dayOfYear = Wt(s);
|
|
28433
28439
|
});
|
|
@@ -28472,10 +28478,10 @@ ft(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
28472
28478
|
ft(0, ["SSSSSSSSS", 9], 0, function() {
|
|
28473
28479
|
return this.millisecond() * 1e6;
|
|
28474
28480
|
});
|
|
28475
|
-
st("S", yd,
|
|
28481
|
+
st("S", yd, W0);
|
|
28476
28482
|
st("SS", yd, _s);
|
|
28477
|
-
st("SSS", yd,
|
|
28478
|
-
var Bo,
|
|
28483
|
+
st("SSS", yd, G0);
|
|
28484
|
+
var Bo, Mv;
|
|
28479
28485
|
for (Bo = "SSSS"; Bo.length <= 9; Bo += "S")
|
|
28480
28486
|
st(Bo, ql);
|
|
28481
28487
|
function WM(s, i) {
|
|
@@ -28483,7 +28489,7 @@ function WM(s, i) {
|
|
|
28483
28489
|
}
|
|
28484
28490
|
for (Bo = "S"; Bo.length <= 9; Bo += "S")
|
|
28485
28491
|
vi(Bo, WM);
|
|
28486
|
-
|
|
28492
|
+
Mv = Zl("Milliseconds", !1);
|
|
28487
28493
|
ft("z", 0, 0, "zoneAbbr");
|
|
28488
28494
|
ft("zz", 0, 0, "zoneName");
|
|
28489
28495
|
function GM() {
|
|
@@ -28512,9 +28518,9 @@ Le.isSame = QE;
|
|
|
28512
28518
|
Le.isSameOrAfter = eM;
|
|
28513
28519
|
Le.isSameOrBefore = tM;
|
|
28514
28520
|
Le.isValid = vM;
|
|
28515
|
-
Le.lang =
|
|
28516
|
-
Le.locale =
|
|
28517
|
-
Le.localeData =
|
|
28521
|
+
Le.lang = xv;
|
|
28522
|
+
Le.locale = vv;
|
|
28523
|
+
Le.localeData = bv;
|
|
28518
28524
|
Le.max = vE;
|
|
28519
28525
|
Le.min = _E;
|
|
28520
28526
|
Le.parsingFlags = xM;
|
|
@@ -28538,12 +28544,12 @@ Le.eraName = EM;
|
|
|
28538
28544
|
Le.eraNarrow = MM;
|
|
28539
28545
|
Le.eraAbbr = PM;
|
|
28540
28546
|
Le.eraYear = CM;
|
|
28541
|
-
Le.year =
|
|
28547
|
+
Le.year = K0;
|
|
28542
28548
|
Le.isLeapYear = sk;
|
|
28543
28549
|
Le.weekYear = OM;
|
|
28544
28550
|
Le.isoWeekYear = FM;
|
|
28545
28551
|
Le.quarter = Le.quarters = UM;
|
|
28546
|
-
Le.month =
|
|
28552
|
+
Le.month = iv;
|
|
28547
28553
|
Le.daysInMonth = mk;
|
|
28548
28554
|
Le.week = Le.weeks = Sk;
|
|
28549
28555
|
Le.isoWeek = Le.isoWeeks = Tk;
|
|
@@ -28551,7 +28557,7 @@ Le.weeksInYear = jM;
|
|
|
28551
28557
|
Le.weeksInWeekYear = VM;
|
|
28552
28558
|
Le.isoWeeksInYear = BM;
|
|
28553
28559
|
Le.isoWeeksInISOWeekYear = NM;
|
|
28554
|
-
Le.date =
|
|
28560
|
+
Le.date = Ev;
|
|
28555
28561
|
Le.day = Le.days = Fk;
|
|
28556
28562
|
Le.weekday = Bk;
|
|
28557
28563
|
Le.isoWeekday = Nk;
|
|
@@ -28559,7 +28565,7 @@ Le.dayOfYear = qM;
|
|
|
28559
28565
|
Le.hour = Le.hours = Zk;
|
|
28560
28566
|
Le.minute = Le.minutes = HM;
|
|
28561
28567
|
Le.second = Le.seconds = ZM;
|
|
28562
|
-
Le.millisecond = Le.milliseconds =
|
|
28568
|
+
Le.millisecond = Le.milliseconds = Mv;
|
|
28563
28569
|
Le.utcOffset = PE;
|
|
28564
28570
|
Le.utc = IE;
|
|
28565
28571
|
Le.local = AE;
|
|
@@ -28568,21 +28574,21 @@ Le.hasAlignedHourOffset = zE;
|
|
|
28568
28574
|
Le.isDST = RE;
|
|
28569
28575
|
Le.isLocal = OE;
|
|
28570
28576
|
Le.isUtcOffset = FE;
|
|
28571
|
-
Le.isUtc =
|
|
28572
|
-
Le.isUTC =
|
|
28577
|
+
Le.isUtc = mv;
|
|
28578
|
+
Le.isUTC = mv;
|
|
28573
28579
|
Le.zoneAbbr = GM;
|
|
28574
28580
|
Le.zoneName = YM;
|
|
28575
28581
|
Le.dates = Os(
|
|
28576
28582
|
"dates accessor is deprecated. Use date instead.",
|
|
28577
|
-
|
|
28583
|
+
Ev
|
|
28578
28584
|
);
|
|
28579
28585
|
Le.months = Os(
|
|
28580
28586
|
"months accessor is deprecated. Use month instead",
|
|
28581
|
-
|
|
28587
|
+
iv
|
|
28582
28588
|
);
|
|
28583
28589
|
Le.years = Os(
|
|
28584
28590
|
"years accessor is deprecated. Use year instead",
|
|
28585
|
-
|
|
28591
|
+
K0
|
|
28586
28592
|
);
|
|
28587
28593
|
Le.zone = Os(
|
|
28588
28594
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
@@ -28598,7 +28604,7 @@ function XM(s) {
|
|
|
28598
28604
|
function KM() {
|
|
28599
28605
|
return Ei.apply(null, arguments).parseZone();
|
|
28600
28606
|
}
|
|
28601
|
-
function
|
|
28607
|
+
function Pv(s) {
|
|
28602
28608
|
return s;
|
|
28603
28609
|
}
|
|
28604
28610
|
var ii = nm.prototype;
|
|
@@ -28606,8 +28612,8 @@ ii.calendar = OT;
|
|
|
28606
28612
|
ii.longDateFormat = jT;
|
|
28607
28613
|
ii.invalidDate = $T;
|
|
28608
28614
|
ii.ordinal = HT;
|
|
28609
|
-
ii.preparse =
|
|
28610
|
-
ii.postformat =
|
|
28615
|
+
ii.preparse = Pv;
|
|
28616
|
+
ii.postformat = Pv;
|
|
28611
28617
|
ii.relativeTime = WT;
|
|
28612
28618
|
ii.pastFuture = GT;
|
|
28613
28619
|
ii.set = RT;
|
|
@@ -28638,7 +28644,7 @@ function ld(s, i, a, c) {
|
|
|
28638
28644
|
var f = Yr(), x = gr().set(c, i);
|
|
28639
28645
|
return f[a](x, s);
|
|
28640
28646
|
}
|
|
28641
|
-
function
|
|
28647
|
+
function Cv(s, i, a) {
|
|
28642
28648
|
if (Gr(s) && (i = s, s = void 0), s = s || "", i != null)
|
|
28643
28649
|
return ld(s, i, a, "month");
|
|
28644
28650
|
var c, f = [];
|
|
@@ -28656,10 +28662,10 @@ function bm(s, i, a, c) {
|
|
|
28656
28662
|
return u;
|
|
28657
28663
|
}
|
|
28658
28664
|
function JM(s, i) {
|
|
28659
|
-
return
|
|
28665
|
+
return Cv(s, i, "months");
|
|
28660
28666
|
}
|
|
28661
28667
|
function QM(s, i) {
|
|
28662
|
-
return
|
|
28668
|
+
return Cv(s, i, "monthsShort");
|
|
28663
28669
|
}
|
|
28664
28670
|
function eP(s, i, a) {
|
|
28665
28671
|
return bm(s, i, a, "weekdays");
|
|
@@ -28708,24 +28714,24 @@ function nP() {
|
|
|
28708
28714
|
var s = this._data;
|
|
28709
28715
|
return this._milliseconds = Br(this._milliseconds), this._days = Br(this._days), this._months = Br(this._months), s.milliseconds = Br(s.milliseconds), s.seconds = Br(s.seconds), s.minutes = Br(s.minutes), s.hours = Br(s.hours), s.months = Br(s.months), s.years = Br(s.years), this;
|
|
28710
28716
|
}
|
|
28711
|
-
function
|
|
28717
|
+
function Iv(s, i, a, c) {
|
|
28712
28718
|
var f = Ks(i, a);
|
|
28713
28719
|
return s._milliseconds += c * f._milliseconds, s._days += c * f._days, s._months += c * f._months, s._bubble();
|
|
28714
28720
|
}
|
|
28715
28721
|
function sP(s, i) {
|
|
28716
|
-
return
|
|
28722
|
+
return Iv(this, s, i, 1);
|
|
28717
28723
|
}
|
|
28718
28724
|
function rP(s, i) {
|
|
28719
|
-
return
|
|
28725
|
+
return Iv(this, s, i, -1);
|
|
28720
28726
|
}
|
|
28721
|
-
function
|
|
28727
|
+
function w_(s) {
|
|
28722
28728
|
return s < 0 ? Math.floor(s) : Math.ceil(s);
|
|
28723
28729
|
}
|
|
28724
28730
|
function oP() {
|
|
28725
28731
|
var s = this._milliseconds, i = this._days, a = this._months, c = this._data, f, x, v, u, C;
|
|
28726
|
-
return s >= 0 && i >= 0 && a >= 0 || s <= 0 && i <= 0 && a <= 0 || (s +=
|
|
28732
|
+
return s >= 0 && i >= 0 && a >= 0 || s <= 0 && i <= 0 && a <= 0 || (s += w_(jf(a) + i) * 864e5, i = 0, a = 0), c.milliseconds = s % 1e3, f = Ls(s / 1e3), c.seconds = f % 60, x = Ls(f / 60), c.minutes = x % 60, v = Ls(x / 60), c.hours = v % 24, i += Ls(v / 24), C = Ls(Av(i)), a += C, i -= w_(jf(C)), u = Ls(a / 12), a %= 12, c.days = i, c.months = a, c.years = u, this;
|
|
28727
28733
|
}
|
|
28728
|
-
function
|
|
28734
|
+
function Av(s) {
|
|
28729
28735
|
return s * 4800 / 146097;
|
|
28730
28736
|
}
|
|
28731
28737
|
function jf(s) {
|
|
@@ -28736,7 +28742,7 @@ function aP(s) {
|
|
|
28736
28742
|
return NaN;
|
|
28737
28743
|
var i, a, c = this._milliseconds;
|
|
28738
28744
|
if (s = Fs(s), s === "month" || s === "quarter" || s === "year")
|
|
28739
|
-
switch (i = this._days + c / 864e5, a = this._months +
|
|
28745
|
+
switch (i = this._days + c / 864e5, a = this._months + Av(i), s) {
|
|
28740
28746
|
case "month":
|
|
28741
28747
|
return a;
|
|
28742
28748
|
case "quarter":
|
|
@@ -28767,7 +28773,7 @@ function Xr(s) {
|
|
|
28767
28773
|
return this.as(s);
|
|
28768
28774
|
};
|
|
28769
28775
|
}
|
|
28770
|
-
var
|
|
28776
|
+
var Dv = Xr("ms"), lP = Xr("s"), cP = Xr("m"), uP = Xr("h"), hP = Xr("d"), dP = Xr("w"), pP = Xr("M"), fP = Xr("Q"), mP = Xr("y"), gP = Dv;
|
|
28771
28777
|
function yP() {
|
|
28772
28778
|
return Ks(this);
|
|
28773
28779
|
}
|
|
@@ -28834,7 +28840,7 @@ Kt.abs = nP;
|
|
|
28834
28840
|
Kt.add = sP;
|
|
28835
28841
|
Kt.subtract = rP;
|
|
28836
28842
|
Kt.as = aP;
|
|
28837
|
-
Kt.asMilliseconds =
|
|
28843
|
+
Kt.asMilliseconds = Dv;
|
|
28838
28844
|
Kt.asSeconds = lP;
|
|
28839
28845
|
Kt.asMinutes = cP;
|
|
28840
28846
|
Kt.asHours = uP;
|
|
@@ -28859,13 +28865,13 @@ Kt.humanize = AP;
|
|
|
28859
28865
|
Kt.toISOString = kd;
|
|
28860
28866
|
Kt.toString = kd;
|
|
28861
28867
|
Kt.toJSON = kd;
|
|
28862
|
-
Kt.locale =
|
|
28863
|
-
Kt.localeData =
|
|
28868
|
+
Kt.locale = vv;
|
|
28869
|
+
Kt.localeData = bv;
|
|
28864
28870
|
Kt.toIsoString = Os(
|
|
28865
28871
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
28866
28872
|
kd
|
|
28867
28873
|
);
|
|
28868
|
-
Kt.lang =
|
|
28874
|
+
Kt.lang = xv;
|
|
28869
28875
|
ft("X", 0, 0, "unix");
|
|
28870
28876
|
ft("x", 0, 0, "valueOf");
|
|
28871
28877
|
st("x", vd);
|
|
@@ -29113,7 +29119,7 @@ function KP(s, i, a, c, f, x) {
|
|
|
29113
29119
|
placeholder: "Напишіть коментар...",
|
|
29114
29120
|
class: "w-full h-[200px] border rounded-lg outline-none resize-none p-[20px] focus:border-[2px] focus:border-blue-600 [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500"
|
|
29115
29121
|
}, null, 512), [
|
|
29116
|
-
[
|
|
29122
|
+
[P_, f.textareaValue]
|
|
29117
29123
|
])
|
|
29118
29124
|
])
|
|
29119
29125
|
]),
|
|
@@ -29269,7 +29275,7 @@ function hC(s, i, a, c, f, x) {
|
|
|
29269
29275
|
class: "w-full h-[200px] border rounded-lg outline-none resize-none p-[20px] focus:border-[2px] focus:border-blue-600 [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500",
|
|
29270
29276
|
placeholder: "Напишіть коментар..."
|
|
29271
29277
|
}, null, 512), [
|
|
29272
|
-
[
|
|
29278
|
+
[P_, f.commentContent]
|
|
29273
29279
|
])
|
|
29274
29280
|
]),
|
|
29275
29281
|
re("button", {
|
|
@@ -29734,10 +29740,10 @@ const TC = /* @__PURE__ */ qi(bC, [["render", SC]]), kC = {
|
|
|
29734
29740
|
install(s, { componentsApp: i, MENUDATA: a } = { componentsApp: {}, MENUDATA: { ...fS } }) {
|
|
29735
29741
|
var x;
|
|
29736
29742
|
qt.defaults.baseURL && (qt.defaults.baseURL = qt.defaults.baseURL);
|
|
29737
|
-
const c = (x =
|
|
29743
|
+
const c = (x = v0(a)) == null ? void 0 : x.filter((v) => v == null ? void 0 : v.component).map((v) => ({ ...v, component: i[v == null ? void 0 : v.component] })), { router: f } = q2(c);
|
|
29738
29744
|
Object.entries({ ...kC, ...i }).forEach(([v, u]) => {
|
|
29739
29745
|
s.component(v, u);
|
|
29740
|
-
}), s.component("admin",
|
|
29746
|
+
}), s.component("admin", uw), s.config.globalProperties = {
|
|
29741
29747
|
...s.config.globalProperties,
|
|
29742
29748
|
$componentsConfig: { ...pS, componentsApp: i },
|
|
29743
29749
|
$router: f
|