@opengis/admin 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-page-CfJc5bjM.js → add-page-DU60zL6t.js} +1 -1
- package/dist/{admin-interface-CiYzG2NM.js → admin-interface-gm773DzD.js} +1 -1
- package/dist/{admin-view-LqLuXpCN.js → admin-view-CfY_rVQ4.js} +1 -1
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +24 -24
- package/dist/{card-page-7uHNNziD.js → card-page-ZWU3SEtH.js} +1 -1
- package/dist/{card-view-DW4_NM5R.js → card-view-CwZPYXyJ.js} +1 -1
- package/dist/{edit-page-BgL7NUrZ.js → edit-page-C6mgpZBS.js} +1 -1
- package/dist/{import-file-BAbTF5uU.js → import-file-C5Tvx4dB.js} +811 -805
- package/module/settings/card/admin.users.table/general_info.hbs +31 -0
- package/module/settings/card/admin.users.table/index.yml +7 -0
- package/module/settings/card/admin.users.table/user_roles.hbs +26 -0
- package/module/settings/cls/core.actions.json +14 -0
- package/module/settings/cls/core.scope.json +14 -0
- package/module/settings/cls/properties.site_status.json +14 -0
- package/module/settings/cls/properties.widget_status.json +14 -0
- package/module/settings/cls/users.user_type.json +14 -0
- package/module/settings/form/admin.access.form.json +37 -0
- package/module/settings/form/admin.properties.form.json +16 -0
- package/module/settings/form/admin.roles.form.json +20 -0
- package/module/settings/form/admin.routes.form.json +26 -0
- package/module/settings/form/admin.user_roles.form.json +22 -0
- package/module/settings/form/admin.users.form.json +90 -0
- package/module/settings/form/user.user_roles.form.json +14 -0
- package/module/settings/interface/admin.properties.html +1 -0
- package/module/settings/interface/admin.properties.json +5 -0
- package/module/settings/interface/admin.roles.html +1 -0
- package/module/settings/interface/admin.roles.json +5 -0
- package/module/settings/interface/admin.routes.html +1 -0
- package/module/settings/interface/admin.routes.json +5 -0
- package/module/settings/interface/admin.users.html +1 -0
- package/module/settings/interface/admin.users.json +5 -0
- package/module/settings/menu.json +34 -0
- package/module/settings/select/core.menu_id.sql +1 -0
- package/module/settings/select/core.roles.json +3 -0
- package/module/settings/select/core.roles.sql +1 -0
- package/module/settings/select/core.routes.sql +1 -0
- package/module/settings/select/core.user_uid.sql +2 -0
- package/module/settings/table/admin.access.table.json +78 -0
- package/module/settings/table/admin.properties.table.json +33 -0
- package/module/settings/table/admin.roles.table.json +59 -0
- package/module/settings/table/admin.routes.table.json +54 -0
- package/module/settings/table/admin.user_roles.table.json +67 -0
- package/module/settings/table/admin.users.table.json +65 -0
- package/package.json +2 -1
- package/plugin.js +9 -5
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { resolveComponent as kn, openBlock as ht, createBlock as ka, shallowRef as
|
|
2
|
-
function
|
|
1
|
+
import { resolveComponent as kn, openBlock as ht, createBlock as ka, shallowRef as Tb, unref as Ll, shallowReactive as kb, nextTick as Eb, defineComponent as w_, reactive as Mb, inject as pu, computed as hr, h as S_, provide as Vp, ref as Pb, watch as T_, getCurrentInstance as k_, watchEffect as Cb, createElementBlock as _t, createElementVNode as re, toDisplayString as bi, normalizeStyle as jf, Fragment as qr, renderList as fu, withDirectives as Vf, vShow as Ib, normalizeClass as E_, createCommentVNode as $f, createVNode as Wr, createTextVNode as Hs, renderSlot as Ab, withCtx as mu, withModifiers as sy, vModelText as M_ } from "vue";
|
|
2
|
+
function P_(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: Db } = Object.prototype, { getPrototypeOf: Uf } = Object, cd = /* @__PURE__ */ ((s) => (i) => {
|
|
8
|
+
const a = Db.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 zb(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 C_ = Ys("ArrayBuffer");
|
|
15
|
+
function Rb(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 && C_(s.buffer), i;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const Lb = ud("string"), gs = ud("function"), I_ = ud("number"), hd = (s) => s !== null && typeof s == "object", Ob = (s) => s === !0 || s === !1, Zh = (s) => {
|
|
20
20
|
if (cd(s) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const i = Uf(s);
|
|
23
23
|
return (i === null || i === Object.prototype || Object.getPrototypeOf(i) === null) && !(Symbol.toStringTag in s) && !(Symbol.iterator in s);
|
|
24
|
-
},
|
|
24
|
+
}, Fb = Ys("Date"), Bb = Ys("File"), Nb = Ys("Blob"), jb = Ys("FileList"), Vb = (s) => hd(s) && gs(s.pipe), $b = (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
|
+
}, Ub = Ys("URLSearchParams"), [qb, Hb, Zb, Wb] = ["ReadableStream", "Request", "Response", "Headers"].map(Ys), Gb = (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 A_(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 I_(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, D_ = (s) => !gu(s) && s !== wa;
|
|
53
53
|
function gf() {
|
|
54
|
-
const { caseless: s } =
|
|
55
|
-
const x = s &&
|
|
54
|
+
const { caseless: s } = D_(this) && this || {}, i = {}, a = (c, f) => {
|
|
55
|
+
const x = s && A_(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 Yb = (s, i, a, { allOwnKeys: c } = {}) => (wu(i, (f, x) => {
|
|
63
|
+
a && gs(f) ? s[x] = P_(f, a) : s[x] = f;
|
|
64
|
+
}, { allOwnKeys: c }), s), Xb = (s) => (s.charCodeAt(0) === 65279 && (s = s.slice(1)), s), Kb = (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
|
+
}, Jb = (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 Gb = (s, i, a, { allOwnKeys: c } = {}) => (wu(i, (f, x) => {
|
|
|
75
75
|
s = a !== !1 && Uf(s);
|
|
76
76
|
} while (s && (!a || a(s, i)) && s !== Object.prototype);
|
|
77
77
|
return i;
|
|
78
|
-
},
|
|
78
|
+
}, Qb = (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
|
+
}, e1 = (s) => {
|
|
83
83
|
if (!s) return null;
|
|
84
84
|
if ($l(s)) return s;
|
|
85
85
|
let i = s.length;
|
|
86
|
-
if (!
|
|
86
|
+
if (!I_(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
|
+
}, t1 = /* @__PURE__ */ ((s) => (i) => s && i instanceof s)(typeof Uint8Array < "u" && Uf(Uint8Array)), i1 = (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
|
+
}, n1 = (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
|
+
}, s1 = Ys("HTMLFormElement"), r1 = (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
|
-
), ry = (({ hasOwnProperty: s }) => (i, a) => s.call(i, a))(Object.prototype),
|
|
109
|
+
), ry = (({ hasOwnProperty: s }) => (i, a) => s.call(i, a))(Object.prototype), o1 = Ys("RegExp"), z_ = (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
|
+
}, a1 = (s) => {
|
|
116
|
+
z_(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 Gb = (s, i, a, { allOwnKeys: c } = {}) => (wu(i, (f, x) => {
|
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
|
-
},
|
|
130
|
+
}, l1 = (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
|
+
}, c1 = () => {
|
|
138
|
+
}, u1 = (s, i) => s != null && Number.isFinite(s = +s) ? s : i, $p = "abcdefghijklmnopqrstuvwxyz", oy = "0123456789", R_ = {
|
|
139
139
|
DIGIT: oy,
|
|
140
140
|
ALPHA: $p,
|
|
141
141
|
ALPHA_DIGIT: $p + $p.toUpperCase() + oy
|
|
142
|
-
},
|
|
142
|
+
}, h1 = (s = 16, i = R_.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 d1(s) {
|
|
150
150
|
return !!(s && gs(s.append) && s[Symbol.toStringTag] === "FormData" && s[Symbol.iterator]);
|
|
151
151
|
}
|
|
152
|
-
const
|
|
152
|
+
const p1 = (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 d1 = (s) => {
|
|
|
166
166
|
return c;
|
|
167
167
|
};
|
|
168
168
|
return a(s, 0);
|
|
169
|
-
},
|
|
169
|
+
}, f1 = Ys("AsyncFunction"), m1 = (s) => s && (hd(s) || gs(s)) && gs(s.then) && gs(s.catch), L_ = ((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
|
+
), g1 = typeof queueMicrotask < "u" ? queueMicrotask.bind(wa) : typeof process < "u" && process.nextTick || L_, ke = {
|
|
177
177
|
isArray: $l,
|
|
178
|
-
isArrayBuffer:
|
|
179
|
-
isBuffer:
|
|
180
|
-
isFormData:
|
|
181
|
-
isArrayBufferView:
|
|
182
|
-
isString:
|
|
183
|
-
isNumber:
|
|
184
|
-
isBoolean:
|
|
178
|
+
isArrayBuffer: C_,
|
|
179
|
+
isBuffer: zb,
|
|
180
|
+
isFormData: $b,
|
|
181
|
+
isArrayBufferView: Rb,
|
|
182
|
+
isString: Lb,
|
|
183
|
+
isNumber: I_,
|
|
184
|
+
isBoolean: Ob,
|
|
185
185
|
isObject: hd,
|
|
186
186
|
isPlainObject: Zh,
|
|
187
|
-
isReadableStream:
|
|
188
|
-
isRequest:
|
|
189
|
-
isResponse:
|
|
190
|
-
isHeaders:
|
|
187
|
+
isReadableStream: qb,
|
|
188
|
+
isRequest: Hb,
|
|
189
|
+
isResponse: Zb,
|
|
190
|
+
isHeaders: Wb,
|
|
191
191
|
isUndefined: gu,
|
|
192
|
-
isDate:
|
|
193
|
-
isFile:
|
|
194
|
-
isBlob:
|
|
195
|
-
isRegExp:
|
|
192
|
+
isDate: Fb,
|
|
193
|
+
isFile: Bb,
|
|
194
|
+
isBlob: Nb,
|
|
195
|
+
isRegExp: o1,
|
|
196
196
|
isFunction: gs,
|
|
197
|
-
isStream:
|
|
198
|
-
isURLSearchParams:
|
|
199
|
-
isTypedArray:
|
|
200
|
-
isFileList:
|
|
197
|
+
isStream: Vb,
|
|
198
|
+
isURLSearchParams: Ub,
|
|
199
|
+
isTypedArray: t1,
|
|
200
|
+
isFileList: jb,
|
|
201
201
|
forEach: wu,
|
|
202
202
|
merge: gf,
|
|
203
|
-
extend:
|
|
204
|
-
trim:
|
|
205
|
-
stripBOM:
|
|
206
|
-
inherits:
|
|
207
|
-
toFlatObject:
|
|
203
|
+
extend: Yb,
|
|
204
|
+
trim: Gb,
|
|
205
|
+
stripBOM: Xb,
|
|
206
|
+
inherits: Kb,
|
|
207
|
+
toFlatObject: Jb,
|
|
208
208
|
kindOf: cd,
|
|
209
209
|
kindOfTest: Ys,
|
|
210
|
-
endsWith:
|
|
211
|
-
toArray:
|
|
212
|
-
forEachEntry:
|
|
213
|
-
matchAll:
|
|
214
|
-
isHTMLForm:
|
|
210
|
+
endsWith: Qb,
|
|
211
|
+
toArray: e1,
|
|
212
|
+
forEachEntry: i1,
|
|
213
|
+
matchAll: n1,
|
|
214
|
+
isHTMLForm: s1,
|
|
215
215
|
hasOwnProperty: ry,
|
|
216
216
|
hasOwnProp: ry,
|
|
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: z_,
|
|
219
|
+
freezeMethods: a1,
|
|
220
|
+
toObjectSet: l1,
|
|
221
|
+
toCamelCase: r1,
|
|
222
|
+
noop: c1,
|
|
223
|
+
toFiniteNumber: u1,
|
|
224
|
+
findKey: A_,
|
|
225
225
|
global: wa,
|
|
226
|
-
isContextDefined:
|
|
227
|
-
ALPHABET:
|
|
228
|
-
generateString:
|
|
229
|
-
isSpecCompliantForm:
|
|
230
|
-
toJSONObject:
|
|
231
|
-
isAsyncFn:
|
|
232
|
-
isThenable:
|
|
233
|
-
setImmediate:
|
|
234
|
-
asap:
|
|
226
|
+
isContextDefined: D_,
|
|
227
|
+
ALPHABET: R_,
|
|
228
|
+
generateString: h1,
|
|
229
|
+
isSpecCompliantForm: d1,
|
|
230
|
+
toJSONObject: p1,
|
|
231
|
+
isAsyncFn: f1,
|
|
232
|
+
isThenable: m1,
|
|
233
|
+
setImmediate: L_,
|
|
234
|
+
asap: g1
|
|
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 O_ = At.prototype, F_ = {};
|
|
261
261
|
[
|
|
262
262
|
"ERR_BAD_OPTION_VALUE",
|
|
263
263
|
"ERR_BAD_OPTION",
|
|
@@ -273,32 +273,32 @@ const L_ = At.prototype, O_ = {};
|
|
|
273
273
|
"ERR_INVALID_URL"
|
|
274
274
|
// eslint-disable-next-line func-names
|
|
275
275
|
].forEach((s) => {
|
|
276
|
-
|
|
276
|
+
F_[s] = { value: s };
|
|
277
277
|
});
|
|
278
|
-
Object.defineProperties(At,
|
|
279
|
-
Object.defineProperty(
|
|
278
|
+
Object.defineProperties(At, F_);
|
|
279
|
+
Object.defineProperty(O_, "isAxiosError", { value: !0 });
|
|
280
280
|
At.from = (s, i, a, c, f, x) => {
|
|
281
|
-
const v = Object.create(
|
|
281
|
+
const v = Object.create(O_);
|
|
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 y1 = null;
|
|
287
287
|
function yf(s) {
|
|
288
288
|
return ke.isPlainObject(s) || ke.isArray(s);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function B_(s) {
|
|
291
291
|
return ke.endsWith(s, "[]") ? s.slice(0, -2) : s;
|
|
292
292
|
}
|
|
293
293
|
function ay(s, i, a) {
|
|
294
294
|
return s ? s.concat(i).map(function(f, x) {
|
|
295
|
-
return f =
|
|
295
|
+
return f = B_(f), !a && x ? "[" + f + "]" : f;
|
|
296
296
|
}).join(a ? "." : "") : i;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function _1(s) {
|
|
299
299
|
return ke.isArray(s) && !s.some(yf);
|
|
300
300
|
}
|
|
301
|
-
const
|
|
301
|
+
const v1 = 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) && _1(G) || (ke.isFileList(G) || ke.endsWith(ne, "[]")) && (de = ke.toArray(G)))
|
|
331
|
+
return ne = B_(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 ? ay([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(ay(ce, ne, x), I(G)), !1);
|
|
340
340
|
}
|
|
341
|
-
const z = [], R = Object.assign(
|
|
341
|
+
const z = [], R = Object.assign(v1, {
|
|
342
342
|
defaultVisitor: A,
|
|
343
343
|
convertValue: I,
|
|
344
344
|
isVisitable: yf
|
|
@@ -379,11 +379,11 @@ function ly(s) {
|
|
|
379
379
|
function qf(s, i) {
|
|
380
380
|
this._pairs = [], s && dd(s, this, i);
|
|
381
381
|
}
|
|
382
|
-
const
|
|
383
|
-
|
|
382
|
+
const N_ = qf.prototype;
|
|
383
|
+
N_.append = function(i, a) {
|
|
384
384
|
this._pairs.push([i, a]);
|
|
385
385
|
};
|
|
386
|
-
|
|
386
|
+
N_.toString = function(i) {
|
|
387
387
|
const a = i ? function(c) {
|
|
388
388
|
return i.call(this, c, ly);
|
|
389
389
|
} : ly;
|
|
@@ -391,13 +391,13 @@ B_.toString = function(i) {
|
|
|
391
391
|
return a(f[0]) + "=" + a(f[1]);
|
|
392
392
|
}, "").join("&");
|
|
393
393
|
};
|
|
394
|
-
function
|
|
394
|
+
function x1(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 j_(s, i, a) {
|
|
398
398
|
if (!i)
|
|
399
399
|
return s;
|
|
400
|
-
const c = a && a.encode ||
|
|
400
|
+
const c = a && a.encode || x1, f = a && a.serialize;
|
|
401
401
|
let x;
|
|
402
402
|
if (f ? x = f(i, a) : x = ke.isURLSearchParams(i) ? i.toString() : new qf(i, a).toString(c), x) {
|
|
403
403
|
const v = s.indexOf("#");
|
|
@@ -459,41 +459,41 @@ class cy {
|
|
|
459
459
|
});
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
const
|
|
462
|
+
const V_ = {
|
|
463
463
|
silentJSONParsing: !0,
|
|
464
464
|
forcedJSONParsing: !0,
|
|
465
465
|
clarifyTimeoutError: !1
|
|
466
|
-
},
|
|
466
|
+
}, b1 = typeof URLSearchParams < "u" ? URLSearchParams : qf, w1 = typeof FormData < "u" ? FormData : null, S1 = typeof Blob < "u" ? Blob : null, T1 = {
|
|
467
467
|
isBrowser: !0,
|
|
468
468
|
classes: {
|
|
469
|
-
URLSearchParams:
|
|
470
|
-
FormData:
|
|
471
|
-
Blob:
|
|
469
|
+
URLSearchParams: b1,
|
|
470
|
+
FormData: w1,
|
|
471
|
+
Blob: S1
|
|
472
472
|
},
|
|
473
473
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
474
|
-
}, Hf = typeof window < "u" && typeof document < "u", _f = typeof navigator == "object" && navigator || void 0,
|
|
475
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
474
|
+
}, Hf = typeof window < "u" && typeof document < "u", _f = typeof navigator == "object" && navigator || void 0, k1 = Hf && (!_f || ["ReactNative", "NativeScript", "NS"].indexOf(_f.product) < 0), E1 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
475
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", M1 = Hf && window.location.href || "http://localhost", P1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
476
476
|
__proto__: null,
|
|
477
477
|
hasBrowserEnv: Hf,
|
|
478
|
-
hasStandardBrowserEnv:
|
|
479
|
-
hasStandardBrowserWebWorkerEnv:
|
|
478
|
+
hasStandardBrowserEnv: k1,
|
|
479
|
+
hasStandardBrowserWebWorkerEnv: E1,
|
|
480
480
|
navigator: _f,
|
|
481
|
-
origin:
|
|
481
|
+
origin: M1
|
|
482
482
|
}, Symbol.toStringTag, { value: "Module" })), es = {
|
|
483
|
-
...
|
|
484
|
-
...
|
|
483
|
+
...P1,
|
|
484
|
+
...T1
|
|
485
485
|
};
|
|
486
|
-
function
|
|
486
|
+
function C1(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 I1(s) {
|
|
494
494
|
return ke.matchAll(/\w+|\[(\w*)]/g, s).map((i) => i[0] === "[]" ? "" : i[1] || i[0]);
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function A1(s) {
|
|
497
497
|
const i = {}, a = Object.keys(s);
|
|
498
498
|
let c;
|
|
499
499
|
const f = a.length;
|
|
@@ -502,22 +502,22 @@ function I1(s) {
|
|
|
502
502
|
x = a[c], i[x] = s[x];
|
|
503
503
|
return i;
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function $_(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] = A1(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(I1(c), f, a, 0);
|
|
516
516
|
}), a;
|
|
517
517
|
}
|
|
518
518
|
return null;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function D1(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 A1(s, i, a) {
|
|
|
528
528
|
return (a || JSON.stringify)(s);
|
|
529
529
|
}
|
|
530
530
|
const Su = {
|
|
531
|
-
transitional:
|
|
531
|
+
transitional: V_,
|
|
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($_(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 C1(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), D1(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 z1 = ke.toObjectSet([
|
|
600
600
|
"age",
|
|
601
601
|
"authorization",
|
|
602
602
|
"content-length",
|
|
@@ -614,12 +614,12 @@ const D1 = ke.toObjectSet([
|
|
|
614
614
|
"referer",
|
|
615
615
|
"retry-after",
|
|
616
616
|
"user-agent"
|
|
617
|
-
]),
|
|
617
|
+
]), R1 = (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] && z1[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
|
}, uy = 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 L1(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 O1 = (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 F1(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 B1(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()) && !O1(i))
|
|
680
|
+
v(R1(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 L1(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 ? F1(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] || (B1(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 U_(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 q_(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 U_(s, i, a) {
|
|
|
815
815
|
a
|
|
816
816
|
));
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function N1(s) {
|
|
819
819
|
const i = /^([-+\w]{1,25})(:?\/\/|:)/.exec(s);
|
|
820
820
|
return i && i[1] || "";
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
function j1(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 N1(s, i) {
|
|
|
835
835
|
return U ? Math.round(R * 1e3 / U) : void 0;
|
|
836
836
|
};
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function V1(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 j1(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 = j1(50, 250);
|
|
853
|
+
return V1((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
|
-
}, dy = (s) => (...i) => ke.asap(() => s(...i)),
|
|
876
|
+
}, dy = (s) => (...i) => ke.asap(() => s(...i)), $1 = 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
|
+
), U1 = 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 q1(s) {
|
|
935
935
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(s);
|
|
936
936
|
}
|
|
937
|
-
function
|
|
937
|
+
function H1(s, i) {
|
|
938
938
|
return i ? s.replace(/\/?\/$/, "") + "/" + i.replace(/^\/+/, "") : s;
|
|
939
939
|
}
|
|
940
|
-
function
|
|
941
|
-
return s && !
|
|
940
|
+
function H_(s, i) {
|
|
941
|
+
return s && !q1(i) ? H1(s, i) : i;
|
|
942
942
|
}
|
|
943
943
|
const py = (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 Z_ = (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 = j_(H_(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 H_ = (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 && $1(i.url))) {
|
|
1025
|
+
const I = f && x && U1.read(x);
|
|
1026
1026
|
I && v.set(f, I);
|
|
1027
1027
|
}
|
|
1028
1028
|
return i;
|
|
1029
|
-
},
|
|
1029
|
+
}, Z1 = typeof XMLHttpRequest < "u", W1 = Z1 && function(s) {
|
|
1030
1030
|
return new Promise(function(a, c) {
|
|
1031
|
-
const f =
|
|
1031
|
+
const f = Z_(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 H_ = (s) => {
|
|
|
1050
1050
|
config: s,
|
|
1051
1051
|
request: ce
|
|
1052
1052
|
};
|
|
1053
|
-
|
|
1053
|
+
q_(function(Ve) {
|
|
1054
1054
|
a(Ve), ne();
|
|
1055
1055
|
}, function(Ve) {
|
|
1056
1056
|
c(Ve), ne();
|
|
@@ -1064,7 +1064,7 @@ const H_ = (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 || V_;
|
|
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 H_ = (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 = N1(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
|
+
}, G1 = (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 H_ = (s) => {
|
|
|
1106
1106
|
const { signal: C } = c;
|
|
1107
1107
|
return C.unsubscribe = () => ke.asap(u), C;
|
|
1108
1108
|
}
|
|
1109
|
-
},
|
|
1109
|
+
}, Y1 = function* (s, i) {
|
|
1110
1110
|
let a = s.byteLength;
|
|
1111
1111
|
if (!i || a < i) {
|
|
1112
1112
|
yield s;
|
|
@@ -1115,10 +1115,10 @@ const H_ = (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
|
+
}, X1 = async function* (s, i) {
|
|
1119
|
+
for await (const a of K1(s))
|
|
1120
|
+
yield* Y1(a, i);
|
|
1121
|
+
}, K1 = async function* (s) {
|
|
1122
1122
|
if (s[Symbol.asyncIterator]) {
|
|
1123
1123
|
yield* s;
|
|
1124
1124
|
return;
|
|
@@ -1135,7 +1135,7 @@ const H_ = (s) => {
|
|
|
1135
1135
|
await i.cancel();
|
|
1136
1136
|
}
|
|
1137
1137
|
}, fy = (s, i, a, c) => {
|
|
1138
|
-
const f =
|
|
1138
|
+
const f = X1(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 H_ = (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", W_ = pd && typeof ReadableStream == "function", J1 = pd && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((s) => (i) => s.encode(i))(new TextEncoder()) : async (s) => new Uint8Array(await new Response(s).arrayBuffer())), G_ = (s, ...i) => {
|
|
1167
1167
|
try {
|
|
1168
1168
|
return !!s(...i);
|
|
1169
1169
|
} catch {
|
|
1170
1170
|
return !1;
|
|
1171
1171
|
}
|
|
1172
|
-
},
|
|
1172
|
+
}, Q1 = W_ && G_(() => {
|
|
1173
1173
|
let s = !1;
|
|
1174
1174
|
const i = new Request(es.origin, {
|
|
1175
1175
|
body: new ReadableStream(),
|
|
@@ -1179,7 +1179,7 @@ const H_ = (s) => {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
}).headers.has("Content-Type");
|
|
1181
1181
|
return s && !i;
|
|
1182
|
-
}), my = 64 * 1024, vf =
|
|
1182
|
+
}), my = 64 * 1024, vf = W_ && G_(() => 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 ew = async (s) => {
|
|
1193
1193
|
if (s == null)
|
|
1194
1194
|
return 0;
|
|
1195
1195
|
if (ke.isBlob(s))
|
|
@@ -1202,11 +1202,11 @@ const Q1 = 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 J1(s)).byteLength;
|
|
1206
|
+
}, tw = async (s, i) => {
|
|
1207
1207
|
const a = ke.toFiniteNumber(s.getContentLength());
|
|
1208
|
-
return a ??
|
|
1209
|
-
},
|
|
1208
|
+
return a ?? ew(i);
|
|
1209
|
+
}, iw = pd && (async (s) => {
|
|
1210
1210
|
let {
|
|
1211
1211
|
url: i,
|
|
1212
1212
|
method: a,
|
|
@@ -1220,15 +1220,15 @@ const Q1 = async (s) => {
|
|
|
1220
1220
|
headers: A,
|
|
1221
1221
|
withCredentials: z = "same-origin",
|
|
1222
1222
|
fetchOptions: R
|
|
1223
|
-
} =
|
|
1223
|
+
} = Z_(s);
|
|
1224
1224
|
I = I ? (I + "").toLowerCase() : "text";
|
|
1225
|
-
let U =
|
|
1225
|
+
let U = G1([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 && Q1 && a !== "get" && a !== "head" && (ce = await tw(A, c)) !== 0) {
|
|
1232
1232
|
let at = new Request(i, {
|
|
1233
1233
|
method: "POST",
|
|
1234
1234
|
body: c,
|
|
@@ -1274,7 +1274,7 @@ const Q1 = 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
|
+
q_(at, wt, {
|
|
1278
1278
|
data: Ae,
|
|
1279
1279
|
headers: ts.from(be.headers),
|
|
1280
1280
|
status: be.status,
|
|
@@ -1292,9 +1292,9 @@ const Q1 = 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: y1,
|
|
1296
|
+
xhr: W1,
|
|
1297
|
+
fetch: iw
|
|
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 gy = (s) => `- ${s}`,
|
|
1308
|
+
const gy = (s) => `- ${s}`, nw = (s) => ke.isFunction(s) || s === null || s === !1, Y_ = {
|
|
1309
1309
|
getAdapter: (s) => {
|
|
1310
1310
|
s = ke.isArray(s) ? s : [s];
|
|
1311
1311
|
const { length: i } = s;
|
|
@@ -1314,7 +1314,7 @@ const gy = (s) => `- ${s}`, iw = (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, !nw(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 yy(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), Y_.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 U_(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 X_ = "1.7.7", Zf = {};
|
|
1362
1362
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((s, i) => {
|
|
1363
1363
|
Zf[s] = function(c) {
|
|
1364
1364
|
return typeof c === s || "a" + (i < 1 ? "n " : " ") + s;
|
|
@@ -1367,7 +1367,7 @@ const Y_ = "1.7.7", Zf = {};
|
|
|
1367
1367
|
const _y = {};
|
|
1368
1368
|
Zf.transitional = function(i, a, c) {
|
|
1369
1369
|
function f(x, v) {
|
|
1370
|
-
return "[Axios v" +
|
|
1370
|
+
return "[Axios v" + X_ + "] Transitional option '" + x + "'" + v + (c ? ". " + c : "");
|
|
1371
1371
|
}
|
|
1372
1372
|
return (x, v, u) => {
|
|
1373
1373
|
if (i === !1)
|
|
@@ -1383,7 +1383,7 @@ Zf.transitional = function(i, a, c) {
|
|
|
1383
1383
|
)), i ? i(x, v, u) : !0;
|
|
1384
1384
|
};
|
|
1385
1385
|
};
|
|
1386
|
-
function
|
|
1386
|
+
function sw(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 nw(s, i, a) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
1403
|
const bf = {
|
|
1404
|
-
assertOptions:
|
|
1404
|
+
assertOptions: sw,
|
|
1405
1405
|
validators: Zf
|
|
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 = H_(i.baseURL, i.url);
|
|
1501
|
+
return j_(a, i.params, i.paramsSerializer);
|
|
1502
1502
|
}
|
|
1503
1503
|
}
|
|
1504
1504
|
ke.forEach(["delete", "get", "head", "options"], function(i) {
|
|
@@ -1598,12 +1598,12 @@ class Wf {
|
|
|
1598
1598
|
};
|
|
1599
1599
|
}
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function rw(s) {
|
|
1602
1602
|
return function(a) {
|
|
1603
1603
|
return s.apply(null, a);
|
|
1604
1604
|
};
|
|
1605
1605
|
}
|
|
1606
|
-
function
|
|
1606
|
+
function ow(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 K_(s) {
|
|
1678
|
+
const i = new Ea(s), a = P_(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 K_(Ca(s, f));
|
|
1681
1681
|
}, a;
|
|
1682
1682
|
}
|
|
1683
|
-
const Ut =
|
|
1683
|
+
const Ut = K_(Su);
|
|
1684
1684
|
Ut.Axios = Ea;
|
|
1685
1685
|
Ut.CanceledError = Ul;
|
|
1686
1686
|
Ut.CancelToken = Wf;
|
|
1687
|
-
Ut.isCancel =
|
|
1688
|
-
Ut.VERSION =
|
|
1687
|
+
Ut.isCancel = U_;
|
|
1688
|
+
Ut.VERSION = X_;
|
|
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 = rw;
|
|
1696
|
+
Ut.isAxiosError = ow;
|
|
1697
1697
|
Ut.mergeConfig = Ca;
|
|
1698
1698
|
Ut.AxiosHeaders = ts;
|
|
1699
|
-
Ut.formToJSON = (s) =>
|
|
1700
|
-
Ut.getAdapter =
|
|
1699
|
+
Ut.formToJSON = (s) => $_(ke.isHTMLForm(s) ? new FormData(s) : s);
|
|
1700
|
+
Ut.getAdapter = Y_.getAdapter;
|
|
1701
1701
|
Ut.HttpStatusCode = wf;
|
|
1702
1702
|
Ut.default = Ut;
|
|
1703
1703
|
const Xi = (s, i) => {
|
|
@@ -1705,28 +1705,28 @@ const Xi = (s, i) => {
|
|
|
1705
1705
|
for (const [c, f] of i)
|
|
1706
1706
|
a[c] = f;
|
|
1707
1707
|
return a;
|
|
1708
|
-
},
|
|
1709
|
-
function
|
|
1708
|
+
}, aw = {};
|
|
1709
|
+
function lw(s, i, a, c, f, x) {
|
|
1710
1710
|
const v = kn("router-view");
|
|
1711
1711
|
return ht(), ka(v);
|
|
1712
1712
|
}
|
|
1713
|
-
const
|
|
1714
|
-
function
|
|
1715
|
-
return
|
|
1713
|
+
const cw = /* @__PURE__ */ Xi(aw, [["render", lw]]);
|
|
1714
|
+
function uw() {
|
|
1715
|
+
return J_().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
1716
1716
|
}
|
|
1717
|
-
function
|
|
1717
|
+
function J_() {
|
|
1718
1718
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
1719
1719
|
}
|
|
1720
|
-
const
|
|
1720
|
+
const hw = typeof Proxy == "function", dw = "devtools-plugin:setup", pw = "plugin:settings:set";
|
|
1721
1721
|
let El, Sf;
|
|
1722
|
-
function
|
|
1722
|
+
function fw() {
|
|
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 mw() {
|
|
1727
|
+
return fw() ? Sf.now() : Date.now();
|
|
1728
1728
|
}
|
|
1729
|
-
class
|
|
1729
|
+
class gw {
|
|
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 mw {
|
|
|
1754
1754
|
x = v;
|
|
1755
1755
|
},
|
|
1756
1756
|
now() {
|
|
1757
|
-
return
|
|
1757
|
+
return mw();
|
|
1758
1758
|
}
|
|
1759
|
-
}, a && a.on(
|
|
1759
|
+
}, a && a.on(pw, (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 mw {
|
|
|
1788
1788
|
a.resolve(await this.target[a.method](...a.args));
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
|
-
function
|
|
1792
|
-
const a = s, c =
|
|
1791
|
+
function yw(s, i) {
|
|
1792
|
+
const a = s, c = J_(), f = uw(), x = hw && a.enableEarlyProxy;
|
|
1793
1793
|
if (f && (c.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !x))
|
|
1794
|
-
f.emit(
|
|
1794
|
+
f.emit(dw, s, i);
|
|
1795
1795
|
else {
|
|
1796
|
-
const v = x ? new
|
|
1796
|
+
const v = x ? new gw(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 gw(s, i) {
|
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
1804
|
/*!
|
|
1805
|
-
* vue-router v4.4.
|
|
1805
|
+
* vue-router v4.4.5
|
|
1806
1806
|
* (c) 2024 Eduardo San Martin Morote
|
|
1807
1807
|
* @license MIT
|
|
1808
1808
|
*/
|
|
1809
1809
|
const jr = typeof document < "u";
|
|
1810
|
-
function
|
|
1810
|
+
function Q_(s) {
|
|
1811
1811
|
return typeof s == "object" || "displayName" in s || "props" in s || "__vccOpts" in s;
|
|
1812
1812
|
}
|
|
1813
|
-
function
|
|
1813
|
+
function _w(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 && Q_(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 e0 = /#/g, vw = /&/g, xw = /\//g, bw = /=/g, ww = /\?/g, t0 = /\+/g, Sw = /%5B/g, Tw = /%5D/g, i0 = /%5E/g, kw = /%60/g, n0 = /%7B/g, Ew = /%7C/g, s0 = /%7D/g, Mw = /%20/g;
|
|
1834
1834
|
function Gf(s) {
|
|
1835
|
-
return encodeURI("" + s).replace(
|
|
1835
|
+
return encodeURI("" + s).replace(Ew, "|").replace(Sw, "[").replace(Tw, "]");
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1838
|
-
return Gf(s).replace(
|
|
1837
|
+
function Pw(s) {
|
|
1838
|
+
return Gf(s).replace(n0, "{").replace(s0, "}").replace(i0, "^");
|
|
1839
1839
|
}
|
|
1840
1840
|
function Tf(s) {
|
|
1841
|
-
return Gf(s).replace(
|
|
1842
|
-
}
|
|
1843
|
-
function Pw(s) {
|
|
1844
|
-
return Tf(s).replace(xw, "%3D");
|
|
1841
|
+
return Gf(s).replace(t0, "%2B").replace(Mw, "+").replace(e0, "%23").replace(vw, "%26").replace(kw, "`").replace(n0, "{").replace(s0, "}").replace(i0, "^");
|
|
1845
1842
|
}
|
|
1846
1843
|
function Cw(s) {
|
|
1847
|
-
return
|
|
1844
|
+
return Tf(s).replace(bw, "%3D");
|
|
1848
1845
|
}
|
|
1849
1846
|
function Iw(s) {
|
|
1850
|
-
return s
|
|
1847
|
+
return Gf(s).replace(e0, "%23").replace(ww, "%3F");
|
|
1848
|
+
}
|
|
1849
|
+
function Aw(s) {
|
|
1850
|
+
return s == null ? "" : Iw(s).replace(xw, "%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 Dw = /\/$/, zw = (s) => s.replace(Dw, "");
|
|
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 = Ow(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 Rw(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 vy(s, i) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
function xy(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]) && r0(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 r0(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 (!Lw(s[a], i[a]))
|
|
1891
1891
|
return !1;
|
|
1892
1892
|
return !0;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Lw(s, i) {
|
|
1895
1895
|
return ys(s) ? by(s, i) : ys(i) ? by(i, s) : s === i;
|
|
1896
1896
|
}
|
|
1897
1897
|
function by(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 Ow(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 Fw(s) {
|
|
1939
1939
|
if (!s)
|
|
1940
1940
|
if (jr) {
|
|
1941
1941
|
const i = document.querySelector("base");
|
|
1942
1942
|
s = i && i.getAttribute("href") || "/", s = s.replace(/^\w+:\/\/[^\/]+/, "");
|
|
1943
1943
|
} else
|
|
1944
1944
|
s = "/";
|
|
1945
|
-
return s[0] !== "/" && s[0] !== "#" && (s = "/" + s),
|
|
1946
|
-
}
|
|
1947
|
-
const Fw = /^[^#]+#/;
|
|
1948
|
-
function Bw(s, i) {
|
|
1949
|
-
return s.replace(Fw, "#") + i;
|
|
1945
|
+
return s[0] !== "/" && s[0] !== "#" && (s = "/" + s), zw(s);
|
|
1950
1946
|
}
|
|
1947
|
+
const Bw = /^[^#]+#/;
|
|
1951
1948
|
function Nw(s, i) {
|
|
1949
|
+
return s.replace(Bw, "#") + i;
|
|
1950
|
+
}
|
|
1951
|
+
function jw(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 Vw(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 jw(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 = jw(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 wy(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 $w(s, i) {
|
|
1993
1993
|
kf.set(s, i);
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function Uw(s) {
|
|
1996
1996
|
const i = kf.get(s);
|
|
1997
1997
|
return kf.delete(s), i;
|
|
1998
1998
|
}
|
|
1999
|
-
let
|
|
2000
|
-
function
|
|
1999
|
+
let qw = () => location.protocol + "//" + location.host;
|
|
2000
|
+
function o0(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 r0(s, i) {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
return vy(a, s) + c + f;
|
|
2007
2007
|
}
|
|
2008
|
-
function
|
|
2008
|
+
function Hw(s, i, a, c) {
|
|
2009
2009
|
let f = [], x = [], v = null;
|
|
2010
2010
|
const u = ({ state: R }) => {
|
|
2011
|
-
const U =
|
|
2011
|
+
const U = o0(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 Sy(s, i, a, c = !1, f = !1) {
|
|
|
2064
2064
|
scroll: f ? fd() : null
|
|
2065
2065
|
};
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function Zw(s) {
|
|
2068
2068
|
const { history: i, location: a } = window, c = {
|
|
2069
|
-
value:
|
|
2069
|
+
value: o0(s, a)
|
|
2070
2070
|
}, f = { value: i.state };
|
|
2071
2071
|
f.value || x(c.value, {
|
|
2072
2072
|
back: null,
|
|
@@ -2080,7 +2080,7 @@ function Hw(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 : qw() + 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 Ww(s) {
|
|
2129
|
+
s = Fw(s);
|
|
2130
|
+
const i = Zw(s), a = Hw(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 Zw(s) {
|
|
|
2136
2136
|
location: "",
|
|
2137
2137
|
base: s,
|
|
2138
2138
|
go: c,
|
|
2139
|
-
createHref:
|
|
2139
|
+
createHref: Nw.bind(null, s)
|
|
2140
2140
|
}, i, a);
|
|
2141
2141
|
return Object.defineProperty(f, "location", {
|
|
2142
2142
|
enumerable: !0,
|
|
@@ -2149,7 +2149,7 @@ function Zw(s) {
|
|
|
2149
2149
|
function Qh(s) {
|
|
2150
2150
|
return typeof s == "string" || s && typeof s == "object";
|
|
2151
2151
|
}
|
|
2152
|
-
function
|
|
2152
|
+
function a0(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 Ty;
|
|
|
2157
2157
|
(function(s) {
|
|
2158
2158
|
s[s.aborted = 4] = "aborted", s[s.cancelled = 8] = "cancelled", s[s.duplicated = 16] = "duplicated";
|
|
2159
2159
|
})(Ty || (Ty = {}));
|
|
2160
|
-
const
|
|
2160
|
+
const Gw = {
|
|
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 "${Xw(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(Gw[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 Yw = ["params", "query", "hash"];
|
|
2193
|
+
function Xw(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 Yw)
|
|
2200
2200
|
a in s && (i[a] = s[a]);
|
|
2201
2201
|
return JSON.stringify(i, null, 2);
|
|
2202
2202
|
}
|
|
2203
|
-
const ky = "[^/]+?",
|
|
2203
|
+
const ky = "[^/]+?", Kw = {
|
|
2204
2204
|
sensitive: !1,
|
|
2205
2205
|
strict: !1,
|
|
2206
2206
|
start: !0,
|
|
2207
2207
|
end: !0
|
|
2208
|
-
},
|
|
2209
|
-
function
|
|
2210
|
-
const a = ai({},
|
|
2208
|
+
}, Jw = /[.+*?^${}()[\]/\\]/g;
|
|
2209
|
+
function Qw(s, i) {
|
|
2210
|
+
const a = ai({}, Kw, i), c = [];
|
|
2211
2211
|
let f = a.start ? "^" : "";
|
|
2212
2212
|
const x = [];
|
|
2213
2213
|
for (const I of s) {
|
|
@@ -2220,7 +2220,7 @@ function Jw(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(Jw, "\\$&"), 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 Jw(s, i) {
|
|
|
2292
2292
|
stringify: C
|
|
2293
2293
|
};
|
|
2294
2294
|
}
|
|
2295
|
-
function
|
|
2295
|
+
function e2(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 Qw(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 l0(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 = e2(c[a], f[a]);
|
|
2310
2310
|
if (x)
|
|
2311
2311
|
return x;
|
|
2312
2312
|
a++;
|
|
@@ -2323,15 +2323,15 @@ function Ey(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 t2 = {
|
|
2327
2327
|
type: 0,
|
|
2328
2328
|
value: ""
|
|
2329
|
-
},
|
|
2330
|
-
function
|
|
2329
|
+
}, i2 = /[a-zA-Z0-9_]/;
|
|
2330
|
+
function n2(s) {
|
|
2331
2331
|
if (!s)
|
|
2332
2332
|
return [[]];
|
|
2333
2333
|
if (s === "/")
|
|
2334
|
-
return [[
|
|
2334
|
+
return [[t2]];
|
|
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 i2(s) {
|
|
|
2372
2372
|
R(), a = c;
|
|
2373
2373
|
break;
|
|
2374
2374
|
case 1:
|
|
2375
|
-
C === "(" ? a = 2 :
|
|
2375
|
+
C === "(" ? a = 2 : i2.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 i2(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 s2(s, i, a) {
|
|
2391
|
+
const c = Qw(n2(s.path), a);
|
|
2392
2392
|
if (process.env.NODE_ENV !== "production") {
|
|
2393
2393
|
const x = /* @__PURE__ */ new Set();
|
|
2394
2394
|
for (const v of c.keys)
|
|
@@ -2403,31 +2403,33 @@ function n2(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 r2(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 = Py(z);
|
|
2414
2414
|
process.env.NODE_ENV !== "production" && c2(ne, R), ne.aliasOf = U && U.record;
|
|
2415
|
-
const ce =
|
|
2416
|
-
ne
|
|
2417
|
-
];
|
|
2415
|
+
const ce = Iy(i, z), de = [ne];
|
|
2418
2416
|
if ("alias" in z) {
|
|
2419
2417
|
const Ae = typeof z.alias == "string" ? [z.alias] : z.alias;
|
|
2420
2418
|
for (const at of Ae)
|
|
2421
|
-
de.push(
|
|
2422
|
-
//
|
|
2423
|
-
//
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2419
|
+
de.push(
|
|
2420
|
+
// we need to normalize again to ensure the `mods` property
|
|
2421
|
+
// being non enumerable
|
|
2422
|
+
Py(ai({}, ne, {
|
|
2423
|
+
// this allows us to hold a copy of the `components` option
|
|
2424
|
+
// so that async components cache is hold on the original record
|
|
2425
|
+
components: U ? U.record.components : ne.components,
|
|
2426
|
+
path: at,
|
|
2427
|
+
// we might be the child of an alias
|
|
2428
|
+
aliasOf: U ? U.record : ne
|
|
2429
|
+
// the aliases are always of the same kind as the original since they
|
|
2430
|
+
// are defined on the same record
|
|
2431
|
+
}))
|
|
2432
|
+
);
|
|
2431
2433
|
}
|
|
2432
2434
|
let be, _e;
|
|
2433
2435
|
for (const Ae of de) {
|
|
@@ -2439,7 +2441,7 @@ function s2(s, i) {
|
|
|
2439
2441
|
if (process.env.NODE_ENV !== "production" && Ae.path === "*")
|
|
2440
2442
|
throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
2441
2443
|
See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);
|
|
2442
|
-
if (be =
|
|
2444
|
+
if (be = s2(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)), c0(be) && C(be), ne.children) {
|
|
2443
2445
|
const wt = ne.children;
|
|
2444
2446
|
for (let Ve = 0; Ve < wt.length; Ve++)
|
|
2445
2447
|
x(wt[Ve], be, U && U.children[Ve]);
|
|
@@ -2451,7 +2453,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
|
|
|
2451
2453
|
} : cu;
|
|
2452
2454
|
}
|
|
2453
2455
|
function v(z) {
|
|
2454
|
-
if (
|
|
2456
|
+
if (a0(z)) {
|
|
2455
2457
|
const R = c.get(z);
|
|
2456
2458
|
R && (c.delete(z), a.splice(a.indexOf(R), 1), R.children.forEach(v), R.alias.forEach(v));
|
|
2457
2459
|
} else {
|
|
@@ -2464,7 +2466,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
|
|
|
2464
2466
|
}
|
|
2465
2467
|
function C(z) {
|
|
2466
2468
|
const R = h2(z, a);
|
|
2467
|
-
a.splice(R, 0, z), z.record.name && !
|
|
2469
|
+
a.splice(R, 0, z), z.record.name && !Cy(z) && c.set(z.record.name, z);
|
|
2468
2470
|
}
|
|
2469
2471
|
function I(z, R) {
|
|
2470
2472
|
let U, G = {}, ne, ce;
|
|
@@ -2530,13 +2532,13 @@ function My(s, i) {
|
|
|
2530
2532
|
c in s && (a[c] = s[c]);
|
|
2531
2533
|
return a;
|
|
2532
2534
|
}
|
|
2533
|
-
function
|
|
2534
|
-
|
|
2535
|
+
function Py(s) {
|
|
2536
|
+
const i = {
|
|
2535
2537
|
path: s.path,
|
|
2536
2538
|
redirect: s.redirect,
|
|
2537
2539
|
name: s.name,
|
|
2538
2540
|
meta: s.meta || {},
|
|
2539
|
-
aliasOf:
|
|
2541
|
+
aliasOf: s.aliasOf,
|
|
2540
2542
|
beforeEnter: s.beforeEnter,
|
|
2541
2543
|
props: o2(s),
|
|
2542
2544
|
children: s.children || [],
|
|
@@ -2544,9 +2546,13 @@ function r2(s) {
|
|
|
2544
2546
|
leaveGuards: /* @__PURE__ */ new Set(),
|
|
2545
2547
|
updateGuards: /* @__PURE__ */ new Set(),
|
|
2546
2548
|
enterCallbacks: {},
|
|
2547
|
-
|
|
2549
|
+
// must be declared afterwards
|
|
2550
|
+
// mods: {},
|
|
2548
2551
|
components: "components" in s ? s.components || null : s.component && { default: s.component }
|
|
2549
2552
|
};
|
|
2553
|
+
return Object.defineProperty(i, "mods", {
|
|
2554
|
+
value: {}
|
|
2555
|
+
}), i;
|
|
2550
2556
|
}
|
|
2551
2557
|
function o2(s) {
|
|
2552
2558
|
const i = {}, a = s.props || !1;
|
|
@@ -2557,7 +2563,7 @@ function o2(s) {
|
|
|
2557
2563
|
i[c] = typeof a == "object" ? a[c] : a;
|
|
2558
2564
|
return i;
|
|
2559
2565
|
}
|
|
2560
|
-
function
|
|
2566
|
+
function Cy(s) {
|
|
2561
2567
|
for (; s; ) {
|
|
2562
2568
|
if (s.record.aliasOf)
|
|
2563
2569
|
return !0;
|
|
@@ -2568,7 +2574,7 @@ function Py(s) {
|
|
|
2568
2574
|
function a2(s) {
|
|
2569
2575
|
return s.reduce((i, a) => ai(i, a.meta), {});
|
|
2570
2576
|
}
|
|
2571
|
-
function
|
|
2577
|
+
function Iy(s, i) {
|
|
2572
2578
|
const a = {};
|
|
2573
2579
|
for (const c in s)
|
|
2574
2580
|
a[c] = c in i ? i[c] : s[c];
|
|
@@ -2597,7 +2603,7 @@ function h2(s, i) {
|
|
|
2597
2603
|
let a = 0, c = i.length;
|
|
2598
2604
|
for (; a !== c; ) {
|
|
2599
2605
|
const x = a + c >> 1;
|
|
2600
|
-
|
|
2606
|
+
l0(s, i[x]) < 0 ? c = x : a = x + 1;
|
|
2601
2607
|
}
|
|
2602
2608
|
const f = d2(s);
|
|
2603
2609
|
return f && (c = i.lastIndexOf(f, c - 1), process.env.NODE_ENV !== "production" && c < 0 && jt(`Finding ancestor route "${f.record.path}" failed for "${s.record.path}"`)), c;
|
|
@@ -2605,10 +2611,10 @@ function h2(s, i) {
|
|
|
2605
2611
|
function d2(s) {
|
|
2606
2612
|
let i = s;
|
|
2607
2613
|
for (; i = i.parent; )
|
|
2608
|
-
if (
|
|
2614
|
+
if (c0(i) && l0(s, i) === 0)
|
|
2609
2615
|
return i;
|
|
2610
2616
|
}
|
|
2611
|
-
function
|
|
2617
|
+
function c0({ record: s }) {
|
|
2612
2618
|
return !!(s.name || s.components && Object.keys(s.components).length || s.redirect);
|
|
2613
2619
|
}
|
|
2614
2620
|
function p2(s) {
|
|
@@ -2617,7 +2623,7 @@ function p2(s) {
|
|
|
2617
2623
|
return i;
|
|
2618
2624
|
const c = (s[0] === "?" ? s.slice(1) : s).split("&");
|
|
2619
2625
|
for (let f = 0; f < c.length; ++f) {
|
|
2620
|
-
const x = c[f].replace(
|
|
2626
|
+
const x = c[f].replace(t0, " "), v = x.indexOf("="), u = jl(v < 0 ? x : x.slice(0, v)), C = v < 0 ? null : jl(x.slice(v + 1));
|
|
2621
2627
|
if (u in i) {
|
|
2622
2628
|
let I = i[u];
|
|
2623
2629
|
ys(I) || (I = i[u] = [I]), I.push(C);
|
|
@@ -2626,11 +2632,11 @@ function p2(s) {
|
|
|
2626
2632
|
}
|
|
2627
2633
|
return i;
|
|
2628
2634
|
}
|
|
2629
|
-
function
|
|
2635
|
+
function Ay(s) {
|
|
2630
2636
|
let i = "";
|
|
2631
2637
|
for (let a in s) {
|
|
2632
2638
|
const c = s[a];
|
|
2633
|
-
if (a =
|
|
2639
|
+
if (a = Cw(a), c == null) {
|
|
2634
2640
|
c !== void 0 && (i += (i.length ? "&" : "") + a);
|
|
2635
2641
|
continue;
|
|
2636
2642
|
}
|
|
@@ -2648,7 +2654,7 @@ function f2(s) {
|
|
|
2648
2654
|
}
|
|
2649
2655
|
return i;
|
|
2650
2656
|
}
|
|
2651
|
-
const m2 = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""),
|
|
2657
|
+
const m2 = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""), Dy = Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : ""), Yf = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), u0 = Symbol(process.env.NODE_ENV !== "production" ? "route location" : ""), Pf = Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
2652
2658
|
function iu() {
|
|
2653
2659
|
let s = [];
|
|
2654
2660
|
function i(c) {
|
|
@@ -2718,7 +2724,7 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2718
2724
|
!C.__warnedDefineAsync && (C.__warnedDefineAsync = !0, jt(`Component "${u}" in record with path "${v.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
|
|
2719
2725
|
}
|
|
2720
2726
|
if (!(i !== "beforeRouteEnter" && !v.instances[u]))
|
|
2721
|
-
if (
|
|
2727
|
+
if (Q_(C)) {
|
|
2722
2728
|
const A = (C.__vccOpts || C)[i];
|
|
2723
2729
|
A && x.push(Oo(A, a, c, v, u, f));
|
|
2724
2730
|
} else {
|
|
@@ -2726,7 +2732,7 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2726
2732
|
process.env.NODE_ENV !== "production" && !("catch" in I) && (jt(`Component "${u}" in record with path "${v.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`), I = Promise.resolve(I)), x.push(() => I.then((A) => {
|
|
2727
2733
|
if (!A)
|
|
2728
2734
|
throw new Error(`Couldn't resolve component "${u}" at "${v.path}"`);
|
|
2729
|
-
const z =
|
|
2735
|
+
const z = _w(A) ? A.default : A;
|
|
2730
2736
|
v.mods[u] = A, v.components[u] = z;
|
|
2731
2737
|
const U = (z.__vccOpts || z)[i];
|
|
2732
2738
|
return U && Oo(U, a, c, v, u, f)();
|
|
@@ -2736,8 +2742,8 @@ function Gp(s, i, a, c, f = (x) => x()) {
|
|
|
2736
2742
|
}
|
|
2737
2743
|
return x;
|
|
2738
2744
|
}
|
|
2739
|
-
function
|
|
2740
|
-
const i = pu(Yf), a = pu(
|
|
2745
|
+
function zy(s) {
|
|
2746
|
+
const i = pu(Yf), a = pu(u0);
|
|
2741
2747
|
let c = !1, f = null;
|
|
2742
2748
|
const x = hr(() => {
|
|
2743
2749
|
const A = Ll(s.to);
|
|
@@ -2754,16 +2760,16 @@ function Dy(s) {
|
|
|
2754
2760
|
const G = U.findIndex(jo.bind(null, R));
|
|
2755
2761
|
if (G > -1)
|
|
2756
2762
|
return G;
|
|
2757
|
-
const ne =
|
|
2763
|
+
const ne = Ry(A[z - 2]);
|
|
2758
2764
|
return (
|
|
2759
2765
|
// we are dealing with nested routes
|
|
2760
2766
|
z > 1 && // if the parent and matched route have the same path, this link is
|
|
2761
2767
|
// referring to the empty child. Or we currently are on a different
|
|
2762
2768
|
// child of the same parent
|
|
2763
|
-
|
|
2769
|
+
Ry(R) === ne && // avoid comparing the child with its parent
|
|
2764
2770
|
U[U.length - 1].path !== ne ? U.findIndex(jo.bind(null, A[z - 2])) : G
|
|
2765
2771
|
);
|
|
2766
|
-
}), u = hr(() => v.value > -1 && x2(a.params, x.value.params)), C = hr(() => v.value > -1 && v.value === a.matched.length - 1 &&
|
|
2772
|
+
}), u = hr(() => v.value > -1 && x2(a.params, x.value.params)), C = hr(() => v.value > -1 && v.value === a.matched.length - 1 && r0(a.params, x.value.params));
|
|
2767
2773
|
function I(A = {}) {
|
|
2768
2774
|
return v2(A) ? i[Ll(s.replace) ? "replace" : "push"](
|
|
2769
2775
|
Ll(s.to)
|
|
@@ -2771,7 +2777,7 @@ function Dy(s) {
|
|
|
2771
2777
|
).catch(cu) : Promise.resolve();
|
|
2772
2778
|
}
|
|
2773
2779
|
if (process.env.NODE_ENV !== "production" && jr) {
|
|
2774
|
-
const A =
|
|
2780
|
+
const A = k_();
|
|
2775
2781
|
if (A) {
|
|
2776
2782
|
const z = {
|
|
2777
2783
|
route: x.value,
|
|
@@ -2779,7 +2785,7 @@ function Dy(s) {
|
|
|
2779
2785
|
isExactActive: C.value,
|
|
2780
2786
|
error: null
|
|
2781
2787
|
};
|
|
2782
|
-
A.__vrl_devtools = A.__vrl_devtools || [], A.__vrl_devtools.push(z),
|
|
2788
|
+
A.__vrl_devtools = A.__vrl_devtools || [], A.__vrl_devtools.push(z), Cb(() => {
|
|
2783
2789
|
z.route = x.value, z.isActive = u.value, z.isExactActive = C.value, z.error = Qh(Ll(s.to)) ? null : 'Invalid "to" value';
|
|
2784
2790
|
}, { flush: "post" });
|
|
2785
2791
|
}
|
|
@@ -2792,7 +2798,7 @@ function Dy(s) {
|
|
|
2792
2798
|
navigate: I
|
|
2793
2799
|
};
|
|
2794
2800
|
}
|
|
2795
|
-
const y2 = /* @__PURE__ */
|
|
2801
|
+
const y2 = /* @__PURE__ */ w_({
|
|
2796
2802
|
name: "RouterLink",
|
|
2797
2803
|
compatConfig: { MODE: 3 },
|
|
2798
2804
|
props: {
|
|
@@ -2810,20 +2816,20 @@ const y2 = /* @__PURE__ */ b_({
|
|
|
2810
2816
|
default: "page"
|
|
2811
2817
|
}
|
|
2812
2818
|
},
|
|
2813
|
-
useLink:
|
|
2819
|
+
useLink: zy,
|
|
2814
2820
|
setup(s, { slots: i }) {
|
|
2815
|
-
const a =
|
|
2816
|
-
[
|
|
2821
|
+
const a = Mb(zy(s)), { options: c } = pu(Yf), f = hr(() => ({
|
|
2822
|
+
[Ly(s.activeClass, c.linkActiveClass, "router-link-active")]: a.isActive,
|
|
2817
2823
|
// [getLinkClass(
|
|
2818
2824
|
// props.inactiveClass,
|
|
2819
2825
|
// options.linkInactiveClass,
|
|
2820
2826
|
// 'router-link-inactive'
|
|
2821
2827
|
// )]: !link.isExactActive,
|
|
2822
|
-
[
|
|
2828
|
+
[Ly(s.exactActiveClass, c.linkExactActiveClass, "router-link-exact-active")]: a.isExactActive
|
|
2823
2829
|
}));
|
|
2824
2830
|
return () => {
|
|
2825
2831
|
const x = i.default && i.default(a);
|
|
2826
|
-
return s.custom ? x :
|
|
2832
|
+
return s.custom ? x : S_("a", {
|
|
2827
2833
|
"aria-current": a.isExactActive ? s.ariaCurrentValue : null,
|
|
2828
2834
|
href: a.href,
|
|
2829
2835
|
// this would override user added attrs but Vue will still add
|
|
@@ -2855,10 +2861,10 @@ function x2(s, i) {
|
|
|
2855
2861
|
}
|
|
2856
2862
|
return !0;
|
|
2857
2863
|
}
|
|
2858
|
-
function
|
|
2864
|
+
function Ry(s) {
|
|
2859
2865
|
return s ? s.aliasOf ? s.aliasOf.path : s.path : "";
|
|
2860
2866
|
}
|
|
2861
|
-
const
|
|
2867
|
+
const Ly = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ w_({
|
|
2862
2868
|
name: "RouterView",
|
|
2863
2869
|
// #674 we manually inherit them
|
|
2864
2870
|
inheritAttrs: !1,
|
|
@@ -2874,7 +2880,7 @@ const Ry = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ b_({
|
|
|
2874
2880
|
compatConfig: { MODE: 3 },
|
|
2875
2881
|
setup(s, { attrs: i, slots: a }) {
|
|
2876
2882
|
process.env.NODE_ENV !== "production" && S2();
|
|
2877
|
-
const c = pu(Pf), f = hr(() => s.route || c.value), x = pu(
|
|
2883
|
+
const c = pu(Pf), f = hr(() => s.route || c.value), x = pu(Dy, 0), v = hr(() => {
|
|
2878
2884
|
let I = Ll(x);
|
|
2879
2885
|
const { matched: A } = f.value;
|
|
2880
2886
|
let z;
|
|
@@ -2882,17 +2888,17 @@ const Ry = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ b_({
|
|
|
2882
2888
|
I++;
|
|
2883
2889
|
return I;
|
|
2884
2890
|
}), u = hr(() => f.value.matched[v.value]);
|
|
2885
|
-
Vp(
|
|
2886
|
-
const C =
|
|
2887
|
-
return
|
|
2891
|
+
Vp(Dy, hr(() => v.value + 1)), Vp(m2, u), Vp(Pf, f);
|
|
2892
|
+
const C = Pb();
|
|
2893
|
+
return T_(() => [C.value, u.value, s.name], ([I, A, z], [R, U, G]) => {
|
|
2888
2894
|
A && (A.instances[z] = I, U && U !== A && I && I === R && (A.leaveGuards.size || (A.leaveGuards = U.leaveGuards), A.updateGuards.size || (A.updateGuards = U.updateGuards))), I && A && // if there is no instance but to and from are the same this might be
|
|
2889
2895
|
// the first visit
|
|
2890
2896
|
(!U || !jo(A, U) || !R) && (A.enterCallbacks[z] || []).forEach((ne) => ne(I));
|
|
2891
2897
|
}, { flush: "post" }), () => {
|
|
2892
2898
|
const I = f.value, A = s.name, z = u.value, R = z && z.components[A];
|
|
2893
2899
|
if (!R)
|
|
2894
|
-
return
|
|
2895
|
-
const U = z.props[A], G = U ? U === !0 ? I.params : typeof U == "function" ? U(I) : U : null, ce =
|
|
2900
|
+
return Oy(a.default, { Component: R, route: I });
|
|
2901
|
+
const U = z.props[A], G = U ? U === !0 ? I.params : typeof U == "function" ? U(I) : U : null, ce = S_(R, ai({}, G, i, {
|
|
2896
2902
|
onVnodeUnmounted: (de) => {
|
|
2897
2903
|
de.component.isUnmounted && (z.instances[A] = null);
|
|
2898
2904
|
},
|
|
@@ -2912,12 +2918,12 @@ const Ry = (s, i, a) => s ?? i ?? a, b2 = /* @__PURE__ */ b_({
|
|
|
2912
2918
|
return (
|
|
2913
2919
|
// pass the vnode to the slot as a prop.
|
|
2914
2920
|
// h and <component :is="..."> both accept vnodes
|
|
2915
|
-
|
|
2921
|
+
Oy(a.default, { Component: ce, route: I }) || ce
|
|
2916
2922
|
);
|
|
2917
2923
|
};
|
|
2918
2924
|
}
|
|
2919
2925
|
});
|
|
2920
|
-
function
|
|
2926
|
+
function Oy(s, i) {
|
|
2921
2927
|
if (!s)
|
|
2922
2928
|
return null;
|
|
2923
2929
|
const a = s(i);
|
|
@@ -2925,7 +2931,7 @@ function Ly(s, i) {
|
|
|
2925
2931
|
}
|
|
2926
2932
|
const w2 = b2;
|
|
2927
2933
|
function S2() {
|
|
2928
|
-
const s =
|
|
2934
|
+
const s = k_(), i = s.parent && s.parent.type.name, a = s.parent && s.parent.subTree && s.parent.subTree.type;
|
|
2929
2935
|
if (i && (i === "KeepAlive" || i.includes("Transition")) && typeof a == "object" && a.name === "RouterView") {
|
|
2930
2936
|
const c = i === "KeepAlive" ? "keep-alive" : "transition";
|
|
2931
2937
|
jt(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
@@ -2966,7 +2972,7 @@ function k2(s, i, a) {
|
|
|
2966
2972
|
return;
|
|
2967
2973
|
i.__hasDevtools = !0;
|
|
2968
2974
|
const c = T2++;
|
|
2969
|
-
|
|
2975
|
+
yw({
|
|
2970
2976
|
id: "org.vuejs.router" + (c ? "." + c : ""),
|
|
2971
2977
|
label: "Vue Router",
|
|
2972
2978
|
packageName: "vue-router",
|
|
@@ -2989,19 +2995,19 @@ function k2(s, i, a) {
|
|
|
2989
2995
|
label: (R.name ? `${R.name.toString()}: ` : "") + R.path,
|
|
2990
2996
|
textColor: 0,
|
|
2991
2997
|
tooltip: "This component is rendered by <router-view>",
|
|
2992
|
-
backgroundColor:
|
|
2998
|
+
backgroundColor: h0
|
|
2993
2999
|
});
|
|
2994
3000
|
}
|
|
2995
3001
|
ys(z.__vrl_devtools) && (z.__devtoolsApi = f, z.__vrl_devtools.forEach((R) => {
|
|
2996
|
-
let U = R.route.path, G =
|
|
2997
|
-
R.error ? (U = R.error, G = I2, ce = A2) : R.isExactActive ? (G =
|
|
3002
|
+
let U = R.route.path, G = f0, ne = "", ce = 0;
|
|
3003
|
+
R.error ? (U = R.error, G = I2, ce = A2) : R.isExactActive ? (G = p0, ne = "This is exactly active") : R.isActive && (G = d0, ne = "This link is active"), A.tags.push({
|
|
2998
3004
|
label: U,
|
|
2999
3005
|
textColor: ce,
|
|
3000
3006
|
tooltip: ne,
|
|
3001
3007
|
backgroundColor: G
|
|
3002
3008
|
});
|
|
3003
3009
|
}));
|
|
3004
|
-
}),
|
|
3010
|
+
}), T_(i.currentRoute, () => {
|
|
3005
3011
|
C(), f.notifyComponentUpdate(), f.sendInspectorTree(u), f.sendInspectorState(u);
|
|
3006
3012
|
});
|
|
3007
3013
|
const x = "router:navigations:" + c;
|
|
@@ -3079,10 +3085,10 @@ function k2(s, i, a) {
|
|
|
3079
3085
|
let z = a.getRoutes().filter((R) => !R.parent || // these routes have a parent with no component which will not appear in the view
|
|
3080
3086
|
// therefore we still need to include them
|
|
3081
3087
|
!R.parent.record.components);
|
|
3082
|
-
z.forEach(
|
|
3088
|
+
z.forEach(y0), A.filter && (z = z.filter((R) => (
|
|
3083
3089
|
// save matches state based on the payload
|
|
3084
3090
|
Cf(R, A.filter.toLowerCase())
|
|
3085
|
-
))), z.forEach((R) =>
|
|
3091
|
+
))), z.forEach((R) => g0(R, i.currentRoute.value)), A.rootNodes = z.map(m0);
|
|
3086
3092
|
}
|
|
3087
3093
|
let I;
|
|
3088
3094
|
f.on.getInspectorTree((A) => {
|
|
@@ -3146,8 +3152,8 @@ function M2(s) {
|
|
|
3146
3152
|
}
|
|
3147
3153
|
}), a;
|
|
3148
3154
|
}
|
|
3149
|
-
const
|
|
3150
|
-
function
|
|
3155
|
+
const h0 = 15485081, d0 = 2450411, p0 = 8702998, P2 = 2282478, f0 = 16486972, C2 = 6710886, I2 = 16704226, A2 = 12131356;
|
|
3156
|
+
function m0(s) {
|
|
3151
3157
|
const i = [], { record: a } = s;
|
|
3152
3158
|
a.name != null && i.push({
|
|
3153
3159
|
label: String(a.name),
|
|
@@ -3156,19 +3162,19 @@ function f0(s) {
|
|
|
3156
3162
|
}), a.aliasOf && i.push({
|
|
3157
3163
|
label: "alias",
|
|
3158
3164
|
textColor: 0,
|
|
3159
|
-
backgroundColor:
|
|
3165
|
+
backgroundColor: f0
|
|
3160
3166
|
}), s.__vd_match && i.push({
|
|
3161
3167
|
label: "matches",
|
|
3162
3168
|
textColor: 0,
|
|
3163
|
-
backgroundColor:
|
|
3169
|
+
backgroundColor: h0
|
|
3164
3170
|
}), s.__vd_exactActive && i.push({
|
|
3165
3171
|
label: "exact",
|
|
3166
3172
|
textColor: 0,
|
|
3167
|
-
backgroundColor:
|
|
3173
|
+
backgroundColor: p0
|
|
3168
3174
|
}), s.__vd_active && i.push({
|
|
3169
3175
|
label: "active",
|
|
3170
3176
|
textColor: 0,
|
|
3171
|
-
backgroundColor:
|
|
3177
|
+
backgroundColor: d0
|
|
3172
3178
|
}), a.redirect && i.push({
|
|
3173
3179
|
label: typeof a.redirect == "string" ? `redirect: ${a.redirect}` : "redirects",
|
|
3174
3180
|
textColor: 16777215,
|
|
@@ -3179,17 +3185,17 @@ function f0(s) {
|
|
|
3179
3185
|
id: c,
|
|
3180
3186
|
label: a.path,
|
|
3181
3187
|
tags: i,
|
|
3182
|
-
children: s.children.map(
|
|
3188
|
+
children: s.children.map(m0)
|
|
3183
3189
|
};
|
|
3184
3190
|
}
|
|
3185
3191
|
let D2 = 0;
|
|
3186
3192
|
const z2 = /^\/(.*)\/([a-z]*)$/;
|
|
3187
|
-
function
|
|
3193
|
+
function g0(s, i) {
|
|
3188
3194
|
const a = i.matched.length && jo(i.matched[i.matched.length - 1], s.record);
|
|
3189
|
-
s.__vd_exactActive = s.__vd_active = a, a || (s.__vd_active = i.matched.some((c) => jo(c, s.record))), s.children.forEach((c) =>
|
|
3195
|
+
s.__vd_exactActive = s.__vd_active = a, a || (s.__vd_active = i.matched.some((c) => jo(c, s.record))), s.children.forEach((c) => g0(c, i));
|
|
3190
3196
|
}
|
|
3191
|
-
function
|
|
3192
|
-
s.__vd_match = !1, s.children.forEach(
|
|
3197
|
+
function y0(s) {
|
|
3198
|
+
s.__vd_match = !1, s.children.forEach(y0);
|
|
3193
3199
|
}
|
|
3194
3200
|
function Cf(s, i) {
|
|
3195
3201
|
const a = String(s.re).match(z2);
|
|
@@ -3207,19 +3213,19 @@ function R2(s, i) {
|
|
|
3207
3213
|
return a;
|
|
3208
3214
|
}
|
|
3209
3215
|
function L2(s) {
|
|
3210
|
-
const i =
|
|
3216
|
+
const i = r2(s.routes, s), a = s.parseQuery || p2, c = s.stringifyQuery || Ay, f = s.history;
|
|
3211
3217
|
if (process.env.NODE_ENV !== "production" && !f)
|
|
3212
3218
|
throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');
|
|
3213
|
-
const x = iu(), v = iu(), u = iu(), C =
|
|
3219
|
+
const x = iu(), v = iu(), u = iu(), C = Tb(Ro);
|
|
3214
3220
|
let I = Ro;
|
|
3215
3221
|
jr && s.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
|
|
3216
|
-
const A = Zp.bind(null, (Te) => "" + Te), z = Zp.bind(null,
|
|
3222
|
+
const A = Zp.bind(null, (Te) => "" + Te), z = Zp.bind(null, Aw), R = (
|
|
3217
3223
|
// @ts-expect-error: intentionally avoid the type check
|
|
3218
3224
|
Zp.bind(null, jl)
|
|
3219
3225
|
);
|
|
3220
3226
|
function U(Te, qe) {
|
|
3221
3227
|
let Ze, rt;
|
|
3222
|
-
return
|
|
3228
|
+
return a0(Te) ? (Ze = i.getRecordMatcher(Te), process.env.NODE_ENV !== "production" && !Ze && jt(`Parent route "${String(Te)}" not found when adding child route`, qe), rt = qe) : rt = Te, i.addRoute(rt, Ze);
|
|
3223
3229
|
}
|
|
3224
3230
|
function G(Te) {
|
|
3225
3231
|
const qe = i.getRecordMatcher(Te);
|
|
@@ -3260,8 +3266,8 @@ function L2(s) {
|
|
|
3260
3266
|
}
|
|
3261
3267
|
const rt = i.resolve(Ze, qe), Nt = Te.hash || "";
|
|
3262
3268
|
process.env.NODE_ENV !== "production" && Nt && !Nt.startsWith("#") && jt(`A \`hash\` should always start with the character "#". Replace "${Nt}" with "#${Nt}".`), rt.params = A(R(rt.params));
|
|
3263
|
-
const Jt =
|
|
3264
|
-
hash:
|
|
3269
|
+
const Jt = Rw(c, ai({}, Te, {
|
|
3270
|
+
hash: Pw(Nt),
|
|
3265
3271
|
path: rt.path
|
|
3266
3272
|
})), Tt = f.createHref(Jt);
|
|
3267
3273
|
return process.env.NODE_ENV !== "production" && (Tt.startsWith("//") ? jt(`Location "${Te}" resolved to "${Tt}". A resolved location cannot start with multiple slashes.`) : rt.matched.length || jt(`No match found for location with path "${Te.path != null ? Te.path : Te}"`)), ai({
|
|
@@ -3275,7 +3281,7 @@ function L2(s) {
|
|
|
3275
3281
|
// numbers at `$route.query`, but at the point, the user will have to
|
|
3276
3282
|
// use their own type anyway.
|
|
3277
3283
|
// https://github.com/vuejs/router/issues/328#issuecomment-649481567
|
|
3278
|
-
c ===
|
|
3284
|
+
c === Ay ? f2(Te.query) : Te.query || {}
|
|
3279
3285
|
)
|
|
3280
3286
|
}, rt, {
|
|
3281
3287
|
redirectedFrom: void 0,
|
|
@@ -3457,7 +3463,7 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3457
3463
|
}
|
|
3458
3464
|
I = rt;
|
|
3459
3465
|
const Jt = C.value;
|
|
3460
|
-
jr &&
|
|
3466
|
+
jr && $w(wy(Jt.fullPath, Ze.delta), fd()), Bt(rt, Jt).catch((Tt) => Lr(
|
|
3461
3467
|
Tt,
|
|
3462
3468
|
12
|
|
3463
3469
|
/* ErrorTypes.NAVIGATION_CANCELLED */
|
|
@@ -3513,8 +3519,8 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3513
3519
|
const { scrollBehavior: Nt } = s;
|
|
3514
3520
|
if (!jr || !Nt)
|
|
3515
3521
|
return Promise.resolve();
|
|
3516
|
-
const Jt = !Ze &&
|
|
3517
|
-
return
|
|
3522
|
+
const Jt = !Ze && Uw(wy(Te.fullPath, 0)) || (rt || !Ze) && history.state && history.state.scroll || null;
|
|
3523
|
+
return Eb().then(() => Nt(Te, qe, Jt)).then((Tt) => Tt && Vw(Tt)).catch((Tt) => vs(Tt, Te, qe));
|
|
3518
3524
|
}
|
|
3519
3525
|
const ln = (Te) => f.go(Te);
|
|
3520
3526
|
let xs;
|
|
@@ -3554,7 +3560,7 @@ ${JSON.stringify(rt, null, 2)}
|
|
|
3554
3560
|
get: () => C.value[Nt],
|
|
3555
3561
|
enumerable: !0
|
|
3556
3562
|
});
|
|
3557
|
-
Te.provide(Yf, qe), Te.provide(
|
|
3563
|
+
Te.provide(Yf, qe), Te.provide(u0, kb(Ze)), Te.provide(Pf, C);
|
|
3558
3564
|
const rt = Te.unmount;
|
|
3559
3565
|
Cn.add(Te), Te.unmount = function() {
|
|
3560
3566
|
Cn.delete(Te), Cn.size < 1 && (I = Ro, Dt && Dt(), Dt = null, C.value = Ro, xs = !1, qi = !1), rt();
|
|
@@ -3577,17 +3583,17 @@ function O2(s, i) {
|
|
|
3577
3583
|
return [a, c, f];
|
|
3578
3584
|
}
|
|
3579
3585
|
const F2 = [
|
|
3580
|
-
{ name: "edit", path: "/edit", component: () => import("./edit-page-
|
|
3581
|
-
{ name: "add", path: "/add", component: () => import("./add-page-
|
|
3586
|
+
{ name: "edit", path: "/edit", component: () => import("./edit-page-C6mgpZBS.js") },
|
|
3587
|
+
{ name: "add", path: "/add", component: () => import("./add-page-DU60zL6t.js") },
|
|
3582
3588
|
{
|
|
3583
3589
|
name: "card-view",
|
|
3584
3590
|
path: "/card",
|
|
3585
|
-
component: () => import("./card-view-
|
|
3591
|
+
component: () => import("./card-view-CwZPYXyJ.js"),
|
|
3586
3592
|
children: [{
|
|
3587
3593
|
name: "table",
|
|
3588
3594
|
path: ":table",
|
|
3589
|
-
component: () => import("./card-view-
|
|
3590
|
-
children: [{ name: "card", path: ":id", component: () => import("./card-page-
|
|
3595
|
+
component: () => import("./card-view-CwZPYXyJ.js"),
|
|
3596
|
+
children: [{ name: "card", path: ":id", component: () => import("./card-page-ZWU3SEtH.js") }]
|
|
3591
3597
|
}]
|
|
3592
3598
|
}
|
|
3593
3599
|
], 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" };
|
|
@@ -3625,7 +3631,7 @@ const $2 = /* @__PURE__ */ Xi(B2, [["render", V2]]), U2 = (s) => {
|
|
|
3625
3631
|
}));
|
|
3626
3632
|
return {
|
|
3627
3633
|
router: L2({
|
|
3628
|
-
history:
|
|
3634
|
+
history: Ww(),
|
|
3629
3635
|
routes: [
|
|
3630
3636
|
{
|
|
3631
3637
|
path: "/404",
|
|
@@ -3635,13 +3641,13 @@ const $2 = /* @__PURE__ */ Xi(B2, [["render", V2]]), U2 = (s) => {
|
|
|
3635
3641
|
{
|
|
3636
3642
|
path: "/",
|
|
3637
3643
|
name: "global",
|
|
3638
|
-
component: () => import("./admin-view-
|
|
3644
|
+
component: () => import("./admin-view-CfY_rVQ4.js"),
|
|
3639
3645
|
children: [
|
|
3640
3646
|
...i,
|
|
3641
3647
|
...s,
|
|
3642
3648
|
{
|
|
3643
3649
|
path: "/:catchAll(.*)",
|
|
3644
|
-
component: () => import("./admin-interface-
|
|
3650
|
+
component: () => import("./admin-interface-gm773DzD.js")
|
|
3645
3651
|
}
|
|
3646
3652
|
]
|
|
3647
3653
|
}
|
|
@@ -3663,7 +3669,7 @@ const $2 = /* @__PURE__ */ Xi(B2, [["render", V2]]), U2 = (s) => {
|
|
|
3663
3669
|
function H2(s, i, a, c, f, x) {
|
|
3664
3670
|
return ht(), _t("div", null, bi(a.value), 1);
|
|
3665
3671
|
}
|
|
3666
|
-
const
|
|
3672
|
+
const Fy = /* @__PURE__ */ Xi(q2, [["render", H2]]), Z2 = {
|
|
3667
3673
|
props: {
|
|
3668
3674
|
value: {
|
|
3669
3675
|
type: [String, Number],
|
|
@@ -3743,7 +3749,7 @@ function sS(s, i, a, c, f, x) {
|
|
|
3743
3749
|
})) : (ht(), _t("div", nS))
|
|
3744
3750
|
]);
|
|
3745
3751
|
}
|
|
3746
|
-
const
|
|
3752
|
+
const By = /* @__PURE__ */ Xi(tS, [["render", sS]]), rS = {
|
|
3747
3753
|
props: {
|
|
3748
3754
|
data: Object,
|
|
3749
3755
|
name: String
|
|
@@ -3764,19 +3770,19 @@ function uS(s, i, a, c, f, x) {
|
|
|
3764
3770
|
}
|
|
3765
3771
|
const hS = /* @__PURE__ */ Xi(rS, [["render", uS]]), dS = {
|
|
3766
3772
|
// formats
|
|
3767
|
-
"table-format-text":
|
|
3773
|
+
"table-format-text": Fy,
|
|
3768
3774
|
"table-format-select": hS,
|
|
3769
3775
|
"table-format-badge": X2,
|
|
3770
|
-
"table-format-swetch":
|
|
3771
|
-
"table-format-check":
|
|
3772
|
-
"table-format-html":
|
|
3773
|
-
},
|
|
3776
|
+
"table-format-swetch": By,
|
|
3777
|
+
"table-format-check": By,
|
|
3778
|
+
"table-format-html": Fy
|
|
3779
|
+
}, _0 = (s) => {
|
|
3774
3780
|
const i = [];
|
|
3775
3781
|
return s.forEach((a) => {
|
|
3776
|
-
a.menu ? i.push(...
|
|
3782
|
+
a.menu ? i.push(..._0(a.menu)) : i.push(a);
|
|
3777
3783
|
}), i;
|
|
3778
3784
|
};
|
|
3779
|
-
function
|
|
3785
|
+
function v0(s, i, a) {
|
|
3780
3786
|
if (s !== null)
|
|
3781
3787
|
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++) {
|
|
3782
3788
|
I = G ? s.features[de].geometry : ne ? s.geometry : s, R = I ? I.type === "GeometryCollection" : !1, u = R ? I.geometries.length : 1;
|
|
@@ -3853,7 +3859,7 @@ function _0(s, i, a) {
|
|
|
3853
3859
|
break;
|
|
3854
3860
|
case "GeometryCollection":
|
|
3855
3861
|
for (c = 0; c < v.geometries.length; c++)
|
|
3856
|
-
if (
|
|
3862
|
+
if (v0(v.geometries[c], i) === !1)
|
|
3857
3863
|
return !1;
|
|
3858
3864
|
break;
|
|
3859
3865
|
default:
|
|
@@ -3863,11 +3869,11 @@ function _0(s, i, a) {
|
|
|
3863
3869
|
}
|
|
3864
3870
|
}
|
|
3865
3871
|
}
|
|
3866
|
-
function
|
|
3872
|
+
function x0(s, i = {}) {
|
|
3867
3873
|
if (s.bbox != null && i.recompute !== !0)
|
|
3868
3874
|
return s.bbox;
|
|
3869
3875
|
const a = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
3870
|
-
return
|
|
3876
|
+
return v0(s, (c) => {
|
|
3871
3877
|
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]);
|
|
3872
3878
|
}), a;
|
|
3873
3879
|
}
|
|
@@ -3879,11 +3885,11 @@ function mS(s, i, a = {}) {
|
|
|
3879
3885
|
const c = { type: "Feature" };
|
|
3880
3886
|
return (a.id === 0 || a.id) && (c.id = a.id), a.bbox && (c.bbox = a.bbox), c.properties = {}, c.geometry = s, c;
|
|
3881
3887
|
}
|
|
3882
|
-
function
|
|
3888
|
+
function Ny(s, i = {}) {
|
|
3883
3889
|
const a = { type: "FeatureCollection" };
|
|
3884
3890
|
return i.id && (a.id = i.id), i.bbox && (a.bbox = i.bbox), a.features = s, a;
|
|
3885
3891
|
}
|
|
3886
|
-
var
|
|
3892
|
+
var b0 = { exports: {} };
|
|
3887
3893
|
/**
|
|
3888
3894
|
* MapLibre GL JS
|
|
3889
3895
|
* @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.7.0/LICENSE.txt
|
|
@@ -5313,7 +5319,7 @@ var x0 = { exports: {} };
|
|
|
5313
5319
|
}
|
|
5314
5320
|
function io(n, t, r) {
|
|
5315
5321
|
const l = n !== "==" && n !== "!=";
|
|
5316
|
-
return class
|
|
5322
|
+
return class w0 {
|
|
5317
5323
|
constructor(y, _, b) {
|
|
5318
5324
|
this.type = pt, this.lhs = y, this.rhs = _, this.collator = b, this.hasUntypedArgument = y.type.kind === "value" || _.type.kind === "value";
|
|
5319
5325
|
}
|
|
@@ -5333,7 +5339,7 @@ var x0 = { exports: {} };
|
|
|
5333
5339
|
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.");
|
|
5334
5340
|
if (M = _.parse(y[3], 3, Ss), !M) return null;
|
|
5335
5341
|
}
|
|
5336
|
-
return new
|
|
5342
|
+
return new w0(S, E, M);
|
|
5337
5343
|
}
|
|
5338
5344
|
evaluate(y) {
|
|
5339
5345
|
const _ = this.lhs.evaluate(y), b = this.rhs.evaluate(y);
|
|
@@ -8226,7 +8232,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8226
8232
|
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));
|
|
8227
8233
|
}
|
|
8228
8234
|
}
|
|
8229
|
-
const
|
|
8235
|
+
const Dv = new Float32Array(16);
|
|
8230
8236
|
function Qd(n) {
|
|
8231
8237
|
return [Ir(255 * n.r, 255 * n.g), Ir(255 * n.b, 255 * n.a)];
|
|
8232
8238
|
}
|
|
@@ -8350,7 +8356,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8350
8356
|
if (!l(y)) continue;
|
|
8351
8357
|
const _ = t.paint.get(y);
|
|
8352
8358
|
if (!(_ instanceof Ms && ao(_.property.specification))) continue;
|
|
8353
|
-
const b =
|
|
8359
|
+
const b = zv(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";
|
|
8354
8360
|
if (S.kind === "constant") this.binders[y] = F ? new fl(S.value, b) : new Fc(S.value, b, E), p.push(`/u_${y}`);
|
|
8355
8361
|
else if (S.kind === "source" || F) {
|
|
8356
8362
|
const j = Tm(y, E, "source");
|
|
@@ -8489,7 +8495,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8489
8495
|
for (const t in this.programConfigurations) this.programConfigurations[t].destroy();
|
|
8490
8496
|
}
|
|
8491
8497
|
}
|
|
8492
|
-
function
|
|
8498
|
+
function zv(n, t) {
|
|
8493
8499
|
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, "_")];
|
|
8494
8500
|
}
|
|
8495
8501
|
function Tm(n, t, r) {
|
|
@@ -8567,7 +8573,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8567
8573
|
for (let r = 0; r < t.length; r++) if (ml(n, t[r])) return !0;
|
|
8568
8574
|
return !!ip(n, t);
|
|
8569
8575
|
}
|
|
8570
|
-
function
|
|
8576
|
+
function Rv(n, t, r) {
|
|
8571
8577
|
return !!ml(n, t) || !!np(t, n, r);
|
|
8572
8578
|
}
|
|
8573
8579
|
function Mm(n, t) {
|
|
@@ -8580,7 +8586,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8580
8586
|
for (let r = 0; r < t.length; r++) if (ip(n, t[r])) return !0;
|
|
8581
8587
|
return !1;
|
|
8582
8588
|
}
|
|
8583
|
-
function
|
|
8589
|
+
function Lv(n, t, r) {
|
|
8584
8590
|
if (n.length > 1) {
|
|
8585
8591
|
if (ip(n, t)) return !0;
|
|
8586
8592
|
for (let l = 0; l < t.length; l++) if (np(t[l], n, r)) return !0;
|
|
@@ -8592,11 +8598,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8592
8598
|
if (n.length === 0 || t.length === 0) return !1;
|
|
8593
8599
|
for (let r = 0; r < n.length - 1; r++) {
|
|
8594
8600
|
const l = n[r], p = n[r + 1];
|
|
8595
|
-
for (let y = 0; y < t.length - 1; y++) if (
|
|
8601
|
+
for (let y = 0; y < t.length - 1; y++) if (Ov(l, p, t[y], t[y + 1])) return !0;
|
|
8596
8602
|
}
|
|
8597
8603
|
return !1;
|
|
8598
8604
|
}
|
|
8599
|
-
function
|
|
8605
|
+
function Ov(n, t, r, l) {
|
|
8600
8606
|
return pi(n, r, l) !== pi(t, r, l) && pi(n, t, r) !== pi(n, t, l);
|
|
8601
8607
|
}
|
|
8602
8608
|
function np(n, t, r) {
|
|
@@ -8627,7 +8633,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8627
8633
|
}
|
|
8628
8634
|
return r;
|
|
8629
8635
|
}
|
|
8630
|
-
function
|
|
8636
|
+
function Fv(n, t, r) {
|
|
8631
8637
|
const l = r[0], p = r[2];
|
|
8632
8638
|
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;
|
|
8633
8639
|
const y = pi(n, t, r[0]);
|
|
@@ -8650,7 +8656,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8650
8656
|
}
|
|
8651
8657
|
let Im, Am;
|
|
8652
8658
|
Ye("CircleBucket", tp, { omit: ["layers"] });
|
|
8653
|
-
var
|
|
8659
|
+
var Bv = { get paint() {
|
|
8654
8660
|
return Am = Am || new g({ "circle-radius": new ut(ve.paint_circle["circle-radius"]), "circle-color": new ut(ve.paint_circle["circle-color"]), "circle-blur": new ut(ve.paint_circle["circle-blur"]), "circle-opacity": new ut(ve.paint_circle["circle-opacity"]), "circle-translate": new Qe(ve.paint_circle["circle-translate"]), "circle-translate-anchor": new Qe(ve.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new Qe(ve.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new Qe(ve.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new ut(ve.paint_circle["circle-stroke-width"]), "circle-stroke-color": new ut(ve.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new ut(ve.paint_circle["circle-stroke-opacity"]) });
|
|
8655
8661
|
}, get layout() {
|
|
8656
8662
|
return Im = Im || new g({ "circle-sort-key": new ut(ve.layout_circle["circle-sort-key"]) });
|
|
@@ -8666,15 +8672,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8666
8672
|
for (var n = 0, t = arguments.length; t--; ) n += arguments[t] * arguments[t];
|
|
8667
8673
|
return Math.sqrt(n);
|
|
8668
8674
|
});
|
|
8669
|
-
var Nc,
|
|
8675
|
+
var Nc, Nv = Dm;
|
|
8670
8676
|
function fh(n, t, r) {
|
|
8671
8677
|
var l = t[0], p = t[1], y = t[2], _ = t[3];
|
|
8672
8678
|
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;
|
|
8673
8679
|
}
|
|
8674
8680
|
Nc = new gl(4), gl != Float32Array && (Nc[0] = 0, Nc[1] = 0, Nc[2] = 0, Nc[3] = 0);
|
|
8675
|
-
class
|
|
8681
|
+
class jv extends o {
|
|
8676
8682
|
constructor(t) {
|
|
8677
|
-
super(t,
|
|
8683
|
+
super(t, Bv);
|
|
8678
8684
|
}
|
|
8679
8685
|
createBucket(t) {
|
|
8680
8686
|
return new tp(t);
|
|
@@ -8691,7 +8697,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8691
8697
|
const X = D ? q : zm(q, S);
|
|
8692
8698
|
let ee = j;
|
|
8693
8699
|
const ge = fh([], [q.x, q.y, 0, 1], S);
|
|
8694
|
-
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]),
|
|
8700
|
+
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]), Rv(F, X, ee)) return !0;
|
|
8695
8701
|
}
|
|
8696
8702
|
return !1;
|
|
8697
8703
|
}
|
|
@@ -8704,7 +8710,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8704
8710
|
}
|
|
8705
8711
|
let Lm;
|
|
8706
8712
|
Ye("HeatmapBucket", Rm, { omit: ["layers"] });
|
|
8707
|
-
var
|
|
8713
|
+
var Vv = { get paint() {
|
|
8708
8714
|
return Lm = Lm || new g({ "heatmap-radius": new ut(ve.paint_heatmap["heatmap-radius"]), "heatmap-weight": new ut(ve.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new Qe(ve.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Lc(ve.paint_heatmap["heatmap-color"]), "heatmap-opacity": new Qe(ve.paint_heatmap["heatmap-opacity"]) });
|
|
8709
8715
|
} };
|
|
8710
8716
|
function rp(n, { width: t, height: r }, l, p) {
|
|
@@ -8779,12 +8785,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8779
8785
|
}
|
|
8780
8786
|
Ye("AlphaImage", jc), Ye("RGBAImage", hs);
|
|
8781
8787
|
const ap = "big-fb";
|
|
8782
|
-
class
|
|
8788
|
+
class $v extends o {
|
|
8783
8789
|
createBucket(t) {
|
|
8784
8790
|
return new Rm(t);
|
|
8785
8791
|
}
|
|
8786
8792
|
constructor(t) {
|
|
8787
|
-
super(t,
|
|
8793
|
+
super(t, Vv), this.heatmapFbos = /* @__PURE__ */ new Map(), this._updateColorRamp();
|
|
8788
8794
|
}
|
|
8789
8795
|
_handleSpecialPaintPropertyUpdate(t) {
|
|
8790
8796
|
t === "heatmap-color" && this._updateColorRamp();
|
|
@@ -8806,18 +8812,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8806
8812
|
}
|
|
8807
8813
|
}
|
|
8808
8814
|
let Bm;
|
|
8809
|
-
var
|
|
8815
|
+
var Uv = { get paint() {
|
|
8810
8816
|
return Bm = Bm || 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"]) });
|
|
8811
8817
|
} };
|
|
8812
|
-
class
|
|
8818
|
+
class qv extends o {
|
|
8813
8819
|
constructor(t) {
|
|
8814
|
-
super(t,
|
|
8820
|
+
super(t, Uv);
|
|
8815
8821
|
}
|
|
8816
8822
|
hasOffscreenPass() {
|
|
8817
8823
|
return this.paint.get("hillshade-exaggeration") !== 0 && this.visibility !== "none";
|
|
8818
8824
|
}
|
|
8819
8825
|
}
|
|
8820
|
-
const
|
|
8826
|
+
const Hv = w([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: Zv } = Hv;
|
|
8821
8827
|
function Nm(n, t, r = 2) {
|
|
8822
8828
|
const l = t && t.length, p = l ? t[0] * r : n.length;
|
|
8823
8829
|
let y = jm(n, 0, p, r, !0);
|
|
@@ -8828,10 +8834,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8828
8834
|
const $ = [];
|
|
8829
8835
|
for (let q = 0, X = D.length; q < X; q++) {
|
|
8830
8836
|
const ee = jm(M, D[q] * j, q < X - 1 ? D[q + 1] * j : M.length, j, !1);
|
|
8831
|
-
ee === ee.next && (ee.steiner = !0), $.push(
|
|
8837
|
+
ee === ee.next && (ee.steiner = !0), $.push(ex(ee));
|
|
8832
8838
|
}
|
|
8833
|
-
$.sort(
|
|
8834
|
-
for (let q = 0; q < $.length; q++) F =
|
|
8839
|
+
$.sort(Kv);
|
|
8840
|
+
for (let q = 0; q < $.length; q++) F = Jv($[q], F);
|
|
8835
8841
|
return F;
|
|
8836
8842
|
}(n, t, y, r)), n.length > 80 * r) {
|
|
8837
8843
|
b = 1 / 0, S = 1 / 0;
|
|
@@ -8895,14 +8901,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8895
8901
|
let b = n;
|
|
8896
8902
|
for (; n.prev !== n.next; ) {
|
|
8897
8903
|
const S = n.prev, E = n.next;
|
|
8898
|
-
if (y ?
|
|
8904
|
+
if (y ? Gv(n, l, p, y) : Wv(n)) t.push(S.i, n.i, E.i), Uc(n), n = E.next, b = E.next;
|
|
8899
8905
|
else if ((n = E) === b) {
|
|
8900
|
-
_ ? _ === 1 ? Vc(n =
|
|
8906
|
+
_ ? _ === 1 ? Vc(n = Yv(fa(n), t), t, r, l, p, y, 2) : _ === 2 && Xv(n, t, r, l, p, y) : Vc(fa(n), t, r, l, p, y, 1);
|
|
8901
8907
|
break;
|
|
8902
8908
|
}
|
|
8903
8909
|
}
|
|
8904
8910
|
}
|
|
8905
|
-
function
|
|
8911
|
+
function Wv(n) {
|
|
8906
8912
|
const t = n.prev, r = n, l = n.next;
|
|
8907
8913
|
if (zi(t, r, l) >= 0) return !1;
|
|
8908
8914
|
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;
|
|
@@ -8913,7 +8919,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8913
8919
|
}
|
|
8914
8920
|
return !0;
|
|
8915
8921
|
}
|
|
8916
|
-
function
|
|
8922
|
+
function Gv(n, t, r, l) {
|
|
8917
8923
|
const p = n.prev, y = n, _ = n.next;
|
|
8918
8924
|
if (zi(p, y, _) >= 0) return !1;
|
|
8919
8925
|
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);
|
|
@@ -8932,7 +8938,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8932
8938
|
}
|
|
8933
8939
|
return !0;
|
|
8934
8940
|
}
|
|
8935
|
-
function
|
|
8941
|
+
function Yv(n, t) {
|
|
8936
8942
|
let r = n;
|
|
8937
8943
|
do {
|
|
8938
8944
|
const l = r.prev, p = r.next.next;
|
|
@@ -8940,12 +8946,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8940
8946
|
} while (r !== n);
|
|
8941
8947
|
return fa(r);
|
|
8942
8948
|
}
|
|
8943
|
-
function
|
|
8949
|
+
function Xv(n, t, r, l, p, y) {
|
|
8944
8950
|
let _ = n;
|
|
8945
8951
|
do {
|
|
8946
8952
|
let b = _.next.next;
|
|
8947
8953
|
for (; b !== _.prev; ) {
|
|
8948
|
-
if (_.i !== b.i &&
|
|
8954
|
+
if (_.i !== b.i && tx(_, b)) {
|
|
8949
8955
|
let S = $m(_, b);
|
|
8950
8956
|
return _ = fa(_, _.next), S = fa(S, S.next), Vc(_, t, r, l, p, y, 0), void Vc(S, t, r, l, p, y, 0);
|
|
8951
8957
|
}
|
|
@@ -8954,10 +8960,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8954
8960
|
_ = _.next;
|
|
8955
8961
|
} while (_ !== n);
|
|
8956
8962
|
}
|
|
8957
|
-
function
|
|
8963
|
+
function Kv(n, t) {
|
|
8958
8964
|
return n.x - t.x;
|
|
8959
8965
|
}
|
|
8960
|
-
function
|
|
8966
|
+
function Jv(n, t) {
|
|
8961
8967
|
const r = function(p, y) {
|
|
8962
8968
|
let _ = y;
|
|
8963
8969
|
const b = p.x, S = p.y;
|
|
@@ -8976,7 +8982,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8976
8982
|
do {
|
|
8977
8983
|
if (b >= _.x && _.x >= F && b !== _.x && yl(S < j ? b : M, S, F, j, S < j ? M : b, S, _.x, _.y)) {
|
|
8978
8984
|
const q = Math.abs(S - _.y) / (b - _.x);
|
|
8979
|
-
$c(_, p) && (q < $ || q === $ && (_.x > E.x || _.x === E.x &&
|
|
8985
|
+
$c(_, p) && (q < $ || q === $ && (_.x > E.x || _.x === E.x && Qv(E, _))) && (E = _, $ = q);
|
|
8980
8986
|
}
|
|
8981
8987
|
_ = _.next;
|
|
8982
8988
|
} while (_ !== D);
|
|
@@ -8986,13 +8992,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
8986
8992
|
const l = $m(r, n);
|
|
8987
8993
|
return fa(l, l.next), fa(r, r.next);
|
|
8988
8994
|
}
|
|
8989
|
-
function
|
|
8995
|
+
function Qv(n, t) {
|
|
8990
8996
|
return zi(n.prev, n, t.prev) < 0 && zi(t.next, n, n.next) < 0;
|
|
8991
8997
|
}
|
|
8992
8998
|
function lp(n, t, r, l, p) {
|
|
8993
8999
|
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;
|
|
8994
9000
|
}
|
|
8995
|
-
function
|
|
9001
|
+
function ex(n) {
|
|
8996
9002
|
let t = n, r = n;
|
|
8997
9003
|
do
|
|
8998
9004
|
(t.x < r.x || t.x === r.x && t.y < r.y) && (r = t), t = t.next;
|
|
@@ -9002,7 +9008,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9002
9008
|
function yl(n, t, r, l, p, y, _, b) {
|
|
9003
9009
|
return (p - _) * (t - b) >= (n - _) * (y - b) && (n - _) * (l - b) >= (r - _) * (t - b) && (r - _) * (y - b) >= (p - _) * (l - b);
|
|
9004
9010
|
}
|
|
9005
|
-
function
|
|
9011
|
+
function tx(n, t) {
|
|
9006
9012
|
return n.next.i !== t.i && n.prev.i !== t.i && !function(r, l) {
|
|
9007
9013
|
let p = r;
|
|
9008
9014
|
do {
|
|
@@ -9110,7 +9116,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9110
9116
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
9111
9117
|
}
|
|
9112
9118
|
upload(t) {
|
|
9113
|
-
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
9119
|
+
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, Zv), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.indexBuffer2 = t.createIndexBuffer(this.indexArray2)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
9114
9120
|
}
|
|
9115
9121
|
destroy() {
|
|
9116
9122
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.indexBuffer2.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.segments2.destroy());
|
|
@@ -9137,14 +9143,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9137
9143
|
}
|
|
9138
9144
|
let qm, Hm;
|
|
9139
9145
|
Ye("FillBucket", dp, { omit: ["layers", "patternFeatures"] });
|
|
9140
|
-
var
|
|
9146
|
+
var ix = { get paint() {
|
|
9141
9147
|
return Hm = Hm || new g({ "fill-antialias": new Qe(ve.paint_fill["fill-antialias"]), "fill-opacity": new ut(ve.paint_fill["fill-opacity"]), "fill-color": new ut(ve.paint_fill["fill-color"]), "fill-outline-color": new ut(ve.paint_fill["fill-outline-color"]), "fill-translate": new Qe(ve.paint_fill["fill-translate"]), "fill-translate-anchor": new Qe(ve.paint_fill["fill-translate-anchor"]), "fill-pattern": new al(ve.paint_fill["fill-pattern"]) });
|
|
9142
9148
|
}, get layout() {
|
|
9143
9149
|
return qm = qm || new g({ "fill-sort-key": new ut(ve.layout_fill["fill-sort-key"]) });
|
|
9144
9150
|
} };
|
|
9145
|
-
class
|
|
9151
|
+
class nx extends o {
|
|
9146
9152
|
constructor(t) {
|
|
9147
|
-
super(t,
|
|
9153
|
+
super(t, ix);
|
|
9148
9154
|
}
|
|
9149
9155
|
recalculate(t, r) {
|
|
9150
9156
|
super.recalculate(t, r);
|
|
@@ -9164,12 +9170,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9164
9170
|
return !0;
|
|
9165
9171
|
}
|
|
9166
9172
|
}
|
|
9167
|
-
const
|
|
9168
|
-
var Mo = {},
|
|
9173
|
+
const sx = w([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_normal_ed", components: 4, type: "Int16" }], 4), rx = w([{ name: "a_centroid", components: 2, type: "Int16" }], 4), { members: ox } = sx;
|
|
9174
|
+
var Mo = {}, ax = I, Zm = _l;
|
|
9169
9175
|
function _l(n, t, r, l, p) {
|
|
9170
|
-
this.properties = {}, this.extent = r, this.type = 0, this._pbf = n, this._geometry = -1, this._keys = l, this._values = p, n.readFields(
|
|
9176
|
+
this.properties = {}, this.extent = r, this.type = 0, this._pbf = n, this._geometry = -1, this._keys = l, this._values = p, n.readFields(lx, this, t);
|
|
9171
9177
|
}
|
|
9172
|
-
function
|
|
9178
|
+
function lx(n, t, r) {
|
|
9173
9179
|
n == 1 ? t.id = r.readVarint() : n == 2 ? function(l, p) {
|
|
9174
9180
|
for (var y = l.readVarint() + l.pos; l.pos < y; ) {
|
|
9175
9181
|
var _ = p._keys[l.readVarint()], b = p._values[l.readVarint()];
|
|
@@ -9177,7 +9183,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9177
9183
|
}
|
|
9178
9184
|
}(r, t) : n == 3 ? t.type = r.readVarint() : n == 4 && (t._geometry = r.pos);
|
|
9179
9185
|
}
|
|
9180
|
-
function
|
|
9186
|
+
function cx(n) {
|
|
9181
9187
|
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);
|
|
9182
9188
|
return l;
|
|
9183
9189
|
}
|
|
@@ -9189,7 +9195,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9189
9195
|
var S = n.readVarint();
|
|
9190
9196
|
l = 7 & S, p = S >> 3;
|
|
9191
9197
|
}
|
|
9192
|
-
if (p--, l === 1 || l === 2) y += n.readSVarint(), _ += n.readSVarint(), l === 1 && (t && b.push(t), t = []), t.push(new
|
|
9198
|
+
if (p--, l === 1 || l === 2) y += n.readSVarint(), _ += n.readSVarint(), l === 1 && (t && b.push(t), t = []), t.push(new ax(y, _));
|
|
9193
9199
|
else {
|
|
9194
9200
|
if (l !== 7) throw new Error("unknown command " + l);
|
|
9195
9201
|
t && t.push(t[0].clone());
|
|
@@ -9230,7 +9236,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9230
9236
|
var $ = j.length;
|
|
9231
9237
|
if ($ <= 1) return [j];
|
|
9232
9238
|
for (var q, X, ee = [], ge = 0; ge < $; ge++) {
|
|
9233
|
-
var ae =
|
|
9239
|
+
var ae = cx(j[ge]);
|
|
9234
9240
|
ae !== 0 && (X === void 0 && (X = ae < 0), X === ae < 0 ? (q && ee.push(q), q = [j[ge]]) : q.push(j[ge]));
|
|
9235
9241
|
}
|
|
9236
9242
|
return q && ee.push(q), ee;
|
|
@@ -9240,11 +9246,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9240
9246
|
var F = { type: "Feature", geometry: { type: E, coordinates: S }, properties: this.properties };
|
|
9241
9247
|
return "id" in this && (F.id = this.id), F;
|
|
9242
9248
|
};
|
|
9243
|
-
var
|
|
9249
|
+
var ux = Zm, Wm = Gm;
|
|
9244
9250
|
function Gm(n, t) {
|
|
9245
|
-
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = n, this._keys = [], this._values = [], this._features = [], n.readFields(
|
|
9251
|
+
this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = n, this._keys = [], this._values = [], this._features = [], n.readFields(hx, this, t), this.length = this._features.length;
|
|
9246
9252
|
}
|
|
9247
|
-
function
|
|
9253
|
+
function hx(n, t, r) {
|
|
9248
9254
|
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) {
|
|
9249
9255
|
for (var p = null, y = l.readVarint() + l.pos; l.pos < y; ) {
|
|
9250
9256
|
var _ = l.readVarint() >> 3;
|
|
@@ -9257,19 +9263,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9257
9263
|
if (n < 0 || n >= this._features.length) throw new Error("feature index out of bounds");
|
|
9258
9264
|
this._pbf.pos = this._features[n];
|
|
9259
9265
|
var t = this._pbf.readVarint() + this._pbf.pos;
|
|
9260
|
-
return new
|
|
9266
|
+
return new ux(this._pbf, t, this.extent, this._keys, this._values);
|
|
9261
9267
|
};
|
|
9262
|
-
var
|
|
9263
|
-
function
|
|
9268
|
+
var dx = Wm;
|
|
9269
|
+
function px(n, t, r) {
|
|
9264
9270
|
if (n === 3) {
|
|
9265
|
-
var l = new
|
|
9271
|
+
var l = new dx(r, r.readVarint() + r.pos);
|
|
9266
9272
|
l.length && (t[l.name] = l);
|
|
9267
9273
|
}
|
|
9268
9274
|
}
|
|
9269
9275
|
Mo.VectorTile = function(n, t) {
|
|
9270
|
-
this.layers = n.readFields(
|
|
9276
|
+
this.layers = n.readFields(px, {}, t);
|
|
9271
9277
|
}, Mo.VectorTileFeature = Zm, Mo.VectorTileLayer = Wm;
|
|
9272
|
-
const
|
|
9278
|
+
const fx = Mo.VectorTileFeature.types, pp = Math.pow(2, 13);
|
|
9273
9279
|
function qc(n, t, r, l, p, y, _, b) {
|
|
9274
9280
|
n.emplaceBack(t, r, 2 * Math.floor(l * pp) + _, p * pp * 2, y * pp * 2, Math.round(b));
|
|
9275
9281
|
}
|
|
@@ -9302,7 +9308,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9302
9308
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
9303
9309
|
}
|
|
9304
9310
|
upload(t) {
|
|
9305
|
-
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
9311
|
+
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, ox), this.centroidVertexBuffer = t.createVertexBuffer(this.centroidVertexArray, rx.members, !0), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
9306
9312
|
}
|
|
9307
9313
|
destroy() {
|
|
9308
9314
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.centroidVertexBuffer.destroy());
|
|
@@ -9314,13 +9320,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9314
9320
|
for (const $ of _) S += $.length;
|
|
9315
9321
|
let E = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray);
|
|
9316
9322
|
for (const $ of _) {
|
|
9317
|
-
if ($.length === 0 ||
|
|
9323
|
+
if ($.length === 0 || gx($)) continue;
|
|
9318
9324
|
let q = 0;
|
|
9319
9325
|
for (let X = 0; X < $.length; X++) {
|
|
9320
9326
|
const ee = $[X];
|
|
9321
9327
|
if (X >= 1) {
|
|
9322
9328
|
const ge = $[X - 1];
|
|
9323
|
-
if (!
|
|
9329
|
+
if (!mx(ee, ge)) {
|
|
9324
9330
|
E.vertexLength + 4 > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(4, this.layoutVertexArray, this.indexArray));
|
|
9325
9331
|
const ae = ee.sub(ge)._perp()._unit(), fe = ge.dist(ee);
|
|
9326
9332
|
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;
|
|
@@ -9330,7 +9336,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9330
9336
|
}
|
|
9331
9337
|
}
|
|
9332
9338
|
}
|
|
9333
|
-
if (E.vertexLength + S > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(S, this.layoutVertexArray, this.indexArray)),
|
|
9339
|
+
if (E.vertexLength + S > Ft.MAX_VERTEX_ARRAY_LENGTH && (E = this.segments.prepareSegment(S, this.layoutVertexArray, this.indexArray)), fx[t.type] !== "Polygon") continue;
|
|
9334
9340
|
const M = [], D = [], F = E.vertexLength;
|
|
9335
9341
|
for (const $ of _) if ($.length !== 0) {
|
|
9336
9342
|
$ !== _[0] && D.push(M.length / 2);
|
|
@@ -9350,20 +9356,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9350
9356
|
this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, l, y, p);
|
|
9351
9357
|
}
|
|
9352
9358
|
}
|
|
9353
|
-
function
|
|
9359
|
+
function mx(n, t) {
|
|
9354
9360
|
return n.x === t.x && (n.x < 0 || n.x > Oi) || n.y === t.y && (n.y < 0 || n.y > Oi);
|
|
9355
9361
|
}
|
|
9356
|
-
function
|
|
9362
|
+
function gx(n) {
|
|
9357
9363
|
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);
|
|
9358
9364
|
}
|
|
9359
9365
|
let Ym;
|
|
9360
9366
|
Ye("FillExtrusionBucket", fp, { omit: ["layers", "features"] });
|
|
9361
|
-
var
|
|
9367
|
+
var yx = { get paint() {
|
|
9362
9368
|
return Ym = Ym || new g({ "fill-extrusion-opacity": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new ut(ve["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new al(ve["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new ut(ve["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new ut(ve["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new Qe(ve["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) });
|
|
9363
9369
|
} };
|
|
9364
|
-
class
|
|
9370
|
+
class _x extends o {
|
|
9365
9371
|
constructor(t) {
|
|
9366
|
-
super(t,
|
|
9372
|
+
super(t, yx);
|
|
9367
9373
|
}
|
|
9368
9374
|
createBucket(t) {
|
|
9369
9375
|
return new fp(t);
|
|
@@ -9431,7 +9437,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9431
9437
|
return r;
|
|
9432
9438
|
}
|
|
9433
9439
|
}
|
|
9434
|
-
const
|
|
9440
|
+
const vx = w([{ name: "a_pos_normal", components: 2, type: "Int16" }, { name: "a_data", components: 4, type: "Uint8" }], 4), { members: xx } = vx, bx = w([{ name: "a_uv_x", components: 1, type: "Float32" }, { name: "a_split_index", components: 1, type: "Float32" }]), { members: wx } = bx, Sx = Mo.VectorTileFeature.types, Tx = Math.cos(Math.PI / 180 * 37.5), Km = Math.pow(2, 14) / 0.5;
|
|
9435
9441
|
class mp {
|
|
9436
9442
|
constructor(t) {
|
|
9437
9443
|
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) => {
|
|
@@ -9470,7 +9476,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9470
9476
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
9471
9477
|
}
|
|
9472
9478
|
upload(t) {
|
|
9473
|
-
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = t.createVertexBuffer(this.layoutVertexArray2,
|
|
9479
|
+
this.uploaded || (this.layoutVertexArray2.length !== 0 && (this.layoutVertexBuffer2 = t.createVertexBuffer(this.layoutVertexArray2, wx)), this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, xx), this.indexBuffer = t.createIndexBuffer(this.indexArray)), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
9474
9480
|
}
|
|
9475
9481
|
destroy() {
|
|
9476
9482
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy());
|
|
@@ -9490,7 +9496,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9490
9496
|
for (let ee = 0; ee < t.length - 1; ee++) this.totalDistance += t[ee].dist(t[ee + 1]);
|
|
9491
9497
|
this.updateScaledDistance(), this.maxLineLength = Math.max(this.maxLineLength, this.totalDistance);
|
|
9492
9498
|
}
|
|
9493
|
-
const b =
|
|
9499
|
+
const b = Sx[r.type] === "Polygon";
|
|
9494
9500
|
let S = t.length;
|
|
9495
9501
|
for (; S >= 2 && t[S - 1].equals(t[S - 2]); ) S--;
|
|
9496
9502
|
let E = 0;
|
|
@@ -9505,7 +9511,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9505
9511
|
X && (q = X), F && (j = F), F = t[ee], X = $ ? $.sub(F)._unit()._perp() : q, q = q || X;
|
|
9506
9512
|
let ge = q.add(X);
|
|
9507
9513
|
ge.x === 0 && ge.y === 0 || ge._unit();
|
|
9508
|
-
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 <
|
|
9514
|
+
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 < Tx && j && $, ct = q.x * X.y - q.y * X.x > 0;
|
|
9509
9515
|
if (He && ee > E) {
|
|
9510
9516
|
const it = F.dist(j);
|
|
9511
9517
|
if (it > 2 * M) {
|
|
@@ -9576,7 +9582,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9576
9582
|
}, get layout() {
|
|
9577
9583
|
return Jm = Jm || new g({ "line-cap": new Qe(ve.layout_line["line-cap"]), "line-join": new ut(ve.layout_line["line-join"]), "line-miter-limit": new Qe(ve.layout_line["line-miter-limit"]), "line-round-limit": new Qe(ve.layout_line["line-round-limit"]), "line-sort-key": new ut(ve.layout_line["line-sort-key"]) });
|
|
9578
9584
|
} };
|
|
9579
|
-
class
|
|
9585
|
+
class kx extends ut {
|
|
9580
9586
|
possiblyEvaluate(t, r) {
|
|
9581
9587
|
return r = new fi(Math.floor(r.zoom), { now: r.now, fadeDuration: r.fadeDuration, zoomHistory: r.zoomHistory, transition: r.transition }), super.possiblyEvaluate(t, r);
|
|
9582
9588
|
}
|
|
@@ -9585,9 +9591,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9585
9591
|
}
|
|
9586
9592
|
}
|
|
9587
9593
|
let _h;
|
|
9588
|
-
class
|
|
9594
|
+
class Ex extends o {
|
|
9589
9595
|
constructor(t) {
|
|
9590
|
-
super(t, eg), this.gradientVersion = 0, _h || (_h = new
|
|
9596
|
+
super(t, eg), this.gradientVersion = 0, _h || (_h = new kx(eg.paint.properties["line-width"].specification), _h.useIntegerZoom = !0);
|
|
9591
9597
|
}
|
|
9592
9598
|
_handleSpecialPaintPropertyUpdate(t) {
|
|
9593
9599
|
if (t === "line-gradient") {
|
|
@@ -9629,7 +9635,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9629
9635
|
if (D.length >= 3) {
|
|
9630
9636
|
for (let X = 0; X < q.length; X++) if (ml(D, q[X])) return !0;
|
|
9631
9637
|
}
|
|
9632
|
-
if (
|
|
9638
|
+
if (Lv(D, q, j)) return !0;
|
|
9633
9639
|
}
|
|
9634
9640
|
return !1;
|
|
9635
9641
|
}(S, p, E);
|
|
@@ -9641,12 +9647,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9641
9647
|
function tg(n, t) {
|
|
9642
9648
|
return t > 0 ? t + 2 * n : n;
|
|
9643
9649
|
}
|
|
9644
|
-
const
|
|
9650
|
+
const Mx = w([{ name: "a_pos_offset", components: 4, type: "Int16" }, { name: "a_data", components: 4, type: "Uint16" }, { name: "a_pixeloffset", components: 4, type: "Int16" }], 4), Px = w([{ name: "a_projected_pos", components: 3, type: "Float32" }], 4);
|
|
9645
9651
|
w([{ name: "a_fade_opacity", components: 1, type: "Uint32" }], 4);
|
|
9646
|
-
const
|
|
9652
|
+
const Cx = w([{ name: "a_placed", components: 2, type: "Uint8" }, { name: "a_shift", components: 2, type: "Float32" }, { name: "a_box_real", components: 2, type: "Int16" }]);
|
|
9647
9653
|
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" }]);
|
|
9648
|
-
const ig = w([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4),
|
|
9649
|
-
function
|
|
9654
|
+
const ig = w([{ name: "a_pos", components: 2, type: "Int16" }, { name: "a_anchor_pos", components: 2, type: "Int16" }, { name: "a_extrude", components: 2, type: "Int16" }], 4), Ix = w([{ name: "a_pos", components: 2, type: "Float32" }, { name: "a_radius", components: 1, type: "Float32" }, { name: "a_flags", components: 2, type: "Int16" }], 4);
|
|
9655
|
+
function Ax(n, t, r) {
|
|
9650
9656
|
return n.sections.forEach((l) => {
|
|
9651
9657
|
l.text = function(p, y, _) {
|
|
9652
9658
|
const b = y.layout.get("text-transform").evaluate(_, {});
|
|
@@ -9688,31 +9694,31 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9688
9694
|
r.realloc(l);
|
|
9689
9695
|
for (var p = r.pos - 1; p >= n; p--) r.buf[p + l] = r.buf[p];
|
|
9690
9696
|
}
|
|
9691
|
-
function
|
|
9697
|
+
function Dx(n, t) {
|
|
9692
9698
|
for (var r = 0; r < n.length; r++) t.writeVarint(n[r]);
|
|
9693
9699
|
}
|
|
9694
|
-
function
|
|
9700
|
+
function zx(n, t) {
|
|
9695
9701
|
for (var r = 0; r < n.length; r++) t.writeSVarint(n[r]);
|
|
9696
9702
|
}
|
|
9697
|
-
function
|
|
9703
|
+
function Rx(n, t) {
|
|
9698
9704
|
for (var r = 0; r < n.length; r++) t.writeFloat(n[r]);
|
|
9699
9705
|
}
|
|
9700
|
-
function
|
|
9706
|
+
function Lx(n, t) {
|
|
9701
9707
|
for (var r = 0; r < n.length; r++) t.writeDouble(n[r]);
|
|
9702
9708
|
}
|
|
9703
|
-
function
|
|
9709
|
+
function Ox(n, t) {
|
|
9704
9710
|
for (var r = 0; r < n.length; r++) t.writeBoolean(n[r]);
|
|
9705
9711
|
}
|
|
9706
|
-
function
|
|
9712
|
+
function Fx(n, t) {
|
|
9707
9713
|
for (var r = 0; r < n.length; r++) t.writeFixed32(n[r]);
|
|
9708
9714
|
}
|
|
9709
|
-
function
|
|
9715
|
+
function Bx(n, t) {
|
|
9710
9716
|
for (var r = 0; r < n.length; r++) t.writeSFixed32(n[r]);
|
|
9711
9717
|
}
|
|
9712
|
-
function
|
|
9718
|
+
function Nx(n, t) {
|
|
9713
9719
|
for (var r = 0; r < n.length; r++) t.writeFixed64(n[r]);
|
|
9714
9720
|
}
|
|
9715
|
-
function
|
|
9721
|
+
function jx(n, t) {
|
|
9716
9722
|
for (var r = 0; r < n.length; r++) t.writeSFixed64(n[r]);
|
|
9717
9723
|
}
|
|
9718
9724
|
function vh(n, t) {
|
|
@@ -9907,23 +9913,23 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9907
9913
|
}, writeMessage: function(n, t, r) {
|
|
9908
9914
|
this.writeTag(n, ri.Bytes), this.writeRawMessage(t, r);
|
|
9909
9915
|
}, writePackedVarint: function(n, t) {
|
|
9910
|
-
t.length && this.writeMessage(n, Ax, t);
|
|
9911
|
-
}, writePackedSVarint: function(n, t) {
|
|
9912
9916
|
t.length && this.writeMessage(n, Dx, t);
|
|
9917
|
+
}, writePackedSVarint: function(n, t) {
|
|
9918
|
+
t.length && this.writeMessage(n, zx, t);
|
|
9913
9919
|
}, writePackedBoolean: function(n, t) {
|
|
9914
|
-
t.length && this.writeMessage(n,
|
|
9920
|
+
t.length && this.writeMessage(n, Ox, t);
|
|
9915
9921
|
}, writePackedFloat: function(n, t) {
|
|
9916
|
-
t.length && this.writeMessage(n, zx, t);
|
|
9917
|
-
}, writePackedDouble: function(n, t) {
|
|
9918
9922
|
t.length && this.writeMessage(n, Rx, t);
|
|
9923
|
+
}, writePackedDouble: function(n, t) {
|
|
9924
|
+
t.length && this.writeMessage(n, Lx, t);
|
|
9919
9925
|
}, writePackedFixed32: function(n, t) {
|
|
9920
|
-
t.length && this.writeMessage(n, Ox, t);
|
|
9921
|
-
}, writePackedSFixed32: function(n, t) {
|
|
9922
9926
|
t.length && this.writeMessage(n, Fx, t);
|
|
9923
|
-
},
|
|
9927
|
+
}, writePackedSFixed32: function(n, t) {
|
|
9924
9928
|
t.length && this.writeMessage(n, Bx, t);
|
|
9925
|
-
},
|
|
9929
|
+
}, writePackedFixed64: function(n, t) {
|
|
9926
9930
|
t.length && this.writeMessage(n, Nx, t);
|
|
9931
|
+
}, writePackedSFixed64: function(n, t) {
|
|
9932
|
+
t.length && this.writeMessage(n, jx, t);
|
|
9927
9933
|
}, writeBytesField: function(n, t) {
|
|
9928
9934
|
this.writeTag(n, ri.Bytes), this.writeBytes(t);
|
|
9929
9935
|
}, writeFixed32Field: function(n, t) {
|
|
@@ -9949,16 +9955,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
9949
9955
|
} };
|
|
9950
9956
|
var yp = C(ng);
|
|
9951
9957
|
const _p = 3;
|
|
9952
|
-
function jx(n, t, r) {
|
|
9953
|
-
n === 1 && r.readMessage(Vx, t);
|
|
9954
|
-
}
|
|
9955
9958
|
function Vx(n, t, r) {
|
|
9959
|
+
n === 1 && r.readMessage($x, t);
|
|
9960
|
+
}
|
|
9961
|
+
function $x(n, t, r) {
|
|
9956
9962
|
if (n === 3) {
|
|
9957
|
-
const { id: l, bitmap: p, width: y, height: _, left: b, top: S, advance: E } = r.readMessage(
|
|
9963
|
+
const { id: l, bitmap: p, width: y, height: _, left: b, top: S, advance: E } = r.readMessage(Ux, {});
|
|
9958
9964
|
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 } });
|
|
9959
9965
|
}
|
|
9960
9966
|
}
|
|
9961
|
-
function
|
|
9967
|
+
function Ux(n, t, r) {
|
|
9962
9968
|
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());
|
|
9963
9969
|
}
|
|
9964
9970
|
const ug = _p;
|
|
@@ -10180,7 +10186,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10180
10186
|
}
|
|
10181
10187
|
Is ? (we.verticalizable = !0, Sn.push({ glyph: _i, imageName: or, x: gt, y: ci + Yn, vertical: Is, scale: Ht.scale, fontStack: Ht.fontStack, sectionIndex: di, metrics: ki, rect: kl }), gt += ar * Ht.scale + Ee) : (Sn.push({ glyph: _i, imageName: or, x: gt, y: ci + Yn, vertical: Is, scale: Ht.scale, fontStack: Ht.fontStack, sectionIndex: di, metrics: ki, rect: kl }), gt += ki.advance * Ht.scale + Ee);
|
|
10182
10188
|
}
|
|
10183
|
-
Sn.length !== 0 && (oi = Math.max(gt - Ee, oi),
|
|
10189
|
+
Sn.length !== 0 && (oi = Math.max(gt - Ee, oi), Wx(Sn, 0, Sn.length - 1, Cs, rn)), gt = 0;
|
|
10184
10190
|
const ps = Ne * $i + rn;
|
|
10185
10191
|
sn.lineOffset = Math.max(rn, pn), ci += ps, ji = Math.max(ps, ji), ++nn;
|
|
10186
10192
|
}
|
|
@@ -10197,7 +10203,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10197
10203
|
return !0;
|
|
10198
10204
|
}(ae) && fe;
|
|
10199
10205
|
}
|
|
10200
|
-
const bh = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 },
|
|
10206
|
+
const bh = { 9: !0, 10: !0, 11: !0, 12: !0, 13: !0, 32: !0 }, qx = { 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 }, Hx = { 40: !0 };
|
|
10201
10207
|
function pg(n, t, r, l, p, y) {
|
|
10202
10208
|
if (t.imageName) {
|
|
10203
10209
|
const _ = l[t.imageName];
|
|
@@ -10212,7 +10218,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10212
10218
|
const p = Math.pow(n - t, 2);
|
|
10213
10219
|
return l ? n < t ? p / 2 : 2 * p : p + Math.abs(r) * r;
|
|
10214
10220
|
}
|
|
10215
|
-
function
|
|
10221
|
+
function Zx(n, t, r) {
|
|
10216
10222
|
let l = 0;
|
|
10217
10223
|
return n === 10 && (l -= 1e4), r && (l += 150), n !== 40 && n !== 65288 || (l += 50), t !== 41 && t !== 65289 || (l += 50), l;
|
|
10218
10224
|
}
|
|
@@ -10242,7 +10248,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10242
10248
|
const F = n.getSection(D), j = n.getCharCode(D);
|
|
10243
10249
|
if (bh[j] || (E += pg(j, F, l, p, t, y)), D < n.length() - 1) {
|
|
10244
10250
|
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)));
|
|
10245
|
-
(
|
|
10251
|
+
(qx[j] || $ || F.imageName || D !== n.length() - 2 && Hx[n.getCharCode(D + 1)]) && _.push(mg(D + 1, E, b, _, Zx(j, n.getCharCode(D + 1), $ && S), !1));
|
|
10246
10252
|
}
|
|
10247
10253
|
}
|
|
10248
10254
|
var M;
|
|
@@ -10274,12 +10280,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10274
10280
|
}
|
|
10275
10281
|
return { horizontalAlign: t, verticalAlign: r };
|
|
10276
10282
|
}
|
|
10277
|
-
function
|
|
10283
|
+
function Wx(n, t, r, l, p) {
|
|
10278
10284
|
if (!l && !p) return;
|
|
10279
10285
|
const y = n[r], _ = (n[r].x + y.metrics.advance * y.scale) * l;
|
|
10280
10286
|
for (let b = t; b <= r; b++) n[b].x -= _, n[b].y += p;
|
|
10281
10287
|
}
|
|
10282
|
-
function
|
|
10288
|
+
function Gx(n, t, r) {
|
|
10283
10289
|
const { horizontalAlign: l, verticalAlign: p } = bp(r), y = t[0] - n.displaySize[0] * l, _ = t[1] - n.displaySize[1] * p;
|
|
10284
10290
|
return { image: n, top: _, bottom: _ + n.displaySize[1], left: y, right: y + n.displaySize[0] };
|
|
10285
10291
|
}
|
|
@@ -10333,7 +10339,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10333
10339
|
const p = n.get(t);
|
|
10334
10340
|
return p ? l = p : n.get(r) && (l = "always"), l;
|
|
10335
10341
|
}
|
|
10336
|
-
const
|
|
10342
|
+
const Yx = Mo.VectorTileFeature.types, Xx = [{ name: "a_fade_opacity", components: 1, type: "Uint8", offset: 0 }];
|
|
10337
10343
|
function wh(n, t, r, l, p, y, _, b, S, E, M, D, F) {
|
|
10338
10344
|
const j = b ? Math.min(Co, Math.round(b[0])) : 0, $ = b ? Math.min(Co, Math.round(b[1])) : 0;
|
|
10339
10345
|
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);
|
|
@@ -10341,7 +10347,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10341
10347
|
function Sp(n, t, r) {
|
|
10342
10348
|
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);
|
|
10343
10349
|
}
|
|
10344
|
-
function
|
|
10350
|
+
function Kx(n) {
|
|
10345
10351
|
for (const t of n.sections) if (Kd(t.text)) return !0;
|
|
10346
10352
|
return !1;
|
|
10347
10353
|
}
|
|
@@ -10353,7 +10359,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10353
10359
|
return this.layoutVertexArray.length === 0 && this.indexArray.length === 0 && this.dynamicLayoutVertexArray.length === 0 && this.opacityVertexArray.length === 0;
|
|
10354
10360
|
}
|
|
10355
10361
|
upload(t, r, l, p) {
|
|
10356
|
-
this.isEmpty() || (l && (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
10362
|
+
this.isEmpty() || (l && (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, Mx.members), this.indexBuffer = t.createIndexBuffer(this.indexArray, r), this.dynamicLayoutVertexBuffer = t.createVertexBuffer(this.dynamicLayoutVertexArray, Px.members, !0), this.opacityVertexBuffer = t.createVertexBuffer(this.opacityVertexArray, Xx, !0), this.opacityVertexBuffer.itemSize = 1), (l || p) && this.programConfigurations.upload(t));
|
|
10357
10363
|
}
|
|
10358
10364
|
destroy() {
|
|
10359
10365
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.dynamicLayoutVertexBuffer.destroy(), this.opacityVertexBuffer.destroy());
|
|
@@ -10365,7 +10371,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10365
10371
|
this.layoutVertexArray = new t(), this.layoutAttributes = r, this.indexArray = new l(), this.segments = new Ft(), this.collisionVertexArray = new nr();
|
|
10366
10372
|
}
|
|
10367
10373
|
upload(t) {
|
|
10368
|
-
this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray,
|
|
10374
|
+
this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, this.layoutAttributes), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.collisionVertexBuffer = t.createVertexBuffer(this.collisionVertexArray, Cx.members, !0);
|
|
10369
10375
|
}
|
|
10370
10376
|
destroy() {
|
|
10371
10377
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.segments.destroy(), this.collisionVertexBuffer.destroy());
|
|
@@ -10398,8 +10404,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10398
10404
|
if (!p._featureFilter.filter(q, we, l)) continue;
|
|
10399
10405
|
let Ce, He;
|
|
10400
10406
|
if (fe || (we.geometry = da(X)), E) {
|
|
10401
|
-
const $e = p.getValueAndResolveTokens("text-field", we, l, $), Ne = Dn.factory($e), it = this.hasRTLText = this.hasRTLText ||
|
|
10402
|
-
(!it || On.getRTLTextPluginStatus() === "unavailable" || it && On.isParsed()) && (Ce =
|
|
10407
|
+
const $e = p.getValueAndResolveTokens("text-field", we, l, $), Ne = Dn.factory($e), it = this.hasRTLText = this.hasRTLText || Kx(Ne);
|
|
10408
|
+
(!it || On.getRTLTextPluginStatus() === "unavailable" || it && On.isParsed()) && (Ce = Ax(Ne, p, we));
|
|
10403
10409
|
}
|
|
10404
10410
|
if (M) {
|
|
10405
10411
|
const $e = p.getValueAndResolveTokens("icon-image", we, l, $);
|
|
@@ -10407,7 +10413,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10407
10413
|
}
|
|
10408
10414
|
if (!Ce && !He) continue;
|
|
10409
10415
|
const ct = this.sortFeaturesByKey ? D.evaluate(we, {}, l) : void 0;
|
|
10410
|
-
if (this.features.push({ id: ee, text: Ce, icon: He, index: ge, sourceLayerIndex: ae, geometry: we.geometry, properties: X.properties, type:
|
|
10416
|
+
if (this.features.push({ id: ee, text: Ce, icon: He, index: ge, sourceLayerIndex: ae, geometry: we.geometry, properties: X.properties, type: Yx[X.type], sortKey: ct }), He && (F[He.name] = !0), Ce) {
|
|
10411
10417
|
const $e = _.evaluate(we, {}, l).join(","), Ne = y.get("text-rotation-alignment") !== "viewport" && y.get("symbol-placement") !== "point";
|
|
10412
10418
|
this.allowVerticalPlacement = this.writingModes && this.writingModes.indexOf(v.ah.vertical) >= 0;
|
|
10413
10419
|
for (const it of Ce.sections) if (it.image) F[it.image.name] = !0;
|
|
@@ -10677,24 +10683,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10677
10683
|
}
|
|
10678
10684
|
}
|
|
10679
10685
|
let Sg;
|
|
10680
|
-
var
|
|
10686
|
+
var Jx = { get paint() {
|
|
10681
10687
|
return Sg = Sg || 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"]) });
|
|
10682
10688
|
} };
|
|
10683
|
-
class
|
|
10689
|
+
class Qx extends o {
|
|
10684
10690
|
constructor(t) {
|
|
10685
|
-
super(t,
|
|
10691
|
+
super(t, Jx);
|
|
10686
10692
|
}
|
|
10687
10693
|
}
|
|
10688
10694
|
let Tg;
|
|
10689
|
-
var
|
|
10695
|
+
var eb = { get paint() {
|
|
10690
10696
|
return Tg = Tg || 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"]) });
|
|
10691
10697
|
} };
|
|
10692
|
-
class
|
|
10698
|
+
class tb extends o {
|
|
10693
10699
|
constructor(t) {
|
|
10694
|
-
super(t,
|
|
10700
|
+
super(t, eb);
|
|
10695
10701
|
}
|
|
10696
10702
|
}
|
|
10697
|
-
class
|
|
10703
|
+
class ib extends o {
|
|
10698
10704
|
constructor(t) {
|
|
10699
10705
|
super(t, {}), this.onAdd = (r) => {
|
|
10700
10706
|
this.implementation.onAdd && this.implementation.onAdd(r, r.painter.context.gl);
|
|
@@ -10719,7 +10725,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
10719
10725
|
throw new Error("Custom layers cannot be serialized");
|
|
10720
10726
|
}
|
|
10721
10727
|
}
|
|
10722
|
-
class
|
|
10728
|
+
class nb {
|
|
10723
10729
|
constructor(t) {
|
|
10724
10730
|
this._methodToThrottle = t, this._triggered = !1, typeof MessageChannel < "u" && (this._channel = new MessageChannel(), this._channel.port2.onmessage = () => {
|
|
10725
10731
|
this._triggered = !1, this._methodToThrottle();
|
|
@@ -11018,11 +11024,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11018
11024
|
if (fe.length > 2) {
|
|
11019
11025
|
for (const Ne of $e) if (ml(fe, Ne)) return !0;
|
|
11020
11026
|
}
|
|
11021
|
-
for (let Ne = 0; Ne < fe.length - 1; Ne++) if (
|
|
11027
|
+
for (let Ne = 0; Ne < fe.length - 1; Ne++) if (Fv(fe[Ne], fe[Ne + 1], $e)) return !0;
|
|
11022
11028
|
return !1;
|
|
11023
11029
|
}(t.cameraQueryGeometry, X - E, ee - E, ge + E, ae + E));
|
|
11024
11030
|
for (const X of j) D.push(X);
|
|
11025
|
-
D.sort(
|
|
11031
|
+
D.sort(sb);
|
|
11026
11032
|
const $ = {};
|
|
11027
11033
|
let q;
|
|
11028
11034
|
for (let X = 0; X < D.length; X++) {
|
|
@@ -11091,7 +11097,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11091
11097
|
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);
|
|
11092
11098
|
return { minX: t, minY: r, maxX: l, maxY: p };
|
|
11093
11099
|
}
|
|
11094
|
-
function
|
|
11100
|
+
function sb(n, t) {
|
|
11095
11101
|
return t - n;
|
|
11096
11102
|
}
|
|
11097
11103
|
function Bg(n, t, r, l, p) {
|
|
@@ -11146,7 +11152,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11146
11152
|
function $g(n, t) {
|
|
11147
11153
|
return Math.max(n ? n.right - n.left : 0, t ? t.right - t.left : 0);
|
|
11148
11154
|
}
|
|
11149
|
-
function
|
|
11155
|
+
function rb(n, t, r, l, p, y) {
|
|
11150
11156
|
const _ = Vg(r, p, y), b = $g(r, l) * y;
|
|
11151
11157
|
let S = 0;
|
|
11152
11158
|
const E = jg(n) / 2;
|
|
@@ -11159,7 +11165,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11159
11165
|
S += j;
|
|
11160
11166
|
}
|
|
11161
11167
|
}
|
|
11162
|
-
function
|
|
11168
|
+
function ob(n, t, r, l, p, y, _, b, S) {
|
|
11163
11169
|
const E = Vg(l, y, _), M = $g(l, p), D = M * _, F = n[0].x === 0 || n[0].x === S || n[0].y === 0 || n[0].y === S;
|
|
11164
11170
|
return t - D < t / 4 && (t = D + t / 4), Ug(n, F ? t / 2 * b % t : (M / 2 + 2 * y) * _ * b % t, t, E, r, D, F, !1, S);
|
|
11165
11171
|
}
|
|
@@ -11250,7 +11256,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11250
11256
|
this.boxEndIndex = t.length;
|
|
11251
11257
|
}
|
|
11252
11258
|
}
|
|
11253
|
-
class
|
|
11259
|
+
class ab {
|
|
11254
11260
|
constructor(t = [], r = (l, p) => l < p ? -1 : l > p ? 1 : 0) {
|
|
11255
11261
|
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);
|
|
11256
11262
|
}
|
|
@@ -11285,7 +11291,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11285
11291
|
r[t] = y;
|
|
11286
11292
|
}
|
|
11287
11293
|
}
|
|
11288
|
-
function
|
|
11294
|
+
function lb(n, t = 1, r = !1) {
|
|
11289
11295
|
let l = 1 / 0, p = 1 / 0, y = -1 / 0, _ = -1 / 0;
|
|
11290
11296
|
const b = n[0];
|
|
11291
11297
|
for (let j = 0; j < b.length; j++) {
|
|
@@ -11294,7 +11300,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11294
11300
|
}
|
|
11295
11301
|
const S = Math.min(y - l, _ - p);
|
|
11296
11302
|
let E = S / 2;
|
|
11297
|
-
const M = new
|
|
11303
|
+
const M = new ab([], cb);
|
|
11298
11304
|
if (S === 0) return new z(l, p);
|
|
11299
11305
|
for (let j = l; j < y; j += S) for (let $ = p; $ < _; $ += S) M.push(new Tl(j + E, $ + E, E, n));
|
|
11300
11306
|
let D = function(j) {
|
|
@@ -11312,7 +11318,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11312
11318
|
}
|
|
11313
11319
|
return r && (console.log(`num probes: ${F}`), console.log(`best distance: ${D.d}`)), D.p;
|
|
11314
11320
|
}
|
|
11315
|
-
function
|
|
11321
|
+
function cb(n, t) {
|
|
11316
11322
|
return t.max - n.max;
|
|
11317
11323
|
}
|
|
11318
11324
|
function Tl(n, t, r, l) {
|
|
@@ -11428,7 +11434,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11428
11434
|
}
|
|
11429
11435
|
return "center";
|
|
11430
11436
|
}
|
|
11431
|
-
function
|
|
11437
|
+
function ub(n, t, r, l, p, y, _, b, S, E, M) {
|
|
11432
11438
|
let D = y.textMaxSize.evaluate(t, {});
|
|
11433
11439
|
D === void 0 && (D = _);
|
|
11434
11440
|
const F = n.layers[0].layout, j = F.get("icon-offset").evaluate(t, {}, M), $ = Yg(r.horizontal), q = _ / 24, X = n.tilePixelRatio * q, ee = n.tilePixelRatio * D / 24, ge = n.tilePixelRatio * b, ae = n.tilePixelRatio * F.get("symbol-spacing"), fe = F.get("text-padding") * n.tilePixelRatio, we = function(Ee, nt, tt, gt = 1) {
|
|
@@ -11466,34 +11472,34 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11466
11472
|
if (Qg += Gg(tt, gt, ms, Cs, Vi, sn, di, Sn, or, oi.vertical ? v.ah.horizontal : v.ah.horizontalOnly, ma ? iy : [fn], Rr, Np, _i, ki), ma) break;
|
|
11467
11473
|
}
|
|
11468
11474
|
oi.vertical && (ey += Gg(tt, gt, oi.vertical, Cs, Vi, sn, di, Sn, or, v.ah.vertical, ["vertical"], Rr, jp, _i, ki));
|
|
11469
|
-
const
|
|
11475
|
+
const pb = ar ? ar.boxStartIndex : tt.collisionBoxArray.length, fb = ar ? ar.boxEndIndex : tt.collisionBoxArray.length, mb = fs ? fs.boxStartIndex : tt.collisionBoxArray.length, gb = fs ? fs.boxEndIndex : tt.collisionBoxArray.length, yb = Is ? Is.boxStartIndex : tt.collisionBoxArray.length, _b = Is ? Is.boxEndIndex : tt.collisionBoxArray.length, vb = Gi ? Gi.boxStartIndex : tt.collisionBoxArray.length, xb = Gi ? Gi.boxEndIndex : tt.collisionBoxArray.length;
|
|
11470
11476
|
let Us = -1;
|
|
11471
11477
|
const Ch = (fn, ms) => fn && fn.circleDiameter ? Math.max(fn.circleDiameter, ms) : ms;
|
|
11472
11478
|
Us = Ch(ar, Us), Us = Ch(fs, Us), Us = Ch(Is, Us), Us = Ch(Gi, Us);
|
|
11473
11479
|
const ny = Us > -1 ? 1 : 0;
|
|
11474
11480
|
ny && (Us *= kl / Fi), tt.glyphOffsetArray.length >= wl.MAX_GLYPHS && Dt("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), di.sortKey !== void 0 && tt.addToSortKeyRanges(tt.symbolInstances.length, di.sortKey);
|
|
11475
|
-
const
|
|
11481
|
+
const bb = Wg(Vi, di, ki), [wb, Sb] = function(fn, ms) {
|
|
11476
11482
|
const ma = fn.length, qs = ms == null ? void 0 : ms.values;
|
|
11477
11483
|
if ((qs == null ? void 0 : qs.length) > 0) for (let ga = 0; ga < qs.length; ga += 2) {
|
|
11478
11484
|
const lr = qs[ga + 1];
|
|
11479
11485
|
fn.emplaceBack(v.aq[qs[ga]], lr[0], lr[1]);
|
|
11480
11486
|
}
|
|
11481
11487
|
return [ma, fn.length];
|
|
11482
|
-
}(tt.textAnchorOffsets,
|
|
11483
|
-
tt.symbolInstances.emplaceBack(gt.x, gt.y, Rr.right >= 0 ? Rr.right : -1, Rr.center >= 0 ? Rr.center : -1, Rr.left >= 0 ? Rr.left : -1, Rr.vertical || -1, Np, jp, ty,
|
|
11488
|
+
}(tt.textAnchorOffsets, bb);
|
|
11489
|
+
tt.symbolInstances.emplaceBack(gt.x, gt.y, Rr.right >= 0 ? Rr.right : -1, Rr.center >= 0 ? Rr.center : -1, Rr.left >= 0 ? Rr.left : -1, Rr.vertical || -1, Np, jp, ty, pb, fb, mb, gb, yb, _b, vb, xb, bn, Qg, ey, zr, eu, ny, 0, $i, Us, wb, Sb);
|
|
11484
11490
|
}(n, nt, Ee, r, l, p, Ke, n.layers[0], n.collisionBoxArray, t.index, t.sourceLayerIndex, n.index, X, [fe, fe, fe, fe], He, S, ge, we, ct, j, t, y, E, M, _);
|
|
11485
11491
|
};
|
|
11486
11492
|
if ($e === "line") for (const Ee of Bg(t.geometry, 0, 0, Oi, Oi)) {
|
|
11487
|
-
const nt =
|
|
11488
|
-
for (const tt of nt) $ &&
|
|
11493
|
+
const nt = ob(Ee, ae, Ce, r.vertical || $, l, 24, ee, n.overscaling, Oi);
|
|
11494
|
+
for (const tt of nt) $ && hb(n, $.text, Ne, tt) || Ge(Ee, tt);
|
|
11489
11495
|
}
|
|
11490
11496
|
else if ($e === "line-center") {
|
|
11491
11497
|
for (const Ee of t.geometry) if (Ee.length > 1) {
|
|
11492
|
-
const nt =
|
|
11498
|
+
const nt = rb(Ee, Ce, r.vertical || $, l, 24, ee);
|
|
11493
11499
|
nt && Ge(Ee, nt);
|
|
11494
11500
|
}
|
|
11495
11501
|
} else if (t.type === "Polygon") for (const Ee of Va(t.geometry, 0)) {
|
|
11496
|
-
const nt =
|
|
11502
|
+
const nt = lb(Ee, 16);
|
|
11497
11503
|
Ge(Ee[0], new Ao(nt.x, nt.y, 0));
|
|
11498
11504
|
}
|
|
11499
11505
|
else if (t.type === "LineString") for (const Ee of t.geometry) Ge(Ee, new Ao(Ee[0].x, Ee[0].y, 0));
|
|
@@ -11537,7 +11543,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11537
11543
|
for (const t in n) return n[t];
|
|
11538
11544
|
return null;
|
|
11539
11545
|
}
|
|
11540
|
-
function
|
|
11546
|
+
function hb(n, t, r, l) {
|
|
11541
11547
|
const p = n.compareText;
|
|
11542
11548
|
if (t in p) {
|
|
11543
11549
|
const y = p[t];
|
|
@@ -11640,7 +11646,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11640
11646
|
var Lp;
|
|
11641
11647
|
v.bg = void 0, (Lp = v.bg || (v.bg = {})).create = "create", Lp.load = "load", Lp.fullLoad = "fullLoad";
|
|
11642
11648
|
let Ph = null, Qc = [];
|
|
11643
|
-
const Op = 1e3 / 60, Fp = "loadTime", Bp = "fullLoadTime",
|
|
11649
|
+
const Op = 1e3 / 60, Fp = "loadTime", Bp = "fullLoadTime", db = { mark(n) {
|
|
11644
11650
|
performance.mark(n);
|
|
11645
11651
|
}, frame(n) {
|
|
11646
11652
|
const t = n;
|
|
@@ -11662,7 +11668,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11662
11668
|
return is;
|
|
11663
11669
|
}, v.D = Qe, v.E = ni, v.F = class {
|
|
11664
11670
|
constructor(n, t) {
|
|
11665
|
-
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new
|
|
11671
|
+
this.target = n, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new nb(() => this.process()), this.subscription = function(r, l, p, y) {
|
|
11666
11672
|
return r.addEventListener(l, p, !1), { unsubscribe: () => {
|
|
11667
11673
|
r.removeEventListener(l, p, !1);
|
|
11668
11674
|
} };
|
|
@@ -11759,24 +11765,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11759
11765
|
}, v.a4 = function() {
|
|
11760
11766
|
return Mt++;
|
|
11761
11767
|
}, v.a5 = Ue, v.a6 = wl, v.a7 = gc, v.a8 = pa, v.a9 = Rg, v.aA = function(n) {
|
|
11762
|
-
if (n.type === "custom") return new
|
|
11768
|
+
if (n.type === "custom") return new ib(n);
|
|
11763
11769
|
switch (n.type) {
|
|
11764
11770
|
case "background":
|
|
11765
|
-
return new
|
|
11771
|
+
return new Qx(n);
|
|
11766
11772
|
case "circle":
|
|
11767
|
-
return new
|
|
11773
|
+
return new jv(n);
|
|
11768
11774
|
case "fill":
|
|
11769
|
-
return new
|
|
11775
|
+
return new nx(n);
|
|
11770
11776
|
case "fill-extrusion":
|
|
11771
|
-
return new
|
|
11777
|
+
return new _x(n);
|
|
11772
11778
|
case "heatmap":
|
|
11773
|
-
return new
|
|
11779
|
+
return new $v(n);
|
|
11774
11780
|
case "hillshade":
|
|
11775
|
-
return new
|
|
11781
|
+
return new qv(n);
|
|
11776
11782
|
case "line":
|
|
11777
|
-
return new
|
|
11783
|
+
return new Ex(n);
|
|
11778
11784
|
case "raster":
|
|
11779
|
-
return new
|
|
11785
|
+
return new tb(n);
|
|
11780
11786
|
case "symbol":
|
|
11781
11787
|
return new Sh(n);
|
|
11782
11788
|
}
|
|
@@ -11834,7 +11840,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11834
11840
|
}
|
|
11835
11841
|
}, v.aI = uh, v.aJ = class extends ua {
|
|
11836
11842
|
constructor(n, t) {
|
|
11837
|
-
super(n, t), this.current =
|
|
11843
|
+
super(n, t), this.current = Dv;
|
|
11838
11844
|
}
|
|
11839
11845
|
set(n) {
|
|
11840
11846
|
if (n[12] !== this.current[12] || n[0] !== this.current[0]) return this.current = n, void this.gl.uniformMatrix4fv(this.location, !1, n);
|
|
@@ -11860,8 +11866,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11860
11866
|
}, v.aP = function(n, t, r, l, p, y, _) {
|
|
11861
11867
|
var b = 1 / (t - r), S = 1 / (l - p), E = 1 / (y - _);
|
|
11862
11868
|
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;
|
|
11863
|
-
}, v.aQ =
|
|
11864
|
-
}, v.aS =
|
|
11869
|
+
}, v.aQ = Nv, v.aR = class extends ue {
|
|
11870
|
+
}, v.aS = Ix, v.aT = class extends ye {
|
|
11865
11871
|
}, v.aU = ap, v.aV = function(n) {
|
|
11866
11872
|
return n <= 1 ? 1 : Math.pow(2, Math.ceil(Math.log(n) / Math.LN2));
|
|
11867
11873
|
}, v.aW = Fm, v.aX = Qi, v.aY = us, v.aZ = class extends et {
|
|
@@ -11947,7 +11953,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
11947
11953
|
}, v.bc = function(n, t) {
|
|
11948
11954
|
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;
|
|
11949
11955
|
}, v.bd = class extends P {
|
|
11950
|
-
}, v.be = Mp, v.bf =
|
|
11956
|
+
}, v.be = Mp, v.bf = db, v.bh = Te, v.bi = function(n, t) {
|
|
11951
11957
|
Cn.REGISTERED_PROTOCOLS[n] = t;
|
|
11952
11958
|
}, v.bj = function(n) {
|
|
11953
11959
|
delete Cn.REGISTERED_PROTOCOLS[n];
|
|
@@ -12007,10 +12013,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12007
12013
|
let ge = !1;
|
|
12008
12014
|
if (E.icon && E.icon.name) {
|
|
12009
12015
|
const fe = n.imageMap[E.icon.name];
|
|
12010
|
-
fe && (X =
|
|
12016
|
+
fe && (X = Gx(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));
|
|
12011
12017
|
}
|
|
12012
12018
|
const ae = Yg($.horizontal) || $.vertical;
|
|
12013
|
-
n.bucket.iconsInText = !!ae && ae.iconsInText, (ae || X) &&
|
|
12019
|
+
n.bucket.iconsInText = !!ae && ae.iconsInText, (ae || X) && ub(n.bucket, E, $, X, n.imageMap, p, F, j, ee, ge, n.canonical);
|
|
12014
12020
|
}
|
|
12015
12021
|
n.showCollisionBoxes && n.bucket.generateCollisionDebugBuffers();
|
|
12016
12022
|
}, v.bq = mp, v.br = dp, v.bs = fp, v.bt = Mo, v.bu = yp, v.bv = class {
|
|
@@ -12053,7 +12059,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
12053
12059
|
const p = new Blob([new Uint8Array(n)], { type: "image/png" });
|
|
12054
12060
|
l.src = n.byteLength ? URL.createObjectURL(p) : vs;
|
|
12055
12061
|
}), 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) {
|
|
12056
|
-
return new yp(n).readFields(
|
|
12062
|
+
return new yp(n).readFields(Vx, []);
|
|
12057
12063
|
}, v.o = jc, v.p = hg, 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]) {
|
|
12058
12064
|
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) };
|
|
12059
12065
|
}, v.y = gn, v.z = fi;
|
|
@@ -21866,8 +21872,8 @@ uniform ${L} ${O} u_${V};
|
|
|
21866
21872
|
var x = a;
|
|
21867
21873
|
return x;
|
|
21868
21874
|
});
|
|
21869
|
-
})(
|
|
21870
|
-
var gS =
|
|
21875
|
+
})(b0);
|
|
21876
|
+
var gS = b0.exports;
|
|
21871
21877
|
const yS = /* @__PURE__ */ fS(gS), ed = [
|
|
21872
21878
|
"#FF6633",
|
|
21873
21879
|
"#FFB399",
|
|
@@ -22645,13 +22651,13 @@ function PS(s, i, a, c, f, x) {
|
|
|
22645
22651
|
re("div", { class: "text-red-500" }, " Не визначено ", -1)
|
|
22646
22652
|
])))
|
|
22647
22653
|
])), [
|
|
22648
|
-
[
|
|
22654
|
+
[Ib, !x.rowValue(v).includes("id")]
|
|
22649
22655
|
])), 128))
|
|
22650
22656
|
])
|
|
22651
22657
|
]))
|
|
22652
22658
|
], 4);
|
|
22653
22659
|
}
|
|
22654
|
-
const CS = /* @__PURE__ */ Xi(bS, [["render", PS], ["__scopeId", "data-v-3f5a9aff"]]),
|
|
22660
|
+
const CS = /* @__PURE__ */ Xi(bS, [["render", PS], ["__scopeId", "data-v-3f5a9aff"]]), jy = {
|
|
22655
22661
|
width: 200,
|
|
22656
22662
|
show: !0,
|
|
22657
22663
|
position: "horizontal"
|
|
@@ -22667,7 +22673,7 @@ const CS = /* @__PURE__ */ Xi(bS, [["render", PS], ["__scopeId", "data-v-3f5a9af
|
|
|
22667
22673
|
data() {
|
|
22668
22674
|
return {
|
|
22669
22675
|
objectData: [],
|
|
22670
|
-
popupSettings:
|
|
22676
|
+
popupSettings: jy
|
|
22671
22677
|
};
|
|
22672
22678
|
},
|
|
22673
22679
|
computed: {
|
|
@@ -22696,7 +22702,7 @@ const CS = /* @__PURE__ */ Xi(bS, [["render", PS], ["__scopeId", "data-v-3f5a9af
|
|
|
22696
22702
|
const i = Object.keys(s.properties).filter(
|
|
22697
22703
|
(G) => !G.match("__text") && !["id"].includes(G)
|
|
22698
22704
|
), { currentLayer: a } = this;
|
|
22699
|
-
if ((C = a == null ? void 0 : a.setting) != null && C.popup && (this.popupSettings = (a == null ? void 0 : a.setting.popup) ||
|
|
22705
|
+
if ((C = a == null ? void 0 : a.setting) != null && C.popup && (this.popupSettings = (a == null ? void 0 : a.setting.popup) || jy), !(a != null && a.meta)) {
|
|
22700
22706
|
const G = i.map((ne) => ({ title: ne, value: s.properties[ne] }));
|
|
22701
22707
|
this.objectData = [
|
|
22702
22708
|
...G,
|
|
@@ -22769,7 +22775,7 @@ function FS(s, i, a, c, f, x) {
|
|
|
22769
22775
|
var u, C, I, A, z, R, U, G, ne, ce, de;
|
|
22770
22776
|
const v = kn("VsPopupBody");
|
|
22771
22777
|
return ht(), _t("div", {
|
|
22772
|
-
class:
|
|
22778
|
+
class: E_((((u = f.popupSettings) == null ? void 0 : u.position) || "horizontal") + "-position")
|
|
22773
22779
|
}, [
|
|
22774
22780
|
f.objectData.filter((be) => be.column !== "image").length ? (ht(), _t("div", AS, [
|
|
22775
22781
|
x.getImage && ((C = x.getImage) != null && C.value) ? (ht(), _t("div", DS, [
|
|
@@ -22944,7 +22950,7 @@ const BS = /* @__PURE__ */ Xi(IS, [["render", FS], ["__scopeId", "data-v-deb51e0
|
|
|
22944
22950
|
}
|
|
22945
22951
|
const { data: a } = await Ut.get(
|
|
22946
22952
|
`https://data.gki.com.ua/api-user/atu/${s}`
|
|
22947
|
-
), c =
|
|
22953
|
+
), c = x0(a);
|
|
22948
22954
|
this.cityBbox = c, i.addSource("atu", {
|
|
22949
22955
|
type: "geojson",
|
|
22950
22956
|
data: a
|
|
@@ -23065,14 +23071,14 @@ const ZS = /* @__PURE__ */ Xi($S, [["render", HS]]), cr = "widget-map-source", W
|
|
|
23065
23071
|
formatGeojson(s) {
|
|
23066
23072
|
let i = s;
|
|
23067
23073
|
const a = s == null ? void 0 : s.type;
|
|
23068
|
-
if (Array.isArray(s)) return
|
|
23074
|
+
if (Array.isArray(s)) return Ny(s);
|
|
23069
23075
|
if (!a) throw new Error("Unknown geometry type!");
|
|
23070
23076
|
return a === "FeatureCollection" ? s : (a === "Feature" && (i = [s]), !["FeatureCollection", "Feature"].includes(
|
|
23071
23077
|
a
|
|
23072
|
-
) && (i = [mS(s)]),
|
|
23078
|
+
) && (i = [mS(s)]), Ny(i));
|
|
23073
23079
|
},
|
|
23074
23080
|
zoomToGeometry(s) {
|
|
23075
|
-
const { map: i } = this, a =
|
|
23081
|
+
const { map: i } = this, a = x0(s);
|
|
23076
23082
|
i.fitBounds(a, {
|
|
23077
23083
|
zoom: this.zoom,
|
|
23078
23084
|
padding: 30,
|
|
@@ -23166,10 +23172,10 @@ class XS {
|
|
|
23166
23172
|
this.element.removeEventListener("mousedown", this.onPointerStart, Pl), this.element.removeEventListener("touchstart", this.onTouchStart, Pl), this.element.removeEventListener("touchmove", this.onMove, Pl), this.element.removeEventListener("touchend", this.onTouchEnd), this.element.removeEventListener("touchcancel", this.onTouchEnd), window.removeEventListener("mousemove", this.onMove), window.removeEventListener("mouseup", this.onPointerEnd), window.removeEventListener("blur", this.onWindowBlur);
|
|
23167
23173
|
}
|
|
23168
23174
|
}
|
|
23169
|
-
function
|
|
23175
|
+
function Vy(s, i) {
|
|
23170
23176
|
return i ? Math.sqrt(Math.pow(i.clientX - s.clientX, 2) + Math.pow(i.clientY - s.clientY, 2)) : 0;
|
|
23171
23177
|
}
|
|
23172
|
-
function
|
|
23178
|
+
function $y(s, i) {
|
|
23173
23179
|
return i ? { clientX: (s.clientX + i.clientX) / 2, clientY: (s.clientY + i.clientY) / 2 } : s;
|
|
23174
23180
|
}
|
|
23175
23181
|
const Af = (s) => typeof s == "object" && s !== null && s.constructor === Object && Object.prototype.toString.call(s) === "[object Object]", Qn = (s, ...i) => {
|
|
@@ -23264,7 +23270,7 @@ var ui;
|
|
|
23264
23270
|
(function(s) {
|
|
23265
23271
|
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";
|
|
23266
23272
|
})(ui || (ui = {}));
|
|
23267
|
-
const Or = ["a", "b", "c", "d", "e", "f"],
|
|
23273
|
+
const Or = ["a", "b", "c", "d", "e", "f"], S0 = { 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" }, KS = { 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: S0 }, Uy = '<circle cx="25" cy="25" r="20"></circle>', Jf = '<div class="f-spinner"><svg viewBox="0 0 50 50">' + Uy + Uy + "</svg></div>", Jn = (s) => s && s !== null && s instanceof Element && "nodeType" in s, li = (s, i) => {
|
|
23268
23274
|
s && Xf(i).forEach((a) => {
|
|
23269
23275
|
s.classList.remove(a);
|
|
23270
23276
|
});
|
|
@@ -23272,7 +23278,7 @@ const Or = ["a", "b", "c", "d", "e", "f"], w0 = { PANUP: "Move up", PANDOWN: "Mo
|
|
|
23272
23278
|
s && Xf(i).forEach((a) => {
|
|
23273
23279
|
s.classList.add(a);
|
|
23274
23280
|
});
|
|
23275
|
-
}, Dh = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 }, JS = 1e5, zh = 1e4, As = "mousemove",
|
|
23281
|
+
}, Dh = { a: 1, b: 0, c: 0, d: 1, e: 0, f: 0 }, JS = 1e5, zh = 1e4, As = "mousemove", qy = "drag", Hy = "content", Ds = "auto";
|
|
23276
23282
|
let Xp = null, Kp = null;
|
|
23277
23283
|
class Ia extends Kf {
|
|
23278
23284
|
get fits() {
|
|
@@ -23285,7 +23291,7 @@ class Ia extends Kf {
|
|
|
23285
23291
|
return Xp === null && (Xp = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent)), Xp;
|
|
23286
23292
|
}
|
|
23287
23293
|
get panMode() {
|
|
23288
|
-
return this.options.panMode !== As || this.isTouchDevice ?
|
|
23294
|
+
return this.options.panMode !== As || this.isTouchDevice ? qy : As;
|
|
23289
23295
|
}
|
|
23290
23296
|
get panOnlyZoomed() {
|
|
23291
23297
|
const i = this.options.panOnlyZoomed;
|
|
@@ -23354,8 +23360,8 @@ class Ia extends Kf {
|
|
|
23354
23360
|
});
|
|
23355
23361
|
}
|
|
23356
23362
|
initContent() {
|
|
23357
|
-
const { container: i } = this, a = this.cn(
|
|
23358
|
-
let c = this.option(
|
|
23363
|
+
const { container: i } = this, a = this.cn(Hy);
|
|
23364
|
+
let c = this.option(Hy) || i.querySelector(`.${a}`);
|
|
23359
23365
|
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");
|
|
23360
23366
|
this.content = c;
|
|
23361
23367
|
}
|
|
@@ -23507,13 +23513,13 @@ class Ia extends Kf {
|
|
|
23507
23513
|
onPointerMove(i, a, c) {
|
|
23508
23514
|
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;
|
|
23509
23515
|
this.addTrackingPoint(a[0]);
|
|
23510
|
-
const { content: f } = this, x =
|
|
23516
|
+
const { content: f } = this, x = $y(c[0], c[1]), v = $y(a[0], a[1]);
|
|
23511
23517
|
let u = 0, C = 0;
|
|
23512
23518
|
if (a.length > 1) {
|
|
23513
23519
|
const _e = f.getBoundingClientRect();
|
|
23514
23520
|
u = x.clientX - _e.left - 0.5 * _e.width, C = x.clientY - _e.top - 0.5 * _e.height;
|
|
23515
23521
|
}
|
|
23516
|
-
const I =
|
|
23522
|
+
const I = Vy(c[0], c[1]), A = Vy(a[0], a[1]);
|
|
23517
23523
|
let z = I ? A / I : 1, R = v.clientX - x.clientX, U = v.clientY - x.clientY;
|
|
23518
23524
|
this.dragOffset.x += R, this.dragOffset.y += U, this.dragOffset.time = Date.now() - this.dragStart.time;
|
|
23519
23525
|
let G = Xe(this.targetScale) === Xe(this.minScale) && this.option("lockAxis");
|
|
@@ -23645,7 +23651,7 @@ class Ia extends Kf {
|
|
|
23645
23651
|
const i = this, a = i.container, { panMode: c, contentRect: f, targetScale: x, minScale: v } = i;
|
|
23646
23652
|
let u = v, C = i.option("click") || !1;
|
|
23647
23653
|
C && (u = i.getNextScale(C));
|
|
23648
|
-
let I = i.canZoomIn(), A = i.canZoomOut(), z = c ===
|
|
23654
|
+
let I = i.canZoomIn(), A = i.canZoomOut(), z = c === qy && !!this.option("touch"), R = A && z;
|
|
23649
23655
|
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;
|
|
23650
23656
|
let U = I && Xe(u) > Xe(x), G = !U && !R && A && Xe(u) < Xe(x);
|
|
23651
23657
|
fr(a, this.cn("canZoomIn"), U), fr(a, this.cn("canZoomOut"), G);
|
|
@@ -23814,14 +23820,14 @@ class Ia extends Kf {
|
|
|
23814
23820
|
}
|
|
23815
23821
|
}
|
|
23816
23822
|
Object.defineProperty(Ia, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: KS }), Object.defineProperty(Ia, "Plugins", { enumerable: !0, configurable: !0, writable: !0, value: {} });
|
|
23817
|
-
const
|
|
23823
|
+
const Zy = function(s, i) {
|
|
23818
23824
|
let a = !0;
|
|
23819
23825
|
return (...c) => {
|
|
23820
23826
|
a && (a = !1, s(...c), setTimeout(() => {
|
|
23821
23827
|
a = !0;
|
|
23822
23828
|
}, i));
|
|
23823
23829
|
};
|
|
23824
|
-
},
|
|
23830
|
+
}, Wy = (s, i) => {
|
|
23825
23831
|
let a = [];
|
|
23826
23832
|
return s.childNodes.forEach((c) => {
|
|
23827
23833
|
c.nodeType !== Node.ELEMENT_NODE || i && !c.matches(i) || a.push(c);
|
|
@@ -23849,7 +23855,7 @@ class Xs extends id {
|
|
|
23849
23855
|
}
|
|
23850
23856
|
}
|
|
23851
23857
|
const tT = { 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 };
|
|
23852
|
-
class
|
|
23858
|
+
class T0 extends Xs {
|
|
23853
23859
|
constructor() {
|
|
23854
23860
|
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 });
|
|
23855
23861
|
}
|
|
@@ -23905,9 +23911,9 @@ class S0 extends Xs {
|
|
|
23905
23911
|
this.instance.off(["refresh", "change"], this.onRefresh), this.cleanup();
|
|
23906
23912
|
}
|
|
23907
23913
|
}
|
|
23908
|
-
Object.defineProperty(
|
|
23909
|
-
const Rh = "disabled", Lh = "next",
|
|
23910
|
-
class
|
|
23914
|
+
Object.defineProperty(T0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: tT });
|
|
23915
|
+
const Rh = "disabled", Lh = "next", Gy = "prev";
|
|
23916
|
+
class k0 extends Xs {
|
|
23911
23917
|
constructor() {
|
|
23912
23918
|
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 });
|
|
23913
23919
|
}
|
|
@@ -23922,14 +23928,14 @@ class T0 extends Xs {
|
|
|
23922
23928
|
var a;
|
|
23923
23929
|
const c = this.instance, f = document.createElement("button");
|
|
23924
23930
|
f.setAttribute("tabindex", "0"), f.setAttribute("title", c.localize(`{{${i.toUpperCase()}}}`)), dt(f, this.cn("button") + " " + this.cn(i === Lh ? "isNext" : "isPrev"));
|
|
23925
|
-
const x = c.isRTL ? i === Lh ?
|
|
23931
|
+
const x = c.isRTL ? i === Lh ? Gy : Lh : i;
|
|
23926
23932
|
var v;
|
|
23927
23933
|
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;
|
|
23928
23934
|
}
|
|
23929
23935
|
build() {
|
|
23930
23936
|
const i = this.instance.container, a = this.cn("container");
|
|
23931
23937
|
let { container: c, prev: f, next: x } = this;
|
|
23932
|
-
c || (c = i.querySelector("." + a), this.isDom = !!c), c || (c = document.createElement("div"), dt(c, a), i.appendChild(c)), this.container = c, x || (x = c.querySelector("[data-carousel-next]")), x || (x = this.addBtn(Lh)), this.next = x, f || (f = c.querySelector("[data-carousel-prev]")), f || (f = this.addBtn(
|
|
23938
|
+
c || (c = i.querySelector("." + a), this.isDom = !!c), c || (c = document.createElement("div"), dt(c, a), i.appendChild(c)), this.container = c, x || (x = c.querySelector("[data-carousel-next]")), x || (x = this.addBtn(Lh)), this.next = x, f || (f = c.querySelector("[data-carousel-prev]")), f || (f = this.addBtn(Gy)), this.prev = f;
|
|
23933
23939
|
}
|
|
23934
23940
|
cleanup() {
|
|
23935
23941
|
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;
|
|
@@ -23941,8 +23947,8 @@ class T0 extends Xs {
|
|
|
23941
23947
|
this.instance.off(["refresh", "change"], this.onRefresh), this.cleanup();
|
|
23942
23948
|
}
|
|
23943
23949
|
}
|
|
23944
|
-
Object.defineProperty(
|
|
23945
|
-
class
|
|
23950
|
+
Object.defineProperty(k0, "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>' } });
|
|
23951
|
+
class E0 extends Xs {
|
|
23946
23952
|
constructor() {
|
|
23947
23953
|
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 });
|
|
23948
23954
|
}
|
|
@@ -24001,8 +24007,8 @@ class k0 extends Xs {
|
|
|
24001
24007
|
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;
|
|
24002
24008
|
}
|
|
24003
24009
|
}
|
|
24004
|
-
Object.defineProperty(
|
|
24005
|
-
const iT = { Navigation:
|
|
24010
|
+
Object.defineProperty(E0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { friction: 0.35 } });
|
|
24011
|
+
const iT = { Navigation: k0, Dots: T0, Sync: E0 }, Oh = "animationend", Yy = "isSelected", Fh = "slide";
|
|
24006
24012
|
class Ma extends Kf {
|
|
24007
24013
|
get axis() {
|
|
24008
24014
|
return this.isHorizontal ? "e" : "f";
|
|
@@ -24023,7 +24029,7 @@ class Ma extends Kf {
|
|
|
24023
24029
|
}
|
|
24024
24030
|
constructor(i, a = {}, c = {}) {
|
|
24025
24031
|
if (super(), Object.defineProperty(this, "bp", { enumerable: !0, configurable: !0, writable: !0, value: "" }), Object.defineProperty(this, "lp", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "userOptions", { enumerable: !0, configurable: !0, writable: !0, value: {} }), Object.defineProperty(this, "userPlugins", { enumerable: !0, configurable: !0, writable: !0, value: {} }), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: Ui.Init }), Object.defineProperty(this, "page", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "prevPage", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: void 0 }), Object.defineProperty(this, "viewport", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "track", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "slides", { enumerable: !0, configurable: !0, writable: !0, value: [] }), Object.defineProperty(this, "pages", { enumerable: !0, configurable: !0, writable: !0, value: [] }), Object.defineProperty(this, "panzoom", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "inTransition", { enumerable: !0, configurable: !0, writable: !0, value: /* @__PURE__ */ new Set() }), Object.defineProperty(this, "contentDim", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "viewportDim", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), typeof i == "string" && (i = document.querySelector(i)), !i || !Jn(i)) throw new Error("No Element found");
|
|
24026
|
-
this.container = i, this.slideNext =
|
|
24032
|
+
this.container = i, this.slideNext = Zy(this.slideNext.bind(this), 150), this.slidePrev = Zy(this.slidePrev.bind(this), 150), this.userOptions = a, this.userPlugins = c, queueMicrotask(() => {
|
|
24027
24033
|
this.processOptions();
|
|
24028
24034
|
});
|
|
24029
24035
|
}
|
|
@@ -24044,7 +24050,7 @@ class Ma extends Kf {
|
|
|
24044
24050
|
const { container: i } = this, a = this.option("classes");
|
|
24045
24051
|
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);
|
|
24046
24052
|
let c = this.option("viewport") || i.querySelector(`.${a.viewport}`);
|
|
24047
|
-
c || (c = document.createElement("div"), dt(c, a.viewport), c.append(...
|
|
24053
|
+
c || (c = document.createElement("div"), dt(c, a.viewport), c.append(...Wy(i, `.${a.slide}`)), i.prepend(c)), c.addEventListener("scroll", this.onScroll);
|
|
24048
24054
|
let f = this.option("track") || i.querySelector(`.${a.track}`);
|
|
24049
24055
|
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");
|
|
24050
24056
|
}
|
|
@@ -24052,7 +24058,7 @@ class Ma extends Kf {
|
|
|
24052
24058
|
const { track: i } = this;
|
|
24053
24059
|
if (!i) return;
|
|
24054
24060
|
const a = [...this.slides], c = [];
|
|
24055
|
-
[...
|
|
24061
|
+
[...Wy(i, `.${this.cn(Fh)}`)].forEach((f) => {
|
|
24056
24062
|
if (Jn(f)) {
|
|
24057
24063
|
const x = Jp({ el: f, isDom: !0, index: this.slides.length });
|
|
24058
24064
|
c.push(x);
|
|
@@ -24180,7 +24186,7 @@ class Ma extends Kf {
|
|
|
24180
24186
|
removeSlideEl(i, a = !1) {
|
|
24181
24187
|
const c = i == null ? void 0 : i.el;
|
|
24182
24188
|
if (!c || !c.parentNode) return;
|
|
24183
|
-
const f = this.cn(
|
|
24189
|
+
const f = this.cn(Yy);
|
|
24184
24190
|
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 = "");
|
|
24185
24191
|
this.emit("removeSlide", i);
|
|
24186
24192
|
const x = new CustomEvent(Oh);
|
|
@@ -24218,7 +24224,7 @@ class Ma extends Kf {
|
|
|
24218
24224
|
markSelectedSlides() {
|
|
24219
24225
|
if (!this.pages[this.page] || !this.pages[this.page].slides) return;
|
|
24220
24226
|
const i = "aria-hidden";
|
|
24221
|
-
let a = this.cn(
|
|
24227
|
+
let a = this.cn(Yy);
|
|
24222
24228
|
if (a) for (const c of this.slides) {
|
|
24223
24229
|
const f = c.el;
|
|
24224
24230
|
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")));
|
|
@@ -24464,7 +24470,7 @@ class Ma extends Kf {
|
|
|
24464
24470
|
}
|
|
24465
24471
|
}
|
|
24466
24472
|
Object.defineProperty(Ma, "Panzoom", { enumerable: !0, configurable: !0, writable: !0, value: Ia }), Object.defineProperty(Ma, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: QS }), Object.defineProperty(Ma, "Plugins", { enumerable: !0, configurable: !0, writable: !0, value: iT });
|
|
24467
|
-
const
|
|
24473
|
+
const M0 = function(s) {
|
|
24468
24474
|
if (!Jn(s)) return 0;
|
|
24469
24475
|
const i = window.scrollY, a = window.innerHeight, c = i + a, f = s.getBoundingClientRect(), x = f.y + i, v = f.height, u = x + v;
|
|
24470
24476
|
if (i > u || c < x) return 0;
|
|
@@ -24475,7 +24481,7 @@ const E0 = function(s) {
|
|
|
24475
24481
|
return Math.round(I);
|
|
24476
24482
|
}, hu = !(typeof window > "u" || !window.document || !window.document.createElement);
|
|
24477
24483
|
let Qp;
|
|
24478
|
-
const ef = ["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(","),
|
|
24484
|
+
const ef = ["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(","), Xy = (s) => {
|
|
24479
24485
|
if (s && hu) {
|
|
24480
24486
|
Qp === void 0 && document.createElement("div").focus({ get preventScroll() {
|
|
24481
24487
|
return Qp = !0, !1;
|
|
@@ -24489,7 +24495,7 @@ const ef = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"])
|
|
|
24489
24495
|
} catch {
|
|
24490
24496
|
}
|
|
24491
24497
|
}
|
|
24492
|
-
},
|
|
24498
|
+
}, P0 = () => {
|
|
24493
24499
|
const s = document;
|
|
24494
24500
|
let i, a = "", c = "", f = "";
|
|
24495
24501
|
return s.fullscreenEnabled ? (a = "requestFullscreen", c = "exitFullscreen", f = "fullscreenElement") : s.webkitFullscreenEnabled && (a = "webkitRequestFullscreen", c = "webkitExitFullscreen", f = "webkitFullscreenElement"), a && (i = { request: function(x = s.documentElement) {
|
|
@@ -24499,7 +24505,7 @@ const ef = ["a[href]", "area[href]", 'input:not([disabled]):not([type="hidden"])
|
|
|
24499
24505
|
}, isFullscreen: function() {
|
|
24500
24506
|
return s[f];
|
|
24501
24507
|
} }), i;
|
|
24502
|
-
}, Df = { 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({},
|
|
24508
|
+
}, Df = { 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({}, S0), { 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">
|
|
24503
24509
|
<div class="fancybox__backdrop"></div>
|
|
24504
24510
|
<div class="fancybox__carousel"></div>
|
|
24505
24511
|
<div class="fancybox__footer"></div>
|
|
@@ -24510,8 +24516,8 @@ var on, Tn;
|
|
|
24510
24516
|
})(on || (on = {})), function(s) {
|
|
24511
24517
|
s[s.Loading = 0] = "Loading", s[s.Opening = 1] = "Opening", s[s.Ready = 2] = "Ready", s[s.Closing = 3] = "Closing";
|
|
24512
24518
|
}(Tn || (Tn = {}));
|
|
24513
|
-
let
|
|
24514
|
-
const
|
|
24519
|
+
let Ky = "", lu = !1, Bh = !1, ba = null;
|
|
24520
|
+
const C0 = () => {
|
|
24515
24521
|
let s = "", i = "";
|
|
24516
24522
|
const a = Kt.getInstance();
|
|
24517
24523
|
if (a) {
|
|
@@ -24525,31 +24531,31 @@ const P0 = () => {
|
|
|
24525
24531
|
}, nd = () => {
|
|
24526
24532
|
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;
|
|
24527
24533
|
return { hash: s, slug: i.join("-"), index: c };
|
|
24528
|
-
},
|
|
24534
|
+
}, I0 = () => {
|
|
24529
24535
|
const { slug: s, index: i } = nd();
|
|
24530
24536
|
if (!s) return;
|
|
24531
24537
|
let a = document.querySelector(`[data-slug="${s}"]`);
|
|
24532
24538
|
if (a && a.dispatchEvent(new CustomEvent("click", { bubbles: !0, cancelable: !0 })), Kt.getInstance()) return;
|
|
24533
24539
|
const c = document.querySelectorAll(`[data-fancybox="${s}"]`);
|
|
24534
24540
|
c.length && (a = c[i - 1], a && a.dispatchEvent(new CustomEvent("click", { bubbles: !0, cancelable: !0 })));
|
|
24535
|
-
},
|
|
24541
|
+
}, A0 = () => {
|
|
24536
24542
|
if (Kt.defaults.Hash === !1) return;
|
|
24537
24543
|
const s = Kt.getInstance();
|
|
24538
24544
|
if ((s == null ? void 0 : s.options.Hash) === !1) return;
|
|
24539
|
-
const { slug: i, index: a } = nd(), { slug: c } =
|
|
24540
|
-
s && (i === c ? s.jumpTo(a - 1) : (lu = !0, s.close())),
|
|
24541
|
-
},
|
|
24545
|
+
const { slug: i, index: a } = nd(), { slug: c } = C0();
|
|
24546
|
+
s && (i === c ? s.jumpTo(a - 1) : (lu = !0, s.close())), I0();
|
|
24547
|
+
}, D0 = () => {
|
|
24542
24548
|
ba && clearTimeout(ba), queueMicrotask(() => {
|
|
24543
|
-
|
|
24549
|
+
A0();
|
|
24544
24550
|
});
|
|
24545
|
-
},
|
|
24546
|
-
window.addEventListener("hashchange",
|
|
24547
|
-
|
|
24551
|
+
}, Jy = () => {
|
|
24552
|
+
window.addEventListener("hashchange", D0, !1), setTimeout(() => {
|
|
24553
|
+
A0();
|
|
24548
24554
|
}, 500);
|
|
24549
24555
|
};
|
|
24550
|
-
hu && (/complete|interactive|loaded/.test(document.readyState) ?
|
|
24556
|
+
hu && (/complete|interactive|loaded/.test(document.readyState) ? Jy() : document.addEventListener("DOMContentLoaded", Jy));
|
|
24551
24557
|
const Nh = "is-zooming-in";
|
|
24552
|
-
class
|
|
24558
|
+
class z0 extends Xs {
|
|
24553
24559
|
onCreateSlide(i, a, c) {
|
|
24554
24560
|
const f = this.instance.optionFor(c, "src") || "";
|
|
24555
24561
|
c.el && c.type === "image" && typeof f == "string" && this.setImage(c, f);
|
|
@@ -24690,7 +24696,7 @@ class D0 extends Xs {
|
|
|
24690
24696
|
}
|
|
24691
24697
|
getZoomInfo(i) {
|
|
24692
24698
|
const { el: a, imageEl: c, thumbEl: f, panzoom: x } = i, v = this.instance, u = v.container;
|
|
24693
|
-
if (!a || !c || !f || !x ||
|
|
24699
|
+
if (!a || !c || !f || !x || M0(f) < 3 || !this.optionFor(i, "zoom") || !u || v.state === on.Destroy || getComputedStyle(u).getPropertyValue("--f-images-zoom") === "0") return !1;
|
|
24694
24700
|
const C = window.visualViewport || null;
|
|
24695
24701
|
if ((C ? C.scale : 1) !== 1) return !1;
|
|
24696
24702
|
let { top: I, left: A, width: z, height: R } = f.getBoundingClientRect(), { top: U, left: G, fitWidth: ne, fitHeight: ce } = x.contentRect;
|
|
@@ -24710,8 +24716,8 @@ class D0 extends Xs {
|
|
|
24710
24716
|
a.off("Carousel.change", i.onChange), a.off("Carousel.createSlide", i.onCreateSlide), a.off("Carousel.removeSlide", i.onRemoveSlide), a.off("close", i.onClose);
|
|
24711
24717
|
}
|
|
24712
24718
|
}
|
|
24713
|
-
Object.defineProperty(
|
|
24714
|
-
const tf = "html",
|
|
24719
|
+
Object.defineProperty(z0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { initialSize: "fit", Panzoom: { maxScale: 1 }, protected: !1, zoom: !0, zoomOpacity: "auto" } }), typeof SuppressedError == "function" && SuppressedError;
|
|
24720
|
+
const tf = "html", Qy = "image", nf = "map", Fr = "youtube", ya = "vimeo", su = "html5video", e_ = (s, i = {}) => {
|
|
24715
24721
|
const a = new URL(s), c = new URLSearchParams(a.search), f = new URLSearchParams();
|
|
24716
24722
|
for (const [u, C] of [...c, ...Object.entries(i)]) {
|
|
24717
24723
|
let I = C + "";
|
|
@@ -24724,7 +24730,7 @@ const tf = "html", Jy = "image", nf = "map", Fr = "youtube", ya = "vimeo", su =
|
|
|
24724
24730
|
return v && (x += `#t=${v[1]}`), x;
|
|
24725
24731
|
}, nT = { 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}}">
|
|
24726
24732
|
<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 } }, sT = ["image", "html", "ajax", "inline", "clone", "iframe", "map", "pdf", "html5video", "youtube", "vimeo"];
|
|
24727
|
-
class
|
|
24733
|
+
class R0 extends Xs {
|
|
24728
24734
|
onBeforeInitSlide(i, a, c) {
|
|
24729
24735
|
this.processType(c);
|
|
24730
24736
|
}
|
|
@@ -24889,17 +24895,17 @@ class z0 extends Xs {
|
|
|
24889
24895
|
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]]);
|
|
24890
24896
|
}
|
|
24891
24897
|
return U;
|
|
24892
|
-
}(x, ["nocookie"]), C = `www.youtube${v ? "-nocookie" : ""}.com`, I =
|
|
24898
|
+
}(x, ["nocookie"]), C = `www.youtube${v ? "-nocookie" : ""}.com`, I = e_(a, u), A = encodeURIComponent(f[2]);
|
|
24893
24899
|
i.videoId = A, i.src = `https://${C}/embed/${A}?${I}`, i.thumbSrc = i.thumbSrc || `https://i.ytimg.com/vi/${A}/mqdefault.jpg`, c = Fr;
|
|
24894
24900
|
} else if (f = a.match(/^.+vimeo.com\/(?:\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/)) {
|
|
24895
|
-
const x =
|
|
24901
|
+
const x = e_(a, this.optionFor(i, ya)), v = encodeURIComponent(f[1]), u = f[4] || "";
|
|
24896
24902
|
i.videoId = v, i.src = `https://player.vimeo.com/video/${v}?${u ? `h=${u}${x ? "&" : ""}` : ""}${x}`, c = ya;
|
|
24897
24903
|
}
|
|
24898
24904
|
if (!c && i.triggerEl) {
|
|
24899
24905
|
const x = i.triggerEl.dataset.type;
|
|
24900
24906
|
sT.includes(x) && (c = x);
|
|
24901
24907
|
}
|
|
24902
|
-
c || typeof a == "string" && (a.charAt(0) === "#" ? c = "inline" : (f = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (c = su, i.videoFormat = i.videoFormat || "video/" + (f[1] === "ogv" ? "ogg" : f[1])) : a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i) ? c =
|
|
24908
|
+
c || typeof a == "string" && (a.charAt(0) === "#" ? c = "inline" : (f = a.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i)) ? (c = su, i.videoFormat = i.videoFormat || "video/" + (f[1] === "ogv" ? "ogg" : f[1])) : a.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i) ? c = Qy : 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 = nf) : (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 = nf), c = c || this.instance.option("defaultType"), i.type = c, c === Qy && (i.thumbSrc = i.thumbSrc || i.src);
|
|
24903
24909
|
}
|
|
24904
24910
|
setContent(i) {
|
|
24905
24911
|
const a = this.instance.optionFor(i, "src") || "";
|
|
@@ -24953,9 +24959,9 @@ class z0 extends Xs {
|
|
|
24953
24959
|
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);
|
|
24954
24960
|
}
|
|
24955
24961
|
}
|
|
24956
|
-
Object.defineProperty(
|
|
24962
|
+
Object.defineProperty(R0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: nT });
|
|
24957
24963
|
const jh = "play", Vh = "pause", ru = "ready";
|
|
24958
|
-
class
|
|
24964
|
+
class L0 extends Xs {
|
|
24959
24965
|
constructor() {
|
|
24960
24966
|
super(...arguments), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: ru }), Object.defineProperty(this, "inHover", { enumerable: !0, configurable: !0, writable: !0, value: !1 }), Object.defineProperty(this, "timer", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "progressBar", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
24961
24967
|
}
|
|
@@ -25052,8 +25058,8 @@ class R0 extends Xs {
|
|
|
25052
25058
|
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();
|
|
25053
25059
|
}
|
|
25054
25060
|
}
|
|
25055
|
-
Object.defineProperty(
|
|
25056
|
-
class
|
|
25061
|
+
Object.defineProperty(L0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { autoStart: !0, pauseOnHover: !0, progressParentEl: null, showProgress: !0, timeout: 3e3 } });
|
|
25062
|
+
class O0 extends Xs {
|
|
25057
25063
|
constructor() {
|
|
25058
25064
|
super(...arguments), Object.defineProperty(this, "ref", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
25059
25065
|
}
|
|
@@ -25071,7 +25077,7 @@ class L0 extends Xs {
|
|
|
25071
25077
|
}, resume: (f, x) => {
|
|
25072
25078
|
var v, u, C;
|
|
25073
25079
|
!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();
|
|
25074
|
-
} } }), a.attachPlugins({ Autoplay:
|
|
25080
|
+
} } }), a.attachPlugins({ Autoplay: L0 }), this.ref = a.plugins.Autoplay);
|
|
25075
25081
|
}
|
|
25076
25082
|
onReady(i) {
|
|
25077
25083
|
const a = i.carousel, c = this.ref;
|
|
@@ -25099,17 +25105,17 @@ class L0 extends Xs {
|
|
|
25099
25105
|
a.off("Carousel.init", i.onPrepare), a.off("Carousel.ready", i.onReady), a.off("done", i.onDone), a.off("keydown", i.onKeydown);
|
|
25100
25106
|
}
|
|
25101
25107
|
}
|
|
25102
|
-
Object.defineProperty(
|
|
25108
|
+
Object.defineProperty(O0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: { key: " ", playOnStart: !1, progressParentEl: (s) => {
|
|
25103
25109
|
var i;
|
|
25104
25110
|
return ((i = s.instance.container) === null || i === void 0 ? void 0 : i.querySelector(".fancybox__toolbar [data-fancybox-toggle-slideshow]")) || s.instance.container;
|
|
25105
25111
|
}, timeout: 3e3 } });
|
|
25106
|
-
const
|
|
25112
|
+
const F0 = { 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" };
|
|
25107
25113
|
var Vr;
|
|
25108
25114
|
(function(s) {
|
|
25109
25115
|
s[s.Init = 0] = "Init", s[s.Ready = 1] = "Ready", s[s.Hidden = 2] = "Hidden";
|
|
25110
25116
|
})(Vr || (Vr = {}));
|
|
25111
|
-
const
|
|
25112
|
-
let
|
|
25117
|
+
const t_ = "isResting", $h = "thumbWidth", Cl = "thumbHeight", ur = "thumbClipWidth";
|
|
25118
|
+
let B0 = class extends Xs {
|
|
25113
25119
|
constructor() {
|
|
25114
25120
|
super(...arguments), Object.defineProperty(this, "type", { enumerable: !0, configurable: !0, writable: !0, value: "modern" }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "track", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "carousel", { enumerable: !0, configurable: !0, writable: !0, value: null }), Object.defineProperty(this, "thumbWidth", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbClipWidth", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbHeight", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbGap", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "thumbExtraGap", { enumerable: !0, configurable: !0, writable: !0, value: 0 }), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: Vr.Init });
|
|
25115
25121
|
}
|
|
@@ -25129,12 +25135,12 @@ let F0 = class extends Xs {
|
|
|
25129
25135
|
const i = this.container, a = this.instance, c = a.panzoom, f = this.carousel, x = f ? f.panzoom : null, v = a.page;
|
|
25130
25136
|
if (c && f && x) {
|
|
25131
25137
|
if (c.isDragging) {
|
|
25132
|
-
li(i, this.cn(
|
|
25138
|
+
li(i, this.cn(t_));
|
|
25133
25139
|
let u = ((s = f.pages[v]) === null || s === void 0 ? void 0 : s.pos) || 0;
|
|
25134
25140
|
u += a.getProgress(v) * (this[ur] + this.thumbGap);
|
|
25135
25141
|
let C = x.getBounds();
|
|
25136
25142
|
-1 * u > C.x.min && -1 * u < C.x.max && x.panTo({ x: -1 * u, friction: 0.12 });
|
|
25137
|
-
} else fr(i, this.cn(
|
|
25143
|
+
} else fr(i, this.cn(t_), c.isResting);
|
|
25138
25144
|
this.shiftModern();
|
|
25139
25145
|
}
|
|
25140
25146
|
}
|
|
@@ -25262,9 +25268,9 @@ let F0 = class extends Xs {
|
|
|
25262
25268
|
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();
|
|
25263
25269
|
}
|
|
25264
25270
|
};
|
|
25265
|
-
Object.defineProperty(
|
|
25266
|
-
const rT = Object.assign(Object.assign({},
|
|
25267
|
-
class
|
|
25271
|
+
Object.defineProperty(B0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: F0 });
|
|
25272
|
+
const rT = Object.assign(Object.assign({}, F0), { key: "t", showOnStart: !0, parentEl: null }), i_ = "is-masked", n_ = "aria-hidden";
|
|
25273
|
+
class N0 extends Xs {
|
|
25268
25274
|
constructor() {
|
|
25269
25275
|
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 });
|
|
25270
25276
|
}
|
|
@@ -25298,7 +25304,7 @@ class B0 extends Xs {
|
|
|
25298
25304
|
C.style.transition = "", a.show();
|
|
25299
25305
|
}));
|
|
25300
25306
|
} } });
|
|
25301
|
-
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:
|
|
25307
|
+
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: B0 }), a.ref = f.plugins.Thumbs, a.option("showOnStart") || (a.ref.state = Vr.Hidden, a.hidden = !0);
|
|
25302
25308
|
}
|
|
25303
25309
|
onResize() {
|
|
25304
25310
|
var i;
|
|
@@ -25317,11 +25323,11 @@ class B0 extends Xs {
|
|
|
25317
25323
|
const i = this.ref;
|
|
25318
25324
|
if (!i || i.isDisabled()) return;
|
|
25319
25325
|
const a = i.container;
|
|
25320
|
-
a && (this.refresh(), a.offsetHeight, a.removeAttribute(
|
|
25326
|
+
a && (this.refresh(), a.offsetHeight, a.removeAttribute(n_), a.classList.remove(i_), this.hidden = !1);
|
|
25321
25327
|
}
|
|
25322
25328
|
hide() {
|
|
25323
25329
|
const i = this.ref, a = i && i.container;
|
|
25324
|
-
a && (this.refresh(), a.offsetHeight, a.classList.add(
|
|
25330
|
+
a && (this.refresh(), a.offsetHeight, a.classList.add(i_), a.setAttribute(n_, "true")), this.hidden = !0;
|
|
25325
25331
|
}
|
|
25326
25332
|
refresh() {
|
|
25327
25333
|
const i = this.ref;
|
|
@@ -25339,14 +25345,14 @@ class B0 extends Xs {
|
|
|
25339
25345
|
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;
|
|
25340
25346
|
}
|
|
25341
25347
|
}
|
|
25342
|
-
Object.defineProperty(
|
|
25348
|
+
Object.defineProperty(N0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: rT });
|
|
25343
25349
|
const sf = { 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" } };
|
|
25344
25350
|
var Sa;
|
|
25345
25351
|
(function(s) {
|
|
25346
25352
|
s[s.Init = 0] = "Init", s[s.Ready = 1] = "Ready", s[s.Disabled = 2] = "Disabled";
|
|
25347
25353
|
})(Sa || (Sa = {}));
|
|
25348
|
-
const oT = { 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 }, aT = { tabindex: "-1", width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
|
|
25349
|
-
class
|
|
25354
|
+
const oT = { 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 }, aT = { tabindex: "-1", width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, s_ = "has-toolbar", rf = "fancybox__toolbar";
|
|
25355
|
+
class j0 extends Xs {
|
|
25350
25356
|
constructor() {
|
|
25351
25357
|
super(...arguments), Object.defineProperty(this, "state", { enumerable: !0, configurable: !0, writable: !0, value: Sa.Init }), Object.defineProperty(this, "container", { enumerable: !0, configurable: !0, writable: !0, value: null });
|
|
25352
25358
|
}
|
|
@@ -25431,11 +25437,11 @@ class N0 extends Xs {
|
|
|
25431
25437
|
if (!i) return null;
|
|
25432
25438
|
const a = this.option("parentEl") || i;
|
|
25433
25439
|
let c = a.querySelector("." + rf);
|
|
25434
|
-
return c || (c = document.createElement("div"), dt(c, rf), a.prepend(c)), c.addEventListener("click", this.onClick, { passive: !1, capture: !0 }), i && dt(i,
|
|
25440
|
+
return c || (c = document.createElement("div"), dt(c, rf), a.prepend(c)), c.addEventListener("click", this.onClick, { passive: !1, capture: !0 }), i && dt(i, s_), this.container = c, c;
|
|
25435
25441
|
}
|
|
25436
25442
|
createEl(i) {
|
|
25437
25443
|
const a = this.instance, c = a.carousel;
|
|
25438
|
-
if (!c || i === "toggleFS" || i === "fullscreen" && !
|
|
25444
|
+
if (!c || i === "toggleFS" || i === "fullscreen" && !P0()) return null;
|
|
25439
25445
|
let f = null;
|
|
25440
25446
|
const x = c.slides.length || 0;
|
|
25441
25447
|
let v = 0, u = 0;
|
|
@@ -25465,7 +25471,7 @@ class N0 extends Xs {
|
|
|
25465
25471
|
const i = this.container;
|
|
25466
25472
|
i && i.remove(), this.container = null, this.state = Sa.Disabled;
|
|
25467
25473
|
const a = this.instance.container;
|
|
25468
|
-
a && li(a,
|
|
25474
|
+
a && li(a, s_);
|
|
25469
25475
|
}
|
|
25470
25476
|
attach() {
|
|
25471
25477
|
const i = this, a = i.instance;
|
|
@@ -25476,15 +25482,15 @@ class N0 extends Xs {
|
|
|
25476
25482
|
a.off("Carousel.initSlides", i.onReady), a.off("done", i.onDone), a.off(["reveal", "Carousel.change"], i.onChange), i.removeContainer();
|
|
25477
25483
|
}
|
|
25478
25484
|
}
|
|
25479
|
-
Object.defineProperty(
|
|
25485
|
+
Object.defineProperty(j0, "defaults", { enumerable: !0, configurable: !0, writable: !0, value: oT });
|
|
25480
25486
|
const lT = { Hash: class extends Xs {
|
|
25481
25487
|
onReady() {
|
|
25482
25488
|
lu = !1;
|
|
25483
25489
|
}
|
|
25484
25490
|
onChange(s) {
|
|
25485
25491
|
ba && clearTimeout(ba);
|
|
25486
|
-
const { hash: i } =
|
|
25487
|
-
c && (
|
|
25492
|
+
const { hash: i } = C0(), { hash: a } = nd(), c = s.isOpeningSlide(s.getSlide());
|
|
25493
|
+
c && (Ky = a === i ? "" : a), i && i !== a && (ba = setTimeout(() => {
|
|
25488
25494
|
try {
|
|
25489
25495
|
if (s.state === on.Ready) {
|
|
25490
25496
|
let f = "replaceState";
|
|
@@ -25497,7 +25503,7 @@ const lT = { Hash: class extends Xs {
|
|
|
25497
25503
|
onClose(s) {
|
|
25498
25504
|
if (ba && clearTimeout(ba), !lu && Bh) return Bh = !1, lu = !1, void window.history.back();
|
|
25499
25505
|
if (!lu) try {
|
|
25500
|
-
window.history.replaceState({}, document.title, window.location.pathname + window.location.search + (
|
|
25506
|
+
window.history.replaceState({}, document.title, window.location.pathname + window.location.search + (Ky || ""));
|
|
25501
25507
|
} catch {
|
|
25502
25508
|
}
|
|
25503
25509
|
}
|
|
@@ -25513,16 +25519,16 @@ const lT = { Hash: class extends Xs {
|
|
|
25513
25519
|
return nd();
|
|
25514
25520
|
}
|
|
25515
25521
|
static startFromUrl() {
|
|
25516
|
-
|
|
25522
|
+
I0();
|
|
25517
25523
|
}
|
|
25518
25524
|
static destroy() {
|
|
25519
|
-
window.removeEventListener("hashchange",
|
|
25525
|
+
window.removeEventListener("hashchange", D0, !1);
|
|
25520
25526
|
}
|
|
25521
|
-
}, Html:
|
|
25527
|
+
}, Html: R0, Images: z0, Slideshow: O0, Thumbs: N0, Toolbar: j0 }, r_ = "with-fancybox", of = "hide-scrollbar", o_ = "--fancybox-scrollbar-compensate", a_ = "--fancybox-body-margin", af = "aria-hidden", lf = "is-using-tab", cf = "is-animated", l_ = "is-compact", c_ = "is-loading", uf = "is-opening", Uh = "has-caption", Il = "disabled", _a = "tabindex", u_ = "download", hf = "href", Al = "src", Lo = (s) => typeof s == "string", h_ = function() {
|
|
25522
25528
|
var s = window.getSelection();
|
|
25523
25529
|
return !!s && s.type === "Range";
|
|
25524
25530
|
};
|
|
25525
|
-
let zs, Rs = null, va = null,
|
|
25531
|
+
let zs, Rs = null, va = null, d_ = 0, p_ = 0, f_ = 0, m_ = 0;
|
|
25526
25532
|
const Dl = /* @__PURE__ */ new Map();
|
|
25527
25533
|
let cT = 0;
|
|
25528
25534
|
class Kt extends Kf {
|
|
@@ -25533,7 +25539,7 @@ class Kt extends Kf {
|
|
|
25533
25539
|
return this.option("compact");
|
|
25534
25540
|
}
|
|
25535
25541
|
constructor(i = [], a = {}, c = {}) {
|
|
25536
|
-
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 =
|
|
25542
|
+
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 = P0()), this.id = a.id || ++cT, Dl.set(this.id, this), this.userSlides = i, this.userPlugins = c, queueMicrotask(() => {
|
|
25537
25543
|
this.init();
|
|
25538
25544
|
});
|
|
25539
25545
|
}
|
|
@@ -25545,7 +25551,7 @@ class Kt extends Kf {
|
|
|
25545
25551
|
if (c.classList.contains(of)) return;
|
|
25546
25552
|
let x = window.innerWidth - f.getBoundingClientRect().width;
|
|
25547
25553
|
const v = parseFloat(window.getComputedStyle(c).marginRight);
|
|
25548
|
-
x < 0 && (x = 0), f.style.setProperty(
|
|
25554
|
+
x < 0 && (x = 0), f.style.setProperty(o_, `${x}px`), v && c.style.setProperty(a_, `${v}px`), c.classList.add(of);
|
|
25549
25555
|
})(), this.initLayout(), this.scale();
|
|
25550
25556
|
const i = () => {
|
|
25551
25557
|
this.initCarousel(this.userSlides), this.state = on.Ready, this.attachEvents(), this.emit("ready"), setTimeout(() => {
|
|
@@ -25560,8 +25566,8 @@ class Kt extends Kf {
|
|
|
25560
25566
|
var i, a;
|
|
25561
25567
|
const c = this.option("parentEl") || document.body, f = pr(this.localize(this.option("tpl.main") || ""));
|
|
25562
25568
|
if (f) {
|
|
25563
|
-
if (f.setAttribute("id", `fancybox-${this.id}`), f.setAttribute("aria-label", this.localize("{{MODAL}}")), f.classList.toggle(
|
|
25564
|
-
|
|
25569
|
+
if (f.setAttribute("id", `fancybox-${this.id}`), f.setAttribute("aria-label", this.localize("{{MODAL}}")), f.classList.toggle(l_, this.isCompact), dt(f, this.option("mainClass") || ""), dt(f, uf), this.container = f, this.footer = f.querySelector(".fancybox__footer"), c.appendChild(f), dt(document.documentElement, r_), Rs && va || (Rs = document.createElement("span"), dt(Rs, "fancybox-focus-guard"), Rs.setAttribute(_a, "0"), Rs.setAttribute(af, "true"), Rs.setAttribute("aria-label", "Focus guard"), va = Rs.cloneNode(), (i = f.parentElement) === null || i === void 0 || i.insertBefore(Rs, f), (a = f.parentElement) === null || a === void 0 || a.append(va)), f.addEventListener("mousedown", (x) => {
|
|
25570
|
+
d_ = x.pageX, p_ = x.pageY, li(f, lf);
|
|
25565
25571
|
}), this.option("closeExisting")) for (const x of Dl.values()) x.id !== this.id && x.close();
|
|
25566
25572
|
else this.option("animated") && (dt(f, cf), setTimeout(() => {
|
|
25567
25573
|
this.isClosing() || li(f, cf);
|
|
@@ -25622,7 +25628,7 @@ class Kt extends Kf {
|
|
|
25622
25628
|
C || u.type !== "image" || u.error || !Lo(u[Al]) || (C = u[Al]);
|
|
25623
25629
|
for (const I of v.querySelectorAll("[data-fancybox-download]")) {
|
|
25624
25630
|
const A = u.downloadFilename;
|
|
25625
|
-
C ? (I.removeAttribute(Il), I.removeAttribute(_a), I.setAttribute(hf, C), I.setAttribute(
|
|
25631
|
+
C ? (I.removeAttribute(Il), I.removeAttribute(_a), I.setAttribute(hf, C), I.setAttribute(u_, A || C), I.setAttribute("target", "_blank")) : (I.setAttribute(Il, ""), I.setAttribute(_a, "-1"), I.removeAttribute(hf), I.removeAttribute(u_));
|
|
25626
25632
|
}
|
|
25627
25633
|
}), this.emit("initCarousel");
|
|
25628
25634
|
}
|
|
@@ -25660,9 +25666,9 @@ class Kt extends Kf {
|
|
|
25660
25666
|
if (x.closest(".fancybox-spinner") || x.closest("[data-fancybox-close]")) return i.preventDefault(), void this.close(i);
|
|
25661
25667
|
if (x.closest("[data-fancybox-prev]")) return i.preventDefault(), void this.prev();
|
|
25662
25668
|
if (x.closest("[data-fancybox-next]")) return i.preventDefault(), void this.next();
|
|
25663
|
-
if (i.type === "click" && i.detail === 0 || Math.abs(i.pageX -
|
|
25669
|
+
if (i.type === "click" && i.detail === 0 || Math.abs(i.pageX - d_) > 30 || Math.abs(i.pageY - p_) > 30) return;
|
|
25664
25670
|
const v = document.activeElement;
|
|
25665
|
-
if (
|
|
25671
|
+
if (h_() && v && c.contains(v)) return;
|
|
25666
25672
|
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(() => {
|
|
25667
25673
|
this.toggleIdle(), this.clickTimer = null;
|
|
25668
25674
|
}, 350));
|
|
@@ -25673,7 +25679,7 @@ class Kt extends Kf {
|
|
|
25673
25679
|
if (v.closest("[contenteditable]")) return;
|
|
25674
25680
|
x.matches(ef) || v.blur();
|
|
25675
25681
|
}
|
|
25676
|
-
if (
|
|
25682
|
+
if (h_()) return;
|
|
25677
25683
|
u = this.option("contentClick");
|
|
25678
25684
|
} else x.closest(".fancybox__carousel") && !x.matches(ef) && (u = this.option("backdropClick"));
|
|
25679
25685
|
u === "close" ? (i.preventDefault(), this.close(i)) : u === "next" ? (i.preventDefault(), this.next()) : u === "prev" && (i.preventDefault(), this.prev());
|
|
@@ -25688,7 +25694,7 @@ class Kt extends Kf {
|
|
|
25688
25694
|
this.pwt && u - this.pwt < 300 ? f && i.preventDefault() : (this.pwt = u, this.emit("wheel", i, v), i.defaultPrevented || (c === "close" ? (i.preventDefault(), this.close(i)) : c === "slide" && (td(a) || (i.preventDefault(), this[v > 0 ? "prev" : "next"]()))));
|
|
25689
25695
|
}
|
|
25690
25696
|
onScroll() {
|
|
25691
|
-
window.scrollTo(
|
|
25697
|
+
window.scrollTo(f_, m_);
|
|
25692
25698
|
}
|
|
25693
25699
|
onKeydown(i) {
|
|
25694
25700
|
if (!this.isTopmost()) return;
|
|
@@ -25705,7 +25711,7 @@ class Kt extends Kf {
|
|
|
25705
25711
|
const i = this.container;
|
|
25706
25712
|
if (!i) return;
|
|
25707
25713
|
const a = this.isCompact;
|
|
25708
|
-
i.classList.toggle(
|
|
25714
|
+
i.classList.toggle(l_, a), this.manageCaption(this.getSlide()), this.isCompact ? this.clearIdle() : this.endIdle(), this.scale(), this.emit("resize");
|
|
25709
25715
|
}
|
|
25710
25716
|
onFocus(i) {
|
|
25711
25717
|
this.isTopmost() && this.checkFocus(i);
|
|
@@ -25777,7 +25783,7 @@ class Kt extends Kf {
|
|
|
25777
25783
|
}
|
|
25778
25784
|
}
|
|
25779
25785
|
let R = null;
|
|
25780
|
-
i ? (!f || A.indexOf(f) < 0) && (R = z || x, A.length && (c === va ? R = A[0] : this.lastFocus !== x && c !== Rs || (R = A[A.length - 1]))) : R = u && u.type === "image" ? x : z || x, R &&
|
|
25786
|
+
i ? (!f || A.indexOf(f) < 0) && (R = z || x, A.length && (c === va ? R = A[0] : this.lastFocus !== x && c !== Rs || (R = A[A.length - 1]))) : R = u && u.type === "image" ? x : z || x, R && Xy(R), this.lastFocus = document.activeElement, this.ignoreFocusChange = !1;
|
|
25781
25787
|
}
|
|
25782
25788
|
next() {
|
|
25783
25789
|
const i = this.carousel;
|
|
@@ -25839,7 +25845,7 @@ class Kt extends Kf {
|
|
|
25839
25845
|
showLoading(i) {
|
|
25840
25846
|
i.state = Tn.Loading;
|
|
25841
25847
|
const a = i.el;
|
|
25842
|
-
a && (dt(a,
|
|
25848
|
+
a && (dt(a, c_), this.emit("loading", i), i.spinnerEl || setTimeout(() => {
|
|
25843
25849
|
if (!this.isClosing() && !i.spinnerEl && i.state === Tn.Loading) {
|
|
25844
25850
|
let c = pr(Jf);
|
|
25845
25851
|
dt(c, "fancybox-spinner"), i.spinnerEl = c, a.prepend(c), this.animate(c, "f-fadeIn");
|
|
@@ -25850,7 +25856,7 @@ class Kt extends Kf {
|
|
|
25850
25856
|
const a = i.el;
|
|
25851
25857
|
if (!a) return;
|
|
25852
25858
|
const c = i.spinnerEl;
|
|
25853
|
-
this.isClosing() ? c == null || c.remove() : (li(a,
|
|
25859
|
+
this.isClosing() ? c == null || c.remove() : (li(a, c_), c && this.animate(c, "f-fadeOut", () => {
|
|
25854
25860
|
c.remove();
|
|
25855
25861
|
}), i.state === Tn.Loading && (this.emit("loaded", i), i.state = Tn.Ready));
|
|
25856
25862
|
}
|
|
@@ -25917,7 +25923,7 @@ class Kt extends Kf {
|
|
|
25917
25923
|
var c, f;
|
|
25918
25924
|
this.state = on.Closing, this.clearIdle(), this.detachEvents();
|
|
25919
25925
|
const x = this.container, v = this.carousel, u = this.getSlide(), C = u && this.option("placeFocusBack") ? u.triggerEl || this.option("triggerEl") : null;
|
|
25920
|
-
if (C && (
|
|
25926
|
+
if (C && (M0(C) ? Xy(C) : C.focus()), x && (li(x, uf), dt(x, "is-closing"), x.setAttribute(af, "true"), this.option("animated") && dt(x, cf), x.style.pointerEvents = "none"), v) {
|
|
25921
25927
|
v.clearTransitions(), (c = v.panzoom) === null || c === void 0 || c.destroy(), (f = v.plugins.Navigation) === null || f === void 0 || f.detach();
|
|
25922
25928
|
for (const I of v.slides) {
|
|
25923
25929
|
I.state = Tn.Closing, this.hideLoading(I);
|
|
@@ -25927,7 +25933,7 @@ class Kt extends Kf {
|
|
|
25927
25933
|
z && (z.stop(), z.detachEvents(), z.detachObserver()), this.isCurrentSlide(I) || v.emit("removeSlide", I);
|
|
25928
25934
|
}
|
|
25929
25935
|
}
|
|
25930
|
-
|
|
25936
|
+
f_ = window.scrollX, m_ = 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, () => {
|
|
25931
25937
|
v && v.emit("removeSlide", u);
|
|
25932
25938
|
}), setTimeout(() => {
|
|
25933
25939
|
this.destroy();
|
|
@@ -25942,10 +25948,10 @@ class Kt extends Kf {
|
|
|
25942
25948
|
const a = this.container;
|
|
25943
25949
|
a && a.remove(), Dl.delete(this.id);
|
|
25944
25950
|
const c = Kt.getInstance();
|
|
25945
|
-
c ? c.focus() : (Rs && (Rs.remove(), Rs = null), va && (va.remove(), va = null), li(document.documentElement,
|
|
25951
|
+
c ? c.focus() : (Rs && (Rs.remove(), Rs = null), va && (va.remove(), va = null), li(document.documentElement, r_), (() => {
|
|
25946
25952
|
if (!hu) return;
|
|
25947
25953
|
const f = document, x = f.body;
|
|
25948
|
-
x.classList.remove(of), x.style.setProperty(
|
|
25954
|
+
x.classList.remove(of), x.style.setProperty(a_, ""), f.documentElement.style.setProperty(o_, "");
|
|
25949
25955
|
})(), this.emit("destroy"));
|
|
25950
25956
|
}
|
|
25951
25957
|
static bind(i, a, c) {
|
|
@@ -26061,7 +26067,7 @@ const uT = {
|
|
|
26061
26067
|
}, hT = { ref: "container" };
|
|
26062
26068
|
function dT(s, i, a, c, f, x) {
|
|
26063
26069
|
return ht(), _t("div", hT, [
|
|
26064
|
-
|
|
26070
|
+
Ab(s.$slots, "default")
|
|
26065
26071
|
], 512);
|
|
26066
26072
|
}
|
|
26067
26073
|
const pT = /* @__PURE__ */ Xi(uT, [["render", dT]]), fT = {
|
|
@@ -26243,7 +26249,7 @@ function RT(s, i, a, c, f, x) {
|
|
|
26243
26249
|
]),
|
|
26244
26250
|
re("div", null, [
|
|
26245
26251
|
re("div", {
|
|
26246
|
-
class:
|
|
26252
|
+
class: E_(["flex items-center justify-center gap-2 hover:bg-gray-200 p-1 rounded", {
|
|
26247
26253
|
disabled: a.readonly,
|
|
26248
26254
|
"hover:cursor-pointer": !a.readonly
|
|
26249
26255
|
}]),
|
|
@@ -26300,12 +26306,12 @@ const LT = /* @__PURE__ */ Xi(_T, [["render", RT]]);
|
|
|
26300
26306
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
26301
26307
|
//! license : MIT
|
|
26302
26308
|
//! momentjs.com
|
|
26303
|
-
var
|
|
26309
|
+
var V0;
|
|
26304
26310
|
function Je() {
|
|
26305
|
-
return
|
|
26311
|
+
return V0.apply(null, arguments);
|
|
26306
26312
|
}
|
|
26307
26313
|
function OT(s) {
|
|
26308
|
-
|
|
26314
|
+
V0 = s;
|
|
26309
26315
|
}
|
|
26310
26316
|
function Ws(s) {
|
|
26311
26317
|
return s instanceof Array || Object.prototype.toString.call(s) === "[object Array]";
|
|
@@ -26334,7 +26340,7 @@ function Gr(s) {
|
|
|
26334
26340
|
function Tu(s) {
|
|
26335
26341
|
return s instanceof Date || Object.prototype.toString.call(s) === "[object Date]";
|
|
26336
26342
|
}
|
|
26337
|
-
function
|
|
26343
|
+
function $0(s, i) {
|
|
26338
26344
|
var a = [], c, f = s.length;
|
|
26339
26345
|
for (c = 0; c < f; ++c)
|
|
26340
26346
|
a.push(i(s[c], c));
|
|
@@ -26346,7 +26352,7 @@ function Fo(s, i) {
|
|
|
26346
26352
|
return ti(i, "toString") && (s.toString = i.toString), ti(i, "valueOf") && (s.valueOf = i.valueOf), s;
|
|
26347
26353
|
}
|
|
26348
26354
|
function gr(s, i, a, c) {
|
|
26349
|
-
return
|
|
26355
|
+
return hv(s, i, a, c, !0).utc();
|
|
26350
26356
|
}
|
|
26351
26357
|
function FT() {
|
|
26352
26358
|
return {
|
|
@@ -26393,12 +26399,12 @@ function md(s) {
|
|
|
26393
26399
|
var i = gr(NaN);
|
|
26394
26400
|
return s != null ? Fo(Lt(i), s) : Lt(i).userInvalidated = !0, i;
|
|
26395
26401
|
}
|
|
26396
|
-
var
|
|
26402
|
+
var g_ = Je.momentProperties = [], df = !1;
|
|
26397
26403
|
function tm(s, i) {
|
|
26398
|
-
var a, c, f, x =
|
|
26404
|
+
var a, c, f, x = g_.length;
|
|
26399
26405
|
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)
|
|
26400
26406
|
for (a = 0; a < x; a++)
|
|
26401
|
-
c =
|
|
26407
|
+
c = g_[a], f = i[c], Xn(f) || (s[c] = f);
|
|
26402
26408
|
return s;
|
|
26403
26409
|
}
|
|
26404
26410
|
function ku(s) {
|
|
@@ -26407,7 +26413,7 @@ function ku(s) {
|
|
|
26407
26413
|
function Gs(s) {
|
|
26408
26414
|
return s instanceof ku || s != null && s._isAMomentObject != null;
|
|
26409
26415
|
}
|
|
26410
|
-
function
|
|
26416
|
+
function U0(s) {
|
|
26411
26417
|
Je.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + s);
|
|
26412
26418
|
}
|
|
26413
26419
|
function Os(s, i) {
|
|
@@ -26426,7 +26432,7 @@ function Os(s, i) {
|
|
|
26426
26432
|
f = arguments[x];
|
|
26427
26433
|
c.push(f);
|
|
26428
26434
|
}
|
|
26429
|
-
|
|
26435
|
+
U0(
|
|
26430
26436
|
s + `
|
|
26431
26437
|
Arguments: ` + Array.prototype.slice.call(c).join("") + `
|
|
26432
26438
|
` + new Error().stack
|
|
@@ -26435,9 +26441,9 @@ Arguments: ` + Array.prototype.slice.call(c).join("") + `
|
|
|
26435
26441
|
return i.apply(this, arguments);
|
|
26436
26442
|
}, i);
|
|
26437
26443
|
}
|
|
26438
|
-
var
|
|
26439
|
-
function
|
|
26440
|
-
Je.deprecationHandler != null && Je.deprecationHandler(s, i),
|
|
26444
|
+
var y_ = {};
|
|
26445
|
+
function q0(s, i) {
|
|
26446
|
+
Je.deprecationHandler != null && Je.deprecationHandler(s, i), y_[s] || (U0(i), y_[s] = !0);
|
|
26441
26447
|
}
|
|
26442
26448
|
Je.suppressDeprecationWarnings = !1;
|
|
26443
26449
|
Je.deprecationHandler = null;
|
|
@@ -26515,9 +26521,9 @@ function $T(s) {
|
|
|
26515
26521
|
};
|
|
26516
26522
|
}
|
|
26517
26523
|
function Gh(s, i) {
|
|
26518
|
-
return s.isValid() ? (i =
|
|
26524
|
+
return s.isValid() ? (i = H0(i, s.localeData()), pf[i] = pf[i] || $T(i), pf[i](s)) : s.localeData().invalidDate();
|
|
26519
26525
|
}
|
|
26520
|
-
function
|
|
26526
|
+
function H0(s, i) {
|
|
26521
26527
|
var a = 5;
|
|
26522
26528
|
function c(f) {
|
|
26523
26529
|
return i.longDateFormat(f) || f;
|
|
@@ -26577,7 +26583,7 @@ function JT(s, i) {
|
|
|
26577
26583
|
var a = this._relativeTime[s > 0 ? "future" : "past"];
|
|
26578
26584
|
return yr(a) ? a(i) : a.replace(/%s/i, i);
|
|
26579
26585
|
}
|
|
26580
|
-
var
|
|
26586
|
+
var __ = {
|
|
26581
26587
|
D: "date",
|
|
26582
26588
|
dates: "date",
|
|
26583
26589
|
date: "date",
|
|
@@ -26628,7 +26634,7 @@ var y_ = {
|
|
|
26628
26634
|
year: "year"
|
|
26629
26635
|
};
|
|
26630
26636
|
function Fs(s) {
|
|
26631
|
-
return typeof s == "string" ?
|
|
26637
|
+
return typeof s == "string" ? __[s] || __[s.toLowerCase()] : void 0;
|
|
26632
26638
|
}
|
|
26633
26639
|
function sm(s) {
|
|
26634
26640
|
var i = {}, a, c;
|
|
@@ -26662,7 +26668,7 @@ function ek(s) {
|
|
|
26662
26668
|
return c.priority - f.priority;
|
|
26663
26669
|
}), i;
|
|
26664
26670
|
}
|
|
26665
|
-
var
|
|
26671
|
+
var Z0 = /\d/, _s = /\d\d/, W0 = /\d{3}/, rm = /\d{4}/, gd = /[+-]?\d{6}/, Mi = /\d\d?/, G0 = /\d\d\d\d?/, Y0 = /\d\d\d\d\d\d?/, yd = /\d{1,3}/, om = /\d{1,4}/, _d = /[+-]?\d{1,6}/, ql = /\d+/, vd = /[+-]?\d+/, tk = /Z|[+-]\d\d:?\d\d/gi, xd = /Z|[+-]\d\d(?::?\d\d)?/gi, ik = /[+-]?\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?/, am = /^([1-9]\d|\d)/, sd;
|
|
26666
26672
|
sd = {};
|
|
26667
26673
|
function st(s, i, a) {
|
|
26668
26674
|
sd[s] = yr(i) ? i : function(c, f) {
|
|
@@ -26743,13 +26749,13 @@ function du(s) {
|
|
|
26743
26749
|
Je.parseTwoDigitYear = function(s) {
|
|
26744
26750
|
return Zt(s) + (Zt(s) > 68 ? 1900 : 2e3);
|
|
26745
26751
|
};
|
|
26746
|
-
var
|
|
26752
|
+
var X0 = Zl("FullYear", !0);
|
|
26747
26753
|
function lk() {
|
|
26748
26754
|
return bd(this.year());
|
|
26749
26755
|
}
|
|
26750
26756
|
function Zl(s, i) {
|
|
26751
26757
|
return function(a) {
|
|
26752
|
-
return a != null ? (
|
|
26758
|
+
return a != null ? (K0(this, s, a), Je.updateOffset(this, i), this) : _u(this, s);
|
|
26753
26759
|
};
|
|
26754
26760
|
}
|
|
26755
26761
|
function _u(s, i) {
|
|
@@ -26777,7 +26783,7 @@ function _u(s, i) {
|
|
|
26777
26783
|
return NaN;
|
|
26778
26784
|
}
|
|
26779
26785
|
}
|
|
26780
|
-
function
|
|
26786
|
+
function K0(s, i, a) {
|
|
26781
26787
|
var c, f, x, v, u;
|
|
26782
26788
|
if (!(!s.isValid() || isNaN(a))) {
|
|
26783
26789
|
switch (c = s._d, f = s._isUTC, i) {
|
|
@@ -26855,12 +26861,12 @@ vi(["MMM", "MMMM"], function(s, i, a, c) {
|
|
|
26855
26861
|
});
|
|
26856
26862
|
var dk = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
26857
26863
|
"_"
|
|
26858
|
-
),
|
|
26864
|
+
), J0 = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Q0 = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, pk = Eu, fk = Eu;
|
|
26859
26865
|
function mk(s, i) {
|
|
26860
|
-
return s ? Ws(this._months) ? this._months[s.month()] : this._months[(this._months.isFormat ||
|
|
26866
|
+
return s ? Ws(this._months) ? this._months[s.month()] : this._months[(this._months.isFormat || Q0).test(i) ? "format" : "standalone"][s.month()] : Ws(this._months) ? this._months : this._months.standalone;
|
|
26861
26867
|
}
|
|
26862
26868
|
function gk(s, i) {
|
|
26863
|
-
return s ? Ws(this._monthsShort) ? this._monthsShort[s.month()] : this._monthsShort[
|
|
26869
|
+
return s ? Ws(this._monthsShort) ? this._monthsShort[s.month()] : this._monthsShort[Q0.test(i) ? "format" : "standalone"][s.month()] : Ws(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
|
|
26864
26870
|
}
|
|
26865
26871
|
function yk(s, i, a) {
|
|
26866
26872
|
var c, f, x, v = s.toLocaleLowerCase();
|
|
@@ -26891,7 +26897,7 @@ function _k(s, i, a) {
|
|
|
26891
26897
|
return c;
|
|
26892
26898
|
}
|
|
26893
26899
|
}
|
|
26894
|
-
function
|
|
26900
|
+
function ev(s, i) {
|
|
26895
26901
|
if (!s.isValid())
|
|
26896
26902
|
return s;
|
|
26897
26903
|
if (typeof i == "string") {
|
|
@@ -26903,19 +26909,19 @@ function Q0(s, i) {
|
|
|
26903
26909
|
var a = i, c = s.date();
|
|
26904
26910
|
return c = c < 29 ? c : Math.min(c, lm(s.year(), a)), s._isUTC ? s._d.setUTCMonth(a, c) : s._d.setMonth(a, c), s;
|
|
26905
26911
|
}
|
|
26906
|
-
function
|
|
26907
|
-
return s != null ? (
|
|
26912
|
+
function tv(s) {
|
|
26913
|
+
return s != null ? (ev(this, s), Je.updateOffset(this, !0), this) : _u(this, "Month");
|
|
26908
26914
|
}
|
|
26909
26915
|
function vk() {
|
|
26910
26916
|
return lm(this.year(), this.month());
|
|
26911
26917
|
}
|
|
26912
26918
|
function xk(s) {
|
|
26913
|
-
return this._monthsParseExact ? (ti(this, "_monthsRegex") ||
|
|
26919
|
+
return this._monthsParseExact ? (ti(this, "_monthsRegex") || iv.call(this), s ? this._monthsShortStrictRegex : this._monthsShortRegex) : (ti(this, "_monthsShortRegex") || (this._monthsShortRegex = pk), this._monthsShortStrictRegex && s ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
26914
26920
|
}
|
|
26915
26921
|
function bk(s) {
|
|
26916
|
-
return this._monthsParseExact ? (ti(this, "_monthsRegex") ||
|
|
26922
|
+
return this._monthsParseExact ? (ti(this, "_monthsRegex") || iv.call(this), s ? this._monthsStrictRegex : this._monthsRegex) : (ti(this, "_monthsRegex") || (this._monthsRegex = fk), this._monthsStrictRegex && s ? this._monthsStrictRegex : this._monthsRegex);
|
|
26917
26923
|
}
|
|
26918
|
-
function
|
|
26924
|
+
function iv() {
|
|
26919
26925
|
function s(C, I) {
|
|
26920
26926
|
return I.length - C.length;
|
|
26921
26927
|
}
|
|
@@ -26942,7 +26948,7 @@ function rd(s, i, a) {
|
|
|
26942
26948
|
var c = 7 + i - a, f = (7 + vu(s, 0, c).getUTCDay() - i) % 7;
|
|
26943
26949
|
return -f + c - 1;
|
|
26944
26950
|
}
|
|
26945
|
-
function
|
|
26951
|
+
function nv(s, i, a, c, f) {
|
|
26946
26952
|
var x = (7 + a - c) % 7, v = rd(s, c, f), u = 1 + 7 * (i - 1) + x + v, C, I;
|
|
26947
26953
|
return u <= 0 ? (C = s - 1, I = du(C) + u) : u > du(s) ? (C = s + 1, I = u - du(s)) : (C = s, I = u), {
|
|
26948
26954
|
year: C,
|
|
@@ -27035,7 +27041,7 @@ function Ik(s, i) {
|
|
|
27035
27041
|
function cm(s, i) {
|
|
27036
27042
|
return s.slice(i, 7).concat(s.slice(0, i));
|
|
27037
27043
|
}
|
|
27038
|
-
var Ak = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
|
27044
|
+
var Ak = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), sv = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Dk = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), zk = Eu, Rk = Eu, Lk = Eu;
|
|
27039
27045
|
function Ok(s, i) {
|
|
27040
27046
|
var a = Ws(this._weekdays) ? this._weekdays : this._weekdays[s && s !== !0 && this._weekdays.isFormat.test(i) ? "format" : "standalone"];
|
|
27041
27047
|
return s === !0 ? cm(a, this._week.dow) : s ? a[s.day()] : a;
|
|
@@ -27152,7 +27158,7 @@ ft("Hmm", 0, 0, function() {
|
|
|
27152
27158
|
ft("Hmmss", 0, 0, function() {
|
|
27153
27159
|
return "" + this.hours() + mr(this.minutes(), 2) + mr(this.seconds(), 2);
|
|
27154
27160
|
});
|
|
27155
|
-
function
|
|
27161
|
+
function rv(s, i) {
|
|
27156
27162
|
ft(s, 0, 0, function() {
|
|
27157
27163
|
return this.localeData().meridiem(
|
|
27158
27164
|
this.hours(),
|
|
@@ -27161,23 +27167,23 @@ function sv(s, i) {
|
|
|
27161
27167
|
);
|
|
27162
27168
|
});
|
|
27163
27169
|
}
|
|
27164
|
-
|
|
27165
|
-
|
|
27166
|
-
function
|
|
27170
|
+
rv("a", !0);
|
|
27171
|
+
rv("A", !1);
|
|
27172
|
+
function ov(s, i) {
|
|
27167
27173
|
return i._meridiemParse;
|
|
27168
27174
|
}
|
|
27169
|
-
st("a",
|
|
27170
|
-
st("A",
|
|
27175
|
+
st("a", ov);
|
|
27176
|
+
st("A", ov);
|
|
27171
27177
|
st("H", Mi, am);
|
|
27172
27178
|
st("h", Mi, Hl);
|
|
27173
27179
|
st("k", Mi, Hl);
|
|
27174
27180
|
st("HH", Mi, _s);
|
|
27175
27181
|
st("hh", Mi, _s);
|
|
27176
27182
|
st("kk", Mi, _s);
|
|
27177
|
-
st("hmm",
|
|
27178
|
-
st("hmmss",
|
|
27179
|
-
st("Hmm",
|
|
27180
|
-
st("Hmmss",
|
|
27183
|
+
st("hmm", G0);
|
|
27184
|
+
st("hmmss", Y0);
|
|
27185
|
+
st("Hmm", G0);
|
|
27186
|
+
st("Hmmss", Y0);
|
|
27181
27187
|
vi(["H", "HH"], Yi);
|
|
27182
27188
|
vi(["k", "kk"], function(s, i, a) {
|
|
27183
27189
|
var c = Zt(s);
|
|
@@ -27212,7 +27218,7 @@ var Yk = /[ap]\.?m?\.?/i, Xk = Zl("Hours", !0);
|
|
|
27212
27218
|
function Kk(s, i, a) {
|
|
27213
27219
|
return s > 11 ? a ? "pm" : "PM" : a ? "am" : "AM";
|
|
27214
27220
|
}
|
|
27215
|
-
var
|
|
27221
|
+
var av = {
|
|
27216
27222
|
calendar: NT,
|
|
27217
27223
|
longDateFormat: UT,
|
|
27218
27224
|
invalidDate: HT,
|
|
@@ -27220,11 +27226,11 @@ var ov = {
|
|
|
27220
27226
|
dayOfMonthOrdinalParse: GT,
|
|
27221
27227
|
relativeTime: XT,
|
|
27222
27228
|
months: dk,
|
|
27223
|
-
monthsShort:
|
|
27229
|
+
monthsShort: J0,
|
|
27224
27230
|
week: Tk,
|
|
27225
27231
|
weekdays: Ak,
|
|
27226
27232
|
weekdaysMin: Dk,
|
|
27227
|
-
weekdaysShort:
|
|
27233
|
+
weekdaysShort: sv,
|
|
27228
27234
|
meridiemParse: Yk
|
|
27229
27235
|
}, Ai = {}, ou = {}, bu;
|
|
27230
27236
|
function Jk(s, i) {
|
|
@@ -27234,12 +27240,12 @@ function Jk(s, i) {
|
|
|
27234
27240
|
return a;
|
|
27235
27241
|
return c;
|
|
27236
27242
|
}
|
|
27237
|
-
function
|
|
27243
|
+
function v_(s) {
|
|
27238
27244
|
return s && s.toLowerCase().replace("_", "-");
|
|
27239
27245
|
}
|
|
27240
27246
|
function Qk(s) {
|
|
27241
27247
|
for (var i = 0, a, c, f, x; i < s.length; ) {
|
|
27242
|
-
for (x =
|
|
27248
|
+
for (x = v_(s[i]).split("-"), a = x.length, c = v_(s[i + 1]), c = c ? c.split("-") : null; a > 0; ) {
|
|
27243
27249
|
if (f = wd(x.slice(0, a).join("-")), f)
|
|
27244
27250
|
return f;
|
|
27245
27251
|
if (c && c.length >= a && Jk(x, c) >= a - 1)
|
|
@@ -27271,9 +27277,9 @@ function No(s, i) {
|
|
|
27271
27277
|
}
|
|
27272
27278
|
function dm(s, i) {
|
|
27273
27279
|
if (i !== null) {
|
|
27274
|
-
var a, c =
|
|
27280
|
+
var a, c = av;
|
|
27275
27281
|
if (i.abbr = s, Ai[s] != null)
|
|
27276
|
-
|
|
27282
|
+
q0(
|
|
27277
27283
|
"defineLocaleOverride",
|
|
27278
27284
|
"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."
|
|
27279
27285
|
), c = Ai[s]._config;
|
|
@@ -27295,7 +27301,7 @@ function dm(s, i) {
|
|
|
27295
27301
|
}
|
|
27296
27302
|
function tE(s, i) {
|
|
27297
27303
|
if (i != null) {
|
|
27298
|
-
var a, c, f =
|
|
27304
|
+
var a, c, f = av;
|
|
27299
27305
|
Ai[s] != null && Ai[s].parentLocale != null ? Ai[s].set(Rf(Ai[s]._config, i)) : (c = wd(s), c != null && (f = c._config), i = Rf(f, i), c == null && (i.abbr = s), a = new im(i), a.parentLocale = Ai[s], Ai[s] = a), No(s);
|
|
27300
27306
|
} else
|
|
27301
27307
|
Ai[s] != null && (Ai[s].parentLocale != null ? (Ai[s] = Ai[s].parentLocale, s === No() && No(s)) : Ai[s] != null && delete Ai[s]);
|
|
@@ -27355,7 +27361,7 @@ var nE = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(
|
|
|
27355
27361
|
PDT: -7 * 60,
|
|
27356
27362
|
PST: -8 * 60
|
|
27357
27363
|
};
|
|
27358
|
-
function
|
|
27364
|
+
function lv(s) {
|
|
27359
27365
|
var i, a, c = s._i, f = nE.exec(c) || sE.exec(c), x, v, u, C, I = Hh.length, A = ff.length;
|
|
27360
27366
|
if (f) {
|
|
27361
27367
|
for (Lt(s).iso = !0, i = 0, a = I; i < a; i++)
|
|
@@ -27396,7 +27402,7 @@ function av(s) {
|
|
|
27396
27402
|
function cE(s, i, a, c, f, x) {
|
|
27397
27403
|
var v = [
|
|
27398
27404
|
uE(s),
|
|
27399
|
-
|
|
27405
|
+
J0.indexOf(i),
|
|
27400
27406
|
parseInt(a, 10),
|
|
27401
27407
|
parseInt(c, 10),
|
|
27402
27408
|
parseInt(f, 10)
|
|
@@ -27412,7 +27418,7 @@ function hE(s) {
|
|
|
27412
27418
|
}
|
|
27413
27419
|
function dE(s, i, a) {
|
|
27414
27420
|
if (s) {
|
|
27415
|
-
var c =
|
|
27421
|
+
var c = sv.indexOf(s), f = new Date(
|
|
27416
27422
|
i[0],
|
|
27417
27423
|
i[1],
|
|
27418
27424
|
i[2]
|
|
@@ -27430,7 +27436,7 @@ function pE(s, i, a) {
|
|
|
27430
27436
|
var c = parseInt(a, 10), f = c % 100, x = (c - f) / 100;
|
|
27431
27437
|
return x * 60 + f;
|
|
27432
27438
|
}
|
|
27433
|
-
function
|
|
27439
|
+
function cv(s) {
|
|
27434
27440
|
var i = aE.exec(hE(s._i)), a;
|
|
27435
27441
|
if (i) {
|
|
27436
27442
|
if (a = cE(
|
|
@@ -27452,11 +27458,11 @@ function fE(s) {
|
|
|
27452
27458
|
s._d = /* @__PURE__ */ new Date(+i[1]);
|
|
27453
27459
|
return;
|
|
27454
27460
|
}
|
|
27455
|
-
if (
|
|
27461
|
+
if (lv(s), s._isValid === !1)
|
|
27456
27462
|
delete s._isValid;
|
|
27457
27463
|
else
|
|
27458
27464
|
return;
|
|
27459
|
-
if (
|
|
27465
|
+
if (cv(s), s._isValid === !1)
|
|
27460
27466
|
delete s._isValid;
|
|
27461
27467
|
else
|
|
27462
27468
|
return;
|
|
@@ -27498,7 +27504,7 @@ function gE(s) {
|
|
|
27498
27504
|
i.GG,
|
|
27499
27505
|
s._a[En],
|
|
27500
27506
|
xu(Ei(), 1, 4).year
|
|
27501
|
-
), 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 =
|
|
27507
|
+
), 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 = nv(a, c, f, x, v), s._a[En] = u.year, s._dayOfYear = u.dayOfYear);
|
|
27502
27508
|
}
|
|
27503
27509
|
Je.ISO_8601 = function() {
|
|
27504
27510
|
};
|
|
@@ -27506,16 +27512,16 @@ Je.RFC_2822 = function() {
|
|
|
27506
27512
|
};
|
|
27507
27513
|
function mm(s) {
|
|
27508
27514
|
if (s._f === Je.ISO_8601) {
|
|
27509
|
-
|
|
27515
|
+
lv(s);
|
|
27510
27516
|
return;
|
|
27511
27517
|
}
|
|
27512
27518
|
if (s._f === Je.RFC_2822) {
|
|
27513
|
-
|
|
27519
|
+
cv(s);
|
|
27514
27520
|
return;
|
|
27515
27521
|
}
|
|
27516
27522
|
s._a = [], Lt(s).empty = !0;
|
|
27517
27523
|
var i = "" + s._i, a, c, f, x, v, u = i.length, C = 0, I, A;
|
|
27518
|
-
for (f =
|
|
27524
|
+
for (f = H0(s._f, s._locale).match(nm) || [], A = f.length, a = 0; a < A; a++)
|
|
27519
27525
|
x = f[a], c = (i.match(nk(x, s)) || [])[0], c && (v = i.substr(0, i.indexOf(c)), v.length > 0 && Lt(s).unusedInput.push(v), i = i.slice(
|
|
27520
27526
|
i.indexOf(c) + c.length
|
|
27521
27527
|
), C += c.length), Fl[x] ? (c ? Lt(s).empty = !1 : Lt(s).unusedTokens.push(x), rk(x, c, s)) : s._strict && !c && Lt(s).unusedTokens.push(x);
|
|
@@ -27542,7 +27548,7 @@ function _E(s) {
|
|
|
27542
27548
|
function vE(s) {
|
|
27543
27549
|
if (!s._d) {
|
|
27544
27550
|
var i = sm(s._i), a = i.day === void 0 ? i.date : i.day;
|
|
27545
|
-
s._a =
|
|
27551
|
+
s._a = $0(
|
|
27546
27552
|
[i.year, i.month, a, i.hour, i.minute, i.second, i.millisecond],
|
|
27547
27553
|
function(c) {
|
|
27548
27554
|
return c && parseInt(c, 10);
|
|
@@ -27551,25 +27557,25 @@ function vE(s) {
|
|
|
27551
27557
|
}
|
|
27552
27558
|
}
|
|
27553
27559
|
function xE(s) {
|
|
27554
|
-
var i = new ku(pm(
|
|
27560
|
+
var i = new ku(pm(uv(s)));
|
|
27555
27561
|
return i._nextDay && (i.add(1, "d"), i._nextDay = void 0), i;
|
|
27556
27562
|
}
|
|
27557
|
-
function
|
|
27563
|
+
function uv(s) {
|
|
27558
27564
|
var i = s._i, a = s._f;
|
|
27559
27565
|
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(pm(i)) : (Tu(i) ? s._d = i : Ws(a) ? _E(s) : a ? mm(s) : bE(s), em(s) || (s._d = null), s));
|
|
27560
27566
|
}
|
|
27561
27567
|
function bE(s) {
|
|
27562
27568
|
var i = s._i;
|
|
27563
|
-
Xn(i) ? s._d = new Date(Je.now()) : Tu(i) ? s._d = new Date(i.valueOf()) : typeof i == "string" ? fE(s) : Ws(i) ? (s._a =
|
|
27569
|
+
Xn(i) ? s._d = new Date(Je.now()) : Tu(i) ? s._d = new Date(i.valueOf()) : typeof i == "string" ? fE(s) : Ws(i) ? (s._a = $0(i.slice(0), function(a) {
|
|
27564
27570
|
return parseInt(a, 10);
|
|
27565
27571
|
}), fm(s)) : Pa(i) ? vE(s) : Gr(i) ? s._d = new Date(i) : Je.createFromInputFallback(s);
|
|
27566
27572
|
}
|
|
27567
|
-
function
|
|
27573
|
+
function hv(s, i, a, c, f) {
|
|
27568
27574
|
var x = {};
|
|
27569
27575
|
return (i === !0 || i === !1) && (c = i, i = void 0), (a === !0 || a === !1) && (c = a, a = void 0), (Pa(s) && Qf(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, xE(x);
|
|
27570
27576
|
}
|
|
27571
27577
|
function Ei(s, i, a, c) {
|
|
27572
|
-
return
|
|
27578
|
+
return hv(s, i, a, c, !1);
|
|
27573
27579
|
}
|
|
27574
27580
|
var wE = Os(
|
|
27575
27581
|
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
@@ -27584,7 +27590,7 @@ var wE = Os(
|
|
|
27584
27590
|
return this.isValid() && s.isValid() ? s > this ? this : s : md();
|
|
27585
27591
|
}
|
|
27586
27592
|
);
|
|
27587
|
-
function
|
|
27593
|
+
function dv(s, i) {
|
|
27588
27594
|
var a, c;
|
|
27589
27595
|
if (i.length === 1 && Ws(i[0]) && (i = i[0]), !i.length)
|
|
27590
27596
|
return Ei();
|
|
@@ -27594,11 +27600,11 @@ function hv(s, i) {
|
|
|
27594
27600
|
}
|
|
27595
27601
|
function TE() {
|
|
27596
27602
|
var s = [].slice.call(arguments, 0);
|
|
27597
|
-
return
|
|
27603
|
+
return dv("isBefore", s);
|
|
27598
27604
|
}
|
|
27599
27605
|
function kE() {
|
|
27600
27606
|
var s = [].slice.call(arguments, 0);
|
|
27601
|
-
return
|
|
27607
|
+
return dv("isAfter", s);
|
|
27602
27608
|
}
|
|
27603
27609
|
var EE = function() {
|
|
27604
27610
|
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
@@ -27650,14 +27656,14 @@ function IE(s, i, a) {
|
|
|
27650
27656
|
Zt(s[v]) !== Zt(i[v]) && x++;
|
|
27651
27657
|
return x + f;
|
|
27652
27658
|
}
|
|
27653
|
-
function
|
|
27659
|
+
function pv(s, i) {
|
|
27654
27660
|
ft(s, 0, 0, function() {
|
|
27655
27661
|
var a = this.utcOffset(), c = "+";
|
|
27656
27662
|
return a < 0 && (a = -a, c = "-"), c + mr(~~(a / 60), 2) + i + mr(~~a % 60, 2);
|
|
27657
27663
|
});
|
|
27658
27664
|
}
|
|
27659
|
-
|
|
27660
|
-
|
|
27665
|
+
pv("Z", ":");
|
|
27666
|
+
pv("ZZ", "");
|
|
27661
27667
|
st("Z", xd);
|
|
27662
27668
|
st("ZZ", xd);
|
|
27663
27669
|
vi(["Z", "ZZ"], function(s, i, a) {
|
|
@@ -27686,7 +27692,7 @@ function DE(s, i, a) {
|
|
|
27686
27692
|
if (s = gm(xd, s), s === null)
|
|
27687
27693
|
return this;
|
|
27688
27694
|
} else Math.abs(s) < 16 && !a && (s = s * 60);
|
|
27689
|
-
return !this._isUTC && i && (f = Bf(this)), this._offset = s, this._isUTC = !0, f != null && this.add(f, "m"), c !== s && (!i || this._changeInProgress ?
|
|
27695
|
+
return !this._isUTC && i && (f = Bf(this)), this._offset = s, this._isUTC = !0, f != null && this.add(f, "m"), c !== s && (!i || this._changeInProgress ? gv(
|
|
27690
27696
|
this,
|
|
27691
27697
|
Ks(s - c, "m"),
|
|
27692
27698
|
1,
|
|
@@ -27723,7 +27729,7 @@ function NE() {
|
|
|
27723
27729
|
if (!Xn(this._isDSTShifted))
|
|
27724
27730
|
return this._isDSTShifted;
|
|
27725
27731
|
var s = {}, i;
|
|
27726
|
-
return tm(s, this), s =
|
|
27732
|
+
return tm(s, this), s = uv(s), s._a ? (i = s._isUTC ? gr(s._a) : Ei(s._a), this._isDSTShifted = this.isValid() && IE(s._a, i.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
27727
27733
|
}
|
|
27728
27734
|
function jE() {
|
|
27729
27735
|
return this.isValid() ? !this._isUTC : !1;
|
|
@@ -27731,7 +27737,7 @@ function jE() {
|
|
|
27731
27737
|
function VE() {
|
|
27732
27738
|
return this.isValid() ? this._isUTC : !1;
|
|
27733
27739
|
}
|
|
27734
|
-
function
|
|
27740
|
+
function fv() {
|
|
27735
27741
|
return this.isValid() ? this._isUTC && this._offset === 0 : !1;
|
|
27736
27742
|
}
|
|
27737
27743
|
var $E = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, UE = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
@@ -27768,33 +27774,33 @@ function xa(s, i) {
|
|
|
27768
27774
|
var a = s && parseFloat(s.replace(",", "."));
|
|
27769
27775
|
return (isNaN(a) ? 0 : a) * i;
|
|
27770
27776
|
}
|
|
27771
|
-
function
|
|
27777
|
+
function x_(s, i) {
|
|
27772
27778
|
var a = {};
|
|
27773
27779
|
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;
|
|
27774
27780
|
}
|
|
27775
27781
|
function qE(s, i) {
|
|
27776
27782
|
var a;
|
|
27777
|
-
return s.isValid() && i.isValid() ? (i = ym(i, s), s.isBefore(i) ? a =
|
|
27783
|
+
return s.isValid() && i.isValid() ? (i = ym(i, s), s.isBefore(i) ? a = x_(s, i) : (a = x_(i, s), a.milliseconds = -a.milliseconds, a.months = -a.months), a) : { milliseconds: 0, months: 0 };
|
|
27778
27784
|
}
|
|
27779
|
-
function
|
|
27785
|
+
function mv(s, i) {
|
|
27780
27786
|
return function(a, c) {
|
|
27781
27787
|
var f, x;
|
|
27782
|
-
return c !== null && !isNaN(+c) && (
|
|
27788
|
+
return c !== null && !isNaN(+c) && (q0(
|
|
27783
27789
|
i,
|
|
27784
27790
|
"moment()." + i + "(period, number) is deprecated. Please use moment()." + i + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
27785
|
-
), x = a, a = c, c = x), f = Ks(a, c),
|
|
27791
|
+
), x = a, a = c, c = x), f = Ks(a, c), gv(this, f, s), this;
|
|
27786
27792
|
};
|
|
27787
27793
|
}
|
|
27788
|
-
function
|
|
27794
|
+
function gv(s, i, a, c) {
|
|
27789
27795
|
var f = i._milliseconds, x = Ff(i._days), v = Ff(i._months);
|
|
27790
|
-
s.isValid() && (c = c ?? !0, v &&
|
|
27796
|
+
s.isValid() && (c = c ?? !0, v && ev(s, _u(s, "Month") + v * a), x && K0(s, "Date", _u(s, "Date") + x * a), f && s._d.setTime(s._d.valueOf() + f * a), c && Je.updateOffset(s, x || v));
|
|
27791
27797
|
}
|
|
27792
|
-
var HE =
|
|
27793
|
-
function
|
|
27798
|
+
var HE = mv(1, "add"), ZE = mv(-1, "subtract");
|
|
27799
|
+
function yv(s) {
|
|
27794
27800
|
return typeof s == "string" || s instanceof String;
|
|
27795
27801
|
}
|
|
27796
27802
|
function WE(s) {
|
|
27797
|
-
return Gs(s) || Tu(s) ||
|
|
27803
|
+
return Gs(s) || Tu(s) || yv(s) || Gr(s) || YE(s) || GE(s) || s === null || s === void 0;
|
|
27798
27804
|
}
|
|
27799
27805
|
function GE(s) {
|
|
27800
27806
|
var i = Pa(s) && !Qf(s), a = !1, c = [
|
|
@@ -27830,7 +27836,7 @@ function GE(s) {
|
|
|
27830
27836
|
function YE(s) {
|
|
27831
27837
|
var i = Ws(s), a = !1;
|
|
27832
27838
|
return i && (a = s.filter(function(c) {
|
|
27833
|
-
return !Gr(c) &&
|
|
27839
|
+
return !Gr(c) && yv(s);
|
|
27834
27840
|
}).length === 0), i && a;
|
|
27835
27841
|
}
|
|
27836
27842
|
function XE(s) {
|
|
@@ -27964,34 +27970,34 @@ function pM(s, i) {
|
|
|
27964
27970
|
function fM(s) {
|
|
27965
27971
|
return this.to(Ei(), s);
|
|
27966
27972
|
}
|
|
27967
|
-
function
|
|
27973
|
+
function _v(s) {
|
|
27968
27974
|
var i;
|
|
27969
27975
|
return s === void 0 ? this._locale._abbr : (i = Yr(s), i != null && (this._locale = i), this);
|
|
27970
27976
|
}
|
|
27971
|
-
var
|
|
27977
|
+
var vv = Os(
|
|
27972
27978
|
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
27973
27979
|
function(s) {
|
|
27974
27980
|
return s === void 0 ? this.localeData() : this.locale(s);
|
|
27975
27981
|
}
|
|
27976
27982
|
);
|
|
27977
|
-
function
|
|
27983
|
+
function xv() {
|
|
27978
27984
|
return this._locale;
|
|
27979
27985
|
}
|
|
27980
|
-
var od = 1e3, Bl = 60 * od, ad = 60 * Bl,
|
|
27986
|
+
var od = 1e3, Bl = 60 * od, ad = 60 * Bl, bv = (365 * 400 + 97) * 24 * ad;
|
|
27981
27987
|
function Nl(s, i) {
|
|
27982
27988
|
return (s % i + i) % i;
|
|
27983
27989
|
}
|
|
27984
|
-
function bv(s, i, a) {
|
|
27985
|
-
return s < 100 && s >= 0 ? new Date(s + 400, i, a) - xv : new Date(s, i, a).valueOf();
|
|
27986
|
-
}
|
|
27987
27990
|
function wv(s, i, a) {
|
|
27988
|
-
return s < 100 && s >= 0 ? Date
|
|
27991
|
+
return s < 100 && s >= 0 ? new Date(s + 400, i, a) - bv : new Date(s, i, a).valueOf();
|
|
27992
|
+
}
|
|
27993
|
+
function Sv(s, i, a) {
|
|
27994
|
+
return s < 100 && s >= 0 ? Date.UTC(s + 400, i, a) - bv : Date.UTC(s, i, a);
|
|
27989
27995
|
}
|
|
27990
27996
|
function mM(s) {
|
|
27991
27997
|
var i, a;
|
|
27992
27998
|
if (s = Fs(s), s === void 0 || s === "millisecond" || !this.isValid())
|
|
27993
27999
|
return this;
|
|
27994
|
-
switch (a = this._isUTC ?
|
|
28000
|
+
switch (a = this._isUTC ? Sv : wv, s) {
|
|
27995
28001
|
case "year":
|
|
27996
28002
|
i = a(this.year(), 0, 1);
|
|
27997
28003
|
break;
|
|
@@ -28042,7 +28048,7 @@ function gM(s) {
|
|
|
28042
28048
|
var i, a;
|
|
28043
28049
|
if (s = Fs(s), s === void 0 || s === "millisecond" || !this.isValid())
|
|
28044
28050
|
return this;
|
|
28045
|
-
switch (a = this._isUTC ?
|
|
28051
|
+
switch (a = this._isUTC ? Sv : wv, s) {
|
|
28046
28052
|
case "year":
|
|
28047
28053
|
i = a(this.year() + 1, 0, 1) - 1;
|
|
28048
28054
|
break;
|
|
@@ -28309,7 +28315,7 @@ Mu(["gg", "GG"], function(s, i, a, c) {
|
|
|
28309
28315
|
i[c] = Je.parseTwoDigitYear(s);
|
|
28310
28316
|
});
|
|
28311
28317
|
function jM(s) {
|
|
28312
|
-
return
|
|
28318
|
+
return Tv.call(
|
|
28313
28319
|
this,
|
|
28314
28320
|
s,
|
|
28315
28321
|
this.week(),
|
|
@@ -28319,7 +28325,7 @@ function jM(s) {
|
|
|
28319
28325
|
);
|
|
28320
28326
|
}
|
|
28321
28327
|
function VM(s) {
|
|
28322
|
-
return
|
|
28328
|
+
return Tv.call(
|
|
28323
28329
|
this,
|
|
28324
28330
|
s,
|
|
28325
28331
|
this.isoWeek(),
|
|
@@ -28342,16 +28348,16 @@ function HM() {
|
|
|
28342
28348
|
var s = this.localeData()._week;
|
|
28343
28349
|
return Zr(this.weekYear(), s.dow, s.doy);
|
|
28344
28350
|
}
|
|
28345
|
-
function
|
|
28351
|
+
function Tv(s, i, a, c, f) {
|
|
28346
28352
|
var x;
|
|
28347
28353
|
return s == null ? xu(this, c, f).year : (x = Zr(s, c, f), i > x && (i = x), ZM.call(this, s, i, a, c, f));
|
|
28348
28354
|
}
|
|
28349
28355
|
function ZM(s, i, a, c, f) {
|
|
28350
|
-
var x =
|
|
28356
|
+
var x = nv(s, i, a, c, f), v = vu(x.year, 0, x.dayOfYear);
|
|
28351
28357
|
return this.year(v.getUTCFullYear()), this.month(v.getUTCMonth()), this.date(v.getUTCDate()), this;
|
|
28352
28358
|
}
|
|
28353
28359
|
ft("Q", 0, "Qo", "quarter");
|
|
28354
|
-
st("Q",
|
|
28360
|
+
st("Q", Z0);
|
|
28355
28361
|
vi("Q", function(s, i) {
|
|
28356
28362
|
i[$r] = (Zt(s) - 1) * 3;
|
|
28357
28363
|
});
|
|
@@ -28368,10 +28374,10 @@ vi(["D", "DD"], dr);
|
|
|
28368
28374
|
vi("Do", function(s, i) {
|
|
28369
28375
|
i[dr] = Zt(s.match(Mi)[0]);
|
|
28370
28376
|
});
|
|
28371
|
-
var
|
|
28377
|
+
var kv = Zl("Date", !0);
|
|
28372
28378
|
ft("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
28373
28379
|
st("DDD", yd);
|
|
28374
|
-
st("DDDD",
|
|
28380
|
+
st("DDDD", W0);
|
|
28375
28381
|
vi(["DDD", "DDDD"], function(s, i, a) {
|
|
28376
28382
|
a._dayOfYear = Zt(s);
|
|
28377
28383
|
});
|
|
@@ -28416,10 +28422,10 @@ ft(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
28416
28422
|
ft(0, ["SSSSSSSSS", 9], 0, function() {
|
|
28417
28423
|
return this.millisecond() * 1e6;
|
|
28418
28424
|
});
|
|
28419
|
-
st("S", yd,
|
|
28425
|
+
st("S", yd, Z0);
|
|
28420
28426
|
st("SS", yd, _s);
|
|
28421
|
-
st("SSS", yd,
|
|
28422
|
-
var Bo,
|
|
28427
|
+
st("SSS", yd, W0);
|
|
28428
|
+
var Bo, Ev;
|
|
28423
28429
|
for (Bo = "SSSS"; Bo.length <= 9; Bo += "S")
|
|
28424
28430
|
st(Bo, ql);
|
|
28425
28431
|
function KM(s, i) {
|
|
@@ -28427,7 +28433,7 @@ function KM(s, i) {
|
|
|
28427
28433
|
}
|
|
28428
28434
|
for (Bo = "S"; Bo.length <= 9; Bo += "S")
|
|
28429
28435
|
vi(Bo, KM);
|
|
28430
|
-
|
|
28436
|
+
Ev = Zl("Milliseconds", !1);
|
|
28431
28437
|
ft("z", 0, 0, "zoneAbbr");
|
|
28432
28438
|
ft("zz", 0, 0, "zoneName");
|
|
28433
28439
|
function JM() {
|
|
@@ -28456,9 +28462,9 @@ Le.isSame = nM;
|
|
|
28456
28462
|
Le.isSameOrAfter = sM;
|
|
28457
28463
|
Le.isSameOrBefore = rM;
|
|
28458
28464
|
Le.isValid = SM;
|
|
28459
|
-
Le.lang =
|
|
28460
|
-
Le.locale =
|
|
28461
|
-
Le.localeData =
|
|
28465
|
+
Le.lang = vv;
|
|
28466
|
+
Le.locale = _v;
|
|
28467
|
+
Le.localeData = xv;
|
|
28462
28468
|
Le.max = SE;
|
|
28463
28469
|
Le.min = wE;
|
|
28464
28470
|
Le.parsingFlags = TM;
|
|
@@ -28482,12 +28488,12 @@ Le.eraName = IM;
|
|
|
28482
28488
|
Le.eraNarrow = AM;
|
|
28483
28489
|
Le.eraAbbr = DM;
|
|
28484
28490
|
Le.eraYear = zM;
|
|
28485
|
-
Le.year =
|
|
28491
|
+
Le.year = X0;
|
|
28486
28492
|
Le.isLeapYear = lk;
|
|
28487
28493
|
Le.weekYear = jM;
|
|
28488
28494
|
Le.isoWeekYear = VM;
|
|
28489
28495
|
Le.quarter = Le.quarters = WM;
|
|
28490
|
-
Le.month =
|
|
28496
|
+
Le.month = tv;
|
|
28491
28497
|
Le.daysInMonth = vk;
|
|
28492
28498
|
Le.week = Le.weeks = Mk;
|
|
28493
28499
|
Le.isoWeek = Le.isoWeeks = Pk;
|
|
@@ -28495,7 +28501,7 @@ Le.weeksInYear = qM;
|
|
|
28495
28501
|
Le.weeksInWeekYear = HM;
|
|
28496
28502
|
Le.isoWeeksInYear = $M;
|
|
28497
28503
|
Le.isoWeeksInISOWeekYear = UM;
|
|
28498
|
-
Le.date =
|
|
28504
|
+
Le.date = kv;
|
|
28499
28505
|
Le.day = Le.days = Vk;
|
|
28500
28506
|
Le.weekday = $k;
|
|
28501
28507
|
Le.isoWeekday = Uk;
|
|
@@ -28503,7 +28509,7 @@ Le.dayOfYear = GM;
|
|
|
28503
28509
|
Le.hour = Le.hours = Xk;
|
|
28504
28510
|
Le.minute = Le.minutes = YM;
|
|
28505
28511
|
Le.second = Le.seconds = XM;
|
|
28506
|
-
Le.millisecond = Le.milliseconds =
|
|
28512
|
+
Le.millisecond = Le.milliseconds = Ev;
|
|
28507
28513
|
Le.utcOffset = DE;
|
|
28508
28514
|
Le.utc = RE;
|
|
28509
28515
|
Le.local = LE;
|
|
@@ -28512,21 +28518,21 @@ Le.hasAlignedHourOffset = FE;
|
|
|
28512
28518
|
Le.isDST = BE;
|
|
28513
28519
|
Le.isLocal = jE;
|
|
28514
28520
|
Le.isUtcOffset = VE;
|
|
28515
|
-
Le.isUtc =
|
|
28516
|
-
Le.isUTC =
|
|
28521
|
+
Le.isUtc = fv;
|
|
28522
|
+
Le.isUTC = fv;
|
|
28517
28523
|
Le.zoneAbbr = JM;
|
|
28518
28524
|
Le.zoneName = QM;
|
|
28519
28525
|
Le.dates = Os(
|
|
28520
28526
|
"dates accessor is deprecated. Use date instead.",
|
|
28521
|
-
|
|
28527
|
+
kv
|
|
28522
28528
|
);
|
|
28523
28529
|
Le.months = Os(
|
|
28524
28530
|
"months accessor is deprecated. Use month instead",
|
|
28525
|
-
|
|
28531
|
+
tv
|
|
28526
28532
|
);
|
|
28527
28533
|
Le.years = Os(
|
|
28528
28534
|
"years accessor is deprecated. Use year instead",
|
|
28529
|
-
|
|
28535
|
+
X0
|
|
28530
28536
|
);
|
|
28531
28537
|
Le.zone = Os(
|
|
28532
28538
|
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
@@ -28542,7 +28548,7 @@ function eP(s) {
|
|
|
28542
28548
|
function tP() {
|
|
28543
28549
|
return Ei.apply(null, arguments).parseZone();
|
|
28544
28550
|
}
|
|
28545
|
-
function
|
|
28551
|
+
function Mv(s) {
|
|
28546
28552
|
return s;
|
|
28547
28553
|
}
|
|
28548
28554
|
var ii = im.prototype;
|
|
@@ -28550,8 +28556,8 @@ ii.calendar = jT;
|
|
|
28550
28556
|
ii.longDateFormat = qT;
|
|
28551
28557
|
ii.invalidDate = ZT;
|
|
28552
28558
|
ii.ordinal = YT;
|
|
28553
|
-
ii.preparse =
|
|
28554
|
-
ii.postformat =
|
|
28559
|
+
ii.preparse = Mv;
|
|
28560
|
+
ii.postformat = Mv;
|
|
28555
28561
|
ii.relativeTime = KT;
|
|
28556
28562
|
ii.pastFuture = JT;
|
|
28557
28563
|
ii.set = BT;
|
|
@@ -28582,7 +28588,7 @@ function ld(s, i, a, c) {
|
|
|
28582
28588
|
var f = Yr(), x = gr().set(c, i);
|
|
28583
28589
|
return f[a](x, s);
|
|
28584
28590
|
}
|
|
28585
|
-
function
|
|
28591
|
+
function Pv(s, i, a) {
|
|
28586
28592
|
if (Gr(s) && (i = s, s = void 0), s = s || "", i != null)
|
|
28587
28593
|
return ld(s, i, a, "month");
|
|
28588
28594
|
var c, f = [];
|
|
@@ -28600,10 +28606,10 @@ function xm(s, i, a, c) {
|
|
|
28600
28606
|
return u;
|
|
28601
28607
|
}
|
|
28602
28608
|
function iP(s, i) {
|
|
28603
|
-
return
|
|
28609
|
+
return Pv(s, i, "months");
|
|
28604
28610
|
}
|
|
28605
28611
|
function nP(s, i) {
|
|
28606
|
-
return
|
|
28612
|
+
return Pv(s, i, "monthsShort");
|
|
28607
28613
|
}
|
|
28608
28614
|
function sP(s, i, a) {
|
|
28609
28615
|
return xm(s, i, a, "weekdays");
|
|
@@ -28652,24 +28658,24 @@ function aP() {
|
|
|
28652
28658
|
var s = this._data;
|
|
28653
28659
|
return this._milliseconds = Br(this._milliseconds), this._days = Br(this._days), this._months = Br(this._months), s.milliseconds = Br(s.milliseconds), s.seconds = Br(s.seconds), s.minutes = Br(s.minutes), s.hours = Br(s.hours), s.months = Br(s.months), s.years = Br(s.years), this;
|
|
28654
28660
|
}
|
|
28655
|
-
function
|
|
28661
|
+
function Cv(s, i, a, c) {
|
|
28656
28662
|
var f = Ks(i, a);
|
|
28657
28663
|
return s._milliseconds += c * f._milliseconds, s._days += c * f._days, s._months += c * f._months, s._bubble();
|
|
28658
28664
|
}
|
|
28659
28665
|
function lP(s, i) {
|
|
28660
|
-
return
|
|
28666
|
+
return Cv(this, s, i, 1);
|
|
28661
28667
|
}
|
|
28662
28668
|
function cP(s, i) {
|
|
28663
|
-
return
|
|
28669
|
+
return Cv(this, s, i, -1);
|
|
28664
28670
|
}
|
|
28665
|
-
function
|
|
28671
|
+
function b_(s) {
|
|
28666
28672
|
return s < 0 ? Math.floor(s) : Math.ceil(s);
|
|
28667
28673
|
}
|
|
28668
28674
|
function uP() {
|
|
28669
28675
|
var s = this._milliseconds, i = this._days, a = this._months, c = this._data, f, x, v, u, C;
|
|
28670
|
-
return s >= 0 && i >= 0 && a >= 0 || s <= 0 && i <= 0 && a <= 0 || (s +=
|
|
28676
|
+
return s >= 0 && i >= 0 && a >= 0 || s <= 0 && i <= 0 && a <= 0 || (s += b_(Nf(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(Iv(i)), a += C, i -= b_(Nf(C)), u = Ls(a / 12), a %= 12, c.days = i, c.months = a, c.years = u, this;
|
|
28671
28677
|
}
|
|
28672
|
-
function
|
|
28678
|
+
function Iv(s) {
|
|
28673
28679
|
return s * 4800 / 146097;
|
|
28674
28680
|
}
|
|
28675
28681
|
function Nf(s) {
|
|
@@ -28680,7 +28686,7 @@ function hP(s) {
|
|
|
28680
28686
|
return NaN;
|
|
28681
28687
|
var i, a, c = this._milliseconds;
|
|
28682
28688
|
if (s = Fs(s), s === "month" || s === "quarter" || s === "year")
|
|
28683
|
-
switch (i = this._days + c / 864e5, a = this._months +
|
|
28689
|
+
switch (i = this._days + c / 864e5, a = this._months + Iv(i), s) {
|
|
28684
28690
|
case "month":
|
|
28685
28691
|
return a;
|
|
28686
28692
|
case "quarter":
|
|
@@ -28711,7 +28717,7 @@ function Xr(s) {
|
|
|
28711
28717
|
return this.as(s);
|
|
28712
28718
|
};
|
|
28713
28719
|
}
|
|
28714
|
-
var
|
|
28720
|
+
var Av = Xr("ms"), dP = Xr("s"), pP = Xr("m"), fP = Xr("h"), mP = Xr("d"), gP = Xr("w"), yP = Xr("M"), _P = Xr("Q"), vP = Xr("y"), xP = Av;
|
|
28715
28721
|
function bP() {
|
|
28716
28722
|
return Ks(this);
|
|
28717
28723
|
}
|
|
@@ -28778,7 +28784,7 @@ Xt.abs = aP;
|
|
|
28778
28784
|
Xt.add = lP;
|
|
28779
28785
|
Xt.subtract = cP;
|
|
28780
28786
|
Xt.as = hP;
|
|
28781
|
-
Xt.asMilliseconds =
|
|
28787
|
+
Xt.asMilliseconds = Av;
|
|
28782
28788
|
Xt.asSeconds = dP;
|
|
28783
28789
|
Xt.asMinutes = pP;
|
|
28784
28790
|
Xt.asHours = fP;
|
|
@@ -28803,13 +28809,13 @@ Xt.humanize = LP;
|
|
|
28803
28809
|
Xt.toISOString = kd;
|
|
28804
28810
|
Xt.toString = kd;
|
|
28805
28811
|
Xt.toJSON = kd;
|
|
28806
|
-
Xt.locale =
|
|
28807
|
-
Xt.localeData =
|
|
28812
|
+
Xt.locale = _v;
|
|
28813
|
+
Xt.localeData = xv;
|
|
28808
28814
|
Xt.toIsoString = Os(
|
|
28809
28815
|
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
28810
28816
|
kd
|
|
28811
28817
|
);
|
|
28812
|
-
Xt.lang =
|
|
28818
|
+
Xt.lang = vv;
|
|
28813
28819
|
ft("X", 0, 0, "unix");
|
|
28814
28820
|
ft("x", 0, 0, "valueOf");
|
|
28815
28821
|
st("x", vd);
|
|
@@ -29057,7 +29063,7 @@ function tC(s, i, a, c, f, x) {
|
|
|
29057
29063
|
placeholder: "Напишіть коментар...",
|
|
29058
29064
|
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"
|
|
29059
29065
|
}, null, 512), [
|
|
29060
|
-
[
|
|
29066
|
+
[M_, f.textareaValue]
|
|
29061
29067
|
])
|
|
29062
29068
|
])
|
|
29063
29069
|
]),
|
|
@@ -29213,7 +29219,7 @@ function mC(s, i, a, c, f, x) {
|
|
|
29213
29219
|
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",
|
|
29214
29220
|
placeholder: "Напишіть коментар..."
|
|
29215
29221
|
}, null, 512), [
|
|
29216
|
-
[
|
|
29222
|
+
[M_, f.commentContent]
|
|
29217
29223
|
])
|
|
29218
29224
|
]),
|
|
29219
29225
|
re("button", {
|
|
@@ -29680,10 +29686,10 @@ const SC = /* @__PURE__ */ Xi(yC, [["render", wC]]), TC = {
|
|
|
29680
29686
|
install(s, { componentsApp: i = {}, menu: a = [] }) {
|
|
29681
29687
|
var x;
|
|
29682
29688
|
Ut.defaults.baseURL && (Ut.defaults.baseURL = Ut.defaults.baseURL);
|
|
29683
|
-
const c = (x =
|
|
29689
|
+
const c = (x = _0(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);
|
|
29684
29690
|
Object.entries({ ...PC, ...i }).forEach(([v, u]) => {
|
|
29685
29691
|
s.component(v, u);
|
|
29686
|
-
}), s.component("admin",
|
|
29692
|
+
}), s.component("admin", cw), s.config.globalProperties = {
|
|
29687
29693
|
...s.config.globalProperties,
|
|
29688
29694
|
$componentsConfig: { ...dS, componentsApp: i },
|
|
29689
29695
|
$router: f
|