@webitel/ui-sdk 26.8.26 → 26.8.28
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.
- package/dist/{clients-Cgrz-ee-.js → clients-B0X6h5kQ.js} +2673 -2400
- package/dist/{components-CMDMeVl5.js → components-Cx915__m.js} +363 -359
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +13 -2
- package/dist/ui-sdk.umd.cjs +850 -743
- package/dist/{wt-button-B0EZEFZ0.js → wt-button-B7B7qITq.js} +1 -1
- package/dist/{wt-chat-emoji-vkaLOaZw.js → wt-chat-emoji-NGR9eeqQ.js} +3 -3
- package/dist/{wt-display-chip-items-Tj67KEDy.js → wt-display-chip-items-BmiTSnfu.js} +1 -1
- package/dist/{wt-icon-BRp_p6JM.js → wt-icon-09f_Vpk_.js} +271 -237
- package/dist/{wt-icon-btn-SK1QWwA8.js → wt-icon-btn-DvrrxhWx.js} +1 -1
- package/dist/{wt-notifications-bar-DpU7bkWU.js → wt-notifications-bar-0o0yhR7P.js} +1 -1
- package/dist/{wt-player-CcM3TqAN.js → wt-player-D_kVPIdJ.js} +2 -2
- package/dist/{wt-send-message-popup-B3rQXfLN.js → wt-send-message-popup-CoIsI1qk.js} +2 -2
- package/dist/{wt-toast-B0-s86Ob.js → wt-toast-DrfbAfTj.js} +1 -1
- package/dist/{wt-tree-table-DFhFhgdA.js → wt-tree-table-DJGISZ65.js} +1 -1
- package/dist/{wt-type-extension-value-input-ssUVyehN.js → wt-type-extension-value-input-VRi1AAQy.js} +2 -2
- package/dist/{wt-vidstack-player-DdCyRD7b.js → wt-vidstack-player-C6o5MHBh.js} +3 -3
- package/package.json +1 -1
- package/src/components/wt-chip/wt-chip.vue +12 -3
- package/src/plugins/primevue/theme/components/chip/chip.js +10 -0
- package/types/.tsbuildinfo +1 -1
- package/types/components/wt-chip/wt-chip.vue.d.ts +2 -0
- package/types/plugins/primevue/theme/components/chip/chip.d.ts +1 -0
|
@@ -52,22 +52,22 @@ m ||= function(e) {
|
|
|
52
52
|
}, v ||= function(e) {
|
|
53
53
|
return new e(...[...arguments].slice(1));
|
|
54
54
|
};
|
|
55
|
-
var
|
|
56
|
-
function
|
|
55
|
+
var y = D(Array.prototype.forEach), oe = D(Array.prototype.lastIndexOf), se = D(Array.prototype.pop), b = D(Array.prototype.push), ce = D(Array.prototype.splice), x = Array.isArray, le = D(String.prototype.toLowerCase), ue = D(String.prototype.toString), de = D(String.prototype.match), fe = D(String.prototype.replace), pe = D(String.prototype.indexOf), me = D(String.prototype.trim), he = D(Number.prototype.toString), S = D(Boolean.prototype.toString), C = typeof BigInt > "u" ? null : D(BigInt.prototype.toString), ge = typeof Symbol > "u" ? null : D(Symbol.prototype.toString), w = D(Object.prototype.hasOwnProperty), _e = D(Object.prototype.toString), T = D(RegExp.prototype.test), E = ve(TypeError);
|
|
56
|
+
function D(e) {
|
|
57
57
|
return function(t) {
|
|
58
58
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
59
59
|
var n = [...arguments].slice(1);
|
|
60
60
|
return _(e, t, n);
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function ve(e) {
|
|
64
64
|
return function() {
|
|
65
65
|
return v(e, [...arguments]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
70
|
-
if (re && re(e, null), !
|
|
68
|
+
function O(e, t) {
|
|
69
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : le;
|
|
70
|
+
if (re && re(e, null), !x(t)) return e;
|
|
71
71
|
let r = t.length;
|
|
72
72
|
for (; r--;) {
|
|
73
73
|
let i = t[r];
|
|
@@ -79,46 +79,46 @@ function j(e, t) {
|
|
|
79
79
|
}
|
|
80
80
|
return e;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
for (let t = 0; t < e.length; t++)
|
|
82
|
+
function k(e) {
|
|
83
|
+
for (let t = 0; t < e.length; t++) w(e, t) || (e[t] = null);
|
|
84
84
|
return e;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function A(e) {
|
|
87
87
|
let t = g(null);
|
|
88
88
|
for (let r of ne(e)) {
|
|
89
89
|
var n = ee(r, 2);
|
|
90
90
|
let i = n[0], a = n[1];
|
|
91
|
-
|
|
91
|
+
w(e, i) && (x(a) ? t[i] = k(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = A(a) : t[i] = a);
|
|
92
92
|
}
|
|
93
93
|
return t;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function ye(e) {
|
|
96
96
|
switch (typeof e) {
|
|
97
97
|
case "string": return e;
|
|
98
|
-
case "number": return
|
|
99
|
-
case "boolean": return
|
|
100
|
-
case "bigint": return
|
|
101
|
-
case "symbol": return
|
|
102
|
-
case "undefined": return
|
|
98
|
+
case "number": return he(e);
|
|
99
|
+
case "boolean": return S(e);
|
|
100
|
+
case "bigint": return C ? C(e) : "0";
|
|
101
|
+
case "symbol": return ge ? ge(e) : "Symbol()";
|
|
102
|
+
case "undefined": return _e(e);
|
|
103
103
|
case "function":
|
|
104
104
|
case "object": {
|
|
105
|
-
if (e === null) return
|
|
106
|
-
let t = e, n =
|
|
105
|
+
if (e === null) return _e(e);
|
|
106
|
+
let t = e, n = j(t, "toString");
|
|
107
107
|
if (typeof n == "function") {
|
|
108
108
|
let e = n(t);
|
|
109
|
-
return typeof e == "string" ? e :
|
|
109
|
+
return typeof e == "string" ? e : _e(e);
|
|
110
110
|
}
|
|
111
|
-
return
|
|
111
|
+
return _e(e);
|
|
112
112
|
}
|
|
113
|
-
default: return
|
|
113
|
+
default: return _e(e);
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function j(e, t) {
|
|
117
117
|
for (; e !== null;) {
|
|
118
118
|
let n = ie(e, t);
|
|
119
119
|
if (n) {
|
|
120
|
-
if (n.get) return
|
|
121
|
-
if (typeof n.value == "function") return
|
|
120
|
+
if (n.get) return D(n.get);
|
|
121
|
+
if (typeof n.value == "function") return D(n.value);
|
|
122
122
|
}
|
|
123
123
|
e = p(e);
|
|
124
124
|
}
|
|
@@ -127,14 +127,14 @@ function N(e, t) {
|
|
|
127
127
|
}
|
|
128
128
|
return n;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function be(e) {
|
|
131
131
|
try {
|
|
132
|
-
return
|
|
132
|
+
return T(e, ""), !0;
|
|
133
133
|
} catch {
|
|
134
134
|
return !1;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var xe = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), Se = m(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), Ce = m([
|
|
138
138
|
"feBlend",
|
|
139
139
|
"feColorMatrix",
|
|
140
140
|
"feComponentTransfer",
|
|
@@ -160,7 +160,7 @@ var ye = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
160
160
|
"feSpotLight",
|
|
161
161
|
"feTile",
|
|
162
162
|
"feTurbulence"
|
|
163
|
-
]),
|
|
163
|
+
]), we = m([
|
|
164
164
|
"animate",
|
|
165
165
|
"color-profile",
|
|
166
166
|
"cursor",
|
|
@@ -183,7 +183,7 @@ var ye = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
183
183
|
"solidcolor",
|
|
184
184
|
"unknown",
|
|
185
185
|
"use"
|
|
186
|
-
]),
|
|
186
|
+
]), Te = m(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), Ee = m([
|
|
187
187
|
"maction",
|
|
188
188
|
"maligngroup",
|
|
189
189
|
"malignmark",
|
|
@@ -199,13 +199,13 @@ var ye = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
199
199
|
"annotation-xml",
|
|
200
200
|
"mprescripts",
|
|
201
201
|
"none"
|
|
202
|
-
]),
|
|
202
|
+
]), De = m(["#text"]), Oe = m(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns".split(".")), ke = m(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), Ae = m(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), je = m([
|
|
203
203
|
"xlink:href",
|
|
204
204
|
"xml:id",
|
|
205
205
|
"xlink:title",
|
|
206
206
|
"xml:space",
|
|
207
207
|
"xmlns:xlink"
|
|
208
|
-
]),
|
|
208
|
+
]), Me = h(/{{[\w\W]*|^[\w\W]*}}/g), Ne = h(/<%[\w\W]*|^[\w\W]*%>/g), Pe = h(/\${[\w\W]*/g), Fe = h(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ie = h(/^aria-[\-\w]+$/), Le = h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Re = h(/^(?:\w+script|data):/i), ze = h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Be = h(/^html$/i), Ve = h(/^[a-z][.\w]*(-[.\w]+)+$/i), He = h(/<[/\w!]/g), Ue = h(/<[/\w]/g), We = h(/<\/no(script|embed|frames)/i), Ge = h(/\/>/i), M = {
|
|
209
209
|
element: 1,
|
|
210
210
|
attribute: 2,
|
|
211
211
|
text: 3,
|
|
@@ -218,9 +218,9 @@ var ye = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
218
218
|
documentType: 10,
|
|
219
219
|
documentFragment: 11,
|
|
220
220
|
notation: 12
|
|
221
|
-
},
|
|
221
|
+
}, Ke = function() {
|
|
222
222
|
return typeof window > "u" ? null : window;
|
|
223
|
-
},
|
|
223
|
+
}, qe = function(e, t) {
|
|
224
224
|
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
225
225
|
let n = null, r = "data-tt-policy-suffix";
|
|
226
226
|
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
@@ -237,7 +237,7 @@ var ye = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
237
237
|
} catch {
|
|
238
238
|
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
239
239
|
}
|
|
240
|
-
},
|
|
240
|
+
}, Je = function() {
|
|
241
241
|
return {
|
|
242
242
|
afterSanitizeAttributes: [],
|
|
243
243
|
afterSanitizeElements: [],
|
|
@@ -249,53 +249,53 @@ var ye = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
249
249
|
uponSanitizeElement: [],
|
|
250
250
|
uponSanitizeShadowNode: []
|
|
251
251
|
};
|
|
252
|
-
},
|
|
253
|
-
return
|
|
252
|
+
}, N = function(e, t, n, r) {
|
|
253
|
+
return w(e, t) && x(e[t]) ? O(r.base ? A(r.base) : {}, e[t], r.transform) : n;
|
|
254
254
|
};
|
|
255
|
-
function
|
|
256
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
257
|
-
if (t.version = "3.4.
|
|
255
|
+
function Ye() {
|
|
256
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ke(), t = (e) => Ye(e);
|
|
257
|
+
if (t.version = "3.4.13", t.removed = [], !e || !e.document || e.document.nodeType !== M.document || !e.Element) return t.isSupported = !1, t;
|
|
258
258
|
let n = e.document, r = n, i = r.currentScript;
|
|
259
259
|
e.DocumentFragment;
|
|
260
260
|
let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
|
|
261
261
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
262
|
-
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, ee =
|
|
262
|
+
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, ee = j(d, "cloneNode"), te = j(d, "remove"), re = j(d, "nextSibling"), f = j(d, "childNodes"), p = j(d, "parentNode"), ie = j(d, "shadowRoot"), ae = j(d, "attributes"), _ = o && o.prototype ? j(o.prototype, "nodeType") : null, v = o && o.prototype ? j(o.prototype, "nodeName") : null, he = o && o.prototype ? j(o.prototype, "ownerDocument") : null;
|
|
263
263
|
if (typeof a == "function") {
|
|
264
264
|
let e = n.createElement("template");
|
|
265
265
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
266
266
|
}
|
|
267
|
-
let
|
|
268
|
-
if (
|
|
269
|
-
},
|
|
270
|
-
|
|
267
|
+
let S, C = "", ge, _e = !1, D = 0, ve = function() {
|
|
268
|
+
if (D > 0) throw E("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
269
|
+
}, k = function(e) {
|
|
270
|
+
ve(), D++;
|
|
271
271
|
try {
|
|
272
|
-
return
|
|
272
|
+
return S.createHTML(e);
|
|
273
273
|
} finally {
|
|
274
|
-
|
|
274
|
+
D--;
|
|
275
275
|
}
|
|
276
|
-
},
|
|
277
|
-
|
|
276
|
+
}, Xe = function(e) {
|
|
277
|
+
ve(), D++;
|
|
278
278
|
try {
|
|
279
|
-
return
|
|
279
|
+
return S.createScriptURL(e);
|
|
280
280
|
} finally {
|
|
281
|
-
|
|
281
|
+
D--;
|
|
282
282
|
}
|
|
283
|
-
},
|
|
284
|
-
return
|
|
285
|
-
},
|
|
286
|
-
t.isSupported = typeof ne == "function" && typeof p == "function" &&
|
|
287
|
-
let
|
|
288
|
-
...ye,
|
|
289
|
-
...be,
|
|
283
|
+
}, Ze = function() {
|
|
284
|
+
return _e ||= (ge = qe(u, i), !0), ge;
|
|
285
|
+
}, P = n, Qe = P.implementation, $e = P.createNodeIterator, et = P.createDocumentFragment, tt = P.getElementsByTagName, nt = r.importNode, F = Je();
|
|
286
|
+
t.isSupported = typeof ne == "function" && typeof p == "function" && Qe && Qe.createHTMLDocument !== void 0;
|
|
287
|
+
let rt = Me, it = Ne, at = Pe, ot = Fe, st = Ie, ct = Re, lt = ze, ut = Ve, dt = Le, I = null, ft = O({}, [
|
|
290
288
|
...xe,
|
|
289
|
+
...Se,
|
|
291
290
|
...Ce,
|
|
292
|
-
...Te
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
...De,
|
|
291
|
+
...Te,
|
|
292
|
+
...De
|
|
293
|
+
]), L = null, pt = O({}, [
|
|
296
294
|
...Oe,
|
|
297
|
-
...ke
|
|
298
|
-
|
|
295
|
+
...ke,
|
|
296
|
+
...Ae,
|
|
297
|
+
...je
|
|
298
|
+
]), R = Object.seal(g(null, {
|
|
299
299
|
tagNameCheck: {
|
|
300
300
|
writable: !0,
|
|
301
301
|
configurable: !1,
|
|
@@ -314,7 +314,7 @@ function qe() {
|
|
|
314
314
|
enumerable: !0,
|
|
315
315
|
value: !1
|
|
316
316
|
}
|
|
317
|
-
})),
|
|
317
|
+
})), mt = null, ht = null, z = Object.seal(g(null, {
|
|
318
318
|
tagCheck: {
|
|
319
319
|
writable: !0,
|
|
320
320
|
configurable: !1,
|
|
@@ -327,14 +327,14 @@ function qe() {
|
|
|
327
327
|
enumerable: !0,
|
|
328
328
|
value: null
|
|
329
329
|
}
|
|
330
|
-
})),
|
|
330
|
+
})), gt = !0, _t = !0, vt = !1, yt = !0, B = !1, V = !0, H = !1, bt = !1, xt = null, St = null, Ct = !1, U = !1, wt = !1, Tt = !1, Et = !0, Dt = !1, Ot = "user-content-", kt = !0, At = !1, W = {}, G = null, jt = O({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Mt = null, Nt = O({}, [
|
|
331
331
|
"audio",
|
|
332
332
|
"video",
|
|
333
333
|
"img",
|
|
334
334
|
"source",
|
|
335
335
|
"image",
|
|
336
336
|
"track"
|
|
337
|
-
]),
|
|
337
|
+
]), Pt = null, Ft = O({}, [
|
|
338
338
|
"alt",
|
|
339
339
|
"class",
|
|
340
340
|
"for",
|
|
@@ -349,83 +349,84 @@ function qe() {
|
|
|
349
349
|
"value",
|
|
350
350
|
"style",
|
|
351
351
|
"xmlns"
|
|
352
|
-
]),
|
|
353
|
-
Ft,
|
|
352
|
+
]), It = "http://www.w3.org/1998/Math/MathML", Lt = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, Rt = !1, zt = null, Bt = O({}, [
|
|
354
353
|
It,
|
|
354
|
+
Lt,
|
|
355
355
|
K
|
|
356
|
-
], ue),
|
|
356
|
+
], ue), Vt = m([
|
|
357
357
|
"mi",
|
|
358
358
|
"mo",
|
|
359
359
|
"mn",
|
|
360
360
|
"ms",
|
|
361
361
|
"mtext"
|
|
362
|
-
]),
|
|
362
|
+
]), Ht = O({}, Vt), Ut = m(["annotation-xml"]), Wt = O({}, Ut), Gt = O({}, [
|
|
363
363
|
"title",
|
|
364
364
|
"style",
|
|
365
365
|
"font",
|
|
366
366
|
"a",
|
|
367
367
|
"script"
|
|
368
|
-
]),
|
|
368
|
+
]), Kt = null, qt = ["application/xhtml+xml", "text/html"], J = null, Y = null, Jt = n.createElement("form"), Yt = function(e) {
|
|
369
369
|
return e instanceof RegExp || e instanceof Function;
|
|
370
|
-
},
|
|
370
|
+
}, Xt = function() {
|
|
371
371
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
372
372
|
if (Y && Y === e) return;
|
|
373
|
-
(!e || typeof e != "object") && (e = {}), e =
|
|
373
|
+
(!e || typeof e != "object") && (e = {}), e = A(e), Kt = qt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = Kt === "application/xhtml+xml" ? ue : le, I = N(e, "ALLOWED_TAGS", ft, { transform: J }), L = N(e, "ALLOWED_ATTR", pt, { transform: J }), zt = N(e, "ALLOWED_NAMESPACES", Bt, { transform: ue }), Pt = N(e, "ADD_URI_SAFE_ATTR", Ft, {
|
|
374
374
|
transform: J,
|
|
375
|
-
base:
|
|
376
|
-
}),
|
|
375
|
+
base: Ft
|
|
376
|
+
}), Mt = N(e, "ADD_DATA_URI_TAGS", Nt, {
|
|
377
377
|
transform: J,
|
|
378
|
-
base:
|
|
379
|
-
}), G =
|
|
380
|
-
let t =
|
|
381
|
-
if (
|
|
378
|
+
base: Nt
|
|
379
|
+
}), G = N(e, "FORBID_CONTENTS", jt, { transform: J }), mt = N(e, "FORBID_TAGS", A({}), { transform: J }), ht = N(e, "FORBID_ATTR", A({}), { transform: J }), W = w(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? A(e.USE_PROFILES) : e.USE_PROFILES : !1, gt = e.ALLOW_ARIA_ATTR !== !1, _t = e.ALLOW_DATA_ATTR !== !1, vt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, yt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, B = e.SAFE_FOR_TEMPLATES || !1, V = e.SAFE_FOR_XML !== !1, H = e.WHOLE_DOCUMENT || !1, U = e.RETURN_DOM || !1, wt = e.RETURN_DOM_FRAGMENT || !1, Tt = e.RETURN_TRUSTED_TYPE || !1, Ct = e.FORCE_BODY || !1, Et = e.SANITIZE_DOM !== !1, Dt = e.SANITIZE_NAMED_PROPS || !1, kt = e.KEEP_CONTENT !== !1, At = e.IN_PLACE || !1, dt = be(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Le, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, Ht = w(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? A(e.MATHML_TEXT_INTEGRATION_POINTS) : O({}, Vt), Wt = w(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? A(e.HTML_INTEGRATION_POINTS) : O({}, Ut);
|
|
380
|
+
let t = w(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? A(e.CUSTOM_ELEMENT_HANDLING) : g(null);
|
|
381
|
+
if (R = g(null), w(t, "tagNameCheck") && Yt(t.tagNameCheck) && (R.tagNameCheck = t.tagNameCheck), w(t, "attributeNameCheck") && Yt(t.attributeNameCheck) && (R.attributeNameCheck = t.attributeNameCheck), w(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), h(R), B && (_t = !1), wt && (U = !0), W && (I = O({}, De), L = g(null), W.html === !0 && (O(I, xe), O(L, Oe)), W.svg === !0 && (O(I, Se), O(L, ke), O(L, je)), W.svgFilters === !0 && (O(I, Ce), O(L, ke), O(L, je)), W.mathMl === !0 && (O(I, Te), O(L, Ae), O(L, je))), z.tagCheck = null, z.attributeCheck = null, w(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? z.tagCheck = e.ADD_TAGS : x(e.ADD_TAGS) && (I === ft && (I = A(I)), O(I, e.ADD_TAGS, J))), w(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? z.attributeCheck = e.ADD_ATTR : x(e.ADD_ATTR) && (L === pt && (L = A(L)), O(L, e.ADD_ATTR, J))), w(e, "ADD_URI_SAFE_ATTR") && x(e.ADD_URI_SAFE_ATTR) && O(Pt, e.ADD_URI_SAFE_ATTR, J), w(e, "FORBID_CONTENTS") && x(e.FORBID_CONTENTS) && (G === jt && (G = A(G)), O(G, e.FORBID_CONTENTS, J)), w(e, "ADD_FORBID_CONTENTS") && x(e.ADD_FORBID_CONTENTS) && (G === jt && (G = A(G)), O(G, e.ADD_FORBID_CONTENTS, J)), kt && (I["#text"] = !0), H && O(I, [
|
|
382
382
|
"html",
|
|
383
383
|
"head",
|
|
384
384
|
"body"
|
|
385
|
-
]),
|
|
386
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw
|
|
387
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw
|
|
388
|
-
let t =
|
|
389
|
-
|
|
385
|
+
]), I.table && (O(I, ["tbody"]), delete mt.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
386
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw E("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
387
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw E("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
388
|
+
let t = S;
|
|
389
|
+
S = e.TRUSTED_TYPES_POLICY;
|
|
390
390
|
try {
|
|
391
|
-
|
|
391
|
+
C = k("");
|
|
392
392
|
} catch (e) {
|
|
393
|
-
throw
|
|
393
|
+
throw S = t, e;
|
|
394
394
|
}
|
|
395
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (
|
|
395
|
+
} else e.TRUSTED_TYPES_POLICY === null ? (S = void 0, C = "") : (S === void 0 && (S = Ze()), S && typeof C == "string" && (C = k("")));
|
|
396
396
|
m && m(e), Y = e;
|
|
397
|
-
},
|
|
398
|
-
...
|
|
399
|
-
...
|
|
400
|
-
...
|
|
401
|
-
]),
|
|
402
|
-
return t.namespaceURI === K ? e === "svg" : t.namespaceURI ===
|
|
403
|
-
}, $t = function(e, t, n) {
|
|
404
|
-
return t.namespaceURI === K ? e === "math" : t.namespaceURI === It ? e === "math" && Ut[n] : !!Zt[e];
|
|
397
|
+
}, Zt = O({}, [
|
|
398
|
+
...Se,
|
|
399
|
+
...Ce,
|
|
400
|
+
...we
|
|
401
|
+
]), Qt = O({}, [...Te, ...Ee]), $t = function(e, t, n) {
|
|
402
|
+
return t.namespaceURI === K ? e === "svg" : t.namespaceURI === It ? e === "svg" && (n === "annotation-xml" || Ht[n]) : !!Zt[e];
|
|
405
403
|
}, en = function(e, t, n) {
|
|
406
|
-
return t.namespaceURI ===
|
|
407
|
-
}, tn = function(e) {
|
|
404
|
+
return t.namespaceURI === K ? e === "math" : t.namespaceURI === Lt ? e === "math" && Wt[n] : !!Qt[e];
|
|
405
|
+
}, tn = function(e, t, n) {
|
|
406
|
+
return t.namespaceURI === Lt && !Wt[n] || t.namespaceURI === It && !Ht[n] ? !1 : !Qt[e] && (Gt[e] || !Zt[e]);
|
|
407
|
+
}, nn = function(e) {
|
|
408
408
|
let t = p(e);
|
|
409
409
|
(!t || !t.tagName) && (t = {
|
|
410
410
|
namespaceURI: q,
|
|
411
411
|
tagName: "template"
|
|
412
412
|
});
|
|
413
|
-
let n =
|
|
414
|
-
return
|
|
413
|
+
let n = le(e.tagName), r = le(t.tagName);
|
|
414
|
+
return zt[e.namespaceURI] ? e.namespaceURI === Lt ? $t(n, t, r) : e.namespaceURI === It ? en(n, t, r) : e.namespaceURI === K ? tn(n, t, r) : !!(Kt === "application/xhtml+xml" && zt[e.namespaceURI]) : !1;
|
|
415
415
|
}, X = function(e) {
|
|
416
|
-
|
|
416
|
+
b(t.removed, { element: e });
|
|
417
417
|
try {
|
|
418
418
|
p(e).removeChild(e);
|
|
419
419
|
} catch {
|
|
420
|
-
if (te(e), !p(e)) throw
|
|
420
|
+
if (te(e), !p(e)) throw E("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
|
|
421
421
|
}
|
|
422
|
-
},
|
|
422
|
+
}, rn = function(e) {
|
|
423
|
+
on(e);
|
|
423
424
|
let t = f(e);
|
|
424
425
|
if (t) {
|
|
425
426
|
let e = [];
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
}),
|
|
427
|
+
y(t, (t) => {
|
|
428
|
+
b(e, t);
|
|
429
|
+
}), y(e, (e) => {
|
|
429
430
|
try {
|
|
430
431
|
te(e);
|
|
431
432
|
} catch {}
|
|
@@ -440,81 +441,102 @@ function qe() {
|
|
|
440
441
|
}
|
|
441
442
|
}, Z = function(e, n) {
|
|
442
443
|
try {
|
|
443
|
-
|
|
444
|
+
b(t.removed, {
|
|
444
445
|
attribute: n.getAttributeNode(e),
|
|
445
446
|
from: n
|
|
446
447
|
});
|
|
447
448
|
} catch {
|
|
448
|
-
|
|
449
|
+
b(t.removed, {
|
|
449
450
|
attribute: null,
|
|
450
451
|
from: n
|
|
451
452
|
});
|
|
452
453
|
}
|
|
453
|
-
if (n.removeAttribute(e), e === "is") if (U ||
|
|
454
|
+
if (n.removeAttribute(e), e === "is") if (U || wt) try {
|
|
454
455
|
X(n);
|
|
455
456
|
} catch {}
|
|
456
457
|
else try {
|
|
457
458
|
n.setAttribute(e, "");
|
|
458
459
|
} catch {}
|
|
459
|
-
},
|
|
460
|
+
}, an = function(e) {
|
|
460
461
|
let t = ae(e);
|
|
461
462
|
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
462
463
|
let r = t[n], i = r && r.name;
|
|
463
|
-
if (!(typeof i != "string" ||
|
|
464
|
+
if (!(typeof i != "string" || L[J(i)])) try {
|
|
464
465
|
e.removeAttribute(i);
|
|
465
466
|
} catch {}
|
|
466
467
|
}
|
|
467
|
-
},
|
|
468
|
+
}, on = function(e) {
|
|
468
469
|
let t = [e];
|
|
469
470
|
for (; t.length > 0;) {
|
|
470
471
|
let e = t.pop();
|
|
471
|
-
(_ ? _(e) : e.nodeType) ===
|
|
472
|
+
(_ ? _(e) : e.nodeType) === M.element && an(e);
|
|
472
473
|
let n = f(e);
|
|
473
474
|
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
474
475
|
}
|
|
475
|
-
},
|
|
476
|
+
}, sn = function(e) {
|
|
477
|
+
if (!V) return;
|
|
478
|
+
let t = [e];
|
|
479
|
+
for (; t.length > 0;) {
|
|
480
|
+
let e = t.pop(), n = _ ? _(e) : e.nodeType;
|
|
481
|
+
if (n === M.processingInstruction || n === M.comment && T(Ue, e.data)) {
|
|
482
|
+
try {
|
|
483
|
+
te(e);
|
|
484
|
+
} catch {}
|
|
485
|
+
continue;
|
|
486
|
+
}
|
|
487
|
+
if (n === M.element) {
|
|
488
|
+
let t = e, n = J(v ? v(e) : e.nodeName);
|
|
489
|
+
try {
|
|
490
|
+
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && n !== "label" && n !== "output" && t.removeAttribute("for");
|
|
491
|
+
} catch {}
|
|
492
|
+
}
|
|
493
|
+
let r = f(e);
|
|
494
|
+
if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
|
|
495
|
+
}
|
|
496
|
+
}, cn = function(e) {
|
|
476
497
|
let t = null, r = null;
|
|
477
|
-
if (
|
|
498
|
+
if (Ct) e = "<remove></remove>" + e;
|
|
478
499
|
else {
|
|
479
500
|
let t = de(e, /^[\r\n\t ]+/);
|
|
480
501
|
r = t && t[0];
|
|
481
502
|
}
|
|
482
|
-
|
|
483
|
-
let i =
|
|
503
|
+
Kt === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
504
|
+
let i = S ? k(e) : e;
|
|
484
505
|
if (q === K) try {
|
|
485
|
-
t = new l().parseFromString(i,
|
|
506
|
+
t = new l().parseFromString(i, Kt);
|
|
486
507
|
} catch {}
|
|
487
508
|
if (!t || !t.documentElement) {
|
|
488
|
-
t =
|
|
509
|
+
t = Qe.createDocument(q, "template", null);
|
|
489
510
|
try {
|
|
490
|
-
t.documentElement.innerHTML =
|
|
511
|
+
t.documentElement.innerHTML = Rt ? C : i;
|
|
491
512
|
} catch {}
|
|
492
513
|
}
|
|
493
514
|
let a = t.body || t.documentElement;
|
|
494
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ?
|
|
495
|
-
}, sn = function(e) {
|
|
496
|
-
return Ze.call(e.ownerDocument || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
497
|
-
}, cn = function(e) {
|
|
498
|
-
return e = S(e, tt, " "), e = S(e, nt, " "), e = S(e, rt, " "), e;
|
|
515
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ? tt.call(t, H ? "html" : "body")[0] : H ? t.documentElement : a;
|
|
499
516
|
}, ln = function(e) {
|
|
517
|
+
let t = he ? he(e) : e.ownerDocument;
|
|
518
|
+
return $e.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
519
|
+
}, un = function(e) {
|
|
520
|
+
return e = fe(e, rt, " "), e = fe(e, it, " "), e = fe(e, at, " "), e;
|
|
521
|
+
}, dn = function(e) {
|
|
500
522
|
e.normalize();
|
|
501
|
-
let t =
|
|
502
|
-
for (;
|
|
503
|
-
let
|
|
504
|
-
|
|
505
|
-
Q(e.content) &&
|
|
523
|
+
let t = he ? he(e) : e.ownerDocument, n = $e.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
524
|
+
for (; r;) r.data = un(r.data), r = n.nextNode();
|
|
525
|
+
let i = e.querySelectorAll?.call(e, "template");
|
|
526
|
+
i && y(i, (e) => {
|
|
527
|
+
Q(e.content) && dn(e.content);
|
|
506
528
|
});
|
|
507
|
-
},
|
|
529
|
+
}, fn = function(e) {
|
|
508
530
|
let t = v ? v(e) : null;
|
|
509
531
|
return typeof t != "string" || J(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== ae(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== _(e) || e.childNodes !== f(e);
|
|
510
532
|
}, Q = function(e) {
|
|
511
533
|
if (!_ || typeof e != "object" || !e) return !1;
|
|
512
534
|
try {
|
|
513
|
-
return _(e) ===
|
|
535
|
+
return _(e) === M.documentFragment;
|
|
514
536
|
} catch {
|
|
515
537
|
return !1;
|
|
516
538
|
}
|
|
517
|
-
},
|
|
539
|
+
}, pn = function(e) {
|
|
518
540
|
if (!_ || typeof e != "object" || !e) return !1;
|
|
519
541
|
try {
|
|
520
542
|
return typeof _(e) == "number";
|
|
@@ -523,49 +545,56 @@ function qe() {
|
|
|
523
545
|
}
|
|
524
546
|
};
|
|
525
547
|
function $(e, n, r) {
|
|
526
|
-
e.length !== 0 &&
|
|
548
|
+
e.length !== 0 && y(e, (e) => {
|
|
527
549
|
e.call(t, n, r, Y);
|
|
528
550
|
});
|
|
529
551
|
}
|
|
530
|
-
let
|
|
531
|
-
return !!(
|
|
532
|
-
},
|
|
533
|
-
if (!
|
|
534
|
-
if (
|
|
535
|
-
let t = p(e),
|
|
536
|
-
if (
|
|
537
|
-
let
|
|
538
|
-
for (let
|
|
539
|
-
let
|
|
540
|
-
t.insertBefore(
|
|
552
|
+
let mn = function(e, t) {
|
|
553
|
+
return !!(V && e.hasChildNodes() && !pn(e.firstElementChild) && T(He, e.textContent) && T(He, e.innerHTML) || V && e.namespaceURI === K && t === "style" && pn(e.firstElementChild) || e.nodeType === M.processingInstruction || V && e.nodeType === M.comment && T(Ue, e.data));
|
|
554
|
+
}, hn = function(e, t, n) {
|
|
555
|
+
if (!mt[t] && bn(t) && (R.tagNameCheck instanceof RegExp && T(R.tagNameCheck, t) || R.tagNameCheck instanceof Function && R.tagNameCheck(t))) return !1;
|
|
556
|
+
if (kt && !G[t]) {
|
|
557
|
+
let t = p(e), r = f(e);
|
|
558
|
+
if (r && t) {
|
|
559
|
+
let i = r.length;
|
|
560
|
+
for (let a = i - 1; a >= 0; --a) {
|
|
561
|
+
let i = e === n ? ee(r[a], !0) : r[a];
|
|
562
|
+
t.insertBefore(i, re(e));
|
|
541
563
|
}
|
|
542
564
|
}
|
|
543
565
|
}
|
|
544
566
|
return X(e), !0;
|
|
545
|
-
},
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
if ($(
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
567
|
+
}, gn = function(e, t, n, r) {
|
|
568
|
+
return e.length === 0 ? t : t === n || t === r ? A(t) : t;
|
|
569
|
+
}, _n = function(e, n) {
|
|
570
|
+
if ($(F.beforeSanitizeElements, e, null), e !== n && p(e) === null) return At && on(e), !0;
|
|
571
|
+
if (fn(e)) return X(e), !0;
|
|
572
|
+
let r = J(v ? v(e) : e.nodeName);
|
|
573
|
+
if (I = gn(F.uponSanitizeElement, I, ft, xt), $(F.uponSanitizeElement, e, {
|
|
574
|
+
tagName: r,
|
|
575
|
+
allowedTags: I
|
|
576
|
+
}), e !== n && p(e) === null) return At && on(e), !0;
|
|
577
|
+
if (mn(e, r)) return X(e), !0;
|
|
578
|
+
if (mt[r] || !(z.tagCheck instanceof Function && z.tagCheck(r)) && !I[r]) {
|
|
579
|
+
let t = hn(e, r, n);
|
|
580
|
+
return t === !1 && $(F.afterSanitizeElements, e, null), t;
|
|
581
|
+
}
|
|
582
|
+
if ((_ ? _(e) : e.nodeType) === M.element && !nn(e) || (r === "noscript" || r === "noembed" || r === "noframes") && T(We, e.innerHTML)) return X(e), !0;
|
|
583
|
+
if (B && e.nodeType === M.text) {
|
|
584
|
+
let n = un(e.textContent);
|
|
585
|
+
e.textContent !== n && (b(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
557
586
|
}
|
|
558
|
-
return $(
|
|
559
|
-
},
|
|
560
|
-
if (
|
|
561
|
-
let i =
|
|
562
|
-
if (!(
|
|
587
|
+
return $(F.afterSanitizeElements, e, null), !1;
|
|
588
|
+
}, vn = function(e, t, r) {
|
|
589
|
+
if (ht[t] || V && t === "patchsrc" || V && t === "for" && e !== "label" && e !== "output" || Et && (t === "id" || t === "name") && (r in n || r in Jt)) return !1;
|
|
590
|
+
let i = L[t] || z.attributeCheck instanceof Function && z.attributeCheck(t, e);
|
|
591
|
+
if (!(_t && T(ot, t)) && !(gt && T(st, t))) {
|
|
563
592
|
if (!i) {
|
|
564
|
-
if (!(
|
|
565
|
-
} else if (!
|
|
593
|
+
if (!(bn(e) && (R.tagNameCheck instanceof RegExp && T(R.tagNameCheck, e) || R.tagNameCheck instanceof Function && R.tagNameCheck(e)) && (R.attributeNameCheck instanceof RegExp && T(R.attributeNameCheck, t) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(t, e)) || t === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && T(R.tagNameCheck, r) || R.tagNameCheck instanceof Function && R.tagNameCheck(r)))) return !1;
|
|
594
|
+
} else if (!Pt[t] && !T(dt, fe(r, lt, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && pe(r, "data:") === 0 && Mt[e]) && !(vt && !T(ct, fe(r, lt, ""))) && r) return !1;
|
|
566
595
|
}
|
|
567
596
|
return !0;
|
|
568
|
-
},
|
|
597
|
+
}, yn = O({}, [
|
|
569
598
|
"annotation-xml",
|
|
570
599
|
"color-profile",
|
|
571
600
|
"font-face",
|
|
@@ -574,34 +603,35 @@ function qe() {
|
|
|
574
603
|
"font-face-src",
|
|
575
604
|
"font-face-uri",
|
|
576
605
|
"missing-glyph"
|
|
577
|
-
]),
|
|
578
|
-
return !
|
|
579
|
-
},
|
|
580
|
-
if (
|
|
581
|
-
case "TrustedHTML": return
|
|
582
|
-
case "TrustedScriptURL": return
|
|
606
|
+
]), bn = function(e) {
|
|
607
|
+
return !yn[le(e)] && T(ut, e);
|
|
608
|
+
}, xn = function(e, t, n, r) {
|
|
609
|
+
if (S && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
610
|
+
case "TrustedHTML": return k(r);
|
|
611
|
+
case "TrustedScriptURL": return Xe(r);
|
|
583
612
|
}
|
|
584
613
|
return r;
|
|
585
|
-
},
|
|
614
|
+
}, Sn = function(e, n, r, i) {
|
|
586
615
|
try {
|
|
587
|
-
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i),
|
|
616
|
+
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), fn(e) ? X(e) : se(t.removed);
|
|
588
617
|
} catch {
|
|
589
618
|
Z(n, e);
|
|
590
619
|
}
|
|
591
|
-
},
|
|
592
|
-
$(
|
|
620
|
+
}, Cn = function(e) {
|
|
621
|
+
$(F.beforeSanitizeAttributes, e, null);
|
|
593
622
|
let t = e.attributes;
|
|
594
|
-
if (!t ||
|
|
623
|
+
if (!t || fn(e)) return;
|
|
624
|
+
L = gn(F.uponSanitizeAttribute, L, pt, St);
|
|
595
625
|
let n = {
|
|
596
626
|
attrName: "",
|
|
597
627
|
attrValue: "",
|
|
598
628
|
keepAttr: !0,
|
|
599
|
-
allowedAttributes:
|
|
629
|
+
allowedAttributes: L,
|
|
600
630
|
forceKeepAttr: void 0
|
|
601
631
|
}, r = t.length, i = J(e.nodeName);
|
|
602
632
|
for (; r--;) {
|
|
603
|
-
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = J(o), u = c, d = o === "value" ? u :
|
|
604
|
-
if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(
|
|
633
|
+
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = J(o), u = c, d = o === "value" ? u : me(u);
|
|
634
|
+
if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(F.uponSanitizeAttribute, e, n), d = n.attrValue, Dt && (l === "id" || l === "name") && pe(d, Ot) !== 0 && (Z(o, e), d = Ot + d), V && T(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
|
|
605
635
|
Z(o, e);
|
|
606
636
|
continue;
|
|
607
637
|
}
|
|
@@ -614,26 +644,26 @@ function qe() {
|
|
|
614
644
|
Z(o, e);
|
|
615
645
|
continue;
|
|
616
646
|
}
|
|
617
|
-
if (!
|
|
647
|
+
if (!yt && T(Ge, d)) {
|
|
618
648
|
Z(o, e);
|
|
619
649
|
continue;
|
|
620
650
|
}
|
|
621
|
-
if (
|
|
651
|
+
if (B && (d = un(d)), !vn(i, l, d)) {
|
|
622
652
|
Z(o, e);
|
|
623
653
|
continue;
|
|
624
654
|
}
|
|
625
|
-
d =
|
|
655
|
+
d = xn(i, l, s, d), d !== u && Sn(e, o, s, d);
|
|
626
656
|
}
|
|
627
657
|
}
|
|
628
|
-
$(
|
|
629
|
-
},
|
|
630
|
-
let t = null, n =
|
|
631
|
-
for ($(
|
|
658
|
+
$(F.afterSanitizeAttributes, e, null);
|
|
659
|
+
}, wn = function(e) {
|
|
660
|
+
let t = null, n = ln(e);
|
|
661
|
+
for ($(F.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(F.uponSanitizeShadowNode, t, null), _n(t, e), Cn(t), Q(t.content) && wn(t.content), (_ ? _(t) : t.nodeType) === M.element) {
|
|
632
662
|
let e = ie(t);
|
|
633
|
-
Q(e) && (
|
|
663
|
+
Q(e) && (Tn(e), wn(e));
|
|
634
664
|
}
|
|
635
|
-
$(
|
|
636
|
-
},
|
|
665
|
+
$(F.afterSanitizeShadowDOM, e, null);
|
|
666
|
+
}, Tn = function(e) {
|
|
637
667
|
let t = [{
|
|
638
668
|
node: e,
|
|
639
669
|
shadow: null
|
|
@@ -641,10 +671,10 @@ function qe() {
|
|
|
641
671
|
for (; t.length > 0;) {
|
|
642
672
|
let e = t.pop();
|
|
643
673
|
if (e.shadow) {
|
|
644
|
-
|
|
674
|
+
wn(e.shadow);
|
|
645
675
|
continue;
|
|
646
676
|
}
|
|
647
|
-
let n = e.node, r = (_ ? _(n) : n.nodeType) ===
|
|
677
|
+
let n = e.node, r = (_ ? _(n) : n.nodeType) === M.element, i = f(n);
|
|
648
678
|
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
649
679
|
node: i[e],
|
|
650
680
|
shadow: null
|
|
@@ -673,70 +703,74 @@ function qe() {
|
|
|
673
703
|
};
|
|
674
704
|
return t.sanitize = function(e) {
|
|
675
705
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
676
|
-
if (
|
|
706
|
+
if (Rt = !e, Rt && (e = "<!-->"), typeof e != "string" && !pn(e) && (e = ye(e), typeof e != "string")) throw E("dirty is not a string, aborting");
|
|
677
707
|
if (!t.isSupported) return e;
|
|
678
|
-
|
|
679
|
-
let c =
|
|
708
|
+
bt ? (I = xt, L = St) : Xt(n), (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && (I = A(I)), F.uponSanitizeAttribute.length > 0 && (L = A(L)), t.removed = [];
|
|
709
|
+
let c = At && typeof e != "string" && pn(e);
|
|
680
710
|
if (c) {
|
|
711
|
+
sn(e);
|
|
681
712
|
let t = v ? v(e) : e.nodeName;
|
|
682
713
|
if (typeof t == "string") {
|
|
683
|
-
let
|
|
684
|
-
if (!
|
|
714
|
+
let n = J(t);
|
|
715
|
+
if (!I[n] || mt[n]) throw rn(e), E("root node is forbidden and cannot be sanitized in-place");
|
|
685
716
|
}
|
|
686
|
-
if (
|
|
717
|
+
if (fn(e)) throw rn(e), E("root node is clobbered and cannot be sanitized in-place");
|
|
687
718
|
try {
|
|
688
|
-
|
|
719
|
+
Tn(e);
|
|
689
720
|
} catch (t) {
|
|
690
|
-
throw
|
|
721
|
+
throw rn(e), t;
|
|
691
722
|
}
|
|
692
|
-
} else if (
|
|
723
|
+
} else if (pn(e)) i = cn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === M.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Tn(a);
|
|
693
724
|
else {
|
|
694
|
-
if (!U && !
|
|
695
|
-
if (i =
|
|
725
|
+
if (!U && !B && !H && e.indexOf("<") === -1) return S && Tt ? k(e) : e;
|
|
726
|
+
if (i = cn(e), !i) return U ? null : Tt ? C : "";
|
|
696
727
|
}
|
|
697
|
-
i &&
|
|
698
|
-
let l =
|
|
728
|
+
i && Ct && X(i.firstChild);
|
|
729
|
+
let l = c ? e : i;
|
|
699
730
|
try {
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
731
|
+
let e = ln(l);
|
|
732
|
+
for (; o = e.nextNode();) _n(o, l), Cn(o), Q(o.content) && wn(o.content);
|
|
733
|
+
} catch (n) {
|
|
734
|
+
throw c && (rn(e), y(t.removed, (e) => {
|
|
735
|
+
e.element && on(e.element);
|
|
736
|
+
})), n;
|
|
703
737
|
}
|
|
704
|
-
if (c) return
|
|
705
|
-
e.element &&
|
|
706
|
-
}),
|
|
738
|
+
if (c) return y(t.removed, (e) => {
|
|
739
|
+
e.element && on(e.element);
|
|
740
|
+
}), B && dn(e), e;
|
|
707
741
|
if (U) {
|
|
708
|
-
if (
|
|
742
|
+
if (B && dn(i), wt) for (s = et.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
709
743
|
else s = i;
|
|
710
|
-
return (
|
|
744
|
+
return (L.shadowroot || L.shadowrootmode) && (s = nt.call(r, s, !0)), s;
|
|
711
745
|
}
|
|
712
746
|
let u = H ? i.outerHTML : i.innerHTML;
|
|
713
|
-
return H &&
|
|
747
|
+
return H && I["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && T(Be, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), B && (u = un(u)), S && Tt ? k(u) : u;
|
|
714
748
|
}, t.setConfig = function() {
|
|
715
749
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
716
|
-
|
|
750
|
+
Xt(e), bt = !0, xt = I, St = L;
|
|
717
751
|
}, t.clearConfig = function() {
|
|
718
|
-
Y = null,
|
|
752
|
+
Y = null, bt = !1, xt = null, St = null, S = ge, C = "";
|
|
719
753
|
}, t.isValidAttribute = function(e, t, n) {
|
|
720
|
-
Y ||
|
|
754
|
+
Y || Xt({});
|
|
721
755
|
let r = J(e), i = J(t);
|
|
722
|
-
return
|
|
756
|
+
return vn(r, i, n);
|
|
723
757
|
}, t.addHook = function(e, t) {
|
|
724
|
-
typeof t == "function" &&
|
|
758
|
+
typeof t == "function" && w(F, e) && b(F[e], t);
|
|
725
759
|
}, t.removeHook = function(e, t) {
|
|
726
|
-
if (
|
|
760
|
+
if (w(F, e)) {
|
|
727
761
|
if (t !== void 0) {
|
|
728
|
-
let n =
|
|
729
|
-
return n === -1 ? void 0 :
|
|
762
|
+
let n = oe(F[e], t);
|
|
763
|
+
return n === -1 ? void 0 : ce(F[e], n, 1)[0];
|
|
730
764
|
}
|
|
731
|
-
return
|
|
765
|
+
return se(F[e]);
|
|
732
766
|
}
|
|
733
767
|
}, t.removeHooks = function(e) {
|
|
734
|
-
|
|
768
|
+
w(F, e) && (F[e] = []);
|
|
735
769
|
}, t.removeAllHooks = function() {
|
|
736
|
-
|
|
770
|
+
F = Je();
|
|
737
771
|
}, t;
|
|
738
772
|
}
|
|
739
|
-
var
|
|
773
|
+
var Xe = Ye(), Ze = e({
|
|
740
774
|
account: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M12 14C14.2091 14 16 12.2091 16 10C16 7.79086 14.2091 6 12 6C9.79086 6 8 7.79086 8 10C8 12.2091 9.79086 14 12 14ZM12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12Z\"/>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M14.2036 21.7564C18.6663 20.7528 22 16.7657 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 16.7657 5.33374 20.7528 9.7964 21.7564C10.4786 21.9136 11.222 22 12 22C12.778 22 13.5214 21.9136 14.2036 21.7564ZM17.7714 17.5399C19.1517 16.1024 20 14.1503 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 14.1503 4.84833 16.1024 6.22856 17.5399C6.94398 16.0737 9.25704 15 12 15C14.743 15 17.056 16.0737 17.7714 17.5399ZM13.8195 19.7922C14.3822 19.6566 14.8621 19.4648 15.2349 19.2473C15.5962 19.0366 15.8044 18.8331 15.9093 18.6883C15.9596 18.619 15.9815 18.5699 15.9909 18.5433C15.9995 18.5188 16 18.5063 16 18.5C16 18.4937 15.9995 18.4812 15.9909 18.4567C15.9815 18.4301 15.9596 18.381 15.9093 18.3117C15.8044 18.1669 15.5962 17.9634 15.2349 17.7527C14.5056 17.3273 13.3664 17 12 17C10.6336 17 9.49436 17.3273 8.7651 17.7527C8.40385 17.9634 8.19565 18.1669 8.09067 18.3117C8.0404 18.381 8.01847 18.4301 8.00915 18.4567C8.00052 18.4812 8 18.4937 8 18.5C8 18.5063 8.00052 18.5188 8.00915 18.5433C8.01847 18.5699 8.0404 18.619 8.09067 18.6883C8.19565 18.8331 8.40385 19.0366 8.7651 19.2473C9.1379 19.4648 9.61783 19.6566 10.1805 19.7922C10.765 19.9281 11.3741 20 12 20C12.6259 20 13.235 19.9281 13.8195 19.7922Z\"/>\n</svg>\n",
|
|
741
775
|
agent: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6.58996 9.00399C7.05861 6.4419 9.30253 4.5 12 4.5C14.6975 4.5 16.9414 6.4419 17.41 9.00399C16.8999 9.04947 16.5 9.47803 16.5 10C16.5 10.5523 16.9477 11 17.5 11C18.0523 11 18.5 10.5523 18.5 10C18.5 6.41015 15.5899 3.5 12 3.5C8.41015 3.5 5.5 6.41015 5.5 10C5.5 10.5487 5.60714 11.3787 5.94924 12.0914C6.29692 12.8157 6.93735 13.5 8 13.5C8.27614 13.5 8.5 13.2761 8.5 13C8.5 12.7239 8.27614 12.5 8 12.5C7.46265 12.5 7.10308 12.1843 6.85076 11.6586C6.75055 11.4499 6.67526 11.221 6.62065 10.9928C7.11604 10.9332 7.5 10.5115 7.5 10C7.5 9.47803 7.10009 9.04947 6.58996 9.00399Z\"/>\n <path d=\"M8.26123 17.8889C7.32916 18.4326 7 19.0368 7 19.5C7 20.0523 6.55228 20.5 6 20.5C5.44772 20.5 5 20.0523 5 19.5C5 18.0302 6.01399 16.8844 7.25349 16.1613C8.51754 15.424 10.1979 15 12 15C13.8021 15 15.4825 15.424 16.7465 16.1613C17.986 16.8844 19 18.0302 19 19.5C19 20.0523 18.5523 20.5 18 20.5C17.4477 20.5 17 20.0523 17 19.5C17 19.0368 16.6708 18.4326 15.7388 17.8889C14.8312 17.3595 13.5116 17 12 17C10.4884 17 9.16875 17.3595 8.26123 17.8889Z\"/>\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n d=\"M12 14C14.2091 14 16 12.2091 16 10C16 7.79086 14.2091 6 12 6C9.79086 6 8 7.79086 8 10C8 12.2091 9.79086 14 12 14ZM12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12Z\"/>\n</svg>\n",
|
|
742
776
|
api: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M11.9995 2C11.3003 2 10.6297 2.27776 10.1353 2.77217C9.64091 3.26659 9.36315 3.93716 9.36315 4.63636V4.77277C9.36263 4.84057 9.34242 4.90677 9.30497 4.96332C9.28534 4.99296 9.26143 5.01927 9.23415 5.04148C9.18006 5.05517 9.12706 5.0734 9.07575 5.09605C9.01177 5.12428 8.9408 5.13271 8.87198 5.12023C8.80439 5.10797 8.74193 5.0761 8.69236 5.02863L8.64883 4.9851C8.40398 4.73998 8.11322 4.54553 7.79317 4.41286C7.47312 4.28018 7.13006 4.21189 6.7836 4.21189C6.43714 4.21189 6.09408 4.28018 5.77403 4.41286C5.45415 4.54546 5.16353 4.73978 4.91877 4.98471C4.67383 5.22948 4.47952 5.5201 4.34691 5.83998C4.21424 6.16002 4.14595 6.50309 4.14595 6.84955C4.14595 7.196 4.21424 7.53907 4.34691 7.85912C4.47959 8.17916 4.67404 8.46993 4.91916 8.71477L4.96269 8.7583L4.97002 8.76619L5.49988 7H6.16399C6.15204 6.95086 6.14595 6.90035 6.14595 6.84955C6.14595 6.76592 6.16244 6.68311 6.19446 6.60586C6.22648 6.5286 6.27342 6.45842 6.33259 6.39932L6.33338 6.39853C6.39248 6.33937 6.46266 6.29243 6.53991 6.2604C6.61717 6.22838 6.69998 6.21189 6.7836 6.21189C6.86723 6.21189 6.95004 6.22838 7.02729 6.2604C7.10455 6.29243 7.17512 6.33976 7.23422 6.39892L7.28327 6.44806L7.29116 6.45577C7.54278 6.70191 7.84536 6.8873 8.17572 7L9.69381 6.99977C9.77795 6.98711 9.86032 6.96373 9.9389 6.93005C10.3601 6.74951 10.7194 6.44973 10.9725 6.06762C11.2255 5.68551 11.3613 5.23775 11.3631 4.77944V4.63636C11.3631 4.46759 11.4302 4.30573 11.5495 4.18639C11.6689 4.06705 11.8307 4 11.9995 4C12.1683 4 12.3301 4.06705 12.4495 4.18639C12.5688 4.30573 12.6359 4.46759 12.6359 4.63636V4.77944C12.6377 5.23775 12.7735 5.68551 13.0266 6.06762C13.2796 6.44973 13.6389 6.74951 14.0601 6.93005C14.1387 6.96373 14.2218 6.98734 14.3059 7H15.8233C16.1537 6.8873 16.4562 6.70191 16.7079 6.45577L16.7158 6.44806L16.7648 6.39892C16.8239 6.33976 16.8945 6.29243 16.9717 6.2604C17.049 6.22838 17.1318 6.21189 17.2154 6.21189C17.299 6.21189 17.3819 6.22838 17.4591 6.2604C17.5364 6.29243 17.6065 6.33937 17.6656 6.39853L17.6664 6.39932C17.7256 6.45842 17.7725 6.5286 17.8046 6.60586C17.8366 6.68311 17.8531 6.76592 17.8531 6.84955C17.8531 6.90035 17.847 6.95086 17.835 7H19.8488C19.8516 6.94996 19.8531 6.89979 19.8531 6.84955C19.8531 6.50309 19.7848 6.16002 19.6521 5.83998C19.5195 5.5201 19.3252 5.22948 19.0803 4.98471C18.8355 4.73978 18.5449 4.54546 18.225 4.41286C17.9049 4.28018 17.5619 4.21189 17.2154 4.21189C16.869 4.21189 16.5259 4.28018 16.2059 4.41286C15.8858 4.54553 15.595 4.73998 15.3502 4.9851L15.3067 5.02863C15.2571 5.0761 15.1946 5.10797 15.127 5.12023C15.0582 5.13271 14.9873 5.12428 14.9233 5.09605C14.872 5.0734 14.819 5.05517 14.7649 5.04148C14.7376 5.01927 14.7137 4.99296 14.6941 4.96332C14.6566 4.90677 14.6364 4.84057 14.6359 4.77277V4.63636C14.6359 3.93716 14.3581 3.26659 13.8637 2.77217C13.3693 2.27776 12.6987 2 11.9995 2Z\" />\n<path d=\"M4.69401 9.42909C4.72163 9.42782 4.74886 9.42329 4.77517 9.41568L4.06396 11.7864C4.03379 11.8482 4.01371 11.9148 4.00479 11.9836L3.29863 14.3375C3.10802 14.2253 2.93074 14.0887 2.77168 13.9296C2.27727 13.4352 1.99951 12.7647 1.99951 12.0655C1.99951 11.3662 2.27727 10.6957 2.77168 10.2013C3.2661 9.70685 3.93667 9.42909 4.63588 9.42909H4.69401Z\" />\n<path d=\"M6.24915 17H4.22026C4.21437 17.0717 4.21141 17.1437 4.21141 17.2159C4.21141 17.5624 4.2797 17.9054 4.41237 18.2255C4.5449 18.5452 4.73908 18.8357 4.98383 19.0804C5.22868 19.3255 5.51944 19.5199 5.83949 19.6526C6.15954 19.7853 6.5026 19.8536 6.84906 19.8536C7.19552 19.8536 7.53858 19.7853 7.85863 19.6526C8.17851 19.52 8.46952 19.3253 8.71428 19.0804L8.75781 19.0368C8.80738 18.9894 8.86984 18.9575 8.93744 18.9452C9.00625 18.9327 9.07722 18.9412 9.1412 18.9694C9.16047 18.9779 9.18001 18.9858 9.19979 18.9931C9.2657 19.0173 9.32279 19.0608 9.36365 19.118C9.40298 19.1729 9.42551 19.2381 9.4286 19.3055V19.3636C9.4286 20.0628 9.70636 20.7334 10.2008 21.2278C10.6797 21.7068 11.324 21.9824 11.9995 21.9992C12.675 21.9824 13.3193 21.7068 13.7982 21.2278C14.2927 20.7334 14.5704 20.0628 14.5704 19.3636V19.3055C14.5735 19.2381 14.596 19.1729 14.6354 19.118C14.6762 19.0608 14.7333 19.0173 14.7992 18.9931C14.819 18.9858 14.8385 18.9779 14.8578 18.9694C14.9218 18.9412 14.9928 18.9327 15.0616 18.9452C15.1292 18.9575 15.1916 18.9894 15.2412 19.0368L15.2847 19.0804C15.5295 19.3253 15.8205 19.52 16.1404 19.6526C16.4604 19.7853 16.8035 19.8536 17.15 19.8536C17.4964 19.8536 17.8395 19.7853 18.1595 19.6526C18.4796 19.5199 18.7703 19.3255 19.0152 19.0804C19.2599 18.8357 19.4541 18.5452 19.5867 18.2255C19.7193 17.9054 19.7876 17.5624 19.7876 17.2159C19.7876 17.1437 19.7847 17.0717 19.7788 17H17.7499C17.7748 17.0692 17.7876 17.1422 17.7876 17.2159C17.7876 17.2995 17.7711 17.3823 17.7391 17.4596C17.7071 17.5369 17.6601 17.607 17.601 17.6661L17.6002 17.6669C17.5411 17.7261 17.4709 17.773 17.3937 17.8051C17.3164 17.8371 17.2336 17.8536 17.15 17.8536C17.0663 17.8536 16.9835 17.8371 16.9063 17.8051C16.829 17.773 16.7588 17.7261 16.6997 17.6669L16.6425 17.6096C16.3336 17.3075 15.948 17.097 15.5285 17H14.4698C14.3367 17.0308 14.2061 17.0732 14.0793 17.1271C13.6492 17.2919 13.2768 17.5795 13.0086 17.9545C12.7343 18.338 12.5817 18.7952 12.5707 19.2666L12.5704 19.29V19.3636C12.5704 19.5324 12.5034 19.6943 12.384 19.8136C12.2802 19.9174 12.1442 19.9817 11.9995 19.9966C11.8548 19.9817 11.7188 19.9174 11.615 19.8136C11.4956 19.6943 11.4286 19.5324 11.4286 19.3636V19.29L11.4283 19.2666C11.4173 18.7952 11.2647 18.338 10.9904 17.9545C10.7222 17.5795 10.3498 17.2919 9.91972 17.1271C9.79296 17.0732 9.66228 17.0308 9.52921 17H8.47055C8.05103 17.097 7.6654 17.3075 7.35657 17.6096L7.29928 17.6669C7.24019 17.7261 7.17 17.773 7.09275 17.8051C7.01549 17.8371 6.93268 17.8536 6.84906 17.8536C6.76543 17.8536 6.68262 17.8371 6.60537 17.8051C6.52811 17.773 6.45793 17.7261 6.39883 17.6669L6.39804 17.6661C6.33888 17.607 6.29194 17.5369 6.25991 17.4596C6.22789 17.3823 6.21141 17.2995 6.21141 17.2159C6.21141 17.1422 6.2242 17.0692 6.24915 17Z\" />\n<path d=\"M21.2273 13.9296C20.886 14.271 20.4606 14.5091 19.9999 14.6238V9.50713C20.4606 9.62182 20.886 9.8599 21.2273 10.2013C21.7218 10.6957 21.9995 11.3662 21.9995 12.0655C21.9995 12.7647 21.7218 13.4352 21.2273 13.9296Z\" />\n<path d=\"M6.99991 8C7.43034 8 7.81247 8.27543 7.94859 8.68377L9.94859 14.6838C10.1232 15.2077 9.84008 15.774 9.31613 15.9487C8.79219 16.1233 8.22587 15.8402 8.05122 15.3162L6.99991 12.1623L5.94859 15.3162C5.77394 15.8402 5.20762 16.1233 4.68368 15.9487C4.15973 15.774 3.87657 15.2077 4.05122 14.6838L6.05122 8.68377C6.18734 8.27543 6.56947 8 6.99991 8Z\" />\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M10.9999 9C10.9999 8.44772 11.4476 8 11.9999 8H14.9999C15.5522 8 15.9999 8.44772 15.9999 9V12C15.9999 12.5523 15.5522 13 14.9999 13H12.9999V15C12.9999 15.5523 12.5522 16 11.9999 16C11.4476 16 10.9999 15.5523 10.9999 15V9ZM12.9999 11H13.9999V10H12.9999V11Z\" />\n<path d=\"M18.9999 9C18.9999 8.44772 18.5522 8 17.9999 8C17.4476 8 16.9999 8.44772 16.9999 9V15C16.9999 15.5523 17.4476 16 17.9999 16C18.5522 16 18.9999 15.5523 18.9999 15V9Z\" />\n</svg>\n",
|
|
@@ -986,26 +1020,26 @@ var Je = qe(), Ye = e({
|
|
|
986
1020
|
protectionError: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M13.293 8.29283C13.6834 7.90242 14.3165 7.90249 14.707 8.29283C15.0975 8.68334 15.0975 9.31637 14.707 9.7069L13.4141 10.9989L14.708 12.2928C15.0982 12.6833 15.0983 13.3164 14.708 13.7069C14.3176 14.0973 13.6845 14.0972 13.2939 13.7069L12 12.413L10.707 13.7069C10.3165 14.0972 9.68341 14.0973 9.29297 13.7069C8.9027 13.3164 8.90276 12.6833 9.29297 12.2928L10.5859 10.9989L9.29395 9.7069C8.90348 9.31637 8.90344 8.68334 9.29395 8.29283C9.68446 7.90249 10.3175 7.90242 10.708 8.29283L12 9.58483L13.293 8.29283Z\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.98242 2.33776C11.3261 1.88709 12.6739 1.88709 14.0176 2.33776C14.0401 2.34529 14.0621 2.35403 14.084 2.36315L19.4629 4.60338C20.4159 4.96934 21 5.81936 21 6.7733V10.828C21 15.8919 17.3002 20.7466 12.2354 21.9715C12.0809 22.0089 11.9191 22.0089 11.7646 21.9715C6.69984 20.7466 3 15.8919 3 10.828V6.7733C3 5.81936 3.58411 4.96934 4.53711 4.60338L9.91602 2.36315C9.9379 2.35403 9.95995 2.34529 9.98242 2.33776ZM13.3496 4.2235C12.4408 3.9255 11.5592 3.9255 10.6504 4.2235L5.30469 6.45104C5.28834 6.45785 5.27136 6.46426 5.25488 6.47057C5.13869 6.51505 5.07948 6.57345 5.04883 6.61705C5.01739 6.66179 5 6.71366 5 6.7733V10.828C5 14.9061 7.96764 18.8709 12 19.9676C16.0324 18.8709 19 14.9061 19 10.828V6.7733C19 6.71366 18.9826 6.66179 18.9512 6.61705C18.9205 6.57345 18.8613 6.51505 18.7451 6.47057C18.7287 6.46428 18.7117 6.45786 18.6953 6.45104L13.3496 4.2235Z\"/>\n</svg>\n",
|
|
987
1021
|
sortAsc: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M21 18C21.5523 18 22 18.4477 22 19C22 19.5523 21.5523 20 21 20H3C2.44772 20 2 19.5523 2 19C2 18.4477 2.44772 18 3 18H21ZM13 11C13.5523 11 14 11.4477 14 12C14 12.5523 13.5523 13 13 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H13ZM21.707 4.29297C22.0976 4.68349 22.0976 5.31651 21.707 5.70703C21.3165 6.09752 20.6835 6.09754 20.293 5.70703L20 5.41406V12C20 12.5523 19.5523 13 19 13C18.4477 13 18 12.5523 18 12V5.41406L17.707 5.70703C17.3165 6.09752 16.6835 6.09754 16.293 5.70703C15.9025 5.31652 15.9025 4.68348 16.293 4.29297L19 1.58594L21.707 4.29297ZM11 4C11.5523 4 12 4.44771 12 5C12 5.55229 11.5523 6 11 6H3C2.44772 6 2 5.55229 2 5C2 4.44771 2.44772 4 3 4H11Z\"/>\n</svg>\n",
|
|
988
1022
|
sortDesc: "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M19 11C19.5523 11 20 11.4477 20 12V18.5859L20.293 18.293C20.6835 17.9025 21.3165 17.9025 21.707 18.293C22.0975 18.6835 22.0975 19.3165 21.707 19.707L19 22.4141L16.293 19.707C15.9024 19.3165 15.9024 18.6835 16.293 18.293C16.6835 17.9025 17.3165 17.9025 17.707 18.293L18 18.5859V12C18 11.4477 18.4477 11 19 11Z\"/>\n<path d=\"M11 18C11.5523 18 12 18.4477 12 19C12 19.5523 11.5523 20 11 20H3C2.44772 20 2 19.5523 2 19C2 18.4477 2.44772 18 3 18H11Z\"/>\n<path d=\"M13 11C13.5523 11 14 11.4477 14 12C14 12.5523 13.5523 13 13 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H13Z\"/>\n<path d=\"M21 4C21.5523 4 22 4.44772 22 5C22 5.55228 21.5523 6 21 6H3C2.44772 6 2 5.55228 2 5C2 4.44772 2.44772 4 3 4H21Z\"/>\n</svg>\n"
|
|
989
|
-
}),
|
|
990
|
-
|
|
1023
|
+
}), P = /* @__PURE__ */ new Map();
|
|
1024
|
+
et({ icons: Object.entries(Ze).map(([e, t]) => ({
|
|
991
1025
|
iconName: e,
|
|
992
1026
|
svg: t
|
|
993
1027
|
})) });
|
|
994
|
-
function
|
|
995
|
-
return
|
|
1028
|
+
function Qe(e) {
|
|
1029
|
+
return P.get(e);
|
|
996
1030
|
}
|
|
997
|
-
function
|
|
998
|
-
let n =
|
|
999
|
-
|
|
1031
|
+
function $e({ iconName: e, svg: t }) {
|
|
1032
|
+
let n = Xe.sanitize(t);
|
|
1033
|
+
P.set(e, n);
|
|
1000
1034
|
}
|
|
1001
|
-
function
|
|
1035
|
+
function et({ icons: e }) {
|
|
1002
1036
|
e.forEach((e) => {
|
|
1003
|
-
|
|
1037
|
+
$e(e);
|
|
1004
1038
|
});
|
|
1005
1039
|
}
|
|
1006
1040
|
//#endregion
|
|
1007
1041
|
//#region src/components/wt-icon/wt-icon.vue?vue&type=script&setup=true&lang.ts
|
|
1008
|
-
var
|
|
1042
|
+
var tt = ["innerHTML"], nt = /* @__PURE__ */ a({
|
|
1009
1043
|
__name: "wt-icon",
|
|
1010
1044
|
props: {
|
|
1011
1045
|
icon: {},
|
|
@@ -1021,7 +1055,7 @@ var et = ["innerHTML"], I = /* @__PURE__ */ a({
|
|
|
1021
1055
|
setup(e, { emit: t }) {
|
|
1022
1056
|
let n = e, a = t, c = r(() => {
|
|
1023
1057
|
let e = n.iconPrefix ? `${n.iconPrefix}-${n.icon}` : n.icon;
|
|
1024
|
-
return
|
|
1058
|
+
return Qe(e) || e;
|
|
1025
1059
|
});
|
|
1026
1060
|
return (t, n) => (s(), i("span", {
|
|
1027
1061
|
class: o([
|
|
@@ -1032,8 +1066,8 @@ var et = ["innerHTML"], I = /* @__PURE__ */ a({
|
|
|
1032
1066
|
]),
|
|
1033
1067
|
onClick: n[0] ||= (e) => a("click"),
|
|
1034
1068
|
innerHTML: c.value
|
|
1035
|
-
}, null, 10,
|
|
1069
|
+
}, null, 10, tt));
|
|
1036
1070
|
}
|
|
1037
1071
|
});
|
|
1038
1072
|
//#endregion
|
|
1039
|
-
export {
|
|
1073
|
+
export { et as n, nt as t };
|