1525 lines
40 KiB
JavaScript
1525 lines
40 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 1da3af88666fe4c8.e799ee1631.js
|
|
* Module id: 401983
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
let {
|
|
entries: t,
|
|
setPrototypeOf: r,
|
|
isFrozen: o,
|
|
getPrototypeOf: n,
|
|
getOwnPropertyDescriptor: i,
|
|
} = Object,
|
|
{ freeze: a, seal: l, create: s } = Object,
|
|
{ apply: c, construct: u } = "u" > typeof Reflect && Reflect;
|
|
a ||
|
|
(a = function (e) {
|
|
return e;
|
|
}),
|
|
l ||
|
|
(l = function (e) {
|
|
return e;
|
|
}),
|
|
c ||
|
|
(c = function (e, t) {
|
|
for (
|
|
var r = arguments.length, o = Array(r > 2 ? r - 2 : 0), n = 2;
|
|
n < r;
|
|
n++
|
|
)
|
|
o[n - 2] = arguments[n];
|
|
return e.apply(t, o);
|
|
}),
|
|
u ||
|
|
(u = function (e) {
|
|
for (
|
|
var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), o = 1;
|
|
o < t;
|
|
o++
|
|
)
|
|
r[o - 1] = arguments[o];
|
|
return new e(...r);
|
|
});
|
|
let d = A(Array.prototype.forEach),
|
|
m = A(Array.prototype.lastIndexOf),
|
|
f = A(Array.prototype.pop),
|
|
p = A(Array.prototype.push),
|
|
g = A(Array.prototype.splice),
|
|
_ = A(String.prototype.toLowerCase),
|
|
h = A(String.prototype.toString),
|
|
v = A(String.prototype.match),
|
|
y = A(String.prototype.replace),
|
|
b = A(String.prototype.indexOf),
|
|
T = A(String.prototype.trim),
|
|
S = A(Object.prototype.hasOwnProperty),
|
|
x = A(RegExp.prototype.test),
|
|
E =
|
|
((X = TypeError),
|
|
function () {
|
|
for (var e = arguments.length, t = Array(e), r = 0; r < e; r++)
|
|
t[r] = arguments[r];
|
|
return u(X, t);
|
|
});
|
|
function A(e) {
|
|
return function (t) {
|
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
for (
|
|
var r = arguments.length, o = Array(r > 1 ? r - 1 : 0), n = 1;
|
|
n < r;
|
|
n++
|
|
)
|
|
o[n - 1] = arguments[n];
|
|
return c(e, t, o);
|
|
};
|
|
}
|
|
function w(e, t) {
|
|
let n =
|
|
arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : _;
|
|
r && r(e, null);
|
|
let i = t.length;
|
|
for (; i--; ) {
|
|
let r = t[i];
|
|
if ("string" == typeof r) {
|
|
let e = n(r);
|
|
e !== r && (o(t) || (t[i] = e), (r = e));
|
|
}
|
|
e[r] = !0;
|
|
}
|
|
return e;
|
|
}
|
|
function N(e) {
|
|
let r = s(null);
|
|
for (let [o, n] of t(e))
|
|
S(e, o) &&
|
|
(Array.isArray(n)
|
|
? (r[o] = (function (e) {
|
|
for (let t = 0; t < e.length; t++) S(e, t) || (e[t] = null);
|
|
return e;
|
|
})(n))
|
|
: n && "object" == typeof n && n.constructor === Object
|
|
? (r[o] = N(n))
|
|
: (r[o] = n));
|
|
return r;
|
|
}
|
|
function C(e, t) {
|
|
for (; null !== e; ) {
|
|
let r = i(e, t);
|
|
if (r) {
|
|
if (r.get) return A(r.get);
|
|
if ("function" == typeof r.value) return A(r.value);
|
|
}
|
|
e = n(e);
|
|
}
|
|
return function () {
|
|
return null;
|
|
};
|
|
}
|
|
let k = a([
|
|
"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",
|
|
]),
|
|
D = a([
|
|
"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",
|
|
]),
|
|
O = a([
|
|
"feBlend",
|
|
"feColorMatrix",
|
|
"feComponentTransfer",
|
|
"feComposite",
|
|
"feConvolveMatrix",
|
|
"feDiffuseLighting",
|
|
"feDisplacementMap",
|
|
"feDistantLight",
|
|
"feDropShadow",
|
|
"feFlood",
|
|
"feFuncA",
|
|
"feFuncB",
|
|
"feFuncG",
|
|
"feFuncR",
|
|
"feGaussianBlur",
|
|
"feImage",
|
|
"feMerge",
|
|
"feMergeNode",
|
|
"feMorphology",
|
|
"feOffset",
|
|
"fePointLight",
|
|
"feSpecularLighting",
|
|
"feSpotLight",
|
|
"feTile",
|
|
"feTurbulence",
|
|
]),
|
|
R = a([
|
|
"animate",
|
|
"color-profile",
|
|
"cursor",
|
|
"discard",
|
|
"font-face",
|
|
"font-face-format",
|
|
"font-face-name",
|
|
"font-face-src",
|
|
"font-face-uri",
|
|
"foreignobject",
|
|
"hatch",
|
|
"hatchpath",
|
|
"mesh",
|
|
"meshgradient",
|
|
"meshpatch",
|
|
"meshrow",
|
|
"missing-glyph",
|
|
"script",
|
|
"set",
|
|
"solidcolor",
|
|
"unknown",
|
|
"use",
|
|
]),
|
|
I = a([
|
|
"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",
|
|
]),
|
|
L = a([
|
|
"maction",
|
|
"maligngroup",
|
|
"malignmark",
|
|
"mlongdiv",
|
|
"mscarries",
|
|
"mscarry",
|
|
"msgroup",
|
|
"mstack",
|
|
"msline",
|
|
"msrow",
|
|
"semantics",
|
|
"annotation",
|
|
"annotation-xml",
|
|
"mprescripts",
|
|
"none",
|
|
]),
|
|
M = a(["#text"]),
|
|
P = a([
|
|
"accept",
|
|
"action",
|
|
"align",
|
|
"alt",
|
|
"autocapitalize",
|
|
"autocomplete",
|
|
"autopictureinpicture",
|
|
"autoplay",
|
|
"background",
|
|
"bgcolor",
|
|
"border",
|
|
"capture",
|
|
"cellpadding",
|
|
"cellspacing",
|
|
"checked",
|
|
"cite",
|
|
"class",
|
|
"clear",
|
|
"color",
|
|
"cols",
|
|
"colspan",
|
|
"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",
|
|
"slot",
|
|
]),
|
|
U = a([
|
|
"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",
|
|
]),
|
|
j = a([
|
|
"accent",
|
|
"accentunder",
|
|
"align",
|
|
"bevelled",
|
|
"close",
|
|
"columnsalign",
|
|
"columnlines",
|
|
"columnspan",
|
|
"denomalign",
|
|
"depth",
|
|
"dir",
|
|
"display",
|
|
"displaystyle",
|
|
"encoding",
|
|
"fence",
|
|
"frame",
|
|
"height",
|
|
"href",
|
|
"id",
|
|
"largeop",
|
|
"length",
|
|
"linethickness",
|
|
"lspace",
|
|
"lquote",
|
|
"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",
|
|
]),
|
|
z = a([
|
|
"xlink:href",
|
|
"xml:id",
|
|
"xlink:title",
|
|
"xml:space",
|
|
"xmlns:xlink",
|
|
]),
|
|
F = l(/\{\{[\w\W]*|[\w\W]*\}\}/gm),
|
|
B = l(/<%[\w\W]*|[\w\W]*%>/gm),
|
|
H = l(/\$\{[\w\W]*/gm),
|
|
W = l(/^data-[\-\w.\u00B7-\uFFFF]+$/),
|
|
G = l(/^aria-[\-\w]+$/),
|
|
$ = l(
|
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,
|
|
),
|
|
Y = l(/^(?:\w+script|data):/i),
|
|
q = l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),
|
|
V = l(/^html$/i);
|
|
var X,
|
|
Z = Object.freeze({
|
|
__proto__: null,
|
|
ARIA_ATTR: G,
|
|
ATTR_WHITESPACE: q,
|
|
CUSTOM_ELEMENT: l(/^[a-z][.\w]*(-[.\w]+)+$/i),
|
|
DATA_ATTR: W,
|
|
DOCTYPE_NAME: V,
|
|
ERB_EXPR: B,
|
|
IS_ALLOWED_URI: $,
|
|
IS_SCRIPT_OR_DATA: Y,
|
|
MUSTACHE_EXPR: F,
|
|
TMPLIT_EXPR: H,
|
|
});
|
|
let K = function (e, t) {
|
|
if ("object" != typeof e || "function" != typeof e.createPolicy)
|
|
return null;
|
|
let r = null,
|
|
o = "data-tt-policy-suffix";
|
|
t && t.hasAttribute(o) && (r = t.getAttribute(o));
|
|
let n = "dompurify" + (r ? "#" + r : "");
|
|
try {
|
|
return e.createPolicy(n, {
|
|
createHTML: (e) => e,
|
|
createScriptURL: (e) => e,
|
|
});
|
|
} catch (e) {
|
|
return (
|
|
console.warn("TrustedTypes policy " + n + " could not be created."),
|
|
null
|
|
);
|
|
}
|
|
},
|
|
Q = function () {
|
|
return {
|
|
afterSanitizeAttributes: [],
|
|
afterSanitizeElements: [],
|
|
afterSanitizeShadowDOM: [],
|
|
beforeSanitizeAttributes: [],
|
|
beforeSanitizeElements: [],
|
|
beforeSanitizeShadowDOM: [],
|
|
uponSanitizeAttribute: [],
|
|
uponSanitizeElement: [],
|
|
uponSanitizeShadowNode: [],
|
|
};
|
|
};
|
|
var J = (function e() {
|
|
let r,
|
|
o =
|
|
arguments.length > 0 && void 0 !== arguments[0]
|
|
? arguments[0]
|
|
: "u" < typeof window
|
|
? null
|
|
: window,
|
|
n = (t) => e(t);
|
|
if (
|
|
((n.version = "3.3.1"),
|
|
(n.removed = []),
|
|
!o || !o.document || 9 !== o.document.nodeType || !o.Element)
|
|
)
|
|
return (n.isSupported = !1), n;
|
|
let { document: i } = o,
|
|
l = i,
|
|
c = l.currentScript,
|
|
{
|
|
DocumentFragment: u,
|
|
HTMLTemplateElement: A,
|
|
Node: F,
|
|
Element: B,
|
|
NodeFilter: H,
|
|
NamedNodeMap: W = o.NamedNodeMap || o.MozNamedAttrMap,
|
|
HTMLFormElement: G,
|
|
DOMParser: Y,
|
|
trustedTypes: q,
|
|
} = o,
|
|
X = B.prototype,
|
|
J = C(X, "cloneNode"),
|
|
ee = C(X, "remove"),
|
|
et = C(X, "nextSibling"),
|
|
er = C(X, "childNodes"),
|
|
eo = C(X, "parentNode");
|
|
if ("function" == typeof A) {
|
|
let e = i.createElement("template");
|
|
e.content && e.content.ownerDocument && (i = e.content.ownerDocument);
|
|
}
|
|
let en = "",
|
|
{
|
|
implementation: ei,
|
|
createNodeIterator: ea,
|
|
createDocumentFragment: el,
|
|
getElementsByTagName: es,
|
|
} = i,
|
|
{ importNode: ec } = l,
|
|
eu = Q();
|
|
n.isSupported =
|
|
"function" == typeof t &&
|
|
"function" == typeof eo &&
|
|
ei &&
|
|
void 0 !== ei.createHTMLDocument;
|
|
let {
|
|
MUSTACHE_EXPR: ed,
|
|
ERB_EXPR: em,
|
|
TMPLIT_EXPR: ef,
|
|
DATA_ATTR: ep,
|
|
ARIA_ATTR: eg,
|
|
IS_SCRIPT_OR_DATA: e_,
|
|
ATTR_WHITESPACE: eh,
|
|
CUSTOM_ELEMENT: ev,
|
|
} = Z,
|
|
{ IS_ALLOWED_URI: ey } = Z,
|
|
eb = null,
|
|
eT = w({}, [...k, ...D, ...O, ...I, ...M]),
|
|
eS = null,
|
|
ex = w({}, [...P, ...U, ...j, ...z]),
|
|
eE = Object.seal(
|
|
s(null, {
|
|
tagNameCheck: {
|
|
writable: !0,
|
|
configurable: !1,
|
|
enumerable: !0,
|
|
value: null,
|
|
},
|
|
attributeNameCheck: {
|
|
writable: !0,
|
|
configurable: !1,
|
|
enumerable: !0,
|
|
value: null,
|
|
},
|
|
allowCustomizedBuiltInElements: {
|
|
writable: !0,
|
|
configurable: !1,
|
|
enumerable: !0,
|
|
value: !1,
|
|
},
|
|
}),
|
|
),
|
|
eA = null,
|
|
ew = null,
|
|
eN = Object.seal(
|
|
s(null, {
|
|
tagCheck: {
|
|
writable: !0,
|
|
configurable: !1,
|
|
enumerable: !0,
|
|
value: null,
|
|
},
|
|
attributeCheck: {
|
|
writable: !0,
|
|
configurable: !1,
|
|
enumerable: !0,
|
|
value: null,
|
|
},
|
|
}),
|
|
),
|
|
eC = !0,
|
|
ek = !0,
|
|
eD = !1,
|
|
eO = !0,
|
|
eR = !1,
|
|
eI = !0,
|
|
eL = !1,
|
|
eM = !1,
|
|
eP = !1,
|
|
eU = !1,
|
|
ej = !1,
|
|
ez = !1,
|
|
eF = !0,
|
|
eB = !1,
|
|
eH = !0,
|
|
eW = !1,
|
|
eG = {},
|
|
e$ = null,
|
|
eY = w({}, [
|
|
"annotation-xml",
|
|
"audio",
|
|
"colgroup",
|
|
"desc",
|
|
"foreignobject",
|
|
"head",
|
|
"iframe",
|
|
"math",
|
|
"mi",
|
|
"mn",
|
|
"mo",
|
|
"ms",
|
|
"mtext",
|
|
"noembed",
|
|
"noframes",
|
|
"noscript",
|
|
"plaintext",
|
|
"script",
|
|
"style",
|
|
"svg",
|
|
"template",
|
|
"thead",
|
|
"title",
|
|
"video",
|
|
"xmp",
|
|
]),
|
|
eq = null,
|
|
eV = w({}, ["audio", "video", "img", "source", "image", "track"]),
|
|
eX = null,
|
|
eZ = w({}, [
|
|
"alt",
|
|
"class",
|
|
"for",
|
|
"id",
|
|
"label",
|
|
"name",
|
|
"pattern",
|
|
"placeholder",
|
|
"role",
|
|
"summary",
|
|
"title",
|
|
"value",
|
|
"style",
|
|
"xmlns",
|
|
]),
|
|
eK = "http://www.w3.org/1998/Math/MathML",
|
|
eQ = "http://www.w3.org/2000/svg",
|
|
eJ = "http://www.w3.org/1999/xhtml",
|
|
e0 = eJ,
|
|
e1 = !1,
|
|
e3 = null,
|
|
e2 = w({}, [eK, eQ, eJ], h),
|
|
e9 = w({}, ["mi", "mo", "mn", "ms", "mtext"]),
|
|
e4 = w({}, ["annotation-xml"]),
|
|
e5 = w({}, ["title", "style", "font", "a", "script"]),
|
|
e7 = null,
|
|
e8 = ["application/xhtml+xml", "text/html"],
|
|
e6 = null,
|
|
te = null,
|
|
tt = i.createElement("form"),
|
|
tr = function (e) {
|
|
return e instanceof RegExp || e instanceof Function;
|
|
},
|
|
to = function () {
|
|
let e =
|
|
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
if (!te || te !== e) {
|
|
if (
|
|
((e && "object" == typeof e) || (e = {}),
|
|
(e = N(e)),
|
|
(e6 =
|
|
"application/xhtml+xml" ===
|
|
(e7 =
|
|
-1 === e8.indexOf(e.PARSER_MEDIA_TYPE)
|
|
? "text/html"
|
|
: e.PARSER_MEDIA_TYPE)
|
|
? h
|
|
: _),
|
|
(eb = S(e, "ALLOWED_TAGS") ? w({}, e.ALLOWED_TAGS, e6) : eT),
|
|
(eS = S(e, "ALLOWED_ATTR") ? w({}, e.ALLOWED_ATTR, e6) : ex),
|
|
(e3 = S(e, "ALLOWED_NAMESPACES")
|
|
? w({}, e.ALLOWED_NAMESPACES, h)
|
|
: e2),
|
|
(eX = S(e, "ADD_URI_SAFE_ATTR")
|
|
? w(N(eZ), e.ADD_URI_SAFE_ATTR, e6)
|
|
: eZ),
|
|
(eq = S(e, "ADD_DATA_URI_TAGS")
|
|
? w(N(eV), e.ADD_DATA_URI_TAGS, e6)
|
|
: eV),
|
|
(e$ = S(e, "FORBID_CONTENTS")
|
|
? w({}, e.FORBID_CONTENTS, e6)
|
|
: eY),
|
|
(eA = S(e, "FORBID_TAGS") ? w({}, e.FORBID_TAGS, e6) : N({})),
|
|
(ew = S(e, "FORBID_ATTR") ? w({}, e.FORBID_ATTR, e6) : N({})),
|
|
(eG = !!S(e, "USE_PROFILES") && e.USE_PROFILES),
|
|
(eC = !1 !== e.ALLOW_ARIA_ATTR),
|
|
(ek = !1 !== e.ALLOW_DATA_ATTR),
|
|
(eD = e.ALLOW_UNKNOWN_PROTOCOLS || !1),
|
|
(eO = !1 !== e.ALLOW_SELF_CLOSE_IN_ATTR),
|
|
(eR = e.SAFE_FOR_TEMPLATES || !1),
|
|
(eI = !1 !== e.SAFE_FOR_XML),
|
|
(eL = e.WHOLE_DOCUMENT || !1),
|
|
(eU = e.RETURN_DOM || !1),
|
|
(ej = e.RETURN_DOM_FRAGMENT || !1),
|
|
(ez = e.RETURN_TRUSTED_TYPE || !1),
|
|
(eP = e.FORCE_BODY || !1),
|
|
(eF = !1 !== e.SANITIZE_DOM),
|
|
(eB = e.SANITIZE_NAMED_PROPS || !1),
|
|
(eH = !1 !== e.KEEP_CONTENT),
|
|
(eW = e.IN_PLACE || !1),
|
|
(ey = e.ALLOWED_URI_REGEXP || $),
|
|
(e0 = e.NAMESPACE || eJ),
|
|
(e9 = e.MATHML_TEXT_INTEGRATION_POINTS || e9),
|
|
(e4 = e.HTML_INTEGRATION_POINTS || e4),
|
|
(eE = e.CUSTOM_ELEMENT_HANDLING || {}),
|
|
e.CUSTOM_ELEMENT_HANDLING &&
|
|
tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) &&
|
|
(eE.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),
|
|
e.CUSTOM_ELEMENT_HANDLING &&
|
|
tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) &&
|
|
(eE.attributeNameCheck =
|
|
e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),
|
|
e.CUSTOM_ELEMENT_HANDLING &&
|
|
"boolean" ==
|
|
typeof e.CUSTOM_ELEMENT_HANDLING
|
|
.allowCustomizedBuiltInElements &&
|
|
(eE.allowCustomizedBuiltInElements =
|
|
e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),
|
|
eR && (ek = !1),
|
|
ej && (eU = !0),
|
|
eG &&
|
|
((eb = w({}, M)),
|
|
(eS = []),
|
|
!0 === eG.html && (w(eb, k), w(eS, P)),
|
|
!0 === eG.svg && (w(eb, D), w(eS, U), w(eS, z)),
|
|
!0 === eG.svgFilters && (w(eb, O), w(eS, U), w(eS, z)),
|
|
!0 === eG.mathMl && (w(eb, I), w(eS, j), w(eS, z))),
|
|
e.ADD_TAGS &&
|
|
("function" == typeof e.ADD_TAGS
|
|
? (eN.tagCheck = e.ADD_TAGS)
|
|
: (eb === eT && (eb = N(eb)), w(eb, e.ADD_TAGS, e6))),
|
|
e.ADD_ATTR &&
|
|
("function" == typeof e.ADD_ATTR
|
|
? (eN.attributeCheck = e.ADD_ATTR)
|
|
: (eS === ex && (eS = N(eS)), w(eS, e.ADD_ATTR, e6))),
|
|
e.ADD_URI_SAFE_ATTR && w(eX, e.ADD_URI_SAFE_ATTR, e6),
|
|
e.FORBID_CONTENTS &&
|
|
(e$ === eY && (e$ = N(e$)), w(e$, e.FORBID_CONTENTS, e6)),
|
|
e.ADD_FORBID_CONTENTS &&
|
|
(e$ === eY && (e$ = N(e$)), w(e$, e.ADD_FORBID_CONTENTS, e6)),
|
|
eH && (eb["#text"] = !0),
|
|
eL && w(eb, ["html", "head", "body"]),
|
|
eb.table && (w(eb, ["tbody"]), delete eA.tbody),
|
|
e.TRUSTED_TYPES_POLICY)
|
|
) {
|
|
if ("function" != typeof e.TRUSTED_TYPES_POLICY.createHTML)
|
|
throw E(
|
|
'TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.',
|
|
);
|
|
if ("function" != typeof e.TRUSTED_TYPES_POLICY.createScriptURL)
|
|
throw E(
|
|
'TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.',
|
|
);
|
|
en = (r = e.TRUSTED_TYPES_POLICY).createHTML("");
|
|
} else
|
|
void 0 === r && (r = K(q, c)),
|
|
null !== r && "string" == typeof en && (en = r.createHTML(""));
|
|
a && a(e), (te = e);
|
|
}
|
|
},
|
|
tn = w({}, [...D, ...O, ...R]),
|
|
ti = w({}, [...I, ...L]),
|
|
ta = function (e) {
|
|
let t = eo(e);
|
|
(t && t.tagName) || (t = { namespaceURI: e0, tagName: "template" });
|
|
let r = _(e.tagName),
|
|
o = _(t.tagName);
|
|
return (
|
|
!!e3[e.namespaceURI] &&
|
|
(e.namespaceURI === eQ
|
|
? t.namespaceURI === eJ
|
|
? "svg" === r
|
|
: t.namespaceURI === eK
|
|
? "svg" === r && ("annotation-xml" === o || e9[o])
|
|
: !!tn[r]
|
|
: e.namespaceURI === eK
|
|
? t.namespaceURI === eJ
|
|
? "math" === r
|
|
: t.namespaceURI === eQ
|
|
? "math" === r && e4[o]
|
|
: !!ti[r]
|
|
: e.namespaceURI === eJ
|
|
? (t.namespaceURI !== eQ || !!e4[o]) &&
|
|
(t.namespaceURI !== eK || !!e9[o]) &&
|
|
!ti[r] &&
|
|
(e5[r] || !tn[r])
|
|
: "application/xhtml+xml" === e7 && !!e3[e.namespaceURI])
|
|
);
|
|
},
|
|
tl = function (e) {
|
|
p(n.removed, { element: e });
|
|
try {
|
|
eo(e).removeChild(e);
|
|
} catch (t) {
|
|
ee(e);
|
|
}
|
|
},
|
|
ts = function (e, t) {
|
|
try {
|
|
p(n.removed, { attribute: t.getAttributeNode(e), from: t });
|
|
} catch (e) {
|
|
p(n.removed, { attribute: null, from: t });
|
|
}
|
|
if ((t.removeAttribute(e), "is" === e))
|
|
if (eU || ej)
|
|
try {
|
|
tl(t);
|
|
} catch (e) {}
|
|
else
|
|
try {
|
|
t.setAttribute(e, "");
|
|
} catch (e) {}
|
|
},
|
|
tc = function (e) {
|
|
let t = null,
|
|
o = null;
|
|
if (eP) e = "<remove></remove>" + e;
|
|
else {
|
|
let t = v(e, /^[\r\n\t ]+/);
|
|
o = t && t[0];
|
|
}
|
|
"application/xhtml+xml" === e7 &&
|
|
e0 === eJ &&
|
|
(e =
|
|
'<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' +
|
|
e +
|
|
"</body></html>");
|
|
let n = r ? r.createHTML(e) : e;
|
|
if (e0 === eJ)
|
|
try {
|
|
t = new Y().parseFromString(n, e7);
|
|
} catch (e) {}
|
|
if (!t || !t.documentElement) {
|
|
t = ei.createDocument(e0, "template", null);
|
|
try {
|
|
t.documentElement.innerHTML = e1 ? en : n;
|
|
} catch (e) {}
|
|
}
|
|
let a = t.body || t.documentElement;
|
|
return (e &&
|
|
o &&
|
|
a.insertBefore(i.createTextNode(o), a.childNodes[0] || null),
|
|
e0 === eJ)
|
|
? es.call(t, eL ? "html" : "body")[0]
|
|
: eL
|
|
? t.documentElement
|
|
: a;
|
|
},
|
|
tu = function (e) {
|
|
return ea.call(
|
|
e.ownerDocument || e,
|
|
e,
|
|
H.SHOW_ELEMENT |
|
|
H.SHOW_COMMENT |
|
|
H.SHOW_TEXT |
|
|
H.SHOW_PROCESSING_INSTRUCTION |
|
|
H.SHOW_CDATA_SECTION,
|
|
null,
|
|
);
|
|
},
|
|
td = function (e) {
|
|
return (
|
|
e instanceof G &&
|
|
("string" != typeof e.nodeName ||
|
|
"string" != typeof e.textContent ||
|
|
"function" != typeof e.removeChild ||
|
|
!(e.attributes instanceof W) ||
|
|
"function" != typeof e.removeAttribute ||
|
|
"function" != typeof e.setAttribute ||
|
|
"string" != typeof e.namespaceURI ||
|
|
"function" != typeof e.insertBefore ||
|
|
"function" != typeof e.hasChildNodes)
|
|
);
|
|
},
|
|
tm = function (e) {
|
|
return "function" == typeof F && e instanceof F;
|
|
};
|
|
function tf(e, t, r) {
|
|
d(e, (e) => {
|
|
e.call(n, t, r, te);
|
|
});
|
|
}
|
|
let tp = function (e) {
|
|
let t = null;
|
|
if ((tf(eu.beforeSanitizeElements, e, null), td(e))) return tl(e), !0;
|
|
let r = e6(e.nodeName);
|
|
if (
|
|
(tf(eu.uponSanitizeElement, e, { tagName: r, allowedTags: eb }),
|
|
(eI &&
|
|
e.hasChildNodes() &&
|
|
!tm(e.firstElementChild) &&
|
|
x(/<[/\w!]/g, e.innerHTML) &&
|
|
x(/<[/\w!]/g, e.textContent)) ||
|
|
7 === e.nodeType ||
|
|
(eI && 8 === e.nodeType && x(/<[/\w]/g, e.data)))
|
|
)
|
|
return tl(e), !0;
|
|
if (
|
|
!(eN.tagCheck instanceof Function && eN.tagCheck(r)) &&
|
|
(!eb[r] || eA[r])
|
|
) {
|
|
if (
|
|
!eA[r] &&
|
|
t_(r) &&
|
|
((eE.tagNameCheck instanceof RegExp && x(eE.tagNameCheck, r)) ||
|
|
(eE.tagNameCheck instanceof Function && eE.tagNameCheck(r)))
|
|
)
|
|
return !1;
|
|
if (eH && !e$[r]) {
|
|
let t = eo(e) || e.parentNode,
|
|
r = er(e) || e.childNodes;
|
|
if (r && t) {
|
|
let o = r.length;
|
|
for (let n = o - 1; n >= 0; --n) {
|
|
let o = J(r[n], !0);
|
|
(o.__removalCount = (e.__removalCount || 0) + 1),
|
|
t.insertBefore(o, et(e));
|
|
}
|
|
}
|
|
}
|
|
return tl(e), !0;
|
|
}
|
|
return (e instanceof B && !ta(e)) ||
|
|
(("noscript" === r || "noembed" === r || "noframes" === r) &&
|
|
x(/<\/no(script|embed|frames)/i, e.innerHTML))
|
|
? (tl(e), !0)
|
|
: (eR &&
|
|
3 === e.nodeType &&
|
|
((t = e.textContent),
|
|
d([ed, em, ef], (e) => {
|
|
t = y(t, e, " ");
|
|
}),
|
|
e.textContent !== t &&
|
|
(p(n.removed, { element: e.cloneNode() }),
|
|
(e.textContent = t))),
|
|
tf(eu.afterSanitizeElements, e, null),
|
|
!1);
|
|
},
|
|
tg = function (e, t, r) {
|
|
if (eF && ("id" === t || "name" === t) && (r in i || r in tt))
|
|
return !1;
|
|
if (ek && !ew[t] && x(ep, t));
|
|
else if (eC && x(eg, t));
|
|
else if (
|
|
eN.attributeCheck instanceof Function &&
|
|
eN.attributeCheck(t, e)
|
|
);
|
|
else if (!eS[t] || ew[t]) {
|
|
if (
|
|
!(
|
|
(t_(e) &&
|
|
((eE.tagNameCheck instanceof RegExp &&
|
|
x(eE.tagNameCheck, e)) ||
|
|
(eE.tagNameCheck instanceof Function &&
|
|
eE.tagNameCheck(e))) &&
|
|
((eE.attributeNameCheck instanceof RegExp &&
|
|
x(eE.attributeNameCheck, t)) ||
|
|
(eE.attributeNameCheck instanceof Function &&
|
|
eE.attributeNameCheck(t, e)))) ||
|
|
("is" === t &&
|
|
eE.allowCustomizedBuiltInElements &&
|
|
((eE.tagNameCheck instanceof RegExp &&
|
|
x(eE.tagNameCheck, r)) ||
|
|
(eE.tagNameCheck instanceof Function &&
|
|
eE.tagNameCheck(r))))
|
|
)
|
|
)
|
|
return !1;
|
|
} else if (eX[t]);
|
|
else if (x(ey, y(r, eh, "")));
|
|
else if (
|
|
("src" === t || "xlink:href" === t || "href" === t) &&
|
|
"script" !== e &&
|
|
0 === b(r, "data:") &&
|
|
eq[e]
|
|
);
|
|
else if (eD && !x(e_, y(r, eh, "")));
|
|
else if (r) return !1;
|
|
return !0;
|
|
},
|
|
t_ = function (e) {
|
|
return "annotation-xml" !== e && v(e, ev);
|
|
},
|
|
th = function (e) {
|
|
tf(eu.beforeSanitizeAttributes, e, null);
|
|
let { attributes: t } = e;
|
|
if (!t || td(e)) return;
|
|
let o = {
|
|
attrName: "",
|
|
attrValue: "",
|
|
keepAttr: !0,
|
|
allowedAttributes: eS,
|
|
forceKeepAttr: void 0,
|
|
},
|
|
i = t.length;
|
|
for (; i--; ) {
|
|
let { name: a, namespaceURI: l, value: s } = t[i],
|
|
c = e6(a),
|
|
u = "value" === a ? s : T(s);
|
|
if (
|
|
((o.attrName = c),
|
|
(o.attrValue = u),
|
|
(o.keepAttr = !0),
|
|
(o.forceKeepAttr = void 0),
|
|
tf(eu.uponSanitizeAttribute, e, o),
|
|
(u = o.attrValue),
|
|
eB &&
|
|
("id" === c || "name" === c) &&
|
|
(ts(a, e), (u = "user-content-" + u)),
|
|
(eI && x(/((--!?|])>)|<\/(style|title|textarea)/i, u)) ||
|
|
("attributename" === c && v(u, "href")))
|
|
) {
|
|
ts(a, e);
|
|
continue;
|
|
}
|
|
if (o.forceKeepAttr) continue;
|
|
if (!o.keepAttr || (!eO && x(/\/>/i, u))) {
|
|
ts(a, e);
|
|
continue;
|
|
}
|
|
eR &&
|
|
d([ed, em, ef], (e) => {
|
|
u = y(u, e, " ");
|
|
});
|
|
let m = e6(e.nodeName);
|
|
if (!tg(m, c, u)) {
|
|
ts(a, e);
|
|
continue;
|
|
}
|
|
if (
|
|
r &&
|
|
"object" == typeof q &&
|
|
"function" == typeof q.getAttributeType
|
|
)
|
|
if (l);
|
|
else
|
|
switch (q.getAttributeType(m, c)) {
|
|
case "TrustedHTML":
|
|
u = r.createHTML(u);
|
|
break;
|
|
case "TrustedScriptURL":
|
|
u = r.createScriptURL(u);
|
|
}
|
|
if (u !== s)
|
|
try {
|
|
l ? e.setAttributeNS(l, a, u) : e.setAttribute(a, u),
|
|
td(e) ? tl(e) : f(n.removed);
|
|
} catch (t) {
|
|
ts(a, e);
|
|
}
|
|
}
|
|
tf(eu.afterSanitizeAttributes, e, null);
|
|
},
|
|
tv = function e(t) {
|
|
let r = null,
|
|
o = tu(t);
|
|
for (tf(eu.beforeSanitizeShadowDOM, t, null); (r = o.nextNode()); )
|
|
tf(eu.uponSanitizeShadowNode, r, null),
|
|
tp(r),
|
|
th(r),
|
|
r.content instanceof u && e(r.content);
|
|
tf(eu.afterSanitizeShadowDOM, t, null);
|
|
};
|
|
return (
|
|
(n.sanitize = function (e) {
|
|
let t =
|
|
arguments.length > 1 && void 0 !== arguments[1]
|
|
? arguments[1]
|
|
: {},
|
|
o = null,
|
|
i = null,
|
|
a = null,
|
|
s = null;
|
|
if (((e1 = !e) && (e = "<!-->"), "string" != typeof e && !tm(e)))
|
|
if ("function" == typeof e.toString) {
|
|
if ("string" != typeof (e = e.toString()))
|
|
throw E("dirty is not a string, aborting");
|
|
} else throw E("toString is not a function");
|
|
if (!n.isSupported) return e;
|
|
if (
|
|
(eM || to(t),
|
|
(n.removed = []),
|
|
"string" == typeof e && (eW = !1),
|
|
eW)
|
|
) {
|
|
if (e.nodeName) {
|
|
let t = e6(e.nodeName);
|
|
if (!eb[t] || eA[t])
|
|
throw E(
|
|
"root node is forbidden and cannot be sanitized in-place",
|
|
);
|
|
}
|
|
} else if (e instanceof F)
|
|
(1 ===
|
|
(i = (o = tc("<!---->")).ownerDocument.importNode(e, !0))
|
|
.nodeType &&
|
|
"BODY" === i.nodeName) ||
|
|
"HTML" === i.nodeName
|
|
? (o = i)
|
|
: o.appendChild(i);
|
|
else {
|
|
if (!eU && !eR && !eL && -1 === e.indexOf("<"))
|
|
return r && ez ? r.createHTML(e) : e;
|
|
if (!(o = tc(e))) return eU ? null : ez ? en : "";
|
|
}
|
|
o && eP && tl(o.firstChild);
|
|
let c = tu(eW ? e : o);
|
|
for (; (a = c.nextNode()); )
|
|
tp(a), th(a), a.content instanceof u && tv(a.content);
|
|
if (eW) return e;
|
|
if (eU) {
|
|
if (ej)
|
|
for (s = el.call(o.ownerDocument); o.firstChild; )
|
|
s.appendChild(o.firstChild);
|
|
else s = o;
|
|
return (
|
|
(eS.shadowroot || eS.shadowrootmode) && (s = ec.call(l, s, !0)), s
|
|
);
|
|
}
|
|
let m = eL ? o.outerHTML : o.innerHTML;
|
|
return (
|
|
eL &&
|
|
eb["!doctype"] &&
|
|
o.ownerDocument &&
|
|
o.ownerDocument.doctype &&
|
|
o.ownerDocument.doctype.name &&
|
|
x(V, o.ownerDocument.doctype.name) &&
|
|
(m = "<!DOCTYPE " + o.ownerDocument.doctype.name + ">\n" + m),
|
|
eR &&
|
|
d([ed, em, ef], (e) => {
|
|
m = y(m, e, " ");
|
|
}),
|
|
r && ez ? r.createHTML(m) : m
|
|
);
|
|
}),
|
|
(n.setConfig = function () {
|
|
let e =
|
|
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
|
to(e), (eM = !0);
|
|
}),
|
|
(n.clearConfig = function () {
|
|
(te = null), (eM = !1);
|
|
}),
|
|
(n.isValidAttribute = function (e, t, r) {
|
|
return te || to({}), tg(e6(e), e6(t), r);
|
|
}),
|
|
(n.addHook = function (e, t) {
|
|
"function" == typeof t && p(eu[e], t);
|
|
}),
|
|
(n.removeHook = function (e, t) {
|
|
if (void 0 !== t) {
|
|
let r = m(eu[e], t);
|
|
return -1 === r ? void 0 : g(eu[e], r, 1)[0];
|
|
}
|
|
return f(eu[e]);
|
|
}),
|
|
(n.removeHooks = function (e) {
|
|
eu[e] = [];
|
|
}),
|
|
(n.removeAllHooks = function () {
|
|
eu = Q();
|
|
}),
|
|
n
|
|
);
|
|
})();
|
|
e.s(["default", () => J]);
|
|
};
|
|
|
|
export default moduleFactory;
|