@squirrel-cloud/ui-vue 0.2.41 → 0.2.42
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,15 +1,15 @@
|
|
|
1
|
-
import { createElementBlock as S, openBlock as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as S, openBlock as D, createElementVNode as A, createStaticVNode as At, defineComponent as R, computed as E, createBlock as L, unref as w, normalizeClass as O, withCtx as uu, createCommentVNode as V, createTextVNode as I0, resolveDynamicComponent as bu, toDisplayString as su, h as Me, ref as $, normalizeStyle as au, onMounted as de, onBeforeUnmount as je, Transition as pe, withDirectives as Du, renderSlot as j, vShow as Wu, inject as Tu, createVNode as Gu, provide as He, toRef as _u, useSlots as $0, mergeModels as eu, useModel as mu, toRaw as ue, Fragment as Nu, renderList as Ve, mergeProps as c0, shallowRef as Mu, vModelDynamic as Ft, render as i0, watch as re, getCurrentScope as St, onScopeDispose as zt, shallowReadonly as Fu, Teleport as qt, withModifiers as Bt, vModelText as Tt } from "vue";
|
|
2
|
+
const U = (u, e) => {
|
|
3
3
|
const t = u.__vccOpts || u;
|
|
4
4
|
for (const [n, r] of e)
|
|
5
5
|
t[n] = r;
|
|
6
6
|
return t;
|
|
7
|
-
},
|
|
7
|
+
}, Mt = {}, Lt = {
|
|
8
8
|
class: "sq-icon",
|
|
9
9
|
"data-icon": "arrow-left"
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function Rt(u, e) {
|
|
12
|
+
return D(), S("span", Lt, e[0] || (e[0] = [
|
|
13
13
|
A("svg", {
|
|
14
14
|
viewBox: "0 0 48 48",
|
|
15
15
|
version: "1.1",
|
|
@@ -20,12 +20,12 @@ function Lt(u, e) {
|
|
|
20
20
|
], -1)
|
|
21
21
|
]));
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const It = /* @__PURE__ */ U(Mt, [["render", Rt]]), $t = {}, Ot = {
|
|
24
24
|
class: "sq-icon",
|
|
25
25
|
"data-icon": "arrow-right"
|
|
26
26
|
};
|
|
27
|
-
function
|
|
28
|
-
return
|
|
27
|
+
function Pt(u, e) {
|
|
28
|
+
return D(), S("span", Ot, e[0] || (e[0] = [
|
|
29
29
|
A("svg", {
|
|
30
30
|
viewBox: "0 0 48 48",
|
|
31
31
|
version: "1.1",
|
|
@@ -36,12 +36,12 @@ function Ot(u, e) {
|
|
|
36
36
|
], -1)
|
|
37
37
|
]));
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const Nt = /* @__PURE__ */ U($t, [["render", Pt]]), jt = {}, Ht = {
|
|
40
40
|
class: "sq-icon",
|
|
41
41
|
"data-icon": "caret-up"
|
|
42
42
|
};
|
|
43
|
-
function
|
|
44
|
-
return
|
|
43
|
+
function Vt(u, e) {
|
|
44
|
+
return D(), S("span", Ht, e[0] || (e[0] = [
|
|
45
45
|
A("svg", {
|
|
46
46
|
viewBox: "0 0 48 48",
|
|
47
47
|
version: "1.1",
|
|
@@ -51,12 +51,12 @@ function Ht(u, e) {
|
|
|
51
51
|
], -1)
|
|
52
52
|
]));
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const Ut = /* @__PURE__ */ U(jt, [["render", Vt]]), Zt = {}, Wt = {
|
|
55
55
|
class: "sq-icon",
|
|
56
56
|
"data-icon": "check-circle"
|
|
57
57
|
};
|
|
58
|
-
function
|
|
59
|
-
return
|
|
58
|
+
function Gt(u, e) {
|
|
59
|
+
return D(), S("span", Wt, e[0] || (e[0] = [
|
|
60
60
|
A("svg", {
|
|
61
61
|
viewBox: "0 0 48 48",
|
|
62
62
|
version: "1.1",
|
|
@@ -72,12 +72,12 @@ function Wt(u, e) {
|
|
|
72
72
|
], -1)
|
|
73
73
|
]));
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const Jt = /* @__PURE__ */ U(Zt, [["render", Gt]]), Xt = {}, Qt = {
|
|
76
76
|
class: "sq-icon",
|
|
77
77
|
"data-icon": "check-filled"
|
|
78
78
|
};
|
|
79
|
-
function
|
|
80
|
-
return
|
|
79
|
+
function Yt(u, e) {
|
|
80
|
+
return D(), S("span", Qt, e[0] || (e[0] = [
|
|
81
81
|
A("svg", {
|
|
82
82
|
viewBox: "0 0 48 48",
|
|
83
83
|
version: "1.1",
|
|
@@ -89,12 +89,12 @@ function Qt(u, e) {
|
|
|
89
89
|
], -1)
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const O0 = /* @__PURE__ */ U(Xt, [["render", Yt]]), Kt = {}, un = {
|
|
93
93
|
class: "sq-icon",
|
|
94
94
|
"data-icon": "close"
|
|
95
95
|
};
|
|
96
|
-
function
|
|
97
|
-
return
|
|
96
|
+
function en(u, e) {
|
|
97
|
+
return D(), S("span", un, e[0] || (e[0] = [
|
|
98
98
|
A("svg", {
|
|
99
99
|
viewBox: "0 0 48 48",
|
|
100
100
|
version: "1.1",
|
|
@@ -107,12 +107,12 @@ function un(u, e) {
|
|
|
107
107
|
], -1)
|
|
108
108
|
]));
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const tn = /* @__PURE__ */ U(Kt, [["render", en]]), nn = {}, rn = {
|
|
111
111
|
class: "sq-icon",
|
|
112
112
|
"data-icon": "close-circle"
|
|
113
113
|
};
|
|
114
|
-
function
|
|
115
|
-
return
|
|
114
|
+
function on(u, e) {
|
|
115
|
+
return D(), S("span", rn, e[0] || (e[0] = [
|
|
116
116
|
A("svg", {
|
|
117
117
|
viewBox: "0 0 48 48",
|
|
118
118
|
version: "1.1",
|
|
@@ -130,12 +130,12 @@ function rn(u, e) {
|
|
|
130
130
|
], -1)
|
|
131
131
|
]));
|
|
132
132
|
}
|
|
133
|
-
const
|
|
133
|
+
const cn = /* @__PURE__ */ U(nn, [["render", on]]), sn = {}, an = {
|
|
134
134
|
class: "sq-icon",
|
|
135
135
|
"data-icon": "close-filled"
|
|
136
136
|
};
|
|
137
|
-
function
|
|
138
|
-
return
|
|
137
|
+
function ln(u, e) {
|
|
138
|
+
return D(), S("span", an, e[0] || (e[0] = [
|
|
139
139
|
A("svg", {
|
|
140
140
|
viewBox: "0 0 48 48",
|
|
141
141
|
version: "1.1",
|
|
@@ -148,12 +148,12 @@ function an(u, e) {
|
|
|
148
148
|
], -1)
|
|
149
149
|
]));
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const P0 = /* @__PURE__ */ U(sn, [["render", ln]]), fn = {}, dn = {
|
|
152
152
|
class: "sq-icon",
|
|
153
153
|
"data-icon": "ellipsis"
|
|
154
154
|
};
|
|
155
|
-
function
|
|
156
|
-
return
|
|
155
|
+
function pn(u, e) {
|
|
156
|
+
return D(), S("span", dn, e[0] || (e[0] = [
|
|
157
157
|
A("svg", {
|
|
158
158
|
viewBox: "0 0 48 48",
|
|
159
159
|
version: "1.1",
|
|
@@ -165,12 +165,12 @@ function dn(u, e) {
|
|
|
165
165
|
], -1)
|
|
166
166
|
]));
|
|
167
167
|
}
|
|
168
|
-
const
|
|
168
|
+
const hn = /* @__PURE__ */ U(fn, [["render", pn]]), bn = {}, mn = {
|
|
169
169
|
class: "sq-icon",
|
|
170
170
|
"data-icon": "hide"
|
|
171
171
|
};
|
|
172
|
-
function
|
|
173
|
-
return
|
|
172
|
+
function xn(u, e) {
|
|
173
|
+
return D(), S("span", mn, e[0] || (e[0] = [
|
|
174
174
|
A("svg", {
|
|
175
175
|
viewBox: "0 0 48 48",
|
|
176
176
|
version: "1.1",
|
|
@@ -188,12 +188,12 @@ function mn(u, e) {
|
|
|
188
188
|
], -1)
|
|
189
189
|
]));
|
|
190
190
|
}
|
|
191
|
-
const
|
|
191
|
+
const gn = /* @__PURE__ */ U(bn, [["render", xn]]), _n = {}, kn = {
|
|
192
192
|
class: "sq-icon",
|
|
193
193
|
"data-icon": "info-filled"
|
|
194
194
|
};
|
|
195
|
-
function
|
|
196
|
-
return
|
|
195
|
+
function yn(u, e) {
|
|
196
|
+
return D(), S("span", kn, e[0] || (e[0] = [
|
|
197
197
|
A("svg", {
|
|
198
198
|
viewBox: "0 0 48 48",
|
|
199
199
|
version: "1.1",
|
|
@@ -209,12 +209,12 @@ function kn(u, e) {
|
|
|
209
209
|
], -1)
|
|
210
210
|
]));
|
|
211
211
|
}
|
|
212
|
-
const
|
|
212
|
+
const N0 = /* @__PURE__ */ U(_n, [["render", yn]]), vn = {}, Cn = {
|
|
213
213
|
class: "sq-icon",
|
|
214
214
|
"data-icon": "jump-to"
|
|
215
215
|
};
|
|
216
|
-
function
|
|
217
|
-
return
|
|
216
|
+
function wn(u, e) {
|
|
217
|
+
return D(), S("span", Cn, e[0] || (e[0] = [
|
|
218
218
|
A("svg", {
|
|
219
219
|
viewBox: "0 0 48 48",
|
|
220
220
|
version: "1.1",
|
|
@@ -225,12 +225,12 @@ function Cn(u, e) {
|
|
|
225
225
|
], -1)
|
|
226
226
|
]));
|
|
227
227
|
}
|
|
228
|
-
const
|
|
228
|
+
const Dn = /* @__PURE__ */ U(vn, [["render", wn]]), En = {}, An = {
|
|
229
229
|
class: "sq-icon is-loading",
|
|
230
230
|
"data-icon": "loading"
|
|
231
231
|
};
|
|
232
|
-
function
|
|
233
|
-
return
|
|
232
|
+
function Fn(u, e) {
|
|
233
|
+
return D(), S("span", An, e[0] || (e[0] = [
|
|
234
234
|
A("svg", {
|
|
235
235
|
viewBox: "0 0 48 48",
|
|
236
236
|
version: "1.1",
|
|
@@ -244,12 +244,12 @@ function An(u, e) {
|
|
|
244
244
|
], -1)
|
|
245
245
|
]));
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const j0 = /* @__PURE__ */ U(En, [["render", Fn]]), Sn = {}, zn = {
|
|
248
248
|
class: "sq-icon",
|
|
249
249
|
"data-icon": "view"
|
|
250
250
|
};
|
|
251
251
|
function qn(u, e) {
|
|
252
|
-
return
|
|
252
|
+
return D(), S("span", zn, e[0] || (e[0] = [
|
|
253
253
|
A("svg", {
|
|
254
254
|
viewBox: "0 0 48 48",
|
|
255
255
|
version: "1.1",
|
|
@@ -263,25 +263,25 @@ function qn(u, e) {
|
|
|
263
263
|
], -1)
|
|
264
264
|
]));
|
|
265
265
|
}
|
|
266
|
-
const Bn = /* @__PURE__ */
|
|
266
|
+
const Bn = /* @__PURE__ */ U(Sn, [["render", qn]]), Tn = {}, Mn = {
|
|
267
267
|
class: "sq-icon",
|
|
268
268
|
"data-icon": "warning-circle"
|
|
269
269
|
};
|
|
270
270
|
function Ln(u, e) {
|
|
271
|
-
return
|
|
272
|
-
|
|
271
|
+
return D(), S("span", Mn, e[0] || (e[0] = [
|
|
272
|
+
At(`<svg viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M4.52,19.05c0.23,0.08,0.46,0.12,0.68,0.12c0.82,0,1.58-0.51,1.88-1.32c0.18-0.5,0.39-1,0.62-1.48
|
|
273
273
|
c0.47-1,0.04-2.19-0.96-2.66c-1-0.47-2.19-0.04-2.66,0.96c-0.28,0.59-0.53,1.2-0.75,1.82C2.94,17.52,3.48,18.67,4.52,19.05z"></path><path d="M24,2C18.12,2,12.6,4.29,8.44,8.44c-0.78,0.78-0.78,2.05,0,2.83c0.78,0.78,2.05,0.78,2.83,0C14.67,7.87,19.19,6,24,6
|
|
274
274
|
c9.92,0,18,8.07,18,18c0,9.92-8.08,18-18,18c-9.93,0-18-8.08-18-18c0-1.1-0.9-2-2-2s-2,0.9-2,2c0,12.13,9.87,22,22,22
|
|
275
275
|
s22-9.87,22-22S36.13,2,24,2z"></path><circle cx="24" cy="34.5" r="2.5"></circle><path d="M23.9,27.9h0.19c0.68,0,1.24-0.52,1.3-1.2l1.1-14.3c0.06-0.75-0.54-1.4-1.3-1.4H22.8c-0.76,0-1.35,0.64-1.3,1.4l1.1,14.3
|
|
276
276
|
C22.66,27.38,23.22,27.9,23.9,27.9z"></path></svg>`, 1)
|
|
277
277
|
]));
|
|
278
278
|
}
|
|
279
|
-
const Rn = /* @__PURE__ */
|
|
279
|
+
const Rn = /* @__PURE__ */ U(Tn, [["render", Ln]]), In = {}, $n = {
|
|
280
280
|
class: "sq-icon",
|
|
281
281
|
"data-icon": "warning-filled"
|
|
282
282
|
};
|
|
283
283
|
function On(u, e) {
|
|
284
|
-
return
|
|
284
|
+
return D(), S("span", $n, e[0] || (e[0] = [
|
|
285
285
|
A("svg", {
|
|
286
286
|
viewBox: "0 0 48 48",
|
|
287
287
|
version: "1.1",
|
|
@@ -293,7 +293,7 @@ function On(u, e) {
|
|
|
293
293
|
], -1)
|
|
294
294
|
]));
|
|
295
295
|
}
|
|
296
|
-
const
|
|
296
|
+
const H0 = /* @__PURE__ */ U(In, [["render", On]]), ks = /* @__PURE__ */ R({
|
|
297
297
|
name: "sq-alert",
|
|
298
298
|
__name: "alert",
|
|
299
299
|
props: {
|
|
@@ -303,44 +303,44 @@ const N0 = /* @__PURE__ */ V(In, [["render", On]]), ks = /* @__PURE__ */ R({
|
|
|
303
303
|
text: {}
|
|
304
304
|
},
|
|
305
305
|
setup(u) {
|
|
306
|
-
const e = u, t =
|
|
306
|
+
const e = u, t = E(() => {
|
|
307
307
|
const r = [];
|
|
308
308
|
return e.type && r.push(`is-${e.type}`), r;
|
|
309
|
-
}), n =
|
|
309
|
+
}), n = E(() => {
|
|
310
310
|
if (e.icon) return e.icon;
|
|
311
311
|
if (!e.showIcon) return;
|
|
312
312
|
switch (e.type) {
|
|
313
313
|
case "primary":
|
|
314
314
|
case "info":
|
|
315
|
-
return
|
|
315
|
+
return N0;
|
|
316
316
|
case "success":
|
|
317
|
-
return
|
|
317
|
+
return O0;
|
|
318
318
|
case "warn":
|
|
319
|
-
return
|
|
319
|
+
return H0;
|
|
320
320
|
case "error":
|
|
321
|
-
return
|
|
321
|
+
return P0;
|
|
322
322
|
default:
|
|
323
323
|
return;
|
|
324
324
|
}
|
|
325
325
|
});
|
|
326
|
-
return (r, o) => (
|
|
327
|
-
class:
|
|
326
|
+
return (r, o) => (D(), L(w(Ku), {
|
|
327
|
+
class: O(["sq-alert", t.value])
|
|
328
328
|
}, {
|
|
329
|
-
default:
|
|
330
|
-
n.value ? (
|
|
331
|
-
|
|
329
|
+
default: uu(() => [
|
|
330
|
+
n.value ? (D(), L(bu(n.value), { key: 0 })) : V("", !0),
|
|
331
|
+
I0(" " + su(e.text), 1)
|
|
332
332
|
]),
|
|
333
333
|
_: 1
|
|
334
334
|
}, 8, ["class"]));
|
|
335
335
|
}
|
|
336
336
|
});
|
|
337
|
-
let
|
|
337
|
+
let s0 = 0;
|
|
338
338
|
const Pn = () => ({
|
|
339
339
|
/**
|
|
340
340
|
* 获取下一个ID
|
|
341
341
|
* @returns 下一个ID
|
|
342
342
|
*/
|
|
343
|
-
nextId: () => (
|
|
343
|
+
nextId: () => (s0++, s0)
|
|
344
344
|
});
|
|
345
345
|
function Nn() {
|
|
346
346
|
function u(e = [0.3, 0.8], t = [0.1, 0.3], n = [0, 360]) {
|
|
@@ -358,10 +358,10 @@ function Nn() {
|
|
|
358
358
|
getRandomColor: u
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ue() {
|
|
362
362
|
function u(...e) {
|
|
363
363
|
for (const t of e) {
|
|
364
|
-
const n =
|
|
364
|
+
const n = w(t);
|
|
365
365
|
if (n != null) return n;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
@@ -389,18 +389,18 @@ function jn() {
|
|
|
389
389
|
getRandomNum: u
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
let
|
|
393
|
-
const
|
|
392
|
+
let a0 = 2e3;
|
|
393
|
+
const V0 = () => ({
|
|
394
394
|
/**
|
|
395
395
|
* 获取下一个层级
|
|
396
396
|
* @returns 下一个层级
|
|
397
397
|
*/
|
|
398
|
-
nextZIndex: () => (
|
|
398
|
+
nextZIndex: () => (a0++, a0)
|
|
399
399
|
});
|
|
400
|
-
function
|
|
400
|
+
function K(u, e, t) {
|
|
401
401
|
this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
|
|
402
402
|
}
|
|
403
|
-
|
|
403
|
+
K.prototype.attrIndex = function(e) {
|
|
404
404
|
if (!this.attrs)
|
|
405
405
|
return -1;
|
|
406
406
|
const t = this.attrs;
|
|
@@ -409,19 +409,19 @@ Y.prototype.attrIndex = function(e) {
|
|
|
409
409
|
return n;
|
|
410
410
|
return -1;
|
|
411
411
|
};
|
|
412
|
-
|
|
412
|
+
K.prototype.attrPush = function(e) {
|
|
413
413
|
this.attrs ? this.attrs.push(e) : this.attrs = [e];
|
|
414
414
|
};
|
|
415
|
-
|
|
415
|
+
K.prototype.attrSet = function(e, t) {
|
|
416
416
|
const n = this.attrIndex(e), r = [e, t];
|
|
417
417
|
n < 0 ? this.attrPush(r) : this.attrs[n] = r;
|
|
418
418
|
};
|
|
419
|
-
|
|
419
|
+
K.prototype.attrGet = function(e) {
|
|
420
420
|
const t = this.attrIndex(e);
|
|
421
421
|
let n = null;
|
|
422
422
|
return t >= 0 && (n = this.attrs[t][1]), n;
|
|
423
423
|
};
|
|
424
|
-
|
|
424
|
+
K.prototype.attrJoin = function(e, t) {
|
|
425
425
|
const n = this.attrIndex(e);
|
|
426
426
|
n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
427
427
|
};
|
|
@@ -444,7 +444,7 @@ function Hn(u) {
|
|
|
444
444
|
["disabled", ""]
|
|
445
445
|
];
|
|
446
446
|
l && f.push(["checked", ""]);
|
|
447
|
-
const h = new
|
|
447
|
+
const h = new K("input", "input", 0);
|
|
448
448
|
h.attrs = f, (r = c.children) == null || r.unshift(h);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -452,12 +452,12 @@ function Hn(u) {
|
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
|
-
const
|
|
455
|
+
const l0 = {};
|
|
456
456
|
function Vn(u) {
|
|
457
|
-
let e =
|
|
457
|
+
let e = l0[u];
|
|
458
458
|
if (e)
|
|
459
459
|
return e;
|
|
460
|
-
e =
|
|
460
|
+
e = l0[u] = [];
|
|
461
461
|
for (let t = 0; t < 128; t++) {
|
|
462
462
|
const n = String.fromCharCode(t);
|
|
463
463
|
e.push(n);
|
|
@@ -468,8 +468,8 @@ function Vn(u) {
|
|
|
468
468
|
}
|
|
469
469
|
return e;
|
|
470
470
|
}
|
|
471
|
-
function
|
|
472
|
-
typeof e != "string" && (e =
|
|
471
|
+
function Lu(u, e) {
|
|
472
|
+
typeof e != "string" && (e = Lu.defaultChars);
|
|
473
473
|
const t = Vn(e);
|
|
474
474
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
475
475
|
let r = "";
|
|
@@ -508,14 +508,14 @@ function Ru(u, e) {
|
|
|
508
508
|
return r;
|
|
509
509
|
});
|
|
510
510
|
}
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
const
|
|
511
|
+
Lu.defaultChars = ";/?:@&=+$,#";
|
|
512
|
+
Lu.componentChars = "";
|
|
513
|
+
const f0 = {};
|
|
514
514
|
function Un(u) {
|
|
515
|
-
let e =
|
|
515
|
+
let e = f0[u];
|
|
516
516
|
if (e)
|
|
517
517
|
return e;
|
|
518
|
-
e =
|
|
518
|
+
e = f0[u] = [];
|
|
519
519
|
for (let t = 0; t < 128; t++) {
|
|
520
520
|
const n = String.fromCharCode(t);
|
|
521
521
|
/^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
|
|
@@ -555,7 +555,7 @@ function Ju(u, e, t) {
|
|
|
555
555
|
}
|
|
556
556
|
Ju.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
557
557
|
Ju.componentChars = "-_.!~*'()";
|
|
558
|
-
function
|
|
558
|
+
function Ze(u) {
|
|
559
559
|
let e = "";
|
|
560
560
|
return e += u.protocol || "", e += u.slashes ? "//" : "", e += u.auth ? u.auth + "@" : "", u.hostname && u.hostname.indexOf(":") !== -1 ? e += "[" + u.hostname + "]" : e += u.hostname || "", e += u.port ? ":" + u.port : "", e += u.pathname || "", e += u.search || "", e += u.hash || "", e;
|
|
561
561
|
}
|
|
@@ -563,10 +563,10 @@ function oe() {
|
|
|
563
563
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
564
564
|
}
|
|
565
565
|
const Zn = /^([a-z0-9.+-]+:)/i, Wn = /:[0-9]*$/, Gn = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Jn = ["<", ">", '"', "`", " ", "\r", `
|
|
566
|
-
`, " "], Xn = ["{", "}", "|", "\\", "^", "`"].concat(Jn), Qn = ["'"].concat(Xn),
|
|
566
|
+
`, " "], Xn = ["{", "}", "|", "\\", "^", "`"].concat(Jn), Qn = ["'"].concat(Xn), d0 = ["%", "/", "?", ";", "#"].concat(Qn), p0 = ["/", "?", "#"], Yn = 255, h0 = /^[+a-z0-9A-Z_-]{0,63}$/, Kn = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, b0 = {
|
|
567
567
|
javascript: !0,
|
|
568
568
|
"javascript:": !0
|
|
569
|
-
},
|
|
569
|
+
}, m0 = {
|
|
570
570
|
http: !0,
|
|
571
571
|
https: !0,
|
|
572
572
|
ftp: !0,
|
|
@@ -578,7 +578,7 @@ const Zn = /^([a-z0-9.+-]+:)/i, Wn = /:[0-9]*$/, Gn = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
578
578
|
"gopher:": !0,
|
|
579
579
|
"file:": !0
|
|
580
580
|
};
|
|
581
|
-
function
|
|
581
|
+
function We(u, e) {
|
|
582
582
|
if (u && u instanceof oe) return u;
|
|
583
583
|
const t = new oe();
|
|
584
584
|
return t.parse(u, e), t;
|
|
@@ -591,29 +591,29 @@ oe.prototype.parse = function(u, e) {
|
|
|
591
591
|
return this.pathname = a[1], a[2] && (this.search = a[2]), this;
|
|
592
592
|
}
|
|
593
593
|
let i = Zn.exec(o);
|
|
594
|
-
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, o = o.substr(i.length)), (e || i || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(i &&
|
|
594
|
+
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, o = o.substr(i.length)), (e || i || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(i && b0[i]) && (o = o.substr(2), this.slashes = !0)), !b0[i] && (r || i && !m0[i])) {
|
|
595
595
|
let a = -1;
|
|
596
|
-
for (let d = 0; d <
|
|
597
|
-
n = o.indexOf(
|
|
596
|
+
for (let d = 0; d < p0.length; d++)
|
|
597
|
+
n = o.indexOf(p0[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
598
598
|
let l, f;
|
|
599
599
|
a === -1 ? f = o.lastIndexOf("@") : f = o.lastIndexOf("@", a), f !== -1 && (l = o.slice(0, f), o = o.slice(f + 1), this.auth = l), a = -1;
|
|
600
|
-
for (let d = 0; d <
|
|
601
|
-
n = o.indexOf(
|
|
600
|
+
for (let d = 0; d < d0.length; d++)
|
|
601
|
+
n = o.indexOf(d0[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
602
602
|
a === -1 && (a = o.length), o[a - 1] === ":" && a--;
|
|
603
603
|
const h = o.slice(0, a);
|
|
604
604
|
o = o.slice(a), this.parseHost(h), this.hostname = this.hostname || "";
|
|
605
605
|
const p = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
606
606
|
if (!p) {
|
|
607
607
|
const d = this.hostname.split(/\./);
|
|
608
|
-
for (let x = 0,
|
|
609
|
-
const
|
|
610
|
-
if (
|
|
608
|
+
for (let x = 0, _ = d.length; x < _; x++) {
|
|
609
|
+
const k = d[x];
|
|
610
|
+
if (k && !k.match(h0)) {
|
|
611
611
|
let g = "";
|
|
612
|
-
for (let y = 0,
|
|
613
|
-
|
|
614
|
-
if (!g.match(
|
|
615
|
-
const y = d.slice(0, x),
|
|
616
|
-
|
|
612
|
+
for (let y = 0, v = k.length; y < v; y++)
|
|
613
|
+
k.charCodeAt(y) > 127 ? g += "x" : g += k[y];
|
|
614
|
+
if (!g.match(h0)) {
|
|
615
|
+
const y = d.slice(0, x), v = d.slice(x + 1), b = k.match(Kn);
|
|
616
|
+
b && (y.push(b[1]), v.unshift(b[2])), v.length && (o = v.join(".") + o), this.hostname = y.join(".");
|
|
617
617
|
break;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
@@ -624,7 +624,7 @@ oe.prototype.parse = function(u, e) {
|
|
|
624
624
|
const c = o.indexOf("#");
|
|
625
625
|
c !== -1 && (this.hash = o.substr(c), o = o.slice(0, c));
|
|
626
626
|
const s = o.indexOf("?");
|
|
627
|
-
return s !== -1 && (this.search = o.substr(s), o = o.slice(0, s)), o && (this.pathname = o),
|
|
627
|
+
return s !== -1 && (this.search = o.substr(s), o = o.slice(0, s)), o && (this.pathname = o), m0[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
628
628
|
};
|
|
629
629
|
oe.prototype.parseHost = function(u) {
|
|
630
630
|
let e = Wn.exec(u);
|
|
@@ -632,18 +632,18 @@ oe.prototype.parseHost = function(u) {
|
|
|
632
632
|
};
|
|
633
633
|
const ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
634
634
|
__proto__: null,
|
|
635
|
-
decode:
|
|
635
|
+
decode: Lu,
|
|
636
636
|
encode: Ju,
|
|
637
|
-
format:
|
|
638
|
-
parse:
|
|
639
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
637
|
+
format: Ze,
|
|
638
|
+
parse: We
|
|
639
|
+
}, Symbol.toStringTag, { value: "Module" })), U0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Z0 = /[\0-\x1F\x7F-\x9F]/, er = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, Ge = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, W0 = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, G0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
640
640
|
__proto__: null,
|
|
641
|
-
Any:
|
|
642
|
-
Cc:
|
|
641
|
+
Any: U0,
|
|
642
|
+
Cc: Z0,
|
|
643
643
|
Cf: er,
|
|
644
|
-
P:
|
|
645
|
-
S:
|
|
646
|
-
Z:
|
|
644
|
+
P: Ge,
|
|
645
|
+
S: W0,
|
|
646
|
+
Z: G0
|
|
647
647
|
}, Symbol.toStringTag, { value: "Module" })), nr = new Uint16Array(
|
|
648
648
|
// prettier-ignore
|
|
649
649
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((u) => u.charCodeAt(0))
|
|
@@ -651,7 +651,7 @@ const ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
651
651
|
// prettier-ignore
|
|
652
652
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
653
653
|
);
|
|
654
|
-
var
|
|
654
|
+
var De;
|
|
655
655
|
const or = /* @__PURE__ */ new Map([
|
|
656
656
|
[0, 65533],
|
|
657
657
|
// C1 Unicode control character reference replacements
|
|
@@ -684,7 +684,7 @@ const or = /* @__PURE__ */ new Map([
|
|
|
684
684
|
[159, 376]
|
|
685
685
|
]), cr = (
|
|
686
686
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
687
|
-
(
|
|
687
|
+
(De = String.fromCodePoint) !== null && De !== void 0 ? De : function(u) {
|
|
688
688
|
let e = "";
|
|
689
689
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
690
690
|
}
|
|
@@ -702,33 +702,33 @@ var ku;
|
|
|
702
702
|
(function(u) {
|
|
703
703
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
704
704
|
})(ku || (ku = {}));
|
|
705
|
-
function
|
|
705
|
+
function Le(u) {
|
|
706
706
|
return u >= N.ZERO && u <= N.NINE;
|
|
707
707
|
}
|
|
708
708
|
function ar(u) {
|
|
709
709
|
return u >= N.UPPER_A && u <= N.UPPER_F || u >= N.LOWER_A && u <= N.LOWER_F;
|
|
710
710
|
}
|
|
711
711
|
function lr(u) {
|
|
712
|
-
return u >= N.UPPER_A && u <= N.UPPER_Z || u >= N.LOWER_A && u <= N.LOWER_Z ||
|
|
712
|
+
return u >= N.UPPER_A && u <= N.UPPER_Z || u >= N.LOWER_A && u <= N.LOWER_Z || Le(u);
|
|
713
713
|
}
|
|
714
714
|
function fr(u) {
|
|
715
715
|
return u === N.EQUALS || lr(u);
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var P;
|
|
718
718
|
(function(u) {
|
|
719
719
|
u[u.EntityStart = 0] = "EntityStart", u[u.NumericStart = 1] = "NumericStart", u[u.NumericDecimal = 2] = "NumericDecimal", u[u.NumericHex = 3] = "NumericHex", u[u.NamedEntity = 4] = "NamedEntity";
|
|
720
|
-
})(
|
|
720
|
+
})(P || (P = {}));
|
|
721
721
|
var gu;
|
|
722
722
|
(function(u) {
|
|
723
723
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
724
724
|
})(gu || (gu = {}));
|
|
725
725
|
class dr {
|
|
726
726
|
constructor(e, t, n) {
|
|
727
|
-
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state =
|
|
727
|
+
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = P.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = gu.Strict;
|
|
728
728
|
}
|
|
729
729
|
/** Resets the instance to make it reusable. */
|
|
730
730
|
startEntity(e) {
|
|
731
|
-
this.decodeMode = e, this.state =
|
|
731
|
+
this.decodeMode = e, this.state = P.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
732
732
|
}
|
|
733
733
|
/**
|
|
734
734
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -743,15 +743,15 @@ class dr {
|
|
|
743
743
|
*/
|
|
744
744
|
write(e, t) {
|
|
745
745
|
switch (this.state) {
|
|
746
|
-
case
|
|
747
|
-
return e.charCodeAt(t) === N.NUM ? (this.state =
|
|
748
|
-
case
|
|
746
|
+
case P.EntityStart:
|
|
747
|
+
return e.charCodeAt(t) === N.NUM ? (this.state = P.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = P.NamedEntity, this.stateNamedEntity(e, t));
|
|
748
|
+
case P.NumericStart:
|
|
749
749
|
return this.stateNumericStart(e, t);
|
|
750
|
-
case
|
|
750
|
+
case P.NumericDecimal:
|
|
751
751
|
return this.stateNumericDecimal(e, t);
|
|
752
|
-
case
|
|
752
|
+
case P.NumericHex:
|
|
753
753
|
return this.stateNumericHex(e, t);
|
|
754
|
-
case
|
|
754
|
+
case P.NamedEntity:
|
|
755
755
|
return this.stateNamedEntity(e, t);
|
|
756
756
|
}
|
|
757
757
|
}
|
|
@@ -765,7 +765,7 @@ class dr {
|
|
|
765
765
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
766
766
|
*/
|
|
767
767
|
stateNumericStart(e, t) {
|
|
768
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) | sr) === N.LOWER_X ? (this.state =
|
|
768
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | sr) === N.LOWER_X ? (this.state = P.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = P.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
769
769
|
}
|
|
770
770
|
addToNumericResult(e, t, n, r) {
|
|
771
771
|
if (t !== n) {
|
|
@@ -786,7 +786,7 @@ class dr {
|
|
|
786
786
|
const n = t;
|
|
787
787
|
for (; t < e.length; ) {
|
|
788
788
|
const r = e.charCodeAt(t);
|
|
789
|
-
if (
|
|
789
|
+
if (Le(r) || ar(r))
|
|
790
790
|
t += 1;
|
|
791
791
|
else
|
|
792
792
|
return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -806,7 +806,7 @@ class dr {
|
|
|
806
806
|
const n = t;
|
|
807
807
|
for (; t < e.length; ) {
|
|
808
808
|
const r = e.charCodeAt(t);
|
|
809
|
-
if (
|
|
809
|
+
if (Le(r))
|
|
810
810
|
t += 1;
|
|
811
811
|
else
|
|
812
812
|
return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
@@ -896,21 +896,21 @@ class dr {
|
|
|
896
896
|
end() {
|
|
897
897
|
var e;
|
|
898
898
|
switch (this.state) {
|
|
899
|
-
case
|
|
899
|
+
case P.NamedEntity:
|
|
900
900
|
return this.result !== 0 && (this.decodeMode !== gu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
901
901
|
// Otherwise, emit a numeric entity if we have one.
|
|
902
|
-
case
|
|
902
|
+
case P.NumericDecimal:
|
|
903
903
|
return this.emitNumericEntity(0, 2);
|
|
904
|
-
case
|
|
904
|
+
case P.NumericHex:
|
|
905
905
|
return this.emitNumericEntity(0, 3);
|
|
906
|
-
case
|
|
906
|
+
case P.NumericStart:
|
|
907
907
|
return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
908
|
-
case
|
|
908
|
+
case P.EntityStart:
|
|
909
909
|
return 0;
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function J0(u) {
|
|
914
914
|
let e = "";
|
|
915
915
|
const t = new dr(u, (n) => e += cr(n));
|
|
916
916
|
return function(r, o) {
|
|
@@ -952,15 +952,15 @@ function pr(u, e, t, n) {
|
|
|
952
952
|
}
|
|
953
953
|
return -1;
|
|
954
954
|
}
|
|
955
|
-
const hr =
|
|
956
|
-
|
|
957
|
-
function
|
|
955
|
+
const hr = J0(nr);
|
|
956
|
+
J0(rr);
|
|
957
|
+
function X0(u, e = gu.Legacy) {
|
|
958
958
|
return hr(u, e);
|
|
959
959
|
}
|
|
960
960
|
function br(u) {
|
|
961
961
|
return Object.prototype.toString.call(u);
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function Je(u) {
|
|
964
964
|
return br(u) === "[object String]";
|
|
965
965
|
}
|
|
966
966
|
const mr = Object.prototype.hasOwnProperty;
|
|
@@ -978,10 +978,10 @@ function he(u) {
|
|
|
978
978
|
}
|
|
979
979
|
}), u;
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function Q0(u, e, t) {
|
|
982
982
|
return [].concat(u.slice(0, e), t, u.slice(e + 1));
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function Xe(u) {
|
|
985
985
|
return !(u >= 55296 && u <= 57343 || u >= 64976 && u <= 65007 || (u & 65535) === 65535 || (u & 65535) === 65534 || u >= 0 && u <= 8 || u === 11 || u >= 14 && u <= 31 || u >= 127 && u <= 159 || u > 1114111);
|
|
986
986
|
}
|
|
987
987
|
function ce(u) {
|
|
@@ -992,19 +992,19 @@ function ce(u) {
|
|
|
992
992
|
}
|
|
993
993
|
return String.fromCharCode(u);
|
|
994
994
|
}
|
|
995
|
-
const
|
|
995
|
+
const Y0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, gr = /&([a-z#][a-z0-9]{1,31});/gi, _r = new RegExp(Y0.source + "|" + gr.source, "gi"), kr = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
996
996
|
function yr(u, e) {
|
|
997
997
|
if (e.charCodeAt(0) === 35 && kr.test(e)) {
|
|
998
998
|
const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
999
|
-
return
|
|
999
|
+
return Xe(n) ? ce(n) : u;
|
|
1000
1000
|
}
|
|
1001
|
-
const t =
|
|
1001
|
+
const t = X0(u);
|
|
1002
1002
|
return t !== u ? t : u;
|
|
1003
1003
|
}
|
|
1004
1004
|
function vr(u) {
|
|
1005
|
-
return u.indexOf("\\") < 0 ? u : u.replace(
|
|
1005
|
+
return u.indexOf("\\") < 0 ? u : u.replace(Y0, "$1");
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function Ru(u) {
|
|
1008
1008
|
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(_r, function(e, t, n) {
|
|
1009
1009
|
return t || yr(e, n);
|
|
1010
1010
|
});
|
|
@@ -1033,7 +1033,7 @@ function T(u) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
return !1;
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function ju(u) {
|
|
1037
1037
|
if (u >= 8192 && u <= 8202)
|
|
1038
1038
|
return !0;
|
|
1039
1039
|
switch (u) {
|
|
@@ -1057,10 +1057,10 @@ function Vu(u) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
return !1;
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return
|
|
1060
|
+
function Hu(u) {
|
|
1061
|
+
return Ge.test(u) || W0.test(u);
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function Vu(u) {
|
|
1064
1064
|
switch (u) {
|
|
1065
1065
|
case 33:
|
|
1066
1066
|
case 34:
|
|
@@ -1104,21 +1104,21 @@ function be(u) {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
const Sr = { mdurl: ur, ucmicro: tr }, zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1106
1106
|
__proto__: null,
|
|
1107
|
-
arrayReplaceAt:
|
|
1107
|
+
arrayReplaceAt: Q0,
|
|
1108
1108
|
assign: he,
|
|
1109
1109
|
escapeHtml: yu,
|
|
1110
1110
|
escapeRE: Fr,
|
|
1111
1111
|
fromCodePoint: ce,
|
|
1112
1112
|
has: xr,
|
|
1113
|
-
isMdAsciiPunct:
|
|
1114
|
-
isPunctChar:
|
|
1113
|
+
isMdAsciiPunct: Vu,
|
|
1114
|
+
isPunctChar: Hu,
|
|
1115
1115
|
isSpace: T,
|
|
1116
|
-
isString:
|
|
1117
|
-
isValidEntityCode:
|
|
1118
|
-
isWhiteSpace:
|
|
1116
|
+
isString: Je,
|
|
1117
|
+
isValidEntityCode: Xe,
|
|
1118
|
+
isWhiteSpace: ju,
|
|
1119
1119
|
lib: Sr,
|
|
1120
1120
|
normalizeReference: be,
|
|
1121
|
-
unescapeAll:
|
|
1121
|
+
unescapeAll: Ru,
|
|
1122
1122
|
unescapeMd: vr
|
|
1123
1123
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1124
1124
|
function qr(u, e, t) {
|
|
@@ -1151,7 +1151,7 @@ function Br(u, e, t) {
|
|
|
1151
1151
|
if (n = u.charCodeAt(r), n === 10 || n === 60)
|
|
1152
1152
|
return o;
|
|
1153
1153
|
if (n === 62)
|
|
1154
|
-
return o.pos = r + 1, o.str =
|
|
1154
|
+
return o.pos = r + 1, o.str = Ru(u.slice(e + 1, r)), o.ok = !0, o;
|
|
1155
1155
|
if (n === 92 && r + 1 < t) {
|
|
1156
1156
|
r += 2;
|
|
1157
1157
|
continue;
|
|
@@ -1177,7 +1177,7 @@ function Br(u, e, t) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
r++;
|
|
1179
1179
|
}
|
|
1180
|
-
return e === r || i !== 0 || (o.str =
|
|
1180
|
+
return e === r || i !== 0 || (o.str = Ru(u.slice(e, r)), o.pos = r, o.ok = !0), o;
|
|
1181
1181
|
}
|
|
1182
1182
|
function Tr(u, e, t, n) {
|
|
1183
1183
|
let r, o = e;
|
|
@@ -1205,30 +1205,30 @@ function Tr(u, e, t, n) {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
for (; o < t; ) {
|
|
1207
1207
|
if (r = u.charCodeAt(o), r === i.marker)
|
|
1208
|
-
return i.pos = o + 1, i.str +=
|
|
1208
|
+
return i.pos = o + 1, i.str += Ru(u.slice(e, o)), i.ok = !0, i;
|
|
1209
1209
|
if (r === 40 && i.marker === 41)
|
|
1210
1210
|
return i;
|
|
1211
1211
|
r === 92 && o + 1 < t && o++, o++;
|
|
1212
1212
|
}
|
|
1213
|
-
return i.can_continue = !0, i.str +=
|
|
1213
|
+
return i.can_continue = !0, i.str += Ru(u.slice(e, o)), i;
|
|
1214
1214
|
}
|
|
1215
1215
|
const Mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1216
1216
|
__proto__: null,
|
|
1217
1217
|
parseLinkDestination: Br,
|
|
1218
1218
|
parseLinkLabel: qr,
|
|
1219
1219
|
parseLinkTitle: Tr
|
|
1220
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1221
|
-
|
|
1220
|
+
}, Symbol.toStringTag, { value: "Module" })), fu = {};
|
|
1221
|
+
fu.code_inline = function(u, e, t, n, r) {
|
|
1222
1222
|
const o = u[e];
|
|
1223
1223
|
return "<code" + r.renderAttrs(o) + ">" + yu(o.content) + "</code>";
|
|
1224
1224
|
};
|
|
1225
|
-
|
|
1225
|
+
fu.code_block = function(u, e, t, n, r) {
|
|
1226
1226
|
const o = u[e];
|
|
1227
1227
|
return "<pre" + r.renderAttrs(o) + "><code>" + yu(u[e].content) + `</code></pre>
|
|
1228
1228
|
`;
|
|
1229
1229
|
};
|
|
1230
|
-
|
|
1231
|
-
const o = u[e], i = o.info ?
|
|
1230
|
+
fu.fence = function(u, e, t, n, r) {
|
|
1231
|
+
const o = u[e], i = o.info ? Ru(o.info).trim() : "";
|
|
1232
1232
|
let c = "", s = "";
|
|
1233
1233
|
if (i) {
|
|
1234
1234
|
const l = i.split(/(\s+)/g);
|
|
@@ -1250,34 +1250,34 @@ lu.fence = function(u, e, t, n, r) {
|
|
|
1250
1250
|
return `<pre><code${r.renderAttrs(o)}>${a}</code></pre>
|
|
1251
1251
|
`;
|
|
1252
1252
|
};
|
|
1253
|
-
|
|
1253
|
+
fu.image = function(u, e, t, n, r) {
|
|
1254
1254
|
const o = u[e];
|
|
1255
1255
|
return o.attrs[o.attrIndex("alt")][1] = r.renderInlineAsText(o.children, t, n), r.renderToken(u, e, t);
|
|
1256
1256
|
};
|
|
1257
|
-
|
|
1257
|
+
fu.hardbreak = function(u, e, t) {
|
|
1258
1258
|
return t.xhtmlOut ? `<br />
|
|
1259
1259
|
` : `<br>
|
|
1260
1260
|
`;
|
|
1261
1261
|
};
|
|
1262
|
-
|
|
1262
|
+
fu.softbreak = function(u, e, t) {
|
|
1263
1263
|
return t.breaks ? t.xhtmlOut ? `<br />
|
|
1264
1264
|
` : `<br>
|
|
1265
1265
|
` : `
|
|
1266
1266
|
`;
|
|
1267
1267
|
};
|
|
1268
|
-
|
|
1268
|
+
fu.text = function(u, e) {
|
|
1269
1269
|
return yu(u[e].content);
|
|
1270
1270
|
};
|
|
1271
|
-
|
|
1271
|
+
fu.html_block = function(u, e) {
|
|
1272
1272
|
return u[e].content;
|
|
1273
1273
|
};
|
|
1274
|
-
|
|
1274
|
+
fu.html_inline = function(u, e) {
|
|
1275
1275
|
return u[e].content;
|
|
1276
1276
|
};
|
|
1277
|
-
function
|
|
1278
|
-
this.rules = he({},
|
|
1277
|
+
function Ou() {
|
|
1278
|
+
this.rules = he({}, fu);
|
|
1279
1279
|
}
|
|
1280
|
-
|
|
1280
|
+
Ou.prototype.renderAttrs = function(e) {
|
|
1281
1281
|
let t, n, r;
|
|
1282
1282
|
if (!e.attrs)
|
|
1283
1283
|
return "";
|
|
@@ -1285,7 +1285,7 @@ Nu.prototype.renderAttrs = function(e) {
|
|
|
1285
1285
|
r += " " + yu(e.attrs[t][0]) + '="' + yu(e.attrs[t][1]) + '"';
|
|
1286
1286
|
return r;
|
|
1287
1287
|
};
|
|
1288
|
-
|
|
1288
|
+
Ou.prototype.renderToken = function(e, t, n) {
|
|
1289
1289
|
const r = e[t];
|
|
1290
1290
|
let o = "";
|
|
1291
1291
|
if (r.hidden)
|
|
@@ -1300,7 +1300,7 @@ Nu.prototype.renderToken = function(e, t, n) {
|
|
|
1300
1300
|
return o += i ? `>
|
|
1301
1301
|
` : ">", o;
|
|
1302
1302
|
};
|
|
1303
|
-
|
|
1303
|
+
Ou.prototype.renderInline = function(u, e, t) {
|
|
1304
1304
|
let n = "";
|
|
1305
1305
|
const r = this.rules;
|
|
1306
1306
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
@@ -1309,7 +1309,7 @@ Nu.prototype.renderInline = function(u, e, t) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
return n;
|
|
1311
1311
|
};
|
|
1312
|
-
|
|
1312
|
+
Ou.prototype.renderInlineAsText = function(u, e, t) {
|
|
1313
1313
|
let n = "";
|
|
1314
1314
|
for (let r = 0, o = u.length; r < o; r++)
|
|
1315
1315
|
switch (u[r].type) {
|
|
@@ -1331,7 +1331,7 @@ Nu.prototype.renderInlineAsText = function(u, e, t) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
return n;
|
|
1333
1333
|
};
|
|
1334
|
-
|
|
1334
|
+
Ou.prototype.render = function(u, e, t) {
|
|
1335
1335
|
let n = "";
|
|
1336
1336
|
const r = this.rules;
|
|
1337
1337
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
@@ -1432,10 +1432,10 @@ Z.prototype.disable = function(u, e) {
|
|
|
1432
1432
|
Z.prototype.getRules = function(u) {
|
|
1433
1433
|
return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
|
|
1434
1434
|
};
|
|
1435
|
-
function
|
|
1435
|
+
function K0(u, e, t) {
|
|
1436
1436
|
this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
1437
1437
|
}
|
|
1438
|
-
|
|
1438
|
+
K0.prototype.Token = K;
|
|
1439
1439
|
const Lr = /\r\n?|\n/g, Rr = /\0/g;
|
|
1440
1440
|
function Ir(u) {
|
|
1441
1441
|
let e;
|
|
@@ -1483,30 +1483,30 @@ function jr(u) {
|
|
|
1483
1483
|
const d = a[p].url, x = u.md.normalizeLink(d);
|
|
1484
1484
|
if (!u.md.validateLink(x))
|
|
1485
1485
|
continue;
|
|
1486
|
-
let
|
|
1487
|
-
a[p].schema ? a[p].schema === "mailto:" && !/^mailto:/i.test(
|
|
1488
|
-
const
|
|
1489
|
-
if (
|
|
1490
|
-
const
|
|
1491
|
-
|
|
1486
|
+
let _ = a[p].text;
|
|
1487
|
+
a[p].schema ? a[p].schema === "mailto:" && !/^mailto:/i.test(_) ? _ = u.md.normalizeLinkText("mailto:" + _).replace(/^mailto:/, "") : _ = u.md.normalizeLinkText(_) : _ = u.md.normalizeLinkText("http://" + _).replace(/^http:\/\//, "");
|
|
1488
|
+
const k = a[p].index;
|
|
1489
|
+
if (k > h) {
|
|
1490
|
+
const b = new u.Token("text", "", 0);
|
|
1491
|
+
b.content = s.slice(h, k), b.level = f, l.push(b);
|
|
1492
1492
|
}
|
|
1493
1493
|
const g = new u.Token("link_open", "a", 1);
|
|
1494
1494
|
g.attrs = [["href", x]], g.level = f++, g.markup = "linkify", g.info = "auto", l.push(g);
|
|
1495
1495
|
const y = new u.Token("text", "", 0);
|
|
1496
|
-
y.content =
|
|
1497
|
-
const
|
|
1498
|
-
|
|
1496
|
+
y.content = _, y.level = f, l.push(y);
|
|
1497
|
+
const v = new u.Token("link_close", "a", -1);
|
|
1498
|
+
v.level = --f, v.markup = "linkify", v.info = "auto", l.push(v), h = a[p].lastIndex;
|
|
1499
1499
|
}
|
|
1500
1500
|
if (h < s.length) {
|
|
1501
1501
|
const p = new u.Token("text", "", 0);
|
|
1502
1502
|
p.content = s.slice(h), p.level = f, l.push(p);
|
|
1503
1503
|
}
|
|
1504
|
-
e[t].children = r =
|
|
1504
|
+
e[t].children = r = Q0(r, i, l);
|
|
1505
1505
|
}
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
|
-
const
|
|
1509
|
+
const ut = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Hr = /\((c|tm|r)\)/i, Vr = /\((c|tm|r)\)/ig, Ur = {
|
|
1510
1510
|
c: "©",
|
|
1511
1511
|
r: "®",
|
|
1512
1512
|
tm: "™"
|
|
@@ -1525,16 +1525,16 @@ function Gr(u) {
|
|
|
1525
1525
|
let e = 0;
|
|
1526
1526
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1527
1527
|
const n = u[t];
|
|
1528
|
-
n.type === "text" && !e &&
|
|
1528
|
+
n.type === "text" && !e && ut.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1529
1529
|
}
|
|
1530
1530
|
}
|
|
1531
1531
|
function Jr(u) {
|
|
1532
1532
|
let e;
|
|
1533
1533
|
if (u.md.options.typographer)
|
|
1534
1534
|
for (e = u.tokens.length - 1; e >= 0; e--)
|
|
1535
|
-
u.tokens[e].type === "inline" && (Hr.test(u.tokens[e].content) && Wr(u.tokens[e].children),
|
|
1535
|
+
u.tokens[e].type === "inline" && (Hr.test(u.tokens[e].content) && Wr(u.tokens[e].children), ut.test(u.tokens[e].content) && Gr(u.tokens[e].children));
|
|
1536
1536
|
}
|
|
1537
|
-
const Xr = /['"]/,
|
|
1537
|
+
const Xr = /['"]/, x0 = /['"]/g, g0 = "’";
|
|
1538
1538
|
function ee(u, e, t) {
|
|
1539
1539
|
return u.slice(0, e) + t + u.slice(e + 1);
|
|
1540
1540
|
}
|
|
@@ -1550,8 +1550,8 @@ function Qr(u, e) {
|
|
|
1550
1550
|
let c = o.content, s = 0, a = c.length;
|
|
1551
1551
|
u:
|
|
1552
1552
|
for (; s < a; ) {
|
|
1553
|
-
|
|
1554
|
-
const l =
|
|
1553
|
+
x0.lastIndex = s;
|
|
1554
|
+
const l = x0.exec(c);
|
|
1555
1555
|
if (!l)
|
|
1556
1556
|
break;
|
|
1557
1557
|
let f = !0, h = !0;
|
|
@@ -1575,24 +1575,24 @@ function Qr(u, e) {
|
|
|
1575
1575
|
x = u[t].content.charCodeAt(0);
|
|
1576
1576
|
break;
|
|
1577
1577
|
}
|
|
1578
|
-
const
|
|
1579
|
-
if (y ? f = !1 :
|
|
1580
|
-
p && (o.content = ee(o.content, l.index,
|
|
1578
|
+
const _ = Vu(d) || Hu(String.fromCharCode(d)), k = Vu(x) || Hu(String.fromCharCode(x)), g = ju(d), y = ju(x);
|
|
1579
|
+
if (y ? f = !1 : k && (g || _ || (f = !1)), g ? h = !1 : _ && (y || k || (h = !1)), x === 34 && l[0] === '"' && d >= 48 && d <= 57 && (h = f = !1), f && h && (f = _, h = k), !f && !h) {
|
|
1580
|
+
p && (o.content = ee(o.content, l.index, g0));
|
|
1581
1581
|
continue;
|
|
1582
1582
|
}
|
|
1583
1583
|
if (h)
|
|
1584
1584
|
for (t = n.length - 1; t >= 0; t--) {
|
|
1585
|
-
let
|
|
1585
|
+
let v = n[t];
|
|
1586
1586
|
if (n[t].level < i)
|
|
1587
1587
|
break;
|
|
1588
|
-
if (
|
|
1589
|
-
|
|
1590
|
-
let
|
|
1591
|
-
p ? (
|
|
1592
|
-
u[
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
), s +=
|
|
1588
|
+
if (v.single === p && n[t].level === i) {
|
|
1589
|
+
v = n[t];
|
|
1590
|
+
let b, C;
|
|
1591
|
+
p ? (b = e.md.options.quotes[2], C = e.md.options.quotes[3]) : (b = e.md.options.quotes[0], C = e.md.options.quotes[1]), o.content = ee(o.content, l.index, C), u[v.token].content = ee(
|
|
1592
|
+
u[v.token].content,
|
|
1593
|
+
v.pos,
|
|
1594
|
+
b
|
|
1595
|
+
), s += C.length - 1, v.token === r && (s += b.length - 1), c = o.content, a = c.length, n.length = t;
|
|
1596
1596
|
continue u;
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
@@ -1601,7 +1601,7 @@ function Qr(u, e) {
|
|
|
1601
1601
|
pos: l.index,
|
|
1602
1602
|
single: p,
|
|
1603
1603
|
level: i
|
|
1604
|
-
}) : h && p && (o.content = ee(o.content, l.index,
|
|
1604
|
+
}) : h && p && (o.content = ee(o.content, l.index, g0));
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
1607
|
}
|
|
@@ -1623,7 +1623,7 @@ function Kr(u) {
|
|
|
1623
1623
|
e !== t && (i.length = t);
|
|
1624
1624
|
}
|
|
1625
1625
|
}
|
|
1626
|
-
const
|
|
1626
|
+
const Ee = [
|
|
1627
1627
|
["normalize", Ir],
|
|
1628
1628
|
["block", $r],
|
|
1629
1629
|
["inline", Or],
|
|
@@ -1634,18 +1634,18 @@ const De = [
|
|
|
1634
1634
|
// and joins them with the rest of the text
|
|
1635
1635
|
["text_join", Kr]
|
|
1636
1636
|
];
|
|
1637
|
-
function
|
|
1637
|
+
function Qe() {
|
|
1638
1638
|
this.ruler = new Z();
|
|
1639
|
-
for (let u = 0; u <
|
|
1640
|
-
this.ruler.push(
|
|
1639
|
+
for (let u = 0; u < Ee.length; u++)
|
|
1640
|
+
this.ruler.push(Ee[u][0], Ee[u][1]);
|
|
1641
1641
|
}
|
|
1642
|
-
|
|
1642
|
+
Qe.prototype.process = function(u) {
|
|
1643
1643
|
const e = this.ruler.getRules("");
|
|
1644
1644
|
for (let t = 0, n = e.length; t < n; t++)
|
|
1645
1645
|
e[t](u);
|
|
1646
1646
|
};
|
|
1647
|
-
|
|
1648
|
-
function
|
|
1647
|
+
Qe.prototype.State = K0;
|
|
1648
|
+
function du(u, e, t, n) {
|
|
1649
1649
|
this.src = u, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
|
|
1650
1650
|
const r = this.src;
|
|
1651
1651
|
for (let o = 0, i = 0, c = 0, s = 0, a = r.length, l = !1; i < a; i++) {
|
|
@@ -1660,19 +1660,19 @@ function fu(u, e, t, n) {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
1662
1662
|
}
|
|
1663
|
-
|
|
1664
|
-
const n = new
|
|
1663
|
+
du.prototype.push = function(u, e, t) {
|
|
1664
|
+
const n = new K(u, e, t);
|
|
1665
1665
|
return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
|
|
1666
1666
|
};
|
|
1667
|
-
|
|
1667
|
+
du.prototype.isEmpty = function(e) {
|
|
1668
1668
|
return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
|
|
1669
1669
|
};
|
|
1670
|
-
|
|
1670
|
+
du.prototype.skipEmptyLines = function(e) {
|
|
1671
1671
|
for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++)
|
|
1672
1672
|
;
|
|
1673
1673
|
return e;
|
|
1674
1674
|
};
|
|
1675
|
-
|
|
1675
|
+
du.prototype.skipSpaces = function(e) {
|
|
1676
1676
|
for (let t = this.src.length; e < t; e++) {
|
|
1677
1677
|
const n = this.src.charCodeAt(e);
|
|
1678
1678
|
if (!T(n))
|
|
@@ -1680,7 +1680,7 @@ fu.prototype.skipSpaces = function(e) {
|
|
|
1680
1680
|
}
|
|
1681
1681
|
return e;
|
|
1682
1682
|
};
|
|
1683
|
-
|
|
1683
|
+
du.prototype.skipSpacesBack = function(e, t) {
|
|
1684
1684
|
if (e <= t)
|
|
1685
1685
|
return e;
|
|
1686
1686
|
for (; e > t; )
|
|
@@ -1688,12 +1688,12 @@ fu.prototype.skipSpacesBack = function(e, t) {
|
|
|
1688
1688
|
return e + 1;
|
|
1689
1689
|
return e;
|
|
1690
1690
|
};
|
|
1691
|
-
|
|
1691
|
+
du.prototype.skipChars = function(e, t) {
|
|
1692
1692
|
for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++)
|
|
1693
1693
|
;
|
|
1694
1694
|
return e;
|
|
1695
1695
|
};
|
|
1696
|
-
|
|
1696
|
+
du.prototype.skipCharsBack = function(e, t, n) {
|
|
1697
1697
|
if (e <= n)
|
|
1698
1698
|
return e;
|
|
1699
1699
|
for (; e > n; )
|
|
@@ -1701,7 +1701,7 @@ fu.prototype.skipCharsBack = function(e, t, n) {
|
|
|
1701
1701
|
return e + 1;
|
|
1702
1702
|
return e;
|
|
1703
1703
|
};
|
|
1704
|
-
|
|
1704
|
+
du.prototype.getLines = function(e, t, n, r) {
|
|
1705
1705
|
if (e >= t)
|
|
1706
1706
|
return "";
|
|
1707
1707
|
const o = new Array(t - e);
|
|
@@ -1723,13 +1723,13 @@ fu.prototype.getLines = function(e, t, n, r) {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
return o.join("");
|
|
1725
1725
|
};
|
|
1726
|
-
|
|
1726
|
+
du.prototype.Token = K;
|
|
1727
1727
|
const uo = 65536;
|
|
1728
|
-
function
|
|
1728
|
+
function Ae(u, e) {
|
|
1729
1729
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1730
1730
|
return u.src.slice(t, n);
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1732
|
+
function _0(u) {
|
|
1733
1733
|
const e = [], t = u.length;
|
|
1734
1734
|
let n = 0, r = u.charCodeAt(n), o = !1, i = 0, c = "";
|
|
1735
1735
|
for (; n < t; )
|
|
@@ -1752,27 +1752,27 @@ function eo(u, e, t, n) {
|
|
|
1752
1752
|
if (c !== 124 && c !== 45 && c !== 58 && !T(c) || i === 45 && T(c))
|
|
1753
1753
|
return !1;
|
|
1754
1754
|
for (; o < u.eMarks[r]; ) {
|
|
1755
|
-
const
|
|
1756
|
-
if (
|
|
1755
|
+
const v = u.src.charCodeAt(o);
|
|
1756
|
+
if (v !== 124 && v !== 45 && v !== 58 && !T(v))
|
|
1757
1757
|
return !1;
|
|
1758
1758
|
o++;
|
|
1759
1759
|
}
|
|
1760
|
-
let s =
|
|
1760
|
+
let s = Ae(u, e + 1), a = s.split("|");
|
|
1761
1761
|
const l = [];
|
|
1762
|
-
for (let
|
|
1763
|
-
const
|
|
1764
|
-
if (!
|
|
1765
|
-
if (
|
|
1762
|
+
for (let v = 0; v < a.length; v++) {
|
|
1763
|
+
const b = a[v].trim();
|
|
1764
|
+
if (!b) {
|
|
1765
|
+
if (v === 0 || v === a.length - 1)
|
|
1766
1766
|
continue;
|
|
1767
1767
|
return !1;
|
|
1768
1768
|
}
|
|
1769
|
-
if (!/^:?-+:?$/.test(
|
|
1769
|
+
if (!/^:?-+:?$/.test(b))
|
|
1770
1770
|
return !1;
|
|
1771
|
-
|
|
1771
|
+
b.charCodeAt(b.length - 1) === 58 ? l.push(b.charCodeAt(0) === 58 ? "center" : "right") : b.charCodeAt(0) === 58 ? l.push("left") : l.push("");
|
|
1772
1772
|
}
|
|
1773
|
-
if (s =
|
|
1773
|
+
if (s = Ae(u, e).trim(), s.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
1774
1774
|
return !1;
|
|
1775
|
-
a =
|
|
1775
|
+
a = _0(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop();
|
|
1776
1776
|
const f = a.length;
|
|
1777
1777
|
if (f === 0 || f !== l.length)
|
|
1778
1778
|
return !1;
|
|
@@ -1782,38 +1782,38 @@ function eo(u, e, t, n) {
|
|
|
1782
1782
|
u.parentType = "table";
|
|
1783
1783
|
const p = u.md.block.ruler.getRules("blockquote"), d = u.push("table_open", "table", 1), x = [e, 0];
|
|
1784
1784
|
d.map = x;
|
|
1785
|
-
const
|
|
1785
|
+
const _ = u.push("thead_open", "thead", 1);
|
|
1786
|
+
_.map = [e, e + 1];
|
|
1787
|
+
const k = u.push("tr_open", "tr", 1);
|
|
1786
1788
|
k.map = [e, e + 1];
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
const
|
|
1791
|
-
|
|
1792
|
-
const m = u.push("inline", "", 0);
|
|
1793
|
-
m.content = a[b].trim(), m.children = [], u.push("th_close", "th", -1);
|
|
1789
|
+
for (let v = 0; v < a.length; v++) {
|
|
1790
|
+
const b = u.push("th_open", "th", 1);
|
|
1791
|
+
l[v] && (b.attrs = [["style", "text-align:" + l[v]]]);
|
|
1792
|
+
const C = u.push("inline", "", 0);
|
|
1793
|
+
C.content = a[v].trim(), C.children = [], u.push("th_close", "th", -1);
|
|
1794
1794
|
}
|
|
1795
1795
|
u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
|
|
1796
1796
|
let g, y = 0;
|
|
1797
1797
|
for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
|
|
1798
|
-
let
|
|
1799
|
-
for (let
|
|
1800
|
-
if (p[
|
|
1801
|
-
|
|
1798
|
+
let v = !1;
|
|
1799
|
+
for (let C = 0, m = p.length; C < m; C++)
|
|
1800
|
+
if (p[C](u, r, t, !0)) {
|
|
1801
|
+
v = !0;
|
|
1802
1802
|
break;
|
|
1803
1803
|
}
|
|
1804
|
-
if (
|
|
1804
|
+
if (v || (s = Ae(u, r).trim(), !s) || u.sCount[r] - u.blkIndent >= 4 || (a = _0(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop(), y += f - a.length, y > uo))
|
|
1805
1805
|
break;
|
|
1806
1806
|
if (r === e + 2) {
|
|
1807
|
-
const
|
|
1808
|
-
|
|
1807
|
+
const C = u.push("tbody_open", "tbody", 1);
|
|
1808
|
+
C.map = g = [e + 2, 0];
|
|
1809
1809
|
}
|
|
1810
|
-
const
|
|
1811
|
-
|
|
1812
|
-
for (let
|
|
1813
|
-
const
|
|
1814
|
-
l[
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1810
|
+
const b = u.push("tr_open", "tr", 1);
|
|
1811
|
+
b.map = [r, r + 1];
|
|
1812
|
+
for (let C = 0; C < f; C++) {
|
|
1813
|
+
const m = u.push("td_open", "td", 1);
|
|
1814
|
+
l[C] && (m.attrs = [["style", "text-align:" + l[C]]]);
|
|
1815
|
+
const z = u.push("inline", "", 0);
|
|
1816
|
+
z.content = a[C] ? a[C].trim() : "", z.children = [], u.push("td_close", "td", -1);
|
|
1817
1817
|
}
|
|
1818
1818
|
u.push("tr_close", "tr", -1);
|
|
1819
1819
|
}
|
|
@@ -1881,29 +1881,29 @@ function ro(u, e, t, n) {
|
|
|
1881
1881
|
if (r = u.bMarks[d] + u.tShift[d], o = u.eMarks[d], r >= o)
|
|
1882
1882
|
break;
|
|
1883
1883
|
if (u.src.charCodeAt(r++) === 62 && !y) {
|
|
1884
|
-
let
|
|
1885
|
-
u.src.charCodeAt(r) === 32 ? (r++,
|
|
1886
|
-
let
|
|
1884
|
+
let b = u.sCount[d] + 1, C, m;
|
|
1885
|
+
u.src.charCodeAt(r) === 32 ? (r++, b++, m = !1, C = !0) : u.src.charCodeAt(r) === 9 ? (C = !0, (u.bsCount[d] + b) % 4 === 3 ? (r++, b++, m = !1) : m = !0) : C = !1;
|
|
1886
|
+
let z = b;
|
|
1887
1887
|
for (c.push(u.bMarks[d]), u.bMarks[d] = r; r < o; ) {
|
|
1888
|
-
const
|
|
1889
|
-
if (T(
|
|
1890
|
-
|
|
1888
|
+
const F = u.src.charCodeAt(r);
|
|
1889
|
+
if (T(F))
|
|
1890
|
+
F === 9 ? z += 4 - (z + u.bsCount[d] + (m ? 1 : 0)) % 4 : z++;
|
|
1891
1891
|
else
|
|
1892
1892
|
break;
|
|
1893
1893
|
r++;
|
|
1894
1894
|
}
|
|
1895
|
-
p = r >= o, s.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (
|
|
1895
|
+
p = r >= o, s.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (C ? 1 : 0), a.push(u.sCount[d]), u.sCount[d] = z - b, l.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
|
|
1896
1896
|
continue;
|
|
1897
1897
|
}
|
|
1898
1898
|
if (p)
|
|
1899
1899
|
break;
|
|
1900
|
-
let
|
|
1901
|
-
for (let
|
|
1902
|
-
if (f[
|
|
1903
|
-
|
|
1900
|
+
let v = !1;
|
|
1901
|
+
for (let b = 0, C = f.length; b < C; b++)
|
|
1902
|
+
if (f[b](u, d, t, !0)) {
|
|
1903
|
+
v = !0;
|
|
1904
1904
|
break;
|
|
1905
1905
|
}
|
|
1906
|
-
if (
|
|
1906
|
+
if (v) {
|
|
1907
1907
|
u.lineMax = d, u.blkIndent !== 0 && (c.push(u.bMarks[d]), s.push(u.bsCount[d]), l.push(u.tShift[d]), a.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
|
|
1908
1908
|
break;
|
|
1909
1909
|
}
|
|
@@ -1911,12 +1911,12 @@ function ro(u, e, t, n) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
const x = u.blkIndent;
|
|
1913
1913
|
u.blkIndent = 0;
|
|
1914
|
-
const
|
|
1915
|
-
|
|
1916
|
-
const
|
|
1917
|
-
|
|
1914
|
+
const _ = u.push("blockquote_open", "blockquote", 1);
|
|
1915
|
+
_.markup = ">";
|
|
1916
|
+
const k = [e, 0];
|
|
1917
|
+
_.map = k, u.md.block.tokenize(u, e, d);
|
|
1918
1918
|
const g = u.push("blockquote_close", "blockquote", -1);
|
|
1919
|
-
g.markup = ">", u.lineMax = i, u.parentType = h,
|
|
1919
|
+
g.markup = ">", u.lineMax = i, u.parentType = h, k[1] = u.line;
|
|
1920
1920
|
for (let y = 0; y < l.length; y++)
|
|
1921
1921
|
u.bMarks[y + e] = c[y], u.tShift[y + e] = l[y], u.sCount[y + e] = a[y], u.bsCount[y + e] = s[y];
|
|
1922
1922
|
return u.blkIndent = x, !0;
|
|
@@ -1944,7 +1944,7 @@ function oo(u, e, t, n) {
|
|
|
1944
1944
|
const s = u.push("hr", "hr", 0);
|
|
1945
1945
|
return s.map = [e, u.line], s.markup = Array(c + 1).join(String.fromCharCode(i)), !0;
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function k0(u, e) {
|
|
1948
1948
|
const t = u.eMarks[e];
|
|
1949
1949
|
let n = u.bMarks[e] + u.tShift[e];
|
|
1950
1950
|
const r = u.src.charCodeAt(n++);
|
|
@@ -1957,7 +1957,7 @@ function _0(u, e) {
|
|
|
1957
1957
|
}
|
|
1958
1958
|
return n;
|
|
1959
1959
|
}
|
|
1960
|
-
function
|
|
1960
|
+
function y0(u, e) {
|
|
1961
1961
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1962
1962
|
let r = t;
|
|
1963
1963
|
if (r + 1 >= n)
|
|
@@ -1991,9 +1991,9 @@ function io(u, e, t, n) {
|
|
|
1991
1991
|
let l = !1;
|
|
1992
1992
|
n && u.parentType === "paragraph" && u.sCount[s] >= u.blkIndent && (l = !0);
|
|
1993
1993
|
let f, h, p;
|
|
1994
|
-
if ((p =
|
|
1994
|
+
if ((p = y0(u, s)) >= 0) {
|
|
1995
1995
|
if (f = !0, i = u.bMarks[s] + u.tShift[s], h = Number(u.src.slice(i, p - 1)), l && h !== 1) return !1;
|
|
1996
|
-
} else if ((p =
|
|
1996
|
+
} else if ((p = k0(u, s)) >= 0)
|
|
1997
1997
|
f = !1;
|
|
1998
1998
|
else
|
|
1999
1999
|
return !1;
|
|
@@ -2003,52 +2003,52 @@ function io(u, e, t, n) {
|
|
|
2003
2003
|
return !0;
|
|
2004
2004
|
const d = u.src.charCodeAt(p - 1), x = u.tokens.length;
|
|
2005
2005
|
f ? (c = u.push("ordered_list_open", "ol", 1), h !== 1 && (c.attrs = [["start", h]])) : c = u.push("bullet_list_open", "ul", 1);
|
|
2006
|
-
const
|
|
2007
|
-
c.map =
|
|
2008
|
-
let
|
|
2006
|
+
const _ = [s, 0];
|
|
2007
|
+
c.map = _, c.markup = String.fromCharCode(d);
|
|
2008
|
+
let k = !1;
|
|
2009
2009
|
const g = u.md.block.ruler.getRules("list"), y = u.parentType;
|
|
2010
2010
|
for (u.parentType = "list"; s < t; ) {
|
|
2011
2011
|
o = p, r = u.eMarks[s];
|
|
2012
|
-
const
|
|
2013
|
-
let
|
|
2012
|
+
const v = u.sCount[s] + p - (u.bMarks[s] + u.tShift[s]);
|
|
2013
|
+
let b = v;
|
|
2014
2014
|
for (; o < r; ) {
|
|
2015
|
-
const
|
|
2016
|
-
if (
|
|
2017
|
-
|
|
2018
|
-
else if (
|
|
2019
|
-
|
|
2015
|
+
const G = u.src.charCodeAt(o);
|
|
2016
|
+
if (G === 9)
|
|
2017
|
+
b += 4 - (b + u.bsCount[s]) % 4;
|
|
2018
|
+
else if (G === 32)
|
|
2019
|
+
b++;
|
|
2020
2020
|
else
|
|
2021
2021
|
break;
|
|
2022
2022
|
o++;
|
|
2023
2023
|
}
|
|
2024
|
-
const
|
|
2025
|
-
let
|
|
2026
|
-
|
|
2027
|
-
const
|
|
2024
|
+
const C = o;
|
|
2025
|
+
let m;
|
|
2026
|
+
C >= r ? m = 1 : m = b - v, m > 4 && (m = 1);
|
|
2027
|
+
const z = v + m;
|
|
2028
2028
|
c = u.push("list_item_open", "li", 1), c.markup = String.fromCharCode(d);
|
|
2029
|
-
const
|
|
2030
|
-
c.map =
|
|
2031
|
-
const
|
|
2032
|
-
if (u.listIndent = u.blkIndent, u.blkIndent =
|
|
2029
|
+
const F = [s, 0];
|
|
2030
|
+
c.map = F, f && (c.info = u.src.slice(i, p - 1));
|
|
2031
|
+
const q = u.tight, M = u.tShift[s], W = u.sCount[s], ru = u.listIndent;
|
|
2032
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = z, u.tight = !0, u.tShift[s] = C - u.bMarks[s], u.sCount[s] = b, C >= r && u.isEmpty(s + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, s, t, !0), (!u.tight || k) && (a = !1), k = u.line - s > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = ru, u.tShift[s] = M, u.sCount[s] = W, u.tight = q, c = u.push("list_item_close", "li", -1), c.markup = String.fromCharCode(d), s = u.line, F[1] = s, s >= t || u.sCount[s] < u.blkIndent || u.sCount[s] - u.blkIndent >= 4)
|
|
2033
2033
|
break;
|
|
2034
|
-
let
|
|
2035
|
-
for (let
|
|
2036
|
-
if (g[
|
|
2037
|
-
|
|
2034
|
+
let Q = !1;
|
|
2035
|
+
for (let G = 0, hu = g.length; G < hu; G++)
|
|
2036
|
+
if (g[G](u, s, t, !0)) {
|
|
2037
|
+
Q = !0;
|
|
2038
2038
|
break;
|
|
2039
2039
|
}
|
|
2040
|
-
if (
|
|
2040
|
+
if (Q)
|
|
2041
2041
|
break;
|
|
2042
2042
|
if (f) {
|
|
2043
|
-
if (p =
|
|
2043
|
+
if (p = y0(u, s), p < 0)
|
|
2044
2044
|
break;
|
|
2045
2045
|
i = u.bMarks[s] + u.tShift[s];
|
|
2046
|
-
} else if (p =
|
|
2046
|
+
} else if (p = k0(u, s), p < 0)
|
|
2047
2047
|
break;
|
|
2048
2048
|
if (d !== u.src.charCodeAt(p - 1))
|
|
2049
2049
|
break;
|
|
2050
2050
|
}
|
|
2051
|
-
return f ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(d),
|
|
2051
|
+
return f ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(d), _[1] = s, u.line = s, u.parentType = y, a && co(u, x), !0;
|
|
2052
2052
|
}
|
|
2053
2053
|
function so(u, e, t, n) {
|
|
2054
2054
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], i = e + 1;
|
|
@@ -2058,21 +2058,21 @@ function so(u, e, t, n) {
|
|
|
2058
2058
|
const y = u.lineMax;
|
|
2059
2059
|
if (g >= y || u.isEmpty(g))
|
|
2060
2060
|
return null;
|
|
2061
|
-
let
|
|
2062
|
-
if (u.sCount[g] - u.blkIndent > 3 && (
|
|
2063
|
-
const
|
|
2061
|
+
let v = !1;
|
|
2062
|
+
if (u.sCount[g] - u.blkIndent > 3 && (v = !0), u.sCount[g] < 0 && (v = !0), !v) {
|
|
2063
|
+
const m = u.md.block.ruler.getRules("reference"), z = u.parentType;
|
|
2064
2064
|
u.parentType = "reference";
|
|
2065
|
-
let
|
|
2066
|
-
for (let
|
|
2067
|
-
if (
|
|
2068
|
-
|
|
2065
|
+
let F = !1;
|
|
2066
|
+
for (let q = 0, M = m.length; q < M; q++)
|
|
2067
|
+
if (m[q](u, g, y, !0)) {
|
|
2068
|
+
F = !0;
|
|
2069
2069
|
break;
|
|
2070
2070
|
}
|
|
2071
|
-
if (u.parentType =
|
|
2071
|
+
if (u.parentType = z, F)
|
|
2072
2072
|
return null;
|
|
2073
2073
|
}
|
|
2074
|
-
const
|
|
2075
|
-
return u.src.slice(
|
|
2074
|
+
const b = u.bMarks[g] + u.tShift[g], C = u.eMarks[g];
|
|
2075
|
+
return u.src.slice(b, C + 1);
|
|
2076
2076
|
}
|
|
2077
2077
|
let s = u.src.slice(r, o + 1);
|
|
2078
2078
|
o = s.length;
|
|
@@ -2122,15 +2122,15 @@ function so(u, e, t, n) {
|
|
|
2122
2122
|
if (g === null) break;
|
|
2123
2123
|
s += g, r = o, o = s.length, i++, x = u.md.helpers.parseLinkTitle(s, r, o, x);
|
|
2124
2124
|
}
|
|
2125
|
-
let
|
|
2126
|
-
for (r < o && d !== r && x.ok ? (
|
|
2125
|
+
let _;
|
|
2126
|
+
for (r < o && d !== r && x.ok ? (_ = x.str, r = x.pos) : (_ = "", r = h, i = p); r < o; ) {
|
|
2127
2127
|
const g = s.charCodeAt(r);
|
|
2128
2128
|
if (!T(g))
|
|
2129
2129
|
break;
|
|
2130
2130
|
r++;
|
|
2131
2131
|
}
|
|
2132
|
-
if (r < o && s.charCodeAt(r) !== 10 &&
|
|
2133
|
-
for (
|
|
2132
|
+
if (r < o && s.charCodeAt(r) !== 10 && _)
|
|
2133
|
+
for (_ = "", r = h, i = p; r < o; ) {
|
|
2134
2134
|
const g = s.charCodeAt(r);
|
|
2135
2135
|
if (!T(g))
|
|
2136
2136
|
break;
|
|
@@ -2138,8 +2138,8 @@ function so(u, e, t, n) {
|
|
|
2138
2138
|
}
|
|
2139
2139
|
if (r < o && s.charCodeAt(r) !== 10)
|
|
2140
2140
|
return !1;
|
|
2141
|
-
const
|
|
2142
|
-
return
|
|
2141
|
+
const k = be(s.slice(1, a));
|
|
2142
|
+
return k ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[k] > "u" && (u.env.references[k] = { title: _, href: f }), u.line = i), !0) : !1;
|
|
2143
2143
|
}
|
|
2144
2144
|
const ao = [
|
|
2145
2145
|
"address",
|
|
@@ -2204,7 +2204,7 @@ const ao = [
|
|
|
2204
2204
|
"tr",
|
|
2205
2205
|
"track",
|
|
2206
2206
|
"ul"
|
|
2207
|
-
], lo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", fo = "[^\"'=<>`\\x00-\\x20]+", po = "'[^']*'", ho = '"[^"]*"', bo = "(?:" + fo + "|" + po + "|" + ho + ")", mo = "(?:\\s+" + lo + "(?:\\s*=\\s*" + bo + ")?)",
|
|
2207
|
+
], lo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", fo = "[^\"'=<>`\\x00-\\x20]+", po = "'[^']*'", ho = '"[^"]*"', bo = "(?:" + fo + "|" + po + "|" + ho + ")", mo = "(?:\\s+" + lo + "(?:\\s*=\\s*" + bo + ")?)", et = "<[A-Za-z][A-Za-z0-9\\-]*" + mo + "*\\s*\\/?>", tt = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", xo = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", go = "<[?][\\s\\S]*?[?]>", _o = "<![A-Za-z][^>]*>", ko = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", yo = new RegExp("^(?:" + et + "|" + tt + "|" + xo + "|" + go + "|" + _o + "|" + ko + ")"), vo = new RegExp("^(?:" + et + "|" + tt + ")"), Su = [
|
|
2208
2208
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
2209
2209
|
[/^<!--/, /-->/, !0],
|
|
2210
2210
|
[/^<\?/, /\?>/, !0],
|
|
@@ -2218,16 +2218,16 @@ function Co(u, e, t, n) {
|
|
|
2218
2218
|
if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
|
|
2219
2219
|
return !1;
|
|
2220
2220
|
let i = u.src.slice(r, o), c = 0;
|
|
2221
|
-
for (; c <
|
|
2221
|
+
for (; c < Su.length && !Su[c][0].test(i); c++)
|
|
2222
2222
|
;
|
|
2223
|
-
if (c ===
|
|
2223
|
+
if (c === Su.length)
|
|
2224
2224
|
return !1;
|
|
2225
2225
|
if (n)
|
|
2226
|
-
return
|
|
2226
|
+
return Su[c][2];
|
|
2227
2227
|
let s = e + 1;
|
|
2228
|
-
if (!
|
|
2228
|
+
if (!Su[c][1].test(i)) {
|
|
2229
2229
|
for (; s < t && !(u.sCount[s] < u.blkIndent); s++)
|
|
2230
|
-
if (r = u.bMarks[s] + u.tShift[s], o = u.eMarks[s], i = u.src.slice(r, o),
|
|
2230
|
+
if (r = u.bMarks[s] + u.tShift[s], o = u.eMarks[s], i = u.src.slice(r, o), Su[c][1].test(i)) {
|
|
2231
2231
|
i.length !== 0 && s++;
|
|
2232
2232
|
break;
|
|
2233
2233
|
}
|
|
@@ -2368,17 +2368,17 @@ me.prototype.parse = function(u, e, t, n) {
|
|
|
2368
2368
|
const r = new this.State(u, e, t, n);
|
|
2369
2369
|
this.tokenize(r, r.line, r.lineMax);
|
|
2370
2370
|
};
|
|
2371
|
-
me.prototype.State =
|
|
2371
|
+
me.prototype.State = du;
|
|
2372
2372
|
function Xu(u, e, t, n) {
|
|
2373
2373
|
this.src = u, this.env = t, this.md = e, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
|
|
2374
2374
|
}
|
|
2375
2375
|
Xu.prototype.pushPending = function() {
|
|
2376
|
-
const u = new
|
|
2376
|
+
const u = new K("text", "", 0);
|
|
2377
2377
|
return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
|
|
2378
2378
|
};
|
|
2379
2379
|
Xu.prototype.push = function(u, e, t) {
|
|
2380
2380
|
this.pending && this.pushPending();
|
|
2381
|
-
const n = new
|
|
2381
|
+
const n = new K(u, e, t);
|
|
2382
2382
|
let r = null;
|
|
2383
2383
|
return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
|
|
2384
2384
|
};
|
|
@@ -2387,10 +2387,10 @@ Xu.prototype.scanDelims = function(u, e) {
|
|
|
2387
2387
|
let o = u;
|
|
2388
2388
|
for (; o < t && this.src.charCodeAt(o) === n; )
|
|
2389
2389
|
o++;
|
|
2390
|
-
const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, s =
|
|
2390
|
+
const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, s = Vu(r) || Hu(String.fromCharCode(r)), a = Vu(c) || Hu(String.fromCharCode(c)), l = ju(r), f = ju(c), h = !f && (!a || l || s), p = !l && (!s || f || a);
|
|
2391
2391
|
return { can_open: h && (e || !p || s), can_close: p && (e || !h || a), length: i };
|
|
2392
2392
|
};
|
|
2393
|
-
Xu.prototype.Token =
|
|
2393
|
+
Xu.prototype.Token = K;
|
|
2394
2394
|
function Ao(u) {
|
|
2395
2395
|
switch (u) {
|
|
2396
2396
|
case 10:
|
|
@@ -2471,11 +2471,11 @@ function qo(u, e) {
|
|
|
2471
2471
|
t++;
|
|
2472
2472
|
return u.pos = t, !0;
|
|
2473
2473
|
}
|
|
2474
|
-
const
|
|
2474
|
+
const Ye = [];
|
|
2475
2475
|
for (let u = 0; u < 256; u++)
|
|
2476
|
-
|
|
2476
|
+
Ye.push(0);
|
|
2477
2477
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2478
|
-
|
|
2478
|
+
Ye[u.charCodeAt(0)] = 1;
|
|
2479
2479
|
});
|
|
2480
2480
|
function Bo(u, e) {
|
|
2481
2481
|
let t = u.pos;
|
|
@@ -2495,7 +2495,7 @@ function Bo(u, e) {
|
|
|
2495
2495
|
const i = "\\" + o;
|
|
2496
2496
|
if (!e) {
|
|
2497
2497
|
const c = u.push("text_special", "", 0);
|
|
2498
|
-
r < 256 &&
|
|
2498
|
+
r < 256 && Ye[r] !== 0 ? c.content = o : c.content = i, c.markup = i, c.info = "escape";
|
|
2499
2499
|
}
|
|
2500
2500
|
return u.pos = t + 1, !0;
|
|
2501
2501
|
}
|
|
@@ -2550,7 +2550,7 @@ function Mo(u, e) {
|
|
|
2550
2550
|
});
|
|
2551
2551
|
return u.pos += r.length, !0;
|
|
2552
2552
|
}
|
|
2553
|
-
function
|
|
2553
|
+
function v0(u, e) {
|
|
2554
2554
|
let t;
|
|
2555
2555
|
const n = [], r = e.length;
|
|
2556
2556
|
for (let o = 0; o < r; o++) {
|
|
@@ -2570,11 +2570,11 @@ function y0(u, e) {
|
|
|
2570
2570
|
}
|
|
2571
2571
|
function Lo(u) {
|
|
2572
2572
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2573
|
-
|
|
2573
|
+
v0(u, u.delimiters);
|
|
2574
2574
|
for (let n = 0; n < t; n++)
|
|
2575
|
-
e[n] && e[n].delimiters &&
|
|
2575
|
+
e[n] && e[n].delimiters && v0(u, e[n].delimiters);
|
|
2576
2576
|
}
|
|
2577
|
-
const
|
|
2577
|
+
const nt = {
|
|
2578
2578
|
tokenize: Mo,
|
|
2579
2579
|
postProcess: Lo
|
|
2580
2580
|
};
|
|
@@ -2608,7 +2608,7 @@ function Ro(u, e) {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
return u.pos += r.length, !0;
|
|
2610
2610
|
}
|
|
2611
|
-
function
|
|
2611
|
+
function C0(u, e) {
|
|
2612
2612
|
const t = e.length;
|
|
2613
2613
|
for (let n = t - 1; n >= 0; n--) {
|
|
2614
2614
|
const r = e[n];
|
|
@@ -2624,11 +2624,11 @@ function v0(u, e) {
|
|
|
2624
2624
|
}
|
|
2625
2625
|
function Io(u) {
|
|
2626
2626
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2627
|
-
|
|
2627
|
+
C0(u, u.delimiters);
|
|
2628
2628
|
for (let n = 0; n < t; n++)
|
|
2629
|
-
e[n] && e[n].delimiters &&
|
|
2629
|
+
e[n] && e[n].delimiters && C0(u, e[n].delimiters);
|
|
2630
2630
|
}
|
|
2631
|
-
const
|
|
2631
|
+
const rt = {
|
|
2632
2632
|
tokenize: Ro,
|
|
2633
2633
|
postProcess: Io
|
|
2634
2634
|
};
|
|
@@ -2663,8 +2663,8 @@ function $o(u, e) {
|
|
|
2663
2663
|
}
|
|
2664
2664
|
if (!e) {
|
|
2665
2665
|
u.pos = h, u.posMax = p;
|
|
2666
|
-
const x = u.push("link_open", "a", 1),
|
|
2667
|
-
x.attrs =
|
|
2666
|
+
const x = u.push("link_open", "a", 1), _ = [["href", i]];
|
|
2667
|
+
x.attrs = _, c && _.push(["title", c]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
|
|
2668
2668
|
}
|
|
2669
2669
|
return u.pos = d, u.posMax = f, !0;
|
|
2670
2670
|
}
|
|
@@ -2707,8 +2707,8 @@ function Oo(u, e) {
|
|
|
2707
2707
|
u.env,
|
|
2708
2708
|
x
|
|
2709
2709
|
);
|
|
2710
|
-
const
|
|
2711
|
-
|
|
2710
|
+
const _ = u.push("image", "img", 0), k = [["src", l], ["alt", ""]];
|
|
2711
|
+
_.attrs = k, _.children = x, _.content = n, s && k.push(["title", s]);
|
|
2712
2712
|
}
|
|
2713
2713
|
return u.pos = o, u.posMax = h, !0;
|
|
2714
2714
|
}
|
|
@@ -2792,14 +2792,14 @@ function Jo(u, e) {
|
|
|
2792
2792
|
if (o) {
|
|
2793
2793
|
if (!e) {
|
|
2794
2794
|
const i = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), c = u.push("text_special", "", 0);
|
|
2795
|
-
c.content =
|
|
2795
|
+
c.content = Xe(i) ? ce(i) : ce(65533), c.markup = o[0], c.info = "entity";
|
|
2796
2796
|
}
|
|
2797
2797
|
return u.pos += o[0].length, !0;
|
|
2798
2798
|
}
|
|
2799
2799
|
} else {
|
|
2800
2800
|
const o = u.src.slice(t).match(Go);
|
|
2801
2801
|
if (o) {
|
|
2802
|
-
const i =
|
|
2802
|
+
const i = X0(o[0]);
|
|
2803
2803
|
if (i !== o[0]) {
|
|
2804
2804
|
if (!e) {
|
|
2805
2805
|
const c = u.push("text_special", "", 0);
|
|
@@ -2811,7 +2811,7 @@ function Jo(u, e) {
|
|
|
2811
2811
|
}
|
|
2812
2812
|
return !1;
|
|
2813
2813
|
}
|
|
2814
|
-
function
|
|
2814
|
+
function w0(u) {
|
|
2815
2815
|
const e = {}, t = u.length;
|
|
2816
2816
|
if (!t) return;
|
|
2817
2817
|
let n = 0, r = -2;
|
|
@@ -2838,9 +2838,9 @@ function C0(u) {
|
|
|
2838
2838
|
}
|
|
2839
2839
|
function Xo(u) {
|
|
2840
2840
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2841
|
-
|
|
2841
|
+
w0(u.delimiters);
|
|
2842
2842
|
for (let n = 0; n < t; n++)
|
|
2843
|
-
e[n] && e[n].delimiters &&
|
|
2843
|
+
e[n] && e[n].delimiters && w0(e[n].delimiters);
|
|
2844
2844
|
}
|
|
2845
2845
|
function Qo(u) {
|
|
2846
2846
|
let e, t, n = 0;
|
|
@@ -2849,34 +2849,34 @@ function Qo(u) {
|
|
|
2849
2849
|
r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < o && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
|
|
2850
2850
|
e !== t && (r.length = t);
|
|
2851
2851
|
}
|
|
2852
|
-
const
|
|
2852
|
+
const Fe = [
|
|
2853
2853
|
["text", Fo],
|
|
2854
2854
|
["linkify", zo],
|
|
2855
2855
|
["newline", qo],
|
|
2856
2856
|
["escape", Bo],
|
|
2857
2857
|
["backticks", To],
|
|
2858
|
-
["strikethrough",
|
|
2859
|
-
["emphasis",
|
|
2858
|
+
["strikethrough", nt.tokenize],
|
|
2859
|
+
["emphasis", rt.tokenize],
|
|
2860
2860
|
["link", $o],
|
|
2861
2861
|
["image", Oo],
|
|
2862
2862
|
["autolink", jo],
|
|
2863
2863
|
["html_inline", Zo],
|
|
2864
2864
|
["entity", Jo]
|
|
2865
|
-
],
|
|
2865
|
+
], Se = [
|
|
2866
2866
|
["balance_pairs", Xo],
|
|
2867
|
-
["strikethrough",
|
|
2868
|
-
["emphasis",
|
|
2867
|
+
["strikethrough", nt.postProcess],
|
|
2868
|
+
["emphasis", rt.postProcess],
|
|
2869
2869
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
2870
2870
|
// rule below merges unused segments back with the rest of the text
|
|
2871
2871
|
["fragments_join", Qo]
|
|
2872
2872
|
];
|
|
2873
2873
|
function Qu() {
|
|
2874
2874
|
this.ruler = new Z();
|
|
2875
|
-
for (let u = 0; u < Ae.length; u++)
|
|
2876
|
-
this.ruler.push(Ae[u][0], Ae[u][1]);
|
|
2877
|
-
this.ruler2 = new Z();
|
|
2878
2875
|
for (let u = 0; u < Fe.length; u++)
|
|
2879
|
-
this.
|
|
2876
|
+
this.ruler.push(Fe[u][0], Fe[u][1]);
|
|
2877
|
+
this.ruler2 = new Z();
|
|
2878
|
+
for (let u = 0; u < Se.length; u++)
|
|
2879
|
+
this.ruler2.push(Se[u][0], Se[u][1]);
|
|
2880
2880
|
}
|
|
2881
2881
|
Qu.prototype.skipToken = function(u) {
|
|
2882
2882
|
const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
|
|
@@ -2928,7 +2928,7 @@ Qu.prototype.parse = function(u, e, t, n) {
|
|
|
2928
2928
|
Qu.prototype.State = Xu;
|
|
2929
2929
|
function Yo(u) {
|
|
2930
2930
|
const e = {};
|
|
2931
|
-
u = u || {}, e.src_Any =
|
|
2931
|
+
u = u || {}, e.src_Any = U0.source, e.src_Cc = Z0.source, e.src_Z = G0.source, e.src_P = Ge.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
2932
2932
|
const t = "[><|]";
|
|
2933
2933
|
return e.src_pseudo_letter = "(?:(?!" + t + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!" + (u["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]|$)|" + (u["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
2934
2934
|
",(?!" + e.src_ZCc + "|$)|;(?!" + e.src_ZCc + "|$)|\\!+(?!" + e.src_ZCc + "|[!]|$)|\\?(?!" + e.src_ZCc + "|[?]|$))+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
|
|
@@ -2938,7 +2938,7 @@ function Yo(u) {
|
|
|
2938
2938
|
// but can start with > (markdown blockquote)
|
|
2939
2939
|
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function Re(u) {
|
|
2942
2942
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
2943
2943
|
t && Object.keys(t).forEach(function(n) {
|
|
2944
2944
|
u[n] = t[n];
|
|
@@ -2957,20 +2957,20 @@ function uc(u) {
|
|
|
2957
2957
|
function ec(u) {
|
|
2958
2958
|
return xe(u) === "[object RegExp]";
|
|
2959
2959
|
}
|
|
2960
|
-
function
|
|
2960
|
+
function D0(u) {
|
|
2961
2961
|
return xe(u) === "[object Function]";
|
|
2962
2962
|
}
|
|
2963
2963
|
function tc(u) {
|
|
2964
2964
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
2965
2965
|
}
|
|
2966
|
-
const
|
|
2966
|
+
const ot = {
|
|
2967
2967
|
fuzzyLink: !0,
|
|
2968
2968
|
fuzzyEmail: !0,
|
|
2969
2969
|
fuzzyIP: !1
|
|
2970
2970
|
};
|
|
2971
2971
|
function nc(u) {
|
|
2972
2972
|
return Object.keys(u || {}).reduce(function(e, t) {
|
|
2973
|
-
return e ||
|
|
2973
|
+
return e || ot.hasOwnProperty(t);
|
|
2974
2974
|
}, !1);
|
|
2975
2975
|
}
|
|
2976
2976
|
const rc = {
|
|
@@ -3015,7 +3015,7 @@ function sc(u) {
|
|
|
3015
3015
|
return u.test(n) ? n.match(u)[0].length : 0;
|
|
3016
3016
|
};
|
|
3017
3017
|
}
|
|
3018
|
-
function
|
|
3018
|
+
function E0() {
|
|
3019
3019
|
return function(u, e) {
|
|
3020
3020
|
e.normalize(u);
|
|
3021
3021
|
};
|
|
@@ -3038,7 +3038,7 @@ function ie(u) {
|
|
|
3038
3038
|
return;
|
|
3039
3039
|
const a = { validate: null, link: null };
|
|
3040
3040
|
if (u.__compiled__[c] = a, uc(s)) {
|
|
3041
|
-
ec(s.validate) ? a.validate = sc(s.validate) :
|
|
3041
|
+
ec(s.validate) ? a.validate = sc(s.validate) : D0(s.validate) ? a.validate = s.validate : o(c, s), D0(s.normalize) ? a.normalize = s.normalize : s.normalize ? o(c, s) : a.normalize = E0();
|
|
3042
3042
|
return;
|
|
3043
3043
|
}
|
|
3044
3044
|
if (Ko(s)) {
|
|
@@ -3048,7 +3048,7 @@ function ie(u) {
|
|
|
3048
3048
|
o(c, s);
|
|
3049
3049
|
}), r.forEach(function(c) {
|
|
3050
3050
|
u.__compiled__[u.__schemas__[c]] && (u.__compiled__[c].validate = u.__compiled__[u.__schemas__[c]].validate, u.__compiled__[c].normalize = u.__compiled__[u.__schemas__[c]].normalize);
|
|
3051
|
-
}), u.__compiled__[""] = { validate: null, normalize:
|
|
3051
|
+
}), u.__compiled__[""] = { validate: null, normalize: E0() };
|
|
3052
3052
|
const i = Object.keys(u.__compiled__).filter(function(c) {
|
|
3053
3053
|
return c.length > 0 && u.__compiled__[c];
|
|
3054
3054
|
}).map(tc).join("|");
|
|
@@ -3061,22 +3061,22 @@ function ac(u, e) {
|
|
|
3061
3061
|
const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
|
|
3062
3062
|
this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
|
|
3063
3063
|
}
|
|
3064
|
-
function
|
|
3064
|
+
function Ie(u, e) {
|
|
3065
3065
|
const t = new ac(u, e);
|
|
3066
3066
|
return u.__compiled__[t.schema].normalize(t, u), t;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3069
|
-
if (!(this instanceof
|
|
3070
|
-
return new
|
|
3071
|
-
e || nc(u) && (e = u, u = {}), this.__opts__ =
|
|
3068
|
+
function X(u, e) {
|
|
3069
|
+
if (!(this instanceof X))
|
|
3070
|
+
return new X(u, e);
|
|
3071
|
+
e || nc(u) && (e = u, u = {}), this.__opts__ = Re({}, ot, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Re({}, rc, u), this.__compiled__ = {}, this.__tlds__ = cc, this.__tlds_replaced__ = !1, this.re = {}, ie(this);
|
|
3072
3072
|
}
|
|
3073
|
-
|
|
3073
|
+
X.prototype.add = function(e, t) {
|
|
3074
3074
|
return this.__schemas__[e] = t, ie(this), this;
|
|
3075
3075
|
};
|
|
3076
|
-
|
|
3077
|
-
return this.__opts__ =
|
|
3076
|
+
X.prototype.set = function(e) {
|
|
3077
|
+
return this.__opts__ = Re(this.__opts__, e), this;
|
|
3078
3078
|
};
|
|
3079
|
-
|
|
3079
|
+
X.prototype.test = function(e) {
|
|
3080
3080
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
3081
3081
|
return !1;
|
|
3082
3082
|
let t, n, r, o, i, c, s, a, l;
|
|
@@ -3089,43 +3089,43 @@ J.prototype.test = function(e) {
|
|
|
3089
3089
|
}
|
|
3090
3090
|
return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (a = e.search(this.re.host_fuzzy_test), a >= 0 && (this.__index__ < 0 || a < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (i = n.index + n[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (l = e.indexOf("@"), l >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (i = r.index + r[1].length, c = r.index + r[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && c > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = c))), this.__index__ >= 0;
|
|
3091
3091
|
};
|
|
3092
|
-
|
|
3092
|
+
X.prototype.pretest = function(e) {
|
|
3093
3093
|
return this.re.pretest.test(e);
|
|
3094
3094
|
};
|
|
3095
|
-
|
|
3095
|
+
X.prototype.testSchemaAt = function(e, t, n) {
|
|
3096
3096
|
return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0;
|
|
3097
3097
|
};
|
|
3098
|
-
|
|
3098
|
+
X.prototype.match = function(e) {
|
|
3099
3099
|
const t = [];
|
|
3100
3100
|
let n = 0;
|
|
3101
|
-
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(
|
|
3101
|
+
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(Ie(this, n)), n = this.__last_index__);
|
|
3102
3102
|
let r = n ? e.slice(n) : e;
|
|
3103
3103
|
for (; this.test(r); )
|
|
3104
|
-
t.push(
|
|
3104
|
+
t.push(Ie(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
3105
3105
|
return t.length ? t : null;
|
|
3106
3106
|
};
|
|
3107
|
-
|
|
3107
|
+
X.prototype.matchAtStart = function(e) {
|
|
3108
3108
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return null;
|
|
3109
3109
|
const t = this.re.schema_at_start.exec(e);
|
|
3110
3110
|
if (!t) return null;
|
|
3111
3111
|
const n = this.testSchemaAt(e, t[2], t[0].length);
|
|
3112
|
-
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n,
|
|
3112
|
+
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, Ie(this, 0)) : null;
|
|
3113
3113
|
};
|
|
3114
|
-
|
|
3114
|
+
X.prototype.tlds = function(e, t) {
|
|
3115
3115
|
return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
|
|
3116
3116
|
return n !== o[r - 1];
|
|
3117
3117
|
}).reverse(), ie(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, ie(this), this);
|
|
3118
3118
|
};
|
|
3119
|
-
|
|
3119
|
+
X.prototype.normalize = function(e) {
|
|
3120
3120
|
e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
|
|
3121
3121
|
};
|
|
3122
|
-
|
|
3122
|
+
X.prototype.onCompile = function() {
|
|
3123
3123
|
};
|
|
3124
|
-
const
|
|
3124
|
+
const zu = 2147483647, ou = 36, Ke = 1, Uu = 26, lc = 38, fc = 700, ct = 72, it = 128, st = "-", dc = /^xn--/, pc = /[^\0-\x7F]/, hc = /[\x2E\u3002\uFF0E\uFF61]/g, bc = {
|
|
3125
3125
|
overflow: "Overflow: input needs wider integers to process",
|
|
3126
3126
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3127
3127
|
"invalid-input": "Invalid input"
|
|
3128
|
-
},
|
|
3128
|
+
}, ze = ou - Ke, cu = Math.floor, qe = String.fromCharCode;
|
|
3129
3129
|
function xu(u) {
|
|
3130
3130
|
throw new RangeError(bc[u]);
|
|
3131
3131
|
}
|
|
@@ -3136,14 +3136,14 @@ function mc(u, e) {
|
|
|
3136
3136
|
t[n] = e(u[n]);
|
|
3137
3137
|
return t;
|
|
3138
3138
|
}
|
|
3139
|
-
function
|
|
3139
|
+
function at(u, e) {
|
|
3140
3140
|
const t = u.split("@");
|
|
3141
3141
|
let n = "";
|
|
3142
3142
|
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(hc, ".");
|
|
3143
3143
|
const r = u.split("."), o = mc(r, e).join(".");
|
|
3144
3144
|
return n + o;
|
|
3145
3145
|
}
|
|
3146
|
-
function
|
|
3146
|
+
function lt(u) {
|
|
3147
3147
|
const e = [];
|
|
3148
3148
|
let t = 0;
|
|
3149
3149
|
const n = u.length;
|
|
@@ -3158,77 +3158,77 @@ function st(u) {
|
|
|
3158
3158
|
return e;
|
|
3159
3159
|
}
|
|
3160
3160
|
const xc = (u) => String.fromCodePoint(...u), gc = function(u) {
|
|
3161
|
-
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 :
|
|
3162
|
-
},
|
|
3161
|
+
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : ou;
|
|
3162
|
+
}, A0 = function(u, e) {
|
|
3163
3163
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
3164
|
-
},
|
|
3164
|
+
}, ft = function(u, e, t) {
|
|
3165
3165
|
let n = 0;
|
|
3166
|
-
for (u = t ?
|
|
3167
|
-
u =
|
|
3168
|
-
return
|
|
3169
|
-
},
|
|
3166
|
+
for (u = t ? cu(u / fc) : u >> 1, u += cu(u / e); u > ze * Uu >> 1; n += ou)
|
|
3167
|
+
u = cu(u / ze);
|
|
3168
|
+
return cu(n + (ze + 1) * u / (u + lc));
|
|
3169
|
+
}, dt = function(u) {
|
|
3170
3170
|
const e = [], t = u.length;
|
|
3171
|
-
let n = 0, r =
|
|
3171
|
+
let n = 0, r = it, o = ct, i = u.lastIndexOf(st);
|
|
3172
3172
|
i < 0 && (i = 0);
|
|
3173
3173
|
for (let c = 0; c < i; ++c)
|
|
3174
3174
|
u.charCodeAt(c) >= 128 && xu("not-basic"), e.push(u.charCodeAt(c));
|
|
3175
3175
|
for (let c = i > 0 ? i + 1 : 0; c < t; ) {
|
|
3176
3176
|
const s = n;
|
|
3177
|
-
for (let l = 1, f =
|
|
3177
|
+
for (let l = 1, f = ou; ; f += ou) {
|
|
3178
3178
|
c >= t && xu("invalid-input");
|
|
3179
3179
|
const h = gc(u.charCodeAt(c++));
|
|
3180
|
-
h >=
|
|
3181
|
-
const p = f <= o ?
|
|
3180
|
+
h >= ou && xu("invalid-input"), h > cu((zu - n) / l) && xu("overflow"), n += h * l;
|
|
3181
|
+
const p = f <= o ? Ke : f >= o + Uu ? Uu : f - o;
|
|
3182
3182
|
if (h < p)
|
|
3183
3183
|
break;
|
|
3184
|
-
const d =
|
|
3185
|
-
l >
|
|
3184
|
+
const d = ou - p;
|
|
3185
|
+
l > cu(zu / d) && xu("overflow"), l *= d;
|
|
3186
3186
|
}
|
|
3187
3187
|
const a = e.length + 1;
|
|
3188
|
-
o =
|
|
3188
|
+
o = ft(n - s, a, s == 0), cu(n / a) > zu - r && xu("overflow"), r += cu(n / a), n %= a, e.splice(n++, 0, r);
|
|
3189
3189
|
}
|
|
3190
3190
|
return String.fromCodePoint(...e);
|
|
3191
|
-
},
|
|
3191
|
+
}, pt = function(u) {
|
|
3192
3192
|
const e = [];
|
|
3193
|
-
u =
|
|
3193
|
+
u = lt(u);
|
|
3194
3194
|
const t = u.length;
|
|
3195
|
-
let n =
|
|
3195
|
+
let n = it, r = 0, o = ct;
|
|
3196
3196
|
for (const s of u)
|
|
3197
|
-
s < 128 && e.push(
|
|
3197
|
+
s < 128 && e.push(qe(s));
|
|
3198
3198
|
const i = e.length;
|
|
3199
3199
|
let c = i;
|
|
3200
|
-
for (i && e.push(
|
|
3201
|
-
let s =
|
|
3200
|
+
for (i && e.push(st); c < t; ) {
|
|
3201
|
+
let s = zu;
|
|
3202
3202
|
for (const l of u)
|
|
3203
3203
|
l >= n && l < s && (s = l);
|
|
3204
3204
|
const a = c + 1;
|
|
3205
|
-
s - n >
|
|
3205
|
+
s - n > cu((zu - r) / a) && xu("overflow"), r += (s - n) * a, n = s;
|
|
3206
3206
|
for (const l of u)
|
|
3207
|
-
if (l < n && ++r >
|
|
3207
|
+
if (l < n && ++r > zu && xu("overflow"), l === n) {
|
|
3208
3208
|
let f = r;
|
|
3209
|
-
for (let h =
|
|
3210
|
-
const p = h <= o ?
|
|
3209
|
+
for (let h = ou; ; h += ou) {
|
|
3210
|
+
const p = h <= o ? Ke : h >= o + Uu ? Uu : h - o;
|
|
3211
3211
|
if (f < p)
|
|
3212
3212
|
break;
|
|
3213
|
-
const d = f - p, x =
|
|
3213
|
+
const d = f - p, x = ou - p;
|
|
3214
3214
|
e.push(
|
|
3215
|
-
|
|
3216
|
-
), f =
|
|
3215
|
+
qe(A0(p + d % x, 0))
|
|
3216
|
+
), f = cu(d / x);
|
|
3217
3217
|
}
|
|
3218
|
-
e.push(
|
|
3218
|
+
e.push(qe(A0(f, 0))), o = ft(r, a, c === i), r = 0, ++c;
|
|
3219
3219
|
}
|
|
3220
3220
|
++r, ++n;
|
|
3221
3221
|
}
|
|
3222
3222
|
return e.join("");
|
|
3223
3223
|
}, _c = function(u) {
|
|
3224
|
-
return
|
|
3225
|
-
return dc.test(e) ?
|
|
3224
|
+
return at(u, function(e) {
|
|
3225
|
+
return dc.test(e) ? dt(e.slice(4).toLowerCase()) : e;
|
|
3226
3226
|
});
|
|
3227
3227
|
}, kc = function(u) {
|
|
3228
|
-
return
|
|
3229
|
-
return pc.test(e) ? "xn--" +
|
|
3228
|
+
return at(u, function(e) {
|
|
3229
|
+
return pc.test(e) ? "xn--" + pt(e) : e;
|
|
3230
3230
|
});
|
|
3231
|
-
},
|
|
3231
|
+
}, ht = {
|
|
3232
3232
|
/**
|
|
3233
3233
|
* A string representing the current Punycode.js version number.
|
|
3234
3234
|
* @memberOf punycode
|
|
@@ -3243,11 +3243,11 @@ const xc = (u) => String.fromCodePoint(...u), gc = function(u) {
|
|
|
3243
3243
|
* @type Object
|
|
3244
3244
|
*/
|
|
3245
3245
|
ucs2: {
|
|
3246
|
-
decode:
|
|
3246
|
+
decode: lt,
|
|
3247
3247
|
encode: xc
|
|
3248
3248
|
},
|
|
3249
|
-
decode:
|
|
3250
|
-
encode:
|
|
3249
|
+
decode: dt,
|
|
3250
|
+
encode: pt,
|
|
3251
3251
|
toASCII: kc,
|
|
3252
3252
|
toUnicode: _c
|
|
3253
3253
|
}, yc = {
|
|
@@ -3424,36 +3424,36 @@ function Ac(u) {
|
|
|
3424
3424
|
const e = u.trim().toLowerCase();
|
|
3425
3425
|
return Dc.test(e) ? Ec.test(e) : !0;
|
|
3426
3426
|
}
|
|
3427
|
-
const
|
|
3427
|
+
const bt = ["http:", "https:", "mailto:"];
|
|
3428
3428
|
function Fc(u) {
|
|
3429
|
-
const e =
|
|
3430
|
-
if (e.hostname && (!e.protocol ||
|
|
3429
|
+
const e = We(u, !0);
|
|
3430
|
+
if (e.hostname && (!e.protocol || bt.indexOf(e.protocol) >= 0))
|
|
3431
3431
|
try {
|
|
3432
|
-
e.hostname =
|
|
3432
|
+
e.hostname = ht.toASCII(e.hostname);
|
|
3433
3433
|
} catch {
|
|
3434
3434
|
}
|
|
3435
|
-
return Ju(
|
|
3435
|
+
return Ju(Ze(e));
|
|
3436
3436
|
}
|
|
3437
3437
|
function Sc(u) {
|
|
3438
|
-
const e =
|
|
3439
|
-
if (e.hostname && (!e.protocol ||
|
|
3438
|
+
const e = We(u, !0);
|
|
3439
|
+
if (e.hostname && (!e.protocol || bt.indexOf(e.protocol) >= 0))
|
|
3440
3440
|
try {
|
|
3441
|
-
e.hostname =
|
|
3441
|
+
e.hostname = ht.toUnicode(e.hostname);
|
|
3442
3442
|
} catch {
|
|
3443
3443
|
}
|
|
3444
|
-
return
|
|
3444
|
+
return Lu(Ze(e), Lu.defaultChars + "%");
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3447
|
-
if (!(this instanceof
|
|
3448
|
-
return new
|
|
3449
|
-
e ||
|
|
3446
|
+
function Y(u, e) {
|
|
3447
|
+
if (!(this instanceof Y))
|
|
3448
|
+
return new Y(u, e);
|
|
3449
|
+
e || Je(u) || (e = u || {}, u = "default"), this.inline = new Qu(), this.block = new me(), this.core = new Qe(), this.renderer = new Ou(), this.linkify = new X(), this.validateLink = Ac, this.normalizeLink = Fc, this.normalizeLinkText = Sc, this.utils = zr, this.helpers = he({}, Mr), this.options = {}, this.configure(u), e && this.set(e);
|
|
3450
3450
|
}
|
|
3451
|
-
|
|
3451
|
+
Y.prototype.set = function(u) {
|
|
3452
3452
|
return he(this.options, u), this;
|
|
3453
3453
|
};
|
|
3454
|
-
|
|
3454
|
+
Y.prototype.configure = function(u) {
|
|
3455
3455
|
const e = this;
|
|
3456
|
-
if (
|
|
3456
|
+
if (Je(u)) {
|
|
3457
3457
|
const t = u;
|
|
3458
3458
|
if (u = wc[t], !u)
|
|
3459
3459
|
throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
|
|
@@ -3464,7 +3464,7 @@ Q.prototype.configure = function(u) {
|
|
|
3464
3464
|
u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
|
|
3465
3465
|
}), this;
|
|
3466
3466
|
};
|
|
3467
|
-
|
|
3467
|
+
Y.prototype.enable = function(u, e) {
|
|
3468
3468
|
let t = [];
|
|
3469
3469
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
|
|
3470
3470
|
t = t.concat(this[r].ruler.enable(u, !0));
|
|
@@ -3476,7 +3476,7 @@ Q.prototype.enable = function(u, e) {
|
|
|
3476
3476
|
throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
|
|
3477
3477
|
return this;
|
|
3478
3478
|
};
|
|
3479
|
-
|
|
3479
|
+
Y.prototype.disable = function(u, e) {
|
|
3480
3480
|
let t = [];
|
|
3481
3481
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
|
|
3482
3482
|
t = t.concat(this[r].ruler.disable(u, !0));
|
|
@@ -3488,29 +3488,29 @@ Q.prototype.disable = function(u, e) {
|
|
|
3488
3488
|
throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
|
|
3489
3489
|
return this;
|
|
3490
3490
|
};
|
|
3491
|
-
|
|
3491
|
+
Y.prototype.use = function(u) {
|
|
3492
3492
|
const e = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
3493
3493
|
return u.apply(u, e), this;
|
|
3494
3494
|
};
|
|
3495
|
-
|
|
3495
|
+
Y.prototype.parse = function(u, e) {
|
|
3496
3496
|
if (typeof u != "string")
|
|
3497
3497
|
throw new Error("Input data should be a String");
|
|
3498
3498
|
const t = new this.core.State(u, this, e);
|
|
3499
3499
|
return this.core.process(t), t.tokens;
|
|
3500
3500
|
};
|
|
3501
|
-
|
|
3501
|
+
Y.prototype.render = function(u, e) {
|
|
3502
3502
|
return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
|
|
3503
3503
|
};
|
|
3504
|
-
|
|
3504
|
+
Y.prototype.parseInline = function(u, e) {
|
|
3505
3505
|
const t = new this.core.State(u, this, e);
|
|
3506
3506
|
return t.inlineMode = !0, this.core.process(t), t.tokens;
|
|
3507
3507
|
};
|
|
3508
|
-
|
|
3508
|
+
Y.prototype.renderInline = function(u, e) {
|
|
3509
3509
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3510
3510
|
};
|
|
3511
3511
|
function zc() {
|
|
3512
3512
|
function u(r, o) {
|
|
3513
|
-
const i = new
|
|
3513
|
+
const i = new Y({
|
|
3514
3514
|
html: !0,
|
|
3515
3515
|
typographer: !0
|
|
3516
3516
|
});
|
|
@@ -3518,17 +3518,17 @@ function zc() {
|
|
|
3518
3518
|
}
|
|
3519
3519
|
function e(r) {
|
|
3520
3520
|
const o = n(r) ?? [];
|
|
3521
|
-
return
|
|
3521
|
+
return Me("article", { class: "sq-article" }, t(o));
|
|
3522
3522
|
}
|
|
3523
3523
|
function t(r) {
|
|
3524
3524
|
if (r)
|
|
3525
|
-
return r.map((o) => typeof o == "string" ? o :
|
|
3525
|
+
return r.map((o) => typeof o == "string" ? o : Me(o.tag, o.attrs, t(o.children)));
|
|
3526
3526
|
}
|
|
3527
3527
|
function n(r) {
|
|
3528
3528
|
const o = [], i = { children: [] };
|
|
3529
3529
|
let c = i;
|
|
3530
3530
|
return r.forEach((s) => {
|
|
3531
|
-
var x,
|
|
3531
|
+
var x, _, k, g, y, v, b, C, m, z, F;
|
|
3532
3532
|
const { type: a, children: l, content: f, attrs: h, tag: p, hidden: d } = s;
|
|
3533
3533
|
switch (a) {
|
|
3534
3534
|
case "heading_open":
|
|
@@ -3548,24 +3548,24 @@ function zc() {
|
|
|
3548
3548
|
case "s_open":
|
|
3549
3549
|
case "link_open": {
|
|
3550
3550
|
if (d) break;
|
|
3551
|
-
const
|
|
3551
|
+
const q = {
|
|
3552
3552
|
tag: p,
|
|
3553
3553
|
children: [],
|
|
3554
3554
|
attrs: h ? Object.fromEntries(h) : {}
|
|
3555
3555
|
};
|
|
3556
3556
|
if (a === "link_open") {
|
|
3557
|
-
const
|
|
3558
|
-
|
|
3557
|
+
const M = s.attrGet("href") ?? "", W = document.location.origin;
|
|
3558
|
+
M != null && M.startsWith("http") && !M.includes(W) && (q.attrs.target = "_blank", q.attrs.rel = "noopener noreferrer", q.attrs.dataOuter = "", (x = q.children) == null || x.push({ tag: Dn }));
|
|
3559
3559
|
}
|
|
3560
3560
|
if (a === "table_open") {
|
|
3561
|
-
const
|
|
3561
|
+
const M = {
|
|
3562
3562
|
tag: "div",
|
|
3563
3563
|
children: [],
|
|
3564
3564
|
attrs: { class: "sq-article-table" }
|
|
3565
3565
|
};
|
|
3566
|
-
(
|
|
3566
|
+
(_ = c.children) == null || _.push(M), o.push(c), c = M;
|
|
3567
3567
|
}
|
|
3568
|
-
(
|
|
3568
|
+
(k = c.children) == null || k.push(q), o.push(c), c = q;
|
|
3569
3569
|
break;
|
|
3570
3570
|
}
|
|
3571
3571
|
case "heading_close":
|
|
@@ -3598,18 +3598,18 @@ function zc() {
|
|
|
3598
3598
|
}
|
|
3599
3599
|
case "inline": {
|
|
3600
3600
|
if (l) {
|
|
3601
|
-
const
|
|
3602
|
-
(y = c.children) == null || y.push(...
|
|
3601
|
+
const q = n(l);
|
|
3602
|
+
(y = c.children) == null || y.push(...q ?? []);
|
|
3603
3603
|
} else
|
|
3604
|
-
(
|
|
3604
|
+
(v = c.children) == null || v.push(f);
|
|
3605
3605
|
break;
|
|
3606
3606
|
}
|
|
3607
3607
|
case "text": {
|
|
3608
|
-
(
|
|
3608
|
+
(b = c.children) == null || b.push(f);
|
|
3609
3609
|
break;
|
|
3610
3610
|
}
|
|
3611
3611
|
case "image": {
|
|
3612
|
-
(
|
|
3612
|
+
(C = c.children) == null || C.push({
|
|
3613
3613
|
tag: p,
|
|
3614
3614
|
children: [],
|
|
3615
3615
|
attrs: h ? Object.fromEntries(h) : {}
|
|
@@ -3617,11 +3617,11 @@ function zc() {
|
|
|
3617
3617
|
break;
|
|
3618
3618
|
}
|
|
3619
3619
|
case "hr": {
|
|
3620
|
-
(
|
|
3620
|
+
(m = c.children) == null || m.push({ tag: p });
|
|
3621
3621
|
break;
|
|
3622
3622
|
}
|
|
3623
3623
|
case "input": {
|
|
3624
|
-
(
|
|
3624
|
+
(z = c.children) == null || z.push({
|
|
3625
3625
|
tag: p,
|
|
3626
3626
|
children: [],
|
|
3627
3627
|
attrs: h ? Object.fromEntries(h) : {}
|
|
@@ -3632,13 +3632,13 @@ function zc() {
|
|
|
3632
3632
|
if (f.startsWith("</"))
|
|
3633
3633
|
c = o.pop();
|
|
3634
3634
|
else {
|
|
3635
|
-
const
|
|
3636
|
-
tag:
|
|
3635
|
+
const q = f.replace("<", "").replace(">", ""), M = {
|
|
3636
|
+
tag: q,
|
|
3637
3637
|
children: []
|
|
3638
3638
|
};
|
|
3639
|
-
|
|
3639
|
+
q === "blur" && (M.tag = "span", M.attrs = {
|
|
3640
3640
|
"data-blur": ""
|
|
3641
|
-
}), (
|
|
3641
|
+
}), (F = c.children) == null || F.push(M), o.push(c), c = M;
|
|
3642
3642
|
}
|
|
3643
3643
|
break;
|
|
3644
3644
|
}
|
|
@@ -3696,7 +3696,7 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3696
3696
|
setup(u) {
|
|
3697
3697
|
return () => {
|
|
3698
3698
|
if (!u.md)
|
|
3699
|
-
return
|
|
3699
|
+
return Me("article", {
|
|
3700
3700
|
class: "sq-article",
|
|
3701
3701
|
innerHTML: u.text
|
|
3702
3702
|
});
|
|
@@ -3715,31 +3715,31 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3715
3715
|
size: { default: "md" }
|
|
3716
3716
|
},
|
|
3717
3717
|
setup(u) {
|
|
3718
|
-
const e = u, t =
|
|
3718
|
+
const e = u, t = $(!0), n = E(() => {
|
|
3719
3719
|
const c = [];
|
|
3720
3720
|
return e.size !== "md" && c.push(`sq-avatar--${e.size}`), e.round && c.push("is-round"), c;
|
|
3721
|
-
}), r =
|
|
3721
|
+
}), r = E(() => {
|
|
3722
3722
|
if (!e.randomColor) return;
|
|
3723
3723
|
const { getRandomColor: c } = Nn();
|
|
3724
3724
|
return {
|
|
3725
3725
|
"--avatar-bg-color": c()
|
|
3726
3726
|
};
|
|
3727
|
-
}), o =
|
|
3727
|
+
}), o = E(() => e.alt.charAt(0).toUpperCase());
|
|
3728
3728
|
function i() {
|
|
3729
3729
|
t.value = !1;
|
|
3730
3730
|
}
|
|
3731
|
-
return (c, s) => (
|
|
3732
|
-
class:
|
|
3733
|
-
style:
|
|
3731
|
+
return (c, s) => (D(), S("div", {
|
|
3732
|
+
class: O(["sq-avatar", n.value]),
|
|
3733
|
+
style: au(r.value)
|
|
3734
3734
|
}, [
|
|
3735
|
-
e.img && t.value ? (
|
|
3735
|
+
e.img && t.value ? (D(), S("img", {
|
|
3736
3736
|
key: 0,
|
|
3737
3737
|
src: e.img,
|
|
3738
3738
|
alt: e.alt,
|
|
3739
3739
|
onError: i
|
|
3740
|
-
}, null, 40, Mc)) : (
|
|
3740
|
+
}, null, 40, Mc)) : (D(), S("span", {
|
|
3741
3741
|
key: 1,
|
|
3742
|
-
textContent:
|
|
3742
|
+
textContent: su(o.value)
|
|
3743
3743
|
}, null, 8, Lc))
|
|
3744
3744
|
], 6));
|
|
3745
3745
|
}
|
|
@@ -3748,20 +3748,20 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3748
3748
|
__name: "backtop",
|
|
3749
3749
|
props: {
|
|
3750
3750
|
progress: { type: Boolean, default: !0 },
|
|
3751
|
-
icon: { default:
|
|
3751
|
+
icon: { default: Ut },
|
|
3752
3752
|
transition: { default: "sq-rotate-in-left" },
|
|
3753
3753
|
visibilityHeight: { default: 100 },
|
|
3754
3754
|
target: { default: "#app" },
|
|
3755
3755
|
progressProps: {}
|
|
3756
3756
|
},
|
|
3757
3757
|
setup(u) {
|
|
3758
|
-
const { throttle: e } = qc(), t = e(s), n = new ResizeObserver(a), r = u, o =
|
|
3758
|
+
const { throttle: e } = qc(), t = e(s), n = new ResizeObserver(a), r = u, o = $(100), i = $(0), c = E(() => i.value > r.visibilityHeight);
|
|
3759
3759
|
de(() => {
|
|
3760
3760
|
var h;
|
|
3761
3761
|
a(), t(), window.addEventListener("scroll", t);
|
|
3762
3762
|
const f = document.querySelector(r.target) ?? document.body;
|
|
3763
3763
|
n.observe(f), (h = window.visualViewport) == null || h.addEventListener("resize", a);
|
|
3764
|
-
}),
|
|
3764
|
+
}), je(() => {
|
|
3765
3765
|
var f;
|
|
3766
3766
|
window.removeEventListener("scroll", t), n.disconnect(), (f = window.visualViewport) == null || f.removeEventListener("resize", a);
|
|
3767
3767
|
});
|
|
@@ -3775,18 +3775,18 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3775
3775
|
function l() {
|
|
3776
3776
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
3777
3777
|
}
|
|
3778
|
-
return (f, h) => (
|
|
3778
|
+
return (f, h) => (D(), L(pe, {
|
|
3779
3779
|
name: r.transition
|
|
3780
3780
|
}, {
|
|
3781
|
-
default:
|
|
3781
|
+
default: uu(() => {
|
|
3782
3782
|
var p, d, x;
|
|
3783
3783
|
return [
|
|
3784
|
-
|
|
3784
|
+
Du(A("div", Rc, [
|
|
3785
3785
|
A("div", {
|
|
3786
3786
|
class: "sq-backtop-wrap",
|
|
3787
3787
|
onClick: l
|
|
3788
3788
|
}, [
|
|
3789
|
-
r.progress ? (
|
|
3789
|
+
r.progress ? (D(), L(w(fs), {
|
|
3790
3790
|
key: 0,
|
|
3791
3791
|
theme: "circle",
|
|
3792
3792
|
label: !1,
|
|
@@ -3795,13 +3795,13 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3795
3795
|
type: (p = r.progressProps) == null ? void 0 : p.type,
|
|
3796
3796
|
stroke: (d = r.progressProps) == null ? void 0 : d.stroke,
|
|
3797
3797
|
color: (x = r.progressProps) == null ? void 0 : x.color
|
|
3798
|
-
}, null, 8, ["value", "max", "type", "stroke", "color"])) :
|
|
3798
|
+
}, null, 8, ["value", "max", "type", "stroke", "color"])) : V("", !0),
|
|
3799
3799
|
j(f.$slots, "default", {}, () => [
|
|
3800
|
-
(
|
|
3800
|
+
(D(), L(bu(r.icon)))
|
|
3801
3801
|
])
|
|
3802
3802
|
])
|
|
3803
3803
|
], 512), [
|
|
3804
|
-
[
|
|
3804
|
+
[Wu, c.value]
|
|
3805
3805
|
])
|
|
3806
3806
|
];
|
|
3807
3807
|
}),
|
|
@@ -3810,38 +3810,38 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3810
3810
|
}
|
|
3811
3811
|
});
|
|
3812
3812
|
function Ic(u) {
|
|
3813
|
-
const { getOption: e } =
|
|
3814
|
-
() =>
|
|
3815
|
-
), o =
|
|
3813
|
+
const { getOption: e } = Ue(), t = Tu(ge, void 0), n = Tu(mt, void 0), r = E(
|
|
3814
|
+
() => w(n) ? void 0 : u.text
|
|
3815
|
+
), o = E(
|
|
3816
3816
|
() => {
|
|
3817
3817
|
var a, l;
|
|
3818
3818
|
return e(
|
|
3819
|
-
(a =
|
|
3819
|
+
(a = w(n)) == null ? void 0 : a.size,
|
|
3820
3820
|
u.size,
|
|
3821
|
-
(l =
|
|
3821
|
+
(l = w(t)) == null ? void 0 : l.size,
|
|
3822
3822
|
"md"
|
|
3823
3823
|
);
|
|
3824
3824
|
}
|
|
3825
|
-
), i =
|
|
3825
|
+
), i = E(
|
|
3826
3826
|
() => {
|
|
3827
3827
|
var a;
|
|
3828
|
-
return e((a =
|
|
3828
|
+
return e((a = w(n)) == null ? void 0 : a.type, u.type);
|
|
3829
3829
|
}
|
|
3830
|
-
), c =
|
|
3830
|
+
), c = E(
|
|
3831
3831
|
() => {
|
|
3832
3832
|
var a, l;
|
|
3833
3833
|
return e(
|
|
3834
|
-
(a =
|
|
3834
|
+
(a = w(n)) == null ? void 0 : a.round,
|
|
3835
3835
|
u.round,
|
|
3836
|
-
(l =
|
|
3836
|
+
(l = w(t)) == null ? void 0 : l.round
|
|
3837
3837
|
);
|
|
3838
3838
|
}
|
|
3839
|
-
), s =
|
|
3839
|
+
), s = E(
|
|
3840
3840
|
() => {
|
|
3841
3841
|
var a, l;
|
|
3842
3842
|
return e(
|
|
3843
|
-
(a =
|
|
3844
|
-
(l =
|
|
3843
|
+
(a = w(t)) == null ? void 0 : a.disabled,
|
|
3844
|
+
(l = w(n)) == null ? void 0 : l.disabled,
|
|
3845
3845
|
u.disabled
|
|
3846
3846
|
);
|
|
3847
3847
|
}
|
|
@@ -3849,49 +3849,49 @@ function Ic(u) {
|
|
|
3849
3849
|
return { btnTextType: r, btnSize: o, btnType: i, btnRound: c, btnDisabled: s };
|
|
3850
3850
|
}
|
|
3851
3851
|
function $c(u) {
|
|
3852
|
-
const { getOption: e } =
|
|
3852
|
+
const { getOption: e } = Ue(), t = Tu(ge, void 0), n = Tu(u0, void 0), r = E(
|
|
3853
3853
|
() => {
|
|
3854
3854
|
var s;
|
|
3855
|
-
return e(u.size, (s =
|
|
3855
|
+
return e(u.size, (s = w(t)) == null ? void 0 : s.size, "md");
|
|
3856
3856
|
}
|
|
3857
|
-
), o =
|
|
3857
|
+
), o = E(
|
|
3858
3858
|
() => {
|
|
3859
3859
|
var s;
|
|
3860
|
-
return e(u.round, (s =
|
|
3860
|
+
return e(u.round, (s = w(t)) == null ? void 0 : s.round);
|
|
3861
3861
|
}
|
|
3862
|
-
), i =
|
|
3862
|
+
), i = E(
|
|
3863
3863
|
() => {
|
|
3864
3864
|
var s;
|
|
3865
|
-
return e((s =
|
|
3865
|
+
return e((s = w(t)) == null ? void 0 : s.disabled, u.disabled);
|
|
3866
3866
|
}
|
|
3867
|
-
), c =
|
|
3867
|
+
), c = E(
|
|
3868
3868
|
() => {
|
|
3869
3869
|
var s;
|
|
3870
|
-
return e((s =
|
|
3870
|
+
return e((s = w(t)) == null ? void 0 : s.readonly, u.readonly);
|
|
3871
3871
|
}
|
|
3872
3872
|
);
|
|
3873
3873
|
return { inputSize: r, inputRound: o, inputDisabled: i, inputReadonly: c, id: n };
|
|
3874
3874
|
}
|
|
3875
3875
|
function Oc(u) {
|
|
3876
|
-
const { getOption: e } =
|
|
3876
|
+
const { getOption: e } = Ue(), t = Tu(ge, void 0), n = Tu(u0, void 0), r = E(
|
|
3877
3877
|
() => {
|
|
3878
3878
|
var s;
|
|
3879
|
-
return e(u.size, (s =
|
|
3879
|
+
return e(u.size, (s = w(t)) == null ? void 0 : s.size, "md");
|
|
3880
3880
|
}
|
|
3881
|
-
), o =
|
|
3881
|
+
), o = E(
|
|
3882
3882
|
() => {
|
|
3883
3883
|
var s;
|
|
3884
|
-
return e(u.round, (s =
|
|
3884
|
+
return e(u.round, (s = w(t)) == null ? void 0 : s.round);
|
|
3885
3885
|
}
|
|
3886
|
-
), i =
|
|
3886
|
+
), i = E(
|
|
3887
3887
|
() => {
|
|
3888
3888
|
var s;
|
|
3889
|
-
return e((s =
|
|
3889
|
+
return e((s = w(t)) == null ? void 0 : s.disabled, u.disabled);
|
|
3890
3890
|
}
|
|
3891
|
-
), c =
|
|
3891
|
+
), c = E(
|
|
3892
3892
|
() => {
|
|
3893
3893
|
var s;
|
|
3894
|
-
return e((s =
|
|
3894
|
+
return e((s = w(t)) == null ? void 0 : s.readonly, u.readonly);
|
|
3895
3895
|
}
|
|
3896
3896
|
);
|
|
3897
3897
|
return { textareaSize: r, textareaRound: o, textareaDisabled: i, textareaReadonly: c, id: n };
|
|
@@ -3913,22 +3913,22 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3913
3913
|
},
|
|
3914
3914
|
emits: ["click"],
|
|
3915
3915
|
setup(u, { emit: e }) {
|
|
3916
|
-
const t = e, n = u, { btnTextType: r, btnSize: o, btnType: i, btnRound: c, btnDisabled: s } = Ic(n), a =
|
|
3917
|
-
const h = [], p =
|
|
3918
|
-
return p !== "md" && h.push(`sq-button--${p}`), d && h.push(`is-${d}`), x && h.push("is-round"),
|
|
3919
|
-
}), l =
|
|
3920
|
-
return (h, p) => (
|
|
3921
|
-
class:
|
|
3916
|
+
const t = e, n = u, { btnTextType: r, btnSize: o, btnType: i, btnRound: c, btnDisabled: s } = Ic(n), a = E(() => {
|
|
3917
|
+
const h = [], p = w(o), d = w(i), x = w(c), _ = w(r);
|
|
3918
|
+
return p !== "md" && h.push(`sq-button--${p}`), d && h.push(`is-${d}`), x && h.push("is-round"), _ && h.push("is-text"), _ && n.bg && h.push("has-bg"), h;
|
|
3919
|
+
}), l = E(() => n.loading ? j0 : n.icon), f = E(() => n.loading || w(s));
|
|
3920
|
+
return (h, p) => (D(), S("button", {
|
|
3921
|
+
class: O(["sq-button", a.value]),
|
|
3922
3922
|
disabled: f.value,
|
|
3923
3923
|
form: n.form,
|
|
3924
3924
|
type: n.nativeType,
|
|
3925
3925
|
onClick: p[0] || (p[0] = (d) => t("click", d))
|
|
3926
3926
|
}, [
|
|
3927
|
-
|
|
3928
|
-
size:
|
|
3927
|
+
Gu(w(Ku), {
|
|
3928
|
+
size: w(o) === "lg" ? "md" : w(o)
|
|
3929
3929
|
}, {
|
|
3930
|
-
default:
|
|
3931
|
-
l.value ? (
|
|
3930
|
+
default: uu(() => [
|
|
3931
|
+
l.value ? (D(), L(bu(l.value), { key: 0 })) : V("", !0),
|
|
3932
3932
|
j(h.$slots, "default")
|
|
3933
3933
|
]),
|
|
3934
3934
|
_: 3
|
|
@@ -3946,19 +3946,19 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3946
3946
|
},
|
|
3947
3947
|
setup(u) {
|
|
3948
3948
|
const e = u;
|
|
3949
|
-
return
|
|
3950
|
-
|
|
3951
|
-
|
|
3949
|
+
return He(
|
|
3950
|
+
mt,
|
|
3951
|
+
$({
|
|
3952
3952
|
size: _u(e, "size"),
|
|
3953
3953
|
type: _u(e, "type"),
|
|
3954
3954
|
round: _u(e, "round"),
|
|
3955
3955
|
disabled: _u(e, "disabled")
|
|
3956
3956
|
})
|
|
3957
|
-
), (t, n) => (
|
|
3957
|
+
), (t, n) => (D(), S("div", Nc, [
|
|
3958
3958
|
j(t.$slots, "default")
|
|
3959
3959
|
]));
|
|
3960
3960
|
}
|
|
3961
|
-
}),
|
|
3961
|
+
}), mt = Symbol("button-group-context-keys"), jc = { class: "sq-card" }, Hc = {
|
|
3962
3962
|
key: 0,
|
|
3963
3963
|
class: "sq-card-header"
|
|
3964
3964
|
}, Vc = ["textContent"], Uc = {
|
|
@@ -3972,19 +3972,19 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3972
3972
|
decorative: { type: Boolean, default: !1 }
|
|
3973
3973
|
},
|
|
3974
3974
|
setup(u) {
|
|
3975
|
-
const e =
|
|
3976
|
-
return (n, r) => (
|
|
3977
|
-
t.title ||
|
|
3975
|
+
const e = $0(), t = u;
|
|
3976
|
+
return (n, r) => (D(), S("section", jc, [
|
|
3977
|
+
t.title || w(e).title ? (D(), S("div", Hc, [
|
|
3978
3978
|
A("h2", {
|
|
3979
|
-
class:
|
|
3980
|
-
textContent:
|
|
3979
|
+
class: O({ "has-decorative": t.decorative }),
|
|
3980
|
+
textContent: su(t.title)
|
|
3981
3981
|
}, null, 10, Vc),
|
|
3982
3982
|
j(n.$slots, "title")
|
|
3983
|
-
])) :
|
|
3983
|
+
])) : V("", !0),
|
|
3984
3984
|
j(n.$slots, "default"),
|
|
3985
|
-
|
|
3985
|
+
w(e).footer ? (D(), S("div", Uc, [
|
|
3986
3986
|
j(n.$slots, "footer")
|
|
3987
|
-
])) :
|
|
3987
|
+
])) : V("", !0)
|
|
3988
3988
|
]));
|
|
3989
3989
|
}
|
|
3990
3990
|
}), Zc = ["textContent", "for"], Wc = { class: "sq-form-item-content" }, Gc = ["textContent"], Jc = /* @__PURE__ */ R({
|
|
@@ -3999,34 +3999,34 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3999
3999
|
errorMsg: {}
|
|
4000
4000
|
},
|
|
4001
4001
|
setup(u) {
|
|
4002
|
-
const { nextId: e } = Pn(), t = u, n =
|
|
4003
|
-
|
|
4004
|
-
const r =
|
|
4002
|
+
const { nextId: e } = Pn(), t = u, n = $(`sq-id-${e()}`);
|
|
4003
|
+
He(u0, n);
|
|
4004
|
+
const r = E(() => {
|
|
4005
4005
|
const o = [];
|
|
4006
4006
|
return t.isRequired && o.push("is-required"), o;
|
|
4007
4007
|
});
|
|
4008
|
-
return (o, i) => (
|
|
4008
|
+
return (o, i) => (D(), S("div", {
|
|
4009
4009
|
class: "sq-form-item",
|
|
4010
|
-
style:
|
|
4010
|
+
style: au({ "--form-label-width": t.labelWidth })
|
|
4011
4011
|
}, [
|
|
4012
|
-
t.label || t.showLabel ? (
|
|
4012
|
+
t.label || t.showLabel ? (D(), S("label", {
|
|
4013
4013
|
key: 0,
|
|
4014
|
-
class:
|
|
4015
|
-
textContent:
|
|
4014
|
+
class: O(["sq-form-item-label", r.value]),
|
|
4015
|
+
textContent: su(t.label),
|
|
4016
4016
|
for: t.type !== "custom" ? n.value : void 0
|
|
4017
|
-
}, null, 10, Zc)) :
|
|
4017
|
+
}, null, 10, Zc)) : V("", !0),
|
|
4018
4018
|
A("div", Wc, [
|
|
4019
4019
|
j(o.$slots, "default"),
|
|
4020
|
-
|
|
4020
|
+
Gu(pe, {
|
|
4021
4021
|
appear: "",
|
|
4022
4022
|
name: "sq-fade"
|
|
4023
4023
|
}, {
|
|
4024
|
-
default:
|
|
4025
|
-
|
|
4024
|
+
default: uu(() => [
|
|
4025
|
+
Du(A("span", {
|
|
4026
4026
|
class: "sq-form-item-check",
|
|
4027
|
-
textContent:
|
|
4027
|
+
textContent: su(t.errorMsg)
|
|
4028
4028
|
}, null, 8, Gc), [
|
|
4029
|
-
[
|
|
4029
|
+
[Wu, t.errorMsg]
|
|
4030
4030
|
])
|
|
4031
4031
|
]),
|
|
4032
4032
|
_: 1
|
|
@@ -4037,7 +4037,7 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4037
4037
|
}), Es = /* @__PURE__ */ R({
|
|
4038
4038
|
name: "sq-form",
|
|
4039
4039
|
__name: "form",
|
|
4040
|
-
props: /* @__PURE__ */
|
|
4040
|
+
props: /* @__PURE__ */ eu({
|
|
4041
4041
|
round: { type: Boolean, default: void 0 },
|
|
4042
4042
|
showStatusIcon: { type: Boolean },
|
|
4043
4043
|
disabled: { type: Boolean, default: void 0 },
|
|
@@ -4054,123 +4054,126 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4054
4054
|
},
|
|
4055
4055
|
formDataModifiers: {}
|
|
4056
4056
|
}),
|
|
4057
|
-
emits: /* @__PURE__ */
|
|
4057
|
+
emits: /* @__PURE__ */ eu(["validate"], ["update:formData"]),
|
|
4058
4058
|
setup(u, { expose: e, emit: t }) {
|
|
4059
4059
|
let n = {};
|
|
4060
4060
|
const r = t, o = u;
|
|
4061
|
-
|
|
4061
|
+
He(
|
|
4062
4062
|
ge,
|
|
4063
|
-
|
|
4063
|
+
$({
|
|
4064
4064
|
size: _u(o, "size"),
|
|
4065
4065
|
round: _u(o, "round"),
|
|
4066
4066
|
disabled: _u(o, "disabled"),
|
|
4067
4067
|
readonly: _u(o, "readonly")
|
|
4068
4068
|
})
|
|
4069
4069
|
);
|
|
4070
|
-
const i =
|
|
4070
|
+
const i = mu(u, "formData"), c = $({}), s = $([]), a = $([]), l = E(() => {
|
|
4071
4071
|
const b = [];
|
|
4072
4072
|
return o.size !== "md" && b.push(`sq-form--${o.size}`), b;
|
|
4073
|
-
}),
|
|
4073
|
+
}), f = E(() => {
|
|
4074
4074
|
const b = o.step;
|
|
4075
|
-
return b === void 0 ? o.config : o.config.filter((
|
|
4075
|
+
return b === void 0 ? o.config : o.config.filter((C) => C.step === void 0 ? C : Array.isArray(C.step) ? C.step.includes(b) : C.step === b);
|
|
4076
4076
|
});
|
|
4077
4077
|
de(() => {
|
|
4078
4078
|
n = structuredClone(ue(i.value));
|
|
4079
4079
|
});
|
|
4080
|
-
function
|
|
4081
|
-
var
|
|
4082
|
-
return !o.hideRequiredAsterisk && ((
|
|
4080
|
+
function h(b) {
|
|
4081
|
+
var C;
|
|
4082
|
+
return !o.hideRequiredAsterisk && ((C = b.rule) == null ? void 0 : C.required);
|
|
4083
4083
|
}
|
|
4084
|
-
async function
|
|
4084
|
+
async function p(b, C, m, z = !0) {
|
|
4085
4085
|
if (!m) return;
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
if (
|
|
4086
|
+
s.value = s.value.filter((ru) => ru !== b);
|
|
4087
|
+
const F = m.trigger ?? "change", q = Array.isArray(F) ? "array" : "string";
|
|
4088
|
+
if (C) {
|
|
4089
|
+
if (q === "array" && !F.includes(C)) return;
|
|
4090
|
+
if (q === "string" && F !== C) return;
|
|
4090
4091
|
}
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4092
|
+
a.value.push(b);
|
|
4093
|
+
const M = i.value[b];
|
|
4094
|
+
let W = !1;
|
|
4095
|
+
return m.validateFunc ? W = await x(b, M, m, C) : typeof M == "string" && (W = _(b, M, m)), z && r("validate", b, W, ue(s.value)), a.value = a.value.filter((ru) => ru !== b), W;
|
|
4094
4096
|
}
|
|
4095
|
-
function
|
|
4097
|
+
function d(b) {
|
|
4096
4098
|
return c.value[b] ? "error" : s.value.includes(b) ? "success" : void 0;
|
|
4097
4099
|
}
|
|
4098
|
-
async function
|
|
4099
|
-
const F = await m.validateFunc(
|
|
4100
|
-
return F === !0 ?
|
|
4100
|
+
async function x(b, C, m, z) {
|
|
4101
|
+
const F = await m.validateFunc(C, z);
|
|
4102
|
+
return F === !0 ? g(b) : F === !1 ? k(b, "字段验证失败") : F ? k(b, F) : g(b), F === !0 || typeof F == "string" && !F;
|
|
4101
4103
|
}
|
|
4102
|
-
function
|
|
4103
|
-
return m.required && !
|
|
4104
|
+
function _(b, C, m) {
|
|
4105
|
+
return m.required && !C ? (k(b, m.requiredText ?? "字段必填"), !1) : m.pattern && C && !m.pattern.test(C) ? (k(b, m.patternText ?? "字段验证失败"), !1) : (g(b), !0);
|
|
4104
4106
|
}
|
|
4105
|
-
function k(b,
|
|
4106
|
-
s.value = s.value.filter((m) => m !== b), c.value[b] =
|
|
4107
|
+
function k(b, C) {
|
|
4108
|
+
s.value = s.value.filter((m) => m !== b), c.value[b] = C;
|
|
4107
4109
|
}
|
|
4108
|
-
function
|
|
4110
|
+
function g(b) {
|
|
4109
4111
|
s.value.push(b), delete c.value[b];
|
|
4110
4112
|
}
|
|
4111
|
-
function
|
|
4113
|
+
function y() {
|
|
4112
4114
|
i.value = structuredClone(n), c.value = {}, s.value = [], r("validate", "SQFORM", !1, ue(s.value));
|
|
4113
4115
|
}
|
|
4114
|
-
function
|
|
4115
|
-
const m = (b ? o.config :
|
|
4116
|
-
(
|
|
4117
|
-
).map((
|
|
4118
|
-
const F =
|
|
4119
|
-
return
|
|
4116
|
+
function v(b = !0) {
|
|
4117
|
+
const m = (b ? o.config : f.value).filter(
|
|
4118
|
+
(z) => z.type !== "custom" && z.rule && !s.value.includes(z.binding)
|
|
4119
|
+
).map((z) => {
|
|
4120
|
+
const F = z;
|
|
4121
|
+
return p(F.binding, void 0, F.rule, !1);
|
|
4120
4122
|
});
|
|
4121
|
-
return Promise.all(m).then((
|
|
4123
|
+
return Promise.all(m).then((z) => (r("validate", "SQFORM", !z.includes(!1), ue(s.value)), z));
|
|
4122
4124
|
}
|
|
4123
|
-
return e({ resetFields:
|
|
4124
|
-
class:
|
|
4125
|
-
style:
|
|
4125
|
+
return e({ resetFields: y, validate: v }), (b, C) => (D(), S("form", {
|
|
4126
|
+
class: O(["sq-form", l.value]),
|
|
4127
|
+
style: au({ "--form-label-width": o.labelWidth })
|
|
4126
4128
|
}, [
|
|
4127
|
-
(
|
|
4128
|
-
class:
|
|
4129
|
+
(D(!0), S(Nu, null, Ve(f.value, (m, z) => (D(), L(Jc, {
|
|
4130
|
+
class: O(m.itemClass),
|
|
4129
4131
|
type: m.type,
|
|
4130
|
-
key:
|
|
4132
|
+
key: z,
|
|
4131
4133
|
"label-width": m.labelWidth,
|
|
4132
4134
|
label: m.label,
|
|
4133
4135
|
"show-label": m.showLabel,
|
|
4134
|
-
"is-required":
|
|
4136
|
+
"is-required": h(m),
|
|
4135
4137
|
"error-msg": o.showMessage ? c.value[m.binding] : ""
|
|
4136
4138
|
}, {
|
|
4137
|
-
default:
|
|
4138
|
-
m.type === "input" ? (
|
|
4139
|
+
default: uu(() => [
|
|
4140
|
+
m.type === "input" ? (D(), L(w(Kc), c0({
|
|
4139
4141
|
key: 0,
|
|
4140
4142
|
ref_for: !0
|
|
4141
4143
|
}, m.props, {
|
|
4142
4144
|
name: m.name,
|
|
4143
4145
|
"show-status-icon": o.showStatusIcon,
|
|
4144
|
-
status:
|
|
4146
|
+
status: d(m.binding),
|
|
4147
|
+
loading: a.value.includes(m.binding),
|
|
4145
4148
|
value: i.value[m.binding],
|
|
4146
4149
|
"onUpdate:value": (F) => i.value[m.binding] = F,
|
|
4147
|
-
onChange: (F) =>
|
|
4148
|
-
onInput: (F) =>
|
|
4149
|
-
onBlur: (F) =>
|
|
4150
|
-
}), null, 16, ["name", "show-status-icon", "status", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : m.type === "textarea" ? (
|
|
4150
|
+
onChange: (F) => p(m.binding, "change", m.rule),
|
|
4151
|
+
onInput: (F) => p(m.binding, "input", m.rule),
|
|
4152
|
+
onBlur: (F) => p(m.binding, "blur", m.rule)
|
|
4153
|
+
}), null, 16, ["name", "show-status-icon", "status", "loading", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : m.type === "textarea" ? (D(), L(w(ps), c0({
|
|
4151
4154
|
key: 1,
|
|
4152
4155
|
ref_for: !0
|
|
4153
4156
|
}, m.props, {
|
|
4154
4157
|
name: m.name,
|
|
4155
|
-
status:
|
|
4158
|
+
status: d(m.binding),
|
|
4156
4159
|
value: i.value[m.binding],
|
|
4157
4160
|
"onUpdate:value": (F) => i.value[m.binding] = F,
|
|
4158
|
-
onChange: (F) =>
|
|
4159
|
-
onInput: (F) =>
|
|
4160
|
-
onBlur: (F) =>
|
|
4161
|
+
onChange: (F) => p(m.binding, "change", m.rule),
|
|
4162
|
+
onInput: (F) => p(m.binding, "input", m.rule),
|
|
4163
|
+
onBlur: (F) => p(m.binding, "blur", m.rule)
|
|
4161
4164
|
}), null, 16, ["name", "status", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : j(b.$slots, m.slot, { key: 2 })
|
|
4162
4165
|
]),
|
|
4163
4166
|
_: 2
|
|
4164
4167
|
}, 1032, ["class", "type", "label-width", "label", "show-label", "is-required", "error-msg"]))), 128))
|
|
4165
4168
|
], 6));
|
|
4166
4169
|
}
|
|
4167
|
-
}), ge = Symbol("form-context-keys"),
|
|
4170
|
+
}), ge = Symbol("form-context-keys"), u0 = Symbol("form-item-id-keys"), Xc = {
|
|
4168
4171
|
key: 0,
|
|
4169
4172
|
class: "sq-input-prefix"
|
|
4170
4173
|
}, Qc = ["id", "disabled", "readonly", "placeholder", "type", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode"], Yc = { class: "sq-input-suffix" }, Kc = /* @__PURE__ */ R({
|
|
4171
4174
|
name: "sq-input",
|
|
4172
4175
|
__name: "input",
|
|
4173
|
-
props: /* @__PURE__ */
|
|
4176
|
+
props: /* @__PURE__ */ eu({
|
|
4174
4177
|
status: {},
|
|
4175
4178
|
round: { type: Boolean, default: void 0 },
|
|
4176
4179
|
showStatusIcon: { type: Boolean },
|
|
@@ -4185,6 +4188,7 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4185
4188
|
autocomplete: { default: "off" },
|
|
4186
4189
|
name: {},
|
|
4187
4190
|
form: {},
|
|
4191
|
+
loading: { type: Boolean },
|
|
4188
4192
|
inputmode: {},
|
|
4189
4193
|
autofocus: { type: Boolean },
|
|
4190
4194
|
type: { default: "text" },
|
|
@@ -4193,68 +4197,68 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4193
4197
|
value: { default: "" },
|
|
4194
4198
|
valueModifiers: {}
|
|
4195
4199
|
}),
|
|
4196
|
-
emits: /* @__PURE__ */
|
|
4200
|
+
emits: /* @__PURE__ */ eu(["focus", "blur", "input", "change"], ["update:value"]),
|
|
4197
4201
|
setup(u, { expose: e, emit: t }) {
|
|
4198
|
-
const n =
|
|
4199
|
-
const
|
|
4200
|
-
return
|
|
4201
|
-
}),
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
() => C(_) || C(b) || C(m)
|
|
4206
|
-
), F = D(() => {
|
|
4202
|
+
const n = $0(), r = t, o = u, { inputSize: i, inputRound: c, inputDisabled: s, inputReadonly: a, id: l } = $c(o), f = mu(u, "value"), h = $(!1), p = $(!1), d = Mu(null), x = E(() => {
|
|
4203
|
+
const B = [], I = w(i), H = w(c), we = w(F);
|
|
4204
|
+
return I !== "md" && B.push(`sq-input--${I}`), o.status && B.push(`is-${o.status}`), H && B.push("is-round"), we && B.push("is-disabled"), B;
|
|
4205
|
+
}), _ = E(() => w(p) ? gn : Bn), k = E(() => w(p) ? "text" : o.type), g = E(() => o.showStatusIcon && !o.loading), y = E(() => n.prefix || o.prefixIcon), v = E(() => w(h) && w(f).length), b = E(
|
|
4206
|
+
() => o.type === "password" && w(v)
|
|
4207
|
+
), C = E(() => o.clearable && w(v)), m = E(() => {
|
|
4208
|
+
if (o.loading) return j0;
|
|
4207
4209
|
if (o.showStatusIcon && o.status)
|
|
4208
4210
|
switch (o.status) {
|
|
4209
4211
|
case "success":
|
|
4210
|
-
return
|
|
4212
|
+
return Jt;
|
|
4211
4213
|
case "warn":
|
|
4212
4214
|
return Rn;
|
|
4213
4215
|
case "error":
|
|
4214
|
-
return
|
|
4216
|
+
return cn;
|
|
4215
4217
|
}
|
|
4216
4218
|
return o.suffixIcon;
|
|
4217
|
-
})
|
|
4218
|
-
|
|
4219
|
-
|
|
4219
|
+
}), z = E(
|
|
4220
|
+
() => w(b) || w(C) || w(m) || n.suffix
|
|
4221
|
+
), F = E(() => o.loading || w(s));
|
|
4222
|
+
function q(B) {
|
|
4223
|
+
r("focus", B), !w(a) && (h.value = !0);
|
|
4220
4224
|
}
|
|
4221
|
-
function
|
|
4222
|
-
r("blur",
|
|
4225
|
+
function M(B) {
|
|
4226
|
+
r("blur", B), !w(a) && (h.value = !1);
|
|
4223
4227
|
}
|
|
4224
|
-
function
|
|
4225
|
-
setTimeout(
|
|
4228
|
+
function W() {
|
|
4229
|
+
setTimeout(G);
|
|
4226
4230
|
}
|
|
4227
|
-
function
|
|
4231
|
+
function ru() {
|
|
4228
4232
|
f.value = "";
|
|
4229
4233
|
}
|
|
4230
|
-
function
|
|
4234
|
+
function Q() {
|
|
4231
4235
|
p.value = !p.value;
|
|
4232
4236
|
}
|
|
4233
|
-
function
|
|
4234
|
-
var
|
|
4235
|
-
(
|
|
4237
|
+
function G() {
|
|
4238
|
+
var B;
|
|
4239
|
+
(B = d.value) == null || B.focus();
|
|
4236
4240
|
}
|
|
4237
|
-
function
|
|
4238
|
-
var
|
|
4239
|
-
h.value = !1, (
|
|
4241
|
+
function hu() {
|
|
4242
|
+
var B;
|
|
4243
|
+
h.value = !1, (B = d.value) == null || B.blur();
|
|
4240
4244
|
}
|
|
4241
|
-
return e({ focus:
|
|
4242
|
-
class:
|
|
4243
|
-
onMousedown:
|
|
4245
|
+
return e({ focus: G, blur: hu }), (B, I) => (D(), S("div", {
|
|
4246
|
+
class: O(["sq-input", x.value]),
|
|
4247
|
+
onMousedown: W
|
|
4244
4248
|
}, [
|
|
4245
|
-
|
|
4246
|
-
j(
|
|
4247
|
-
(
|
|
4249
|
+
y.value ? (D(), S("span", Xc, [
|
|
4250
|
+
j(B.$slots, "prefix", {}, () => [
|
|
4251
|
+
(D(), L(bu(o.prefixIcon)))
|
|
4248
4252
|
])
|
|
4249
|
-
])) :
|
|
4250
|
-
|
|
4251
|
-
"onUpdate:modelValue":
|
|
4252
|
-
id:
|
|
4253
|
+
])) : V("", !0),
|
|
4254
|
+
Du(A("input", {
|
|
4255
|
+
"onUpdate:modelValue": I[0] || (I[0] = (H) => f.value = H),
|
|
4256
|
+
id: w(l),
|
|
4253
4257
|
class: "sq-input-inner",
|
|
4254
|
-
disabled:
|
|
4255
|
-
readonly:
|
|
4258
|
+
disabled: F.value,
|
|
4259
|
+
readonly: w(a),
|
|
4256
4260
|
placeholder: o.placeholder,
|
|
4257
|
-
type:
|
|
4261
|
+
type: k.value,
|
|
4258
4262
|
maxlength: o.maxlength,
|
|
4259
4263
|
minlength: o.minlength,
|
|
4260
4264
|
autocomplete: o.autocomplete,
|
|
@@ -4264,34 +4268,32 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4264
4268
|
inputmode: o.inputmode,
|
|
4265
4269
|
ref_key: "inputRef",
|
|
4266
4270
|
ref: d,
|
|
4267
|
-
onFocus:
|
|
4268
|
-
onBlur:
|
|
4269
|
-
onInput:
|
|
4270
|
-
onChange:
|
|
4271
|
+
onFocus: q,
|
|
4272
|
+
onBlur: M,
|
|
4273
|
+
onInput: I[1] || (I[1] = (H) => r("input", H)),
|
|
4274
|
+
onChange: I[2] || (I[2] = (H) => r("change", H))
|
|
4271
4275
|
}, null, 40, Qc), [
|
|
4272
|
-
[
|
|
4276
|
+
[Ft, f.value]
|
|
4273
4277
|
]),
|
|
4274
|
-
|
|
4275
|
-
|
|
4278
|
+
Du(A("span", Yc, [
|
|
4279
|
+
b.value ? (D(), L(bu(_.value), {
|
|
4280
|
+
key: 0,
|
|
4276
4281
|
class: "sq-input-suffix-pwd",
|
|
4277
|
-
onMousedown:
|
|
4278
|
-
}, null,
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
pu(Pu(C(en), {
|
|
4282
|
+
onMousedown: Q
|
|
4283
|
+
}, null, 32)) : V("", !0),
|
|
4284
|
+
C.value ? (D(), L(w(tn), {
|
|
4285
|
+
key: 1,
|
|
4282
4286
|
class: "sq-input-suffix-clear",
|
|
4283
|
-
onMousedown:
|
|
4284
|
-
}
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
j(q.$slots, "suffix", {}, () => [
|
|
4288
|
-
F.value ? (w(), L(hu(F.value), {
|
|
4287
|
+
onMousedown: ru
|
|
4288
|
+
})) : V("", !0),
|
|
4289
|
+
j(B.$slots, "suffix", {}, () => [
|
|
4290
|
+
m.value ? (D(), L(bu(m.value), {
|
|
4289
4291
|
key: 0,
|
|
4290
|
-
class:
|
|
4291
|
-
}, null, 8, ["class"])) :
|
|
4292
|
+
class: O({ "sq-input-suffix-status": g.value })
|
|
4293
|
+
}, null, 8, ["class"])) : V("", !0)
|
|
4292
4294
|
])
|
|
4293
4295
|
], 512), [
|
|
4294
|
-
[
|
|
4296
|
+
[Wu, z.value]
|
|
4295
4297
|
])
|
|
4296
4298
|
], 34));
|
|
4297
4299
|
}
|
|
@@ -4308,17 +4310,17 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4308
4310
|
id: {}
|
|
4309
4311
|
},
|
|
4310
4312
|
setup(u, { expose: e }) {
|
|
4311
|
-
const t = u, n =
|
|
4313
|
+
const t = u, n = $(!0), r = E(() => {
|
|
4312
4314
|
switch (t.type) {
|
|
4313
4315
|
case "primary":
|
|
4314
4316
|
case "info":
|
|
4315
|
-
return
|
|
4317
|
+
return N0;
|
|
4316
4318
|
case "success":
|
|
4317
|
-
return
|
|
4319
|
+
return O0;
|
|
4318
4320
|
case "warn":
|
|
4319
|
-
return
|
|
4321
|
+
return H0;
|
|
4320
4322
|
case "error":
|
|
4321
|
-
return
|
|
4323
|
+
return P0;
|
|
4322
4324
|
default:
|
|
4323
4325
|
return;
|
|
4324
4326
|
}
|
|
@@ -4329,49 +4331,49 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4329
4331
|
function o() {
|
|
4330
4332
|
n.value = !1;
|
|
4331
4333
|
}
|
|
4332
|
-
return e({ close: o }), (i, c) => (
|
|
4334
|
+
return e({ close: o }), (i, c) => (D(), L(pe, {
|
|
4333
4335
|
appear: "",
|
|
4334
4336
|
name: "sq-zoom-top",
|
|
4335
4337
|
onBeforeLeave: t.onClose,
|
|
4336
4338
|
onAfterLeave: t.onDestroy
|
|
4337
4339
|
}, {
|
|
4338
|
-
default:
|
|
4339
|
-
|
|
4340
|
-
class:
|
|
4340
|
+
default: uu(() => [
|
|
4341
|
+
Du(A("div", {
|
|
4342
|
+
class: O(["sq-message", `is-${t.type}`]),
|
|
4341
4343
|
id: t.id,
|
|
4342
|
-
style:
|
|
4344
|
+
style: au({ top: `${t.offsetTop}px` })
|
|
4343
4345
|
}, [
|
|
4344
|
-
|
|
4345
|
-
default:
|
|
4346
|
-
t.type && r.value ? (
|
|
4346
|
+
Gu(w(Ku), { class: "sq-message-main" }, {
|
|
4347
|
+
default: uu(() => [
|
|
4348
|
+
t.type && r.value ? (D(), L(bu(r.value), {
|
|
4347
4349
|
key: 0,
|
|
4348
4350
|
class: "sq-message-icon"
|
|
4349
|
-
})) :
|
|
4351
|
+
})) : V("", !0),
|
|
4350
4352
|
A("div", {
|
|
4351
4353
|
class: "sq-message-content",
|
|
4352
|
-
textContent:
|
|
4354
|
+
textContent: su(t.message)
|
|
4353
4355
|
}, null, 8, ei)
|
|
4354
4356
|
]),
|
|
4355
4357
|
_: 1
|
|
4356
4358
|
}),
|
|
4357
4359
|
c[0] || (c[0] = A("div", { class: "sq-message-progress" }, null, -1))
|
|
4358
4360
|
], 14, ui), [
|
|
4359
|
-
[
|
|
4361
|
+
[Wu, n.value]
|
|
4360
4362
|
])
|
|
4361
4363
|
]),
|
|
4362
4364
|
_: 1
|
|
4363
4365
|
}, 8, ["onBeforeLeave", "onAfterLeave"]));
|
|
4364
4366
|
}
|
|
4365
|
-
}), { nextZIndex: ni } =
|
|
4367
|
+
}), { nextZIndex: ni } = V0(), Cu = [], ri = ["primary", "success", "info", "warn", "error"], oi = document.documentElement, ci = getComputedStyle(oi), Be = parseInt(ci.getPropertyValue("--sq-padding-md"));
|
|
4366
4368
|
let ii = 0;
|
|
4367
|
-
const
|
|
4369
|
+
const $e = (u = {}) => {
|
|
4368
4370
|
const e = `sq-message-${ii++}`;
|
|
4369
4371
|
let t = document.querySelector(".sq-message-wrap");
|
|
4370
4372
|
t || (t = document.createElement("div"), t.classList.add("sq-message-wrap"), document.body.appendChild(t)), t.style.zIndex = ni().toString();
|
|
4371
|
-
let n =
|
|
4373
|
+
let n = Be;
|
|
4372
4374
|
Cu.forEach((a) => {
|
|
4373
4375
|
var l;
|
|
4374
|
-
n += (((l = a.vm.el) == null ? void 0 : l.offsetHeight) || 0) +
|
|
4376
|
+
n += (((l = a.vm.el) == null ? void 0 : l.offsetHeight) || 0) + Be;
|
|
4375
4377
|
});
|
|
4376
4378
|
const r = {
|
|
4377
4379
|
type: "info",
|
|
@@ -4390,15 +4392,15 @@ const Ie = (u = {}) => {
|
|
|
4390
4392
|
for (let p = a; p < Cu.length; p++) {
|
|
4391
4393
|
const d = Cu[p];
|
|
4392
4394
|
let x = Number(parseInt(d.vm.el.style.top));
|
|
4393
|
-
x -= f, x -=
|
|
4395
|
+
x -= f, x -= Be, d.vm.component.props.offsetTop = x;
|
|
4394
4396
|
}
|
|
4395
4397
|
};
|
|
4396
4398
|
const c = r.onDestroy;
|
|
4397
4399
|
r.onDestroy = () => {
|
|
4398
|
-
c == null || c(),
|
|
4400
|
+
c == null || c(), i0(null, o);
|
|
4399
4401
|
};
|
|
4400
|
-
const s =
|
|
4401
|
-
return
|
|
4402
|
+
const s = Gu(ti, r);
|
|
4403
|
+
return i0(s, o), Cu.push({ vm: s }), t.appendChild(o.firstElementChild), {
|
|
4402
4404
|
close: () => {
|
|
4403
4405
|
var a, l;
|
|
4404
4406
|
(l = (a = s.component) == null ? void 0 : a.exposed) == null || l.close();
|
|
@@ -4406,14 +4408,14 @@ const Ie = (u = {}) => {
|
|
|
4406
4408
|
};
|
|
4407
4409
|
};
|
|
4408
4410
|
ri.forEach((u) => {
|
|
4409
|
-
|
|
4411
|
+
$e[u] = (e = {}) => (typeof e == "string" && (e = {
|
|
4410
4412
|
message: e
|
|
4411
|
-
}),
|
|
4413
|
+
}), $e({ ...e, type: u }));
|
|
4412
4414
|
});
|
|
4413
|
-
const As =
|
|
4415
|
+
const As = $e, si = /* @__PURE__ */ R({
|
|
4414
4416
|
name: "sq-pagination-prev",
|
|
4415
4417
|
__name: "pagination-prev",
|
|
4416
|
-
props: /* @__PURE__ */
|
|
4418
|
+
props: /* @__PURE__ */ eu({
|
|
4417
4419
|
disabled: { type: Boolean },
|
|
4418
4420
|
size: {}
|
|
4419
4421
|
}, {
|
|
@@ -4422,11 +4424,11 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4422
4424
|
}),
|
|
4423
4425
|
emits: ["update:current"],
|
|
4424
4426
|
setup(u) {
|
|
4425
|
-
const e = u, t =
|
|
4427
|
+
const e = u, t = mu(u, "current"), n = (r) => {
|
|
4426
4428
|
t.value += r;
|
|
4427
4429
|
};
|
|
4428
|
-
return (r, o) => (
|
|
4429
|
-
icon:
|
|
4430
|
+
return (r, o) => (D(), L(w(se), {
|
|
4431
|
+
icon: w(It),
|
|
4430
4432
|
size: e.size,
|
|
4431
4433
|
disabled: t.value === 1 || e.disabled,
|
|
4432
4434
|
onClick: o[0] || (o[0] = (i) => n(-1))
|
|
@@ -4435,7 +4437,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4435
4437
|
}), ai = /* @__PURE__ */ R({
|
|
4436
4438
|
name: "sq-pagination-prev",
|
|
4437
4439
|
__name: "pagination-next",
|
|
4438
|
-
props: /* @__PURE__ */
|
|
4440
|
+
props: /* @__PURE__ */ eu({
|
|
4439
4441
|
disabled: { type: Boolean },
|
|
4440
4442
|
size: {}
|
|
4441
4443
|
}, {
|
|
@@ -4444,11 +4446,11 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4444
4446
|
}),
|
|
4445
4447
|
emits: ["update:current"],
|
|
4446
4448
|
setup(u) {
|
|
4447
|
-
const e = u, t =
|
|
4449
|
+
const e = u, t = mu(u, "current"), n = (r) => {
|
|
4448
4450
|
t.value += r;
|
|
4449
4451
|
};
|
|
4450
|
-
return (r, o) => (
|
|
4451
|
-
icon:
|
|
4452
|
+
return (r, o) => (D(), L(w(se), {
|
|
4453
|
+
icon: w(Nt),
|
|
4452
4454
|
size: e.size,
|
|
4453
4455
|
disabled: t.value === 1 || e.disabled,
|
|
4454
4456
|
onClick: o[0] || (o[0] = (i) => n(1))
|
|
@@ -4456,7 +4458,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4456
4458
|
}
|
|
4457
4459
|
}), li = { class: "sq-pagination-pager" }, fi = /* @__PURE__ */ R({
|
|
4458
4460
|
__name: "pagination-pager",
|
|
4459
|
-
props: /* @__PURE__ */
|
|
4461
|
+
props: /* @__PURE__ */ eu({
|
|
4460
4462
|
disabled: { type: Boolean },
|
|
4461
4463
|
size: {},
|
|
4462
4464
|
list: {}
|
|
@@ -4466,25 +4468,25 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4466
4468
|
}),
|
|
4467
4469
|
emits: ["update:current"],
|
|
4468
4470
|
setup(u) {
|
|
4469
|
-
const e = u, t =
|
|
4471
|
+
const e = u, t = mu(u, "current"), n = (r) => {
|
|
4470
4472
|
t.value = r;
|
|
4471
4473
|
};
|
|
4472
|
-
return (r, o) => (
|
|
4473
|
-
(
|
|
4474
|
-
i ? (
|
|
4474
|
+
return (r, o) => (D(), S("div", li, [
|
|
4475
|
+
(D(!0), S(Nu, null, Ve(e.list, (i) => (D(), S(Nu, { key: i }, [
|
|
4476
|
+
i ? (D(), L(w(se), {
|
|
4475
4477
|
key: 0,
|
|
4476
4478
|
type: t.value === i ? "primary" : void 0,
|
|
4477
4479
|
size: e.size,
|
|
4478
4480
|
disabled: e.disabled,
|
|
4479
4481
|
onClick: (c) => n(i)
|
|
4480
4482
|
}, {
|
|
4481
|
-
default:
|
|
4482
|
-
|
|
4483
|
+
default: uu(() => [
|
|
4484
|
+
I0(su(i), 1)
|
|
4483
4485
|
]),
|
|
4484
4486
|
_: 2
|
|
4485
|
-
}, 1032, ["type", "size", "disabled", "onClick"])) : (
|
|
4487
|
+
}, 1032, ["type", "size", "disabled", "onClick"])) : (D(), L(w(se), {
|
|
4486
4488
|
key: 1,
|
|
4487
|
-
icon:
|
|
4489
|
+
icon: w(hn),
|
|
4488
4490
|
size: e.size,
|
|
4489
4491
|
disabled: ""
|
|
4490
4492
|
}, null, 8, ["icon", "size"]))
|
|
@@ -4494,7 +4496,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4494
4496
|
}), di = { class: "sq-pagination" }, Fs = /* @__PURE__ */ R({
|
|
4495
4497
|
name: "sq-pagination",
|
|
4496
4498
|
__name: "pagination",
|
|
4497
|
-
props: /* @__PURE__ */
|
|
4499
|
+
props: /* @__PURE__ */ eu({
|
|
4498
4500
|
total: { default: 0 },
|
|
4499
4501
|
disabled: { type: Boolean, default: !1 },
|
|
4500
4502
|
size: {},
|
|
@@ -4508,14 +4510,14 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4508
4510
|
}),
|
|
4509
4511
|
emits: ["update:current", "update:pageSize"],
|
|
4510
4512
|
setup(u) {
|
|
4511
|
-
const e = u, t =
|
|
4513
|
+
const e = u, t = mu(u, "current"), n = mu(u, "pageSize"), r = E(() => Math.ceil(e.total / n.value) || 1), o = E(() => {
|
|
4512
4514
|
const c = [], s = Math.floor(e.pagerCount / 2) - 1;
|
|
4513
4515
|
let a = t.value - s, l = t.value + s;
|
|
4514
4516
|
a < 2 && (a = 2, l = a + s * 2), l > r.value - 1 && (l = r.value - 1, a = l - s * 2);
|
|
4515
4517
|
for (let f = 1; f <= r.value; f++)
|
|
4516
4518
|
f === 1 || f === r.value || f >= a && f <= l ? c.push(f) : (f === a - 1 || f === l + 1) && c.push(0);
|
|
4517
4519
|
return c;
|
|
4518
|
-
}), i =
|
|
4520
|
+
}), i = E(() => {
|
|
4519
4521
|
const c = e.layout ?? ["prev", "pager", "next"], s = [];
|
|
4520
4522
|
for (const a of c)
|
|
4521
4523
|
switch (a) {
|
|
@@ -4531,8 +4533,8 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4531
4533
|
}
|
|
4532
4534
|
return s;
|
|
4533
4535
|
});
|
|
4534
|
-
return (c, s) => (
|
|
4535
|
-
(
|
|
4536
|
+
return (c, s) => (D(), S("div", di, [
|
|
4537
|
+
(D(!0), S(Nu, null, Ve(i.value, (a, l) => (D(), L(bu(a), {
|
|
4536
4538
|
key: l,
|
|
4537
4539
|
size: e.size,
|
|
4538
4540
|
disabled: e.disabled,
|
|
@@ -4542,7 +4544,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4542
4544
|
}, null, 40, ["size", "disabled", "list", "current"]))), 128))
|
|
4543
4545
|
]));
|
|
4544
4546
|
}
|
|
4545
|
-
}),
|
|
4547
|
+
}), Oe = Math.min, qu = Math.max, ae = Math.round, ne = Math.floor, iu = (u) => ({
|
|
4546
4548
|
x: u,
|
|
4547
4549
|
y: u
|
|
4548
4550
|
}), pi = {
|
|
@@ -4554,10 +4556,10 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4554
4556
|
start: "end",
|
|
4555
4557
|
end: "start"
|
|
4556
4558
|
};
|
|
4557
|
-
function
|
|
4559
|
+
function e0(u, e) {
|
|
4558
4560
|
return typeof u == "function" ? u(e) : u;
|
|
4559
4561
|
}
|
|
4560
|
-
function
|
|
4562
|
+
function Iu(u) {
|
|
4561
4563
|
return u.split("-")[0];
|
|
4562
4564
|
}
|
|
4563
4565
|
function _e(u) {
|
|
@@ -4566,35 +4568,35 @@ function _e(u) {
|
|
|
4566
4568
|
function bi(u) {
|
|
4567
4569
|
return u === "x" ? "y" : "x";
|
|
4568
4570
|
}
|
|
4569
|
-
function
|
|
4571
|
+
function xt(u) {
|
|
4570
4572
|
return u === "y" ? "height" : "width";
|
|
4571
4573
|
}
|
|
4572
4574
|
const mi = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4573
4575
|
function wu(u) {
|
|
4574
|
-
return mi.has(
|
|
4576
|
+
return mi.has(Iu(u)) ? "y" : "x";
|
|
4575
4577
|
}
|
|
4576
|
-
function
|
|
4578
|
+
function gt(u) {
|
|
4577
4579
|
return bi(wu(u));
|
|
4578
4580
|
}
|
|
4579
4581
|
function xi(u, e, t) {
|
|
4580
4582
|
t === void 0 && (t = !1);
|
|
4581
|
-
const n = _e(u), r =
|
|
4583
|
+
const n = _e(u), r = gt(u), o = xt(r);
|
|
4582
4584
|
let i = r === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4583
4585
|
return e.reference[o] > e.floating[o] && (i = le(i)), [i, le(i)];
|
|
4584
4586
|
}
|
|
4585
4587
|
function gi(u) {
|
|
4586
4588
|
const e = le(u);
|
|
4587
|
-
return [
|
|
4589
|
+
return [Pe(u), e, Pe(e)];
|
|
4588
4590
|
}
|
|
4589
|
-
function
|
|
4591
|
+
function Pe(u) {
|
|
4590
4592
|
return u.replace(/start|end/g, (e) => hi[e]);
|
|
4591
4593
|
}
|
|
4592
|
-
const
|
|
4594
|
+
const F0 = ["left", "right"], S0 = ["right", "left"], _i = ["top", "bottom"], ki = ["bottom", "top"];
|
|
4593
4595
|
function yi(u, e, t) {
|
|
4594
4596
|
switch (u) {
|
|
4595
4597
|
case "top":
|
|
4596
4598
|
case "bottom":
|
|
4597
|
-
return t ? e ?
|
|
4599
|
+
return t ? e ? S0 : F0 : e ? F0 : S0;
|
|
4598
4600
|
case "left":
|
|
4599
4601
|
case "right":
|
|
4600
4602
|
return e ? _i : ki;
|
|
@@ -4604,8 +4606,8 @@ function yi(u, e, t) {
|
|
|
4604
4606
|
}
|
|
4605
4607
|
function vi(u, e, t, n) {
|
|
4606
4608
|
const r = _e(u);
|
|
4607
|
-
let o = yi(
|
|
4608
|
-
return r && (o = o.map((i) => i + "-" + r), e && (o = o.concat(o.map(
|
|
4609
|
+
let o = yi(Iu(u), t === "start", n);
|
|
4610
|
+
return r && (o = o.map((i) => i + "-" + r), e && (o = o.concat(o.map(Pe)))), o;
|
|
4609
4611
|
}
|
|
4610
4612
|
function le(u) {
|
|
4611
4613
|
return u.replace(/left|right|bottom|top/g, (e) => pi[e]);
|
|
@@ -4645,12 +4647,12 @@ function fe(u) {
|
|
|
4645
4647
|
y: t
|
|
4646
4648
|
};
|
|
4647
4649
|
}
|
|
4648
|
-
function
|
|
4650
|
+
function z0(u, e, t) {
|
|
4649
4651
|
let {
|
|
4650
4652
|
reference: n,
|
|
4651
4653
|
floating: r
|
|
4652
4654
|
} = u;
|
|
4653
|
-
const o = wu(e), i =
|
|
4655
|
+
const o = wu(e), i = gt(e), c = xt(i), s = Iu(e), a = o === "y", l = n.x + n.width / 2 - r.width / 2, f = n.y + n.height / 2 - r.height / 2, h = n[c] / 2 - r[c] / 2;
|
|
4654
4656
|
let p;
|
|
4655
4657
|
switch (s) {
|
|
4656
4658
|
case "top":
|
|
@@ -4707,17 +4709,17 @@ const Di = async (u, e, t) => {
|
|
|
4707
4709
|
}), {
|
|
4708
4710
|
x: l,
|
|
4709
4711
|
y: f
|
|
4710
|
-
} =
|
|
4712
|
+
} = z0(a, n, s), h = n, p = {}, d = 0;
|
|
4711
4713
|
for (let x = 0; x < c.length; x++) {
|
|
4712
4714
|
const {
|
|
4713
|
-
name:
|
|
4714
|
-
fn:
|
|
4715
|
+
name: _,
|
|
4716
|
+
fn: k
|
|
4715
4717
|
} = c[x], {
|
|
4716
4718
|
x: g,
|
|
4717
4719
|
y,
|
|
4718
|
-
data:
|
|
4719
|
-
reset:
|
|
4720
|
-
} = await
|
|
4720
|
+
data: v,
|
|
4721
|
+
reset: b
|
|
4722
|
+
} = await k({
|
|
4721
4723
|
x: l,
|
|
4722
4724
|
y: f,
|
|
4723
4725
|
initialPlacement: n,
|
|
@@ -4733,18 +4735,18 @@ const Di = async (u, e, t) => {
|
|
|
4733
4735
|
});
|
|
4734
4736
|
l = g ?? l, f = y ?? f, p = {
|
|
4735
4737
|
...p,
|
|
4736
|
-
[
|
|
4737
|
-
...p[
|
|
4738
|
-
...
|
|
4738
|
+
[_]: {
|
|
4739
|
+
...p[_],
|
|
4740
|
+
...v
|
|
4739
4741
|
}
|
|
4740
|
-
},
|
|
4742
|
+
}, b && d <= 50 && (d++, typeof b == "object" && (b.placement && (h = b.placement), b.rects && (a = b.rects === !0 ? await i.getElementRects({
|
|
4741
4743
|
reference: u,
|
|
4742
4744
|
floating: e,
|
|
4743
4745
|
strategy: r
|
|
4744
|
-
}) :
|
|
4746
|
+
}) : b.rects), {
|
|
4745
4747
|
x: l,
|
|
4746
4748
|
y: f
|
|
4747
|
-
} =
|
|
4749
|
+
} = z0(a, h, s)), x = -1);
|
|
4748
4750
|
}
|
|
4749
4751
|
return {
|
|
4750
4752
|
x: l,
|
|
@@ -4770,8 +4772,8 @@ async function Ei(u, e) {
|
|
|
4770
4772
|
elementContext: f = "floating",
|
|
4771
4773
|
altBoundary: h = !1,
|
|
4772
4774
|
padding: p = 0
|
|
4773
|
-
} =
|
|
4774
|
-
element: (t = await (o.isElement == null ? void 0 : o.isElement(
|
|
4775
|
+
} = e0(e, u), d = wi(p), _ = c[h ? f === "floating" ? "reference" : "floating" : f], k = fe(await o.getClippingRect({
|
|
4776
|
+
element: (t = await (o.isElement == null ? void 0 : o.isElement(_))) == null || t ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(c.floating)),
|
|
4775
4777
|
boundary: a,
|
|
4776
4778
|
rootBoundary: l,
|
|
4777
4779
|
strategy: s
|
|
@@ -4780,23 +4782,23 @@ async function Ei(u, e) {
|
|
|
4780
4782
|
y: r,
|
|
4781
4783
|
width: i.floating.width,
|
|
4782
4784
|
height: i.floating.height
|
|
4783
|
-
} : i.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c.floating)),
|
|
4785
|
+
} : i.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c.floating)), v = await (o.isElement == null ? void 0 : o.isElement(y)) ? await (o.getScale == null ? void 0 : o.getScale(y)) || {
|
|
4784
4786
|
x: 1,
|
|
4785
4787
|
y: 1
|
|
4786
4788
|
} : {
|
|
4787
4789
|
x: 1,
|
|
4788
4790
|
y: 1
|
|
4789
|
-
},
|
|
4791
|
+
}, b = fe(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4790
4792
|
elements: c,
|
|
4791
4793
|
rect: g,
|
|
4792
4794
|
offsetParent: y,
|
|
4793
4795
|
strategy: s
|
|
4794
4796
|
}) : g);
|
|
4795
4797
|
return {
|
|
4796
|
-
top: (
|
|
4797
|
-
bottom: (
|
|
4798
|
-
left: (
|
|
4799
|
-
right: (
|
|
4798
|
+
top: (k.top - b.top + d.top) / v.y,
|
|
4799
|
+
bottom: (b.bottom - k.bottom + d.bottom) / v.y,
|
|
4800
|
+
left: (k.left - b.left + d.left) / v.x,
|
|
4801
|
+
right: (b.right - k.right + d.right) / v.x
|
|
4800
4802
|
};
|
|
4801
4803
|
}
|
|
4802
4804
|
const Ai = function(u) {
|
|
@@ -4819,61 +4821,61 @@ const Ai = function(u) {
|
|
|
4819
4821
|
fallbackStrategy: p = "bestFit",
|
|
4820
4822
|
fallbackAxisSideDirection: d = "none",
|
|
4821
4823
|
flipAlignment: x = !0,
|
|
4822
|
-
...
|
|
4823
|
-
} =
|
|
4824
|
+
..._
|
|
4825
|
+
} = e0(u, e);
|
|
4824
4826
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4825
4827
|
return {};
|
|
4826
|
-
const
|
|
4827
|
-
!h &&
|
|
4828
|
-
const
|
|
4829
|
-
let
|
|
4830
|
-
if (l &&
|
|
4831
|
-
const
|
|
4832
|
-
|
|
4828
|
+
const k = Iu(r), g = wu(c), y = Iu(c) === c, v = await (s.isRTL == null ? void 0 : s.isRTL(a.floating)), b = h || (y || !x ? [le(c)] : gi(c)), C = d !== "none";
|
|
4829
|
+
!h && C && b.push(...vi(c, x, d, v));
|
|
4830
|
+
const m = [c, ...b], z = await Ei(e, _), F = [];
|
|
4831
|
+
let q = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4832
|
+
if (l && F.push(z[k]), f) {
|
|
4833
|
+
const Q = xi(r, i, v);
|
|
4834
|
+
F.push(z[Q[0]], z[Q[1]]);
|
|
4833
4835
|
}
|
|
4834
|
-
if (
|
|
4836
|
+
if (q = [...q, {
|
|
4835
4837
|
placement: r,
|
|
4836
|
-
overflows:
|
|
4837
|
-
}], !
|
|
4838
|
-
var
|
|
4839
|
-
const
|
|
4840
|
-
if (
|
|
4838
|
+
overflows: F
|
|
4839
|
+
}], !F.every((Q) => Q <= 0)) {
|
|
4840
|
+
var M, W;
|
|
4841
|
+
const Q = (((M = o.flip) == null ? void 0 : M.index) || 0) + 1, G = m[Q];
|
|
4842
|
+
if (G && (!(f === "alignment" ? g !== wu(G) : !1) || // We leave the current main axis only if every placement on that axis
|
|
4841
4843
|
// overflows the main axis.
|
|
4842
|
-
|
|
4844
|
+
q.every((I) => wu(I.placement) === g ? I.overflows[0] > 0 : !0)))
|
|
4843
4845
|
return {
|
|
4844
4846
|
data: {
|
|
4845
|
-
index:
|
|
4846
|
-
overflows:
|
|
4847
|
+
index: Q,
|
|
4848
|
+
overflows: q
|
|
4847
4849
|
},
|
|
4848
4850
|
reset: {
|
|
4849
|
-
placement:
|
|
4851
|
+
placement: G
|
|
4850
4852
|
}
|
|
4851
4853
|
};
|
|
4852
|
-
let
|
|
4853
|
-
if (!
|
|
4854
|
+
let hu = (W = q.filter((B) => B.overflows[0] <= 0).sort((B, I) => B.overflows[1] - I.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
4855
|
+
if (!hu)
|
|
4854
4856
|
switch (p) {
|
|
4855
4857
|
case "bestFit": {
|
|
4856
|
-
var
|
|
4857
|
-
const
|
|
4858
|
-
if (
|
|
4859
|
-
const
|
|
4860
|
-
return
|
|
4858
|
+
var ru;
|
|
4859
|
+
const B = (ru = q.filter((I) => {
|
|
4860
|
+
if (C) {
|
|
4861
|
+
const H = wu(I.placement);
|
|
4862
|
+
return H === g || // Create a bias to the `y` side axis due to horizontal
|
|
4861
4863
|
// reading directions favoring greater width.
|
|
4862
|
-
|
|
4864
|
+
H === "y";
|
|
4863
4865
|
}
|
|
4864
4866
|
return !0;
|
|
4865
|
-
}).map((I) => [I.placement, I.overflows.filter((
|
|
4866
|
-
|
|
4867
|
+
}).map((I) => [I.placement, I.overflows.filter((H) => H > 0).reduce((H, we) => H + we, 0)]).sort((I, H) => I[1] - H[1])[0]) == null ? void 0 : ru[0];
|
|
4868
|
+
B && (hu = B);
|
|
4867
4869
|
break;
|
|
4868
4870
|
}
|
|
4869
4871
|
case "initialPlacement":
|
|
4870
|
-
|
|
4872
|
+
hu = c;
|
|
4871
4873
|
break;
|
|
4872
4874
|
}
|
|
4873
|
-
if (r !==
|
|
4875
|
+
if (r !== hu)
|
|
4874
4876
|
return {
|
|
4875
4877
|
reset: {
|
|
4876
|
-
placement:
|
|
4878
|
+
placement: hu
|
|
4877
4879
|
}
|
|
4878
4880
|
};
|
|
4879
4881
|
}
|
|
@@ -4886,7 +4888,7 @@ async function Si(u, e) {
|
|
|
4886
4888
|
placement: t,
|
|
4887
4889
|
platform: n,
|
|
4888
4890
|
elements: r
|
|
4889
|
-
} = u, o = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i =
|
|
4891
|
+
} = u, o = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = Iu(t), c = _e(t), s = wu(t) === "y", a = Fi.has(i) ? -1 : 1, l = o && s ? -1 : 1, f = e0(e, u);
|
|
4890
4892
|
let {
|
|
4891
4893
|
mainAxis: h,
|
|
4892
4894
|
crossAxis: p,
|
|
@@ -4935,27 +4937,27 @@ function ke() {
|
|
|
4935
4937
|
return typeof window < "u";
|
|
4936
4938
|
}
|
|
4937
4939
|
function Au(u) {
|
|
4938
|
-
return
|
|
4940
|
+
return t0(u) ? (u.nodeName || "").toLowerCase() : "#document";
|
|
4939
4941
|
}
|
|
4940
|
-
function
|
|
4942
|
+
function J(u) {
|
|
4941
4943
|
var e;
|
|
4942
4944
|
return (u == null || (e = u.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
4943
4945
|
}
|
|
4944
|
-
function
|
|
4946
|
+
function pu(u) {
|
|
4945
4947
|
var e;
|
|
4946
|
-
return (e = (
|
|
4948
|
+
return (e = (t0(u) ? u.ownerDocument : u.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4947
4949
|
}
|
|
4948
|
-
function
|
|
4949
|
-
return ke() ? u instanceof Node || u instanceof
|
|
4950
|
+
function t0(u) {
|
|
4951
|
+
return ke() ? u instanceof Node || u instanceof J(u).Node : !1;
|
|
4950
4952
|
}
|
|
4951
|
-
function
|
|
4952
|
-
return ke() ? u instanceof Element || u instanceof
|
|
4953
|
+
function tu(u) {
|
|
4954
|
+
return ke() ? u instanceof Element || u instanceof J(u).Element : !1;
|
|
4953
4955
|
}
|
|
4954
|
-
function
|
|
4955
|
-
return ke() ? u instanceof HTMLElement || u instanceof
|
|
4956
|
+
function lu(u) {
|
|
4957
|
+
return ke() ? u instanceof HTMLElement || u instanceof J(u).HTMLElement : !1;
|
|
4956
4958
|
}
|
|
4957
|
-
function
|
|
4958
|
-
return !ke() || typeof ShadowRoot > "u" ? !1 : u instanceof ShadowRoot || u instanceof
|
|
4959
|
+
function q0(u) {
|
|
4960
|
+
return !ke() || typeof ShadowRoot > "u" ? !1 : u instanceof ShadowRoot || u instanceof J(u).ShadowRoot;
|
|
4959
4961
|
}
|
|
4960
4962
|
const qi = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
4961
4963
|
function Yu(u) {
|
|
@@ -4964,7 +4966,7 @@ function Yu(u) {
|
|
|
4964
4966
|
overflowX: t,
|
|
4965
4967
|
overflowY: n,
|
|
4966
4968
|
display: r
|
|
4967
|
-
} =
|
|
4969
|
+
} = nu(u);
|
|
4968
4970
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + t) && !qi.has(r);
|
|
4969
4971
|
}
|
|
4970
4972
|
const Bi = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
@@ -4982,14 +4984,14 @@ function ye(u) {
|
|
|
4982
4984
|
});
|
|
4983
4985
|
}
|
|
4984
4986
|
const Li = ["transform", "translate", "scale", "rotate", "perspective"], Ri = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Ii = ["paint", "layout", "strict", "content"];
|
|
4985
|
-
function
|
|
4986
|
-
const e =
|
|
4987
|
+
function n0(u) {
|
|
4988
|
+
const e = r0(), t = tu(u) ? nu(u) : u;
|
|
4987
4989
|
return Li.some((n) => t[n] ? t[n] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || Ri.some((n) => (t.willChange || "").includes(n)) || Ii.some((n) => (t.contain || "").includes(n));
|
|
4988
4990
|
}
|
|
4989
4991
|
function $i(u) {
|
|
4990
4992
|
let e = vu(u);
|
|
4991
|
-
for (;
|
|
4992
|
-
if (
|
|
4993
|
+
for (; lu(e) && !$u(e); ) {
|
|
4994
|
+
if (n0(e))
|
|
4993
4995
|
return e;
|
|
4994
4996
|
if (ye(e))
|
|
4995
4997
|
return null;
|
|
@@ -4997,18 +4999,18 @@ function $i(u) {
|
|
|
4997
4999
|
}
|
|
4998
5000
|
return null;
|
|
4999
5001
|
}
|
|
5000
|
-
function
|
|
5002
|
+
function r0() {
|
|
5001
5003
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
5002
5004
|
}
|
|
5003
5005
|
const Oi = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
5004
|
-
function
|
|
5006
|
+
function $u(u) {
|
|
5005
5007
|
return Oi.has(Au(u));
|
|
5006
5008
|
}
|
|
5007
|
-
function
|
|
5008
|
-
return
|
|
5009
|
+
function nu(u) {
|
|
5010
|
+
return J(u).getComputedStyle(u);
|
|
5009
5011
|
}
|
|
5010
5012
|
function ve(u) {
|
|
5011
|
-
return
|
|
5013
|
+
return tu(u) ? {
|
|
5012
5014
|
scrollLeft: u.scrollLeft,
|
|
5013
5015
|
scrollTop: u.scrollTop
|
|
5014
5016
|
} : {
|
|
@@ -5023,80 +5025,80 @@ function vu(u) {
|
|
|
5023
5025
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
5024
5026
|
u.assignedSlot || // DOM Element detected.
|
|
5025
5027
|
u.parentNode || // ShadowRoot detected.
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
+
q0(u) && u.host || // Fallback.
|
|
5029
|
+
pu(u)
|
|
5028
5030
|
);
|
|
5029
|
-
return
|
|
5031
|
+
return q0(e) ? e.host : e;
|
|
5030
5032
|
}
|
|
5031
|
-
function
|
|
5033
|
+
function _t(u) {
|
|
5032
5034
|
const e = vu(u);
|
|
5033
|
-
return
|
|
5035
|
+
return $u(e) ? u.ownerDocument ? u.ownerDocument.body : u.body : lu(e) && Yu(e) ? e : _t(e);
|
|
5034
5036
|
}
|
|
5035
|
-
function
|
|
5037
|
+
function Zu(u, e, t) {
|
|
5036
5038
|
var n;
|
|
5037
5039
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
5038
|
-
const r =
|
|
5040
|
+
const r = _t(u), o = r === ((n = u.ownerDocument) == null ? void 0 : n.body), i = J(r);
|
|
5039
5041
|
if (o) {
|
|
5040
|
-
const c =
|
|
5041
|
-
return e.concat(i, i.visualViewport || [], Yu(r) ? r : [], c && t ?
|
|
5042
|
+
const c = Ne(i);
|
|
5043
|
+
return e.concat(i, i.visualViewport || [], Yu(r) ? r : [], c && t ? Zu(c) : []);
|
|
5042
5044
|
}
|
|
5043
|
-
return e.concat(r,
|
|
5045
|
+
return e.concat(r, Zu(r, [], t));
|
|
5044
5046
|
}
|
|
5045
|
-
function
|
|
5047
|
+
function Ne(u) {
|
|
5046
5048
|
return u.parent && Object.getPrototypeOf(u.parent) ? u.frameElement : null;
|
|
5047
5049
|
}
|
|
5048
|
-
function
|
|
5049
|
-
const e =
|
|
5050
|
+
function kt(u) {
|
|
5051
|
+
const e = nu(u);
|
|
5050
5052
|
let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
5051
|
-
const r =
|
|
5053
|
+
const r = lu(u), o = r ? u.offsetWidth : t, i = r ? u.offsetHeight : n, c = ae(t) !== o || ae(n) !== i;
|
|
5052
5054
|
return c && (t = o, n = i), {
|
|
5053
5055
|
width: t,
|
|
5054
5056
|
height: n,
|
|
5055
5057
|
$: c
|
|
5056
5058
|
};
|
|
5057
5059
|
}
|
|
5058
|
-
function
|
|
5059
|
-
return
|
|
5060
|
+
function o0(u) {
|
|
5061
|
+
return tu(u) ? u : u.contextElement;
|
|
5060
5062
|
}
|
|
5061
|
-
function
|
|
5062
|
-
const e =
|
|
5063
|
-
if (!
|
|
5064
|
-
return
|
|
5063
|
+
function Bu(u) {
|
|
5064
|
+
const e = o0(u);
|
|
5065
|
+
if (!lu(e))
|
|
5066
|
+
return iu(1);
|
|
5065
5067
|
const t = e.getBoundingClientRect(), {
|
|
5066
5068
|
width: n,
|
|
5067
5069
|
height: r,
|
|
5068
5070
|
$: o
|
|
5069
|
-
} =
|
|
5071
|
+
} = kt(e);
|
|
5070
5072
|
let i = (o ? ae(t.width) : t.width) / n, c = (o ? ae(t.height) : t.height) / r;
|
|
5071
5073
|
return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
5072
5074
|
x: i,
|
|
5073
5075
|
y: c
|
|
5074
5076
|
};
|
|
5075
5077
|
}
|
|
5076
|
-
const Pi = /* @__PURE__ */
|
|
5077
|
-
function
|
|
5078
|
-
const e =
|
|
5079
|
-
return !
|
|
5078
|
+
const Pi = /* @__PURE__ */ iu(0);
|
|
5079
|
+
function yt(u) {
|
|
5080
|
+
const e = J(u);
|
|
5081
|
+
return !r0() || !e.visualViewport ? Pi : {
|
|
5080
5082
|
x: e.visualViewport.offsetLeft,
|
|
5081
5083
|
y: e.visualViewport.offsetTop
|
|
5082
5084
|
};
|
|
5083
5085
|
}
|
|
5084
5086
|
function Ni(u, e, t) {
|
|
5085
|
-
return e === void 0 && (e = !1), !t || e && t !==
|
|
5087
|
+
return e === void 0 && (e = !1), !t || e && t !== J(u) ? !1 : e;
|
|
5086
5088
|
}
|
|
5087
5089
|
function Eu(u, e, t, n) {
|
|
5088
5090
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
5089
|
-
const r = u.getBoundingClientRect(), o =
|
|
5090
|
-
let i =
|
|
5091
|
-
e && (n ?
|
|
5092
|
-
const c = Ni(o, t, n) ?
|
|
5091
|
+
const r = u.getBoundingClientRect(), o = o0(u);
|
|
5092
|
+
let i = iu(1);
|
|
5093
|
+
e && (n ? tu(n) && (i = Bu(n)) : i = Bu(u));
|
|
5094
|
+
const c = Ni(o, t, n) ? yt(o) : iu(0);
|
|
5093
5095
|
let s = (r.left + c.x) / i.x, a = (r.top + c.y) / i.y, l = r.width / i.x, f = r.height / i.y;
|
|
5094
5096
|
if (o) {
|
|
5095
|
-
const h =
|
|
5096
|
-
let d = h, x =
|
|
5097
|
+
const h = J(o), p = n && tu(n) ? J(n) : n;
|
|
5098
|
+
let d = h, x = Ne(d);
|
|
5097
5099
|
for (; x && n && p !== d; ) {
|
|
5098
|
-
const
|
|
5099
|
-
s *=
|
|
5100
|
+
const _ = Bu(x), k = x.getBoundingClientRect(), g = nu(x), y = k.left + (x.clientLeft + parseFloat(g.paddingLeft)) * _.x, v = k.top + (x.clientTop + parseFloat(g.paddingTop)) * _.y;
|
|
5101
|
+
s *= _.x, a *= _.y, l *= _.x, f *= _.y, s += y, a += v, d = J(x), x = Ne(d);
|
|
5100
5102
|
}
|
|
5101
5103
|
}
|
|
5102
5104
|
return fe({
|
|
@@ -5108,9 +5110,9 @@ function Eu(u, e, t, n) {
|
|
|
5108
5110
|
}
|
|
5109
5111
|
function Ce(u, e) {
|
|
5110
5112
|
const t = ve(u).scrollLeft;
|
|
5111
|
-
return e ? e.left + t : Eu(
|
|
5113
|
+
return e ? e.left + t : Eu(pu(u)).left + t;
|
|
5112
5114
|
}
|
|
5113
|
-
function
|
|
5115
|
+
function vt(u, e) {
|
|
5114
5116
|
const t = u.getBoundingClientRect(), n = t.left + e.scrollLeft - Ce(u, t), r = t.top + e.scrollTop;
|
|
5115
5117
|
return {
|
|
5116
5118
|
x: n,
|
|
@@ -5124,19 +5126,19 @@ function ji(u) {
|
|
|
5124
5126
|
offsetParent: n,
|
|
5125
5127
|
strategy: r
|
|
5126
5128
|
} = u;
|
|
5127
|
-
const o = r === "fixed", i =
|
|
5129
|
+
const o = r === "fixed", i = pu(n), c = e ? ye(e.floating) : !1;
|
|
5128
5130
|
if (n === i || c && o)
|
|
5129
5131
|
return t;
|
|
5130
5132
|
let s = {
|
|
5131
5133
|
scrollLeft: 0,
|
|
5132
5134
|
scrollTop: 0
|
|
5133
|
-
}, a =
|
|
5134
|
-
const l =
|
|
5135
|
-
if ((f || !f && !o) && ((Au(n) !== "body" || Yu(i)) && (s = ve(n)),
|
|
5135
|
+
}, a = iu(1);
|
|
5136
|
+
const l = iu(0), f = lu(n);
|
|
5137
|
+
if ((f || !f && !o) && ((Au(n) !== "body" || Yu(i)) && (s = ve(n)), lu(n))) {
|
|
5136
5138
|
const p = Eu(n);
|
|
5137
|
-
a =
|
|
5139
|
+
a = Bu(n), l.x = p.x + n.clientLeft, l.y = p.y + n.clientTop;
|
|
5138
5140
|
}
|
|
5139
|
-
const h = i && !f && !o ?
|
|
5141
|
+
const h = i && !f && !o ? vt(i, s) : iu(0);
|
|
5140
5142
|
return {
|
|
5141
5143
|
width: t.width * a.x,
|
|
5142
5144
|
height: t.height * a.y,
|
|
@@ -5148,30 +5150,30 @@ function Hi(u) {
|
|
|
5148
5150
|
return Array.from(u.getClientRects());
|
|
5149
5151
|
}
|
|
5150
5152
|
function Vi(u) {
|
|
5151
|
-
const e =
|
|
5153
|
+
const e = pu(u), t = ve(u), n = u.ownerDocument.body, r = qu(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = qu(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
5152
5154
|
let i = -t.scrollLeft + Ce(u);
|
|
5153
5155
|
const c = -t.scrollTop;
|
|
5154
|
-
return
|
|
5156
|
+
return nu(n).direction === "rtl" && (i += qu(e.clientWidth, n.clientWidth) - r), {
|
|
5155
5157
|
width: r,
|
|
5156
5158
|
height: o,
|
|
5157
5159
|
x: i,
|
|
5158
5160
|
y: c
|
|
5159
5161
|
};
|
|
5160
5162
|
}
|
|
5161
|
-
const
|
|
5163
|
+
const B0 = 25;
|
|
5162
5164
|
function Ui(u, e) {
|
|
5163
|
-
const t =
|
|
5165
|
+
const t = J(u), n = pu(u), r = t.visualViewport;
|
|
5164
5166
|
let o = n.clientWidth, i = n.clientHeight, c = 0, s = 0;
|
|
5165
5167
|
if (r) {
|
|
5166
5168
|
o = r.width, i = r.height;
|
|
5167
|
-
const l =
|
|
5169
|
+
const l = r0();
|
|
5168
5170
|
(!l || l && e === "fixed") && (c = r.offsetLeft, s = r.offsetTop);
|
|
5169
5171
|
}
|
|
5170
5172
|
const a = Ce(n);
|
|
5171
5173
|
if (a <= 0) {
|
|
5172
5174
|
const l = n.ownerDocument, f = l.body, h = getComputedStyle(f), p = l.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, d = Math.abs(n.clientWidth - f.clientWidth - p);
|
|
5173
|
-
d <=
|
|
5174
|
-
} else a <=
|
|
5175
|
+
d <= B0 && (o -= d);
|
|
5176
|
+
} else a <= B0 && (o += a);
|
|
5175
5177
|
return {
|
|
5176
5178
|
width: o,
|
|
5177
5179
|
height: i,
|
|
@@ -5181,7 +5183,7 @@ function Ui(u, e) {
|
|
|
5181
5183
|
}
|
|
5182
5184
|
const Zi = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
5183
5185
|
function Wi(u, e) {
|
|
5184
|
-
const t = Eu(u, !0, e === "fixed"), n = t.top + u.clientTop, r = t.left + u.clientLeft, o =
|
|
5186
|
+
const t = Eu(u, !0, e === "fixed"), n = t.top + u.clientTop, r = t.left + u.clientLeft, o = lu(u) ? Bu(u) : iu(1), i = u.clientWidth * o.x, c = u.clientHeight * o.y, s = r * o.x, a = n * o.y;
|
|
5185
5187
|
return {
|
|
5186
5188
|
width: i,
|
|
5187
5189
|
height: c,
|
|
@@ -5189,16 +5191,16 @@ function Wi(u, e) {
|
|
|
5189
5191
|
y: a
|
|
5190
5192
|
};
|
|
5191
5193
|
}
|
|
5192
|
-
function
|
|
5194
|
+
function T0(u, e, t) {
|
|
5193
5195
|
let n;
|
|
5194
5196
|
if (e === "viewport")
|
|
5195
5197
|
n = Ui(u, t);
|
|
5196
5198
|
else if (e === "document")
|
|
5197
|
-
n = Vi(
|
|
5198
|
-
else if (
|
|
5199
|
+
n = Vi(pu(u));
|
|
5200
|
+
else if (tu(e))
|
|
5199
5201
|
n = Wi(e, t);
|
|
5200
5202
|
else {
|
|
5201
|
-
const r =
|
|
5203
|
+
const r = yt(u);
|
|
5202
5204
|
n = {
|
|
5203
5205
|
x: e.x - r.x,
|
|
5204
5206
|
y: e.y - r.y,
|
|
@@ -5208,20 +5210,20 @@ function B0(u, e, t) {
|
|
|
5208
5210
|
}
|
|
5209
5211
|
return fe(n);
|
|
5210
5212
|
}
|
|
5211
|
-
function
|
|
5213
|
+
function Ct(u, e) {
|
|
5212
5214
|
const t = vu(u);
|
|
5213
|
-
return t === e || !
|
|
5215
|
+
return t === e || !tu(t) || $u(t) ? !1 : nu(t).position === "fixed" || Ct(t, e);
|
|
5214
5216
|
}
|
|
5215
5217
|
function Gi(u, e) {
|
|
5216
5218
|
const t = e.get(u);
|
|
5217
5219
|
if (t)
|
|
5218
5220
|
return t;
|
|
5219
|
-
let n =
|
|
5220
|
-
const o =
|
|
5221
|
+
let n = Zu(u, [], !1).filter((c) => tu(c) && Au(c) !== "body"), r = null;
|
|
5222
|
+
const o = nu(u).position === "fixed";
|
|
5221
5223
|
let i = o ? vu(u) : u;
|
|
5222
|
-
for (;
|
|
5223
|
-
const c =
|
|
5224
|
-
!s && c.position === "fixed" && (r = null), (o ? !s && !r : !s && c.position === "static" && !!r && Zi.has(r.position) || Yu(i) && !s &&
|
|
5224
|
+
for (; tu(i) && !$u(i); ) {
|
|
5225
|
+
const c = nu(i), s = n0(i);
|
|
5226
|
+
!s && c.position === "fixed" && (r = null), (o ? !s && !r : !s && c.position === "static" && !!r && Zi.has(r.position) || Yu(i) && !s && Ct(u, i)) ? n = n.filter((l) => l !== i) : r = c, i = vu(i);
|
|
5225
5227
|
}
|
|
5226
5228
|
return e.set(u, n), n;
|
|
5227
5229
|
}
|
|
@@ -5233,9 +5235,9 @@ function Ji(u) {
|
|
|
5233
5235
|
strategy: r
|
|
5234
5236
|
} = u;
|
|
5235
5237
|
const i = [...t === "clippingAncestors" ? ye(e) ? [] : Gi(e, this._c) : [].concat(t), n], c = i[0], s = i.reduce((a, l) => {
|
|
5236
|
-
const f =
|
|
5237
|
-
return a.top =
|
|
5238
|
-
},
|
|
5238
|
+
const f = T0(e, l, r);
|
|
5239
|
+
return a.top = qu(f.top, a.top), a.right = Oe(f.right, a.right), a.bottom = Oe(f.bottom, a.bottom), a.left = qu(f.left, a.left), a;
|
|
5240
|
+
}, T0(e, c, r));
|
|
5239
5241
|
return {
|
|
5240
5242
|
width: s.right - s.left,
|
|
5241
5243
|
height: s.bottom - s.top,
|
|
@@ -5247,19 +5249,19 @@ function Xi(u) {
|
|
|
5247
5249
|
const {
|
|
5248
5250
|
width: e,
|
|
5249
5251
|
height: t
|
|
5250
|
-
} =
|
|
5252
|
+
} = kt(u);
|
|
5251
5253
|
return {
|
|
5252
5254
|
width: e,
|
|
5253
5255
|
height: t
|
|
5254
5256
|
};
|
|
5255
5257
|
}
|
|
5256
5258
|
function Qi(u, e, t) {
|
|
5257
|
-
const n =
|
|
5259
|
+
const n = lu(e), r = pu(e), o = t === "fixed", i = Eu(u, !0, o, e);
|
|
5258
5260
|
let c = {
|
|
5259
5261
|
scrollLeft: 0,
|
|
5260
5262
|
scrollTop: 0
|
|
5261
5263
|
};
|
|
5262
|
-
const s =
|
|
5264
|
+
const s = iu(0);
|
|
5263
5265
|
function a() {
|
|
5264
5266
|
s.x = Ce(r);
|
|
5265
5267
|
}
|
|
@@ -5269,7 +5271,7 @@ function Qi(u, e, t) {
|
|
|
5269
5271
|
s.x = p.x + e.clientLeft, s.y = p.y + e.clientTop;
|
|
5270
5272
|
} else r && a();
|
|
5271
5273
|
o && !n && r && a();
|
|
5272
|
-
const l = r && !n && !o ?
|
|
5274
|
+
const l = r && !n && !o ? vt(r, c) : iu(0), f = i.left + c.scrollLeft - s.x - l.x, h = i.top + c.scrollTop - s.y - l.y;
|
|
5273
5275
|
return {
|
|
5274
5276
|
x: f,
|
|
5275
5277
|
y: h,
|
|
@@ -5277,37 +5279,37 @@ function Qi(u, e, t) {
|
|
|
5277
5279
|
height: i.height
|
|
5278
5280
|
};
|
|
5279
5281
|
}
|
|
5280
|
-
function
|
|
5281
|
-
return
|
|
5282
|
+
function Te(u) {
|
|
5283
|
+
return nu(u).position === "static";
|
|
5282
5284
|
}
|
|
5283
|
-
function
|
|
5284
|
-
if (!
|
|
5285
|
+
function M0(u, e) {
|
|
5286
|
+
if (!lu(u) || nu(u).position === "fixed")
|
|
5285
5287
|
return null;
|
|
5286
5288
|
if (e)
|
|
5287
5289
|
return e(u);
|
|
5288
5290
|
let t = u.offsetParent;
|
|
5289
|
-
return
|
|
5291
|
+
return pu(u) === t && (t = t.ownerDocument.body), t;
|
|
5290
5292
|
}
|
|
5291
|
-
function
|
|
5292
|
-
const t =
|
|
5293
|
+
function wt(u, e) {
|
|
5294
|
+
const t = J(u);
|
|
5293
5295
|
if (ye(u))
|
|
5294
5296
|
return t;
|
|
5295
|
-
if (!
|
|
5297
|
+
if (!lu(u)) {
|
|
5296
5298
|
let r = vu(u);
|
|
5297
|
-
for (; r &&
|
|
5298
|
-
if (
|
|
5299
|
+
for (; r && !$u(r); ) {
|
|
5300
|
+
if (tu(r) && !Te(r))
|
|
5299
5301
|
return r;
|
|
5300
5302
|
r = vu(r);
|
|
5301
5303
|
}
|
|
5302
5304
|
return t;
|
|
5303
5305
|
}
|
|
5304
|
-
let n =
|
|
5305
|
-
for (; n && Ti(n) &&
|
|
5306
|
-
n =
|
|
5307
|
-
return n &&
|
|
5306
|
+
let n = M0(u, e);
|
|
5307
|
+
for (; n && Ti(n) && Te(n); )
|
|
5308
|
+
n = M0(n, e);
|
|
5309
|
+
return n && $u(n) && Te(n) && !n0(n) ? t : n || $i(u) || t;
|
|
5308
5310
|
}
|
|
5309
5311
|
const Yi = async function(u) {
|
|
5310
|
-
const e = this.getOffsetParent ||
|
|
5312
|
+
const e = this.getOffsetParent || wt, t = this.getDimensions, n = await t(u.floating);
|
|
5311
5313
|
return {
|
|
5312
5314
|
reference: Qi(u.reference, await e(u.floating), u.strategy),
|
|
5313
5315
|
floating: {
|
|
@@ -5319,26 +5321,26 @@ const Yi = async function(u) {
|
|
|
5319
5321
|
};
|
|
5320
5322
|
};
|
|
5321
5323
|
function Ki(u) {
|
|
5322
|
-
return
|
|
5324
|
+
return nu(u).direction === "rtl";
|
|
5323
5325
|
}
|
|
5324
5326
|
const us = {
|
|
5325
5327
|
convertOffsetParentRelativeRectToViewportRelativeRect: ji,
|
|
5326
|
-
getDocumentElement:
|
|
5328
|
+
getDocumentElement: pu,
|
|
5327
5329
|
getClippingRect: Ji,
|
|
5328
|
-
getOffsetParent:
|
|
5330
|
+
getOffsetParent: wt,
|
|
5329
5331
|
getElementRects: Yi,
|
|
5330
5332
|
getClientRects: Hi,
|
|
5331
5333
|
getDimensions: Xi,
|
|
5332
|
-
getScale:
|
|
5333
|
-
isElement:
|
|
5334
|
+
getScale: Bu,
|
|
5335
|
+
isElement: tu,
|
|
5334
5336
|
isRTL: Ki
|
|
5335
5337
|
};
|
|
5336
|
-
function
|
|
5338
|
+
function Dt(u, e) {
|
|
5337
5339
|
return u.x === e.x && u.y === e.y && u.width === e.width && u.height === e.height;
|
|
5338
5340
|
}
|
|
5339
5341
|
function es(u, e) {
|
|
5340
5342
|
let t = null, n;
|
|
5341
|
-
const r =
|
|
5343
|
+
const r = pu(u);
|
|
5342
5344
|
function o() {
|
|
5343
5345
|
var c;
|
|
5344
5346
|
clearTimeout(n), (c = t) == null || c.disconnect(), t = null;
|
|
@@ -5353,30 +5355,30 @@ function es(u, e) {
|
|
|
5353
5355
|
} = a;
|
|
5354
5356
|
if (c || e(), !h || !p)
|
|
5355
5357
|
return;
|
|
5356
|
-
const d = ne(f), x = ne(r.clientWidth - (l + h)),
|
|
5357
|
-
rootMargin: -d + "px " + -x + "px " + -
|
|
5358
|
-
threshold:
|
|
5358
|
+
const d = ne(f), x = ne(r.clientWidth - (l + h)), _ = ne(r.clientHeight - (f + p)), k = ne(l), y = {
|
|
5359
|
+
rootMargin: -d + "px " + -x + "px " + -_ + "px " + -k + "px",
|
|
5360
|
+
threshold: qu(0, Oe(1, s)) || 1
|
|
5359
5361
|
};
|
|
5360
|
-
let
|
|
5361
|
-
function
|
|
5362
|
-
const
|
|
5363
|
-
if (
|
|
5364
|
-
if (!
|
|
5362
|
+
let v = !0;
|
|
5363
|
+
function b(C) {
|
|
5364
|
+
const m = C[0].intersectionRatio;
|
|
5365
|
+
if (m !== s) {
|
|
5366
|
+
if (!v)
|
|
5365
5367
|
return i();
|
|
5366
|
-
|
|
5368
|
+
m ? i(!1, m) : n = setTimeout(() => {
|
|
5367
5369
|
i(!1, 1e-7);
|
|
5368
5370
|
}, 1e3);
|
|
5369
5371
|
}
|
|
5370
|
-
|
|
5372
|
+
m === 1 && !Dt(a, u.getBoundingClientRect()) && i(), v = !1;
|
|
5371
5373
|
}
|
|
5372
5374
|
try {
|
|
5373
|
-
t = new IntersectionObserver(
|
|
5375
|
+
t = new IntersectionObserver(b, {
|
|
5374
5376
|
...y,
|
|
5375
5377
|
// Handle <iframe>s
|
|
5376
5378
|
root: r.ownerDocument
|
|
5377
5379
|
});
|
|
5378
5380
|
} catch {
|
|
5379
|
-
t = new IntersectionObserver(
|
|
5381
|
+
t = new IntersectionObserver(b, y);
|
|
5380
5382
|
}
|
|
5381
5383
|
t.observe(u);
|
|
5382
5384
|
}
|
|
@@ -5390,32 +5392,32 @@ function ts(u, e, t, n) {
|
|
|
5390
5392
|
elementResize: i = typeof ResizeObserver == "function",
|
|
5391
5393
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
5392
5394
|
animationFrame: s = !1
|
|
5393
|
-
} = n, a =
|
|
5394
|
-
l.forEach((
|
|
5395
|
-
r &&
|
|
5395
|
+
} = n, a = o0(u), l = r || o ? [...a ? Zu(a) : [], ...Zu(e)] : [];
|
|
5396
|
+
l.forEach((k) => {
|
|
5397
|
+
r && k.addEventListener("scroll", t, {
|
|
5396
5398
|
passive: !0
|
|
5397
|
-
}), o &&
|
|
5399
|
+
}), o && k.addEventListener("resize", t);
|
|
5398
5400
|
});
|
|
5399
5401
|
const f = a && c ? es(a, t) : null;
|
|
5400
5402
|
let h = -1, p = null;
|
|
5401
|
-
i && (p = new ResizeObserver((
|
|
5402
|
-
let [g] =
|
|
5403
|
+
i && (p = new ResizeObserver((k) => {
|
|
5404
|
+
let [g] = k;
|
|
5403
5405
|
g && g.target === a && p && (p.unobserve(e), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
|
|
5404
5406
|
var y;
|
|
5405
5407
|
(y = p) == null || y.observe(e);
|
|
5406
5408
|
})), t();
|
|
5407
5409
|
}), a && !s && p.observe(a), p.observe(e));
|
|
5408
5410
|
let d, x = s ? Eu(u) : null;
|
|
5409
|
-
s &&
|
|
5410
|
-
function
|
|
5411
|
-
const
|
|
5412
|
-
x && !
|
|
5411
|
+
s && _();
|
|
5412
|
+
function _() {
|
|
5413
|
+
const k = Eu(u);
|
|
5414
|
+
x && !Dt(x, k) && t(), x = k, d = requestAnimationFrame(_);
|
|
5413
5415
|
}
|
|
5414
5416
|
return t(), () => {
|
|
5415
|
-
var
|
|
5417
|
+
var k;
|
|
5416
5418
|
l.forEach((g) => {
|
|
5417
5419
|
r && g.removeEventListener("scroll", t), o && g.removeEventListener("resize", t);
|
|
5418
|
-
}), f == null || f(), (
|
|
5420
|
+
}), f == null || f(), (k = p) == null || k.disconnect(), p = null, s && cancelAnimationFrame(d);
|
|
5419
5421
|
};
|
|
5420
5422
|
}
|
|
5421
5423
|
const ns = zi, rs = Ai, os = (u, e, t) => {
|
|
@@ -5434,76 +5436,76 @@ const ns = zi, rs = Ai, os = (u, e, t) => {
|
|
|
5434
5436
|
function cs(u) {
|
|
5435
5437
|
return u != null && typeof u == "object" && "$el" in u;
|
|
5436
5438
|
}
|
|
5437
|
-
function
|
|
5439
|
+
function L0(u) {
|
|
5438
5440
|
if (cs(u)) {
|
|
5439
5441
|
const e = u.$el;
|
|
5440
|
-
return
|
|
5442
|
+
return t0(e) && Au(e) === "#comment" ? null : e;
|
|
5441
5443
|
}
|
|
5442
5444
|
return u;
|
|
5443
5445
|
}
|
|
5444
|
-
function
|
|
5445
|
-
return typeof u == "function" ? u() :
|
|
5446
|
+
function Pu(u) {
|
|
5447
|
+
return typeof u == "function" ? u() : w(u);
|
|
5446
5448
|
}
|
|
5447
|
-
function
|
|
5449
|
+
function Et(u) {
|
|
5448
5450
|
return typeof window > "u" ? 1 : (u.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5449
5451
|
}
|
|
5450
|
-
function
|
|
5451
|
-
const t =
|
|
5452
|
+
function R0(u, e) {
|
|
5453
|
+
const t = Et(u);
|
|
5452
5454
|
return Math.round(e * t) / t;
|
|
5453
5455
|
}
|
|
5454
5456
|
function is(u, e, t) {
|
|
5455
5457
|
t === void 0 && (t = {});
|
|
5456
|
-
const n = t.whileElementsMounted, r =
|
|
5457
|
-
var
|
|
5458
|
-
return (
|
|
5459
|
-
}), o =
|
|
5460
|
-
var
|
|
5461
|
-
return (
|
|
5462
|
-
}), c =
|
|
5463
|
-
var
|
|
5464
|
-
return (
|
|
5465
|
-
}), s =
|
|
5466
|
-
var
|
|
5467
|
-
return (
|
|
5468
|
-
}), a =
|
|
5469
|
-
const
|
|
5458
|
+
const n = t.whileElementsMounted, r = E(() => {
|
|
5459
|
+
var m;
|
|
5460
|
+
return (m = Pu(t.open)) != null ? m : !0;
|
|
5461
|
+
}), o = E(() => Pu(t.middleware)), i = E(() => {
|
|
5462
|
+
var m;
|
|
5463
|
+
return (m = Pu(t.placement)) != null ? m : "bottom";
|
|
5464
|
+
}), c = E(() => {
|
|
5465
|
+
var m;
|
|
5466
|
+
return (m = Pu(t.strategy)) != null ? m : "absolute";
|
|
5467
|
+
}), s = E(() => {
|
|
5468
|
+
var m;
|
|
5469
|
+
return (m = Pu(t.transform)) != null ? m : !0;
|
|
5470
|
+
}), a = E(() => L0(u.value)), l = E(() => L0(e.value)), f = $(0), h = $(0), p = $(c.value), d = $(i.value), x = Mu({}), _ = $(!1), k = E(() => {
|
|
5471
|
+
const m = {
|
|
5470
5472
|
position: p.value,
|
|
5471
5473
|
left: "0",
|
|
5472
5474
|
top: "0"
|
|
5473
5475
|
};
|
|
5474
5476
|
if (!l.value)
|
|
5475
|
-
return
|
|
5476
|
-
const
|
|
5477
|
+
return m;
|
|
5478
|
+
const z = R0(l.value, f.value), F = R0(l.value, h.value);
|
|
5477
5479
|
return s.value ? {
|
|
5478
|
-
...
|
|
5479
|
-
transform: "translate(" +
|
|
5480
|
-
...
|
|
5480
|
+
...m,
|
|
5481
|
+
transform: "translate(" + z + "px, " + F + "px)",
|
|
5482
|
+
...Et(l.value) >= 1.5 && {
|
|
5481
5483
|
willChange: "transform"
|
|
5482
5484
|
}
|
|
5483
5485
|
} : {
|
|
5484
5486
|
position: p.value,
|
|
5485
|
-
left:
|
|
5486
|
-
top:
|
|
5487
|
+
left: z + "px",
|
|
5488
|
+
top: F + "px"
|
|
5487
5489
|
};
|
|
5488
5490
|
});
|
|
5489
5491
|
let g;
|
|
5490
5492
|
function y() {
|
|
5491
5493
|
if (a.value == null || l.value == null)
|
|
5492
5494
|
return;
|
|
5493
|
-
const
|
|
5495
|
+
const m = r.value;
|
|
5494
5496
|
os(a.value, l.value, {
|
|
5495
5497
|
middleware: o.value,
|
|
5496
5498
|
placement: i.value,
|
|
5497
5499
|
strategy: c.value
|
|
5498
|
-
}).then((
|
|
5499
|
-
f.value =
|
|
5500
|
+
}).then((z) => {
|
|
5501
|
+
f.value = z.x, h.value = z.y, p.value = z.strategy, d.value = z.placement, x.value = z.middlewareData, _.value = m !== !1;
|
|
5500
5502
|
});
|
|
5501
5503
|
}
|
|
5502
|
-
function
|
|
5504
|
+
function v() {
|
|
5503
5505
|
typeof g == "function" && (g(), g = void 0);
|
|
5504
5506
|
}
|
|
5505
|
-
function
|
|
5506
|
-
if (
|
|
5507
|
+
function b() {
|
|
5508
|
+
if (v(), n === void 0) {
|
|
5507
5509
|
y();
|
|
5508
5510
|
return;
|
|
5509
5511
|
}
|
|
@@ -5512,30 +5514,30 @@ function is(u, e, t) {
|
|
|
5512
5514
|
return;
|
|
5513
5515
|
}
|
|
5514
5516
|
}
|
|
5515
|
-
function
|
|
5516
|
-
r.value || (
|
|
5517
|
+
function C() {
|
|
5518
|
+
r.value || (_.value = !1);
|
|
5517
5519
|
}
|
|
5518
5520
|
return re([o, i, c, r], y, {
|
|
5519
5521
|
flush: "sync"
|
|
5520
|
-
}), re([a, l],
|
|
5522
|
+
}), re([a, l], b, {
|
|
5521
5523
|
flush: "sync"
|
|
5522
|
-
}), re(r,
|
|
5524
|
+
}), re(r, C, {
|
|
5523
5525
|
flush: "sync"
|
|
5524
|
-
}),
|
|
5525
|
-
x:
|
|
5526
|
-
y:
|
|
5527
|
-
strategy:
|
|
5528
|
-
placement:
|
|
5529
|
-
middlewareData:
|
|
5530
|
-
isPositioned:
|
|
5531
|
-
floatingStyles:
|
|
5526
|
+
}), St() && zt(v), {
|
|
5527
|
+
x: Fu(f),
|
|
5528
|
+
y: Fu(h),
|
|
5529
|
+
strategy: Fu(p),
|
|
5530
|
+
placement: Fu(d),
|
|
5531
|
+
middlewareData: Fu(x),
|
|
5532
|
+
isPositioned: Fu(_),
|
|
5533
|
+
floatingStyles: k,
|
|
5532
5534
|
update: y
|
|
5533
5535
|
};
|
|
5534
5536
|
}
|
|
5535
5537
|
const Ss = /* @__PURE__ */ R({
|
|
5536
5538
|
name: "sq-popover",
|
|
5537
5539
|
__name: "popover",
|
|
5538
|
-
props: /* @__PURE__ */
|
|
5540
|
+
props: /* @__PURE__ */ eu({
|
|
5539
5541
|
placement: { default: "top" },
|
|
5540
5542
|
offset: { default: 10 },
|
|
5541
5543
|
teleported: { type: Boolean, default: !0 },
|
|
@@ -5551,9 +5553,9 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5551
5553
|
}),
|
|
5552
5554
|
emits: ["update:visible"],
|
|
5553
5555
|
setup(u) {
|
|
5554
|
-
const { nextZIndex: e } =
|
|
5556
|
+
const { nextZIndex: e } = V0();
|
|
5555
5557
|
let t;
|
|
5556
|
-
const n = u, r =
|
|
5558
|
+
const n = u, r = mu(u, "visible"), o = $(0), i = Mu(null), c = Mu(null), { floatingStyles: s } = is(i, c, {
|
|
5557
5559
|
placement: n.placement,
|
|
5558
5560
|
whileElementsMounted: ts,
|
|
5559
5561
|
transform: !1,
|
|
@@ -5561,7 +5563,7 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5561
5563
|
});
|
|
5562
5564
|
re(r, (x) => {
|
|
5563
5565
|
x && (o.value = e());
|
|
5564
|
-
}),
|
|
5566
|
+
}), je(() => {
|
|
5565
5567
|
d(), document.removeEventListener("click", p);
|
|
5566
5568
|
});
|
|
5567
5569
|
function a() {
|
|
@@ -5586,10 +5588,10 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5586
5588
|
function d() {
|
|
5587
5589
|
t && (clearTimeout(t), t = void 0);
|
|
5588
5590
|
}
|
|
5589
|
-
return (x,
|
|
5591
|
+
return (x, _) => (D(), S(Nu, null, [
|
|
5590
5592
|
A("span", {
|
|
5591
|
-
class:
|
|
5592
|
-
style:
|
|
5593
|
+
class: O(["sq-popover-trigger", x.$attrs.class]),
|
|
5594
|
+
style: au(x.$attrs.style),
|
|
5593
5595
|
ref_key: "triggerRef",
|
|
5594
5596
|
ref: i,
|
|
5595
5597
|
onMouseenter: a,
|
|
@@ -5598,25 +5600,25 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5598
5600
|
}, [
|
|
5599
5601
|
j(x.$slots, "reference")
|
|
5600
5602
|
], 38),
|
|
5601
|
-
(
|
|
5603
|
+
(D(), L(qt, {
|
|
5602
5604
|
to: "body",
|
|
5603
5605
|
disabled: !n.teleported
|
|
5604
5606
|
}, [
|
|
5605
|
-
|
|
5607
|
+
Gu(pe, {
|
|
5606
5608
|
name: n.transition
|
|
5607
5609
|
}, {
|
|
5608
|
-
default:
|
|
5609
|
-
|
|
5610
|
-
class:
|
|
5611
|
-
style:
|
|
5610
|
+
default: uu(() => [
|
|
5611
|
+
Du(A("div", {
|
|
5612
|
+
class: O(["sq-popover", x.popoverClass]),
|
|
5613
|
+
style: au({ ...w(s), zIndex: o.value }),
|
|
5612
5614
|
ref_key: "popverRef",
|
|
5613
5615
|
ref: c,
|
|
5614
|
-
onClick:
|
|
5616
|
+
onClick: _[0] || (_[0] = Bt(() => {
|
|
5615
5617
|
}, ["stop"]))
|
|
5616
5618
|
}, [
|
|
5617
5619
|
j(x.$slots, "default")
|
|
5618
5620
|
], 6), [
|
|
5619
|
-
[
|
|
5621
|
+
[Wu, r.value]
|
|
5620
5622
|
])
|
|
5621
5623
|
]),
|
|
5622
5624
|
_: 3
|
|
@@ -5646,13 +5648,13 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5646
5648
|
label: { type: Boolean, default: !0 }
|
|
5647
5649
|
},
|
|
5648
5650
|
setup(u) {
|
|
5649
|
-
const e = new ResizeObserver(a), t = u, n =
|
|
5651
|
+
const e = new ResizeObserver(a), t = u, n = $(100), r = Mu(null), o = E(() => {
|
|
5650
5652
|
const l = [];
|
|
5651
5653
|
return t.color || l.push(`is-${t.type}`), t.theme !== "line" && l.push(`is-${t.theme}`), l;
|
|
5652
|
-
}), i =
|
|
5654
|
+
}), i = E(() => {
|
|
5653
5655
|
const l = t.max - t.min;
|
|
5654
5656
|
return (t.value - t.min) * 100 / l;
|
|
5655
|
-
}), c =
|
|
5657
|
+
}), c = E(() => `${Math.round(i.value * 10) / 10} %`), s = E(() => {
|
|
5656
5658
|
const l = {};
|
|
5657
5659
|
if (l["--progress-stroke"] = `${t.stroke}px`, t.theme === "line")
|
|
5658
5660
|
l["--progress-value"] = `${i.value}%`;
|
|
@@ -5668,19 +5670,19 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5668
5670
|
});
|
|
5669
5671
|
de(() => {
|
|
5670
5672
|
e.observe(r.value);
|
|
5671
|
-
}),
|
|
5673
|
+
}), je(() => {
|
|
5672
5674
|
e.disconnect();
|
|
5673
5675
|
});
|
|
5674
5676
|
function a() {
|
|
5675
5677
|
n.value = r.value.getBoundingClientRect().width;
|
|
5676
5678
|
}
|
|
5677
|
-
return (l, f) => (
|
|
5678
|
-
class:
|
|
5679
|
+
return (l, f) => (D(), S("div", {
|
|
5680
|
+
class: O(["sq-progress", o.value]),
|
|
5679
5681
|
ref_key: "progressRef",
|
|
5680
5682
|
ref: r,
|
|
5681
|
-
style:
|
|
5683
|
+
style: au(s.value)
|
|
5682
5684
|
}, [
|
|
5683
|
-
t.theme === "circle" ? (
|
|
5685
|
+
t.theme === "circle" ? (D(), S("svg", ss, [...f[0] || (f[0] = [
|
|
5684
5686
|
A("circle", {
|
|
5685
5687
|
class: "sq-progress-track",
|
|
5686
5688
|
cx: "50",
|
|
@@ -5691,14 +5693,14 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5691
5693
|
cx: "50",
|
|
5692
5694
|
cy: "50"
|
|
5693
5695
|
}, null, -1)
|
|
5694
|
-
])])) :
|
|
5695
|
-
t.theme === "circle" && t.label ? (
|
|
5696
|
+
])])) : V("", !0),
|
|
5697
|
+
t.theme === "circle" && t.label ? (D(), S("div", as, [
|
|
5696
5698
|
j(l.$slots, "default", { percentage: i.value }, () => [
|
|
5697
5699
|
A("span", {
|
|
5698
|
-
textContent:
|
|
5700
|
+
textContent: su(c.value)
|
|
5699
5701
|
}, null, 8, ls)
|
|
5700
5702
|
])
|
|
5701
|
-
])) :
|
|
5703
|
+
])) : V("", !0)
|
|
5702
5704
|
], 6));
|
|
5703
5705
|
}
|
|
5704
5706
|
}), zs = /* @__PURE__ */ R({
|
|
@@ -5711,15 +5713,15 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5711
5713
|
size: { default: "md" }
|
|
5712
5714
|
},
|
|
5713
5715
|
setup(u) {
|
|
5714
|
-
const e = u, t =
|
|
5716
|
+
const e = u, t = E(() => {
|
|
5715
5717
|
const r = [];
|
|
5716
5718
|
return e.size !== "md" && r.push(`sq-tag--${e.size}`), e.theme !== "plain" && e.type && r.push(`is-${e.theme}`), e.type && r.push(`is-${e.type}`), e.round && r.push("is-round"), r;
|
|
5717
|
-
}), n =
|
|
5718
|
-
return (r, o) => (
|
|
5719
|
-
class:
|
|
5719
|
+
}), n = E(() => e.size === "lg" ? "md" : "sm");
|
|
5720
|
+
return (r, o) => (D(), L(w(Ku), {
|
|
5721
|
+
class: O(["sq-tag", t.value]),
|
|
5720
5722
|
size: n.value
|
|
5721
5723
|
}, {
|
|
5722
|
-
default:
|
|
5724
|
+
default: uu(() => [
|
|
5723
5725
|
j(r.$slots, "default")
|
|
5724
5726
|
]),
|
|
5725
5727
|
_: 3
|
|
@@ -5737,16 +5739,16 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5737
5739
|
},
|
|
5738
5740
|
emits: ["change"],
|
|
5739
5741
|
setup(u, { emit: e }) {
|
|
5740
|
-
const t = e, n = u, r =
|
|
5742
|
+
const t = e, n = u, r = E(() => {
|
|
5741
5743
|
const i = [];
|
|
5742
5744
|
return n.size !== "md" && i.push(`sq-tag--${n.size}`), n.theme !== "plain" && i.push(`is-${n.theme}`), n.type && i.push(`is-${n.type}`), n.round && i.push("is-round"), n.checked && i.push("is-checked"), i;
|
|
5743
|
-
}), o =
|
|
5744
|
-
return (i, c) => (
|
|
5745
|
-
class:
|
|
5745
|
+
}), o = E(() => n.size === "lg" ? "md" : "sm");
|
|
5746
|
+
return (i, c) => (D(), L(w(Ku), {
|
|
5747
|
+
class: O(["sq-check-tag", r.value]),
|
|
5746
5748
|
size: o.value,
|
|
5747
5749
|
onClick: c[0] || (c[0] = (s) => t("change", !n.checked))
|
|
5748
5750
|
}, {
|
|
5749
|
-
default:
|
|
5751
|
+
default: uu(() => [
|
|
5750
5752
|
j(i.$slots, "default")
|
|
5751
5753
|
]),
|
|
5752
5754
|
_: 3
|
|
@@ -5761,15 +5763,15 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5761
5763
|
size: { default: "md" }
|
|
5762
5764
|
},
|
|
5763
5765
|
setup(u) {
|
|
5764
|
-
const e = u, t =
|
|
5766
|
+
const e = u, t = E(() => {
|
|
5765
5767
|
const r = [];
|
|
5766
5768
|
return e.size !== "md" && r.push(`sq-text--${e.size}`), e.ellipsis && r.push(e.rowNum > 1 ? "multi-line" : "single-line"), r;
|
|
5767
|
-
}), n =
|
|
5769
|
+
}), n = E(
|
|
5768
5770
|
() => e.ellipsis ? `--row-num: ${e.rowNum}` : ""
|
|
5769
5771
|
);
|
|
5770
|
-
return (r, o) => (
|
|
5771
|
-
class:
|
|
5772
|
-
style:
|
|
5772
|
+
return (r, o) => (D(), S("span", {
|
|
5773
|
+
class: O(["sq-text", t.value]),
|
|
5774
|
+
style: au(n.value)
|
|
5773
5775
|
}, [
|
|
5774
5776
|
j(r.$slots, "default")
|
|
5775
5777
|
], 6));
|
|
@@ -5777,7 +5779,7 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5777
5779
|
}), ds = ["id", "rows", "cols", "disabled", "readonly", "placeholder", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode"], ps = /* @__PURE__ */ R({
|
|
5778
5780
|
name: "sq-textarea",
|
|
5779
5781
|
__name: "textarea",
|
|
5780
|
-
props: /* @__PURE__ */
|
|
5782
|
+
props: /* @__PURE__ */ eu({
|
|
5781
5783
|
resize: { default: "both" },
|
|
5782
5784
|
rows: { default: 2 },
|
|
5783
5785
|
cols: { default: 30 },
|
|
@@ -5791,6 +5793,7 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5791
5793
|
autocomplete: { default: "off" },
|
|
5792
5794
|
name: {},
|
|
5793
5795
|
form: {},
|
|
5796
|
+
loading: { type: Boolean },
|
|
5794
5797
|
inputmode: {},
|
|
5795
5798
|
autofocus: { type: Boolean },
|
|
5796
5799
|
type: {},
|
|
@@ -5799,32 +5802,32 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5799
5802
|
value: { default: "" },
|
|
5800
5803
|
valueModifiers: {}
|
|
5801
5804
|
}),
|
|
5802
|
-
emits: /* @__PURE__ */
|
|
5805
|
+
emits: /* @__PURE__ */ eu(["focus", "blur", "input", "change"], ["update:value"]),
|
|
5803
5806
|
setup(u, { expose: e, emit: t }) {
|
|
5804
|
-
const n = t, r = u, { textareaSize: o, textareaRound: i, textareaDisabled: c, textareaReadonly: s, id: a } = Oc(r), l =
|
|
5805
|
-
const
|
|
5806
|
-
return
|
|
5807
|
-
}), p =
|
|
5807
|
+
const n = t, r = u, { textareaSize: o, textareaRound: i, textareaDisabled: c, textareaReadonly: s, id: a } = Oc(r), l = mu(u, "value"), f = Mu(null), h = E(() => {
|
|
5808
|
+
const _ = [], k = w(o), g = w(i), y = w(c);
|
|
5809
|
+
return k !== "md" && _.push(`sq-textarea--${k}`), r.status && _.push(`is-${r.status}`), g && _.push("is-round"), y && _.push("is-disabled"), _;
|
|
5810
|
+
}), p = E(() => w(c) || w(s) ? "none" : r.resize);
|
|
5808
5811
|
function d() {
|
|
5809
|
-
var
|
|
5810
|
-
(
|
|
5812
|
+
var _;
|
|
5813
|
+
(_ = f.value) == null || _.focus();
|
|
5811
5814
|
}
|
|
5812
5815
|
function x() {
|
|
5813
|
-
var
|
|
5814
|
-
(
|
|
5816
|
+
var _;
|
|
5817
|
+
(_ = f.value) == null || _.blur();
|
|
5815
5818
|
}
|
|
5816
|
-
return e({ focus: d, blur: x }), (
|
|
5817
|
-
class:
|
|
5819
|
+
return e({ focus: d, blur: x }), (_, k) => (D(), S("div", {
|
|
5820
|
+
class: O(["sq-textarea", h.value])
|
|
5818
5821
|
}, [
|
|
5819
|
-
|
|
5820
|
-
"onUpdate:modelValue":
|
|
5822
|
+
Du(A("textarea", {
|
|
5823
|
+
"onUpdate:modelValue": k[0] || (k[0] = (g) => l.value = g),
|
|
5821
5824
|
class: "sq-textarea-inner",
|
|
5822
|
-
id:
|
|
5823
|
-
style:
|
|
5825
|
+
id: w(a),
|
|
5826
|
+
style: au({ resize: p.value }),
|
|
5824
5827
|
rows: r.rows,
|
|
5825
5828
|
cols: r.cols,
|
|
5826
|
-
disabled:
|
|
5827
|
-
readonly:
|
|
5829
|
+
disabled: w(c),
|
|
5830
|
+
readonly: w(s),
|
|
5828
5831
|
placeholder: r.placeholder,
|
|
5829
5832
|
maxlength: r.maxlength,
|
|
5830
5833
|
minlength: r.minlength,
|
|
@@ -5835,12 +5838,12 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5835
5838
|
inputmode: r.inputmode,
|
|
5836
5839
|
ref_key: "textareaRef",
|
|
5837
5840
|
ref: f,
|
|
5838
|
-
onFocus:
|
|
5839
|
-
onBlur:
|
|
5840
|
-
onInput:
|
|
5841
|
-
onChange:
|
|
5841
|
+
onFocus: k[1] || (k[1] = (g) => n("focus", g)),
|
|
5842
|
+
onBlur: k[2] || (k[2] = (g) => n("blur", g)),
|
|
5843
|
+
onInput: k[3] || (k[3] = (g) => n("input", g)),
|
|
5844
|
+
onChange: k[4] || (k[4] = (g) => n("change", g))
|
|
5842
5845
|
}, null, 44, ds), [
|
|
5843
|
-
[
|
|
5846
|
+
[Tt, l.value]
|
|
5844
5847
|
])
|
|
5845
5848
|
], 2));
|
|
5846
5849
|
}
|
|
@@ -5851,12 +5854,12 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5851
5854
|
align: { default: "left" }
|
|
5852
5855
|
},
|
|
5853
5856
|
setup(u) {
|
|
5854
|
-
const e = u, t =
|
|
5857
|
+
const e = u, t = E(() => {
|
|
5855
5858
|
const n = [];
|
|
5856
5859
|
return n.push(`align-${e.align}`), n;
|
|
5857
5860
|
});
|
|
5858
|
-
return (n, r) => (
|
|
5859
|
-
class:
|
|
5861
|
+
return (n, r) => (D(), S("div", {
|
|
5862
|
+
class: O(["sq-timeline", t.value])
|
|
5860
5863
|
}, [
|
|
5861
5864
|
j(n.$slots, "default")
|
|
5862
5865
|
], 2));
|
|
@@ -5874,31 +5877,31 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5874
5877
|
title: {}
|
|
5875
5878
|
},
|
|
5876
5879
|
setup(u) {
|
|
5877
|
-
const e = u, t =
|
|
5880
|
+
const e = u, t = E(() => {
|
|
5878
5881
|
const r = [];
|
|
5879
5882
|
return e.theme !== "card" && r.push(`is-${e.theme}`), e.type && r.push(`is-${e.type}`), e.hollow && r.push("is-hollow"), r;
|
|
5880
|
-
}), n =
|
|
5883
|
+
}), n = E(() => {
|
|
5881
5884
|
const r = {};
|
|
5882
5885
|
return e.color && (r["--timeline-dot-color"] = e.color), r;
|
|
5883
5886
|
});
|
|
5884
|
-
return (r, o) => (
|
|
5885
|
-
class:
|
|
5886
|
-
style:
|
|
5887
|
+
return (r, o) => (D(), S("div", {
|
|
5888
|
+
class: O(["sq-timeline-item", t.value]),
|
|
5889
|
+
style: au(n.value)
|
|
5887
5890
|
}, [
|
|
5888
5891
|
A("span", hs, [
|
|
5889
|
-
e.icon ? (
|
|
5892
|
+
e.icon ? (D(), L(bu(e.icon), { key: 0 })) : V("", !0)
|
|
5890
5893
|
]),
|
|
5891
5894
|
A("div", bs, [
|
|
5892
|
-
e.title ? (
|
|
5895
|
+
e.title ? (D(), S("h2", {
|
|
5893
5896
|
key: 0,
|
|
5894
5897
|
class: "content-title",
|
|
5895
|
-
textContent:
|
|
5896
|
-
}, null, 8, ms)) :
|
|
5897
|
-
e.timestamp ? (
|
|
5898
|
+
textContent: su(e.title)
|
|
5899
|
+
}, null, 8, ms)) : V("", !0),
|
|
5900
|
+
e.timestamp ? (D(), S("span", {
|
|
5898
5901
|
key: 1,
|
|
5899
5902
|
class: "content-time",
|
|
5900
|
-
textContent:
|
|
5901
|
-
}, null, 8, xs)) :
|
|
5903
|
+
textContent: su(e.timestamp)
|
|
5904
|
+
}, null, 8, xs)) : V("", !0),
|
|
5902
5905
|
A("div", gs, [
|
|
5903
5906
|
j(r.$slots, "default")
|
|
5904
5907
|
])
|
|
@@ -5907,9 +5910,9 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5907
5910
|
}
|
|
5908
5911
|
});
|
|
5909
5912
|
export {
|
|
5910
|
-
|
|
5913
|
+
mt as ButtonGroupContextKeys,
|
|
5911
5914
|
ge as FormContextKeys,
|
|
5912
|
-
|
|
5915
|
+
u0 as FormItemIdKeys,
|
|
5913
5916
|
ks as SqAlert,
|
|
5914
5917
|
ys as SqArticle,
|
|
5915
5918
|
vs as SqAvatar,
|