/* THIS IS A GENERATED/BUNDLED FILE BY ESBUILD if you want to view the source, please visit the github repository of this plugin */ var en=Object.create;var ct=Object.defineProperty;var tn=Object.getOwnPropertyDescriptor;var rn=Object.getOwnPropertyNames;var nn=Object.getPrototypeOf,an=Object.prototype.hasOwnProperty;var Oe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sn=(e,t)=>{for(var r in t)ct(e,r,{get:t[r],enumerable:!0})},Fr=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of rn(t))!an.call(e,l)&&l!==r&&ct(e,l,{get:()=>t[l],enumerable:!(i=tn(t,l))||i.enumerable});return e};var Xe=(e,t,r)=>(r=e!=null?en(nn(e)):{},Fr(t||!e||!e.__esModule?ct(r,"default",{value:e,enumerable:!0}):r,e)),on=e=>Fr(ct({},"__esModule",{value:!0}),e);var Vr=Oe((Hr,Gr)=>{(function(e){if(typeof Hr=="object")Gr.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t;try{t=window}catch(r){t=self}t.SparkMD5=e()}})(function(e){"use strict";var t=function(p,g){return p+g&4294967295},r=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function i(p,g,s,n,f,c){return g=t(t(g,p),t(n,c)),t(g<>>32-f,s)}function l(p,g){var s=p[0],n=p[1],f=p[2],c=p[3];s+=(n&f|~n&c)+g[0]-680876936|0,s=(s<<7|s>>>25)+n|0,c+=(s&n|~s&f)+g[1]-389564586|0,c=(c<<12|c>>>20)+s|0,f+=(c&s|~c&n)+g[2]+606105819|0,f=(f<<17|f>>>15)+c|0,n+=(f&c|~f&s)+g[3]-1044525330|0,n=(n<<22|n>>>10)+f|0,s+=(n&f|~n&c)+g[4]-176418897|0,s=(s<<7|s>>>25)+n|0,c+=(s&n|~s&f)+g[5]+1200080426|0,c=(c<<12|c>>>20)+s|0,f+=(c&s|~c&n)+g[6]-1473231341|0,f=(f<<17|f>>>15)+c|0,n+=(f&c|~f&s)+g[7]-45705983|0,n=(n<<22|n>>>10)+f|0,s+=(n&f|~n&c)+g[8]+1770035416|0,s=(s<<7|s>>>25)+n|0,c+=(s&n|~s&f)+g[9]-1958414417|0,c=(c<<12|c>>>20)+s|0,f+=(c&s|~c&n)+g[10]-42063|0,f=(f<<17|f>>>15)+c|0,n+=(f&c|~f&s)+g[11]-1990404162|0,n=(n<<22|n>>>10)+f|0,s+=(n&f|~n&c)+g[12]+1804603682|0,s=(s<<7|s>>>25)+n|0,c+=(s&n|~s&f)+g[13]-40341101|0,c=(c<<12|c>>>20)+s|0,f+=(c&s|~c&n)+g[14]-1502002290|0,f=(f<<17|f>>>15)+c|0,n+=(f&c|~f&s)+g[15]+1236535329|0,n=(n<<22|n>>>10)+f|0,s+=(n&c|f&~c)+g[1]-165796510|0,s=(s<<5|s>>>27)+n|0,c+=(s&f|n&~f)+g[6]-1069501632|0,c=(c<<9|c>>>23)+s|0,f+=(c&n|s&~n)+g[11]+643717713|0,f=(f<<14|f>>>18)+c|0,n+=(f&s|c&~s)+g[0]-373897302|0,n=(n<<20|n>>>12)+f|0,s+=(n&c|f&~c)+g[5]-701558691|0,s=(s<<5|s>>>27)+n|0,c+=(s&f|n&~f)+g[10]+38016083|0,c=(c<<9|c>>>23)+s|0,f+=(c&n|s&~n)+g[15]-660478335|0,f=(f<<14|f>>>18)+c|0,n+=(f&s|c&~s)+g[4]-405537848|0,n=(n<<20|n>>>12)+f|0,s+=(n&c|f&~c)+g[9]+568446438|0,s=(s<<5|s>>>27)+n|0,c+=(s&f|n&~f)+g[14]-1019803690|0,c=(c<<9|c>>>23)+s|0,f+=(c&n|s&~n)+g[3]-187363961|0,f=(f<<14|f>>>18)+c|0,n+=(f&s|c&~s)+g[8]+1163531501|0,n=(n<<20|n>>>12)+f|0,s+=(n&c|f&~c)+g[13]-1444681467|0,s=(s<<5|s>>>27)+n|0,c+=(s&f|n&~f)+g[2]-51403784|0,c=(c<<9|c>>>23)+s|0,f+=(c&n|s&~n)+g[7]+1735328473|0,f=(f<<14|f>>>18)+c|0,n+=(f&s|c&~s)+g[12]-1926607734|0,n=(n<<20|n>>>12)+f|0,s+=(n^f^c)+g[5]-378558|0,s=(s<<4|s>>>28)+n|0,c+=(s^n^f)+g[8]-2022574463|0,c=(c<<11|c>>>21)+s|0,f+=(c^s^n)+g[11]+1839030562|0,f=(f<<16|f>>>16)+c|0,n+=(f^c^s)+g[14]-35309556|0,n=(n<<23|n>>>9)+f|0,s+=(n^f^c)+g[1]-1530992060|0,s=(s<<4|s>>>28)+n|0,c+=(s^n^f)+g[4]+1272893353|0,c=(c<<11|c>>>21)+s|0,f+=(c^s^n)+g[7]-155497632|0,f=(f<<16|f>>>16)+c|0,n+=(f^c^s)+g[10]-1094730640|0,n=(n<<23|n>>>9)+f|0,s+=(n^f^c)+g[13]+681279174|0,s=(s<<4|s>>>28)+n|0,c+=(s^n^f)+g[0]-358537222|0,c=(c<<11|c>>>21)+s|0,f+=(c^s^n)+g[3]-722521979|0,f=(f<<16|f>>>16)+c|0,n+=(f^c^s)+g[6]+76029189|0,n=(n<<23|n>>>9)+f|0,s+=(n^f^c)+g[9]-640364487|0,s=(s<<4|s>>>28)+n|0,c+=(s^n^f)+g[12]-421815835|0,c=(c<<11|c>>>21)+s|0,f+=(c^s^n)+g[15]+530742520|0,f=(f<<16|f>>>16)+c|0,n+=(f^c^s)+g[2]-995338651|0,n=(n<<23|n>>>9)+f|0,s+=(f^(n|~c))+g[0]-198630844|0,s=(s<<6|s>>>26)+n|0,c+=(n^(s|~f))+g[7]+1126891415|0,c=(c<<10|c>>>22)+s|0,f+=(s^(c|~n))+g[14]-1416354905|0,f=(f<<15|f>>>17)+c|0,n+=(c^(f|~s))+g[5]-57434055|0,n=(n<<21|n>>>11)+f|0,s+=(f^(n|~c))+g[12]+1700485571|0,s=(s<<6|s>>>26)+n|0,c+=(n^(s|~f))+g[3]-1894986606|0,c=(c<<10|c>>>22)+s|0,f+=(s^(c|~n))+g[10]-1051523|0,f=(f<<15|f>>>17)+c|0,n+=(c^(f|~s))+g[1]-2054922799|0,n=(n<<21|n>>>11)+f|0,s+=(f^(n|~c))+g[8]+1873313359|0,s=(s<<6|s>>>26)+n|0,c+=(n^(s|~f))+g[15]-30611744|0,c=(c<<10|c>>>22)+s|0,f+=(s^(c|~n))+g[6]-1560198380|0,f=(f<<15|f>>>17)+c|0,n+=(c^(f|~s))+g[13]+1309151649|0,n=(n<<21|n>>>11)+f|0,s+=(f^(n|~c))+g[4]-145523070|0,s=(s<<6|s>>>26)+n|0,c+=(n^(s|~f))+g[11]-1120210379|0,c=(c<<10|c>>>22)+s|0,f+=(s^(c|~n))+g[2]+718787259|0,f=(f<<15|f>>>17)+c|0,n+=(c^(f|~s))+g[9]-343485551|0,n=(n<<21|n>>>11)+f|0,p[0]=s+p[0]|0,p[1]=n+p[1]|0,p[2]=f+p[2]|0,p[3]=c+p[3]|0}function o(p){var g=[],s;for(s=0;s<64;s+=4)g[s>>2]=p.charCodeAt(s)+(p.charCodeAt(s+1)<<8)+(p.charCodeAt(s+2)<<16)+(p.charCodeAt(s+3)<<24);return g}function a(p){var g=[],s;for(s=0;s<64;s+=4)g[s>>2]=p[s]+(p[s+1]<<8)+(p[s+2]<<16)+(p[s+3]<<24);return g}function u(p){var g=p.length,s=[1732584193,-271733879,-1732584194,271733878],n,f,c,I,H,X;for(n=64;n<=g;n+=64)l(s,o(p.substring(n-64,n)));for(p=p.substring(n-64),f=p.length,c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=0;n>2]|=p.charCodeAt(n)<<(n%4<<3);if(c[n>>2]|=128<<(n%4<<3),n>55)for(l(s,c),n=0;n<16;n+=1)c[n]=0;return I=g*8,I=I.toString(16).match(/(.*?)(.{0,8})$/),H=parseInt(I[2],16),X=parseInt(I[1],16)||0,c[14]=H,c[15]=X,l(s,c),s}function d(p){var g=p.length,s=[1732584193,-271733879,-1732584194,271733878],n,f,c,I,H,X;for(n=64;n<=g;n+=64)l(s,a(p.subarray(n-64,n)));for(p=n-64>2]|=p[n]<<(n%4<<3);if(c[n>>2]|=128<<(n%4<<3),n>55)for(l(s,c),n=0;n<16;n+=1)c[n]=0;return I=g*8,I=I.toString(16).match(/(.*?)(.{0,8})$/),H=parseInt(I[2],16),X=parseInt(I[1],16)||0,c[14]=H,c[15]=X,l(s,c),s}function m(p){var g="",s;for(s=0;s<4;s+=1)g+=r[p>>s*8+4&15]+r[p>>s*8&15];return g}function N(p){var g;for(g=0;g>16)+(g>>16)+(s>>16);return n<<16|s&65535}),typeof ArrayBuffer!="undefined"&&!ArrayBuffer.prototype.slice&&function(){function p(g,s){return g=g|0||0,g<0?Math.max(g+s,0):Math.min(g,s)}ArrayBuffer.prototype.slice=function(g,s){var n=this.byteLength,f=p(g,n),c=n,I,H,X,de;return s!==e&&(c=p(s,n)),f>c?new ArrayBuffer(0):(I=c-f,H=new ArrayBuffer(I),X=new Uint8Array(H),de=new Uint8Array(this,f,I),X.set(de),H)}}();function S(p){return/[\u0080-\uFFFF]/.test(p)&&(p=unescape(encodeURIComponent(p))),p}function P(p,g){var s=p.length,n=new ArrayBuffer(s),f=new Uint8Array(n),c;for(c=0;c>2]|=g.charCodeAt(n)<<(n%4<<3);return this._finish(f,s),c=N(this._hash),p&&(c=x(c)),this.reset(),c},b.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},b.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},b.prototype.setState=function(p){return this._buff=p.buff,this._length=p.length,this._hash=p.hash,this},b.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},b.prototype._finish=function(p,g){var s=g,n,f,c;if(p[s>>2]|=128<<(s%4<<3),s>55)for(l(this._hash,p),s=0;s<16;s+=1)p[s]=0;n=this._length*8,n=n.toString(16).match(/(.*?)(.{0,8})$/),f=parseInt(n[2],16),c=parseInt(n[1],16)||0,p[14]=f,p[15]=c,l(this._hash,p)},b.hash=function(p,g){return b.hashBinary(S(p),g)},b.hashBinary=function(p,g){var s=u(p),n=N(s);return g?x(n):n},b.ArrayBuffer=function(){this.reset()},b.ArrayBuffer.prototype.append=function(p){var g=F(this._buff.buffer,p,!0),s=g.length,n;for(this._length+=p.byteLength,n=64;n<=s;n+=64)l(this._hash,a(g.subarray(n-64,n)));return this._buff=n-64>2]|=g[f]<<(f%4<<3);return this._finish(n,s),c=N(this._hash),p&&(c=x(c)),this.reset(),c},b.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},b.ArrayBuffer.prototype.getState=function(){var p=b.prototype.getState.call(this);return p.buff=M(p.buff),p},b.ArrayBuffer.prototype.setState=function(p){return p.buff=P(p.buff,!0),b.prototype.setState.call(this,p)},b.ArrayBuffer.prototype.destroy=b.prototype.destroy,b.ArrayBuffer.prototype._finish=b.prototype._finish,b.ArrayBuffer.hash=function(p,g){var s=d(new Uint8Array(p)),n=N(s);return g?x(n):n},b})});var ir=Oe((tr,rr)=>{(function(e,t){typeof tr=="object"&&typeof rr!="undefined"?rr.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.DOMPurify=t())})(tr,function(){"use strict";function e(A){return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},e(A)}function t(A,T){return t=Object.setPrototypeOf||function(R,k){return R.__proto__=k,R},t(A,T)}function r(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(A){return!1}}function i(A,T,E){return r()?i=Reflect.construct:i=function(k,se,he){var oe=[null];oe.push.apply(oe,se);var $e=Function.bind.apply(k,oe),ze=new $e;return he&&t(ze,he.prototype),ze},i.apply(null,arguments)}function l(A){return o(A)||a(A)||u(A)||m()}function o(A){if(Array.isArray(A))return d(A)}function a(A){if(typeof Symbol!="undefined"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}function u(A,T){if(A){if(typeof A=="string")return d(A,T);var E=Object.prototype.toString.call(A).slice(8,-1);if(E==="Object"&&A.constructor&&(E=A.constructor.name),E==="Map"||E==="Set")return Array.from(A);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return d(A,T)}}function d(A,T){(T==null||T>A.length)&&(T=A.length);for(var E=0,R=new Array(T);E1?E-1:0),k=1;k/gm),De=b(/\${[\w\W]*}/gm),ue=b(/^data-[\-\w.\u00B7-\uFFFF]/),Ve=b(/^aria-[\-\w]+$/),We=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Si=b(/^(?:\w+script|data):/i),Ri=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Di=b(/^html$/i),Li=function(){return typeof window=="undefined"?null:window},xi=function(T,E){if(e(T)!=="object"||typeof T.createPolicy!="function")return null;var R=null,k="data-tt-policy-suffix";E.currentScript&&E.currentScript.hasAttribute(k)&&(R=E.currentScript.getAttribute(k));var se="dompurify"+(R?"#"+R:"");try{return T.createPolicy(se,{createHTML:function(oe){return oe},createScriptURL:function(oe){return oe}})}catch(he){return console.warn("TrustedTypes policy "+se+" could not be created."),null}};function gr(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Li(),T=function(h){return gr(h)};if(T.version="2.4.3",T.removed=[],!A||!A.document||A.document.nodeType!==9)return T.isSupported=!1,T;var E=A.document,R=A.document,k=A.DocumentFragment,se=A.HTMLTemplateElement,he=A.Node,oe=A.Element,$e=A.NodeFilter,ze=A.NamedNodeMap,Ci=ze===void 0?A.NamedNodeMap||A.MozNamedAttrMap:ze,Pi=A.HTMLFormElement,Mi=A.DOMParser,et=A.trustedTypes,tt=oe.prototype,Oi=O(tt,"cloneNode"),Fi=O(tt,"nextSibling"),ki=O(tt,"childNodes"),yt=O(tt,"parentNode");if(typeof se=="function"){var Tt=R.createElement("template");Tt.content&&Tt.content.ownerDocument&&(R=Tt.content.ownerDocument)}var re=xi(et,E),bt=re?re.createHTML(""):"",rt=R,_t=rt.implementation,Ui=rt.createNodeIterator,Bi=rt.createDocumentFragment,Hi=rt.getElementsByTagName,Gi=E.importNode,pr={};try{pr=ne(R).documentMode?R.documentMode:{}}catch(_){}var le={};T.isSupported=typeof yt=="function"&&_t&&typeof _t.createHTMLDocument!="undefined"&&pr!==9;var Et=ae,wt=Qe,St=De,Vi=ue,Wi=Ve,$i=Si,mr=Ri,Rt=We,W=null,dr=w({},[].concat(l(ve),l(Ee),l(we),l(Ae),l(Re))),j=null,vr=w({},[].concat(l(Ne),l(He),l(Ge),l(ee))),B=Object.seal(Object.create(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}})),qe=null,Dt=null,Nr=!0,Lt=!0,Ar=!1,Le=!1,ye=!1,xt=!1,It=!1,xe=!1,it=!1,nt=!1,yr=!0,Tr=!1,zi="user-content-",Ct=!0,je=!1,Ie={},Ce=null,br=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"]),_r=null,Er=w({},["audio","video","img","source","image","track"]),Pt=null,wr=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),at="http://www.w3.org/1998/Math/MathML",st="http://www.w3.org/2000/svg",fe="http://www.w3.org/1999/xhtml",Pe=fe,Mt=!1,Ot=null,qi=w({},[at,st,fe],X),Te,ji=["application/xhtml+xml","text/html"],Yi="text/html",$,Me=null,Xi=R.createElement("form"),Sr=function(h){return h instanceof RegExp||h instanceof Function},Ft=function(h){Me&&Me===h||((!h||e(h)!=="object")&&(h={}),h=ne(h),Te=ji.indexOf(h.PARSER_MEDIA_TYPE)===-1?Te=Yi:Te=h.PARSER_MEDIA_TYPE,$=Te==="application/xhtml+xml"?X:H,W="ALLOWED_TAGS"in h?w({},h.ALLOWED_TAGS,$):dr,j="ALLOWED_ATTR"in h?w({},h.ALLOWED_ATTR,$):vr,Ot="ALLOWED_NAMESPACES"in h?w({},h.ALLOWED_NAMESPACES,X):qi,Pt="ADD_URI_SAFE_ATTR"in h?w(ne(wr),h.ADD_URI_SAFE_ATTR,$):wr,_r="ADD_DATA_URI_TAGS"in h?w(ne(Er),h.ADD_DATA_URI_TAGS,$):Er,Ce="FORBID_CONTENTS"in h?w({},h.FORBID_CONTENTS,$):br,qe="FORBID_TAGS"in h?w({},h.FORBID_TAGS,$):{},Dt="FORBID_ATTR"in h?w({},h.FORBID_ATTR,$):{},Ie="USE_PROFILES"in h?h.USE_PROFILES:!1,Nr=h.ALLOW_ARIA_ATTR!==!1,Lt=h.ALLOW_DATA_ATTR!==!1,Ar=h.ALLOW_UNKNOWN_PROTOCOLS||!1,Le=h.SAFE_FOR_TEMPLATES||!1,ye=h.WHOLE_DOCUMENT||!1,xe=h.RETURN_DOM||!1,it=h.RETURN_DOM_FRAGMENT||!1,nt=h.RETURN_TRUSTED_TYPE||!1,It=h.FORCE_BODY||!1,yr=h.SANITIZE_DOM!==!1,Tr=h.SANITIZE_NAMED_PROPS||!1,Ct=h.KEEP_CONTENT!==!1,je=h.IN_PLACE||!1,Rt=h.ALLOWED_URI_REGEXP||Rt,Pe=h.NAMESPACE||fe,h.CUSTOM_ELEMENT_HANDLING&&Sr(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=h.CUSTOM_ELEMENT_HANDLING.tagNameCheck),h.CUSTOM_ELEMENT_HANDLING&&Sr(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),h.CUSTOM_ELEMENT_HANDLING&&typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(B.allowCustomizedBuiltInElements=h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Le&&(Lt=!1),it&&(xe=!0),Ie&&(W=w({},l(Re)),j=[],Ie.html===!0&&(w(W,ve),w(j,Ne)),Ie.svg===!0&&(w(W,Ee),w(j,He),w(j,ee)),Ie.svgFilters===!0&&(w(W,we),w(j,He),w(j,ee)),Ie.mathMl===!0&&(w(W,Ae),w(j,Ge),w(j,ee))),h.ADD_TAGS&&(W===dr&&(W=ne(W)),w(W,h.ADD_TAGS,$)),h.ADD_ATTR&&(j===vr&&(j=ne(j)),w(j,h.ADD_ATTR,$)),h.ADD_URI_SAFE_ATTR&&w(Pt,h.ADD_URI_SAFE_ATTR,$),h.FORBID_CONTENTS&&(Ce===br&&(Ce=ne(Ce)),w(Ce,h.FORBID_CONTENTS,$)),Ct&&(W["#text"]=!0),ye&&w(W,["html","head","body"]),W.table&&(w(W,["tbody"]),delete qe.tbody),x&&x(h),Me=h)},Rr=w({},["mi","mo","mn","ms","mtext"]),Dr=w({},["foreignobject","desc","title","annotation-xml"]),Ki=w({},["title","style","font","a","script"]),ot=w({},Ee);w(ot,we),w(ot,Ze);var kt=w({},Ae);w(kt,Se);var Ji=function(h){var v=yt(h);(!v||!v.tagName)&&(v={namespaceURI:Pe,tagName:"template"});var y=H(h.tagName),C=H(v.tagName);return Ot[h.namespaceURI]?h.namespaceURI===st?v.namespaceURI===fe?y==="svg":v.namespaceURI===at?y==="svg"&&(C==="annotation-xml"||Rr[C]):Boolean(ot[y]):h.namespaceURI===at?v.namespaceURI===fe?y==="math":v.namespaceURI===st?y==="math"&&Dr[C]:Boolean(kt[y]):h.namespaceURI===fe?v.namespaceURI===st&&!Dr[C]||v.namespaceURI===at&&!Rr[C]?!1:!kt[y]&&(Ki[y]||!ot[y]):!!(Te==="application/xhtml+xml"&&Ot[h.namespaceURI]):!1},ge=function(h){I(T.removed,{element:h});try{h.parentNode.removeChild(h)}catch(v){try{h.outerHTML=bt}catch(y){h.remove()}}},Ut=function(h,v){try{I(T.removed,{attribute:v.getAttributeNode(h),from:v})}catch(y){I(T.removed,{attribute:null,from:v})}if(v.removeAttribute(h),h==="is"&&!j[h])if(xe||it)try{ge(v)}catch(y){}else try{v.setAttribute(h,"")}catch(y){}},Lr=function(h){var v,y;if(It)h=""+h;else{var C=de(h,/^[\r\n\t ]+/);y=C&&C[0]}Te==="application/xhtml+xml"&&Pe===fe&&(h=''+h+"");var te=re?re.createHTML(h):h;if(Pe===fe)try{v=new Mi().parseFromString(te,Te)}catch(Y){}if(!v||!v.documentElement){v=_t.createDocument(Pe,"template",null);try{v.documentElement.innerHTML=Mt?bt:te}catch(Y){}}var K=v.body||v.documentElement;return h&&y&&K.insertBefore(R.createTextNode(y),K.childNodes[0]||null),Pe===fe?Hi.call(v,ye?"html":"body")[0]:ye?v.documentElement:K},xr=function(h){return Ui.call(h.ownerDocument||h,h,$e.SHOW_ELEMENT|$e.SHOW_COMMENT|$e.SHOW_TEXT,null,!1)},Zi=function(h){return h instanceof Pi&&(typeof h.nodeName!="string"||typeof h.textContent!="string"||typeof h.removeChild!="function"||!(h.attributes instanceof Ci)||typeof h.removeAttribute!="function"||typeof h.setAttribute!="function"||typeof h.namespaceURI!="string"||typeof h.insertBefore!="function"||typeof h.hasChildNodes!="function")},Ye=function(h){return e(he)==="object"?h instanceof he:h&&e(h)==="object"&&typeof h.nodeType=="number"&&typeof h.nodeName=="string"},pe=function(h,v,y){le[h]&&f(le[h],function(C){C.call(T,v,y,Me)})},Ir=function(h){var v;if(pe("beforeSanitizeElements",h,null),Zi(h)||V(/[\u0080-\uFFFF]/,h.nodeName))return ge(h),!0;var y=$(h.nodeName);if(pe("uponSanitizeElement",h,{tagName:y,allowedTags:W}),h.hasChildNodes()&&!Ye(h.firstElementChild)&&(!Ye(h.content)||!Ye(h.content.firstElementChild))&&V(/<[/\w]/g,h.innerHTML)&&V(/<[/\w]/g,h.textContent)||y==="select"&&V(/