@opentrainticketing/netex-deckplan-editor 1.0.8 → 1.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.
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @__NO_SIDE_EFFECTS__
|
|
2
|
-
function
|
|
2
|
+
function He(e) {
|
|
3
3
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4
4
|
for (const i of e.split(",")) t[i] = 1;
|
|
5
5
|
return (i) => i in t;
|
|
6
6
|
}
|
|
7
7
|
const _t = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Ui = process.env.NODE_ENV !== "production" ? Object.freeze([]) : [], Dt = () => {
|
|
8
|
-
}, ll = () => !1,
|
|
8
|
+
}, ll = () => !1, $n = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
9
9
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), xs = (e) => e.startsWith("onUpdate:"), Ct = Object.assign, eo = (e, t) => {
|
|
10
10
|
const i = e.indexOf(t);
|
|
11
11
|
i > -1 && e.splice(i, 1);
|
|
12
|
-
}, yh = Object.prototype.hasOwnProperty, ct = (e, t) => yh.call(e, t), Q = Array.isArray, vi = (e) =>
|
|
12
|
+
}, yh = Object.prototype.hasOwnProperty, ct = (e, t) => yh.call(e, t), Q = Array.isArray, vi = (e) => Hn(e) === "[object Map]", Qi = (e) => Hn(e) === "[object Set]", Fo = (e) => Hn(e) === "[object Date]", it = (e) => typeof e == "function", Nt = (e) => typeof e == "string", Oe = (e) => typeof e == "symbol", ft = (e) => e !== null && typeof e == "object", io = (e) => (ft(e) || it(e)) && it(e.then) && it(e.catch), cl = Object.prototype.toString, Hn = (e) => cl.call(e), no = (e) => Hn(e).slice(8, -1), Hs = (e) => Hn(e) === "[object Object]", so = (e) => Nt(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, En = /* @__PURE__ */ He(
|
|
13
13
|
// the leading comma is intentional so empty string "" is also included
|
|
14
14
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
15
|
-
), Sh = /* @__PURE__ */
|
|
15
|
+
), Sh = /* @__PURE__ */ He(
|
|
16
16
|
"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
|
|
17
17
|
), Ws = (e) => {
|
|
18
18
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -23,7 +23,7 @@ const _t = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Ui =
|
|
|
23
23
|
(e) => e.replace(Eh, "-$1").toLowerCase()
|
|
24
24
|
), xi = Ws((e) => e.charAt(0).toUpperCase() + e.slice(1)), fi = Ws(
|
|
25
25
|
(e) => e ? `on${xi(e)}` : ""
|
|
26
|
-
), ti = (e, t) => !Object.is(e, t),
|
|
26
|
+
), ti = (e, t) => !Object.is(e, t), $i = (e, ...t) => {
|
|
27
27
|
for (let i = 0; i < e.length; i++)
|
|
28
28
|
e[i](...t);
|
|
29
29
|
}, Cs = (e, t, i, n = !1) => {
|
|
@@ -65,13 +65,13 @@ function Th(e) {
|
|
|
65
65
|
}
|
|
66
66
|
}), t;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Ce(e) {
|
|
69
69
|
let t = "";
|
|
70
70
|
if (Nt(e))
|
|
71
71
|
t = e;
|
|
72
72
|
else if (Q(e))
|
|
73
73
|
for (let i = 0; i < e.length; i++) {
|
|
74
|
-
const n =
|
|
74
|
+
const n = Ce(e[i]);
|
|
75
75
|
n && (t += n + " ");
|
|
76
76
|
}
|
|
77
77
|
else if (ft(e))
|
|
@@ -79,7 +79,7 @@ function Fe(e) {
|
|
|
79
79
|
e[i] && (t += i + " ");
|
|
80
80
|
return t.trim();
|
|
81
81
|
}
|
|
82
|
-
const kh = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Oh = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", Ph = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", Ah = /* @__PURE__ */
|
|
82
|
+
const kh = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot", Oh = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view", Ph = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics", Ah = /* @__PURE__ */ He(kh), Rh = /* @__PURE__ */ He(Oh), Mh = /* @__PURE__ */ He(Ph), Lh = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Ih = /* @__PURE__ */ He(Lh);
|
|
83
83
|
function hl(e) {
|
|
84
84
|
return !!e || e === "";
|
|
85
85
|
}
|
|
@@ -95,7 +95,7 @@ function Ci(e, t) {
|
|
|
95
95
|
let i = Fo(e), n = Fo(t);
|
|
96
96
|
if (i || n)
|
|
97
97
|
return i && n ? e.getTime() === t.getTime() : !1;
|
|
98
|
-
if (i =
|
|
98
|
+
if (i = Oe(e), n = Oe(t), i || n)
|
|
99
99
|
return e === t;
|
|
100
100
|
if (i = Q(e), n = Q(t), i || n)
|
|
101
101
|
return i && n ? Dh(e, t) : !1;
|
|
@@ -123,12 +123,12 @@ const dl = (e) => !!(e && e.__v_isRef === !0), Ge = (e) => Nt(e) ? e : e == null
|
|
|
123
123
|
)
|
|
124
124
|
} : Qi(t) ? {
|
|
125
125
|
[`Set(${t.size})`]: [...t.values()].map((i) => rr(i))
|
|
126
|
-
} :
|
|
126
|
+
} : Oe(t) ? rr(t) : ft(t) && !Q(t) && !Hs(t) ? String(t) : t, rr = (e, t = "") => {
|
|
127
127
|
var i;
|
|
128
128
|
return (
|
|
129
129
|
// Symbol.description in es2019+ so we need to cast here to pass
|
|
130
130
|
// the lib: es2016 check
|
|
131
|
-
|
|
131
|
+
Oe(e) ? `Symbol(${(i = e.description) != null ? i : t})` : e
|
|
132
132
|
);
|
|
133
133
|
};
|
|
134
134
|
function ue(e, ...t) {
|
|
@@ -238,7 +238,7 @@ class fl {
|
|
|
238
238
|
run() {
|
|
239
239
|
if (!(this.flags & 1))
|
|
240
240
|
return this.fn();
|
|
241
|
-
this.flags |= 2,
|
|
241
|
+
this.flags |= 2, $o(this), ml(this);
|
|
242
242
|
const t = mt, i = de;
|
|
243
243
|
mt = this, de = !0;
|
|
244
244
|
try {
|
|
@@ -253,7 +253,7 @@ class fl {
|
|
|
253
253
|
if (this.flags & 1) {
|
|
254
254
|
for (let t = this.deps; t; t = t.nextDep)
|
|
255
255
|
co(t);
|
|
256
|
-
this.deps = this.depsTail = void 0,
|
|
256
|
+
this.deps = this.depsTail = void 0, $o(this), this.onStop && this.onStop(), this.flags &= -2;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
trigger() {
|
|
@@ -362,7 +362,7 @@ function pe() {
|
|
|
362
362
|
const e = bl.pop();
|
|
363
363
|
de = e === void 0 ? !0 : e;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function $o(e) {
|
|
366
366
|
const { cleanup: t } = e;
|
|
367
367
|
if (e.cleanup = void 0, t) {
|
|
368
368
|
const i = mt;
|
|
@@ -481,7 +481,7 @@ function xe(e, t, i, n, s, r) {
|
|
|
481
481
|
if (l && i === "length") {
|
|
482
482
|
const h = Number(n);
|
|
483
483
|
o.forEach((d, u) => {
|
|
484
|
-
(u === "length" || u === Ln || !
|
|
484
|
+
(u === "length" || u === Ln || !Oe(u) && u >= h) && a(d);
|
|
485
485
|
});
|
|
486
486
|
} else
|
|
487
487
|
switch ((i !== void 0 || o.has(void 0)) && a(o.get(i)), c && a(o.get(Ln)), t) {
|
|
@@ -508,7 +508,7 @@ function js(e) {
|
|
|
508
508
|
function qe(e, t) {
|
|
509
509
|
return ge(e) ? ei(e) ? Yi(me(t)) : Yi(t) : me(t);
|
|
510
510
|
}
|
|
511
|
-
const
|
|
511
|
+
const $h = {
|
|
512
512
|
__proto__: null,
|
|
513
513
|
[Symbol.iterator]() {
|
|
514
514
|
return ar(this, Symbol.iterator, (e) => qe(this, e));
|
|
@@ -522,10 +522,10 @@ const Hh = {
|
|
|
522
522
|
return ar(this, "entries", (e) => (e[1] = qe(this, e[1]), e));
|
|
523
523
|
},
|
|
524
524
|
every(e, t) {
|
|
525
|
-
return
|
|
525
|
+
return Me(this, "every", e, t, void 0, arguments);
|
|
526
526
|
},
|
|
527
527
|
filter(e, t) {
|
|
528
|
-
return
|
|
528
|
+
return Me(
|
|
529
529
|
this,
|
|
530
530
|
"filter",
|
|
531
531
|
e,
|
|
@@ -535,7 +535,7 @@ const Hh = {
|
|
|
535
535
|
);
|
|
536
536
|
},
|
|
537
537
|
find(e, t) {
|
|
538
|
-
return
|
|
538
|
+
return Me(
|
|
539
539
|
this,
|
|
540
540
|
"find",
|
|
541
541
|
e,
|
|
@@ -545,10 +545,10 @@ const Hh = {
|
|
|
545
545
|
);
|
|
546
546
|
},
|
|
547
547
|
findIndex(e, t) {
|
|
548
|
-
return
|
|
548
|
+
return Me(this, "findIndex", e, t, void 0, arguments);
|
|
549
549
|
},
|
|
550
550
|
findLast(e, t) {
|
|
551
|
-
return
|
|
551
|
+
return Me(
|
|
552
552
|
this,
|
|
553
553
|
"findLast",
|
|
554
554
|
e,
|
|
@@ -558,11 +558,11 @@ const Hh = {
|
|
|
558
558
|
);
|
|
559
559
|
},
|
|
560
560
|
findLastIndex(e, t) {
|
|
561
|
-
return
|
|
561
|
+
return Me(this, "findLastIndex", e, t, void 0, arguments);
|
|
562
562
|
},
|
|
563
563
|
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
564
564
|
forEach(e, t) {
|
|
565
|
-
return
|
|
565
|
+
return Me(this, "forEach", e, t, void 0, arguments);
|
|
566
566
|
},
|
|
567
567
|
includes(...e) {
|
|
568
568
|
return lr(this, "includes", e);
|
|
@@ -578,7 +578,7 @@ const Hh = {
|
|
|
578
578
|
return lr(this, "lastIndexOf", e);
|
|
579
579
|
},
|
|
580
580
|
map(e, t) {
|
|
581
|
-
return
|
|
581
|
+
return Me(this, "map", e, t, void 0, arguments);
|
|
582
582
|
},
|
|
583
583
|
pop() {
|
|
584
584
|
return sn(this, "pop");
|
|
@@ -587,17 +587,17 @@ const Hh = {
|
|
|
587
587
|
return sn(this, "push", e);
|
|
588
588
|
},
|
|
589
589
|
reduce(e, ...t) {
|
|
590
|
-
return
|
|
590
|
+
return Ho(this, "reduce", e, t);
|
|
591
591
|
},
|
|
592
592
|
reduceRight(e, ...t) {
|
|
593
|
-
return
|
|
593
|
+
return Ho(this, "reduceRight", e, t);
|
|
594
594
|
},
|
|
595
595
|
shift() {
|
|
596
596
|
return sn(this, "shift");
|
|
597
597
|
},
|
|
598
598
|
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
599
599
|
some(e, t) {
|
|
600
|
-
return
|
|
600
|
+
return Me(this, "some", e, t, void 0, arguments);
|
|
601
601
|
},
|
|
602
602
|
splice(...e) {
|
|
603
603
|
return sn(this, "splice", e);
|
|
@@ -625,10 +625,10 @@ function ar(e, t, i) {
|
|
|
625
625
|
return r.done || (r.value = i(r.value)), r;
|
|
626
626
|
}), s;
|
|
627
627
|
}
|
|
628
|
-
const
|
|
629
|
-
function
|
|
628
|
+
const Hh = Array.prototype;
|
|
629
|
+
function Me(e, t, i, n, s, r) {
|
|
630
630
|
const o = js(e), a = o !== e && !Ut(e), l = o[t];
|
|
631
|
-
if (l !==
|
|
631
|
+
if (l !== Hh[t]) {
|
|
632
632
|
const d = l.apply(e, r);
|
|
633
633
|
return a ? me(d) : d;
|
|
634
634
|
}
|
|
@@ -641,7 +641,7 @@ function Re(e, t, i, n, s, r) {
|
|
|
641
641
|
const h = l.call(o, c, n);
|
|
642
642
|
return a && s ? s(h) : h;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Ho(e, t, i, n) {
|
|
645
645
|
const s = js(e);
|
|
646
646
|
let r = i;
|
|
647
647
|
return s !== e && (Ut(e) ? i.length > 3 && (r = function(o, a, l) {
|
|
@@ -661,11 +661,11 @@ function sn(e, t, i = []) {
|
|
|
661
661
|
const n = rt(e)[t].apply(e, i);
|
|
662
662
|
return lo(), pe(), n;
|
|
663
663
|
}
|
|
664
|
-
const Wh = /* @__PURE__ */
|
|
665
|
-
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(
|
|
664
|
+
const Wh = /* @__PURE__ */ He("__proto__,__v_isRef,__isVue"), Sl = new Set(
|
|
665
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Oe)
|
|
666
666
|
);
|
|
667
667
|
function Uh(e) {
|
|
668
|
-
|
|
668
|
+
Oe(e) || (e = String(e));
|
|
669
669
|
const t = rt(this);
|
|
670
670
|
return Lt(t, "has", e), t.hasOwnProperty(e);
|
|
671
671
|
}
|
|
@@ -689,7 +689,7 @@ class wl {
|
|
|
689
689
|
const o = Q(t);
|
|
690
690
|
if (!s) {
|
|
691
691
|
let l;
|
|
692
|
-
if (o && (l =
|
|
692
|
+
if (o && (l = $h[i]))
|
|
693
693
|
return l;
|
|
694
694
|
if (i === "hasOwnProperty")
|
|
695
695
|
return Uh;
|
|
@@ -702,7 +702,7 @@ class wl {
|
|
|
702
702
|
// its class methods
|
|
703
703
|
Mt(t) ? t : n
|
|
704
704
|
);
|
|
705
|
-
if ((
|
|
705
|
+
if ((Oe(i) ? Sl.has(i) : Wh(i)) || (s || Lt(t, "get", i), r))
|
|
706
706
|
return a;
|
|
707
707
|
if (Mt(a)) {
|
|
708
708
|
const l = o && so(i) ? a : a.value;
|
|
@@ -740,7 +740,7 @@ class El extends wl {
|
|
|
740
740
|
}
|
|
741
741
|
has(t, i) {
|
|
742
742
|
const n = Reflect.has(t, i);
|
|
743
|
-
return (!
|
|
743
|
+
return (!Oe(i) || !Sl.has(i)) && Lt(t, "has", i), n;
|
|
744
744
|
}
|
|
745
745
|
ownKeys(t) {
|
|
746
746
|
return Lt(
|
|
@@ -947,7 +947,7 @@ function Pr(e) {
|
|
|
947
947
|
Tl
|
|
948
948
|
);
|
|
949
949
|
}
|
|
950
|
-
function
|
|
950
|
+
function Ne(e) {
|
|
951
951
|
return zs(
|
|
952
952
|
e,
|
|
953
953
|
!0,
|
|
@@ -1089,7 +1089,7 @@ function dd(e, t, i = _t) {
|
|
|
1089
1089
|
T,
|
|
1090
1090
|
"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
|
|
1091
1091
|
);
|
|
1092
|
-
}, h = (T) => s ? T : Ut(T) || s === !1 || s === 0 ?
|
|
1092
|
+
}, h = (T) => s ? T : Ut(T) || s === !1 || s === 0 ? Ve(T, 1) : Ve(T);
|
|
1093
1093
|
let d, u, f, p, _ = !1, b = !1;
|
|
1094
1094
|
if (Mt(e) ? (u = () => e.value, _ = Ut(e)) : ei(e) ? (u = () => h(e), _ = !0) : Q(e) ? (b = !0, _ = e.some((T) => ei(T) || Ut(T)), u = () => e.map((T) => {
|
|
1095
1095
|
if (Mt(T))
|
|
@@ -1117,7 +1117,7 @@ function dd(e, t, i = _t) {
|
|
|
1117
1117
|
}
|
|
1118
1118
|
} : (u = Dt, process.env.NODE_ENV !== "production" && c(e)), t && s) {
|
|
1119
1119
|
const T = u, O = s === !0 ? 1 / 0 : s;
|
|
1120
|
-
u = () =>
|
|
1120
|
+
u = () => Ve(T(), O);
|
|
1121
1121
|
}
|
|
1122
1122
|
const w = Fh(), y = () => {
|
|
1123
1123
|
d.stop(), w && w.active && eo(w.effects, d);
|
|
@@ -1166,23 +1166,23 @@ function dd(e, t, i = _t) {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
}, process.env.NODE_ENV !== "production" && (d.onTrack = i.onTrack, d.onTrigger = i.onTrigger), t ? n ? N(!0) : x = d.run() : o ? o(N.bind(null, !0), !0) : d.run(), y.pause = d.pause.bind(d), y.resume = d.resume.bind(d), y.stop = y, y;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1169
|
+
function Ve(e, t = 1 / 0, i) {
|
|
1170
1170
|
if (t <= 0 || !ft(e) || e.__v_skip || (i = i || /* @__PURE__ */ new Map(), (i.get(e) || 0) >= t))
|
|
1171
1171
|
return e;
|
|
1172
1172
|
if (i.set(e, t), t--, Mt(e))
|
|
1173
|
-
|
|
1173
|
+
Ve(e.value, t, i);
|
|
1174
1174
|
else if (Q(e))
|
|
1175
1175
|
for (let n = 0; n < e.length; n++)
|
|
1176
|
-
|
|
1176
|
+
Ve(e[n], t, i);
|
|
1177
1177
|
else if (Qi(e) || vi(e))
|
|
1178
1178
|
e.forEach((n) => {
|
|
1179
|
-
|
|
1179
|
+
Ve(n, t, i);
|
|
1180
1180
|
});
|
|
1181
|
-
else if (
|
|
1181
|
+
else if (Hs(e)) {
|
|
1182
1182
|
for (const n in e)
|
|
1183
|
-
|
|
1183
|
+
Ve(e[n], t, i);
|
|
1184
1184
|
for (const n of Object.getOwnPropertySymbols(e))
|
|
1185
|
-
Object.prototype.propertyIsEnumerable.call(e, n) &&
|
|
1185
|
+
Object.prototype.propertyIsEnumerable.call(e, n) && Ve(e[n], t, i);
|
|
1186
1186
|
}
|
|
1187
1187
|
return e;
|
|
1188
1188
|
}
|
|
@@ -1304,7 +1304,7 @@ function Zi(e, t, i, n) {
|
|
|
1304
1304
|
Un(s, t, i);
|
|
1305
1305
|
}
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function Pe(e, t, i, n) {
|
|
1308
1308
|
if (it(e)) {
|
|
1309
1309
|
const s = Zi(e, t, i, n);
|
|
1310
1310
|
return s && io(s) && s.catch((r) => {
|
|
@@ -1314,7 +1314,7 @@ function Oe(e, t, i, n) {
|
|
|
1314
1314
|
if (Q(e)) {
|
|
1315
1315
|
const s = [];
|
|
1316
1316
|
for (let r = 0; r < e.length; r++)
|
|
1317
|
-
s.push(
|
|
1317
|
+
s.push(Pe(e[r], t, i, n));
|
|
1318
1318
|
return s;
|
|
1319
1319
|
} else process.env.NODE_ENV !== "production" && U(
|
|
1320
1320
|
`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
|
|
@@ -1360,7 +1360,7 @@ function md(e, t, i, n = !0, s = !1) {
|
|
|
1360
1360
|
const Wt = [];
|
|
1361
1361
|
let we = -1;
|
|
1362
1362
|
const ji = [];
|
|
1363
|
-
let Ke = null,
|
|
1363
|
+
let Ke = null, Hi = 0;
|
|
1364
1364
|
const Rl = /* @__PURE__ */ Promise.resolve();
|
|
1365
1365
|
let ks = null;
|
|
1366
1366
|
const _d = 100;
|
|
@@ -1387,7 +1387,7 @@ function Ml() {
|
|
|
1387
1387
|
ks || (ks = Rl.then(Dl));
|
|
1388
1388
|
}
|
|
1389
1389
|
function Ll(e) {
|
|
1390
|
-
Q(e) ? ji.push(...e) : Ke && e.id === -1 ? Ke.splice(
|
|
1390
|
+
Q(e) ? ji.push(...e) : Ke && e.id === -1 ? Ke.splice(Hi + 1, 0, e) : e.flags & 1 || (ji.push(e), e.flags |= 1), Ml();
|
|
1391
1391
|
}
|
|
1392
1392
|
function Uo(e, t, i = we + 1) {
|
|
1393
1393
|
for (process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()); i < Wt.length; i++) {
|
|
@@ -1408,11 +1408,11 @@ function Il(e) {
|
|
|
1408
1408
|
Ke.push(...t);
|
|
1409
1409
|
return;
|
|
1410
1410
|
}
|
|
1411
|
-
for (Ke = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()),
|
|
1412
|
-
const i = Ke[
|
|
1411
|
+
for (Ke = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Hi = 0; Hi < Ke.length; Hi++) {
|
|
1412
|
+
const i = Ke[Hi];
|
|
1413
1413
|
process.env.NODE_ENV !== "production" && fo(e, i) || (i.flags & 4 && (i.flags &= -2), i.flags & 8 || i(), i.flags &= -2);
|
|
1414
1414
|
}
|
|
1415
|
-
Ke = null,
|
|
1415
|
+
Ke = null, Hi = 0;
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
const In = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
@@ -1452,7 +1452,7 @@ function fo(e, t) {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
return e.set(t, i + 1), !1;
|
|
1454
1454
|
}
|
|
1455
|
-
let
|
|
1455
|
+
let Te = !1;
|
|
1456
1456
|
const gs = /* @__PURE__ */ new Map();
|
|
1457
1457
|
process.env.NODE_ENV !== "production" && (Wn().__VUE_HMR_RUNTIME__ = {
|
|
1458
1458
|
createRecord: hr(Vl),
|
|
@@ -1480,7 +1480,7 @@ function Os(e) {
|
|
|
1480
1480
|
function Sd(e, t) {
|
|
1481
1481
|
const i = Ti.get(e);
|
|
1482
1482
|
i && (i.initialDef.render = t, [...i.instances].forEach((n) => {
|
|
1483
|
-
t && (n.render = t, Os(n.type).render = t), n.renderCache = [],
|
|
1483
|
+
t && (n.render = t, Os(n.type).render = t), n.renderCache = [], Te = !0, n.job.flags & 8 || n.update(), Te = !1;
|
|
1484
1484
|
}));
|
|
1485
1485
|
}
|
|
1486
1486
|
function wd(e, t) {
|
|
@@ -1492,7 +1492,7 @@ function wd(e, t) {
|
|
|
1492
1492
|
const r = n[s], o = Os(r.type);
|
|
1493
1493
|
let a = gs.get(o);
|
|
1494
1494
|
a || (o !== i.initialDef && jo(o, t), gs.set(o, a = /* @__PURE__ */ new Set())), a.add(r), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (a.add(r), r.ceReload(t.styles), a.delete(r)) : r.parent ? qs(() => {
|
|
1495
|
-
r.job.flags & 8 || (
|
|
1495
|
+
r.job.flags & 8 || (Te = !0, r.parent.update(), Te = !1, a.delete(r));
|
|
1496
1496
|
}) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
1497
1497
|
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1498
1498
|
), r.root.ce && r !== r.root && r.root.ce._removeChildStyle(o);
|
|
@@ -1610,7 +1610,7 @@ function mn(e, t = Gt, i) {
|
|
|
1610
1610
|
};
|
|
1611
1611
|
return n._n = !0, n._c = !0, n._d = !0, n;
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function $l(e) {
|
|
1614
1614
|
Sh(e) && U("Do not use built-in directive ids as custom directive id: " + e);
|
|
1615
1615
|
}
|
|
1616
1616
|
function ms(e, t) {
|
|
@@ -1622,7 +1622,7 @@ function ms(e, t) {
|
|
|
1622
1622
|
r && (it(r) && (r = {
|
|
1623
1623
|
mounted: r,
|
|
1624
1624
|
updated: r
|
|
1625
|
-
}), r.deep &&
|
|
1625
|
+
}), r.deep && Ve(o), n.push({
|
|
1626
1626
|
dir: r,
|
|
1627
1627
|
instance: i,
|
|
1628
1628
|
value: o,
|
|
@@ -1639,7 +1639,7 @@ function ci(e, t, i, n) {
|
|
|
1639
1639
|
const a = s[o];
|
|
1640
1640
|
r && (a.oldValue = r[o].value);
|
|
1641
1641
|
let l = a.dir[n];
|
|
1642
|
-
l && (fe(),
|
|
1642
|
+
l && (fe(), Pe(l, i, 8, [
|
|
1643
1643
|
e.el,
|
|
1644
1644
|
a,
|
|
1645
1645
|
e,
|
|
@@ -1652,14 +1652,14 @@ function mo(e, t) {
|
|
|
1652
1652
|
e.shapeFlag & 6 && e.component ? (e.transition = t, mo(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
1653
1653
|
}
|
|
1654
1654
|
// @__NO_SIDE_EFFECTS__
|
|
1655
|
-
function
|
|
1655
|
+
function Ae(e, t) {
|
|
1656
1656
|
return it(e) ? (
|
|
1657
1657
|
// #8236: extend call and options.name access are considered side-effects
|
|
1658
1658
|
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
1659
1659
|
Ct({ name: e.name }, t, { setup: e })
|
|
1660
1660
|
) : e;
|
|
1661
1661
|
}
|
|
1662
|
-
function
|
|
1662
|
+
function Hl(e) {
|
|
1663
1663
|
e.ids = [e.ids[0] + e.ids[2]++ + "-", 0, 0];
|
|
1664
1664
|
}
|
|
1665
1665
|
const Xo = /* @__PURE__ */ new WeakSet(), As = /* @__PURE__ */ new WeakMap();
|
|
@@ -1774,7 +1774,7 @@ function Ks(e, t, i = Rt, n = !1) {
|
|
|
1774
1774
|
if (i) {
|
|
1775
1775
|
const s = i[e] || (i[e] = []), r = t.__weh || (t.__weh = (...o) => {
|
|
1776
1776
|
fe();
|
|
1777
|
-
const a = zn(i), l =
|
|
1777
|
+
const a = zn(i), l = Pe(t, i, e, o);
|
|
1778
1778
|
return a(), pe(), l;
|
|
1779
1779
|
});
|
|
1780
1780
|
return n ? s.unshift(r) : s.push(r), r;
|
|
@@ -1793,8 +1793,8 @@ const We = (e) => (t, i = Rt) => {
|
|
|
1793
1793
|
"bum"
|
|
1794
1794
|
), yo = We("um"), Gd = We(
|
|
1795
1795
|
"sp"
|
|
1796
|
-
), Bd = We("rtg"),
|
|
1797
|
-
function
|
|
1796
|
+
), Bd = We("rtg"), $d = We("rtc");
|
|
1797
|
+
function Hd(e, t = Rt) {
|
|
1798
1798
|
Ks("ec", e, t);
|
|
1799
1799
|
}
|
|
1800
1800
|
const Wd = "components";
|
|
@@ -1872,10 +1872,10 @@ const Rr = (e) => e ? pc(e) ? Zs(e) : Rr(e.parent) : null, Si = (
|
|
|
1872
1872
|
$: (e) => e,
|
|
1873
1873
|
$el: (e) => e.vnode.el,
|
|
1874
1874
|
$data: (e) => e.data,
|
|
1875
|
-
$props: (e) => process.env.NODE_ENV !== "production" ?
|
|
1876
|
-
$attrs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1877
|
-
$slots: (e) => process.env.NODE_ENV !== "production" ?
|
|
1878
|
-
$refs: (e) => process.env.NODE_ENV !== "production" ?
|
|
1875
|
+
$props: (e) => process.env.NODE_ENV !== "production" ? Ne(e.props) : e.props,
|
|
1876
|
+
$attrs: (e) => process.env.NODE_ENV !== "production" ? Ne(e.attrs) : e.attrs,
|
|
1877
|
+
$slots: (e) => process.env.NODE_ENV !== "production" ? Ne(e.slots) : e.slots,
|
|
1878
|
+
$refs: (e) => process.env.NODE_ENV !== "production" ? Ne(e.refs) : e.refs,
|
|
1879
1879
|
$parent: (e) => Rr(e.parent),
|
|
1880
1880
|
$root: (e) => Rr(e.root),
|
|
1881
1881
|
$host: (e) => e.ce,
|
|
@@ -2062,7 +2062,7 @@ function Kd(e) {
|
|
|
2062
2062
|
errorCaptured: C,
|
|
2063
2063
|
serverPrefetch: P,
|
|
2064
2064
|
// public API
|
|
2065
|
-
expose:
|
|
2065
|
+
expose: $,
|
|
2066
2066
|
inheritAttrs: K,
|
|
2067
2067
|
// assets
|
|
2068
2068
|
components: z,
|
|
@@ -2137,10 +2137,10 @@ function Kd(e) {
|
|
|
2137
2137
|
function L(G, D) {
|
|
2138
2138
|
Q(D) ? D.forEach((nt) => G(nt.bind(i))) : D && G(D.bind(i));
|
|
2139
2139
|
}
|
|
2140
|
-
if (L(Vd, d), L(vo, u), L(Fd, f), L(bo, p), L(Ld, _), L(Id, b), L(
|
|
2141
|
-
if (
|
|
2140
|
+
if (L(Vd, d), L(vo, u), L(Fd, f), L(bo, p), L(Ld, _), L(Id, b), L(Hd, C), L($d, O), L(Bd, E), L(Ul, y), L(yo, N), L(Gd, P), Q($))
|
|
2141
|
+
if ($.length) {
|
|
2142
2142
|
const G = e.exposed || (e.exposed = {});
|
|
2143
|
-
|
|
2143
|
+
$.forEach((D) => {
|
|
2144
2144
|
Object.defineProperty(G, D, {
|
|
2145
2145
|
get: () => i[D],
|
|
2146
2146
|
set: (nt) => i[D] = nt,
|
|
@@ -2148,7 +2148,7 @@ function Kd(e) {
|
|
|
2148
2148
|
});
|
|
2149
2149
|
});
|
|
2150
2150
|
} else e.exposed || (e.exposed = {});
|
|
2151
|
-
T && e.render === Dt && (e.render = T), K != null && (e.inheritAttrs = K), z && (e.components = z), Z && (e.directives = Z), P &&
|
|
2151
|
+
T && e.render === Dt && (e.render = T), K != null && (e.inheritAttrs = K), z && (e.components = z), Z && (e.directives = Z), P && Hl(e);
|
|
2152
2152
|
}
|
|
2153
2153
|
function Jd(e, t, i = Dt) {
|
|
2154
2154
|
Q(e) && (e = Lr(e));
|
|
@@ -2168,7 +2168,7 @@ function Jd(e, t, i = Dt) {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
}
|
|
2170
2170
|
function Ko(e, t, i) {
|
|
2171
|
-
|
|
2171
|
+
Pe(
|
|
2172
2172
|
Q(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
|
|
2173
2173
|
t,
|
|
2174
2174
|
i
|
|
@@ -2225,20 +2225,20 @@ const Qd = {
|
|
|
2225
2225
|
methods: _n,
|
|
2226
2226
|
computed: _n,
|
|
2227
2227
|
// lifecycle
|
|
2228
|
-
beforeCreate:
|
|
2229
|
-
created:
|
|
2230
|
-
beforeMount:
|
|
2231
|
-
mounted:
|
|
2232
|
-
beforeUpdate:
|
|
2233
|
-
updated:
|
|
2234
|
-
beforeDestroy:
|
|
2235
|
-
beforeUnmount:
|
|
2236
|
-
destroyed:
|
|
2237
|
-
unmounted:
|
|
2238
|
-
activated:
|
|
2239
|
-
deactivated:
|
|
2240
|
-
errorCaptured:
|
|
2241
|
-
serverPrefetch:
|
|
2228
|
+
beforeCreate: $t,
|
|
2229
|
+
created: $t,
|
|
2230
|
+
beforeMount: $t,
|
|
2231
|
+
mounted: $t,
|
|
2232
|
+
beforeUpdate: $t,
|
|
2233
|
+
updated: $t,
|
|
2234
|
+
beforeDestroy: $t,
|
|
2235
|
+
beforeUnmount: $t,
|
|
2236
|
+
destroyed: $t,
|
|
2237
|
+
unmounted: $t,
|
|
2238
|
+
activated: $t,
|
|
2239
|
+
deactivated: $t,
|
|
2240
|
+
errorCaptured: $t,
|
|
2241
|
+
serverPrefetch: $t,
|
|
2242
2242
|
// assets
|
|
2243
2243
|
components: _n,
|
|
2244
2244
|
directives: _n,
|
|
@@ -2268,7 +2268,7 @@ function Lr(e) {
|
|
|
2268
2268
|
}
|
|
2269
2269
|
return e;
|
|
2270
2270
|
}
|
|
2271
|
-
function
|
|
2271
|
+
function $t(e, t) {
|
|
2272
2272
|
return e ? [...new Set([].concat(e, t))] : t;
|
|
2273
2273
|
}
|
|
2274
2274
|
function _n(e, t) {
|
|
@@ -2286,7 +2286,7 @@ function tu(e, t) {
|
|
|
2286
2286
|
if (!t) return e;
|
|
2287
2287
|
const i = Ct(/* @__PURE__ */ Object.create(null), e);
|
|
2288
2288
|
for (const n in t)
|
|
2289
|
-
i[n] =
|
|
2289
|
+
i[n] = $t(e[n], t[n]);
|
|
2290
2290
|
return i;
|
|
2291
2291
|
}
|
|
2292
2292
|
function Yl() {
|
|
@@ -2346,7 +2346,7 @@ function iu(e, t) {
|
|
|
2346
2346
|
return process.env.NODE_ENV !== "production" && Gr(h, r.config), d ? (process.env.NODE_ENV !== "production" && r.components[h] && U(`Component "${h}" has already been registered in target app.`), r.components[h] = d, c) : r.components[h];
|
|
2347
2347
|
},
|
|
2348
2348
|
directive(h, d) {
|
|
2349
|
-
return process.env.NODE_ENV !== "production" &&
|
|
2349
|
+
return process.env.NODE_ENV !== "production" && $l(h), d ? (process.env.NODE_ENV !== "production" && r.directives[h] && U(`Directive "${h}" has already been registered in target app.`), r.directives[h] = d, c) : r.directives[h];
|
|
2350
2350
|
},
|
|
2351
2351
|
mount(h, d, u) {
|
|
2352
2352
|
if (l)
|
|
@@ -2370,7 +2370,7 @@ function iu(e, t) {
|
|
|
2370
2370
|
), a.push(h);
|
|
2371
2371
|
},
|
|
2372
2372
|
unmount() {
|
|
2373
|
-
l ? (
|
|
2373
|
+
l ? (Pe(
|
|
2374
2374
|
a,
|
|
2375
2375
|
c._instance,
|
|
2376
2376
|
16
|
|
@@ -2452,7 +2452,7 @@ function ql(e, t, i = _t) {
|
|
|
2452
2452
|
}
|
|
2453
2453
|
}
|
|
2454
2454
|
const h = Rt;
|
|
2455
|
-
a.call = (f, p, _) =>
|
|
2455
|
+
a.call = (f, p, _) => Pe(f, h, p, _);
|
|
2456
2456
|
let d = !1;
|
|
2457
2457
|
r === "post" ? a.scheduler = (f) => {
|
|
2458
2458
|
Kt(f, h && h.suspense);
|
|
@@ -2516,7 +2516,7 @@ function lu(e, t, ...i) {
|
|
|
2516
2516
|
}
|
|
2517
2517
|
let a, l = n[a = fi(t)] || // also try camelCase event handler (#2249)
|
|
2518
2518
|
n[a = fi(Ft(t))];
|
|
2519
|
-
!l && r && (l = n[a = fi(Jt(t))]), l &&
|
|
2519
|
+
!l && r && (l = n[a = fi(Jt(t))]), l && Pe(
|
|
2520
2520
|
l,
|
|
2521
2521
|
e,
|
|
2522
2522
|
6,
|
|
@@ -2528,7 +2528,7 @@ function lu(e, t, ...i) {
|
|
|
2528
2528
|
e.emitted = {};
|
|
2529
2529
|
else if (e.emitted[a])
|
|
2530
2530
|
return;
|
|
2531
|
-
e.emitted[a] = !0,
|
|
2531
|
+
e.emitted[a] = !0, Pe(
|
|
2532
2532
|
c,
|
|
2533
2533
|
e,
|
|
2534
2534
|
6,
|
|
@@ -2553,7 +2553,7 @@ function Jl(e, t, i = !1) {
|
|
|
2553
2553
|
return !r && !a ? (ft(e) && n.set(e, null), null) : (Q(r) ? r.forEach((l) => o[l] = null) : Ct(o, r), ft(e) && n.set(e, o), o);
|
|
2554
2554
|
}
|
|
2555
2555
|
function Js(e, t) {
|
|
2556
|
-
return !e ||
|
|
2556
|
+
return !e || !$n(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), ct(e, t[0].toLowerCase() + t.slice(1)) || ct(e, Jt(t)) || ct(e, t));
|
|
2557
2557
|
}
|
|
2558
2558
|
let Ir = !1;
|
|
2559
2559
|
function Ms() {
|
|
@@ -2595,7 +2595,7 @@ function Zo(e) {
|
|
|
2595
2595
|
O,
|
|
2596
2596
|
T,
|
|
2597
2597
|
h,
|
|
2598
|
-
process.env.NODE_ENV !== "production" ?
|
|
2598
|
+
process.env.NODE_ENV !== "production" ? Ne(d) : d,
|
|
2599
2599
|
f,
|
|
2600
2600
|
u,
|
|
2601
2601
|
p
|
|
@@ -2605,16 +2605,16 @@ function Zo(e) {
|
|
|
2605
2605
|
const T = t;
|
|
2606
2606
|
process.env.NODE_ENV !== "production" && a === d && Ms(), w = le(
|
|
2607
2607
|
T.length > 1 ? T(
|
|
2608
|
-
process.env.NODE_ENV !== "production" ?
|
|
2608
|
+
process.env.NODE_ENV !== "production" ? Ne(d) : d,
|
|
2609
2609
|
process.env.NODE_ENV !== "production" ? {
|
|
2610
2610
|
get attrs() {
|
|
2611
|
-
return Ms(),
|
|
2611
|
+
return Ms(), Ne(a);
|
|
2612
2612
|
},
|
|
2613
2613
|
slots: o,
|
|
2614
2614
|
emit: l
|
|
2615
2615
|
} : { attrs: a, slots: o, emit: l }
|
|
2616
2616
|
) : T(
|
|
2617
|
-
process.env.NODE_ENV !== "production" ?
|
|
2617
|
+
process.env.NODE_ENV !== "production" ? Ne(d) : d,
|
|
2618
2618
|
null
|
|
2619
2619
|
)
|
|
2620
2620
|
), y = t.props ? a : hu(a);
|
|
@@ -2633,9 +2633,9 @@ function Zo(e) {
|
|
|
2633
2633
|
)), x = ii(x, y, !1, !0);
|
|
2634
2634
|
else if (process.env.NODE_ENV !== "production" && !Ir && x.type !== te) {
|
|
2635
2635
|
const E = Object.keys(a), C = [], P = [];
|
|
2636
|
-
for (let
|
|
2637
|
-
const z = E[
|
|
2638
|
-
|
|
2636
|
+
for (let $ = 0, K = E.length; $ < K; $++) {
|
|
2637
|
+
const z = E[$];
|
|
2638
|
+
$n(z) ? xs(z) || C.push(z[2].toLowerCase() + z.slice(3)) : P.push(z);
|
|
2639
2639
|
}
|
|
2640
2640
|
P.length && U(
|
|
2641
2641
|
`Extraneous non-props attributes (${P.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`
|
|
@@ -2681,7 +2681,7 @@ function wo(e, t = !0) {
|
|
|
2681
2681
|
const hu = (e) => {
|
|
2682
2682
|
let t;
|
|
2683
2683
|
for (const i in e)
|
|
2684
|
-
(i === "class" || i === "style" ||
|
|
2684
|
+
(i === "class" || i === "style" || $n(i)) && ((t || (t = {}))[i] = e[i]);
|
|
2685
2685
|
return t;
|
|
2686
2686
|
}, du = (e, t) => {
|
|
2687
2687
|
const i = {};
|
|
@@ -2691,7 +2691,7 @@ const hu = (e) => {
|
|
|
2691
2691
|
}, ta = (e) => e.shapeFlag & 7 || e.type === te;
|
|
2692
2692
|
function uu(e, t, i) {
|
|
2693
2693
|
const { props: n, children: s, component: r } = e, { props: o, children: a, patchFlag: l } = t, c = r.emitsOptions;
|
|
2694
|
-
if (process.env.NODE_ENV !== "production" && (s || a) &&
|
|
2694
|
+
if (process.env.NODE_ENV !== "production" && (s || a) && Te || t.dirs || t.transition)
|
|
2695
2695
|
return !0;
|
|
2696
2696
|
if (i && l >= 0) {
|
|
2697
2697
|
if (l & 1024)
|
|
@@ -2930,7 +2930,7 @@ function sc(e, t, i) {
|
|
|
2930
2930
|
o,
|
|
2931
2931
|
n[o],
|
|
2932
2932
|
a,
|
|
2933
|
-
process.env.NODE_ENV !== "production" ?
|
|
2933
|
+
process.env.NODE_ENV !== "production" ? Ne(n) : n,
|
|
2934
2934
|
!r.includes(o)
|
|
2935
2935
|
);
|
|
2936
2936
|
}
|
|
@@ -2957,7 +2957,7 @@ function bu(e, t, i, n, s) {
|
|
|
2957
2957
|
a && !a(t, n) && U('Invalid prop: custom validator check failed for prop "' + e + '".');
|
|
2958
2958
|
}
|
|
2959
2959
|
}
|
|
2960
|
-
const yu = /* @__PURE__ */
|
|
2960
|
+
const yu = /* @__PURE__ */ He(
|
|
2961
2961
|
"String,Number,Boolean,Function,Symbol,BigInt"
|
|
2962
2962
|
);
|
|
2963
2963
|
function Su(e, t) {
|
|
@@ -3032,25 +3032,25 @@ const Eo = (e) => e === "_" || e === "_ctx" || e === "$stable", xo = (e) => Q(e)
|
|
|
3032
3032
|
let r = !0, o = _t;
|
|
3033
3033
|
if (n.shapeFlag & 32) {
|
|
3034
3034
|
const a = t._;
|
|
3035
|
-
a ? process.env.NODE_ENV !== "production" &&
|
|
3035
|
+
a ? process.env.NODE_ENV !== "production" && Te ? (Vr(s, t, i), xe(e, "set", "$slots")) : i && a === 1 ? r = !1 : Vr(s, t, i) : (r = !t.$stable, rc(t, s)), o = t;
|
|
3036
3036
|
} else t && (oc(e, t), o = { default: 1 });
|
|
3037
3037
|
if (r)
|
|
3038
3038
|
for (const a in s)
|
|
3039
3039
|
!Eo(a) && o[a] == null && delete s[a];
|
|
3040
3040
|
};
|
|
3041
|
-
let rn,
|
|
3041
|
+
let rn, De;
|
|
3042
3042
|
function Vi(e, t) {
|
|
3043
|
-
e.appContext.config.performance && Ls() &&
|
|
3043
|
+
e.appContext.config.performance && Ls() && De.mark(`vue-${t}-${e.uid}`), process.env.NODE_ENV !== "production" && kd(e, t, Ls() ? De.now() : Date.now());
|
|
3044
3044
|
}
|
|
3045
3045
|
function Fi(e, t) {
|
|
3046
3046
|
if (e.appContext.config.performance && Ls()) {
|
|
3047
3047
|
const i = `vue-${t}-${e.uid}`, n = i + ":end", s = `<${Yn(e, e.type)}> ${t}`;
|
|
3048
|
-
|
|
3048
|
+
De.mark(n), De.measure(s, i, n), De.clearMeasures(s), De.clearMarks(i), De.clearMarks(n);
|
|
3049
3049
|
}
|
|
3050
|
-
process.env.NODE_ENV !== "production" && Od(e, t, Ls() ?
|
|
3050
|
+
process.env.NODE_ENV !== "production" && Od(e, t, Ls() ? De.now() : Date.now());
|
|
3051
3051
|
}
|
|
3052
3052
|
function Ls() {
|
|
3053
|
-
return rn !== void 0 || (typeof window < "u" && window.performance ? (rn = !0,
|
|
3053
|
+
return rn !== void 0 || (typeof window < "u" && window.performance ? (rn = !0, De = window.performance) : rn = !1), rn;
|
|
3054
3054
|
}
|
|
3055
3055
|
function Tu() {
|
|
3056
3056
|
const e = [];
|
|
@@ -3084,10 +3084,10 @@ function Ou(e, t) {
|
|
|
3084
3084
|
nextSibling: u,
|
|
3085
3085
|
setScopeId: f = Dt,
|
|
3086
3086
|
insertStaticContent: p
|
|
3087
|
-
} = e, _ = (g, v, k, F = null, R = null, M = null, Y = void 0, j = null,
|
|
3087
|
+
} = e, _ = (g, v, k, F = null, R = null, M = null, Y = void 0, j = null, H = process.env.NODE_ENV !== "production" && Te ? !1 : !!v.dynamicChildren) => {
|
|
3088
3088
|
if (g === v)
|
|
3089
3089
|
return;
|
|
3090
|
-
g && !on(g, v) && (F = ae(g), Tt(g, R, M, !0), g = null), v.patchFlag === -2 && (
|
|
3090
|
+
g && !on(g, v) && (F = ae(g), Tt(g, R, M, !0), g = null), v.patchFlag === -2 && (H = !1, v.dynamicChildren = null);
|
|
3091
3091
|
const { type: I, ref: et, shapeFlag: q } = v;
|
|
3092
3092
|
switch (I) {
|
|
3093
3093
|
case Xn:
|
|
@@ -3109,7 +3109,7 @@ function Ou(e, t) {
|
|
|
3109
3109
|
M,
|
|
3110
3110
|
Y,
|
|
3111
3111
|
j,
|
|
3112
|
-
|
|
3112
|
+
H
|
|
3113
3113
|
);
|
|
3114
3114
|
break;
|
|
3115
3115
|
default:
|
|
@@ -3122,7 +3122,7 @@ function Ou(e, t) {
|
|
|
3122
3122
|
M,
|
|
3123
3123
|
Y,
|
|
3124
3124
|
j,
|
|
3125
|
-
|
|
3125
|
+
H
|
|
3126
3126
|
) : q & 6 ? J(
|
|
3127
3127
|
g,
|
|
3128
3128
|
v,
|
|
@@ -3132,7 +3132,7 @@ function Ou(e, t) {
|
|
|
3132
3132
|
M,
|
|
3133
3133
|
Y,
|
|
3134
3134
|
j,
|
|
3135
|
-
|
|
3135
|
+
H
|
|
3136
3136
|
) : q & 64 || q & 128 ? I.process(
|
|
3137
3137
|
g,
|
|
3138
3138
|
v,
|
|
@@ -3142,7 +3142,7 @@ function Ou(e, t) {
|
|
|
3142
3142
|
M,
|
|
3143
3143
|
Y,
|
|
3144
3144
|
j,
|
|
3145
|
-
|
|
3145
|
+
H,
|
|
3146
3146
|
en
|
|
3147
3147
|
) : process.env.NODE_ENV !== "production" && U("Invalid VNode type:", I, `(${typeof I})`);
|
|
3148
3148
|
}
|
|
@@ -3194,7 +3194,7 @@ function Ou(e, t) {
|
|
|
3194
3194
|
for (; g && g !== v; )
|
|
3195
3195
|
k = u(g), s(g), g = k;
|
|
3196
3196
|
s(v);
|
|
3197
|
-
}, O = (g, v, k, F, R, M, Y, j,
|
|
3197
|
+
}, O = (g, v, k, F, R, M, Y, j, H) => {
|
|
3198
3198
|
if (v.type === "svg" ? Y = "svg" : v.type === "math" && (Y = "mathml"), g == null)
|
|
3199
3199
|
E(
|
|
3200
3200
|
v,
|
|
@@ -3204,50 +3204,50 @@ function Ou(e, t) {
|
|
|
3204
3204
|
M,
|
|
3205
3205
|
Y,
|
|
3206
3206
|
j,
|
|
3207
|
-
|
|
3207
|
+
H
|
|
3208
3208
|
);
|
|
3209
3209
|
else {
|
|
3210
3210
|
const I = g.el && g.el._isVueCE ? g.el : null;
|
|
3211
3211
|
try {
|
|
3212
|
-
I && I._beginPatch(),
|
|
3212
|
+
I && I._beginPatch(), $(
|
|
3213
3213
|
g,
|
|
3214
3214
|
v,
|
|
3215
3215
|
R,
|
|
3216
3216
|
M,
|
|
3217
3217
|
Y,
|
|
3218
3218
|
j,
|
|
3219
|
-
|
|
3219
|
+
H
|
|
3220
3220
|
);
|
|
3221
3221
|
} finally {
|
|
3222
3222
|
I && I._endPatch();
|
|
3223
3223
|
}
|
|
3224
3224
|
}
|
|
3225
3225
|
}, E = (g, v, k, F, R, M, Y, j) => {
|
|
3226
|
-
let
|
|
3226
|
+
let H, I;
|
|
3227
3227
|
const { props: et, shapeFlag: q, transition: tt, dirs: st } = g;
|
|
3228
|
-
if (
|
|
3228
|
+
if (H = g.el = o(
|
|
3229
3229
|
g.type,
|
|
3230
3230
|
M,
|
|
3231
3231
|
et && et.is,
|
|
3232
3232
|
et
|
|
3233
|
-
), q & 8 ? h(
|
|
3233
|
+
), q & 8 ? h(H, g.children) : q & 16 && P(
|
|
3234
3234
|
g.children,
|
|
3235
|
-
|
|
3235
|
+
H,
|
|
3236
3236
|
null,
|
|
3237
3237
|
F,
|
|
3238
3238
|
R,
|
|
3239
3239
|
ur(g, M),
|
|
3240
3240
|
Y,
|
|
3241
3241
|
j
|
|
3242
|
-
), st && ci(g, null, F, "created"), C(
|
|
3242
|
+
), st && ci(g, null, F, "created"), C(H, g, g.scopeId, Y, F), et) {
|
|
3243
3243
|
for (const yt in et)
|
|
3244
|
-
yt !== "value" && !En(yt) && r(
|
|
3245
|
-
"value" in et && r(
|
|
3244
|
+
yt !== "value" && !En(yt) && r(H, yt, null, et[yt], M, F);
|
|
3245
|
+
"value" in et && r(H, "value", null, et.value, M), (I = et.onVnodeBeforeMount) && Se(I, F, g);
|
|
3246
3246
|
}
|
|
3247
|
-
process.env.NODE_ENV !== "production" && (Cs(
|
|
3247
|
+
process.env.NODE_ENV !== "production" && (Cs(H, "__vnode", g, !0), Cs(H, "__vueParentComponent", F, !0)), st && ci(g, null, F, "beforeMount");
|
|
3248
3248
|
const dt = Pu(R, tt);
|
|
3249
|
-
dt && tt.beforeEnter(
|
|
3250
|
-
I && Se(I, F, g), dt && tt.enter(
|
|
3249
|
+
dt && tt.beforeEnter(H), n(H, v, k), ((I = et && et.onVnodeMounted) || dt || st) && Kt(() => {
|
|
3250
|
+
I && Se(I, F, g), dt && tt.enter(H), st && ci(g, null, F, "mounted");
|
|
3251
3251
|
}, R);
|
|
3252
3252
|
}, C = (g, v, k, F, R) => {
|
|
3253
3253
|
if (k && f(g, k), F)
|
|
@@ -3266,8 +3266,8 @@ function Ou(e, t) {
|
|
|
3266
3266
|
);
|
|
3267
3267
|
}
|
|
3268
3268
|
}
|
|
3269
|
-
}, P = (g, v, k, F, R, M, Y, j,
|
|
3270
|
-
for (let I =
|
|
3269
|
+
}, P = (g, v, k, F, R, M, Y, j, H = 0) => {
|
|
3270
|
+
for (let I = H; I < g.length; I++) {
|
|
3271
3271
|
const et = g[I] = j ? Je(g[I]) : le(g[I]);
|
|
3272
3272
|
_(
|
|
3273
3273
|
null,
|
|
@@ -3281,14 +3281,14 @@ function Ou(e, t) {
|
|
|
3281
3281
|
j
|
|
3282
3282
|
);
|
|
3283
3283
|
}
|
|
3284
|
-
},
|
|
3284
|
+
}, $ = (g, v, k, F, R, M, Y) => {
|
|
3285
3285
|
const j = v.el = g.el;
|
|
3286
3286
|
process.env.NODE_ENV !== "production" && (j.__vnode = v);
|
|
3287
|
-
let { patchFlag:
|
|
3288
|
-
|
|
3287
|
+
let { patchFlag: H, dynamicChildren: I, dirs: et } = v;
|
|
3288
|
+
H |= g.patchFlag & 16;
|
|
3289
3289
|
const q = g.props || _t, tt = v.props || _t;
|
|
3290
3290
|
let st;
|
|
3291
|
-
if (k && hi(k, !1), (st = tt.onVnodeBeforeUpdate) && Se(st, k, v, g), et && ci(v, g, k, "beforeUpdate"), k && hi(k, !0), process.env.NODE_ENV !== "production" &&
|
|
3291
|
+
if (k && hi(k, !1), (st = tt.onVnodeBeforeUpdate) && Se(st, k, v, g), et && ci(v, g, k, "beforeUpdate"), k && hi(k, !0), process.env.NODE_ENV !== "production" && Te && (H = 0, Y = !1, I = null), (q.innerHTML && tt.innerHTML == null || q.textContent && tt.textContent == null) && h(j, ""), I ? (K(
|
|
3292
3292
|
g.dynamicChildren,
|
|
3293
3293
|
I,
|
|
3294
3294
|
j,
|
|
@@ -3306,39 +3306,39 @@ function Ou(e, t) {
|
|
|
3306
3306
|
ur(v, R),
|
|
3307
3307
|
M,
|
|
3308
3308
|
!1
|
|
3309
|
-
),
|
|
3310
|
-
if (
|
|
3309
|
+
), H > 0) {
|
|
3310
|
+
if (H & 16)
|
|
3311
3311
|
z(j, q, tt, k, R);
|
|
3312
|
-
else if (
|
|
3312
|
+
else if (H & 2 && q.class !== tt.class && r(j, "class", null, tt.class, R), H & 4 && r(j, "style", q.style, tt.style, R), H & 8) {
|
|
3313
3313
|
const dt = v.dynamicProps;
|
|
3314
3314
|
for (let yt = 0; yt < dt.length; yt++) {
|
|
3315
3315
|
const vt = dt[yt], jt = q[vt], Xt = tt[vt];
|
|
3316
3316
|
(Xt !== jt || vt === "value") && r(j, vt, jt, Xt, R, k);
|
|
3317
3317
|
}
|
|
3318
3318
|
}
|
|
3319
|
-
|
|
3319
|
+
H & 1 && g.children !== v.children && h(j, v.children);
|
|
3320
3320
|
} else !Y && I == null && z(j, q, tt, k, R);
|
|
3321
3321
|
((st = tt.onVnodeUpdated) || et) && Kt(() => {
|
|
3322
3322
|
st && Se(st, k, v, g), et && ci(v, g, k, "updated");
|
|
3323
3323
|
}, F);
|
|
3324
3324
|
}, K = (g, v, k, F, R, M, Y) => {
|
|
3325
3325
|
for (let j = 0; j < v.length; j++) {
|
|
3326
|
-
const
|
|
3326
|
+
const H = g[j], I = v[j], et = (
|
|
3327
3327
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
3328
3328
|
// which will not have a mounted element
|
|
3329
|
-
|
|
3329
|
+
H.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
3330
3330
|
// of the Fragment itself so it can move its children.
|
|
3331
|
-
(
|
|
3331
|
+
(H.type === It || // - In the case of different nodes, there is going to be a replacement
|
|
3332
3332
|
// which also requires the correct parent container
|
|
3333
|
-
!on(
|
|
3334
|
-
|
|
3333
|
+
!on(H, I) || // - In the case of a component, it could contain anything.
|
|
3334
|
+
H.shapeFlag & 198) ? d(H.el) : (
|
|
3335
3335
|
// In other cases, the parent container is not actually used so we
|
|
3336
3336
|
// just pass the block element here to avoid a DOM parentNode call.
|
|
3337
3337
|
k
|
|
3338
3338
|
)
|
|
3339
3339
|
);
|
|
3340
3340
|
_(
|
|
3341
|
-
|
|
3341
|
+
H,
|
|
3342
3342
|
I,
|
|
3343
3343
|
et,
|
|
3344
3344
|
null,
|
|
@@ -3368,11 +3368,11 @@ function Ou(e, t) {
|
|
|
3368
3368
|
}
|
|
3369
3369
|
"value" in k && r(g, "value", v.value, k.value, R);
|
|
3370
3370
|
}
|
|
3371
|
-
}, Z = (g, v, k, F, R, M, Y, j,
|
|
3371
|
+
}, Z = (g, v, k, F, R, M, Y, j, H) => {
|
|
3372
3372
|
const I = v.el = g ? g.el : a(""), et = v.anchor = g ? g.anchor : a("");
|
|
3373
3373
|
let { patchFlag: q, dynamicChildren: tt, slotScopeIds: st } = v;
|
|
3374
3374
|
process.env.NODE_ENV !== "production" && // #5523 dev root fragment may inherit directives
|
|
3375
|
-
(
|
|
3375
|
+
(Te || q & 2048) && (q = 0, H = !1, tt = null), st && (j = j ? j.concat(st) : st), g == null ? (n(I, k, F), n(et, k, F), P(
|
|
3376
3376
|
// #10007
|
|
3377
3377
|
// such fragment like `<></>` will be compiled into
|
|
3378
3378
|
// a fragment which doesn't have a children.
|
|
@@ -3384,7 +3384,7 @@ function Ou(e, t) {
|
|
|
3384
3384
|
M,
|
|
3385
3385
|
Y,
|
|
3386
3386
|
j,
|
|
3387
|
-
|
|
3387
|
+
H
|
|
3388
3388
|
)) : q > 0 && q & 64 && tt && // #2715 the previous fragment could've been a BAILed one as a result
|
|
3389
3389
|
// of renderSlot() with no valid children
|
|
3390
3390
|
g.dynamicChildren ? (K(
|
|
@@ -3415,15 +3415,15 @@ function Ou(e, t) {
|
|
|
3415
3415
|
M,
|
|
3416
3416
|
Y,
|
|
3417
3417
|
j,
|
|
3418
|
-
|
|
3418
|
+
H
|
|
3419
3419
|
);
|
|
3420
|
-
}, J = (g, v, k, F, R, M, Y, j,
|
|
3420
|
+
}, J = (g, v, k, F, R, M, Y, j, H) => {
|
|
3421
3421
|
v.slotScopeIds = j, g == null ? v.shapeFlag & 512 ? R.ctx.activate(
|
|
3422
3422
|
v,
|
|
3423
3423
|
k,
|
|
3424
3424
|
F,
|
|
3425
3425
|
Y,
|
|
3426
|
-
|
|
3426
|
+
H
|
|
3427
3427
|
) : A(
|
|
3428
3428
|
v,
|
|
3429
3429
|
k,
|
|
@@ -3431,18 +3431,18 @@ function Ou(e, t) {
|
|
|
3431
3431
|
R,
|
|
3432
3432
|
M,
|
|
3433
3433
|
Y,
|
|
3434
|
-
|
|
3435
|
-
) : L(g, v,
|
|
3434
|
+
H
|
|
3435
|
+
) : L(g, v, H);
|
|
3436
3436
|
}, A = (g, v, k, F, R, M, Y) => {
|
|
3437
3437
|
const j = g.component = Gu(
|
|
3438
3438
|
g,
|
|
3439
3439
|
F,
|
|
3440
3440
|
R
|
|
3441
3441
|
);
|
|
3442
|
-
if (process.env.NODE_ENV !== "production" && j.type.__hmrId && bd(j), process.env.NODE_ENV !== "production" && (fs(g), Vi(j, "mount")), _o(g) && (j.ctx.renderer = en), process.env.NODE_ENV !== "production" && Vi(j, "init"),
|
|
3442
|
+
if (process.env.NODE_ENV !== "production" && j.type.__hmrId && bd(j), process.env.NODE_ENV !== "production" && (fs(g), Vi(j, "mount")), _o(g) && (j.ctx.renderer = en), process.env.NODE_ENV !== "production" && Vi(j, "init"), $u(j, !1, Y), process.env.NODE_ENV !== "production" && Fi(j, "init"), process.env.NODE_ENV !== "production" && Te && (g.el = null), j.asyncDep) {
|
|
3443
3443
|
if (R && R.registerDep(j, G, Y), !g.el) {
|
|
3444
|
-
const
|
|
3445
|
-
w(null,
|
|
3444
|
+
const H = j.subTree = kt(te);
|
|
3445
|
+
w(null, H, v, k), g.placeholder = H.el;
|
|
3446
3446
|
}
|
|
3447
3447
|
} else
|
|
3448
3448
|
G(
|
|
@@ -3479,7 +3479,7 @@ function Ou(e, t) {
|
|
|
3479
3479
|
}
|
|
3480
3480
|
}
|
|
3481
3481
|
let vt = q, jt;
|
|
3482
|
-
process.env.NODE_ENV !== "production" && fs(q || g.vnode), hi(g, !1), q ? (q.el = yt.el, D(g, q, Y)) : q = yt, tt &&
|
|
3482
|
+
process.env.NODE_ENV !== "production" && fs(q || g.vnode), hi(g, !1), q ? (q.el = yt.el, D(g, q, Y)) : q = yt, tt && $i(tt), (jt = q.props && q.props.onVnodeBeforeUpdate) && Se(jt, dt, q, yt), hi(g, !0), process.env.NODE_ENV !== "production" && Vi(g, "render");
|
|
3483
3483
|
const Xt = Zo(g);
|
|
3484
3484
|
process.env.NODE_ENV !== "production" && Fi(g, "render");
|
|
3485
3485
|
const ve = g.subTree;
|
|
@@ -3500,7 +3500,7 @@ function Ou(e, t) {
|
|
|
3500
3500
|
} else {
|
|
3501
3501
|
let q;
|
|
3502
3502
|
const { el: tt, props: st } = v, { bm: dt, m: yt, parent: vt, root: jt, type: Xt } = g, ve = Tn(v);
|
|
3503
|
-
hi(g, !1), dt &&
|
|
3503
|
+
hi(g, !1), dt && $i(dt), !ve && (q = st && st.onVnodeBeforeMount) && Se(q, vt, v), hi(g, !0);
|
|
3504
3504
|
{
|
|
3505
3505
|
jt.ce && // @ts-expect-error _def is private
|
|
3506
3506
|
jt.ce._def.shadowRoot !== !1 && jt.ce._injectChildStyle(Xt), process.env.NODE_ENV !== "production" && Vi(g, "render");
|
|
@@ -3526,15 +3526,15 @@ function Ou(e, t) {
|
|
|
3526
3526
|
}
|
|
3527
3527
|
};
|
|
3528
3528
|
g.scope.on();
|
|
3529
|
-
const
|
|
3529
|
+
const H = g.effect = new fl(j);
|
|
3530
3530
|
g.scope.off();
|
|
3531
|
-
const I = g.update =
|
|
3532
|
-
et.i = g, et.id = g.uid,
|
|
3531
|
+
const I = g.update = H.run.bind(H), et = g.job = H.runIfDirty.bind(H);
|
|
3532
|
+
et.i = g, et.id = g.uid, H.scheduler = () => qs(et), hi(g, !0), process.env.NODE_ENV !== "production" && (H.onTrack = g.rtc ? (q) => $i(g.rtc, q) : void 0, H.onTrigger = g.rtg ? (q) => $i(g.rtg, q) : void 0), I();
|
|
3533
3533
|
}, D = (g, v, k) => {
|
|
3534
3534
|
v.component = g;
|
|
3535
3535
|
const F = g.vnode.props;
|
|
3536
3536
|
g.vnode = v, g.next = null, mu(g, v.props, F, k), Nu(g, v.children, k), fe(), Uo(g), pe();
|
|
3537
|
-
}, nt = (g, v, k, F, R, M, Y, j,
|
|
3537
|
+
}, nt = (g, v, k, F, R, M, Y, j, H = !1) => {
|
|
3538
3538
|
const I = g && g.children, et = g ? g.shapeFlag : 0, q = v.children, { patchFlag: tt, shapeFlag: st } = v;
|
|
3539
3539
|
if (tt > 0) {
|
|
3540
3540
|
if (tt & 128) {
|
|
@@ -3547,7 +3547,7 @@ function Ou(e, t) {
|
|
|
3547
3547
|
M,
|
|
3548
3548
|
Y,
|
|
3549
3549
|
j,
|
|
3550
|
-
|
|
3550
|
+
H
|
|
3551
3551
|
);
|
|
3552
3552
|
return;
|
|
3553
3553
|
} else if (tt & 256) {
|
|
@@ -3560,7 +3560,7 @@ function Ou(e, t) {
|
|
|
3560
3560
|
M,
|
|
3561
3561
|
Y,
|
|
3562
3562
|
j,
|
|
3563
|
-
|
|
3563
|
+
H
|
|
3564
3564
|
);
|
|
3565
3565
|
return;
|
|
3566
3566
|
}
|
|
@@ -3574,7 +3574,7 @@ function Ou(e, t) {
|
|
|
3574
3574
|
M,
|
|
3575
3575
|
Y,
|
|
3576
3576
|
j,
|
|
3577
|
-
|
|
3577
|
+
H
|
|
3578
3578
|
) : se(I, R, M, !0) : (et & 8 && h(k, ""), st & 16 && P(
|
|
3579
3579
|
q,
|
|
3580
3580
|
k,
|
|
@@ -3583,14 +3583,14 @@ function Ou(e, t) {
|
|
|
3583
3583
|
M,
|
|
3584
3584
|
Y,
|
|
3585
3585
|
j,
|
|
3586
|
-
|
|
3586
|
+
H
|
|
3587
3587
|
));
|
|
3588
|
-
}, lt = (g, v, k, F, R, M, Y, j,
|
|
3588
|
+
}, lt = (g, v, k, F, R, M, Y, j, H) => {
|
|
3589
3589
|
g = g || Ui, v = v || Ui;
|
|
3590
3590
|
const I = g.length, et = v.length, q = Math.min(I, et);
|
|
3591
3591
|
let tt;
|
|
3592
3592
|
for (tt = 0; tt < q; tt++) {
|
|
3593
|
-
const st = v[tt] =
|
|
3593
|
+
const st = v[tt] = H ? Je(v[tt]) : le(v[tt]);
|
|
3594
3594
|
_(
|
|
3595
3595
|
g[tt],
|
|
3596
3596
|
st,
|
|
@@ -3600,7 +3600,7 @@ function Ou(e, t) {
|
|
|
3600
3600
|
M,
|
|
3601
3601
|
Y,
|
|
3602
3602
|
j,
|
|
3603
|
-
|
|
3603
|
+
H
|
|
3604
3604
|
);
|
|
3605
3605
|
}
|
|
3606
3606
|
I > et ? se(
|
|
@@ -3618,15 +3618,15 @@ function Ou(e, t) {
|
|
|
3618
3618
|
M,
|
|
3619
3619
|
Y,
|
|
3620
3620
|
j,
|
|
3621
|
-
|
|
3621
|
+
H,
|
|
3622
3622
|
q
|
|
3623
3623
|
);
|
|
3624
|
-
}, ot = (g, v, k, F, R, M, Y, j,
|
|
3624
|
+
}, ot = (g, v, k, F, R, M, Y, j, H) => {
|
|
3625
3625
|
let I = 0;
|
|
3626
3626
|
const et = v.length;
|
|
3627
3627
|
let q = g.length - 1, tt = et - 1;
|
|
3628
3628
|
for (; I <= q && I <= tt; ) {
|
|
3629
|
-
const st = g[I], dt = v[I] =
|
|
3629
|
+
const st = g[I], dt = v[I] = H ? Je(v[I]) : le(v[I]);
|
|
3630
3630
|
if (on(st, dt))
|
|
3631
3631
|
_(
|
|
3632
3632
|
st,
|
|
@@ -3637,14 +3637,14 @@ function Ou(e, t) {
|
|
|
3637
3637
|
M,
|
|
3638
3638
|
Y,
|
|
3639
3639
|
j,
|
|
3640
|
-
|
|
3640
|
+
H
|
|
3641
3641
|
);
|
|
3642
3642
|
else
|
|
3643
3643
|
break;
|
|
3644
3644
|
I++;
|
|
3645
3645
|
}
|
|
3646
3646
|
for (; I <= q && I <= tt; ) {
|
|
3647
|
-
const st = g[q], dt = v[tt] =
|
|
3647
|
+
const st = g[q], dt = v[tt] = H ? Je(v[tt]) : le(v[tt]);
|
|
3648
3648
|
if (on(st, dt))
|
|
3649
3649
|
_(
|
|
3650
3650
|
st,
|
|
@@ -3655,7 +3655,7 @@ function Ou(e, t) {
|
|
|
3655
3655
|
M,
|
|
3656
3656
|
Y,
|
|
3657
3657
|
j,
|
|
3658
|
-
|
|
3658
|
+
H
|
|
3659
3659
|
);
|
|
3660
3660
|
else
|
|
3661
3661
|
break;
|
|
@@ -3667,14 +3667,14 @@ function Ou(e, t) {
|
|
|
3667
3667
|
for (; I <= tt; )
|
|
3668
3668
|
_(
|
|
3669
3669
|
null,
|
|
3670
|
-
v[I] =
|
|
3670
|
+
v[I] = H ? Je(v[I]) : le(v[I]),
|
|
3671
3671
|
k,
|
|
3672
3672
|
dt,
|
|
3673
3673
|
R,
|
|
3674
3674
|
M,
|
|
3675
3675
|
Y,
|
|
3676
3676
|
j,
|
|
3677
|
-
|
|
3677
|
+
H
|
|
3678
3678
|
), I++;
|
|
3679
3679
|
}
|
|
3680
3680
|
} else if (I > tt)
|
|
@@ -3683,7 +3683,7 @@ function Ou(e, t) {
|
|
|
3683
3683
|
else {
|
|
3684
3684
|
const st = I, dt = I, yt = /* @__PURE__ */ new Map();
|
|
3685
3685
|
for (I = dt; I <= tt; I++) {
|
|
3686
|
-
const Bt = v[I] =
|
|
3686
|
+
const Bt = v[I] = H ? Je(v[I]) : le(v[I]);
|
|
3687
3687
|
Bt.key != null && (process.env.NODE_ENV !== "production" && yt.has(Bt.key) && U(
|
|
3688
3688
|
"Duplicate keys found during update:",
|
|
3689
3689
|
JSON.stringify(Bt.key),
|
|
@@ -3719,7 +3719,7 @@ function Ou(e, t) {
|
|
|
3719
3719
|
M,
|
|
3720
3720
|
Y,
|
|
3721
3721
|
j,
|
|
3722
|
-
|
|
3722
|
+
H
|
|
3723
3723
|
), jt++);
|
|
3724
3724
|
}
|
|
3725
3725
|
const Io = ve ? Au(nn) : Ui;
|
|
@@ -3737,12 +3737,12 @@ function Ou(e, t) {
|
|
|
3737
3737
|
M,
|
|
3738
3738
|
Y,
|
|
3739
3739
|
j,
|
|
3740
|
-
|
|
3740
|
+
H
|
|
3741
3741
|
) : ve && (vt < 0 || I !== Io[vt] ? pt(ye, k, Vo, 2) : vt--);
|
|
3742
3742
|
}
|
|
3743
3743
|
}
|
|
3744
3744
|
}, pt = (g, v, k, F, R = null) => {
|
|
3745
|
-
const { el: M, type: Y, transition: j, children:
|
|
3745
|
+
const { el: M, type: Y, transition: j, children: H, shapeFlag: I } = g;
|
|
3746
3746
|
if (I & 6) {
|
|
3747
3747
|
pt(g.component.subTree, v, k, F);
|
|
3748
3748
|
return;
|
|
@@ -3757,8 +3757,8 @@ function Ou(e, t) {
|
|
|
3757
3757
|
}
|
|
3758
3758
|
if (Y === It) {
|
|
3759
3759
|
n(M, v, k);
|
|
3760
|
-
for (let q = 0; q <
|
|
3761
|
-
pt(
|
|
3760
|
+
for (let q = 0; q < H.length; q++)
|
|
3761
|
+
pt(H[q], v, k, F);
|
|
3762
3762
|
n(g.anchor, v, k);
|
|
3763
3763
|
return;
|
|
3764
3764
|
}
|
|
@@ -3789,7 +3789,7 @@ function Ou(e, t) {
|
|
|
3789
3789
|
type: M,
|
|
3790
3790
|
props: Y,
|
|
3791
3791
|
ref: j,
|
|
3792
|
-
children:
|
|
3792
|
+
children: H,
|
|
3793
3793
|
dynamicChildren: I,
|
|
3794
3794
|
shapeFlag: et,
|
|
3795
3795
|
patchFlag: q,
|
|
@@ -3827,7 +3827,7 @@ function Ou(e, t) {
|
|
|
3827
3827
|
k,
|
|
3828
3828
|
!1,
|
|
3829
3829
|
!0
|
|
3830
|
-
) : (M === It && q & 384 || !R && et & 16) && se(
|
|
3830
|
+
) : (M === It && q & 384 || !R && et & 16) && se(H, v, k), F && Mi(g);
|
|
3831
3831
|
}
|
|
3832
3832
|
(yt && (vt = Y && Y.onVnodeUnmounted) || dt) && Kt(() => {
|
|
3833
3833
|
vt && Se(vt, v, g), dt && ci(g, null, v, "unmounted");
|
|
@@ -3848,8 +3848,8 @@ function Ou(e, t) {
|
|
|
3848
3848
|
s(k), R && !R.persisted && R.afterLeave && R.afterLeave();
|
|
3849
3849
|
};
|
|
3850
3850
|
if (g.shapeFlag & 1 && R && !R.persisted) {
|
|
3851
|
-
const { leave: Y, delayLeave: j } = R,
|
|
3852
|
-
j ? j(g.el, M,
|
|
3851
|
+
const { leave: Y, delayLeave: j } = R, H = () => Y(k, M);
|
|
3852
|
+
j ? j(g.el, M, H) : H();
|
|
3853
3853
|
} else
|
|
3854
3854
|
M();
|
|
3855
3855
|
}, Jn = (g, v) => {
|
|
@@ -3859,8 +3859,8 @@ function Ou(e, t) {
|
|
|
3859
3859
|
s(v);
|
|
3860
3860
|
}, Li = (g, v, k) => {
|
|
3861
3861
|
process.env.NODE_ENV !== "production" && g.type.__hmrId && yd(g);
|
|
3862
|
-
const { bum: F, scope: R, job: M, subTree: Y, um: j, m:
|
|
3863
|
-
ra(
|
|
3862
|
+
const { bum: F, scope: R, job: M, subTree: Y, um: j, m: H, a: I } = g;
|
|
3863
|
+
ra(H), ra(I), F && $i(F), R.stop(), M && (M.flags |= 8, Tt(Y, g, v, k)), j && Kt(j, v), Kt(() => {
|
|
3864
3864
|
g.isUnmounted = !0;
|
|
3865
3865
|
}, v), process.env.NODE_ENV !== "production" && Td(g);
|
|
3866
3866
|
}, se = (g, v, k, F = !1, R = !1, M = 0) => {
|
|
@@ -4068,7 +4068,7 @@ function dc(e, t = null, i = null, n = 0, s = null, r = !1) {
|
|
|
4068
4068
|
if (mc(e) && (e = e.__vccOpts), t) {
|
|
4069
4069
|
t = Iu(t);
|
|
4070
4070
|
let { class: a, style: l } = t;
|
|
4071
|
-
a && !Nt(a) && (t.class =
|
|
4071
|
+
a && !Nt(a) && (t.class = Ce(a)), ft(l) && (Ns(l) && !Q(l) && (l = Ct({}, l)), t.style = ro(l));
|
|
4072
4072
|
}
|
|
4073
4073
|
const o = Nt(e) ? 1 : lc(e) ? 128 : Rd(e) ? 64 : ft(e) ? 4 : it(e) ? 2 : 0;
|
|
4074
4074
|
return process.env.NODE_ENV !== "production" && o & 4 && Ns(e) && (e = rt(e), U(
|
|
@@ -4187,10 +4187,10 @@ function fc(...e) {
|
|
|
4187
4187
|
const n = e[i];
|
|
4188
4188
|
for (const s in n)
|
|
4189
4189
|
if (s === "class")
|
|
4190
|
-
t.class !== n.class && (t.class =
|
|
4190
|
+
t.class !== n.class && (t.class = Ce([t.class, n.class]));
|
|
4191
4191
|
else if (s === "style")
|
|
4192
4192
|
t.style = ro([t.style, n.style]);
|
|
4193
|
-
else if (
|
|
4193
|
+
else if ($n(s)) {
|
|
4194
4194
|
const r = t[s], o = n[s];
|
|
4195
4195
|
o && r !== o && !(Q(r) && r.includes(o)) && (t[s] = r ? [].concat(r, o) : o);
|
|
4196
4196
|
} else s !== "" && (t[s] = n[s]);
|
|
@@ -4198,7 +4198,7 @@ function fc(...e) {
|
|
|
4198
4198
|
return t;
|
|
4199
4199
|
}
|
|
4200
4200
|
function Se(e, t, i, n = null) {
|
|
4201
|
-
|
|
4201
|
+
Pe(e, t, 7, [
|
|
4202
4202
|
i,
|
|
4203
4203
|
n
|
|
4204
4204
|
]);
|
|
@@ -4309,7 +4309,7 @@ const zn = (e) => {
|
|
|
4309
4309
|
};
|
|
4310
4310
|
}, oa = () => {
|
|
4311
4311
|
Rt && Rt.scope.off(), Vs(null);
|
|
4312
|
-
}, Bu = /* @__PURE__ */
|
|
4312
|
+
}, Bu = /* @__PURE__ */ He("slot,component");
|
|
4313
4313
|
function Gr(e, { isNativeTag: t }) {
|
|
4314
4314
|
(Bu(e) || t(e)) && U(
|
|
4315
4315
|
"Do not use built-in or reserved HTML elements as component id: " + e
|
|
@@ -4319,14 +4319,14 @@ function pc(e) {
|
|
|
4319
4319
|
return e.vnode.shapeFlag & 4;
|
|
4320
4320
|
}
|
|
4321
4321
|
let Vn = !1;
|
|
4322
|
-
function
|
|
4322
|
+
function $u(e, t = !1, i = !1) {
|
|
4323
4323
|
t && Fr(t);
|
|
4324
4324
|
const { props: n, children: s } = e.vnode, r = pc(e);
|
|
4325
4325
|
pu(e, n, r, t), Cu(e, s, i || t);
|
|
4326
|
-
const o = r ?
|
|
4326
|
+
const o = r ? Hu(e, t) : void 0;
|
|
4327
4327
|
return t && Fr(!1), o;
|
|
4328
4328
|
}
|
|
4329
|
-
function
|
|
4329
|
+
function Hu(e, t) {
|
|
4330
4330
|
const i = e.type;
|
|
4331
4331
|
if (process.env.NODE_ENV !== "production") {
|
|
4332
4332
|
if (i.name && Gr(i.name, e.appContext.config), i.components) {
|
|
@@ -4337,7 +4337,7 @@ function $u(e, t) {
|
|
|
4337
4337
|
if (i.directives) {
|
|
4338
4338
|
const s = Object.keys(i.directives);
|
|
4339
4339
|
for (let r = 0; r < s.length; r++)
|
|
4340
|
-
|
|
4340
|
+
$l(s[r]);
|
|
4341
4341
|
}
|
|
4342
4342
|
i.compilerOptions && Wu() && U(
|
|
4343
4343
|
'"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.'
|
|
@@ -4352,11 +4352,11 @@ function $u(e, t) {
|
|
|
4352
4352
|
e,
|
|
4353
4353
|
0,
|
|
4354
4354
|
[
|
|
4355
|
-
process.env.NODE_ENV !== "production" ?
|
|
4355
|
+
process.env.NODE_ENV !== "production" ? Ne(e.props) : e.props,
|
|
4356
4356
|
s
|
|
4357
4357
|
]
|
|
4358
4358
|
), a = io(o);
|
|
4359
|
-
if (pe(), r(), (a || e.sp) && !Tn(e) &&
|
|
4359
|
+
if (pe(), r(), (a || e.sp) && !Tn(e) && Hl(e), a) {
|
|
4360
4360
|
if (o.then(oa, oa), t)
|
|
4361
4361
|
return o.then((l) => {
|
|
4362
4362
|
aa(e, l, t);
|
|
@@ -4641,7 +4641,7 @@ if (ha)
|
|
|
4641
4641
|
} catch (e) {
|
|
4642
4642
|
process.env.NODE_ENV !== "production" && ee(`Error creating trusted types policy: ${e}`);
|
|
4643
4643
|
}
|
|
4644
|
-
const vc = Br ? (e) => Br.createHTML(e) : (e) => e, qu = "http://www.w3.org/2000/svg", Ku = "http://www.w3.org/1998/Math/MathML",
|
|
4644
|
+
const vc = Br ? (e) => Br.createHTML(e) : (e) => e, qu = "http://www.w3.org/2000/svg", Ku = "http://www.w3.org/1998/Math/MathML", Ie = typeof document < "u" ? document : null, da = Ie && /* @__PURE__ */ Ie.createElement("template"), Ju = {
|
|
4645
4645
|
insert: (e, t, i) => {
|
|
4646
4646
|
t.insertBefore(e, i || null);
|
|
4647
4647
|
},
|
|
@@ -4650,11 +4650,11 @@ const vc = Br ? (e) => Br.createHTML(e) : (e) => e, qu = "http://www.w3.org/2000
|
|
|
4650
4650
|
t && t.removeChild(e);
|
|
4651
4651
|
},
|
|
4652
4652
|
createElement: (e, t, i, n) => {
|
|
4653
|
-
const s = t === "svg" ?
|
|
4653
|
+
const s = t === "svg" ? Ie.createElementNS(qu, e) : t === "mathml" ? Ie.createElementNS(Ku, e) : i ? Ie.createElement(e, { is: i }) : Ie.createElement(e);
|
|
4654
4654
|
return e === "select" && n && n.multiple != null && s.setAttribute("multiple", n.multiple), s;
|
|
4655
4655
|
},
|
|
4656
|
-
createText: (e) =>
|
|
4657
|
-
createComment: (e) =>
|
|
4656
|
+
createText: (e) => Ie.createTextNode(e),
|
|
4657
|
+
createComment: (e) => Ie.createComment(e),
|
|
4658
4658
|
setText: (e, t) => {
|
|
4659
4659
|
e.nodeValue = t;
|
|
4660
4660
|
},
|
|
@@ -4663,7 +4663,7 @@ const vc = Br ? (e) => Br.createHTML(e) : (e) => e, qu = "http://www.w3.org/2000
|
|
|
4663
4663
|
},
|
|
4664
4664
|
parentNode: (e) => e.parentNode,
|
|
4665
4665
|
nextSibling: (e) => e.nextSibling,
|
|
4666
|
-
querySelector: (e) =>
|
|
4666
|
+
querySelector: (e) => Ie.querySelector(e),
|
|
4667
4667
|
setScopeId(e, t) {
|
|
4668
4668
|
e.setAttribute(t, "");
|
|
4669
4669
|
},
|
|
@@ -4762,7 +4762,7 @@ const ga = "http://www.w3.org/1999/xlink";
|
|
|
4762
4762
|
function ma(e, t, i, n, s, r = Ih(t)) {
|
|
4763
4763
|
n && t.startsWith("xlink:") ? i == null ? e.removeAttributeNS(ga, t.slice(6, t.length)) : e.setAttributeNS(ga, t, i) : i == null || r && !hl(i) ? e.removeAttribute(t) : e.setAttribute(
|
|
4764
4764
|
t,
|
|
4765
|
-
r ? "" :
|
|
4765
|
+
r ? "" : Oe(i) ? String(i) : i
|
|
4766
4766
|
);
|
|
4767
4767
|
}
|
|
4768
4768
|
function _a(e, t, i, n, s) {
|
|
@@ -4796,7 +4796,7 @@ function _a(e, t, i, n, s) {
|
|
|
4796
4796
|
}
|
|
4797
4797
|
o && e.removeAttribute(s || t);
|
|
4798
4798
|
}
|
|
4799
|
-
function
|
|
4799
|
+
function Fe(e, t, i, n) {
|
|
4800
4800
|
e.addEventListener(t, i, n);
|
|
4801
4801
|
}
|
|
4802
4802
|
function af(e, t, i, n) {
|
|
@@ -4814,7 +4814,7 @@ function lf(e, t, i, n, s = null) {
|
|
|
4814
4814
|
process.env.NODE_ENV !== "production" ? ya(n, t) : n,
|
|
4815
4815
|
s
|
|
4816
4816
|
);
|
|
4817
|
-
|
|
4817
|
+
Fe(e, a, c, l);
|
|
4818
4818
|
} else o && (af(e, a, o, l), r[t] = void 0);
|
|
4819
4819
|
}
|
|
4820
4820
|
}
|
|
@@ -4837,7 +4837,7 @@ function uf(e, t) {
|
|
|
4837
4837
|
n._vts = Date.now();
|
|
4838
4838
|
else if (n._vts <= i.attached)
|
|
4839
4839
|
return;
|
|
4840
|
-
|
|
4840
|
+
Pe(
|
|
4841
4841
|
ff(n, i.value),
|
|
4842
4842
|
t,
|
|
4843
4843
|
5,
|
|
@@ -4866,7 +4866,7 @@ function ff(e, t) {
|
|
|
4866
4866
|
const Sa = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // lowercase letter
|
|
4867
4867
|
e.charCodeAt(2) > 96 && e.charCodeAt(2) < 123, pf = (e, t, i, n, s, r) => {
|
|
4868
4868
|
const o = s === "svg";
|
|
4869
|
-
t === "class" ? Zu(e, n, o) : t === "style" ? sf(e, i, n) :
|
|
4869
|
+
t === "class" ? Zu(e, n, o) : t === "style" ? sf(e, i, n) : $n(t) ? xs(t) || lf(e, t, i, n, r) : (t[0] === "." ? (t = t.slice(1), !0) : t[0] === "^" ? (t = t.slice(1), !1) : gf(e, t, n, o)) ? (_a(e, t, n), !e.tagName.includes("-") && (t === "value" || t === "checked" || t === "selected") && ma(e, t, n, o, r, t !== "value")) : /* #11081 force set props for possible async custom element */ e._isVueCE && (/[A-Z]/.test(t) || !Nt(n)) ? _a(e, Ft(t), n, r, t) : (t === "true-value" ? e._trueValue = n : t === "false-value" && (e._falseValue = n), ma(e, t, n, o));
|
|
4870
4870
|
};
|
|
4871
4871
|
function gf(e, t, i, n) {
|
|
4872
4872
|
if (n)
|
|
@@ -4883,8 +4883,8 @@ function gf(e, t, i, n) {
|
|
|
4883
4883
|
const wa = {};
|
|
4884
4884
|
// @__NO_SIDE_EFFECTS__
|
|
4885
4885
|
function bc(e, t, i) {
|
|
4886
|
-
let n = /* @__PURE__ */
|
|
4887
|
-
|
|
4886
|
+
let n = /* @__PURE__ */ Ae(e, t);
|
|
4887
|
+
Hs(n) && (n = Ct({}, n, t));
|
|
4888
4888
|
class s extends To {
|
|
4889
4889
|
constructor(o) {
|
|
4890
4890
|
super(n, o, i);
|
|
@@ -5023,7 +5023,7 @@ class To extends mf {
|
|
|
5023
5023
|
this.dispatchEvent(
|
|
5024
5024
|
new CustomEvent(
|
|
5025
5025
|
r,
|
|
5026
|
-
|
|
5026
|
+
Hs(o[0]) ? Ct({ detail: o }, o[0]) : { detail: o }
|
|
5027
5027
|
)
|
|
5028
5028
|
);
|
|
5029
5029
|
};
|
|
@@ -5131,7 +5131,7 @@ class To extends mf {
|
|
|
5131
5131
|
}
|
|
5132
5132
|
const ni = (e) => {
|
|
5133
5133
|
const t = e.props["onUpdate:modelValue"] || !1;
|
|
5134
|
-
return Q(t) ? (i) =>
|
|
5134
|
+
return Q(t) ? (i) => $i(t, i) : t;
|
|
5135
5135
|
};
|
|
5136
5136
|
function _f(e) {
|
|
5137
5137
|
e.target.composing = !0;
|
|
@@ -5148,11 +5148,11 @@ const Fs = {
|
|
|
5148
5148
|
created(e, { modifiers: { lazy: t, trim: i, number: n } }, s) {
|
|
5149
5149
|
e[oe] = ni(s);
|
|
5150
5150
|
const r = n || s.props && s.props.type === "number";
|
|
5151
|
-
|
|
5151
|
+
Fe(e, t ? "change" : "input", (o) => {
|
|
5152
5152
|
o.target.composing || e[oe](xa(e.value, i, r));
|
|
5153
|
-
}), (i || r) &&
|
|
5153
|
+
}), (i || r) && Fe(e, "change", () => {
|
|
5154
5154
|
e.value = xa(e.value, i, r);
|
|
5155
|
-
}), t || (
|
|
5155
|
+
}), t || (Fe(e, "compositionstart", _f), Fe(e, "compositionend", Ea), Fe(e, "change", Ea));
|
|
5156
5156
|
},
|
|
5157
5157
|
// set value on mounted so it's after min/max for type="range"
|
|
5158
5158
|
mounted(e, { value: t }) {
|
|
@@ -5167,7 +5167,7 @@ const Fs = {
|
|
|
5167
5167
|
// #4096 array checkboxes need to be deep traversed
|
|
5168
5168
|
deep: !0,
|
|
5169
5169
|
created(e, t, i) {
|
|
5170
|
-
e[oe] = ni(i),
|
|
5170
|
+
e[oe] = ni(i), Fe(e, "change", () => {
|
|
5171
5171
|
const n = e._modelValue, s = Ki(e), r = e.checked, o = e[oe];
|
|
5172
5172
|
if (Q(n)) {
|
|
5173
5173
|
const a = oo(n, s), l = a !== -1;
|
|
@@ -5205,7 +5205,7 @@ function Ca(e, { value: t, oldValue: i }, n) {
|
|
|
5205
5205
|
}
|
|
5206
5206
|
const vf = {
|
|
5207
5207
|
created(e, { value: t }, i) {
|
|
5208
|
-
e.checked = Ci(t, i.props.value), e[oe] = ni(i),
|
|
5208
|
+
e.checked = Ci(t, i.props.value), e[oe] = ni(i), Fe(e, "change", () => {
|
|
5209
5209
|
e[oe](Ki(e));
|
|
5210
5210
|
});
|
|
5211
5211
|
},
|
|
@@ -5217,7 +5217,7 @@ const vf = {
|
|
|
5217
5217
|
deep: !0,
|
|
5218
5218
|
created(e, { value: t, modifiers: { number: i } }, n) {
|
|
5219
5219
|
const s = Qi(t);
|
|
5220
|
-
|
|
5220
|
+
Fe(e, "change", () => {
|
|
5221
5221
|
const r = Array.prototype.filter.call(e.options, (o) => o.selected).map(
|
|
5222
5222
|
(o) => i ? Us(Ki(o)) : Ki(o)
|
|
5223
5223
|
);
|
|
@@ -5448,11 +5448,11 @@ function Df(e, t) {
|
|
|
5448
5448
|
l += e[r];
|
|
5449
5449
|
if (l = l.trim(), l[l.length - 1] === "/" && (l = l.substring(0, l.length - 1), r--), !Uf(l)) {
|
|
5450
5450
|
let d;
|
|
5451
|
-
return l.trim().length === 0 ? d = "Invalid space after '<'." : d = "Tag '" + l + "' is an invalid name.", Pt("InvalidTag", d,
|
|
5451
|
+
return l.trim().length === 0 ? d = "Invalid space after '<'." : d = "Tag '" + l + "' is an invalid name.", Pt("InvalidTag", d, Ht(e, r));
|
|
5452
5452
|
}
|
|
5453
5453
|
const c = Gf(e, r);
|
|
5454
5454
|
if (c === !1)
|
|
5455
|
-
return Pt("InvalidAttr", "Attributes for '" + l + "' have open quote.",
|
|
5455
|
+
return Pt("InvalidAttr", "Attributes for '" + l + "' have open quote.", Ht(e, r));
|
|
5456
5456
|
let h = c.value;
|
|
5457
5457
|
if (r = c.index, h[h.length - 1] === "/") {
|
|
5458
5458
|
const d = r - h.length;
|
|
@@ -5461,32 +5461,32 @@ function Df(e, t) {
|
|
|
5461
5461
|
if (u === !0)
|
|
5462
5462
|
n = !0;
|
|
5463
5463
|
else
|
|
5464
|
-
return Pt(u.err.code, u.err.msg,
|
|
5464
|
+
return Pt(u.err.code, u.err.msg, Ht(e, d + u.err.line));
|
|
5465
5465
|
} else if (a)
|
|
5466
5466
|
if (c.tagClosed) {
|
|
5467
5467
|
if (h.trim().length > 0)
|
|
5468
|
-
return Pt("InvalidTag", "Closing tag '" + l + "' can't have attributes or invalid starting.",
|
|
5468
|
+
return Pt("InvalidTag", "Closing tag '" + l + "' can't have attributes or invalid starting.", Ht(e, o));
|
|
5469
5469
|
if (i.length === 0)
|
|
5470
|
-
return Pt("InvalidTag", "Closing tag '" + l + "' has not been opened.",
|
|
5470
|
+
return Pt("InvalidTag", "Closing tag '" + l + "' has not been opened.", Ht(e, o));
|
|
5471
5471
|
{
|
|
5472
5472
|
const d = i.pop();
|
|
5473
5473
|
if (l !== d.tagName) {
|
|
5474
|
-
let u =
|
|
5474
|
+
let u = Ht(e, d.tagStartPos);
|
|
5475
5475
|
return Pt(
|
|
5476
5476
|
"InvalidTag",
|
|
5477
5477
|
"Expected closing tag '" + d.tagName + "' (opened in line " + u.line + ", col " + u.col + ") instead of closing tag '" + l + "'.",
|
|
5478
|
-
|
|
5478
|
+
Ht(e, o)
|
|
5479
5479
|
);
|
|
5480
5480
|
}
|
|
5481
5481
|
i.length == 0 && (s = !0);
|
|
5482
5482
|
}
|
|
5483
|
-
} else return Pt("InvalidTag", "Closing tag '" + l + "' doesn't have proper closing.",
|
|
5483
|
+
} else return Pt("InvalidTag", "Closing tag '" + l + "' doesn't have proper closing.", Ht(e, r));
|
|
5484
5484
|
else {
|
|
5485
5485
|
const d = Ra(h, t);
|
|
5486
5486
|
if (d !== !0)
|
|
5487
|
-
return Pt(d.err.code, d.err.msg,
|
|
5487
|
+
return Pt(d.err.code, d.err.msg, Ht(e, r - h.length + d.err.line));
|
|
5488
5488
|
if (s === !0)
|
|
5489
|
-
return Pt("InvalidXml", "Multiple possible root nodes found.",
|
|
5489
|
+
return Pt("InvalidXml", "Multiple possible root nodes found.", Ht(e, r));
|
|
5490
5490
|
t.unpairedTags.indexOf(l) !== -1 || i.push({ tagName: l, tagStartPos: o }), n = !0;
|
|
5491
5491
|
}
|
|
5492
5492
|
for (r++; r < e.length; r++)
|
|
@@ -5499,22 +5499,22 @@ function Df(e, t) {
|
|
|
5499
5499
|
} else
|
|
5500
5500
|
break;
|
|
5501
5501
|
else if (e[r] === "&") {
|
|
5502
|
-
const d =
|
|
5502
|
+
const d = Hf(e, r);
|
|
5503
5503
|
if (d == -1)
|
|
5504
|
-
return Pt("InvalidChar", "char '&' is not expected.",
|
|
5504
|
+
return Pt("InvalidChar", "char '&' is not expected.", Ht(e, r));
|
|
5505
5505
|
r = d;
|
|
5506
5506
|
} else if (s === !0 && !Oa(e[r]))
|
|
5507
|
-
return Pt("InvalidXml", "Extra text at the end",
|
|
5507
|
+
return Pt("InvalidXml", "Extra text at the end", Ht(e, r));
|
|
5508
5508
|
e[r] === "<" && r--;
|
|
5509
5509
|
}
|
|
5510
5510
|
} else {
|
|
5511
5511
|
if (Oa(e[r]))
|
|
5512
5512
|
continue;
|
|
5513
|
-
return Pt("InvalidChar", "char '" + e[r] + "' is not expected.",
|
|
5513
|
+
return Pt("InvalidChar", "char '" + e[r] + "' is not expected.", Ht(e, r));
|
|
5514
5514
|
}
|
|
5515
5515
|
if (n) {
|
|
5516
5516
|
if (i.length == 1)
|
|
5517
|
-
return Pt("InvalidTag", "Unclosed tag '" + i[0].tagName + "'.",
|
|
5517
|
+
return Pt("InvalidTag", "Unclosed tag '" + i[0].tagName + "'.", Ht(e, i[0].tagStartPos));
|
|
5518
5518
|
if (i.length > 0)
|
|
5519
5519
|
return Pt("InvalidXml", "Invalid '" + JSON.stringify(i.map((r) => r.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 });
|
|
5520
5520
|
} else return Pt("InvalidXml", "Start tag expected.", 1);
|
|
@@ -5530,7 +5530,7 @@ function Pa(e, t) {
|
|
|
5530
5530
|
if (e[t] == "?" || e[t] == " ") {
|
|
5531
5531
|
const n = e.substr(i, t - i);
|
|
5532
5532
|
if (t > 5 && n === "xml")
|
|
5533
|
-
return Pt("InvalidXml", "XML declaration allowed only at the start of the document.",
|
|
5533
|
+
return Pt("InvalidXml", "XML declaration allowed only at the start of the document.", Ht(e, t));
|
|
5534
5534
|
if (e[t] == "?" && e[t + 1] == ">") {
|
|
5535
5535
|
t++;
|
|
5536
5536
|
break;
|
|
@@ -5600,7 +5600,7 @@ function Ra(e, t) {
|
|
|
5600
5600
|
}
|
|
5601
5601
|
return !0;
|
|
5602
5602
|
}
|
|
5603
|
-
function
|
|
5603
|
+
function $f(e, t) {
|
|
5604
5604
|
let i = /\d/;
|
|
5605
5605
|
for (e[t] === "x" && (t++, i = /[\da-fA-F]/); t < e.length; t++) {
|
|
5606
5606
|
if (e[t] === ";")
|
|
@@ -5610,11 +5610,11 @@ function Hf(e, t) {
|
|
|
5610
5610
|
}
|
|
5611
5611
|
return -1;
|
|
5612
5612
|
}
|
|
5613
|
-
function
|
|
5613
|
+
function Hf(e, t) {
|
|
5614
5614
|
if (t++, e[t] === ";")
|
|
5615
5615
|
return -1;
|
|
5616
5616
|
if (e[t] === "#")
|
|
5617
|
-
return t++,
|
|
5617
|
+
return t++, $f(e, t);
|
|
5618
5618
|
let i = 0;
|
|
5619
5619
|
for (; t < e.length; t++, i++)
|
|
5620
5620
|
if (!(e[t].match(/\w/) && i < 20)) {
|
|
@@ -5640,7 +5640,7 @@ function Wf(e) {
|
|
|
5640
5640
|
function Uf(e) {
|
|
5641
5641
|
return tr(e);
|
|
5642
5642
|
}
|
|
5643
|
-
function
|
|
5643
|
+
function Ht(e, t) {
|
|
5644
5644
|
const i = e.substring(0, t).split(/\r?\n/);
|
|
5645
5645
|
return {
|
|
5646
5646
|
line: i.length,
|
|
@@ -6002,7 +6002,7 @@ function s0(e, t, i, n, s, r, o) {
|
|
|
6002
6002
|
if (e !== void 0 && (this.options.trimValues && !n && (e = e.trim()), e.length > 0)) {
|
|
6003
6003
|
o || (e = this.replaceEntitiesValue(e));
|
|
6004
6004
|
const a = this.options.tagValueProcessor(t, e, i, s, r);
|
|
6005
|
-
return a == null ? e : typeof a != typeof e || a !== e ? a : this.options.trimValues ?
|
|
6005
|
+
return a == null ? e : typeof a != typeof e || a !== e ? a : this.options.trimValues ? Hr(e, this.options.parseTagValue, this.options.numberParseOptions) : e.trim() === e ? Hr(e, this.options.parseTagValue, this.options.numberParseOptions) : e;
|
|
6006
6006
|
}
|
|
6007
6007
|
}
|
|
6008
6008
|
function r0(e) {
|
|
@@ -6027,7 +6027,7 @@ function a0(e, t) {
|
|
|
6027
6027
|
if (this.options.transformAttributeName && (l = this.options.transformAttributeName(l)), l === "__proto__" && (l = "#__proto__"), a !== void 0) {
|
|
6028
6028
|
this.options.trimValues && (a = a.trim()), a = this.replaceEntitiesValue(a);
|
|
6029
6029
|
const c = this.options.attributeValueProcessor(o, a, t);
|
|
6030
|
-
c == null ? s[l] = a : typeof c != typeof a || c !== a ? s[l] = c : s[l] =
|
|
6030
|
+
c == null ? s[l] = a : typeof c != typeof a || c !== a ? s[l] = c : s[l] = Hr(
|
|
6031
6031
|
a,
|
|
6032
6032
|
this.options.parseAttributeValue,
|
|
6033
6033
|
this.options.numberParseOptions
|
|
@@ -6065,7 +6065,7 @@ const l0 = function(e) {
|
|
|
6065
6065
|
let d = 0;
|
|
6066
6066
|
h && this.options.unpairedTags.indexOf(h) !== -1 ? (d = s.lastIndexOf(".", s.lastIndexOf(".") - 1), this.tagsNodeStack.pop()) : d = s.lastIndexOf("."), s = s.substring(0, d), i = this.tagsNodeStack.pop(), n = "", o = l;
|
|
6067
6067
|
} else if (e[o + 1] === "?") {
|
|
6068
|
-
let l =
|
|
6068
|
+
let l = $r(e, o, !1, "?>");
|
|
6069
6069
|
if (!l) throw new Error("Pi Tag is not closed.");
|
|
6070
6070
|
if (n = this.saveTextToParentTag(n, i, s), !(this.options.ignoreDeclaration && l.tagName === "?xml" || this.options.ignorePiTags)) {
|
|
6071
6071
|
const c = new gi(l.tagName);
|
|
@@ -6088,7 +6088,7 @@ const l0 = function(e) {
|
|
|
6088
6088
|
let h = this.parseTextData(c, i.tagname, s, !0, !1, !0, !0);
|
|
6089
6089
|
h == null && (h = ""), this.options.cdataPropName ? i.add(this.options.cdataPropName, [{ [this.options.textNodeName]: c }]) : i.add(this.options.textNodeName, h), o = l + 2;
|
|
6090
6090
|
} else {
|
|
6091
|
-
let l =
|
|
6091
|
+
let l = $r(e, o, this.options.removeNSPrefix), c = l.tagName;
|
|
6092
6092
|
const h = l.rawTagName;
|
|
6093
6093
|
let d = l.tagExp, u = l.attrExpPresent, f = l.closeIndex;
|
|
6094
6094
|
if (this.options.transformTagName) {
|
|
@@ -6201,7 +6201,7 @@ function mi(e, t, i, n) {
|
|
|
6201
6201
|
throw new Error(n);
|
|
6202
6202
|
return s + t.length - 1;
|
|
6203
6203
|
}
|
|
6204
|
-
function
|
|
6204
|
+
function $r(e, t, i, n = ">") {
|
|
6205
6205
|
const s = f0(e, t + 1, n);
|
|
6206
6206
|
if (!s) return;
|
|
6207
6207
|
let r = s.data;
|
|
@@ -6241,11 +6241,11 @@ function p0(e, t, i) {
|
|
|
6241
6241
|
else if (e.substr(i + 1, 2) === "![")
|
|
6242
6242
|
i = mi(e, "]]>", i, "StopNode is not closed.") - 2;
|
|
6243
6243
|
else {
|
|
6244
|
-
const r =
|
|
6244
|
+
const r = $r(e, i, ">");
|
|
6245
6245
|
r && ((r && r.tagName) === t && r.tagExp[r.tagExp.length - 1] !== "/" && s++, i = r.closeIndex);
|
|
6246
6246
|
}
|
|
6247
6247
|
}
|
|
6248
|
-
function
|
|
6248
|
+
function Hr(e, t, i) {
|
|
6249
6249
|
if (t && typeof e == "string") {
|
|
6250
6250
|
const n = e.trim();
|
|
6251
6251
|
return n === "true" ? !0 : n === "false" ? !1 : Jf(e, i);
|
|
@@ -6451,7 +6451,7 @@ const E0 = {
|
|
|
6451
6451
|
// transformAttributeName: false,
|
|
6452
6452
|
oneListGroup: !1
|
|
6453
6453
|
};
|
|
6454
|
-
function
|
|
6454
|
+
function ke(e) {
|
|
6455
6455
|
this.options = Object.assign({}, E0, e), this.options.ignoreAttributes === !0 || this.options.attributesGroupName ? this.isAttribute = function() {
|
|
6456
6456
|
return !1;
|
|
6457
6457
|
} : (this.ignoreAttributesFn = Cc(this.options.ignoreAttributes), this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = N0), this.processTextOrObjNode = x0, this.options.format ? (this.indentate = C0, this.tagEndChar = `>
|
|
@@ -6460,12 +6460,12 @@ function Te(e) {
|
|
|
6460
6460
|
return "";
|
|
6461
6461
|
}, this.tagEndChar = ">", this.newLine = "");
|
|
6462
6462
|
}
|
|
6463
|
-
|
|
6463
|
+
ke.prototype.build = function(e) {
|
|
6464
6464
|
return this.options.preserveOrder ? y0(e, this.options) : (Array.isArray(e) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (e = {
|
|
6465
6465
|
[this.options.arrayNodeName]: e
|
|
6466
6466
|
}), this.j2x(e, 0, []).val);
|
|
6467
6467
|
};
|
|
6468
|
-
|
|
6468
|
+
ke.prototype.j2x = function(e, t, i) {
|
|
6469
6469
|
let n = "", s = "";
|
|
6470
6470
|
const r = i.join(".");
|
|
6471
6471
|
for (let o in e)
|
|
@@ -6514,14 +6514,14 @@ Te.prototype.j2x = function(e, t, i) {
|
|
|
6514
6514
|
s += this.processTextOrObjNode(e[o], o, t, i);
|
|
6515
6515
|
return { attrStr: n, val: s };
|
|
6516
6516
|
};
|
|
6517
|
-
|
|
6517
|
+
ke.prototype.buildAttrPairStr = function(e, t) {
|
|
6518
6518
|
return t = this.options.attributeValueProcessor(e, "" + t), t = this.replaceEntitiesValue(t), this.options.suppressBooleanAttributes && t === "true" ? " " + e : " " + e + '="' + t + '"';
|
|
6519
6519
|
};
|
|
6520
6520
|
function x0(e, t, i, n) {
|
|
6521
6521
|
const s = this.j2x(e, i + 1, n.concat(t));
|
|
6522
6522
|
return e[this.options.textNodeName] !== void 0 && Object.keys(e).length === 1 ? this.buildTextValNode(e[this.options.textNodeName], t, s.attrStr, i) : this.buildObjectNode(s.val, t, s.attrStr, i);
|
|
6523
6523
|
}
|
|
6524
|
-
|
|
6524
|
+
ke.prototype.buildObjectNode = function(e, t, i, n) {
|
|
6525
6525
|
if (e === "")
|
|
6526
6526
|
return t[0] === "?" ? this.indentate(n) + "<" + t + i + "?" + this.tagEndChar : this.indentate(n) + "<" + t + i + this.closeTag(t) + this.tagEndChar;
|
|
6527
6527
|
{
|
|
@@ -6529,11 +6529,11 @@ Te.prototype.buildObjectNode = function(e, t, i, n) {
|
|
|
6529
6529
|
return t[0] === "?" && (r = "?", s = ""), (i || i === "") && e.indexOf("<") === -1 ? this.indentate(n) + "<" + t + i + r + ">" + e + s : this.options.commentPropName !== !1 && t === this.options.commentPropName && r.length === 0 ? this.indentate(n) + `<!--${e}-->` + this.newLine : this.indentate(n) + "<" + t + i + r + this.tagEndChar + e + this.indentate(n) + s;
|
|
6530
6530
|
}
|
|
6531
6531
|
};
|
|
6532
|
-
|
|
6532
|
+
ke.prototype.closeTag = function(e) {
|
|
6533
6533
|
let t = "";
|
|
6534
6534
|
return this.options.unpairedTags.indexOf(e) !== -1 ? this.options.suppressUnpairedNode || (t = "/") : this.options.suppressEmptyNode ? t = "/" : t = `></${e}`, t;
|
|
6535
6535
|
};
|
|
6536
|
-
|
|
6536
|
+
ke.prototype.buildTextValNode = function(e, t, i, n) {
|
|
6537
6537
|
if (this.options.cdataPropName !== !1 && t === this.options.cdataPropName)
|
|
6538
6538
|
return this.indentate(n) + `<![CDATA[${e}]]>` + this.newLine;
|
|
6539
6539
|
if (this.options.commentPropName !== !1 && t === this.options.commentPropName)
|
|
@@ -6545,7 +6545,7 @@ Te.prototype.buildTextValNode = function(e, t, i, n) {
|
|
|
6545
6545
|
return s = this.replaceEntitiesValue(s), s === "" ? this.indentate(n) + "<" + t + i + this.closeTag(t) + this.tagEndChar : this.indentate(n) + "<" + t + i + ">" + s + "</" + t + this.tagEndChar;
|
|
6546
6546
|
}
|
|
6547
6547
|
};
|
|
6548
|
-
|
|
6548
|
+
ke.prototype.replaceEntitiesValue = function(e) {
|
|
6549
6549
|
if (e && e.length > 0 && this.options.processEntities)
|
|
6550
6550
|
for (let t = 0; t < this.options.entities.length; t++) {
|
|
6551
6551
|
const i = this.options.entities[t];
|
|
@@ -6603,7 +6603,7 @@ class Oc {
|
|
|
6603
6603
|
function At(e, t) {
|
|
6604
6604
|
return e ? Array.isArray(e) ? e.map((i) => new t(i)) : [new t(e)] : [];
|
|
6605
6605
|
}
|
|
6606
|
-
function
|
|
6606
|
+
function $e(e) {
|
|
6607
6607
|
return e.map((t) => t.toXML());
|
|
6608
6608
|
}
|
|
6609
6609
|
function Ee(e) {
|
|
@@ -6739,7 +6739,7 @@ class Pc {
|
|
|
6739
6739
|
Width: this.Width,
|
|
6740
6740
|
Height: this.Height,
|
|
6741
6741
|
actualVehicleEquipments: {
|
|
6742
|
-
ActualVehicleEquipment:
|
|
6742
|
+
ActualVehicleEquipment: $e(this.actualVehicleEquipments)
|
|
6743
6743
|
},
|
|
6744
6744
|
PublicUse: this.PublicUse,
|
|
6745
6745
|
VehicleSide: this.VehicleSide,
|
|
@@ -6949,7 +6949,7 @@ class V0 {
|
|
|
6949
6949
|
attr_version: this.attr_version,
|
|
6950
6950
|
Label: this.Label,
|
|
6951
6951
|
Orientation: this.Orientation,
|
|
6952
|
-
actualVehicleEquipments: { ActualVehicleEquipment:
|
|
6952
|
+
actualVehicleEquipments: { ActualVehicleEquipment: $e(this.actualVehicleEquipments) },
|
|
6953
6953
|
SpotColumnRef: this.SpotColumnRef?.toXML(),
|
|
6954
6954
|
SpotRowRef: this.SpotRowRef?.toXML()
|
|
6955
6955
|
};
|
|
@@ -7157,7 +7157,7 @@ class ce {
|
|
|
7157
7157
|
};
|
|
7158
7158
|
}
|
|
7159
7159
|
}
|
|
7160
|
-
class
|
|
7160
|
+
class $0 {
|
|
7161
7161
|
attr_id;
|
|
7162
7162
|
attr_version;
|
|
7163
7163
|
Name;
|
|
@@ -7186,8 +7186,8 @@ class H0 {
|
|
|
7186
7186
|
return {
|
|
7187
7187
|
attr_id: this.attr_id,
|
|
7188
7188
|
attr_version: this.attr_version,
|
|
7189
|
-
spotRows: { SpotRow:
|
|
7190
|
-
spotColumns: { SpotColumn:
|
|
7189
|
+
spotRows: { SpotRow: $e(this.spotRows) },
|
|
7190
|
+
spotColumns: { SpotColumn: $e(this.spotColumns) },
|
|
7191
7191
|
deckSpaces: Ee(this.deckspaces),
|
|
7192
7192
|
DeckLevelRef: this.DeckLevelRef?.toXML(),
|
|
7193
7193
|
polygon: this.polygon?.toXML(),
|
|
@@ -7225,18 +7225,18 @@ class Lc {
|
|
|
7225
7225
|
decks: n = void 0,
|
|
7226
7226
|
deckLevels: s = void 0
|
|
7227
7227
|
}) {
|
|
7228
|
-
this.attr_id = t, this.attr_version = i, this.deckLevels = At(s?.DeckLevel, T0), this.decks = At(n?.Deck,
|
|
7228
|
+
this.attr_id = t, this.attr_version = i, this.deckLevels = At(s?.DeckLevel, T0), this.decks = At(n?.Deck, $0);
|
|
7229
7229
|
}
|
|
7230
7230
|
toXML() {
|
|
7231
7231
|
return {
|
|
7232
7232
|
attr_id: this.attr_id,
|
|
7233
7233
|
attr_version: this.attr_version,
|
|
7234
|
-
decks: { Deck:
|
|
7235
|
-
deckLevels: { DeckLevel:
|
|
7234
|
+
decks: { Deck: $e(this.decks) },
|
|
7235
|
+
deckLevels: { DeckLevel: $e(this.deckLevels) }
|
|
7236
7236
|
};
|
|
7237
7237
|
}
|
|
7238
7238
|
}
|
|
7239
|
-
const
|
|
7239
|
+
const H0 = /* @__PURE__ */ Ae({
|
|
7240
7240
|
__name: "DeckVisualization",
|
|
7241
7241
|
props: {
|
|
7242
7242
|
deck: {
|
|
@@ -7264,20 +7264,20 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7264
7264
|
stroke: "#68a691",
|
|
7265
7265
|
strokeWidth: 3
|
|
7266
7266
|
} : {}, u = (E, C) => {
|
|
7267
|
-
let P = 0,
|
|
7267
|
+
let P = 0, $ = 0;
|
|
7268
7268
|
const { width: K, height: z } = E.getBoundingBox();
|
|
7269
|
-
return P = Math.max(P, K),
|
|
7269
|
+
return P = Math.max(P, K), $ = Math.max($, z), {
|
|
7270
7270
|
width: P * C + 10,
|
|
7271
|
-
height:
|
|
7271
|
+
height: $ * C + 10
|
|
7272
7272
|
};
|
|
7273
7273
|
}, f = (E, C) => {
|
|
7274
7274
|
r.value || (n("select", { element: C, ctrlKey: E.evt.ctrlKey || E.evt.metaKey }), E.cancelBubble = !0);
|
|
7275
7275
|
}, p = (E) => {
|
|
7276
7276
|
if (E.evt.ctrlKey || E.evt.metaKey || E.target === E.target.getStage()) {
|
|
7277
7277
|
r.value = !0;
|
|
7278
|
-
const P = E.target.getStage().getPointerPosition(),
|
|
7279
|
-
|
|
7280
|
-
const K =
|
|
7278
|
+
const P = E.target.getStage().getPointerPosition(), $ = E.target.getAbsoluteTransform().copy();
|
|
7279
|
+
$.invert();
|
|
7280
|
+
const K = $.point(P);
|
|
7281
7281
|
o.value = { x: K.x, y: K.y }, s.value = {
|
|
7282
7282
|
x: K.x,
|
|
7283
7283
|
y: K.y,
|
|
@@ -7291,32 +7291,32 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7291
7291
|
n("area-select", []);
|
|
7292
7292
|
}, _ = (E) => {
|
|
7293
7293
|
if (!r.value) return;
|
|
7294
|
-
const P = E.target.getStage().getPointerPosition(),
|
|
7295
|
-
|
|
7296
|
-
const K =
|
|
7294
|
+
const P = E.target.getStage().getPointerPosition(), $ = E.target.getAbsoluteTransform().copy();
|
|
7295
|
+
$.invert();
|
|
7296
|
+
const K = $.point(P);
|
|
7297
7297
|
s.value.width = K.x - o.value.x, s.value.height = K.y - o.value.y;
|
|
7298
7298
|
}, b = () => {
|
|
7299
7299
|
if (!r.value) return;
|
|
7300
7300
|
r.value = !1;
|
|
7301
7301
|
const E = s.value;
|
|
7302
7302
|
if (!E) return;
|
|
7303
|
-
const C = E.width > 0 ? E.x : E.x + E.width, P = E.height > 0 ? E.y : E.y + E.height,
|
|
7303
|
+
const C = E.width > 0 ? E.x : E.x + E.width, P = E.height > 0 ? E.y : E.y + E.height, $ = Math.abs(E.width), K = Math.abs(E.height), z = c.value.filter((Z) => {
|
|
7304
7304
|
const J = Z.getShape(i.scale);
|
|
7305
|
-
return J.x < C +
|
|
7305
|
+
return J.x < C + $ && J.x + J.width > C && J.y < P + K && J.y + J.height > P;
|
|
7306
7306
|
});
|
|
7307
7307
|
z.length > 0 && n("area-select", z), s.value = null;
|
|
7308
7308
|
}, w = (E, C) => {
|
|
7309
7309
|
l.value.clear(), i.selectedElements.includes(C) && i.selectedElements.forEach((P) => {
|
|
7310
7310
|
if (P instanceof zi) {
|
|
7311
|
-
const
|
|
7312
|
-
l.value.set(P, { x:
|
|
7311
|
+
const $ = P.getShape(i.scale);
|
|
7312
|
+
l.value.set(P, { x: $.x, y: $.y });
|
|
7313
7313
|
}
|
|
7314
7314
|
});
|
|
7315
7315
|
}, y = (E, C) => {
|
|
7316
7316
|
a.value = [];
|
|
7317
|
-
const P = E.target.getStage(),
|
|
7317
|
+
const P = E.target.getStage(), $ = c.value.filter((G) => G !== C && !i.selectedElements.includes(G)), K = E.target.x(), z = E.target.y(), Z = 10;
|
|
7318
7318
|
let J = K, A = z;
|
|
7319
|
-
|
|
7319
|
+
$.forEach((G) => {
|
|
7320
7320
|
const D = G.getShape(i.scale);
|
|
7321
7321
|
Math.abs(K - D.x) < Z && (J = D.x, a.value.push({
|
|
7322
7322
|
points: [D.x, 0, D.x, P.height()],
|
|
@@ -7342,23 +7342,23 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7342
7342
|
}
|
|
7343
7343
|
}, x = (E, C) => {
|
|
7344
7344
|
a.value = [];
|
|
7345
|
-
const P = E.target.x(),
|
|
7346
|
-
N(C, P,
|
|
7345
|
+
const P = E.target.x(), $ = E.target.y();
|
|
7346
|
+
N(C, P, $), l.value.clear();
|
|
7347
7347
|
}, N = (E, C, P) => {
|
|
7348
7348
|
E.Centroid ? (E.Centroid.x = (C - 5) / i.scale + E.Width / 2, E.Centroid.y = (P - 5) / i.scale + E.Length / 2) : E.Centroid = new si(
|
|
7349
7349
|
(C - 5) / i.scale + E.Width / 2,
|
|
7350
7350
|
(P - 5) / i.scale + E.Length / 2
|
|
7351
7351
|
);
|
|
7352
7352
|
}, T = (E, C) => {
|
|
7353
|
-
const P = E.target.x(),
|
|
7354
|
-
let se = P, ae =
|
|
7353
|
+
const P = E.target.x(), $ = E.target.y(), K = i.deck.Width * i.scale, z = i.deck.Length * i.scale, Z = C.getShape(i.scale, i.deck.Length, i.deck.Width), J = Z.width, A = Z.height, L = 5, G = 5, D = L + z, nt = G + K, lt = P + J / 2, ot = $ + A / 2, pt = Math.abs(lt - L), Tt = Math.abs(lt - D), Mi = Math.abs(ot - G), Jn = Math.abs(ot - nt), Li = Math.min(pt, Tt, Mi, Jn);
|
|
7354
|
+
let se = P, ae = $;
|
|
7355
7355
|
Li === Mi ? (ae = G, se = Math.max(L, Math.min(P, D - J))) : Li === Jn ? (ae = nt - A, se = Math.max(L, Math.min(P, D - J))) : Li === pt ? (se = L, ae = K / 2 + 5 - A / 2) : Li === Tt && (se = D - J, ae = K / 2 + 5 - A / 2), E.target.x(se), E.target.y(ae), C.Centroid || (C.Centroid = new si(0, 0)), C.Centroid.x = se / i.scale, C.Centroid.y = ae / i.scale;
|
|
7356
7356
|
}, O = (E, C) => {
|
|
7357
|
-
const P = E.target.x(),
|
|
7358
|
-
Math.abs(
|
|
7357
|
+
const P = E.target.x(), $ = E.target.y(), K = i.deck.Width * i.scale, z = i.deck.Length * i.scale, Z = C.getShape(i.scale, i.deck.Length, i.deck.Width), J = Z.width, A = Z.height, L = 5, G = 5, D = L + z, nt = G + K, lt = 1;
|
|
7358
|
+
Math.abs($ - G) < lt ? (C.VehicleSide = "leftSide", C.SequenceFromFront = (P - L + J / 2) / i.scale) : Math.abs($ - (nt - A)) < lt ? (C.VehicleSide = "rightSide", C.SequenceFromFront = (P - L + J / 2) / i.scale) : Math.abs(P - L) < lt ? (C.VehicleSide = "front", C.SequenceFromFront = 0) : Math.abs(P - (D - J)) < lt && (C.VehicleSide = "back", C.SequenceFromFront = i.deck.Length);
|
|
7359
7359
|
};
|
|
7360
7360
|
return (E, C) => {
|
|
7361
|
-
const P = Di("v-rect"),
|
|
7361
|
+
const P = Di("v-rect"), $ = Di("v-text"), K = Di("v-group"), z = Di("v-line"), Z = Di("v-layer"), J = Di("v-stage");
|
|
7362
7362
|
return at(), Qe(J, {
|
|
7363
7363
|
config: u(e.deck, e.scale)
|
|
7364
7364
|
}, {
|
|
@@ -7406,7 +7406,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7406
7406
|
...d(A)
|
|
7407
7407
|
}
|
|
7408
7408
|
}, null, 8, ["config"]),
|
|
7409
|
-
kt(
|
|
7409
|
+
kt($, {
|
|
7410
7410
|
config: {
|
|
7411
7411
|
width: A.getShape(e.scale).width,
|
|
7412
7412
|
height: A.getShape(e.scale).height,
|
|
@@ -7461,7 +7461,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7461
7461
|
}, 8, ["config"]);
|
|
7462
7462
|
};
|
|
7463
7463
|
}
|
|
7464
|
-
}), W0 = { class: "flex flex-col h-full" }, U0 = { class: "flex p-4 w-full items-center justify-center gap-10" }, j0 = { for: "scale-slider" }, X0 = { style: { display: "flex", "flex-direction": "row", "overflow-x": "auto", gap: "20px", padding: "20px" } }, z0 = ["onClick"], Y0 = /* @__PURE__ */
|
|
7464
|
+
}), W0 = { class: "flex flex-col h-full" }, U0 = { class: "flex p-4 w-full items-center justify-center gap-10" }, j0 = { for: "scale-slider" }, X0 = { style: { display: "flex", "flex-direction": "row", "overflow-x": "auto", gap: "20px", padding: "20px" } }, z0 = ["onClick"], Y0 = /* @__PURE__ */ Ae({
|
|
7465
7465
|
__name: "WagonVisualization",
|
|
7466
7466
|
props: {
|
|
7467
7467
|
deckPlans: {
|
|
@@ -7503,9 +7503,9 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7503
7503
|
}, [
|
|
7504
7504
|
ut("h4", {
|
|
7505
7505
|
onClick: (l) => i.$emit("select", { element: o, ctrlKey: !1 }),
|
|
7506
|
-
class:
|
|
7506
|
+
class: Ce(`${e.selectedElements.includes(o) ? "text-ott-accent" : ""} cursor-pointer`)
|
|
7507
7507
|
}, Ge(o.Name), 11, z0),
|
|
7508
|
-
kt(
|
|
7508
|
+
kt(H0, {
|
|
7509
7509
|
deck: o,
|
|
7510
7510
|
scale: t.value,
|
|
7511
7511
|
selectedElements: e.selectedElements,
|
|
@@ -7517,7 +7517,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7517
7517
|
])
|
|
7518
7518
|
]));
|
|
7519
7519
|
}
|
|
7520
|
-
}), q0 = { class: "bg-ott-bg-primary p-4" }, K0 = { class: "flex justify-between items-center mb-4" }, J0 = { key: 0 }, Q0 = ["for"], Z0 = ["id", "onUpdate:modelValue", "type"], tp = ["id", "onUpdate:modelValue"], ep = { key: 2 }, ip = ["id", "onUpdate:modelValue"], np = { key: 3 }, sp = { key: 4 }, rp = { key: 1 }, op = /* @__PURE__ */
|
|
7520
|
+
}), q0 = { class: "bg-ott-bg-primary p-4" }, K0 = { class: "flex justify-between items-center mb-4" }, J0 = { key: 0 }, Q0 = ["for"], Z0 = ["id", "onUpdate:modelValue", "type"], tp = ["id", "onUpdate:modelValue"], ep = { key: 2 }, ip = ["id", "onUpdate:modelValue"], np = { key: 3 }, sp = { key: 4 }, rp = { key: 1 }, op = /* @__PURE__ */ Ae({
|
|
7521
7521
|
__name: "ObjectProperties",
|
|
7522
7522
|
props: {
|
|
7523
7523
|
element: {
|
|
@@ -7579,7 +7579,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7579
7579
|
for (const [n, s] of t)
|
|
7580
7580
|
i[n] = s;
|
|
7581
7581
|
return i;
|
|
7582
|
-
}, lp = /* @__PURE__ */ Ic(op, [["styles", [ap]], ["__scopeId", "data-v-1987e529"]]), cp = { class: "flex flex-col gap-2 p-4 bg-white flex-1" }, hp = { class: "flex flex-col gap-2" }, dp = /* @__PURE__ */
|
|
7582
|
+
}, lp = /* @__PURE__ */ Ic(op, [["styles", [ap]], ["__scopeId", "data-v-1987e529"]]), cp = { class: "flex flex-col gap-2 p-4 bg-white flex-1" }, hp = { class: "flex flex-col gap-2" }, dp = /* @__PURE__ */ Ae({
|
|
7583
7583
|
__name: "ElementCatalog",
|
|
7584
7584
|
emits: ["add-seat", "add-door"],
|
|
7585
7585
|
setup(e) {
|
|
@@ -7597,7 +7597,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7597
7597
|
])
|
|
7598
7598
|
]));
|
|
7599
7599
|
}
|
|
7600
|
-
}), up = { class: "h-full overflow-y-auto bg-gray-100 p-4 font-mono text-sm" }, fp = ["id"], pp = /* @__PURE__ */
|
|
7600
|
+
}), up = { class: "h-full overflow-y-auto bg-gray-100 p-4 font-mono text-sm" }, fp = ["id"], pp = /* @__PURE__ */ Ae({
|
|
7601
7601
|
__name: "XmlViewer",
|
|
7602
7602
|
props: {
|
|
7603
7603
|
xml: {
|
|
@@ -7652,7 +7652,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7652
7652
|
(at(!0), bt(It, null, Be(i.value, (l, c) => (at(), bt("div", {
|
|
7653
7653
|
key: c,
|
|
7654
7654
|
id: `line-${c}`,
|
|
7655
|
-
class:
|
|
7655
|
+
class: Ce({ "bg-yellow-200": s(c) })
|
|
7656
7656
|
}, [
|
|
7657
7657
|
ut("pre", null, Ge(l), 1)
|
|
7658
7658
|
], 10, fp))), 128))
|
|
@@ -7664,17 +7664,17 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7664
7664
|
attributeNamePrefix: "attr_",
|
|
7665
7665
|
removeNSPrefix: !0
|
|
7666
7666
|
}).parse(e);
|
|
7667
|
-
return
|
|
7667
|
+
return At(
|
|
7668
7668
|
i.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan,
|
|
7669
7669
|
Lc
|
|
7670
7670
|
);
|
|
7671
|
-
}, gp = { class: "flex flex-col h-full" }, mp = { class: "p-4 border-b border-b-ott-bg-dark flex gap-2 items-center bg-ott-bg-primary" }, _p = { class: "flex-1 flex overflow-hidden" }, vp = { class: "flex-1 overflow-hidden" }, bp = { class: "flex flex-row h-75 border-t border-ott-bg-dark" }, yp = /* @__PURE__ */
|
|
7671
|
+
}, gp = { class: "flex flex-col h-full" }, mp = { class: "p-4 border-b border-b-ott-bg-dark flex gap-2 items-center bg-ott-bg-primary" }, _p = { class: "flex-1 flex overflow-hidden" }, vp = { class: "flex-1 overflow-hidden" }, bp = { class: "flex flex-row h-75 border-t border-ott-bg-dark" }, yp = /* @__PURE__ */ Ae({
|
|
7672
7672
|
__name: "DeckplanEditor",
|
|
7673
7673
|
setup(e, { expose: t }) {
|
|
7674
7674
|
const i = qt(null), n = qt([]), s = qt([]), r = qt(null), o = qt(!1), a = qt(""), l = () => {
|
|
7675
7675
|
if (!o.value || !r.value) return;
|
|
7676
|
-
r.value.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan =
|
|
7677
|
-
const O = new
|
|
7676
|
+
r.value.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan = $e(n.value);
|
|
7677
|
+
const O = new ke({
|
|
7678
7678
|
ignoreAttributes: !1,
|
|
7679
7679
|
textNodeName: "text_value",
|
|
7680
7680
|
attributeNamePrefix: "attr_",
|
|
@@ -7722,8 +7722,8 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7722
7722
|
}
|
|
7723
7723
|
function p() {
|
|
7724
7724
|
if (i.value) {
|
|
7725
|
-
r.value.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan =
|
|
7726
|
-
const E = new
|
|
7725
|
+
r.value.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan = $e(n.value);
|
|
7726
|
+
const E = new ke({
|
|
7727
7727
|
ignoreAttributes: !1,
|
|
7728
7728
|
textNodeName: "text_value",
|
|
7729
7729
|
attributeNamePrefix: "attr_"
|
|
@@ -7789,12 +7789,12 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7789
7789
|
C.deckspaces?.forEach((P) => {
|
|
7790
7790
|
if (P instanceof ce) {
|
|
7791
7791
|
if (P.passengerSpots) {
|
|
7792
|
-
const
|
|
7793
|
-
|
|
7792
|
+
const $ = P.passengerSpots.indexOf(O);
|
|
7793
|
+
$ > -1 && P.passengerSpots.splice($, 1);
|
|
7794
7794
|
}
|
|
7795
7795
|
if (P.deckEntrances) {
|
|
7796
|
-
const
|
|
7797
|
-
|
|
7796
|
+
const $ = P.deckEntrances.indexOf(O);
|
|
7797
|
+
$ > -1 && P.deckEntrances.splice($, 1);
|
|
7798
7798
|
}
|
|
7799
7799
|
}
|
|
7800
7800
|
});
|
|
@@ -7802,7 +7802,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7802
7802
|
}), s.value = [];
|
|
7803
7803
|
};
|
|
7804
7804
|
function x() {
|
|
7805
|
-
return r.value ? (r.value.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan =
|
|
7805
|
+
return r.value ? (r.value.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan = $e(n.value), new ke({
|
|
7806
7806
|
ignoreAttributes: !1,
|
|
7807
7807
|
textNodeName: "text_value",
|
|
7808
7808
|
attributeNamePrefix: "attr_",
|
|
@@ -7858,8 +7858,8 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7858
7858
|
}).parse(O);
|
|
7859
7859
|
r.value = C;
|
|
7860
7860
|
const P = At(C.PublicationDelivery.dataObjects.CompositeFrame.frames.ResourceFrame.deckPlans.DeckPlan, Lc);
|
|
7861
|
-
P.forEach((
|
|
7862
|
-
|
|
7861
|
+
P.forEach(($) => {
|
|
7862
|
+
$.decks.forEach((K) => {
|
|
7863
7863
|
if (!K.deckspaces || K.deckspaces.length === 0) {
|
|
7864
7864
|
K.deckspaces = [N()];
|
|
7865
7865
|
return;
|
|
@@ -7894,7 +7894,7 @@ const $0 = /* @__PURE__ */ Pe({
|
|
|
7894
7894
|
}, "Save"),
|
|
7895
7895
|
ut("button", {
|
|
7896
7896
|
onClick: c,
|
|
7897
|
-
class:
|
|
7897
|
+
class: Ce(["ott-button", { "bg-ott-accent text-white": o.value }])
|
|
7898
7898
|
}, "XML", 2)
|
|
7899
7899
|
]),
|
|
7900
7900
|
ut("div", _p, [
|
|
@@ -8601,7 +8601,7 @@ function Dp(e) {
|
|
|
8601
8601
|
}
|
|
8602
8602
|
return t;
|
|
8603
8603
|
}
|
|
8604
|
-
const Va = ",", Vp = "(", Fp = ")", Gp = "([", Bp = "])",
|
|
8604
|
+
const Va = ",", Vp = "(", Fp = ")", Gp = "([", Bp = "])", $p = ";", Hp = "()", Wp = "=", Fa = [
|
|
8605
8605
|
"arc",
|
|
8606
8606
|
"arcTo",
|
|
8607
8607
|
"beginPath",
|
|
@@ -8687,7 +8687,7 @@ class er {
|
|
|
8687
8687
|
getTrace(t, i) {
|
|
8688
8688
|
let n = this.traceArr, s = n.length, r = "", o, a, l, c;
|
|
8689
8689
|
for (o = 0; o < s; o++)
|
|
8690
|
-
a = n[o], l = a.method, l ? (c = a.args, r += l, t ? r +=
|
|
8690
|
+
a = n[o], l = a.method, l ? (c = a.args, r += l, t ? r += Hp : S._isArray(c[0]) ? r += Gp + c.join(Va) + Bp : (i && (c = c.map((h) => typeof h == "number" ? Math.floor(h) : h)), r += Vp + c.join(Va) + Fp)) : (r += a.property, t || (r += Wp + a.val)), r += $p;
|
|
8691
8691
|
return r;
|
|
8692
8692
|
}
|
|
8693
8693
|
clearTrace() {
|
|
@@ -9294,7 +9294,7 @@ function Jp(e) {
|
|
|
9294
9294
|
return () => {
|
|
9295
9295
|
};
|
|
9296
9296
|
}
|
|
9297
|
-
const ws = "absoluteOpacity", rs = "allEventListeners",
|
|
9297
|
+
const ws = "absoluteOpacity", rs = "allEventListeners", Le = "absoluteTransform", Ba = "absoluteScale", ui = "canvas", Qp = "Change", Zp = "children", tg = "konva", Ur = "listening", eg = "mouseenter", ig = "mouseleave", ng = "pointerenter", sg = "pointerleave", rg = "touchenter", og = "touchleave", $a = "set", Ha = "Shape", Es = " ", Wa = "stage", ze = "transform", ag = "Stage", jr = "visible", lg = [
|
|
9298
9298
|
"xChange.konva",
|
|
9299
9299
|
"yChange.konva",
|
|
9300
9300
|
"scaleXChange.konva",
|
|
@@ -9315,11 +9315,11 @@ class B {
|
|
|
9315
9315
|
return !1;
|
|
9316
9316
|
}
|
|
9317
9317
|
_clearCache(t) {
|
|
9318
|
-
(t === ze || t ===
|
|
9318
|
+
(t === ze || t === Le) && this._cache.get(t) ? this._cache.get(t).dirty = !0 : t ? this._cache.delete(t) : this._cache.clear();
|
|
9319
9319
|
}
|
|
9320
9320
|
_getCache(t, i) {
|
|
9321
9321
|
let n = this._cache.get(t);
|
|
9322
|
-
return (n === void 0 || (t === ze || t ===
|
|
9322
|
+
return (n === void 0 || (t === ze || t === Le) && n.dirty === !0) && (n = i.call(this), this._cache.set(t, n)), n;
|
|
9323
9323
|
}
|
|
9324
9324
|
_calculate(t, i, n) {
|
|
9325
9325
|
if (!this._attachedDepsListeners.get(t)) {
|
|
@@ -9334,7 +9334,7 @@ class B {
|
|
|
9334
9334
|
return this._cache.get(ui);
|
|
9335
9335
|
}
|
|
9336
9336
|
_clearSelfAndDescendantCache(t) {
|
|
9337
|
-
this._clearCache(t), t ===
|
|
9337
|
+
this._clearCache(t), t === Le && this.fire("absoluteTransformChange");
|
|
9338
9338
|
}
|
|
9339
9339
|
clearCache() {
|
|
9340
9340
|
if (this._cache.has(ui)) {
|
|
@@ -9496,7 +9496,7 @@ class B {
|
|
|
9496
9496
|
return this.isDragging() && this.stopDrag(), gt._dragElements.delete(this._id), this._remove(), this;
|
|
9497
9497
|
}
|
|
9498
9498
|
_clearCaches() {
|
|
9499
|
-
this._clearSelfAndDescendantCache(
|
|
9499
|
+
this._clearSelfAndDescendantCache(Le), this._clearSelfAndDescendantCache(ws), this._clearSelfAndDescendantCache(Ba), this._clearSelfAndDescendantCache(Wa), this._clearSelfAndDescendantCache(jr), this._clearSelfAndDescendantCache(Ur);
|
|
9500
9500
|
}
|
|
9501
9501
|
_remove() {
|
|
9502
9502
|
this._clearCaches();
|
|
@@ -9525,7 +9525,7 @@ class B {
|
|
|
9525
9525
|
if (!t)
|
|
9526
9526
|
return this;
|
|
9527
9527
|
for (i in t)
|
|
9528
|
-
i !== Zp && (n =
|
|
9528
|
+
i !== Zp && (n = $a + S._capitalize(i), S._isFunction(this[n]) ? this[n](t[i]) : this._setAttr(i, t[i]));
|
|
9529
9529
|
}), this;
|
|
9530
9530
|
}
|
|
9531
9531
|
isListening() {
|
|
@@ -9570,7 +9570,7 @@ class B {
|
|
|
9570
9570
|
let t = this.getDepth(), i = this, n = 0, s, r, o, a;
|
|
9571
9571
|
function l(h) {
|
|
9572
9572
|
for (s = [], r = h.length, o = 0; o < r; o++)
|
|
9573
|
-
a = h[o], n++, a.nodeType !==
|
|
9573
|
+
a = h[o], n++, a.nodeType !== Ha && (s = s.concat(a.getChildren().slice())), a._id === i._id && (o = r);
|
|
9574
9574
|
s.length > 0 && s[0].getDepth() <= t && l(s);
|
|
9575
9575
|
}
|
|
9576
9576
|
const c = this.getStage();
|
|
@@ -9583,7 +9583,7 @@ class B {
|
|
|
9583
9583
|
return t;
|
|
9584
9584
|
}
|
|
9585
9585
|
_batchTransformChanges(t) {
|
|
9586
|
-
this._batchingTransformChange = !0, t(), this._batchingTransformChange = !1, this._needClearTransformCache && (this._clearCache(ze), this._clearSelfAndDescendantCache(
|
|
9586
|
+
this._batchingTransformChange = !0, t(), this._batchingTransformChange = !1, this._needClearTransformCache && (this._clearCache(ze), this._clearSelfAndDescendantCache(Le)), this._needClearTransformCache = !1;
|
|
9587
9587
|
}
|
|
9588
9588
|
setPosition(t) {
|
|
9589
9589
|
return this._batchTransformChanges(() => {
|
|
@@ -9626,7 +9626,7 @@ class B {
|
|
|
9626
9626
|
return r.invert(), r.translate(t.x, t.y), t = {
|
|
9627
9627
|
x: this.attrs.x + r.getTranslation().x,
|
|
9628
9628
|
y: this.attrs.y + r.getTranslation().y
|
|
9629
|
-
}, this._setTransform(s), this.setPosition({ x: t.x, y: t.y }), this._clearCache(ze), this._clearSelfAndDescendantCache(
|
|
9629
|
+
}, this._setTransform(s), this.setPosition({ x: t.x, y: t.y }), this._clearCache(ze), this._clearSelfAndDescendantCache(Le), this;
|
|
9630
9630
|
}
|
|
9631
9631
|
_setTransform(t) {
|
|
9632
9632
|
let i;
|
|
@@ -9770,7 +9770,7 @@ class B {
|
|
|
9770
9770
|
return i.target = i.target || this, n ? this._fireAndBubble(t, i) : this._fire(t, i), this;
|
|
9771
9771
|
}
|
|
9772
9772
|
getAbsoluteTransform(t) {
|
|
9773
|
-
return t ? this._getAbsoluteTransform(t) : this._getCache(
|
|
9773
|
+
return t ? this._getAbsoluteTransform(t) : this._getCache(Le, this._getAbsoluteTransform);
|
|
9774
9774
|
}
|
|
9775
9775
|
_getAbsoluteTransform(t) {
|
|
9776
9776
|
let i;
|
|
@@ -9780,7 +9780,7 @@ class B {
|
|
|
9780
9780
|
s === "all" ? i.multiply(n.getTransform()) : s === "position" && i.translate(n.x() - n.offsetX(), n.y() - n.offsetY());
|
|
9781
9781
|
}, t), i;
|
|
9782
9782
|
{
|
|
9783
|
-
i = this._cache.get(
|
|
9783
|
+
i = this._cache.get(Le) || new Qt(), this.parent ? this.parent.getAbsoluteTransform().copyInto(i) : i.reset();
|
|
9784
9784
|
const n = this.transformsEnabled();
|
|
9785
9785
|
if (n === "all")
|
|
9786
9786
|
i.multiply(this.getTransform());
|
|
@@ -9922,7 +9922,7 @@ class B {
|
|
|
9922
9922
|
return n !== -1 && (i.splice(n, 1), this.name(i.join(" "))), this;
|
|
9923
9923
|
}
|
|
9924
9924
|
setAttr(t, i) {
|
|
9925
|
-
const n = this[
|
|
9925
|
+
const n = this[$a + S._capitalize(t)];
|
|
9926
9926
|
return S._isFunction(n) ? n.call(this, i) : this._setAttr(t, i), this;
|
|
9927
9927
|
}
|
|
9928
9928
|
_requestDraw() {
|
|
@@ -9940,7 +9940,7 @@ class B {
|
|
|
9940
9940
|
n !== void 0 && (s = this.attrs[t], s || (this.attrs[t] = this.getAttr(t)), this.attrs[t][i] = n, this._fireChangeEvent(t, s, n));
|
|
9941
9941
|
}
|
|
9942
9942
|
_fireAndBubble(t, i, n) {
|
|
9943
|
-
i && this.nodeType ===
|
|
9943
|
+
i && this.nodeType === Ha && (i.target = this);
|
|
9944
9944
|
const s = [
|
|
9945
9945
|
eg,
|
|
9946
9946
|
ig,
|
|
@@ -10091,7 +10091,7 @@ B.prototype.on.call(B.prototype, lg, function() {
|
|
|
10091
10091
|
this._needClearTransformCache = !0;
|
|
10092
10092
|
return;
|
|
10093
10093
|
}
|
|
10094
|
-
this._clearCache(ze), this._clearSelfAndDescendantCache(
|
|
10094
|
+
this._clearCache(ze), this._clearSelfAndDescendantCache(Le);
|
|
10095
10095
|
});
|
|
10096
10096
|
B.prototype.on.call(B.prototype, "visibleChange.konva", function() {
|
|
10097
10097
|
this._clearSelfAndDescendantCache(jr);
|
|
@@ -10351,7 +10351,7 @@ function Ao(e) {
|
|
|
10351
10351
|
function Bc(e, t) {
|
|
10352
10352
|
return Gn.get(e) === t;
|
|
10353
10353
|
}
|
|
10354
|
-
function
|
|
10354
|
+
function $c(e, t) {
|
|
10355
10355
|
On(e), t.getStage() && (Gn.set(e, t), Gc && t._fire("gotpointercapture", Ao(new PointerEvent("gotpointercapture"))));
|
|
10356
10356
|
}
|
|
10357
10357
|
function On(e, t) {
|
|
@@ -10361,12 +10361,12 @@ function On(e, t) {
|
|
|
10361
10361
|
const n = i.getStage();
|
|
10362
10362
|
n && n.content, Gn.delete(e), Gc && i._fire("lostpointercapture", Ao(new PointerEvent("lostpointercapture")));
|
|
10363
10363
|
}
|
|
10364
|
-
const hg = "Stage", dg = "string", Ua = "px", ug = "mouseout",
|
|
10364
|
+
const hg = "Stage", dg = "string", Ua = "px", ug = "mouseout", Hc = "mouseleave", Wc = "mouseover", Uc = "mouseenter", jc = "mousemove", Xc = "mousedown", zc = "mouseup", vn = "pointermove", bn = "pointerdown", Wi = "pointerup", yn = "pointercancel", fg = "lostpointercapture", os = "pointerout", Sn = "pointerleave", as = "pointerover", ls = "pointerenter", Xr = "contextmenu", Yc = "touchstart", qc = "touchend", Kc = "touchmove", Jc = "touchcancel", zr = "wheel", pg = 5, gg = [
|
|
10365
10365
|
[Uc, "_pointerenter"],
|
|
10366
10366
|
[Xc, "_pointerdown"],
|
|
10367
10367
|
[jc, "_pointermove"],
|
|
10368
10368
|
[zc, "_pointerup"],
|
|
10369
|
-
[
|
|
10369
|
+
[Hc, "_pointerleave"],
|
|
10370
10370
|
[Yc, "_pointerdown"],
|
|
10371
10371
|
[Kc, "_pointermove"],
|
|
10372
10372
|
[qc, "_pointerup"],
|
|
@@ -10383,7 +10383,7 @@ const hg = "Stage", dg = "string", Ua = "px", ug = "mouseout", $c = "mouseleave"
|
|
|
10383
10383
|
], br = {
|
|
10384
10384
|
mouse: {
|
|
10385
10385
|
[os]: ug,
|
|
10386
|
-
[Sn]:
|
|
10386
|
+
[Sn]: Hc,
|
|
10387
10387
|
[as]: Wc,
|
|
10388
10388
|
[ls]: Uc,
|
|
10389
10389
|
[vn]: jc,
|
|
@@ -10548,7 +10548,7 @@ class nr extends ie {
|
|
|
10548
10548
|
return Bc(t, this);
|
|
10549
10549
|
}
|
|
10550
10550
|
setPointerCapture(t) {
|
|
10551
|
-
|
|
10551
|
+
$c(t, this);
|
|
10552
10552
|
}
|
|
10553
10553
|
releaseCapture(t) {
|
|
10554
10554
|
On(t);
|
|
@@ -11060,7 +11060,7 @@ class V extends B {
|
|
|
11060
11060
|
return Bc(t, this);
|
|
11061
11061
|
}
|
|
11062
11062
|
setPointerCapture(t) {
|
|
11063
|
-
|
|
11063
|
+
$c(t, this);
|
|
11064
11064
|
}
|
|
11065
11065
|
releaseCapture(t) {
|
|
11066
11066
|
On(t);
|
|
@@ -12837,7 +12837,7 @@ class Et extends V {
|
|
|
12837
12837
|
for (; p.length > 0 && !isNaN(p[0]); ) {
|
|
12838
12838
|
let b = "", w = [];
|
|
12839
12839
|
const y = a, x = l;
|
|
12840
|
-
let N, T, O, E, C, P,
|
|
12840
|
+
let N, T, O, E, C, P, $, K, z, Z;
|
|
12841
12841
|
switch (f) {
|
|
12842
12842
|
case "l":
|
|
12843
12843
|
a += p.shift(), l += p.shift(), b = "L", w.push(a, l);
|
|
@@ -12896,10 +12896,10 @@ class Et extends V {
|
|
|
12896
12896
|
T = a, O = l, N = r[r.length - 1], N.command === "Q" && (T = a + (a - N.points[0]), O = l + (l - N.points[1])), a += p.shift(), l += p.shift(), b = "Q", w.push(T, O, a, l);
|
|
12897
12897
|
break;
|
|
12898
12898
|
case "A":
|
|
12899
|
-
E = p.shift(), C = p.shift(), P = p.shift(),
|
|
12899
|
+
E = p.shift(), C = p.shift(), P = p.shift(), $ = p.shift(), K = p.shift(), z = a, Z = l, a = p.shift(), l = p.shift(), b = "A", w = this.convertEndpointToCenterParameterization(z, Z, a, l, $, K, E, C, P);
|
|
12900
12900
|
break;
|
|
12901
12901
|
case "a":
|
|
12902
|
-
E = p.shift(), C = p.shift(), P = p.shift(),
|
|
12902
|
+
E = p.shift(), C = p.shift(), P = p.shift(), $ = p.shift(), K = p.shift(), z = a, Z = l, a += p.shift(), l += p.shift(), b = "A", w = this.convertEndpointToCenterParameterization(z, Z, a, l, $, K, E, C, P);
|
|
12903
12903
|
break;
|
|
12904
12904
|
}
|
|
12905
12905
|
r.push({
|
|
@@ -12950,12 +12950,12 @@ class Et extends V {
|
|
|
12950
12950
|
f > 1 && (a *= Math.sqrt(f), l *= Math.sqrt(f));
|
|
12951
12951
|
let p = Math.sqrt((a * a * (l * l) - a * a * (u * u) - l * l * (d * d)) / (a * a * (u * u) + l * l * (d * d)));
|
|
12952
12952
|
r === o && (p *= -1), isNaN(p) && (p = 0);
|
|
12953
|
-
const _ = p * a * u / l, b = p * -l * d / a, w = (t + n) / 2 + Math.cos(h) * _ - Math.sin(h) * b, y = (i + s) / 2 + Math.sin(h) * _ + Math.cos(h) * b, x = function(
|
|
12954
|
-
return Math.sqrt(
|
|
12955
|
-
}, N = function(
|
|
12956
|
-
return (
|
|
12957
|
-
}, T = function(
|
|
12958
|
-
return (
|
|
12953
|
+
const _ = p * a * u / l, b = p * -l * d / a, w = (t + n) / 2 + Math.cos(h) * _ - Math.sin(h) * b, y = (i + s) / 2 + Math.sin(h) * _ + Math.cos(h) * b, x = function($) {
|
|
12954
|
+
return Math.sqrt($[0] * $[0] + $[1] * $[1]);
|
|
12955
|
+
}, N = function($, K) {
|
|
12956
|
+
return ($[0] * K[0] + $[1] * K[1]) / (x($) * x(K));
|
|
12957
|
+
}, T = function($, K) {
|
|
12958
|
+
return ($[0] * K[1] < $[1] * K[0] ? -1 : 1) * Math.acos(N($, K));
|
|
12959
12959
|
}, O = T([1, 0], [(d - _) / a, (u - b) / l]), E = [(d - _) / a, (u - b) / l], C = [(-1 * d - _) / a, (-1 * u - b) / l];
|
|
12960
12960
|
let P = T(E, C);
|
|
12961
12961
|
return N(E, C) <= -1 && (P = Math.PI), N(E, C) >= 1 && (P = 0), o === 0 && P > 0 && (P = P - 2 * Math.PI), o === 1 && P < 0 && (P = P + 2 * Math.PI), [w, y, a, l, O, P, h, o];
|
|
@@ -13307,7 +13307,7 @@ Ri.prototype._attrsAffectingSize = ["innerRadius", "outerRadius"];
|
|
|
13307
13307
|
Ot(Ri);
|
|
13308
13308
|
m.addGetterSetter(Ri, "innerRadius", 0, W());
|
|
13309
13309
|
m.addGetterSetter(Ri, "outerRadius", 0, W());
|
|
13310
|
-
class
|
|
13310
|
+
class Re extends V {
|
|
13311
13311
|
constructor(t) {
|
|
13312
13312
|
super(t), this._updated = !0, this.anim = new re(() => {
|
|
13313
13313
|
const i = this._updated;
|
|
@@ -13364,15 +13364,15 @@ class Ae extends V {
|
|
|
13364
13364
|
t < r - 1 ? this.frameIndex(t + 1) : this.frameIndex(0);
|
|
13365
13365
|
}
|
|
13366
13366
|
}
|
|
13367
|
-
|
|
13368
|
-
Ot(
|
|
13369
|
-
m.addGetterSetter(
|
|
13370
|
-
m.addGetterSetter(
|
|
13371
|
-
m.addGetterSetter(
|
|
13372
|
-
m.addGetterSetter(
|
|
13373
|
-
m.addGetterSetter(
|
|
13374
|
-
m.addGetterSetter(
|
|
13375
|
-
m.backCompat(
|
|
13367
|
+
Re.prototype.className = "Sprite";
|
|
13368
|
+
Ot(Re);
|
|
13369
|
+
m.addGetterSetter(Re, "animation");
|
|
13370
|
+
m.addGetterSetter(Re, "animations");
|
|
13371
|
+
m.addGetterSetter(Re, "frameOffsets");
|
|
13372
|
+
m.addGetterSetter(Re, "image");
|
|
13373
|
+
m.addGetterSetter(Re, "frameIndex", 0, W());
|
|
13374
|
+
m.addGetterSetter(Re, "frameRate", 17, W());
|
|
13375
|
+
m.backCompat(Re, {
|
|
13376
13376
|
index: "frameIndex",
|
|
13377
13377
|
getIndex: "getFrameIndex",
|
|
13378
13378
|
setIndex: "setFrameIndex"
|
|
@@ -13416,7 +13416,7 @@ function Ye(e) {
|
|
|
13416
13416
|
return t;
|
|
13417
13417
|
}, []);
|
|
13418
13418
|
}
|
|
13419
|
-
const Bi = "auto", Bg = "center", rh = "inherit", fn = "justify",
|
|
13419
|
+
const Bi = "auto", Bg = "center", rh = "inherit", fn = "justify", $g = "Change.konva", Hg = "2d", el = "-", oh = "left", Wg = "text", Ug = "Text", jg = "top", Xg = "bottom", il = "middle", ah = "normal", zg = "px ", hs = " ", Yg = "right", nl = "rtl", qg = "word", Kg = "char", sl = "none", wr = "…", lh = [
|
|
13420
13420
|
"direction",
|
|
13421
13421
|
"fontFamily",
|
|
13422
13422
|
"fontSize",
|
|
@@ -13442,7 +13442,7 @@ function Qg(e) {
|
|
|
13442
13442
|
}
|
|
13443
13443
|
let ds;
|
|
13444
13444
|
function Er() {
|
|
13445
|
-
return ds || (ds = S.createCanvasElement().getContext(
|
|
13445
|
+
return ds || (ds = S.createCanvasElement().getContext(Hg), ds);
|
|
13446
13446
|
}
|
|
13447
13447
|
function Zg(e) {
|
|
13448
13448
|
e.fillText(this._partialText, this._partialTextX, this._partialTextY);
|
|
@@ -13457,7 +13457,7 @@ class xt extends V {
|
|
|
13457
13457
|
constructor(t) {
|
|
13458
13458
|
super(e1(t)), this._partialTextX = 0, this._partialTextY = 0;
|
|
13459
13459
|
for (let i = 0; i < Jg; i++)
|
|
13460
|
-
this.on(lh[i] +
|
|
13460
|
+
this.on(lh[i] + $g, this._setTextData);
|
|
13461
13461
|
this._setTextData();
|
|
13462
13462
|
}
|
|
13463
13463
|
_sceneFunc(t) {
|
|
@@ -13476,7 +13476,7 @@ class xt extends V {
|
|
|
13476
13476
|
}
|
|
13477
13477
|
for (h === nl && t.setAttr("direction", h), t.setAttr("font", this._getContextFont()), t.setAttr("textBaseline", O), t.setAttr("textAlign", oh), c === il ? d = (this.getHeight() - r * l - o * 2) / 2 : c === Xg && (d = this.getHeight() - r * l - o * 2), t.translate(o, d + o), N = 0; N < r; N++) {
|
|
13478
13478
|
let E = 0, C = 0;
|
|
13479
|
-
const P = s[N],
|
|
13479
|
+
const P = s[N], $ = P.text, K = P.width, z = P.lastInParagraph;
|
|
13480
13480
|
if (t.save(), u === Yg ? E += f - K - o * 2 : u === Bg && (E += (f - K - o * 2) / 2), y) {
|
|
13481
13481
|
t.save(), t.beginPath();
|
|
13482
13482
|
const J = X.legacyTextRendering ? Math.round(a / 2) : Math.round(a / 4), A = E, L = T + C + J;
|
|
@@ -13488,7 +13488,7 @@ class xt extends V {
|
|
|
13488
13488
|
}
|
|
13489
13489
|
const Z = E;
|
|
13490
13490
|
if (h !== nl && (p !== 0 || u === fn || _)) {
|
|
13491
|
-
const J =
|
|
13491
|
+
const J = $.split(" ").length - 1, A = Ye($);
|
|
13492
13492
|
for (let L = 0; L < A.length; L++) {
|
|
13493
13493
|
const G = A[L];
|
|
13494
13494
|
if (G === " " && !z && u === fn && (E += (f - o * 2 - K) / J), this._partialTextX = E, this._partialTextY = T + C, this._partialText = G, _) {
|
|
@@ -13509,7 +13509,7 @@ class xt extends V {
|
|
|
13509
13509
|
t.fillStrokeShape(this), _ && t.restore(), E += this.measureSize(G).width + p;
|
|
13510
13510
|
}
|
|
13511
13511
|
} else
|
|
13512
|
-
p !== 0 && t.setAttr("letterSpacing", `${p}px`), this._partialTextX = E, this._partialTextY = T + C, this._partialText =
|
|
13512
|
+
p !== 0 && t.setAttr("letterSpacing", `${p}px`), this._partialTextX = E, this._partialTextY = T + C, this._partialText = $, t.fillStrokeShape(this);
|
|
13513
13513
|
if (x) {
|
|
13514
13514
|
t.save(), t.beginPath();
|
|
13515
13515
|
const J = X.legacyTextRendering ? 0 : -Math.round(a / 4), A = Z;
|
|
@@ -13590,8 +13590,8 @@ class xt extends V {
|
|
|
13590
13590
|
for (; N.length > 0; ) {
|
|
13591
13591
|
let O = 0, E = Ye(N).length, C = "", P = 0;
|
|
13592
13592
|
for (; O < E; ) {
|
|
13593
|
-
const
|
|
13594
|
-
(b && l && u + s > d ? Z + w : Z) <= h ? (O =
|
|
13593
|
+
const $ = O + E >>> 1, K = Ye(N), z = K.slice(0, $ + 1).join(""), Z = this._getTextWidth(z);
|
|
13594
|
+
(b && l && u + s > d ? Z + w : Z) <= h ? (O = $ + 1, C = z, P = Z) : E = $;
|
|
13595
13595
|
}
|
|
13596
13596
|
if (C) {
|
|
13597
13597
|
if (_) {
|
|
@@ -15020,7 +15020,7 @@ const u1 = [
|
|
|
15020
15020
|
function p1(e, t) {
|
|
15021
15021
|
const i = e.data, n = e.width, s = e.height;
|
|
15022
15022
|
let r, o, a, l, c, h, d, u, f, p, _, b, w, y, x, N, T, O, E, C;
|
|
15023
|
-
const P = t + t + 1,
|
|
15023
|
+
const P = t + t + 1, $ = n - 1, K = s - 1, z = t + 1, Z = z * (z + 1) / 2, J = new ol(), A = u1[t], L = f1[t];
|
|
15024
15024
|
let G = null, D = J, nt = null, lt = null;
|
|
15025
15025
|
for (let ot = 1; ot < P; ot++)
|
|
15026
15026
|
D = D.next = new ol(), ot === z && (G = D);
|
|
@@ -15030,10 +15030,10 @@ function p1(e, t) {
|
|
|
15030
15030
|
for (let pt = 0; pt < z; pt++)
|
|
15031
15031
|
D.r = N, D.g = T, D.b = O, D.a = E, D = D.next;
|
|
15032
15032
|
for (let pt = 1; pt < z; pt++)
|
|
15033
|
-
r = o + ((
|
|
15033
|
+
r = o + (($ < pt ? $ : pt) << 2), l += (D.r = N = i[r]) * (C = z - pt), c += (D.g = T = i[r + 1]) * C, h += (D.b = O = i[r + 2]) * C, d += (D.a = E = i[r + 3]) * C, b += N, w += T, y += O, x += E, D = D.next;
|
|
15034
15034
|
nt = J, lt = G;
|
|
15035
15035
|
for (let pt = 0; pt < n; pt++)
|
|
15036
|
-
i[o + 3] = E = d * A >> L, E !== 0 ? (E = 255 / E, i[o] = (l * A >> L) * E, i[o + 1] = (c * A >> L) * E, i[o + 2] = (h * A >> L) * E) : i[o] = i[o + 1] = i[o + 2] = 0, l -= u, c -= f, h -= p, d -= _, u -= nt.r, f -= nt.g, p -= nt.b, _ -= nt.a, r = a + ((r = pt + t + 1) <
|
|
15036
|
+
i[o + 3] = E = d * A >> L, E !== 0 ? (E = 255 / E, i[o] = (l * A >> L) * E, i[o + 1] = (c * A >> L) * E, i[o + 2] = (h * A >> L) * E) : i[o] = i[o + 1] = i[o + 2] = 0, l -= u, c -= f, h -= p, d -= _, u -= nt.r, f -= nt.g, p -= nt.b, _ -= nt.a, r = a + ((r = pt + t + 1) < $ ? r : $) << 2, b += nt.r = i[r], w += nt.g = i[r + 1], y += nt.b = i[r + 2], x += nt.a = i[r + 3], l += b, c += w, h += y, d += x, nt = nt.next, u += N = lt.r, f += T = lt.g, p += O = lt.b, _ += E = lt.a, b -= N, w -= T, y -= O, x -= E, lt = lt.next, o += 4;
|
|
15037
15037
|
a += n;
|
|
15038
15038
|
}
|
|
15039
15039
|
for (let ot = 0; ot < n; ot++) {
|
|
@@ -15084,12 +15084,12 @@ const b1 = function(e) {
|
|
|
15084
15084
|
}[(o = (r = this.embossDirection) === null || r === void 0 ? void 0 : r.call(this)) !== null && o !== void 0 ? o : "top-left"]) !== null && a !== void 0 ? a : 315, w = !!((c = (l = this.embossBlend) === null || l === void 0 ? void 0 : l.call(this)) !== null && c !== void 0 && c), y = f * 10, x = p * 255, N = b * Math.PI / 180, T = Math.cos(N), O = Math.sin(N), E = 128 / 1020 * y, C = new Uint8ClampedArray(h), P = new Float32Array(d * u);
|
|
15085
15085
|
for (let J = 0, A = 0; A < h.length; A += 4, J++)
|
|
15086
15086
|
P[J] = 0.2126 * C[A] + 0.7152 * C[A + 1] + 0.0722 * C[A + 2];
|
|
15087
|
-
const
|
|
15087
|
+
const $ = [-1, 0, 1, -2, 0, 2, -1, 0, 1], K = [-1, -2, -1, 0, 0, 0, 1, 2, 1], z = [-d - 1, -d, -d + 1, -1, 0, 1, d - 1, d, d + 1], Z = (J) => J < 0 ? 0 : J > 255 ? 255 : J;
|
|
15088
15088
|
for (let J = 1; J < u - 1; J++)
|
|
15089
15089
|
for (let A = 1; A < d - 1; A++) {
|
|
15090
15090
|
const L = J * d + A;
|
|
15091
15091
|
let G = 0, D = 0;
|
|
15092
|
-
G += P[L + z[0]] *
|
|
15092
|
+
G += P[L + z[0]] * $[0], D += P[L + z[0]] * K[0], G += P[L + z[1]] * $[1], D += P[L + z[1]] * K[1], G += P[L + z[2]] * $[2], D += P[L + z[2]] * K[2], G += P[L + z[3]] * $[3], D += P[L + z[3]] * K[3], G += P[L + z[5]] * $[5], D += P[L + z[5]] * K[5], G += P[L + z[6]] * $[6], D += P[L + z[6]] * K[6], G += P[L + z[7]] * $[7], D += P[L + z[7]] * K[7], G += P[L + z[8]] * $[8], D += P[L + z[8]] * K[8];
|
|
15093
15093
|
const nt = T * G + O * D, lt = Z(x + nt * E), ot = L * 4;
|
|
15094
15094
|
if (w) {
|
|
15095
15095
|
const pt = lt - x;
|
|
@@ -15201,8 +15201,8 @@ const x1 = function(e) {
|
|
|
15201
15201
|
let T = (Math.atan2(x, y) * 180 / Math.PI + 360 + _) % 360;
|
|
15202
15202
|
T = T * p / 360, b = Math.floor(T), w = Math.floor(N);
|
|
15203
15203
|
let O = (w * r + b) * 4;
|
|
15204
|
-
const E = n[O + 0], C = n[O + 1], P = n[O + 2],
|
|
15205
|
-
O = (d * r + h) * 4, s[O + 0] = E, s[O + 1] = C, s[O + 2] = P, s[O + 3] =
|
|
15204
|
+
const E = n[O + 0], C = n[O + 1], P = n[O + 2], $ = n[O + 3];
|
|
15205
|
+
O = (d * r + h) * 4, s[O + 0] = E, s[O + 1] = C, s[O + 2] = P, s[O + 3] = $;
|
|
15206
15206
|
}
|
|
15207
15207
|
}, T1 = function(e) {
|
|
15208
15208
|
const t = e.width, i = e.height;
|
|
@@ -15418,14 +15418,14 @@ const B1 = function(e) {
|
|
|
15418
15418
|
const s = t[n + 0], r = t[n + 1], o = t[n + 2];
|
|
15419
15419
|
t[n + 0] = Math.min(255, s * 0.393 + r * 0.769 + o * 0.189), t[n + 1] = Math.min(255, s * 0.349 + r * 0.686 + o * 0.168), t[n + 2] = Math.min(255, s * 0.272 + r * 0.534 + o * 0.131);
|
|
15420
15420
|
}
|
|
15421
|
-
},
|
|
15421
|
+
}, $1 = function(e) {
|
|
15422
15422
|
const i = e.data;
|
|
15423
15423
|
for (let n = 0; n < i.length; n += 4) {
|
|
15424
15424
|
const s = i[n], r = i[n + 1], o = i[n + 2];
|
|
15425
15425
|
0.2126 * s + 0.7152 * r + 0.0722 * o >= 128 && (i[n] = 255 - s, i[n + 1] = 255 - r, i[n + 2] = 255 - o);
|
|
15426
15426
|
}
|
|
15427
15427
|
return e;
|
|
15428
|
-
},
|
|
15428
|
+
}, H1 = function(e) {
|
|
15429
15429
|
const t = this.threshold() * 255, i = e.data, n = i.length;
|
|
15430
15430
|
for (let s = 0; s < n; s += 1)
|
|
15431
15431
|
i[s] = i[s] < t ? 0 : 255;
|
|
@@ -15444,7 +15444,7 @@ const Bn = qa.Util._assign(qa, {
|
|
|
15444
15444
|
Rect: Kn,
|
|
15445
15445
|
RegularPolygon: ai,
|
|
15446
15446
|
Ring: Ri,
|
|
15447
|
-
Sprite:
|
|
15447
|
+
Sprite: Re,
|
|
15448
15448
|
Star: li,
|
|
15449
15449
|
Text: xt,
|
|
15450
15450
|
TextPath: Vt,
|
|
@@ -15469,11 +15469,11 @@ const Bn = qa.Util._assign(qa, {
|
|
|
15469
15469
|
RGB: F1,
|
|
15470
15470
|
RGBA: G1,
|
|
15471
15471
|
Sepia: B1,
|
|
15472
|
-
Solarize:
|
|
15473
|
-
Threshold:
|
|
15472
|
+
Solarize: $1,
|
|
15473
|
+
Threshold: H1
|
|
15474
15474
|
}
|
|
15475
15475
|
});
|
|
15476
|
-
function
|
|
15476
|
+
function $s(e) {
|
|
15477
15477
|
if (!Bn.autoDrawEnabled) {
|
|
15478
15478
|
const t = e.getLayer() || e.getStage();
|
|
15479
15479
|
t && t.batchDraw();
|
|
@@ -15504,7 +15504,7 @@ function ph(e, t, i, n) {
|
|
|
15504
15504
|
}
|
|
15505
15505
|
!l && (t[a] !== i[a] || n && t[a] !== s?.getAttr(a)) && (o = !0, r[a] = t[a]);
|
|
15506
15506
|
}
|
|
15507
|
-
o && s && (s.setAttrs(r),
|
|
15507
|
+
o && s && (s.setAttrs(r), $s(s));
|
|
15508
15508
|
}
|
|
15509
15509
|
const W1 = "v";
|
|
15510
15510
|
function U1(e) {
|
|
@@ -15539,9 +15539,9 @@ function mh(e, t) {
|
|
|
15539
15539
|
let s = !1;
|
|
15540
15540
|
n.forEach((r, o) => {
|
|
15541
15541
|
r.getZIndex() !== o && (r.setZIndex(o), s = !0);
|
|
15542
|
-
}), s &&
|
|
15542
|
+
}), s && $s(t);
|
|
15543
15543
|
}
|
|
15544
|
-
const z1 = Bn.default?.Stage || Bn.Stage, Y1 = /* @__PURE__ */
|
|
15544
|
+
const z1 = Bn.default?.Stage || Bn.Stage, Y1 = /* @__PURE__ */ Ae({
|
|
15545
15545
|
name: "Stage",
|
|
15546
15546
|
props: {
|
|
15547
15547
|
config: {
|
|
@@ -15597,7 +15597,7 @@ const z1 = Bn.default?.Stage || Bn.Stage, Y1 = /* @__PURE__ */ Pe({
|
|
|
15597
15597
|
Label: !0
|
|
15598
15598
|
};
|
|
15599
15599
|
function J1(e, t) {
|
|
15600
|
-
return /* @__PURE__ */
|
|
15600
|
+
return /* @__PURE__ */ Ae({
|
|
15601
15601
|
name: e,
|
|
15602
15602
|
props: {
|
|
15603
15603
|
config: {
|
|
@@ -15635,9 +15635,9 @@ function J1(e, t) {
|
|
|
15635
15635
|
}
|
|
15636
15636
|
vo(() => {
|
|
15637
15637
|
const f = U1(o)?.__konvaNode;
|
|
15638
|
-
f && "add" in f && f.add(l),
|
|
15638
|
+
f && "add" in f && f.add(l), $s(l);
|
|
15639
15639
|
}), yo(() => {
|
|
15640
|
-
|
|
15640
|
+
$s(l), l.destroy(), l.off(q1);
|
|
15641
15641
|
}), bo(() => {
|
|
15642
15642
|
d(), mh(o.subTree, l);
|
|
15643
15643
|
}), wi(() => i.config, d, { deep: !0 }), r({
|
|
@@ -15685,14 +15685,15 @@ const Q1 = {
|
|
|
15685
15685
|
e.component(`${i}${r.name}`, r);
|
|
15686
15686
|
});
|
|
15687
15687
|
}
|
|
15688
|
-
}, _h = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-200:oklch(94.5% .129 101.54);--color-gray-100:oklch(96.7% .003 264.542);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ott-accent:#68a691;--color-ott-text-primary:#2f2f2f;--color-ott-text-secondary:#a1a1a1;--color-ott-text-white:#fff;--color-ott-bg-primary:#fff;--color-ott-bg-secondary:#f3f3f3;--color-ott-bg-dark:#d3d3d3;--color-ott-error:#cd3c3c}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.block{display:block}.flex{display:flex}.h-75{height:calc(var(--spacing)*75)}.h-full{height:100%}.w-1\\/3{width:33.3333%}.w-50{width:calc(var(--spacing)*50)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-10{gap:calc(var(--spacing)*10)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-ott-bg-dark{border-color:var(--color-ott-bg-dark)}.border-ott-error\\!{border-color:var(--color-ott-error)!important}.border-b-ott-bg-dark{border-bottom-color:var(--color-ott-bg-dark)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-ott-accent{background-color:var(--color-ott-accent)}.bg-ott-bg-primary{background-color:var(--color-ott-bg-primary)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-4{padding:calc(var(--spacing)*4)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ott-accent{color:var(--color-ott-accent)}.text-ott-error\\!{color:var(--color-ott-error)!important}.text-white{color:var(--color-white)}}html,body,#app,#__nuxt,:host{background-color:var(--color-ott-bg-secondary);width:100%;height:100%;color:var(--color-ott-text-primary);font-family:Poppins,sans-serif;font-style:normal;font-weight:400}button{cursor:pointer}h2{margin-block:calc(var(--spacing)*4);font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}main{width:100%;height:100%;max-height:100vh;display:block;overflow:auto}.ott-button{cursor:pointer;justify-content:center;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-ott-text-primary);height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-primary);display:flex}.ott-button:disabled{cursor:default;border-color:var(--color-ott-bg-dark);color:var(--color-ott-bg-dark)}.ott-button-action{cursor:pointer;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-color:var(--color-ott-accent);background-color:var(--color-ott-accent);width:100%;height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-white);display:flex}.ott-button-action:disabled{cursor:default;background-color:var(--color-ott-text-secondary)}input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-ott-bg-dark);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1);border-radius:.25rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}', Z1 = ["width", "height"], t2 = ["transform", "onClick"],
|
|
15688
|
+
}, _h = '@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-200:oklch(94.5% .129 101.54);--color-gray-100:oklch(96.7% .003 264.542);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ott-accent:#68a691;--color-ott-text-primary:#2f2f2f;--color-ott-text-secondary:#a1a1a1;--color-ott-text-white:#fff;--color-ott-bg-primary:#fff;--color-ott-bg-secondary:#f3f3f3;--color-ott-bg-dark:#d3d3d3;--color-ott-error:#cd3c3c}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.block{display:block}.flex{display:flex}.h-75{height:calc(var(--spacing)*75)}.h-full{height:100%}.w-1\\/3{width:33.3333%}.w-50{width:calc(var(--spacing)*50)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-10{gap:calc(var(--spacing)*10)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-ott-bg-dark{border-color:var(--color-ott-bg-dark)}.border-ott-error\\!{border-color:var(--color-ott-error)!important}.border-b-ott-bg-dark{border-bottom-color:var(--color-ott-bg-dark)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-ott-accent{background-color:var(--color-ott-accent)}.bg-ott-bg-primary{background-color:var(--color-ott-bg-primary)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-4{padding:calc(var(--spacing)*4)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ott-accent{color:var(--color-ott-accent)}.text-ott-error\\!{color:var(--color-ott-error)!important}.text-white{color:var(--color-white)}}html,body,#app,#__nuxt,:host{background-color:var(--color-ott-bg-secondary);width:100%;height:100%;color:var(--color-ott-text-primary);font-family:Poppins,sans-serif;font-style:normal;font-weight:400}button{cursor:pointer}h2{margin-block:calc(var(--spacing)*4);font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}main{width:100%;height:100%;max-height:100vh;display:block;overflow:auto}.ott-button{cursor:pointer;justify-content:center;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-ott-text-primary);height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-primary);display:flex}.ott-button:disabled{cursor:default;border-color:var(--color-ott-bg-dark);color:var(--color-ott-bg-dark)}.ott-button-action{cursor:pointer;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-color:var(--color-ott-accent);background-color:var(--color-ott-accent);width:100%;height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-white);display:flex}.ott-button-action:disabled{cursor:default;background-color:var(--color-ott-text-secondary)}input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-ott-bg-dark);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1);border-radius:.25rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}', Z1 = ["width", "height"], t2 = ["transform"], e2 = ["transform", "onClick"], i2 = ["transform"], n2 = ["width", "height"], s2 = ["x", "width", "height"], r2 = ["transform"], o2 = ["x", "y", "font-size"], a2 = ["transform", "onClick"], l2 = ["width", "height"], c2 = /* @__PURE__ */ Ae({
|
|
15689
15689
|
__name: "DeckRendering",
|
|
15690
15690
|
props: {
|
|
15691
15691
|
deck: { type: Object, required: !0 },
|
|
15692
15692
|
scale: { type: Number, required: !0 },
|
|
15693
15693
|
availability: {
|
|
15694
15694
|
type: Object
|
|
15695
|
-
}
|
|
15695
|
+
},
|
|
15696
|
+
vertical: { type: Boolean, default: !1 }
|
|
15696
15697
|
},
|
|
15697
15698
|
emits: ["select"],
|
|
15698
15699
|
setup(e, { emit: t }) {
|
|
@@ -15711,85 +15712,103 @@ const Q1 = {
|
|
|
15711
15712
|
r("select", { element: d, ctrlKey: h.ctrlKey || h.metaKey });
|
|
15712
15713
|
}
|
|
15713
15714
|
return (h, d) => (at(), bt("svg", {
|
|
15714
|
-
width: l.value.width,
|
|
15715
|
-
height: l.value.height,
|
|
15715
|
+
width: e.vertical ? l.value.height : l.value.width,
|
|
15716
|
+
height: e.vertical ? l.value.width : l.value.height,
|
|
15716
15717
|
class: "vehicle-frame",
|
|
15717
15718
|
style: { "user-select": "none" }
|
|
15718
15719
|
}, [
|
|
15719
|
-
ut("
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
15725
|
-
|
|
15726
|
-
${n.get(u)?.y ?? u.getShape(e.scale).y})`,
|
|
15727
|
-
onClick: gr((p) => c(p, u), ["stop"]),
|
|
15728
|
-
class: Fe(`seat ${u.getClasses()}`)
|
|
15720
|
+
ut("g", {
|
|
15721
|
+
class: Ce(`${e.vertical ? "vehicle-frame--vertical" : ""}`),
|
|
15722
|
+
transform: `rotate(
|
|
15723
|
+
${e.vertical ? 90 : 0},
|
|
15724
|
+
${l.value.height / 2},
|
|
15725
|
+
${l.value.height / 2}
|
|
15726
|
+
)`
|
|
15729
15727
|
}, [
|
|
15730
|
-
ut("
|
|
15731
|
-
|
|
15732
|
-
|
|
15728
|
+
ut("rect", fc({ ...e.deck.getShape(e.scale), y: 5 }, {
|
|
15729
|
+
onClick: d[0] || (d[0] = gr((u) => c(u, e.deck), ["stop"])),
|
|
15730
|
+
class: "vehicle-deck"
|
|
15731
|
+
}), null, 16),
|
|
15732
|
+
(at(!0), bt(It, null, Be(o.value, (u, f) => (at(), bt("g", {
|
|
15733
|
+
key: `seat-${f}`,
|
|
15734
|
+
transform: `translate(${n.get(u)?.x ?? u.getShape(e.scale).x},
|
|
15735
|
+
${n.get(u)?.y ?? u.getShape(e.scale).y})`,
|
|
15736
|
+
onClick: gr((p) => c(p, u), ["stop"]),
|
|
15737
|
+
class: Ce(`seat ${u.getClasses()}`)
|
|
15738
|
+
}, [
|
|
15739
|
+
ut("g", {
|
|
15740
|
+
class: "seat__container",
|
|
15741
|
+
transform: `rotate( ${u.Orientation === "forwards" ? 180 : 0}, ${u.getShape(e.scale).width / 2}, ${u.getShape(e.scale).height / 2})`
|
|
15742
|
+
}, [
|
|
15743
|
+
ut("rect", {
|
|
15744
|
+
width: u.getShape(e.scale).width,
|
|
15745
|
+
height: u.getShape(e.scale).height,
|
|
15746
|
+
class: Ce("seat__base")
|
|
15747
|
+
}, null, 8, n2),
|
|
15748
|
+
ut("rect", {
|
|
15749
|
+
x: u.getShape(e.scale).width * 0.9,
|
|
15750
|
+
y: "0",
|
|
15751
|
+
width: u.getShape(e.scale).width * 0.2,
|
|
15752
|
+
height: u.getShape(e.scale).height,
|
|
15753
|
+
rx: "6",
|
|
15754
|
+
ry: "6",
|
|
15755
|
+
class: Ce(["seat__backrest", "seat__backrest"]),
|
|
15756
|
+
"pointer-events": "none"
|
|
15757
|
+
}, null, 8, s2)
|
|
15758
|
+
], 8, i2),
|
|
15759
|
+
ut("g", {
|
|
15760
|
+
class: "seat__text-container",
|
|
15761
|
+
transform: `rotate(
|
|
15762
|
+
${e.vertical ? -90 : 0},
|
|
15763
|
+
${u.getShape(e.scale).width / 2},
|
|
15764
|
+
${u.getShape(e.scale).height / 2}
|
|
15765
|
+
)`
|
|
15766
|
+
}, [
|
|
15767
|
+
ut("text", {
|
|
15768
|
+
x: u.getShape(e.scale).width / 2,
|
|
15769
|
+
y: u.getShape(e.scale).height / 2,
|
|
15770
|
+
"text-anchor": "middle",
|
|
15771
|
+
"dominant-baseline": "middle",
|
|
15772
|
+
class: "seat__text",
|
|
15773
|
+
"font-size": Math.max(
|
|
15774
|
+
Math.min(u.getShape(e.scale).width, u.getShape(e.scale).height) / 3,
|
|
15775
|
+
10
|
|
15776
|
+
),
|
|
15777
|
+
"pointer-events": "none"
|
|
15778
|
+
}, Ge(u.Label), 9, o2)
|
|
15779
|
+
], 8, r2)
|
|
15780
|
+
], 10, e2))), 128)),
|
|
15781
|
+
(at(!0), bt(It, null, Be(a.value, (u, f) => (at(), bt("g", {
|
|
15782
|
+
key: `entrance-${f}`,
|
|
15783
|
+
transform: `translate(${s.get(u)?.x ?? u.getShape(e.scale, e.deck.Length, e.deck.Width).x},
|
|
15784
|
+
${s.get(u)?.y ?? u.getShape(e.scale, e.deck.Length, e.deck.Width).y})`,
|
|
15785
|
+
onClick: gr((p) => c(p, u), ["stop"])
|
|
15733
15786
|
}, [
|
|
15734
15787
|
ut("rect", {
|
|
15735
|
-
width: u.getShape(e.scale).width,
|
|
15736
|
-
height: u.getShape(e.scale).height,
|
|
15737
|
-
class:
|
|
15738
|
-
}, null, 8,
|
|
15739
|
-
|
|
15740
|
-
|
|
15741
|
-
y: "0",
|
|
15742
|
-
width: u.getShape(e.scale).width * 0.2,
|
|
15743
|
-
height: u.getShape(e.scale).height,
|
|
15744
|
-
rx: "6",
|
|
15745
|
-
ry: "6",
|
|
15746
|
-
class: Fe(["seat__backrest", "seat__backrest"]),
|
|
15747
|
-
"pointer-events": "none"
|
|
15748
|
-
}, null, 8, n2)
|
|
15749
|
-
], 8, e2),
|
|
15750
|
-
ut("text", {
|
|
15751
|
-
x: u.getShape(e.scale).width / 2,
|
|
15752
|
-
y: u.getShape(e.scale).height / 2,
|
|
15753
|
-
"text-anchor": "middle",
|
|
15754
|
-
"dominant-baseline": "middle",
|
|
15755
|
-
class: "seat__text",
|
|
15756
|
-
"font-size": Math.max(
|
|
15757
|
-
Math.min(u.getShape(e.scale).width, u.getShape(e.scale).height) / 3,
|
|
15758
|
-
10
|
|
15759
|
-
),
|
|
15760
|
-
"pointer-events": "none"
|
|
15761
|
-
}, Ge(u.Label), 9, s2)
|
|
15762
|
-
], 10, t2))), 128)),
|
|
15763
|
-
(at(!0), bt(It, null, Be(a.value, (u, f) => (at(), bt("g", {
|
|
15764
|
-
key: `entrance-${f}`,
|
|
15765
|
-
transform: `translate(${s.get(u)?.x ?? u.getShape(e.scale, e.deck.Length, e.deck.Width).x},
|
|
15766
|
-
${s.get(u)?.y ?? u.getShape(e.scale, e.deck.Length, e.deck.Width).y})`,
|
|
15767
|
-
onClick: gr((p) => c(p, u), ["stop"])
|
|
15768
|
-
}, [
|
|
15769
|
-
ut("rect", {
|
|
15770
|
-
width: u.getShape(e.scale, e.deck.Length, e.deck.Width).width,
|
|
15771
|
-
height: u.getShape(e.scale, e.deck.Length, e.deck.Width).height,
|
|
15772
|
-
class: "door"
|
|
15773
|
-
}, null, 8, o2)
|
|
15774
|
-
], 8, r2))), 128))
|
|
15788
|
+
width: u.getShape(e.scale, e.deck.Length, e.deck.Width).width,
|
|
15789
|
+
height: u.getShape(e.scale, e.deck.Length, e.deck.Width).height,
|
|
15790
|
+
class: "door"
|
|
15791
|
+
}, null, 8, l2)
|
|
15792
|
+
], 8, a2))), 128))
|
|
15793
|
+
], 10, t2)
|
|
15775
15794
|
], 8, Z1));
|
|
15776
15795
|
}
|
|
15777
|
-
}),
|
|
15796
|
+
}), h2 = ".vehicle-frame{background-color:#f0f0f0;border:1px solid #ccc}.vehicle-deck{fill:#fff;stroke:#68a691;rx:5px;stroke-width:2px}.seat .seat__base{fill:#4caf50}.seat-occupied .seat__base{fill:#f44336}.seat-selected .seat__base,.seat-filtered .seat__base{fill:#ff9800}.seat-undefined .seat__base{fill:#9e9e9e}.seat .seat__base{fill:#d9d9d9;stroke:#7c7c7c;stroke-width:1px;cursor:pointer;rx:5px}.seat .seat__backrest{fill:#7c7c7c}.seat__text{stroke:#7c7c7c;pointer-events:none}.door{fill:#dedede;stroke:#dedede;stroke-width:1px;cursor:pointer}", d2 = /* @__PURE__ */ Ic(c2, [["styles", [h2]]]), vh = /* @__PURE__ */ bc(yp, {
|
|
15778
15797
|
shadowRoot: !0,
|
|
15779
15798
|
styles: [_h],
|
|
15780
15799
|
configureApp(e) {
|
|
15781
15800
|
e.use(Q1);
|
|
15782
15801
|
}
|
|
15783
|
-
}), bh = /* @__PURE__ */ bc(
|
|
15802
|
+
}), bh = /* @__PURE__ */ bc(d2, {
|
|
15784
15803
|
shadowRoot: !0,
|
|
15785
15804
|
styles: [_h]
|
|
15786
15805
|
});
|
|
15787
15806
|
typeof customElements < "u" && (customElements.get("deckplan-editor") || customElements.define("deckplan-editor", vh), customElements.get("deck-rendering") || customElements.define("deck-rendering", bh));
|
|
15788
|
-
const
|
|
15807
|
+
const f2 = {
|
|
15789
15808
|
DeckplanEditorElement: vh,
|
|
15790
15809
|
DeckRenderingElement: bh,
|
|
15791
15810
|
parseNeTEx: Dc
|
|
15792
15811
|
};
|
|
15793
15812
|
export {
|
|
15794
|
-
|
|
15813
|
+
f2 as default
|
|
15795
15814
|
};
|