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