@reni-corp/reni-2c-ui 0.2.17 → 0.2.19

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.
@@ -0,0 +1,3495 @@
1
+ var Sn = Object.create, Gt = Object.defineProperty, In = Object.getOwnPropertyDescriptor, ke = Object.getOwnPropertyNames, kn = Object.getPrototypeOf, bn = Object.prototype.hasOwnProperty, Rn = (e, t) => function() {
2
+ return e && (t = (0, e[ke(e)[0]])(e = 0)), t;
3
+ }, wn = (e, t) => function() {
4
+ return t || (0, e[ke(e)[0]])((t = { exports: {} }).exports, t), t.exports;
5
+ }, Pn = (e, t, n, u) => {
6
+ if (t && typeof t == "object" || typeof t == "function")
7
+ for (let r of ke(t))
8
+ !bn.call(e, r) && r !== n && Gt(e, r, { get: () => t[r], enumerable: !(u = In(t, r)) || u.enumerable });
9
+ return e;
10
+ }, Vn = (e, t, n) => (n = e != null ? Sn(kn(e)) : {}, Pn(
11
+ // If the importer is in node compatibility mode or this is not an ESM
12
+ // file that has been converted to a CommonJS file using a Babel-
13
+ // compatible transform (i.e. "__esModule" has not been set), then set
14
+ // "default" to the CommonJS "module.exports" for node compatibility.
15
+ t || !e || !e.__esModule ? Gt(n, "default", { value: e, enumerable: !0 }) : n,
16
+ e
17
+ )), ee = Rn({
18
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
19
+ }
20
+ }), xn = wn({
21
+ "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
22
+ ee(), t.exports = u;
23
+ function n(o) {
24
+ return o instanceof Buffer ? Buffer.from(o) : new o.constructor(o.buffer.slice(), o.byteOffset, o.length);
25
+ }
26
+ function u(o) {
27
+ if (o = o || {}, o.circles)
28
+ return r(o);
29
+ const i = /* @__PURE__ */ new Map();
30
+ if (i.set(Date, (d) => new Date(d)), i.set(Map, (d, m) => new Map(h(Array.from(d), m))), i.set(Set, (d, m) => new Set(h(Array.from(d), m))), o.constructorHandlers)
31
+ for (const d of o.constructorHandlers)
32
+ i.set(d[0], d[1]);
33
+ let a = null;
34
+ return o.proto ? A : p;
35
+ function h(d, m) {
36
+ const c = Object.keys(d), _ = new Array(c.length);
37
+ for (let g = 0; g < c.length; g++) {
38
+ const f = c[g], E = d[f];
39
+ typeof E != "object" || E === null ? _[f] = E : E.constructor !== Object && (a = i.get(E.constructor)) ? _[f] = a(E, m) : ArrayBuffer.isView(E) ? _[f] = n(E) : _[f] = m(E);
40
+ }
41
+ return _;
42
+ }
43
+ function p(d) {
44
+ if (typeof d != "object" || d === null)
45
+ return d;
46
+ if (Array.isArray(d))
47
+ return h(d, p);
48
+ if (d.constructor !== Object && (a = i.get(d.constructor)))
49
+ return a(d, p);
50
+ const m = {};
51
+ for (const c in d) {
52
+ if (Object.hasOwnProperty.call(d, c) === !1)
53
+ continue;
54
+ const _ = d[c];
55
+ typeof _ != "object" || _ === null ? m[c] = _ : _.constructor !== Object && (a = i.get(_.constructor)) ? m[c] = a(_, p) : ArrayBuffer.isView(_) ? m[c] = n(_) : m[c] = p(_);
56
+ }
57
+ return m;
58
+ }
59
+ function A(d) {
60
+ if (typeof d != "object" || d === null)
61
+ return d;
62
+ if (Array.isArray(d))
63
+ return h(d, A);
64
+ if (d.constructor !== Object && (a = i.get(d.constructor)))
65
+ return a(d, A);
66
+ const m = {};
67
+ for (const c in d) {
68
+ const _ = d[c];
69
+ typeof _ != "object" || _ === null ? m[c] = _ : _.constructor !== Object && (a = i.get(_.constructor)) ? m[c] = a(_, A) : ArrayBuffer.isView(_) ? m[c] = n(_) : m[c] = A(_);
70
+ }
71
+ return m;
72
+ }
73
+ }
74
+ function r(o) {
75
+ const i = [], a = [], h = /* @__PURE__ */ new Map();
76
+ if (h.set(Date, (c) => new Date(c)), h.set(Map, (c, _) => new Map(A(Array.from(c), _))), h.set(Set, (c, _) => new Set(A(Array.from(c), _))), o.constructorHandlers)
77
+ for (const c of o.constructorHandlers)
78
+ h.set(c[0], c[1]);
79
+ let p = null;
80
+ return o.proto ? m : d;
81
+ function A(c, _) {
82
+ const g = Object.keys(c), f = new Array(g.length);
83
+ for (let E = 0; E < g.length; E++) {
84
+ const C = g[E], y = c[C];
85
+ if (typeof y != "object" || y === null)
86
+ f[C] = y;
87
+ else if (y.constructor !== Object && (p = h.get(y.constructor)))
88
+ f[C] = p(y, _);
89
+ else if (ArrayBuffer.isView(y))
90
+ f[C] = n(y);
91
+ else {
92
+ const k = i.indexOf(y);
93
+ k !== -1 ? f[C] = a[k] : f[C] = _(y);
94
+ }
95
+ }
96
+ return f;
97
+ }
98
+ function d(c) {
99
+ if (typeof c != "object" || c === null)
100
+ return c;
101
+ if (Array.isArray(c))
102
+ return A(c, d);
103
+ if (c.constructor !== Object && (p = h.get(c.constructor)))
104
+ return p(c, d);
105
+ const _ = {};
106
+ i.push(c), a.push(_);
107
+ for (const g in c) {
108
+ if (Object.hasOwnProperty.call(c, g) === !1)
109
+ continue;
110
+ const f = c[g];
111
+ if (typeof f != "object" || f === null)
112
+ _[g] = f;
113
+ else if (f.constructor !== Object && (p = h.get(f.constructor)))
114
+ _[g] = p(f, d);
115
+ else if (ArrayBuffer.isView(f))
116
+ _[g] = n(f);
117
+ else {
118
+ const E = i.indexOf(f);
119
+ E !== -1 ? _[g] = a[E] : _[g] = d(f);
120
+ }
121
+ }
122
+ return i.pop(), a.pop(), _;
123
+ }
124
+ function m(c) {
125
+ if (typeof c != "object" || c === null)
126
+ return c;
127
+ if (Array.isArray(c))
128
+ return A(c, m);
129
+ if (c.constructor !== Object && (p = h.get(c.constructor)))
130
+ return p(c, m);
131
+ const _ = {};
132
+ i.push(c), a.push(_);
133
+ for (const g in c) {
134
+ const f = c[g];
135
+ if (typeof f != "object" || f === null)
136
+ _[g] = f;
137
+ else if (f.constructor !== Object && (p = h.get(f.constructor)))
138
+ _[g] = p(f, m);
139
+ else if (ArrayBuffer.isView(f))
140
+ _[g] = n(f);
141
+ else {
142
+ const E = i.indexOf(f);
143
+ E !== -1 ? _[g] = a[E] : _[g] = m(f);
144
+ }
145
+ }
146
+ return i.pop(), a.pop(), _;
147
+ }
148
+ }
149
+ }
150
+ });
151
+ ee();
152
+ ee();
153
+ ee();
154
+ var Wt = typeof navigator < "u", l = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
155
+ typeof l.chrome < "u" && l.chrome.devtools;
156
+ Wt && (l.self, l.top);
157
+ var ze;
158
+ typeof navigator < "u" && ((ze = navigator.userAgent) == null || ze.toLowerCase().includes("electron"));
159
+ ee();
160
+ var Nn = Vn(xn(), 1), Fn = /(?:^|[-_/])(\w)/g;
161
+ function Un(e, t) {
162
+ return t ? t.toUpperCase() : "";
163
+ }
164
+ function Bn(e) {
165
+ return e && `${e}`.replace(Fn, Un);
166
+ }
167
+ function Ln(e, t) {
168
+ let n = e.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
169
+ n.endsWith(`index${t}`) && (n = n.replace(`/index${t}`, t));
170
+ const u = n.lastIndexOf("/"), r = n.substring(u + 1);
171
+ if (t) {
172
+ const o = r.lastIndexOf(t);
173
+ return r.substring(0, o);
174
+ }
175
+ return "";
176
+ }
177
+ var Mn = /^https?:\/\//;
178
+ function Kn(e) {
179
+ return e.startsWith("/") || Mn.test(e);
180
+ }
181
+ var $e = (0, Nn.default)({ circles: !0 });
182
+ const Hn = {
183
+ trailing: !0
184
+ };
185
+ function K(e, t = 25, n = {}) {
186
+ if (n = { ...Hn, ...n }, !Number.isFinite(t))
187
+ throw new TypeError("Expected `wait` to be a finite number");
188
+ let u, r, o = [], i, a;
189
+ const h = (p, A) => (i = zn(e, p, A), i.finally(() => {
190
+ if (i = null, n.trailing && a && !r) {
191
+ const d = h(p, a);
192
+ return a = null, d;
193
+ }
194
+ }), i);
195
+ return function(...p) {
196
+ return i ? (n.trailing && (a = p), i) : new Promise((A) => {
197
+ const d = !r && n.leading;
198
+ clearTimeout(r), r = setTimeout(() => {
199
+ r = null;
200
+ const m = n.leading ? u : h(this, p);
201
+ for (const c of o)
202
+ c(m);
203
+ o = [];
204
+ }, t), d ? (u = h(this, p), A(u)) : o.push(A);
205
+ });
206
+ };
207
+ }
208
+ async function zn(e, t, n) {
209
+ return await e.apply(t, n);
210
+ }
211
+ function me(e, t = {}, n) {
212
+ for (const u in e) {
213
+ const r = e[u], o = n ? `${n}:${u}` : u;
214
+ typeof r == "object" && r !== null ? me(r, t, o) : typeof r == "function" && (t[o] = r);
215
+ }
216
+ return t;
217
+ }
218
+ const $n = { run: (e) => e() }, jn = () => $n, qt = typeof console.createTask < "u" ? console.createTask : jn;
219
+ function Gn(e, t) {
220
+ const n = t.shift(), u = qt(n);
221
+ return e.reduce(
222
+ (r, o) => r.then(() => u.run(() => o(...t))),
223
+ Promise.resolve()
224
+ );
225
+ }
226
+ function Wn(e, t) {
227
+ const n = t.shift(), u = qt(n);
228
+ return Promise.all(e.map((r) => u.run(() => r(...t))));
229
+ }
230
+ function pe(e, t) {
231
+ for (const n of [...e])
232
+ n(t);
233
+ }
234
+ class qn {
235
+ constructor() {
236
+ this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
237
+ }
238
+ hook(t, n, u = {}) {
239
+ if (!t || typeof n != "function")
240
+ return () => {
241
+ };
242
+ const r = t;
243
+ let o;
244
+ for (; this._deprecatedHooks[t]; )
245
+ o = this._deprecatedHooks[t], t = o.to;
246
+ if (o && !u.allowDeprecated) {
247
+ let i = o.message;
248
+ i || (i = `${r} hook has been deprecated` + (o.to ? `, please use ${o.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(i) || (console.warn(i), this._deprecatedMessages.add(i));
249
+ }
250
+ if (!n.name)
251
+ try {
252
+ Object.defineProperty(n, "name", {
253
+ get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb",
254
+ configurable: !0
255
+ });
256
+ } catch {
257
+ }
258
+ return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(n), () => {
259
+ n && (this.removeHook(t, n), n = void 0);
260
+ };
261
+ }
262
+ hookOnce(t, n) {
263
+ let u, r = (...o) => (typeof u == "function" && u(), u = void 0, r = void 0, n(...o));
264
+ return u = this.hook(t, r), u;
265
+ }
266
+ removeHook(t, n) {
267
+ if (this._hooks[t]) {
268
+ const u = this._hooks[t].indexOf(n);
269
+ u !== -1 && this._hooks[t].splice(u, 1), this._hooks[t].length === 0 && delete this._hooks[t];
270
+ }
271
+ }
272
+ deprecateHook(t, n) {
273
+ this._deprecatedHooks[t] = typeof n == "string" ? { to: n } : n;
274
+ const u = this._hooks[t] || [];
275
+ delete this._hooks[t];
276
+ for (const r of u)
277
+ this.hook(t, r);
278
+ }
279
+ deprecateHooks(t) {
280
+ Object.assign(this._deprecatedHooks, t);
281
+ for (const n in t)
282
+ this.deprecateHook(n, t[n]);
283
+ }
284
+ addHooks(t) {
285
+ const n = me(t), u = Object.keys(n).map(
286
+ (r) => this.hook(r, n[r])
287
+ );
288
+ return () => {
289
+ for (const r of u.splice(0, u.length))
290
+ r();
291
+ };
292
+ }
293
+ removeHooks(t) {
294
+ const n = me(t);
295
+ for (const u in n)
296
+ this.removeHook(u, n[u]);
297
+ }
298
+ removeAllHooks() {
299
+ for (const t in this._hooks)
300
+ delete this._hooks[t];
301
+ }
302
+ callHook(t, ...n) {
303
+ return n.unshift(t), this.callHookWith(Gn, t, ...n);
304
+ }
305
+ callHookParallel(t, ...n) {
306
+ return n.unshift(t), this.callHookWith(Wn, t, ...n);
307
+ }
308
+ callHookWith(t, n, ...u) {
309
+ const r = this._before || this._after ? { name: n, args: u, context: {} } : void 0;
310
+ this._before && pe(this._before, r);
311
+ const o = t(
312
+ n in this._hooks ? [...this._hooks[n]] : [],
313
+ u
314
+ );
315
+ return o instanceof Promise ? o.finally(() => {
316
+ this._after && r && pe(this._after, r);
317
+ }) : (this._after && r && pe(this._after, r), o);
318
+ }
319
+ beforeEach(t) {
320
+ return this._before = this._before || [], this._before.push(t), () => {
321
+ if (this._before !== void 0) {
322
+ const n = this._before.indexOf(t);
323
+ n !== -1 && this._before.splice(n, 1);
324
+ }
325
+ };
326
+ }
327
+ afterEach(t) {
328
+ return this._after = this._after || [], this._after.push(t), () => {
329
+ if (this._after !== void 0) {
330
+ const n = this._after.indexOf(t);
331
+ n !== -1 && this._after.splice(n, 1);
332
+ }
333
+ };
334
+ }
335
+ }
336
+ function Yt() {
337
+ return new qn();
338
+ }
339
+ var Yn = Object.create, Zt = Object.defineProperty, Zn = Object.getOwnPropertyDescriptor, be = Object.getOwnPropertyNames, Xn = Object.getPrototypeOf, Jn = Object.prototype.hasOwnProperty, Qn = (e, t) => function() {
340
+ return e && (t = (0, e[be(e)[0]])(e = 0)), t;
341
+ }, Xt = (e, t) => function() {
342
+ return t || (0, e[be(e)[0]])((t = { exports: {} }).exports, t), t.exports;
343
+ }, eu = (e, t, n, u) => {
344
+ if (t && typeof t == "object" || typeof t == "function")
345
+ for (let r of be(t))
346
+ !Jn.call(e, r) && r !== n && Zt(e, r, { get: () => t[r], enumerable: !(u = Zn(t, r)) || u.enumerable });
347
+ return e;
348
+ }, tu = (e, t, n) => (n = e != null ? Yn(Xn(e)) : {}, eu(
349
+ // If the importer is in node compatibility mode or this is not an ESM
350
+ // file that has been converted to a CommonJS file using a Babel-
351
+ // compatible transform (i.e. "__esModule" has not been set), then set
352
+ // "default" to the CommonJS "module.exports" for node compatibility.
353
+ t || !e || !e.__esModule ? Zt(n, "default", { value: e, enumerable: !0 }) : n,
354
+ e
355
+ )), s = Qn({
356
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
357
+ }
358
+ }), nu = Xt({
359
+ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
360
+ s(), function(n) {
361
+ var u = {
362
+ // latin
363
+ À: "A",
364
+ Á: "A",
365
+ Â: "A",
366
+ Ã: "A",
367
+ Ä: "Ae",
368
+ Å: "A",
369
+ Æ: "AE",
370
+ Ç: "C",
371
+ È: "E",
372
+ É: "E",
373
+ Ê: "E",
374
+ Ë: "E",
375
+ Ì: "I",
376
+ Í: "I",
377
+ Î: "I",
378
+ Ï: "I",
379
+ Ð: "D",
380
+ Ñ: "N",
381
+ Ò: "O",
382
+ Ó: "O",
383
+ Ô: "O",
384
+ Õ: "O",
385
+ Ö: "Oe",
386
+ Ő: "O",
387
+ Ø: "O",
388
+ Ù: "U",
389
+ Ú: "U",
390
+ Û: "U",
391
+ Ü: "Ue",
392
+ Ű: "U",
393
+ Ý: "Y",
394
+ Þ: "TH",
395
+ ß: "ss",
396
+ à: "a",
397
+ á: "a",
398
+ â: "a",
399
+ ã: "a",
400
+ ä: "ae",
401
+ å: "a",
402
+ æ: "ae",
403
+ ç: "c",
404
+ è: "e",
405
+ é: "e",
406
+ ê: "e",
407
+ ë: "e",
408
+ ì: "i",
409
+ í: "i",
410
+ î: "i",
411
+ ï: "i",
412
+ ð: "d",
413
+ ñ: "n",
414
+ ò: "o",
415
+ ó: "o",
416
+ ô: "o",
417
+ õ: "o",
418
+ ö: "oe",
419
+ ő: "o",
420
+ ø: "o",
421
+ ù: "u",
422
+ ú: "u",
423
+ û: "u",
424
+ ü: "ue",
425
+ ű: "u",
426
+ ý: "y",
427
+ þ: "th",
428
+ ÿ: "y",
429
+ "ẞ": "SS",
430
+ // language specific
431
+ // Arabic
432
+ ا: "a",
433
+ أ: "a",
434
+ إ: "i",
435
+ آ: "aa",
436
+ ؤ: "u",
437
+ ئ: "e",
438
+ ء: "a",
439
+ ب: "b",
440
+ ت: "t",
441
+ ث: "th",
442
+ ج: "j",
443
+ ح: "h",
444
+ خ: "kh",
445
+ د: "d",
446
+ ذ: "th",
447
+ ر: "r",
448
+ ز: "z",
449
+ س: "s",
450
+ ش: "sh",
451
+ ص: "s",
452
+ ض: "dh",
453
+ ط: "t",
454
+ ظ: "z",
455
+ ع: "a",
456
+ غ: "gh",
457
+ ف: "f",
458
+ ق: "q",
459
+ ك: "k",
460
+ ل: "l",
461
+ م: "m",
462
+ ن: "n",
463
+ ه: "h",
464
+ و: "w",
465
+ ي: "y",
466
+ ى: "a",
467
+ ة: "h",
468
+ ﻻ: "la",
469
+ ﻷ: "laa",
470
+ ﻹ: "lai",
471
+ ﻵ: "laa",
472
+ // Persian additional characters than Arabic
473
+ گ: "g",
474
+ چ: "ch",
475
+ پ: "p",
476
+ ژ: "zh",
477
+ ک: "k",
478
+ ی: "y",
479
+ // Arabic diactrics
480
+ "َ": "a",
481
+ "ً": "an",
482
+ "ِ": "e",
483
+ "ٍ": "en",
484
+ "ُ": "u",
485
+ "ٌ": "on",
486
+ "ْ": "",
487
+ // Arabic numbers
488
+ "٠": "0",
489
+ "١": "1",
490
+ "٢": "2",
491
+ "٣": "3",
492
+ "٤": "4",
493
+ "٥": "5",
494
+ "٦": "6",
495
+ "٧": "7",
496
+ "٨": "8",
497
+ "٩": "9",
498
+ // Persian numbers
499
+ "۰": "0",
500
+ "۱": "1",
501
+ "۲": "2",
502
+ "۳": "3",
503
+ "۴": "4",
504
+ "۵": "5",
505
+ "۶": "6",
506
+ "۷": "7",
507
+ "۸": "8",
508
+ "۹": "9",
509
+ // Burmese consonants
510
+ က: "k",
511
+ ခ: "kh",
512
+ ဂ: "g",
513
+ ဃ: "ga",
514
+ င: "ng",
515
+ စ: "s",
516
+ ဆ: "sa",
517
+ ဇ: "z",
518
+ "စျ": "za",
519
+ ည: "ny",
520
+ ဋ: "t",
521
+ ဌ: "ta",
522
+ ဍ: "d",
523
+ ဎ: "da",
524
+ ဏ: "na",
525
+ တ: "t",
526
+ ထ: "ta",
527
+ ဒ: "d",
528
+ ဓ: "da",
529
+ န: "n",
530
+ ပ: "p",
531
+ ဖ: "pa",
532
+ ဗ: "b",
533
+ ဘ: "ba",
534
+ မ: "m",
535
+ ယ: "y",
536
+ ရ: "ya",
537
+ လ: "l",
538
+ ဝ: "w",
539
+ သ: "th",
540
+ ဟ: "h",
541
+ ဠ: "la",
542
+ အ: "a",
543
+ // consonant character combos
544
+ "ြ": "y",
545
+ "ျ": "ya",
546
+ "ွ": "w",
547
+ "ြွ": "yw",
548
+ "ျွ": "ywa",
549
+ "ှ": "h",
550
+ // independent vowels
551
+ ဧ: "e",
552
+ "၏": "-e",
553
+ ဣ: "i",
554
+ ဤ: "-i",
555
+ ဉ: "u",
556
+ ဦ: "-u",
557
+ ဩ: "aw",
558
+ "သြော": "aw",
559
+ ဪ: "aw",
560
+ // numbers
561
+ "၀": "0",
562
+ "၁": "1",
563
+ "၂": "2",
564
+ "၃": "3",
565
+ "၄": "4",
566
+ "၅": "5",
567
+ "၆": "6",
568
+ "၇": "7",
569
+ "၈": "8",
570
+ "၉": "9",
571
+ // virama and tone marks which are silent in transliteration
572
+ "္": "",
573
+ "့": "",
574
+ "း": "",
575
+ // Czech
576
+ č: "c",
577
+ ď: "d",
578
+ ě: "e",
579
+ ň: "n",
580
+ ř: "r",
581
+ š: "s",
582
+ ť: "t",
583
+ ů: "u",
584
+ ž: "z",
585
+ Č: "C",
586
+ Ď: "D",
587
+ Ě: "E",
588
+ Ň: "N",
589
+ Ř: "R",
590
+ Š: "S",
591
+ Ť: "T",
592
+ Ů: "U",
593
+ Ž: "Z",
594
+ // Dhivehi
595
+ ހ: "h",
596
+ ށ: "sh",
597
+ ނ: "n",
598
+ ރ: "r",
599
+ ބ: "b",
600
+ ޅ: "lh",
601
+ ކ: "k",
602
+ އ: "a",
603
+ ވ: "v",
604
+ މ: "m",
605
+ ފ: "f",
606
+ ދ: "dh",
607
+ ތ: "th",
608
+ ލ: "l",
609
+ ގ: "g",
610
+ ޏ: "gn",
611
+ ސ: "s",
612
+ ޑ: "d",
613
+ ޒ: "z",
614
+ ޓ: "t",
615
+ ޔ: "y",
616
+ ޕ: "p",
617
+ ޖ: "j",
618
+ ޗ: "ch",
619
+ ޘ: "tt",
620
+ ޙ: "hh",
621
+ ޚ: "kh",
622
+ ޛ: "th",
623
+ ޜ: "z",
624
+ ޝ: "sh",
625
+ ޞ: "s",
626
+ ޟ: "d",
627
+ ޠ: "t",
628
+ ޡ: "z",
629
+ ޢ: "a",
630
+ ޣ: "gh",
631
+ ޤ: "q",
632
+ ޥ: "w",
633
+ "ަ": "a",
634
+ "ާ": "aa",
635
+ "ި": "i",
636
+ "ީ": "ee",
637
+ "ު": "u",
638
+ "ޫ": "oo",
639
+ "ެ": "e",
640
+ "ޭ": "ey",
641
+ "ޮ": "o",
642
+ "ޯ": "oa",
643
+ "ް": "",
644
+ // Georgian https://en.wikipedia.org/wiki/Romanization_of_Georgian
645
+ // National system (2002)
646
+ ა: "a",
647
+ ბ: "b",
648
+ გ: "g",
649
+ დ: "d",
650
+ ე: "e",
651
+ ვ: "v",
652
+ ზ: "z",
653
+ თ: "t",
654
+ ი: "i",
655
+ კ: "k",
656
+ ლ: "l",
657
+ მ: "m",
658
+ ნ: "n",
659
+ ო: "o",
660
+ პ: "p",
661
+ ჟ: "zh",
662
+ რ: "r",
663
+ ს: "s",
664
+ ტ: "t",
665
+ უ: "u",
666
+ ფ: "p",
667
+ ქ: "k",
668
+ ღ: "gh",
669
+ ყ: "q",
670
+ შ: "sh",
671
+ ჩ: "ch",
672
+ ც: "ts",
673
+ ძ: "dz",
674
+ წ: "ts",
675
+ ჭ: "ch",
676
+ ხ: "kh",
677
+ ჯ: "j",
678
+ ჰ: "h",
679
+ // Greek
680
+ α: "a",
681
+ β: "v",
682
+ γ: "g",
683
+ δ: "d",
684
+ ε: "e",
685
+ ζ: "z",
686
+ η: "i",
687
+ θ: "th",
688
+ ι: "i",
689
+ κ: "k",
690
+ λ: "l",
691
+ μ: "m",
692
+ ν: "n",
693
+ ξ: "ks",
694
+ ο: "o",
695
+ π: "p",
696
+ ρ: "r",
697
+ σ: "s",
698
+ τ: "t",
699
+ υ: "y",
700
+ φ: "f",
701
+ χ: "x",
702
+ ψ: "ps",
703
+ ω: "o",
704
+ ά: "a",
705
+ έ: "e",
706
+ ί: "i",
707
+ ό: "o",
708
+ ύ: "y",
709
+ ή: "i",
710
+ ώ: "o",
711
+ ς: "s",
712
+ ϊ: "i",
713
+ ΰ: "y",
714
+ ϋ: "y",
715
+ ΐ: "i",
716
+ Α: "A",
717
+ Β: "B",
718
+ Γ: "G",
719
+ Δ: "D",
720
+ Ε: "E",
721
+ Ζ: "Z",
722
+ Η: "I",
723
+ Θ: "TH",
724
+ Ι: "I",
725
+ Κ: "K",
726
+ Λ: "L",
727
+ Μ: "M",
728
+ Ν: "N",
729
+ Ξ: "KS",
730
+ Ο: "O",
731
+ Π: "P",
732
+ Ρ: "R",
733
+ Σ: "S",
734
+ Τ: "T",
735
+ Υ: "Y",
736
+ Φ: "F",
737
+ Χ: "X",
738
+ Ψ: "PS",
739
+ Ω: "O",
740
+ Ά: "A",
741
+ Έ: "E",
742
+ Ί: "I",
743
+ Ό: "O",
744
+ Ύ: "Y",
745
+ Ή: "I",
746
+ Ώ: "O",
747
+ Ϊ: "I",
748
+ Ϋ: "Y",
749
+ // Latvian
750
+ ā: "a",
751
+ // 'č': 'c', // duplicate
752
+ ē: "e",
753
+ ģ: "g",
754
+ ī: "i",
755
+ ķ: "k",
756
+ ļ: "l",
757
+ ņ: "n",
758
+ // 'š': 's', // duplicate
759
+ ū: "u",
760
+ // 'ž': 'z', // duplicate
761
+ Ā: "A",
762
+ // 'Č': 'C', // duplicate
763
+ Ē: "E",
764
+ Ģ: "G",
765
+ Ī: "I",
766
+ Ķ: "k",
767
+ Ļ: "L",
768
+ Ņ: "N",
769
+ // 'Š': 'S', // duplicate
770
+ Ū: "U",
771
+ // 'Ž': 'Z', // duplicate
772
+ // Macedonian
773
+ Ќ: "Kj",
774
+ ќ: "kj",
775
+ Љ: "Lj",
776
+ љ: "lj",
777
+ Њ: "Nj",
778
+ њ: "nj",
779
+ Тс: "Ts",
780
+ тс: "ts",
781
+ // Polish
782
+ ą: "a",
783
+ ć: "c",
784
+ ę: "e",
785
+ ł: "l",
786
+ ń: "n",
787
+ // 'ó': 'o', // duplicate
788
+ ś: "s",
789
+ ź: "z",
790
+ ż: "z",
791
+ Ą: "A",
792
+ Ć: "C",
793
+ Ę: "E",
794
+ Ł: "L",
795
+ Ń: "N",
796
+ Ś: "S",
797
+ Ź: "Z",
798
+ Ż: "Z",
799
+ // Ukranian
800
+ Є: "Ye",
801
+ І: "I",
802
+ Ї: "Yi",
803
+ Ґ: "G",
804
+ є: "ye",
805
+ і: "i",
806
+ ї: "yi",
807
+ ґ: "g",
808
+ // Romanian
809
+ ă: "a",
810
+ Ă: "A",
811
+ ș: "s",
812
+ Ș: "S",
813
+ // 'ş': 's', // duplicate
814
+ // 'Ş': 'S', // duplicate
815
+ ț: "t",
816
+ Ț: "T",
817
+ ţ: "t",
818
+ Ţ: "T",
819
+ // Russian https://en.wikipedia.org/wiki/Romanization_of_Russian
820
+ // ICAO
821
+ а: "a",
822
+ б: "b",
823
+ в: "v",
824
+ г: "g",
825
+ д: "d",
826
+ е: "e",
827
+ ё: "yo",
828
+ ж: "zh",
829
+ з: "z",
830
+ и: "i",
831
+ й: "i",
832
+ к: "k",
833
+ л: "l",
834
+ м: "m",
835
+ н: "n",
836
+ о: "o",
837
+ п: "p",
838
+ р: "r",
839
+ с: "s",
840
+ т: "t",
841
+ у: "u",
842
+ ф: "f",
843
+ х: "kh",
844
+ ц: "c",
845
+ ч: "ch",
846
+ ш: "sh",
847
+ щ: "sh",
848
+ ъ: "",
849
+ ы: "y",
850
+ ь: "",
851
+ э: "e",
852
+ ю: "yu",
853
+ я: "ya",
854
+ А: "A",
855
+ Б: "B",
856
+ В: "V",
857
+ Г: "G",
858
+ Д: "D",
859
+ Е: "E",
860
+ Ё: "Yo",
861
+ Ж: "Zh",
862
+ З: "Z",
863
+ И: "I",
864
+ Й: "I",
865
+ К: "K",
866
+ Л: "L",
867
+ М: "M",
868
+ Н: "N",
869
+ О: "O",
870
+ П: "P",
871
+ Р: "R",
872
+ С: "S",
873
+ Т: "T",
874
+ У: "U",
875
+ Ф: "F",
876
+ Х: "Kh",
877
+ Ц: "C",
878
+ Ч: "Ch",
879
+ Ш: "Sh",
880
+ Щ: "Sh",
881
+ Ъ: "",
882
+ Ы: "Y",
883
+ Ь: "",
884
+ Э: "E",
885
+ Ю: "Yu",
886
+ Я: "Ya",
887
+ // Serbian
888
+ ђ: "dj",
889
+ ј: "j",
890
+ // 'љ': 'lj', // duplicate
891
+ // 'њ': 'nj', // duplicate
892
+ ћ: "c",
893
+ џ: "dz",
894
+ Ђ: "Dj",
895
+ Ј: "j",
896
+ // 'Љ': 'Lj', // duplicate
897
+ // 'Њ': 'Nj', // duplicate
898
+ Ћ: "C",
899
+ Џ: "Dz",
900
+ // Slovak
901
+ ľ: "l",
902
+ ĺ: "l",
903
+ ŕ: "r",
904
+ Ľ: "L",
905
+ Ĺ: "L",
906
+ Ŕ: "R",
907
+ // Turkish
908
+ ş: "s",
909
+ Ş: "S",
910
+ ı: "i",
911
+ İ: "I",
912
+ // 'ç': 'c', // duplicate
913
+ // 'Ç': 'C', // duplicate
914
+ // 'ü': 'u', // duplicate, see langCharMap
915
+ // 'Ü': 'U', // duplicate, see langCharMap
916
+ // 'ö': 'o', // duplicate, see langCharMap
917
+ // 'Ö': 'O', // duplicate, see langCharMap
918
+ ğ: "g",
919
+ Ğ: "G",
920
+ // Vietnamese
921
+ ả: "a",
922
+ Ả: "A",
923
+ ẳ: "a",
924
+ Ẳ: "A",
925
+ ẩ: "a",
926
+ Ẩ: "A",
927
+ đ: "d",
928
+ Đ: "D",
929
+ ẹ: "e",
930
+ Ẹ: "E",
931
+ ẽ: "e",
932
+ Ẽ: "E",
933
+ ẻ: "e",
934
+ Ẻ: "E",
935
+ ế: "e",
936
+ Ế: "E",
937
+ ề: "e",
938
+ Ề: "E",
939
+ ệ: "e",
940
+ Ệ: "E",
941
+ ễ: "e",
942
+ Ễ: "E",
943
+ ể: "e",
944
+ Ể: "E",
945
+ ỏ: "o",
946
+ ọ: "o",
947
+ Ọ: "o",
948
+ ố: "o",
949
+ Ố: "O",
950
+ ồ: "o",
951
+ Ồ: "O",
952
+ ổ: "o",
953
+ Ổ: "O",
954
+ ộ: "o",
955
+ Ộ: "O",
956
+ ỗ: "o",
957
+ Ỗ: "O",
958
+ ơ: "o",
959
+ Ơ: "O",
960
+ ớ: "o",
961
+ Ớ: "O",
962
+ ờ: "o",
963
+ Ờ: "O",
964
+ ợ: "o",
965
+ Ợ: "O",
966
+ ỡ: "o",
967
+ Ỡ: "O",
968
+ Ở: "o",
969
+ ở: "o",
970
+ ị: "i",
971
+ Ị: "I",
972
+ ĩ: "i",
973
+ Ĩ: "I",
974
+ ỉ: "i",
975
+ Ỉ: "i",
976
+ ủ: "u",
977
+ Ủ: "U",
978
+ ụ: "u",
979
+ Ụ: "U",
980
+ ũ: "u",
981
+ Ũ: "U",
982
+ ư: "u",
983
+ Ư: "U",
984
+ ứ: "u",
985
+ Ứ: "U",
986
+ ừ: "u",
987
+ Ừ: "U",
988
+ ự: "u",
989
+ Ự: "U",
990
+ ữ: "u",
991
+ Ữ: "U",
992
+ ử: "u",
993
+ Ử: "ư",
994
+ ỷ: "y",
995
+ Ỷ: "y",
996
+ ỳ: "y",
997
+ Ỳ: "Y",
998
+ ỵ: "y",
999
+ Ỵ: "Y",
1000
+ ỹ: "y",
1001
+ Ỹ: "Y",
1002
+ ạ: "a",
1003
+ Ạ: "A",
1004
+ ấ: "a",
1005
+ Ấ: "A",
1006
+ ầ: "a",
1007
+ Ầ: "A",
1008
+ ậ: "a",
1009
+ Ậ: "A",
1010
+ ẫ: "a",
1011
+ Ẫ: "A",
1012
+ // 'ă': 'a', // duplicate
1013
+ // 'Ă': 'A', // duplicate
1014
+ ắ: "a",
1015
+ Ắ: "A",
1016
+ ằ: "a",
1017
+ Ằ: "A",
1018
+ ặ: "a",
1019
+ Ặ: "A",
1020
+ ẵ: "a",
1021
+ Ẵ: "A",
1022
+ "⓪": "0",
1023
+ "①": "1",
1024
+ "②": "2",
1025
+ "③": "3",
1026
+ "④": "4",
1027
+ "⑤": "5",
1028
+ "⑥": "6",
1029
+ "⑦": "7",
1030
+ "⑧": "8",
1031
+ "⑨": "9",
1032
+ "⑩": "10",
1033
+ "⑪": "11",
1034
+ "⑫": "12",
1035
+ "⑬": "13",
1036
+ "⑭": "14",
1037
+ "⑮": "15",
1038
+ "⑯": "16",
1039
+ "⑰": "17",
1040
+ "⑱": "18",
1041
+ "⑲": "18",
1042
+ "⑳": "18",
1043
+ "⓵": "1",
1044
+ "⓶": "2",
1045
+ "⓷": "3",
1046
+ "⓸": "4",
1047
+ "⓹": "5",
1048
+ "⓺": "6",
1049
+ "⓻": "7",
1050
+ "⓼": "8",
1051
+ "⓽": "9",
1052
+ "⓾": "10",
1053
+ "⓿": "0",
1054
+ "⓫": "11",
1055
+ "⓬": "12",
1056
+ "⓭": "13",
1057
+ "⓮": "14",
1058
+ "⓯": "15",
1059
+ "⓰": "16",
1060
+ "⓱": "17",
1061
+ "⓲": "18",
1062
+ "⓳": "19",
1063
+ "⓴": "20",
1064
+ "Ⓐ": "A",
1065
+ "Ⓑ": "B",
1066
+ "Ⓒ": "C",
1067
+ "Ⓓ": "D",
1068
+ "Ⓔ": "E",
1069
+ "Ⓕ": "F",
1070
+ "Ⓖ": "G",
1071
+ "Ⓗ": "H",
1072
+ "Ⓘ": "I",
1073
+ "Ⓙ": "J",
1074
+ "Ⓚ": "K",
1075
+ "Ⓛ": "L",
1076
+ "Ⓜ": "M",
1077
+ "Ⓝ": "N",
1078
+ "Ⓞ": "O",
1079
+ "Ⓟ": "P",
1080
+ "Ⓠ": "Q",
1081
+ "Ⓡ": "R",
1082
+ "Ⓢ": "S",
1083
+ "Ⓣ": "T",
1084
+ "Ⓤ": "U",
1085
+ "Ⓥ": "V",
1086
+ "Ⓦ": "W",
1087
+ "Ⓧ": "X",
1088
+ "Ⓨ": "Y",
1089
+ "Ⓩ": "Z",
1090
+ "ⓐ": "a",
1091
+ "ⓑ": "b",
1092
+ "ⓒ": "c",
1093
+ "ⓓ": "d",
1094
+ "ⓔ": "e",
1095
+ "ⓕ": "f",
1096
+ "ⓖ": "g",
1097
+ "ⓗ": "h",
1098
+ "ⓘ": "i",
1099
+ "ⓙ": "j",
1100
+ "ⓚ": "k",
1101
+ "ⓛ": "l",
1102
+ "ⓜ": "m",
1103
+ "ⓝ": "n",
1104
+ "ⓞ": "o",
1105
+ "ⓟ": "p",
1106
+ "ⓠ": "q",
1107
+ "ⓡ": "r",
1108
+ "ⓢ": "s",
1109
+ "ⓣ": "t",
1110
+ "ⓤ": "u",
1111
+ "ⓦ": "v",
1112
+ "ⓥ": "w",
1113
+ "ⓧ": "x",
1114
+ "ⓨ": "y",
1115
+ "ⓩ": "z",
1116
+ // symbols
1117
+ "“": '"',
1118
+ "”": '"',
1119
+ "‘": "'",
1120
+ "’": "'",
1121
+ "∂": "d",
1122
+ ƒ: "f",
1123
+ "™": "(TM)",
1124
+ "©": "(C)",
1125
+ œ: "oe",
1126
+ Œ: "OE",
1127
+ "®": "(R)",
1128
+ "†": "+",
1129
+ "℠": "(SM)",
1130
+ "…": "...",
1131
+ "˚": "o",
1132
+ º: "o",
1133
+ ª: "a",
1134
+ "•": "*",
1135
+ "၊": ",",
1136
+ "။": ".",
1137
+ // currency
1138
+ $: "USD",
1139
+ "€": "EUR",
1140
+ "₢": "BRN",
1141
+ "₣": "FRF",
1142
+ "£": "GBP",
1143
+ "₤": "ITL",
1144
+ "₦": "NGN",
1145
+ "₧": "ESP",
1146
+ "₩": "KRW",
1147
+ "₪": "ILS",
1148
+ "₫": "VND",
1149
+ "₭": "LAK",
1150
+ "₮": "MNT",
1151
+ "₯": "GRD",
1152
+ "₱": "ARS",
1153
+ "₲": "PYG",
1154
+ "₳": "ARA",
1155
+ "₴": "UAH",
1156
+ "₵": "GHS",
1157
+ "¢": "cent",
1158
+ "¥": "CNY",
1159
+ 元: "CNY",
1160
+ 円: "YEN",
1161
+ "﷼": "IRR",
1162
+ "₠": "EWE",
1163
+ "฿": "THB",
1164
+ "₨": "INR",
1165
+ "₹": "INR",
1166
+ "₰": "PF",
1167
+ "₺": "TRY",
1168
+ "؋": "AFN",
1169
+ "₼": "AZN",
1170
+ лв: "BGN",
1171
+ "៛": "KHR",
1172
+ "₡": "CRC",
1173
+ "₸": "KZT",
1174
+ ден: "MKD",
1175
+ zł: "PLN",
1176
+ "₽": "RUB",
1177
+ "₾": "GEL"
1178
+ }, r = [
1179
+ // burmese
1180
+ "်",
1181
+ // Dhivehi
1182
+ "ް"
1183
+ ], o = {
1184
+ // Burmese
1185
+ // dependent vowels
1186
+ "ာ": "a",
1187
+ "ါ": "a",
1188
+ "ေ": "e",
1189
+ "ဲ": "e",
1190
+ "ိ": "i",
1191
+ "ီ": "i",
1192
+ "ို": "o",
1193
+ "ု": "u",
1194
+ "ူ": "u",
1195
+ "ေါင်": "aung",
1196
+ "ော": "aw",
1197
+ "ော်": "aw",
1198
+ "ေါ": "aw",
1199
+ "ေါ်": "aw",
1200
+ "်": "်",
1201
+ // this is special case but the character will be converted to latin in the code
1202
+ "က်": "et",
1203
+ "ိုက်": "aik",
1204
+ "ောက်": "auk",
1205
+ "င်": "in",
1206
+ "ိုင်": "aing",
1207
+ "ောင်": "aung",
1208
+ "စ်": "it",
1209
+ "ည်": "i",
1210
+ "တ်": "at",
1211
+ "ိတ်": "eik",
1212
+ "ုတ်": "ok",
1213
+ "ွတ်": "ut",
1214
+ "ေတ်": "it",
1215
+ "ဒ်": "d",
1216
+ "ိုဒ်": "ok",
1217
+ "ုဒ်": "ait",
1218
+ "န်": "an",
1219
+ "ာန်": "an",
1220
+ "ိန်": "ein",
1221
+ "ုန်": "on",
1222
+ "ွန်": "un",
1223
+ "ပ်": "at",
1224
+ "ိပ်": "eik",
1225
+ "ုပ်": "ok",
1226
+ "ွပ်": "ut",
1227
+ "န်ုပ်": "nub",
1228
+ "မ်": "an",
1229
+ "ိမ်": "ein",
1230
+ "ုမ်": "on",
1231
+ "ွမ်": "un",
1232
+ "ယ်": "e",
1233
+ "ိုလ်": "ol",
1234
+ "ဉ်": "in",
1235
+ "ံ": "an",
1236
+ "ိံ": "ein",
1237
+ "ုံ": "on",
1238
+ // Dhivehi
1239
+ "ައް": "ah",
1240
+ "ަށް": "ah"
1241
+ }, i = {
1242
+ en: {},
1243
+ // default language
1244
+ az: {
1245
+ // Azerbaijani
1246
+ ç: "c",
1247
+ ə: "e",
1248
+ ğ: "g",
1249
+ ı: "i",
1250
+ ö: "o",
1251
+ ş: "s",
1252
+ ü: "u",
1253
+ Ç: "C",
1254
+ Ə: "E",
1255
+ Ğ: "G",
1256
+ İ: "I",
1257
+ Ö: "O",
1258
+ Ş: "S",
1259
+ Ü: "U"
1260
+ },
1261
+ cs: {
1262
+ // Czech
1263
+ č: "c",
1264
+ ď: "d",
1265
+ ě: "e",
1266
+ ň: "n",
1267
+ ř: "r",
1268
+ š: "s",
1269
+ ť: "t",
1270
+ ů: "u",
1271
+ ž: "z",
1272
+ Č: "C",
1273
+ Ď: "D",
1274
+ Ě: "E",
1275
+ Ň: "N",
1276
+ Ř: "R",
1277
+ Š: "S",
1278
+ Ť: "T",
1279
+ Ů: "U",
1280
+ Ž: "Z"
1281
+ },
1282
+ fi: {
1283
+ // Finnish
1284
+ // 'å': 'a', duplicate see charMap/latin
1285
+ // 'Å': 'A', duplicate see charMap/latin
1286
+ ä: "a",
1287
+ // ok
1288
+ Ä: "A",
1289
+ // ok
1290
+ ö: "o",
1291
+ // ok
1292
+ Ö: "O"
1293
+ // ok
1294
+ },
1295
+ hu: {
1296
+ // Hungarian
1297
+ ä: "a",
1298
+ // ok
1299
+ Ä: "A",
1300
+ // ok
1301
+ // 'á': 'a', duplicate see charMap/latin
1302
+ // 'Á': 'A', duplicate see charMap/latin
1303
+ ö: "o",
1304
+ // ok
1305
+ Ö: "O",
1306
+ // ok
1307
+ // 'ő': 'o', duplicate see charMap/latin
1308
+ // 'Ő': 'O', duplicate see charMap/latin
1309
+ ü: "u",
1310
+ Ü: "U",
1311
+ ű: "u",
1312
+ Ű: "U"
1313
+ },
1314
+ lt: {
1315
+ // Lithuanian
1316
+ ą: "a",
1317
+ č: "c",
1318
+ ę: "e",
1319
+ ė: "e",
1320
+ į: "i",
1321
+ š: "s",
1322
+ ų: "u",
1323
+ ū: "u",
1324
+ ž: "z",
1325
+ Ą: "A",
1326
+ Č: "C",
1327
+ Ę: "E",
1328
+ Ė: "E",
1329
+ Į: "I",
1330
+ Š: "S",
1331
+ Ų: "U",
1332
+ Ū: "U"
1333
+ },
1334
+ lv: {
1335
+ // Latvian
1336
+ ā: "a",
1337
+ č: "c",
1338
+ ē: "e",
1339
+ ģ: "g",
1340
+ ī: "i",
1341
+ ķ: "k",
1342
+ ļ: "l",
1343
+ ņ: "n",
1344
+ š: "s",
1345
+ ū: "u",
1346
+ ž: "z",
1347
+ Ā: "A",
1348
+ Č: "C",
1349
+ Ē: "E",
1350
+ Ģ: "G",
1351
+ Ī: "i",
1352
+ Ķ: "k",
1353
+ Ļ: "L",
1354
+ Ņ: "N",
1355
+ Š: "S",
1356
+ Ū: "u",
1357
+ Ž: "Z"
1358
+ },
1359
+ pl: {
1360
+ // Polish
1361
+ ą: "a",
1362
+ ć: "c",
1363
+ ę: "e",
1364
+ ł: "l",
1365
+ ń: "n",
1366
+ ó: "o",
1367
+ ś: "s",
1368
+ ź: "z",
1369
+ ż: "z",
1370
+ Ą: "A",
1371
+ Ć: "C",
1372
+ Ę: "e",
1373
+ Ł: "L",
1374
+ Ń: "N",
1375
+ Ó: "O",
1376
+ Ś: "S",
1377
+ Ź: "Z",
1378
+ Ż: "Z"
1379
+ },
1380
+ sv: {
1381
+ // Swedish
1382
+ // 'å': 'a', duplicate see charMap/latin
1383
+ // 'Å': 'A', duplicate see charMap/latin
1384
+ ä: "a",
1385
+ // ok
1386
+ Ä: "A",
1387
+ // ok
1388
+ ö: "o",
1389
+ // ok
1390
+ Ö: "O"
1391
+ // ok
1392
+ },
1393
+ sk: {
1394
+ // Slovak
1395
+ ä: "a",
1396
+ Ä: "A"
1397
+ },
1398
+ sr: {
1399
+ // Serbian
1400
+ љ: "lj",
1401
+ њ: "nj",
1402
+ Љ: "Lj",
1403
+ Њ: "Nj",
1404
+ đ: "dj",
1405
+ Đ: "Dj"
1406
+ },
1407
+ tr: {
1408
+ // Turkish
1409
+ Ü: "U",
1410
+ Ö: "O",
1411
+ ü: "u",
1412
+ ö: "o"
1413
+ }
1414
+ }, a = {
1415
+ ar: {
1416
+ "∆": "delta",
1417
+ "∞": "la-nihaya",
1418
+ "♥": "hob",
1419
+ "&": "wa",
1420
+ "|": "aw",
1421
+ "<": "aqal-men",
1422
+ ">": "akbar-men",
1423
+ "∑": "majmou",
1424
+ "¤": "omla"
1425
+ },
1426
+ az: {},
1427
+ ca: {
1428
+ "∆": "delta",
1429
+ "∞": "infinit",
1430
+ "♥": "amor",
1431
+ "&": "i",
1432
+ "|": "o",
1433
+ "<": "menys que",
1434
+ ">": "mes que",
1435
+ "∑": "suma dels",
1436
+ "¤": "moneda"
1437
+ },
1438
+ cs: {
1439
+ "∆": "delta",
1440
+ "∞": "nekonecno",
1441
+ "♥": "laska",
1442
+ "&": "a",
1443
+ "|": "nebo",
1444
+ "<": "mensi nez",
1445
+ ">": "vetsi nez",
1446
+ "∑": "soucet",
1447
+ "¤": "mena"
1448
+ },
1449
+ de: {
1450
+ "∆": "delta",
1451
+ "∞": "unendlich",
1452
+ "♥": "Liebe",
1453
+ "&": "und",
1454
+ "|": "oder",
1455
+ "<": "kleiner als",
1456
+ ">": "groesser als",
1457
+ "∑": "Summe von",
1458
+ "¤": "Waehrung"
1459
+ },
1460
+ dv: {
1461
+ "∆": "delta",
1462
+ "∞": "kolunulaa",
1463
+ "♥": "loabi",
1464
+ "&": "aai",
1465
+ "|": "noonee",
1466
+ "<": "ah vure kuda",
1467
+ ">": "ah vure bodu",
1468
+ "∑": "jumula",
1469
+ "¤": "faisaa"
1470
+ },
1471
+ en: {
1472
+ "∆": "delta",
1473
+ "∞": "infinity",
1474
+ "♥": "love",
1475
+ "&": "and",
1476
+ "|": "or",
1477
+ "<": "less than",
1478
+ ">": "greater than",
1479
+ "∑": "sum",
1480
+ "¤": "currency"
1481
+ },
1482
+ es: {
1483
+ "∆": "delta",
1484
+ "∞": "infinito",
1485
+ "♥": "amor",
1486
+ "&": "y",
1487
+ "|": "u",
1488
+ "<": "menos que",
1489
+ ">": "mas que",
1490
+ "∑": "suma de los",
1491
+ "¤": "moneda"
1492
+ },
1493
+ fa: {
1494
+ "∆": "delta",
1495
+ "∞": "bi-nahayat",
1496
+ "♥": "eshgh",
1497
+ "&": "va",
1498
+ "|": "ya",
1499
+ "<": "kamtar-az",
1500
+ ">": "bishtar-az",
1501
+ "∑": "majmooe",
1502
+ "¤": "vahed"
1503
+ },
1504
+ fi: {
1505
+ "∆": "delta",
1506
+ "∞": "aarettomyys",
1507
+ "♥": "rakkaus",
1508
+ "&": "ja",
1509
+ "|": "tai",
1510
+ "<": "pienempi kuin",
1511
+ ">": "suurempi kuin",
1512
+ "∑": "summa",
1513
+ "¤": "valuutta"
1514
+ },
1515
+ fr: {
1516
+ "∆": "delta",
1517
+ "∞": "infiniment",
1518
+ "♥": "Amour",
1519
+ "&": "et",
1520
+ "|": "ou",
1521
+ "<": "moins que",
1522
+ ">": "superieure a",
1523
+ "∑": "somme des",
1524
+ "¤": "monnaie"
1525
+ },
1526
+ ge: {
1527
+ "∆": "delta",
1528
+ "∞": "usasruloba",
1529
+ "♥": "siqvaruli",
1530
+ "&": "da",
1531
+ "|": "an",
1532
+ "<": "naklebi",
1533
+ ">": "meti",
1534
+ "∑": "jami",
1535
+ "¤": "valuta"
1536
+ },
1537
+ gr: {},
1538
+ hu: {
1539
+ "∆": "delta",
1540
+ "∞": "vegtelen",
1541
+ "♥": "szerelem",
1542
+ "&": "es",
1543
+ "|": "vagy",
1544
+ "<": "kisebb mint",
1545
+ ">": "nagyobb mint",
1546
+ "∑": "szumma",
1547
+ "¤": "penznem"
1548
+ },
1549
+ it: {
1550
+ "∆": "delta",
1551
+ "∞": "infinito",
1552
+ "♥": "amore",
1553
+ "&": "e",
1554
+ "|": "o",
1555
+ "<": "minore di",
1556
+ ">": "maggiore di",
1557
+ "∑": "somma",
1558
+ "¤": "moneta"
1559
+ },
1560
+ lt: {
1561
+ "∆": "delta",
1562
+ "∞": "begalybe",
1563
+ "♥": "meile",
1564
+ "&": "ir",
1565
+ "|": "ar",
1566
+ "<": "maziau nei",
1567
+ ">": "daugiau nei",
1568
+ "∑": "suma",
1569
+ "¤": "valiuta"
1570
+ },
1571
+ lv: {
1572
+ "∆": "delta",
1573
+ "∞": "bezgaliba",
1574
+ "♥": "milestiba",
1575
+ "&": "un",
1576
+ "|": "vai",
1577
+ "<": "mazak neka",
1578
+ ">": "lielaks neka",
1579
+ "∑": "summa",
1580
+ "¤": "valuta"
1581
+ },
1582
+ my: {
1583
+ "∆": "kwahkhyaet",
1584
+ "∞": "asaonasme",
1585
+ "♥": "akhyait",
1586
+ "&": "nhin",
1587
+ "|": "tho",
1588
+ "<": "ngethaw",
1589
+ ">": "kyithaw",
1590
+ "∑": "paungld",
1591
+ "¤": "ngwekye"
1592
+ },
1593
+ mk: {},
1594
+ nl: {
1595
+ "∆": "delta",
1596
+ "∞": "oneindig",
1597
+ "♥": "liefde",
1598
+ "&": "en",
1599
+ "|": "of",
1600
+ "<": "kleiner dan",
1601
+ ">": "groter dan",
1602
+ "∑": "som",
1603
+ "¤": "valuta"
1604
+ },
1605
+ pl: {
1606
+ "∆": "delta",
1607
+ "∞": "nieskonczonosc",
1608
+ "♥": "milosc",
1609
+ "&": "i",
1610
+ "|": "lub",
1611
+ "<": "mniejsze niz",
1612
+ ">": "wieksze niz",
1613
+ "∑": "suma",
1614
+ "¤": "waluta"
1615
+ },
1616
+ pt: {
1617
+ "∆": "delta",
1618
+ "∞": "infinito",
1619
+ "♥": "amor",
1620
+ "&": "e",
1621
+ "|": "ou",
1622
+ "<": "menor que",
1623
+ ">": "maior que",
1624
+ "∑": "soma",
1625
+ "¤": "moeda"
1626
+ },
1627
+ ro: {
1628
+ "∆": "delta",
1629
+ "∞": "infinit",
1630
+ "♥": "dragoste",
1631
+ "&": "si",
1632
+ "|": "sau",
1633
+ "<": "mai mic ca",
1634
+ ">": "mai mare ca",
1635
+ "∑": "suma",
1636
+ "¤": "valuta"
1637
+ },
1638
+ ru: {
1639
+ "∆": "delta",
1640
+ "∞": "beskonechno",
1641
+ "♥": "lubov",
1642
+ "&": "i",
1643
+ "|": "ili",
1644
+ "<": "menshe",
1645
+ ">": "bolshe",
1646
+ "∑": "summa",
1647
+ "¤": "valjuta"
1648
+ },
1649
+ sk: {
1650
+ "∆": "delta",
1651
+ "∞": "nekonecno",
1652
+ "♥": "laska",
1653
+ "&": "a",
1654
+ "|": "alebo",
1655
+ "<": "menej ako",
1656
+ ">": "viac ako",
1657
+ "∑": "sucet",
1658
+ "¤": "mena"
1659
+ },
1660
+ sr: {},
1661
+ tr: {
1662
+ "∆": "delta",
1663
+ "∞": "sonsuzluk",
1664
+ "♥": "ask",
1665
+ "&": "ve",
1666
+ "|": "veya",
1667
+ "<": "kucuktur",
1668
+ ">": "buyuktur",
1669
+ "∑": "toplam",
1670
+ "¤": "para birimi"
1671
+ },
1672
+ uk: {
1673
+ "∆": "delta",
1674
+ "∞": "bezkinechnist",
1675
+ "♥": "lubov",
1676
+ "&": "i",
1677
+ "|": "abo",
1678
+ "<": "menshe",
1679
+ ">": "bilshe",
1680
+ "∑": "suma",
1681
+ "¤": "valjuta"
1682
+ },
1683
+ vn: {
1684
+ "∆": "delta",
1685
+ "∞": "vo cuc",
1686
+ "♥": "yeu",
1687
+ "&": "va",
1688
+ "|": "hoac",
1689
+ "<": "nho hon",
1690
+ ">": "lon hon",
1691
+ "∑": "tong",
1692
+ "¤": "tien te"
1693
+ }
1694
+ }, h = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), p = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), A = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(f, E) {
1695
+ var C = "-", y = "", k = "", _e = !0, w = {}, Le, ne, j, fe, de, Me, G, B, Ke, P, v, ue, b, L, V = "";
1696
+ if (typeof f != "string")
1697
+ return "";
1698
+ if (typeof E == "string" && (C = E), G = a.en, B = i.en, typeof E == "object") {
1699
+ Le = E.maintainCase || !1, w = E.custom && typeof E.custom == "object" ? E.custom : w, j = +E.truncate > 1 && E.truncate || !1, fe = E.uric || !1, de = E.uricNoSlash || !1, Me = E.mark || !1, _e = !(E.symbols === !1 || E.lang === !1), C = E.separator || C, fe && (V += h), de && (V += p), Me && (V += A), G = E.lang && a[E.lang] && _e ? a[E.lang] : _e ? a.en : {}, B = E.lang && i[E.lang] ? i[E.lang] : E.lang === !1 || E.lang === !0 ? {} : i.en, E.titleCase && typeof E.titleCase.length == "number" && Array.prototype.toString.call(E.titleCase) ? (E.titleCase.forEach(function(I) {
1700
+ w[I + ""] = I + "";
1701
+ }), ne = !0) : ne = !!E.titleCase, E.custom && typeof E.custom.length == "number" && Array.prototype.toString.call(E.custom) && E.custom.forEach(function(I) {
1702
+ w[I + ""] = I + "";
1703
+ }), Object.keys(w).forEach(function(I) {
1704
+ var W;
1705
+ I.length > 1 ? W = new RegExp("\\b" + c(I) + "\\b", "gi") : W = new RegExp(c(I), "gi"), f = f.replace(W, w[I]);
1706
+ });
1707
+ for (v in w)
1708
+ V += v;
1709
+ }
1710
+ for (V += C, V = c(V), f = f.replace(/(^\s+|\s+$)/g, ""), b = !1, L = !1, P = 0, ue = f.length; P < ue; P++)
1711
+ v = f[P], _(v, w) ? b = !1 : B[v] ? (v = b && B[v].match(/[A-Za-z0-9]/) ? " " + B[v] : B[v], b = !1) : v in u ? (P + 1 < ue && r.indexOf(f[P + 1]) >= 0 ? (k += v, v = "") : L === !0 ? (v = o[k] + u[v], k = "") : v = b && u[v].match(/[A-Za-z0-9]/) ? " " + u[v] : u[v], b = !1, L = !1) : v in o ? (k += v, v = "", P === ue - 1 && (v = o[k]), L = !0) : /* process symbol chars */ G[v] && !(fe && h.indexOf(v) !== -1) && !(de && p.indexOf(v) !== -1) ? (v = b || y.substr(-1).match(/[A-Za-z0-9]/) ? C + G[v] : G[v], v += f[P + 1] !== void 0 && f[P + 1].match(/[A-Za-z0-9]/) ? C : "", b = !0) : (L === !0 ? (v = o[k] + v, k = "", L = !1) : b && (/[A-Za-z0-9]/.test(v) || y.substr(-1).match(/A-Za-z0-9]/)) && (v = " " + v), b = !1), y += v.replace(new RegExp("[^\\w\\s" + V + "_-]", "g"), C);
1712
+ return ne && (y = y.replace(/(\w)(\S*)/g, function(I, W, He) {
1713
+ var Ee = W.toUpperCase() + (He !== null ? He : "");
1714
+ return Object.keys(w).indexOf(Ee.toLowerCase()) < 0 ? Ee : Ee.toLowerCase();
1715
+ })), y = y.replace(/\s+/g, C).replace(new RegExp("\\" + C + "+", "g"), C).replace(new RegExp("(^\\" + C + "+|\\" + C + "+$)", "g"), ""), j && y.length > j && (Ke = y.charAt(j) === C, y = y.slice(0, j), Ke || (y = y.slice(0, y.lastIndexOf(C)))), !Le && !ne && (y = y.toLowerCase()), y;
1716
+ }, m = function(f) {
1717
+ return function(C) {
1718
+ return d(C, f);
1719
+ };
1720
+ }, c = function(f) {
1721
+ return f.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
1722
+ }, _ = function(g, f) {
1723
+ for (var E in f)
1724
+ if (f[E] === g)
1725
+ return !0;
1726
+ };
1727
+ if (typeof t < "u" && t.exports)
1728
+ t.exports = d, t.exports.createSlug = m;
1729
+ else if (typeof define < "u" && define.amd)
1730
+ define([], function() {
1731
+ return d;
1732
+ });
1733
+ else
1734
+ try {
1735
+ if (n.getSlug || n.createSlug)
1736
+ throw "speakingurl: globals exists /(getSlug|createSlug)/";
1737
+ n.getSlug = d, n.createSlug = m;
1738
+ } catch {
1739
+ }
1740
+ }(e);
1741
+ }
1742
+ }), uu = Xt({
1743
+ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
1744
+ s(), t.exports = nu();
1745
+ }
1746
+ });
1747
+ s();
1748
+ s();
1749
+ s();
1750
+ s();
1751
+ s();
1752
+ s();
1753
+ s();
1754
+ s();
1755
+ function ru(e) {
1756
+ var t;
1757
+ const n = e.name || e._componentTag || e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || e.__name;
1758
+ return n === "index" && ((t = e.__file) != null && t.endsWith("index.vue")) ? "" : n;
1759
+ }
1760
+ function ou(e) {
1761
+ const t = e.__file;
1762
+ if (t)
1763
+ return Bn(Ln(t, ".vue"));
1764
+ }
1765
+ function je(e, t) {
1766
+ return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
1767
+ }
1768
+ function Re(e) {
1769
+ if (e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)
1770
+ return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
1771
+ if (e.root)
1772
+ return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
1773
+ }
1774
+ function Jt(e) {
1775
+ var t, n;
1776
+ const u = (t = e.subTree) == null ? void 0 : t.type, r = Re(e);
1777
+ return r ? ((n = r == null ? void 0 : r.types) == null ? void 0 : n.Fragment) === u : !1;
1778
+ }
1779
+ function ae(e) {
1780
+ var t, n, u;
1781
+ const r = ru((e == null ? void 0 : e.type) || {});
1782
+ if (r)
1783
+ return r;
1784
+ if ((e == null ? void 0 : e.root) === e)
1785
+ return "Root";
1786
+ for (const i in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
1787
+ if (e.parent.type.components[i] === (e == null ? void 0 : e.type))
1788
+ return je(e, i);
1789
+ for (const i in (u = e.appContext) == null ? void 0 : u.components)
1790
+ if (e.appContext.components[i] === (e == null ? void 0 : e.type))
1791
+ return je(e, i);
1792
+ const o = ou((e == null ? void 0 : e.type) || {});
1793
+ return o || "Anonymous Component";
1794
+ }
1795
+ function iu(e) {
1796
+ var t, n, u;
1797
+ const r = (u = (n = (t = e == null ? void 0 : e.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? u : 0, o = e === (e == null ? void 0 : e.root) ? "root" : e.uid;
1798
+ return `${r}:${o}`;
1799
+ }
1800
+ function ve(e, t) {
1801
+ return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
1802
+ }
1803
+ function su() {
1804
+ const e = {
1805
+ top: 0,
1806
+ bottom: 0,
1807
+ left: 0,
1808
+ right: 0,
1809
+ get width() {
1810
+ return e.right - e.left;
1811
+ },
1812
+ get height() {
1813
+ return e.bottom - e.top;
1814
+ }
1815
+ };
1816
+ return e;
1817
+ }
1818
+ var re;
1819
+ function au(e) {
1820
+ return re || (re = document.createRange()), re.selectNode(e), re.getBoundingClientRect();
1821
+ }
1822
+ function lu(e) {
1823
+ const t = su();
1824
+ if (!e.children)
1825
+ return t;
1826
+ for (let n = 0, u = e.children.length; n < u; n++) {
1827
+ const r = e.children[n];
1828
+ let o;
1829
+ if (r.component)
1830
+ o = U(r.component);
1831
+ else if (r.el) {
1832
+ const i = r.el;
1833
+ i.nodeType === 1 || i.getBoundingClientRect ? o = i.getBoundingClientRect() : i.nodeType === 3 && i.data.trim() && (o = au(i));
1834
+ }
1835
+ o && cu(t, o);
1836
+ }
1837
+ return t;
1838
+ }
1839
+ function cu(e, t) {
1840
+ return (!e.top || t.top < e.top) && (e.top = t.top), (!e.bottom || t.bottom > e.bottom) && (e.bottom = t.bottom), (!e.left || t.left < e.left) && (e.left = t.left), (!e.right || t.right > e.right) && (e.right = t.right), e;
1841
+ }
1842
+ var Ge = {
1843
+ top: 0,
1844
+ left: 0,
1845
+ right: 0,
1846
+ bottom: 0,
1847
+ width: 0,
1848
+ height: 0
1849
+ };
1850
+ function U(e) {
1851
+ const t = e.subTree.el;
1852
+ return typeof window > "u" ? Ge : Jt(e) ? lu(e.subTree) : (t == null ? void 0 : t.nodeType) === 1 ? t == null ? void 0 : t.getBoundingClientRect() : e.subTree.component ? U(e.subTree.component) : Ge;
1853
+ }
1854
+ s();
1855
+ function we(e) {
1856
+ return Jt(e) ? _u(e.subTree) : e.subTree ? [e.subTree.el] : [];
1857
+ }
1858
+ function _u(e) {
1859
+ if (!e.children)
1860
+ return [];
1861
+ const t = [];
1862
+ return e.children.forEach((n) => {
1863
+ n.component ? t.push(...we(n.component)) : n != null && n.el && t.push(n.el);
1864
+ }), t;
1865
+ }
1866
+ var Qt = "__vue-devtools-component-inspector__", en = "__vue-devtools-component-inspector__card__", tn = "__vue-devtools-component-inspector__name__", nn = "__vue-devtools-component-inspector__indicator__", un = {
1867
+ display: "block",
1868
+ zIndex: 2147483640,
1869
+ position: "fixed",
1870
+ backgroundColor: "#42b88325",
1871
+ border: "1px solid #42b88350",
1872
+ borderRadius: "5px",
1873
+ transition: "all 0.1s ease-in",
1874
+ pointerEvents: "none"
1875
+ }, fu = {
1876
+ fontFamily: "Arial, Helvetica, sans-serif",
1877
+ padding: "5px 8px",
1878
+ borderRadius: "4px",
1879
+ textAlign: "left",
1880
+ position: "absolute",
1881
+ left: 0,
1882
+ color: "#e9e9e9",
1883
+ fontSize: "14px",
1884
+ fontWeight: 600,
1885
+ lineHeight: "24px",
1886
+ backgroundColor: "#42b883",
1887
+ boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"
1888
+ }, du = {
1889
+ display: "inline-block",
1890
+ fontWeight: 400,
1891
+ fontStyle: "normal",
1892
+ fontSize: "12px",
1893
+ opacity: 0.7
1894
+ };
1895
+ function $() {
1896
+ return document.getElementById(Qt);
1897
+ }
1898
+ function Eu() {
1899
+ return document.getElementById(en);
1900
+ }
1901
+ function pu() {
1902
+ return document.getElementById(nn);
1903
+ }
1904
+ function hu() {
1905
+ return document.getElementById(tn);
1906
+ }
1907
+ function Pe(e) {
1908
+ return {
1909
+ left: `${Math.round(e.left * 100) / 100}px`,
1910
+ top: `${Math.round(e.top * 100) / 100}px`,
1911
+ width: `${Math.round(e.width * 100) / 100}px`,
1912
+ height: `${Math.round(e.height * 100) / 100}px`
1913
+ };
1914
+ }
1915
+ function Ve(e) {
1916
+ var t;
1917
+ const n = document.createElement("div");
1918
+ n.id = (t = e.elementId) != null ? t : Qt, Object.assign(n.style, {
1919
+ ...un,
1920
+ ...Pe(e.bounds),
1921
+ ...e.style
1922
+ });
1923
+ const u = document.createElement("span");
1924
+ u.id = en, Object.assign(u.style, {
1925
+ ...fu,
1926
+ top: e.bounds.top < 35 ? 0 : "-35px"
1927
+ });
1928
+ const r = document.createElement("span");
1929
+ r.id = tn, r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
1930
+ const o = document.createElement("i");
1931
+ return o.id = nn, o.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(o.style, du), u.appendChild(r), u.appendChild(o), n.appendChild(u), document.body.appendChild(n), n;
1932
+ }
1933
+ function xe(e) {
1934
+ const t = $(), n = Eu(), u = hu(), r = pu();
1935
+ t && (Object.assign(t.style, {
1936
+ ...un,
1937
+ ...Pe(e.bounds)
1938
+ }), Object.assign(n.style, {
1939
+ top: e.bounds.top < 35 ? 0 : "-35px"
1940
+ }), u.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, r.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`);
1941
+ }
1942
+ function gu(e) {
1943
+ const t = U(e);
1944
+ if (!t.width && !t.height)
1945
+ return;
1946
+ const n = ae(e);
1947
+ $() ? xe({ bounds: t, name: n }) : Ve({ bounds: t, name: n });
1948
+ }
1949
+ function rn() {
1950
+ const e = $();
1951
+ e && (e.style.display = "none");
1952
+ }
1953
+ var Ae = null;
1954
+ function ye(e) {
1955
+ const t = e.target;
1956
+ if (t) {
1957
+ const n = t.__vueParentComponent;
1958
+ if (n && (Ae = n, n.vnode.el)) {
1959
+ const r = U(n), o = ae(n);
1960
+ $() ? xe({ bounds: r, name: o }) : Ve({ bounds: r, name: o });
1961
+ }
1962
+ }
1963
+ }
1964
+ function mu(e, t) {
1965
+ if (e.preventDefault(), e.stopPropagation(), Ae) {
1966
+ const n = iu(Ae);
1967
+ t(n);
1968
+ }
1969
+ }
1970
+ var se = null;
1971
+ function vu() {
1972
+ rn(), window.removeEventListener("mouseover", ye), window.removeEventListener("click", se, !0), se = null;
1973
+ }
1974
+ function Au() {
1975
+ return window.addEventListener("mouseover", ye), new Promise((e) => {
1976
+ function t(n) {
1977
+ n.preventDefault(), n.stopPropagation(), mu(n, (u) => {
1978
+ window.removeEventListener("click", t, !0), se = null, window.removeEventListener("mouseover", ye);
1979
+ const r = $();
1980
+ r && (r.style.display = "none"), e(JSON.stringify({ id: u }));
1981
+ });
1982
+ }
1983
+ se = t, window.addEventListener("click", t, !0);
1984
+ });
1985
+ }
1986
+ function yu(e) {
1987
+ const t = ve(D.value, e.id);
1988
+ if (t) {
1989
+ const [n] = we(t);
1990
+ if (typeof n.scrollIntoView == "function")
1991
+ n.scrollIntoView({
1992
+ behavior: "smooth"
1993
+ });
1994
+ else {
1995
+ const u = U(t), r = document.createElement("div"), o = {
1996
+ ...Pe(u),
1997
+ position: "absolute"
1998
+ };
1999
+ Object.assign(r.style, o), document.body.appendChild(r), r.scrollIntoView({
2000
+ behavior: "smooth"
2001
+ }), setTimeout(() => {
2002
+ document.body.removeChild(r);
2003
+ }, 2e3);
2004
+ }
2005
+ setTimeout(() => {
2006
+ const u = U(t);
2007
+ if (u.width || u.height) {
2008
+ const r = ae(t), o = $();
2009
+ o ? xe({ ...e, name: r, bounds: u }) : Ve({ ...e, name: r, bounds: u }), setTimeout(() => {
2010
+ o && (o.style.display = "none");
2011
+ }, 1500);
2012
+ }
2013
+ }, 1200);
2014
+ }
2015
+ }
2016
+ s();
2017
+ var We, qe;
2018
+ (qe = (We = l).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__) != null || (We.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
2019
+ function Ou(e) {
2020
+ let t = 0;
2021
+ const n = setInterval(() => {
2022
+ l.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
2023
+ 5e3 && clearInterval(n);
2024
+ }, 30);
2025
+ }
2026
+ function Cu() {
2027
+ const e = l.__VUE_INSPECTOR__, t = e.openInEditor;
2028
+ e.openInEditor = async (...n) => {
2029
+ e.disable(), t(...n);
2030
+ };
2031
+ }
2032
+ function Tu() {
2033
+ return new Promise((e) => {
2034
+ function t() {
2035
+ Cu(), e(l.__VUE_INSPECTOR__);
2036
+ }
2037
+ l.__VUE_INSPECTOR__ ? t() : Ou(() => {
2038
+ t();
2039
+ });
2040
+ });
2041
+ }
2042
+ s();
2043
+ s();
2044
+ function Du(e) {
2045
+ return !!(e && e.__v_isReadonly);
2046
+ }
2047
+ function on(e) {
2048
+ return Du(e) ? on(e.__v_raw) : !!(e && e.__v_isReactive);
2049
+ }
2050
+ function he(e) {
2051
+ return !!(e && e.__v_isRef === !0);
2052
+ }
2053
+ function q(e) {
2054
+ const t = e && e.__v_raw;
2055
+ return t ? q(t) : e;
2056
+ }
2057
+ var Su = class {
2058
+ constructor() {
2059
+ this.refEditor = new Iu();
2060
+ }
2061
+ set(e, t, n, u) {
2062
+ const r = Array.isArray(t) ? t : t.split(".");
2063
+ for (; r.length > 1; ) {
2064
+ const a = r.shift();
2065
+ e instanceof Map ? e = e.get(a) : e instanceof Set ? e = Array.from(e.values())[a] : e = e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
2066
+ }
2067
+ const o = r[0], i = this.refEditor.get(e)[o];
2068
+ u ? u(e, o, n) : this.refEditor.isRef(i) ? this.refEditor.set(i, n) : e[o] = n;
2069
+ }
2070
+ get(e, t) {
2071
+ const n = Array.isArray(t) ? t : t.split(".");
2072
+ for (let u = 0; u < n.length; u++)
2073
+ if (e instanceof Map ? e = e.get(n[u]) : e = e[n[u]], this.refEditor.isRef(e) && (e = this.refEditor.get(e)), !e)
2074
+ return;
2075
+ return e;
2076
+ }
2077
+ has(e, t, n = !1) {
2078
+ if (typeof e > "u")
2079
+ return !1;
2080
+ const u = Array.isArray(t) ? t.slice() : t.split("."), r = n ? 2 : 1;
2081
+ for (; e && u.length > r; ) {
2082
+ const o = u.shift();
2083
+ e = e[o], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
2084
+ }
2085
+ return e != null && Object.prototype.hasOwnProperty.call(e, u[0]);
2086
+ }
2087
+ createDefaultSetCallback(e) {
2088
+ return (t, n, u) => {
2089
+ if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(n, 1) : q(t) instanceof Map ? t.delete(n) : q(t) instanceof Set ? t.delete(Array.from(t.values())[n]) : Reflect.deleteProperty(t, n)), !e.remove) {
2090
+ const r = t[e.newKey || n];
2091
+ this.refEditor.isRef(r) ? this.refEditor.set(r, u) : q(t) instanceof Map ? t.set(e.newKey || n, u) : q(t) instanceof Set ? t.add(u) : t[e.newKey || n] = u;
2092
+ }
2093
+ };
2094
+ }
2095
+ }, Iu = class {
2096
+ set(e, t) {
2097
+ if (he(e))
2098
+ e.value = t;
2099
+ else {
2100
+ if (e instanceof Set && Array.isArray(t)) {
2101
+ e.clear(), t.forEach((r) => e.add(r));
2102
+ return;
2103
+ }
2104
+ const n = Object.keys(t);
2105
+ if (e instanceof Map) {
2106
+ const r = new Set(e.keys());
2107
+ n.forEach((o) => {
2108
+ e.set(o, Reflect.get(t, o)), r.delete(o);
2109
+ }), r.forEach((o) => e.delete(o));
2110
+ return;
2111
+ }
2112
+ const u = new Set(Object.keys(e));
2113
+ n.forEach((r) => {
2114
+ Reflect.set(e, r, Reflect.get(t, r)), u.delete(r);
2115
+ }), u.forEach((r) => Reflect.deleteProperty(e, r));
2116
+ }
2117
+ }
2118
+ get(e) {
2119
+ return he(e) ? e.value : e;
2120
+ }
2121
+ isRef(e) {
2122
+ return he(e) || on(e);
2123
+ }
2124
+ };
2125
+ s();
2126
+ s();
2127
+ s();
2128
+ var ku = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
2129
+ function bu() {
2130
+ if (!Wt || typeof localStorage > "u" || localStorage === null)
2131
+ return {
2132
+ recordingState: !1,
2133
+ mouseEventEnabled: !1,
2134
+ keyboardEventEnabled: !1,
2135
+ componentEventEnabled: !1,
2136
+ performanceEventEnabled: !1,
2137
+ selected: ""
2138
+ };
2139
+ const e = localStorage.getItem(ku);
2140
+ return e ? JSON.parse(e) : {
2141
+ recordingState: !1,
2142
+ mouseEventEnabled: !1,
2143
+ keyboardEventEnabled: !1,
2144
+ componentEventEnabled: !1,
2145
+ performanceEventEnabled: !1,
2146
+ selected: ""
2147
+ };
2148
+ }
2149
+ s();
2150
+ s();
2151
+ s();
2152
+ var Ye, Ze;
2153
+ (Ze = (Ye = l).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null || (Ye.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
2154
+ var Ru = new Proxy(l.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2155
+ get(e, t, n) {
2156
+ return Reflect.get(e, t, n);
2157
+ }
2158
+ });
2159
+ function wu(e, t) {
2160
+ T.timelineLayersState[t.id] = !1, Ru.push({
2161
+ ...e,
2162
+ descriptorId: t.id,
2163
+ appRecord: Re(t.app)
2164
+ });
2165
+ }
2166
+ var Xe, Je;
2167
+ (Je = (Xe = l).__VUE_DEVTOOLS_KIT_INSPECTOR__) != null || (Xe.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
2168
+ var Ne = new Proxy(l.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2169
+ get(e, t, n) {
2170
+ return Reflect.get(e, t, n);
2171
+ }
2172
+ }), sn = K(() => {
2173
+ N.hooks.callHook("sendInspectorToClient", an());
2174
+ });
2175
+ function Pu(e, t) {
2176
+ var n, u;
2177
+ Ne.push({
2178
+ options: e,
2179
+ descriptor: t,
2180
+ treeFilterPlaceholder: (n = e.treeFilterPlaceholder) != null ? n : "Search tree...",
2181
+ stateFilterPlaceholder: (u = e.stateFilterPlaceholder) != null ? u : "Search state...",
2182
+ treeFilter: "",
2183
+ selectedNodeId: "",
2184
+ appRecord: Re(t.app)
2185
+ }), sn();
2186
+ }
2187
+ function an() {
2188
+ return Ne.filter((e) => e.descriptor.app === D.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
2189
+ var t;
2190
+ const n = e.descriptor, u = e.options;
2191
+ return {
2192
+ id: u.id,
2193
+ label: u.label,
2194
+ logo: n.logo,
2195
+ icon: `custom-ic-baseline-${(t = u == null ? void 0 : u.icon) == null ? void 0 : t.replace(/_/g, "-")}`,
2196
+ packageName: n.packageName,
2197
+ homepage: n.homepage,
2198
+ pluginId: n.id
2199
+ };
2200
+ });
2201
+ }
2202
+ function oe(e, t) {
2203
+ return Ne.find((n) => n.options.id === e && (t ? n.descriptor.app === t : !0));
2204
+ }
2205
+ function Vu() {
2206
+ const e = Yt();
2207
+ e.hook("addInspector", ({ inspector: u, plugin: r }) => {
2208
+ Pu(u, r.descriptor);
2209
+ });
2210
+ const t = K(async ({ inspectorId: u, plugin: r }) => {
2211
+ var o;
2212
+ if (!u || !((o = r == null ? void 0 : r.descriptor) != null && o.app) || T.highPerfModeEnabled)
2213
+ return;
2214
+ const i = oe(u, r.descriptor.app), a = {
2215
+ app: r.descriptor.app,
2216
+ inspectorId: u,
2217
+ filter: (i == null ? void 0 : i.treeFilter) || "",
2218
+ rootNodes: []
2219
+ };
2220
+ await new Promise((h) => {
2221
+ e.callHookWith(
2222
+ async (p) => {
2223
+ await Promise.all(p.map((A) => A(a))), h();
2224
+ },
2225
+ "getInspectorTree"
2226
+ /* GET_INSPECTOR_TREE */
2227
+ );
2228
+ }), e.callHookWith(
2229
+ async (h) => {
2230
+ await Promise.all(h.map((p) => p({
2231
+ inspectorId: u,
2232
+ rootNodes: a.rootNodes
2233
+ })));
2234
+ },
2235
+ "sendInspectorTreeToClient"
2236
+ /* SEND_INSPECTOR_TREE_TO_CLIENT */
2237
+ );
2238
+ }, 120);
2239
+ e.hook("sendInspectorTree", t);
2240
+ const n = K(async ({ inspectorId: u, plugin: r }) => {
2241
+ var o;
2242
+ if (!u || !((o = r == null ? void 0 : r.descriptor) != null && o.app) || T.highPerfModeEnabled)
2243
+ return;
2244
+ const i = oe(u, r.descriptor.app), a = {
2245
+ app: r.descriptor.app,
2246
+ inspectorId: u,
2247
+ nodeId: (i == null ? void 0 : i.selectedNodeId) || "",
2248
+ state: null
2249
+ }, h = {
2250
+ currentTab: `custom-inspector:${u}`
2251
+ };
2252
+ a.nodeId && await new Promise((p) => {
2253
+ e.callHookWith(
2254
+ async (A) => {
2255
+ await Promise.all(A.map((d) => d(a, h))), p();
2256
+ },
2257
+ "getInspectorState"
2258
+ /* GET_INSPECTOR_STATE */
2259
+ );
2260
+ }), e.callHookWith(
2261
+ async (p) => {
2262
+ await Promise.all(p.map((A) => A({
2263
+ inspectorId: u,
2264
+ nodeId: a.nodeId,
2265
+ state: a.state
2266
+ })));
2267
+ },
2268
+ "sendInspectorStateToClient"
2269
+ /* SEND_INSPECTOR_STATE_TO_CLIENT */
2270
+ );
2271
+ }, 120);
2272
+ return e.hook("sendInspectorState", n), e.hook("customInspectorSelectNode", ({ inspectorId: u, nodeId: r, plugin: o }) => {
2273
+ const i = oe(u, o.descriptor.app);
2274
+ i && (i.selectedNodeId = r);
2275
+ }), e.hook("timelineLayerAdded", ({ options: u, plugin: r }) => {
2276
+ wu(u, r.descriptor);
2277
+ }), e.hook("timelineEventAdded", ({ options: u, plugin: r }) => {
2278
+ var o;
2279
+ const i = ["performance", "component-event", "keyboard", "mouse"];
2280
+ T.highPerfModeEnabled || !((o = T.timelineLayersState) != null && o[r.descriptor.id]) && !i.includes(u.layerId) || e.callHookWith(
2281
+ async (a) => {
2282
+ await Promise.all(a.map((h) => h(u)));
2283
+ },
2284
+ "sendTimelineEventToClient"
2285
+ /* SEND_TIMELINE_EVENT_TO_CLIENT */
2286
+ );
2287
+ }), e.hook("getComponentInstances", async ({ app: u }) => {
2288
+ const r = u.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
2289
+ if (!r)
2290
+ return null;
2291
+ const o = r.id.toString();
2292
+ return [...r.instanceMap].filter(([a]) => a.split(":")[0] === o).map(([, a]) => a);
2293
+ }), e.hook("getComponentBounds", async ({ instance: u }) => U(u)), e.hook("getComponentName", ({ instance: u }) => ae(u)), e.hook("componentHighlight", ({ uid: u }) => {
2294
+ const r = D.value.instanceMap.get(u);
2295
+ r && gu(r);
2296
+ }), e.hook("componentUnhighlight", () => {
2297
+ rn();
2298
+ }), e;
2299
+ }
2300
+ var Qe, et;
2301
+ (et = (Qe = l).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null || (Qe.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
2302
+ var tt, nt;
2303
+ (nt = (tt = l).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null || (tt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
2304
+ var ut, rt;
2305
+ (rt = (ut = l).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null || (ut.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
2306
+ var ot, it;
2307
+ (it = (ot = l).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null || (ot.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
2308
+ var st, at;
2309
+ (at = (st = l).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null || (st.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
2310
+ var F = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
2311
+ function xu() {
2312
+ return {
2313
+ connected: !1,
2314
+ clientConnected: !1,
2315
+ vitePluginDetected: !0,
2316
+ appRecords: [],
2317
+ activeAppRecordId: "",
2318
+ tabs: [],
2319
+ commands: [],
2320
+ highPerfModeEnabled: !0,
2321
+ devtoolsClientDetected: {},
2322
+ perfUniqueGroupId: 0,
2323
+ timelineLayersState: bu()
2324
+ };
2325
+ }
2326
+ var lt, ct;
2327
+ (ct = (lt = l)[F]) != null || (lt[F] = xu());
2328
+ var Nu = K((e) => {
2329
+ N.hooks.callHook("devtoolsStateUpdated", { state: e });
2330
+ });
2331
+ K((e, t) => {
2332
+ N.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
2333
+ });
2334
+ var le = new Proxy(l.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2335
+ get(e, t, n) {
2336
+ return t === "value" ? l.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : l.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2337
+ }
2338
+ }), D = new Proxy(l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2339
+ get(e, t, n) {
2340
+ return t === "value" ? l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
2341
+ }
2342
+ });
2343
+ function te() {
2344
+ Nu({
2345
+ ...l[F],
2346
+ appRecords: le.value,
2347
+ activeAppRecordId: D.id,
2348
+ tabs: l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2349
+ commands: l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2350
+ });
2351
+ }
2352
+ function Fu(e) {
2353
+ l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, te();
2354
+ }
2355
+ function Uu(e) {
2356
+ l.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, te();
2357
+ }
2358
+ var T = new Proxy(l[F], {
2359
+ get(e, t) {
2360
+ return t === "appRecords" ? le : t === "activeAppRecordId" ? D.id : t === "tabs" ? l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : l[F][t];
2361
+ },
2362
+ deleteProperty(e, t) {
2363
+ return delete e[t], !0;
2364
+ },
2365
+ set(e, t, n) {
2366
+ return { ...l[F] }, e[t] = n, l[F][t] = n, !0;
2367
+ }
2368
+ });
2369
+ function Pr(e) {
2370
+ return new Promise((t) => {
2371
+ T.connected && (e(), t()), N.hooks.hook("devtoolsConnectedUpdated", ({ state: n }) => {
2372
+ n.connected && (e(), t());
2373
+ });
2374
+ });
2375
+ }
2376
+ var Oe = (e) => {
2377
+ if (e)
2378
+ return e.startsWith("baseline-") ? `custom-ic-${e}` : e.startsWith("i-") || Kn(e) ? e : `custom-ic-baseline-${e}`;
2379
+ };
2380
+ function Vr(e) {
2381
+ const t = l.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
2382
+ t.some((n) => n.name === e.name) || (t.push({
2383
+ ...e,
2384
+ icon: Oe(e.icon)
2385
+ }), te());
2386
+ }
2387
+ function xr(e) {
2388
+ const t = l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2389
+ t.some((n) => n.id === e.id) || (t.push({
2390
+ ...e,
2391
+ icon: Oe(e.icon),
2392
+ children: e.children ? e.children.map((n) => ({
2393
+ ...n,
2394
+ icon: Oe(n.icon)
2395
+ })) : void 0
2396
+ }), te());
2397
+ }
2398
+ function Nr(e) {
2399
+ const t = l.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__, n = t.findIndex((u) => u.id === e);
2400
+ n !== -1 && (t.splice(n, 1), te());
2401
+ }
2402
+ function Bu(e = {}) {
2403
+ var t, n, u;
2404
+ const { file: r, host: o, baseUrl: i = window.location.origin, line: a = 0, column: h = 0 } = e;
2405
+ if (r) {
2406
+ if (o === "chrome-extension") {
2407
+ const p = r.replace(/\\/g, "\\\\"), A = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
2408
+ fetch(`${A}__open-in-editor?file=${encodeURI(r)}`).then((d) => {
2409
+ if (!d.ok) {
2410
+ const m = `Opening component ${p} failed`;
2411
+ console.log(`%c${m}`, "color:red");
2412
+ }
2413
+ });
2414
+ } else if (T.vitePluginDetected) {
2415
+ const p = (u = l.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? u : i;
2416
+ l.__VUE_INSPECTOR__.openInEditor(p, r, a, h);
2417
+ }
2418
+ }
2419
+ }
2420
+ s();
2421
+ s();
2422
+ s();
2423
+ s();
2424
+ s();
2425
+ var _t, ft;
2426
+ (ft = (_t = l).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null || (_t.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
2427
+ var Fe = new Proxy(l.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2428
+ get(e, t, n) {
2429
+ return Reflect.get(e, t, n);
2430
+ }
2431
+ });
2432
+ function Ce(e) {
2433
+ const t = {};
2434
+ return Object.keys(e).forEach((n) => {
2435
+ t[n] = e[n].defaultValue;
2436
+ }), t;
2437
+ }
2438
+ function Ue(e) {
2439
+ return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
2440
+ }
2441
+ function Lu(e) {
2442
+ var t, n, u;
2443
+ const r = (n = (t = Fe.find((o) => {
2444
+ var i;
2445
+ return o[0].id === e && !!((i = o[0]) != null && i.settings);
2446
+ })) == null ? void 0 : t[0]) != null ? n : null;
2447
+ return (u = r == null ? void 0 : r.settings) != null ? u : null;
2448
+ }
2449
+ function ln(e, t) {
2450
+ var n, u, r;
2451
+ const o = Ue(e);
2452
+ if (o) {
2453
+ const i = localStorage.getItem(o);
2454
+ if (i)
2455
+ return JSON.parse(i);
2456
+ }
2457
+ if (e) {
2458
+ const i = (u = (n = Fe.find((a) => a[0].id === e)) == null ? void 0 : n[0]) != null ? u : null;
2459
+ return Ce((r = i == null ? void 0 : i.settings) != null ? r : {});
2460
+ }
2461
+ return Ce(t);
2462
+ }
2463
+ function Mu(e, t) {
2464
+ const n = Ue(e);
2465
+ localStorage.getItem(n) || localStorage.setItem(n, JSON.stringify(Ce(t)));
2466
+ }
2467
+ function Ku(e, t, n) {
2468
+ const u = Ue(e), r = localStorage.getItem(u), o = JSON.parse(r || "{}"), i = {
2469
+ ...o,
2470
+ [t]: n
2471
+ };
2472
+ localStorage.setItem(u, JSON.stringify(i)), N.hooks.callHookWith(
2473
+ (a) => {
2474
+ a.forEach((h) => h({
2475
+ pluginId: e,
2476
+ key: t,
2477
+ oldValue: o[t],
2478
+ newValue: n,
2479
+ settings: i
2480
+ }));
2481
+ },
2482
+ "setPluginSettings"
2483
+ /* SET_PLUGIN_SETTINGS */
2484
+ );
2485
+ }
2486
+ s();
2487
+ s();
2488
+ s();
2489
+ s();
2490
+ s();
2491
+ s();
2492
+ s();
2493
+ s();
2494
+ s();
2495
+ s();
2496
+ s();
2497
+ var dt, Et, S = (Et = (dt = l).__VUE_DEVTOOLS_HOOK) != null ? Et : dt.__VUE_DEVTOOLS_HOOK = Yt(), Hu = {
2498
+ vueAppInit(e) {
2499
+ S.hook("app:init", e);
2500
+ },
2501
+ vueAppUnmount(e) {
2502
+ S.hook("app:unmount", e);
2503
+ },
2504
+ vueAppConnected(e) {
2505
+ S.hook("app:connected", e);
2506
+ },
2507
+ componentAdded(e) {
2508
+ return S.hook("component:added", e);
2509
+ },
2510
+ componentEmit(e) {
2511
+ return S.hook("component:emit", e);
2512
+ },
2513
+ componentUpdated(e) {
2514
+ return S.hook("component:updated", e);
2515
+ },
2516
+ componentRemoved(e) {
2517
+ return S.hook("component:removed", e);
2518
+ },
2519
+ setupDevtoolsPlugin(e) {
2520
+ S.hook("devtools-plugin:setup", e);
2521
+ },
2522
+ perfStart(e) {
2523
+ return S.hook("perf:start", e);
2524
+ },
2525
+ perfEnd(e) {
2526
+ return S.hook("perf:end", e);
2527
+ }
2528
+ }, cn = {
2529
+ on: Hu,
2530
+ setupDevToolsPlugin(e, t) {
2531
+ return S.callHook("devtools-plugin:setup", e, t);
2532
+ }
2533
+ }, zu = class {
2534
+ constructor({ plugin: e, ctx: t }) {
2535
+ this.hooks = t.hooks, this.plugin = e;
2536
+ }
2537
+ get on() {
2538
+ return {
2539
+ // component inspector
2540
+ visitComponentTree: (e) => {
2541
+ this.hooks.hook("visitComponentTree", e);
2542
+ },
2543
+ inspectComponent: (e) => {
2544
+ this.hooks.hook("inspectComponent", e);
2545
+ },
2546
+ editComponentState: (e) => {
2547
+ this.hooks.hook("editComponentState", e);
2548
+ },
2549
+ // custom inspector
2550
+ getInspectorTree: (e) => {
2551
+ this.hooks.hook("getInspectorTree", e);
2552
+ },
2553
+ getInspectorState: (e) => {
2554
+ this.hooks.hook("getInspectorState", e);
2555
+ },
2556
+ editInspectorState: (e) => {
2557
+ this.hooks.hook("editInspectorState", e);
2558
+ },
2559
+ // timeline
2560
+ inspectTimelineEvent: (e) => {
2561
+ this.hooks.hook("inspectTimelineEvent", e);
2562
+ },
2563
+ timelineCleared: (e) => {
2564
+ this.hooks.hook("timelineCleared", e);
2565
+ },
2566
+ // settings
2567
+ setPluginSettings: (e) => {
2568
+ this.hooks.hook("setPluginSettings", e);
2569
+ }
2570
+ };
2571
+ }
2572
+ // component inspector
2573
+ notifyComponentUpdate(e) {
2574
+ var t;
2575
+ if (T.highPerfModeEnabled)
2576
+ return;
2577
+ const n = an().find((u) => u.packageName === this.plugin.descriptor.packageName);
2578
+ if (n != null && n.id) {
2579
+ if (e) {
2580
+ const u = [
2581
+ e.appContext.app,
2582
+ e.uid,
2583
+ (t = e.parent) == null ? void 0 : t.uid,
2584
+ e
2585
+ ];
2586
+ S.callHook("component:updated", ...u);
2587
+ } else
2588
+ S.callHook(
2589
+ "component:updated"
2590
+ /* COMPONENT_UPDATED */
2591
+ );
2592
+ this.hooks.callHook("sendInspectorState", { inspectorId: n.id, plugin: this.plugin });
2593
+ }
2594
+ }
2595
+ // custom inspector
2596
+ addInspector(e) {
2597
+ this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && Mu(e.id, this.plugin.descriptor.settings);
2598
+ }
2599
+ sendInspectorTree(e) {
2600
+ T.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
2601
+ }
2602
+ sendInspectorState(e) {
2603
+ T.highPerfModeEnabled || this.hooks.callHook("sendInspectorState", { inspectorId: e, plugin: this.plugin });
2604
+ }
2605
+ selectInspectorNode(e, t) {
2606
+ this.hooks.callHook("customInspectorSelectNode", { inspectorId: e, nodeId: t, plugin: this.plugin });
2607
+ }
2608
+ visitComponentTree(e) {
2609
+ return this.hooks.callHook("visitComponentTree", e);
2610
+ }
2611
+ // timeline
2612
+ now() {
2613
+ return T.highPerfModeEnabled ? 0 : Date.now();
2614
+ }
2615
+ addTimelineLayer(e) {
2616
+ this.hooks.callHook("timelineLayerAdded", { options: e, plugin: this.plugin });
2617
+ }
2618
+ addTimelineEvent(e) {
2619
+ T.highPerfModeEnabled || this.hooks.callHook("timelineEventAdded", { options: e, plugin: this.plugin });
2620
+ }
2621
+ // settings
2622
+ getSettings(e) {
2623
+ return ln(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
2624
+ }
2625
+ // utilities
2626
+ getComponentInstances(e) {
2627
+ return this.hooks.callHook("getComponentInstances", { app: e });
2628
+ }
2629
+ getComponentBounds(e) {
2630
+ return this.hooks.callHook("getComponentBounds", { instance: e });
2631
+ }
2632
+ getComponentName(e) {
2633
+ return this.hooks.callHook("getComponentName", { instance: e });
2634
+ }
2635
+ highlightElement(e) {
2636
+ const t = e.__VUE_DEVTOOLS_NEXT_UID__;
2637
+ return this.hooks.callHook("componentHighlight", { uid: t });
2638
+ }
2639
+ unhighlightElement() {
2640
+ return this.hooks.callHook(
2641
+ "componentUnhighlight"
2642
+ /* COMPONENT_UNHIGHLIGHT */
2643
+ );
2644
+ }
2645
+ }, $u = zu;
2646
+ s();
2647
+ s();
2648
+ s();
2649
+ s();
2650
+ var ju = "__vue_devtool_undefined__", Gu = "__vue_devtool_infinity__", Wu = "__vue_devtool_negative_infinity__", qu = "__vue_devtool_nan__";
2651
+ s();
2652
+ s();
2653
+ var Yu = {
2654
+ [ju]: "undefined",
2655
+ [qu]: "NaN",
2656
+ [Gu]: "Infinity",
2657
+ [Wu]: "-Infinity"
2658
+ };
2659
+ Object.entries(Yu).reduce((e, [t, n]) => (e[n] = t, e), {});
2660
+ s();
2661
+ s();
2662
+ s();
2663
+ s();
2664
+ s();
2665
+ var pt, ht;
2666
+ (ht = (pt = l).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null || (pt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
2667
+ function Fr(e, t) {
2668
+ return cn.setupDevToolsPlugin(e, t);
2669
+ }
2670
+ function Zu(e, t) {
2671
+ const [n, u] = e;
2672
+ if (n.app !== t)
2673
+ return;
2674
+ const r = new $u({
2675
+ plugin: {
2676
+ setupFn: u,
2677
+ descriptor: n
2678
+ },
2679
+ ctx: N
2680
+ });
2681
+ n.packageName === "vuex" && r.on.editInspectorState((o) => {
2682
+ r.sendInspectorState(o.inspectorId);
2683
+ }), u(r);
2684
+ }
2685
+ function _n(e, t) {
2686
+ l.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || T.highPerfModeEnabled && !(t != null && t.inspectingComponent) || (l.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Fe.forEach((n) => {
2687
+ Zu(n, e);
2688
+ }));
2689
+ }
2690
+ s();
2691
+ s();
2692
+ var Z = "__VUE_DEVTOOLS_ROUTER__", H = "__VUE_DEVTOOLS_ROUTER_INFO__", gt, mt;
2693
+ (mt = (gt = l)[H]) != null || (gt[H] = {
2694
+ currentRoute: null,
2695
+ routes: []
2696
+ });
2697
+ var vt, At;
2698
+ (At = (vt = l)[Z]) != null || (vt[Z] = {});
2699
+ new Proxy(l[H], {
2700
+ get(e, t) {
2701
+ return l[H][t];
2702
+ }
2703
+ });
2704
+ new Proxy(l[Z], {
2705
+ get(e, t) {
2706
+ if (t === "value")
2707
+ return l[Z];
2708
+ }
2709
+ });
2710
+ function Xu(e) {
2711
+ const t = /* @__PURE__ */ new Map();
2712
+ return ((e == null ? void 0 : e.getRoutes()) || []).filter((n) => !t.has(n.path) && t.set(n.path, 1));
2713
+ }
2714
+ function Be(e) {
2715
+ return e.map((t) => {
2716
+ let { path: n, name: u, children: r, meta: o } = t;
2717
+ return r != null && r.length && (r = Be(r)), {
2718
+ path: n,
2719
+ name: u,
2720
+ children: r,
2721
+ meta: o
2722
+ };
2723
+ });
2724
+ }
2725
+ function Ju(e) {
2726
+ if (e) {
2727
+ const { fullPath: t, hash: n, href: u, path: r, name: o, matched: i, params: a, query: h } = e;
2728
+ return {
2729
+ fullPath: t,
2730
+ hash: n,
2731
+ href: u,
2732
+ path: r,
2733
+ name: o,
2734
+ params: a,
2735
+ query: h,
2736
+ matched: Be(i)
2737
+ };
2738
+ }
2739
+ return e;
2740
+ }
2741
+ function Qu(e, t) {
2742
+ function n() {
2743
+ var u;
2744
+ const r = (u = e.app) == null ? void 0 : u.config.globalProperties.$router, o = Ju(r == null ? void 0 : r.currentRoute.value), i = Be(Xu(r)), a = console.warn;
2745
+ console.warn = () => {
2746
+ }, l[H] = {
2747
+ currentRoute: o ? $e(o) : {},
2748
+ routes: $e(i)
2749
+ }, l[Z] = r, console.warn = a;
2750
+ }
2751
+ n(), cn.on.componentUpdated(K(() => {
2752
+ var u;
2753
+ ((u = t.value) == null ? void 0 : u.app) === e.app && (n(), !T.highPerfModeEnabled && N.hooks.callHook("routerInfoUpdated", { state: l[H] }));
2754
+ }, 200));
2755
+ }
2756
+ function er(e) {
2757
+ return {
2758
+ // get inspector tree
2759
+ async getInspectorTree(t) {
2760
+ const n = {
2761
+ ...t,
2762
+ app: D.value.app,
2763
+ rootNodes: []
2764
+ };
2765
+ return await new Promise((u) => {
2766
+ e.callHookWith(
2767
+ async (r) => {
2768
+ await Promise.all(r.map((o) => o(n))), u();
2769
+ },
2770
+ "getInspectorTree"
2771
+ /* GET_INSPECTOR_TREE */
2772
+ );
2773
+ }), n.rootNodes;
2774
+ },
2775
+ // get inspector state
2776
+ async getInspectorState(t) {
2777
+ const n = {
2778
+ ...t,
2779
+ app: D.value.app,
2780
+ state: null
2781
+ }, u = {
2782
+ currentTab: `custom-inspector:${t.inspectorId}`
2783
+ };
2784
+ return await new Promise((r) => {
2785
+ e.callHookWith(
2786
+ async (o) => {
2787
+ await Promise.all(o.map((i) => i(n, u))), r();
2788
+ },
2789
+ "getInspectorState"
2790
+ /* GET_INSPECTOR_STATE */
2791
+ );
2792
+ }), n.state;
2793
+ },
2794
+ // edit inspector state
2795
+ editInspectorState(t) {
2796
+ const n = new Su(), u = {
2797
+ ...t,
2798
+ app: D.value.app,
2799
+ set: (r, o = t.path, i = t.state.value, a) => {
2800
+ n.set(r, o, i, a || n.createDefaultSetCallback(t.state));
2801
+ }
2802
+ };
2803
+ e.callHookWith(
2804
+ (r) => {
2805
+ r.forEach((o) => o(u));
2806
+ },
2807
+ "editInspectorState"
2808
+ /* EDIT_INSPECTOR_STATE */
2809
+ );
2810
+ },
2811
+ // send inspector state
2812
+ sendInspectorState(t) {
2813
+ const n = oe(t);
2814
+ e.callHook("sendInspectorState", { inspectorId: t, plugin: {
2815
+ descriptor: n.descriptor,
2816
+ setupFn: () => ({})
2817
+ } });
2818
+ },
2819
+ // inspect component inspector
2820
+ inspectComponentInspector() {
2821
+ return Au();
2822
+ },
2823
+ // cancel inspect component inspector
2824
+ cancelInspectComponentInspector() {
2825
+ return vu();
2826
+ },
2827
+ // get component render code
2828
+ getComponentRenderCode(t) {
2829
+ const n = ve(D.value, t);
2830
+ if (n)
2831
+ return typeof (n == null ? void 0 : n.type) != "function" ? n.render.toString() : n.type.toString();
2832
+ },
2833
+ // scroll to component
2834
+ scrollToComponent(t) {
2835
+ return yu({ id: t });
2836
+ },
2837
+ // open in editor
2838
+ openInEditor: Bu,
2839
+ // get vue inspector
2840
+ getVueInspector: Tu,
2841
+ // toggle app
2842
+ toggleApp(t, n) {
2843
+ const u = le.value.find((r) => r.id === t);
2844
+ u && (Uu(t), Fu(u), Qu(u, D), sn(), _n(u.app, n));
2845
+ },
2846
+ // inspect dom
2847
+ inspectDOM(t) {
2848
+ const n = ve(D.value, t);
2849
+ if (n) {
2850
+ const [u] = we(n);
2851
+ u && (l.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = u);
2852
+ }
2853
+ },
2854
+ updatePluginSettings(t, n, u) {
2855
+ Ku(t, n, u);
2856
+ },
2857
+ getPluginSettings(t) {
2858
+ return {
2859
+ options: Lu(t),
2860
+ values: ln(t)
2861
+ };
2862
+ }
2863
+ };
2864
+ }
2865
+ s();
2866
+ var yt, Ot;
2867
+ (Ot = (yt = l).__VUE_DEVTOOLS_ENV__) != null || (yt.__VUE_DEVTOOLS_ENV__ = {
2868
+ vitePluginDetected: !1
2869
+ });
2870
+ var Ct = Vu(), Tt, Dt;
2871
+ (Dt = (Tt = l).__VUE_DEVTOOLS_KIT_CONTEXT__) != null || (Tt.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
2872
+ hooks: Ct,
2873
+ get state() {
2874
+ return {
2875
+ ...T,
2876
+ activeAppRecordId: D.id,
2877
+ activeAppRecord: D.value,
2878
+ appRecords: le.value
2879
+ };
2880
+ },
2881
+ api: er(Ct)
2882
+ });
2883
+ var N = l.__VUE_DEVTOOLS_KIT_CONTEXT__;
2884
+ s();
2885
+ tu(uu(), 1);
2886
+ var St, It;
2887
+ (It = (St = l).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null || (St.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
2888
+ id: 0,
2889
+ appIds: /* @__PURE__ */ new Set()
2890
+ });
2891
+ function Ur(e) {
2892
+ return new Promise((t) => {
2893
+ if (T.connected && T.clientConnected) {
2894
+ e(), t();
2895
+ return;
2896
+ }
2897
+ N.hooks.hook("devtoolsConnectedUpdated", ({ state: n }) => {
2898
+ n.connected && n.clientConnected && (e(), t());
2899
+ });
2900
+ });
2901
+ }
2902
+ s();
2903
+ function tr(e) {
2904
+ T.highPerfModeEnabled = e ?? !T.highPerfModeEnabled, !e && D.value && _n(D.value.app);
2905
+ }
2906
+ s();
2907
+ s();
2908
+ s();
2909
+ function nr(e) {
2910
+ T.devtoolsClientDetected = {
2911
+ ...T.devtoolsClientDetected,
2912
+ ...e
2913
+ };
2914
+ const t = Object.values(T.devtoolsClientDetected).some(Boolean);
2915
+ tr(!t);
2916
+ }
2917
+ var kt, bt;
2918
+ (bt = (kt = l).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null || (kt.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = nr);
2919
+ s();
2920
+ s();
2921
+ s();
2922
+ s();
2923
+ s();
2924
+ s();
2925
+ s();
2926
+ var ur = class {
2927
+ constructor() {
2928
+ this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2929
+ }
2930
+ set(e, t) {
2931
+ this.keyToValue.set(e, t), this.valueToKey.set(t, e);
2932
+ }
2933
+ getByKey(e) {
2934
+ return this.keyToValue.get(e);
2935
+ }
2936
+ getByValue(e) {
2937
+ return this.valueToKey.get(e);
2938
+ }
2939
+ clear() {
2940
+ this.keyToValue.clear(), this.valueToKey.clear();
2941
+ }
2942
+ }, fn = class {
2943
+ constructor(e) {
2944
+ this.generateIdentifier = e, this.kv = new ur();
2945
+ }
2946
+ register(e, t) {
2947
+ this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
2948
+ }
2949
+ clear() {
2950
+ this.kv.clear();
2951
+ }
2952
+ getIdentifier(e) {
2953
+ return this.kv.getByValue(e);
2954
+ }
2955
+ getValue(e) {
2956
+ return this.kv.getByKey(e);
2957
+ }
2958
+ }, rr = class extends fn {
2959
+ constructor() {
2960
+ super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2961
+ }
2962
+ register(e, t) {
2963
+ typeof t == "object" ? (t.allowProps && this.classToAllowedProps.set(e, t.allowProps), super.register(e, t.identifier)) : super.register(e, t);
2964
+ }
2965
+ getAllowedProps(e) {
2966
+ return this.classToAllowedProps.get(e);
2967
+ }
2968
+ };
2969
+ s();
2970
+ s();
2971
+ function or(e) {
2972
+ if ("values" in Object)
2973
+ return Object.values(e);
2974
+ const t = [];
2975
+ for (const n in e)
2976
+ e.hasOwnProperty(n) && t.push(e[n]);
2977
+ return t;
2978
+ }
2979
+ function ir(e, t) {
2980
+ const n = or(e);
2981
+ if ("find" in n)
2982
+ return n.find(t);
2983
+ const u = n;
2984
+ for (let r = 0; r < u.length; r++) {
2985
+ const o = u[r];
2986
+ if (t(o))
2987
+ return o;
2988
+ }
2989
+ }
2990
+ function z(e, t) {
2991
+ Object.entries(e).forEach(([n, u]) => t(u, n));
2992
+ }
2993
+ function ie(e, t) {
2994
+ return e.indexOf(t) !== -1;
2995
+ }
2996
+ function Rt(e, t) {
2997
+ for (let n = 0; n < e.length; n++) {
2998
+ const u = e[n];
2999
+ if (t(u))
3000
+ return u;
3001
+ }
3002
+ }
3003
+ var sr = class {
3004
+ constructor() {
3005
+ this.transfomers = {};
3006
+ }
3007
+ register(e) {
3008
+ this.transfomers[e.name] = e;
3009
+ }
3010
+ findApplicable(e) {
3011
+ return ir(this.transfomers, (t) => t.isApplicable(e));
3012
+ }
3013
+ findByName(e) {
3014
+ return this.transfomers[e];
3015
+ }
3016
+ };
3017
+ s();
3018
+ s();
3019
+ var ar = (e) => Object.prototype.toString.call(e).slice(8, -1), dn = (e) => typeof e > "u", lr = (e) => e === null, X = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, Te = (e) => X(e) && Object.keys(e).length === 0, x = (e) => Array.isArray(e), cr = (e) => typeof e == "string", _r = (e) => typeof e == "number" && !isNaN(e), fr = (e) => typeof e == "boolean", dr = (e) => e instanceof RegExp, J = (e) => e instanceof Map, Q = (e) => e instanceof Set, En = (e) => ar(e) === "Symbol", Er = (e) => e instanceof Date && !isNaN(e.valueOf()), pr = (e) => e instanceof Error, wt = (e) => typeof e == "number" && isNaN(e), hr = (e) => fr(e) || lr(e) || dn(e) || _r(e) || cr(e) || En(e), gr = (e) => typeof e == "bigint", mr = (e) => e === 1 / 0 || e === -1 / 0, vr = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), Ar = (e) => e instanceof URL;
3020
+ s();
3021
+ var pn = (e) => e.replace(/\./g, "\\."), ge = (e) => e.map(String).map(pn).join("."), Y = (e) => {
3022
+ const t = [];
3023
+ let n = "";
3024
+ for (let r = 0; r < e.length; r++) {
3025
+ let o = e.charAt(r);
3026
+ if (o === "\\" && e.charAt(r + 1) === ".") {
3027
+ n += ".", r++;
3028
+ continue;
3029
+ }
3030
+ if (o === ".") {
3031
+ t.push(n), n = "";
3032
+ continue;
3033
+ }
3034
+ n += o;
3035
+ }
3036
+ const u = n;
3037
+ return t.push(u), t;
3038
+ };
3039
+ s();
3040
+ function R(e, t, n, u) {
3041
+ return {
3042
+ isApplicable: e,
3043
+ annotation: t,
3044
+ transform: n,
3045
+ untransform: u
3046
+ };
3047
+ }
3048
+ var hn = [
3049
+ R(dn, "undefined", () => null, () => {
3050
+ }),
3051
+ R(gr, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
3052
+ R(Er, "Date", (e) => e.toISOString(), (e) => new Date(e)),
3053
+ R(pr, "Error", (e, t) => {
3054
+ const n = {
3055
+ name: e.name,
3056
+ message: e.message
3057
+ };
3058
+ return t.allowedErrorProps.forEach((u) => {
3059
+ n[u] = e[u];
3060
+ }), n;
3061
+ }, (e, t) => {
3062
+ const n = new Error(e.message);
3063
+ return n.name = e.name, n.stack = e.stack, t.allowedErrorProps.forEach((u) => {
3064
+ n[u] = e[u];
3065
+ }), n;
3066
+ }),
3067
+ R(dr, "regexp", (e) => "" + e, (e) => {
3068
+ const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
3069
+ return new RegExp(t, n);
3070
+ }),
3071
+ R(
3072
+ Q,
3073
+ "set",
3074
+ // (sets only exist in es6+)
3075
+ // eslint-disable-next-line es5/no-es6-methods
3076
+ (e) => [...e.values()],
3077
+ (e) => new Set(e)
3078
+ ),
3079
+ R(J, "map", (e) => [...e.entries()], (e) => new Map(e)),
3080
+ R((e) => wt(e) || mr(e), "number", (e) => wt(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
3081
+ R((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
3082
+ R(Ar, "URL", (e) => e.toString(), (e) => new URL(e))
3083
+ ];
3084
+ function ce(e, t, n, u) {
3085
+ return {
3086
+ isApplicable: e,
3087
+ annotation: t,
3088
+ transform: n,
3089
+ untransform: u
3090
+ };
3091
+ }
3092
+ var gn = ce((e, t) => En(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
3093
+ const u = n.symbolRegistry.getValue(t[1]);
3094
+ if (!u)
3095
+ throw new Error("Trying to deserialize unknown symbol");
3096
+ return u;
3097
+ }), yr = [
3098
+ Int8Array,
3099
+ Uint8Array,
3100
+ Int16Array,
3101
+ Uint16Array,
3102
+ Int32Array,
3103
+ Uint32Array,
3104
+ Float32Array,
3105
+ Float64Array,
3106
+ Uint8ClampedArray
3107
+ ].reduce((e, t) => (e[t.name] = t, e), {}), mn = ce(vr, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
3108
+ const n = yr[t[1]];
3109
+ if (!n)
3110
+ throw new Error("Trying to deserialize unknown typed array");
3111
+ return new n(e);
3112
+ });
3113
+ function vn(e, t) {
3114
+ return e != null && e.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
3115
+ }
3116
+ var An = ce(vn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
3117
+ const n = t.classRegistry.getAllowedProps(e.constructor);
3118
+ if (!n)
3119
+ return { ...e };
3120
+ const u = {};
3121
+ return n.forEach((r) => {
3122
+ u[r] = e[r];
3123
+ }), u;
3124
+ }, (e, t, n) => {
3125
+ const u = n.classRegistry.getValue(t[1]);
3126
+ if (!u)
3127
+ throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
3128
+ return Object.assign(Object.create(u.prototype), e);
3129
+ }), yn = ce((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
3130
+ const u = n.customTransformerRegistry.findByName(t[1]);
3131
+ if (!u)
3132
+ throw new Error("Trying to deserialize unknown custom value");
3133
+ return u.deserialize(e);
3134
+ }), Or = [An, gn, yn, mn], Pt = (e, t) => {
3135
+ const n = Rt(Or, (r) => r.isApplicable(e, t));
3136
+ if (n)
3137
+ return {
3138
+ value: n.transform(e, t),
3139
+ type: n.annotation(e, t)
3140
+ };
3141
+ const u = Rt(hn, (r) => r.isApplicable(e, t));
3142
+ if (u)
3143
+ return {
3144
+ value: u.transform(e, t),
3145
+ type: u.annotation
3146
+ };
3147
+ }, On = {};
3148
+ hn.forEach((e) => {
3149
+ On[e.annotation] = e;
3150
+ });
3151
+ var Cr = (e, t, n) => {
3152
+ if (x(t))
3153
+ switch (t[0]) {
3154
+ case "symbol":
3155
+ return gn.untransform(e, t, n);
3156
+ case "class":
3157
+ return An.untransform(e, t, n);
3158
+ case "custom":
3159
+ return yn.untransform(e, t, n);
3160
+ case "typed-array":
3161
+ return mn.untransform(e, t, n);
3162
+ default:
3163
+ throw new Error("Unknown transformation: " + t);
3164
+ }
3165
+ else {
3166
+ const u = On[t];
3167
+ if (!u)
3168
+ throw new Error("Unknown transformation: " + t);
3169
+ return u.untransform(e, n);
3170
+ }
3171
+ };
3172
+ s();
3173
+ var M = (e, t) => {
3174
+ if (t > e.size)
3175
+ throw new Error("index out of bounds");
3176
+ const n = e.keys();
3177
+ for (; t > 0; )
3178
+ n.next(), t--;
3179
+ return n.next().value;
3180
+ };
3181
+ function Cn(e) {
3182
+ if (ie(e, "__proto__"))
3183
+ throw new Error("__proto__ is not allowed as a property");
3184
+ if (ie(e, "prototype"))
3185
+ throw new Error("prototype is not allowed as a property");
3186
+ if (ie(e, "constructor"))
3187
+ throw new Error("constructor is not allowed as a property");
3188
+ }
3189
+ var Tr = (e, t) => {
3190
+ Cn(t);
3191
+ for (let n = 0; n < t.length; n++) {
3192
+ const u = t[n];
3193
+ if (Q(e))
3194
+ e = M(e, +u);
3195
+ else if (J(e)) {
3196
+ const r = +u, o = +t[++n] == 0 ? "key" : "value", i = M(e, r);
3197
+ switch (o) {
3198
+ case "key":
3199
+ e = i;
3200
+ break;
3201
+ case "value":
3202
+ e = e.get(i);
3203
+ break;
3204
+ }
3205
+ } else
3206
+ e = e[u];
3207
+ }
3208
+ return e;
3209
+ }, De = (e, t, n) => {
3210
+ if (Cn(t), t.length === 0)
3211
+ return n(e);
3212
+ let u = e;
3213
+ for (let o = 0; o < t.length - 1; o++) {
3214
+ const i = t[o];
3215
+ if (x(u)) {
3216
+ const a = +i;
3217
+ u = u[a];
3218
+ } else if (X(u))
3219
+ u = u[i];
3220
+ else if (Q(u)) {
3221
+ const a = +i;
3222
+ u = M(u, a);
3223
+ } else if (J(u)) {
3224
+ if (o === t.length - 2)
3225
+ break;
3226
+ const h = +i, p = +t[++o] == 0 ? "key" : "value", A = M(u, h);
3227
+ switch (p) {
3228
+ case "key":
3229
+ u = A;
3230
+ break;
3231
+ case "value":
3232
+ u = u.get(A);
3233
+ break;
3234
+ }
3235
+ }
3236
+ }
3237
+ const r = t[t.length - 1];
3238
+ if (x(u) ? u[+r] = n(u[+r]) : X(u) && (u[r] = n(u[r])), Q(u)) {
3239
+ const o = M(u, +r), i = n(o);
3240
+ o !== i && (u.delete(o), u.add(i));
3241
+ }
3242
+ if (J(u)) {
3243
+ const o = +t[t.length - 2], i = M(u, o);
3244
+ switch (+r == 0 ? "key" : "value") {
3245
+ case "key": {
3246
+ const h = n(i);
3247
+ u.set(h, u.get(i)), h !== i && u.delete(i);
3248
+ break;
3249
+ }
3250
+ case "value": {
3251
+ u.set(i, n(u.get(i)));
3252
+ break;
3253
+ }
3254
+ }
3255
+ }
3256
+ return e;
3257
+ };
3258
+ function Se(e, t, n = []) {
3259
+ if (!e)
3260
+ return;
3261
+ if (!x(e)) {
3262
+ z(e, (o, i) => Se(o, t, [...n, ...Y(i)]));
3263
+ return;
3264
+ }
3265
+ const [u, r] = e;
3266
+ r && z(r, (o, i) => {
3267
+ Se(o, t, [...n, ...Y(i)]);
3268
+ }), t(u, n);
3269
+ }
3270
+ function Dr(e, t, n) {
3271
+ return Se(t, (u, r) => {
3272
+ e = De(e, r, (o) => Cr(o, u, n));
3273
+ }), e;
3274
+ }
3275
+ function Sr(e, t) {
3276
+ function n(u, r) {
3277
+ const o = Tr(e, Y(r));
3278
+ u.map(Y).forEach((i) => {
3279
+ e = De(e, i, () => o);
3280
+ });
3281
+ }
3282
+ if (x(t)) {
3283
+ const [u, r] = t;
3284
+ u.forEach((o) => {
3285
+ e = De(e, Y(o), () => e);
3286
+ }), r && z(r, n);
3287
+ } else
3288
+ z(t, n);
3289
+ return e;
3290
+ }
3291
+ var Ir = (e, t) => X(e) || x(e) || J(e) || Q(e) || vn(e, t);
3292
+ function kr(e, t, n) {
3293
+ const u = n.get(e);
3294
+ u ? u.push(t) : n.set(e, [t]);
3295
+ }
3296
+ function br(e, t) {
3297
+ const n = {};
3298
+ let u;
3299
+ return e.forEach((r) => {
3300
+ if (r.length <= 1)
3301
+ return;
3302
+ t || (r = r.map((a) => a.map(String)).sort((a, h) => a.length - h.length));
3303
+ const [o, ...i] = r;
3304
+ o.length === 0 ? u = i.map(ge) : n[ge(o)] = i.map(ge);
3305
+ }), u ? Te(n) ? [u] : [u, n] : Te(n) ? void 0 : n;
3306
+ }
3307
+ var Tn = (e, t, n, u, r = [], o = [], i = /* @__PURE__ */ new Map()) => {
3308
+ var a;
3309
+ const h = hr(e);
3310
+ if (!h) {
3311
+ kr(e, r, t);
3312
+ const _ = i.get(e);
3313
+ if (_)
3314
+ return u ? {
3315
+ transformedValue: null
3316
+ } : _;
3317
+ }
3318
+ if (!Ir(e, n)) {
3319
+ const _ = Pt(e, n), g = _ ? {
3320
+ transformedValue: _.value,
3321
+ annotations: [_.type]
3322
+ } : {
3323
+ transformedValue: e
3324
+ };
3325
+ return h || i.set(e, g), g;
3326
+ }
3327
+ if (ie(o, e))
3328
+ return {
3329
+ transformedValue: null
3330
+ };
3331
+ const p = Pt(e, n), A = (a = p == null ? void 0 : p.value) != null ? a : e, d = x(A) ? [] : {}, m = {};
3332
+ z(A, (_, g) => {
3333
+ if (g === "__proto__" || g === "constructor" || g === "prototype")
3334
+ throw new Error(`Detected property ${g}. This is a prototype pollution risk, please remove it from your object.`);
3335
+ const f = Tn(_, t, n, u, [...r, g], [...o, e], i);
3336
+ d[g] = f.transformedValue, x(f.annotations) ? m[g] = f.annotations : X(f.annotations) && z(f.annotations, (E, C) => {
3337
+ m[pn(g) + "." + C] = E;
3338
+ });
3339
+ });
3340
+ const c = Te(m) ? {
3341
+ transformedValue: d,
3342
+ annotations: p ? [p.type] : void 0
3343
+ } : {
3344
+ transformedValue: d,
3345
+ annotations: p ? [p.type, m] : m
3346
+ };
3347
+ return h || i.set(e, c), c;
3348
+ };
3349
+ s();
3350
+ s();
3351
+ function Dn(e) {
3352
+ return Object.prototype.toString.call(e).slice(8, -1);
3353
+ }
3354
+ function Vt(e) {
3355
+ return Dn(e) === "Array";
3356
+ }
3357
+ function Rr(e) {
3358
+ if (Dn(e) !== "Object")
3359
+ return !1;
3360
+ const t = Object.getPrototypeOf(e);
3361
+ return !!t && t.constructor === Object && t === Object.prototype;
3362
+ }
3363
+ function wr(e, t, n, u, r) {
3364
+ const o = {}.propertyIsEnumerable.call(u, t) ? "enumerable" : "nonenumerable";
3365
+ o === "enumerable" && (e[t] = n), r && o === "nonenumerable" && Object.defineProperty(e, t, {
3366
+ value: n,
3367
+ enumerable: !1,
3368
+ writable: !0,
3369
+ configurable: !0
3370
+ });
3371
+ }
3372
+ function Ie(e, t = {}) {
3373
+ if (Vt(e))
3374
+ return e.map((r) => Ie(r, t));
3375
+ if (!Rr(e))
3376
+ return e;
3377
+ const n = Object.getOwnPropertyNames(e), u = Object.getOwnPropertySymbols(e);
3378
+ return [...n, ...u].reduce((r, o) => {
3379
+ if (Vt(t.props) && !t.props.includes(o))
3380
+ return r;
3381
+ const i = e[o], a = Ie(i, t);
3382
+ return wr(r, o, a, e, t.nonenumerable), r;
3383
+ }, {});
3384
+ }
3385
+ var O = class {
3386
+ /**
3387
+ * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
3388
+ */
3389
+ constructor({ dedupe: e = !1 } = {}) {
3390
+ this.classRegistry = new rr(), this.symbolRegistry = new fn((t) => {
3391
+ var n;
3392
+ return (n = t.description) != null ? n : "";
3393
+ }), this.customTransformerRegistry = new sr(), this.allowedErrorProps = [], this.dedupe = e;
3394
+ }
3395
+ serialize(e) {
3396
+ const t = /* @__PURE__ */ new Map(), n = Tn(e, t, this, this.dedupe), u = {
3397
+ json: n.transformedValue
3398
+ };
3399
+ n.annotations && (u.meta = {
3400
+ ...u.meta,
3401
+ values: n.annotations
3402
+ });
3403
+ const r = br(t, this.dedupe);
3404
+ return r && (u.meta = {
3405
+ ...u.meta,
3406
+ referentialEqualities: r
3407
+ }), u;
3408
+ }
3409
+ deserialize(e) {
3410
+ const { json: t, meta: n } = e;
3411
+ let u = Ie(t);
3412
+ return n != null && n.values && (u = Dr(u, n.values, this)), n != null && n.referentialEqualities && (u = Sr(u, n.referentialEqualities)), u;
3413
+ }
3414
+ stringify(e) {
3415
+ return JSON.stringify(this.serialize(e));
3416
+ }
3417
+ parse(e) {
3418
+ return this.deserialize(JSON.parse(e));
3419
+ }
3420
+ registerClass(e, t) {
3421
+ this.classRegistry.register(e, t);
3422
+ }
3423
+ registerSymbol(e, t) {
3424
+ this.symbolRegistry.register(e, t);
3425
+ }
3426
+ registerCustom(e, t) {
3427
+ this.customTransformerRegistry.register({
3428
+ name: t,
3429
+ ...e
3430
+ });
3431
+ }
3432
+ allowErrorProps(...e) {
3433
+ this.allowedErrorProps.push(...e);
3434
+ }
3435
+ };
3436
+ O.defaultInstance = new O();
3437
+ O.serialize = O.defaultInstance.serialize.bind(O.defaultInstance);
3438
+ O.deserialize = O.defaultInstance.deserialize.bind(O.defaultInstance);
3439
+ O.stringify = O.defaultInstance.stringify.bind(O.defaultInstance);
3440
+ O.parse = O.defaultInstance.parse.bind(O.defaultInstance);
3441
+ O.registerClass = O.defaultInstance.registerClass.bind(O.defaultInstance);
3442
+ O.registerSymbol = O.defaultInstance.registerSymbol.bind(O.defaultInstance);
3443
+ O.registerCustom = O.defaultInstance.registerCustom.bind(O.defaultInstance);
3444
+ O.allowErrorProps = O.defaultInstance.allowErrorProps.bind(O.defaultInstance);
3445
+ s();
3446
+ s();
3447
+ s();
3448
+ s();
3449
+ s();
3450
+ s();
3451
+ s();
3452
+ s();
3453
+ s();
3454
+ s();
3455
+ s();
3456
+ s();
3457
+ s();
3458
+ s();
3459
+ s();
3460
+ s();
3461
+ s();
3462
+ s();
3463
+ s();
3464
+ s();
3465
+ s();
3466
+ s();
3467
+ s();
3468
+ var xt, Nt;
3469
+ (Nt = (xt = l).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null || (xt.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
3470
+ var Ft, Ut;
3471
+ (Ut = (Ft = l).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null || (Ft.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
3472
+ var Bt, Lt;
3473
+ (Lt = (Bt = l).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null || (Bt.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
3474
+ var Mt, Kt;
3475
+ (Kt = (Mt = l).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null || (Mt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
3476
+ var Ht, zt;
3477
+ (zt = (Ht = l).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null || (Ht.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
3478
+ var $t, jt;
3479
+ (jt = ($t = l).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null || ($t.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
3480
+ s();
3481
+ s();
3482
+ s();
3483
+ s();
3484
+ s();
3485
+ s();
3486
+ s();
3487
+ export {
3488
+ xr as addCustomCommand,
3489
+ Vr as addCustomTab,
3490
+ Ur as onDevToolsClientConnected,
3491
+ Pr as onDevToolsConnected,
3492
+ Nr as removeCustomCommand,
3493
+ Fr as setupDevToolsPlugin,
3494
+ Fr as setupDevtoolsPlugin
3495
+ };