@opengis/admin 0.1.21 → 0.1.23
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/IconSearch-BFXUWqxN.js +26 -0
- package/dist/{add-page-vX4ne6CO.js → add-page-QXFDP0nU.js} +2 -2
- package/dist/{admin-interface-CLoG7ut3.js → admin-interface-1RkLvsRa.js} +220 -207
- package/dist/{admin-view-_gUXThTm.js → admin-view-CPrnjZDu.js} +81 -97
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +25 -25
- package/dist/{card-page-B98zZW37.js → card-page-BX2dmCcY.js} +1 -1
- package/dist/{card-view-UPTWBqwM.js → card-view-CnB3fm_K.js} +1 -1
- package/dist/{edit-page-D5iMrlzA.js → edit-page-BolMZCpj.js} +1 -1
- package/dist/{import-file-B37H73ct.js → import-file-Cmff8ZAR.js} +804 -810
- package/module/settings/card/admin.roles.table/access.hbs +5 -3
- package/module/settings/card/admin.roles.table/index.yml +1 -1
- package/module/settings/card/admin.roles.table/users.hbs +4 -7
- package/module/settings/card/admin.routes.table/users.hbs +10 -4
- package/module/settings/table/admin.routes.table.json +8 -6
- package/package.json +2 -2
- package/server/routes/data/controllers/tableFilter.js +2 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { resolveComponent as kn, openBlock as lt, createBlock as ka, shallowRef as
|
|
2
|
-
function
|
|
1
|
+
import { resolveComponent as kn, openBlock as lt, createBlock as ka, shallowRef as Sb, unref as Ll, shallowReactive as Tb, nextTick as kb, defineComponent as jf, reactive as Eb, inject as pu, computed as hr, h as w_, provide as Vp, ref as Mb, watch as S_, getCurrentInstance as T_, watchEffect as Pb, createElementBlock as pt, createElementVNode as re, toDisplayString as hi, normalizeStyle as Vf, Fragment as qr, renderList as fu, withDirectives as $f, vShow as Cb, normalizeClass as k_, createCommentVNode as Uf, createVNode as Wr, createTextVNode as Hs, renderSlot as Ib, withCtx as mu, withModifiers as ry, vModelText as E_ } from "vue";
|
|
2
|
+
function M_(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: Ab } = Object.prototype, { getPrototypeOf: qf } = Object, cd = /* @__PURE__ */ ((s) => (i) => {
|
|
8
|
+
const a = Ab.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 Db(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 P_ = Ys("ArrayBuffer");
|
|
15
|
+
function zb(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 && P_(s.buffer), i;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const Rb = ud("string"), gs = ud("function"), C_ = ud("number"), hd = (s) => s !== null && typeof s == "object", Lb = (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
|
+
}, Ob = Ys("Date"), Fb = Ys("File"), Bb = Ys("Blob"), Nb = Ys("FileList"), jb = (s) => hd(s) && gs(s.pipe), Vb = (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
|
+
}, $b = Ys("URLSearchParams"), [Ub, qb, Hb, Zb] = ["ReadableStream", "Request", "Response", "Headers"].map(Ys), Wb = (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 I_(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, A_ = (s) => !gu(s) && s !== wa;
|
|
53
53
|
function gf() {
|
|
54
|
-
const { caseless: s } =
|
|
55
|
-
const x = s &&
|
|
54
|
+
const { caseless: s } = A_(this) && this || {}, i = {}, a = (c, f) => {
|
|
55
|
+
const x = s && I_(i, f) || f;
|
|
56
56
|
Zh(i[x]) && Zh(c) ? i[x] = gf(i[x], c) : Zh(c) ? i[x] = gf({}, 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 Gb = (s, i, a, { allOwnKeys: c } = {}) => (wu(i, (f, x) => {
|
|
63
|
+
a && gs(f) ? s[x] = M_(f, a) : s[x] = f;
|
|
64
|
+
}, { allOwnKeys: c }), s), Yb = (s) => (s.charCodeAt(0) === 65279 && (s = s.slice(1)), s), Xb = (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
|
+
}, Kb = (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
|
+
}, Jb = (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
|
+
}, Qb = (s) => {
|
|
83
83
|
if (!s) return null;
|
|
84
84
|
if ($l(s)) return s;
|
|
85
85
|
let i = s.length;
|
|
86
|
-
if (!
|
|
86
|
+
if (!C_(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
|
+
}, e1 = /* @__PURE__ */ ((s) => (i) => s && i instanceof s)(typeof Uint8Array < "u" && qf(Uint8Array)), t1 = (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
|
+
}, i1 = (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
|
+
}, n1 = Ys("HTMLFormElement"), s1 = (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), r1 = Ys("RegExp"), D_ = (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
|
+
}, o1 = (s) => {
|
|
116
|
+
D_(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
|
+
}, a1 = (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
|
+
}, l1 = () => {
|
|
138
|
+
}, c1 = (s, i) => s != null && Number.isFinite(s = +s) ? s : i, $p = "abcdefghijklmnopqrstuvwxyz", ay = "0123456789", z_ = {
|
|
139
139
|
DIGIT: ay,
|
|
140
140
|
ALPHA: $p,
|
|
141
141
|
ALPHA_DIGIT: $p + $p.toUpperCase() + ay
|
|
142
|
-
},
|
|
142
|
+
}, u1 = (s = 16, i = z_.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 h1(s) {
|
|
150
150
|
return !!(s && gs(s.append) && s[Symbol.toStringTag] === "FormData" && s[Symbol.iterator]);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const d1 = (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
|
+
}, p1 = Ys("AsyncFunction"), f1 = (s) => s && (hd(s) || gs(s)) && gs(s.then) && gs(s.catch), R_ = ((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
|
+
), m1 = typeof queueMicrotask < "u" ? queueMicrotask.bind(wa) : typeof process < "u" && process.nextTick || R_, ke = {
|
|
177
177
|
isArray: $l,
|
|
178
|
-
isArrayBuffer:
|
|
179
|
-
isBuffer:
|
|
180
|
-
isFormData:
|
|
181
|
-
isArrayBufferView:
|
|
182
|
-
isString:
|
|
183
|
-
isNumber:
|
|
184
|
-
isBoolean:
|
|
178
|
+
isArrayBuffer: P_,
|
|
179
|
+
isBuffer: Db,
|
|
180
|
+
isFormData: Vb,
|
|
181
|
+
isArrayBufferView: zb,
|
|
182
|
+
isString: Rb,
|
|
183
|
+
isNumber: C_,
|
|
184
|
+
isBoolean: Lb,
|
|
185
185
|
isObject: hd,
|
|
186
186
|
isPlainObject: Zh,
|
|
187
|
-
isReadableStream:
|
|
188
|
-
isRequest:
|
|
189
|
-
isResponse:
|
|
190
|
-
isHeaders:
|
|
187
|
+
isReadableStream: Ub,
|
|
188
|
+
isRequest: qb,
|
|
189
|
+
isResponse: Hb,
|
|
190
|
+
isHeaders: Zb,
|
|
191
191
|
isUndefined: gu,
|
|
192
|
-
isDate:
|
|
193
|
-
isFile:
|
|
194
|
-
isBlob:
|
|
195
|
-
isRegExp:
|
|
192
|
+
isDate: Ob,
|
|
193
|
+
isFile: Fb,
|
|
194
|
+
isBlob: Bb,
|
|
195
|
+
isRegExp: r1,
|
|
196
196
|
isFunction: gs,
|
|
197
|
-
isStream:
|
|
198
|
-
isURLSearchParams:
|
|
199
|
-
isTypedArray:
|
|
200
|
-
isFileList:
|
|
197
|
+
isStream: jb,
|
|
198
|
+
isURLSearchParams: $b,
|
|
199
|
+
isTypedArray: e1,
|
|
200
|
+
isFileList: Nb,
|
|
201
201
|
forEach: wu,
|
|
202
202
|
merge: gf,
|
|
203
|
-
extend:
|
|
204
|
-
trim:
|
|
205
|
-
stripBOM:
|
|
206
|
-
inherits:
|
|
207
|
-
toFlatObject:
|
|
203
|
+
extend: Gb,
|
|
204
|
+
trim: Wb,
|
|
205
|
+
stripBOM: Yb,
|
|
206
|
+
inherits: Xb,
|
|
207
|
+
toFlatObject: Kb,
|
|
208
208
|
kindOf: cd,
|
|
209
209
|
kindOfTest: Ys,
|
|
210
|
-
endsWith:
|
|
211
|
-
toArray:
|
|
212
|
-
forEachEntry:
|
|
213
|
-
matchAll:
|
|
214
|
-
isHTMLForm:
|
|
210
|
+
endsWith: Jb,
|
|
211
|
+
toArray: Qb,
|
|
212
|
+
forEachEntry: t1,
|
|
213
|
+
matchAll: i1,
|
|
214
|
+
isHTMLForm: n1,
|
|
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: D_,
|
|
219
|
+
freezeMethods: o1,
|
|
220
|
+
toObjectSet: a1,
|
|
221
|
+
toCamelCase: s1,
|
|
222
|
+
noop: l1,
|
|
223
|
+
toFiniteNumber: c1,
|
|
224
|
+
findKey: I_,
|
|
225
225
|
global: wa,
|
|
226
|
-
isContextDefined:
|
|
227
|
-
ALPHABET:
|
|
228
|
-
generateString:
|
|
229
|
-
isSpecCompliantForm:
|
|
230
|
-
toJSONObject:
|
|
231
|
-
isAsyncFn:
|
|
232
|
-
isThenable:
|
|
233
|
-
setImmediate:
|
|
234
|
-
asap:
|
|
226
|
+
isContextDefined: A_,
|
|
227
|
+
ALPHABET: z_,
|
|
228
|
+
generateString: u1,
|
|
229
|
+
isSpecCompliantForm: h1,
|
|
230
|
+
toJSONObject: d1,
|
|
231
|
+
isAsyncFn: p1,
|
|
232
|
+
isThenable: f1,
|
|
233
|
+
setImmediate: R_,
|
|
234
|
+
asap: m1
|
|
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 L_ = At.prototype, O_ = {};
|
|
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
|
+
O_[s] = { value: s };
|
|
277
277
|
});
|
|
278
|
-
Object.defineProperties(At,
|
|
279
|
-
Object.defineProperty(
|
|
278
|
+
Object.defineProperties(At, O_);
|
|
279
|
+
Object.defineProperty(L_, "isAxiosError", { value: !0 });
|
|
280
280
|
At.from = (s, i, a, c, f, x) => {
|
|
281
|
-
const v = Object.create(
|
|
281
|
+
const v = Object.create(L_);
|
|
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 g1 = null;
|
|
287
287
|
function yf(s) {
|
|
288
288
|
return ke.isPlainObject(s) || ke.isArray(s);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function F_(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 = F_(f), !a && x ? "[" + f + "]" : f;
|
|
296
296
|
}).join(a ? "." : "") : i;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function y1(s) {
|
|
299
299
|
return ke.isArray(s) && !s.some(yf);
|
|
300
300
|
}
|
|
301
|
-
const
|
|
301
|
+
const _1 = 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) && y1(G) || (ke.isFileList(G) || ke.endsWith(ne, "[]")) && (de = ke.toArray(G)))
|
|
331
|
+
return ne = F_(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 yf(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(_1, {
|
|
342
342
|
defaultVisitor: A,
|
|
343
343
|
convertValue: I,
|
|
344
344
|
isVisitable: yf
|
|
@@ -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 B_ = Hf.prototype;
|
|
383
|
+
B_.append = function(i, a) {
|
|
384
384
|
this._pairs.push([i, a]);
|
|
385
385
|
};
|
|
386
|
-
|
|
386
|
+
B_.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 v1(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 N_(s, i, a) {
|
|
398
398
|
if (!i)
|
|
399
399
|
return s;
|
|
400
|
-
const c = a && a.encode ||
|
|
400
|
+
const c = a && a.encode || v1, 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 j_ = {
|
|
463
463
|
silentJSONParsing: !0,
|
|
464
464
|
forcedJSONParsing: !0,
|
|
465
465
|
clarifyTimeoutError: !1
|
|
466
|
-
},
|
|
466
|
+
}, x1 = typeof URLSearchParams < "u" ? URLSearchParams : Hf, b1 = typeof FormData < "u" ? FormData : null, w1 = typeof Blob < "u" ? Blob : null, S1 = {
|
|
467
467
|
isBrowser: !0,
|
|
468
468
|
classes: {
|
|
469
|
-
URLSearchParams:
|
|
470
|
-
FormData:
|
|
471
|
-
Blob:
|
|
469
|
+
URLSearchParams: x1,
|
|
470
|
+
FormData: b1,
|
|
471
|
+
Blob: w1
|
|
472
472
|
},
|
|
473
473
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
474
|
-
}, Zf = typeof window < "u" && typeof document < "u", _f = typeof navigator == "object" && navigator || void 0,
|
|
475
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
474
|
+
}, Zf = typeof window < "u" && typeof document < "u", _f = typeof navigator == "object" && navigator || void 0, T1 = Zf && (!_f || ["ReactNative", "NativeScript", "NS"].indexOf(_f.product) < 0), k1 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
475
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", E1 = Zf && window.location.href || "http://localhost", M1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
476
476
|
__proto__: null,
|
|
477
477
|
hasBrowserEnv: Zf,
|
|
478
|
-
hasStandardBrowserEnv:
|
|
479
|
-
hasStandardBrowserWebWorkerEnv:
|
|
478
|
+
hasStandardBrowserEnv: T1,
|
|
479
|
+
hasStandardBrowserWebWorkerEnv: k1,
|
|
480
480
|
navigator: _f,
|
|
481
|
-
origin:
|
|
481
|
+
origin: E1
|
|
482
482
|
}, Symbol.toStringTag, { value: "Module" })), es = {
|
|
483
|
-
...
|
|
484
|
-
...
|
|
483
|
+
...M1,
|
|
484
|
+
...S1
|
|
485
485
|
};
|
|
486
|
-
function
|
|
486
|
+
function P1(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 C1(s) {
|
|
494
494
|
return ke.matchAll(/\w+|\[(\w*)]/g, s).map((i) => i[0] === "[]" ? "" : i[1] || i[0]);
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function I1(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 V_(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] = I1(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(C1(c), f, a, 0);
|
|
516
516
|
}), a;
|
|
517
517
|
}
|
|
518
518
|
return null;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function A1(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: j_,
|
|
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(V_(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 P1(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), A1(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 D1 = 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
|
+
]), z1 = (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] && D1[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 R1(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 L1 = (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 O1(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 F1(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()) && !L1(i))
|
|
680
|
+
v(z1(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 R1(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 ? O1(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] || (F1(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 $_(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 U_(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 B1(s) {
|
|
819
819
|
const i = /^([-+\w]{1,25})(:?\/\/|:)/.exec(s);
|
|
820
820
|
return i && i[1] || "";
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
function N1(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 j1(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 = N1(50, 250);
|
|
853
|
+
return j1((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)), V1 = 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
|
+
), $1 = 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 U1(s) {
|
|
935
935
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(s);
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function q1(s, i) {
|
|
938
938
|
return i ? s.replace(/\/?\/$/, "") + "/" + i.replace(/^\/+/, "") : s;
|
|
939
939
|
}
|
|
940
|
-
function
|
|
941
|
-
return s && !
|
|
940
|
+
function q_(s, i) {
|
|
941
|
+
return s && !U1(i) ? q1(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 H_ = (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 = N_(q_(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 && V1(i.url))) {
|
|
1025
|
+
const I = f && x && $1.read(x);
|
|
1026
1026
|
I && v.set(f, I);
|
|
1027
1027
|
}
|
|
1028
1028
|
return i;
|
|
1029
|
-
},
|
|
1029
|
+
}, H1 = typeof XMLHttpRequest < "u", Z1 = H1 && function(s) {
|
|
1030
1030
|
return new Promise(function(a, c) {
|
|
1031
|
-
const f =
|
|
1031
|
+
const f = H_(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
|
+
U_(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 || j_;
|
|
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 = B1(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
|
+
}, W1 = (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
|
+
}, G1 = 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
|
+
}, Y1 = async function* (s, i) {
|
|
1119
|
+
for await (const a of X1(s))
|
|
1120
|
+
yield* G1(a, i);
|
|
1121
|
+
}, X1 = 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 = Y1(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", Z_ = pd && typeof ReadableStream == "function", K1 = pd && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((s) => (i) => s.encode(i))(new TextEncoder()) : async (s) => new Uint8Array(await new Response(s).arrayBuffer())), W_ = (s, ...i) => {
|
|
1167
1167
|
try {
|
|
1168
1168
|
return !!s(...i);
|
|
1169
1169
|
} catch {
|
|
1170
1170
|
return !1;
|
|
1171
1171
|
}
|
|
1172
|
-
},
|
|
1172
|
+
}, J1 = Z_ && W_(() => {
|
|
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, vf =
|
|
1182
|
+
}), gy = 64 * 1024, vf = Z_ && W_(() => ke.isReadableStream(new Response("").body)), Jh = {
|
|
1183
1183
|
stream: vf && ((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 Q1 = 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 K1(s)).byteLength;
|
|
1206
|
+
}, ew = async (s, i) => {
|
|
1207
1207
|
const a = ke.toFiniteNumber(s.getContentLength());
|
|
1208
|
-
return a ??
|
|
1209
|
-
},
|
|
1208
|
+
return a ?? Q1(i);
|
|
1209
|
+
}, tw = 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
|
+
} = H_(s);
|
|
1224
1224
|
I = I ? (I + "").toLowerCase() : "text";
|
|
1225
|
-
let U =
|
|
1225
|
+
let U = W1([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 && J1 && a !== "get" && a !== "head" && (ce = await ew(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
|
+
U_(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
|
}), xf = {
|
|
1295
|
-
http:
|
|
1296
|
-
xhr:
|
|
1297
|
-
fetch:
|
|
1295
|
+
http: g1,
|
|
1296
|
+
xhr: Z1,
|
|
1297
|
+
fetch: tw
|
|
1298
1298
|
};
|
|
1299
1299
|
ke.forEach(xf, (s, i) => {
|
|
1300
1300
|
if (s) {
|
|
@@ -1305,7 +1305,7 @@ ke.forEach(xf, (s, i) => {
|
|
|
1305
1305
|
Object.defineProperty(s, "adapterName", { value: i });
|
|
1306
1306
|
}
|
|
1307
1307
|
});
|
|
1308
|
-
const yy = (s) => `- ${s}`,
|
|
1308
|
+
const yy = (s) => `- ${s}`, iw = (s) => ke.isFunction(s) || s === null || s === !1, G_ = {
|
|
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, !iw(a) && (c = xf[(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), G_.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 $_(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 Y_ = "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" + Y_ + "] 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 nw(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 bf = {
|
|
1404
|
-
assertOptions:
|
|
1404
|
+
assertOptions: nw,
|
|
1405
1405
|
validators: Wf
|
|
1406
1406
|
}, zo = bf.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 = q_(i.baseURL, i.url);
|
|
1501
|
+
return N_(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 sw(s) {
|
|
1602
1602
|
return function(a) {
|
|
1603
1603
|
return s.apply(null, a);
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function rw(s) {
|
|
1607
1607
|
return ke.isObject(s) && s.isAxiosError === !0;
|
|
1608
1608
|
}
|
|
1609
1609
|
const wf = {
|
|
@@ -1674,30 +1674,30 @@ const wf = {
|
|
|
1674
1674
|
Object.entries(wf).forEach(([s, i]) => {
|
|
1675
1675
|
wf[i] = s;
|
|
1676
1676
|
});
|
|
1677
|
-
function
|
|
1678
|
-
const i = new Ea(s), a =
|
|
1677
|
+
function X_(s) {
|
|
1678
|
+
const i = new Ea(s), a = M_(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 X_(Ca(s, f));
|
|
1681
1681
|
}, a;
|
|
1682
1682
|
}
|
|
1683
|
-
const Ut =
|
|
1683
|
+
const Ut = X_(Su);
|
|
1684
1684
|
Ut.Axios = Ea;
|
|
1685
1685
|
Ut.CanceledError = Ul;
|
|
1686
1686
|
Ut.CancelToken = Gf;
|
|
1687
|
-
Ut.isCancel =
|
|
1688
|
-
Ut.VERSION =
|
|
1687
|
+
Ut.isCancel = $_;
|
|
1688
|
+
Ut.VERSION = Y_;
|
|
1689
1689
|
Ut.toFormData = dd;
|
|
1690
1690
|
Ut.AxiosError = At;
|
|
1691
1691
|
Ut.Cancel = Ut.CanceledError;
|
|
1692
1692
|
Ut.all = function(i) {
|
|
1693
1693
|
return Promise.all(i);
|
|
1694
1694
|
};
|
|
1695
|
-
Ut.spread =
|
|
1696
|
-
Ut.isAxiosError =
|
|
1695
|
+
Ut.spread = sw;
|
|
1696
|
+
Ut.isAxiosError = rw;
|
|
1697
1697
|
Ut.mergeConfig = Ca;
|
|
1698
1698
|
Ut.AxiosHeaders = ts;
|
|
1699
|
-
Ut.formToJSON = (s) =>
|
|
1700
|
-
Ut.getAdapter =
|
|
1699
|
+
Ut.formToJSON = (s) => V_(ke.isHTMLForm(s) ? new FormData(s) : s);
|
|
1700
|
+
Ut.getAdapter = G_.getAdapter;
|
|
1701
1701
|
Ut.HttpStatusCode = wf;
|
|
1702
1702
|
Ut.default = Ut;
|
|
1703
1703
|
const Fi = (s, i) => {
|
|
@@ -1705,28 +1705,28 @@ const Fi = (s, i) => {
|
|
|
1705
1705
|
for (const [c, f] of i)
|
|
1706
1706
|
a[c] = f;
|
|
1707
1707
|
return a;
|
|
1708
|
-
},
|
|
1709
|
-
function
|
|
1708
|
+
}, ow = {};
|
|
1709
|
+
function aw(s, i, a, c, f, x) {
|
|
1710
1710
|
const v = kn("router-view");
|
|
1711
1711
|
return lt(), ka(v);
|
|
1712
1712
|
}
|
|
1713
|
-
const
|
|
1714
|
-
function
|
|
1715
|
-
return
|
|
1713
|
+
const lw = /* @__PURE__ */ Fi(ow, [["render", aw]]);
|
|
1714
|
+
function cw() {
|
|
1715
|
+
return K_().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1717
|
+
function K_() {
|
|
1718
1718
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
1719
1719
|
}
|
|
1720
|
-
const
|
|
1720
|
+
const uw = typeof Proxy == "function", hw = "devtools-plugin:setup", dw = "plugin:settings:set";
|
|
1721
1721
|
let El, Sf;
|
|
1722
|
-
function
|
|
1722
|
+
function pw() {
|
|
1723
1723
|
var s;
|
|
1724
1724
|
return El !== void 0 || (typeof window < "u" && window.performance ? (El = !0, Sf = window.performance) : typeof globalThis < "u" && (!((s = globalThis.perf_hooks) === null || s === void 0) && s.performance) ? (El = !0, Sf = globalThis.perf_hooks.performance) : El = !1), El;
|
|
1725
1725
|
}
|
|
1726
|
-
function
|
|
1727
|
-
return
|
|
1726
|
+
function fw() {
|
|
1727
|
+
return pw() ? Sf.now() : Date.now();
|
|
1728
1728
|
}
|
|
1729
|
-
class
|
|
1729
|
+
class mw {
|
|
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 fw();
|
|
1758
1758
|
}
|
|
1759
|
-
}, a && a.on(
|
|
1759
|
+
}, a && a.on(dw, (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 gw(s, i) {
|
|
1792
|
+
const a = s, c = K_(), f = cw(), x = uw && a.enableEarlyProxy;
|
|
1793
1793
|
if (f && (c.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !x))
|
|
1794
|
-
f.emit(
|
|
1794
|
+
f.emit(hw, s, i);
|
|
1795
1795
|
else {
|
|
1796
|
-
const v = x ? new
|
|
1796
|
+
const v = x ? new mw(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.4
|
|
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 J_(s) {
|
|
1811
1811
|
return typeof s == "object" || "displayName" in s || "props" in s || "__vccOpts" in s;
|
|
1812
1812
|
}
|
|
1813
|
-
function
|
|
1813
|
+
function yw(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 && J_(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 Q_ = /#/g, _w = /&/g, vw = /\//g, xw = /=/g, bw = /\?/g, e0 = /\+/g, ww = /%5B/g, Sw = /%5D/g, t0 = /%5E/g, Tw = /%60/g, i0 = /%7B/g, kw = /%7C/g, n0 = /%7D/g, Ew = /%20/g;
|
|
1834
1834
|
function Yf(s) {
|
|
1835
|
-
return encodeURI("" + s).replace(
|
|
1835
|
+
return encodeURI("" + s).replace(kw, "|").replace(ww, "[").replace(Sw, "]");
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1838
|
-
return Yf(s).replace(
|
|
1837
|
+
function Mw(s) {
|
|
1838
|
+
return Yf(s).replace(i0, "{").replace(n0, "}").replace(t0, "^");
|
|
1839
1839
|
}
|
|
1840
1840
|
function Tf(s) {
|
|
1841
|
-
return Yf(s).replace(
|
|
1841
|
+
return Yf(s).replace(e0, "%2B").replace(Ew, "+").replace(Q_, "%23").replace(_w, "%26").replace(Tw, "`").replace(i0, "{").replace(n0, "}").replace(t0, "^");
|
|
1842
|
+
}
|
|
1843
|
+
function Pw(s) {
|
|
1844
|
+
return Tf(s).replace(xw, "%3D");
|
|
1842
1845
|
}
|
|
1843
1846
|
function Cw(s) {
|
|
1844
|
-
return
|
|
1847
|
+
return Yf(s).replace(Q_, "%23").replace(bw, "%3F");
|
|
1845
1848
|
}
|
|
1846
1849
|
function Iw(s) {
|
|
1847
|
-
return
|
|
1848
|
-
}
|
|
1849
|
-
function Aw(s) {
|
|
1850
|
-
return s == null ? "" : Iw(s).replace(xw, "%2F");
|
|
1850
|
+
return s == null ? "" : Cw(s).replace(vw, "%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 Aw = /\/$/, Dw = (s) => s.replace(Aw, "");
|
|
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 = Lw(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 zw(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]) && s0(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 s0(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 (!Rw(s[a], i[a]))
|
|
1891
1891
|
return !1;
|
|
1892
1892
|
return !0;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Rw(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 Lw(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 Ow(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),
|
|
1945
|
+
return s[0] !== "/" && s[0] !== "#" && (s = "/" + s), Dw(s);
|
|
1946
1946
|
}
|
|
1947
|
-
const
|
|
1948
|
-
function
|
|
1949
|
-
return s.replace(
|
|
1947
|
+
const Fw = /^[^#]+#/;
|
|
1948
|
+
function Bw(s, i) {
|
|
1949
|
+
return s.replace(Fw, "#") + i;
|
|
1950
1950
|
}
|
|
1951
|
-
function
|
|
1951
|
+
function Nw(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 jw(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 = Nw(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 kf = /* @__PURE__ */ new Map();
|
|
1992
|
-
function
|
|
1992
|
+
function Vw(s, i) {
|
|
1993
1993
|
kf.set(s, i);
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function $w(s) {
|
|
1996
1996
|
const i = kf.get(s);
|
|
1997
1997
|
return kf.delete(s), i;
|
|
1998
1998
|
}
|
|
1999
|
-
let
|
|
2000
|
-
function
|
|
1999
|
+
let Uw = () => location.protocol + "//" + location.host;
|
|
2000
|
+
function r0(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 qw(s, i, a, c) {
|
|
2009
2009
|
let f = [], x = [], v = null;
|
|
2010
2010
|
const u = ({ state: R }) => {
|
|
2011
|
-
const U =
|
|
2011
|
+
const U = r0(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 Hw(s) {
|
|
2068
2068
|
const { history: i, location: a } = window, c = {
|
|
2069
|
-
value:
|
|
2069
|
+
value: r0(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 : Uw() + 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 Zw(s) {
|
|
2129
|
+
s = Ow(s);
|
|
2130
|
+
const i = Hw(s), a = qw(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: Bw.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 o0(s) {
|
|
2153
2153
|
return typeof s == "string" || typeof s == "symbol";
|
|
2154
2154
|
}
|
|
2155
2155
|
const Ef = 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 Ww = {
|
|
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 "${Yw(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(Ww[s](i)), {
|
|
2182
2182
|
type: s,
|
|
2183
2183
|
[Ef]: !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 && Ef in s && (i == null || !!(s.type & i));
|
|
2191
2191
|
}
|
|
2192
|
-
const
|
|
2193
|
-
function
|
|
2192
|
+
const Gw = ["params", "query", "hash"];
|
|
2193
|
+
function Yw(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 Gw)
|
|
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 = "[^/]+?", Xw = {
|
|
2204
2204
|
sensitive: !1,
|
|
2205
2205
|
strict: !1,
|
|
2206
2206
|
start: !0,
|
|
2207
2207
|
end: !0
|
|
2208
|
-
},
|
|
2209
|
-
function
|
|
2210
|
-
const a = ai({},
|
|
2208
|
+
}, Kw = /[.+*?^${}()[\]/\\]/g;
|
|
2209
|
+
function Jw(s, i) {
|
|
2210
|
+
const a = ai({}, Xw, 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(Kw, "\\$&"), 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 Qw(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 a0(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 = Qw(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 e2 = {
|
|
2327
2327
|
type: 0,
|
|
2328
2328
|
value: ""
|
|
2329
|
-
},
|
|
2330
|
-
function
|
|
2329
|
+
}, t2 = /[a-zA-Z0-9_]/;
|
|
2330
|
+
function i2(s) {
|
|
2331
2331
|
if (!s)
|
|
2332
2332
|
return [[]];
|
|
2333
2333
|
if (s === "/")
|
|
2334
|
-
return [[
|
|
2334
|
+
return [[e2]];
|
|
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 : t2.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 n2(s, i, a) {
|
|
2391
|
+
const c = Jw(i2(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,33 +2403,31 @@ 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 s2(s, i) {
|
|
2407
2407
|
const a = [], c = /* @__PURE__ */ new Map();
|
|
2408
|
-
i =
|
|
2408
|
+
i = Iy({ 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 = r2(z);
|
|
2414
2414
|
process.env.NODE_ENV !== "production" && c2(ne, R), ne.aliasOf = U && U.record;
|
|
2415
|
-
const ce =
|
|
2415
|
+
const ce = Iy(i, z), de = [
|
|
2416
|
+
ne
|
|
2417
|
+
];
|
|
2416
2418
|
if ("alias" in z) {
|
|
2417
2419
|
const Ae = typeof z.alias == "string" ? [z.alias] : z.alias;
|
|
2418
2420
|
for (const at of Ae)
|
|
2419
|
-
de.push(
|
|
2420
|
-
//
|
|
2421
|
-
//
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
// the aliases are always of the same kind as the original since they
|
|
2430
|
-
// are defined on the same record
|
|
2431
|
-
}))
|
|
2432
|
-
);
|
|
2421
|
+
de.push(ai({}, ne, {
|
|
2422
|
+
// this allows us to hold a copy of the `components` option
|
|
2423
|
+
// so that async components cache is hold on the original record
|
|
2424
|
+
components: U ? U.record.components : ne.components,
|
|
2425
|
+
path: at,
|
|
2426
|
+
// we might be the child of an alias
|
|
2427
|
+
aliasOf: U ? U.record : ne
|
|
2428
|
+
// the aliases are always of the same kind as the original since they
|
|
2429
|
+
// are defined on the same record
|
|
2430
|
+
}));
|
|
2433
2431
|
}
|
|
2434
2432
|
let be, _e;
|
|
2435
2433
|
for (const Ae of de) {
|
|
@@ -2441,7 +2439,7 @@ function r2(s, i) {
|
|
|
2441
2439
|
if (process.env.NODE_ENV !== "production" && Ae.path === "*")
|
|
2442
2440
|
throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
2443
2441
|
See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);
|
|
2444
|
-
if (be =
|
|
2442
|
+
if (be = n2(Ae, R, ce), process.env.NODE_ENV !== "production" && R && at[0] === "/" && u2(be, R), U ? (U.alias.push(be), process.env.NODE_ENV !== "production" && l2(U, be)) : (_e = _e || be, _e !== be && _e.alias.push(be), G && z.name && !Cy(be) && v(z.name)), l0(be) && C(be), ne.children) {
|
|
2445
2443
|
const wt = ne.children;
|
|
2446
2444
|
for (let Ve = 0; Ve < wt.length; Ve++)
|
|
2447
2445
|
x(wt[Ve], be, U && U.children[Ve]);
|
|
@@ -2453,7 +2451,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
|
|
|
2453
2451
|
} : cu;
|
|
2454
2452
|
}
|
|
2455
2453
|
function v(z) {
|
|
2456
|
-
if (
|
|
2454
|
+
if (o0(z)) {
|
|
2457
2455
|
const R = c.get(z);
|
|
2458
2456
|
R && (c.delete(z), a.splice(a.indexOf(R), 1), R.children.forEach(v), R.alias.forEach(v));
|
|
2459
2457
|
} else {
|
|
@@ -2466,7 +2464,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
|
|
|
2466
2464
|
}
|
|
2467
2465
|
function C(z) {
|
|
2468
2466
|
const R = h2(z, a);
|
|
2469
|
-
a.splice(R, 0, z), z.record.name && !
|
|
2467
|
+
a.splice(R, 0, z), z.record.name && !Cy(z) && c.set(z.record.name, z);
|
|
2470
2468
|
}
|
|
2471
2469
|
function I(z, R) {
|
|
2472
2470
|
let U, G = {}, ne, ce;
|
|
@@ -2532,13 +2530,13 @@ function Py(s, i) {
|
|
|
2532
2530
|
c in s && (a[c] = s[c]);
|
|
2533
2531
|
return a;
|
|
2534
2532
|
}
|
|
2535
|
-
function
|
|
2536
|
-
|
|
2533
|
+
function r2(s) {
|
|
2534
|
+
return {
|
|
2537
2535
|
path: s.path,
|
|
2538
2536
|
redirect: s.redirect,
|
|
2539
2537
|
name: s.name,
|
|
2540
2538
|
meta: s.meta || {},
|
|
2541
|
-
aliasOf:
|
|
2539
|
+
aliasOf: void 0,
|
|
2542
2540
|
beforeEnter: s.beforeEnter,
|
|
2543
2541
|
props: o2(s),
|
|
2544
2542
|
children: s.children || [],
|
|
@@ -2546,13 +2544,9 @@ function Cy(s) {
|
|
|
2546
2544
|
leaveGuards: /* @__PURE__ */ new Set(),
|
|
2547
2545
|
updateGuards: /* @__PURE__ */ new Set(),
|
|
2548
2546
|
enterCallbacks: {},
|
|
2549
|
-
|
|
2550
|
-
// mods: {},
|
|
2547
|
+
mods: {},
|
|
2551
2548
|
components: "components" in s ? s.components || null : s.component && { default: s.component }
|
|
2552
2549
|
};
|
|
2553
|
-
return Object.defineProperty(i, "mods", {
|
|
2554
|
-
value: {}
|
|
2555
|
-
}), i;
|
|
2556
2550
|
}
|
|
2557
2551
|
function o2(s) {
|
|
2558
2552
|
const i = {}, a = s.props || !1;
|
|
@@ -2563,7 +2557,7 @@ function o2(s) {
|
|
|
2563
2557
|
i[c] = typeof a == "object" ? a[c] : a;
|
|
2564
2558
|
return i;
|
|
2565
2559
|
}
|
|
2566
|
-
function
|
|
2560
|
+
function Cy(s) {
|
|
2567
2561
|
for (; s; ) {
|
|
2568
2562
|
if (s.record.aliasOf)
|
|
2569
2563
|
return !0;
|
|
@@ -2574,7 +2568,7 @@ function Iy(s) {
|
|
|
2574
2568
|
function a2(s) {
|
|
2575
2569
|
return s.reduce((i, a) => ai(i, a.meta), {});
|
|
2576
2570
|
}
|
|
2577
|
-
function
|
|
2571
|
+
function Iy(s, i) {
|
|
2578
2572
|
const a = {};
|
|
2579
2573
|
for (const c in s)
|
|
2580
2574
|
a[c] = c in i ? i[c] : s[c];
|
|
@@ -2603,7 +2597,7 @@ function h2(s, i) {
|
|
|
2603
2597
|
let a = 0, c = i.length;
|
|
2604
2598
|
for (; a !== c; ) {
|
|
2605
2599
|
const x = a + c >> 1;
|
|
2606
|
-
|
|
2600
|
+
a0(s, i[x]) < 0 ? c = x : a = x + 1;
|
|
2607
2601
|
}
|
|
2608
2602
|
const f = d2(s);
|
|
2609
2603
|
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;
|
|
@@ -2611,10 +2605,10 @@ function h2(s, i) {
|
|
|
2611
2605
|
function d2(s) {
|
|
2612
2606
|
let i = s;
|
|
2613
2607
|
for (; i = i.parent; )
|
|
2614
|
-
if (
|
|
2608
|
+
if (l0(i) && a0(s, i) === 0)
|
|
2615
2609
|
return i;
|
|
2616
2610
|
}
|
|
2617
|
-
function
|
|
2611
|
+
function l0({ record: s }) {
|
|
2618
2612
|
return !!(s.name || s.components && Object.keys(s.components).length || s.redirect);
|
|
2619
2613
|
}
|
|
2620
2614
|
function p2(s) {
|
|
@@ -2623,7 +2617,7 @@ function p2(s) {
|
|
|
2623
2617
|
return i;
|
|
2624
2618
|
const c = (s[0] === "?" ? s.slice(1) : s).split("&");
|
|
2625
2619
|
for (let f = 0; f < c.length; ++f) {
|
|
2626
|
-
const x = c[f].replace(
|
|
2620
|
+
const x = c[f].replace(e0, " "), v = x.indexOf("="), u = jl(v < 0 ? x : x.slice(0, v)), C = v < 0 ? null : jl(x.slice(v + 1));
|
|
2627
2621
|
if (u in i) {
|
|
2628
2622
|
let I = i[u];
|
|
2629
2623
|
ys(I) || (I = i[u] = [I]), I.push(C);
|
|
@@ -2632,11 +2626,11 @@ function p2(s) {
|
|
|
2632
2626
|
}
|
|
2633
2627
|
return i;
|
|
2634
2628
|
}
|
|
2635
|
-
function
|
|
2629
|
+
function Ay(s) {
|
|
2636
2630
|
let i = "";
|
|
2637
2631
|
for (let a in s) {
|
|
2638
2632
|
const c = s[a];
|
|
2639
|
-
if (a =
|
|
2633
|
+
if (a = Pw(a), c == null) {
|
|
2640
2634
|
c !== void 0 && (i += (i.length ? "&" : "") + a);
|
|
2641
2635
|
continue;
|
|
2642
2636
|
}
|
|
@@ -2654,7 +2648,7 @@ function f2(s) {
|
|
|
2654
2648
|
}
|
|
2655
2649
|
return i;
|
|
2656
2650
|
}
|
|
2657
|
-
const m2 = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""),
|
|
2651
|
+
const m2 = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""), Dy = Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : ""), Xf = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), c0 = Symbol(process.env.NODE_ENV !== "production" ? "route location" : ""), Pf = Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
2658
2652
|
function iu() {
|
|
2659
2653
|
let s = [];
|
|
2660
2654
|
function i(c) {
|
|
@@ -2724,7 +2718,7 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2724
2718
|
!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'))".`));
|
|
2725
2719
|
}
|
|
2726
2720
|
if (!(i !== "beforeRouteEnter" && !v.instances[u]))
|
|
2727
|
-
if (
|
|
2721
|
+
if (J_(C)) {
|
|
2728
2722
|
const A = (C.__vccOpts || C)[i];
|
|
2729
2723
|
A && x.push(Oo(A, a, c, v, u, f));
|
|
2730
2724
|
} else {
|
|
@@ -2732,7 +2726,7 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2732
2726
|
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) => {
|
|
2733
2727
|
if (!A)
|
|
2734
2728
|
throw new Error(`Couldn't resolve component "${u}" at "${v.path}"`);
|
|
2735
|
-
const z =
|
|
2729
|
+
const z = yw(A) ? A.default : A;
|
|
2736
2730
|
v.mods[u] = A, v.components[u] = z;
|
|
2737
2731
|
const U = (z.__vccOpts || z)[i];
|
|
2738
2732
|
return U && Oo(U, a, c, v, u, f)();
|
|
@@ -2742,8 +2736,8 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2742
2736
|
}
|
|
2743
2737
|
return x;
|
|
2744
2738
|
}
|
|
2745
|
-
function
|
|
2746
|
-
const i = pu(Xf), a = pu(
|
|
2739
|
+
function zy(s) {
|
|
2740
|
+
const i = pu(Xf), a = pu(c0);
|
|
2747
2741
|
let c = !1, f = null;
|
|
2748
2742
|
const x = hr(() => {
|
|
2749
2743
|
const A = Ll(s.to);
|
|
@@ -2760,16 +2754,16 @@ function Ry(s) {
|
|
|
2760
2754
|
const G = U.findIndex(jo.bind(null, R));
|
|
2761
2755
|
if (G > -1)
|
|
2762
2756
|
return G;
|
|
2763
|
-
const ne =
|
|
2757
|
+
const ne = Ry(A[z - 2]);
|
|
2764
2758
|
return (
|
|
2765
2759
|
// we are dealing with nested routes
|
|
2766
2760
|
z > 1 && // if the parent and matched route have the same path, this link is
|
|
2767
2761
|
// referring to the empty child. Or we currently are on a different
|
|
2768
2762
|
// child of the same parent
|
|
2769
|
-
|
|
2763
|
+
Ry(R) === ne && // avoid comparing the child with its parent
|
|
2770
2764
|
U[U.length - 1].path !== ne ? U.findIndex(jo.bind(null, A[z - 2])) : G
|
|
2771
2765
|
);
|
|
2772
|
-
}), u = hr(() => v.value > -1 && x2(a.params, x.value.params)), C = hr(() => v.value > -1 && v.value === a.matched.length - 1 &&
|
|
2766
|
+
}), u = hr(() => v.value > -1 && x2(a.params, x.value.params)), C = hr(() => v.value > -1 && v.value === a.matched.length - 1 && s0(a.params, x.value.params));
|
|
2773
2767
|
function I(A = {}) {
|
|
2774
2768
|
return v2(A) ? i[Ll(s.replace) ? "replace" : "push"](
|
|
2775
2769
|
Ll(s.to)
|
|
@@ -2777,7 +2771,7 @@ function Ry(s) {
|
|
|
2777
2771
|
).catch(cu) : Promise.resolve();
|
|
2778
2772
|
}
|
|
2779
2773
|
if (process.env.NODE_ENV !== "production" && jr) {
|
|
2780
|
-
const A =
|
|
2774
|
+
const A = T_();
|
|
2781
2775
|
if (A) {
|
|
2782
2776
|
const z = {
|
|
2783
2777
|
route: x.value,
|
|
@@ -2785,7 +2779,7 @@ function Ry(s) {
|
|
|
2785
2779
|
isExactActive: C.value,
|
|
2786
2780
|
error: null
|
|
2787
2781
|
};
|
|
2788
|
-
A.__vrl_devtools = A.__vrl_devtools || [], A.__vrl_devtools.push(z),
|
|
2782
|
+
A.__vrl_devtools = A.__vrl_devtools || [], A.__vrl_devtools.push(z), Pb(() => {
|
|
2789
2783
|
z.route = x.value, z.isActive = u.value, z.isExactActive = C.value, z.error = Qh(Ll(s.to)) ? null : 'Invalid "to" value';
|
|
2790
2784
|
}, { flush: "post" });
|
|
2791
2785
|
}
|
|
@@ -2816,20 +2810,20 @@ const y2 = /* @__PURE__ */ jf({
|
|
|
2816
2810
|
default: "page"
|
|
2817
2811
|
}
|
|
2818
2812
|
},
|
|
2819
|
-
useLink:
|
|
2813
|
+
useLink: zy,
|
|
2820
2814
|
setup(s, { slots: i }) {
|
|
2821
|
-
const a =
|
|
2822
|
-
[
|
|
2815
|
+
const a = Eb(zy(s)), { options: c } = pu(Xf), f = hr(() => ({
|
|
2816
|
+
[Ly(s.activeClass, c.linkActiveClass, "router-link-active")]: a.isActive,
|
|
2823
2817
|
// [getLinkClass(
|
|
2824
2818
|
// props.inactiveClass,
|
|
2825
2819
|
// options.linkInactiveClass,
|
|
2826
2820
|
// 'router-link-inactive'
|
|
2827
2821
|
// )]: !link.isExactActive,
|
|
2828
|
-
[
|
|
2822
|
+
[Ly(s.exactActiveClass, c.linkExactActiveClass, "router-link-exact-active")]: a.isExactActive
|
|
2829
2823
|
}));
|
|
2830
2824
|
return () => {
|
|
2831
2825
|
const x = i.default && i.default(a);
|
|
2832
|
-
return s.custom ? x :
|
|
2826
|
+
return s.custom ? x : w_("a", {
|
|
2833
2827
|
"aria-current": a.isExactActive ? s.ariaCurrentValue : null,
|
|
2834
2828
|
href: a.href,
|
|
2835
2829
|
// this would override user added attrs but Vue will still add
|
|
@@ -2861,10 +2855,10 @@ function x2(s, i) {
|
|
|
2861
2855
|
}
|
|
2862
2856
|
return !0;
|
|
2863
2857
|
}
|
|
2864
|
-
function
|
|
2858
|
+
function Ry(s) {
|
|
2865
2859
|
return s ? s.aliasOf ? s.aliasOf.path : s.path : "";
|
|
2866
2860
|
}
|
|
2867
|
-
const
|
|
2861
|
+
const Ly = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ jf({
|
|
2868
2862
|
name: "RouterView",
|
|
2869
2863
|
// #674 we manually inherit them
|
|
2870
2864
|
inheritAttrs: !1,
|
|
@@ -2880,7 +2874,7 @@ const Oy = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ jf({
|
|
|
2880
2874
|
compatConfig: { MODE: 3 },
|
|
2881
2875
|
setup(s, { attrs: i, slots: a }) {
|
|
2882
2876
|
process.env.NODE_ENV !== "production" && S2();
|
|
2883
|
-
const c = pu(Pf), f = hr(() => s.route || c.value), x = pu(
|
|
2877
|
+
const c = pu(Pf), f = hr(() => s.route || c.value), x = pu(Dy, 0), v = hr(() => {
|
|
2884
2878
|
let I = Ll(x);
|
|
2885
2879
|
const { matched: A } = f.value;
|
|
2886
2880
|
let z;
|
|
@@ -2888,17 +2882,17 @@ const Oy = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ jf({
|
|
|
2888
2882
|
I++;
|
|
2889
2883
|
return I;
|
|
2890
2884
|
}), u = hr(() => f.value.matched[v.value]);
|
|
2891
|
-
Vp(
|
|
2892
|
-
const C =
|
|
2893
|
-
return
|
|
2885
|
+
Vp(Dy, hr(() => v.value + 1)), Vp(m2, u), Vp(Pf, f);
|
|
2886
|
+
const C = Mb();
|
|
2887
|
+
return S_(() => [C.value, u.value, s.name], ([I, A, z], [R, U, G]) => {
|
|
2894
2888
|
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
|
|
2895
2889
|
// the first visit
|
|
2896
2890
|
(!U || !jo(A, U) || !R) && (A.enterCallbacks[z] || []).forEach((ne) => ne(I));
|
|
2897
2891
|
}, { flush: "post" }), () => {
|
|
2898
2892
|
const I = f.value, A = s.name, z = u.value, R = z && z.components[A];
|
|
2899
2893
|
if (!R)
|
|
2900
|
-
return
|
|
2901
|
-
const U = z.props[A], G = U ? U === !0 ? I.params : typeof U == "function" ? U(I) : U : null, ce =
|
|
2894
|
+
return Oy(a.default, { Component: R, route: I });
|
|
2895
|
+
const U = z.props[A], G = U ? U === !0 ? I.params : typeof U == "function" ? U(I) : U : null, ce = w_(R, ai({}, G, i, {
|
|
2902
2896
|
onVnodeUnmounted: (de) => {
|
|
2903
2897
|
de.component.isUnmounted && (z.instances[A] = null);
|
|
2904
2898
|
},
|
|
@@ -2918,12 +2912,12 @@ const Oy = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ jf({
|
|
|
2918
2912
|
return (
|
|
2919
2913
|
// pass the vnode to the slot as a prop.
|
|
2920
2914
|
// h and <component :is="..."> both accept vnodes
|
|
2921
|
-
|
|
2915
|
+
Oy(a.default, { Component: ce, route: I }) || ce
|
|
2922
2916
|
);
|
|
2923
2917
|
};
|
|
2924
2918
|
}
|
|
2925
2919
|
});
|
|
2926
|
-
function
|
|
2920
|
+
function Oy(s, i) {
|
|
2927
2921
|
if (!s)
|
|
2928
2922
|
return null;
|
|
2929
2923
|
const a = s(i);
|
|
@@ -2931,7 +2925,7 @@ function Fy(s, i) {
|
|
|
2931
2925
|
}
|
|
2932
2926
|
const w2 = b2;
|
|
2933
2927
|
function S2() {
|
|
2934
|
-
const s =
|
|
2928
|
+
const s = T_(), i = s.parent && s.parent.type.name, a = s.parent && s.parent.subTree && s.parent.subTree.type;
|
|
2935
2929
|
if (i && (i === "KeepAlive" || i.includes("Transition")) && typeof a == "object" && a.name === "RouterView") {
|
|
2936
2930
|
const c = i === "KeepAlive" ? "keep-alive" : "transition";
|
|
2937
2931
|
jt(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
@@ -2972,7 +2966,7 @@ function k2(s, i, a) {
|
|
|
2972
2966
|
return;
|
|
2973
2967
|
i.__hasDevtools = !0;
|
|
2974
2968
|
const c = T2++;
|
|
2975
|
-
|
|
2969
|
+
gw({
|
|
2976
2970
|
id: "org.vuejs.router" + (c ? "." + c : ""),
|
|
2977
2971
|
label: "Vue Router",
|
|
2978
2972
|
packageName: "vue-router",
|
|
@@ -2995,19 +2989,19 @@ function k2(s, i, a) {
|
|
|
2995
2989
|
label: (R.name ? `${R.name.toString()}: ` : "") + R.path,
|
|
2996
2990
|
textColor: 0,
|
|
2997
2991
|
tooltip: "This component is rendered by <router-view>",
|
|
2998
|
-
backgroundColor:
|
|
2992
|
+
backgroundColor: u0
|
|
2999
2993
|
});
|
|
3000
2994
|
}
|
|
3001
2995
|
ys(z.__vrl_devtools) && (z.__devtoolsApi = f, z.__vrl_devtools.forEach((R) => {
|
|
3002
|
-
let U = R.route.path, G =
|
|
3003
|
-
R.error ? (U = R.error, G = I2, ce = A2) : R.isExactActive ? (G =
|
|
2996
|
+
let U = R.route.path, G = p0, ne = "", ce = 0;
|
|
2997
|
+
R.error ? (U = R.error, G = I2, ce = A2) : R.isExactActive ? (G = d0, ne = "This is exactly active") : R.isActive && (G = h0, ne = "This link is active"), A.tags.push({
|
|
3004
2998
|
label: U,
|
|
3005
2999
|
textColor: ce,
|
|
3006
3000
|
tooltip: ne,
|
|
3007
3001
|
backgroundColor: G
|
|
3008
3002
|
});
|
|
3009
3003
|
}));
|
|
3010
|
-
}),
|
|
3004
|
+
}), S_(i.currentRoute, () => {
|
|
3011
3005
|
C(), f.notifyComponentUpdate(), f.sendInspectorTree(u), f.sendInspectorState(u);
|
|
3012
3006
|
});
|
|
3013
3007
|
const x = "router:navigations:" + c;
|
|
@@ -3085,10 +3079,10 @@ function k2(s, i, a) {
|
|
|
3085
3079
|
let z = a.getRoutes().filter((R) => !R.parent || // these routes have a parent with no component which will not appear in the view
|
|
3086
3080
|
// therefore we still need to include them
|
|
3087
3081
|
!R.parent.record.components);
|
|
3088
|
-
z.forEach(
|
|
3082
|
+
z.forEach(g0), A.filter && (z = z.filter((R) => (
|
|
3089
3083
|
// save matches state based on the payload
|
|
3090
3084
|
Cf(R, A.filter.toLowerCase())
|
|
3091
|
-
))), z.forEach((R) =>
|
|
3085
|
+
))), z.forEach((R) => m0(R, i.currentRoute.value)), A.rootNodes = z.map(f0);
|
|
3092
3086
|
}
|
|
3093
3087
|
let I;
|
|
3094
3088
|
f.on.getInspectorTree((A) => {
|
|
@@ -3152,8 +3146,8 @@ function M2(s) {
|
|
|
3152
3146
|
}
|
|
3153
3147
|
}), a;
|
|
3154
3148
|
}
|
|
3155
|
-
const
|
|
3156
|
-
function
|
|
3149
|
+
const u0 = 15485081, h0 = 2450411, d0 = 8702998, P2 = 2282478, p0 = 16486972, C2 = 6710886, I2 = 16704226, A2 = 12131356;
|
|
3150
|
+
function f0(s) {
|
|
3157
3151
|
const i = [], { record: a } = s;
|
|
3158
3152
|
a.name != null && i.push({
|
|
3159
3153
|
label: String(a.name),
|
|
@@ -3162,19 +3156,19 @@ function m0(s) {
|
|
|
3162
3156
|
}), a.aliasOf && i.push({
|
|
3163
3157
|
label: "alias",
|
|
3164
3158
|
textColor: 0,
|
|
3165
|
-
backgroundColor:
|
|
3159
|
+
backgroundColor: p0
|
|
3166
3160
|
}), s.__vd_match && i.push({
|
|
3167
3161
|
label: "matches",
|
|
3168
3162
|
textColor: 0,
|
|
3169
|
-
backgroundColor:
|
|
3163
|
+
backgroundColor: u0
|
|
3170
3164
|
}), s.__vd_exactActive && i.push({
|
|
3171
3165
|
label: "exact",
|
|
3172
3166
|
textColor: 0,
|
|
3173
|
-
backgroundColor:
|
|
3167
|
+
backgroundColor: d0
|
|
3174
3168
|
}), s.__vd_active && i.push({
|
|
3175
3169
|
label: "active",
|
|
3176
3170
|
textColor: 0,
|
|
3177
|
-
backgroundColor:
|
|
3171
|
+
backgroundColor: h0
|
|
3178
3172
|
}), a.redirect && i.push({
|
|
3179
3173
|
label: typeof a.redirect == "string" ? `redirect: ${a.redirect}` : "redirects",
|
|
3180
3174
|
textColor: 16777215,
|
|
@@ -3185,17 +3179,17 @@ function m0(s) {
|
|
|
3185
3179
|
id: c,
|
|
3186
3180
|
label: a.path,
|
|
3187
3181
|
tags: i,
|
|
3188
|
-
children: s.children.map(
|
|
3182
|
+
children: s.children.map(f0)
|
|
3189
3183
|
};
|
|
3190
3184
|
}
|
|
3191
3185
|
let D2 = 0;
|
|
3192
3186
|
const z2 = /^\/(.*)\/([a-z]*)$/;
|
|
3193
|
-
function
|
|
3187
|
+
function m0(s, i) {
|
|
3194
3188
|
const a = i.matched.length && jo(i.matched[i.matched.length - 1], s.record);
|
|
3195
|
-
s.__vd_exactActive = s.__vd_active = a, a || (s.__vd_active = i.matched.some((c) => jo(c, s.record))), s.children.forEach((c) =>
|
|
3189
|
+
s.__vd_exactActive = s.__vd_active = a, a || (s.__vd_active = i.matched.some((c) => jo(c, s.record))), s.children.forEach((c) => m0(c, i));
|
|
3196
3190
|
}
|
|
3197
|
-
function
|
|
3198
|
-
s.__vd_match = !1, s.children.forEach(
|
|
3191
|
+
function g0(s) {
|
|
3192
|
+
s.__vd_match = !1, s.children.forEach(g0);
|
|
3199
3193
|
}
|
|
3200
3194
|
function Cf(s, i) {
|
|
3201
3195
|
const a = String(s.re).match(z2);
|
|
@@ -3213,19 +3207,19 @@ function R2(s, i) {
|
|
|
3213
3207
|
return a;
|
|
3214
3208
|
}
|
|
3215
3209
|
function L2(s) {
|
|
3216
|
-
const i =
|
|
3210
|
+
const i = s2(s.routes, s), a = s.parseQuery || p2, c = s.stringifyQuery || Ay, f = s.history;
|
|
3217
3211
|
if (process.env.NODE_ENV !== "production" && !f)
|
|
3218
3212
|
throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');
|
|
3219
|
-
const x = iu(), v = iu(), u = iu(), C =
|
|
3213
|
+
const x = iu(), v = iu(), u = iu(), C = Sb(Ro);
|
|
3220
3214
|
let I = Ro;
|
|
3221
3215
|
jr && s.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
|
|
3222
|
-
const A = Zp.bind(null, (Te) => "" + Te), z = Zp.bind(null,
|
|
3216
|
+
const A = Zp.bind(null, (Te) => "" + Te), z = Zp.bind(null, Iw), R = (
|
|
3223
3217
|
// @ts-expect-error: intentionally avoid the type check
|
|
3224
3218
|
Zp.bind(null, jl)
|
|
3225
3219
|
);
|
|
3226
3220
|
function U(Te, qe) {
|
|
3227
3221
|
let Ze, rt;
|
|
3228
|
-
return
|
|
3222
|
+
return o0(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);
|
|
3229
3223
|
}
|
|
3230
3224
|
function G(Te) {
|
|
3231
3225
|
const qe = i.getRecordMatcher(Te);
|
|
@@ -3266,8 +3260,8 @@ function L2(s) {
|
|
|
3266
3260
|
}
|
|
3267
3261
|
const rt = i.resolve(Ze, qe), Nt = Te.hash || "";
|
|
3268
3262
|
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));
|
|
3269
|
-
const Jt =
|
|
3270
|
-
hash:
|
|
3263
|
+
const Jt = zw(c, ai({}, Te, {
|
|
3264
|
+
hash: Mw(Nt),
|
|
3271
3265
|
path: rt.path
|
|
3272
3266
|
})), Tt = f.createHref(Jt);
|
|
3273
3267
|
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({
|
|
@@ -3281,7 +3275,7 @@ function L2(s) {
|
|
|
3281
3275
|
// numbers at `$route.query`, but at the point, the user will have to
|
|
3282
3276
|
// use their own type anyway.
|
|
3283
3277
|
// https://github.com/vuejs/router/issues/328#issuecomment-649481567
|
|
3284
|
-
c ===
|
|
3278
|
+
c === Ay ? f2(Te.query) : Te.query || {}
|
|
3285
3279
|
)
|
|
3286
3280
|
}, rt, {
|
|
3287
3281
|
redirectedFrom: void 0,
|
|
@@ -3463,7 +3457,7 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3463
3457
|
}
|
|
3464
3458
|
I = rt;
|
|
3465
3459
|
const Jt = C.value;
|
|
3466
|
-
jr &&
|
|
3460
|
+
jr && Vw(Sy(Jt.fullPath, Ze.delta), fd()), Bt(rt, Jt).catch((Tt) => Lr(
|
|
3467
3461
|
Tt,
|
|
3468
3462
|
12
|
|
3469
3463
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
@@ -3519,8 +3513,8 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3519
3513
|
const { scrollBehavior: Nt } = s;
|
|
3520
3514
|
if (!jr || !Nt)
|
|
3521
3515
|
return Promise.resolve();
|
|
3522
|
-
const Jt = !Ze &&
|
|
3523
|
-
return
|
|
3516
|
+
const Jt = !Ze && $w(Sy(Te.fullPath, 0)) || (rt || !Ze) && history.state && history.state.scroll || null;
|
|
3517
|
+
return kb().then(() => Nt(Te, qe, Jt)).then((Tt) => Tt && jw(Tt)).catch((Tt) => vs(Tt, Te, qe));
|
|
3524
3518
|
}
|
|
3525
3519
|
const ln = (Te) => f.go(Te);
|
|
3526
3520
|
let xs;
|
|
@@ -3560,7 +3554,7 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3560
3554
|
get: () => C.value[Nt],
|
|
3561
3555
|
enumerable: !0
|
|
3562
3556
|
});
|
|
3563
|
-
Te.provide(Xf, qe), Te.provide(
|
|
3557
|
+
Te.provide(Xf, qe), Te.provide(c0, Tb(Ze)), Te.provide(Pf, C);
|
|
3564
3558
|
const rt = Te.unmount;
|
|
3565
3559
|
Cn.add(Te), Te.unmount = function() {
|
|
3566
3560
|
Cn.delete(Te), Cn.size < 1 && (I = Ro, Dt && Dt(), Dt = null, C.value = Ro, xs = !1, Hi = !1), rt();
|
|
@@ -3583,17 +3577,17 @@ function O2(s, i) {
|
|
|
3583
3577
|
return [a, c, f];
|
|
3584
3578
|
}
|
|
3585
3579
|
const F2 = [
|
|
3586
|
-
{ name: "edit", path: "/edit", component: () => import("./edit-page-
|
|
3587
|
-
{ name: "add", path: "/add", component: () => import("./add-page-
|
|
3580
|
+
{ name: "edit", path: "/edit", component: () => import("./edit-page-BolMZCpj.js") },
|
|
3581
|
+
{ name: "add", path: "/add", component: () => import("./add-page-QXFDP0nU.js") },
|
|
3588
3582
|
{
|
|
3589
3583
|
name: "card-view",
|
|
3590
3584
|
path: "/card",
|
|
3591
|
-
component: () => import("./card-view-
|
|
3585
|
+
component: () => import("./card-view-CnB3fm_K.js"),
|
|
3592
3586
|
children: [{
|
|
3593
3587
|
name: "table",
|
|
3594
3588
|
path: ":table",
|
|
3595
|
-
component: () => import("./card-view-
|
|
3596
|
-
children: [{ name: "card", path: ":id", component: () => import("./card-page-
|
|
3589
|
+
component: () => import("./card-view-CnB3fm_K.js"),
|
|
3590
|
+
children: [{ name: "card", path: ":id", component: () => import("./card-page-BX2dmCcY.js") }]
|
|
3597
3591
|
}]
|
|
3598
3592
|
}
|
|
3599
3593
|
], B2 = {}, N2 = { class: "bg-gray-200 w-full px-16 md:px-0 h-screen flex items-center justify-center" }, j2 = { 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" };
|
|
@@ -3631,7 +3625,7 @@ const $2 = /* @__PURE__ */ Fi(B2, [["render", V2]]), U2 = (s) => {
|
|
|
3631
3625
|
}));
|
|
3632
3626
|
return {
|
|
3633
3627
|
router: L2({
|
|
3634
|
-
history:
|
|
3628
|
+
history: Zw(),
|
|
3635
3629
|
routes: [
|
|
3636
3630
|
{
|
|
3637
3631
|
path: "/404",
|
|
@@ -3641,13 +3635,13 @@ const $2 = /* @__PURE__ */ Fi(B2, [["render", V2]]), U2 = (s) => {
|
|
|
3641
3635
|
{
|
|
3642
3636
|
path: "/",
|
|
3643
3637
|
name: "global",
|
|
3644
|
-
component: () => import("./admin-view-
|
|
3638
|
+
component: () => import("./admin-view-CPrnjZDu.js"),
|
|
3645
3639
|
children: [
|
|
3646
3640
|
...i,
|
|
3647
3641
|
...s,
|
|
3648
3642
|
{
|
|
3649
3643
|
path: "/:catchAll(.*)",
|
|
3650
|
-
component: () => import("./admin-interface-
|
|
3644
|
+
component: () => import("./admin-interface-1RkLvsRa.js")
|
|
3651
3645
|
}
|
|
3652
3646
|
]
|
|
3653
3647
|
}
|
|
@@ -3669,7 +3663,7 @@ const $2 = /* @__PURE__ */ Fi(B2, [["render", V2]]), U2 = (s) => {
|
|
|
3669
3663
|
function H2(s, i, a, c, f, x) {
|
|
3670
3664
|
return lt(), pt("div", null, hi(a.value), 1);
|
|
3671
3665
|
}
|
|
3672
|
-
const
|
|
3666
|
+
const Fy = /* @__PURE__ */ Fi(q2, [["render", H2]]), Z2 = {
|
|
3673
3667
|
props: {
|
|
3674
3668
|
value: {
|
|
3675
3669
|
type: [String, Number],
|
|
@@ -3749,7 +3743,7 @@ function sS(s, i, a, c, f, x) {
|
|
|
3749
3743
|
})) : (lt(), pt("div", nS))
|
|
3750
3744
|
]);
|
|
3751
3745
|
}
|
|
3752
|
-
const
|
|
3746
|
+
const By = /* @__PURE__ */ Fi(tS, [["render", sS]]), rS = {
|
|
3753
3747
|
props: {
|
|
3754
3748
|
data: Object,
|
|
3755
3749
|
name: String
|
|
@@ -3799,12 +3793,12 @@ const yS = /* @__PURE__ */ Fi(dS, [["render", gS]]);
|
|
|
3799
3793
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
3800
3794
|
//! license : MIT
|
|
3801
3795
|
//! momentjs.com
|
|
3802
|
-
var
|
|
3796
|
+
var y0;
|
|
3803
3797
|
function Je() {
|
|
3804
|
-
return
|
|
3798
|
+
return y0.apply(null, arguments);
|
|
3805
3799
|
}
|
|
3806
3800
|
function _S(s) {
|
|
3807
|
-
|
|
3801
|
+
y0 = s;
|
|
3808
3802
|
}
|
|
3809
3803
|
function Ws(s) {
|
|
3810
3804
|
return s instanceof Array || Object.prototype.toString.call(s) === "[object Array]";
|
|
@@ -3833,7 +3827,7 @@ function Gr(s) {
|
|
|
3833
3827
|
function Tu(s) {
|
|
3834
3828
|
return s instanceof Date || Object.prototype.toString.call(s) === "[object Date]";
|
|
3835
3829
|
}
|
|
3836
|
-
function
|
|
3830
|
+
function _0(s, i) {
|
|
3837
3831
|
var a = [], c, f = s.length;
|
|
3838
3832
|
for (c = 0; c < f; ++c)
|
|
3839
3833
|
a.push(i(s[c], c));
|
|
@@ -3845,7 +3839,7 @@ function Fo(s, i) {
|
|
|
3845
3839
|
return ti(i, "toString") && (s.toString = i.toString), ti(i, "valueOf") && (s.valueOf = i.valueOf), s;
|
|
3846
3840
|
}
|
|
3847
3841
|
function gr(s, i, a, c) {
|
|
3848
|
-
return
|
|
3842
|
+
return V0(s, i, a, c, !0).utc();
|
|
3849
3843
|
}
|
|
3850
3844
|
function vS() {
|
|
3851
3845
|
return {
|
|
@@ -3892,12 +3886,12 @@ function md(s) {
|
|
|
3892
3886
|
var i = gr(NaN);
|
|
3893
3887
|
return s != null ? Fo(Lt(i), s) : Lt(i).userInvalidated = !0, i;
|
|
3894
3888
|
}
|
|
3895
|
-
var
|
|
3889
|
+
var Ny = Je.momentProperties = [], Yp = !1;
|
|
3896
3890
|
function Qf(s, i) {
|
|
3897
|
-
var a, c, f, x =
|
|
3891
|
+
var a, c, f, x = Ny.length;
|
|
3898
3892
|
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)
|
|
3899
3893
|
for (a = 0; a < x; a++)
|
|
3900
|
-
c =
|
|
3894
|
+
c = Ny[a], f = i[c], Xn(f) || (s[c] = f);
|
|
3901
3895
|
return s;
|
|
3902
3896
|
}
|
|
3903
3897
|
function ku(s) {
|
|
@@ -3906,7 +3900,7 @@ function ku(s) {
|
|
|
3906
3900
|
function Gs(s) {
|
|
3907
3901
|
return s instanceof ku || s != null && s._isAMomentObject != null;
|
|
3908
3902
|
}
|
|
3909
|
-
function
|
|
3903
|
+
function v0(s) {
|
|
3910
3904
|
Je.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + s);
|
|
3911
3905
|
}
|
|
3912
3906
|
function Os(s, i) {
|
|
@@ -3925,7 +3919,7 @@ function Os(s, i) {
|
|
|
3925
3919
|
f = arguments[x];
|
|
3926
3920
|
c.push(f);
|
|
3927
3921
|
}
|
|
3928
|
-
|
|
3922
|
+
v0(
|
|
3929
3923
|
s + `
|
|
3930
3924
|
Arguments: ` + Array.prototype.slice.call(c).join("") + `
|
|
3931
3925
|
` + new Error().stack
|
|
@@ -3934,9 +3928,9 @@ Arguments: ` + Array.prototype.slice.call(c).join("") + `
|
|
|
3934
3928
|
return i.apply(this, arguments);
|
|
3935
3929
|
}, i);
|
|
3936
3930
|
}
|
|
3937
|
-
var
|
|
3938
|
-
function
|
|
3939
|
-
Je.deprecationHandler != null && Je.deprecationHandler(s, i),
|
|
3931
|
+
var jy = {};
|
|
3932
|
+
function x0(s, i) {
|
|
3933
|
+
Je.deprecationHandler != null && Je.deprecationHandler(s, i), jy[s] || (v0(i), jy[s] = !0);
|
|
3940
3934
|
}
|
|
3941
3935
|
Je.suppressDeprecationWarnings = !1;
|
|
3942
3936
|
Je.deprecationHandler = null;
|
|
@@ -4014,9 +4008,9 @@ function TS(s) {
|
|
|
4014
4008
|
};
|
|
4015
4009
|
}
|
|
4016
4010
|
function Gh(s, i) {
|
|
4017
|
-
return s.isValid() ? (i =
|
|
4011
|
+
return s.isValid() ? (i = b0(i, s.localeData()), Xp[i] = Xp[i] || TS(i), Xp[i](s)) : s.localeData().invalidDate();
|
|
4018
4012
|
}
|
|
4019
|
-
function
|
|
4013
|
+
function b0(s, i) {
|
|
4020
4014
|
var a = 5;
|
|
4021
4015
|
function c(f) {
|
|
4022
4016
|
return i.longDateFormat(f) || f;
|
|
@@ -4076,7 +4070,7 @@ function RS(s, i) {
|
|
|
4076
4070
|
var a = this._relativeTime[s > 0 ? "future" : "past"];
|
|
4077
4071
|
return yr(a) ? a(i) : a.replace(/%s/i, i);
|
|
4078
4072
|
}
|
|
4079
|
-
var
|
|
4073
|
+
var Vy = {
|
|
4080
4074
|
D: "date",
|
|
4081
4075
|
dates: "date",
|
|
4082
4076
|
date: "date",
|
|
@@ -4127,7 +4121,7 @@ var $y = {
|
|
|
4127
4121
|
year: "year"
|
|
4128
4122
|
};
|
|
4129
4123
|
function Fs(s) {
|
|
4130
|
-
return typeof s == "string" ?
|
|
4124
|
+
return typeof s == "string" ? Vy[s] || Vy[s.toLowerCase()] : void 0;
|
|
4131
4125
|
}
|
|
4132
4126
|
function im(s) {
|
|
4133
4127
|
var i = {}, a, c;
|
|
@@ -4161,7 +4155,7 @@ function OS(s) {
|
|
|
4161
4155
|
return c.priority - f.priority;
|
|
4162
4156
|
}), i;
|
|
4163
4157
|
}
|
|
4164
|
-
var
|
|
4158
|
+
var w0 = /\d/, _s = /\d\d/, S0 = /\d{3}/, nm = /\d{4}/, gd = /[+-]?\d{6}/, Mi = /\d\d?/, T0 = /\d\d\d\d?/, k0 = /\d\d\d\d\d\d?/, yd = /\d{1,3}/, sm = /\d{1,4}/, _d = /[+-]?\d{1,6}/, ql = /\d+/, vd = /[+-]?\d+/, FS = /Z|[+-]\d\d:?\d\d/gi, xd = /Z|[+-]\d\d(?::?\d\d)?/gi, BS = /[+-]?\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?/, rm = /^([1-9]\d|\d)/, ed;
|
|
4165
4159
|
ed = {};
|
|
4166
4160
|
function st(s, i, a) {
|
|
4167
4161
|
ed[s] = yr(i) ? i : function(c, f) {
|
|
@@ -4242,13 +4236,13 @@ function hu(s) {
|
|
|
4242
4236
|
Je.parseTwoDigitYear = function(s) {
|
|
4243
4237
|
return Zt(s) + (Zt(s) > 68 ? 1900 : 2e3);
|
|
4244
4238
|
};
|
|
4245
|
-
var
|
|
4239
|
+
var E0 = Zl("FullYear", !0);
|
|
4246
4240
|
function qS() {
|
|
4247
4241
|
return bd(this.year());
|
|
4248
4242
|
}
|
|
4249
4243
|
function Zl(s, i) {
|
|
4250
4244
|
return function(a) {
|
|
4251
|
-
return a != null ? (
|
|
4245
|
+
return a != null ? (M0(this, s, a), Je.updateOffset(this, i), this) : _u(this, s);
|
|
4252
4246
|
};
|
|
4253
4247
|
}
|
|
4254
4248
|
function _u(s, i) {
|
|
@@ -4276,7 +4270,7 @@ function _u(s, i) {
|
|
|
4276
4270
|
return NaN;
|
|
4277
4271
|
}
|
|
4278
4272
|
}
|
|
4279
|
-
function
|
|
4273
|
+
function M0(s, i, a) {
|
|
4280
4274
|
var c, f, x, v, u;
|
|
4281
4275
|
if (!(!s.isValid() || isNaN(a))) {
|
|
4282
4276
|
switch (c = s._d, f = s._isUTC, i) {
|
|
@@ -4354,12 +4348,12 @@ xi(["MMM", "MMMM"], function(s, i, a, c) {
|
|
|
4354
4348
|
});
|
|
4355
4349
|
var GS = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
4356
4350
|
"_"
|
|
4357
|
-
),
|
|
4351
|
+
), P0 = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), C0 = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, YS = Eu, XS = Eu;
|
|
4358
4352
|
function KS(s, i) {
|
|
4359
|
-
return s ? Ws(this._months) ? this._months[s.month()] : this._months[(this._months.isFormat ||
|
|
4353
|
+
return s ? Ws(this._months) ? this._months[s.month()] : this._months[(this._months.isFormat || C0).test(i) ? "format" : "standalone"][s.month()] : Ws(this._months) ? this._months : this._months.standalone;
|
|
4360
4354
|
}
|
|
4361
4355
|
function JS(s, i) {
|
|
4362
|
-
return s ? Ws(this._monthsShort) ? this._monthsShort[s.month()] : this._monthsShort[
|
|
4356
|
+
return s ? Ws(this._monthsShort) ? this._monthsShort[s.month()] : this._monthsShort[C0.test(i) ? "format" : "standalone"][s.month()] : Ws(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
4363
4357
|
}
|
|
4364
4358
|
function QS(s, i, a) {
|
|
4365
4359
|
var c, f, x, v = s.toLocaleLowerCase();
|
|
@@ -4390,7 +4384,7 @@ function eT(s, i, a) {
|
|
|
4390
4384
|
return c;
|
|
4391
4385
|
}
|
|
4392
4386
|
}
|
|
4393
|
-
function
|
|
4387
|
+
function I0(s, i) {
|
|
4394
4388
|
if (!s.isValid())
|
|
4395
4389
|
return s;
|
|
4396
4390
|
if (typeof i == "string") {
|
|
@@ -4402,19 +4396,19 @@ function A0(s, i) {
|
|
|
4402
4396
|
var a = i, c = s.date();
|
|
4403
4397
|
return c = c < 29 ? c : Math.min(c, om(s.year(), a)), s._isUTC ? s._d.setUTCMonth(a, c) : s._d.setMonth(a, c), s;
|
|
4404
4398
|
}
|
|
4405
|
-
function
|
|
4406
|
-
return s != null ? (
|
|
4399
|
+
function A0(s) {
|
|
4400
|
+
return s != null ? (I0(this, s), Je.updateOffset(this, !0), this) : _u(this, "Month");
|
|
4407
4401
|
}
|
|
4408
4402
|
function tT() {
|
|
4409
4403
|
return om(this.year(), this.month());
|
|
4410
4404
|
}
|
|
4411
4405
|
function iT(s) {
|
|
4412
|
-
return this._monthsParseExact ? (ti(this, "_monthsRegex") ||
|
|
4406
|
+
return this._monthsParseExact ? (ti(this, "_monthsRegex") || D0.call(this), s ? this._monthsShortStrictRegex : this._monthsShortRegex) : (ti(this, "_monthsShortRegex") || (this._monthsShortRegex = YS), this._monthsShortStrictRegex && s ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
4413
4407
|
}
|
|
4414
4408
|
function nT(s) {
|
|
4415
|
-
return this._monthsParseExact ? (ti(this, "_monthsRegex") ||
|
|
4409
|
+
return this._monthsParseExact ? (ti(this, "_monthsRegex") || D0.call(this), s ? this._monthsStrictRegex : this._monthsRegex) : (ti(this, "_monthsRegex") || (this._monthsRegex = XS), this._monthsStrictRegex && s ? this._monthsStrictRegex : this._monthsRegex);
|
|
4416
4410
|
}
|
|
4417
|
-
function
|
|
4411
|
+
function D0() {
|
|
4418
4412
|
function s(C, I) {
|
|
4419
4413
|
return I.length - C.length;
|
|
4420
4414
|
}
|
|
@@ -4441,7 +4435,7 @@ function td(s, i, a) {
|
|
|
4441
4435
|
var c = 7 + i - a, f = (7 + vu(s, 0, c).getUTCDay() - i) % 7;
|
|
4442
4436
|
return -f + c - 1;
|
|
4443
4437
|
}
|
|
4444
|
-
function
|
|
4438
|
+
function z0(s, i, a, c, f) {
|
|
4445
4439
|
var x = (7 + a - c) % 7, v = td(s, c, f), u = 1 + 7 * (i - 1) + x + v, C, I;
|
|
4446
4440
|
return u <= 0 ? (C = s - 1, I = hu(C) + u) : u > hu(s) ? (C = s + 1, I = u - hu(s)) : (C = s, I = u), {
|
|
4447
4441
|
year: C,
|
|
@@ -4534,7 +4528,7 @@ function dT(s, i) {
|
|
|
4534
4528
|
function am(s, i) {
|
|
4535
4529
|
return s.slice(i, 7).concat(s.slice(0, i));
|
|
4536
4530
|
}
|
|
4537
|
-
var pT = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
4531
|
+
var pT = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), R0 = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), fT = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), mT = Eu, gT = Eu, yT = Eu;
|
|
4538
4532
|
function _T(s, i) {
|
|
4539
4533
|
var a = Ws(this._weekdays) ? this._weekdays : this._weekdays[s && s !== !0 && this._weekdays.isFormat.test(i) ? "format" : "standalone"];
|
|
4540
4534
|
return s === !0 ? am(a, this._week.dow) : s ? a[s.day()] : a;
|
|
@@ -4651,7 +4645,7 @@ mt("Hmm", 0, 0, function() {
|
|
|
4651
4645
|
mt("Hmmss", 0, 0, function() {
|
|
4652
4646
|
return "" + this.hours() + mr(this.minutes(), 2) + mr(this.seconds(), 2);
|
|
4653
4647
|
});
|
|
4654
|
-
function
|
|
4648
|
+
function L0(s, i) {
|
|
4655
4649
|
mt(s, 0, 0, function() {
|
|
4656
4650
|
return this.localeData().meridiem(
|
|
4657
4651
|
this.hours(),
|
|
@@ -4660,23 +4654,23 @@ function O0(s, i) {
|
|
|
4660
4654
|
);
|
|
4661
4655
|
});
|
|
4662
4656
|
}
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
function
|
|
4657
|
+
L0("a", !0);
|
|
4658
|
+
L0("A", !1);
|
|
4659
|
+
function O0(s, i) {
|
|
4666
4660
|
return i._meridiemParse;
|
|
4667
4661
|
}
|
|
4668
|
-
st("a",
|
|
4669
|
-
st("A",
|
|
4662
|
+
st("a", O0);
|
|
4663
|
+
st("A", O0);
|
|
4670
4664
|
st("H", Mi, rm);
|
|
4671
4665
|
st("h", Mi, Hl);
|
|
4672
4666
|
st("k", Mi, Hl);
|
|
4673
4667
|
st("HH", Mi, _s);
|
|
4674
4668
|
st("hh", Mi, _s);
|
|
4675
4669
|
st("kk", Mi, _s);
|
|
4676
|
-
st("hmm",
|
|
4677
|
-
st("hmmss",
|
|
4678
|
-
st("Hmm",
|
|
4679
|
-
st("Hmmss",
|
|
4670
|
+
st("hmm", T0);
|
|
4671
|
+
st("hmmss", k0);
|
|
4672
|
+
st("Hmm", T0);
|
|
4673
|
+
st("Hmmss", k0);
|
|
4680
4674
|
xi(["H", "HH"], Xi);
|
|
4681
4675
|
xi(["k", "kk"], function(s, i, a) {
|
|
4682
4676
|
var c = Zt(s);
|
|
@@ -4711,7 +4705,7 @@ var AT = /[ap]\.?m?\.?/i, DT = Zl("Hours", !0);
|
|
|
4711
4705
|
function zT(s, i, a) {
|
|
4712
4706
|
return s > 11 ? a ? "pm" : "PM" : a ? "am" : "AM";
|
|
4713
4707
|
}
|
|
4714
|
-
var
|
|
4708
|
+
var F0 = {
|
|
4715
4709
|
calendar: bS,
|
|
4716
4710
|
longDateFormat: kS,
|
|
4717
4711
|
invalidDate: MS,
|
|
@@ -4719,11 +4713,11 @@ var B0 = {
|
|
|
4719
4713
|
dayOfMonthOrdinalParse: IS,
|
|
4720
4714
|
relativeTime: DS,
|
|
4721
4715
|
months: GS,
|
|
4722
|
-
monthsShort:
|
|
4716
|
+
monthsShort: P0,
|
|
4723
4717
|
week: oT,
|
|
4724
4718
|
weekdays: pT,
|
|
4725
4719
|
weekdaysMin: fT,
|
|
4726
|
-
weekdaysShort:
|
|
4720
|
+
weekdaysShort: R0,
|
|
4727
4721
|
meridiemParse: AT
|
|
4728
4722
|
}, Ai = {}, su = {}, bu;
|
|
4729
4723
|
function RT(s, i) {
|
|
@@ -4733,12 +4727,12 @@ function RT(s, i) {
|
|
|
4733
4727
|
return a;
|
|
4734
4728
|
return c;
|
|
4735
4729
|
}
|
|
4736
|
-
function
|
|
4730
|
+
function $y(s) {
|
|
4737
4731
|
return s && s.toLowerCase().replace("_", "-");
|
|
4738
4732
|
}
|
|
4739
4733
|
function LT(s) {
|
|
4740
4734
|
for (var i = 0, a, c, f, x; i < s.length; ) {
|
|
4741
|
-
for (x =
|
|
4735
|
+
for (x = $y(s[i]).split("-"), a = x.length, c = $y(s[i + 1]), c = c ? c.split("-") : null; a > 0; ) {
|
|
4742
4736
|
if (f = wd(x.slice(0, a).join("-")), f)
|
|
4743
4737
|
return f;
|
|
4744
4738
|
if (c && c.length >= a && RT(x, c) >= a - 1)
|
|
@@ -4770,9 +4764,9 @@ function No(s, i) {
|
|
|
4770
4764
|
}
|
|
4771
4765
|
function um(s, i) {
|
|
4772
4766
|
if (i !== null) {
|
|
4773
|
-
var a, c =
|
|
4767
|
+
var a, c = F0;
|
|
4774
4768
|
if (i.abbr = s, Ai[s] != null)
|
|
4775
|
-
|
|
4769
|
+
x0(
|
|
4776
4770
|
"defineLocaleOverride",
|
|
4777
4771
|
"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."
|
|
4778
4772
|
), c = Ai[s]._config;
|
|
@@ -4794,7 +4788,7 @@ function um(s, i) {
|
|
|
4794
4788
|
}
|
|
4795
4789
|
function FT(s, i) {
|
|
4796
4790
|
if (i != null) {
|
|
4797
|
-
var a, c, f =
|
|
4791
|
+
var a, c, f = F0;
|
|
4798
4792
|
Ai[s] != null && Ai[s].parentLocale != null ? Ai[s].set(Af(Ai[s]._config, i)) : (c = wd(s), c != null && (f = c._config), i = Af(f, i), c == null && (i.abbr = s), a = new em(i), a.parentLocale = Ai[s], Ai[s] = a), No(s);
|
|
4799
4793
|
} else
|
|
4800
4794
|
Ai[s] != null && (Ai[s].parentLocale != null ? (Ai[s] = Ai[s].parentLocale, s === No() && No(s)) : Ai[s] != null && delete Ai[s]);
|
|
@@ -4854,7 +4848,7 @@ var NT = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
4854
4848
|
PDT: -7 * 60,
|
|
4855
4849
|
PST: -8 * 60
|
|
4856
4850
|
};
|
|
4857
|
-
function
|
|
4851
|
+
function B0(s) {
|
|
4858
4852
|
var i, a, c = s._i, f = NT.exec(c) || jT.exec(c), x, v, u, C, I = Dh.length, A = Kp.length;
|
|
4859
4853
|
if (f) {
|
|
4860
4854
|
for (Lt(s).iso = !0, i = 0, a = I; i < a; i++)
|
|
@@ -4895,7 +4889,7 @@ function N0(s) {
|
|
|
4895
4889
|
function HT(s, i, a, c, f, x) {
|
|
4896
4890
|
var v = [
|
|
4897
4891
|
ZT(s),
|
|
4898
|
-
|
|
4892
|
+
P0.indexOf(i),
|
|
4899
4893
|
parseInt(a, 10),
|
|
4900
4894
|
parseInt(c, 10),
|
|
4901
4895
|
parseInt(f, 10)
|
|
@@ -4911,7 +4905,7 @@ function WT(s) {
|
|
|
4911
4905
|
}
|
|
4912
4906
|
function GT(s, i, a) {
|
|
4913
4907
|
if (s) {
|
|
4914
|
-
var c =
|
|
4908
|
+
var c = R0.indexOf(s), f = new Date(
|
|
4915
4909
|
i[0],
|
|
4916
4910
|
i[1],
|
|
4917
4911
|
i[2]
|
|
@@ -4929,7 +4923,7 @@ function YT(s, i, a) {
|
|
|
4929
4923
|
var c = parseInt(a, 10), f = c % 100, x = (c - f) / 100;
|
|
4930
4924
|
return x * 60 + f;
|
|
4931
4925
|
}
|
|
4932
|
-
function
|
|
4926
|
+
function N0(s) {
|
|
4933
4927
|
var i = UT.exec(WT(s._i)), a;
|
|
4934
4928
|
if (i) {
|
|
4935
4929
|
if (a = HT(
|
|
@@ -4951,11 +4945,11 @@ function XT(s) {
|
|
|
4951
4945
|
s._d = /* @__PURE__ */ new Date(+i[1]);
|
|
4952
4946
|
return;
|
|
4953
4947
|
}
|
|
4954
|
-
if (
|
|
4948
|
+
if (B0(s), s._isValid === !1)
|
|
4955
4949
|
delete s._isValid;
|
|
4956
4950
|
else
|
|
4957
4951
|
return;
|
|
4958
|
-
if (
|
|
4952
|
+
if (N0(s), s._isValid === !1)
|
|
4959
4953
|
delete s._isValid;
|
|
4960
4954
|
else
|
|
4961
4955
|
return;
|
|
@@ -4997,7 +4991,7 @@ function JT(s) {
|
|
|
4997
4991
|
i.GG,
|
|
4998
4992
|
s._a[En],
|
|
4999
4993
|
xu(Ei(), 1, 4).year
|
|
5000
|
-
), 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 =
|
|
4994
|
+
), 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 = z0(a, c, f, x, v), s._a[En] = u.year, s._dayOfYear = u.dayOfYear);
|
|
5001
4995
|
}
|
|
5002
4996
|
Je.ISO_8601 = function() {
|
|
5003
4997
|
};
|
|
@@ -5005,16 +4999,16 @@ Je.RFC_2822 = function() {
|
|
|
5005
4999
|
};
|
|
5006
5000
|
function pm(s) {
|
|
5007
5001
|
if (s._f === Je.ISO_8601) {
|
|
5008
|
-
|
|
5002
|
+
B0(s);
|
|
5009
5003
|
return;
|
|
5010
5004
|
}
|
|
5011
5005
|
if (s._f === Je.RFC_2822) {
|
|
5012
|
-
|
|
5006
|
+
N0(s);
|
|
5013
5007
|
return;
|
|
5014
5008
|
}
|
|
5015
5009
|
s._a = [], Lt(s).empty = !0;
|
|
5016
5010
|
var i = "" + s._i, a, c, f, x, v, u = i.length, C = 0, I, A;
|
|
5017
|
-
for (f =
|
|
5011
|
+
for (f = b0(s._f, s._locale).match(tm) || [], A = f.length, a = 0; a < A; a++)
|
|
5018
5012
|
x = f[a], c = (i.match(NS(x, s)) || [])[0], c && (v = i.substr(0, i.indexOf(c)), v.length > 0 && Lt(s).unusedInput.push(v), i = i.slice(
|
|
5019
5013
|
i.indexOf(c) + c.length
|
|
5020
5014
|
), C += c.length), Fl[x] ? (c ? Lt(s).empty = !1 : Lt(s).unusedTokens.push(x), VS(x, c, s)) : s._strict && !c && Lt(s).unusedTokens.push(x);
|
|
@@ -5041,7 +5035,7 @@ function ek(s) {
|
|
|
5041
5035
|
function tk(s) {
|
|
5042
5036
|
if (!s._d) {
|
|
5043
5037
|
var i = im(s._i), a = i.day === void 0 ? i.date : i.day;
|
|
5044
|
-
s._a =
|
|
5038
|
+
s._a = _0(
|
|
5045
5039
|
[i.year, i.month, a, i.hour, i.minute, i.second, i.millisecond],
|
|
5046
5040
|
function(c) {
|
|
5047
5041
|
return c && parseInt(c, 10);
|
|
@@ -5050,25 +5044,25 @@ function tk(s) {
|
|
|
5050
5044
|
}
|
|
5051
5045
|
}
|
|
5052
5046
|
function ik(s) {
|
|
5053
|
-
var i = new ku(hm(
|
|
5047
|
+
var i = new ku(hm(j0(s)));
|
|
5054
5048
|
return i._nextDay && (i.add(1, "d"), i._nextDay = void 0), i;
|
|
5055
5049
|
}
|
|
5056
|
-
function
|
|
5050
|
+
function j0(s) {
|
|
5057
5051
|
var i = s._i, a = s._f;
|
|
5058
5052
|
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(hm(i)) : (Tu(i) ? s._d = i : Ws(a) ? ek(s) : a ? pm(s) : nk(s), Jf(s) || (s._d = null), s));
|
|
5059
5053
|
}
|
|
5060
5054
|
function nk(s) {
|
|
5061
5055
|
var i = s._i;
|
|
5062
|
-
Xn(i) ? s._d = new Date(Je.now()) : Tu(i) ? s._d = new Date(i.valueOf()) : typeof i == "string" ? XT(s) : Ws(i) ? (s._a =
|
|
5056
|
+
Xn(i) ? s._d = new Date(Je.now()) : Tu(i) ? s._d = new Date(i.valueOf()) : typeof i == "string" ? XT(s) : Ws(i) ? (s._a = _0(i.slice(0), function(a) {
|
|
5063
5057
|
return parseInt(a, 10);
|
|
5064
5058
|
}), dm(s)) : Ma(i) ? tk(s) : Gr(i) ? s._d = new Date(i) : Je.createFromInputFallback(s);
|
|
5065
5059
|
}
|
|
5066
|
-
function
|
|
5060
|
+
function V0(s, i, a, c, f) {
|
|
5067
5061
|
var x = {};
|
|
5068
5062
|
return (i === !0 || i === !1) && (c = i, i = void 0), (a === !0 || a === !1) && (c = a, a = void 0), (Ma(s) && Kf(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, ik(x);
|
|
5069
5063
|
}
|
|
5070
5064
|
function Ei(s, i, a, c) {
|
|
5071
|
-
return
|
|
5065
|
+
return V0(s, i, a, c, !1);
|
|
5072
5066
|
}
|
|
5073
5067
|
var sk = Os(
|
|
5074
5068
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
@@ -5083,7 +5077,7 @@ var sk = Os(
|
|
|
5083
5077
|
return this.isValid() && s.isValid() ? s > this ? this : s : md();
|
|
5084
5078
|
}
|
|
5085
5079
|
);
|
|
5086
|
-
function
|
|
5080
|
+
function $0(s, i) {
|
|
5087
5081
|
var a, c;
|
|
5088
5082
|
if (i.length === 1 && Ws(i[0]) && (i = i[0]), !i.length)
|
|
5089
5083
|
return Ei();
|
|
@@ -5093,11 +5087,11 @@ function U0(s, i) {
|
|
|
5093
5087
|
}
|
|
5094
5088
|
function ok() {
|
|
5095
5089
|
var s = [].slice.call(arguments, 0);
|
|
5096
|
-
return
|
|
5090
|
+
return $0("isBefore", s);
|
|
5097
5091
|
}
|
|
5098
5092
|
function ak() {
|
|
5099
5093
|
var s = [].slice.call(arguments, 0);
|
|
5100
|
-
return
|
|
5094
|
+
return $0("isAfter", s);
|
|
5101
5095
|
}
|
|
5102
5096
|
var lk = function() {
|
|
5103
5097
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
@@ -5149,14 +5143,14 @@ function dk(s, i, a) {
|
|
|
5149
5143
|
Zt(s[v]) !== Zt(i[v]) && x++;
|
|
5150
5144
|
return x + f;
|
|
5151
5145
|
}
|
|
5152
|
-
function
|
|
5146
|
+
function U0(s, i) {
|
|
5153
5147
|
mt(s, 0, 0, function() {
|
|
5154
5148
|
var a = this.utcOffset(), c = "+";
|
|
5155
5149
|
return a < 0 && (a = -a, c = "-"), c + mr(~~(a / 60), 2) + i + mr(~~a % 60, 2);
|
|
5156
5150
|
});
|
|
5157
5151
|
}
|
|
5158
|
-
|
|
5159
|
-
|
|
5152
|
+
U0("Z", ":");
|
|
5153
|
+
U0("ZZ", "");
|
|
5160
5154
|
st("Z", xd);
|
|
5161
5155
|
st("ZZ", xd);
|
|
5162
5156
|
xi(["Z", "ZZ"], function(s, i, a) {
|
|
@@ -5185,7 +5179,7 @@ function fk(s, i, a) {
|
|
|
5185
5179
|
if (s = fm(xd, s), s === null)
|
|
5186
5180
|
return this;
|
|
5187
5181
|
} else Math.abs(s) < 16 && !a && (s = s * 60);
|
|
5188
|
-
return !this._isUTC && i && (f = Lf(this)), this._offset = s, this._isUTC = !0, f != null && this.add(f, "m"), c !== s && (!i || this._changeInProgress ?
|
|
5182
|
+
return !this._isUTC && i && (f = Lf(this)), this._offset = s, this._isUTC = !0, f != null && this.add(f, "m"), c !== s && (!i || this._changeInProgress ? Z0(
|
|
5189
5183
|
this,
|
|
5190
5184
|
Xs(s - c, "m"),
|
|
5191
5185
|
1,
|
|
@@ -5222,7 +5216,7 @@ function bk() {
|
|
|
5222
5216
|
if (!Xn(this._isDSTShifted))
|
|
5223
5217
|
return this._isDSTShifted;
|
|
5224
5218
|
var s = {}, i;
|
|
5225
|
-
return Qf(s, this), s =
|
|
5219
|
+
return Qf(s, this), s = j0(s), s._a ? (i = s._isUTC ? gr(s._a) : Ei(s._a), this._isDSTShifted = this.isValid() && dk(s._a, i.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
5226
5220
|
}
|
|
5227
5221
|
function wk() {
|
|
5228
5222
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -5230,7 +5224,7 @@ function wk() {
|
|
|
5230
5224
|
function Sk() {
|
|
5231
5225
|
return this.isValid() ? this._isUTC : !1;
|
|
5232
5226
|
}
|
|
5233
|
-
function
|
|
5227
|
+
function q0() {
|
|
5234
5228
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
5235
5229
|
}
|
|
5236
5230
|
var Tk = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, kk = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
@@ -5267,33 +5261,33 @@ function ya(s, i) {
|
|
|
5267
5261
|
var a = s && parseFloat(s.replace(",", "."));
|
|
5268
5262
|
return (isNaN(a) ? 0 : a) * i;
|
|
5269
5263
|
}
|
|
5270
|
-
function
|
|
5264
|
+
function Uy(s, i) {
|
|
5271
5265
|
var a = {};
|
|
5272
5266
|
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;
|
|
5273
5267
|
}
|
|
5274
5268
|
function Ek(s, i) {
|
|
5275
5269
|
var a;
|
|
5276
|
-
return s.isValid() && i.isValid() ? (i = mm(i, s), s.isBefore(i) ? a =
|
|
5270
|
+
return s.isValid() && i.isValid() ? (i = mm(i, s), s.isBefore(i) ? a = Uy(s, i) : (a = Uy(i, s), a.milliseconds = -a.milliseconds, a.months = -a.months), a) : { milliseconds: 0, months: 0 };
|
|
5277
5271
|
}
|
|
5278
|
-
function
|
|
5272
|
+
function H0(s, i) {
|
|
5279
5273
|
return function(a, c) {
|
|
5280
5274
|
var f, x;
|
|
5281
|
-
return c !== null && !isNaN(+c) && (
|
|
5275
|
+
return c !== null && !isNaN(+c) && (x0(
|
|
5282
5276
|
i,
|
|
5283
5277
|
"moment()." + i + "(period, number) is deprecated. Please use moment()." + i + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
5284
|
-
), x = a, a = c, c = x), f = Xs(a, c),
|
|
5278
|
+
), x = a, a = c, c = x), f = Xs(a, c), Z0(this, f, s), this;
|
|
5285
5279
|
};
|
|
5286
5280
|
}
|
|
5287
|
-
function
|
|
5281
|
+
function Z0(s, i, a, c) {
|
|
5288
5282
|
var f = i._milliseconds, x = Rf(i._days), v = Rf(i._months);
|
|
5289
|
-
s.isValid() && (c = c ?? !0, v &&
|
|
5283
|
+
s.isValid() && (c = c ?? !0, v && I0(s, _u(s, "Month") + v * a), x && M0(s, "Date", _u(s, "Date") + x * a), f && s._d.setTime(s._d.valueOf() + f * a), c && Je.updateOffset(s, x || v));
|
|
5290
5284
|
}
|
|
5291
|
-
var Mk =
|
|
5292
|
-
function
|
|
5285
|
+
var Mk = H0(1, "add"), Pk = H0(-1, "subtract");
|
|
5286
|
+
function W0(s) {
|
|
5293
5287
|
return typeof s == "string" || s instanceof String;
|
|
5294
5288
|
}
|
|
5295
5289
|
function Ck(s) {
|
|
5296
|
-
return Gs(s) || Tu(s) ||
|
|
5290
|
+
return Gs(s) || Tu(s) || W0(s) || Gr(s) || Ak(s) || Ik(s) || s === null || s === void 0;
|
|
5297
5291
|
}
|
|
5298
5292
|
function Ik(s) {
|
|
5299
5293
|
var i = Ma(s) && !Kf(s), a = !1, c = [
|
|
@@ -5329,7 +5323,7 @@ function Ik(s) {
|
|
|
5329
5323
|
function Ak(s) {
|
|
5330
5324
|
var i = Ws(s), a = !1;
|
|
5331
5325
|
return i && (a = s.filter(function(c) {
|
|
5332
|
-
return !Gr(c) &&
|
|
5326
|
+
return !Gr(c) && W0(s);
|
|
5333
5327
|
}).length === 0), i && a;
|
|
5334
5328
|
}
|
|
5335
5329
|
function Dk(s) {
|
|
@@ -5463,34 +5457,34 @@ function Yk(s, i) {
|
|
|
5463
5457
|
function Xk(s) {
|
|
5464
5458
|
return this.to(Ei(), s);
|
|
5465
5459
|
}
|
|
5466
|
-
function
|
|
5460
|
+
function G0(s) {
|
|
5467
5461
|
var i;
|
|
5468
5462
|
return s === void 0 ? this._locale._abbr : (i = Yr(s), i != null && (this._locale = i), this);
|
|
5469
5463
|
}
|
|
5470
|
-
var
|
|
5464
|
+
var Y0 = Os(
|
|
5471
5465
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
5472
5466
|
function(s) {
|
|
5473
5467
|
return s === void 0 ? this.localeData() : this.locale(s);
|
|
5474
5468
|
}
|
|
5475
5469
|
);
|
|
5476
|
-
function
|
|
5470
|
+
function X0() {
|
|
5477
5471
|
return this._locale;
|
|
5478
5472
|
}
|
|
5479
|
-
var id = 1e3, Bl = 60 * id, nd = 60 * Bl,
|
|
5473
|
+
var id = 1e3, Bl = 60 * id, nd = 60 * Bl, K0 = (365 * 400 + 97) * 24 * nd;
|
|
5480
5474
|
function Nl(s, i) {
|
|
5481
5475
|
return (s % i + i) % i;
|
|
5482
5476
|
}
|
|
5483
|
-
function
|
|
5484
|
-
return s < 100 && s >= 0 ? new Date(s + 400, i, a) -
|
|
5477
|
+
function J0(s, i, a) {
|
|
5478
|
+
return s < 100 && s >= 0 ? new Date(s + 400, i, a) - K0 : new Date(s, i, a).valueOf();
|
|
5485
5479
|
}
|
|
5486
|
-
function
|
|
5487
|
-
return s < 100 && s >= 0 ? Date.UTC(s + 400, i, a) -
|
|
5480
|
+
function Q0(s, i, a) {
|
|
5481
|
+
return s < 100 && s >= 0 ? Date.UTC(s + 400, i, a) - K0 : Date.UTC(s, i, a);
|
|
5488
5482
|
}
|
|
5489
5483
|
function Kk(s) {
|
|
5490
5484
|
var i, a;
|
|
5491
5485
|
if (s = Fs(s), s === void 0 || s === "millisecond" || !this.isValid())
|
|
5492
5486
|
return this;
|
|
5493
|
-
switch (a = this._isUTC ?
|
|
5487
|
+
switch (a = this._isUTC ? Q0 : J0, s) {
|
|
5494
5488
|
case "year":
|
|
5495
5489
|
i = a(this.year(), 0, 1);
|
|
5496
5490
|
break;
|
|
@@ -5541,7 +5535,7 @@ function Jk(s) {
|
|
|
5541
5535
|
var i, a;
|
|
5542
5536
|
if (s = Fs(s), s === void 0 || s === "millisecond" || !this.isValid())
|
|
5543
5537
|
return this;
|
|
5544
|
-
switch (a = this._isUTC ?
|
|
5538
|
+
switch (a = this._isUTC ? Q0 : J0, s) {
|
|
5545
5539
|
case "year":
|
|
5546
5540
|
i = a(this.year() + 1, 0, 1) - 1;
|
|
5547
5541
|
break;
|
|
@@ -5808,7 +5802,7 @@ Mu(["gg", "GG"], function(s, i, a, c) {
|
|
|
5808
5802
|
i[c] = Je.parseTwoDigitYear(s);
|
|
5809
5803
|
});
|
|
5810
5804
|
function wE(s) {
|
|
5811
|
-
return
|
|
5805
|
+
return ev.call(
|
|
5812
5806
|
this,
|
|
5813
5807
|
s,
|
|
5814
5808
|
this.week(),
|
|
@@ -5818,7 +5812,7 @@ function wE(s) {
|
|
|
5818
5812
|
);
|
|
5819
5813
|
}
|
|
5820
5814
|
function SE(s) {
|
|
5821
|
-
return
|
|
5815
|
+
return ev.call(
|
|
5822
5816
|
this,
|
|
5823
5817
|
s,
|
|
5824
5818
|
this.isoWeek(),
|
|
@@ -5841,16 +5835,16 @@ function ME() {
|
|
|
5841
5835
|
var s = this.localeData()._week;
|
|
5842
5836
|
return Zr(this.weekYear(), s.dow, s.doy);
|
|
5843
5837
|
}
|
|
5844
|
-
function
|
|
5838
|
+
function ev(s, i, a, c, f) {
|
|
5845
5839
|
var x;
|
|
5846
5840
|
return s == null ? xu(this, c, f).year : (x = Zr(s, c, f), i > x && (i = x), PE.call(this, s, i, a, c, f));
|
|
5847
5841
|
}
|
|
5848
5842
|
function PE(s, i, a, c, f) {
|
|
5849
|
-
var x =
|
|
5843
|
+
var x = z0(s, i, a, c, f), v = vu(x.year, 0, x.dayOfYear);
|
|
5850
5844
|
return this.year(v.getUTCFullYear()), this.month(v.getUTCMonth()), this.date(v.getUTCDate()), this;
|
|
5851
5845
|
}
|
|
5852
5846
|
mt("Q", 0, "Qo", "quarter");
|
|
5853
|
-
st("Q",
|
|
5847
|
+
st("Q", w0);
|
|
5854
5848
|
xi("Q", function(s, i) {
|
|
5855
5849
|
i[Vr] = (Zt(s) - 1) * 3;
|
|
5856
5850
|
});
|
|
@@ -5867,10 +5861,10 @@ xi(["D", "DD"], dr);
|
|
|
5867
5861
|
xi("Do", function(s, i) {
|
|
5868
5862
|
i[dr] = Zt(s.match(Mi)[0]);
|
|
5869
5863
|
});
|
|
5870
|
-
var
|
|
5864
|
+
var tv = Zl("Date", !0);
|
|
5871
5865
|
mt("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
5872
5866
|
st("DDD", yd);
|
|
5873
|
-
st("DDDD",
|
|
5867
|
+
st("DDDD", S0);
|
|
5874
5868
|
xi(["DDD", "DDDD"], function(s, i, a) {
|
|
5875
5869
|
a._dayOfYear = Zt(s);
|
|
5876
5870
|
});
|
|
@@ -5915,10 +5909,10 @@ mt(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
5915
5909
|
mt(0, ["SSSSSSSSS", 9], 0, function() {
|
|
5916
5910
|
return this.millisecond() * 1e6;
|
|
5917
5911
|
});
|
|
5918
|
-
st("S", yd,
|
|
5912
|
+
st("S", yd, w0);
|
|
5919
5913
|
st("SS", yd, _s);
|
|
5920
|
-
st("SSS", yd,
|
|
5921
|
-
var Bo,
|
|
5914
|
+
st("SSS", yd, S0);
|
|
5915
|
+
var Bo, iv;
|
|
5922
5916
|
for (Bo = "SSSS"; Bo.length <= 9; Bo += "S")
|
|
5923
5917
|
st(Bo, ql);
|
|
5924
5918
|
function zE(s, i) {
|
|
@@ -5926,7 +5920,7 @@ function zE(s, i) {
|
|
|
5926
5920
|
}
|
|
5927
5921
|
for (Bo = "S"; Bo.length <= 9; Bo += "S")
|
|
5928
5922
|
xi(Bo, zE);
|
|
5929
|
-
|
|
5923
|
+
iv = Zl("Milliseconds", !1);
|
|
5930
5924
|
mt("z", 0, 0, "zoneAbbr");
|
|
5931
5925
|
mt("zz", 0, 0, "zoneName");
|
|
5932
5926
|
function RE() {
|
|
@@ -5955,9 +5949,9 @@ Le.isSame = Nk;
|
|
|
5955
5949
|
Le.isSameOrAfter = jk;
|
|
5956
5950
|
Le.isSameOrBefore = Vk;
|
|
5957
5951
|
Le.isValid = rE;
|
|
5958
|
-
Le.lang =
|
|
5959
|
-
Le.locale =
|
|
5960
|
-
Le.localeData =
|
|
5952
|
+
Le.lang = Y0;
|
|
5953
|
+
Le.locale = G0;
|
|
5954
|
+
Le.localeData = X0;
|
|
5961
5955
|
Le.max = rk;
|
|
5962
5956
|
Le.min = sk;
|
|
5963
5957
|
Le.parsingFlags = oE;
|
|
@@ -5981,12 +5975,12 @@ Le.eraName = dE;
|
|
|
5981
5975
|
Le.eraNarrow = pE;
|
|
5982
5976
|
Le.eraAbbr = fE;
|
|
5983
5977
|
Le.eraYear = mE;
|
|
5984
|
-
Le.year =
|
|
5978
|
+
Le.year = E0;
|
|
5985
5979
|
Le.isLeapYear = qS;
|
|
5986
5980
|
Le.weekYear = wE;
|
|
5987
5981
|
Le.isoWeekYear = SE;
|
|
5988
5982
|
Le.quarter = Le.quarters = CE;
|
|
5989
|
-
Le.month =
|
|
5983
|
+
Le.month = A0;
|
|
5990
5984
|
Le.daysInMonth = tT;
|
|
5991
5985
|
Le.week = Le.weeks = cT;
|
|
5992
5986
|
Le.isoWeek = Le.isoWeeks = uT;
|
|
@@ -5994,7 +5988,7 @@ Le.weeksInYear = EE;
|
|
|
5994
5988
|
Le.weeksInWeekYear = ME;
|
|
5995
5989
|
Le.isoWeeksInYear = TE;
|
|
5996
5990
|
Le.isoWeeksInISOWeekYear = kE;
|
|
5997
|
-
Le.date =
|
|
5991
|
+
Le.date = tv;
|
|
5998
5992
|
Le.day = Le.days = ST;
|
|
5999
5993
|
Le.weekday = TT;
|
|
6000
5994
|
Le.isoWeekday = kT;
|
|
@@ -6002,7 +5996,7 @@ Le.dayOfYear = IE;
|
|
|
6002
5996
|
Le.hour = Le.hours = DT;
|
|
6003
5997
|
Le.minute = Le.minutes = AE;
|
|
6004
5998
|
Le.second = Le.seconds = DE;
|
|
6005
|
-
Le.millisecond = Le.milliseconds =
|
|
5999
|
+
Le.millisecond = Le.milliseconds = iv;
|
|
6006
6000
|
Le.utcOffset = fk;
|
|
6007
6001
|
Le.utc = gk;
|
|
6008
6002
|
Le.local = yk;
|
|
@@ -6011,21 +6005,21 @@ Le.hasAlignedHourOffset = vk;
|
|
|
6011
6005
|
Le.isDST = xk;
|
|
6012
6006
|
Le.isLocal = wk;
|
|
6013
6007
|
Le.isUtcOffset = Sk;
|
|
6014
|
-
Le.isUtc =
|
|
6015
|
-
Le.isUTC =
|
|
6008
|
+
Le.isUtc = q0;
|
|
6009
|
+
Le.isUTC = q0;
|
|
6016
6010
|
Le.zoneAbbr = RE;
|
|
6017
6011
|
Le.zoneName = LE;
|
|
6018
6012
|
Le.dates = Os(
|
|
6019
6013
|
"dates accessor is deprecated. Use date instead.",
|
|
6020
|
-
|
|
6014
|
+
tv
|
|
6021
6015
|
);
|
|
6022
6016
|
Le.months = Os(
|
|
6023
6017
|
"months accessor is deprecated. Use month instead",
|
|
6024
|
-
|
|
6018
|
+
A0
|
|
6025
6019
|
);
|
|
6026
6020
|
Le.years = Os(
|
|
6027
6021
|
"years accessor is deprecated. Use year instead",
|
|
6028
|
-
|
|
6022
|
+
E0
|
|
6029
6023
|
);
|
|
6030
6024
|
Le.zone = Os(
|
|
6031
6025
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
@@ -6041,7 +6035,7 @@ function OE(s) {
|
|
|
6041
6035
|
function FE() {
|
|
6042
6036
|
return Ei.apply(null, arguments).parseZone();
|
|
6043
6037
|
}
|
|
6044
|
-
function
|
|
6038
|
+
function nv(s) {
|
|
6045
6039
|
return s;
|
|
6046
6040
|
}
|
|
6047
6041
|
var ii = em.prototype;
|
|
@@ -6049,8 +6043,8 @@ ii.calendar = wS;
|
|
|
6049
6043
|
ii.longDateFormat = ES;
|
|
6050
6044
|
ii.invalidDate = PS;
|
|
6051
6045
|
ii.ordinal = AS;
|
|
6052
|
-
ii.preparse =
|
|
6053
|
-
ii.postformat =
|
|
6046
|
+
ii.preparse = nv;
|
|
6047
|
+
ii.postformat = nv;
|
|
6054
6048
|
ii.relativeTime = zS;
|
|
6055
6049
|
ii.pastFuture = RS;
|
|
6056
6050
|
ii.set = xS;
|
|
@@ -6081,7 +6075,7 @@ function sd(s, i, a, c) {
|
|
|
6081
6075
|
var f = Yr(), x = gr().set(c, i);
|
|
6082
6076
|
return f[a](x, s);
|
|
6083
6077
|
}
|
|
6084
|
-
function
|
|
6078
|
+
function sv(s, i, a) {
|
|
6085
6079
|
if (Gr(s) && (i = s, s = void 0), s = s || "", i != null)
|
|
6086
6080
|
return sd(s, i, a, "month");
|
|
6087
6081
|
var c, f = [];
|
|
@@ -6099,10 +6093,10 @@ function _m(s, i, a, c) {
|
|
|
6099
6093
|
return u;
|
|
6100
6094
|
}
|
|
6101
6095
|
function BE(s, i) {
|
|
6102
|
-
return
|
|
6096
|
+
return sv(s, i, "months");
|
|
6103
6097
|
}
|
|
6104
6098
|
function NE(s, i) {
|
|
6105
|
-
return
|
|
6099
|
+
return sv(s, i, "monthsShort");
|
|
6106
6100
|
}
|
|
6107
6101
|
function jE(s, i, a) {
|
|
6108
6102
|
return _m(s, i, a, "weekdays");
|
|
@@ -6151,24 +6145,24 @@ function UE() {
|
|
|
6151
6145
|
var s = this._data;
|
|
6152
6146
|
return this._milliseconds = Or(this._milliseconds), this._days = Or(this._days), this._months = Or(this._months), s.milliseconds = Or(s.milliseconds), s.seconds = Or(s.seconds), s.minutes = Or(s.minutes), s.hours = Or(s.hours), s.months = Or(s.months), s.years = Or(s.years), this;
|
|
6153
6147
|
}
|
|
6154
|
-
function
|
|
6148
|
+
function rv(s, i, a, c) {
|
|
6155
6149
|
var f = Xs(i, a);
|
|
6156
6150
|
return s._milliseconds += c * f._milliseconds, s._days += c * f._days, s._months += c * f._months, s._bubble();
|
|
6157
6151
|
}
|
|
6158
6152
|
function qE(s, i) {
|
|
6159
|
-
return
|
|
6153
|
+
return rv(this, s, i, 1);
|
|
6160
6154
|
}
|
|
6161
6155
|
function HE(s, i) {
|
|
6162
|
-
return
|
|
6156
|
+
return rv(this, s, i, -1);
|
|
6163
6157
|
}
|
|
6164
|
-
function
|
|
6158
|
+
function qy(s) {
|
|
6165
6159
|
return s < 0 ? Math.floor(s) : Math.ceil(s);
|
|
6166
6160
|
}
|
|
6167
6161
|
function ZE() {
|
|
6168
6162
|
var s = this._milliseconds, i = this._days, a = this._months, c = this._data, f, x, v, u, C;
|
|
6169
|
-
return s >= 0 && i >= 0 && a >= 0 || s <= 0 && i <= 0 && a <= 0 || (s +=
|
|
6163
|
+
return s >= 0 && i >= 0 && a >= 0 || s <= 0 && i <= 0 && a <= 0 || (s += qy(Of(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(ov(i)), a += C, i -= qy(Of(C)), u = Ls(a / 12), a %= 12, c.days = i, c.months = a, c.years = u, this;
|
|
6170
6164
|
}
|
|
6171
|
-
function
|
|
6165
|
+
function ov(s) {
|
|
6172
6166
|
return s * 4800 / 146097;
|
|
6173
6167
|
}
|
|
6174
6168
|
function Of(s) {
|
|
@@ -6179,7 +6173,7 @@ function WE(s) {
|
|
|
6179
6173
|
return NaN;
|
|
6180
6174
|
var i, a, c = this._milliseconds;
|
|
6181
6175
|
if (s = Fs(s), s === "month" || s === "quarter" || s === "year")
|
|
6182
|
-
switch (i = this._days + c / 864e5, a = this._months +
|
|
6176
|
+
switch (i = this._days + c / 864e5, a = this._months + ov(i), s) {
|
|
6183
6177
|
case "month":
|
|
6184
6178
|
return a;
|
|
6185
6179
|
case "quarter":
|
|
@@ -6210,7 +6204,7 @@ function Xr(s) {
|
|
|
6210
6204
|
return this.as(s);
|
|
6211
6205
|
};
|
|
6212
6206
|
}
|
|
6213
|
-
var
|
|
6207
|
+
var av = Xr("ms"), GE = Xr("s"), YE = Xr("m"), XE = Xr("h"), KE = Xr("d"), JE = Xr("w"), QE = Xr("M"), eM = Xr("Q"), tM = Xr("y"), iM = av;
|
|
6214
6208
|
function nM() {
|
|
6215
6209
|
return Xs(this);
|
|
6216
6210
|
}
|
|
@@ -6277,7 +6271,7 @@ Xt.abs = UE;
|
|
|
6277
6271
|
Xt.add = qE;
|
|
6278
6272
|
Xt.subtract = HE;
|
|
6279
6273
|
Xt.as = WE;
|
|
6280
|
-
Xt.asMilliseconds =
|
|
6274
|
+
Xt.asMilliseconds = av;
|
|
6281
6275
|
Xt.asSeconds = GE;
|
|
6282
6276
|
Xt.asMinutes = YE;
|
|
6283
6277
|
Xt.asHours = XE;
|
|
@@ -6302,13 +6296,13 @@ Xt.humanize = yM;
|
|
|
6302
6296
|
Xt.toISOString = kd;
|
|
6303
6297
|
Xt.toString = kd;
|
|
6304
6298
|
Xt.toJSON = kd;
|
|
6305
|
-
Xt.locale =
|
|
6306
|
-
Xt.localeData =
|
|
6299
|
+
Xt.locale = G0;
|
|
6300
|
+
Xt.localeData = X0;
|
|
6307
6301
|
Xt.toIsoString = Os(
|
|
6308
6302
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
6309
6303
|
kd
|
|
6310
6304
|
);
|
|
6311
|
-
Xt.lang =
|
|
6305
|
+
Xt.lang = Y0;
|
|
6312
6306
|
mt("X", 0, 0, "unix");
|
|
6313
6307
|
mt("x", 0, 0, "valueOf");
|
|
6314
6308
|
st("x", vd);
|
|
@@ -6419,22 +6413,22 @@ function TM(s, i, a, c, f, x) {
|
|
|
6419
6413
|
}
|
|
6420
6414
|
const kM = /* @__PURE__ */ Fi(wM, [["render", TM]]), EM = {
|
|
6421
6415
|
// formats
|
|
6422
|
-
"table-format-text":
|
|
6416
|
+
"table-format-text": Fy,
|
|
6423
6417
|
"table-format-select": hS,
|
|
6424
6418
|
"table-format-badge": X2,
|
|
6425
|
-
"table-format-swetch":
|
|
6426
|
-
"table-format-check":
|
|
6427
|
-
"table-format-html":
|
|
6419
|
+
"table-format-swetch": By,
|
|
6420
|
+
"table-format-check": By,
|
|
6421
|
+
"table-format-html": Fy,
|
|
6428
6422
|
"table-format-tags": yS,
|
|
6429
6423
|
"table-format-date": bM,
|
|
6430
6424
|
"table-format-number": kM
|
|
6431
|
-
},
|
|
6425
|
+
}, lv = (s) => {
|
|
6432
6426
|
const i = [];
|
|
6433
6427
|
return s.forEach((a) => {
|
|
6434
|
-
a.menu ? i.push(...
|
|
6428
|
+
a.menu ? i.push(...lv(a.menu)) : i.push(a);
|
|
6435
6429
|
}), i;
|
|
6436
6430
|
};
|
|
6437
|
-
function
|
|
6431
|
+
function cv(s, i, a) {
|
|
6438
6432
|
if (s !== null)
|
|
6439
6433
|
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++) {
|
|
6440
6434
|
I = G ? s.features[de].geometry : ne ? s.geometry : s, R = I ? I.type === "GeometryCollection" : !1, u = R ? I.geometries.length : 1;
|
|
@@ -6511,7 +6505,7 @@ function uv(s, i, a) {
|
|
|
6511
6505
|
break;
|
|
6512
6506
|
case "GeometryCollection":
|
|
6513
6507
|
for (c = 0; c < v.geometries.length; c++)
|
|
6514
|
-
if (
|
|
6508
|
+
if (cv(v.geometries[c], i) === !1)
|
|
6515
6509
|
return !1;
|
|
6516
6510
|
break;
|
|
6517
6511
|
default:
|
|
@@ -6521,11 +6515,11 @@ function uv(s, i, a) {
|
|
|
6521
6515
|
}
|
|
6522
6516
|
}
|
|
6523
6517
|
}
|
|
6524
|
-
function
|
|
6518
|
+
function uv(s, i = {}) {
|
|
6525
6519
|
if (s.bbox != null && i.recompute !== !0)
|
|
6526
6520
|
return s.bbox;
|
|
6527
6521
|
const a = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
6528
|
-
return
|
|
6522
|
+
return cv(s, (c) => {
|
|
6529
6523
|
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]);
|
|
6530
6524
|
}), a;
|
|
6531
6525
|
}
|
|
@@ -6537,11 +6531,11 @@ function CM(s, i, a = {}) {
|
|
|
6537
6531
|
const c = { type: "Feature" };
|
|
6538
6532
|
return (a.id === 0 || a.id) && (c.id = a.id), a.bbox && (c.bbox = a.bbox), c.properties = {}, c.geometry = s, c;
|
|
6539
6533
|
}
|
|
6540
|
-
function
|
|
6534
|
+
function Hy(s, i = {}) {
|
|
6541
6535
|
const a = { type: "FeatureCollection" };
|
|
6542
6536
|
return i.id && (a.id = i.id), i.bbox && (a.bbox = i.bbox), a.features = s, a;
|
|
6543
6537
|
}
|
|
6544
|
-
var
|
|
6538
|
+
var hv = { exports: {} };
|
|
6545
6539
|
/**
|
|
6546
6540
|
* MapLibre GL JS
|
|
6547
6541
|
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.7.0/LICENSE.txt
|
|
@@ -7971,7 +7965,7 @@ var dv = { exports: {} };
|
|
|
7971
7965
|
}
|
|
7972
7966
|
function io(n, t, r) {
|
|
7973
7967
|
const l = n !== "==" && n !== "!=";
|
|
7974
|
-
return class
|
|
7968
|
+
return class dv {
|
|
7975
7969
|
constructor(y, _, b) {
|
|
7976
7970
|
this.type = ft, this.lhs = y, this.rhs = _, this.collator = b, this.hasUntypedArgument = y.type.kind === "value" || _.type.kind === "value";
|
|
7977
7971
|
}
|
|
@@ -7991,7 +7985,7 @@ var dv = { exports: {} };
|
|
|
7991
7985
|
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.");
|
|
7992
7986
|
if (M = _.parse(y[3], 3, Ss), !M) return null;
|
|
7993
7987
|
}
|
|
7994
|
-
return new
|
|
7988
|
+
return new dv(S, E, M);
|
|
7995
7989
|
}
|
|
7996
7990
|
evaluate(y) {
|
|
7997
7991
|
const _ = this.lhs.evaluate(y), b = this.rhs.evaluate(y);
|
|
@@ -10884,7 +10878,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10884
10878
|
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));
|
|
10885
10879
|
}
|
|
10886
10880
|
}
|
|
10887
|
-
const
|
|
10881
|
+
const Av = new Float32Array(16);
|
|
10888
10882
|
function Qd(n) {
|
|
10889
10883
|
return [Ir(255 * n.r, 255 * n.g), Ir(255 * n.b, 255 * n.a)];
|
|
10890
10884
|
}
|
|
@@ -11008,7 +11002,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11008
11002
|
if (!l(y)) continue;
|
|
11009
11003
|
const _ = t.paint.get(y);
|
|
11010
11004
|
if (!(_ instanceof Ms && ao(_.property.specification))) continue;
|
|
11011
|
-
const b =
|
|
11005
|
+
const b = Dv(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";
|
|
11012
11006
|
if (S.kind === "constant") this.binders[y] = F ? new fl(S.value, b) : new Fc(S.value, b, E), p.push(`/u_${y}`);
|
|
11013
11007
|
else if (S.kind === "source" || F) {
|
|
11014
11008
|
const j = km(y, E, "source");
|
|
@@ -11147,7 +11141,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11147
11141
|
for (const t in this.programConfigurations) this.programConfigurations[t].destroy();
|
|
11148
11142
|
}
|
|
11149
11143
|
}
|
|
11150
|
-
function
|
|
11144
|
+
function Dv(n, t) {
|
|
11151
11145
|
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, "_")];
|
|
11152
11146
|
}
|
|
11153
11147
|
function km(n, t, r) {
|
|
@@ -11225,7 +11219,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11225
11219
|
for (let r = 0; r < t.length; r++) if (ml(n, t[r])) return !0;
|
|
11226
11220
|
return !!ip(n, t);
|
|
11227
11221
|
}
|
|
11228
|
-
function
|
|
11222
|
+
function zv(n, t, r) {
|
|
11229
11223
|
return !!ml(n, t) || !!np(t, n, r);
|
|
11230
11224
|
}
|
|
11231
11225
|
function Pm(n, t) {
|
|
@@ -11238,7 +11232,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11238
11232
|
for (let r = 0; r < t.length; r++) if (ip(n, t[r])) return !0;
|
|
11239
11233
|
return !1;
|
|
11240
11234
|
}
|
|
11241
|
-
function
|
|
11235
|
+
function Rv(n, t, r) {
|
|
11242
11236
|
if (n.length > 1) {
|
|
11243
11237
|
if (ip(n, t)) return !0;
|
|
11244
11238
|
for (let l = 0; l < t.length; l++) if (np(t[l], n, r)) return !0;
|
|
@@ -11250,11 +11244,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11250
11244
|
if (n.length === 0 || t.length === 0) return !1;
|
|
11251
11245
|
for (let r = 0; r < n.length - 1; r++) {
|
|
11252
11246
|
const l = n[r], p = n[r + 1];
|
|
11253
|
-
for (let y = 0; y < t.length - 1; y++) if (
|
|
11247
|
+
for (let y = 0; y < t.length - 1; y++) if (Lv(l, p, t[y], t[y + 1])) return !0;
|
|
11254
11248
|
}
|
|
11255
11249
|
return !1;
|
|
11256
11250
|
}
|
|
11257
|
-
function
|
|
11251
|
+
function Lv(n, t, r, l) {
|
|
11258
11252
|
return fi(n, r, l) !== fi(t, r, l) && fi(n, t, r) !== fi(n, t, l);
|
|
11259
11253
|
}
|
|
11260
11254
|
function np(n, t, r) {
|
|
@@ -11285,7 +11279,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11285
11279
|
}
|
|
11286
11280
|
return r;
|
|
11287
11281
|
}
|
|
11288
|
-
function
|
|
11282
|
+
function Ov(n, t, r) {
|
|
11289
11283
|
const l = r[0], p = r[2];
|
|
11290
11284
|
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;
|
|
11291
11285
|
const y = fi(n, t, r[0]);
|
|
@@ -11308,7 +11302,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11308
11302
|
}
|
|
11309
11303
|
let Am, Dm;
|
|
11310
11304
|
Ye("CircleBucket", tp, { omit: ["layers"] });
|
|
11311
|
-
var
|
|
11305
|
+
var Fv = { get paint() {
|
|
11312
11306
|
return Dm = Dm || new g({ "circle-radius": new ht(ve.paint_circle["circle-radius"]), "circle-color": new ht(ve.paint_circle["circle-color"]), "circle-blur": new ht(ve.paint_circle["circle-blur"]), "circle-opacity": new ht(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 ht(ve.paint_circle["circle-stroke-width"]), "circle-stroke-color": new ht(ve.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new ht(ve.paint_circle["circle-stroke-opacity"]) });
|
|
11313
11307
|
}, get layout() {
|
|
11314
11308
|
return Am = Am || new g({ "circle-sort-key": new ht(ve.layout_circle["circle-sort-key"]) });
|
|
@@ -11324,15 +11318,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11324
11318
|
for (var n = 0, t = arguments.length; t--; ) n += arguments[t] * arguments[t];
|
|
11325
11319
|
return Math.sqrt(n);
|
|
11326
11320
|
});
|
|
11327
|
-
var Nc,
|
|
11321
|
+
var Nc, Bv = zm;
|
|
11328
11322
|
function fh(n, t, r) {
|
|
11329
11323
|
var l = t[0], p = t[1], y = t[2], _ = t[3];
|
|
11330
11324
|
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;
|
|
11331
11325
|
}
|
|
11332
11326
|
Nc = new gl(4), gl != Float32Array && (Nc[0] = 0, Nc[1] = 0, Nc[2] = 0, Nc[3] = 0);
|
|
11333
|
-
class
|
|
11327
|
+
class Nv extends o {
|
|
11334
11328
|
constructor(t) {
|
|
11335
|
-
super(t,
|
|
11329
|
+
super(t, Fv);
|
|
11336
11330
|
}
|
|
11337
11331
|
createBucket(t) {
|
|
11338
11332
|
return new tp(t);
|
|
@@ -11349,7 +11343,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11349
11343
|
const X = D ? q : Rm(q, S);
|
|
11350
11344
|
let ee = j;
|
|
11351
11345
|
const ge = fh([], [q.x, q.y, 0, 1], S);
|
|
11352
|
-
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]),
|
|
11346
|
+
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]), zv(F, X, ee)) return !0;
|
|
11353
11347
|
}
|
|
11354
11348
|
return !1;
|
|
11355
11349
|
}
|
|
@@ -11362,7 +11356,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11362
11356
|
}
|
|
11363
11357
|
let Om;
|
|
11364
11358
|
Ye("HeatmapBucket", Lm, { omit: ["layers"] });
|
|
11365
|
-
var
|
|
11359
|
+
var jv = { get paint() {
|
|
11366
11360
|
return Om = Om || new g({ "heatmap-radius": new ht(ve.paint_heatmap["heatmap-radius"]), "heatmap-weight": new ht(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"]) });
|
|
11367
11361
|
} };
|
|
11368
11362
|
function rp(n, { width: t, height: r }, l, p) {
|
|
@@ -11437,12 +11431,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11437
11431
|
}
|
|
11438
11432
|
Ye("AlphaImage", jc), Ye("RGBAImage", hs);
|
|
11439
11433
|
const ap = "big-fb";
|
|
11440
|
-
class
|
|
11434
|
+
class Vv extends o {
|
|
11441
11435
|
createBucket(t) {
|
|
11442
11436
|
return new Lm(t);
|
|
11443
11437
|
}
|
|
11444
11438
|
constructor(t) {
|
|
11445
|
-
super(t,
|
|
11439
|
+
super(t, jv), this.heatmapFbos = /* @__PURE__ */ new Map(), this._updateColorRamp();
|
|
11446
11440
|
}
|
|
11447
11441
|
_handleSpecialPaintPropertyUpdate(t) {
|
|
11448
11442
|
t === "heatmap-color" && this._updateColorRamp();
|
|
@@ -11464,18 +11458,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11464
11458
|
}
|
|
11465
11459
|
}
|
|
11466
11460
|
let Nm;
|
|
11467
|
-
var
|
|
11461
|
+
var $v = { get paint() {
|
|
11468
11462
|
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"]) });
|
|
11469
11463
|
} };
|
|
11470
|
-
class
|
|
11464
|
+
class Uv extends o {
|
|
11471
11465
|
constructor(t) {
|
|
11472
|
-
super(t,
|
|
11466
|
+
super(t, $v);
|
|
11473
11467
|
}
|
|
11474
11468
|
hasOffscreenPass() {
|
|
11475
11469
|
return this.paint.get("hillshade-exaggeration") !== 0 && this.visibility !== "none";
|
|
11476
11470
|
}
|
|
11477
11471
|
}
|
|
11478
|
-
const
|
|
11472
|
+
const qv = w([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: Hv } = qv;
|
|
11479
11473
|
function jm(n, t, r = 2) {
|
|
11480
11474
|
const l = t && t.length, p = l ? t[0] * r : n.length;
|
|
11481
11475
|
let y = Vm(n, 0, p, r, !0);
|
|
@@ -11486,10 +11480,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11486
11480
|
const $ = [];
|
|
11487
11481
|
for (let q = 0, X = D.length; q < X; q++) {
|
|
11488
11482
|
const ee = Vm(M, D[q] * j, q < X - 1 ? D[q + 1] * j : M.length, j, !1);
|
|
11489
|
-
ee === ee.next && (ee.steiner = !0), $.push(
|
|
11483
|
+
ee === ee.next && (ee.steiner = !0), $.push(Qv(ee));
|
|
11490
11484
|
}
|
|
11491
|
-
$.sort(
|
|
11492
|
-
for (let q = 0; q < $.length; q++) F =
|
|
11485
|
+
$.sort(Xv);
|
|
11486
|
+
for (let q = 0; q < $.length; q++) F = Kv($[q], F);
|
|
11493
11487
|
return F;
|
|
11494
11488
|
}(n, t, y, r)), n.length > 80 * r) {
|
|
11495
11489
|
b = 1 / 0, S = 1 / 0;
|
|
@@ -11553,14 +11547,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11553
11547
|
let b = n;
|
|
11554
11548
|
for (; n.prev !== n.next; ) {
|
|
11555
11549
|
const S = n.prev, E = n.next;
|
|
11556
|
-
if (y ?
|
|
11550
|
+
if (y ? Wv(n, l, p, y) : Zv(n)) t.push(S.i, n.i, E.i), Uc(n), n = E.next, b = E.next;
|
|
11557
11551
|
else if ((n = E) === b) {
|
|
11558
|
-
_ ? _ === 1 ? Vc(n =
|
|
11552
|
+
_ ? _ === 1 ? Vc(n = Gv(fa(n), t), t, r, l, p, y, 2) : _ === 2 && Yv(n, t, r, l, p, y) : Vc(fa(n), t, r, l, p, y, 1);
|
|
11559
11553
|
break;
|
|
11560
11554
|
}
|
|
11561
11555
|
}
|
|
11562
11556
|
}
|
|
11563
|
-
function
|
|
11557
|
+
function Zv(n) {
|
|
11564
11558
|
const t = n.prev, r = n, l = n.next;
|
|
11565
11559
|
if (zi(t, r, l) >= 0) return !1;
|
|
11566
11560
|
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;
|
|
@@ -11571,7 +11565,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11571
11565
|
}
|
|
11572
11566
|
return !0;
|
|
11573
11567
|
}
|
|
11574
|
-
function
|
|
11568
|
+
function Wv(n, t, r, l) {
|
|
11575
11569
|
const p = n.prev, y = n, _ = n.next;
|
|
11576
11570
|
if (zi(p, y, _) >= 0) return !1;
|
|
11577
11571
|
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);
|
|
@@ -11590,7 +11584,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11590
11584
|
}
|
|
11591
11585
|
return !0;
|
|
11592
11586
|
}
|
|
11593
|
-
function
|
|
11587
|
+
function Gv(n, t) {
|
|
11594
11588
|
let r = n;
|
|
11595
11589
|
do {
|
|
11596
11590
|
const l = r.prev, p = r.next.next;
|
|
@@ -11598,12 +11592,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11598
11592
|
} while (r !== n);
|
|
11599
11593
|
return fa(r);
|
|
11600
11594
|
}
|
|
11601
|
-
function
|
|
11595
|
+
function Yv(n, t, r, l, p, y) {
|
|
11602
11596
|
let _ = n;
|
|
11603
11597
|
do {
|
|
11604
11598
|
let b = _.next.next;
|
|
11605
11599
|
for (; b !== _.prev; ) {
|
|
11606
|
-
if (_.i !== b.i &&
|
|
11600
|
+
if (_.i !== b.i && ex(_, b)) {
|
|
11607
11601
|
let S = Um(_, b);
|
|
11608
11602
|
return _ = fa(_, _.next), S = fa(S, S.next), Vc(_, t, r, l, p, y, 0), void Vc(S, t, r, l, p, y, 0);
|
|
11609
11603
|
}
|
|
@@ -11612,10 +11606,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11612
11606
|
_ = _.next;
|
|
11613
11607
|
} while (_ !== n);
|
|
11614
11608
|
}
|
|
11615
|
-
function
|
|
11609
|
+
function Xv(n, t) {
|
|
11616
11610
|
return n.x - t.x;
|
|
11617
11611
|
}
|
|
11618
|
-
function
|
|
11612
|
+
function Kv(n, t) {
|
|
11619
11613
|
const r = function(p, y) {
|
|
11620
11614
|
let _ = y;
|
|
11621
11615
|
const b = p.x, S = p.y;
|
|
@@ -11634,7 +11628,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11634
11628
|
do {
|
|
11635
11629
|
if (b >= _.x && _.x >= F && b !== _.x && yl(S < j ? b : M, S, F, j, S < j ? M : b, S, _.x, _.y)) {
|
|
11636
11630
|
const q = Math.abs(S - _.y) / (b - _.x);
|
|
11637
|
-
$c(_, p) && (q < $ || q === $ && (_.x > E.x || _.x === E.x &&
|
|
11631
|
+
$c(_, p) && (q < $ || q === $ && (_.x > E.x || _.x === E.x && Jv(E, _))) && (E = _, $ = q);
|
|
11638
11632
|
}
|
|
11639
11633
|
_ = _.next;
|
|
11640
11634
|
} while (_ !== D);
|
|
@@ -11644,13 +11638,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11644
11638
|
const l = Um(r, n);
|
|
11645
11639
|
return fa(l, l.next), fa(r, r.next);
|
|
11646
11640
|
}
|
|
11647
|
-
function
|
|
11641
|
+
function Jv(n, t) {
|
|
11648
11642
|
return zi(n.prev, n, t.prev) < 0 && zi(t.next, n, n.next) < 0;
|
|
11649
11643
|
}
|
|
11650
11644
|
function lp(n, t, r, l, p) {
|
|
11651
11645
|
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;
|
|
11652
11646
|
}
|
|
11653
|
-
function
|
|
11647
|
+
function Qv(n) {
|
|
11654
11648
|
let t = n, r = n;
|
|
11655
11649
|
do
|
|
11656
11650
|
(t.x < r.x || t.x === r.x && t.y < r.y) && (r = t), t = t.next;
|
|
@@ -11660,7 +11654,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11660
11654
|
function yl(n, t, r, l, p, y, _, b) {
|
|
11661
11655
|
return (p - _) * (t - b) >= (n - _) * (y - b) && (n - _) * (l - b) >= (r - _) * (t - b) && (r - _) * (y - b) >= (p - _) * (l - b);
|
|
11662
11656
|
}
|
|
11663
|
-
function
|
|
11657
|
+
function ex(n, t) {
|
|
11664
11658
|
return n.next.i !== t.i && n.prev.i !== t.i && !function(r, l) {
|
|
11665
11659
|
let p = r;
|
|
11666
11660
|
do {
|
|
@@ -11768,7 +11762,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11768
11762
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
11769
11763
|
}
|
|
11770
11764
|
upload(t) {
|
|
11771
|
-
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
11765
|
+
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, Hv), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.indexBuffer2 = t.createIndexBuffer(this.indexArray2)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
11772
11766
|
}
|
|
11773
11767
|
destroy() {
|
|
11774
11768
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.indexBuffer2.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.segments2.destroy());
|
|
@@ -11795,14 +11789,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11795
11789
|
}
|
|
11796
11790
|
let Hm, Zm;
|
|
11797
11791
|
Ye("FillBucket", dp, { omit: ["layers", "patternFeatures"] });
|
|
11798
|
-
var
|
|
11792
|
+
var tx = { get paint() {
|
|
11799
11793
|
return Zm = Zm || new g({ "fill-antialias": new Qe(ve.paint_fill["fill-antialias"]), "fill-opacity": new ht(ve.paint_fill["fill-opacity"]), "fill-color": new ht(ve.paint_fill["fill-color"]), "fill-outline-color": new ht(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"]) });
|
|
11800
11794
|
}, get layout() {
|
|
11801
11795
|
return Hm = Hm || new g({ "fill-sort-key": new ht(ve.layout_fill["fill-sort-key"]) });
|
|
11802
11796
|
} };
|
|
11803
|
-
class
|
|
11797
|
+
class ix extends o {
|
|
11804
11798
|
constructor(t) {
|
|
11805
|
-
super(t,
|
|
11799
|
+
super(t, tx);
|
|
11806
11800
|
}
|
|
11807
11801
|
recalculate(t, r) {
|
|
11808
11802
|
super.recalculate(t, r);
|
|
@@ -11822,12 +11816,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11822
11816
|
return !0;
|
|
11823
11817
|
}
|
|
11824
11818
|
}
|
|
11825
|
-
const
|
|
11826
|
-
var Mo = {},
|
|
11819
|
+
const nx = w([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_normal_ed", components: 4, type: "Int16" }], 4), sx = w([{ name: "a_centroid", components: 2, type: "Int16" }], 4), { members: rx } = nx;
|
|
11820
|
+
var Mo = {}, ox = I, Wm = _l;
|
|
11827
11821
|
function _l(n, t, r, l, p) {
|
|
11828
|
-
this.properties = {}, this.extent = r, this.type = 0, this._pbf = n, this._geometry = -1, this._keys = l, this._values = p, n.readFields(
|
|
11822
|
+
this.properties = {}, this.extent = r, this.type = 0, this._pbf = n, this._geometry = -1, this._keys = l, this._values = p, n.readFields(ax, this, t);
|
|
11829
11823
|
}
|
|
11830
|
-
function
|
|
11824
|
+
function ax(n, t, r) {
|
|
11831
11825
|
n == 1 ? t.id = r.readVarint() : n == 2 ? function(l, p) {
|
|
11832
11826
|
for (var y = l.readVarint() + l.pos; l.pos < y; ) {
|
|
11833
11827
|
var _ = p._keys[l.readVarint()], b = p._values[l.readVarint()];
|
|
@@ -11835,7 +11829,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11835
11829
|
}
|
|
11836
11830
|
}(r, t) : n == 3 ? t.type = r.readVarint() : n == 4 && (t._geometry = r.pos);
|
|
11837
11831
|
}
|
|
11838
|
-
function
|
|
11832
|
+
function lx(n) {
|
|
11839
11833
|
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);
|
|
11840
11834
|
return l;
|
|
11841
11835
|
}
|
|
@@ -11847,7 +11841,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11847
11841
|
var S = n.readVarint();
|
|
11848
11842
|
l = 7 & S, p = S >> 3;
|
|
11849
11843
|
}
|
|
11850
|
-
if (p--, l === 1 || l === 2) y += n.readSVarint(), _ += n.readSVarint(), l === 1 && (t && b.push(t), t = []), t.push(new
|
|
11844
|
+
if (p--, l === 1 || l === 2) y += n.readSVarint(), _ += n.readSVarint(), l === 1 && (t && b.push(t), t = []), t.push(new ox(y, _));
|
|
11851
11845
|
else {
|
|
11852
11846
|
if (l !== 7) throw new Error("unknown command " + l);
|
|
11853
11847
|
t && t.push(t[0].clone());
|
|
@@ -11888,7 +11882,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11888
11882
|
var $ = j.length;
|
|
11889
11883
|
if ($ <= 1) return [j];
|
|
11890
11884
|
for (var q, X, ee = [], ge = 0; ge < $; ge++) {
|
|
11891
|
-
var ae =
|
|
11885
|
+
var ae = lx(j[ge]);
|
|
11892
11886
|
ae !== 0 && (X === void 0 && (X = ae < 0), X === ae < 0 ? (q && ee.push(q), q = [j[ge]]) : q.push(j[ge]));
|
|
11893
11887
|
}
|
|
11894
11888
|
return q && ee.push(q), ee;
|
|
@@ -11898,11 +11892,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11898
11892
|
var F = { type: "Feature", geometry: { type: E, coordinates: S }, properties: this.properties };
|
|
11899
11893
|
return "id" in this && (F.id = this.id), F;
|
|
11900
11894
|
};
|
|
11901
|
-
var
|
|
11895
|
+
var cx = Wm, Gm = Ym;
|
|
11902
11896
|
function Ym(n, t) {
|
|
11903
|
-
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = n, this._keys = [], this._values = [], this._features = [], n.readFields(
|
|
11897
|
+
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = n, this._keys = [], this._values = [], this._features = [], n.readFields(ux, this, t), this.length = this._features.length;
|
|
11904
11898
|
}
|
|
11905
|
-
function
|
|
11899
|
+
function ux(n, t, r) {
|
|
11906
11900
|
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) {
|
|
11907
11901
|
for (var p = null, y = l.readVarint() + l.pos; l.pos < y; ) {
|
|
11908
11902
|
var _ = l.readVarint() >> 3;
|
|
@@ -11915,19 +11909,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11915
11909
|
if (n < 0 || n >= this._features.length) throw new Error("feature index out of bounds");
|
|
11916
11910
|
this._pbf.pos = this._features[n];
|
|
11917
11911
|
var t = this._pbf.readVarint() + this._pbf.pos;
|
|
11918
|
-
return new
|
|
11912
|
+
return new cx(this._pbf, t, this.extent, this._keys, this._values);
|
|
11919
11913
|
};
|
|
11920
|
-
var
|
|
11921
|
-
function
|
|
11914
|
+
var hx = Gm;
|
|
11915
|
+
function dx(n, t, r) {
|
|
11922
11916
|
if (n === 3) {
|
|
11923
|
-
var l = new
|
|
11917
|
+
var l = new hx(r, r.readVarint() + r.pos);
|
|
11924
11918
|
l.length && (t[l.name] = l);
|
|
11925
11919
|
}
|
|
11926
11920
|
}
|
|
11927
11921
|
Mo.VectorTile = function(n, t) {
|
|
11928
|
-
this.layers = n.readFields(
|
|
11922
|
+
this.layers = n.readFields(dx, {}, t);
|
|
11929
11923
|
}, Mo.VectorTileFeature = Wm, Mo.VectorTileLayer = Gm;
|
|
11930
|
-
const
|
|
11924
|
+
const px = Mo.VectorTileFeature.types, pp = Math.pow(2, 13);
|
|
11931
11925
|
function qc(n, t, r, l, p, y, _, b) {
|
|
11932
11926
|
n.emplaceBack(t, r, 2 * Math.floor(l * pp) + _, p * pp * 2, y * pp * 2, Math.round(b));
|
|
11933
11927
|
}
|
|
@@ -11960,7 +11954,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11960
11954
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
11961
11955
|
}
|
|
11962
11956
|
upload(t) {
|
|
11963
|
-
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
11957
|
+
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, rx), this.centroidVertexBuffer = t.createVertexBuffer(this.centroidVertexArray, sx.members, !0), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
11964
11958
|
}
|
|
11965
11959
|
destroy() {
|
|
11966
11960
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.centroidVertexBuffer.destroy());
|
|
@@ -11972,13 +11966,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11972
11966
|
for (const $ of _) S += $.length;
|
|
11973
11967
|
let E = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray);
|
|
11974
11968
|
for (const $ of _) {
|
|
11975
|
-
if ($.length === 0 ||
|
|
11969
|
+
if ($.length === 0 || mx($)) continue;
|
|
11976
11970
|
let q = 0;
|
|
11977
11971
|
for (let X = 0; X < $.length; X++) {
|
|
11978
11972
|
const ee = $[X];
|
|
11979
11973
|
if (X >= 1) {
|
|
11980
11974
|
const ge = $[X - 1];
|
|
11981
|
-
if (!
|
|
11975
|
+
if (!fx(ee, ge)) {
|
|
11982
11976
|
E.vertexLength + 4 > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray));
|
|
11983
11977
|
const ae = ee.sub(ge)._perp()._unit(), fe = ge.dist(ee);
|
|
11984
11978
|
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;
|
|
@@ -11988,7 +11982,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11988
11982
|
}
|
|
11989
11983
|
}
|
|
11990
11984
|
}
|
|
11991
|
-
if (E.vertexLength + S > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(S, this.layoutVertexArray, this.indexArray)),
|
|
11985
|
+
if (E.vertexLength + S > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(S, this.layoutVertexArray, this.indexArray)), px[t.type] !== "Polygon") continue;
|
|
11992
11986
|
const M = [], D = [], F = E.vertexLength;
|
|
11993
11987
|
for (const $ of _) if ($.length !== 0) {
|
|
11994
11988
|
$ !== _[0] && D.push(M.length / 2);
|
|
@@ -12008,20 +12002,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12008
12002
|
this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, l, y, p);
|
|
12009
12003
|
}
|
|
12010
12004
|
}
|
|
12011
|
-
function
|
|
12005
|
+
function fx(n, t) {
|
|
12012
12006
|
return n.x === t.x && (n.x < 0 || n.x > Oi) || n.y === t.y && (n.y < 0 || n.y > Oi);
|
|
12013
12007
|
}
|
|
12014
|
-
function
|
|
12008
|
+
function mx(n) {
|
|
12015
12009
|
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);
|
|
12016
12010
|
}
|
|
12017
12011
|
let Xm;
|
|
12018
12012
|
Ye("FillExtrusionBucket", fp, { omit: ["layers", "features"] });
|
|
12019
|
-
var
|
|
12013
|
+
var gx = { get paint() {
|
|
12020
12014
|
return Xm = Xm || new g({ "fill-extrusion-opacity": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new ht(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 ht(ve["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new ht(ve["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) });
|
|
12021
12015
|
} };
|
|
12022
|
-
class
|
|
12016
|
+
class yx extends o {
|
|
12023
12017
|
constructor(t) {
|
|
12024
|
-
super(t,
|
|
12018
|
+
super(t, gx);
|
|
12025
12019
|
}
|
|
12026
12020
|
createBucket(t) {
|
|
12027
12021
|
return new fp(t);
|
|
@@ -12089,7 +12083,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12089
12083
|
return r;
|
|
12090
12084
|
}
|
|
12091
12085
|
}
|
|
12092
|
-
const
|
|
12086
|
+
const _x = w([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }], 4), { members: vx } = _x, xx = w([{ name: "a_uv_x", components: 1, type: "Float32" }, { name: "a_split_index", components: 1, type: "Float32" }]), { members: bx } = xx, wx = Mo.VectorTileFeature.types, Sx = Math.cos(Math.PI / 180 * 37.5), Jm = Math.pow(2, 14) / 0.5;
|
|
12093
12087
|
class mp {
|
|
12094
12088
|
constructor(t) {
|
|
12095
12089
|
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) => {
|
|
@@ -12128,7 +12122,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12128
12122
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
12129
12123
|
}
|
|
12130
12124
|
upload(t) {
|
|
12131
|
-
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = t.createVertexBuffer(this.layoutVertexArray2,
|
|
12125
|
+
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = t.createVertexBuffer(this.layoutVertexArray2, bx)), this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, vx), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
12132
12126
|
}
|
|
12133
12127
|
destroy() {
|
|
12134
12128
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());
|
|
@@ -12148,7 +12142,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12148
12142
|
for (let ee = 0; ee < t.length - 1; ee++) this.totalDistance += t[ee].dist(t[ee + 1]);
|
|
12149
12143
|
this.updateScaledDistance(), this.maxLineLength = Math.max(this.maxLineLength, this.totalDistance);
|
|
12150
12144
|
}
|
|
12151
|
-
const b =
|
|
12145
|
+
const b = wx[r.type] === "Polygon";
|
|
12152
12146
|
let S = t.length;
|
|
12153
12147
|
for (; S >= 2 && t[S - 1].equals(t[S - 2]); ) S--;
|
|
12154
12148
|
let E = 0;
|
|
@@ -12163,7 +12157,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12163
12157
|
X && (q = X), F && (j = F), F = t[ee], X = $ ? $.sub(F)._unit()._perp() : q, q = q || X;
|
|
12164
12158
|
let ge = q.add(X);
|
|
12165
12159
|
ge.x === 0 && ge.y === 0 || ge._unit();
|
|
12166
|
-
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 <
|
|
12160
|
+
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 < Sx && j && $, ut = q.x * X.y - q.y * X.x > 0;
|
|
12167
12161
|
if (He && ee > E) {
|
|
12168
12162
|
const it = F.dist(j);
|
|
12169
12163
|
if (it > 2 * M) {
|
|
@@ -12234,7 +12228,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12234
12228
|
}, get layout() {
|
|
12235
12229
|
return Qm = Qm || new g({ "line-cap": new Qe(ve.layout_line["line-cap"]), "line-join": new ht(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 ht(ve.layout_line["line-sort-key"]) });
|
|
12236
12230
|
} };
|
|
12237
|
-
class
|
|
12231
|
+
class Tx extends ht {
|
|
12238
12232
|
possiblyEvaluate(t, r) {
|
|
12239
12233
|
return r = new mi(Math.floor(r.zoom), { now: r.now, fadeDuration: r.fadeDuration, zoomHistory: r.zoomHistory, transition: r.transition }), super.possiblyEvaluate(t, r);
|
|
12240
12234
|
}
|
|
@@ -12243,9 +12237,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12243
12237
|
}
|
|
12244
12238
|
}
|
|
12245
12239
|
let _h;
|
|
12246
|
-
class
|
|
12240
|
+
class kx extends o {
|
|
12247
12241
|
constructor(t) {
|
|
12248
|
-
super(t, tg), this.gradientVersion = 0, _h || (_h = new
|
|
12242
|
+
super(t, tg), this.gradientVersion = 0, _h || (_h = new Tx(tg.paint.properties["line-width"].specification), _h.useIntegerZoom = !0);
|
|
12249
12243
|
}
|
|
12250
12244
|
_handleSpecialPaintPropertyUpdate(t) {
|
|
12251
12245
|
if (t === "line-gradient") {
|
|
@@ -12287,7 +12281,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12287
12281
|
if (D.length >= 3) {
|
|
12288
12282
|
for (let X = 0; X < q.length; X++) if (ml(D, q[X])) return !0;
|
|
12289
12283
|
}
|
|
12290
|
-
if (
|
|
12284
|
+
if (Rv(D, q, j)) return !0;
|
|
12291
12285
|
}
|
|
12292
12286
|
return !1;
|
|
12293
12287
|
}(S, p, E);
|
|
@@ -12299,12 +12293,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12299
12293
|
function ig(n, t) {
|
|
12300
12294
|
return t > 0 ? t + 2 * n : n;
|
|
12301
12295
|
}
|
|
12302
|
-
const
|
|
12296
|
+
const Ex = w([{ name: "a_pos_offset", components: 4, type: "Int16" }, { name: "a_data", components: 4, type: "Uint16" }, { name: "a_pixeloffset", components: 4, type: "Int16" }], 4), Mx = w([{ name: "a_projected_pos", components: 3, type: "Float32" }], 4);
|
|
12303
12297
|
w([{ name: "a_fade_opacity", components: 1, type: "Uint32" }], 4);
|
|
12304
|
-
const
|
|
12298
|
+
const Px = w([{ name: "a_placed", components: 2, type: "Uint8" }, { name: "a_shift", components: 2, type: "Float32" }, { name: "a_box_real", components: 2, type: "Int16" }]);
|
|
12305
12299
|
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" }]);
|
|
12306
|
-
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),
|
|
12307
|
-
function
|
|
12300
|
+
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), Cx = w([{ name: "a_pos", components: 2, type: "Float32" }, { name: "a_radius", components: 1, type: "Float32" }, { name: "a_flags", components: 2, type: "Int16" }], 4);
|
|
12301
|
+
function Ix(n, t, r) {
|
|
12308
12302
|
return n.sections.forEach((l) => {
|
|
12309
12303
|
l.text = function(p, y, _) {
|
|
12310
12304
|
const b = y.layout.get("text-transform").evaluate(_, {});
|
|
@@ -12346,31 +12340,31 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12346
12340
|
r.realloc(l);
|
|
12347
12341
|
for (var p = r.pos - 1; p >= n; p--) r.buf[p + l] = r.buf[p];
|
|
12348
12342
|
}
|
|
12349
|
-
function
|
|
12343
|
+
function Ax(n, t) {
|
|
12350
12344
|
for (var r = 0; r < n.length; r++) t.writeVarint(n[r]);
|
|
12351
12345
|
}
|
|
12352
|
-
function
|
|
12346
|
+
function Dx(n, t) {
|
|
12353
12347
|
for (var r = 0; r < n.length; r++) t.writeSVarint(n[r]);
|
|
12354
12348
|
}
|
|
12355
|
-
function
|
|
12349
|
+
function zx(n, t) {
|
|
12356
12350
|
for (var r = 0; r < n.length; r++) t.writeFloat(n[r]);
|
|
12357
12351
|
}
|
|
12358
|
-
function
|
|
12352
|
+
function Rx(n, t) {
|
|
12359
12353
|
for (var r = 0; r < n.length; r++) t.writeDouble(n[r]);
|
|
12360
12354
|
}
|
|
12361
|
-
function
|
|
12355
|
+
function Lx(n, t) {
|
|
12362
12356
|
for (var r = 0; r < n.length; r++) t.writeBoolean(n[r]);
|
|
12363
12357
|
}
|
|
12364
|
-
function
|
|
12358
|
+
function Ox(n, t) {
|
|
12365
12359
|
for (var r = 0; r < n.length; r++) t.writeFixed32(n[r]);
|
|
12366
12360
|
}
|
|
12367
|
-
function
|
|
12361
|
+
function Fx(n, t) {
|
|
12368
12362
|
for (var r = 0; r < n.length; r++) t.writeSFixed32(n[r]);
|
|
12369
12363
|
}
|
|
12370
|
-
function
|
|
12364
|
+
function Bx(n, t) {
|
|
12371
12365
|
for (var r = 0; r < n.length; r++) t.writeFixed64(n[r]);
|
|
12372
12366
|
}
|
|
12373
|
-
function
|
|
12367
|
+
function Nx(n, t) {
|
|
12374
12368
|
for (var r = 0; r < n.length; r++) t.writeSFixed64(n[r]);
|
|
12375
12369
|
}
|
|
12376
12370
|
function vh(n, t) {
|
|
@@ -12565,23 +12559,23 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12565
12559
|
}, writeMessage: function(n, t, r) {
|
|
12566
12560
|
this.writeTag(n, ri.Bytes), this.writeRawMessage(t, r);
|
|
12567
12561
|
}, writePackedVarint: function(n, t) {
|
|
12568
|
-
t.length && this.writeMessage(n,
|
|
12562
|
+
t.length && this.writeMessage(n, Ax, t);
|
|
12569
12563
|
}, writePackedSVarint: function(n, t) {
|
|
12570
|
-
t.length && this.writeMessage(n,
|
|
12564
|
+
t.length && this.writeMessage(n, Dx, t);
|
|
12571
12565
|
}, writePackedBoolean: function(n, t) {
|
|
12572
|
-
t.length && this.writeMessage(n,
|
|
12566
|
+
t.length && this.writeMessage(n, Lx, t);
|
|
12573
12567
|
}, writePackedFloat: function(n, t) {
|
|
12574
|
-
t.length && this.writeMessage(n,
|
|
12568
|
+
t.length && this.writeMessage(n, zx, t);
|
|
12575
12569
|
}, writePackedDouble: function(n, t) {
|
|
12576
|
-
t.length && this.writeMessage(n,
|
|
12570
|
+
t.length && this.writeMessage(n, Rx, t);
|
|
12577
12571
|
}, writePackedFixed32: function(n, t) {
|
|
12578
|
-
t.length && this.writeMessage(n,
|
|
12572
|
+
t.length && this.writeMessage(n, Ox, t);
|
|
12579
12573
|
}, writePackedSFixed32: function(n, t) {
|
|
12580
|
-
t.length && this.writeMessage(n,
|
|
12574
|
+
t.length && this.writeMessage(n, Fx, t);
|
|
12581
12575
|
}, writePackedFixed64: function(n, t) {
|
|
12582
|
-
t.length && this.writeMessage(n,
|
|
12576
|
+
t.length && this.writeMessage(n, Bx, t);
|
|
12583
12577
|
}, writePackedSFixed64: function(n, t) {
|
|
12584
|
-
t.length && this.writeMessage(n,
|
|
12578
|
+
t.length && this.writeMessage(n, Nx, t);
|
|
12585
12579
|
}, writeBytesField: function(n, t) {
|
|
12586
12580
|
this.writeTag(n, ri.Bytes), this.writeBytes(t);
|
|
12587
12581
|
}, writeFixed32Field: function(n, t) {
|
|
@@ -12607,16 +12601,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12607
12601
|
} };
|
|
12608
12602
|
var yp = C(sg);
|
|
12609
12603
|
const _p = 3;
|
|
12610
|
-
function
|
|
12611
|
-
n === 1 && r.readMessage(
|
|
12604
|
+
function jx(n, t, r) {
|
|
12605
|
+
n === 1 && r.readMessage(Vx, t);
|
|
12612
12606
|
}
|
|
12613
|
-
function
|
|
12607
|
+
function Vx(n, t, r) {
|
|
12614
12608
|
if (n === 3) {
|
|
12615
|
-
const { id: l, bitmap: p, width: y, height: _, left: b, top: S, advance: E } = r.readMessage(
|
|
12609
|
+
const { id: l, bitmap: p, width: y, height: _, left: b, top: S, advance: E } = r.readMessage($x, {});
|
|
12616
12610
|
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 } });
|
|
12617
12611
|
}
|
|
12618
12612
|
}
|
|
12619
|
-
function
|
|
12613
|
+
function $x(n, t, r) {
|
|
12620
12614
|
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());
|
|
12621
12615
|
}
|
|
12622
12616
|
const hg = _p;
|
|
@@ -12838,7 +12832,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12838
12832
|
}
|
|
12839
12833
|
Is ? (we.verticalizable = !0, Sn.push({ glyph: vi, imageName: or, x: yt, y: ci + Yn, vertical: Is, scale: Ht.scale, fontStack: Ht.fontStack, sectionIndex: pi, metrics: ki, rect: kl }), yt += ar * Ht.scale + Ee) : (Sn.push({ glyph: vi, imageName: or, x: yt, y: ci + Yn, vertical: Is, scale: Ht.scale, fontStack: Ht.fontStack, sectionIndex: pi, metrics: ki, rect: kl }), yt += ki.advance * Ht.scale + Ee);
|
|
12840
12834
|
}
|
|
12841
|
-
Sn.length !== 0 && (oi = Math.max(yt - Ee, oi),
|
|
12835
|
+
Sn.length !== 0 && (oi = Math.max(yt - Ee, oi), Zx(Sn, 0, Sn.length - 1, Cs, rn)), yt = 0;
|
|
12842
12836
|
const ps = Ne * Ui + rn;
|
|
12843
12837
|
sn.lineOffset = Math.max(rn, pn), ci += ps, Vi = Math.max(ps, Vi), ++nn;
|
|
12844
12838
|
}
|
|
@@ -12855,7 +12849,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12855
12849
|
return !0;
|
|
12856
12850
|
}(ae) && fe;
|
|
12857
12851
|
}
|
|
12858
|
-
const bh = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 },
|
|
12852
|
+
const bh = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 }, Ux = { 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 }, qx = { 40: !0 };
|
|
12859
12853
|
function fg(n, t, r, l, p, y) {
|
|
12860
12854
|
if (t.imageName) {
|
|
12861
12855
|
const _ = l[t.imageName];
|
|
@@ -12870,7 +12864,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12870
12864
|
const p = Math.pow(n - t, 2);
|
|
12871
12865
|
return l ? n < t ? p / 2 : 2 * p : p + Math.abs(r) * r;
|
|
12872
12866
|
}
|
|
12873
|
-
function
|
|
12867
|
+
function Hx(n, t, r) {
|
|
12874
12868
|
let l = 0;
|
|
12875
12869
|
return n === 10 && (l -= 1e4), r && (l += 150), n !== 40 && n !== 65288 || (l += 50), t !== 41 && t !== 65289 || (l += 50), l;
|
|
12876
12870
|
}
|
|
@@ -12900,7 +12894,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12900
12894
|
const F = n.getSection(D), j = n.getCharCode(D);
|
|
12901
12895
|
if (bh[j] || (E += fg(j, F, l, p, t, y)), D < n.length() - 1) {
|
|
12902
12896
|
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)));
|
|
12903
|
-
(
|
|
12897
|
+
(Ux[j] || $ || F.imageName || D !== n.length() - 2 && qx[n.getCharCode(D + 1)]) && _.push(gg(D + 1, E, b, _, Hx(j, n.getCharCode(D + 1), $ && S), !1));
|
|
12904
12898
|
}
|
|
12905
12899
|
}
|
|
12906
12900
|
var M;
|
|
@@ -12932,12 +12926,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12932
12926
|
}
|
|
12933
12927
|
return { horizontalAlign: t, verticalAlign: r };
|
|
12934
12928
|
}
|
|
12935
|
-
function
|
|
12929
|
+
function Zx(n, t, r, l, p) {
|
|
12936
12930
|
if (!l && !p) return;
|
|
12937
12931
|
const y = n[r], _ = (n[r].x + y.metrics.advance * y.scale) * l;
|
|
12938
12932
|
for (let b = t; b <= r; b++) n[b].x -= _, n[b].y += p;
|
|
12939
12933
|
}
|
|
12940
|
-
function
|
|
12934
|
+
function Wx(n, t, r) {
|
|
12941
12935
|
const { horizontalAlign: l, verticalAlign: p } = bp(r), y = t[0] - n.displaySize[0] * l, _ = t[1] - n.displaySize[1] * p;
|
|
12942
12936
|
return { image: n, top: _, bottom: _ + n.displaySize[1], left: y, right: y + n.displaySize[0] };
|
|
12943
12937
|
}
|
|
@@ -12991,7 +12985,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12991
12985
|
const p = n.get(t);
|
|
12992
12986
|
return p ? l = p : n.get(r) && (l = "always"), l;
|
|
12993
12987
|
}
|
|
12994
|
-
const
|
|
12988
|
+
const Gx = Mo.VectorTileFeature.types, Yx = [{ name: "a_fade_opacity", components: 1, type: "Uint8", offset: 0 }];
|
|
12995
12989
|
function wh(n, t, r, l, p, y, _, b, S, E, M, D, F) {
|
|
12996
12990
|
const j = b ? Math.min(Co, Math.round(b[0])) : 0, $ = b ? Math.min(Co, Math.round(b[1])) : 0;
|
|
12997
12991
|
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);
|
|
@@ -12999,7 +12993,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12999
12993
|
function Sp(n, t, r) {
|
|
13000
12994
|
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);
|
|
13001
12995
|
}
|
|
13002
|
-
function
|
|
12996
|
+
function Xx(n) {
|
|
13003
12997
|
for (const t of n.sections) if (Kd(t.text)) return !0;
|
|
13004
12998
|
return !1;
|
|
13005
12999
|
}
|
|
@@ -13011,7 +13005,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13011
13005
|
return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0;
|
|
13012
13006
|
}
|
|
13013
13007
|
upload(t, r, l, p) {
|
|
13014
|
-
this.isEmpty() || (l && (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
13008
|
+
this.isEmpty() || (l && (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, Ex.members), this.indexBuffer = t.createIndexBuffer(this.indexArray, r), this.dynamicLayoutVertexBuffer = t.createVertexBuffer(this.dynamicLayoutVertexArray, Mx.members, !0), this.opacityVertexBuffer = t.createVertexBuffer(this.opacityVertexArray, Yx, !0), this.opacityVertexBuffer.itemSize = 1), (l || p) && this.programConfigurations.upload(t));
|
|
13015
13009
|
}
|
|
13016
13010
|
destroy() {
|
|
13017
13011
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.dynamicLayoutVertexBuffer.destroy(), this.opacityVertexBuffer.destroy());
|
|
@@ -13023,7 +13017,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13023
13017
|
this.layoutVertexArray = new t(), this.layoutAttributes = r, this.indexArray = new l(), this.segments = new Ft(), this.collisionVertexArray = new nr();
|
|
13024
13018
|
}
|
|
13025
13019
|
upload(t) {
|
|
13026
|
-
this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray,
|
|
13020
|
+
this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray, Px.members, !0);
|
|
13027
13021
|
}
|
|
13028
13022
|
destroy() {
|
|
13029
13023
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.segments.destroy(), this.collisionVertexBuffer.destroy());
|
|
@@ -13056,8 +13050,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13056
13050
|
if (!p._featureFilter.filter(q, we, l)) continue;
|
|
13057
13051
|
let Ce, He;
|
|
13058
13052
|
if (fe || (we.geometry = da(X)), E) {
|
|
13059
|
-
const $e = p.getValueAndResolveTokens("text-field", we, l, $), Ne = Dn.factory($e), it = this.hasRTLText = this.hasRTLText ||
|
|
13060
|
-
(!it || On.getRTLTextPluginStatus() === "unavailable" || it && On.isParsed()) && (Ce =
|
|
13053
|
+
const $e = p.getValueAndResolveTokens("text-field", we, l, $), Ne = Dn.factory($e), it = this.hasRTLText = this.hasRTLText || Xx(Ne);
|
|
13054
|
+
(!it || On.getRTLTextPluginStatus() === "unavailable" || it && On.isParsed()) && (Ce = Ix(Ne, p, we));
|
|
13061
13055
|
}
|
|
13062
13056
|
if (M) {
|
|
13063
13057
|
const $e = p.getValueAndResolveTokens("icon-image", we, l, $);
|
|
@@ -13065,7 +13059,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13065
13059
|
}
|
|
13066
13060
|
if (!Ce && !He) continue;
|
|
13067
13061
|
const ut = this.sortFeaturesByKey ? D.evaluate(we, {}, l) : void 0;
|
|
13068
|
-
if (this.features.push({ id: ee, text: Ce, icon: He, index: ge, sourceLayerIndex: ae, geometry: we.geometry, properties: X.properties, type:
|
|
13062
|
+
if (this.features.push({ id: ee, text: Ce, icon: He, index: ge, sourceLayerIndex: ae, geometry: we.geometry, properties: X.properties, type: Gx[X.type], sortKey: ut }), He && (F[He.name] = !0), Ce) {
|
|
13069
13063
|
const $e = _.evaluate(we, {}, l).join(","), Ne = y.get("text-rotation-alignment") !== "viewport" && y.get("symbol-placement") !== "point";
|
|
13070
13064
|
this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(v.ah.vertical) >= 0;
|
|
13071
13065
|
for (const it of Ce.sections) if (it.image) F[it.image.name] = !0;
|
|
@@ -13335,24 +13329,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13335
13329
|
}
|
|
13336
13330
|
}
|
|
13337
13331
|
let Tg;
|
|
13338
|
-
var
|
|
13332
|
+
var Kx = { get paint() {
|
|
13339
13333
|
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"]) });
|
|
13340
13334
|
} };
|
|
13341
|
-
class
|
|
13335
|
+
class Jx extends o {
|
|
13342
13336
|
constructor(t) {
|
|
13343
|
-
super(t,
|
|
13337
|
+
super(t, Kx);
|
|
13344
13338
|
}
|
|
13345
13339
|
}
|
|
13346
13340
|
let kg;
|
|
13347
|
-
var
|
|
13341
|
+
var Qx = { get paint() {
|
|
13348
13342
|
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"]) });
|
|
13349
13343
|
} };
|
|
13350
|
-
class
|
|
13344
|
+
class eb extends o {
|
|
13351
13345
|
constructor(t) {
|
|
13352
|
-
super(t,
|
|
13346
|
+
super(t, Qx);
|
|
13353
13347
|
}
|
|
13354
13348
|
}
|
|
13355
|
-
class
|
|
13349
|
+
class tb extends o {
|
|
13356
13350
|
constructor(t) {
|
|
13357
13351
|
super(t, {}), this.onAdd = (r) => {
|
|
13358
13352
|
this.implementation.onAdd && this.implementation.onAdd(r, r.painter.context.gl);
|
|
@@ -13377,7 +13371,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13377
13371
|
throw new Error("Custom layers cannot be serialized");
|
|
13378
13372
|
}
|
|
13379
13373
|
}
|
|
13380
|
-
class
|
|
13374
|
+
class ib {
|
|
13381
13375
|
constructor(t) {
|
|
13382
13376
|
this._methodToThrottle = t, this._triggered = !1, typeof MessageChannel < "u" && (this._channel = new MessageChannel(), this._channel.port2.onmessage = () => {
|
|
13383
13377
|
this._triggered = !1, this._methodToThrottle();
|
|
@@ -13676,11 +13670,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13676
13670
|
if (fe.length > 2) {
|
|
13677
13671
|
for (const Ne of $e) if (ml(fe, Ne)) return !0;
|
|
13678
13672
|
}
|
|
13679
|
-
for (let Ne = 0; Ne < fe.length - 1; Ne++) if (
|
|
13673
|
+
for (let Ne = 0; Ne < fe.length - 1; Ne++) if (Ov(fe[Ne], fe[Ne + 1], $e)) return !0;
|
|
13680
13674
|
return !1;
|
|
13681
13675
|
}(t.cameraQueryGeometry, X - E, ee - E, ge + E, ae + E));
|
|
13682
13676
|
for (const X of j) D.push(X);
|
|
13683
|
-
D.sort(
|
|
13677
|
+
D.sort(nb);
|
|
13684
13678
|
const $ = {};
|
|
13685
13679
|
let q;
|
|
13686
13680
|
for (let X = 0; X < D.length; X++) {
|
|
@@ -13749,7 +13743,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13749
13743
|
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);
|
|
13750
13744
|
return { minX: t, minY: r, maxX: l, maxY: p };
|
|
13751
13745
|
}
|
|
13752
|
-
function
|
|
13746
|
+
function nb(n, t) {
|
|
13753
13747
|
return t - n;
|
|
13754
13748
|
}
|
|
13755
13749
|
function Ng(n, t, r, l, p) {
|
|
@@ -13804,7 +13798,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13804
13798
|
function Ug(n, t) {
|
|
13805
13799
|
return Math.max(n ? n.right - n.left : 0, t ? t.right - t.left : 0);
|
|
13806
13800
|
}
|
|
13807
|
-
function
|
|
13801
|
+
function sb(n, t, r, l, p, y) {
|
|
13808
13802
|
const _ = $g(r, p, y), b = Ug(r, l) * y;
|
|
13809
13803
|
let S = 0;
|
|
13810
13804
|
const E = Vg(n) / 2;
|
|
@@ -13817,7 +13811,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13817
13811
|
S += j;
|
|
13818
13812
|
}
|
|
13819
13813
|
}
|
|
13820
|
-
function
|
|
13814
|
+
function rb(n, t, r, l, p, y, _, b, S) {
|
|
13821
13815
|
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;
|
|
13822
13816
|
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);
|
|
13823
13817
|
}
|
|
@@ -13908,7 +13902,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13908
13902
|
this.boxEndIndex = t.length;
|
|
13909
13903
|
}
|
|
13910
13904
|
}
|
|
13911
|
-
class
|
|
13905
|
+
class ob {
|
|
13912
13906
|
constructor(t = [], r = (l, p) => l < p ? -1 : l > p ? 1 : 0) {
|
|
13913
13907
|
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);
|
|
13914
13908
|
}
|
|
@@ -13943,7 +13937,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13943
13937
|
r[t] = y;
|
|
13944
13938
|
}
|
|
13945
13939
|
}
|
|
13946
|
-
function
|
|
13940
|
+
function ab(n, t = 1, r = !1) {
|
|
13947
13941
|
let l = 1 / 0, p = 1 / 0, y = -1 / 0, _ = -1 / 0;
|
|
13948
13942
|
const b = n[0];
|
|
13949
13943
|
for (let j = 0; j < b.length; j++) {
|
|
@@ -13952,7 +13946,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13952
13946
|
}
|
|
13953
13947
|
const S = Math.min(y - l, _ - p);
|
|
13954
13948
|
let E = S / 2;
|
|
13955
|
-
const M = new
|
|
13949
|
+
const M = new ob([], lb);
|
|
13956
13950
|
if (S === 0) return new z(l, p);
|
|
13957
13951
|
for (let j = l; j < y; j += S) for (let $ = p; $ < _; $ += S) M.push(new Tl(j + E, $ + E, E, n));
|
|
13958
13952
|
let D = function(j) {
|
|
@@ -13970,7 +13964,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13970
13964
|
}
|
|
13971
13965
|
return r && (console.log(`num probes: ${F}`), console.log(`best distance: ${D.d}`)), D.p;
|
|
13972
13966
|
}
|
|
13973
|
-
function
|
|
13967
|
+
function lb(n, t) {
|
|
13974
13968
|
return t.max - n.max;
|
|
13975
13969
|
}
|
|
13976
13970
|
function Tl(n, t, r, l) {
|
|
@@ -14086,7 +14080,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14086
14080
|
}
|
|
14087
14081
|
return "center";
|
|
14088
14082
|
}
|
|
14089
|
-
function
|
|
14083
|
+
function cb(n, t, r, l, p, y, _, b, S, E, M) {
|
|
14090
14084
|
let D = y.textMaxSize.evaluate(t, {});
|
|
14091
14085
|
D === void 0 && (D = _);
|
|
14092
14086
|
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, yt = 1) {
|
|
@@ -14124,34 +14118,34 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14124
14118
|
if (ey += Yg(tt, yt, ms, Cs, $i, sn, pi, Sn, or, oi.vertical ? v.ah.horizontal : v.ah.horizontalOnly, ma ? ny : [fn], Rr, Np, vi, ki), ma) break;
|
|
14125
14119
|
}
|
|
14126
14120
|
oi.vertical && (ty += Yg(tt, yt, oi.vertical, Cs, $i, sn, pi, Sn, or, v.ah.vertical, ["vertical"], Rr, jp, vi, ki));
|
|
14127
|
-
const
|
|
14121
|
+
const db = ar ? ar.boxStartIndex : tt.collisionBoxArray.length, pb = ar ? ar.boxEndIndex : tt.collisionBoxArray.length, fb = fs ? fs.boxStartIndex : tt.collisionBoxArray.length, mb = fs ? fs.boxEndIndex : tt.collisionBoxArray.length, gb = Is ? Is.boxStartIndex : tt.collisionBoxArray.length, yb = Is ? Is.boxEndIndex : tt.collisionBoxArray.length, _b = Yi ? Yi.boxStartIndex : tt.collisionBoxArray.length, vb = Yi ? Yi.boxEndIndex : tt.collisionBoxArray.length;
|
|
14128
14122
|
let Us = -1;
|
|
14129
14123
|
const Ch = (fn, ms) => fn && fn.circleDiameter ? Math.max(fn.circleDiameter, ms) : ms;
|
|
14130
14124
|
Us = Ch(ar, Us), Us = Ch(fs, Us), Us = Ch(Is, Us), Us = Ch(Yi, Us);
|
|
14131
14125
|
const sy = Us > -1 ? 1 : 0;
|
|
14132
14126
|
sy && (Us *= kl / Bi), 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"), pi.sortKey !== void 0 && tt.addToSortKeyRanges(tt.symbolInstances.length, pi.sortKey);
|
|
14133
|
-
const
|
|
14127
|
+
const xb = Gg($i, pi, ki), [bb, wb] = function(fn, ms) {
|
|
14134
14128
|
const ma = fn.length, qs = ms == null ? void 0 : ms.values;
|
|
14135
14129
|
if ((qs == null ? void 0 : qs.length) > 0) for (let ga = 0; ga < qs.length; ga += 2) {
|
|
14136
14130
|
const lr = qs[ga + 1];
|
|
14137
14131
|
fn.emplaceBack(v.aq[qs[ga]], lr[0], lr[1]);
|
|
14138
14132
|
}
|
|
14139
14133
|
return [ma, fn.length];
|
|
14140
|
-
}(tt.textAnchorOffsets,
|
|
14141
|
-
tt.symbolInstances.emplaceBack(yt.x, yt.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, pb, fb, mb, gb, yb, _b, vb,
|
|
14134
|
+
}(tt.textAnchorOffsets, xb);
|
|
14135
|
+
tt.symbolInstances.emplaceBack(yt.x, yt.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, db, pb, fb, mb, gb, yb, _b, vb, bn, ey, ty, zr, eu, sy, 0, Ui, Us, bb, wb);
|
|
14142
14136
|
}(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, ut, j, t, y, E, M, _);
|
|
14143
14137
|
};
|
|
14144
14138
|
if ($e === "line") for (const Ee of Ng(t.geometry, 0, 0, Oi, Oi)) {
|
|
14145
|
-
const nt =
|
|
14146
|
-
for (const tt of nt) $ &&
|
|
14139
|
+
const nt = rb(Ee, ae, Ce, r.vertical || $, l, 24, ee, n.overscaling, Oi);
|
|
14140
|
+
for (const tt of nt) $ && ub(n, $.text, Ne, tt) || Ge(Ee, tt);
|
|
14147
14141
|
}
|
|
14148
14142
|
else if ($e === "line-center") {
|
|
14149
14143
|
for (const Ee of t.geometry) if (Ee.length > 1) {
|
|
14150
|
-
const nt =
|
|
14144
|
+
const nt = sb(Ee, Ce, r.vertical || $, l, 24, ee);
|
|
14151
14145
|
nt && Ge(Ee, nt);
|
|
14152
14146
|
}
|
|
14153
14147
|
} else if (t.type === "Polygon") for (const Ee of Va(t.geometry, 0)) {
|
|
14154
|
-
const nt =
|
|
14148
|
+
const nt = ab(Ee, 16);
|
|
14155
14149
|
Ge(Ee[0], new Ao(nt.x, nt.y, 0));
|
|
14156
14150
|
}
|
|
14157
14151
|
else if (t.type === "LineString") for (const Ee of t.geometry) Ge(Ee, new Ao(Ee[0].x, Ee[0].y, 0));
|
|
@@ -14195,7 +14189,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14195
14189
|
for (const t in n) return n[t];
|
|
14196
14190
|
return null;
|
|
14197
14191
|
}
|
|
14198
|
-
function
|
|
14192
|
+
function ub(n, t, r, l) {
|
|
14199
14193
|
const p = n.compareText;
|
|
14200
14194
|
if (t in p) {
|
|
14201
14195
|
const y = p[t];
|
|
@@ -14298,7 +14292,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14298
14292
|
var Lp;
|
|
14299
14293
|
v.bg = void 0, (Lp = v.bg || (v.bg = {})).create = "create", Lp.load = "load", Lp.fullLoad = "fullLoad";
|
|
14300
14294
|
let Ph = null, Qc = [];
|
|
14301
|
-
const Op = 1e3 / 60, Fp = "loadTime", Bp = "fullLoadTime",
|
|
14295
|
+
const Op = 1e3 / 60, Fp = "loadTime", Bp = "fullLoadTime", hb = { mark(n) {
|
|
14302
14296
|
performance.mark(n);
|
|
14303
14297
|
}, frame(n) {
|
|
14304
14298
|
const t = n;
|
|
@@ -14320,7 +14314,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14320
14314
|
return is;
|
|
14321
14315
|
}, v.D = Qe, v.E = ni, v.F = class {
|
|
14322
14316
|
constructor(n, t) {
|
|
14323
|
-
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new
|
|
14317
|
+
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new ib(() => this.process()), this.subscription = function(r, l, p, y) {
|
|
14324
14318
|
return r.addEventListener(l, p, !1), { unsubscribe: () => {
|
|
14325
14319
|
r.removeEventListener(l, p, !1);
|
|
14326
14320
|
} };
|
|
@@ -14417,24 +14411,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14417
14411
|
}, v.a4 = function() {
|
|
14418
14412
|
return Mt++;
|
|
14419
14413
|
}, v.a5 = Ue, v.a6 = wl, v.a7 = gc, v.a8 = pa, v.a9 = Lg, v.aA = function(n) {
|
|
14420
|
-
if (n.type === "custom") return new
|
|
14414
|
+
if (n.type === "custom") return new tb(n);
|
|
14421
14415
|
switch (n.type) {
|
|
14422
14416
|
case "background":
|
|
14423
|
-
return new
|
|
14417
|
+
return new Jx(n);
|
|
14424
14418
|
case "circle":
|
|
14425
|
-
return new
|
|
14419
|
+
return new Nv(n);
|
|
14426
14420
|
case "fill":
|
|
14427
|
-
return new
|
|
14421
|
+
return new ix(n);
|
|
14428
14422
|
case "fill-extrusion":
|
|
14429
|
-
return new
|
|
14423
|
+
return new yx(n);
|
|
14430
14424
|
case "heatmap":
|
|
14431
|
-
return new
|
|
14425
|
+
return new Vv(n);
|
|
14432
14426
|
case "hillshade":
|
|
14433
|
-
return new
|
|
14427
|
+
return new Uv(n);
|
|
14434
14428
|
case "line":
|
|
14435
|
-
return new
|
|
14429
|
+
return new kx(n);
|
|
14436
14430
|
case "raster":
|
|
14437
|
-
return new
|
|
14431
|
+
return new eb(n);
|
|
14438
14432
|
case "symbol":
|
|
14439
14433
|
return new Sh(n);
|
|
14440
14434
|
}
|
|
@@ -14492,7 +14486,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14492
14486
|
}
|
|
14493
14487
|
}, v.aI = uh, v.aJ = class extends ua {
|
|
14494
14488
|
constructor(n, t) {
|
|
14495
|
-
super(n, t), this.current =
|
|
14489
|
+
super(n, t), this.current = Av;
|
|
14496
14490
|
}
|
|
14497
14491
|
set(n) {
|
|
14498
14492
|
if (n[12] !== this.current[12] || n[0] !== this.current[0]) return this.current = n, void this.gl.uniformMatrix4fv(this.location, !1, n);
|
|
@@ -14518,8 +14512,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14518
14512
|
}, v.aP = function(n, t, r, l, p, y, _) {
|
|
14519
14513
|
var b = 1 / (t - r), S = 1 / (l - p), E = 1 / (y - _);
|
|
14520
14514
|
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;
|
|
14521
|
-
}, v.aQ =
|
|
14522
|
-
}, v.aS =
|
|
14515
|
+
}, v.aQ = Bv, v.aR = class extends ue {
|
|
14516
|
+
}, v.aS = Cx, v.aT = class extends ye {
|
|
14523
14517
|
}, v.aU = ap, v.aV = function(n) {
|
|
14524
14518
|
return n <= 1 ? 1 : Math.pow(2, Math.ceil(Math.log(n) / Math.LN2));
|
|
14525
14519
|
}, v.aW = Bm, v.aX = Qi, v.aY = us, v.aZ = class extends et {
|
|
@@ -14605,7 +14599,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14605
14599
|
}, v.bc = function(n, t) {
|
|
14606
14600
|
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;
|
|
14607
14601
|
}, v.bd = class extends P {
|
|
14608
|
-
}, v.be = Mp, v.bf =
|
|
14602
|
+
}, v.be = Mp, v.bf = hb, v.bh = Te, v.bi = function(n, t) {
|
|
14609
14603
|
Cn.REGISTERED_PROTOCOLS[n] = t;
|
|
14610
14604
|
}, v.bj = function(n) {
|
|
14611
14605
|
delete Cn.REGISTERED_PROTOCOLS[n];
|
|
@@ -14665,10 +14659,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14665
14659
|
let ge = !1;
|
|
14666
14660
|
if (E.icon && E.icon.name) {
|
|
14667
14661
|
const fe = n.imageMap[E.icon.name];
|
|
14668
|
-
fe && (X =
|
|
14662
|
+
fe && (X = Wx(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));
|
|
14669
14663
|
}
|
|
14670
14664
|
const ae = Xg($.horizontal) || $.vertical;
|
|
14671
|
-
n.bucket.iconsInText = !!ae && ae.iconsInText, (ae || X) &&
|
|
14665
|
+
n.bucket.iconsInText = !!ae && ae.iconsInText, (ae || X) && cb(n.bucket, E, $, X, n.imageMap, p, F, j, ee, ge, n.canonical);
|
|
14672
14666
|
}
|
|
14673
14667
|
n.showCollisionBoxes && n.bucket.generateCollisionDebugBuffers();
|
|
14674
14668
|
}, v.bq = mp, v.br = dp, v.bs = fp, v.bt = Mo, v.bu = yp, v.bv = class {
|
|
@@ -14711,7 +14705,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
14711
14705
|
const p = new Blob([new Uint8Array(n)], { type: "image/png" });
|
|
14712
14706
|
l.src = n.byteLength ? URL.createObjectURL(p) : vs;
|
|
14713
14707
|
}), 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) {
|
|
14714
|
-
return new yp(n).readFields(
|
|
14708
|
+
return new yp(n).readFields(jx, []);
|
|
14715
14709
|
}, 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]) {
|
|
14716
14710
|
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) };
|
|
14717
14711
|
}, v.y = gn, v.z = mi;
|
|
@@ -24524,8 +24518,8 @@ uniform ${L} ${O} u_${V};
|
|
|
24524
24518
|
var x = a;
|
|
24525
24519
|
return x;
|
|
24526
24520
|
});
|
|
24527
|
-
})(
|
|
24528
|
-
var IM =
|
|
24521
|
+
})(hv);
|
|
24522
|
+
var IM = hv.exports;
|
|
24529
24523
|
const AM = /* @__PURE__ */ PM(IM), rd = [
|
|
24530
24524
|
"#FF6633",
|
|
24531
24525
|
"#FFB399",
|
|
@@ -25303,13 +25297,13 @@ function $M(s, i, a, c, f, x) {
|
|
|
25303
25297
|
re("div", { class: "text-red-500" }, " Не визначено ", -1)
|
|
25304
25298
|
])))
|
|
25305
25299
|
])), [
|
|
25306
|
-
[
|
|
25300
|
+
[Cb, !x.rowValue(v).includes("id")]
|
|
25307
25301
|
])), 128))
|
|
25308
25302
|
])
|
|
25309
25303
|
]))
|
|
25310
25304
|
], 4);
|
|
25311
25305
|
}
|
|
25312
|
-
const UM = /* @__PURE__ */ Fi(LM, [["render", $M], ["__scopeId", "data-v-3f5a9aff"]]),
|
|
25306
|
+
const UM = /* @__PURE__ */ Fi(LM, [["render", $M], ["__scopeId", "data-v-3f5a9aff"]]), Zy = {
|
|
25313
25307
|
width: 200,
|
|
25314
25308
|
show: !0,
|
|
25315
25309
|
position: "horizontal"
|
|
@@ -25325,7 +25319,7 @@ const UM = /* @__PURE__ */ Fi(LM, [["render", $M], ["__scopeId", "data-v-3f5a9af
|
|
|
25325
25319
|
data() {
|
|
25326
25320
|
return {
|
|
25327
25321
|
objectData: [],
|
|
25328
|
-
popupSettings:
|
|
25322
|
+
popupSettings: Zy
|
|
25329
25323
|
};
|
|
25330
25324
|
},
|
|
25331
25325
|
computed: {
|
|
@@ -25354,7 +25348,7 @@ const UM = /* @__PURE__ */ Fi(LM, [["render", $M], ["__scopeId", "data-v-3f5a9af
|
|
|
25354
25348
|
const i = Object.keys(s.properties).filter(
|
|
25355
25349
|
(G) => !G.match("__text") && !["id"].includes(G)
|
|
25356
25350
|
), { currentLayer: a } = this;
|
|
25357
|
-
if ((C = a == null ? void 0 : a.setting) != null && C.popup && (this.popupSettings = (a == null ? void 0 : a.setting.popup) ||
|
|
25351
|
+
if ((C = a == null ? void 0 : a.setting) != null && C.popup && (this.popupSettings = (a == null ? void 0 : a.setting.popup) || Zy), !(a != null && a.meta)) {
|
|
25358
25352
|
const G = i.map((ne) => ({ title: ne, value: s.properties[ne] }));
|
|
25359
25353
|
this.objectData = [
|
|
25360
25354
|
...G,
|
|
@@ -25427,7 +25421,7 @@ function KM(s, i, a, c, f, x) {
|
|
|
25427
25421
|
var u, C, I, A, z, R, U, G, ne, ce, de;
|
|
25428
25422
|
const v = kn("VsPopupBody");
|
|
25429
25423
|
return lt(), pt("div", {
|
|
25430
|
-
class:
|
|
25424
|
+
class: k_((((u = f.popupSettings) == null ? void 0 : u.position) || "horizontal") + "-position")
|
|
25431
25425
|
}, [
|
|
25432
25426
|
f.objectData.filter((be) => be.column !== "image").length ? (lt(), pt("div", HM, [
|
|
25433
25427
|
x.getImage && ((C = x.getImage) != null && C.value) ? (lt(), pt("div", ZM, [
|
|
@@ -25602,7 +25596,7 @@ const JM = /* @__PURE__ */ Fi(qM, [["render", KM], ["__scopeId", "data-v-deb51e0
|
|
|
25602
25596
|
}
|
|
25603
25597
|
const { data: a } = await Ut.get(
|
|
25604
25598
|
`https://data.gki.com.ua/api-user/atu/${s}`
|
|
25605
|
-
), c =
|
|
25599
|
+
), c = uv(a);
|
|
25606
25600
|
this.cityBbox = c, i.addSource("atu", {
|
|
25607
25601
|
type: "geojson",
|
|
25608
25602
|
data: a
|
|
@@ -25723,14 +25717,14 @@ const oP = /* @__PURE__ */ Fi(iP, [["render", rP]]), cr = "widget-map-source", a
|
|
|
25723
25717
|
formatGeojson(s) {
|
|
25724
25718
|
let i = s;
|
|
25725
25719
|
const a = s == null ? void 0 : s.type;
|
|
25726
|
-
if (Array.isArray(s)) return
|
|
25720
|
+
if (Array.isArray(s)) return Hy(s);
|
|
25727
25721
|
if (!a) throw new Error("Unknown geometry type!");
|
|
25728
25722
|
return a === "FeatureCollection" ? s : (a === "Feature" && (i = [s]), !["FeatureCollection", "Feature"].includes(
|
|
25729
25723
|
a
|
|
25730
|
-
) && (i = [CM(s)]),
|
|
25724
|
+
) && (i = [CM(s)]), Hy(i));
|
|
25731
25725
|
},
|
|
25732
25726
|
zoomToGeometry(s) {
|
|
25733
|
-
const { map: i } = this, a =
|
|
25727
|
+
const { map: i } = this, a = uv(s);
|
|
25734
25728
|
i.fitBounds(a, {
|
|
25735
25729
|
zoom: this.zoom,
|
|
25736
25730
|
padding: 30,
|
|
@@ -25824,10 +25818,10 @@ class uP {
|
|
|
25824
25818
|
this.element.removeEventListener("mousedown", this.onPointerStart, Cl), this.element.removeEventListener("touchstart", this.onTouchStart, Cl), this.element.removeEventListener("touchmove", this.onMove, Cl), 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);
|
|
25825
25819
|
}
|
|
25826
25820
|
}
|
|
25827
|
-
function
|
|
25821
|
+
function Wy(s, i) {
|
|
25828
25822
|
return i ? Math.sqrt(Math.pow(i.clientX - s.clientX, 2) + Math.pow(i.clientY - s.clientY, 2)) : 0;
|
|
25829
25823
|
}
|
|
25830
|
-
function
|
|
25824
|
+
function Gy(s, i) {
|
|
25831
25825
|
return i ? { clientX: (s.clientX + i.clientX) / 2, clientY: (s.clientY + i.clientY) / 2 } : s;
|
|
25832
25826
|
}
|
|
25833
25827
|
const Bf = (s) => typeof s == "object" && s !== null && s.constructor === Object && Object.prototype.toString.call(s) === "[object Object]", Qn = (s, ...i) => {
|
|
@@ -25922,7 +25916,7 @@ var ui;
|
|
|
25922
25916
|
(function(s) {
|
|
25923
25917
|
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";
|
|
25924
25918
|
})(ui || (ui = {}));
|
|
25925
|
-
const Fr = ["a", "b", "c", "d", "e", "f"],
|
|
25919
|
+
const Fr = ["a", "b", "c", "d", "e", "f"], pv = { 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" }, hP = { 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: pv }, Yy = '<circle cx="25" cy="25" r="20"></circle>', bm = '<div class="f-spinner"><svg viewBox="0 0 50 50">' + Yy + Yy + "</svg></div>", Jn = (s) => s && s !== null && s instanceof Element && "nodeType" in s, li = (s, i) => {
|
|
25926
25920
|
s && vm(i).forEach((a) => {
|
|
25927
25921
|
s.classList.remove(a);
|
|
25928
25922
|
});
|
|
@@ -25930,7 +25924,7 @@ const Fr = ["a", "b", "c", "d", "e", "f"], fv = { PANUP: "Move up", PANDOWN: "Mo
|
|
|
25930
25924
|
s && vm(i).forEach((a) => {
|
|
25931
25925
|
s.classList.add(a);
|
|
25932
25926
|
});
|
|
25933
|
-
}, Rh = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 }, dP = 1e5, Lh = 1e4, As = "mousemove",
|
|
25927
|
+
}, Rh = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 }, dP = 1e5, Lh = 1e4, As = "mousemove", Xy = "drag", Ky = "content", Ds = "auto";
|
|
25934
25928
|
let ef = null, tf = null;
|
|
25935
25929
|
class Ia extends xm {
|
|
25936
25930
|
get fits() {
|
|
@@ -25943,7 +25937,7 @@ class Ia extends xm {
|
|
|
25943
25937
|
return ef === null && (ef = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent)), ef;
|
|
25944
25938
|
}
|
|
25945
25939
|
get panMode() {
|
|
25946
|
-
return this.options.panMode !== As || this.isTouchDevice ?
|
|
25940
|
+
return this.options.panMode !== As || this.isTouchDevice ? Xy : As;
|
|
25947
25941
|
}
|
|
25948
25942
|
get panOnlyZoomed() {
|
|
25949
25943
|
const i = this.options.panOnlyZoomed;
|
|
@@ -26012,8 +26006,8 @@ class Ia extends xm {
|
|
|
26012
26006
|
});
|
|
26013
26007
|
}
|
|
26014
26008
|
initContent() {
|
|
26015
|
-
const { container: i } = this, a = this.cn(
|
|
26016
|
-
let c = this.option(
|
|
26009
|
+
const { container: i } = this, a = this.cn(Ky);
|
|
26010
|
+
let c = this.option(Ky) || i.querySelector(`.${a}`);
|
|
26017
26011
|
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");
|
|
26018
26012
|
this.content = c;
|
|
26019
26013
|
}
|
|
@@ -26165,13 +26159,13 @@ class Ia extends xm {
|
|
|
26165
26159
|
onPointerMove(i, a, c) {
|
|
26166
26160
|
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;
|
|
26167
26161
|
this.addTrackingPoint(a[0]);
|
|
26168
|
-
const { content: f } = this, x =
|
|
26162
|
+
const { content: f } = this, x = Gy(c[0], c[1]), v = Gy(a[0], a[1]);
|
|
26169
26163
|
let u = 0, C = 0;
|
|
26170
26164
|
if (a.length > 1) {
|
|
26171
26165
|
const _e = f.getBoundingClientRect();
|
|
26172
26166
|
u = x.clientX - _e.left - 0.5 * _e.width, C = x.clientY - _e.top - 0.5 * _e.height;
|
|
26173
26167
|
}
|
|
26174
|
-
const I =
|
|
26168
|
+
const I = Wy(c[0], c[1]), A = Wy(a[0], a[1]);
|
|
26175
26169
|
let z = I ? A / I : 1, R = v.clientX - x.clientX, U = v.clientY - x.clientY;
|
|
26176
26170
|
this.dragOffset.x += R, this.dragOffset.y += U, this.dragOffset.time = Date.now() - this.dragStart.time;
|
|
26177
26171
|
let G = Xe(this.targetScale) === Xe(this.minScale) && this.option("lockAxis");
|
|
@@ -26303,7 +26297,7 @@ class Ia extends xm {
|
|
|
26303
26297
|
const i = this, a = i.container, { panMode: c, contentRect: f, targetScale: x, minScale: v } = i;
|
|
26304
26298
|
let u = v, C = i.option("click") || !1;
|
|
26305
26299
|
C && (u = i.getNextScale(C));
|
|
26306
|
-
let I = i.canZoomIn(), A = i.canZoomOut(), z = c ===
|
|
26300
|
+
let I = i.canZoomIn(), A = i.canZoomOut(), z = c === Xy && !!this.option("touch"), R = A && z;
|
|
26307
26301
|
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;
|
|
26308
26302
|
let U = I && Xe(u) > Xe(x), G = !U && !R && A && Xe(u) < Xe(x);
|
|
26309
26303
|
fr(a, this.cn("canZoomIn"), U), fr(a, this.cn("canZoomOut"), G);
|
|
@@ -26472,14 +26466,14 @@ class Ia extends xm {
|
|
|
26472
26466
|
}
|
|
26473
26467
|
}
|
|
26474
26468
|
Object.defineProperty(Ia, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: hP }), Object.defineProperty(Ia, "Plugins", { enumerable: !0, configurable: !0, writable: !0, value: {} });
|
|
26475
|
-
const
|
|
26469
|
+
const Jy = function(s, i) {
|
|
26476
26470
|
let a = !0;
|
|
26477
26471
|
return (...c) => {
|
|
26478
26472
|
a && (a = !1, s(...c), setTimeout(() => {
|
|
26479
26473
|
a = !0;
|
|
26480
26474
|
}, i));
|
|
26481
26475
|
};
|
|
26482
|
-
},
|
|
26476
|
+
}, Qy = (s, i) => {
|
|
26483
26477
|
let a = [];
|
|
26484
26478
|
return s.childNodes.forEach((c) => {
|
|
26485
26479
|
c.nodeType !== Node.ELEMENT_NODE || i && !c.matches(i) || a.push(c);
|
|
@@ -26507,7 +26501,7 @@ class Ks extends ad {
|
|
|
26507
26501
|
}
|
|
26508
26502
|
}
|
|
26509
26503
|
const mP = { 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 };
|
|
26510
|
-
class
|
|
26504
|
+
class fv extends Ks {
|
|
26511
26505
|
constructor() {
|
|
26512
26506
|
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 });
|
|
26513
26507
|
}
|
|
@@ -26563,9 +26557,9 @@ class mv extends Ks {
|
|
|
26563
26557
|
this.instance.off(["refresh", "change"], this.onRefresh), this.cleanup();
|
|
26564
26558
|
}
|
|
26565
26559
|
}
|
|
26566
|
-
Object.defineProperty(
|
|
26567
|
-
const Oh = "disabled", Fh = "next",
|
|
26568
|
-
class
|
|
26560
|
+
Object.defineProperty(fv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: mP });
|
|
26561
|
+
const Oh = "disabled", Fh = "next", e_ = "prev";
|
|
26562
|
+
class mv extends Ks {
|
|
26569
26563
|
constructor() {
|
|
26570
26564
|
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 });
|
|
26571
26565
|
}
|
|
@@ -26580,14 +26574,14 @@ class gv extends Ks {
|
|
|
26580
26574
|
var a;
|
|
26581
26575
|
const c = this.instance, f = document.createElement("button");
|
|
26582
26576
|
f.setAttribute("tabindex", "0"), f.setAttribute("title", c.localize(`{{${i.toUpperCase()}}}`)), dt(f, this.cn("button") + " " + this.cn(i === Fh ? "isNext" : "isPrev"));
|
|
26583
|
-
const x = c.isRTL ? i === Fh ?
|
|
26577
|
+
const x = c.isRTL ? i === Fh ? e_ : Fh : i;
|
|
26584
26578
|
var v;
|
|
26585
26579
|
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;
|
|
26586
26580
|
}
|
|
26587
26581
|
build() {
|
|
26588
26582
|
const i = this.instance.container, a = this.cn("container");
|
|
26589
26583
|
let { container: c, prev: f, next: x } = this;
|
|
26590
|
-
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(Fh)), this.next = x, f || (f = c.querySelector("[data-carousel-prev]")), f || (f = this.addBtn(
|
|
26584
|
+
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(Fh)), this.next = x, f || (f = c.querySelector("[data-carousel-prev]")), f || (f = this.addBtn(e_)), this.prev = f;
|
|
26591
26585
|
}
|
|
26592
26586
|
cleanup() {
|
|
26593
26587
|
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;
|
|
@@ -26599,8 +26593,8 @@ class gv extends Ks {
|
|
|
26599
26593
|
this.instance.off(["refresh", "change"], this.onRefresh), this.cleanup();
|
|
26600
26594
|
}
|
|
26601
26595
|
}
|
|
26602
|
-
Object.defineProperty(
|
|
26603
|
-
class
|
|
26596
|
+
Object.defineProperty(mv, "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>' } });
|
|
26597
|
+
class gv extends Ks {
|
|
26604
26598
|
constructor() {
|
|
26605
26599
|
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 });
|
|
26606
26600
|
}
|
|
@@ -26659,8 +26653,8 @@ class yv extends Ks {
|
|
|
26659
26653
|
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;
|
|
26660
26654
|
}
|
|
26661
26655
|
}
|
|
26662
|
-
Object.defineProperty(
|
|
26663
|
-
const gP = { Navigation:
|
|
26656
|
+
Object.defineProperty(gv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { friction: 0.35 } });
|
|
26657
|
+
const gP = { Navigation: mv, Dots: fv, Sync: gv }, Bh = "animationend", t_ = "isSelected", Nh = "slide";
|
|
26664
26658
|
class Pa extends xm {
|
|
26665
26659
|
get axis() {
|
|
26666
26660
|
return this.isHorizontal ? "e" : "f";
|
|
@@ -26681,7 +26675,7 @@ class Pa extends xm {
|
|
|
26681
26675
|
}
|
|
26682
26676
|
constructor(i, a = {}, c = {}) {
|
|
26683
26677
|
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: qi.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");
|
|
26684
|
-
this.container = i, this.slideNext =
|
|
26678
|
+
this.container = i, this.slideNext = Jy(this.slideNext.bind(this), 150), this.slidePrev = Jy(this.slidePrev.bind(this), 150), this.userOptions = a, this.userPlugins = c, queueMicrotask(() => {
|
|
26685
26679
|
this.processOptions();
|
|
26686
26680
|
});
|
|
26687
26681
|
}
|
|
@@ -26702,7 +26696,7 @@ class Pa extends xm {
|
|
|
26702
26696
|
const { container: i } = this, a = this.option("classes");
|
|
26703
26697
|
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);
|
|
26704
26698
|
let c = this.option("viewport") || i.querySelector(`.${a.viewport}`);
|
|
26705
|
-
c || (c = document.createElement("div"), dt(c, a.viewport), c.append(...
|
|
26699
|
+
c || (c = document.createElement("div"), dt(c, a.viewport), c.append(...Qy(i, `.${a.slide}`)), i.prepend(c)), c.addEventListener("scroll", this.onScroll);
|
|
26706
26700
|
let f = this.option("track") || i.querySelector(`.${a.track}`);
|
|
26707
26701
|
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");
|
|
26708
26702
|
}
|
|
@@ -26710,7 +26704,7 @@ class Pa extends xm {
|
|
|
26710
26704
|
const { track: i } = this;
|
|
26711
26705
|
if (!i) return;
|
|
26712
26706
|
const a = [...this.slides], c = [];
|
|
26713
|
-
[...
|
|
26707
|
+
[...Qy(i, `.${this.cn(Nh)}`)].forEach((f) => {
|
|
26714
26708
|
if (Jn(f)) {
|
|
26715
26709
|
const x = nf({ el: f, isDom: !0, index: this.slides.length });
|
|
26716
26710
|
c.push(x);
|
|
@@ -26838,7 +26832,7 @@ class Pa extends xm {
|
|
|
26838
26832
|
removeSlideEl(i, a = !1) {
|
|
26839
26833
|
const c = i == null ? void 0 : i.el;
|
|
26840
26834
|
if (!c || !c.parentNode) return;
|
|
26841
|
-
const f = this.cn(
|
|
26835
|
+
const f = this.cn(t_);
|
|
26842
26836
|
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 = "");
|
|
26843
26837
|
this.emit("removeSlide", i);
|
|
26844
26838
|
const x = new CustomEvent(Bh);
|
|
@@ -26876,7 +26870,7 @@ class Pa extends xm {
|
|
|
26876
26870
|
markSelectedSlides() {
|
|
26877
26871
|
if (!this.pages[this.page] || !this.pages[this.page].slides) return;
|
|
26878
26872
|
const i = "aria-hidden";
|
|
26879
|
-
let a = this.cn(
|
|
26873
|
+
let a = this.cn(t_);
|
|
26880
26874
|
if (a) for (const c of this.slides) {
|
|
26881
26875
|
const f = c.el;
|
|
26882
26876
|
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")));
|
|
@@ -27122,7 +27116,7 @@ class Pa extends xm {
|
|
|
27122
27116
|
}
|
|
27123
27117
|
}
|
|
27124
27118
|
Object.defineProperty(Pa, "Panzoom", { enumerable: !0, configurable: !0, writable: !0, value: Ia }), Object.defineProperty(Pa, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: pP }), Object.defineProperty(Pa, "Plugins", { enumerable: !0, configurable: !0, writable: !0, value: gP });
|
|
27125
|
-
const
|
|
27119
|
+
const yv = function(s) {
|
|
27126
27120
|
if (!Jn(s)) return 0;
|
|
27127
27121
|
const i = window.scrollY, a = window.innerHeight, c = i + a, f = s.getBoundingClientRect(), x = f.y + i, v = f.height, u = x + v;
|
|
27128
27122
|
if (i > u || c < x) return 0;
|
|
@@ -27133,7 +27127,7 @@ const _v = function(s) {
|
|
|
27133
27127
|
return Math.round(I);
|
|
27134
27128
|
}, du = !(typeof window > "u" || !window.document || !window.document.createElement);
|
|
27135
27129
|
let sf;
|
|
27136
|
-
const rf = ["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(","),
|
|
27130
|
+
const rf = ["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(","), i_ = (s) => {
|
|
27137
27131
|
if (s && du) {
|
|
27138
27132
|
sf === void 0 && document.createElement("div").focus({ get preventScroll() {
|
|
27139
27133
|
return sf = !0, !1;
|
|
@@ -27147,7 +27141,7 @@ const rf = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"])
|
|
|
27147
27141
|
} catch {
|
|
27148
27142
|
}
|
|
27149
27143
|
}
|
|
27150
|
-
},
|
|
27144
|
+
}, _v = () => {
|
|
27151
27145
|
const s = document;
|
|
27152
27146
|
let i, a = "", c = "", f = "";
|
|
27153
27147
|
return s.fullscreenEnabled ? (a = "requestFullscreen", c = "exitFullscreen", f = "fullscreenElement") : s.webkitFullscreenEnabled && (a = "webkitRequestFullscreen", c = "webkitExitFullscreen", f = "webkitFullscreenElement"), a && (i = { request: function(x = s.documentElement) {
|
|
@@ -27157,7 +27151,7 @@ const rf = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"])
|
|
|
27157
27151
|
}, isFullscreen: function() {
|
|
27158
27152
|
return s[f];
|
|
27159
27153
|
} }), i;
|
|
27160
|
-
}, Nf = { 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({},
|
|
27154
|
+
}, Nf = { 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({}, pv), { 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">
|
|
27161
27155
|
<div class="fancybox__backdrop"></div>
|
|
27162
27156
|
<div class="fancybox__carousel"></div>
|
|
27163
27157
|
<div class="fancybox__footer"></div>
|
|
@@ -27168,8 +27162,8 @@ var on, Tn;
|
|
|
27168
27162
|
})(on || (on = {})), function(s) {
|
|
27169
27163
|
s[s.Loading = 0] = "Loading", s[s.Opening = 1] = "Opening", s[s.Ready = 2] = "Ready", s[s.Closing = 3] = "Closing";
|
|
27170
27164
|
}(Tn || (Tn = {}));
|
|
27171
|
-
let
|
|
27172
|
-
const
|
|
27165
|
+
let n_ = "", lu = !1, jh = !1, ba = null;
|
|
27166
|
+
const vv = () => {
|
|
27173
27167
|
let s = "", i = "";
|
|
27174
27168
|
const a = Kt.getInstance();
|
|
27175
27169
|
if (a) {
|
|
@@ -27183,31 +27177,31 @@ const xv = () => {
|
|
|
27183
27177
|
}, ld = () => {
|
|
27184
27178
|
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;
|
|
27185
27179
|
return { hash: s, slug: i.join("-"), index: c };
|
|
27186
|
-
},
|
|
27180
|
+
}, xv = () => {
|
|
27187
27181
|
const { slug: s, index: i } = ld();
|
|
27188
27182
|
if (!s) return;
|
|
27189
27183
|
let a = document.querySelector(`[data-slug="${s}"]`);
|
|
27190
27184
|
if (a && a.dispatchEvent(new CustomEvent("click", { bubbles: !0, cancelable: !0 })), Kt.getInstance()) return;
|
|
27191
27185
|
const c = document.querySelectorAll(`[data-fancybox="${s}"]`);
|
|
27192
27186
|
c.length && (a = c[i - 1], a && a.dispatchEvent(new CustomEvent("click", { bubbles: !0, cancelable: !0 })));
|
|
27193
|
-
},
|
|
27187
|
+
}, bv = () => {
|
|
27194
27188
|
if (Kt.defaults.Hash === !1) return;
|
|
27195
27189
|
const s = Kt.getInstance();
|
|
27196
27190
|
if ((s == null ? void 0 : s.options.Hash) === !1) return;
|
|
27197
|
-
const { slug: i, index: a } = ld(), { slug: c } =
|
|
27198
|
-
s && (i === c ? s.jumpTo(a - 1) : (lu = !0, s.close())),
|
|
27199
|
-
},
|
|
27191
|
+
const { slug: i, index: a } = ld(), { slug: c } = vv();
|
|
27192
|
+
s && (i === c ? s.jumpTo(a - 1) : (lu = !0, s.close())), xv();
|
|
27193
|
+
}, wv = () => {
|
|
27200
27194
|
ba && clearTimeout(ba), queueMicrotask(() => {
|
|
27201
|
-
|
|
27195
|
+
bv();
|
|
27202
27196
|
});
|
|
27203
|
-
},
|
|
27204
|
-
window.addEventListener("hashchange",
|
|
27205
|
-
|
|
27197
|
+
}, s_ = () => {
|
|
27198
|
+
window.addEventListener("hashchange", wv, !1), setTimeout(() => {
|
|
27199
|
+
bv();
|
|
27206
27200
|
}, 500);
|
|
27207
27201
|
};
|
|
27208
|
-
du && (/complete|interactive|loaded/.test(document.readyState) ?
|
|
27202
|
+
du && (/complete|interactive|loaded/.test(document.readyState) ? s_() : document.addEventListener("DOMContentLoaded", s_));
|
|
27209
27203
|
const Vh = "is-zooming-in";
|
|
27210
|
-
class
|
|
27204
|
+
class Sv extends Ks {
|
|
27211
27205
|
onCreateSlide(i, a, c) {
|
|
27212
27206
|
const f = this.instance.optionFor(c, "src") || "";
|
|
27213
27207
|
c.el && c.type === "image" && typeof f == "string" && this.setImage(c, f);
|
|
@@ -27348,7 +27342,7 @@ class Tv extends Ks {
|
|
|
27348
27342
|
}
|
|
27349
27343
|
getZoomInfo(i) {
|
|
27350
27344
|
const { el: a, imageEl: c, thumbEl: f, panzoom: x } = i, v = this.instance, u = v.container;
|
|
27351
|
-
if (!a || !c || !f || !x ||
|
|
27345
|
+
if (!a || !c || !f || !x || yv(f) < 3 || !this.optionFor(i, "zoom") || !u || v.state === on.Destroy || getComputedStyle(u).getPropertyValue("--f-images-zoom") === "0") return !1;
|
|
27352
27346
|
const C = window.visualViewport || null;
|
|
27353
27347
|
if ((C ? C.scale : 1) !== 1) return !1;
|
|
27354
27348
|
let { top: I, left: A, width: z, height: R } = f.getBoundingClientRect(), { top: U, left: G, fitWidth: ne, fitHeight: ce } = x.contentRect;
|
|
@@ -27368,8 +27362,8 @@ class Tv extends Ks {
|
|
|
27368
27362
|
a.off("Carousel.change", i.onChange), a.off("Carousel.createSlide", i.onCreateSlide), a.off("Carousel.removeSlide", i.onRemoveSlide), a.off("close", i.onClose);
|
|
27369
27363
|
}
|
|
27370
27364
|
}
|
|
27371
|
-
Object.defineProperty(
|
|
27372
|
-
const of = "html",
|
|
27365
|
+
Object.defineProperty(Sv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { initialSize: "fit", Panzoom: { maxScale: 1 }, protected: !1, zoom: !0, zoomOpacity: "auto" } }), typeof SuppressedError == "function" && SuppressedError;
|
|
27366
|
+
const of = "html", r_ = "image", af = "map", Br = "youtube", _a = "vimeo", ou = "html5video", o_ = (s, i = {}) => {
|
|
27373
27367
|
const a = new URL(s), c = new URLSearchParams(a.search), f = new URLSearchParams();
|
|
27374
27368
|
for (const [u, C] of [...c, ...Object.entries(i)]) {
|
|
27375
27369
|
let I = C + "";
|
|
@@ -27382,7 +27376,7 @@ const of = "html", o_ = "image", af = "map", Br = "youtube", _a = "vimeo", ou =
|
|
|
27382
27376
|
return v && (x += `#t=${v[1]}`), x;
|
|
27383
27377
|
}, yP = { 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}}">
|
|
27384
27378
|
<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 } }, _P = ["image", "html", "ajax", "inline", "clone", "iframe", "map", "pdf", "html5video", "youtube", "vimeo"];
|
|
27385
|
-
class
|
|
27379
|
+
class Tv extends Ks {
|
|
27386
27380
|
onBeforeInitSlide(i, a, c) {
|
|
27387
27381
|
this.processType(c);
|
|
27388
27382
|
}
|
|
@@ -27547,17 +27541,17 @@ class kv extends Ks {
|
|
|
27547
27541
|
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]]);
|
|
27548
27542
|
}
|
|
27549
27543
|
return U;
|
|
27550
|
-
}(x, ["nocookie"]), C = `www.youtube${v ? "-nocookie" : ""}.com`, I =
|
|
27544
|
+
}(x, ["nocookie"]), C = `www.youtube${v ? "-nocookie" : ""}.com`, I = o_(a, u), A = encodeURIComponent(f[2]);
|
|
27551
27545
|
i.videoId = A, i.src = `https://${C}/embed/${A}?${I}`, i.thumbSrc = i.thumbSrc || `https://i.ytimg.com/vi/${A}/mqdefault.jpg`, c = Br;
|
|
27552
27546
|
} else if (f = a.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)) {
|
|
27553
|
-
const x =
|
|
27547
|
+
const x = o_(a, this.optionFor(i, _a)), v = encodeURIComponent(f[1]), u = f[4] || "";
|
|
27554
27548
|
i.videoId = v, i.src = `https://player.vimeo.com/video/${v}?${u ? `h=${u}${x ? "&" : ""}` : ""}${x}`, c = _a;
|
|
27555
27549
|
}
|
|
27556
27550
|
if (!c && i.triggerEl) {
|
|
27557
27551
|
const x = i.triggerEl.dataset.type;
|
|
27558
27552
|
_P.includes(x) && (c = x);
|
|
27559
27553
|
}
|
|
27560
|
-
c || typeof a == "string" && (a.charAt(0) === "#" ? c = "inline" : (f = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (c = ou, 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 =
|
|
27554
|
+
c || typeof a == "string" && (a.charAt(0) === "#" ? c = "inline" : (f = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (c = ou, 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 = r_ : 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 = af) : (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 = af), c = c || this.instance.option("defaultType"), i.type = c, c === r_ && (i.thumbSrc = i.thumbSrc || i.src);
|
|
27561
27555
|
}
|
|
27562
27556
|
setContent(i) {
|
|
27563
27557
|
const a = this.instance.optionFor(i, "src") || "";
|
|
@@ -27611,9 +27605,9 @@ class kv extends Ks {
|
|
|
27611
27605
|
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);
|
|
27612
27606
|
}
|
|
27613
27607
|
}
|
|
27614
|
-
Object.defineProperty(
|
|
27608
|
+
Object.defineProperty(Tv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: yP });
|
|
27615
27609
|
const $h = "play", Uh = "pause", au = "ready";
|
|
27616
|
-
class
|
|
27610
|
+
class kv extends Ks {
|
|
27617
27611
|
constructor() {
|
|
27618
27612
|
super(...arguments), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: au }), 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 });
|
|
27619
27613
|
}
|
|
@@ -27710,8 +27704,8 @@ class Ev extends Ks {
|
|
|
27710
27704
|
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();
|
|
27711
27705
|
}
|
|
27712
27706
|
}
|
|
27713
|
-
Object.defineProperty(
|
|
27714
|
-
class
|
|
27707
|
+
Object.defineProperty(kv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { autoStart: !0, pauseOnHover: !0, progressParentEl: null, showProgress: !0, timeout: 3e3 } });
|
|
27708
|
+
class Ev extends Ks {
|
|
27715
27709
|
constructor() {
|
|
27716
27710
|
super(...arguments), Object.defineProperty(this, "ref", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
27717
27711
|
}
|
|
@@ -27729,7 +27723,7 @@ class Mv extends Ks {
|
|
|
27729
27723
|
}, resume: (f, x) => {
|
|
27730
27724
|
var v, u, C;
|
|
27731
27725
|
!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();
|
|
27732
|
-
} } }), a.attachPlugins({ Autoplay:
|
|
27726
|
+
} } }), a.attachPlugins({ Autoplay: kv }), this.ref = a.plugins.Autoplay);
|
|
27733
27727
|
}
|
|
27734
27728
|
onReady(i) {
|
|
27735
27729
|
const a = i.carousel, c = this.ref;
|
|
@@ -27757,17 +27751,17 @@ class Mv extends Ks {
|
|
|
27757
27751
|
a.off("Carousel.init", i.onPrepare), a.off("Carousel.ready", i.onReady), a.off("done", i.onDone), a.off("keydown", i.onKeydown);
|
|
27758
27752
|
}
|
|
27759
27753
|
}
|
|
27760
|
-
Object.defineProperty(
|
|
27754
|
+
Object.defineProperty(Ev, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { key: " ", playOnStart: !1, progressParentEl: (s) => {
|
|
27761
27755
|
var i;
|
|
27762
27756
|
return ((i = s.instance.container) === null || i === void 0 ? void 0 : i.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]")) || s.instance.container;
|
|
27763
27757
|
}, timeout: 3e3 } });
|
|
27764
|
-
const
|
|
27758
|
+
const Mv = { 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" };
|
|
27765
27759
|
var Ur;
|
|
27766
27760
|
(function(s) {
|
|
27767
27761
|
s[s.Init = 0] = "Init", s[s.Ready = 1] = "Ready", s[s.Hidden = 2] = "Hidden";
|
|
27768
27762
|
})(Ur || (Ur = {}));
|
|
27769
|
-
const
|
|
27770
|
-
let
|
|
27763
|
+
const a_ = "isResting", qh = "thumbWidth", Il = "thumbHeight", ur = "thumbClipWidth";
|
|
27764
|
+
let Pv = class extends Ks {
|
|
27771
27765
|
constructor() {
|
|
27772
27766
|
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: Ur.Init });
|
|
27773
27767
|
}
|
|
@@ -27787,12 +27781,12 @@ let Cv = class extends Ks {
|
|
|
27787
27781
|
const i = this.container, a = this.instance, c = a.panzoom, f = this.carousel, x = f ? f.panzoom : null, v = a.page;
|
|
27788
27782
|
if (c && f && x) {
|
|
27789
27783
|
if (c.isDragging) {
|
|
27790
|
-
li(i, this.cn(
|
|
27784
|
+
li(i, this.cn(a_));
|
|
27791
27785
|
let u = ((s = f.pages[v]) === null || s === void 0 ? void 0 : s.pos) || 0;
|
|
27792
27786
|
u += a.getProgress(v) * (this[ur] + this.thumbGap);
|
|
27793
27787
|
let C = x.getBounds();
|
|
27794
27788
|
-1 * u > C.x.min && -1 * u < C.x.max && x.panTo({ x: -1 * u, friction: 0.12 });
|
|
27795
|
-
} else fr(i, this.cn(
|
|
27789
|
+
} else fr(i, this.cn(a_), c.isResting);
|
|
27796
27790
|
this.shiftModern();
|
|
27797
27791
|
}
|
|
27798
27792
|
}
|
|
@@ -27920,9 +27914,9 @@ let Cv = class extends Ks {
|
|
|
27920
27914
|
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();
|
|
27921
27915
|
}
|
|
27922
27916
|
};
|
|
27923
|
-
Object.defineProperty(
|
|
27924
|
-
const vP = Object.assign(Object.assign({},
|
|
27925
|
-
class
|
|
27917
|
+
Object.defineProperty(Pv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: Mv });
|
|
27918
|
+
const vP = Object.assign(Object.assign({}, Mv), { key: "t", showOnStart: !0, parentEl: null }), l_ = "is-masked", c_ = "aria-hidden";
|
|
27919
|
+
class Cv extends Ks {
|
|
27926
27920
|
constructor() {
|
|
27927
27921
|
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 });
|
|
27928
27922
|
}
|
|
@@ -27956,7 +27950,7 @@ class Iv extends Ks {
|
|
|
27956
27950
|
C.style.transition = "", a.show();
|
|
27957
27951
|
}));
|
|
27958
27952
|
} } });
|
|
27959
|
-
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:
|
|
27953
|
+
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: Pv }), a.ref = f.plugins.Thumbs, a.option("showOnStart") || (a.ref.state = Ur.Hidden, a.hidden = !0);
|
|
27960
27954
|
}
|
|
27961
27955
|
onResize() {
|
|
27962
27956
|
var i;
|
|
@@ -27975,11 +27969,11 @@ class Iv extends Ks {
|
|
|
27975
27969
|
const i = this.ref;
|
|
27976
27970
|
if (!i || i.isDisabled()) return;
|
|
27977
27971
|
const a = i.container;
|
|
27978
|
-
a && (this.refresh(), a.offsetHeight, a.removeAttribute(
|
|
27972
|
+
a && (this.refresh(), a.offsetHeight, a.removeAttribute(c_), a.classList.remove(l_), this.hidden = !1);
|
|
27979
27973
|
}
|
|
27980
27974
|
hide() {
|
|
27981
27975
|
const i = this.ref, a = i && i.container;
|
|
27982
|
-
a && (this.refresh(), a.offsetHeight, a.classList.add(
|
|
27976
|
+
a && (this.refresh(), a.offsetHeight, a.classList.add(l_), a.setAttribute(c_, "true")), this.hidden = !0;
|
|
27983
27977
|
}
|
|
27984
27978
|
refresh() {
|
|
27985
27979
|
const i = this.ref;
|
|
@@ -27997,14 +27991,14 @@ class Iv extends Ks {
|
|
|
27997
27991
|
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;
|
|
27998
27992
|
}
|
|
27999
27993
|
}
|
|
28000
|
-
Object.defineProperty(
|
|
27994
|
+
Object.defineProperty(Cv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: vP });
|
|
28001
27995
|
const lf = { 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" } };
|
|
28002
27996
|
var Ta;
|
|
28003
27997
|
(function(s) {
|
|
28004
27998
|
s[s.Init = 0] = "Init", s[s.Ready = 1] = "Ready", s[s.Disabled = 2] = "Disabled";
|
|
28005
27999
|
})(Ta || (Ta = {}));
|
|
28006
|
-
const xP = { 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 }, bP = { tabindex: "-1", width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
28007
|
-
class
|
|
28000
|
+
const xP = { 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 }, bP = { tabindex: "-1", width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, u_ = "has-toolbar", cf = "fancybox__toolbar";
|
|
28001
|
+
class Iv extends Ks {
|
|
28008
28002
|
constructor() {
|
|
28009
28003
|
super(...arguments), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: Ta.Init }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
28010
28004
|
}
|
|
@@ -28089,11 +28083,11 @@ class Av extends Ks {
|
|
|
28089
28083
|
if (!i) return null;
|
|
28090
28084
|
const a = this.option("parentEl") || i;
|
|
28091
28085
|
let c = a.querySelector("." + cf);
|
|
28092
|
-
return c || (c = document.createElement("div"), dt(c, cf), a.prepend(c)), c.addEventListener("click", this.onClick, { passive: !1, capture: !0 }), i && dt(i,
|
|
28086
|
+
return c || (c = document.createElement("div"), dt(c, cf), a.prepend(c)), c.addEventListener("click", this.onClick, { passive: !1, capture: !0 }), i && dt(i, u_), this.container = c, c;
|
|
28093
28087
|
}
|
|
28094
28088
|
createEl(i) {
|
|
28095
28089
|
const a = this.instance, c = a.carousel;
|
|
28096
|
-
if (!c || i === "toggleFS" || i === "fullscreen" && !
|
|
28090
|
+
if (!c || i === "toggleFS" || i === "fullscreen" && !_v()) return null;
|
|
28097
28091
|
let f = null;
|
|
28098
28092
|
const x = c.slides.length || 0;
|
|
28099
28093
|
let v = 0, u = 0;
|
|
@@ -28123,7 +28117,7 @@ class Av extends Ks {
|
|
|
28123
28117
|
const i = this.container;
|
|
28124
28118
|
i && i.remove(), this.container = null, this.state = Ta.Disabled;
|
|
28125
28119
|
const a = this.instance.container;
|
|
28126
|
-
a && li(a,
|
|
28120
|
+
a && li(a, u_);
|
|
28127
28121
|
}
|
|
28128
28122
|
attach() {
|
|
28129
28123
|
const i = this, a = i.instance;
|
|
@@ -28134,15 +28128,15 @@ class Av extends Ks {
|
|
|
28134
28128
|
a.off("Carousel.initSlides", i.onReady), a.off("done", i.onDone), a.off(["reveal", "Carousel.change"], i.onChange), i.removeContainer();
|
|
28135
28129
|
}
|
|
28136
28130
|
}
|
|
28137
|
-
Object.defineProperty(
|
|
28131
|
+
Object.defineProperty(Iv, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: xP });
|
|
28138
28132
|
const wP = { Hash: class extends Ks {
|
|
28139
28133
|
onReady() {
|
|
28140
28134
|
lu = !1;
|
|
28141
28135
|
}
|
|
28142
28136
|
onChange(s) {
|
|
28143
28137
|
ba && clearTimeout(ba);
|
|
28144
|
-
const { hash: i } =
|
|
28145
|
-
c && (
|
|
28138
|
+
const { hash: i } = vv(), { hash: a } = ld(), c = s.isOpeningSlide(s.getSlide());
|
|
28139
|
+
c && (n_ = a === i ? "" : a), i && i !== a && (ba = setTimeout(() => {
|
|
28146
28140
|
try {
|
|
28147
28141
|
if (s.state === on.Ready) {
|
|
28148
28142
|
let f = "replaceState";
|
|
@@ -28155,7 +28149,7 @@ const wP = { Hash: class extends Ks {
|
|
|
28155
28149
|
onClose(s) {
|
|
28156
28150
|
if (ba && clearTimeout(ba), !lu && jh) return jh = !1, lu = !1, void window.history.back();
|
|
28157
28151
|
if (!lu) try {
|
|
28158
|
-
window.history.replaceState({}, document.title, window.location.pathname + window.location.search + (
|
|
28152
|
+
window.history.replaceState({}, document.title, window.location.pathname + window.location.search + (n_ || ""));
|
|
28159
28153
|
} catch {
|
|
28160
28154
|
}
|
|
28161
28155
|
}
|
|
@@ -28171,16 +28165,16 @@ const wP = { Hash: class extends Ks {
|
|
|
28171
28165
|
return ld();
|
|
28172
28166
|
}
|
|
28173
28167
|
static startFromUrl() {
|
|
28174
|
-
|
|
28168
|
+
xv();
|
|
28175
28169
|
}
|
|
28176
28170
|
static destroy() {
|
|
28177
|
-
window.removeEventListener("hashchange",
|
|
28171
|
+
window.removeEventListener("hashchange", wv, !1);
|
|
28178
28172
|
}
|
|
28179
|
-
}, Html:
|
|
28173
|
+
}, Html: Tv, Images: Sv, Slideshow: Ev, Thumbs: Cv, Toolbar: Iv }, h_ = "with-fancybox", uf = "hide-scrollbar", d_ = "--fancybox-scrollbar-compensate", p_ = "--fancybox-body-margin", hf = "aria-hidden", df = "is-using-tab", pf = "is-animated", f_ = "is-compact", m_ = "is-loading", ff = "is-opening", Hh = "has-caption", Al = "disabled", va = "tabindex", g_ = "download", mf = "href", Dl = "src", Lo = (s) => typeof s == "string", y_ = function() {
|
|
28180
28174
|
var s = window.getSelection();
|
|
28181
28175
|
return !!s && s.type === "Range";
|
|
28182
28176
|
};
|
|
28183
|
-
let zs, Rs = null, xa = null,
|
|
28177
|
+
let zs, Rs = null, xa = null, __ = 0, v_ = 0, x_ = 0, b_ = 0;
|
|
28184
28178
|
const zl = /* @__PURE__ */ new Map();
|
|
28185
28179
|
let SP = 0;
|
|
28186
28180
|
class Kt extends xm {
|
|
@@ -28191,7 +28185,7 @@ class Kt extends xm {
|
|
|
28191
28185
|
return this.option("compact");
|
|
28192
28186
|
}
|
|
28193
28187
|
constructor(i = [], a = {}, c = {}) {
|
|
28194
|
-
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 =
|
|
28188
|
+
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 = _v()), this.id = a.id || ++SP, zl.set(this.id, this), this.userSlides = i, this.userPlugins = c, queueMicrotask(() => {
|
|
28195
28189
|
this.init();
|
|
28196
28190
|
});
|
|
28197
28191
|
}
|
|
@@ -28203,7 +28197,7 @@ class Kt extends xm {
|
|
|
28203
28197
|
if (c.classList.contains(uf)) return;
|
|
28204
28198
|
let x = window.innerWidth - f.getBoundingClientRect().width;
|
|
28205
28199
|
const v = parseFloat(window.getComputedStyle(c).marginRight);
|
|
28206
|
-
x < 0 && (x = 0), f.style.setProperty(
|
|
28200
|
+
x < 0 && (x = 0), f.style.setProperty(d_, `${x}px`), v && c.style.setProperty(p_, `${v}px`), c.classList.add(uf);
|
|
28207
28201
|
})(), this.initLayout(), this.scale();
|
|
28208
28202
|
const i = () => {
|
|
28209
28203
|
this.initCarousel(this.userSlides), this.state = on.Ready, this.attachEvents(), this.emit("ready"), setTimeout(() => {
|
|
@@ -28218,8 +28212,8 @@ class Kt extends xm {
|
|
|
28218
28212
|
var i, a;
|
|
28219
28213
|
const c = this.option("parentEl") || document.body, f = pr(this.localize(this.option("tpl.main") || ""));
|
|
28220
28214
|
if (f) {
|
|
28221
|
-
if (f.setAttribute("id", `fancybox-${this.id}`), f.setAttribute("aria-label", this.localize("{{MODAL}}")), f.classList.toggle(
|
|
28222
|
-
|
|
28215
|
+
if (f.setAttribute("id", `fancybox-${this.id}`), f.setAttribute("aria-label", this.localize("{{MODAL}}")), f.classList.toggle(f_, this.isCompact), dt(f, this.option("mainClass") || ""), dt(f, ff), this.container = f, this.footer = f.querySelector(".fancybox__footer"), c.appendChild(f), dt(document.documentElement, h_), Rs && xa || (Rs = document.createElement("span"), dt(Rs, "fancybox-focus-guard"), Rs.setAttribute(va, "0"), Rs.setAttribute(hf, "true"), Rs.setAttribute("aria-label", "Focus guard"), xa = Rs.cloneNode(), (i = f.parentElement) === null || i === void 0 || i.insertBefore(Rs, f), (a = f.parentElement) === null || a === void 0 || a.append(xa)), f.addEventListener("mousedown", (x) => {
|
|
28216
|
+
__ = x.pageX, v_ = x.pageY, li(f, df);
|
|
28223
28217
|
}), this.option("closeExisting")) for (const x of zl.values()) x.id !== this.id && x.close();
|
|
28224
28218
|
else this.option("animated") && (dt(f, pf), setTimeout(() => {
|
|
28225
28219
|
this.isClosing() || li(f, pf);
|
|
@@ -28280,7 +28274,7 @@ class Kt extends xm {
|
|
|
28280
28274
|
C || u.type !== "image" || u.error || !Lo(u[Dl]) || (C = u[Dl]);
|
|
28281
28275
|
for (const I of v.querySelectorAll("[data-fancybox-download]")) {
|
|
28282
28276
|
const A = u.downloadFilename;
|
|
28283
|
-
C ? (I.removeAttribute(Al), I.removeAttribute(va), I.setAttribute(mf, C), I.setAttribute(
|
|
28277
|
+
C ? (I.removeAttribute(Al), I.removeAttribute(va), I.setAttribute(mf, C), I.setAttribute(g_, A || C), I.setAttribute("target", "_blank")) : (I.setAttribute(Al, ""), I.setAttribute(va, "-1"), I.removeAttribute(mf), I.removeAttribute(g_));
|
|
28284
28278
|
}
|
|
28285
28279
|
}), this.emit("initCarousel");
|
|
28286
28280
|
}
|
|
@@ -28318,9 +28312,9 @@ class Kt extends xm {
|
|
|
28318
28312
|
if (x.closest(".fancybox-spinner") || x.closest("[data-fancybox-close]")) return i.preventDefault(), void this.close(i);
|
|
28319
28313
|
if (x.closest("[data-fancybox-prev]")) return i.preventDefault(), void this.prev();
|
|
28320
28314
|
if (x.closest("[data-fancybox-next]")) return i.preventDefault(), void this.next();
|
|
28321
|
-
if (i.type === "click" && i.detail === 0 || Math.abs(i.pageX -
|
|
28315
|
+
if (i.type === "click" && i.detail === 0 || Math.abs(i.pageX - __) > 30 || Math.abs(i.pageY - v_) > 30) return;
|
|
28322
28316
|
const v = document.activeElement;
|
|
28323
|
-
if (
|
|
28317
|
+
if (y_() && v && c.contains(v)) return;
|
|
28324
28318
|
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(() => {
|
|
28325
28319
|
this.toggleIdle(), this.clickTimer = null;
|
|
28326
28320
|
}, 350));
|
|
@@ -28331,7 +28325,7 @@ class Kt extends xm {
|
|
|
28331
28325
|
if (v.closest("[contenteditable]")) return;
|
|
28332
28326
|
x.matches(rf) || v.blur();
|
|
28333
28327
|
}
|
|
28334
|
-
if (
|
|
28328
|
+
if (y_()) return;
|
|
28335
28329
|
u = this.option("contentClick");
|
|
28336
28330
|
} else x.closest(".fancybox__carousel") && !x.matches(rf) && (u = this.option("backdropClick"));
|
|
28337
28331
|
u === "close" ? (i.preventDefault(), this.close(i)) : u === "next" ? (i.preventDefault(), this.next()) : u === "prev" && (i.preventDefault(), this.prev());
|
|
@@ -28346,7 +28340,7 @@ class Kt extends xm {
|
|
|
28346
28340
|
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" && (od(a) || (i.preventDefault(), this[v > 0 ? "prev" : "next"]()))));
|
|
28347
28341
|
}
|
|
28348
28342
|
onScroll() {
|
|
28349
|
-
window.scrollTo(
|
|
28343
|
+
window.scrollTo(x_, b_);
|
|
28350
28344
|
}
|
|
28351
28345
|
onKeydown(i) {
|
|
28352
28346
|
if (!this.isTopmost()) return;
|
|
@@ -28363,7 +28357,7 @@ class Kt extends xm {
|
|
|
28363
28357
|
const i = this.container;
|
|
28364
28358
|
if (!i) return;
|
|
28365
28359
|
const a = this.isCompact;
|
|
28366
|
-
i.classList.toggle(
|
|
28360
|
+
i.classList.toggle(f_, a), this.manageCaption(this.getSlide()), this.isCompact ? this.clearIdle() : this.endIdle(), this.scale(), this.emit("resize");
|
|
28367
28361
|
}
|
|
28368
28362
|
onFocus(i) {
|
|
28369
28363
|
this.isTopmost() && this.checkFocus(i);
|
|
@@ -28435,7 +28429,7 @@ class Kt extends xm {
|
|
|
28435
28429
|
}
|
|
28436
28430
|
}
|
|
28437
28431
|
let R = null;
|
|
28438
|
-
i ? (!f || A.indexOf(f) < 0) && (R = z || x, A.length && (c === xa ? R = A[0] : this.lastFocus !== x && c !== Rs || (R = A[A.length - 1]))) : R = u && u.type === "image" ? x : z || x, R &&
|
|
28432
|
+
i ? (!f || A.indexOf(f) < 0) && (R = z || x, A.length && (c === xa ? R = A[0] : this.lastFocus !== x && c !== Rs || (R = A[A.length - 1]))) : R = u && u.type === "image" ? x : z || x, R && i_(R), this.lastFocus = document.activeElement, this.ignoreFocusChange = !1;
|
|
28439
28433
|
}
|
|
28440
28434
|
next() {
|
|
28441
28435
|
const i = this.carousel;
|
|
@@ -28497,7 +28491,7 @@ class Kt extends xm {
|
|
|
28497
28491
|
showLoading(i) {
|
|
28498
28492
|
i.state = Tn.Loading;
|
|
28499
28493
|
const a = i.el;
|
|
28500
|
-
a && (dt(a,
|
|
28494
|
+
a && (dt(a, m_), this.emit("loading", i), i.spinnerEl || setTimeout(() => {
|
|
28501
28495
|
if (!this.isClosing() && !i.spinnerEl && i.state === Tn.Loading) {
|
|
28502
28496
|
let c = pr(bm);
|
|
28503
28497
|
dt(c, "fancybox-spinner"), i.spinnerEl = c, a.prepend(c), this.animate(c, "f-fadeIn");
|
|
@@ -28508,7 +28502,7 @@ class Kt extends xm {
|
|
|
28508
28502
|
const a = i.el;
|
|
28509
28503
|
if (!a) return;
|
|
28510
28504
|
const c = i.spinnerEl;
|
|
28511
|
-
this.isClosing() ? c == null || c.remove() : (li(a,
|
|
28505
|
+
this.isClosing() ? c == null || c.remove() : (li(a, m_), c && this.animate(c, "f-fadeOut", () => {
|
|
28512
28506
|
c.remove();
|
|
28513
28507
|
}), i.state === Tn.Loading && (this.emit("loaded", i), i.state = Tn.Ready));
|
|
28514
28508
|
}
|
|
@@ -28575,7 +28569,7 @@ class Kt extends xm {
|
|
|
28575
28569
|
var c, f;
|
|
28576
28570
|
this.state = on.Closing, this.clearIdle(), this.detachEvents();
|
|
28577
28571
|
const x = this.container, v = this.carousel, u = this.getSlide(), C = u && this.option("placeFocusBack") ? u.triggerEl || this.option("triggerEl") : null;
|
|
28578
|
-
if (C && (
|
|
28572
|
+
if (C && (yv(C) ? i_(C) : C.focus()), x && (li(x, ff), dt(x, "is-closing"), x.setAttribute(hf, "true"), this.option("animated") && dt(x, pf), x.style.pointerEvents = "none"), v) {
|
|
28579
28573
|
v.clearTransitions(), (c = v.panzoom) === null || c === void 0 || c.destroy(), (f = v.plugins.Navigation) === null || f === void 0 || f.detach();
|
|
28580
28574
|
for (const I of v.slides) {
|
|
28581
28575
|
I.state = Tn.Closing, this.hideLoading(I);
|
|
@@ -28585,7 +28579,7 @@ class Kt extends xm {
|
|
|
28585
28579
|
z && (z.stop(), z.detachEvents(), z.detachObserver()), this.isCurrentSlide(I) || v.emit("removeSlide", I);
|
|
28586
28580
|
}
|
|
28587
28581
|
}
|
|
28588
|
-
|
|
28582
|
+
x_ = window.scrollX, b_ = 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, () => {
|
|
28589
28583
|
v && v.emit("removeSlide", u);
|
|
28590
28584
|
}), setTimeout(() => {
|
|
28591
28585
|
this.destroy();
|
|
@@ -28600,10 +28594,10 @@ class Kt extends xm {
|
|
|
28600
28594
|
const a = this.container;
|
|
28601
28595
|
a && a.remove(), zl.delete(this.id);
|
|
28602
28596
|
const c = Kt.getInstance();
|
|
28603
|
-
c ? c.focus() : (Rs && (Rs.remove(), Rs = null), xa && (xa.remove(), xa = null), li(document.documentElement,
|
|
28597
|
+
c ? c.focus() : (Rs && (Rs.remove(), Rs = null), xa && (xa.remove(), xa = null), li(document.documentElement, h_), (() => {
|
|
28604
28598
|
if (!du) return;
|
|
28605
28599
|
const f = document, x = f.body;
|
|
28606
|
-
x.classList.remove(uf), x.style.setProperty(
|
|
28600
|
+
x.classList.remove(uf), x.style.setProperty(p_, ""), f.documentElement.style.setProperty(d_, "");
|
|
28607
28601
|
})(), this.emit("destroy"));
|
|
28608
28602
|
}
|
|
28609
28603
|
static bind(i, a, c) {
|
|
@@ -28719,7 +28713,7 @@ const TP = {
|
|
|
28719
28713
|
}, kP = { ref: "container" };
|
|
28720
28714
|
function EP(s, i, a, c, f, x) {
|
|
28721
28715
|
return lt(), pt("div", kP, [
|
|
28722
|
-
|
|
28716
|
+
Ib(s.$slots, "default")
|
|
28723
28717
|
], 512);
|
|
28724
28718
|
}
|
|
28725
28719
|
const MP = /* @__PURE__ */ Fi(TP, [["render", EP]]), PP = {
|
|
@@ -28901,7 +28895,7 @@ function GP(s, i, a, c, f, x) {
|
|
|
28901
28895
|
]),
|
|
28902
28896
|
re("div", null, [
|
|
28903
28897
|
re("div", {
|
|
28904
|
-
class:
|
|
28898
|
+
class: k_(["flex items-center justify-center gap-2 hover:bg-gray-200 p-1 rounded", {
|
|
28905
28899
|
disabled: a.readonly,
|
|
28906
28900
|
"hover:cursor-pointer": !a.readonly
|
|
28907
28901
|
}]),
|
|
@@ -29139,7 +29133,7 @@ function mC(s, i, a, c, f, x) {
|
|
|
29139
29133
|
placeholder: "Напишіть коментар...",
|
|
29140
29134
|
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"
|
|
29141
29135
|
}, null, 512), [
|
|
29142
|
-
[
|
|
29136
|
+
[E_, f.textareaValue]
|
|
29143
29137
|
])
|
|
29144
29138
|
])
|
|
29145
29139
|
]),
|
|
@@ -29295,7 +29289,7 @@ function CC(s, i, a, c, f, x) {
|
|
|
29295
29289
|
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",
|
|
29296
29290
|
placeholder: "Напишіть коментар..."
|
|
29297
29291
|
}, null, 512), [
|
|
29298
|
-
[
|
|
29292
|
+
[E_, f.commentContent]
|
|
29299
29293
|
])
|
|
29300
29294
|
]),
|
|
29301
29295
|
re("button", {
|
|
@@ -29762,10 +29756,10 @@ const FC = /* @__PURE__ */ Fi(AC, [["render", OC]]), BC = {
|
|
|
29762
29756
|
install(s, { componentsApp: i = {}, menu: a = [] }) {
|
|
29763
29757
|
var x;
|
|
29764
29758
|
Ut.defaults.baseURL && (Ut.defaults.baseURL = Ut.defaults.baseURL);
|
|
29765
|
-
const c = (x =
|
|
29759
|
+
const c = (x = lv(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 } = U2(c);
|
|
29766
29760
|
Object.entries({ ...$C, ...i }).forEach(([v, u]) => {
|
|
29767
29761
|
s.component(v, u);
|
|
29768
|
-
}), s.component("admin",
|
|
29762
|
+
}), s.component("admin", lw), s.config.globalProperties = {
|
|
29769
29763
|
...s.config.globalProperties,
|
|
29770
29764
|
$componentsConfig: { ...EM, componentsApp: i },
|
|
29771
29765
|
$router: f
|