@oneclick.dev/cms-core-modules 0.0.53 → 0.0.54

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.
Files changed (126) hide show
  1. package/dist/CalendarDate-CRT2Viyt.mjs +830 -0
  2. package/dist/CalendarDate-CWtpXgpD.js +1 -0
  3. package/dist/Components-D9yIIosM.mjs +623 -0
  4. package/dist/Components-DXbx0RLV.js +1 -0
  5. package/dist/ContentEditor-DRJFQKCv.mjs +34915 -0
  6. package/dist/ContentEditor-DzTi8fSZ.js +290 -0
  7. package/dist/Create-BP8TX6rj.js +1 -0
  8. package/dist/Create-Bwf1RXdG.mjs +1248 -0
  9. package/dist/DateFormatter-BbcSwTs4.js +1 -0
  10. package/dist/DateFormatter-CbO0PVUK.mjs +99 -0
  11. package/dist/Detail-B-PnkcXD.mjs +3473 -0
  12. package/dist/Detail-BVlGSjOq.mjs +380 -0
  13. package/dist/Detail-C4E1T87K.mjs +26 -0
  14. package/dist/Detail-CNfTDUE5.js +1 -0
  15. package/dist/Detail-Cd5CBVN0.js +1 -0
  16. package/dist/Detail-CpfOQChd.mjs +585 -0
  17. package/dist/Detail-CwagT6gQ.mjs +650 -0
  18. package/dist/Detail-DUo6qKqO.js +1 -0
  19. package/dist/Detail-Dd_OkpcN.js +1 -0
  20. package/dist/Detail-mvSGbnFU.js +1 -0
  21. package/dist/EditLayout.vue_vue_type_script_setup_true_lang-BWuKVkvV.js +1 -0
  22. package/dist/EditLayout.vue_vue_type_script_setup_true_lang-D0-EcU0_.mjs +55 -0
  23. package/dist/Entries-DcpPvlYj.js +1 -0
  24. package/dist/Entries-QLMtTYLX.mjs +713 -0
  25. package/dist/Find-BPR0uU-Z.mjs +229 -0
  26. package/dist/Find-BidEQJxT.js +1 -0
  27. package/dist/GlobalStyling-CMzPRd18.js +17 -0
  28. package/dist/GlobalStyling-DoLHUJeV.mjs +988 -0
  29. package/dist/Overview-BDlBCUI_.js +1 -0
  30. package/dist/Overview-BH3NwvNX.mjs +26 -0
  31. package/dist/Overview-BLsZMHNW.mjs +178 -0
  32. package/dist/Overview-BNMZ9MUK.js +1 -0
  33. package/dist/Overview-BbvfH1u-.js +1 -0
  34. package/dist/Overview-CDN88OSM.mjs +190 -0
  35. package/dist/Overview-CEPodGCn.mjs +311 -0
  36. package/dist/Overview-CvquDPhB.js +1 -0
  37. package/dist/Overview-D54pjmI6.mjs +633 -0
  38. package/dist/Overview-D67UjG6n.mjs +947 -0
  39. package/dist/Overview-KT2Mgfh5.js +1 -0
  40. package/dist/Overview-T-lsy3UZ.js +1 -0
  41. package/dist/RegularSlotEditor.vue_vue_type_script_setup_true_lang-0xZSq0rx.js +1 -0
  42. package/dist/RegularSlotEditor.vue_vue_type_script_setup_true_lang-Bj_PVLLV.mjs +392 -0
  43. package/dist/TableView-CpO53xcX.js +111 -0
  44. package/dist/TableView-D9J5rUls.mjs +72921 -0
  45. package/dist/TemplateList.vue_vue_type_script_setup_true_lang-B_AtWnHa.js +1 -0
  46. package/dist/TemplateList.vue_vue_type_script_setup_true_lang-BiLAkhIA.mjs +40 -0
  47. package/dist/View-DlHBZbFu.js +1 -0
  48. package/dist/View-Dv5QMrSn.mjs +25 -0
  49. package/dist/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
  50. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  51. package/dist/agenda-B49oKGeh.mjs +706 -0
  52. package/dist/agenda-DipQ5IWP.js +1 -0
  53. package/dist/availability-C7q9tq6l.js +1 -0
  54. package/dist/availability-DeCkqiu8.mjs +613 -0
  55. package/dist/cms-core-modules.css +1 -1
  56. package/dist/countries-BTPvmrsb.mjs +4 -0
  57. package/dist/countries-CgZ081No.js +1 -0
  58. package/dist/exceptions-D3b18TiY.mjs +647 -0
  59. package/dist/exceptions-DJ9zWX3k.js +1 -0
  60. package/dist/floating-ui.dom-C82nbomj.js +1 -0
  61. package/dist/floating-ui.dom-ouSgPqty.mjs +1133 -0
  62. package/dist/google-CvtuJwgk.mjs +4 -0
  63. package/dist/google-D4N3gb01.js +1 -0
  64. package/dist/index--jjEzba7.mjs +24 -0
  65. package/dist/index-9HVlmvK3.js +1 -0
  66. package/dist/index-BEGU8Kme.mjs +12 -0
  67. package/dist/index-Bwi1mtkq.mjs +24 -0
  68. package/dist/index-BzuHN-r8.mjs +24 -0
  69. package/dist/index-CImCyE3L.mjs +24 -0
  70. package/dist/index-CKPshlZ8-BQiiP6r_.mjs +1264 -0
  71. package/dist/index-CKPshlZ8-CIz1tDwX.js +1 -0
  72. package/dist/index-CQiY-oTN.mjs +24 -0
  73. package/dist/index-CSxYBeVA.js +1 -0
  74. package/dist/index-CkiNvRzs.js +1 -0
  75. package/dist/index-Co4ON2Di.js +1 -0
  76. package/dist/index-CwqrAU-H.js +1 -0
  77. package/dist/index-Cz-baGax.js +1 -0
  78. package/dist/index-D2a6wEPh.js +1 -0
  79. package/dist/index-DFQGVHTs.js +1 -0
  80. package/dist/index-DI6mydpm.mjs +138 -0
  81. package/dist/index-DMoyoaks.mjs +22 -0
  82. package/dist/index-DT1wWnUk.mjs +24 -0
  83. package/dist/index-DUeFrD-B.js +1 -0
  84. package/dist/index-DsnoK4ia.mjs +579 -0
  85. package/dist/index-R2oUDsjx.js +1 -0
  86. package/dist/index-RLz1QPrf.mjs +203 -0
  87. package/dist/index-UtjLbLw-.js +1 -0
  88. package/dist/index-_mG-aU3Z.mjs +87 -0
  89. package/dist/index-_sQDF1pH.js +1 -0
  90. package/dist/index-ijdf0d9-.js +1 -0
  91. package/dist/index-klI238nT.mjs +24 -0
  92. package/dist/index.cjs.js +1 -330
  93. package/dist/index.mjs +287 -69051
  94. package/dist/interpolation-BNUjI7LH.js +1 -0
  95. package/dist/interpolation-BpGXqOz8.mjs +59 -0
  96. package/dist/payment-kTjsV0Jj.js +1 -0
  97. package/dist/payment-zpCM0LD-.mjs +981 -0
  98. package/dist/regular-C4_3YXqx.mjs +602 -0
  99. package/dist/regular-DFwPEbZO.js +1 -0
  100. package/dist/regular-slots-4ooEpICB.mjs +67 -0
  101. package/dist/regular-slots-BAVGbomI.js +1 -0
  102. package/dist/resources-MpQkSstv.mjs +563 -0
  103. package/dist/resources-iM28T3dD.js +1 -0
  104. package/dist/src/appointments/index.d.ts +4 -28
  105. package/dist/src/appointments/routes.d.ts +3 -9
  106. package/dist/src/content-manager/index.d.ts +5 -147
  107. package/dist/src/content-manager/routes.d.ts +4 -128
  108. package/dist/src/custom/index.d.ts +2 -2
  109. package/dist/src/custom/routes.d.ts +1 -1
  110. package/dist/src/mail-templates/index.d.ts +2 -30
  111. package/dist/src/mail-templates/routes.d.ts +1 -11
  112. package/dist/src/product-collections/index.d.ts +2 -30
  113. package/dist/src/product-collections/routes.d.ts +1 -11
  114. package/dist/src/products/index.d.ts +2 -30
  115. package/dist/src/products/routes.d.ts +1 -11
  116. package/dist/src/promo-codes/index.d.ts +2 -30
  117. package/dist/src/promo-codes/routes.d.ts +1 -11
  118. package/dist/src/shipping-options/index.d.ts +2 -30
  119. package/dist/src/shipping-options/routes.d.ts +1 -11
  120. package/dist/src/table/index.d.ts +2 -70
  121. package/dist/src/table/routes.d.ts +1 -51
  122. package/dist/utils-BVKy9S2J.mjs +29 -0
  123. package/dist/utils-D6CaKJbp.js +2 -0
  124. package/dist/vee-validate-zod-BPQyEfpF.js +1 -0
  125. package/dist/vee-validate-zod-IXkfh-6Q.mjs +4402 -0
  126. package/package.json +3 -3
@@ -0,0 +1,1264 @@
1
+ var X, Ge, Ee, le, sn = Object.create, $e = Object.defineProperty, an = Object.getOwnPropertyDescriptor, Ue = Object.getOwnPropertyNames, ln = Object.getPrototypeOf, cn = Object.prototype.hasOwnProperty, te = (X = { "../../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"() {
2
+ } }, function() {
3
+ return X && (Ge = (0, X[Ue(X)[0]])(X = 0)), Ge;
4
+ }), un = (Ee = { "../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e, t) {
5
+ function n(o) {
6
+ return o instanceof Buffer ? Buffer.from(o) : new o.constructor(o.buffer.slice(), o.byteOffset, o.length);
7
+ }
8
+ te(), t.exports = function(o) {
9
+ if ((o = o || {}).circles) return (function(a) {
10
+ const l = [], u = [], h = /* @__PURE__ */ new Map();
11
+ if (h.set(Date, (d) => new Date(d)), h.set(Map, (d, p) => new Map(E(Array.from(d), p))), h.set(Set, (d, p) => new Set(E(Array.from(d), p))), a.constructorHandlers) for (const d of a.constructorHandlers) h.set(d[0], d[1]);
12
+ let f = null;
13
+ return a.proto ? T : y;
14
+ function E(d, p) {
15
+ const O = Object.keys(d), g = new Array(O.length);
16
+ for (let k = 0; k < O.length; k++) {
17
+ const D = O[k], w = d[D];
18
+ if (typeof w != "object" || w === null) g[D] = w;
19
+ else if (w.constructor !== Object && (f = h.get(w.constructor))) g[D] = f(w, p);
20
+ else if (ArrayBuffer.isView(w)) g[D] = n(w);
21
+ else {
22
+ const q = l.indexOf(w);
23
+ g[D] = q !== -1 ? u[q] : p(w);
24
+ }
25
+ }
26
+ return g;
27
+ }
28
+ function y(d) {
29
+ if (typeof d != "object" || d === null) return d;
30
+ if (Array.isArray(d)) return E(d, y);
31
+ if (d.constructor !== Object && (f = h.get(d.constructor))) return f(d, y);
32
+ const p = {};
33
+ l.push(d), u.push(p);
34
+ for (const O in d) {
35
+ if (Object.hasOwnProperty.call(d, O) === !1) continue;
36
+ const g = d[O];
37
+ if (typeof g != "object" || g === null) p[O] = g;
38
+ else if (g.constructor !== Object && (f = h.get(g.constructor))) p[O] = f(g, y);
39
+ else if (ArrayBuffer.isView(g)) p[O] = n(g);
40
+ else {
41
+ const k = l.indexOf(g);
42
+ p[O] = k !== -1 ? u[k] : y(g);
43
+ }
44
+ }
45
+ return l.pop(), u.pop(), p;
46
+ }
47
+ function T(d) {
48
+ if (typeof d != "object" || d === null) return d;
49
+ if (Array.isArray(d)) return E(d, T);
50
+ if (d.constructor !== Object && (f = h.get(d.constructor))) return f(d, T);
51
+ const p = {};
52
+ l.push(d), u.push(p);
53
+ for (const O in d) {
54
+ const g = d[O];
55
+ if (typeof g != "object" || g === null) p[O] = g;
56
+ else if (g.constructor !== Object && (f = h.get(g.constructor))) p[O] = f(g, T);
57
+ else if (ArrayBuffer.isView(g)) p[O] = n(g);
58
+ else {
59
+ const k = l.indexOf(g);
60
+ p[O] = k !== -1 ? u[k] : T(g);
61
+ }
62
+ }
63
+ return l.pop(), u.pop(), p;
64
+ }
65
+ })(o);
66
+ const r = /* @__PURE__ */ new Map();
67
+ if (r.set(Date, (a) => new Date(a)), r.set(Map, (a, l) => new Map(i(Array.from(a), l))), r.set(Set, (a, l) => new Set(i(Array.from(a), l))), o.constructorHandlers) for (const a of o.constructorHandlers) r.set(a[0], a[1]);
68
+ let s = null;
69
+ return o.proto ? function a(l) {
70
+ if (typeof l != "object" || l === null) return l;
71
+ if (Array.isArray(l)) return i(l, a);
72
+ if (l.constructor !== Object && (s = r.get(l.constructor))) return s(l, a);
73
+ const u = {};
74
+ for (const h in l) {
75
+ const f = l[h];
76
+ typeof f != "object" || f === null ? u[h] = f : f.constructor !== Object && (s = r.get(f.constructor)) ? u[h] = s(f, a) : ArrayBuffer.isView(f) ? u[h] = n(f) : u[h] = a(f);
77
+ }
78
+ return u;
79
+ } : function a(l) {
80
+ if (typeof l != "object" || l === null) return l;
81
+ if (Array.isArray(l)) return i(l, a);
82
+ if (l.constructor !== Object && (s = r.get(l.constructor))) return s(l, a);
83
+ const u = {};
84
+ for (const h in l) {
85
+ if (Object.hasOwnProperty.call(l, h) === !1) continue;
86
+ const f = l[h];
87
+ typeof f != "object" || f === null ? u[h] = f : f.constructor !== Object && (s = r.get(f.constructor)) ? u[h] = s(f, a) : ArrayBuffer.isView(f) ? u[h] = n(f) : u[h] = a(f);
88
+ }
89
+ return u;
90
+ };
91
+ function i(a, l) {
92
+ const u = Object.keys(a), h = new Array(u.length);
93
+ for (let f = 0; f < u.length; f++) {
94
+ const E = u[f], y = a[E];
95
+ typeof y != "object" || y === null ? h[E] = y : y.constructor !== Object && (s = r.get(y.constructor)) ? h[E] = s(y, l) : ArrayBuffer.isView(y) ? h[E] = n(y) : h[E] = l(y);
96
+ }
97
+ return h;
98
+ }
99
+ };
100
+ } }, function() {
101
+ return le || (0, Ee[Ue(Ee)[0]])((le = { exports: {} }).exports, le), le.exports;
102
+ });
103
+ te(), te(), te();
104
+ var Fe, Vt = typeof navigator < "u", _ = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
105
+ _.chrome !== void 0 && _.chrome.devtools, Vt && (_.self, _.top), typeof navigator < "u" && ((Fe = navigator.userAgent) == null || Fe.toLowerCase().includes("electron")), te();
106
+ var dn = ((e, t, n) => (n = e != null ? sn(ln(e)) : {}, ((o, r, s, i) => {
107
+ if (r && typeof r == "object" || typeof r == "function") for (let a of Ue(r)) cn.call(o, a) || a === s || $e(o, a, { get: () => r[a], enumerable: !(i = an(r, a)) || i.enumerable });
108
+ return o;
109
+ })($e(n, "default", { value: e, enumerable: !0 }), e)))(un()), pn = /(?:^|[-_/])(\w)/g;
110
+ function _n(e, t) {
111
+ return t ? t.toUpperCase() : "";
112
+ }
113
+ var We = (0, dn.default)({ circles: !0 });
114
+ const fn = { trailing: !0 };
115
+ function $(e, t = 25, n = {}) {
116
+ if (n = { ...fn, ...n }, !Number.isFinite(t)) throw new TypeError("Expected `wait` to be a finite number");
117
+ let o, r, s, i, a = [];
118
+ const l = (u, h) => (s = (async function(f, E, y) {
119
+ return await f.apply(E, y);
120
+ })(e, u, h), s.finally(() => {
121
+ if (s = null, n.trailing && i && !r) {
122
+ const f = l(u, i);
123
+ return i = null, f;
124
+ }
125
+ }), s);
126
+ return function(...u) {
127
+ return s ? (n.trailing && (i = u), s) : new Promise((h) => {
128
+ const f = !r && n.leading;
129
+ clearTimeout(r), r = setTimeout(() => {
130
+ r = null;
131
+ const E = n.leading ? o : l(this, u);
132
+ for (const y of a) y(E);
133
+ a = [];
134
+ }, t), f ? (o = l(this, u), h(o)) : a.push(h);
135
+ });
136
+ };
137
+ }
138
+ function be(e, t = {}, n) {
139
+ for (const o in e) {
140
+ const r = e[o], s = n ? `${n}:${o}` : o;
141
+ typeof r == "object" && r !== null ? be(r, t, s) : typeof r == "function" && (t[s] = r);
142
+ }
143
+ return t;
144
+ }
145
+ const hn = { run: (e) => e() }, Pt = console.createTask !== void 0 ? console.createTask : () => hn;
146
+ function gn(e, t) {
147
+ const n = t.shift(), o = Pt(n);
148
+ return e.reduce((r, s) => r.then(() => o.run(() => s(...t))), Promise.resolve());
149
+ }
150
+ function mn(e, t) {
151
+ const n = t.shift(), o = Pt(n);
152
+ return Promise.all(e.map((r) => o.run(() => r(...t))));
153
+ }
154
+ function ye(e, t) {
155
+ for (const n of [...e]) n(t);
156
+ }
157
+ class En {
158
+ constructor() {
159
+ 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);
160
+ }
161
+ hook(t, n, o = {}) {
162
+ if (!t || typeof n != "function") return () => {
163
+ };
164
+ const r = t;
165
+ let s;
166
+ for (; this._deprecatedHooks[t]; ) s = this._deprecatedHooks[t], t = s.to;
167
+ if (s && !o.allowDeprecated) {
168
+ let i = s.message;
169
+ i || (i = `${r} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(i) || (console.warn(i), this._deprecatedMessages.add(i));
170
+ }
171
+ if (!n.name) try {
172
+ Object.defineProperty(n, "name", { get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb", configurable: !0 });
173
+ } catch {
174
+ }
175
+ return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(n), () => {
176
+ n && (this.removeHook(t, n), n = void 0);
177
+ };
178
+ }
179
+ hookOnce(t, n) {
180
+ let o, r = (...s) => (typeof o == "function" && o(), o = void 0, r = void 0, n(...s));
181
+ return o = this.hook(t, r), o;
182
+ }
183
+ removeHook(t, n) {
184
+ if (this._hooks[t]) {
185
+ const o = this._hooks[t].indexOf(n);
186
+ o !== -1 && this._hooks[t].splice(o, 1), this._hooks[t].length === 0 && delete this._hooks[t];
187
+ }
188
+ }
189
+ deprecateHook(t, n) {
190
+ this._deprecatedHooks[t] = typeof n == "string" ? { to: n } : n;
191
+ const o = this._hooks[t] || [];
192
+ delete this._hooks[t];
193
+ for (const r of o) this.hook(t, r);
194
+ }
195
+ deprecateHooks(t) {
196
+ Object.assign(this._deprecatedHooks, t);
197
+ for (const n in t) this.deprecateHook(n, t[n]);
198
+ }
199
+ addHooks(t) {
200
+ const n = be(t), o = Object.keys(n).map((r) => this.hook(r, n[r]));
201
+ return () => {
202
+ for (const r of o.splice(0, o.length)) r();
203
+ };
204
+ }
205
+ removeHooks(t) {
206
+ const n = be(t);
207
+ for (const o in n) this.removeHook(o, n[o]);
208
+ }
209
+ removeAllHooks() {
210
+ for (const t in this._hooks) delete this._hooks[t];
211
+ }
212
+ callHook(t, ...n) {
213
+ return n.unshift(t), this.callHookWith(gn, t, ...n);
214
+ }
215
+ callHookParallel(t, ...n) {
216
+ return n.unshift(t), this.callHookWith(mn, t, ...n);
217
+ }
218
+ callHookWith(t, n, ...o) {
219
+ const r = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
220
+ this._before && ye(this._before, r);
221
+ const s = t(n in this._hooks ? [...this._hooks[n]] : [], o);
222
+ return s instanceof Promise ? s.finally(() => {
223
+ this._after && r && ye(this._after, r);
224
+ }) : (this._after && r && ye(this._after, r), s);
225
+ }
226
+ beforeEach(t) {
227
+ return this._before = this._before || [], this._before.push(t), () => {
228
+ if (this._before !== void 0) {
229
+ const n = this._before.indexOf(t);
230
+ n !== -1 && this._before.splice(n, 1);
231
+ }
232
+ };
233
+ }
234
+ afterEach(t) {
235
+ return this._after = this._after || [], this._after.push(t), () => {
236
+ if (this._after !== void 0) {
237
+ const n = this._after.indexOf(t);
238
+ n !== -1 && this._after.splice(n, 1);
239
+ }
240
+ };
241
+ }
242
+ }
243
+ function At() {
244
+ return new En();
245
+ }
246
+ var ce, yn = Object.create, Ye = Object.defineProperty, On = Object.getOwnPropertyDescriptor, Le = Object.getOwnPropertyNames, vn = Object.getPrototypeOf, Tn = Object.prototype.hasOwnProperty, Rt = (e, t) => function() {
247
+ return t || (0, e[Le(e)[0]])((t = { exports: {} }).exports, t), t.exports;
248
+ }, c = /* @__PURE__ */ ((e, t) => function() {
249
+ return e && (t = (0, e[Le(e)[0]])(e = 0)), t;
250
+ })({ "../../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"() {
251
+ } }), bn = Rt({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e, t) {
252
+ c(), (function(n) {
253
+ var o = { À: "A", Á: "A", Â: "A", Ã: "A", Ä: "Ae", Å: "A", Æ: "AE", Ç: "C", È: "E", É: "E", Ê: "E", Ë: "E", Ì: "I", Í: "I", Î: "I", Ï: "I", Ð: "D", Ñ: "N", Ò: "O", Ó: "O", Ô: "O", Õ: "O", Ö: "Oe", Ő: "O", Ø: "O", Ù: "U", Ú: "U", Û: "U", Ü: "Ue", Ű: "U", Ý: "Y", Þ: "TH", ß: "ss", à: "a", á: "a", â: "a", ã: "a", ä: "ae", å: "a", æ: "ae", ç: "c", è: "e", é: "e", ê: "e", ë: "e", ì: "i", í: "i", î: "i", ï: "i", ð: "d", ñ: "n", ò: "o", ó: "o", ô: "o", õ: "o", ö: "oe", ő: "o", ø: "o", ù: "u", ú: "u", û: "u", ü: "ue", ű: "u", ý: "y", þ: "th", ÿ: "y", "ẞ": "SS", ا: "a", أ: "a", إ: "i", آ: "aa", ؤ: "u", ئ: "e", ء: "a", ب: "b", ت: "t", ث: "th", ج: "j", ح: "h", خ: "kh", د: "d", ذ: "th", ر: "r", ز: "z", س: "s", ش: "sh", ص: "s", ض: "dh", ط: "t", ظ: "z", ع: "a", غ: "gh", ف: "f", ق: "q", ك: "k", ل: "l", م: "m", ن: "n", ه: "h", و: "w", ي: "y", ى: "a", ة: "h", ﻻ: "la", ﻷ: "laa", ﻹ: "lai", ﻵ: "laa", گ: "g", چ: "ch", پ: "p", ژ: "zh", ک: "k", ی: "y", "َ": "a", "ً": "an", "ِ": "e", "ٍ": "en", "ُ": "u", "ٌ": "on", "ْ": "", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9", က: "k", ခ: "kh", ဂ: "g", ဃ: "ga", င: "ng", စ: "s", ဆ: "sa", ဇ: "z", "စျ": "za", ည: "ny", ဋ: "t", ဌ: "ta", ဍ: "d", ဎ: "da", ဏ: "na", တ: "t", ထ: "ta", ဒ: "d", ဓ: "da", န: "n", ပ: "p", ဖ: "pa", ဗ: "b", ဘ: "ba", မ: "m", ယ: "y", ရ: "ya", လ: "l", ဝ: "w", သ: "th", ဟ: "h", ဠ: "la", အ: "a", "ြ": "y", "ျ": "ya", "ွ": "w", "ြွ": "yw", "ျွ": "ywa", "ှ": "h", ဧ: "e", "၏": "-e", ဣ: "i", ဤ: "-i", ဉ: "u", ဦ: "-u", ဩ: "aw", "သြော": "aw", ဪ: "aw", "၀": "0", "၁": "1", "၂": "2", "၃": "3", "၄": "4", "၅": "5", "၆": "6", "၇": "7", "၈": "8", "၉": "9", "္": "", "့": "", "း": "", č: "c", ď: "d", ě: "e", ň: "n", ř: "r", š: "s", ť: "t", ů: "u", ž: "z", Č: "C", Ď: "D", Ě: "E", Ň: "N", Ř: "R", Š: "S", Ť: "T", Ů: "U", Ž: "Z", ހ: "h", ށ: "sh", ނ: "n", ރ: "r", ބ: "b", ޅ: "lh", ކ: "k", އ: "a", ވ: "v", މ: "m", ފ: "f", ދ: "dh", ތ: "th", ލ: "l", ގ: "g", ޏ: "gn", ސ: "s", ޑ: "d", ޒ: "z", ޓ: "t", ޔ: "y", ޕ: "p", ޖ: "j", ޗ: "ch", ޘ: "tt", ޙ: "hh", ޚ: "kh", ޛ: "th", ޜ: "z", ޝ: "sh", ޞ: "s", ޟ: "d", ޠ: "t", ޡ: "z", ޢ: "a", ޣ: "gh", ޤ: "q", ޥ: "w", "ަ": "a", "ާ": "aa", "ި": "i", "ީ": "ee", "ު": "u", "ޫ": "oo", "ެ": "e", "ޭ": "ey", "ޮ": "o", "ޯ": "oa", "ް": "", ა: "a", ბ: "b", გ: "g", დ: "d", ე: "e", ვ: "v", ზ: "z", თ: "t", ი: "i", კ: "k", ლ: "l", მ: "m", ნ: "n", ო: "o", პ: "p", ჟ: "zh", რ: "r", ს: "s", ტ: "t", უ: "u", ფ: "p", ქ: "k", ღ: "gh", ყ: "q", შ: "sh", ჩ: "ch", ც: "ts", ძ: "dz", წ: "ts", ჭ: "ch", ხ: "kh", ჯ: "j", ჰ: "h", α: "a", β: "v", γ: "g", δ: "d", ε: "e", ζ: "z", η: "i", θ: "th", ι: "i", κ: "k", λ: "l", μ: "m", ν: "n", ξ: "ks", ο: "o", π: "p", ρ: "r", σ: "s", τ: "t", υ: "y", φ: "f", χ: "x", ψ: "ps", ω: "o", ά: "a", έ: "e", ί: "i", ό: "o", ύ: "y", ή: "i", ώ: "o", ς: "s", ϊ: "i", ΰ: "y", ϋ: "y", ΐ: "i", Α: "A", Β: "B", Γ: "G", Δ: "D", Ε: "E", Ζ: "Z", Η: "I", Θ: "TH", Ι: "I", Κ: "K", Λ: "L", Μ: "M", Ν: "N", Ξ: "KS", Ο: "O", Π: "P", Ρ: "R", Σ: "S", Τ: "T", Υ: "Y", Φ: "F", Χ: "X", Ψ: "PS", Ω: "O", Ά: "A", Έ: "E", Ί: "I", Ό: "O", Ύ: "Y", Ή: "I", Ώ: "O", Ϊ: "I", Ϋ: "Y", ā: "a", ē: "e", ģ: "g", ī: "i", ķ: "k", ļ: "l", ņ: "n", ū: "u", Ā: "A", Ē: "E", Ģ: "G", Ī: "I", Ķ: "k", Ļ: "L", Ņ: "N", Ū: "U", Ќ: "Kj", ќ: "kj", Љ: "Lj", љ: "lj", Њ: "Nj", њ: "nj", Тс: "Ts", тс: "ts", ą: "a", ć: "c", ę: "e", ł: "l", ń: "n", ś: "s", ź: "z", ż: "z", Ą: "A", Ć: "C", Ę: "E", Ł: "L", Ń: "N", Ś: "S", Ź: "Z", Ż: "Z", Є: "Ye", І: "I", Ї: "Yi", Ґ: "G", є: "ye", і: "i", ї: "yi", ґ: "g", ă: "a", Ă: "A", ș: "s", Ș: "S", ț: "t", Ț: "T", ţ: "t", Ţ: "T", а: "a", б: "b", в: "v", г: "g", д: "d", е: "e", ё: "yo", ж: "zh", з: "z", и: "i", й: "i", к: "k", л: "l", м: "m", н: "n", о: "o", п: "p", р: "r", с: "s", т: "t", у: "u", ф: "f", х: "kh", ц: "c", ч: "ch", ш: "sh", щ: "sh", ъ: "", ы: "y", ь: "", э: "e", ю: "yu", я: "ya", А: "A", Б: "B", В: "V", Г: "G", Д: "D", Е: "E", Ё: "Yo", Ж: "Zh", З: "Z", И: "I", Й: "I", К: "K", Л: "L", М: "M", Н: "N", О: "O", П: "P", Р: "R", С: "S", Т: "T", У: "U", Ф: "F", Х: "Kh", Ц: "C", Ч: "Ch", Ш: "Sh", Щ: "Sh", Ъ: "", Ы: "Y", Ь: "", Э: "E", Ю: "Yu", Я: "Ya", ђ: "dj", ј: "j", ћ: "c", џ: "dz", Ђ: "Dj", Ј: "j", Ћ: "C", Џ: "Dz", ľ: "l", ĺ: "l", ŕ: "r", Ľ: "L", Ĺ: "L", Ŕ: "R", ş: "s", Ş: "S", ı: "i", İ: "I", ğ: "g", Ğ: "G", ả: "a", Ả: "A", ẳ: "a", Ẳ: "A", ẩ: "a", Ẩ: "A", đ: "d", Đ: "D", ẹ: "e", Ẹ: "E", ẽ: "e", Ẽ: "E", ẻ: "e", Ẻ: "E", ế: "e", Ế: "E", ề: "e", Ề: "E", ệ: "e", Ệ: "E", ễ: "e", Ễ: "E", ể: "e", Ể: "E", ỏ: "o", ọ: "o", Ọ: "o", ố: "o", Ố: "O", ồ: "o", Ồ: "O", ổ: "o", Ổ: "O", ộ: "o", Ộ: "O", ỗ: "o", Ỗ: "O", ơ: "o", Ơ: "O", ớ: "o", Ớ: "O", ờ: "o", Ờ: "O", ợ: "o", Ợ: "O", ỡ: "o", Ỡ: "O", Ở: "o", ở: "o", ị: "i", Ị: "I", ĩ: "i", Ĩ: "I", ỉ: "i", Ỉ: "i", ủ: "u", Ủ: "U", ụ: "u", Ụ: "U", ũ: "u", Ũ: "U", ư: "u", Ư: "U", ứ: "u", Ứ: "U", ừ: "u", Ừ: "U", ự: "u", Ự: "U", ữ: "u", Ữ: "U", ử: "u", Ử: "ư", ỷ: "y", Ỷ: "y", ỳ: "y", Ỳ: "Y", ỵ: "y", Ỵ: "Y", ỹ: "y", Ỹ: "Y", ạ: "a", Ạ: "A", ấ: "a", Ấ: "A", ầ: "a", Ầ: "A", ậ: "a", Ậ: "A", ẫ: "a", Ẫ: "A", ắ: "a", Ắ: "A", ằ: "a", Ằ: "A", ặ: "a", Ặ: "A", ẵ: "a", Ẵ: "A", "⓪": "0", "①": "1", "②": "2", "③": "3", "④": "4", "⑤": "5", "⑥": "6", "⑦": "7", "⑧": "8", "⑨": "9", "⑩": "10", "⑪": "11", "⑫": "12", "⑬": "13", "⑭": "14", "⑮": "15", "⑯": "16", "⑰": "17", "⑱": "18", "⑲": "18", "⑳": "18", "⓵": "1", "⓶": "2", "⓷": "3", "⓸": "4", "⓹": "5", "⓺": "6", "⓻": "7", "⓼": "8", "⓽": "9", "⓾": "10", "⓿": "0", "⓫": "11", "⓬": "12", "⓭": "13", "⓮": "14", "⓯": "15", "⓰": "16", "⓱": "17", "⓲": "18", "⓳": "19", "⓴": "20", "Ⓐ": "A", "Ⓑ": "B", "Ⓒ": "C", "Ⓓ": "D", "Ⓔ": "E", "Ⓕ": "F", "Ⓖ": "G", "Ⓗ": "H", "Ⓘ": "I", "Ⓙ": "J", "Ⓚ": "K", "Ⓛ": "L", "Ⓜ": "M", "Ⓝ": "N", "Ⓞ": "O", "Ⓟ": "P", "Ⓠ": "Q", "Ⓡ": "R", "Ⓢ": "S", "Ⓣ": "T", "Ⓤ": "U", "Ⓥ": "V", "Ⓦ": "W", "Ⓧ": "X", "Ⓨ": "Y", "Ⓩ": "Z", "ⓐ": "a", "ⓑ": "b", "ⓒ": "c", "ⓓ": "d", "ⓔ": "e", "ⓕ": "f", "ⓖ": "g", "ⓗ": "h", "ⓘ": "i", "ⓙ": "j", "ⓚ": "k", "ⓛ": "l", "ⓜ": "m", "ⓝ": "n", "ⓞ": "o", "ⓟ": "p", "ⓠ": "q", "ⓡ": "r", "ⓢ": "s", "ⓣ": "t", "ⓤ": "u", "ⓦ": "v", "ⓥ": "w", "ⓧ": "x", "ⓨ": "y", "ⓩ": "z", "“": '"', "”": '"', "‘": "'", "’": "'", "∂": "d", ƒ: "f", "™": "(TM)", "©": "(C)", œ: "oe", Œ: "OE", "®": "(R)", "†": "+", "℠": "(SM)", "…": "...", "˚": "o", º: "o", ª: "a", "•": "*", "၊": ",", "။": ".", $: "USD", "€": "EUR", "₢": "BRN", "₣": "FRF", "£": "GBP", "₤": "ITL", "₦": "NGN", "₧": "ESP", "₩": "KRW", "₪": "ILS", "₫": "VND", "₭": "LAK", "₮": "MNT", "₯": "GRD", "₱": "ARS", "₲": "PYG", "₳": "ARA", "₴": "UAH", "₵": "GHS", "¢": "cent", "¥": "CNY", 元: "CNY", 円: "YEN", "﷼": "IRR", "₠": "EWE", "฿": "THB", "₨": "INR", "₹": "INR", "₰": "PF", "₺": "TRY", "؋": "AFN", "₼": "AZN", лв: "BGN", "៛": "KHR", "₡": "CRC", "₸": "KZT", ден: "MKD", zł: "PLN", "₽": "RUB", "₾": "GEL" }, r = ["်", "ް"], s = { "ာ": "a", "ါ": "a", "ေ": "e", "ဲ": "e", "ိ": "i", "ီ": "i", "ို": "o", "ု": "u", "ူ": "u", "ေါင်": "aung", "ော": "aw", "ော်": "aw", "ေါ": "aw", "ေါ်": "aw", "်": "်", "က်": "et", "ိုက်": "aik", "ောက်": "auk", "င်": "in", "ိုင်": "aing", "ောင်": "aung", "စ်": "it", "ည်": "i", "တ်": "at", "ိတ်": "eik", "ုတ်": "ok", "ွတ်": "ut", "ေတ်": "it", "ဒ်": "d", "ိုဒ်": "ok", "ုဒ်": "ait", "န်": "an", "ာန်": "an", "ိန်": "ein", "ုန်": "on", "ွန်": "un", "ပ်": "at", "ိပ်": "eik", "ုပ်": "ok", "ွပ်": "ut", "န်ုပ်": "nub", "မ်": "an", "ိမ်": "ein", "ုမ်": "on", "ွမ်": "un", "ယ်": "e", "ိုလ်": "ol", "ဉ်": "in", "ံ": "an", "ိံ": "ein", "ုံ": "on", "ައް": "ah", "ަށް": "ah" }, i = { en: {}, az: { ç: "c", ə: "e", ğ: "g", ı: "i", ö: "o", ş: "s", ü: "u", Ç: "C", Ə: "E", Ğ: "G", İ: "I", Ö: "O", Ş: "S", Ü: "U" }, cs: { č: "c", ď: "d", ě: "e", ň: "n", ř: "r", š: "s", ť: "t", ů: "u", ž: "z", Č: "C", Ď: "D", Ě: "E", Ň: "N", Ř: "R", Š: "S", Ť: "T", Ů: "U", Ž: "Z" }, fi: { ä: "a", Ä: "A", ö: "o", Ö: "O" }, hu: { ä: "a", Ä: "A", ö: "o", Ö: "O", ü: "u", Ü: "U", ű: "u", Ű: "U" }, lt: { ą: "a", č: "c", ę: "e", ė: "e", į: "i", š: "s", ų: "u", ū: "u", ž: "z", Ą: "A", Č: "C", Ę: "E", Ė: "E", Į: "I", Š: "S", Ų: "U", Ū: "U" }, lv: { ā: "a", č: "c", ē: "e", ģ: "g", ī: "i", ķ: "k", ļ: "l", ņ: "n", š: "s", ū: "u", ž: "z", Ā: "A", Č: "C", Ē: "E", Ģ: "G", Ī: "i", Ķ: "k", Ļ: "L", Ņ: "N", Š: "S", Ū: "u", Ž: "Z" }, pl: { ą: "a", ć: "c", ę: "e", ł: "l", ń: "n", ó: "o", ś: "s", ź: "z", ż: "z", Ą: "A", Ć: "C", Ę: "e", Ł: "L", Ń: "N", Ó: "O", Ś: "S", Ź: "Z", Ż: "Z" }, sv: { ä: "a", Ä: "A", ö: "o", Ö: "O" }, sk: { ä: "a", Ä: "A" }, sr: { љ: "lj", њ: "nj", Љ: "Lj", Њ: "Nj", đ: "dj", Đ: "Dj" }, tr: { Ü: "U", Ö: "O", ü: "u", ö: "o" } }, a = { ar: { "∆": "delta", "∞": "la-nihaya", "♥": "hob", "&": "wa", "|": "aw", "<": "aqal-men", ">": "akbar-men", "∑": "majmou", "¤": "omla" }, az: {}, ca: { "∆": "delta", "∞": "infinit", "♥": "amor", "&": "i", "|": "o", "<": "menys que", ">": "mes que", "∑": "suma dels", "¤": "moneda" }, cs: { "∆": "delta", "∞": "nekonecno", "♥": "laska", "&": "a", "|": "nebo", "<": "mensi nez", ">": "vetsi nez", "∑": "soucet", "¤": "mena" }, de: { "∆": "delta", "∞": "unendlich", "♥": "Liebe", "&": "und", "|": "oder", "<": "kleiner als", ">": "groesser als", "∑": "Summe von", "¤": "Waehrung" }, dv: { "∆": "delta", "∞": "kolunulaa", "♥": "loabi", "&": "aai", "|": "noonee", "<": "ah vure kuda", ">": "ah vure bodu", "∑": "jumula", "¤": "faisaa" }, en: { "∆": "delta", "∞": "infinity", "♥": "love", "&": "and", "|": "or", "<": "less than", ">": "greater than", "∑": "sum", "¤": "currency" }, es: { "∆": "delta", "∞": "infinito", "♥": "amor", "&": "y", "|": "u", "<": "menos que", ">": "mas que", "∑": "suma de los", "¤": "moneda" }, fa: { "∆": "delta", "∞": "bi-nahayat", "♥": "eshgh", "&": "va", "|": "ya", "<": "kamtar-az", ">": "bishtar-az", "∑": "majmooe", "¤": "vahed" }, fi: { "∆": "delta", "∞": "aarettomyys", "♥": "rakkaus", "&": "ja", "|": "tai", "<": "pienempi kuin", ">": "suurempi kuin", "∑": "summa", "¤": "valuutta" }, fr: { "∆": "delta", "∞": "infiniment", "♥": "Amour", "&": "et", "|": "ou", "<": "moins que", ">": "superieure a", "∑": "somme des", "¤": "monnaie" }, ge: { "∆": "delta", "∞": "usasruloba", "♥": "siqvaruli", "&": "da", "|": "an", "<": "naklebi", ">": "meti", "∑": "jami", "¤": "valuta" }, gr: {}, hu: { "∆": "delta", "∞": "vegtelen", "♥": "szerelem", "&": "es", "|": "vagy", "<": "kisebb mint", ">": "nagyobb mint", "∑": "szumma", "¤": "penznem" }, it: { "∆": "delta", "∞": "infinito", "♥": "amore", "&": "e", "|": "o", "<": "minore di", ">": "maggiore di", "∑": "somma", "¤": "moneta" }, lt: { "∆": "delta", "∞": "begalybe", "♥": "meile", "&": "ir", "|": "ar", "<": "maziau nei", ">": "daugiau nei", "∑": "suma", "¤": "valiuta" }, lv: { "∆": "delta", "∞": "bezgaliba", "♥": "milestiba", "&": "un", "|": "vai", "<": "mazak neka", ">": "lielaks neka", "∑": "summa", "¤": "valuta" }, my: { "∆": "kwahkhyaet", "∞": "asaonasme", "♥": "akhyait", "&": "nhin", "|": "tho", "<": "ngethaw", ">": "kyithaw", "∑": "paungld", "¤": "ngwekye" }, mk: {}, nl: { "∆": "delta", "∞": "oneindig", "♥": "liefde", "&": "en", "|": "of", "<": "kleiner dan", ">": "groter dan", "∑": "som", "¤": "valuta" }, pl: { "∆": "delta", "∞": "nieskonczonosc", "♥": "milosc", "&": "i", "|": "lub", "<": "mniejsze niz", ">": "wieksze niz", "∑": "suma", "¤": "waluta" }, pt: { "∆": "delta", "∞": "infinito", "♥": "amor", "&": "e", "|": "ou", "<": "menor que", ">": "maior que", "∑": "soma", "¤": "moeda" }, ro: { "∆": "delta", "∞": "infinit", "♥": "dragoste", "&": "si", "|": "sau", "<": "mai mic ca", ">": "mai mare ca", "∑": "suma", "¤": "valuta" }, ru: { "∆": "delta", "∞": "beskonechno", "♥": "lubov", "&": "i", "|": "ili", "<": "menshe", ">": "bolshe", "∑": "summa", "¤": "valjuta" }, sk: { "∆": "delta", "∞": "nekonecno", "♥": "laska", "&": "a", "|": "alebo", "<": "menej ako", ">": "viac ako", "∑": "sucet", "¤": "mena" }, sr: {}, tr: { "∆": "delta", "∞": "sonsuzluk", "♥": "ask", "&": "ve", "|": "veya", "<": "kucuktur", ">": "buyuktur", "∑": "toplam", "¤": "para birimi" }, uk: { "∆": "delta", "∞": "bezkinechnist", "♥": "lubov", "&": "i", "|": "abo", "<": "menshe", ">": "bilshe", "∑": "suma", "¤": "valjuta" }, vn: { "∆": "delta", "∞": "vo cuc", "♥": "yeu", "&": "va", "|": "hoac", "<": "nho hon", ">": "lon hon", "∑": "tong", "¤": "tien te" } }, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), u = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), h = [".", "!", "~", "*", "'", "(", ")"].join(""), f = function(d, p) {
254
+ var O, g, k, D, w, q, Z, K, ze, U, m, ie, R, z, V = "-", I = "", j = "", ge = !0, L = {}, x = "";
255
+ if (typeof d != "string") return "";
256
+ if (typeof p == "string" && (V = p), Z = a.en, K = i.en, typeof p == "object") for (m in O = p.maintainCase || !1, L = p.custom && typeof p.custom == "object" ? p.custom : L, k = +p.truncate > 1 && p.truncate || !1, D = p.uric || !1, w = p.uricNoSlash || !1, q = p.mark || !1, ge = p.symbols !== !1 && p.lang !== !1, V = p.separator || V, D && (x += l), w && (x += u), q && (x += h), Z = p.lang && a[p.lang] && ge ? a[p.lang] : ge ? a.en : {}, K = p.lang && i[p.lang] ? i[p.lang] : p.lang === !1 || p.lang === !0 ? {} : i.en, p.titleCase && typeof p.titleCase.length == "number" && Array.prototype.toString.call(p.titleCase) ? (p.titleCase.forEach(function(A) {
257
+ L[A + ""] = A + "";
258
+ }), g = !0) : g = !!p.titleCase, p.custom && typeof p.custom.length == "number" && Array.prototype.toString.call(p.custom) && p.custom.forEach(function(A) {
259
+ L[A + ""] = A + "";
260
+ }), Object.keys(L).forEach(function(A) {
261
+ var ae;
262
+ ae = A.length > 1 ? new RegExp("\\b" + y(A) + "\\b", "gi") : new RegExp(y(A), "gi"), d = d.replace(ae, L[A]);
263
+ }), L) x += m;
264
+ for (x = y(x += V), R = !1, z = !1, U = 0, ie = (d = d.replace(/(^\s+|\s+$)/g, "")).length; U < ie; U++) m = d[U], T(m, L) ? R = !1 : K[m] ? (m = R && K[m].match(/[A-Za-z0-9]/) ? " " + K[m] : K[m], R = !1) : m in o ? (U + 1 < ie && r.indexOf(d[U + 1]) >= 0 ? (j += m, m = "") : z === !0 ? (m = s[j] + o[m], j = "") : m = R && o[m].match(/[A-Za-z0-9]/) ? " " + o[m] : o[m], R = !1, z = !1) : m in s ? (j += m, m = "", U === ie - 1 && (m = s[j]), z = !0) : !Z[m] || D && l.indexOf(m) !== -1 || w && u.indexOf(m) !== -1 ? (z === !0 ? (m = s[j] + m, j = "", z = !1) : R && (/[A-Za-z0-9]/.test(m) || I.substr(-1).match(/A-Za-z0-9]/)) && (m = " " + m), R = !1) : (m = R || I.substr(-1).match(/[A-Za-z0-9]/) ? V + Z[m] : Z[m], m += d[U + 1] !== void 0 && d[U + 1].match(/[A-Za-z0-9]/) ? V : "", R = !0), I += m.replace(new RegExp("[^\\w\\s" + x + "_-]", "g"), V);
265
+ return g && (I = I.replace(/(\w)(\S*)/g, function(A, ae, Be) {
266
+ var me = ae.toUpperCase() + (Be !== null ? Be : "");
267
+ return Object.keys(L).indexOf(me.toLowerCase()) < 0 ? me : me.toLowerCase();
268
+ })), I = I.replace(/\s+/g, V).replace(new RegExp("\\" + V + "+", "g"), V).replace(new RegExp("(^\\" + V + "+|\\" + V + "+$)", "g"), ""), k && I.length > k && (ze = I.charAt(k) === V, I = I.slice(0, k), ze || (I = I.slice(0, I.lastIndexOf(V)))), O || g || (I = I.toLowerCase()), I;
269
+ }, E = function(d) {
270
+ return function(p) {
271
+ return f(p, d);
272
+ };
273
+ }, y = function(d) {
274
+ return d.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
275
+ }, T = function(d, p) {
276
+ for (var O in p) if (p[O] === d) return !0;
277
+ };
278
+ if (t !== void 0 && t.exports) t.exports = f, t.exports.createSlug = E;
279
+ else if (typeof define < "u" && define.amd) define([], function() {
280
+ return f;
281
+ });
282
+ else try {
283
+ if (n.getSlug || n.createSlug) throw "speakingurl: globals exists /(getSlug|createSlug)/";
284
+ n.getSlug = f, n.createSlug = E;
285
+ } catch {
286
+ }
287
+ })(e);
288
+ } }), In = Rt({ "../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e, t) {
289
+ c(), t.exports = bn();
290
+ } });
291
+ function kn(e) {
292
+ const t = e.__file;
293
+ if (t) return (n = (function(o, r) {
294
+ let s = o.replace(/^[a-z]:/i, "").replace(/\\/g, "/");
295
+ s.endsWith(`index${r}`) && (s = s.replace(`/index${r}`, r));
296
+ const i = s.lastIndexOf("/"), a = s.substring(i + 1);
297
+ {
298
+ const l = a.lastIndexOf(r);
299
+ return a.substring(0, l);
300
+ }
301
+ })(t, ".vue")) && `${n}`.replace(pn, _n);
302
+ var n;
303
+ }
304
+ function qe(e, t) {
305
+ return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
306
+ }
307
+ function Ie(e) {
308
+ return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__ ? e.__VUE_DEVTOOLS_NEXT_APP_RECORD__ : e.root ? e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__ : void 0;
309
+ }
310
+ function Ct(e) {
311
+ var t, n;
312
+ const o = (t = e.subTree) == null ? void 0 : t.type, r = Ie(e);
313
+ return !!r && ((n = r?.types) == null ? void 0 : n.Fragment) === o;
314
+ }
315
+ function pe(e) {
316
+ var t, n, o;
317
+ const r = (function(i) {
318
+ var a;
319
+ const l = i.name || i._componentTag || i.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || i.__name;
320
+ return l === "index" && ((a = i.__file) != null && a.endsWith("index.vue")) ? "" : l;
321
+ })(e?.type || {});
322
+ if (r) return r;
323
+ if (e?.root === e) return "Root";
324
+ for (const i in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components) if (e.parent.type.components[i] === e?.type) return qe(e, i);
325
+ for (const i in (o = e.appContext) == null ? void 0 : o.components) if (e.appContext.components[i] === e?.type) return qe(e, i);
326
+ return kn(e?.type || {}) || "Anonymous Component";
327
+ }
328
+ function Oe(e, t) {
329
+ return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
330
+ }
331
+ function Sn(e) {
332
+ return ce || (ce = document.createRange()), ce.selectNode(e), ce.getBoundingClientRect();
333
+ }
334
+ function wn(e, t) {
335
+ 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;
336
+ }
337
+ c(), c(), c(), c(), c(), c(), c(), c();
338
+ var Ze = { top: 0, left: 0, right: 0, bottom: 0, width: 0, height: 0 };
339
+ function H(e) {
340
+ const t = e.subTree.el;
341
+ return typeof window > "u" ? Ze : Ct(e) ? (function(n) {
342
+ const o = /* @__PURE__ */ (function() {
343
+ const r = { top: 0, bottom: 0, left: 0, right: 0, get width() {
344
+ return r.right - r.left;
345
+ }, get height() {
346
+ return r.bottom - r.top;
347
+ } };
348
+ return r;
349
+ })();
350
+ if (!n.children) return o;
351
+ for (let r = 0, s = n.children.length; r < s; r++) {
352
+ const i = n.children[r];
353
+ let a;
354
+ if (i.component) a = H(i.component);
355
+ else if (i.el) {
356
+ const l = i.el;
357
+ l.nodeType === 1 || l.getBoundingClientRect ? a = l.getBoundingClientRect() : l.nodeType === 3 && l.data.trim() && (a = Sn(l));
358
+ }
359
+ a && wn(o, a);
360
+ }
361
+ return o;
362
+ })(e.subTree) : t?.nodeType === 1 ? t?.getBoundingClientRect() : e.subTree.component ? H(e.subTree.component) : Ze;
363
+ }
364
+ function ke(e) {
365
+ return Ct(e) ? (function(t) {
366
+ if (!t.children) return [];
367
+ const n = [];
368
+ return t.children.forEach((o) => {
369
+ o.component ? n.push(...ke(o.component)) : o?.el && n.push(o.el);
370
+ }), n;
371
+ })(e.subTree) : e.subTree ? [e.subTree.el] : [];
372
+ }
373
+ c();
374
+ var Dt = "__vue-devtools-component-inspector__", Ut = "__vue-devtools-component-inspector__card__", Lt = "__vue-devtools-component-inspector__name__", Nt = "__vue-devtools-component-inspector__indicator__", jt = { display: "block", zIndex: 2147483640, position: "fixed", backgroundColor: "#42b88325", border: "1px solid #42b88350", borderRadius: "5px", transition: "all 0.1s ease-in", pointerEvents: "none" }, Vn = { fontFamily: "Arial, Helvetica, sans-serif", padding: "5px 8px", borderRadius: "4px", textAlign: "left", position: "absolute", left: 0, color: "#e9e9e9", fontSize: "14px", fontWeight: 600, lineHeight: "24px", backgroundColor: "#42b883", boxShadow: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)" }, Pn = { display: "inline-block", fontWeight: 400, fontStyle: "normal", fontSize: "12px", opacity: 0.7 };
375
+ function W() {
376
+ return document.getElementById(Dt);
377
+ }
378
+ function Ne(e) {
379
+ return { left: Math.round(100 * e.left) / 100 + "px", top: Math.round(100 * e.top) / 100 + "px", width: Math.round(100 * e.width) / 100 + "px", height: Math.round(100 * e.height) / 100 + "px" };
380
+ }
381
+ function je(e) {
382
+ var t;
383
+ const n = document.createElement("div");
384
+ n.id = (t = e.elementId) != null ? t : Dt, Object.assign(n.style, { ...jt, ...Ne(e.bounds), ...e.style });
385
+ const o = document.createElement("span");
386
+ o.id = Ut, Object.assign(o.style, { ...Vn, top: e.bounds.top < 35 ? 0 : "-35px" });
387
+ const r = document.createElement("span");
388
+ r.id = Lt, r.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`;
389
+ const s = document.createElement("i");
390
+ return s.id = Nt, s.innerHTML = `${Math.round(100 * e.bounds.width) / 100} x ${Math.round(100 * e.bounds.height) / 100}`, Object.assign(s.style, Pn), o.appendChild(r), o.appendChild(s), n.appendChild(o), document.body.appendChild(n), n;
391
+ }
392
+ function xe(e) {
393
+ const t = W(), n = document.getElementById(Ut), o = document.getElementById(Lt), r = document.getElementById(Nt);
394
+ t && (Object.assign(t.style, { ...jt, ...Ne(e.bounds) }), Object.assign(n.style, { top: e.bounds.top < 35 ? 0 : "-35px" }), o.innerHTML = `&lt;${e.name}&gt;&nbsp;&nbsp;`, r.innerHTML = `${Math.round(100 * e.bounds.width) / 100} x ${Math.round(100 * e.bounds.height) / 100}`);
395
+ }
396
+ function xt() {
397
+ const e = W();
398
+ e && (e.style.display = "none");
399
+ }
400
+ var Se = null;
401
+ function we(e) {
402
+ const t = e.target;
403
+ if (t) {
404
+ const n = t.__vueParentComponent;
405
+ if (n && (Se = n, n.vnode.el)) {
406
+ const o = H(n), r = pe(n);
407
+ W() ? xe({ bounds: o, name: r }) : je({ bounds: o, name: r });
408
+ }
409
+ }
410
+ }
411
+ var Xe, _e = null;
412
+ function An() {
413
+ return window.addEventListener("mouseover", we), new Promise((e) => {
414
+ function t(n) {
415
+ n.preventDefault(), n.stopPropagation(), (function(o, r) {
416
+ o.preventDefault(), o.stopPropagation(), Se && r(`${(l = (a = (i = (s = Se) == null ? void 0 : s.appContext) == null ? void 0 : i.app) == null ? void 0 : a.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? l : 0}:${s === s?.root ? "root" : s.uid}`);
417
+ var s, i, a, l;
418
+ })(n, (o) => {
419
+ window.removeEventListener("click", t, !0), _e = null, window.removeEventListener("mouseover", we);
420
+ const r = W();
421
+ r && (r.style.display = "none"), e(JSON.stringify({ id: o }));
422
+ });
423
+ }
424
+ _e = t, window.addEventListener("click", t, !0);
425
+ });
426
+ }
427
+ function Rn() {
428
+ return new Promise((e) => {
429
+ function t() {
430
+ (function() {
431
+ const n = _.__VUE_INSPECTOR__, o = n.openInEditor;
432
+ n.openInEditor = async (...r) => {
433
+ n.disable(), o(...r);
434
+ };
435
+ })(), e(_.__VUE_INSPECTOR__);
436
+ }
437
+ _.__VUE_INSPECTOR__ ? t() : (function(n) {
438
+ let o = 0;
439
+ const r = setInterval(() => {
440
+ _.__VUE_INSPECTOR__ && (clearInterval(r), o += 30, n()), o >= 5e3 && clearInterval(r);
441
+ }, 30);
442
+ })(() => {
443
+ t();
444
+ });
445
+ });
446
+ }
447
+ function Mt(e) {
448
+ return (function(t) {
449
+ return !(!t || !t.__v_isReadonly);
450
+ })(e) ? Mt(e.__v_raw) : !(!e || !e.__v_isReactive);
451
+ }
452
+ function ve(e) {
453
+ return !(!e || e.__v_isRef !== !0);
454
+ }
455
+ function Q(e) {
456
+ const t = e && e.__v_raw;
457
+ return t ? Q(t) : e;
458
+ }
459
+ c(), (Xe = _).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ != null || (Xe.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0), c(), c();
460
+ var Cn = class {
461
+ constructor() {
462
+ this.refEditor = new Dn();
463
+ }
464
+ set(e, t, n, o) {
465
+ const r = Array.isArray(t) ? t : t.split(".");
466
+ for (; r.length > 1; ) {
467
+ const a = r.shift();
468
+ e = e instanceof Map ? e.get(a) : e instanceof Set ? Array.from(e.values())[a] : e[a], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
469
+ }
470
+ const s = r[0], i = this.refEditor.get(e)[s];
471
+ o ? o(e, s, n) : this.refEditor.isRef(i) ? this.refEditor.set(i, n) : e[s] = n;
472
+ }
473
+ get(e, t) {
474
+ const n = Array.isArray(t) ? t : t.split(".");
475
+ for (let o = 0; o < n.length; o++) if (e = e instanceof Map ? e.get(n[o]) : e[n[o]], this.refEditor.isRef(e) && (e = this.refEditor.get(e)), !e) return;
476
+ return e;
477
+ }
478
+ has(e, t, n = !1) {
479
+ if (e === void 0) return !1;
480
+ const o = Array.isArray(t) ? t.slice() : t.split("."), r = n ? 2 : 1;
481
+ for (; e && o.length > r; )
482
+ e = e[o.shift()], this.refEditor.isRef(e) && (e = this.refEditor.get(e));
483
+ return e != null && Object.prototype.hasOwnProperty.call(e, o[0]);
484
+ }
485
+ createDefaultSetCallback(e) {
486
+ return (t, n, o) => {
487
+ 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) {
488
+ const r = t[e.newKey || n];
489
+ this.refEditor.isRef(r) ? this.refEditor.set(r, o) : Q(t) instanceof Map ? t.set(e.newKey || n, o) : Q(t) instanceof Set ? t.add(o) : t[e.newKey || n] = o;
490
+ }
491
+ };
492
+ }
493
+ }, Dn = class {
494
+ set(e, t) {
495
+ if (ve(e)) e.value = t;
496
+ else {
497
+ if (e instanceof Set && Array.isArray(t)) return e.clear(), void t.forEach((r) => e.add(r));
498
+ const n = Object.keys(t);
499
+ if (e instanceof Map) {
500
+ const r = new Set(e.keys());
501
+ return n.forEach((s) => {
502
+ e.set(s, Reflect.get(t, s)), r.delete(s);
503
+ }), void r.forEach((s) => e.delete(s));
504
+ }
505
+ const o = new Set(Object.keys(e));
506
+ n.forEach((r) => {
507
+ Reflect.set(e, r, Reflect.get(t, r)), o.delete(r);
508
+ }), o.forEach((r) => Reflect.deleteProperty(e, r));
509
+ }
510
+ }
511
+ get(e) {
512
+ return ve(e) ? e.value : e;
513
+ }
514
+ isRef(e) {
515
+ return ve(e) || Mt(e);
516
+ }
517
+ };
518
+ c(), c(), c();
519
+ var Je;
520
+ function Un() {
521
+ if (typeof window > "u" || !Vt || typeof localStorage > "u" || localStorage === null) return { recordingState: !1, mouseEventEnabled: !1, keyboardEventEnabled: !1, componentEventEnabled: !1, performanceEventEnabled: !1, selected: "" };
522
+ const e = localStorage.getItem !== void 0 ? localStorage.getItem("__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__") : null;
523
+ return e ? JSON.parse(e) : { recordingState: !1, mouseEventEnabled: !1, keyboardEventEnabled: !1, componentEventEnabled: !1, performanceEventEnabled: !1, selected: "" };
524
+ }
525
+ c(), c(), c(), (Je = _).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (Je.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
526
+ var Qe, Ln = new Proxy(_.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, { get: (e, t, n) => Reflect.get(e, t, n) });
527
+ (Qe = _).__VUE_DEVTOOLS_KIT_INSPECTOR__ != null || (Qe.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
528
+ var et, tt, nt, ot, rt, Me = new Proxy(_.__VUE_DEVTOOLS_KIT_INSPECTOR__, { get: (e, t, n) => Reflect.get(e, t, n) }), Ht = $(() => {
529
+ Y.hooks.callHook("sendInspectorToClient", Kt());
530
+ });
531
+ function Kt() {
532
+ return Me.filter((e) => e.descriptor.app === S.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
533
+ var t;
534
+ const n = e.descriptor, o = e.options;
535
+ return { id: o.id, label: o.label, logo: n.logo, icon: `custom-ic-baseline-${(t = o?.icon) == null ? void 0 : t.replace(/_/g, "-")}`, packageName: n.packageName, homepage: n.homepage, pluginId: n.id };
536
+ });
537
+ }
538
+ function ue(e, t) {
539
+ return Me.find((n) => n.options.id === e && (!t || n.descriptor.app === t));
540
+ }
541
+ (et = _).__VUE_DEVTOOLS_KIT_APP_RECORDS__ != null || (et.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []), (tt = _).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ != null || (tt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {}), (nt = _).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ != null || (nt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = ""), (ot = _).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ != null || (ot.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []), (rt = _).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ != null || (rt.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
542
+ var st, M = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
543
+ (st = _)[M] != null || (st[M] = { connected: !1, clientConnected: !1, vitePluginDetected: !0, appRecords: [], activeAppRecordId: "", tabs: [], commands: [], highPerfModeEnabled: !0, devtoolsClientDetected: {}, perfUniqueGroupId: 0, timelineLayersState: Un() });
544
+ var Nn = $((e) => {
545
+ Y.hooks.callHook("devtoolsStateUpdated", { state: e });
546
+ });
547
+ $((e, t) => {
548
+ Y.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
549
+ });
550
+ var fe = new Proxy(_.__VUE_DEVTOOLS_KIT_APP_RECORDS__, { get: (e, t, n) => t === "value" ? _.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : _.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t] }), S = new Proxy(_.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, { get: (e, t, n) => t === "value" ? _.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? _.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : _.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t] });
551
+ function it() {
552
+ Nn({ ..._[M], appRecords: fe.value, activeAppRecordId: S.id, tabs: _.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__, commands: _.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ });
553
+ }
554
+ var at, b = new Proxy(_[M], { get: (e, t) => t === "appRecords" ? fe : t === "activeAppRecordId" ? S.id : t === "tabs" ? _.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? _.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : _[M][t], deleteProperty: (e, t) => (delete e[t], !0), set: (e, t, n) => (_[M], e[t] = n, _[M][t] = n, !0) });
555
+ function jn(e = {}) {
556
+ var t, n, o;
557
+ const { file: r, host: s, baseUrl: i = window.location.origin, line: a = 0, column: l = 0 } = e;
558
+ if (r) {
559
+ if (s === "chrome-extension") {
560
+ const u = r.replace(/\\/g, "\\\\"), h = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
561
+ fetch(`${h}__open-in-editor?file=${encodeURI(r)}`).then((f) => {
562
+ if (!f.ok) {
563
+ const E = `Opening component ${u} failed`;
564
+ console.log(`%c${E}`, "color:red");
565
+ }
566
+ });
567
+ } else if (b.vitePluginDetected) {
568
+ const u = (o = _.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : i;
569
+ _.__VUE_INSPECTOR__.openInEditor(u, r, a, l);
570
+ }
571
+ }
572
+ }
573
+ c(), c(), c(), c(), c(), (at = _).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ != null || (at.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
574
+ var lt, ct, He = new Proxy(_.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, { get: (e, t, n) => Reflect.get(e, t, n) });
575
+ function Ve(e) {
576
+ const t = {};
577
+ return Object.keys(e).forEach((n) => {
578
+ t[n] = e[n].defaultValue;
579
+ }), t;
580
+ }
581
+ function Ke(e) {
582
+ return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`;
583
+ }
584
+ function xn(e) {
585
+ var t, n, o;
586
+ const r = (n = (t = He.find((s) => {
587
+ var i;
588
+ return s[0].id === e && !!((i = s[0]) != null && i.settings);
589
+ })) == null ? void 0 : t[0]) != null ? n : null;
590
+ return (o = r?.settings) != null ? o : null;
591
+ }
592
+ function zt(e, t) {
593
+ var n, o, r;
594
+ const s = Ke(e);
595
+ if (s) {
596
+ const i = localStorage.getItem(s);
597
+ if (i) return JSON.parse(i);
598
+ }
599
+ if (e) {
600
+ const i = (o = (n = He.find((a) => a[0].id === e)) == null ? void 0 : n[0]) != null ? o : null;
601
+ return Ve((r = i?.settings) != null ? r : {});
602
+ }
603
+ return Ve(t);
604
+ }
605
+ c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c();
606
+ var P = (ct = (lt = _).__VUE_DEVTOOLS_HOOK) != null ? ct : lt.__VUE_DEVTOOLS_HOOK = At(), Mn = { vueAppInit(e) {
607
+ P.hook("app:init", e);
608
+ }, vueAppUnmount(e) {
609
+ P.hook("app:unmount", e);
610
+ }, vueAppConnected(e) {
611
+ P.hook("app:connected", e);
612
+ }, componentAdded: (e) => P.hook("component:added", e), componentEmit: (e) => P.hook("component:emit", e), componentUpdated: (e) => P.hook("component:updated", e), componentRemoved: (e) => P.hook("component:removed", e), setupDevtoolsPlugin(e) {
613
+ P.hook("devtools-plugin:setup", e);
614
+ }, perfStart: (e) => P.hook("perf:start", e), perfEnd: (e) => P.hook("perf:end", e) }, Bt = { on: Mn, setupDevToolsPlugin: (e, t) => P.callHook("devtools-plugin:setup", e, t) }, Hn = class {
615
+ constructor({ plugin: e, ctx: t }) {
616
+ this.hooks = t.hooks, this.plugin = e;
617
+ }
618
+ get on() {
619
+ return { visitComponentTree: (e) => {
620
+ this.hooks.hook("visitComponentTree", e);
621
+ }, inspectComponent: (e) => {
622
+ this.hooks.hook("inspectComponent", e);
623
+ }, editComponentState: (e) => {
624
+ this.hooks.hook("editComponentState", e);
625
+ }, getInspectorTree: (e) => {
626
+ this.hooks.hook("getInspectorTree", e);
627
+ }, getInspectorState: (e) => {
628
+ this.hooks.hook("getInspectorState", e);
629
+ }, editInspectorState: (e) => {
630
+ this.hooks.hook("editInspectorState", e);
631
+ }, inspectTimelineEvent: (e) => {
632
+ this.hooks.hook("inspectTimelineEvent", e);
633
+ }, timelineCleared: (e) => {
634
+ this.hooks.hook("timelineCleared", e);
635
+ }, setPluginSettings: (e) => {
636
+ this.hooks.hook("setPluginSettings", e);
637
+ } };
638
+ }
639
+ notifyComponentUpdate(e) {
640
+ var t;
641
+ if (b.highPerfModeEnabled) return;
642
+ const n = Kt().find((o) => o.packageName === this.plugin.descriptor.packageName);
643
+ if (n?.id) {
644
+ if (e) {
645
+ const o = [e.appContext.app, e.uid, (t = e.parent) == null ? void 0 : t.uid, e];
646
+ P.callHook("component:updated", ...o);
647
+ } else P.callHook("component:updated");
648
+ this.hooks.callHook("sendInspectorState", { inspectorId: n.id, plugin: this.plugin });
649
+ }
650
+ }
651
+ addInspector(e) {
652
+ this.hooks.callHook("addInspector", { inspector: e, plugin: this.plugin }), this.plugin.descriptor.settings && (function(t, n) {
653
+ const o = Ke(t);
654
+ localStorage.getItem(o) || localStorage.setItem(o, JSON.stringify(Ve(n)));
655
+ })(e.id, this.plugin.descriptor.settings);
656
+ }
657
+ sendInspectorTree(e) {
658
+ b.highPerfModeEnabled || this.hooks.callHook("sendInspectorTree", { inspectorId: e, plugin: this.plugin });
659
+ }
660
+ sendInspectorState(e) {
661
+ b.highPerfModeEnabled || this.hooks.callHook("sendInspectorState", { inspectorId: e, plugin: this.plugin });
662
+ }
663
+ selectInspectorNode(e, t) {
664
+ this.hooks.callHook("customInspectorSelectNode", { inspectorId: e, nodeId: t, plugin: this.plugin });
665
+ }
666
+ visitComponentTree(e) {
667
+ return this.hooks.callHook("visitComponentTree", e);
668
+ }
669
+ now() {
670
+ return b.highPerfModeEnabled ? 0 : Date.now();
671
+ }
672
+ addTimelineLayer(e) {
673
+ this.hooks.callHook("timelineLayerAdded", { options: e, plugin: this.plugin });
674
+ }
675
+ addTimelineEvent(e) {
676
+ b.highPerfModeEnabled || this.hooks.callHook("timelineEventAdded", { options: e, plugin: this.plugin });
677
+ }
678
+ getSettings(e) {
679
+ return zt(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
680
+ }
681
+ getComponentInstances(e) {
682
+ return this.hooks.callHook("getComponentInstances", { app: e });
683
+ }
684
+ getComponentBounds(e) {
685
+ return this.hooks.callHook("getComponentBounds", { instance: e });
686
+ }
687
+ getComponentName(e) {
688
+ return this.hooks.callHook("getComponentName", { instance: e });
689
+ }
690
+ highlightElement(e) {
691
+ const t = e.__VUE_DEVTOOLS_NEXT_UID__;
692
+ return this.hooks.callHook("componentHighlight", { uid: t });
693
+ }
694
+ unhighlightElement() {
695
+ return this.hooks.callHook("componentUnhighlight");
696
+ }
697
+ };
698
+ c(), c(), c(), c();
699
+ var Kn = "__vue_devtool_undefined__", zn = "__vue_devtool_infinity__", Bn = "__vue_devtool_negative_infinity__", Gn = "__vue_devtool_nan__";
700
+ c(), c();
701
+ var ut, $n = { [Kn]: "undefined", [Gn]: "NaN", [zn]: "Infinity", [Bn]: "-Infinity" };
702
+ function no(e, t) {
703
+ return Bt.setupDevToolsPlugin(e, t);
704
+ }
705
+ function Gt(e, t) {
706
+ _.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || b.highPerfModeEnabled && !t?.inspectingComponent || (_.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), He.forEach((n) => {
707
+ (function(o, r) {
708
+ const [s, i] = o;
709
+ if (s.app !== r) return;
710
+ const a = new Hn({ plugin: { setupFn: i, descriptor: s }, ctx: Y });
711
+ s.packageName === "vuex" && a.on.editInspectorState((l) => {
712
+ a.sendInspectorState(l.inspectorId);
713
+ }), i(a);
714
+ })(n, e);
715
+ }));
716
+ }
717
+ Object.entries($n).reduce((e, [t, n]) => (e[n] = t, e), {}), c(), c(), c(), c(), c(), (ut = _).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (ut.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set()), c(), c();
718
+ var dt, pt, _t, ee = "__VUE_DEVTOOLS_ROUTER__", B = "__VUE_DEVTOOLS_ROUTER_INFO__";
719
+ function Pe(e) {
720
+ return e.map((t) => {
721
+ let { path: n, name: o, children: r, meta: s } = t;
722
+ return r?.length && (r = Pe(r)), { path: n, name: o, children: r, meta: s };
723
+ });
724
+ }
725
+ function Fn(e, t) {
726
+ function n() {
727
+ var o;
728
+ const r = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, s = (function(l) {
729
+ if (l) {
730
+ const { fullPath: u, hash: h, href: f, path: E, name: y, matched: T, params: d, query: p } = l;
731
+ return { fullPath: u, hash: h, href: f, path: E, name: y, params: d, query: p, matched: Pe(T) };
732
+ }
733
+ return l;
734
+ })(r?.currentRoute.value), i = Pe((function(l) {
735
+ const u = /* @__PURE__ */ new Map();
736
+ return (l?.getRoutes() || []).filter((h) => !u.has(h.path) && u.set(h.path, 1));
737
+ })(r)), a = console.warn;
738
+ console.warn = () => {
739
+ }, _[B] = { currentRoute: s ? We(s) : {}, routes: We(i) }, _[ee] = r, console.warn = a;
740
+ }
741
+ n(), Bt.on.componentUpdated($(() => {
742
+ var o;
743
+ ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), b.highPerfModeEnabled || Y.hooks.callHook("routerInfoUpdated", { state: _[B] }));
744
+ }, 200));
745
+ }
746
+ (dt = _)[B] != null || (dt[B] = { currentRoute: null, routes: [] }), (pt = _)[ee] != null || (pt[ee] = {}), new Proxy(_[B], { get: (e, t) => _[B][t] }), new Proxy(_[ee], { get(e, t) {
747
+ if (t === "value") return _[ee];
748
+ } }), c(), (_t = _).__VUE_DEVTOOLS_ENV__ != null || (_t.__VUE_DEVTOOLS_ENV__ = { vitePluginDetected: !1 });
749
+ var ft, J, ht = (function() {
750
+ const e = At();
751
+ e.hook("addInspector", ({ inspector: o, plugin: r }) => {
752
+ (function(s, i) {
753
+ var a, l;
754
+ Me.push({ options: s, descriptor: i, treeFilterPlaceholder: (a = s.treeFilterPlaceholder) != null ? a : "Search tree...", stateFilterPlaceholder: (l = s.stateFilterPlaceholder) != null ? l : "Search state...", treeFilter: "", selectedNodeId: "", appRecord: Ie(i.app) }), Ht();
755
+ })(o, r.descriptor);
756
+ });
757
+ const t = $(async ({ inspectorId: o, plugin: r }) => {
758
+ var s;
759
+ if (!o || !((s = r?.descriptor) != null && s.app) || b.highPerfModeEnabled) return;
760
+ const i = ue(o, r.descriptor.app), a = { app: r.descriptor.app, inspectorId: o, filter: i?.treeFilter || "", rootNodes: [] };
761
+ await new Promise((l) => {
762
+ e.callHookWith(async (u) => {
763
+ await Promise.all(u.map((h) => h(a))), l();
764
+ }, "getInspectorTree");
765
+ }), e.callHookWith(async (l) => {
766
+ await Promise.all(l.map((u) => u({ inspectorId: o, rootNodes: a.rootNodes })));
767
+ }, "sendInspectorTreeToClient");
768
+ }, 120);
769
+ e.hook("sendInspectorTree", t);
770
+ const n = $(async ({ inspectorId: o, plugin: r }) => {
771
+ var s;
772
+ if (!o || !((s = r?.descriptor) != null && s.app) || b.highPerfModeEnabled) return;
773
+ const i = ue(o, r.descriptor.app), a = { app: r.descriptor.app, inspectorId: o, nodeId: i?.selectedNodeId || "", state: null }, l = { currentTab: `custom-inspector:${o}` };
774
+ a.nodeId && await new Promise((u) => {
775
+ e.callHookWith(async (h) => {
776
+ await Promise.all(h.map((f) => f(a, l))), u();
777
+ }, "getInspectorState");
778
+ }), e.callHookWith(async (u) => {
779
+ await Promise.all(u.map((h) => h({ inspectorId: o, nodeId: a.nodeId, state: a.state })));
780
+ }, "sendInspectorStateToClient");
781
+ }, 120);
782
+ return e.hook("sendInspectorState", n), e.hook("customInspectorSelectNode", ({ inspectorId: o, nodeId: r, plugin: s }) => {
783
+ const i = ue(o, s.descriptor.app);
784
+ i && (i.selectedNodeId = r);
785
+ }), e.hook("timelineLayerAdded", ({ options: o, plugin: r }) => {
786
+ (function(s, i) {
787
+ b.timelineLayersState[i.id] = !1, Ln.push({ ...s, descriptorId: i.id, appRecord: Ie(i.app) });
788
+ })(o, r.descriptor);
789
+ }), e.hook("timelineEventAdded", ({ options: o, plugin: r }) => {
790
+ var s;
791
+ b.highPerfModeEnabled || !((s = b.timelineLayersState) != null && s[r.descriptor.id]) && !["performance", "component-event", "keyboard", "mouse"].includes(o.layerId) || e.callHookWith(async (i) => {
792
+ await Promise.all(i.map((a) => a(o)));
793
+ }, "sendTimelineEventToClient");
794
+ }), e.hook("getComponentInstances", async ({ app: o }) => {
795
+ const r = o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;
796
+ if (!r) return null;
797
+ const s = r.id.toString();
798
+ return [...r.instanceMap].filter(([i]) => i.split(":")[0] === s).map(([, i]) => i);
799
+ }), e.hook("getComponentBounds", async ({ instance: o }) => H(o)), e.hook("getComponentName", ({ instance: o }) => pe(o)), e.hook("componentHighlight", ({ uid: o }) => {
800
+ const r = S.value.instanceMap.get(o);
801
+ r && (function(s) {
802
+ const i = H(s);
803
+ if (!i.width && !i.height) return;
804
+ const a = pe(s);
805
+ W() ? xe({ bounds: i, name: a }) : je({ bounds: i, name: a });
806
+ })(r);
807
+ }), e.hook("componentUnhighlight", () => {
808
+ xt();
809
+ }), e;
810
+ })();
811
+ (ft = _).__VUE_DEVTOOLS_KIT_CONTEXT__ != null || (ft.__VUE_DEVTOOLS_KIT_CONTEXT__ = { hooks: ht, get state() {
812
+ return { ...b, activeAppRecordId: S.id, activeAppRecord: S.value, appRecords: fe.value };
813
+ }, api: (J = ht, { async getInspectorTree(e) {
814
+ const t = { ...e, app: S.value.app, rootNodes: [] };
815
+ return await new Promise((n) => {
816
+ J.callHookWith(async (o) => {
817
+ await Promise.all(o.map((r) => r(t))), n();
818
+ }, "getInspectorTree");
819
+ }), t.rootNodes;
820
+ }, async getInspectorState(e) {
821
+ const t = { ...e, app: S.value.app, state: null }, n = { currentTab: `custom-inspector:${e.inspectorId}` };
822
+ return await new Promise((o) => {
823
+ J.callHookWith(async (r) => {
824
+ await Promise.all(r.map((s) => s(t, n))), o();
825
+ }, "getInspectorState");
826
+ }), t.state;
827
+ }, editInspectorState(e) {
828
+ const t = new Cn(), n = { ...e, app: S.value.app, set: (o, r = e.path, s = e.state.value, i) => {
829
+ t.set(o, r, s, i || t.createDefaultSetCallback(e.state));
830
+ } };
831
+ J.callHookWith((o) => {
832
+ o.forEach((r) => r(n));
833
+ }, "editInspectorState");
834
+ }, sendInspectorState(e) {
835
+ const t = ue(e);
836
+ J.callHook("sendInspectorState", { inspectorId: e, plugin: { descriptor: t.descriptor, setupFn: () => ({}) } });
837
+ }, inspectComponentInspector: () => An(), cancelInspectComponentInspector: () => (xt(), window.removeEventListener("mouseover", we), window.removeEventListener("click", _e, !0), void (_e = null)), getComponentRenderCode(e) {
838
+ const t = Oe(S.value, e);
839
+ if (t) return typeof t?.type != "function" ? t.render.toString() : t.type.toString();
840
+ }, scrollToComponent: (e) => (function(t) {
841
+ const n = Oe(S.value, t.id);
842
+ if (n) {
843
+ const [o] = ke(n);
844
+ if (typeof o.scrollIntoView == "function") o.scrollIntoView({ behavior: "smooth" });
845
+ else {
846
+ const r = H(n), s = document.createElement("div"), i = { ...Ne(r), position: "absolute" };
847
+ Object.assign(s.style, i), document.body.appendChild(s), s.scrollIntoView({ behavior: "smooth" }), setTimeout(() => {
848
+ document.body.removeChild(s);
849
+ }, 2e3);
850
+ }
851
+ setTimeout(() => {
852
+ const r = H(n);
853
+ if (r.width || r.height) {
854
+ const s = pe(n), i = W();
855
+ i ? xe({ ...t, name: s, bounds: r }) : je({ ...t, name: s, bounds: r }), setTimeout(() => {
856
+ i && (i.style.display = "none");
857
+ }, 1500);
858
+ }
859
+ }, 1200);
860
+ }
861
+ })({ id: e }), openInEditor: jn, getVueInspector: Rn, toggleApp(e, t) {
862
+ const n = fe.value.find((r) => r.id === e);
863
+ var o;
864
+ n && ((function(r) {
865
+ _.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = r, it();
866
+ })(e), o = n, _.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = o, it(), Fn(n, S), Ht(), Gt(n.app, t));
867
+ }, inspectDOM(e) {
868
+ const t = Oe(S.value, e);
869
+ if (t) {
870
+ const [n] = ke(t);
871
+ n && (_.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = n);
872
+ }
873
+ }, updatePluginSettings(e, t, n) {
874
+ (function(o, r, s) {
875
+ const i = Ke(o), a = localStorage.getItem(i), l = JSON.parse(a || "{}"), u = { ...l, [r]: s };
876
+ localStorage.setItem(i, JSON.stringify(u)), Y.hooks.callHookWith((h) => {
877
+ h.forEach((f) => f({ pluginId: o, key: r, oldValue: l[r], newValue: s, settings: u }));
878
+ }, "setPluginSettings");
879
+ })(e, t, n);
880
+ }, getPluginSettings: (e) => ({ options: xn(e), values: zt(e) }) }) });
881
+ var gt, mt, Y = _.__VUE_DEVTOOLS_KIT_CONTEXT__;
882
+ c(), ((e, t, n) => {
883
+ n = e != null ? yn(vn(e)) : {}, ((o, r, s, i) => {
884
+ if (r && typeof r == "object" || typeof r == "function") for (let a of Le(r)) Tn.call(o, a) || a === s || Ye(o, a, { get: () => r[a], enumerable: !(i = On(r, a)) || i.enumerable });
885
+ })(Ye(n, "default", { value: e, enumerable: !0 }), e);
886
+ })(In()), (gt = _).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ != null || (gt.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = { id: 0, appIds: /* @__PURE__ */ new Set() }), c(), c(), c(), c(), c(), (mt = _).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ != null || (mt.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = function(e) {
887
+ b.devtoolsClientDetected = { ...b.devtoolsClientDetected, ...e };
888
+ const t = Object.values(b.devtoolsClientDetected).some(Boolean);
889
+ var n;
890
+ n = !t, b.highPerfModeEnabled = n ?? !b.highPerfModeEnabled, !n && S.value && Gt(S.value.app);
891
+ }), c(), c(), c(), c(), c(), c(), c();
892
+ var Wn = class {
893
+ constructor() {
894
+ this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
895
+ }
896
+ set(e, t) {
897
+ this.keyToValue.set(e, t), this.valueToKey.set(t, e);
898
+ }
899
+ getByKey(e) {
900
+ return this.keyToValue.get(e);
901
+ }
902
+ getByValue(e) {
903
+ return this.valueToKey.get(e);
904
+ }
905
+ clear() {
906
+ this.keyToValue.clear(), this.valueToKey.clear();
907
+ }
908
+ }, $t = class {
909
+ constructor(e) {
910
+ this.generateIdentifier = e, this.kv = new Wn();
911
+ }
912
+ register(e, t) {
913
+ this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
914
+ }
915
+ clear() {
916
+ this.kv.clear();
917
+ }
918
+ getIdentifier(e) {
919
+ return this.kv.getByValue(e);
920
+ }
921
+ getValue(e) {
922
+ return this.kv.getByKey(e);
923
+ }
924
+ }, Yn = class extends $t {
925
+ constructor() {
926
+ super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
927
+ }
928
+ register(e, t) {
929
+ typeof t == "object" ? (t.allowProps && this.classToAllowedProps.set(e, t.allowProps), super.register(e, t.identifier)) : super.register(e, t);
930
+ }
931
+ getAllowedProps(e) {
932
+ return this.classToAllowedProps.get(e);
933
+ }
934
+ };
935
+ function qn(e, t) {
936
+ const n = (function(r) {
937
+ if ("values" in Object) return Object.values(r);
938
+ const s = [];
939
+ for (const i in r) r.hasOwnProperty(i) && s.push(r[i]);
940
+ return s;
941
+ })(e);
942
+ if ("find" in n) return n.find(t);
943
+ const o = n;
944
+ for (let r = 0; r < o.length; r++) {
945
+ const s = o[r];
946
+ if (t(s)) return s;
947
+ }
948
+ }
949
+ function F(e, t) {
950
+ Object.entries(e).forEach(([n, o]) => t(o, n));
951
+ }
952
+ function de(e, t) {
953
+ return e.indexOf(t) !== -1;
954
+ }
955
+ function Et(e, t) {
956
+ for (let n = 0; n < e.length; n++) {
957
+ const o = e[n];
958
+ if (t(o)) return o;
959
+ }
960
+ }
961
+ c(), c();
962
+ var Zn = class {
963
+ constructor() {
964
+ this.transfomers = {};
965
+ }
966
+ register(e) {
967
+ this.transfomers[e.name] = e;
968
+ }
969
+ findApplicable(e) {
970
+ return qn(this.transfomers, (t) => t.isApplicable(e));
971
+ }
972
+ findByName(e) {
973
+ return this.transfomers[e];
974
+ }
975
+ };
976
+ c(), c();
977
+ var Ft = (e) => e === void 0, oe = (e) => typeof e == "object" && e !== null && e !== Object.prototype && (Object.getPrototypeOf(e) === null || Object.getPrototypeOf(e) === Object.prototype), Ae = (e) => oe(e) && Object.keys(e).length === 0, N = (e) => Array.isArray(e), re = (e) => e instanceof Map, se = (e) => e instanceof Set, Wt = (e) => ((t) => Object.prototype.toString.call(t).slice(8, -1))(e) === "Symbol", yt = (e) => typeof e == "number" && isNaN(e), Xn = (e) => /* @__PURE__ */ ((t) => typeof t == "boolean")(e) || /* @__PURE__ */ ((t) => t === null)(e) || Ft(e) || ((t) => typeof t == "number" && !isNaN(t))(e) || /* @__PURE__ */ ((t) => typeof t == "string")(e) || Wt(e);
978
+ c();
979
+ var Yt = (e) => e.replace(/\./g, "\\."), Te = (e) => e.map(String).map(Yt).join("."), ne = (e) => {
980
+ const t = [];
981
+ let n = "";
982
+ for (let r = 0; r < e.length; r++) {
983
+ let s = e.charAt(r);
984
+ if (s === "\\" && e.charAt(r + 1) === ".") {
985
+ n += ".", r++;
986
+ continue;
987
+ }
988
+ s === "." ? (t.push(n), n = "") : n += s;
989
+ }
990
+ const o = n;
991
+ return t.push(o), t;
992
+ };
993
+ function C(e, t, n, o) {
994
+ return { isApplicable: e, annotation: t, transform: n, untransform: o };
995
+ }
996
+ c();
997
+ var qt = [C(Ft, "undefined", () => null, () => {
998
+ }), C((e) => typeof e == "bigint", "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)), C((e) => e instanceof Date && !isNaN(e.valueOf()), "Date", (e) => e.toISOString(), (e) => new Date(e)), C((e) => e instanceof Error, "Error", (e, t) => {
999
+ const n = { name: e.name, message: e.message };
1000
+ return t.allowedErrorProps.forEach((o) => {
1001
+ n[o] = e[o];
1002
+ }), n;
1003
+ }, (e, t) => {
1004
+ const n = new Error(e.message);
1005
+ return n.name = e.name, n.stack = e.stack, t.allowedErrorProps.forEach((o) => {
1006
+ n[o] = e[o];
1007
+ }), n;
1008
+ }), C((e) => e instanceof RegExp, "regexp", (e) => "" + e, (e) => {
1009
+ const t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
1010
+ return new RegExp(t, n);
1011
+ }), C(se, "set", (e) => [...e.values()], (e) => new Set(e)), C(re, "map", (e) => [...e.entries()], (e) => new Map(e)), C((e) => {
1012
+ return yt(e) || (t = e) === 1 / 0 || t === -1 / 0;
1013
+ var t;
1014
+ }, "number", (e) => yt(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number), C((e) => e === 0 && 1 / e == -1 / 0, "number", () => "-0", Number), C((e) => e instanceof URL, "URL", (e) => e.toString(), (e) => new URL(e))];
1015
+ function he(e, t, n, o) {
1016
+ return { isApplicable: e, annotation: t, transform: n, untransform: o };
1017
+ }
1018
+ var Zt = he((e, t) => Wt(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
1019
+ const o = n.symbolRegistry.getValue(t[1]);
1020
+ if (!o) throw new Error("Trying to deserialize unknown symbol");
1021
+ return o;
1022
+ }), Jn = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array, Uint8ClampedArray].reduce((e, t) => (e[t.name] = t, e), {}), Xt = he((e) => ArrayBuffer.isView(e) && !(e instanceof DataView), (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
1023
+ const n = Jn[t[1]];
1024
+ if (!n) throw new Error("Trying to deserialize unknown typed array");
1025
+ return new n(e);
1026
+ });
1027
+ function Jt(e, t) {
1028
+ return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
1029
+ }
1030
+ var Qt = he(Jt, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
1031
+ const n = t.classRegistry.getAllowedProps(e.constructor);
1032
+ if (!n) return { ...e };
1033
+ const o = {};
1034
+ return n.forEach((r) => {
1035
+ o[r] = e[r];
1036
+ }), o;
1037
+ }, (e, t, n) => {
1038
+ const o = n.classRegistry.getValue(t[1]);
1039
+ if (!o) throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
1040
+ return Object.assign(Object.create(o.prototype), e);
1041
+ }), en = he((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) => {
1042
+ const o = n.customTransformerRegistry.findByName(t[1]);
1043
+ if (!o) throw new Error("Trying to deserialize unknown custom value");
1044
+ return o.deserialize(e);
1045
+ }), Qn = [Qt, Zt, en, Xt], Ot = (e, t) => {
1046
+ const n = Et(Qn, (r) => r.isApplicable(e, t));
1047
+ if (n) return { value: n.transform(e, t), type: n.annotation(e, t) };
1048
+ const o = Et(qt, (r) => r.isApplicable(e, t));
1049
+ return o ? { value: o.transform(e, t), type: o.annotation } : void 0;
1050
+ }, tn = {};
1051
+ qt.forEach((e) => {
1052
+ tn[e.annotation] = e;
1053
+ });
1054
+ c();
1055
+ var G = (e, t) => {
1056
+ if (t > e.size) throw new Error("index out of bounds");
1057
+ const n = e.keys();
1058
+ for (; t > 0; ) n.next(), t--;
1059
+ return n.next().value;
1060
+ };
1061
+ function nn(e) {
1062
+ if (de(e, "__proto__")) throw new Error("__proto__ is not allowed as a property");
1063
+ if (de(e, "prototype")) throw new Error("prototype is not allowed as a property");
1064
+ if (de(e, "constructor")) throw new Error("constructor is not allowed as a property");
1065
+ }
1066
+ var Re = (e, t, n) => {
1067
+ if (nn(t), t.length === 0) return n(e);
1068
+ let o = e;
1069
+ for (let s = 0; s < t.length - 1; s++) {
1070
+ const i = t[s];
1071
+ if (N(o))
1072
+ o = o[+i];
1073
+ else if (oe(o)) o = o[i];
1074
+ else if (se(o))
1075
+ o = G(o, +i);
1076
+ else if (re(o)) {
1077
+ if (s === t.length - 2) break;
1078
+ const a = +i, l = +t[++s] == 0 ? "key" : "value", u = G(o, a);
1079
+ switch (l) {
1080
+ case "key":
1081
+ o = u;
1082
+ break;
1083
+ case "value":
1084
+ o = o.get(u);
1085
+ }
1086
+ }
1087
+ }
1088
+ const r = t[t.length - 1];
1089
+ if (N(o) ? o[+r] = n(o[+r]) : oe(o) && (o[r] = n(o[r])), se(o)) {
1090
+ const s = G(o, +r), i = n(s);
1091
+ s !== i && (o.delete(s), o.add(i));
1092
+ }
1093
+ if (re(o)) {
1094
+ const s = +t[t.length - 2], i = G(o, s);
1095
+ switch (+r == 0 ? "key" : "value") {
1096
+ case "key": {
1097
+ const a = n(i);
1098
+ o.set(a, o.get(i)), a !== i && o.delete(i);
1099
+ break;
1100
+ }
1101
+ case "value":
1102
+ o.set(i, n(o.get(i)));
1103
+ }
1104
+ }
1105
+ return e;
1106
+ };
1107
+ function Ce(e, t, n = []) {
1108
+ if (!e) return;
1109
+ if (!N(e)) return void F(e, (s, i) => Ce(s, t, [...n, ...ne(i)]));
1110
+ const [o, r] = e;
1111
+ r && F(r, (s, i) => {
1112
+ Ce(s, t, [...n, ...ne(i)]);
1113
+ }), t(o, n);
1114
+ }
1115
+ function eo(e, t, n) {
1116
+ return Ce(t, (o, r) => {
1117
+ e = Re(e, r, (s) => ((i, a, l) => {
1118
+ if (!N(a)) {
1119
+ const u = tn[a];
1120
+ if (!u) throw new Error("Unknown transformation: " + a);
1121
+ return u.untransform(i, l);
1122
+ }
1123
+ switch (a[0]) {
1124
+ case "symbol":
1125
+ return Zt.untransform(i, a, l);
1126
+ case "class":
1127
+ return Qt.untransform(i, a, l);
1128
+ case "custom":
1129
+ return en.untransform(i, a, l);
1130
+ case "typed-array":
1131
+ return Xt.untransform(i, a, l);
1132
+ default:
1133
+ throw new Error("Unknown transformation: " + a);
1134
+ }
1135
+ })(s, o, n));
1136
+ }), e;
1137
+ }
1138
+ function to(e, t) {
1139
+ function n(o, r) {
1140
+ const s = ((i, a) => {
1141
+ nn(a);
1142
+ for (let l = 0; l < a.length; l++) {
1143
+ const u = a[l];
1144
+ if (se(i)) i = G(i, +u);
1145
+ else if (re(i)) {
1146
+ const h = +u, f = +a[++l] == 0 ? "key" : "value", E = G(i, h);
1147
+ switch (f) {
1148
+ case "key":
1149
+ i = E;
1150
+ break;
1151
+ case "value":
1152
+ i = i.get(E);
1153
+ }
1154
+ } else i = i[u];
1155
+ }
1156
+ return i;
1157
+ })(e, ne(r));
1158
+ o.map(ne).forEach((i) => {
1159
+ e = Re(e, i, () => s);
1160
+ });
1161
+ }
1162
+ if (N(t)) {
1163
+ const [o, r] = t;
1164
+ o.forEach((s) => {
1165
+ e = Re(e, ne(s), () => e);
1166
+ }), r && F(r, n);
1167
+ } else F(t, n);
1168
+ return e;
1169
+ }
1170
+ var on = (e, t, n, o, r = [], s = [], i = /* @__PURE__ */ new Map()) => {
1171
+ var a;
1172
+ const l = Xn(e);
1173
+ if (!l) {
1174
+ (function(d, p, O) {
1175
+ const g = O.get(d);
1176
+ g ? g.push(p) : O.set(d, [p]);
1177
+ })(e, r, t);
1178
+ const T = i.get(e);
1179
+ if (T) return o ? { transformedValue: null } : T;
1180
+ }
1181
+ if (!((T, d) => oe(T) || N(T) || re(T) || se(T) || Jt(T, d))(e, n)) {
1182
+ const T = Ot(e, n), d = T ? { transformedValue: T.value, annotations: [T.type] } : { transformedValue: e };
1183
+ return l || i.set(e, d), d;
1184
+ }
1185
+ if (de(s, e)) return { transformedValue: null };
1186
+ const u = Ot(e, n), h = (a = u?.value) != null ? a : e, f = N(h) ? [] : {}, E = {};
1187
+ F(h, (T, d) => {
1188
+ if (d === "__proto__" || d === "constructor" || d === "prototype") throw new Error(`Detected property ${d}. This is a prototype pollution risk, please remove it from your object.`);
1189
+ const p = on(T, t, n, o, [...r, d], [...s, e], i);
1190
+ f[d] = p.transformedValue, N(p.annotations) ? E[d] = p.annotations : oe(p.annotations) && F(p.annotations, (O, g) => {
1191
+ E[Yt(d) + "." + g] = O;
1192
+ });
1193
+ });
1194
+ const y = Ae(E) ? { transformedValue: f, annotations: u ? [u.type] : void 0 } : { transformedValue: f, annotations: u ? [u.type, E] : E };
1195
+ return l || i.set(e, y), y;
1196
+ };
1197
+ function rn(e) {
1198
+ return Object.prototype.toString.call(e).slice(8, -1);
1199
+ }
1200
+ function vt(e) {
1201
+ return rn(e) === "Array";
1202
+ }
1203
+ function De(e, t = {}) {
1204
+ return vt(e) ? e.map((n) => De(n, t)) : (function(n) {
1205
+ if (rn(n) !== "Object") return !1;
1206
+ const o = Object.getPrototypeOf(n);
1207
+ return !!o && o.constructor === Object && o === Object.prototype;
1208
+ })(e) ? [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)].reduce((n, o) => (vt(t.props) && !t.props.includes(o) || (function(r, s, i, a, l) {
1209
+ const u = {}.propertyIsEnumerable.call(a, s) ? "enumerable" : "nonenumerable";
1210
+ u === "enumerable" && (r[s] = i), l && u === "nonenumerable" && Object.defineProperty(r, s, { value: i, enumerable: !1, writable: !0, configurable: !0 });
1211
+ })(n, o, De(e[o], t), e, t.nonenumerable), n), {}) : e;
1212
+ }
1213
+ c(), c();
1214
+ var Tt, bt, It, kt, St, wt, v = class {
1215
+ constructor({ dedupe: e = !1 } = {}) {
1216
+ this.classRegistry = new Yn(), this.symbolRegistry = new $t((t) => {
1217
+ var n;
1218
+ return (n = t.description) != null ? n : "";
1219
+ }), this.customTransformerRegistry = new Zn(), this.allowedErrorProps = [], this.dedupe = e;
1220
+ }
1221
+ serialize(e) {
1222
+ const t = /* @__PURE__ */ new Map(), n = on(e, t, this, this.dedupe), o = { json: n.transformedValue };
1223
+ n.annotations && (o.meta = { ...o.meta, values: n.annotations });
1224
+ const r = (function(s, i) {
1225
+ const a = {};
1226
+ let l;
1227
+ return s.forEach((u) => {
1228
+ if (u.length <= 1) return;
1229
+ i || (u = u.map((E) => E.map(String)).sort((E, y) => E.length - y.length));
1230
+ const [h, ...f] = u;
1231
+ h.length === 0 ? l = f.map(Te) : a[Te(h)] = f.map(Te);
1232
+ }), l ? Ae(a) ? [l] : [l, a] : Ae(a) ? void 0 : a;
1233
+ })(t, this.dedupe);
1234
+ return r && (o.meta = { ...o.meta, referentialEqualities: r }), o;
1235
+ }
1236
+ deserialize(e) {
1237
+ const { json: t, meta: n } = e;
1238
+ let o = De(t);
1239
+ return n?.values && (o = eo(o, n.values, this)), n?.referentialEqualities && (o = to(o, n.referentialEqualities)), o;
1240
+ }
1241
+ stringify(e) {
1242
+ return JSON.stringify(this.serialize(e));
1243
+ }
1244
+ parse(e) {
1245
+ return this.deserialize(JSON.parse(e));
1246
+ }
1247
+ registerClass(e, t) {
1248
+ this.classRegistry.register(e, t);
1249
+ }
1250
+ registerSymbol(e, t) {
1251
+ this.symbolRegistry.register(e, t);
1252
+ }
1253
+ registerCustom(e, t) {
1254
+ this.customTransformerRegistry.register({ name: t, ...e });
1255
+ }
1256
+ allowErrorProps(...e) {
1257
+ this.allowedErrorProps.push(...e);
1258
+ }
1259
+ };
1260
+ v.defaultInstance = new v(), v.serialize = v.defaultInstance.serialize.bind(v.defaultInstance), v.deserialize = v.defaultInstance.deserialize.bind(v.defaultInstance), v.stringify = v.defaultInstance.stringify.bind(v.defaultInstance), v.parse = v.defaultInstance.parse.bind(v.defaultInstance), v.registerClass = v.defaultInstance.registerClass.bind(v.defaultInstance), v.registerSymbol = v.defaultInstance.registerSymbol.bind(v.defaultInstance), v.registerCustom = v.defaultInstance.registerCustom.bind(v.defaultInstance), v.allowErrorProps = v.defaultInstance.allowErrorProps.bind(v.defaultInstance), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), c(), (Tt = _).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ != null || (Tt.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []), (bt = _).__VUE_DEVTOOLS_KIT_RPC_CLIENT__ != null || (bt.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null), (It = _).__VUE_DEVTOOLS_KIT_RPC_SERVER__ != null || (It.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null), (kt = _).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ != null || (kt.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null), (St = _).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ != null || (St.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null), (wt = _).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ != null || (wt.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null), c(), c(), c(), c(), c(), c(), c();
1261
+ export {
1262
+ no as setupDevToolsPlugin,
1263
+ no as setupDevtoolsPlugin
1264
+ };