@verdnatura/vn-front-lib 0.0.8 → 0.0.9

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,2466 @@
1
+ import { t as e } from "./useRequired-CTxBp3qy.js";
2
+ import { Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, h as f, inject as p, markRaw as m, mergeModels as h, mergeProps as g, nextTick as _, normalizeStyle as v, onActivated as y, onBeforeUnmount as b, onBeforeUpdate as x, onDeactivated as S, onMounted as C, onUnmounted as w, openBlock as T, reactive as E, ref as D, renderSlot as O, toDisplayString as k, unref as A, useAttrs as ee, useModel as j, watch as M, withCtx as N } from "vue";
3
+ import { useI18n as P } from "vue-i18n";
4
+ //#region \0rolldown/runtime.js
5
+ var F = Object.defineProperty, I = (e, t) => {
6
+ let n = {};
7
+ for (var r in e) F(n, r, {
8
+ get: e[r],
9
+ enumerable: !0
10
+ });
11
+ return t || F(n, Symbol.toStringTag, { value: "Module" }), n;
12
+ };
13
+ //#endregion
14
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js
15
+ function L(e, t, n, r) {
16
+ return Object.defineProperty(e, t, {
17
+ get: n,
18
+ set: r,
19
+ enumerable: !0
20
+ }), e;
21
+ }
22
+ //#endregion
23
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/plugins/platform/Platform.js
24
+ var R = D(!1), z, B = 512;
25
+ function te(e) {
26
+ return typeof e == "string" ? e.slice(0, B).toLowerCase() : "";
27
+ }
28
+ var V = /(?:^|\s)version\/([\w.]+)/, H = /(?:^|\s)applewebkit\/[\w.]+/, ne = /(?:^|\s)safari\/[\w.]+/;
29
+ function U(e) {
30
+ let t = V.exec(e);
31
+ return t !== null && H.test(e) && ne.test(e) ? {
32
+ browser: "safari",
33
+ version: t[1]
34
+ } : null;
35
+ }
36
+ var re = /(?:^|\s)opera\/([\w.]+)/, ie = /(?:^|\s)version\/([\w.]+)/;
37
+ function ae(e) {
38
+ let t = re.exec(e);
39
+ return t === null ? null : {
40
+ browser: "opera",
41
+ version: ie.exec(e)?.[1] || t[1]
42
+ };
43
+ }
44
+ var oe = /(edg|edge|edga|edgios)\/([\w.]+)/, se = /(opr)[\/]([\w.]+)/, ce = /(vivaldi)[\/]([\w.]+)/, le = /(chrome|crios)[\/]([\w.]+)/, ue = /(firefox|fxios)[\/]([\w.]+)/, de = /(webkit)[\/]([\w.]+)/;
45
+ function fe(e, t) {
46
+ let n = oe.exec(e) || se.exec(e) || ce.exec(e) || le.exec(e);
47
+ if (n === null) {
48
+ let r = U(e);
49
+ if (r !== null) return {
50
+ ...r,
51
+ platform: t[0] || ""
52
+ };
53
+ if (n = ue.exec(e) || de.exec(e), n === null) {
54
+ let r = ae(e);
55
+ if (r !== null) return {
56
+ ...r,
57
+ platform: t[0] || ""
58
+ };
59
+ n = [];
60
+ }
61
+ }
62
+ return {
63
+ browser: n[5] || n[3] || n[1] || "",
64
+ version: n[4] || n[2] || "0",
65
+ platform: t[0] || ""
66
+ };
67
+ }
68
+ var pe = /(ipad)/, me = /(ipod)/, he = /(iphone)/, ge = /(windows phone)/, _e = /(kindle)/, ve = /(silk)/, ye = /(android)/, be = /(win)/, xe = /(mac)/, Se = /(linux)/, Ce = /(cros)/;
69
+ function we(e) {
70
+ return pe.exec(e) || me.exec(e) || ge.exec(e) || he.exec(e) || _e.exec(e) || ve.exec(e) || ye.exec(e) || be.exec(e) || xe.exec(e) || Se.exec(e) || Ce.exec(e) || [];
71
+ }
72
+ var Te = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
73
+ function Ee(e) {
74
+ let t = te(e), n = fe(t, we(t)), r = {
75
+ mobile: !1,
76
+ desktop: !1,
77
+ cordova: !1,
78
+ capacitor: !1,
79
+ nativeMobile: !1,
80
+ electron: !1,
81
+ bex: !1,
82
+ linux: !1,
83
+ mac: !1,
84
+ win: !1,
85
+ cros: !1,
86
+ chrome: !1,
87
+ firefox: !1,
88
+ opera: !1,
89
+ safari: !1,
90
+ vivaldi: !1,
91
+ edge: !1,
92
+ edgeChromium: !1,
93
+ ie: !1,
94
+ webkit: !1,
95
+ android: !1,
96
+ ios: !1,
97
+ ipad: !1,
98
+ iphone: !1,
99
+ ipod: !1,
100
+ kindle: !1,
101
+ winphone: !1,
102
+ silk: !1
103
+ };
104
+ n.browser && (r[n.browser] = !0, r.version = n.version, r.versionNumber = Number.parseInt(n.version, 10)), n.platform && (r[n.platform] = !0), r["windows phone"] && (r.winphone = !0, delete r["windows phone"]);
105
+ let i = r.android || r.ios || r.ipad || r.iphone || r.ipod || r.kindle || r.silk || r.winphone;
106
+ if (i === !0 || t.includes("mobile") ? r.mobile = !0 : r.desktop = !0, r.edga || r.edgios || r.edg ? (r.edge = !0, n.browser = "edge") : r.crios ? (r.chrome = !0, n.browser = "chrome") : r.fxios && (r.firefox = !0, n.browser = "firefox"), (r.ipod || r.ipad || r.iphone) && (r.ios = !0), r.vivaldi &&= (n.browser = "vivaldi", !0), (r.chrome || r.opr || r.safari || r.vivaldi || r.mobile && !r.ios && !i) && (r.webkit = !0), r.opr && (n.browser = "opera", r.opera = !0), r.safari && (r.android ? (n.browser = "android", r.android = !0) : r.kindle ? (n.browser = "kindle", r.kindle = !0) : r.silk &&= (n.browser = "silk", !0)), r.name = n.browser, r.platform = n.platform, t.includes("electron")) r.electron = !0;
107
+ else if (document.location.href.includes("-extension://")) r.bex = !0;
108
+ else {
109
+ if (window.Capacitor === void 0 ? (window._cordovaNative !== void 0 || window.cordova !== void 0) && (r.cordova = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "cordova") : (r.capacitor = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "capacitor"), R.value && (z = { is: { ...r } }), Te && r.mac && (r.desktop && r.safari || r.nativeMobile && !r.android && !r.ios && !r.ipad)) {
110
+ delete r.mac, delete r.desktop;
111
+ let e = Math.min(window.innerHeight, window.innerWidth) > 414 ? "ipad" : "iphone";
112
+ Object.assign(r, {
113
+ mobile: !0,
114
+ ios: !0,
115
+ platform: e,
116
+ [e]: !0
117
+ });
118
+ }
119
+ !r.mobile && window.navigator.userAgentData && window.navigator.userAgentData.mobile && (delete r.desktop, r.mobile = !0);
120
+ }
121
+ return r;
122
+ }
123
+ var De = navigator.userAgent || navigator.vendor || window.opera, Oe = {
124
+ has: {
125
+ touch: !1,
126
+ webStorage: !1
127
+ },
128
+ within: { iframe: !1 }
129
+ }, W = {
130
+ userAgent: De,
131
+ is: Ee(De),
132
+ has: { touch: Te },
133
+ within: { iframe: window.self !== window.top }
134
+ }, ke = { install(e) {
135
+ let { $q: t } = e;
136
+ R.value ? (e.onSSRHydrated.push(() => {
137
+ Object.assign(t.platform, W), R.value = !1;
138
+ }), t.platform = E(this)) : t.platform = this;
139
+ } };
140
+ {
141
+ let e;
142
+ L(W.has, "webStorage", () => {
143
+ if (e !== void 0) return e;
144
+ try {
145
+ if (window.localStorage) return e = !0, !0;
146
+ } catch {}
147
+ return e = !1, !1;
148
+ }), Object.assign(ke, W), R.value && (Object.assign(ke, z, Oe), z = null);
149
+ }
150
+ //#endregion
151
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.selection/selection.js
152
+ function Ae() {
153
+ if (window.getSelection !== void 0) {
154
+ let e = window.getSelection();
155
+ e.empty === void 0 ? e.removeAllRanges !== void 0 && (e.removeAllRanges(), ke.is.mobile || e.addRange(document.createRange())) : e.empty();
156
+ } else document.selection !== void 0 && document.selection.empty();
157
+ }
158
+ //#endregion
159
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/event/event.js
160
+ var G = {
161
+ hasPassive: !1,
162
+ passiveCapture: !0,
163
+ notPassiveCapture: !0
164
+ };
165
+ try {
166
+ let e = Object.defineProperty({}, "passive", { get() {
167
+ Object.assign(G, {
168
+ hasPassive: !0,
169
+ passive: { passive: !0 },
170
+ notPassive: { passive: !1 },
171
+ passiveCapture: {
172
+ passive: !0,
173
+ capture: !0
174
+ },
175
+ notPassiveCapture: {
176
+ passive: !1,
177
+ capture: !0
178
+ }
179
+ });
180
+ } });
181
+ window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
182
+ } catch {}
183
+ function je(e) {
184
+ e.stopPropagation();
185
+ }
186
+ function K(e) {
187
+ e.cancelable !== !1 && e.preventDefault();
188
+ }
189
+ function Me(e) {
190
+ e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
191
+ }
192
+ function Ne(e, t, n) {
193
+ let r = `__q_${t}_evt`;
194
+ e[r] = [...e[r] ?? [], ...n], n.forEach((t) => {
195
+ t[0].addEventListener(t[1], e[t[2]], G[t[3]]);
196
+ });
197
+ }
198
+ function Pe(e, t) {
199
+ let n = `__q_${t}_evt`;
200
+ e[n] !== void 0 && (e[n].forEach((t) => {
201
+ t[0].removeEventListener(t[1], e[t[2]], G[t[3]]);
202
+ }), e[n] = void 0);
203
+ }
204
+ //#endregion
205
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.keyboard/key-composition.js
206
+ var Fe = !1;
207
+ function Ie(e) {
208
+ return Fe || e !== Object(e) || e.isComposing || e.qKeyEvent;
209
+ }
210
+ function Le(e, t) {
211
+ return !Ie(e) && [t].flat().includes(e.keyCode);
212
+ }
213
+ //#endregion
214
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js
215
+ var Re = {
216
+ target: {
217
+ type: [
218
+ Boolean,
219
+ String,
220
+ Element
221
+ ],
222
+ default: !0
223
+ },
224
+ noParentEvent: Boolean
225
+ };
226
+ ({ ...Re });
227
+ function ze({ showing: e, avoidEmit: t, configureAnchorEl: n }) {
228
+ let { props: r, proxy: i, emit: a } = d(), o = D(null), s = null;
229
+ function c(e) {
230
+ return o.value === null ? !1 : e === void 0 || e.touches === void 0 || e.touches.length <= 1;
231
+ }
232
+ let l = {};
233
+ n === void 0 && (Object.assign(l, {
234
+ hide(e) {
235
+ i.hide(e);
236
+ },
237
+ toggle(e) {
238
+ i.toggle(e), e.qAnchorHandled = !0;
239
+ },
240
+ toggleKey(e) {
241
+ Le(e, 13) && l.toggle(e);
242
+ },
243
+ contextClick(e) {
244
+ i.hide(e), K(e), _(() => {
245
+ i.show(e), e.qAnchorHandled = !0;
246
+ });
247
+ },
248
+ prevent: K,
249
+ mobileTouch(e) {
250
+ if (l.mobileCleanup(e), !c(e)) return;
251
+ i.hide(e), o.value.classList.add("non-selectable");
252
+ let t = e.target;
253
+ Ne(l, "anchor", [
254
+ [
255
+ t,
256
+ "touchmove",
257
+ "mobileCleanup",
258
+ "passive"
259
+ ],
260
+ [
261
+ t,
262
+ "touchend",
263
+ "mobileCleanup",
264
+ "passive"
265
+ ],
266
+ [
267
+ t,
268
+ "touchcancel",
269
+ "mobileCleanup",
270
+ "passive"
271
+ ],
272
+ [
273
+ o.value,
274
+ "contextmenu",
275
+ "prevent",
276
+ "notPassive"
277
+ ]
278
+ ]), s = setTimeout(() => {
279
+ s = null, i.show(e), e.qAnchorHandled = !0;
280
+ }, 300);
281
+ },
282
+ mobileCleanup(t) {
283
+ o.value.classList.remove("non-selectable"), s !== null && (clearTimeout(s), s = null), e.value && t !== void 0 && Ae();
284
+ }
285
+ }), n = function(e = r.contextMenu) {
286
+ if (r.noParentEvent || o.value === null) return;
287
+ let t = e ? i.$q.platform.is.mobile ? [[
288
+ o.value,
289
+ "touchstart",
290
+ "mobileTouch",
291
+ "passive"
292
+ ]] : [[
293
+ o.value,
294
+ "mousedown",
295
+ "hide",
296
+ "passive"
297
+ ], [
298
+ o.value,
299
+ "contextmenu",
300
+ "contextClick",
301
+ "notPassive"
302
+ ]] : [[
303
+ o.value,
304
+ "click",
305
+ "toggle",
306
+ "passive"
307
+ ], [
308
+ o.value,
309
+ "keyup",
310
+ "toggleKey",
311
+ "passive"
312
+ ]];
313
+ Ne(l, "anchor", t);
314
+ });
315
+ function u() {
316
+ Pe(l, "anchor");
317
+ }
318
+ function f(e) {
319
+ for (o.value = e; o.value.classList.contains("q-anchor--skip");) o.value = o.value.parentNode;
320
+ n();
321
+ }
322
+ function p() {
323
+ if (r.target === !1 || r.target === "" || i.$el.parentNode === null) o.value = null;
324
+ else if (r.target === !0) f(i.$el.parentNode);
325
+ else {
326
+ let e = r.target;
327
+ if (typeof r.target == "string") try {
328
+ e = document.querySelector(r.target);
329
+ } catch {
330
+ e = void 0;
331
+ }
332
+ e == null ? (o.value = null, console.error(`Anchor: target "${r.target}" not found`)) : (o.value = e.$el || e, n());
333
+ }
334
+ }
335
+ return M(() => r.contextMenu, (e) => {
336
+ o.value !== null && (u(), n(e));
337
+ }), M(() => r.target, () => {
338
+ o.value !== null && u(), p();
339
+ }), M(() => r.noParentEvent, (e) => {
340
+ o.value !== null && (e ? u() : n());
341
+ }), C(() => {
342
+ p(), !t && r.modelValue && o.value === null && a("update:modelValue", !1);
343
+ }), b(() => {
344
+ s !== null && clearTimeout(s), u();
345
+ }), {
346
+ anchorEl: o,
347
+ canShow: c,
348
+ anchorEvents: l
349
+ };
350
+ }
351
+ //#endregion
352
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js
353
+ function Be(e, t) {
354
+ let n = D(null), r;
355
+ function i(e, t) {
356
+ let n = `${t === void 0 ? "remove" : "add"}EventListener`, i = t === void 0 ? r : t;
357
+ e !== window && e[n]("scroll", i, G.passive), window[n]("scroll", i, G.passive), r = t;
358
+ }
359
+ function a() {
360
+ n.value !== null && (i(n.value), n.value = null);
361
+ }
362
+ return b(M(() => e.noParentEvent, () => {
363
+ n.value !== null && (a(), t());
364
+ })), {
365
+ localScrollTarget: n,
366
+ unconfigureScrollTarget: a,
367
+ changeScrollEvent: i
368
+ };
369
+ }
370
+ //#endregion
371
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.vm/vm.js
372
+ function Ve(e) {
373
+ return e.appContext.config.globalProperties.$router !== void 0;
374
+ }
375
+ function He(e) {
376
+ return e.isUnmounted === !0 || e.isDeactivated === !0;
377
+ }
378
+ //#endregion
379
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js
380
+ var Ue = {
381
+ modelValue: {
382
+ type: Boolean,
383
+ default: null
384
+ },
385
+ "onUpdate:modelValue": [Function, Array]
386
+ }, We = [
387
+ "beforeShow",
388
+ "show",
389
+ "beforeHide",
390
+ "hide"
391
+ ];
392
+ function Ge({ showing: e, canShow: t, hideOnRouteChange: n, handleShow: r, handleHide: i, handleRouteChange: a, processOnMount: o }) {
393
+ let s = d(), { props: c, emit: l, proxy: u } = s, f;
394
+ function p(t) {
395
+ e.value ? g(t) : m(t);
396
+ }
397
+ function m(e) {
398
+ if (c.disable || e?.qAnchorHandled === !0 || t !== void 0 && !t(e)) return;
399
+ let n = c["onUpdate:modelValue"] !== void 0;
400
+ n && (l("update:modelValue", !0), f = e, _(() => {
401
+ f === e && (f = void 0);
402
+ })), (c.modelValue === null || !n) && h(e);
403
+ }
404
+ function h(t) {
405
+ e.value || (e.value = !0, l("beforeShow", t), r === void 0 ? l("show", t) : r(t));
406
+ }
407
+ function g(e) {
408
+ if (c.disable) return;
409
+ let t = c["onUpdate:modelValue"] !== void 0;
410
+ t && (l("update:modelValue", !1), f = e, _(() => {
411
+ f === e && (f = void 0);
412
+ })), (c.modelValue === null || !t) && v(e);
413
+ }
414
+ function v(t) {
415
+ e.value && (e.value = !1, l("beforeHide", t), i === void 0 ? l("hide", t) : i(t));
416
+ }
417
+ function y(t) {
418
+ c.disable && t ? c["onUpdate:modelValue"] !== void 0 && l("update:modelValue", !1) : t === !0 !== e.value && (t ? h : v)(f);
419
+ }
420
+ M(() => c.modelValue, y), n !== void 0 && Ve(s) && M(() => u.$route.fullPath, () => {
421
+ n.value && e.value && (a?.(), g());
422
+ }), o && C(() => {
423
+ y(c.modelValue);
424
+ });
425
+ let b = {
426
+ show: m,
427
+ hide: g,
428
+ toggle: p
429
+ };
430
+ return Object.assign(u, b), b;
431
+ }
432
+ //#endregion
433
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.create/create.js
434
+ function Ke(e) {
435
+ return m(u(e));
436
+ }
437
+ //#endregion
438
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.portal/portal.js
439
+ var q = [], J = [], qe = [];
440
+ function Je(e) {
441
+ qe = qe.filter((t) => t !== e);
442
+ }
443
+ function Ye(e) {
444
+ Je(e), qe.push(e);
445
+ }
446
+ function Xe(e) {
447
+ Je(e), qe.length === 0 && J.length !== 0 && (J.at(-1)(), J = []);
448
+ }
449
+ function Ze(e) {
450
+ qe.length === 0 ? e() : J.push(e);
451
+ }
452
+ function Qe(e) {
453
+ J = J.filter((t) => t !== e);
454
+ }
455
+ //#endregion
456
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.config/instance-config.js
457
+ var $e = {}, et = [], tt = [], nt = 1, rt = document.body;
458
+ function it(e, t) {
459
+ let n = document.createElement("div");
460
+ if (n.id = t === void 0 ? e : `q-portal--${t}--${nt++}`, $e.globalNodes !== void 0) {
461
+ let e = $e.globalNodes.class;
462
+ e !== void 0 && (n.className = e);
463
+ }
464
+ return rt.append(n), et.push(n), tt.push(t), n;
465
+ }
466
+ function at(e) {
467
+ let t = et.indexOf(e);
468
+ t !== -1 && (et.splice(t, 1), tt.splice(t, 1)), e.remove();
469
+ }
470
+ //#endregion
471
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-portal/use-portal.js
472
+ var ot = Ke({
473
+ name: "QPortal",
474
+ setup(e, { slots: t }) {
475
+ return () => t.default();
476
+ }
477
+ });
478
+ function st(e) {
479
+ for (e = e.parent; e != null;) {
480
+ if (e.type.name === "QGlobalDialog") return !0;
481
+ if (e.type.name === "QDialog" || e.type.name === "QMenu") return !1;
482
+ e = e.parent;
483
+ }
484
+ return !1;
485
+ }
486
+ function ct(e, n, r, i) {
487
+ let a = D(!1), o = D(!1), s = null, c = {}, l = i === "dialog" && st(e);
488
+ function u(t) {
489
+ if (t) {
490
+ Xe(c), o.value = !0;
491
+ return;
492
+ }
493
+ o.value = !1, a.value || (!l && s === null && (s = it(!1, i)), a.value = !0, q.push(e.proxy), Ye(c));
494
+ }
495
+ function d(t) {
496
+ if (o.value = !1, !t) return;
497
+ Xe(c), a.value = !1;
498
+ let n = q.indexOf(e.proxy);
499
+ n !== -1 && q.splice(n, 1), s !== null && (at(s), s = null);
500
+ }
501
+ return w(() => {
502
+ d(!0);
503
+ }), e.proxy.__qPortal = !0, L(e.proxy, "contentEl", () => n.value), {
504
+ showPortal: u,
505
+ hidePortal: d,
506
+ portalIsActive: a,
507
+ portalIsAccessible: o,
508
+ renderPortal: () => l ? r() : a.value ? [f(t, { to: s }, f(ot, r))] : void 0
509
+ };
510
+ }
511
+ //#endregion
512
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-transition/use-transition.js
513
+ var lt = {
514
+ transitionShow: {
515
+ type: String,
516
+ default: "fade"
517
+ },
518
+ transitionHide: {
519
+ type: String,
520
+ default: "fade"
521
+ },
522
+ transitionDuration: {
523
+ type: [String, Number],
524
+ default: 300
525
+ }
526
+ };
527
+ function ut(e, t = () => {}, n = () => {}) {
528
+ return {
529
+ transitionProps: r(() => {
530
+ let r = `q-transition--${e.transitionShow || t()}`, i = `q-transition--${e.transitionHide || n()}`;
531
+ return {
532
+ appear: !0,
533
+ enterFromClass: `${r}-enter-from`,
534
+ enterActiveClass: `${r}-enter-active`,
535
+ enterToClass: `${r}-enter-to`,
536
+ leaveFromClass: `${i}-leave-from`,
537
+ leaveActiveClass: `${i}-leave-active`,
538
+ leaveToClass: `${i}-leave-to`
539
+ };
540
+ }),
541
+ transitionStyle: r(() => `--q-transition-duration: ${e.transitionDuration}ms`)
542
+ };
543
+ }
544
+ //#endregion
545
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-tick/use-tick.js
546
+ function dt() {
547
+ let e, t = d();
548
+ function n() {
549
+ e = void 0;
550
+ }
551
+ return S(n), b(n), {
552
+ removeTick: n,
553
+ registerTick(n) {
554
+ e = n, _(() => {
555
+ e === n && (He(t) || e(), e = void 0);
556
+ });
557
+ }
558
+ };
559
+ }
560
+ //#endregion
561
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-timeout/use-timeout.js
562
+ function ft() {
563
+ let e = null, t = d();
564
+ function n() {
565
+ e !== null && (clearTimeout(e), e = null);
566
+ }
567
+ return S(n), b(n), {
568
+ removeTimeout: n,
569
+ registerTimeout(r, i) {
570
+ n(), He(t) || (e = setTimeout(() => {
571
+ e = null, r();
572
+ }, i));
573
+ }
574
+ };
575
+ }
576
+ //#endregion
577
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/uid/uid.js
578
+ function pt() {
579
+ if (typeof crypto > "u") return () => {
580
+ throw Error("[Quasar uid()] Secure RNG not available. Cannot generate collision-resistant UUID.");
581
+ };
582
+ if (crypto.randomUUID) return () => crypto.randomUUID();
583
+ let e = Array.from({ length: 256 }, (e, t) => (t + 256).toString(16).slice(1)), t, n;
584
+ return () => {
585
+ (t === void 0 || n + 16 > 4096) && (n = 0, t = /* @__PURE__ */ new Uint8Array(4096), crypto.getRandomValues(t));
586
+ let r = n;
587
+ return n += 16, t[r + 6] = t[r + 6] & 15 | 64, t[r + 8] = t[r + 8] & 63 | 128, e[t[r]] + e[t[r + 1]] + e[t[r + 2]] + e[t[r + 3]] + "-" + e[t[r + 4]] + e[t[r + 5]] + "-" + e[t[r + 6]] + e[t[r + 7]] + "-" + e[t[r + 8]] + e[t[r + 9]] + "-" + e[t[r + 10]] + e[t[r + 11]] + e[t[r + 12]] + e[t[r + 13]] + e[t[r + 14]] + e[t[r + 15]];
588
+ };
589
+ }
590
+ var mt = pt();
591
+ //#endregion
592
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-id/use-id.js
593
+ function ht(e) {
594
+ return e ?? null;
595
+ }
596
+ function gt(e, t) {
597
+ return e ?? (t ? `f_${mt()}` : null);
598
+ }
599
+ function _t({ getValue: e, required: t = !0 } = {}) {
600
+ if (R.value) {
601
+ let n = D(e === void 0 ? null : ht(e()));
602
+ return t && n.value === null && C(() => {
603
+ n.value = `f_${mt()}`;
604
+ }), e !== void 0 && M(e, (e) => {
605
+ n.value = gt(e, t);
606
+ }), n;
607
+ }
608
+ return e === void 0 ? D(`f_${mt()}`) : r(() => gt(e(), t));
609
+ }
610
+ //#endregion
611
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/dom/dom.js
612
+ function vt(e, t) {
613
+ let n = e.style;
614
+ for (let e in t) n[e] = t[e];
615
+ }
616
+ function yt(e) {
617
+ if (e == null) return;
618
+ if (typeof e == "string") try {
619
+ return document.querySelector(e) || void 0;
620
+ } catch {
621
+ return;
622
+ }
623
+ let t = A(e);
624
+ if (t) return t.$el || t;
625
+ }
626
+ //#endregion
627
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/scroll/scroll.js
628
+ var bt = [Element, String], xt = [
629
+ null,
630
+ document,
631
+ document.body,
632
+ document.scrollingElement,
633
+ document.documentElement
634
+ ];
635
+ function St(e, t) {
636
+ let n = yt(t);
637
+ if (n === void 0) {
638
+ if (e == null) return window;
639
+ n = e.closest(".scroll,.scroll-y,.overflow-auto");
640
+ }
641
+ return xt.includes(n) ? window : n;
642
+ }
643
+ var Ct;
644
+ function wt() {
645
+ if (Ct !== void 0) return Ct;
646
+ let e = document.createElement("p"), t = document.createElement("div");
647
+ vt(e, {
648
+ width: "100%",
649
+ height: "200px"
650
+ }), vt(t, {
651
+ position: "absolute",
652
+ top: "0px",
653
+ left: "0px",
654
+ visibility: "hidden",
655
+ width: "200px",
656
+ height: "150px",
657
+ overflow: "hidden"
658
+ }), t.append(e), document.body.append(t);
659
+ let n = e.offsetWidth;
660
+ t.style.overflow = "scroll";
661
+ let r = e.offsetWidth;
662
+ return n === r && (r = t.clientWidth), t.remove(), Ct = n - r, Ct;
663
+ }
664
+ //#endregion
665
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.keyboard/escape-key.js
666
+ var Y = [], Tt;
667
+ function Et(e) {
668
+ e.keyCode === 27 && (Tt = !0);
669
+ }
670
+ function Dt() {
671
+ Tt &&= !1;
672
+ }
673
+ function Ot(e) {
674
+ Tt && Le(e, 27) && (Tt = !1, Y.at(-1)(e));
675
+ }
676
+ function kt(e) {
677
+ window[e]("keydown", Et), window[e]("blur", Dt), window[e]("keyup", Ot), Tt = !1;
678
+ }
679
+ function At(e) {
680
+ W.is.desktop && (Y.push(e), Y.length === 1 && kt("addEventListener"));
681
+ }
682
+ function jt(e) {
683
+ let t = Y.indexOf(e);
684
+ t !== -1 && (Y.splice(t, 1), Y.length === 0 && kt("removeEventListener"));
685
+ }
686
+ //#endregion
687
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.render/render.js
688
+ function X(e, t) {
689
+ return e === void 0 ? t : e() || t;
690
+ }
691
+ function Mt(e, t) {
692
+ return e === void 0 ? t : t.concat(e());
693
+ }
694
+ //#endregion
695
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.click-outside/click-outside.js
696
+ var Z = null, { notPassiveCapture: Nt } = G, Q = [];
697
+ function Pt(e) {
698
+ Z !== null && (clearTimeout(Z), Z = null);
699
+ let t = e.target;
700
+ if (t === void 0 || t.nodeType === 8 || t.classList.contains("no-pointer-events")) return;
701
+ let n = null, r = !1;
702
+ for (let e = q.length - 1; e >= 0; e--) {
703
+ let t = q[e].$, i = t.type.name;
704
+ if (i !== "QTooltip") {
705
+ if (i === "QDialog") {
706
+ if (t.props.seamless !== !0) {
707
+ if (r === !1) return;
708
+ n = new Set(q.slice(e + 1).map((e) => e.contentEl));
709
+ break;
710
+ }
711
+ continue;
712
+ }
713
+ r = !0;
714
+ }
715
+ }
716
+ for (let r = Q.length - 1; r >= 0; r--) {
717
+ let i = Q[r];
718
+ if (n !== null && !n.has(i.innerRef.value)) return;
719
+ if ((i.anchorEl.value === null || !i.anchorEl.value.contains(t)) && (t === document.body || i.innerRef.value !== null && !i.innerRef.value.contains(t))) e.qClickOutside = !0, i.onClickOutside(e);
720
+ else return;
721
+ }
722
+ }
723
+ function Ft(e) {
724
+ Q.push(e), Q.length === 1 && (document.addEventListener("mousedown", Pt, Nt), document.addEventListener("touchstart", Pt, Nt));
725
+ }
726
+ function It(e) {
727
+ let t = Q.indexOf(e);
728
+ t !== -1 && (Q.splice(t, 1), Q.length === 0 && (Z !== null && (clearTimeout(Z), Z = null), document.removeEventListener("mousedown", Pt, Nt), document.removeEventListener("touchstart", Pt, Nt)));
729
+ }
730
+ //#endregion
731
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.position-engine/position-engine.js
732
+ var Lt, Rt, zt = [
733
+ "top",
734
+ "center",
735
+ "bottom"
736
+ ], Bt = [
737
+ "left",
738
+ "middle",
739
+ "right",
740
+ "start",
741
+ "end"
742
+ ];
743
+ function Vt(e) {
744
+ let t = e.split(" ");
745
+ return t.length === 2 ? zt.includes(t[0]) ? Bt.includes(t[1]) ? !0 : (console.error("Anchor/Self position must end with one of left/middle/right/start/end"), !1) : (console.error("Anchor/Self position must start with one of top/center/bottom"), !1) : !1;
746
+ }
747
+ function Ht(e) {
748
+ return !e || !(e.length !== 2 || typeof e[0] != "number" || typeof e[1] != "number");
749
+ }
750
+ var Ut = {
751
+ "start#ltr": "left",
752
+ "start#rtl": "right",
753
+ "end#ltr": "right",
754
+ "end#rtl": "left"
755
+ };
756
+ [
757
+ "left",
758
+ "middle",
759
+ "right"
760
+ ].forEach((e) => {
761
+ Ut[`${e}#ltr`] = e, Ut[`${e}#rtl`] = e;
762
+ });
763
+ function Wt(e, t) {
764
+ let n = e.split(" ");
765
+ return {
766
+ vertical: n[0],
767
+ horizontal: Ut[`${n[1]}#${t ? "rtl" : "ltr"}`]
768
+ };
769
+ }
770
+ function Gt(e, t) {
771
+ let { top: n, left: r, right: i, bottom: a, width: o, height: s } = e.getBoundingClientRect();
772
+ return t !== void 0 && (n -= t[1], r -= t[0], a += t[1], i += t[0], o += t[0], s += t[1]), {
773
+ top: n,
774
+ bottom: a,
775
+ height: s,
776
+ left: r,
777
+ right: i,
778
+ width: o,
779
+ middle: r + (i - r) / 2,
780
+ center: n + (a - n) / 2
781
+ };
782
+ }
783
+ function Kt(e, t, n) {
784
+ let { top: r, left: i } = e.getBoundingClientRect();
785
+ return r += t.top, i += t.left, n !== void 0 && (r += n[1], i += n[0]), {
786
+ top: r,
787
+ bottom: r + 1,
788
+ height: 1,
789
+ left: i,
790
+ right: i + 1,
791
+ width: 1,
792
+ middle: i,
793
+ center: r
794
+ };
795
+ }
796
+ function qt(e, t) {
797
+ return {
798
+ top: 0,
799
+ center: t / 2,
800
+ bottom: t,
801
+ left: 0,
802
+ middle: e / 2,
803
+ right: e
804
+ };
805
+ }
806
+ function Jt(e, t, n, r) {
807
+ return {
808
+ top: e[n.vertical] - t[r.vertical],
809
+ left: e[n.horizontal] - t[r.horizontal]
810
+ };
811
+ }
812
+ function Yt(e, t = 0) {
813
+ if (e.targetEl === null || e.anchorEl === null || t > 5) return;
814
+ if (e.targetEl.offsetHeight === 0 || e.targetEl.offsetWidth === 0) {
815
+ setTimeout(() => {
816
+ Yt(e, t + 1);
817
+ }, 10);
818
+ return;
819
+ }
820
+ let { targetEl: n, offset: r, anchorEl: i, anchorOrigin: a, selfOrigin: o, absoluteOffset: s, fit: c, cover: l, maxHeight: u, maxWidth: d } = e;
821
+ if (W.is.ios && window.visualViewport !== void 0) {
822
+ let e = document.body.style, { offsetLeft: t, offsetTop: n } = window.visualViewport;
823
+ t !== Lt && (e.setProperty("--q-pe-left", t + "px"), Lt = t), n !== Rt && (e.setProperty("--q-pe-top", n + "px"), Rt = n);
824
+ }
825
+ let { scrollLeft: f, scrollTop: p } = n, m = s === void 0 ? Gt(i, l ? [0, 0] : r) : Kt(i, s, r);
826
+ Object.assign(n.style, {
827
+ top: 0,
828
+ left: 0,
829
+ minWidth: null,
830
+ minHeight: null,
831
+ maxWidth: d,
832
+ maxHeight: u,
833
+ visibility: "visible"
834
+ });
835
+ let { offsetWidth: h, offsetHeight: g } = n, { elWidth: _, elHeight: v } = c || l ? {
836
+ elWidth: Math.max(m.width, h),
837
+ elHeight: l ? Math.max(m.height, g) : g
838
+ } : {
839
+ elWidth: h,
840
+ elHeight: g
841
+ }, y = {
842
+ maxWidth: d,
843
+ maxHeight: u
844
+ };
845
+ (c || l) && (y.minWidth = m.width + "px", l && (y.minHeight = m.height + "px")), Object.assign(n.style, y);
846
+ let b = qt(_, v), x = Jt(m, b, a, o);
847
+ if (s === void 0 || r === void 0) Xt(x, m, b, a, o);
848
+ else {
849
+ let { top: e, left: t } = x;
850
+ Xt(x, m, b, a, o);
851
+ let n = !1;
852
+ if (x.top !== e) {
853
+ n = !0;
854
+ let e = 2 * r[1];
855
+ m.center = m.top -= e, m.bottom -= e + 2;
856
+ }
857
+ if (x.left !== t) {
858
+ n = !0;
859
+ let e = 2 * r[0];
860
+ m.middle = m.left -= e, m.right -= e + 2;
861
+ }
862
+ n && (x = Jt(m, b, a, o), Xt(x, m, b, a, o));
863
+ }
864
+ y = {
865
+ top: x.top + "px",
866
+ left: x.left + "px"
867
+ }, x.maxHeight !== void 0 && (y.maxHeight = x.maxHeight + "px", m.height > x.maxHeight && (y.minHeight = y.maxHeight)), x.maxWidth !== void 0 && (y.maxWidth = x.maxWidth + "px", m.width > x.maxWidth && (y.minWidth = y.maxWidth)), Object.assign(n.style, y), n.scrollTop !== p && (n.scrollTop = p), n.scrollLeft !== f && (n.scrollLeft = f);
868
+ }
869
+ function Xt(e, t, n, r, i) {
870
+ let a = n.bottom, o = n.right, s = wt(), c = window.innerHeight - s, l = document.body.clientWidth;
871
+ if (e.top < 0 || e.top + a > c) if (i.vertical === "center") e.top = t[r.vertical] > c / 2 ? Math.max(0, c - a) : 0, e.maxHeight = Math.min(a, c);
872
+ else if (t[r.vertical] > c / 2) {
873
+ let n = Math.min(c, r.vertical === "center" ? t.center : r.vertical === i.vertical ? t.bottom : t.top);
874
+ e.maxHeight = Math.min(a, n), e.top = Math.max(0, n - a);
875
+ } else e.top = Math.max(0, r.vertical === "center" ? t.center : r.vertical === i.vertical ? t.top : t.bottom), e.maxHeight = Math.min(a, c - e.top);
876
+ if (e.left < 0 || e.left + o > l) if (e.maxWidth = Math.min(o, l), i.horizontal === "middle") e.left = t[r.horizontal] > l / 2 ? Math.max(0, l - o) : 0;
877
+ else if (t[r.horizontal] > l / 2) {
878
+ let n = Math.min(l, r.horizontal === "middle" ? t.middle : r.horizontal === i.horizontal ? t.right : t.left);
879
+ e.maxWidth = Math.min(o, n), e.left = Math.max(0, n - e.maxWidth);
880
+ } else e.left = Math.max(0, r.horizontal === "middle" ? t.middle : r.horizontal === i.horizontal ? t.left : t.right), e.maxWidth = Math.min(o, l - e.left);
881
+ }
882
+ //#endregion
883
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/tooltip/QTooltip.js
884
+ var Zt = 0, Qt = Ke({
885
+ name: "QTooltip",
886
+ inheritAttrs: !1,
887
+ props: {
888
+ ...Re,
889
+ ...Ue,
890
+ ...lt,
891
+ maxHeight: {
892
+ type: String,
893
+ default: null
894
+ },
895
+ maxWidth: {
896
+ type: String,
897
+ default: null
898
+ },
899
+ transitionShow: {
900
+ ...lt.transitionShow,
901
+ default: "jump-down"
902
+ },
903
+ transitionHide: {
904
+ ...lt.transitionHide,
905
+ default: "jump-up"
906
+ },
907
+ anchor: {
908
+ type: String,
909
+ default: "bottom middle",
910
+ validator: Vt
911
+ },
912
+ self: {
913
+ type: String,
914
+ default: "top middle",
915
+ validator: Vt
916
+ },
917
+ offset: {
918
+ type: Array,
919
+ default: () => [14, 14],
920
+ validator: Ht
921
+ },
922
+ scrollTarget: bt,
923
+ delay: {
924
+ type: Number,
925
+ default: 0
926
+ },
927
+ hideDelay: {
928
+ type: Number,
929
+ default: 0
930
+ },
931
+ persistent: Boolean
932
+ },
933
+ emits: [...We],
934
+ setup(e, { slots: t, emit: i, attrs: a }) {
935
+ let o, s, c, l = !1, u, p = d(), { proxy: { $q: m } } = p, h = D(null), g = D(!1), _ = _t(), v = r(() => a.id || _.value), y = r(() => Wt(e.anchor, m.lang.rtl)), x = r(() => Wt(e.self, m.lang.rtl)), S = r(() => !e.persistent), { registerTick: C, removeTick: w } = dt(), { registerTimeout: T } = ft(), { transitionProps: E, transitionStyle: O } = ut(e), { localScrollTarget: k, changeScrollEvent: A, unconfigureScrollTarget: ee } = Be(e, le), { anchorEl: j, canShow: N, anchorEvents: P } = ze({
936
+ showing: g,
937
+ configureAnchorEl: ae
938
+ }), { show: F, hide: I } = Ge({
939
+ showing: g,
940
+ canShow: N,
941
+ handleShow: B,
942
+ handleHide: te,
943
+ hideOnRouteChange: S,
944
+ processOnMount: !0
945
+ });
946
+ Object.assign(P, {
947
+ delayShow: ne,
948
+ delayHide: U,
949
+ onFocusin: re
950
+ });
951
+ let { showPortal: L, hidePortal: R, renderPortal: z } = ct(p, h, de, "tooltip");
952
+ if (m.platform.is.mobile) {
953
+ let t = {
954
+ anchorEl: j,
955
+ innerRef: h,
956
+ onClickOutside(e) {
957
+ return I(e), e.target.classList.contains("q-dialog__backdrop") && Me(e), !0;
958
+ }
959
+ };
960
+ M(r(() => e.modelValue === null && !e.persistent && g.value), (e) => {
961
+ (e ? Ft : It)(t);
962
+ }), b(() => {
963
+ It(t);
964
+ });
965
+ } else M(() => (e.modelValue === null || e["onUpdate:modelValue"]) && g.value === !0 && e.persistent !== !0, (e) => {
966
+ (e === !0 ? At : jt)(ie);
967
+ });
968
+ function B(t) {
969
+ L(), se(), C(() => {
970
+ if (s?.disconnect(), h.value === null) {
971
+ s = void 0;
972
+ return;
973
+ }
974
+ s = new MutationObserver(() => H()), s.observe(h.value, {
975
+ attributes: !1,
976
+ childList: !0,
977
+ characterData: !0,
978
+ subtree: !0
979
+ }), H(), le();
980
+ }), o === void 0 && (o = M(() => m.screen.width + "|" + m.screen.height + "|" + e.self + "|" + e.anchor + "|" + m.lang.rtl, H)), T(() => {
981
+ L(!0), i("show", t);
982
+ }, e.transitionDuration);
983
+ }
984
+ function te(t) {
985
+ w(), R(), V(), T(() => {
986
+ R(!0), i("hide", t);
987
+ }, e.transitionDuration);
988
+ }
989
+ function V() {
990
+ s !== void 0 && (s.disconnect(), s = void 0), o !== void 0 && (o(), o = void 0), ee(), jt(ie), Pe(P, "tooltipTemp"), ce(), oe(!1);
991
+ }
992
+ function H() {
993
+ Yt({
994
+ targetEl: h.value,
995
+ offset: e.offset,
996
+ anchorEl: j.value,
997
+ anchorOrigin: y.value,
998
+ selfOrigin: x.value,
999
+ maxHeight: e.maxHeight,
1000
+ maxWidth: e.maxWidth
1001
+ });
1002
+ }
1003
+ function ne(t) {
1004
+ if (m.platform.is.mobile) {
1005
+ c !== void 0 && (clearTimeout(c), c = void 0), Ae(), oe(!0);
1006
+ let e = j.value, t = [
1007
+ "touchmove",
1008
+ "touchcancel",
1009
+ "touchend",
1010
+ "click"
1011
+ ].map((t) => [
1012
+ e,
1013
+ t,
1014
+ "delayHide",
1015
+ "passiveCapture"
1016
+ ]);
1017
+ Ne(P, "tooltipTemp", t);
1018
+ }
1019
+ T(() => {
1020
+ F(t);
1021
+ }, e.delay);
1022
+ }
1023
+ function U(t) {
1024
+ m.platform.is.mobile && (Pe(P, "tooltipTemp"), Ae(), c = setTimeout(() => {
1025
+ c = void 0, oe(!1);
1026
+ }, 10)), T(() => {
1027
+ I(t);
1028
+ }, e.hideDelay);
1029
+ }
1030
+ function re(e) {
1031
+ let t = e.target;
1032
+ if (t) {
1033
+ try {
1034
+ if (t.matches(":focus-visible") === !1) return;
1035
+ } catch {}
1036
+ ne(e);
1037
+ }
1038
+ }
1039
+ function ie(e) {
1040
+ I(e);
1041
+ }
1042
+ function ae() {
1043
+ if (e.noParentEvent || j.value === null) return;
1044
+ let t = m.platform.is.mobile ? [[
1045
+ j.value,
1046
+ "touchstart",
1047
+ "delayShow",
1048
+ "passive"
1049
+ ]] : [
1050
+ [
1051
+ j.value,
1052
+ "mouseenter",
1053
+ "delayShow",
1054
+ "passive"
1055
+ ],
1056
+ [
1057
+ j.value,
1058
+ "mouseleave",
1059
+ "delayHide",
1060
+ "passive"
1061
+ ],
1062
+ [
1063
+ j.value,
1064
+ "focusin",
1065
+ "onFocusin",
1066
+ "passive"
1067
+ ],
1068
+ [
1069
+ j.value,
1070
+ "focusout",
1071
+ "delayHide",
1072
+ "passive"
1073
+ ]
1074
+ ];
1075
+ Ne(P, "anchor", t);
1076
+ }
1077
+ function oe(e) {
1078
+ l !== e && (l = e, Zt += e ? 1 : -1, document.body.classList.toggle("non-selectable", Zt > 0), !e && c !== void 0 && (clearTimeout(c), c = void 0));
1079
+ }
1080
+ function se() {
1081
+ let e = j.value, t = v.value;
1082
+ if (e === null || t === void 0) return;
1083
+ let n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean);
1084
+ u = {
1085
+ el: e,
1086
+ id: t,
1087
+ added: !n.includes(t)
1088
+ }, u.added && (n.push(t), e.setAttribute("aria-describedby", n.join(" ")));
1089
+ }
1090
+ function ce() {
1091
+ if (u?.added === !0) {
1092
+ let { el: e, id: t } = u, n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter((e) => e !== "" && e !== t);
1093
+ n.length === 0 ? e.removeAttribute("aria-describedby") : e.setAttribute("aria-describedby", n.join(" "));
1094
+ }
1095
+ u = void 0;
1096
+ }
1097
+ function le() {
1098
+ if (j.value !== null || e.scrollTarget !== void 0) {
1099
+ k.value = St(j.value, e.scrollTarget);
1100
+ let t = e.noParentEvent ? H : I;
1101
+ A(k.value, t);
1102
+ }
1103
+ }
1104
+ function ue() {
1105
+ return g.value ? f("div", {
1106
+ ...a,
1107
+ id: v.value,
1108
+ ref: h,
1109
+ class: ["q-tooltip q-tooltip--style q-position-engine no-pointer-events", a.class],
1110
+ style: [a.style, O.value],
1111
+ role: "tooltip"
1112
+ }, X(t.default)) : null;
1113
+ }
1114
+ function de() {
1115
+ return f(n, E.value, ue);
1116
+ }
1117
+ return b(V), Object.assign(p.proxy, { updatePosition: H }), z;
1118
+ }
1119
+ }), $t = {
1120
+ xs: 18,
1121
+ sm: 24,
1122
+ md: 32,
1123
+ lg: 38,
1124
+ xl: 46
1125
+ }, en = { size: String };
1126
+ function tn(e, t = $t) {
1127
+ return r(() => e.size === void 0 ? null : { fontSize: e.size in t ? `${t[e.size]}px` : e.size });
1128
+ }
1129
+ //#endregion
1130
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/icon/QIcon.js
1131
+ var nn = "0 0 24 24", rn = (e) => e, an = (e) => `ionicons ${e}`, on = {
1132
+ "mdi-": (e) => `mdi ${e}`,
1133
+ "icon-": rn,
1134
+ "bt-": (e) => `bt ${e}`,
1135
+ "eva-": (e) => `eva ${e}`,
1136
+ "ion-md": an,
1137
+ "ion-ios": an,
1138
+ "ion-logo": an,
1139
+ "iconfont ": rn,
1140
+ "ti-": (e) => `themify-icon ${e}`,
1141
+ "bi-": (e) => `bootstrap-icons ${e}`,
1142
+ "i-": rn
1143
+ }, sn = {
1144
+ o_: "-outlined",
1145
+ r_: "-round",
1146
+ s_: "-sharp"
1147
+ }, cn = {
1148
+ sym_o_: "-outlined",
1149
+ sym_r_: "-rounded",
1150
+ sym_s_: "-sharp"
1151
+ }, ln = RegExp("^(" + Object.keys(on).join("|") + ")"), un = RegExp("^(" + Object.keys(sn).join("|") + ")"), dn = RegExp("^(" + Object.keys(cn).join("|") + ")"), fn = /^[Mm]\s?[-+]?\.?\d/, pn = /^img:/, mn = /^svguse:/, hn = /^ion-/, gn = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, _n = Ke({
1152
+ name: "QIcon",
1153
+ props: {
1154
+ ...en,
1155
+ tag: {
1156
+ type: String,
1157
+ default: "i"
1158
+ },
1159
+ name: String,
1160
+ color: String,
1161
+ left: Boolean,
1162
+ right: Boolean
1163
+ },
1164
+ setup(e, { slots: t }) {
1165
+ let { proxy: { $q: n } } = d(), i = tn(e), a = r(() => "q-icon" + (e.left ? " on-left" : "") + (e.right ? " on-right" : "") + (e.color === void 0 ? "" : ` text-${e.color}`)), o = r(() => {
1166
+ let t, r = e.name;
1167
+ if (r === "none" || !r) return { none: !0 };
1168
+ if (n.iconMapFn !== null) {
1169
+ let e = n.iconMapFn(r);
1170
+ if (e !== void 0) if (e.icon !== void 0) {
1171
+ if (r = e.icon, r === "none" || !r) return { none: !0 };
1172
+ } else return {
1173
+ cls: e.cls,
1174
+ content: e.content === void 0 ? " " : e.content
1175
+ };
1176
+ }
1177
+ if (fn.test(r)) {
1178
+ let [e, t = nn] = r.split("|");
1179
+ return {
1180
+ svg: !0,
1181
+ viewBox: t,
1182
+ nodes: e.split("&&").map((e) => {
1183
+ let [t, n, r] = e.split("@@");
1184
+ return f("path", {
1185
+ style: n,
1186
+ d: t,
1187
+ transform: r
1188
+ });
1189
+ })
1190
+ };
1191
+ }
1192
+ if (pn.test(r)) return {
1193
+ img: !0,
1194
+ src: r.slice(4)
1195
+ };
1196
+ if (mn.test(r)) {
1197
+ let [e, t = nn] = r.split("|");
1198
+ return {
1199
+ svguse: !0,
1200
+ src: e.slice(7),
1201
+ viewBox: t
1202
+ };
1203
+ }
1204
+ let i = " ", a = r.match(ln);
1205
+ if (a !== null) t = on[a[1]](r);
1206
+ else if (gn.test(r)) t = r;
1207
+ else if (hn.test(r)) t = `ionicons ion-${n.platform.is.ios ? "ios" : "md"}${r.slice(3)}`;
1208
+ else if (dn.test(r)) {
1209
+ t = "notranslate material-symbols";
1210
+ let e = r.match(dn);
1211
+ e !== null && (r = r.slice(6), t += cn[e[1]]), i = r;
1212
+ } else {
1213
+ t = "notranslate material-icons";
1214
+ let e = r.match(un);
1215
+ e !== null && (r = r.slice(2), t += sn[e[1]]), i = r;
1216
+ }
1217
+ return {
1218
+ cls: t,
1219
+ content: i
1220
+ };
1221
+ });
1222
+ return () => {
1223
+ let n = {
1224
+ class: a.value,
1225
+ style: i.value,
1226
+ "aria-hidden": "true"
1227
+ };
1228
+ return o.value.none ? f(e.tag, n, X(t.default)) : o.value.img ? f(e.tag, n, Mt(t.default, [f("img", { src: o.value.src })])) : o.value.svg ? f(e.tag, n, Mt(t.default, [f("svg", { viewBox: o.value.viewBox || "0 0 24 24" }, o.value.nodes)])) : o.value.svguse ? f(e.tag, n, Mt(t.default, [f("svg", { viewBox: o.value.viewBox }, [f("use", { "xlink:href": o.value.src })])])) : (o.value.cls !== void 0 && (n.class += " " + o.value.cls), f(e.tag, n, Mt(t.default, [o.value.content])));
1229
+ };
1230
+ }
1231
+ }), vn = {
1232
+ size: {
1233
+ type: [String, Number],
1234
+ default: "1em"
1235
+ },
1236
+ color: String
1237
+ };
1238
+ function yn(e) {
1239
+ return {
1240
+ cSize: r(() => e.size in $t ? `${$t[e.size]}px` : e.size),
1241
+ classes: r(() => "q-spinner" + (e.color ? ` text-${e.color}` : ""))
1242
+ };
1243
+ }
1244
+ //#endregion
1245
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/spinner/QSpinner.js
1246
+ var bn = Ke({
1247
+ name: "QSpinner",
1248
+ props: {
1249
+ ...vn,
1250
+ thickness: {
1251
+ type: Number,
1252
+ default: 5
1253
+ }
1254
+ },
1255
+ setup(e) {
1256
+ let { cSize: t, classes: n } = yn(e);
1257
+ return () => f("svg", {
1258
+ class: n.value + " q-spinner-mat",
1259
+ width: t.value,
1260
+ height: t.value,
1261
+ viewBox: "25 25 50 50"
1262
+ }, [f("circle", {
1263
+ class: "path",
1264
+ cx: "50",
1265
+ cy: "50",
1266
+ r: "20",
1267
+ fill: "none",
1268
+ stroke: "currentColor",
1269
+ "stroke-width": e.thickness,
1270
+ "stroke-miterlimit": "10"
1271
+ })]);
1272
+ }
1273
+ }), xn = /^on[A-Z]/;
1274
+ function Sn() {
1275
+ let e = d(), { attrs: t } = e, n = {
1276
+ listeners: D({}),
1277
+ attributes: D({})
1278
+ };
1279
+ function r() {
1280
+ let r = {}, i = {};
1281
+ for (let e in t) e !== "class" && e !== "style" && !xn.test(e) && (r[e] = t[e]);
1282
+ for (let t in e.vnode.props) xn.test(t) && (i[t] = e.vnode.props[t]);
1283
+ n.attributes.value = r, n.listeners.value = i;
1284
+ }
1285
+ return x(r), r(), n;
1286
+ }
1287
+ //#endregion
1288
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-dark/use-dark.js
1289
+ var Cn = { dark: {
1290
+ type: Boolean,
1291
+ default: null
1292
+ } };
1293
+ function wn(e, t) {
1294
+ return r(() => e.dark === null ? t.dark.isActive : e.dark);
1295
+ }
1296
+ //#endregion
1297
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.symbols/symbols.js
1298
+ var Tn = "_q_fo_";
1299
+ //#endregion
1300
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-form/use-form-child.js
1301
+ function En({ validate: e, resetValidation: t, requiresQForm: n }) {
1302
+ let r = p(Tn, !1);
1303
+ if (r !== !1) {
1304
+ let { props: n, proxy: i } = d();
1305
+ Object.assign(i, {
1306
+ validate: e,
1307
+ resetValidation: t
1308
+ }), M(() => n.disable, (e) => {
1309
+ e ? (typeof t == "function" && t(), r.unbindComponent(i)) : r.bindComponent(i);
1310
+ }), C(() => {
1311
+ n.disable || r.bindComponent(i);
1312
+ }), b(() => {
1313
+ n.disable || r.unbindComponent(i);
1314
+ });
1315
+ } else n && console.error("Parent QForm not found on useFormChild()!");
1316
+ }
1317
+ //#endregion
1318
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/patterns/patterns.js
1319
+ var Dn = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, On = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, kn = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, An = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, jn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0(\.[\d]+)?|1(\.0+)?)\)$/, Mn = /^-?[\d]+\/(0[1-9]|1[0-2])\/(0[1-9]|[12]\d|3[01])$/, Nn = /^([0-1]?\d|2[0-3]):[0-5]\d$/, Pn = /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/, Fn = /^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/, In = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Ln = {
1320
+ date: (e) => Mn.test(e),
1321
+ time: (e) => Nn.test(e),
1322
+ fulltime: (e) => Pn.test(e),
1323
+ timeOrFulltime: (e) => Fn.test(e),
1324
+ email: (e) => In.test(e),
1325
+ hexColor: (e) => Dn.test(e),
1326
+ hexaColor: (e) => On.test(e),
1327
+ hexOrHexaColor: (e) => kn.test(e),
1328
+ rgbColor: (e) => An.test(e),
1329
+ rgbaColor: (e) => jn.test(e),
1330
+ rgbOrRgbaColor: (e) => An.test(e) || jn.test(e),
1331
+ hexOrRgbColor: (e) => Dn.test(e) || An.test(e),
1332
+ hexaOrRgbaColor: (e) => On.test(e) || jn.test(e),
1333
+ anyColor: (e) => kn.test(e) || An.test(e) || jn.test(e)
1334
+ };
1335
+ //#endregion
1336
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/debounce/debounce.js
1337
+ function Rn(e, t = 250, n) {
1338
+ let r = null;
1339
+ function i(...i) {
1340
+ r === null ? n && e.apply(this, i) : clearTimeout(r), r = setTimeout(() => {
1341
+ r = null, n || e.apply(this, i);
1342
+ }, t);
1343
+ }
1344
+ return i.cancel = () => {
1345
+ r !== null && (clearTimeout(r), r = null);
1346
+ }, i;
1347
+ }
1348
+ //#endregion
1349
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-validate/use-validate.js
1350
+ var zn = [
1351
+ !0,
1352
+ !1,
1353
+ "ondemand"
1354
+ ], Bn = {
1355
+ modelValue: {},
1356
+ error: {
1357
+ type: Boolean,
1358
+ default: null
1359
+ },
1360
+ errorMessage: String,
1361
+ noErrorIcon: Boolean,
1362
+ rules: Array,
1363
+ reactiveRules: Boolean,
1364
+ lazyRules: {
1365
+ type: [Boolean, String],
1366
+ default: !1,
1367
+ validator: (e) => zn.includes(e)
1368
+ }
1369
+ };
1370
+ function Vn(e, t) {
1371
+ let { props: n, proxy: i } = d(), a = D(!1), o = D(null), s = D(!1);
1372
+ En({
1373
+ validate: _,
1374
+ resetValidation: g
1375
+ });
1376
+ let c = 0, l, u = r(() => n.rules !== void 0 && n.rules !== null && n.rules.length !== 0), f = r(() => !n.disable && u.value && !t.value), p = r(() => n.error === !0 || a.value), m = r(() => typeof n.errorMessage == "string" && n.errorMessage.length !== 0 ? n.errorMessage : o.value);
1377
+ M(() => n.modelValue, () => {
1378
+ s.value = !0, f.value && n.lazyRules === !1 && v();
1379
+ });
1380
+ function h() {
1381
+ n.lazyRules !== "ondemand" && f.value && s.value && v();
1382
+ }
1383
+ M(() => n.reactiveRules, (e) => {
1384
+ e ? l === void 0 && (l = M(() => n.rules, h, {
1385
+ immediate: !0,
1386
+ deep: !0
1387
+ })) : l !== void 0 && (l(), l = void 0);
1388
+ }, { immediate: !0 }), M(() => n.lazyRules, h), M(e, (e) => {
1389
+ e ? s.value = !0 : f.value && n.lazyRules !== "ondemand" && v();
1390
+ });
1391
+ function g() {
1392
+ c++, t.value = !1, s.value = !1, a.value = !1, o.value = null, v.cancel();
1393
+ }
1394
+ function _(e = n.modelValue) {
1395
+ if (n.disable || !u.value) return !0;
1396
+ let r = ++c, i = t.value ? () => {} : () => {
1397
+ s.value = !0;
1398
+ }, l = (e, n) => {
1399
+ e && i(), a.value = e, o.value = n || null, t.value = !1;
1400
+ }, d = [];
1401
+ for (let t = 0; t < n.rules.length; t++) {
1402
+ let r = n.rules[t], i;
1403
+ if (typeof r == "function" ? i = r(e, Ln) : typeof r == "string" && Ln[r] !== void 0 && (i = Ln[r](e)), i === !1 || typeof i == "string") return l(!0, i), !1;
1404
+ i !== !0 && i !== void 0 && d.push(i);
1405
+ }
1406
+ return d.length === 0 ? (l(!1), !0) : (t.value = !0, Promise.all(d).then((e) => {
1407
+ if (e === void 0 || !Array.isArray(e) || e.length === 0) return r === c && l(!1), !0;
1408
+ let t = e.find((e) => e === !1 || typeof e == "string");
1409
+ return r === c && l(t !== void 0, t), t === void 0;
1410
+ }, (e) => (r === c && (console.error(e), l(!0)), !1)));
1411
+ }
1412
+ let v = Rn(_, 0);
1413
+ return b(() => {
1414
+ l?.(), v.cancel();
1415
+ }), Object.assign(i, {
1416
+ resetValidation: g,
1417
+ validate: _
1418
+ }), L(i, "hasError", () => p.value), {
1419
+ isDirtyModel: s,
1420
+ hasRules: u,
1421
+ hasError: p,
1422
+ errorMessage: m,
1423
+ validate: _,
1424
+ resetValidation: g
1425
+ };
1426
+ }
1427
+ //#endregion
1428
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-field/use-field.js
1429
+ function Hn(e) {
1430
+ return e != null && String(e).length !== 0;
1431
+ }
1432
+ var Un = {
1433
+ ...Cn,
1434
+ ...Bn,
1435
+ label: String,
1436
+ stackLabel: Boolean,
1437
+ hint: String,
1438
+ hideHint: Boolean,
1439
+ prefix: String,
1440
+ suffix: String,
1441
+ labelColor: String,
1442
+ color: String,
1443
+ bgColor: String,
1444
+ filled: Boolean,
1445
+ outlined: Boolean,
1446
+ borderless: Boolean,
1447
+ standout: [Boolean, String],
1448
+ square: Boolean,
1449
+ loading: Boolean,
1450
+ labelSlot: Boolean,
1451
+ bottomSlots: Boolean,
1452
+ hideBottomSpace: Boolean,
1453
+ rounded: Boolean,
1454
+ dense: Boolean,
1455
+ itemAligned: Boolean,
1456
+ counter: Boolean,
1457
+ clearable: Boolean,
1458
+ clearIcon: String,
1459
+ disable: Boolean,
1460
+ readonly: Boolean,
1461
+ autofocus: Boolean,
1462
+ for: String,
1463
+ maxlength: [Number, String]
1464
+ }, Wn = [
1465
+ "update:modelValue",
1466
+ "clear",
1467
+ "focus",
1468
+ "blur"
1469
+ ];
1470
+ function Gn({ requiredForAttr: e = !0, tagProp: t, changeEvent: n = !1 } = {}) {
1471
+ let { props: i, proxy: a } = d(), o = wn(i, a.$q), s = _t({
1472
+ required: e,
1473
+ getValue: () => i.for
1474
+ });
1475
+ return {
1476
+ requiredForAttr: e,
1477
+ changeEvent: n,
1478
+ tag: t ? r(() => i.tag) : { value: "label" },
1479
+ isDark: o,
1480
+ editable: r(() => !i.disable && !i.readonly),
1481
+ innerLoading: D(!1),
1482
+ focused: D(!1),
1483
+ hasPopupOpen: !1,
1484
+ splitAttrs: Sn(),
1485
+ targetUid: s,
1486
+ rootRef: D(null),
1487
+ targetRef: D(null),
1488
+ controlRef: D(null)
1489
+ };
1490
+ }
1491
+ function Kn(e, t) {
1492
+ return t === null ? null : f("div", {
1493
+ key: e,
1494
+ class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
1495
+ }, t);
1496
+ }
1497
+ function qn(e) {
1498
+ let { props: t, emit: i, slots: a, attrs: o, proxy: s } = d(), { $q: c } = s, l = null;
1499
+ e.hasValue === void 0 && (e.hasValue = r(() => Hn(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (e) => {
1500
+ i("update:modelValue", e);
1501
+ }), e.controlEvents === void 0 && (e.controlEvents = {
1502
+ onFocusin: N,
1503
+ onFocusout: P
1504
+ }), Object.assign(e, {
1505
+ clearValue: F,
1506
+ onControlFocusin: N,
1507
+ onControlFocusout: P,
1508
+ focus: j
1509
+ }), e.computedCounter === void 0 && (e.computedCounter = r(() => {
1510
+ if (t.counter) {
1511
+ let e = typeof t.modelValue == "string" || typeof t.modelValue == "number" ? String(t.modelValue).length : Array.isArray(t.modelValue) ? t.modelValue.length : 0, n = t.maxlength === void 0 ? t.maxValues : t.maxlength;
1512
+ return e + (n === void 0 ? "" : " / " + n);
1513
+ }
1514
+ }));
1515
+ let { isDirtyModel: u, hasRules: p, hasError: m, errorMessage: h, resetValidation: g } = Vn(e.focused, e.innerLoading), v = e.floatingLabel === void 0 ? r(() => t.stackLabel || e.focused.value || e.hasValue.value) : r(() => t.stackLabel || e.focused.value || e.floatingLabel.value), x = r(() => t.bottomSlots || t.hint !== void 0 || p.value || t.counter || t.error !== null), w = r(() => t.filled ? "filled" : t.outlined ? "outlined" : t.borderless ? "borderless" : t.standout ? "standout" : "standard"), T = r(() => `q-field row no-wrap items-start q-field--${w.value}` + (e.fieldClass === void 0 ? "" : ` ${e.fieldClass.value}`) + (t.rounded ? " q-field--rounded" : "") + (t.square ? " q-field--square" : "") + (v.value ? " q-field--float" : "") + (D.value ? " q-field--labeled" : "") + (t.dense ? " q-field--dense" : "") + (t.itemAligned ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value ? " q-field--focused" : "") + (m.value ? " q-field--error" : "") + (m.value || e.focused.value ? " q-field--highlighted" : "") + (!t.hideBottomSpace && x.value ? " q-field--with-bottom" : "") + (t.disable ? " q-field--disabled" : t.readonly ? " q-field--readonly" : "")), E = r(() => "q-field__control relative-position row no-wrap" + (t.bgColor === void 0 ? "" : ` bg-${t.bgColor}`) + (m.value ? " text-negative" : typeof t.standout == "string" && t.standout.length !== 0 && e.focused.value ? ` ${t.standout}` : t.color === void 0 ? "" : ` text-${t.color}`)), D = r(() => t.labelSlot || t.label !== void 0), O = r(() => "q-field__label no-pointer-events absolute ellipsis" + (t.labelColor !== void 0 && !m.value ? ` text-${t.labelColor}` : "")), k = r(() => ({
1516
+ id: e.targetUid.value,
1517
+ editable: e.editable.value,
1518
+ focused: e.focused.value,
1519
+ floatingLabel: v.value,
1520
+ modelValue: t.modelValue,
1521
+ emitValue: e.emitValue
1522
+ })), A = r(() => {
1523
+ let n = {};
1524
+ return e.targetUid.value && (n.for = e.targetUid.value), t.disable && (n["aria-disabled"] = "true"), n;
1525
+ });
1526
+ function ee() {
1527
+ let t = document.activeElement, n = e.targetRef?.value;
1528
+ n && (t === null || t.id !== e.targetUid.value) && (n.hasAttribute("tabindex") || (n = n.querySelector("[tabindex]")), n !== t && n?.focus({ preventScroll: !0 }));
1529
+ }
1530
+ function j() {
1531
+ Ze(ee);
1532
+ }
1533
+ function M() {
1534
+ Qe(ee);
1535
+ let t = document.activeElement;
1536
+ t !== null && e.rootRef.value.contains(t) && t.blur();
1537
+ }
1538
+ function N(t) {
1539
+ l !== null && (clearTimeout(l), l = null), e.editable.value && !e.focused.value && (e.focused.value = !0, i("focus", t));
1540
+ }
1541
+ function P(t, n) {
1542
+ l !== null && clearTimeout(l), l = setTimeout(() => {
1543
+ l = null, !(document.hasFocus() && (e.hasPopupOpen || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement))) && (e.focused.value && (e.focused.value = !1, i("blur", t)), n?.());
1544
+ }, 0);
1545
+ }
1546
+ function F(n) {
1547
+ Me(n), c.platform.is.mobile ? e.rootRef.value.contains(document.activeElement) && document.activeElement.blur() : (e.targetRef?.value || e.rootRef.value).focus(), t.type === "file" && (e.inputRef.value.value = null), e.onClear?.(), i("update:modelValue", null), e.changeEvent && i("change", null), i("clear", t.modelValue), _(() => {
1548
+ let e = u.value;
1549
+ g(), u.value = e;
1550
+ });
1551
+ }
1552
+ function I(e) {
1553
+ [13, 32].includes(e.keyCode) && F(e);
1554
+ }
1555
+ function L() {
1556
+ let n = [];
1557
+ return a.prepend !== void 0 && n.push(f("div", {
1558
+ class: "q-field__prepend q-field__marginal row no-wrap items-center",
1559
+ key: "prepend",
1560
+ onClick: K
1561
+ }, a.prepend())), n.push(f("div", { class: "q-field__control-container col relative-position row no-wrap q-anchor--skip" }, R())), m.value && !t.noErrorIcon && n.push(Kn("error", [f(_n, {
1562
+ name: c.iconSet.field.error,
1563
+ color: "negative"
1564
+ })])), t.loading || e.innerLoading.value ? n.push(Kn("inner-loading-append", a.loading === void 0 ? [f(bn, { color: t.color })] : a.loading())) : t.clearable && e.hasValue.value && e.editable.value && n.push(Kn("inner-clearable-append", [f(_n, {
1565
+ class: "q-field__focusable-action",
1566
+ name: t.clearIcon || c.iconSet.field.clear,
1567
+ tabindex: 0,
1568
+ role: "button",
1569
+ "aria-hidden": "false",
1570
+ "aria-label": c.lang.label.clear,
1571
+ onKeyup: I,
1572
+ onClick: F
1573
+ })])), a.append !== void 0 && n.push(f("div", {
1574
+ class: "q-field__append q-field__marginal row no-wrap items-center",
1575
+ key: "append",
1576
+ onClick: K
1577
+ }, a.append())), e.getInnerAppend !== void 0 && n.push(Kn("inner-append", e.getInnerAppend())), e.getControlChild !== void 0 && n.push(e.getControlChild()), n;
1578
+ }
1579
+ function R() {
1580
+ let n = [];
1581
+ return t.prefix !== void 0 && t.prefix !== null && n.push(f("div", { class: "q-field__prefix no-pointer-events row items-center" }, t.prefix)), e.getShadowControl !== void 0 && e.hasShadow.value && n.push(e.getShadowControl()), D.value && n.push(f("div", { class: O.value }, X(a.label, t.label))), e.getControl === void 0 ? a.rawControl === void 0 ? a.control !== void 0 && n.push(f("div", {
1582
+ ref: e.targetRef,
1583
+ class: "q-field__native row",
1584
+ tabindex: -1,
1585
+ ...e.splitAttrs.attributes.value,
1586
+ "data-autofocus": t.autofocus || void 0
1587
+ }, a.control(k.value))) : n.push(a.rawControl()) : n.push(e.getControl()), t.suffix !== void 0 && t.suffix !== null && n.push(f("div", { class: "q-field__suffix no-pointer-events row items-center" }, t.suffix)), n.concat(X(a.default));
1588
+ }
1589
+ function z() {
1590
+ let r, i;
1591
+ m.value ? h.value === null ? (r = X(a.error), i = "q--slot-error") : (r = [f("div", { role: "alert" }, h.value)], i = `q--slot-error-${h.value}`) : (!t.hideHint || e.focused.value) && (t.hint === void 0 ? (r = X(a.hint), i = "q--slot-hint") : (r = [f("div", t.hint)], i = `q--slot-hint-${t.hint}`));
1592
+ let o = t.counter || a.counter !== void 0;
1593
+ if (t.hideBottomSpace && !o && r === void 0) return;
1594
+ let s = f("div", {
1595
+ key: i,
1596
+ class: "q-field__messages col"
1597
+ }, r);
1598
+ return f("div", {
1599
+ class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace ? "stale" : "animated"),
1600
+ onClick: K
1601
+ }, [t.hideBottomSpace ? s : f(n, { name: "q-transition--field-message" }, () => s), o ? f("div", { class: "q-field__counter" }, a.counter === void 0 ? e.computedCounter.value : a.counter()) : null]);
1602
+ }
1603
+ let B = !1;
1604
+ return S(() => {
1605
+ B = !0;
1606
+ }), y(() => {
1607
+ B && t.autofocus && s.focus();
1608
+ }), t.autofocus && C(() => {
1609
+ s.focus();
1610
+ }), b(() => {
1611
+ l !== null && clearTimeout(l);
1612
+ }), Object.assign(s, {
1613
+ focus: j,
1614
+ blur: M
1615
+ }), function() {
1616
+ let n = e.getControl === void 0 && a.control === void 0 ? {
1617
+ ...e.splitAttrs.attributes.value,
1618
+ "data-autofocus": t.autofocus || void 0,
1619
+ ...A.value
1620
+ } : A.value;
1621
+ return f(e.tag.value, {
1622
+ ref: e.rootRef,
1623
+ class: [T.value, o.class],
1624
+ style: o.style,
1625
+ ...n
1626
+ }, [
1627
+ a.before === void 0 ? null : f("div", {
1628
+ class: "q-field__before q-field__marginal row no-wrap items-center",
1629
+ onClick: K
1630
+ }, a.before()),
1631
+ f("div", { class: "q-field__inner relative-position col self-stretch" }, [f("div", {
1632
+ ref: e.controlRef,
1633
+ class: E.value,
1634
+ tabindex: -1,
1635
+ ...e.controlEvents
1636
+ }, L()), x.value ? z() : null]),
1637
+ a.after === void 0 ? null : f("div", {
1638
+ class: "q-field__after q-field__marginal row no-wrap items-center",
1639
+ onClick: K
1640
+ }, a.after())
1641
+ ]);
1642
+ };
1643
+ }
1644
+ //#endregion
1645
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/input/use-mask.js
1646
+ var Jn = {
1647
+ date: "####/##/##",
1648
+ datetime: "####/##/## ##:##",
1649
+ time: "##:##",
1650
+ fulltime: "##:##:##",
1651
+ phone: "(###) ### - ####",
1652
+ card: "#### #### #### ####"
1653
+ }, { tokenMap: Yn, tokenKeys: Xn } = Zn({
1654
+ "#": {
1655
+ pattern: "[\\d]",
1656
+ negate: "[^\\d]"
1657
+ },
1658
+ S: {
1659
+ pattern: "[a-zA-Z]",
1660
+ negate: "[^a-zA-Z]"
1661
+ },
1662
+ N: {
1663
+ pattern: "[0-9a-zA-Z]",
1664
+ negate: "[^0-9a-zA-Z]"
1665
+ },
1666
+ A: {
1667
+ pattern: "[a-zA-Z]",
1668
+ negate: "[^a-zA-Z]",
1669
+ transform: (e) => e.toLocaleUpperCase()
1670
+ },
1671
+ a: {
1672
+ pattern: "[a-zA-Z]",
1673
+ negate: "[^a-zA-Z]",
1674
+ transform: (e) => e.toLocaleLowerCase()
1675
+ },
1676
+ X: {
1677
+ pattern: "[0-9a-zA-Z]",
1678
+ negate: "[^0-9a-zA-Z]",
1679
+ transform: (e) => e.toLocaleUpperCase()
1680
+ },
1681
+ x: {
1682
+ pattern: "[0-9a-zA-Z]",
1683
+ negate: "[^0-9a-zA-Z]",
1684
+ transform: (e) => e.toLocaleLowerCase()
1685
+ }
1686
+ });
1687
+ function Zn(e) {
1688
+ let t = Object.keys(e), n = {};
1689
+ return t.forEach((t) => {
1690
+ let r = e[t];
1691
+ n[t] = {
1692
+ ...r,
1693
+ regex: new RegExp(r.pattern)
1694
+ };
1695
+ }), {
1696
+ tokenMap: n,
1697
+ tokenKeys: t
1698
+ };
1699
+ }
1700
+ function Qn(e) {
1701
+ return RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + e.join("") + "])|(.)", "g");
1702
+ }
1703
+ var $n = /[.*+?^${}()|[\]\\]/g, er = Qn(Xn), $ = String.fromCodePoint(1), tr = {
1704
+ mask: String,
1705
+ reverseFillMask: Boolean,
1706
+ fillMask: [Boolean, String],
1707
+ unmaskedValue: Boolean,
1708
+ maskTokens: Object
1709
+ };
1710
+ function nr(e, t, n, i) {
1711
+ let a, o, s, c, l, u, d = r(() => {
1712
+ if (e.maskTokens === void 0 || e.maskTokens === null) return {
1713
+ tokenMap: Yn,
1714
+ tokenRegexMask: er
1715
+ };
1716
+ let { tokenMap: t } = Zn(e.maskTokens), n = {
1717
+ ...Yn,
1718
+ ...t
1719
+ };
1720
+ return {
1721
+ tokenMap: n,
1722
+ tokenRegexMask: Qn(Object.keys(n))
1723
+ };
1724
+ }), f = D(null), p = D(h());
1725
+ function m() {
1726
+ return e.autogrow || [
1727
+ "textarea",
1728
+ "text",
1729
+ "search",
1730
+ "url",
1731
+ "tel",
1732
+ "password"
1733
+ ].includes(e.type);
1734
+ }
1735
+ M(() => e.type + e.autogrow, v), M(() => e.mask, (n) => {
1736
+ if (n !== void 0) y(p.value, !0);
1737
+ else {
1738
+ let n = E(p.value);
1739
+ v(), e.modelValue !== n && t("update:modelValue", n);
1740
+ }
1741
+ }), M(() => e.fillMask + e.reverseFillMask, () => {
1742
+ f.value && y(p.value, !0);
1743
+ }), M(() => e.unmaskedValue, () => {
1744
+ f.value && y(p.value);
1745
+ }), M(() => e.maskTokens, () => {
1746
+ f.value && y(p.value, !0);
1747
+ }, { deep: !0 });
1748
+ function h() {
1749
+ if (v(), f.value) {
1750
+ let t = w(E(e.modelValue));
1751
+ return e.fillMask === !1 ? t : O(t);
1752
+ }
1753
+ return e.modelValue;
1754
+ }
1755
+ function g(e) {
1756
+ if (e < a.length) return a.slice(-e);
1757
+ let t = "", n = a, r = n.indexOf($);
1758
+ if (r !== -1) {
1759
+ for (let r = e - n.length; r > 0; r--) t += $;
1760
+ n = n.slice(0, r) + t + n.slice(r);
1761
+ }
1762
+ return n;
1763
+ }
1764
+ function v() {
1765
+ if (f.value = e.mask !== void 0 && e.mask.length !== 0 && m(), !f.value) {
1766
+ c = void 0, a = "", o = "";
1767
+ return;
1768
+ }
1769
+ let t = Jn[e.mask] === void 0 ? e.mask : Jn[e.mask], n = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", r = n.replace($n, String.raw`\$&`), i = [], l = [], u = [], p = e.reverseFillMask, h = "", g = "";
1770
+ t.replace(d.value.tokenRegexMask, (e, t, n, r, a) => {
1771
+ if (r !== void 0) {
1772
+ let e = d.value.tokenMap[r];
1773
+ u.push(e), g = e.negate, p &&= (l.push("(?:" + g + "+)?(" + e.pattern + "+)?(?:" + g + "+)?(" + e.pattern + "+)?"), !1), l.push("(?:" + g + "+)?(" + e.pattern + ")?");
1774
+ return;
1775
+ }
1776
+ if (n !== void 0) h = "\\" + (n === "\\" ? "" : n), u.push(n);
1777
+ else {
1778
+ let e = t === void 0 ? a : t;
1779
+ h = e === "\\" ? String.raw`\\\\` : e.replace($n, String.raw`\\$&`), u.push(e);
1780
+ }
1781
+ i.push("([^" + h + "]+)?" + h + "?");
1782
+ });
1783
+ let _ = RegExp("^" + i.join("") + "(" + (h === "" ? "." : "[^" + h + "]") + "+)?" + (h === "" ? "" : "[" + h + "]*") + "$"), v = l.length - 1, y = l.map((t, n) => n === 0 && e.reverseFillMask ? RegExp("^" + r + "*" + t) : RegExp(n === v ? "^" + t + "(" + (g === "" ? "." : g) + "+)?" + (e.reverseFillMask ? "$" : r + "*") : "^" + t));
1784
+ s = u, c = (t) => {
1785
+ let n = _.exec(e.reverseFillMask ? t : t.slice(0, u.length + 1));
1786
+ n !== null && (t = n.slice(1).join(""));
1787
+ let r = [], i = y.length;
1788
+ for (let e = 0, n = t; e < i; e++) {
1789
+ let t = y[e].exec(n);
1790
+ if (t === null) break;
1791
+ n = n.slice(t.shift().length), r.push(...t);
1792
+ }
1793
+ return r.length === 0 ? t : r.join("");
1794
+ }, a = u.map((e) => typeof e == "string" ? e : $).join(""), o = a.split($).join(n);
1795
+ }
1796
+ function y(t, r, s) {
1797
+ let c = i.value, u = c?.selectionEnd ?? 0, d = c === null ? 0 : c.value.length - u, f = E(t);
1798
+ r === !0 && v();
1799
+ let m = w(f, r), h = e.fillMask === !1 ? m : O(m), g = p.value !== h;
1800
+ c !== null && c.value !== h && (c.value = h), g && (p.value = h), c !== null && document.activeElement === c && _(() => {
1801
+ if (h === o) {
1802
+ let t = e.reverseFillMask ? o.length : 0;
1803
+ c.setSelectionRange(t, t, "forward");
1804
+ return;
1805
+ }
1806
+ if (s === "insertFromPaste" && !e.reverseFillMask) {
1807
+ let e = c.selectionEnd, t = u - 1;
1808
+ for (let n = l; n <= t && n < e; n++) a[n] !== $ && t++;
1809
+ x.right(c, t);
1810
+ return;
1811
+ }
1812
+ if (["deleteContentBackward", "deleteContentForward"].includes(s)) {
1813
+ let t = e.reverseFillMask ? u === 0 ? +(h.length > m.length) : Math.max(0, h.length - (h === o ? 0 : Math.min(m.length, d) + 1)) + 1 : u;
1814
+ c.setSelectionRange(t, t, "forward");
1815
+ return;
1816
+ }
1817
+ if (e.reverseFillMask) if (g) {
1818
+ let e = Math.max(0, h.length - (h === o ? 0 : Math.min(m.length, d + 1)));
1819
+ e === 1 && u === 1 ? c.setSelectionRange(e, e, "forward") : x.rightReverse(c, e);
1820
+ } else {
1821
+ let e = h.length - d;
1822
+ c.setSelectionRange(e, e, "backward");
1823
+ }
1824
+ else if (g) {
1825
+ let e = Math.max(0, a.indexOf($), Math.min(m.length, u) - 1);
1826
+ x.right(c, e);
1827
+ } else {
1828
+ let e = u - 1;
1829
+ x.right(c, e);
1830
+ }
1831
+ });
1832
+ let y = e.unmaskedValue ? E(h) : h;
1833
+ String(e.modelValue) !== y && (e.modelValue !== null || y !== "") && n(y, !0);
1834
+ }
1835
+ function b(e, t, n) {
1836
+ let r = w(E(e.value));
1837
+ t = Math.max(0, a.indexOf($), Math.min(r.length, t)), l = t, e.setSelectionRange(t, n, "forward");
1838
+ }
1839
+ let x = {
1840
+ left(e, t) {
1841
+ let n = !a.slice(t - 1).includes($), r = Math.max(0, t - 1);
1842
+ for (; r >= 0; r--) if (a[r] === $) {
1843
+ t = r, n && t++;
1844
+ break;
1845
+ }
1846
+ if (r < 0 && a[t] !== void 0 && a[t] !== $) return x.right(e, 0);
1847
+ t >= 0 && e.setSelectionRange(t, t, "backward");
1848
+ },
1849
+ right(e, t) {
1850
+ let n = e.value.length, r = Math.min(n, t + 1);
1851
+ for (; r <= n; r++) if (a[r] === $) {
1852
+ t = r;
1853
+ break;
1854
+ } else a[r - 1] === $ && (t = r);
1855
+ if (r > n && a[t - 1] !== void 0 && a[t - 1] !== $) return x.left(e, n);
1856
+ e.setSelectionRange(t, t, "forward");
1857
+ },
1858
+ leftReverse(e, t) {
1859
+ let n = g(e.value.length), r = Math.max(0, t - 1);
1860
+ for (; r >= 0; r--) if (n[r - 1] === $) {
1861
+ t = r;
1862
+ break;
1863
+ } else if (n[r] === $ && (t = r, r === 0)) break;
1864
+ if (r < 0 && n[t] !== void 0 && n[t] !== $) return x.rightReverse(e, 0);
1865
+ t >= 0 && e.setSelectionRange(t, t, "backward");
1866
+ },
1867
+ rightReverse(e, t) {
1868
+ let n = e.value.length, r = g(n), i = !r.slice(0, t + 1).includes($), a = Math.min(n, t + 1);
1869
+ for (; a <= n; a++) if (r[a - 1] === $) {
1870
+ t = a, t > 0 && i && t--;
1871
+ break;
1872
+ }
1873
+ if (a > n && r[t - 1] !== void 0 && r[t - 1] !== $) return x.leftReverse(e, n);
1874
+ e.setSelectionRange(t, t, "forward");
1875
+ }
1876
+ };
1877
+ function S(e) {
1878
+ t("click", e), u = void 0;
1879
+ }
1880
+ function C(n) {
1881
+ if (t("keydown", n), Ie(n) || n.altKey) return;
1882
+ let r = i.value, a = r.selectionStart, o = r.selectionEnd;
1883
+ if (n.shiftKey || (u = void 0), n.keyCode === 37 || n.keyCode === 39) {
1884
+ n.shiftKey && u === void 0 && (u = r.selectionDirection === "forward" ? a : o);
1885
+ let t = x[(n.keyCode === 39 ? "right" : "left") + (e.reverseFillMask ? "Reverse" : "")];
1886
+ if (n.preventDefault(), t(r, u === a ? o : a), n.shiftKey) {
1887
+ let e = r.selectionStart;
1888
+ r.setSelectionRange(Math.min(u, e), Math.max(u, e), "forward");
1889
+ }
1890
+ } else n.keyCode === 8 && !e.reverseFillMask && a === o ? (x.left(r, a), r.setSelectionRange(r.selectionStart, o, "backward")) : n.keyCode === 46 && e.reverseFillMask && a === o && (x.rightReverse(r, o), r.setSelectionRange(a, r.selectionEnd, "forward"));
1891
+ }
1892
+ function w(t, n) {
1893
+ if (t == null || t === "") return "";
1894
+ if (e.reverseFillMask) return T(t, n);
1895
+ let r = s, i = 0, a = "";
1896
+ for (let e = 0; e < r.length; e++) {
1897
+ let o = t[i], s = r[e];
1898
+ if (typeof s == "string") a += s, n === !0 && o === s && i++;
1899
+ else if (o !== void 0 && s.regex.test(o)) a += s.transform === void 0 ? o : s.transform(o), i++;
1900
+ else return a;
1901
+ }
1902
+ return a;
1903
+ }
1904
+ function T(e, t) {
1905
+ let n = s, r = a.indexOf($), i = e.length - 1, o = "";
1906
+ for (let a = n.length - 1; a >= 0 && i !== -1; a--) {
1907
+ let s = n[a], c = e[i];
1908
+ if (typeof s == "string") o = s + o, t === !0 && c === s && i--;
1909
+ else if (c !== void 0 && s.regex.test(c)) do
1910
+ o = (s.transform === void 0 ? c : s.transform(c)) + o, i--, c = e[i];
1911
+ while (r === a && c !== void 0 && s.regex.test(c));
1912
+ else return o;
1913
+ }
1914
+ return o;
1915
+ }
1916
+ function E(e) {
1917
+ return typeof e != "string" || c === void 0 ? typeof e == "number" ? c(String(e)) : e : c(e);
1918
+ }
1919
+ function O(t) {
1920
+ return o.length - t.length <= 0 ? t : e.reverseFillMask && t.length !== 0 ? o.slice(0, -t.length) + t : t + o.slice(t.length);
1921
+ }
1922
+ return {
1923
+ innerValue: p,
1924
+ hasMask: f,
1925
+ moveCursorForPaste: b,
1926
+ updateMaskValue: y,
1927
+ onMaskedKeydown: C,
1928
+ onMaskedClick: S
1929
+ };
1930
+ }
1931
+ //#endregion
1932
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-form/private.use-form.js
1933
+ var rr = { name: String };
1934
+ function ir(e) {
1935
+ return r(() => e.name || e.for);
1936
+ }
1937
+ //#endregion
1938
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js
1939
+ function ar(e, t) {
1940
+ function n() {
1941
+ let t = e.modelValue;
1942
+ try {
1943
+ let e = "DataTransfer" in window ? new DataTransfer() : "ClipboardEvent" in window ? new ClipboardEvent("").clipboardData : void 0;
1944
+ return Object(t) === t && ("length" in t ? [...t] : [t]).forEach((t) => {
1945
+ e.items.add(t);
1946
+ }), { files: e.files };
1947
+ } catch {
1948
+ return { files: void 0 };
1949
+ }
1950
+ }
1951
+ return r(t ? () => {
1952
+ if (e.type === "file") return n();
1953
+ } : n);
1954
+ }
1955
+ //#endregion
1956
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js
1957
+ var or = /[\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFF9F\u4E00-\u9FAF\u3400-\u4DBF]/, sr = /[\u4E00-\u9FFF\u3400-\u4DBF\u{20000}-\u{2A6DF}\u{2A700}-\u{2B73F}\u{2B740}-\u{2B81F}\u{2B820}-\u{2CEAF}\uF900-\uFAFF\u3300-\u33FF\uFE30-\uFE4F\uF900-\uFAFF\u{2F800}-\u{2FA1F}]/u, cr = /[\u3131-\u314E\u314F-\u3163\uAC00-\uD7A3]/, lr = /[a-z0-9_ -]$/i;
1958
+ function ur(e) {
1959
+ return function(t) {
1960
+ if (t.type === "compositionend" || t.type === "change") {
1961
+ if (!t.target.qComposing) return;
1962
+ t.target.qComposing = !1, e(t);
1963
+ } else t.type === "compositionupdate" && !t.target.qComposing && typeof t.data == "string" && (W.is.firefox ? !lr.test(t.data) : or.test(t.data) || sr.test(t.data) || cr.test(t.data)) && (t.target.qComposing = !0);
1964
+ };
1965
+ }
1966
+ //#endregion
1967
+ //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/input/QInput.js
1968
+ var dr = Ke({
1969
+ name: "QInput",
1970
+ inheritAttrs: !1,
1971
+ props: {
1972
+ ...Un,
1973
+ ...tr,
1974
+ ...rr,
1975
+ modelValue: [
1976
+ String,
1977
+ Number,
1978
+ FileList
1979
+ ],
1980
+ modelModifiers: Object,
1981
+ shadowText: String,
1982
+ type: {
1983
+ type: String,
1984
+ default: "text"
1985
+ },
1986
+ debounce: [String, Number],
1987
+ autogrow: Boolean,
1988
+ inputClass: [
1989
+ Array,
1990
+ String,
1991
+ Object
1992
+ ],
1993
+ inputStyle: [
1994
+ Array,
1995
+ String,
1996
+ Object
1997
+ ]
1998
+ },
1999
+ emits: [
2000
+ ...Wn,
2001
+ "paste",
2002
+ "change",
2003
+ "keydown",
2004
+ "click",
2005
+ "animationend"
2006
+ ],
2007
+ setup(e, { emit: t, attrs: n }) {
2008
+ let { proxy: i } = d(), { $q: a } = i, o = {}, s = NaN, c = !1, l = !1, u = null, p, m = D(null), h = ir(e), { innerValue: g, hasMask: v, moveCursorForPaste: y, updateMaskValue: x, onMaskedKeydown: S, onMaskedClick: w } = nr(e, t, V, m), T = ar(e, !0), E = r(() => Hn(g.value)), O = ur(B), k = Gn({ changeEvent: !0 }), A = r(() => e.type === "textarea" || e.autogrow), ee = r(() => A.value || [
2009
+ "text",
2010
+ "search",
2011
+ "url",
2012
+ "tel",
2013
+ "password"
2014
+ ].includes(e.type)), j = r(() => {
2015
+ let t = {
2016
+ ...k.splitAttrs.listeners.value,
2017
+ onInput: B,
2018
+ onPaste: z,
2019
+ onChange: re,
2020
+ onBlur: ie,
2021
+ onFocus: je
2022
+ };
2023
+ return t.onCompositionstart = t.onCompositionupdate = t.onCompositionend = O, v.value && (t.onKeydown = S, t.onClick = w), e.autogrow && (t.onAnimationend = te), t;
2024
+ }), N = r(() => {
2025
+ let t = {
2026
+ tabindex: 0,
2027
+ "data-autofocus": e.autofocus || void 0,
2028
+ rows: e.type === "textarea" ? 6 : void 0,
2029
+ "aria-label": e.label,
2030
+ name: h.value,
2031
+ ...k.splitAttrs.attributes.value,
2032
+ id: k.targetUid.value,
2033
+ maxlength: e.maxlength,
2034
+ disabled: e.disable,
2035
+ readonly: e.readonly
2036
+ };
2037
+ return A.value || (t.type = e.type), e.autogrow && (t.rows = 1), t;
2038
+ });
2039
+ M(() => e.type, () => {
2040
+ m.value && (m.value.value = e.modelValue);
2041
+ }), M(() => e.modelValue, (t) => {
2042
+ if (u !== null && (H(), c = !1, l = !1, delete o.value), v.value) {
2043
+ if (l && (l = !1, String(t) === s)) return;
2044
+ x(t);
2045
+ } else g.value !== t && (g.value = t, e.type === "number" && Object.hasOwn(o, "value") && (c ? c = !1 : delete o.value), e.modelModifiers?.trim === !0 && Object.hasOwn(o, "value") && (typeof o.value != "string" || o.value.trim() !== t) && delete o.value);
2046
+ e.autogrow && _(U);
2047
+ }), M(() => e.autogrow, (e) => {
2048
+ e ? _(U) : m.value !== null && n.rows > 0 && (m.value.style.height = "auto");
2049
+ }), M(() => e.dense, () => {
2050
+ e.autogrow && _(U);
2051
+ });
2052
+ function P() {
2053
+ let e = document.activeElement;
2054
+ m.value !== null && m.value !== e && (e === null || e.id !== k.targetUid.value) && m.value.focus({ preventScroll: !0 });
2055
+ }
2056
+ function F() {
2057
+ Ze(P);
2058
+ }
2059
+ function I() {
2060
+ Qe(P);
2061
+ let e = document.activeElement;
2062
+ e !== null && k.rootRef.value.contains(e) && e.blur();
2063
+ }
2064
+ function R() {
2065
+ m.value?.select();
2066
+ }
2067
+ function z(n) {
2068
+ if (v.value && e.reverseFillMask !== !0) {
2069
+ let e = n.target;
2070
+ y(e, e.selectionStart, e.selectionEnd);
2071
+ }
2072
+ t("paste", n);
2073
+ }
2074
+ function B(n) {
2075
+ if (!n || !n.target) return;
2076
+ if (e.type === "file") {
2077
+ t("update:modelValue", n.target.files);
2078
+ return;
2079
+ }
2080
+ let r = n.target.value;
2081
+ if (n.target.qComposing) {
2082
+ o.value = r;
2083
+ return;
2084
+ }
2085
+ if (v.value) x(r, !1, n.inputType);
2086
+ else if (e.modelModifiers?.trim === !0 && (o.value = r), V(r), ee.value && n.target === document.activeElement) {
2087
+ let { selectionStart: e, selectionEnd: t } = n.target;
2088
+ e !== void 0 && t !== void 0 && _(() => {
2089
+ n.target === document.activeElement && r.indexOf(n.target.value) === 0 && n.target.setSelectionRange(e, t);
2090
+ });
2091
+ }
2092
+ e.autogrow && U();
2093
+ }
2094
+ function te(e) {
2095
+ t("animationend", e), U();
2096
+ }
2097
+ function V(n, r) {
2098
+ p = () => {
2099
+ u = null, e.type !== "number" && (e.modelModifiers?.trim !== !0 || v.value) && Object.hasOwn(o, "value") && delete o.value, e.modelValue !== n && s !== n && (s = n, r === !0 && (l = !0), t("update:modelValue", n), _(() => {
2100
+ s === n && (s = NaN);
2101
+ })), p = void 0;
2102
+ }, e.type === "number" && (c = !0, o.value = n), e.debounce === void 0 ? p() : (u !== null && clearTimeout(u), o.value = n, u = setTimeout(p, e.debounce));
2103
+ }
2104
+ function H() {
2105
+ u !== null && (clearTimeout(u), u = null), p = void 0;
2106
+ }
2107
+ function ne() {
2108
+ H(), c = !1, l = !1, delete o.value;
2109
+ }
2110
+ function U() {
2111
+ requestAnimationFrame(() => {
2112
+ let e = m.value;
2113
+ if (e !== null) {
2114
+ let t = e.parentNode.style, { scrollTop: n } = e, { overflowY: r, maxHeight: i } = a.platform.is.firefox ? {} : window.getComputedStyle(e), o = r !== void 0 && r !== "scroll";
2115
+ o && (e.style.overflowY = "hidden"), t.marginBottom = e.scrollHeight - 1 + "px", e.style.height = "1px", e.style.height = e.scrollHeight + "px", o && (e.style.overflowY = Number.parseInt(i, 10) < e.scrollHeight ? "auto" : "hidden"), t.marginBottom = "", e.scrollTop = n;
2116
+ }
2117
+ });
2118
+ }
2119
+ function re(e) {
2120
+ O(e), u !== null && (clearTimeout(u), u = null), p?.(), t("change", e.target.value);
2121
+ }
2122
+ function ie(t) {
2123
+ t !== void 0 && je(t), u !== null && (clearTimeout(u), u = null), p?.(), c = !1, l = !1, delete o.value, e.type !== "file" && setTimeout(() => {
2124
+ m.value !== null && (m.value.value = g.value === void 0 ? "" : g.value);
2125
+ }, 0);
2126
+ }
2127
+ function ae() {
2128
+ return Object.hasOwn(o, "value") ? o.value : g.value === void 0 ? "" : g.value;
2129
+ }
2130
+ b(() => {
2131
+ ie();
2132
+ }), C(() => {
2133
+ e.autogrow && U();
2134
+ }), Object.assign(k, {
2135
+ innerValue: g,
2136
+ fieldClass: r(() => `q-${A.value ? "textarea" : "input"}` + (e.autogrow ? " q-textarea--autogrow" : "")),
2137
+ hasShadow: r(() => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0),
2138
+ inputRef: m,
2139
+ emitValue: V,
2140
+ onClear: ne,
2141
+ hasValue: E,
2142
+ floatingLabel: r(() => E.value && (e.type !== "number" || Number.isFinite(Number(g.value))) || Hn(e.displayValue)),
2143
+ getControl: () => f(A.value ? "textarea" : "input", {
2144
+ ref: m,
2145
+ class: ["q-field__native q-placeholder", e.inputClass],
2146
+ style: e.inputStyle,
2147
+ ...N.value,
2148
+ ...j.value,
2149
+ ...e.type === "file" ? T.value : { value: ae() }
2150
+ }),
2151
+ getShadowControl: () => f("div", { class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (A.value ? "" : " text-no-wrap") }, [f("span", { class: "invisible" }, ae()), f("span", e.shadowText)])
2152
+ });
2153
+ let oe = qn(k);
2154
+ return Object.assign(i, {
2155
+ focus: F,
2156
+ blur: I,
2157
+ select: R,
2158
+ getNativeElement: () => m.value
2159
+ }), L(i, "nativeEl", () => m.value), oe;
2160
+ }
2161
+ });
2162
+ //#endregion
2163
+ //#region lib/components/inputs/VnInput.vue?vue&type=i18n&index=0&lang.i18n
2164
+ function fr(e) {
2165
+ let t = e;
2166
+ t.__i18n = t.__i18n || [], t.__i18n.push({
2167
+ locale: "",
2168
+ resource: {
2169
+ en: {
2170
+ inputMin: {
2171
+ t: 0,
2172
+ b: {
2173
+ t: 2,
2174
+ i: [{
2175
+ t: 3,
2176
+ v: "Must be more than "
2177
+ }, {
2178
+ t: 4,
2179
+ k: "value"
2180
+ }]
2181
+ }
2182
+ },
2183
+ maxLength: {
2184
+ t: 0,
2185
+ b: {
2186
+ t: 2,
2187
+ i: [
2188
+ {
2189
+ t: 3,
2190
+ v: "The value exceeds "
2191
+ },
2192
+ {
2193
+ t: 4,
2194
+ k: "value"
2195
+ },
2196
+ {
2197
+ t: 3,
2198
+ v: " characters"
2199
+ }
2200
+ ]
2201
+ }
2202
+ },
2203
+ inputMax: {
2204
+ t: 0,
2205
+ b: {
2206
+ t: 2,
2207
+ i: [{
2208
+ t: 3,
2209
+ v: "Must be less than "
2210
+ }, {
2211
+ t: 4,
2212
+ k: "value"
2213
+ }]
2214
+ }
2215
+ }
2216
+ },
2217
+ es: {
2218
+ inputMin: {
2219
+ t: 0,
2220
+ b: {
2221
+ t: 2,
2222
+ i: [{
2223
+ t: 3,
2224
+ v: "Debe ser mayor a "
2225
+ }, {
2226
+ t: 4,
2227
+ k: "value"
2228
+ }]
2229
+ }
2230
+ },
2231
+ maxLength: {
2232
+ t: 0,
2233
+ b: {
2234
+ t: 2,
2235
+ i: [
2236
+ {
2237
+ t: 3,
2238
+ v: "El valor excede los "
2239
+ },
2240
+ {
2241
+ t: 4,
2242
+ k: "value"
2243
+ },
2244
+ {
2245
+ t: 3,
2246
+ v: " carácteres"
2247
+ }
2248
+ ]
2249
+ }
2250
+ },
2251
+ inputMax: {
2252
+ t: 0,
2253
+ b: {
2254
+ t: 2,
2255
+ i: [{
2256
+ t: 3,
2257
+ v: "Debe ser menor a "
2258
+ }, {
2259
+ t: 4,
2260
+ k: "value"
2261
+ }]
2262
+ }
2263
+ },
2264
+ "Convert to uppercase": {
2265
+ t: 0,
2266
+ b: {
2267
+ t: 2,
2268
+ i: [{ t: 3 }],
2269
+ s: "Convertir a mayúsculas"
2270
+ }
2271
+ },
2272
+ Remove: {
2273
+ t: 0,
2274
+ b: {
2275
+ t: 2,
2276
+ i: [{ t: 3 }],
2277
+ s: "Eliminar"
2278
+ }
2279
+ }
2280
+ }
2281
+ }
2282
+ });
2283
+ }
2284
+ //#endregion
2285
+ //#region lib/components/inputs/VnInput.vue
2286
+ var pr = {
2287
+ __name: "VnInput",
2288
+ props: /*@__PURE__*/ h({
2289
+ isOutlined: {
2290
+ type: Boolean,
2291
+ default: !1
2292
+ },
2293
+ info: {
2294
+ type: String,
2295
+ default: ""
2296
+ },
2297
+ clearable: {
2298
+ type: Boolean,
2299
+ default: !0
2300
+ },
2301
+ emptyToNull: {
2302
+ type: Boolean,
2303
+ default: !0
2304
+ },
2305
+ insertable: {
2306
+ type: Boolean,
2307
+ default: !1
2308
+ },
2309
+ maxlength: {
2310
+ type: Number,
2311
+ default: null
2312
+ },
2313
+ uppercase: {
2314
+ type: Boolean,
2315
+ default: !1
2316
+ }
2317
+ }, {
2318
+ modelValue: { default: null },
2319
+ modelModifiers: {}
2320
+ }),
2321
+ emits: /*@__PURE__*/ h(["remove"], ["update:modelValue"]),
2322
+ setup(t, { expose: n, emit: u }) {
2323
+ let d = ee(), { isRequired: f, requiredFieldRule: p } = e(d), { t: m } = P(), h = u, y = t, b = j(t, "modelValue"), x = [
2324
+ "number",
2325
+ "search",
2326
+ "tel",
2327
+ "url",
2328
+ "password"
2329
+ ], S = (e) => {
2330
+ let t = e;
2331
+ y.emptyToNull && t === "" && (t = null), b.value = t;
2332
+ }, w = D(null), E = D(!1), M = r(() => y.isOutlined ? {
2333
+ dense: !0,
2334
+ outlined: !0,
2335
+ rounded: !0
2336
+ } : {}), F = (e) => {
2337
+ w.value?.focus(e);
2338
+ }, I = (e) => {
2339
+ _(() => {
2340
+ let t = e.target || w.value?.$el?.querySelector("input"), n = e.target.type || t?.getAttribute("type");
2341
+ if (n !== "email") {
2342
+ if (!x.includes(n)) {
2343
+ if (t?.setSelectionRange) {
2344
+ let e = t.value?.length ?? 0;
2345
+ t.setSelectionRange(e, e);
2346
+ }
2347
+ return;
2348
+ }
2349
+ t?.select?.();
2350
+ }
2351
+ });
2352
+ };
2353
+ n({
2354
+ focus: F,
2355
+ vnInputRef: w
2356
+ });
2357
+ let L = r(() => [
2358
+ p,
2359
+ ...d.rules ?? [],
2360
+ (e) => {
2361
+ let t = y.maxlength;
2362
+ if (t && +e?.length > t) return m("maxLength", { value: t });
2363
+ let { min: n, max: r } = d, i = n === void 0 ? void 0 : Number(n), a = r === void 0 ? void 0 : Number(r);
2364
+ return i !== void 0 && i >= 0 && Math.floor(e) < i ? m("inputMin", { value: i }) : a !== void 0 && a > 0 && Math.floor(e) > a ? m("inputMax", { value: a }) : !0;
2365
+ }
2366
+ ]), R = (e) => {
2367
+ e.key !== "Backspace" && y.insertable && e.key.match(/[0-9]/) && z(e);
2368
+ }, z = (e) => {
2369
+ e.preventDefault();
2370
+ let t = e.target, n = t.selectionStart, r = y.maxlength, i = b.value;
2371
+ i ||= e.key;
2372
+ let a = e.key;
2373
+ a && !isNaN(a) && n < r && S(i.substring(0, n) + a + i.substring(n + 1)), _(() => {
2374
+ t.setSelectionRange(n + 1, n + 1);
2375
+ });
2376
+ }, B = () => {
2377
+ b.value = b.value?.toUpperCase() || "";
2378
+ };
2379
+ return C(() => {
2380
+ d.autofocus && F();
2381
+ }), (e, n) => (T(), o("div", {
2382
+ onMouseover: n[1] ||= (e) => E.value = !0,
2383
+ onMouseleave: n[2] ||= (e) => E.value = !1
2384
+ }, [l(dr, g({
2385
+ ref_key: "vnInputRef",
2386
+ ref: w,
2387
+ "model-value": A(b),
2388
+ "onUpdate:modelValue": S
2389
+ }, {
2390
+ ...A(d),
2391
+ ...M.value
2392
+ }, {
2393
+ class: { required: A(f) },
2394
+ onKeydown: R,
2395
+ onFocus: I,
2396
+ clearable: !1,
2397
+ rules: L.value,
2398
+ "lazy-rules": !0,
2399
+ "hide-bottom-space": "",
2400
+ "data-cy": (A(d)["data-cy"] ?? A(d).label) + "_input",
2401
+ dense: ""
2402
+ }), s({
2403
+ append: N(() => [
2404
+ l(_n, {
2405
+ name: "close",
2406
+ size: "xs",
2407
+ class: "cursor-pointer",
2408
+ style: v({ visibility: E.value && A(b) && !A(d).disabled && !A(d).readonly && y.clearable ? "visible" : "hidden" }),
2409
+ onClick: n[0] ||= () => {
2410
+ S(null), w.value?.focus(), h("remove");
2411
+ }
2412
+ }, {
2413
+ default: N(() => [l(Qt, null, {
2414
+ default: N(() => [c(k(A(m)("Remove")), 1)]),
2415
+ _: 1
2416
+ })]),
2417
+ _: 1
2418
+ }, 8, ["style"]),
2419
+ !A(d).disabled && !A(d).readonly && y.uppercase ? (T(), i(_n, {
2420
+ key: 0,
2421
+ name: "match_case",
2422
+ size: "xs",
2423
+ onClick: B,
2424
+ class: "uppercase-icon"
2425
+ }, {
2426
+ default: N(() => [l(Qt, null, {
2427
+ default: N(() => [c(k(A(m)("Convert to uppercase")), 1)]),
2428
+ _: 1
2429
+ })]),
2430
+ _: 1
2431
+ })) : a("", !0),
2432
+ e.$slots.append && !A(d).disabled ? O(e.$slots, "append", {}, void 0, void 0, 1) : a("", !0),
2433
+ t.info ? (T(), i(_n, {
2434
+ key: 2,
2435
+ name: "info"
2436
+ }, {
2437
+ default: N(() => [l(Qt, { "max-width": "350px" }, {
2438
+ default: N(() => [c(k(t.info), 1)]),
2439
+ _: 1
2440
+ })]),
2441
+ _: 1
2442
+ })) : a("", !0)
2443
+ ]),
2444
+ _: 2
2445
+ }, [e.$slots.hint ? {
2446
+ name: "hint",
2447
+ fn: N(() => [O(e.$slots, "hint")]),
2448
+ key: "0"
2449
+ } : void 0, e.$slots.prepend ? {
2450
+ name: "prepend",
2451
+ fn: N(() => [O(e.$slots, "prepend")]),
2452
+ key: "1"
2453
+ } : void 0]), 1040, [
2454
+ "model-value",
2455
+ "class",
2456
+ "rules",
2457
+ "data-cy"
2458
+ ])], 32));
2459
+ }
2460
+ };
2461
+ typeof fr == "function" && fr(pr);
2462
+ //#endregion
2463
+ //#region lib/components/index.js
2464
+ var mr = /* @__PURE__ */ I({ VnInput: () => pr });
2465
+ //#endregion
2466
+ export { pr as n, mr as t };