vendor: 5,146 bytes, lines 1-2
1/*! For license information please see dompurify.44910bb1855b608ad5db.chunk.js.LICENSE.txt */ 2export const __webpack_id__=6948;export const __webpack_ids__=[6948];export const __webpack_modules__={99418:(e,t,n)=>{n.r(t),n.d(t,{default:()=>le});const{entries:o,setPrototypeOf:r,isFrozen:i,getPrototypeOf:a,getOwnPropertyDescriptor:l}=Object;let{freeze:c,seal:s,create:u}=Object,{apply:m,construct:p}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e){return e}),s||(s=function(e){return e}),m||(m=function(e,t,n){return e.apply(t,n)}),p||(p=function(e,t){return new e(...t)});const f=L(Array.prototype.forEach),d=L(Array.prototype.lastIndexOf),h=L(Array.prototype.pop),g=L(Array.prototype.push),T=L(Array.prototype.splice),y=L(String.prototype.toLowerCase),E=L(String.prototype.toString),_=L(String.prototype.match),A=L(String.prototype.replace),N=L(String.prototype.indexOf),b=L(String.prototype.trim),S=L(Object.prototype.hasOwnProperty),R=L(RegExp.prototype.test),w=function(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return p(e,n)}}(TypeError);function L(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return m(e,t,o)}}function O(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;r&&r(e,null);let o=t.length;for(;o--;){let r=t[o];if("string"==typeof r){const e=n(r);e!==r&&(i(t)||(t[o]=e),r=e)}e[r]=!0}return e}function v(e){for(let t=0;t<e.length;t++){S(e,t)||(e[t]=null)}return e}function C(e){const t=u(null);for(const[n,r]of o(e)){S(e,n)&&(Array.isArray(r)?t[n]=v(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=C(r):t[n]=r)}return t}function D(e,t){for(;null!==e;){const n=l(e,t);if(n){if(n.get)return L(n.get);if("function"==typeof n.value)return L(n.value)}e=a(e)}return function(){return null}}const x=c(["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","section","select","shadow","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"]),k=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),I=c(["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"]),M=c(["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"]),U=c(["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"]),P=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),z=c(["#text"]),H=c(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
2spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),F=c(["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","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"]),B=c(["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"]),W=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),G=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Y=s(/<%[\w\W]*|[\w\W]*%>/gm),j=s(/\$\{[\w\W]*/gm),X=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=s(/^aria-[\-\w]+$/),$=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),K=s(/^(?:\w+script|data):/i),V=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=s(/^html$/i),J=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var Q=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:V,CUSTOM_ELEMENT:J,DATA_ATTR:X,DOCTYPE_NAME:Z,ERB_EXPR:Y,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:K,MUSTACHE_EXPR:G,TMPLIT_EXPR:j});const ee=1,te=3,ne=7,oe=8,re=9,ie=function(){return"undefined"==typeof window?null:window},ae=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var le=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ie();const n=t=>e(t);if(n.version="3.2.4",n.removed=[],!t||!t.document||t.document.nodeType!==re||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,a=i.currentScript,{DocumentFragment:l,HTMLTemplateElement:s,Node:m,Element:p,NodeFilter:L,NamedNodeMap:v=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:G,DOMParser:Y,trustedTypes:j}=t,X=p.prototype,q=D(X,"cloneNode"),K=D(X,"remove"),V=D(X,"nextSibling"),J=D(X,"childNodes"),le=D(X,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ce,se="";const{implementation:ue,createNodeIterator:me,createDocumentFragment:pe,getElementsByTagName:fe}=r,{importNode:de}=i;let he=ae();n.isSupported="function"==typeof o&&"function"==typeof le&&ue&&void 0!==ue.createHTMLDocument;const{MUSTACHE_EXPR:ge,ERB_EXPR:Te,TMPLIT_EXPR:ye,DATA_ATTR:Ee,ARIA_ATTR:_e,IS_SCRIPT_OR_DATA:Ae,ATTR_WHITESPACE:Ne,CUSTOM_ELEMENT:be}=Q;let{IS_ALLOWED_URI:Se}=Q,Re=null;const we=O({},[...x,...k,...I,...U,...z]);let Le=null;const Oe=O({},[...H,...F,...B,...W]);let ve=Object.seal(u(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}})),Ce=null,De=null,xe=!0,ke=!0,Ie=!1,Me=!0,Ue=!1,Pe=!0,ze=!1,He=!1,Fe=!1,Be=!1,We=!1,Ge=!1,Ye=!0,je=!1,Xe=!0,qe=!1,$e={},Ke=null;const Ve=O({},["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"]);let Ze=null;const Je=O({},["audio","video","img","source","image","track"]);let Qe=null;const et=O({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",ot="http://www.w3.org/1999/xhtml";let rt=ot,it=!1,at=null;const lt=O({},[tt,nt,ot],E);let ct=O({},["mi","mo","mn","ms","mtext"]),st=O({},["annotation-xml"]);const ut=O({},["title","style","font","a","script"]);let mt=null;const pt=["application/xhtml+xml","text/html"];let ft=null,dt=null;const ht=r.createElement("form"),gt=function(e){return e instanceof RegExp||e instanceof Function},Tt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!dt||dt!==e){if(e&&"object"==typeof e||(e={}
vendor: 4,550 bytes, line 2
2),e=C(e),mt=-1===pt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ft="application/xhtml+xml"===mt?E:y,Re=S(e,"ALLOWED_TAGS")?O({},e.ALLOWED_TAGS,ft):we,Le=S(e,"ALLOWED_ATTR")?O({},e.ALLOWED_ATTR,ft):Oe,at=S(e,"ALLOWED_NAMESPACES")?O({},e.ALLOWED_NAMESPACES,E):lt,Qe=S(e,"ADD_URI_SAFE_ATTR")?O(C(et),e.ADD_URI_SAFE_ATTR,ft):et,Ze=S(e,"ADD_DATA_URI_TAGS")?O(C(Je),e.ADD_DATA_URI_TAGS,ft):Je,Ke=S(e,"FORBID_CONTENTS")?O({},e.FORBID_CONTENTS,ft):Ve,Ce=S(e,"FORBID_TAGS")?O({},e.FORBID_TAGS,ft):{},De=S(e,"FORBID_ATTR")?O({},e.FORBID_ATTR,ft):{},$e=!!S(e,"USE_PROFILES")&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,ke=!1!==e.ALLOW_DATA_ATTR,Ie=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ue=e.SAFE_FOR_TEMPLATES||!1,Pe=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,Be=e.RETURN_DOM||!1,We=e.RETURN_DOM_FRAGMENT||!1,Ge=e.RETURN_TRUSTED_TYPE||!1,Fe=e.FORCE_BODY||!1,Ye=!1!==e.SANITIZE_DOM,je=e.SANITIZE_NAMED_PROPS||!1,Xe=!1!==e.KEEP_CONTENT,qe=e.IN_PLACE||!1,Se=e.ALLOWED_URI_REGEXP||$,rt=e.NAMESPACE||ot,ct=e.MATHML_TEXT_INTEGRATION_POINTS||ct,st=e.HTML_INTEGRATION_POINTS||st,ve=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&>(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ve.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&>(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ve.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(ve.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ue&&(ke=!1),We&&(Be=!0),$e&&(Re=O({},z),Le=[],!0===$e.html&&(O(Re,x),O(Le,H)),!0===$e.svg&&(O(Re,k),O(Le,F),O(Le,W)),!0===$e.svgFilters&&(O(Re,I),O(Le,F),O(Le,W)),!0===$e.mathMl&&(O(Re,U),O(Le,B),O(Le,W))),e.ADD_TAGS&&(Re===we&&(Re=C(Re)),O(Re,e.ADD_TAGS,ft)),e.ADD_ATTR&&(Le===Oe&&(Le=C(Le)),O(Le,e.ADD_ATTR,ft)),e.ADD_URI_SAFE_ATTR&&O(Qe,e.ADD_URI_SAFE_ATTR,ft),e.FORBID_CONTENTS&&(Ke===Ve&&(Ke=C(Ke)),O(Ke,e.FORBID_CONTENTS,ft)),Xe&&(Re["#text"]=!0),ze&&O(Re,["html","head","body"]),Re.table&&(O(Re,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ce=e.TRUSTED_TYPES_POLICY,se=ce.createHTML("")}else void 0===ce&&(ce=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(j,a)),null!==ce&&"string"==typeof se&&(se=ce.createHTML(""));c&&c(e),dt=e}},yt=O({},[...k,...I,...M]),Et=O({},[...U,...P]),_t=function(e){g(n.removed,{element:e});try{le(e).removeChild(e)}catch(t){K(e)}},At=function(e,t){try{g(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){g(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Be||We)try{_t(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Nt=function(e){let t=null,n=null;if(Fe)e="<remove></remove>"+e;else{const t=_(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===mt&&rt===ot&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ce?ce.createHTML(e):e;if(rt===ot)try{t=(new Y).parseFromString(o,mt)}catch(e){}if(!t||!t.documentElement){t=ue.createDocument(rt,"template",null);try{t.documentElement.innerHTML=it?se:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),rt===ot?fe.call(t,ze?"html":"body")[0]:ze?t.documentElement:i},bt=function(e){return me.call(e.ownerDocument||e,e,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT|L.SHOW_PROCESSING_INSTRUCTION|L.SHOW_CDATA_SECTION,null)},St=function(e){return e instanceof G&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof v)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Rt=function(e){return"function"==typeof m&&e instanceof m};function wt(e,t,o){f(e,(e=>{e.call(n,t,o,dt)}))}const Lt=function(e){let t=null;
vendor: 5,388 bytes, line 2
2if(wt(he.beforeSanitizeElements,e,null),St(e))return _t(e),!0;const o=ft(e.nodeName);if(wt(he.uponSanitizeElement,e,{tagName:o,allowedTags:Re}),e.hasChildNodes()&&!Rt(e.firstElementChild)&&R(/<[/\w]/g,e.innerHTML)&&R(/<[/\w]/g,e.textContent))return _t(e),!0;if(e.nodeType===ne)return _t(e),!0;if(Pe&&e.nodeType===oe&&R(/<[/\w]/g,e.data))return _t(e),!0;if(!Re[o]||Ce[o]){if(!Ce[o]&&vt(o)){if(ve.tagNameCheck instanceof RegExp&&R(ve.tagNameCheck,o))return!1;if(ve.tagNameCheck instanceof Function&&ve.tagNameCheck(o))return!1}if(Xe&&!Ke[o]){const t=le(e)||e.parentNode,n=J(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=q(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,V(e))}}}return _t(e),!0}return e instanceof p&&!function(e){let t=le(e);t&&t.tagName||(t={namespaceURI:rt,tagName:"template"});const n=y(e.tagName),o=y(t.tagName);return!!at[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===ot?"svg"===n:t.namespaceURI===tt?"svg"===n&&("annotation-xml"===o||ct[o]):Boolean(yt[n]):e.namespaceURI===tt?t.namespaceURI===ot?"math"===n:t.namespaceURI===nt?"math"===n&&st[o]:Boolean(Et[n]):e.namespaceURI===ot?!(t.namespaceURI===nt&&!st[o])&&!(t.namespaceURI===tt&&!ct[o])&&!Et[n]&&(ut[n]||!yt[n]):!("application/xhtml+xml"!==mt||!at[e.namespaceURI]))}(e)?(_t(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!R(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ue&&e.nodeType===te&&(t=e.textContent,f([ge,Te,ye],(e=>{t=A(t,e," ")})),e.textContent!==t&&(g(n.removed,{element:e.cloneNode()}),e.textContent=t)),wt(he.afterSanitizeElements,e,null),!1):(_t(e),!0)},Ot=function(e,t,n){if(Ye&&("id"===t||"name"===t)&&(n in r||n in ht))return!1;if(ke&&!De[t]&&R(Ee,t));else if(xe&&R(_e,t));else if(!Le[t]||De[t]){if(!(vt(e)&&(ve.tagNameCheck instanceof RegExp&&R(ve.tagNameCheck,e)||ve.tagNameCheck instanceof Function&&ve.tagNameCheck(e))&&(ve.attributeNameCheck instanceof RegExp&&R(ve.attributeNameCheck,t)||ve.attributeNameCheck instanceof Function&&ve.attributeNameCheck(t))||"is"===t&&ve.allowCustomizedBuiltInElements&&(ve.tagNameCheck instanceof RegExp&&R(ve.tagNameCheck,n)||ve.tagNameCheck instanceof Function&&ve.tagNameCheck(n))))return!1}else if(Qe[t]);else if(R(Se,A(n,Ne,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==N(n,"data:")||!Ze[e]){if(Ie&&!R(Ae,A(n,Ne,"")));else if(n)return!1}else;return!0},vt=function(e){return"annotation-xml"!==e&&_(e,be)},Ct=function(e){wt(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||St(e))return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Le,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ft(a);let u="value"===a?c:b(c);if(o.attrName=s,o.attrValue=u,o.keepAttr=!0,o.forceKeepAttr=void 0,wt(he.uponSanitizeAttribute,e,o),u=o.attrValue,!je||"id"!==s&&"name"!==s||(At(a,e),u="user-content-"+u),Pe&&R(/((--!?|])>)|<\/(style|title)/i,u)){At(a,e);continue}if(o.forceKeepAttr)continue;if(At(a,e),!o.keepAttr)continue;if(!Me&&R(/\/>/i,u)){At(a,e);continue}Ue&&f([ge,Te,ye],(e=>{u=A(u,e," ")}));const m=ft(e.nodeName);if(Ot(m,s,u)){if(ce&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(l);else switch(j.getAttributeType(m,s)){case"TrustedHTML":u=ce.createHTML(u);break;case"TrustedScriptURL":u=ce.createScriptURL(u)}try{l?e.setAttributeNS(l,a,u):e.setAttribute(a,u),St(e)?_t(e):h(n.removed)}catch(e){}}}wt(he.afterSanitizeAttributes,e,null)},Dt=function e(t){let n=null;const o=bt(t);for(wt(he.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)wt(he.uponSanitizeShadowNode,n,null),Lt(n),Ct(n),n.content instanceof l&&e(n.content);wt(he.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,r=null,a=null,c=null;if(it=!e,it&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Rt(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!n.isSupported)return e;if(He||Tt(t),n.removed=[],"string"==typeof e&&(qe=!1),qe){if(e.nodeName){const t=ft(e.nodeName);if(!Re[t]||Ce[t])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof m)o=Nt("\x3c!----\x3e"),r=o.ownerDocument.importNode(e,!0),r.nodeType===ee&&"BODY"===r.nodeName||"HTML"===r.nodeName?o=r:o.appendChild(r);else{if(!Be&&!Ue&&!ze&&-1===e.indexOf("<"))return ce&&Ge?ce.createHTML(e):e;if(o=Nt(e),!o)return Be?null:Ge?se:""}o&&Fe&&_t(o.firstChild);const s=bt(qe?e:o);for(;a=s.nextNode();)Lt(a),Ct(a),a.content instanceof l&&Dt(a.content);if(qe)return e;if(Be){if(We)for(c=pe.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return(Le.shadowroot||Le.shadowrootmode)&&(c=de.call(i,c,!0)),c}let u=ze?o.outerHTML:o.innerHTML;return ze&&Re["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&R(Z,o.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+u),Ue&&f([ge,Te,ye],(e=>{u=A(u,e," ")})),ce&&Ge?ce.createHTML(u):u},n.setConfig=function(){Tt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),He=!0},n.clearConfig=function(){dt=null,He=!1},n.isValidAttribute=function(e,t,n){dt||Tt({});const o=ft(e),r=ft(t);return Ot(o,r,n)},n.addHook=function(e,t){"function"==typeof t&&g(he[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=d(he[e],t);
2return-1===n?void 0:T(he[e],n,1)[0]}return h(he[e])},n.removeHooks=function(e){he[e]=[]},n.removeAllHooks=function(){he=ae()},n}()}}; 3//# sourceMappingURL=dompurify.44910bb1855b608ad5db.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.