@datagouv/components-next 0.0.17 → 0.0.18
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/{JsonPreview.client-DhW6_H9n.js → JsonPreview.client-DvhnzVAV.js} +2 -2
- package/dist/{MapContainer.client-Bvbt6dnn.js → MapContainer.client-BTa4cY2w.js} +1 -1
- package/dist/{PdfPreview.client-D6LTtYh7.js → PdfPreview.client-CFMYzFUs.js} +2 -2
- package/dist/{Pmtiles.client-CcrZRQLW.js → Pmtiles.client-CCMKYGsj.js} +1 -1
- package/dist/Swagger.client-Ci_pwa2Z.js +4 -0
- package/dist/{XmlPreview.client-Be0RWwzt.js → XmlPreview.client-0NtLStzb.js} +2 -2
- package/dist/components-next.js +57 -56
- package/dist/{main-DCjiKaCW.js → main-BGN65wY4.js} +345 -345
- package/dist/{pdf-vue3-BH4rWOjw.js → pdf-vue3-D5SzycIl.js} +1 -1
- package/dist/{text-clamp.esm-B39D0K4b.js → text-clamp.esm-D43nX9La.js} +1 -1
- package/dist/{vue3-json-viewer-BAs2SD9h.js → vue3-json-viewer-BiPkSVJb.js} +1 -1
- package/dist/{vue3-xml-viewer.common-DL5vgWDy.js → vue3-xml-viewer.common-ARb4d9zr.js} +1 -1
- package/package.json +1 -1
- package/src/main.ts +3 -2
- package/dist/Swagger.client-DTm9HS9i.js +0 -4
|
@@ -8205,41 +8205,12 @@ function X_e() {
|
|
|
8205
8205
|
_q();
|
|
8206
8206
|
}
|
|
8207
8207
|
process.env.NODE_ENV !== "production" && X_e();
|
|
8208
|
-
const qq = Symbol();
|
|
8209
|
-
function Du() {
|
|
8210
|
-
const e = ts(qq);
|
|
8211
|
-
if (!e) throw new Error("Calling `useComponentsConfig` outside @datagouv/components");
|
|
8212
|
-
return e;
|
|
8213
|
-
}
|
|
8214
|
-
function Z_e(e, t) {
|
|
8215
|
-
const r = Du();
|
|
8216
|
-
return e.avatar_thumbnail || `${r.apiBase}/api/1/avatars/${e.id}/${t}`;
|
|
8217
|
-
}
|
|
8218
|
-
const Q_e = ["src", "width", "height"], Wq = /* @__PURE__ */ On({
|
|
8219
|
-
__name: "Avatar",
|
|
8220
|
-
props: {
|
|
8221
|
-
rounded: { type: Boolean, default: !1 },
|
|
8222
|
-
size: { default: 40 },
|
|
8223
|
-
user: {}
|
|
8224
|
-
},
|
|
8225
|
-
setup(e) {
|
|
8226
|
-
const t = e, r = un(() => Z_e(t.user, t.size));
|
|
8227
|
-
return (a, u) => (Et(), Wt("img", {
|
|
8228
|
-
class: va({ "rounded-full border border-gray-default": a.rounded }),
|
|
8229
|
-
src: r.value,
|
|
8230
|
-
width: a.size,
|
|
8231
|
-
height: a.size,
|
|
8232
|
-
loading: "lazy",
|
|
8233
|
-
alt: ""
|
|
8234
|
-
}, null, 10, Q_e));
|
|
8235
|
-
}
|
|
8236
|
-
});
|
|
8237
8208
|
/*!
|
|
8238
8209
|
* vue-router v4.5.0
|
|
8239
8210
|
* (c) 2024 Eduardo San Martin Morote
|
|
8240
8211
|
* @license MIT
|
|
8241
8212
|
*/
|
|
8242
|
-
const
|
|
8213
|
+
const Z_e = typeof document < "u", Q_e = () => {
|
|
8243
8214
|
}, EA = Array.isArray;
|
|
8244
8215
|
function JB(e) {
|
|
8245
8216
|
const t = Array.from(arguments).slice(1);
|
|
@@ -8248,15 +8219,15 @@ function JB(e) {
|
|
|
8248
8219
|
function XB(e, t) {
|
|
8249
8220
|
return (e.aliasOf || e) === (t.aliasOf || t);
|
|
8250
8221
|
}
|
|
8251
|
-
function
|
|
8222
|
+
function e2e(e, t) {
|
|
8252
8223
|
if (Object.keys(e).length !== Object.keys(t).length)
|
|
8253
8224
|
return !1;
|
|
8254
8225
|
for (const r in e)
|
|
8255
|
-
if (!
|
|
8226
|
+
if (!t2e(e[r], t[r]))
|
|
8256
8227
|
return !1;
|
|
8257
8228
|
return !0;
|
|
8258
8229
|
}
|
|
8259
|
-
function
|
|
8230
|
+
function t2e(e, t) {
|
|
8260
8231
|
return EA(e) ? ZB(e, t) : EA(t) ? ZB(t, e) : e === t;
|
|
8261
8232
|
}
|
|
8262
8233
|
function ZB(e, t) {
|
|
@@ -8280,10 +8251,10 @@ var nj;
|
|
|
8280
8251
|
})(nj || (nj = {}));
|
|
8281
8252
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
|
|
8282
8253
|
Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
|
|
8283
|
-
const
|
|
8254
|
+
const qq = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), n2e = Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
|
|
8284
8255
|
Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
|
|
8285
8256
|
function rj(e) {
|
|
8286
|
-
const t = ts(
|
|
8257
|
+
const t = ts(qq), r = ts(n2e);
|
|
8287
8258
|
let a = !1, u = null;
|
|
8288
8259
|
const p = un(() => {
|
|
8289
8260
|
const h = pt(e.to);
|
|
@@ -8309,18 +8280,18 @@ function rj(e) {
|
|
|
8309
8280
|
ij(y) === x && // avoid comparing the child with its parent
|
|
8310
8281
|
b[b.length - 1].path !== x ? b.findIndex(XB.bind(null, h[m - 2])) : v
|
|
8311
8282
|
);
|
|
8312
|
-
}), f = un(() => l.value > -1 &&
|
|
8283
|
+
}), f = un(() => l.value > -1 && s2e(r.params, p.value.params)), s = un(() => l.value > -1 && l.value === r.matched.length - 1 && e2e(r.params, p.value.params));
|
|
8313
8284
|
function d(h = {}) {
|
|
8314
|
-
if (
|
|
8285
|
+
if (o2e(h)) {
|
|
8315
8286
|
const m = t[pt(e.replace) ? "replace" : "push"](
|
|
8316
8287
|
pt(e.to)
|
|
8317
8288
|
// avoid uncaught errors are they are logged anyway
|
|
8318
|
-
).catch(
|
|
8289
|
+
).catch(Q_e);
|
|
8319
8290
|
return e.viewTransition && typeof document < "u" && "startViewTransition" in document && document.startViewTransition(() => m), m;
|
|
8320
8291
|
}
|
|
8321
8292
|
return Promise.resolve();
|
|
8322
8293
|
}
|
|
8323
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
8294
|
+
if (process.env.NODE_ENV !== "production" && Z_e) {
|
|
8324
8295
|
const h = rs();
|
|
8325
8296
|
if (h) {
|
|
8326
8297
|
const m = {
|
|
@@ -8342,10 +8313,10 @@ function rj(e) {
|
|
|
8342
8313
|
navigate: d
|
|
8343
8314
|
};
|
|
8344
8315
|
}
|
|
8345
|
-
function
|
|
8316
|
+
function r2e(e) {
|
|
8346
8317
|
return e.length === 1 ? e[0] : e;
|
|
8347
8318
|
}
|
|
8348
|
-
const
|
|
8319
|
+
const i2e = /* @__PURE__ */ On({
|
|
8349
8320
|
name: "RouterLink",
|
|
8350
8321
|
compatConfig: { MODE: 3 },
|
|
8351
8322
|
props: {
|
|
@@ -8365,7 +8336,7 @@ const o2e = /* @__PURE__ */ On({
|
|
|
8365
8336
|
},
|
|
8366
8337
|
useLink: rj,
|
|
8367
8338
|
setup(e, { slots: t }) {
|
|
8368
|
-
const r = BE(rj(e)), { options: a } = ts(
|
|
8339
|
+
const r = BE(rj(e)), { options: a } = ts(qq), u = un(() => ({
|
|
8369
8340
|
[aj(e.activeClass, a.linkActiveClass, "router-link-active")]: r.isActive,
|
|
8370
8341
|
// [getLinkClass(
|
|
8371
8342
|
// props.inactiveClass,
|
|
@@ -8375,7 +8346,7 @@ const o2e = /* @__PURE__ */ On({
|
|
|
8375
8346
|
[aj(e.exactActiveClass, a.linkExactActiveClass, "router-link-exact-active")]: r.isExactActive
|
|
8376
8347
|
}));
|
|
8377
8348
|
return () => {
|
|
8378
|
-
const p = t.default &&
|
|
8349
|
+
const p = t.default && r2e(t.default(r));
|
|
8379
8350
|
return e.custom ? p : Gs("a", {
|
|
8380
8351
|
"aria-current": r.isExactActive ? e.ariaCurrentValue : null,
|
|
8381
8352
|
href: r.href,
|
|
@@ -8386,8 +8357,8 @@ const o2e = /* @__PURE__ */ On({
|
|
|
8386
8357
|
}, p);
|
|
8387
8358
|
};
|
|
8388
8359
|
}
|
|
8389
|
-
}),
|
|
8390
|
-
function
|
|
8360
|
+
}), a2e = i2e;
|
|
8361
|
+
function o2e(e) {
|
|
8391
8362
|
if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && !e.defaultPrevented && !(e.button !== void 0 && e.button !== 0)) {
|
|
8392
8363
|
if (e.currentTarget && e.currentTarget.getAttribute) {
|
|
8393
8364
|
const t = e.currentTarget.getAttribute("target");
|
|
@@ -8397,7 +8368,7 @@ function l2e(e) {
|
|
|
8397
8368
|
return e.preventDefault && e.preventDefault(), !0;
|
|
8398
8369
|
}
|
|
8399
8370
|
}
|
|
8400
|
-
function
|
|
8371
|
+
function s2e(e, t) {
|
|
8401
8372
|
for (const r in t) {
|
|
8402
8373
|
const a = t[r], u = e[r];
|
|
8403
8374
|
if (typeof a == "string") {
|
|
@@ -8428,26 +8399,26 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
8428
8399
|
e.measure(t, r, a), e.clearMarks(r), e.clearMarks(a);
|
|
8429
8400
|
});
|
|
8430
8401
|
}
|
|
8431
|
-
const
|
|
8402
|
+
const l2e = /\{([0-9a-zA-Z]+)\}/g;
|
|
8432
8403
|
function d4(e, ...t) {
|
|
8433
|
-
return t.length === 1 && Oa(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(
|
|
8404
|
+
return t.length === 1 && Oa(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(l2e, (r, a) => t.hasOwnProperty(a) ? t[a] : "");
|
|
8434
8405
|
}
|
|
8435
|
-
const Kp = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
8406
|
+
const Kp = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), u2e = (e, t, r) => c2e({ l: e, k: t, s: r }), c2e = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), fl = (e) => typeof e == "number" && isFinite(e), f2e = (e) => m9(e) === "[object Date]", wA = (e) => m9(e) === "[object RegExp]", p4 = (e) => Ta(e) && Object.keys(e).length === 0, hl = Object.assign, d2e = Object.create, Ja = (e = null) => d2e(e);
|
|
8436
8407
|
let oj;
|
|
8437
8408
|
const qg = () => oj || (oj = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : Ja());
|
|
8438
8409
|
function sj(e) {
|
|
8439
8410
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
8440
8411
|
}
|
|
8441
|
-
const
|
|
8412
|
+
const p2e = Object.prototype.hasOwnProperty;
|
|
8442
8413
|
function Df(e, t) {
|
|
8443
|
-
return
|
|
8414
|
+
return p2e.call(e, t);
|
|
8444
8415
|
}
|
|
8445
|
-
const Ws = Array.isArray, Mo = (e) => typeof e == "function", Ar = (e) => typeof e == "string", fs = (e) => typeof e == "boolean", Oa = (e) => e !== null && typeof e == "object",
|
|
8416
|
+
const Ws = Array.isArray, Mo = (e) => typeof e == "function", Ar = (e) => typeof e == "string", fs = (e) => typeof e == "boolean", Oa = (e) => e !== null && typeof e == "object", h2e = (e) => Oa(e) && Mo(e.then) && Mo(e.catch), Wq = Object.prototype.toString, m9 = (e) => Wq.call(e), Ta = (e) => m9(e) === "[object Object]", m2e = (e) => e == null ? "" : Ws(e) || Ta(e) && e.toString === Wq ? JSON.stringify(e, null, 2) : String(e);
|
|
8446
8417
|
function g9(e, t = "") {
|
|
8447
8418
|
return e.reduce((r, a, u) => u === 0 ? r + a : r + t + a, "");
|
|
8448
8419
|
}
|
|
8449
8420
|
const lj = 2;
|
|
8450
|
-
function
|
|
8421
|
+
function g2e(e, t = 0, r = e.length) {
|
|
8451
8422
|
const a = e.split(/\r?\n/);
|
|
8452
8423
|
let u = 0;
|
|
8453
8424
|
const p = [];
|
|
@@ -8479,10 +8450,10 @@ function gm(e, t) {
|
|
|
8479
8450
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
8480
8451
|
}
|
|
8481
8452
|
const uj = {};
|
|
8482
|
-
function
|
|
8453
|
+
function y2e(e) {
|
|
8483
8454
|
uj[e] || (uj[e] = !0, gm(e));
|
|
8484
8455
|
}
|
|
8485
|
-
function
|
|
8456
|
+
function b2e() {
|
|
8486
8457
|
const e = /* @__PURE__ */ new Map();
|
|
8487
8458
|
return {
|
|
8488
8459
|
events: e,
|
|
@@ -8516,7 +8487,7 @@ function UC(e, t) {
|
|
|
8516
8487
|
* (c) 2025 kazuya kawaguchi
|
|
8517
8488
|
* Released under the MIT License.
|
|
8518
8489
|
*/
|
|
8519
|
-
function
|
|
8490
|
+
function v2e(e, t, r) {
|
|
8520
8491
|
return { line: e, column: t, offset: r };
|
|
8521
8492
|
}
|
|
8522
8493
|
function ON(e, t, r) {
|
|
@@ -8543,7 +8514,7 @@ const di = {
|
|
|
8543
8514
|
UNHANDLED_CODEGEN_NODE_TYPE: 15,
|
|
8544
8515
|
// minifier error codes
|
|
8545
8516
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
8546
|
-
},
|
|
8517
|
+
}, _2e = 17, E2e = {
|
|
8547
8518
|
// tokenizer error messages
|
|
8548
8519
|
[di.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
8549
8520
|
[di.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
@@ -8566,18 +8537,18 @@ const di = {
|
|
|
8566
8537
|
[di.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
8567
8538
|
};
|
|
8568
8539
|
function rb(e, t, r = {}) {
|
|
8569
|
-
const { domain: a, messages: u, args: p } = r, l = process.env.NODE_ENV !== "production" ? d4((u ||
|
|
8540
|
+
const { domain: a, messages: u, args: p } = r, l = process.env.NODE_ENV !== "production" ? d4((u || E2e)[e] || "", ...p || []) : e, f = new SyntaxError(String(l));
|
|
8570
8541
|
return f.code = e, t && (f.location = t), f.domain = a, f;
|
|
8571
8542
|
}
|
|
8572
|
-
function
|
|
8543
|
+
function w2e(e) {
|
|
8573
8544
|
throw e;
|
|
8574
8545
|
}
|
|
8575
|
-
const
|
|
8576
|
-
`,
|
|
8577
|
-
function
|
|
8546
|
+
const x2e = /<\/?[\w\s="/.':;#-\/]+>/, S2e = (e) => x2e.test(e), mp = " ", C2e = "\r", Au = `
|
|
8547
|
+
`, A2e = "\u2028", T2e = "\u2029";
|
|
8548
|
+
function O2e(e) {
|
|
8578
8549
|
const t = e;
|
|
8579
8550
|
let r = 0, a = 1, u = 1, p = 0;
|
|
8580
|
-
const l = (U) => t[U] ===
|
|
8551
|
+
const l = (U) => t[U] === C2e && t[U + 1] === Au, f = (U) => t[U] === Au, s = (U) => t[U] === T2e, d = (U) => t[U] === A2e, h = (U) => l(U) || f(U) || s(U) || d(U), m = () => r, y = () => a, b = () => u, v = () => p, x = (U) => l(U) || s(U) || d(U) ? Au : t[U], O = () => x(r), k = () => x(r + p);
|
|
8581
8552
|
function N() {
|
|
8582
8553
|
return p = 0, h(r) && (a++, u = 0), l(r) && r++, r++, u++, t[r];
|
|
8583
8554
|
}
|
|
@@ -8611,9 +8582,9 @@ function N2e(e) {
|
|
|
8611
8582
|
skipToPeek: $
|
|
8612
8583
|
};
|
|
8613
8584
|
}
|
|
8614
|
-
const Mh = void 0,
|
|
8615
|
-
function
|
|
8616
|
-
const r = t.location !== !1, a =
|
|
8585
|
+
const Mh = void 0, k2e = ".", cj = "'", N2e = "tokenizer";
|
|
8586
|
+
function I2e(e, t = {}) {
|
|
8587
|
+
const r = t.location !== !1, a = O2e(e), u = () => a.index(), p = () => v2e(a.line(), a.column(), a.index()), l = p(), f = u(), s = {
|
|
8617
8588
|
currentType: 13,
|
|
8618
8589
|
offset: f,
|
|
8619
8590
|
startLoc: l,
|
|
@@ -8630,7 +8601,7 @@ function R2e(e, t = {}) {
|
|
|
8630
8601
|
const st = d();
|
|
8631
8602
|
if (Oe.column += nt, Oe.offset += nt, h) {
|
|
8632
8603
|
const St = r ? ON(st.startLoc, Oe) : null, te = rb(we, St, {
|
|
8633
|
-
domain:
|
|
8604
|
+
domain: N2e,
|
|
8634
8605
|
args: ot
|
|
8635
8606
|
});
|
|
8636
8607
|
h(te);
|
|
@@ -9007,8 +8978,8 @@ function R2e(e, t = {}) {
|
|
|
9007
8978
|
context: d
|
|
9008
8979
|
};
|
|
9009
8980
|
}
|
|
9010
|
-
const
|
|
9011
|
-
function
|
|
8981
|
+
const D2e = "parser", R2e = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
8982
|
+
function M2e(e, t, r) {
|
|
9012
8983
|
switch (e) {
|
|
9013
8984
|
case "\\\\":
|
|
9014
8985
|
return "\\";
|
|
@@ -9021,13 +8992,13 @@ function L2e(e, t, r) {
|
|
|
9021
8992
|
}
|
|
9022
8993
|
}
|
|
9023
8994
|
}
|
|
9024
|
-
function
|
|
8995
|
+
function P2e(e = {}) {
|
|
9025
8996
|
const t = e.location !== !1, { onError: r } = e;
|
|
9026
8997
|
function a(k, N, I, M, ...B) {
|
|
9027
8998
|
const $ = k.currentPosition();
|
|
9028
8999
|
if ($.offset += M, $.column += M, r) {
|
|
9029
9000
|
const U = t ? ON(I, $) : null, H = rb(N, U, {
|
|
9030
|
-
domain:
|
|
9001
|
+
domain: D2e,
|
|
9031
9002
|
args: B
|
|
9032
9003
|
});
|
|
9033
9004
|
r(H);
|
|
@@ -9054,7 +9025,7 @@ function F2e(e = {}) {
|
|
|
9054
9025
|
}
|
|
9055
9026
|
function d(k, N) {
|
|
9056
9027
|
const I = k.context(), { lastOffset: M, lastStartLoc: B } = I, $ = u(9, M, B);
|
|
9057
|
-
return $.value = N.replace(
|
|
9028
|
+
return $.value = N.replace(R2e, M2e), k.nextToken(), p($, k.currentOffset(), k.currentPosition()), $;
|
|
9058
9029
|
}
|
|
9059
9030
|
function h(k) {
|
|
9060
9031
|
const N = k.nextToken(), I = k.context(), { lastOffset: M, lastStartLoc: B } = I, $ = u(8, M, B);
|
|
@@ -9147,7 +9118,7 @@ function F2e(e = {}) {
|
|
|
9147
9118
|
return N.currentType === 13 ? B : v(k, I, M, B);
|
|
9148
9119
|
}
|
|
9149
9120
|
function O(k) {
|
|
9150
|
-
const N =
|
|
9121
|
+
const N = I2e(k, hl({}, e)), I = N.context(), M = u(0, I.offset, I.startLoc);
|
|
9151
9122
|
return t && M.loc && (M.loc.source = k), M.body = x(N), e.onCacheKey && (M.cacheKey = e.onCacheKey(k)), I.currentType !== 13 && a(N, di.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, k[I.offset] || ""), p(M, N.currentOffset(), N.currentPosition()), M;
|
|
9152
9123
|
}
|
|
9153
9124
|
return { parse: O };
|
|
@@ -9158,7 +9129,7 @@ function _d(e) {
|
|
|
9158
9129
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
9159
9130
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
9160
9131
|
}
|
|
9161
|
-
function
|
|
9132
|
+
function L2e(e, t = {}) {
|
|
9162
9133
|
const r = {
|
|
9163
9134
|
ast: e,
|
|
9164
9135
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -9210,8 +9181,8 @@ function y9(e, t) {
|
|
|
9210
9181
|
break;
|
|
9211
9182
|
}
|
|
9212
9183
|
}
|
|
9213
|
-
function
|
|
9214
|
-
const r =
|
|
9184
|
+
function F2e(e, t = {}) {
|
|
9185
|
+
const r = L2e(e);
|
|
9215
9186
|
r.helper(
|
|
9216
9187
|
"normalize"
|
|
9217
9188
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -9219,7 +9190,7 @@ function j2e(e, t = {}) {
|
|
|
9219
9190
|
const a = r.context();
|
|
9220
9191
|
e.helpers = Array.from(a.helpers);
|
|
9221
9192
|
}
|
|
9222
|
-
function
|
|
9193
|
+
function B2e(e) {
|
|
9223
9194
|
const t = e.body;
|
|
9224
9195
|
return t.type === 2 ? dj(t) : t.cases.forEach((r) => dj(r)), e;
|
|
9225
9196
|
}
|
|
@@ -9244,7 +9215,7 @@ function dj(e) {
|
|
|
9244
9215
|
}
|
|
9245
9216
|
}
|
|
9246
9217
|
}
|
|
9247
|
-
const
|
|
9218
|
+
const j2e = "minifier";
|
|
9248
9219
|
function v1(e) {
|
|
9249
9220
|
switch (e.t = e.type, e.type) {
|
|
9250
9221
|
case 0: {
|
|
@@ -9292,14 +9263,14 @@ function v1(e) {
|
|
|
9292
9263
|
default:
|
|
9293
9264
|
if (process.env.NODE_ENV !== "production")
|
|
9294
9265
|
throw rb(di.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
9295
|
-
domain:
|
|
9266
|
+
domain: j2e,
|
|
9296
9267
|
args: [e.type]
|
|
9297
9268
|
});
|
|
9298
9269
|
}
|
|
9299
9270
|
delete e.type;
|
|
9300
9271
|
}
|
|
9301
|
-
const
|
|
9302
|
-
function
|
|
9272
|
+
const $2e = "parser";
|
|
9273
|
+
function U2e(e, t) {
|
|
9303
9274
|
const { filename: r, breakLineCode: a, needIndent: u } = t, p = t.location !== !1, l = {
|
|
9304
9275
|
filename: r,
|
|
9305
9276
|
code: "",
|
|
@@ -9341,14 +9312,14 @@ function V2e(e, t) {
|
|
|
9341
9312
|
needIndent: () => l.needIndent
|
|
9342
9313
|
};
|
|
9343
9314
|
}
|
|
9344
|
-
function
|
|
9315
|
+
function z2e(e, t) {
|
|
9345
9316
|
const { helper: r } = e;
|
|
9346
9317
|
e.push(`${r(
|
|
9347
9318
|
"linked"
|
|
9348
9319
|
/* HelperNameMap.LINKED */
|
|
9349
9320
|
)}(`), W1(e, t.key), t.modifier ? (e.push(", "), W1(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
9350
9321
|
}
|
|
9351
|
-
function
|
|
9322
|
+
function V2e(e, t) {
|
|
9352
9323
|
const { helper: r, needIndent: a } = e;
|
|
9353
9324
|
e.push(`${r(
|
|
9354
9325
|
"normalize"
|
|
@@ -9359,7 +9330,7 @@ function q2e(e, t) {
|
|
|
9359
9330
|
e.push(", ");
|
|
9360
9331
|
e.deindent(a()), e.push("])");
|
|
9361
9332
|
}
|
|
9362
|
-
function
|
|
9333
|
+
function H2e(e, t) {
|
|
9363
9334
|
const { helper: r, needIndent: a } = e;
|
|
9364
9335
|
if (t.cases.length > 1) {
|
|
9365
9336
|
e.push(`${r(
|
|
@@ -9372,23 +9343,23 @@ function W2e(e, t) {
|
|
|
9372
9343
|
e.deindent(a()), e.push("])");
|
|
9373
9344
|
}
|
|
9374
9345
|
}
|
|
9375
|
-
function
|
|
9346
|
+
function q2e(e, t) {
|
|
9376
9347
|
t.body ? W1(e, t.body) : e.push("null");
|
|
9377
9348
|
}
|
|
9378
9349
|
function W1(e, t) {
|
|
9379
9350
|
const { helper: r } = e;
|
|
9380
9351
|
switch (t.type) {
|
|
9381
9352
|
case 0:
|
|
9382
|
-
|
|
9353
|
+
q2e(e, t);
|
|
9383
9354
|
break;
|
|
9384
9355
|
case 1:
|
|
9385
|
-
|
|
9356
|
+
H2e(e, t);
|
|
9386
9357
|
break;
|
|
9387
9358
|
case 2:
|
|
9388
|
-
|
|
9359
|
+
V2e(e, t);
|
|
9389
9360
|
break;
|
|
9390
9361
|
case 6:
|
|
9391
|
-
|
|
9362
|
+
z2e(e, t);
|
|
9392
9363
|
break;
|
|
9393
9364
|
case 8:
|
|
9394
9365
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -9423,16 +9394,16 @@ function W1(e, t) {
|
|
|
9423
9394
|
default:
|
|
9424
9395
|
if (process.env.NODE_ENV !== "production")
|
|
9425
9396
|
throw rb(di.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
9426
|
-
domain:
|
|
9397
|
+
domain: $2e,
|
|
9427
9398
|
args: [t.type]
|
|
9428
9399
|
});
|
|
9429
9400
|
}
|
|
9430
9401
|
}
|
|
9431
|
-
const
|
|
9402
|
+
const W2e = (e, t = {}) => {
|
|
9432
9403
|
const r = Ar(t.mode) ? t.mode : "normal", a = Ar(t.filename) ? t.filename : "message.intl";
|
|
9433
9404
|
t.sourceMap;
|
|
9434
9405
|
const u = t.breakLineCode != null ? t.breakLineCode : r === "arrow" ? ";" : `
|
|
9435
|
-
`, p = t.needIndent ? t.needIndent : r !== "arrow", l = e.helpers || [], f =
|
|
9406
|
+
`, p = t.needIndent ? t.needIndent : r !== "arrow", l = e.helpers || [], f = U2e(e, {
|
|
9436
9407
|
filename: a,
|
|
9437
9408
|
breakLineCode: u,
|
|
9438
9409
|
needIndent: p
|
|
@@ -9446,30 +9417,30 @@ const Y2e = (e, t = {}) => {
|
|
|
9446
9417
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
9447
9418
|
};
|
|
9448
9419
|
};
|
|
9449
|
-
function
|
|
9450
|
-
const r = hl({}, t), a = !!r.jit, u = !!r.minify, p = r.optimize == null ? !0 : r.optimize, f =
|
|
9451
|
-
return a ? (p &&
|
|
9420
|
+
function K2e(e, t = {}) {
|
|
9421
|
+
const r = hl({}, t), a = !!r.jit, u = !!r.minify, p = r.optimize == null ? !0 : r.optimize, f = P2e(r).parse(e);
|
|
9422
|
+
return a ? (p && B2e(f), u && v1(f), { ast: f, code: "" }) : (F2e(f, r), W2e(f, r));
|
|
9452
9423
|
}
|
|
9453
9424
|
/*!
|
|
9454
9425
|
* core-base v10.0.6
|
|
9455
9426
|
* (c) 2025 kazuya kawaguchi
|
|
9456
9427
|
* Released under the MIT License.
|
|
9457
9428
|
*/
|
|
9458
|
-
function
|
|
9429
|
+
function Y2e() {
|
|
9459
9430
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (qg().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (qg().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
9460
9431
|
}
|
|
9461
9432
|
function K6(e) {
|
|
9462
|
-
return (r) =>
|
|
9433
|
+
return (r) => G2e(r, e);
|
|
9463
9434
|
}
|
|
9464
|
-
function
|
|
9465
|
-
const r =
|
|
9435
|
+
function G2e(e, t) {
|
|
9436
|
+
const r = X2e(t);
|
|
9466
9437
|
if (r == null)
|
|
9467
9438
|
throw yE(
|
|
9468
9439
|
0
|
|
9469
9440
|
/* NodeTypes.Resource */
|
|
9470
9441
|
);
|
|
9471
9442
|
if (b9(r) === 1) {
|
|
9472
|
-
const p =
|
|
9443
|
+
const p = Q2e(r);
|
|
9473
9444
|
return e.plural(p.reduce((l, f) => [
|
|
9474
9445
|
...l,
|
|
9475
9446
|
pj(e, f)
|
|
@@ -9477,30 +9448,30 @@ function X2e(e, t) {
|
|
|
9477
9448
|
} else
|
|
9478
9449
|
return pj(e, r);
|
|
9479
9450
|
}
|
|
9480
|
-
const
|
|
9481
|
-
function
|
|
9482
|
-
return ym(e,
|
|
9451
|
+
const J2e = ["b", "body"];
|
|
9452
|
+
function X2e(e) {
|
|
9453
|
+
return ym(e, J2e);
|
|
9483
9454
|
}
|
|
9484
|
-
const
|
|
9485
|
-
function
|
|
9486
|
-
return ym(e,
|
|
9455
|
+
const Z2e = ["c", "cases"];
|
|
9456
|
+
function Q2e(e) {
|
|
9457
|
+
return ym(e, Z2e, []);
|
|
9487
9458
|
}
|
|
9488
9459
|
function pj(e, t) {
|
|
9489
|
-
const r =
|
|
9460
|
+
const r = tEe(t);
|
|
9490
9461
|
if (r != null)
|
|
9491
9462
|
return e.type === "text" ? r : e.normalize([r]);
|
|
9492
9463
|
{
|
|
9493
|
-
const a =
|
|
9464
|
+
const a = rEe(t).reduce((u, p) => [...u, kN(e, p)], []);
|
|
9494
9465
|
return e.normalize(a);
|
|
9495
9466
|
}
|
|
9496
9467
|
}
|
|
9497
|
-
const
|
|
9498
|
-
function
|
|
9499
|
-
return ym(e,
|
|
9468
|
+
const eEe = ["s", "static"];
|
|
9469
|
+
function tEe(e) {
|
|
9470
|
+
return ym(e, eEe);
|
|
9500
9471
|
}
|
|
9501
|
-
const
|
|
9502
|
-
function
|
|
9503
|
-
return ym(e,
|
|
9472
|
+
const nEe = ["i", "items"];
|
|
9473
|
+
function rEe(e) {
|
|
9474
|
+
return ym(e, nEe, []);
|
|
9504
9475
|
}
|
|
9505
9476
|
function kN(e, t) {
|
|
9506
9477
|
const r = b9(t);
|
|
@@ -9526,7 +9497,7 @@ function kN(e, t) {
|
|
|
9526
9497
|
throw yE(r);
|
|
9527
9498
|
}
|
|
9528
9499
|
case 6: {
|
|
9529
|
-
const a = t, u =
|
|
9500
|
+
const a = t, u = sEe(a), p = uEe(a);
|
|
9530
9501
|
return e.linked(kN(e, p), u ? kN(e, u) : void 0, e.type);
|
|
9531
9502
|
}
|
|
9532
9503
|
case 7:
|
|
@@ -9537,24 +9508,24 @@ function kN(e, t) {
|
|
|
9537
9508
|
throw new Error(`unhandled node on format message part: ${r}`);
|
|
9538
9509
|
}
|
|
9539
9510
|
}
|
|
9540
|
-
const
|
|
9511
|
+
const iEe = ["t", "type"];
|
|
9541
9512
|
function b9(e) {
|
|
9542
|
-
return ym(e,
|
|
9513
|
+
return ym(e, iEe);
|
|
9543
9514
|
}
|
|
9544
|
-
const
|
|
9515
|
+
const aEe = ["v", "value"];
|
|
9545
9516
|
function X3(e, t) {
|
|
9546
|
-
const r = ym(e,
|
|
9517
|
+
const r = ym(e, aEe);
|
|
9547
9518
|
if (r)
|
|
9548
9519
|
return r;
|
|
9549
9520
|
throw yE(t);
|
|
9550
9521
|
}
|
|
9551
|
-
const
|
|
9552
|
-
function
|
|
9553
|
-
return ym(e,
|
|
9522
|
+
const oEe = ["m", "modifier"];
|
|
9523
|
+
function sEe(e) {
|
|
9524
|
+
return ym(e, oEe);
|
|
9554
9525
|
}
|
|
9555
|
-
const
|
|
9556
|
-
function
|
|
9557
|
-
const t = ym(e,
|
|
9526
|
+
const lEe = ["k", "key"];
|
|
9527
|
+
function uEe(e) {
|
|
9528
|
+
const t = ym(e, lEe);
|
|
9558
9529
|
if (t)
|
|
9559
9530
|
return t;
|
|
9560
9531
|
throw yE(
|
|
@@ -9573,31 +9544,31 @@ function ym(e, t, r) {
|
|
|
9573
9544
|
function yE(e) {
|
|
9574
9545
|
return new Error(`unhandled node type: ${e}`);
|
|
9575
9546
|
}
|
|
9576
|
-
const
|
|
9577
|
-
function
|
|
9578
|
-
t &&
|
|
9547
|
+
const cEe = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
9548
|
+
function fEe(e, t) {
|
|
9549
|
+
t && S2e(e) && gm(d4(cEe, { source: e }));
|
|
9579
9550
|
}
|
|
9580
|
-
const
|
|
9551
|
+
const dEe = (e) => e;
|
|
9581
9552
|
let Z3 = Ja();
|
|
9582
9553
|
function c0(e) {
|
|
9583
9554
|
return Oa(e) && b9(e) === 0 && (Df(e, "b") || Df(e, "body"));
|
|
9584
9555
|
}
|
|
9585
|
-
function
|
|
9556
|
+
function pEe(e, t = {}) {
|
|
9586
9557
|
let r = !1;
|
|
9587
|
-
const a = t.onError ||
|
|
9558
|
+
const a = t.onError || w2e;
|
|
9588
9559
|
return t.onError = (u) => {
|
|
9589
9560
|
r = !0, a(u);
|
|
9590
|
-
}, { ...
|
|
9561
|
+
}, { ...K2e(e, t), detectError: r };
|
|
9591
9562
|
}
|
|
9592
9563
|
// @__NO_SIDE_EFFECTS__
|
|
9593
|
-
function
|
|
9564
|
+
function hEe(e, t) {
|
|
9594
9565
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Ar(e)) {
|
|
9595
9566
|
const r = fs(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
9596
|
-
process.env.NODE_ENV !== "production" &&
|
|
9597
|
-
const u = (t.onCacheKey ||
|
|
9567
|
+
process.env.NODE_ENV !== "production" && fEe(e, r);
|
|
9568
|
+
const u = (t.onCacheKey || dEe)(e), p = Z3[u];
|
|
9598
9569
|
if (p)
|
|
9599
9570
|
return p;
|
|
9600
|
-
const { ast: l, detectError: f } =
|
|
9571
|
+
const { ast: l, detectError: f } = pEe(e, {
|
|
9601
9572
|
...t,
|
|
9602
9573
|
location: process.env.NODE_ENV !== "production",
|
|
9603
9574
|
jit: !0
|
|
@@ -9615,10 +9586,10 @@ function gEe(e, t) {
|
|
|
9615
9586
|
}
|
|
9616
9587
|
}
|
|
9617
9588
|
let bE = null;
|
|
9618
|
-
function
|
|
9589
|
+
function mEe(e) {
|
|
9619
9590
|
bE = e;
|
|
9620
9591
|
}
|
|
9621
|
-
function
|
|
9592
|
+
function gEe(e, t, r) {
|
|
9622
9593
|
bE && bE.emit("i18n:init", {
|
|
9623
9594
|
timestamp: Date.now(),
|
|
9624
9595
|
i18n: e,
|
|
@@ -9626,12 +9597,12 @@ function bEe(e, t, r) {
|
|
|
9626
9597
|
meta: r
|
|
9627
9598
|
});
|
|
9628
9599
|
}
|
|
9629
|
-
const
|
|
9630
|
-
function
|
|
9600
|
+
const yEe = /* @__PURE__ */ bEe("function:translate");
|
|
9601
|
+
function bEe(e) {
|
|
9631
9602
|
return (t) => bE && bE.emit(e, t);
|
|
9632
9603
|
}
|
|
9633
9604
|
const ru = {
|
|
9634
|
-
INVALID_ARGUMENT:
|
|
9605
|
+
INVALID_ARGUMENT: _2e,
|
|
9635
9606
|
// 17
|
|
9636
9607
|
INVALID_DATE_ARGUMENT: 18,
|
|
9637
9608
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -9639,11 +9610,11 @@ const ru = {
|
|
|
9639
9610
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
9640
9611
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
9641
9612
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
9642
|
-
},
|
|
9613
|
+
}, vEe = 24;
|
|
9643
9614
|
function Np(e) {
|
|
9644
|
-
return rb(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
9615
|
+
return rb(e, null, process.env.NODE_ENV !== "production" ? { messages: _Ee } : void 0);
|
|
9645
9616
|
}
|
|
9646
|
-
const
|
|
9617
|
+
const _Ee = {
|
|
9647
9618
|
[ru.INVALID_ARGUMENT]: "Invalid arguments",
|
|
9648
9619
|
[ru.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
9649
9620
|
[ru.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -9664,7 +9635,7 @@ function hj(e) {
|
|
|
9664
9635
|
return Y6;
|
|
9665
9636
|
if (e.constructor.name === "Function") {
|
|
9666
9637
|
const t = e();
|
|
9667
|
-
if (
|
|
9638
|
+
if (h2e(t))
|
|
9668
9639
|
throw Np(ru.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
9669
9640
|
return Y6 = t;
|
|
9670
9641
|
} else
|
|
@@ -9672,13 +9643,13 @@ function hj(e) {
|
|
|
9672
9643
|
} else
|
|
9673
9644
|
throw Np(ru.NOT_SUPPORT_LOCALE_TYPE);
|
|
9674
9645
|
}
|
|
9675
|
-
function
|
|
9646
|
+
function EEe(e, t, r) {
|
|
9676
9647
|
return [.../* @__PURE__ */ new Set([
|
|
9677
9648
|
r,
|
|
9678
9649
|
...Ws(t) ? t : Oa(t) ? Object.keys(t) : Ar(t) ? [t] : [r]
|
|
9679
9650
|
])];
|
|
9680
9651
|
}
|
|
9681
|
-
function
|
|
9652
|
+
function Kq(e, t, r) {
|
|
9682
9653
|
const a = Ar(r) ? r : xA, u = e;
|
|
9683
9654
|
u.__localeChainCache || (u.__localeChainCache = /* @__PURE__ */ new Map());
|
|
9684
9655
|
let p = u.__localeChainCache.get(a);
|
|
@@ -9696,20 +9667,20 @@ function mj(e, t, r) {
|
|
|
9696
9667
|
let a = !0;
|
|
9697
9668
|
for (let u = 0; u < t.length && fs(a); u++) {
|
|
9698
9669
|
const p = t[u];
|
|
9699
|
-
Ar(p) && (a =
|
|
9670
|
+
Ar(p) && (a = wEe(e, t[u], r));
|
|
9700
9671
|
}
|
|
9701
9672
|
return a;
|
|
9702
9673
|
}
|
|
9703
|
-
function
|
|
9674
|
+
function wEe(e, t, r) {
|
|
9704
9675
|
let a;
|
|
9705
9676
|
const u = t.split("-");
|
|
9706
9677
|
do {
|
|
9707
9678
|
const p = u.join("-");
|
|
9708
|
-
a =
|
|
9679
|
+
a = xEe(e, p, r), u.splice(-1, 1);
|
|
9709
9680
|
} while (u.length && a === !0);
|
|
9710
9681
|
return a;
|
|
9711
9682
|
}
|
|
9712
|
-
function
|
|
9683
|
+
function xEe(e, t, r) {
|
|
9713
9684
|
let a = !1;
|
|
9714
9685
|
if (!e.includes(t) && (a = !0, t)) {
|
|
9715
9686
|
a = t[t.length - 1] !== "!";
|
|
@@ -9879,15 +9850,15 @@ bm[
|
|
|
9879
9850
|
/* Actions.APPEND */
|
|
9880
9851
|
]
|
|
9881
9852
|
};
|
|
9882
|
-
const
|
|
9883
|
-
function
|
|
9884
|
-
return
|
|
9853
|
+
const SEe = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
9854
|
+
function CEe(e) {
|
|
9855
|
+
return SEe.test(e);
|
|
9885
9856
|
}
|
|
9886
|
-
function
|
|
9857
|
+
function AEe(e) {
|
|
9887
9858
|
const t = e.charCodeAt(0), r = e.charCodeAt(e.length - 1);
|
|
9888
9859
|
return t === r && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
9889
9860
|
}
|
|
9890
|
-
function
|
|
9861
|
+
function TEe(e) {
|
|
9891
9862
|
if (e == null)
|
|
9892
9863
|
return "o";
|
|
9893
9864
|
switch (e.charCodeAt(0)) {
|
|
@@ -9924,11 +9895,11 @@ function kEe(e) {
|
|
|
9924
9895
|
}
|
|
9925
9896
|
return "i";
|
|
9926
9897
|
}
|
|
9927
|
-
function
|
|
9898
|
+
function OEe(e) {
|
|
9928
9899
|
const t = e.trim();
|
|
9929
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
9900
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : CEe(t) ? AEe(t) : "*" + t;
|
|
9930
9901
|
}
|
|
9931
|
-
function
|
|
9902
|
+
function kEe(e) {
|
|
9932
9903
|
const t = [];
|
|
9933
9904
|
let r = -1, a = 0, u = 0, p, l, f, s, d, h, m;
|
|
9934
9905
|
const y = [];
|
|
@@ -9960,7 +9931,7 @@ function IEe(e) {
|
|
|
9960
9931
|
/* Actions.APPEND */
|
|
9961
9932
|
]();
|
|
9962
9933
|
else {
|
|
9963
|
-
if (u = 0, l === void 0 || (l =
|
|
9934
|
+
if (u = 0, l === void 0 || (l = OEe(l), l === !1))
|
|
9964
9935
|
return !1;
|
|
9965
9936
|
y[
|
|
9966
9937
|
1
|
|
@@ -9978,21 +9949,21 @@ function IEe(e) {
|
|
|
9978
9949
|
}
|
|
9979
9950
|
for (; a !== null; )
|
|
9980
9951
|
if (r++, p = e[r], !(p === "\\" && b())) {
|
|
9981
|
-
if (s =
|
|
9952
|
+
if (s = TEe(p), m = bm[a], d = m[s] || m.l || 8, d === 8 || (a = d[0], d[1] !== void 0 && (h = y[d[1]], h && (f = p, h() === !1))))
|
|
9982
9953
|
return;
|
|
9983
9954
|
if (a === 7)
|
|
9984
9955
|
return t;
|
|
9985
9956
|
}
|
|
9986
9957
|
}
|
|
9987
9958
|
const gj = /* @__PURE__ */ new Map();
|
|
9988
|
-
function
|
|
9959
|
+
function NEe(e, t) {
|
|
9989
9960
|
return Oa(e) ? e[t] : null;
|
|
9990
9961
|
}
|
|
9991
|
-
function
|
|
9962
|
+
function IEe(e, t) {
|
|
9992
9963
|
if (!Oa(e))
|
|
9993
9964
|
return null;
|
|
9994
9965
|
let r = gj.get(t);
|
|
9995
|
-
if (r || (r =
|
|
9966
|
+
if (r || (r = kEe(t), r && gj.set(t, r)), !r)
|
|
9996
9967
|
return null;
|
|
9997
9968
|
const a = r.length;
|
|
9998
9969
|
let u = e, p = 0;
|
|
@@ -10012,7 +9983,7 @@ const Qu = {
|
|
|
10012
9983
|
CANNOT_FORMAT_DATE: 5,
|
|
10013
9984
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
10014
9985
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
10015
|
-
},
|
|
9986
|
+
}, DEe = 8, REe = {
|
|
10016
9987
|
[Qu.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
10017
9988
|
[Qu.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
10018
9989
|
[Qu.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -10022,41 +9993,41 @@ const Qu = {
|
|
|
10022
9993
|
[Qu.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
10023
9994
|
};
|
|
10024
9995
|
function f0(e, ...t) {
|
|
10025
|
-
return d4(
|
|
9996
|
+
return d4(REe[e], ...t);
|
|
10026
9997
|
}
|
|
10027
|
-
const
|
|
10028
|
-
function
|
|
9998
|
+
const MEe = "10.0.6", h4 = -1, xA = "en-US", SA = "", yj = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
9999
|
+
function PEe() {
|
|
10029
10000
|
return {
|
|
10030
10001
|
upper: (e, t) => t === "text" && Ar(e) ? e.toUpperCase() : t === "vnode" && Oa(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
10031
10002
|
lower: (e, t) => t === "text" && Ar(e) ? e.toLowerCase() : t === "vnode" && Oa(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
10032
10003
|
capitalize: (e, t) => t === "text" && Ar(e) ? yj(e) : t === "vnode" && Oa(e) && "__v_isVNode" in e ? yj(e.children) : e
|
|
10033
10004
|
};
|
|
10034
10005
|
}
|
|
10006
|
+
let Yq;
|
|
10007
|
+
function LEe(e) {
|
|
10008
|
+
Yq = e;
|
|
10009
|
+
}
|
|
10010
|
+
let Gq;
|
|
10011
|
+
function FEe(e) {
|
|
10012
|
+
Gq = e;
|
|
10013
|
+
}
|
|
10035
10014
|
let Jq;
|
|
10036
10015
|
function BEe(e) {
|
|
10037
10016
|
Jq = e;
|
|
10038
10017
|
}
|
|
10039
|
-
let Xq;
|
|
10040
|
-
|
|
10018
|
+
let Xq = null;
|
|
10019
|
+
const jEe = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
10041
10020
|
Xq = e;
|
|
10042
|
-
}
|
|
10043
|
-
let Zq;
|
|
10044
|
-
function $Ee(e) {
|
|
10045
|
-
Zq = e;
|
|
10046
|
-
}
|
|
10047
|
-
let Qq = null;
|
|
10048
|
-
const UEe = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
10049
|
-
Qq = e;
|
|
10050
|
-
}, zEe = /* @__NO_SIDE_EFFECTS__ */ () => Qq;
|
|
10051
|
-
let eW = null;
|
|
10021
|
+
}, $Ee = /* @__NO_SIDE_EFFECTS__ */ () => Xq;
|
|
10022
|
+
let Zq = null;
|
|
10052
10023
|
const bj = (e) => {
|
|
10053
|
-
|
|
10054
|
-
},
|
|
10024
|
+
Zq = e;
|
|
10025
|
+
}, UEe = () => Zq;
|
|
10055
10026
|
let vj = 0;
|
|
10056
|
-
function
|
|
10057
|
-
const t = Mo(e.onWarn) ? e.onWarn : gm, r = Ar(e.version) ? e.version :
|
|
10058
|
-
process.env.NODE_ENV !== "production" && Mo(e.messageCompiler) &&
|
|
10059
|
-
const B = Mo(e.messageResolver) ? e.messageResolver :
|
|
10027
|
+
function zEe(e = {}) {
|
|
10028
|
+
const t = Mo(e.onWarn) ? e.onWarn : gm, r = Ar(e.version) ? e.version : MEe, a = Ar(e.locale) || Mo(e.locale) ? e.locale : xA, u = Mo(a) ? xA : a, p = Ws(e.fallbackLocale) || Ta(e.fallbackLocale) || Ar(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u, l = Ta(e.messages) ? e.messages : G6(u), f = Ta(e.datetimeFormats) ? e.datetimeFormats : G6(u), s = Ta(e.numberFormats) ? e.numberFormats : G6(u), d = hl(Ja(), e.modifiers, PEe()), h = e.pluralRules || Ja(), m = Mo(e.missing) ? e.missing : null, y = fs(e.missingWarn) || wA(e.missingWarn) ? e.missingWarn : !0, b = fs(e.fallbackWarn) || wA(e.fallbackWarn) ? e.fallbackWarn : !0, v = !!e.fallbackFormat, x = !!e.unresolving, O = Mo(e.postTranslation) ? e.postTranslation : null, k = Ta(e.processor) ? e.processor : null, N = fs(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, M = Mo(e.messageCompiler) ? e.messageCompiler : Yq;
|
|
10029
|
+
process.env.NODE_ENV !== "production" && Mo(e.messageCompiler) && y2e(f0(Qu.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
10030
|
+
const B = Mo(e.messageResolver) ? e.messageResolver : Gq || NEe, $ = Mo(e.localeFallbacker) ? e.localeFallbacker : Jq || EEe, U = Oa(e.fallbackContext) ? e.fallbackContext : void 0, H = e, q = Oa(H.__datetimeFormatters) ? H.__datetimeFormatters : /* @__PURE__ */ new Map(), W = Oa(H.__numberFormatters) ? H.__numberFormatters : /* @__PURE__ */ new Map(), ae = Oa(H.__meta) ? H.__meta : {};
|
|
10060
10031
|
vj++;
|
|
10061
10032
|
const re = {
|
|
10062
10033
|
version: r,
|
|
@@ -10082,13 +10053,13 @@ function HEe(e = {}) {
|
|
|
10082
10053
|
onWarn: t,
|
|
10083
10054
|
__meta: ae
|
|
10084
10055
|
};
|
|
10085
|
-
return re.datetimeFormats = f, re.numberFormats = s, re.__datetimeFormatters = q, re.__numberFormatters = W, process.env.NODE_ENV !== "production" && (re.__v_emitter = H.__v_emitter != null ? H.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
10056
|
+
return re.datetimeFormats = f, re.numberFormats = s, re.__datetimeFormatters = q, re.__numberFormatters = W, process.env.NODE_ENV !== "production" && (re.__v_emitter = H.__v_emitter != null ? H.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && gEe(re, r, ae), re;
|
|
10086
10057
|
}
|
|
10087
10058
|
const G6 = (e) => ({ [e]: Ja() });
|
|
10088
10059
|
function m4(e, t) {
|
|
10089
10060
|
return e instanceof RegExp ? e.test(t) : e;
|
|
10090
10061
|
}
|
|
10091
|
-
function
|
|
10062
|
+
function Qq(e, t) {
|
|
10092
10063
|
return e instanceof RegExp ? e.test(t) : e;
|
|
10093
10064
|
}
|
|
10094
10065
|
function _9(e, t, r, a, u) {
|
|
@@ -10106,31 +10077,31 @@ function _9(e, t, r, a, u) {
|
|
|
10106
10077
|
const f = p(e, r, t, u);
|
|
10107
10078
|
return Ar(f) ? f : t;
|
|
10108
10079
|
} else
|
|
10109
|
-
return process.env.NODE_ENV !== "production" &&
|
|
10080
|
+
return process.env.NODE_ENV !== "production" && Qq(a, t) && l(f0(Qu.NOT_FOUND_KEY, { key: t, locale: r })), t;
|
|
10110
10081
|
}
|
|
10111
10082
|
function s2(e, t, r) {
|
|
10112
10083
|
const a = e;
|
|
10113
10084
|
a.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, r, t);
|
|
10114
10085
|
}
|
|
10115
|
-
function
|
|
10086
|
+
function eW(e, t) {
|
|
10116
10087
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
10117
10088
|
}
|
|
10118
|
-
function
|
|
10089
|
+
function VEe(e, t) {
|
|
10119
10090
|
const r = t.indexOf(e);
|
|
10120
10091
|
if (r === -1)
|
|
10121
10092
|
return !1;
|
|
10122
10093
|
for (let a = r + 1; a < t.length; a++)
|
|
10123
|
-
if (
|
|
10094
|
+
if (eW(e, t[a]))
|
|
10124
10095
|
return !0;
|
|
10125
10096
|
return !1;
|
|
10126
10097
|
}
|
|
10127
|
-
const _j = typeof Intl < "u",
|
|
10098
|
+
const _j = typeof Intl < "u", tW = {
|
|
10128
10099
|
dateTimeFormat: _j && typeof Intl.DateTimeFormat < "u",
|
|
10129
10100
|
numberFormat: _j && typeof Intl.NumberFormat < "u"
|
|
10130
10101
|
};
|
|
10131
10102
|
function Ej(e, ...t) {
|
|
10132
10103
|
const { datetimeFormats: r, unresolving: a, fallbackLocale: u, onWarn: p, localeFallbacker: l } = e, { __datetimeFormatters: f } = e;
|
|
10133
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
10104
|
+
if (process.env.NODE_ENV !== "production" && !tW.dateTimeFormat)
|
|
10134
10105
|
return p(f0(Qu.CANNOT_FORMAT_DATE)), SA;
|
|
10135
10106
|
const [s, d, h, m] = NN(...t), y = fs(h.missingWarn) ? h.missingWarn : e.missingWarn, b = fs(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, v = !!h.part, x = v9(e, h), O = l(
|
|
10136
10107
|
e,
|
|
@@ -10167,7 +10138,7 @@ function Ej(e, ...t) {
|
|
|
10167
10138
|
let H = f.get(U);
|
|
10168
10139
|
return H || (H = new Intl.DateTimeFormat(N, hl({}, I, m)), f.set(U, H)), v ? H.formatToParts(d) : H.format(d);
|
|
10169
10140
|
}
|
|
10170
|
-
const
|
|
10141
|
+
const nW = [
|
|
10171
10142
|
"localeMatcher",
|
|
10172
10143
|
"weekday",
|
|
10173
10144
|
"era",
|
|
@@ -10203,7 +10174,7 @@ function NN(...e) {
|
|
|
10203
10174
|
} catch {
|
|
10204
10175
|
throw Np(ru.INVALID_ISO_DATE_ARGUMENT);
|
|
10205
10176
|
}
|
|
10206
|
-
} else if (
|
|
10177
|
+
} else if (f2e(t)) {
|
|
10207
10178
|
if (isNaN(t.getTime()))
|
|
10208
10179
|
throw Np(ru.INVALID_DATE_ARGUMENT);
|
|
10209
10180
|
f = t;
|
|
@@ -10212,7 +10183,7 @@ function NN(...e) {
|
|
|
10212
10183
|
else
|
|
10213
10184
|
throw Np(ru.INVALID_ARGUMENT);
|
|
10214
10185
|
return Ar(r) ? p.key = r : Ta(r) && Object.keys(r).forEach((s) => {
|
|
10215
|
-
|
|
10186
|
+
nW.includes(s) ? l[s] = r[s] : p[s] = r[s];
|
|
10216
10187
|
}), Ar(a) ? p.locale = a : Ta(a) && (l = a), Ta(u) && (l = u), [p.key || "", f, p, l];
|
|
10217
10188
|
}
|
|
10218
10189
|
function wj(e, t, r) {
|
|
@@ -10224,7 +10195,7 @@ function wj(e, t, r) {
|
|
|
10224
10195
|
}
|
|
10225
10196
|
function xj(e, ...t) {
|
|
10226
10197
|
const { numberFormats: r, unresolving: a, fallbackLocale: u, onWarn: p, localeFallbacker: l } = e, { __numberFormatters: f } = e;
|
|
10227
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
10198
|
+
if (process.env.NODE_ENV !== "production" && !tW.numberFormat)
|
|
10228
10199
|
return p(f0(Qu.CANNOT_FORMAT_NUMBER)), SA;
|
|
10229
10200
|
const [s, d, h, m] = IN(...t), y = fs(h.missingWarn) ? h.missingWarn : e.missingWarn, b = fs(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, v = !!h.part, x = v9(e, h), O = l(
|
|
10230
10201
|
e,
|
|
@@ -10261,7 +10232,7 @@ function xj(e, ...t) {
|
|
|
10261
10232
|
let H = f.get(U);
|
|
10262
10233
|
return H || (H = new Intl.NumberFormat(N, hl({}, I, m)), f.set(U, H)), v ? H.formatToParts(d) : H.format(d);
|
|
10263
10234
|
}
|
|
10264
|
-
const
|
|
10235
|
+
const rW = [
|
|
10265
10236
|
"localeMatcher",
|
|
10266
10237
|
"style",
|
|
10267
10238
|
"currency",
|
|
@@ -10290,7 +10261,7 @@ function IN(...e) {
|
|
|
10290
10261
|
throw Np(ru.INVALID_ARGUMENT);
|
|
10291
10262
|
const f = t;
|
|
10292
10263
|
return Ar(r) ? p.key = r : Ta(r) && Object.keys(r).forEach((s) => {
|
|
10293
|
-
|
|
10264
|
+
rW.includes(s) ? l[s] = r[s] : p[s] = r[s];
|
|
10294
10265
|
}), Ar(a) ? p.locale = a : Ta(a) && (l = a), Ta(u) && (l = u), [p.key || "", f, p, l];
|
|
10295
10266
|
}
|
|
10296
10267
|
function Sj(e, t, r) {
|
|
@@ -10300,26 +10271,26 @@ function Sj(e, t, r) {
|
|
|
10300
10271
|
a.__numberFormatters.has(p) && a.__numberFormatters.delete(p);
|
|
10301
10272
|
}
|
|
10302
10273
|
}
|
|
10303
|
-
const
|
|
10274
|
+
const HEe = (e) => e, qEe = (e) => "", WEe = "text", KEe = (e) => e.length === 0 ? "" : g9(e), YEe = m2e;
|
|
10304
10275
|
function Cj(e, t) {
|
|
10305
10276
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
10306
10277
|
}
|
|
10307
|
-
function
|
|
10278
|
+
function GEe(e) {
|
|
10308
10279
|
const t = fl(e.pluralIndex) ? e.pluralIndex : -1;
|
|
10309
10280
|
return e.named && (fl(e.named.count) || fl(e.named.n)) ? fl(e.named.count) ? e.named.count : fl(e.named.n) ? e.named.n : t : t;
|
|
10310
10281
|
}
|
|
10311
|
-
function
|
|
10282
|
+
function JEe(e, t) {
|
|
10312
10283
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
10313
10284
|
}
|
|
10314
|
-
function
|
|
10315
|
-
const t = e.locale, r =
|
|
10316
|
-
fl(e.pluralIndex) &&
|
|
10285
|
+
function XEe(e = {}) {
|
|
10286
|
+
const t = e.locale, r = GEe(e), a = Oa(e.pluralRules) && Ar(t) && Mo(e.pluralRules[t]) ? e.pluralRules[t] : Cj, u = Oa(e.pluralRules) && Ar(t) && Mo(e.pluralRules[t]) ? Cj : void 0, p = (k) => k[a(r, k.length, u)], l = e.list || [], f = (k) => l[k], s = e.named || Ja();
|
|
10287
|
+
fl(e.pluralIndex) && JEe(r, s);
|
|
10317
10288
|
const d = (k) => s[k];
|
|
10318
10289
|
function h(k, N) {
|
|
10319
10290
|
const I = Mo(e.messages) ? e.messages(k, !!N) : Oa(e.messages) ? e.messages[k] : !1;
|
|
10320
|
-
return I || (e.parent ? e.parent.message(k) :
|
|
10291
|
+
return I || (e.parent ? e.parent.message(k) : qEe);
|
|
10321
10292
|
}
|
|
10322
|
-
const m = (k) => e.modifiers ? e.modifiers[k] :
|
|
10293
|
+
const m = (k) => e.modifiers ? e.modifiers[k] : HEe, y = Ta(e.processor) && Mo(e.processor.normalize) ? e.processor.normalize : KEe, b = Ta(e.processor) && Mo(e.processor.interpolate) ? e.processor.interpolate : YEe, v = Ta(e.processor) && Ar(e.processor.type) ? e.processor.type : WEe, O = {
|
|
10323
10294
|
list: f,
|
|
10324
10295
|
named: d,
|
|
10325
10296
|
plural: p,
|
|
@@ -10344,12 +10315,12 @@ function QEe(e = {}) {
|
|
|
10344
10315
|
const Aj = () => "", Kc = (e) => Mo(e);
|
|
10345
10316
|
function Tj(e, ...t) {
|
|
10346
10317
|
const { fallbackFormat: r, postTranslation: a, unresolving: u, messageCompiler: p, fallbackLocale: l, messages: f } = e, [s, d] = DN(...t), h = fs(d.missingWarn) ? d.missingWarn : e.missingWarn, m = fs(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, y = fs(d.escapeParameter) ? d.escapeParameter : e.escapeParameter, b = !!d.resolvedMessage, v = Ar(d.default) || fs(d.default) ? fs(d.default) ? p ? s : () => s : d.default : r ? p ? s : () => s : null, x = r || v != null && (Ar(v) || Mo(v)), O = v9(e, d);
|
|
10347
|
-
y &&
|
|
10318
|
+
y && ZEe(d);
|
|
10348
10319
|
let [k, N, I] = b ? [
|
|
10349
10320
|
s,
|
|
10350
10321
|
O,
|
|
10351
10322
|
f[O] || Ja()
|
|
10352
|
-
] :
|
|
10323
|
+
] : iW(e, s, O, l, m, h), M = k, B = s;
|
|
10353
10324
|
if (!b && !(Ar(M) || c0(M) || Kc(M)) && x && (M = v, B = M), !b && (!(Ar(M) || c0(M) || Kc(M)) || !Ar(N)))
|
|
10354
10325
|
return u ? h4 : s;
|
|
10355
10326
|
if (process.env.NODE_ENV !== "production" && Ar(M) && e.messageCompiler == null)
|
|
@@ -10357,10 +10328,10 @@ function Tj(e, ...t) {
|
|
|
10357
10328
|
let $ = !1;
|
|
10358
10329
|
const U = () => {
|
|
10359
10330
|
$ = !0;
|
|
10360
|
-
}, H = Kc(M) ? M :
|
|
10331
|
+
}, H = Kc(M) ? M : aW(e, s, N, M, B, U);
|
|
10361
10332
|
if ($)
|
|
10362
10333
|
return M;
|
|
10363
|
-
const q =
|
|
10334
|
+
const q = nwe(e, N, I, d), W = XEe(q), ae = QEe(e, H, W), re = a ? a(ae, s) : ae;
|
|
10364
10335
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
10365
10336
|
const Se = {
|
|
10366
10337
|
timestamp: Date.now(),
|
|
@@ -10369,21 +10340,21 @@ function Tj(e, ...t) {
|
|
|
10369
10340
|
format: Ar(M) ? M : Kc(M) ? M.source : "",
|
|
10370
10341
|
message: re
|
|
10371
10342
|
};
|
|
10372
|
-
Se.meta = hl({}, e.__meta, /* @__PURE__ */
|
|
10343
|
+
Se.meta = hl({}, e.__meta, /* @__PURE__ */ $Ee() || {}), yEe(Se);
|
|
10373
10344
|
}
|
|
10374
10345
|
return re;
|
|
10375
10346
|
}
|
|
10376
|
-
function
|
|
10347
|
+
function ZEe(e) {
|
|
10377
10348
|
Ws(e.list) ? e.list = e.list.map((t) => Ar(t) ? sj(t) : t) : Oa(e.named) && Object.keys(e.named).forEach((t) => {
|
|
10378
10349
|
Ar(e.named[t]) && (e.named[t] = sj(e.named[t]));
|
|
10379
10350
|
});
|
|
10380
10351
|
}
|
|
10381
|
-
function
|
|
10352
|
+
function iW(e, t, r, a, u, p) {
|
|
10382
10353
|
const { messages: l, onWarn: f, messageResolver: s, localeFallbacker: d } = e, h = d(e, a, r);
|
|
10383
10354
|
let m = Ja(), y, b = null, v = r, x = null;
|
|
10384
10355
|
const O = "translate";
|
|
10385
10356
|
for (let k = 0; k < h.length; k++) {
|
|
10386
|
-
if (y = x = h[k], process.env.NODE_ENV !== "production" && r !== y && !
|
|
10357
|
+
if (y = x = h[k], process.env.NODE_ENV !== "production" && r !== y && !eW(r, y) && m4(u, t) && f(f0(Qu.FALLBACK_TO_TRANSLATE, {
|
|
10387
10358
|
key: t,
|
|
10388
10359
|
target: y
|
|
10389
10360
|
})), process.env.NODE_ENV !== "production" && r !== y) {
|
|
@@ -10410,7 +10381,7 @@ function oW(e, t, r, a, u, p) {
|
|
|
10410
10381
|
}
|
|
10411
10382
|
if (Ar(b) || c0(b) || Kc(b))
|
|
10412
10383
|
break;
|
|
10413
|
-
if (!
|
|
10384
|
+
if (!VEe(y, h)) {
|
|
10414
10385
|
const B = _9(
|
|
10415
10386
|
e,
|
|
10416
10387
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -10425,7 +10396,7 @@ function oW(e, t, r, a, u, p) {
|
|
|
10425
10396
|
}
|
|
10426
10397
|
return [b, y, m];
|
|
10427
10398
|
}
|
|
10428
|
-
function
|
|
10399
|
+
function aW(e, t, r, a, u, p) {
|
|
10429
10400
|
const { messageCompiler: l, warnHtmlMessage: f } = e;
|
|
10430
10401
|
if (Kc(a)) {
|
|
10431
10402
|
const y = a;
|
|
@@ -10437,7 +10408,7 @@ function sW(e, t, r, a, u, p) {
|
|
|
10437
10408
|
}
|
|
10438
10409
|
let s = null, d, h;
|
|
10439
10410
|
process.env.NODE_ENV !== "production" && zp && (s = window.performance.now(), d = "intlify-message-compilation-start", h = "intlify-message-compilation-end", wc && wc(d));
|
|
10440
|
-
const m = l(a,
|
|
10411
|
+
const m = l(a, ewe(e, r, u, a, f, p));
|
|
10441
10412
|
if (process.env.NODE_ENV !== "production" && zp) {
|
|
10442
10413
|
const y = window.performance.now(), b = e.__v_emitter;
|
|
10443
10414
|
b && s && b.emit("message-compilation", {
|
|
@@ -10449,7 +10420,7 @@ function sW(e, t, r, a, u, p) {
|
|
|
10449
10420
|
}
|
|
10450
10421
|
return m.locale = r, m.key = t, m.source = a, m;
|
|
10451
10422
|
}
|
|
10452
|
-
function
|
|
10423
|
+
function QEe(e, t, r) {
|
|
10453
10424
|
let a = null, u, p;
|
|
10454
10425
|
process.env.NODE_ENV !== "production" && zp && (a = window.performance.now(), u = "intlify-message-evaluation-start", p = "intlify-message-evaluation-end", wc && wc(u));
|
|
10455
10426
|
const l = t(r);
|
|
@@ -10471,14 +10442,14 @@ function DN(...e) {
|
|
|
10471
10442
|
const p = fl(t) ? String(t) : (Kc(t), t);
|
|
10472
10443
|
return fl(r) ? u.plural = r : Ar(r) ? u.default = r : Ta(r) && !p4(r) ? u.named = r : Ws(r) && (u.list = r), fl(a) ? u.plural = a : Ar(a) ? u.default = a : Ta(a) && hl(u, a), [p, u];
|
|
10473
10444
|
}
|
|
10474
|
-
function
|
|
10445
|
+
function ewe(e, t, r, a, u, p) {
|
|
10475
10446
|
return {
|
|
10476
10447
|
locale: t,
|
|
10477
10448
|
key: r,
|
|
10478
10449
|
warnHtmlMessage: u,
|
|
10479
10450
|
onError: (l) => {
|
|
10480
10451
|
if (p && p(l), process.env.NODE_ENV !== "production") {
|
|
10481
|
-
const f =
|
|
10452
|
+
const f = twe(a), s = `Message compilation error: ${l.message}`, d = l.location && f && g2e(f, l.location.start.offset, l.location.end.offset), h = e.__v_emitter;
|
|
10482
10453
|
h && f && h.emit("compile-error", {
|
|
10483
10454
|
message: f,
|
|
10484
10455
|
error: l.message,
|
|
@@ -10490,16 +10461,16 @@ ${d}` : s);
|
|
|
10490
10461
|
} else
|
|
10491
10462
|
throw l;
|
|
10492
10463
|
},
|
|
10493
|
-
onCacheKey: (l) =>
|
|
10464
|
+
onCacheKey: (l) => u2e(t, r, l)
|
|
10494
10465
|
};
|
|
10495
10466
|
}
|
|
10496
|
-
function
|
|
10467
|
+
function twe(e) {
|
|
10497
10468
|
if (Ar(e))
|
|
10498
10469
|
return e;
|
|
10499
10470
|
if (e.loc && e.loc.source)
|
|
10500
10471
|
return e.loc.source;
|
|
10501
10472
|
}
|
|
10502
|
-
function
|
|
10473
|
+
function nwe(e, t, r, a) {
|
|
10503
10474
|
const { modifiers: u, pluralRules: p, messageResolver: l, fallbackLocale: f, fallbackWarn: s, missingWarn: d, fallbackContext: h } = e, y = {
|
|
10504
10475
|
locale: t,
|
|
10505
10476
|
modifiers: u,
|
|
@@ -10507,7 +10478,7 @@ function iwe(e, t, r, a) {
|
|
|
10507
10478
|
messages: (b, v) => {
|
|
10508
10479
|
let x = l(r, b);
|
|
10509
10480
|
if (x == null && (h || v)) {
|
|
10510
|
-
const [, , O] =
|
|
10481
|
+
const [, , O] = iW(
|
|
10511
10482
|
h || e,
|
|
10512
10483
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
10513
10484
|
b,
|
|
@@ -10520,7 +10491,7 @@ function iwe(e, t, r, a) {
|
|
|
10520
10491
|
}
|
|
10521
10492
|
if (Ar(x) || c0(x)) {
|
|
10522
10493
|
let O = !1;
|
|
10523
|
-
const N =
|
|
10494
|
+
const N = aW(e, b, t, x, b, () => {
|
|
10524
10495
|
O = !0;
|
|
10525
10496
|
});
|
|
10526
10497
|
return O ? Aj : N;
|
|
@@ -10529,34 +10500,34 @@ function iwe(e, t, r, a) {
|
|
|
10529
10500
|
};
|
|
10530
10501
|
return e.processor && (y.processor = e.processor), a.list && (y.list = a.list), a.named && (y.named = a.named), fl(a.plural) && (y.pluralIndex = a.plural), y;
|
|
10531
10502
|
}
|
|
10532
|
-
|
|
10503
|
+
Y2e();
|
|
10533
10504
|
/*!
|
|
10534
10505
|
* vue-i18n v10.0.6
|
|
10535
10506
|
* (c) 2025 kazuya kawaguchi
|
|
10536
10507
|
* Released under the MIT License.
|
|
10537
10508
|
*/
|
|
10538
|
-
const
|
|
10539
|
-
function
|
|
10509
|
+
const rwe = "10.0.6";
|
|
10510
|
+
function iwe() {
|
|
10540
10511
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (qg().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (qg().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (qg().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (qg().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
10541
10512
|
}
|
|
10542
10513
|
const Wg = {
|
|
10543
|
-
FALLBACK_TO_ROOT:
|
|
10514
|
+
FALLBACK_TO_ROOT: DEe,
|
|
10544
10515
|
// 8
|
|
10545
10516
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
10546
10517
|
IGNORE_OBJ_FLATTEN: 10,
|
|
10547
10518
|
DEPRECATE_TC: 11
|
|
10548
|
-
},
|
|
10519
|
+
}, awe = {
|
|
10549
10520
|
[Wg.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
10550
10521
|
[Wg.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
10551
10522
|
[Wg.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
10552
10523
|
[Wg.DEPRECATE_TC]: "'tc' and '$tc' has been deprecated in v10. Use 't' or '$t' instead. 'tc' and '$tc’ are going to remove in v11."
|
|
10553
10524
|
};
|
|
10554
10525
|
function E9(e, ...t) {
|
|
10555
|
-
return d4(
|
|
10526
|
+
return d4(awe[e], ...t);
|
|
10556
10527
|
}
|
|
10557
10528
|
const $l = {
|
|
10558
10529
|
// composer module errors
|
|
10559
|
-
UNEXPECTED_RETURN_TYPE:
|
|
10530
|
+
UNEXPECTED_RETURN_TYPE: vEe,
|
|
10560
10531
|
// 24
|
|
10561
10532
|
// legacy module errors
|
|
10562
10533
|
INVALID_ARGUMENT: 25,
|
|
@@ -10577,9 +10548,9 @@ const $l = {
|
|
|
10577
10548
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
10578
10549
|
};
|
|
10579
10550
|
function vE(e, ...t) {
|
|
10580
|
-
return rb(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
10551
|
+
return rb(e, null, process.env.NODE_ENV !== "production" ? { messages: owe, args: t } : void 0);
|
|
10581
10552
|
}
|
|
10582
|
-
const
|
|
10553
|
+
const owe = {
|
|
10583
10554
|
[$l.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
10584
10555
|
[$l.INVALID_ARGUMENT]: "Invalid argument",
|
|
10585
10556
|
[$l.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
@@ -10591,7 +10562,7 @@ const lwe = {
|
|
|
10591
10562
|
[$l.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
|
|
10592
10563
|
[$l.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
10593
10564
|
[$l.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
10594
|
-
}, RN = /* @__PURE__ */ Kp("__translateVNode"), MN = /* @__PURE__ */ Kp("__datetimeParts"), PN = /* @__PURE__ */ Kp("__numberParts"), LN = /* @__PURE__ */ Kp("__enableEmitter"), FN = /* @__PURE__ */ Kp("__disableEmitter"),
|
|
10565
|
+
}, RN = /* @__PURE__ */ Kp("__translateVNode"), MN = /* @__PURE__ */ Kp("__datetimeParts"), PN = /* @__PURE__ */ Kp("__numberParts"), LN = /* @__PURE__ */ Kp("__enableEmitter"), FN = /* @__PURE__ */ Kp("__disableEmitter"), swe = Kp("__setPluralRules"), oW = /* @__PURE__ */ Kp("__injectWithOption"), BN = /* @__PURE__ */ Kp("__dispose");
|
|
10595
10566
|
function _E(e) {
|
|
10596
10567
|
if (!Oa(e))
|
|
10597
10568
|
return e;
|
|
@@ -10617,7 +10588,7 @@ function _E(e) {
|
|
|
10617
10588
|
}
|
|
10618
10589
|
return e;
|
|
10619
10590
|
}
|
|
10620
|
-
function
|
|
10591
|
+
function sW(e, t) {
|
|
10621
10592
|
const { messages: r, __i18n: a, messageResolver: u, flatJson: p } = t, l = Ta(r) ? r : Ws(a) ? Ja() : { [e]: Ja() };
|
|
10622
10593
|
if (Ws(a) && a.forEach((f) => {
|
|
10623
10594
|
if ("locale" in f && "resource" in f) {
|
|
@@ -10630,12 +10601,12 @@ function uW(e, t) {
|
|
|
10630
10601
|
Df(l, f) && _E(l[f]);
|
|
10631
10602
|
return l;
|
|
10632
10603
|
}
|
|
10633
|
-
function
|
|
10604
|
+
function lW(e) {
|
|
10634
10605
|
return e.type;
|
|
10635
10606
|
}
|
|
10636
|
-
function
|
|
10607
|
+
function lwe(e, t, r) {
|
|
10637
10608
|
let a = Oa(t.messages) ? t.messages : Ja();
|
|
10638
|
-
"__i18nGlobal" in r && (a =
|
|
10609
|
+
"__i18nGlobal" in r && (a = sW(e.locale.value, {
|
|
10639
10610
|
messages: a,
|
|
10640
10611
|
__i18n: r.__i18nGlobal
|
|
10641
10612
|
}));
|
|
@@ -10661,17 +10632,17 @@ function cwe(e, t, r) {
|
|
|
10661
10632
|
function Oj(e) {
|
|
10662
10633
|
return Jt(Xc, null, e, 0);
|
|
10663
10634
|
}
|
|
10664
|
-
const kj = "__INTLIFY_META__", Nj = () => [],
|
|
10635
|
+
const kj = "__INTLIFY_META__", Nj = () => [], uwe = () => !1;
|
|
10665
10636
|
let Ij = 0;
|
|
10666
10637
|
function Dj(e) {
|
|
10667
10638
|
return (t, r, a, u) => e(r, a, rs() || void 0, u);
|
|
10668
10639
|
}
|
|
10669
|
-
const
|
|
10640
|
+
const cwe = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
10670
10641
|
const e = rs();
|
|
10671
10642
|
let t = null;
|
|
10672
|
-
return e && (t =
|
|
10643
|
+
return e && (t = lW(e)[kj]) ? { [kj]: t } : null;
|
|
10673
10644
|
};
|
|
10674
|
-
function
|
|
10645
|
+
function fwe(e = {}) {
|
|
10675
10646
|
const { __root: t, __injectWithOption: r } = e, a = t === void 0, u = e.flatJson, p = zp ? Tr : sm;
|
|
10676
10647
|
let l = fs(e.inheritLocale) ? e.inheritLocale : !0;
|
|
10677
10648
|
const f = p(
|
|
@@ -10680,14 +10651,14 @@ function pwe(e = {}) {
|
|
|
10680
10651
|
), s = p(
|
|
10681
10652
|
// prettier-ignore
|
|
10682
10653
|
t && l ? t.fallbackLocale.value : Ar(e.fallbackLocale) || Ws(e.fallbackLocale) || Ta(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : f.value
|
|
10683
|
-
), d = p(
|
|
10654
|
+
), d = p(sW(f.value, e)), h = p(Ta(e.datetimeFormats) ? e.datetimeFormats : { [f.value]: {} }), m = p(Ta(e.numberFormats) ? e.numberFormats : { [f.value]: {} });
|
|
10684
10655
|
let y = t ? t.missingWarn : fs(e.missingWarn) || wA(e.missingWarn) ? e.missingWarn : !0, b = t ? t.fallbackWarn : fs(e.fallbackWarn) || wA(e.fallbackWarn) ? e.fallbackWarn : !0, v = t ? t.fallbackRoot : fs(e.fallbackRoot) ? e.fallbackRoot : !0, x = !!e.fallbackFormat, O = Mo(e.missing) ? e.missing : null, k = Mo(e.missing) ? Dj(e.missing) : null, N = Mo(e.postTranslation) ? e.postTranslation : null, I = t ? t.warnHtmlMessage : fs(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, M = !!e.escapeParameter;
|
|
10685
10656
|
const B = t ? t.modifiers : Ta(e.modifiers) ? e.modifiers : {};
|
|
10686
10657
|
let $ = e.pluralRules || t && t.pluralRules, U;
|
|
10687
10658
|
U = (() => {
|
|
10688
10659
|
a && bj(null);
|
|
10689
10660
|
const P = {
|
|
10690
|
-
version:
|
|
10661
|
+
version: rwe,
|
|
10691
10662
|
locale: f.value,
|
|
10692
10663
|
fallbackLocale: s.value,
|
|
10693
10664
|
messages: d.value,
|
|
@@ -10706,7 +10677,7 @@ function pwe(e = {}) {
|
|
|
10706
10677
|
__meta: { framework: "vue" }
|
|
10707
10678
|
};
|
|
10708
10679
|
P.datetimeFormats = h.value, P.numberFormats = m.value, P.__datetimeFormatters = Ta(U) ? U.__datetimeFormatters : void 0, P.__numberFormatters = Ta(U) ? U.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (P.__v_emitter = Ta(U) ? U.__v_emitter : void 0);
|
|
10709
|
-
const L =
|
|
10680
|
+
const L = zEe(P);
|
|
10710
10681
|
return a && bj(L), L;
|
|
10711
10682
|
})(), s2(U, f.value, s.value);
|
|
10712
10683
|
function q() {
|
|
@@ -10748,14 +10719,14 @@ function pwe(e = {}) {
|
|
|
10748
10719
|
q();
|
|
10749
10720
|
let gt;
|
|
10750
10721
|
try {
|
|
10751
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (U.fallbackContext = t ?
|
|
10722
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (U.fallbackContext = t ? UEe() : void 0), gt = P(U);
|
|
10752
10723
|
} finally {
|
|
10753
10724
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (U.fallbackContext = void 0);
|
|
10754
10725
|
}
|
|
10755
10726
|
if (J !== "translate exists" && // for not `te` (e.g `t`)
|
|
10756
10727
|
fl(gt) && gt === h4 || J === "translate exists" && !gt) {
|
|
10757
10728
|
const [Lt, Nt] = L();
|
|
10758
|
-
if (process.env.NODE_ENV !== "production" && t && Ar(Lt) && He(J, Nt) && (v && (m4(b, Lt) ||
|
|
10729
|
+
if (process.env.NODE_ENV !== "production" && t && Ar(Lt) && He(J, Nt) && (v && (m4(b, Lt) || Qq(y, Lt)) && gm(E9(Wg.FALLBACK_TO_ROOT, {
|
|
10759
10730
|
key: Lt,
|
|
10760
10731
|
type: J
|
|
10761
10732
|
})), process.env.NODE_ENV !== "production")) {
|
|
@@ -10824,11 +10795,11 @@ function pwe(e = {}) {
|
|
|
10824
10795
|
return !1;
|
|
10825
10796
|
const J = Ar(L) ? L : f.value, le = Me(J), ge = U.messageResolver(le, P);
|
|
10826
10797
|
return c0(ge) || Kc(ge) || Ar(ge);
|
|
10827
|
-
}, () => [P], "translate exists", (J) => Reflect.apply(J.te, J, [P, L]),
|
|
10798
|
+
}, () => [P], "translate exists", (J) => Reflect.apply(J.te, J, [P, L]), uwe, (J) => fs(J));
|
|
10828
10799
|
}
|
|
10829
10800
|
function Le(P) {
|
|
10830
10801
|
let L = null;
|
|
10831
|
-
const J =
|
|
10802
|
+
const J = Kq(U, s.value, f.value);
|
|
10832
10803
|
for (let le = 0; le < J.length; le++) {
|
|
10833
10804
|
const ge = d.value[J[le]] || {}, Ae = U.messageResolver(ge, P);
|
|
10834
10805
|
if (Ae != null) {
|
|
@@ -10952,9 +10923,9 @@ function pwe(e = {}) {
|
|
|
10952
10923
|
setPostTranslationHandler: Te,
|
|
10953
10924
|
getMissingHandler: $e,
|
|
10954
10925
|
setMissingHandler: Ce,
|
|
10955
|
-
[
|
|
10926
|
+
[swe]: Mt
|
|
10956
10927
|
};
|
|
10957
|
-
return te.datetimeFormats = Se, te.numberFormats = me, te.rt = Ye, te.te = ce, te.tm = Ee, te.d = S, te.n = kt, te.getDateTimeFormat = we, te.setDateTimeFormat = Oe, te.mergeDateTimeFormat = nt, te.getNumberFormat = ot, te.setNumberFormat = st, te.mergeNumberFormat = St, te[
|
|
10928
|
+
return te.datetimeFormats = Se, te.numberFormats = me, te.rt = Ye, te.te = ce, te.tm = Ee, te.d = S, te.n = kt, te.getDateTimeFormat = we, te.setDateTimeFormat = Oe, te.mergeDateTimeFormat = nt, te.getNumberFormat = ot, te.setNumberFormat = st, te.mergeNumberFormat = St, te[oW] = r, te[RN] = yt, te[MN] = bt, te[PN] = At, process.env.NODE_ENV !== "production" && (te[LN] = (P) => {
|
|
10958
10929
|
U.__v_emitter = P;
|
|
10959
10930
|
}, te[FN] = () => {
|
|
10960
10931
|
U.__v_emitter = void 0;
|
|
@@ -10980,7 +10951,7 @@ const w9 = {
|
|
|
10980
10951
|
type: Object
|
|
10981
10952
|
}
|
|
10982
10953
|
};
|
|
10983
|
-
function
|
|
10954
|
+
function dwe({ slots: e }, t) {
|
|
10984
10955
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((a, u) => [
|
|
10985
10956
|
...a,
|
|
10986
10957
|
// prettier-ignore
|
|
@@ -10990,7 +10961,7 @@ function hwe({ slots: e }, t) {
|
|
|
10990
10961
|
return u && (r[a] = u()), r;
|
|
10991
10962
|
}, Ja());
|
|
10992
10963
|
}
|
|
10993
|
-
function
|
|
10964
|
+
function uW() {
|
|
10994
10965
|
return Yr;
|
|
10995
10966
|
}
|
|
10996
10967
|
hl({
|
|
@@ -11003,10 +10974,10 @@ hl({
|
|
|
11003
10974
|
validator: (e) => fl(e) || !isNaN(e)
|
|
11004
10975
|
}
|
|
11005
10976
|
}, w9);
|
|
11006
|
-
function
|
|
10977
|
+
function pwe(e) {
|
|
11007
10978
|
return Ws(e) && !Ar(e[0]);
|
|
11008
10979
|
}
|
|
11009
|
-
function
|
|
10980
|
+
function cW(e, t, r, a) {
|
|
11010
10981
|
const { slots: u, attrs: p } = t;
|
|
11011
10982
|
return () => {
|
|
11012
10983
|
const l = { part: !0 };
|
|
@@ -11016,9 +10987,9 @@ function dW(e, t, r, a) {
|
|
|
11016
10987
|
let d = [l.key];
|
|
11017
10988
|
Ws(s) ? d = s.map((y, b) => {
|
|
11018
10989
|
const v = u[y.type], x = v ? v({ [y.type]: y.value, index: b, parts: s }) : [y.value];
|
|
11019
|
-
return
|
|
10990
|
+
return pwe(x) && (x[0].key = `${y.type}-${b}`), x;
|
|
11020
10991
|
}) : Ar(s) && (d = [s]);
|
|
11021
|
-
const h = hl(Ja(), p), m = Ar(e.tag) || Oa(e.tag) ? e.tag :
|
|
10992
|
+
const h = hl(Ja(), p), m = Ar(e.tag) || Oa(e.tag) ? e.tag : uW();
|
|
11022
10993
|
return Gs(m, h, d);
|
|
11023
10994
|
};
|
|
11024
10995
|
}
|
|
@@ -11040,51 +11011,51 @@ hl({
|
|
|
11040
11011
|
type: [String, Object]
|
|
11041
11012
|
}
|
|
11042
11013
|
}, w9);
|
|
11043
|
-
const
|
|
11014
|
+
const hwe = /* @__PURE__ */ Kp("global-vue-i18n");
|
|
11044
11015
|
function wo(e = {}) {
|
|
11045
11016
|
const t = rs();
|
|
11046
11017
|
if (t == null)
|
|
11047
11018
|
throw vE($l.MUST_BE_CALL_SETUP_TOP);
|
|
11048
11019
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
11049
11020
|
throw vE($l.NOT_INSTALLED);
|
|
11050
|
-
const r =
|
|
11021
|
+
const r = mwe(t), a = ywe(r), u = lW(t), p = gwe(e, u);
|
|
11051
11022
|
if (p === "global")
|
|
11052
|
-
return
|
|
11023
|
+
return lwe(a, e, u), a;
|
|
11053
11024
|
if (p === "parent") {
|
|
11054
|
-
let s =
|
|
11025
|
+
let s = bwe(r, t, e.__useComponent);
|
|
11055
11026
|
return s == null && (process.env.NODE_ENV !== "production" && gm(E9(Wg.NOT_FOUND_PARENT_SCOPE)), s = a), s;
|
|
11056
11027
|
}
|
|
11057
11028
|
const l = r;
|
|
11058
11029
|
let f = l.__getInstance(t);
|
|
11059
11030
|
if (f == null) {
|
|
11060
11031
|
const s = hl({}, e);
|
|
11061
|
-
"__i18n" in u && (s.__i18n = u.__i18n), a && (s.__root = a), f =
|
|
11032
|
+
"__i18n" in u && (s.__i18n = u.__i18n), a && (s.__root = a), f = fwe(s), l.__composerExtend && (f[BN] = l.__composerExtend(f)), _we(l, t, f), l.__setInstance(t, f);
|
|
11062
11033
|
}
|
|
11063
11034
|
return f;
|
|
11064
11035
|
}
|
|
11065
|
-
function
|
|
11066
|
-
const t = ts(e.isCE ?
|
|
11036
|
+
function mwe(e) {
|
|
11037
|
+
const t = ts(e.isCE ? hwe : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
11067
11038
|
if (!t)
|
|
11068
11039
|
throw vE(e.isCE ? $l.NOT_INSTALLED_WITH_PROVIDE : $l.UNEXPECTED_ERROR);
|
|
11069
11040
|
return t;
|
|
11070
11041
|
}
|
|
11071
|
-
function
|
|
11042
|
+
function gwe(e, t) {
|
|
11072
11043
|
return p4(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
11073
11044
|
}
|
|
11074
|
-
function
|
|
11045
|
+
function ywe(e) {
|
|
11075
11046
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
11076
11047
|
}
|
|
11077
|
-
function
|
|
11048
|
+
function bwe(e, t, r = !1) {
|
|
11078
11049
|
let a = null;
|
|
11079
11050
|
const u = t.root;
|
|
11080
|
-
let p =
|
|
11051
|
+
let p = vwe(t, r);
|
|
11081
11052
|
for (; p != null; ) {
|
|
11082
11053
|
const l = e;
|
|
11083
11054
|
if (e.mode === "composition")
|
|
11084
11055
|
a = l.__getInstance(p);
|
|
11085
11056
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
11086
11057
|
const f = l.__getInstance(p);
|
|
11087
|
-
f != null && (a = f.__composer, r && a && !a[
|
|
11058
|
+
f != null && (a = f.__composer, r && a && !a[oW] && (a = null));
|
|
11088
11059
|
}
|
|
11089
11060
|
if (a != null || u === p)
|
|
11090
11061
|
break;
|
|
@@ -11092,14 +11063,14 @@ function _we(e, t, r = !1) {
|
|
|
11092
11063
|
}
|
|
11093
11064
|
return a;
|
|
11094
11065
|
}
|
|
11095
|
-
function
|
|
11066
|
+
function vwe(e, t = !1) {
|
|
11096
11067
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
11097
11068
|
}
|
|
11098
|
-
function
|
|
11069
|
+
function _we(e, t, r) {
|
|
11099
11070
|
let a = null;
|
|
11100
11071
|
ns(() => {
|
|
11101
11072
|
if (process.env.NODE_ENV !== "production" && t.vnode.el) {
|
|
11102
|
-
t.vnode.el.__VUE_I18N__ = r, a =
|
|
11073
|
+
t.vnode.el.__VUE_I18N__ = r, a = b2e();
|
|
11103
11074
|
const u = r;
|
|
11104
11075
|
u[LN] && u[LN](a), a.on("*", Rj);
|
|
11105
11076
|
}
|
|
@@ -11110,16 +11081,22 @@ function wwe(e, t, r) {
|
|
|
11110
11081
|
p && (p(), delete u[BN]);
|
|
11111
11082
|
}, t);
|
|
11112
11083
|
}
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11084
|
+
iwe();
|
|
11085
|
+
LEe(hEe);
|
|
11086
|
+
FEe(IEe);
|
|
11087
|
+
BEe(Kq);
|
|
11117
11088
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
11118
11089
|
const e = qg();
|
|
11119
|
-
e.__INTLIFY__ = !0,
|
|
11090
|
+
e.__INTLIFY__ = !0, mEe(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
11120
11091
|
}
|
|
11121
11092
|
process.env.NODE_ENV;
|
|
11122
|
-
const
|
|
11093
|
+
const fW = Symbol();
|
|
11094
|
+
function Du() {
|
|
11095
|
+
const e = ts(fW);
|
|
11096
|
+
if (!e) throw new Error("Calling `useComponentsConfig` outside @datagouv/components");
|
|
11097
|
+
return e;
|
|
11098
|
+
}
|
|
11099
|
+
const Ewe = ["href"], Vp = /* @__PURE__ */ On({
|
|
11123
11100
|
__name: "AppLink",
|
|
11124
11101
|
props: {
|
|
11125
11102
|
to: {}
|
|
@@ -11141,7 +11118,7 @@ const xwe = ["href"], Vp = /* @__PURE__ */ On({
|
|
|
11141
11118
|
href: p.value
|
|
11142
11119
|
}, [
|
|
11143
11120
|
Vo(l.$slots, "default")
|
|
11144
|
-
], 8,
|
|
11121
|
+
], 8, Ewe)) : (Et(), wr(pt(a2e), {
|
|
11145
11122
|
key: 2,
|
|
11146
11123
|
to: p.value
|
|
11147
11124
|
}, {
|
|
@@ -11152,6 +11129,29 @@ const xwe = ["href"], Vp = /* @__PURE__ */ On({
|
|
|
11152
11129
|
}, 8, ["to"]));
|
|
11153
11130
|
};
|
|
11154
11131
|
}
|
|
11132
|
+
});
|
|
11133
|
+
function wwe(e, t) {
|
|
11134
|
+
const r = Du();
|
|
11135
|
+
return e.avatar_thumbnail || `${r.apiBase}/api/1/avatars/${e.id}/${t}`;
|
|
11136
|
+
}
|
|
11137
|
+
const xwe = ["src", "width", "height"], dW = /* @__PURE__ */ On({
|
|
11138
|
+
__name: "Avatar",
|
|
11139
|
+
props: {
|
|
11140
|
+
rounded: { type: Boolean, default: !1 },
|
|
11141
|
+
size: { default: 40 },
|
|
11142
|
+
user: {}
|
|
11143
|
+
},
|
|
11144
|
+
setup(e) {
|
|
11145
|
+
const t = e, r = un(() => wwe(t.user, t.size));
|
|
11146
|
+
return (a, u) => (Et(), Wt("img", {
|
|
11147
|
+
class: va({ "rounded-full border border-gray-default": a.rounded }),
|
|
11148
|
+
src: r.value,
|
|
11149
|
+
width: a.size,
|
|
11150
|
+
height: a.size,
|
|
11151
|
+
loading: "lazy",
|
|
11152
|
+
alt: ""
|
|
11153
|
+
}, null, 10, xwe));
|
|
11154
|
+
}
|
|
11155
11155
|
}), Swe = { class: "inline-flex items-center space-x-1" }, YHe = /* @__PURE__ */ On({
|
|
11156
11156
|
__name: "AvatarWithName",
|
|
11157
11157
|
props: {
|
|
@@ -11160,7 +11160,7 @@ const xwe = ["href"], Vp = /* @__PURE__ */ On({
|
|
|
11160
11160
|
},
|
|
11161
11161
|
setup(e) {
|
|
11162
11162
|
return (t, r) => (Et(), Wt("span", Swe, [
|
|
11163
|
-
Jt(
|
|
11163
|
+
Jt(dW, nb(t.$attrs, {
|
|
11164
11164
|
user: t.user,
|
|
11165
11165
|
size: t.size,
|
|
11166
11166
|
rounded: !0
|
|
@@ -47071,7 +47071,7 @@ const sDe = ["src", "alt", "width", "height"], AU = /* @__PURE__ */ On({
|
|
|
47071
47071
|
src: s.dataset.organization.logo_thumbnail,
|
|
47072
47072
|
alt: "",
|
|
47073
47073
|
size: 40
|
|
47074
|
-
}, null, 8, ["src"])) : s.dataset.owner ? (Et(), wr(
|
|
47074
|
+
}, null, 8, ["src"])) : s.dataset.owner ? (Et(), wr(dW, {
|
|
47075
47075
|
key: 1,
|
|
47076
47076
|
user: s.dataset.owner,
|
|
47077
47077
|
size: 40
|
|
@@ -50602,7 +50602,7 @@ const dFe = ["y"], pFe = ["y"], hFe = ["y"], mFe = ["y"], gFe = ["y"], yFe = ["y
|
|
|
50602
50602
|
canEdit: { type: Boolean, default: !1 }
|
|
50603
50603
|
},
|
|
50604
50604
|
setup(e) {
|
|
50605
|
-
const t = ["parquet", "pmtiles", "geojson"], r = e, a = Du(), u = /* @__PURE__ */ Ug(() => import("./Swagger.client-
|
|
50605
|
+
const t = ["parquet", "pmtiles", "geojson"], r = e, a = Du(), u = /* @__PURE__ */ Ug(() => import("./Swagger.client-Ci_pwa2Z.js")), p = /* @__PURE__ */ Ug(() => import("./MapContainer.client-BTa4cY2w.js")), l = /* @__PURE__ */ Ug(() => import("./Pmtiles.client-CCMKYGsj.js")), f = /* @__PURE__ */ Ug(() => import("./JsonPreview.client-DvhnzVAV.js")), s = /* @__PURE__ */ Ug(() => import("./PdfPreview.client-CFMYzFUs.js")), d = /* @__PURE__ */ Ug(() => import("./XmlPreview.client-0NtLStzb.js")), { t: h } = wo(), { formatRelativeIfRecentDate: m } = vm(), y = un(() => {
|
|
50606
50606
|
var He;
|
|
50607
50607
|
const Ce = (He = r.resource.format) == null ? void 0 : He.toLowerCase();
|
|
50608
50608
|
return Ce === "json" || Ce === "pdf" || Ce === "xml";
|
|
@@ -100325,11 +100325,10 @@ const SHe = ["width", "height"], CHe = {
|
|
|
100325
100325
|
}
|
|
100326
100326
|
}), vGe = {
|
|
100327
100327
|
async install(e, t) {
|
|
100328
|
-
if (!t.textClamp) {
|
|
100329
|
-
const r = await import("./text-clamp.esm-
|
|
100328
|
+
if (e.provide(fW, t), !t.textClamp) {
|
|
100329
|
+
const r = await import("./text-clamp.esm-D43nX9La.js");
|
|
100330
100330
|
t.textClamp = r.default;
|
|
100331
100331
|
}
|
|
100332
|
-
e.provide(qq, t);
|
|
100333
100332
|
}
|
|
100334
100333
|
};
|
|
100335
100334
|
export {
|
|
@@ -100362,7 +100361,7 @@ export {
|
|
|
100362
100361
|
ia as Z,
|
|
100363
100362
|
mGe as _,
|
|
100364
100363
|
BE as a,
|
|
100365
|
-
|
|
100364
|
+
zC as a$,
|
|
100366
100365
|
cr as a0,
|
|
100367
100366
|
Jg as a1,
|
|
100368
100367
|
Wye as a2,
|
|
@@ -100373,67 +100372,68 @@ export {
|
|
|
100373
100372
|
AV as a7,
|
|
100374
100373
|
cu as a8,
|
|
100375
100374
|
Zye as a9,
|
|
100376
|
-
|
|
100377
|
-
|
|
100378
|
-
|
|
100379
|
-
|
|
100380
|
-
|
|
100381
|
-
|
|
100382
|
-
|
|
100383
|
-
|
|
100384
|
-
|
|
100385
|
-
|
|
100386
|
-
|
|
100387
|
-
|
|
100388
|
-
|
|
100389
|
-
|
|
100390
|
-
|
|
100391
|
-
|
|
100392
|
-
|
|
100393
|
-
|
|
100394
|
-
|
|
100395
|
-
|
|
100396
|
-
|
|
100397
|
-
|
|
100398
|
-
|
|
100399
|
-
|
|
100400
|
-
|
|
100401
|
-
|
|
100402
|
-
|
|
100375
|
+
lFe as aA,
|
|
100376
|
+
gGe as aB,
|
|
100377
|
+
bGe as aC,
|
|
100378
|
+
GBe as aD,
|
|
100379
|
+
N9e as aE,
|
|
100380
|
+
MA as aF,
|
|
100381
|
+
l8 as aG,
|
|
100382
|
+
u8 as aH,
|
|
100383
|
+
PA as aI,
|
|
100384
|
+
rG as aJ,
|
|
100385
|
+
I9e as aK,
|
|
100386
|
+
C1 as aL,
|
|
100387
|
+
iG as aM,
|
|
100388
|
+
D9e as aN,
|
|
100389
|
+
aG as aO,
|
|
100390
|
+
oG as aP,
|
|
100391
|
+
R9e as aQ,
|
|
100392
|
+
aJ as aR,
|
|
100393
|
+
oJ as aS,
|
|
100394
|
+
cqe as aT,
|
|
100395
|
+
hLe as aU,
|
|
100396
|
+
WU as aV,
|
|
100397
|
+
mLe as aW,
|
|
100398
|
+
wwe as aX,
|
|
100399
|
+
A7e as aY,
|
|
100400
|
+
T7e as aZ,
|
|
100401
|
+
k4 as a_,
|
|
100403
100402
|
exe as aa,
|
|
100404
100403
|
KHe as ab,
|
|
100405
100404
|
qHe as ac,
|
|
100406
100405
|
vGe as ad,
|
|
100407
|
-
|
|
100408
|
-
|
|
100409
|
-
|
|
100410
|
-
|
|
100411
|
-
|
|
100412
|
-
|
|
100413
|
-
|
|
100414
|
-
|
|
100415
|
-
|
|
100416
|
-
|
|
100417
|
-
|
|
100418
|
-
|
|
100419
|
-
|
|
100420
|
-
|
|
100421
|
-
|
|
100422
|
-
|
|
100423
|
-
|
|
100424
|
-
|
|
100425
|
-
|
|
100426
|
-
|
|
100427
|
-
|
|
100428
|
-
|
|
100406
|
+
Vp as ae,
|
|
100407
|
+
dW as af,
|
|
100408
|
+
YHe as ag,
|
|
100409
|
+
GHe as ah,
|
|
100410
|
+
Gh as ai,
|
|
100411
|
+
nqe as aj,
|
|
100412
|
+
iqe as ak,
|
|
100413
|
+
oqe as al,
|
|
100414
|
+
sqe as am,
|
|
100415
|
+
JIe as an,
|
|
100416
|
+
Fh as ao,
|
|
100417
|
+
lG as ap,
|
|
100418
|
+
uG as aq,
|
|
100419
|
+
aqe as ar,
|
|
100420
|
+
lqe as as,
|
|
100421
|
+
cm as at,
|
|
100422
|
+
IRe as au,
|
|
100423
|
+
sG as av,
|
|
100424
|
+
JRe as aw,
|
|
100425
|
+
AU as ax,
|
|
100426
|
+
uqe as ay,
|
|
100427
|
+
fqe as az,
|
|
100429
100428
|
Wt as b,
|
|
100430
|
-
|
|
100431
|
-
|
|
100432
|
-
|
|
100433
|
-
|
|
100434
|
-
|
|
100435
|
-
|
|
100436
|
-
|
|
100429
|
+
xc as b0,
|
|
100430
|
+
p2 as b1,
|
|
100431
|
+
MLe as b2,
|
|
100432
|
+
PLe as b3,
|
|
100433
|
+
LLe as b4,
|
|
100434
|
+
FLe as b5,
|
|
100435
|
+
k9e as b6,
|
|
100436
|
+
Z9 as b7,
|
|
100437
100437
|
un as c,
|
|
100438
100438
|
On as d,
|
|
100439
100439
|
ns as e,
|