@webitel/ui-sdk 26.6.57 → 26.6.59
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-Wwy51tyT.js → clients-BDtL1Ajm.js} +5 -5
- package/dist/{components-DfHInAL6.js → components-CK9vGYUg.js} +725 -719
- package/dist/{composables-C2o78NEs.js → composables-Ckg9IFyC.js} +3 -3
- package/dist/{debounce-DPzXwiOS.js → debounce-Bp3jy7S5.js} +2 -2
- package/dist/{deep-copy-CQw5yeEH.js → deep-copy-CTgLtgMO.js} +1 -1
- package/dist/{dist-BYiYpK00.js → dist-CAOIU8xq.js} +1 -1
- package/dist/{dist-05Bf47Wg.js → dist-Crpfx4FA.js} +1 -1
- package/dist/dist-uCh8HaP3.js +1910 -0
- package/dist/{floating-ui.dom-n2j9PKCB.js → floating-ui.dom-Ch9ml4Rx.js} +322 -352
- package/dist/{generateInstance-BD4pC4PS.js → generateInstance-C9d7J_TX.js} +1137 -869
- package/dist/{chunk-CY3AvKd6.js → rolldown-runtime-BEcgMyyN.js} +8 -1
- package/dist/{side-channel-Cyte-MzW.js → side-channel-8SnAuRMA.js} +18 -18
- package/dist/ui-sdk.js +819 -25965
- package/dist/ui-sdk.umd.cjs +1810 -7442
- package/dist/{useValidation-C43ysfVZ.js → useValidation-B0voza7s.js} +1 -1
- package/dist/{useVidstackSrc-jCDCYTce.js → useVidstackSrc-epUQZhkL.js} +6 -4
- package/dist/{useWtTable-tqmVOvve.js → useWtTable-DrrvvB6k.js} +1 -1
- package/dist/vidstack-BLEs9rMG-Agxpv9v8.js +11 -0
- package/dist/{vidstack-video-IgjC6GLU.js → vidstack-C6nBVWwn-BlZqtkYB.js} +11 -11
- package/dist/{vidstack-C9vIqaYT-C1EgPq17.js → vidstack-CDOoBnJL-BCwLE1fB.js} +2 -2
- package/dist/{vidstack-Bq6c3Bam-hoRopLll.js → vidstack-CI5oafcm-DAV7Lilr.js} +38 -37
- package/dist/{vidstack-D_-9AA6_-Dq3APB0-.js → vidstack-CXo4cwSP2-6kDG00FC.js} +3 -3
- package/dist/{vidstack-Dihypf8P-ibWMCHK-.js → vidstack-CZQo98ic-D3uTuzB9.js} +1 -1
- package/dist/{vidstack-DDXt6fpN-Don_e6LS.js → vidstack-CceZzgm4-C37rtwSQ.js} +13 -13
- package/dist/{vidstack-ChQTHmIQ-nTO94M6P.js → vidstack-CdfyZegh-Bn47J4h6.js} +3 -3
- package/dist/{vidstack-C2US-gSO-DeIgENrW.js → vidstack-CgfrU1hS-CNTJkyzm.js} +26 -26
- package/dist/{vidstack-BGSTndAW-CyKM_CM4.js → vidstack-D9mvYVIz-DesuYgKV.js} +179 -278
- package/dist/{vidstack-BQlOPwOu-ChhdffAJ.js → vidstack-DATGlkSz2-BnlUxvSa.js} +2 -2
- package/dist/{vidstack-D2pY00kU-dXPuSPZl.js → vidstack-DUnfBERX2-Cl6yTfB3.js} +6 -6
- package/dist/{vidstack-Ci54COQW-CAAXpwzv.js → vidstack-DYPyTdYw-BzqKxwCK.js} +49 -44
- package/dist/vidstack-IMa-zkAV-DevzBPj3.js +35 -0
- package/dist/{vidstack-B01xzxC4-DeYSgDZy.js → vidstack-_E7LrUjK-DaCLs8ge.js} +1 -1
- package/dist/{vidstack-audio-CCSR8cXr.js → vidstack-audio-CH4wIf0F.js} +2 -2
- package/dist/{vidstack-dash-CNcNULYU.js → vidstack-dash-CmlmZIFT.js} +31 -32
- package/dist/{vidstack-google-cast-Co5Q_rfL.js → vidstack-google-cast-COyApZ_Z.js} +17 -18
- package/dist/{vidstack-hls-BP6P23Cc.js → vidstack-hls-D1sxUvBd.js} +70 -71
- package/dist/vidstack-ijoHbXQB-DBClSWHE.js +32 -0
- package/dist/{vidstack-CTojmhKq-D7sZJxgm.js → vidstack-mvRkf9tF-CoFf7dS9.js} +7 -7
- package/dist/vidstack-q-9soyHT-CiZ4hFSF.js +50 -0
- package/dist/vidstack-video-iy3-Vo1A.js +2 -0
- package/dist/{vidstack-vimeo-EzzPpggD.js → vidstack-vimeo-BhNQpz6m.js} +58 -58
- package/dist/{vidstack-youtube-C1_NAfWa.js → vidstack-youtube-BIhUrYs-.js} +33 -30
- package/dist/{vue-i18n-B8Px6VcD.js → vue-i18n-lTFLGg_9.js} +796 -728
- package/dist/{wt-action-bar-B6AJf7QX.js → wt-action-bar-B17FBHD7.js} +1 -1
- package/dist/{wt-button-BieXVsvP.js → wt-button-0kP5bPMs.js} +1 -1
- package/dist/{wt-chat-emoji-CLfk3JVt.js → wt-chat-emoji-BiPhHNuw.js} +180 -155
- package/dist/{wt-datepicker-BhOalZat.js → wt-datepicker-baNcFWZ1.js} +764 -764
- package/dist/{wt-display-chip-items-BUWlvHn2.js → wt-display-chip-items-xm8cHws_.js} +1 -1
- package/dist/{wt-expansion-card-CJr62Q0Q.js → wt-expansion-card-C2qETdn0.js} +1 -1
- package/dist/{wt-galleria-B34y1Swo.js → wt-galleria-DL3svAQs.js} +2 -2
- package/dist/{wt-icon-0grToL89.js → wt-icon-DIdpwmpC.js} +220 -218
- package/dist/{wt-icon-action-D1Vq_ixS.js → wt-icon-action-C8WN2oVD.js} +1 -1
- package/dist/{wt-icon-btn-Czg40DXn.js → wt-icon-btn-BLnhJADA.js} +1 -1
- package/dist/{wt-notifications-bar-OGD1cukw.js → wt-notifications-bar-Dx1YPqFu.js} +6 -6
- package/dist/{wt-pagination-CZuQFM3-.js → wt-pagination-G2ZGU4Pi.js} +1 -1
- package/dist/{wt-player-YrvPar8x.js → wt-player-CCwEyUzv.js} +5 -5
- package/dist/{wt-popover-CJin-2BO.js → wt-popover-BdwrokVy.js} +1 -1
- package/dist/{wt-search-bar-gN_xHkW3.js → wt-search-bar-CiQJ9ViN.js} +2 -2
- package/dist/{wt-selection-popup-B77UY7Yu.js → wt-selection-popup-Bh9D7VtA.js} +1 -1
- package/dist/{wt-send-message-popup-pvipgSrX.js → wt-send-message-popup-D07uZ7eL.js} +3 -3
- package/dist/{wt-slider-BS3SoGht.js → wt-slider-BPzRTeYU.js} +1 -1
- package/dist/{wt-start-page-eN1PEokc.js → wt-start-page-DMXRhA9E.js} +1 -1
- package/dist/{wt-table-DK0LjVC0.js → wt-table-25p4E01H.js} +2 -2
- package/dist/{wt-table-column-select-DFF6z3a3.js → wt-table-column-select-C3ma6jxK.js} +3 -3
- package/dist/{wt-timepicker-FhXfhuFl.js → wt-timepicker-DyM1OQX4.js} +2 -2
- package/dist/{wt-toast-DrD3sFlE.js → wt-toast-KTAx-8zA.js} +2 -2
- package/dist/{wt-tree-ZyoPrNOl.js → wt-tree-DZ9ErOGj.js} +22 -12
- package/dist/{wt-tree-table-D1XoKDVw.js → wt-tree-table-BlZEw4tr.js} +2 -2
- package/dist/{wt-type-extension-value-input-B2fSsZQc.js → wt-type-extension-value-input-Tlnn-d1W.js} +3 -3
- package/dist/{wt-vidstack-player-DwCYvtSh.js → wt-vidstack-player-Dvto6FG2.js} +1600 -1452
- package/package.json +2 -2
- package/src/components/wt-toast/wt-toast.vue +2 -2
- package/types/components/wt-galleria/wt-galleria.vue.d.ts +2 -6
- package/types/components/wt-input-number/wt-input-number.vue.d.ts +2 -2
- package/types/components/wt-input-text/wt-input-text.vue.d.ts +2 -2
- package/types/components/wt-switcher/wt-switcher.vue.d.ts +2 -2
- package/types/components/wt-table/wt-table.vue.d.ts +1 -1
- package/types/components/wt-textarea/wt-textarea.vue.d.ts +1 -9
- package/types/modules/AuditForm/components/audit-form-question-write-wrapper.vue.d.ts +1 -5
- package/types/modules/AuditForm/components/audit-form.vue.d.ts +4 -10
- package/dist/dist-Dz55hlwp.js +0 -1371
- package/dist/usetoast-BECIyaas.js +0 -10
- package/dist/vidstack-D5EzK014-DOe01V3H.js +0 -14
- package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +0 -31
- package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +0 -22
- package/dist/vidstack-krOAtKMi-DN1WZC3p.js +0 -30
|
@@ -52,20 +52,20 @@ m ||= function(e) {
|
|
|
52
52
|
}, v ||= function(e) {
|
|
53
53
|
return new e(...[...arguments].slice(1));
|
|
54
54
|
};
|
|
55
|
-
var oe =
|
|
56
|
-
function
|
|
55
|
+
var oe = k(Array.prototype.forEach), se = k(Array.prototype.lastIndexOf), ce = k(Array.prototype.pop), y = k(Array.prototype.push), le = k(Array.prototype.splice), b = Array.isArray, x = k(String.prototype.toLowerCase), ue = k(String.prototype.toString), de = k(String.prototype.match), S = k(String.prototype.replace), fe = k(String.prototype.indexOf), pe = k(String.prototype.trim), C = k(Number.prototype.toString), w = k(Boolean.prototype.toString), me = typeof BigInt > "u" ? null : k(BigInt.prototype.toString), he = typeof Symbol > "u" ? null : k(Symbol.prototype.toString), T = k(Object.prototype.hasOwnProperty), E = k(Object.prototype.toString), D = k(RegExp.prototype.test), O = A(TypeError);
|
|
56
|
+
function k(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 A(e) {
|
|
64
64
|
return function() {
|
|
65
65
|
return v(e, [...arguments]);
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function j(e, t) {
|
|
69
69
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : x;
|
|
70
70
|
if (re && re(e, null), !b(t)) return e;
|
|
71
71
|
let r = t.length;
|
|
@@ -79,46 +79,46 @@ function A(e, t) {
|
|
|
79
79
|
}
|
|
80
80
|
return e;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
for (let t = 0; t < e.length; t++)
|
|
82
|
+
function ge(e) {
|
|
83
|
+
for (let t = 0; t < e.length; t++) T(e, t) || (e[t] = null);
|
|
84
84
|
return e;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function M(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
|
+
T(e, i) && (b(a) ? t[i] = ge(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = M(a) : t[i] = a);
|
|
92
92
|
}
|
|
93
93
|
return t;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function _e(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 C(e);
|
|
99
|
+
case "boolean": return w(e);
|
|
100
|
+
case "bigint": return me ? me(e) : "0";
|
|
101
|
+
case "symbol": return he ? he(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 = N(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 N(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 k(n.get);
|
|
121
|
+
if (typeof n.value == "function") return k(n.value);
|
|
122
122
|
}
|
|
123
123
|
e = p(e);
|
|
124
124
|
}
|
|
@@ -127,14 +127,14 @@ function M(e, t) {
|
|
|
127
127
|
}
|
|
128
128
|
return n;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function ve(e) {
|
|
131
131
|
try {
|
|
132
|
-
return
|
|
132
|
+
return D(e, ""), !0;
|
|
133
133
|
} catch {
|
|
134
134
|
return !1;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var ye = 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(".")), be = 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(".")), xe = m([
|
|
138
138
|
"feBlend",
|
|
139
139
|
"feColorMatrix",
|
|
140
140
|
"feComponentTransfer",
|
|
@@ -160,7 +160,7 @@ var be = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
160
160
|
"feSpotLight",
|
|
161
161
|
"feTile",
|
|
162
162
|
"feTurbulence"
|
|
163
|
-
]),
|
|
163
|
+
]), Se = m([
|
|
164
164
|
"animate",
|
|
165
165
|
"color-profile",
|
|
166
166
|
"cursor",
|
|
@@ -183,7 +183,7 @@ var be = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
183
183
|
"solidcolor",
|
|
184
184
|
"unknown",
|
|
185
185
|
"use"
|
|
186
|
-
]),
|
|
186
|
+
]), Ce = 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(".")), we = m([
|
|
187
187
|
"maction",
|
|
188
188
|
"maligngroup",
|
|
189
189
|
"malignmark",
|
|
@@ -199,13 +199,13 @@ var be = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
199
199
|
"annotation-xml",
|
|
200
200
|
"mprescripts",
|
|
201
201
|
"none"
|
|
202
|
-
]),
|
|
202
|
+
]), Te = m(["#text"]), Ee = 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(".")), De = 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.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-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(".")), Oe = 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(".")), ke = m([
|
|
203
203
|
"xlink:href",
|
|
204
204
|
"xml:id",
|
|
205
205
|
"xlink:title",
|
|
206
206
|
"xml:space",
|
|
207
207
|
"xmlns:xlink"
|
|
208
|
-
]),
|
|
208
|
+
]), Ae = h(/{{[\w\W]*|^[\w\W]*}}/g), je = h(/<%[\w\W]*|^[\w\W]*%>/g), Me = h(/\${[\w\W]*/g), Ne = h(/^data-[\-\w.\u00B7-\uFFFF]+$/), Pe = h(/^aria-[\-\w]+$/), Fe = h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ie = h(/^(?:\w+script|data):/i), Le = h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Re = h(/^html$/i), ze = h(/^[a-z][.\w]*(-[.\w]+)+$/i), Be = h(/<[/\w!]/g), Ve = h(/<[/\w]/g), He = h(/<\/no(script|embed|frames)/i), Ue = h(/\/>/i), P = {
|
|
209
209
|
element: 1,
|
|
210
210
|
attribute: 2,
|
|
211
211
|
text: 3,
|
|
@@ -218,9 +218,9 @@ var be = 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
|
+
}, We = function() {
|
|
222
222
|
return typeof window > "u" ? null : window;
|
|
223
|
-
},
|
|
223
|
+
}, Ge = 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 be = 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
|
+
}, Ke = function() {
|
|
241
241
|
return {
|
|
242
242
|
afterSanitizeAttributes: [],
|
|
243
243
|
afterSanitizeElements: [],
|
|
@@ -249,53 +249,53 @@ var be = m(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
|
|
|
249
249
|
uponSanitizeElement: [],
|
|
250
250
|
uponSanitizeShadowNode: []
|
|
251
251
|
};
|
|
252
|
-
},
|
|
253
|
-
return
|
|
252
|
+
}, F = function(e, t, n, r) {
|
|
253
|
+
return T(e, t) && b(e[t]) ? j(r.base ? M(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 qe() {
|
|
256
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : We(), t = (e) => qe(e);
|
|
257
|
+
if (t.version = "3.4.11", t.removed = [], !e || !e.document || e.document.nodeType !== P.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 = N(d, "cloneNode"), te = N(d, "remove"), re = N(d, "nextSibling"), f = N(d, "childNodes"), p = N(d, "parentNode"), ie = N(d, "shadowRoot"), ae = N(d, "attributes"), _ = o && o.prototype ? N(o.prototype, "nodeType") : null, v = o && o.prototype ? N(o.prototype, "nodeName") : 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 C, w = "", me, he = !1, E = 0, k = function() {
|
|
268
|
+
if (E > 0) throw O("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
|
+
}, A = function(e) {
|
|
270
|
+
k(), E++;
|
|
271
271
|
try {
|
|
272
|
-
return
|
|
272
|
+
return C.createHTML(e);
|
|
273
273
|
} finally {
|
|
274
|
-
|
|
274
|
+
E--;
|
|
275
275
|
}
|
|
276
|
-
},
|
|
277
|
-
|
|
276
|
+
}, ge = function(e) {
|
|
277
|
+
k(), E++;
|
|
278
278
|
try {
|
|
279
|
-
return
|
|
279
|
+
return C.createScriptURL(e);
|
|
280
280
|
} finally {
|
|
281
|
-
|
|
281
|
+
E--;
|
|
282
282
|
}
|
|
283
|
-
},
|
|
284
|
-
return
|
|
285
|
-
},
|
|
286
|
-
t.isSupported = typeof ne == "function" && typeof p == "function" &&
|
|
287
|
-
let nt = je, rt = Me, it = Ne, at = Pe, ot =
|
|
283
|
+
}, Je = function() {
|
|
284
|
+
return he ||= (me = Ge(u, i), !0), me;
|
|
285
|
+
}, Ye = n, Xe = Ye.implementation, Ze = Ye.createNodeIterator, Qe = Ye.createDocumentFragment, $e = Ye.getElementsByTagName, et = r.importNode, I = Ke();
|
|
286
|
+
t.isSupported = typeof ne == "function" && typeof p == "function" && Xe && Xe.createHTMLDocument !== void 0;
|
|
287
|
+
let tt = Ae, nt = je, rt = Me, it = Ne, at = Pe, ot = Ie, st = Le, ct = ze, lt = Fe, L = null, ut = j({}, [
|
|
288
|
+
...ye,
|
|
288
289
|
...be,
|
|
289
290
|
...xe,
|
|
290
|
-
...
|
|
291
|
-
...
|
|
292
|
-
|
|
293
|
-
|
|
291
|
+
...Ce,
|
|
292
|
+
...Te
|
|
293
|
+
]), R = null, dt = j({}, [
|
|
294
|
+
...Ee,
|
|
294
295
|
...De,
|
|
295
296
|
...Oe,
|
|
296
|
-
...ke
|
|
297
|
-
|
|
298
|
-
]), R = Object.seal(g(null, {
|
|
297
|
+
...ke
|
|
298
|
+
]), z = Object.seal(g(null, {
|
|
299
299
|
tagNameCheck: {
|
|
300
300
|
writable: !0,
|
|
301
301
|
configurable: !1,
|
|
@@ -314,7 +314,7 @@ function Je() {
|
|
|
314
314
|
enumerable: !0,
|
|
315
315
|
value: !1
|
|
316
316
|
}
|
|
317
|
-
})),
|
|
317
|
+
})), ft = null, pt = null, B = Object.seal(g(null, {
|
|
318
318
|
tagCheck: {
|
|
319
319
|
writable: !0,
|
|
320
320
|
configurable: !1,
|
|
@@ -327,14 +327,14 @@ function Je() {
|
|
|
327
327
|
enumerable: !0,
|
|
328
328
|
value: null
|
|
329
329
|
}
|
|
330
|
-
})),
|
|
330
|
+
})), mt = !0, ht = !0, gt = !1, _t = !0, V = !1, vt = !0, H = !1, yt = !1, bt = null, xt = null, St = !1, U = !1, Ct = !1, wt = !1, Tt = !0, Et = !1, Dt = "user-content-", Ot = !0, kt = !1, W = {}, G = null, At = j({}, /* @__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(".")), jt = null, Mt = j({}, [
|
|
331
331
|
"audio",
|
|
332
332
|
"video",
|
|
333
333
|
"img",
|
|
334
334
|
"source",
|
|
335
335
|
"image",
|
|
336
336
|
"track"
|
|
337
|
-
]),
|
|
337
|
+
]), Nt = null, Pt = j({}, [
|
|
338
338
|
"alt",
|
|
339
339
|
"class",
|
|
340
340
|
"for",
|
|
@@ -349,77 +349,77 @@ function Je() {
|
|
|
349
349
|
"value",
|
|
350
350
|
"style",
|
|
351
351
|
"xmlns"
|
|
352
|
-
]),
|
|
353
|
-
Pt,
|
|
352
|
+
]), Ft = "http://www.w3.org/1998/Math/MathML", It = "http://www.w3.org/2000/svg", K = "http://www.w3.org/1999/xhtml", q = K, Lt = !1, Rt = null, zt = j({}, [
|
|
354
353
|
Ft,
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
It,
|
|
355
|
+
K
|
|
356
|
+
], ue), Bt = m([
|
|
357
357
|
"mi",
|
|
358
358
|
"mo",
|
|
359
359
|
"mn",
|
|
360
360
|
"ms",
|
|
361
361
|
"mtext"
|
|
362
|
-
]),
|
|
362
|
+
]), Vt = j({}, Bt), Ht = m(["annotation-xml"]), Ut = j({}, Ht), Wt = j({}, [
|
|
363
363
|
"title",
|
|
364
364
|
"style",
|
|
365
365
|
"font",
|
|
366
366
|
"a",
|
|
367
367
|
"script"
|
|
368
|
-
]),
|
|
368
|
+
]), Gt = null, Kt = ["application/xhtml+xml", "text/html"], J = null, Y = null, qt = n.createElement("form"), Jt = function(e) {
|
|
369
369
|
return e instanceof RegExp || e instanceof Function;
|
|
370
|
-
},
|
|
370
|
+
}, Yt = 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 = M(e), Gt = Kt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = Gt === "application/xhtml+xml" ? ue : x, L = F(e, "ALLOWED_TAGS", ut, { transform: J }), R = F(e, "ALLOWED_ATTR", dt, { transform: J }), Rt = F(e, "ALLOWED_NAMESPACES", zt, { transform: ue }), Nt = F(e, "ADD_URI_SAFE_ATTR", Pt, {
|
|
374
374
|
transform: J,
|
|
375
|
-
base:
|
|
376
|
-
}),
|
|
375
|
+
base: Pt
|
|
376
|
+
}), jt = F(e, "ADD_DATA_URI_TAGS", Mt, {
|
|
377
377
|
transform: J,
|
|
378
|
-
base:
|
|
379
|
-
}),
|
|
380
|
-
let t =
|
|
381
|
-
if (
|
|
378
|
+
base: Mt
|
|
379
|
+
}), G = F(e, "FORBID_CONTENTS", At, { transform: J }), ft = F(e, "FORBID_TAGS", M({}), { transform: J }), pt = F(e, "FORBID_ATTR", M({}), { transform: J }), W = T(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? M(e.USE_PROFILES) : e.USE_PROFILES : !1, mt = e.ALLOW_ARIA_ATTR !== !1, ht = e.ALLOW_DATA_ATTR !== !1, gt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, _t = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, V = e.SAFE_FOR_TEMPLATES || !1, vt = e.SAFE_FOR_XML !== !1, H = e.WHOLE_DOCUMENT || !1, U = e.RETURN_DOM || !1, Ct = e.RETURN_DOM_FRAGMENT || !1, wt = e.RETURN_TRUSTED_TYPE || !1, St = e.FORCE_BODY || !1, Tt = e.SANITIZE_DOM !== !1, Et = e.SANITIZE_NAMED_PROPS || !1, Ot = e.KEEP_CONTENT !== !1, kt = e.IN_PLACE || !1, lt = ve(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Fe, q = typeof e.NAMESPACE == "string" ? e.NAMESPACE : K, Vt = T(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? M(e.MATHML_TEXT_INTEGRATION_POINTS) : j({}, Bt), Ut = T(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? M(e.HTML_INTEGRATION_POINTS) : j({}, Ht);
|
|
380
|
+
let t = T(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? M(e.CUSTOM_ELEMENT_HANDLING) : g(null);
|
|
381
|
+
if (z = g(null), T(t, "tagNameCheck") && Jt(t.tagNameCheck) && (z.tagNameCheck = t.tagNameCheck), T(t, "attributeNameCheck") && Jt(t.attributeNameCheck) && (z.attributeNameCheck = t.attributeNameCheck), T(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (z.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), h(z), V && (ht = !1), Ct && (U = !0), W && (L = j({}, Te), R = g(null), W.html === !0 && (j(L, ye), j(R, Ee)), W.svg === !0 && (j(L, be), j(R, De), j(R, ke)), W.svgFilters === !0 && (j(L, xe), j(R, De), j(R, ke)), W.mathMl === !0 && (j(L, Ce), j(R, Oe), j(R, ke))), B.tagCheck = null, B.attributeCheck = null, T(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? B.tagCheck = e.ADD_TAGS : b(e.ADD_TAGS) && (L === ut && (L = M(L)), j(L, e.ADD_TAGS, J))), T(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? B.attributeCheck = e.ADD_ATTR : b(e.ADD_ATTR) && (R === dt && (R = M(R)), j(R, e.ADD_ATTR, J))), T(e, "ADD_URI_SAFE_ATTR") && b(e.ADD_URI_SAFE_ATTR) && j(Nt, e.ADD_URI_SAFE_ATTR, J), T(e, "FORBID_CONTENTS") && b(e.FORBID_CONTENTS) && (G === At && (G = M(G)), j(G, e.FORBID_CONTENTS, J)), T(e, "ADD_FORBID_CONTENTS") && b(e.ADD_FORBID_CONTENTS) && (G === At && (G = M(G)), j(G, e.ADD_FORBID_CONTENTS, J)), Ot && (L["#text"] = !0), H && j(L, [
|
|
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
|
+
]), L.table && (j(L, ["tbody"]), delete ft.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
386
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw O("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
387
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw O("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
388
|
+
let t = C;
|
|
389
|
+
C = e.TRUSTED_TYPES_POLICY;
|
|
390
390
|
try {
|
|
391
|
-
|
|
391
|
+
w = A("");
|
|
392
392
|
} catch (e) {
|
|
393
|
-
throw
|
|
393
|
+
throw C = t, e;
|
|
394
394
|
}
|
|
395
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (
|
|
396
|
-
|
|
397
|
-
},
|
|
395
|
+
} else e.TRUSTED_TYPES_POLICY === null ? (C = void 0, w = "") : (C === void 0 && (C = Je()), C && typeof w == "string" && (w = A("")));
|
|
396
|
+
m && m(e), Y = e;
|
|
397
|
+
}, Xt = j({}, [
|
|
398
|
+
...be,
|
|
398
399
|
...xe,
|
|
399
|
-
...Se
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
}, $t = function(e) {
|
|
400
|
+
...Se
|
|
401
|
+
]), Zt = j({}, [...Ce, ...we]), Qt = function(e, t, n) {
|
|
402
|
+
return t.namespaceURI === K ? e === "svg" : t.namespaceURI === Ft ? e === "svg" && (n === "annotation-xml" || Vt[n]) : !!Xt[e];
|
|
403
|
+
}, $t = function(e, t, n) {
|
|
404
|
+
return t.namespaceURI === K ? e === "math" : t.namespaceURI === It ? e === "math" && Ut[n] : !!Zt[e];
|
|
405
|
+
}, en = function(e, t, n) {
|
|
406
|
+
return t.namespaceURI === It && !Ut[n] || t.namespaceURI === Ft && !Vt[n] ? !1 : !Zt[e] && (Wt[e] || !Xt[e]);
|
|
407
|
+
}, tn = function(e) {
|
|
408
408
|
let t = p(e);
|
|
409
409
|
(!t || !t.tagName) && (t = {
|
|
410
|
-
namespaceURI:
|
|
410
|
+
namespaceURI: q,
|
|
411
411
|
tagName: "template"
|
|
412
412
|
});
|
|
413
413
|
let n = x(e.tagName), r = x(t.tagName);
|
|
414
|
-
return
|
|
414
|
+
return Rt[e.namespaceURI] ? e.namespaceURI === It ? Qt(n, t, r) : e.namespaceURI === Ft ? $t(n, t, r) : e.namespaceURI === K ? en(n, t, r) : !!(Gt === "application/xhtml+xml" && Rt[e.namespaceURI]) : !1;
|
|
415
415
|
}, X = function(e) {
|
|
416
416
|
y(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 O("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
|
+
}, nn = function(e) {
|
|
423
423
|
let t = f(e);
|
|
424
424
|
if (t) {
|
|
425
425
|
let e = [];
|
|
@@ -450,71 +450,71 @@ function Je() {
|
|
|
450
450
|
from: n
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
|
-
if (n.removeAttribute(e), e === "is") if (
|
|
453
|
+
if (n.removeAttribute(e), e === "is") if (U || Ct) try {
|
|
454
454
|
X(n);
|
|
455
455
|
} catch {}
|
|
456
456
|
else try {
|
|
457
457
|
n.setAttribute(e, "");
|
|
458
458
|
} catch {}
|
|
459
|
-
},
|
|
459
|
+
}, rn = function(e) {
|
|
460
460
|
let t = ae(e);
|
|
461
461
|
if (t) for (let n = t.length - 1; n >= 0; --n) {
|
|
462
462
|
let r = t[n], i = r && r.name;
|
|
463
|
-
if (!(typeof i != "string" ||
|
|
463
|
+
if (!(typeof i != "string" || R[J(i)])) try {
|
|
464
464
|
e.removeAttribute(i);
|
|
465
465
|
} catch {}
|
|
466
466
|
}
|
|
467
|
-
},
|
|
467
|
+
}, an = function(e) {
|
|
468
468
|
let t = [e];
|
|
469
469
|
for (; t.length > 0;) {
|
|
470
470
|
let e = t.pop();
|
|
471
|
-
(_ ? _(e) : e.nodeType) ===
|
|
471
|
+
(_ ? _(e) : e.nodeType) === P.element && rn(e);
|
|
472
472
|
let n = f(e);
|
|
473
473
|
if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
|
|
474
474
|
}
|
|
475
|
-
},
|
|
475
|
+
}, on = function(e) {
|
|
476
476
|
let t = null, r = null;
|
|
477
|
-
if (
|
|
477
|
+
if (St) e = "<remove></remove>" + e;
|
|
478
478
|
else {
|
|
479
479
|
let t = de(e, /^[\r\n\t ]+/);
|
|
480
480
|
r = t && t[0];
|
|
481
481
|
}
|
|
482
|
-
|
|
483
|
-
let i =
|
|
484
|
-
if (
|
|
485
|
-
t = new l().parseFromString(i,
|
|
482
|
+
Gt === "application/xhtml+xml" && q === K && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
483
|
+
let i = C ? A(e) : e;
|
|
484
|
+
if (q === K) try {
|
|
485
|
+
t = new l().parseFromString(i, Gt);
|
|
486
486
|
} catch {}
|
|
487
487
|
if (!t || !t.documentElement) {
|
|
488
|
-
t =
|
|
488
|
+
t = Xe.createDocument(q, "template", null);
|
|
489
489
|
try {
|
|
490
|
-
t.documentElement.innerHTML =
|
|
490
|
+
t.documentElement.innerHTML = Lt ? w : i;
|
|
491
491
|
} catch {}
|
|
492
492
|
}
|
|
493
493
|
let a = t.body || t.documentElement;
|
|
494
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null),
|
|
495
|
-
}, an = function(e) {
|
|
496
|
-
return Qe.call(e.ownerDocument || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
497
|
-
}, on = function(e) {
|
|
498
|
-
return e = fe(e, nt, " "), e = fe(e, rt, " "), e = fe(e, it, " "), e;
|
|
494
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), q === K ? $e.call(t, H ? "html" : "body")[0] : H ? t.documentElement : a;
|
|
499
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;
|
|
499
|
+
}, ln = function(e) {
|
|
500
500
|
e.normalize();
|
|
501
|
-
let t =
|
|
502
|
-
for (; n;) n.data =
|
|
501
|
+
let t = Ze.call(e.ownerDocument || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
|
|
502
|
+
for (; n;) n.data = cn(n.data), n = t.nextNode();
|
|
503
503
|
let r = e.querySelectorAll?.call(e, "template");
|
|
504
504
|
r && oe(r, (e) => {
|
|
505
|
-
Q(e.content) &&
|
|
505
|
+
Q(e.content) && ln(e.content);
|
|
506
506
|
});
|
|
507
|
-
},
|
|
507
|
+
}, un = function(e) {
|
|
508
508
|
let t = v ? v(e) : null;
|
|
509
509
|
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
510
|
}, Q = function(e) {
|
|
511
511
|
if (!_ || typeof e != "object" || !e) return !1;
|
|
512
512
|
try {
|
|
513
|
-
return _(e) ===
|
|
513
|
+
return _(e) === P.documentFragment;
|
|
514
514
|
} catch {
|
|
515
515
|
return !1;
|
|
516
516
|
}
|
|
517
|
-
},
|
|
517
|
+
}, dn = function(e) {
|
|
518
518
|
if (!_ || typeof e != "object" || !e) return !1;
|
|
519
519
|
try {
|
|
520
520
|
return typeof _(e) == "number";
|
|
@@ -527,45 +527,45 @@ function Je() {
|
|
|
527
527
|
e.call(t, n, r, Y);
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
|
-
let
|
|
531
|
-
return !!(
|
|
532
|
-
},
|
|
533
|
-
if (!
|
|
534
|
-
if (
|
|
530
|
+
let fn = function(e, t) {
|
|
531
|
+
return !!(vt && e.hasChildNodes() && !dn(e.firstElementChild) && D(Be, e.textContent) && D(Be, e.innerHTML) || vt && e.namespaceURI === K && t === "style" && dn(e.firstElementChild) || e.nodeType === P.processingInstruction || vt && e.nodeType === P.comment && D(Ve, e.data));
|
|
532
|
+
}, pn = function(e, t) {
|
|
533
|
+
if (!ft[t] && _n(t) && (z.tagNameCheck instanceof RegExp && D(z.tagNameCheck, t) || z.tagNameCheck instanceof Function && z.tagNameCheck(t))) return !1;
|
|
534
|
+
if (Ot && !G[t]) {
|
|
535
535
|
let t = p(e), n = f(e);
|
|
536
536
|
if (n && t) {
|
|
537
537
|
let r = n.length;
|
|
538
538
|
for (let i = r - 1; i >= 0; --i) {
|
|
539
|
-
let r =
|
|
539
|
+
let r = kt ? n[i] : ee(n[i], !0);
|
|
540
540
|
t.insertBefore(r, re(e));
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
return X(e), !0;
|
|
545
|
-
},
|
|
546
|
-
if ($(
|
|
545
|
+
}, mn = function(e) {
|
|
546
|
+
if ($(I.beforeSanitizeElements, e, null), un(e)) return X(e), !0;
|
|
547
547
|
let n = J(v ? v(e) : e.nodeName);
|
|
548
|
-
if ($(
|
|
548
|
+
if ($(I.uponSanitizeElement, e, {
|
|
549
549
|
tagName: n,
|
|
550
|
-
allowedTags:
|
|
551
|
-
}),
|
|
552
|
-
if (
|
|
553
|
-
if ((_ ? _(e) : e.nodeType) ===
|
|
554
|
-
if (
|
|
555
|
-
let n =
|
|
550
|
+
allowedTags: L
|
|
551
|
+
}), fn(e, n)) return X(e), !0;
|
|
552
|
+
if (ft[n] || !(B.tagCheck instanceof Function && B.tagCheck(n)) && !L[n]) return pn(e, n);
|
|
553
|
+
if ((_ ? _(e) : e.nodeType) === P.element && !tn(e) || (n === "noscript" || n === "noembed" || n === "noframes") && D(He, e.innerHTML)) return X(e), !0;
|
|
554
|
+
if (V && e.nodeType === P.text) {
|
|
555
|
+
let n = cn(e.textContent);
|
|
556
556
|
e.textContent !== n && (y(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
557
557
|
}
|
|
558
|
-
return $(
|
|
559
|
-
},
|
|
560
|
-
if (
|
|
561
|
-
let i =
|
|
562
|
-
if (!(
|
|
558
|
+
return $(I.afterSanitizeElements, e, null), !1;
|
|
559
|
+
}, hn = function(e, t, r) {
|
|
560
|
+
if (pt[t] || Tt && (t === "id" || t === "name") && (r in n || r in qt)) return !1;
|
|
561
|
+
let i = R[t] || B.attributeCheck instanceof Function && B.attributeCheck(t, e);
|
|
562
|
+
if (!(ht && D(it, t)) && !(mt && D(at, t))) {
|
|
563
563
|
if (!i) {
|
|
564
|
-
if (!(
|
|
565
|
-
} else if (!
|
|
564
|
+
if (!(_n(e) && (z.tagNameCheck instanceof RegExp && D(z.tagNameCheck, e) || z.tagNameCheck instanceof Function && z.tagNameCheck(e)) && (z.attributeNameCheck instanceof RegExp && D(z.attributeNameCheck, t) || z.attributeNameCheck instanceof Function && z.attributeNameCheck(t, e)) || t === "is" && z.allowCustomizedBuiltInElements && (z.tagNameCheck instanceof RegExp && D(z.tagNameCheck, r) || z.tagNameCheck instanceof Function && z.tagNameCheck(r)))) return !1;
|
|
565
|
+
} else if (!Nt[t] && !D(lt, S(r, st, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && fe(r, "data:") === 0 && jt[e]) && !(gt && !D(ot, S(r, st, ""))) && r) return !1;
|
|
566
566
|
}
|
|
567
567
|
return !0;
|
|
568
|
-
},
|
|
568
|
+
}, gn = j({}, [
|
|
569
569
|
"annotation-xml",
|
|
570
570
|
"color-profile",
|
|
571
571
|
"font-face",
|
|
@@ -574,34 +574,34 @@ function Je() {
|
|
|
574
574
|
"font-face-src",
|
|
575
575
|
"font-face-uri",
|
|
576
576
|
"missing-glyph"
|
|
577
|
-
]),
|
|
578
|
-
return !
|
|
579
|
-
},
|
|
580
|
-
if (
|
|
581
|
-
case "TrustedHTML": return
|
|
582
|
-
case "TrustedScriptURL": return
|
|
577
|
+
]), _n = function(e) {
|
|
578
|
+
return !gn[x(e)] && D(ct, e);
|
|
579
|
+
}, vn = function(e, t, n, r) {
|
|
580
|
+
if (C && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
581
|
+
case "TrustedHTML": return A(r);
|
|
582
|
+
case "TrustedScriptURL": return ge(r);
|
|
583
583
|
}
|
|
584
584
|
return r;
|
|
585
|
-
},
|
|
585
|
+
}, yn = function(e, n, r, i) {
|
|
586
586
|
try {
|
|
587
|
-
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i),
|
|
587
|
+
r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), un(e) ? X(e) : ce(t.removed);
|
|
588
588
|
} catch {
|
|
589
589
|
Z(n, e);
|
|
590
590
|
}
|
|
591
|
-
},
|
|
592
|
-
$(
|
|
591
|
+
}, bn = function(e) {
|
|
592
|
+
$(I.beforeSanitizeAttributes, e, null);
|
|
593
593
|
let t = e.attributes;
|
|
594
|
-
if (!t ||
|
|
594
|
+
if (!t || un(e)) return;
|
|
595
595
|
let n = {
|
|
596
596
|
attrName: "",
|
|
597
597
|
attrValue: "",
|
|
598
598
|
keepAttr: !0,
|
|
599
|
-
allowedAttributes:
|
|
599
|
+
allowedAttributes: R,
|
|
600
600
|
forceKeepAttr: void 0
|
|
601
601
|
}, r = t.length, i = J(e.nodeName);
|
|
602
602
|
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, $(
|
|
603
|
+
let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = J(o), u = c, d = o === "value" ? u : pe(u);
|
|
604
|
+
if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, $(I.uponSanitizeAttribute, e, n), d = n.attrValue, Et && (l === "id" || l === "name") && fe(d, Dt) !== 0 && (Z(o, e), d = Dt + d), vt && D(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
|
|
605
605
|
Z(o, e);
|
|
606
606
|
continue;
|
|
607
607
|
}
|
|
@@ -614,26 +614,26 @@ function Je() {
|
|
|
614
614
|
Z(o, e);
|
|
615
615
|
continue;
|
|
616
616
|
}
|
|
617
|
-
if (!
|
|
617
|
+
if (!_t && D(Ue, d)) {
|
|
618
618
|
Z(o, e);
|
|
619
619
|
continue;
|
|
620
620
|
}
|
|
621
|
-
if (
|
|
621
|
+
if (V && (d = cn(d)), !hn(i, l, d)) {
|
|
622
622
|
Z(o, e);
|
|
623
623
|
continue;
|
|
624
624
|
}
|
|
625
|
-
d =
|
|
625
|
+
d = vn(i, l, s, d), d !== u && yn(e, o, s, d);
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
|
-
$(
|
|
629
|
-
},
|
|
630
|
-
let t = null, n =
|
|
631
|
-
for ($(
|
|
628
|
+
$(I.afterSanitizeAttributes, e, null);
|
|
629
|
+
}, xn = function(e) {
|
|
630
|
+
let t = null, n = sn(e);
|
|
631
|
+
for ($(I.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(I.uponSanitizeShadowNode, t, null), mn(t), bn(t), Q(t.content) && xn(t.content), (_ ? _(t) : t.nodeType) === P.element) {
|
|
632
632
|
let e = ie(t);
|
|
633
|
-
Q(e) && (
|
|
633
|
+
Q(e) && (Sn(e), xn(e));
|
|
634
634
|
}
|
|
635
|
-
$(
|
|
636
|
-
},
|
|
635
|
+
$(I.afterSanitizeShadowDOM, e, null);
|
|
636
|
+
}, Sn = function(e) {
|
|
637
637
|
let t = [{
|
|
638
638
|
node: e,
|
|
639
639
|
shadow: null
|
|
@@ -641,10 +641,10 @@ function Je() {
|
|
|
641
641
|
for (; t.length > 0;) {
|
|
642
642
|
let e = t.pop();
|
|
643
643
|
if (e.shadow) {
|
|
644
|
-
|
|
644
|
+
xn(e.shadow);
|
|
645
645
|
continue;
|
|
646
646
|
}
|
|
647
|
-
let n = e.node, r = (_ ? _(n) : n.nodeType) ===
|
|
647
|
+
let n = e.node, r = (_ ? _(n) : n.nodeType) === P.element, i = f(n);
|
|
648
648
|
if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
|
|
649
649
|
node: i[e],
|
|
650
650
|
shadow: null
|
|
@@ -673,65 +673,67 @@ function Je() {
|
|
|
673
673
|
};
|
|
674
674
|
return t.sanitize = function(e) {
|
|
675
675
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
676
|
-
if (
|
|
676
|
+
if (Lt = !e, Lt && (e = "<!-->"), typeof e != "string" && !dn(e) && (e = _e(e), typeof e != "string")) throw O("dirty is not a string, aborting");
|
|
677
677
|
if (!t.isSupported) return e;
|
|
678
|
-
bt
|
|
679
|
-
let c =
|
|
678
|
+
yt ? (L = bt, R = xt) : Yt(n), (I.uponSanitizeElement.length > 0 || I.uponSanitizeAttribute.length > 0) && (L = M(L)), I.uponSanitizeAttribute.length > 0 && (R = M(R)), t.removed = [];
|
|
679
|
+
let c = kt && typeof e != "string" && dn(e);
|
|
680
680
|
if (c) {
|
|
681
681
|
let t = v ? v(e) : e.nodeName;
|
|
682
682
|
if (typeof t == "string") {
|
|
683
683
|
let e = J(t);
|
|
684
|
-
if (!
|
|
684
|
+
if (!L[e] || ft[e]) throw O("root node is forbidden and cannot be sanitized in-place");
|
|
685
685
|
}
|
|
686
|
-
if (
|
|
686
|
+
if (un(e)) throw O("root node is clobbered and cannot be sanitized in-place");
|
|
687
687
|
try {
|
|
688
|
-
|
|
688
|
+
Sn(e);
|
|
689
689
|
} catch (t) {
|
|
690
|
-
throw
|
|
690
|
+
throw nn(e), t;
|
|
691
691
|
}
|
|
692
|
-
} else if (
|
|
692
|
+
} else if (dn(e)) i = on("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === P.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Sn(a);
|
|
693
693
|
else {
|
|
694
|
-
if (!
|
|
695
|
-
if (i =
|
|
694
|
+
if (!U && !V && !H && e.indexOf("<") === -1) return C && wt ? A(e) : e;
|
|
695
|
+
if (i = on(e), !i) return U ? null : wt ? w : "";
|
|
696
696
|
}
|
|
697
|
-
i &&
|
|
698
|
-
let l =
|
|
697
|
+
i && St && X(i.firstChild);
|
|
698
|
+
let l = sn(c ? e : i);
|
|
699
699
|
try {
|
|
700
|
-
for (; o = l.nextNode();)
|
|
700
|
+
for (; o = l.nextNode();) mn(o), bn(o), Q(o.content) && xn(o.content);
|
|
701
701
|
} catch (t) {
|
|
702
|
-
throw c &&
|
|
702
|
+
throw c && nn(e), t;
|
|
703
703
|
}
|
|
704
704
|
if (c) return oe(t.removed, (e) => {
|
|
705
|
-
e.element &&
|
|
706
|
-
}),
|
|
707
|
-
if (
|
|
708
|
-
if (
|
|
705
|
+
e.element && an(e.element);
|
|
706
|
+
}), V && ln(e), e;
|
|
707
|
+
if (U) {
|
|
708
|
+
if (V && ln(i), Ct) for (s = Qe.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
709
709
|
else s = i;
|
|
710
|
-
return (
|
|
710
|
+
return (R.shadowroot || R.shadowrootmode) && (s = et.call(r, s, !0)), s;
|
|
711
711
|
}
|
|
712
|
-
let u =
|
|
713
|
-
return
|
|
712
|
+
let u = H ? i.outerHTML : i.innerHTML;
|
|
713
|
+
return H && L["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && D(Re, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), V && (u = cn(u)), C && wt ? A(u) : u;
|
|
714
714
|
}, t.setConfig = function() {
|
|
715
|
-
|
|
715
|
+
Yt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), yt = !0, bt = L, xt = R;
|
|
716
716
|
}, t.clearConfig = function() {
|
|
717
|
-
Y = null,
|
|
717
|
+
Y = null, yt = !1, bt = null, xt = null, C = me, w = "";
|
|
718
718
|
}, t.isValidAttribute = function(e, t, n) {
|
|
719
|
-
return Y ||
|
|
719
|
+
return Y || Yt({}), hn(J(e), J(t), n);
|
|
720
720
|
}, t.addHook = function(e, t) {
|
|
721
|
-
typeof t == "function" && y(
|
|
721
|
+
typeof t == "function" && T(I, e) && y(I[e], t);
|
|
722
722
|
}, t.removeHook = function(e, t) {
|
|
723
|
-
if (
|
|
724
|
-
|
|
725
|
-
|
|
723
|
+
if (T(I, e)) {
|
|
724
|
+
if (t !== void 0) {
|
|
725
|
+
let n = se(I[e], t);
|
|
726
|
+
return n === -1 ? void 0 : le(I[e], n, 1)[0];
|
|
727
|
+
}
|
|
728
|
+
return ce(I[e]);
|
|
726
729
|
}
|
|
727
|
-
return ce(F[e]);
|
|
728
730
|
}, t.removeHooks = function(e) {
|
|
729
|
-
|
|
731
|
+
T(I, e) && (I[e] = []);
|
|
730
732
|
}, t.removeAllHooks = function() {
|
|
731
|
-
|
|
733
|
+
I = Ke();
|
|
732
734
|
}, t;
|
|
733
735
|
}
|
|
734
|
-
var
|
|
736
|
+
var Je = qe(), Ye = e({
|
|
735
737
|
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",
|
|
736
738
|
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",
|
|
737
739
|
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",
|
|
@@ -978,26 +980,26 @@ var Ye = Je(), Xe = e({
|
|
|
978
980
|
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",
|
|
979
981
|
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",
|
|
980
982
|
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"
|
|
981
|
-
}),
|
|
982
|
-
|
|
983
|
+
}), Xe = /* @__PURE__ */ new Map();
|
|
984
|
+
$e({ icons: Object.entries(Ye).map(([e, t]) => ({
|
|
983
985
|
iconName: e,
|
|
984
986
|
svg: t
|
|
985
987
|
})) });
|
|
986
|
-
function
|
|
987
|
-
return
|
|
988
|
+
function Ze(e) {
|
|
989
|
+
return Xe.get(e);
|
|
988
990
|
}
|
|
989
|
-
function
|
|
990
|
-
let n =
|
|
991
|
-
|
|
991
|
+
function Qe({ iconName: e, svg: t }) {
|
|
992
|
+
let n = Je.sanitize(t);
|
|
993
|
+
Xe.set(e, n);
|
|
992
994
|
}
|
|
993
|
-
function
|
|
995
|
+
function $e({ icons: e }) {
|
|
994
996
|
e.forEach((e) => {
|
|
995
|
-
|
|
997
|
+
Qe(e);
|
|
996
998
|
});
|
|
997
999
|
}
|
|
998
1000
|
//#endregion
|
|
999
1001
|
//#region src/components/wt-icon/wt-icon.vue?vue&type=script&setup=true&lang.ts
|
|
1000
|
-
var
|
|
1002
|
+
var et = ["innerHTML"], I = /* @__PURE__ */ a({
|
|
1001
1003
|
__name: "wt-icon",
|
|
1002
1004
|
props: {
|
|
1003
1005
|
icon: {},
|
|
@@ -1013,7 +1015,7 @@ var tt = ["innerHTML"], F = /* @__PURE__ */ a({
|
|
|
1013
1015
|
setup(e, { emit: t }) {
|
|
1014
1016
|
let n = e, a = t, c = r(() => {
|
|
1015
1017
|
let e = n.iconPrefix ? `${n.iconPrefix}-${n.icon}` : n.icon;
|
|
1016
|
-
return
|
|
1018
|
+
return Ze(e) || e;
|
|
1017
1019
|
});
|
|
1018
1020
|
return (t, n) => (s(), i("span", {
|
|
1019
1021
|
class: o([
|
|
@@ -1024,8 +1026,8 @@ var tt = ["innerHTML"], F = /* @__PURE__ */ a({
|
|
|
1024
1026
|
]),
|
|
1025
1027
|
onClick: n[0] ||= (e) => a("click"),
|
|
1026
1028
|
innerHTML: c.value
|
|
1027
|
-
}, null, 10,
|
|
1029
|
+
}, null, 10, et));
|
|
1028
1030
|
}
|
|
1029
1031
|
});
|
|
1030
1032
|
//#endregion
|
|
1031
|
-
export {
|
|
1033
|
+
export { $e as n, I as t };
|