/* THIS IS A GENERATED/BUNDLED FILE BY ESBUILD if you want to view the source, please visit the github repository of this plugin */ var An=Object.create;var it=Object.defineProperty;var En=Object.getOwnPropertyDescriptor;var _n=Object.getOwnPropertyNames;var wn=Object.getPrototypeOf,Sn=Object.prototype.hasOwnProperty;var Rn=(e,i,t)=>i in e?it(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var Se=(e,i)=>()=>(i||e((i={exports:{}}).exports,i),i.exports),Dn=(e,i)=>{for(var t in i)it(e,t,{get:i[t],enumerable:!0})},Qi=(e,i,t,r)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of _n(i))!Sn.call(e,a)&&a!==t&&it(e,a,{get:()=>i[a],enumerable:!(r=En(i,a))||r.enumerable});return e};var Ve=(e,i,t)=>(t=e!=null?An(wn(e)):{},Qi(i||!e||!e.__esModule?it(t,"default",{value:e,enumerable:!0}):t,e)),xn=e=>Qi(it({},"__esModule",{value:!0}),e);var k=(e,i,t)=>Rn(e,typeof i!="symbol"?i+"":i,t);var ar=Se((rr,nr)=>{(function(e){if(typeof rr=="object")nr.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var i;try{i=window}catch(t){i=self}i.SparkMD5=e()}})(function(e){"use strict";var i=function(m,p){return m+p&4294967295},t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(m,p,o,s,g,c){return p=i(i(p,m),i(s,c)),i(p<>>32-g,o)}function a(m,p){var o=m[0],s=m[1],g=m[2],c=m[3];o+=(s&g|~s&c)+p[0]-680876936|0,o=(o<<7|o>>>25)+s|0,c+=(o&s|~o&g)+p[1]-389564586|0,c=(c<<12|c>>>20)+o|0,g+=(c&o|~c&s)+p[2]+606105819|0,g=(g<<17|g>>>15)+c|0,s+=(g&c|~g&o)+p[3]-1044525330|0,s=(s<<22|s>>>10)+g|0,o+=(s&g|~s&c)+p[4]-176418897|0,o=(o<<7|o>>>25)+s|0,c+=(o&s|~o&g)+p[5]+1200080426|0,c=(c<<12|c>>>20)+o|0,g+=(c&o|~c&s)+p[6]-1473231341|0,g=(g<<17|g>>>15)+c|0,s+=(g&c|~g&o)+p[7]-45705983|0,s=(s<<22|s>>>10)+g|0,o+=(s&g|~s&c)+p[8]+1770035416|0,o=(o<<7|o>>>25)+s|0,c+=(o&s|~o&g)+p[9]-1958414417|0,c=(c<<12|c>>>20)+o|0,g+=(c&o|~c&s)+p[10]-42063|0,g=(g<<17|g>>>15)+c|0,s+=(g&c|~g&o)+p[11]-1990404162|0,s=(s<<22|s>>>10)+g|0,o+=(s&g|~s&c)+p[12]+1804603682|0,o=(o<<7|o>>>25)+s|0,c+=(o&s|~o&g)+p[13]-40341101|0,c=(c<<12|c>>>20)+o|0,g+=(c&o|~c&s)+p[14]-1502002290|0,g=(g<<17|g>>>15)+c|0,s+=(g&c|~g&o)+p[15]+1236535329|0,s=(s<<22|s>>>10)+g|0,o+=(s&c|g&~c)+p[1]-165796510|0,o=(o<<5|o>>>27)+s|0,c+=(o&g|s&~g)+p[6]-1069501632|0,c=(c<<9|c>>>23)+o|0,g+=(c&s|o&~s)+p[11]+643717713|0,g=(g<<14|g>>>18)+c|0,s+=(g&o|c&~o)+p[0]-373897302|0,s=(s<<20|s>>>12)+g|0,o+=(s&c|g&~c)+p[5]-701558691|0,o=(o<<5|o>>>27)+s|0,c+=(o&g|s&~g)+p[10]+38016083|0,c=(c<<9|c>>>23)+o|0,g+=(c&s|o&~s)+p[15]-660478335|0,g=(g<<14|g>>>18)+c|0,s+=(g&o|c&~o)+p[4]-405537848|0,s=(s<<20|s>>>12)+g|0,o+=(s&c|g&~c)+p[9]+568446438|0,o=(o<<5|o>>>27)+s|0,c+=(o&g|s&~g)+p[14]-1019803690|0,c=(c<<9|c>>>23)+o|0,g+=(c&s|o&~s)+p[3]-187363961|0,g=(g<<14|g>>>18)+c|0,s+=(g&o|c&~o)+p[8]+1163531501|0,s=(s<<20|s>>>12)+g|0,o+=(s&c|g&~c)+p[13]-1444681467|0,o=(o<<5|o>>>27)+s|0,c+=(o&g|s&~g)+p[2]-51403784|0,c=(c<<9|c>>>23)+o|0,g+=(c&s|o&~s)+p[7]+1735328473|0,g=(g<<14|g>>>18)+c|0,s+=(g&o|c&~o)+p[12]-1926607734|0,s=(s<<20|s>>>12)+g|0,o+=(s^g^c)+p[5]-378558|0,o=(o<<4|o>>>28)+s|0,c+=(o^s^g)+p[8]-2022574463|0,c=(c<<11|c>>>21)+o|0,g+=(c^o^s)+p[11]+1839030562|0,g=(g<<16|g>>>16)+c|0,s+=(g^c^o)+p[14]-35309556|0,s=(s<<23|s>>>9)+g|0,o+=(s^g^c)+p[1]-1530992060|0,o=(o<<4|o>>>28)+s|0,c+=(o^s^g)+p[4]+1272893353|0,c=(c<<11|c>>>21)+o|0,g+=(c^o^s)+p[7]-155497632|0,g=(g<<16|g>>>16)+c|0,s+=(g^c^o)+p[10]-1094730640|0,s=(s<<23|s>>>9)+g|0,o+=(s^g^c)+p[13]+681279174|0,o=(o<<4|o>>>28)+s|0,c+=(o^s^g)+p[0]-358537222|0,c=(c<<11|c>>>21)+o|0,g+=(c^o^s)+p[3]-722521979|0,g=(g<<16|g>>>16)+c|0,s+=(g^c^o)+p[6]+76029189|0,s=(s<<23|s>>>9)+g|0,o+=(s^g^c)+p[9]-640364487|0,o=(o<<4|o>>>28)+s|0,c+=(o^s^g)+p[12]-421815835|0,c=(c<<11|c>>>21)+o|0,g+=(c^o^s)+p[15]+530742520|0,g=(g<<16|g>>>16)+c|0,s+=(g^c^o)+p[2]-995338651|0,s=(s<<23|s>>>9)+g|0,o+=(g^(s|~c))+p[0]-198630844|0,o=(o<<6|o>>>26)+s|0,c+=(s^(o|~g))+p[7]+1126891415|0,c=(c<<10|c>>>22)+o|0,g+=(o^(c|~s))+p[14]-1416354905|0,g=(g<<15|g>>>17)+c|0,s+=(c^(g|~o))+p[5]-57434055|0,s=(s<<21|s>>>11)+g|0,o+=(g^(s|~c))+p[12]+1700485571|0,o=(o<<6|o>>>26)+s|0,c+=(s^(o|~g))+p[3]-1894986606|0,c=(c<<10|c>>>22)+o|0,g+=(o^(c|~s))+p[10]-1051523|0,g=(g<<15|g>>>17)+c|0,s+=(c^(g|~o))+p[1]-2054922799|0,s=(s<<21|s>>>11)+g|0,o+=(g^(s|~c))+p[8]+1873313359|0,o=(o<<6|o>>>26)+s|0,c+=(s^(o|~g))+p[15]-30611744|0,c=(c<<10|c>>>22)+o|0,g+=(o^(c|~s))+p[6]-1560198380|0,g=(g<<15|g>>>17)+c|0,s+=(c^(g|~o))+p[13]+1309151649|0,s=(s<<21|s>>>11)+g|0,o+=(g^(s|~c))+p[4]-145523070|0,o=(o<<6|o>>>26)+s|0,c+=(s^(o|~g))+p[11]-1120210379|0,c=(c<<10|c>>>22)+o|0,g+=(o^(c|~s))+p[2]+718787259|0,g=(g<<15|g>>>17)+c|0,s+=(c^(g|~o))+p[9]-343485551|0,s=(s<<21|s>>>11)+g|0,m[0]=o+m[0]|0,m[1]=s+m[1]|0,m[2]=g+m[2]|0,m[3]=c+m[3]|0}function l(m){var p=[],o;for(o=0;o<64;o+=4)p[o>>2]=m.charCodeAt(o)+(m.charCodeAt(o+1)<<8)+(m.charCodeAt(o+2)<<16)+(m.charCodeAt(o+3)<<24);return p}function n(m){var p=[],o;for(o=0;o<64;o+=4)p[o>>2]=m[o]+(m[o+1]<<8)+(m[o+2]<<16)+(m[o+3]<<24);return p}function u(m){var p=m.length,o=[1732584193,-271733879,-1732584194,271733878],s,g,c,P,$,J;for(s=64;s<=p;s+=64)a(o,l(m.substring(s-64,s)));for(m=m.substring(s-64),g=m.length,c=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],s=0;s>2]|=m.charCodeAt(s)<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(a(o,c),s=0;s<16;s+=1)c[s]=0;return P=p*8,P=P.toString(16).match(/(.*?)(.{0,8})$/),$=parseInt(P[2],16),J=parseInt(P[1],16)||0,c[14]=$,c[15]=J,a(o,c),o}function d(m){var p=m.length,o=[1732584193,-271733879,-1732584194,271733878],s,g,c,P,$,J;for(s=64;s<=p;s+=64)a(o,n(m.subarray(s-64,s)));for(m=s-64>2]|=m[s]<<(s%4<<3);if(c[s>>2]|=128<<(s%4<<3),s>55)for(a(o,c),s=0;s<16;s+=1)c[s]=0;return P=p*8,P=P.toString(16).match(/(.*?)(.{0,8})$/),$=parseInt(P[2],16),J=parseInt(P[1],16)||0,c[14]=$,c[15]=J,a(o,c),o}function f(m){var p="",o;for(o=0;o<4;o+=1)p+=t[m>>o*8+4&15]+t[m>>o*8&15];return p}function y(m){var p;for(p=0;p>16)+(p>>16)+(o>>16);return s<<16|o&65535}),typeof ArrayBuffer!="undefined"&&!ArrayBuffer.prototype.slice&&function(){function m(p,o){return p=p|0||0,p<0?Math.max(p+o,0):Math.min(p,o)}ArrayBuffer.prototype.slice=function(p,o){var s=this.byteLength,g=m(p,s),c=s,P,$,J,me;return o!==e&&(c=m(o,s)),g>c?new ArrayBuffer(0):(P=c-g,$=new ArrayBuffer(P),J=new Uint8Array($),me=new Uint8Array(this,g,P),J.set(me),$)}}();function w(m){return/[\u0080-\uFFFF]/.test(m)&&(m=unescape(encodeURIComponent(m))),m}function C(m,p){var o=m.length,s=new ArrayBuffer(o),g=new Uint8Array(s),c;for(c=0;c>2]|=p.charCodeAt(s)<<(s%4<<3);return this._finish(g,o),c=y(this._hash),m&&(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(m){return this._buff=m.buff,this._length=m.length,this._hash=m.hash,this},b.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},b.prototype._finish=function(m,p){var o=p,s,g,c;if(m[o>>2]|=128<<(o%4<<3),o>55)for(a(this._hash,m),o=0;o<16;o+=1)m[o]=0;s=this._length*8,s=s.toString(16).match(/(.*?)(.{0,8})$/),g=parseInt(s[2],16),c=parseInt(s[1],16)||0,m[14]=g,m[15]=c,a(this._hash,m)},b.hash=function(m,p){return b.hashBinary(w(m),p)},b.hashBinary=function(m,p){var o=u(m),s=y(o);return p?x(s):s},b.ArrayBuffer=function(){this.reset()},b.ArrayBuffer.prototype.append=function(m){var p=M(this._buff.buffer,m,!0),o=p.length,s;for(this._length+=m.byteLength,s=64;s<=o;s+=64)a(this._hash,n(p.subarray(s-64,s)));return this._buff=s-64>2]|=p[g]<<(g%4<<3);return this._finish(s,o),c=y(this._hash),m&&(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 m=b.prototype.getState.call(this);return m.buff=L(m.buff),m},b.ArrayBuffer.prototype.setState=function(m){return m.buff=C(m.buff,!0),b.prototype.setState.call(this,m)},b.ArrayBuffer.prototype.destroy=b.prototype.destroy,b.ArrayBuffer.prototype._finish=b.prototype._finish,b.ArrayBuffer.hash=function(m,p){var o=d(new Uint8Array(m)),s=y(o);return p?x(s):s},b})});var ur=Se(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.toSeconds=K.end=K.parse=K.pattern=void 0;var We="\\d+",ri="".concat(We,"(?:[\\.,]").concat(We,")?"),Fn="(".concat(We,"Y)?(").concat(We,"M)?(").concat(We,"W)?(").concat(We,"D)?"),Un="T(".concat(ri,"H)?(").concat(ri,"M)?(").concat(ri,"S)?"),Bn="P(?:".concat(Fn,"(?:").concat(Un,")?)"),Hn=["years","months","weeks","days","hours","minutes","seconds"],cr=Object.freeze({years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0});K.pattern=new RegExp(Bn);var Gn=function(e){var i=e.replace(/,/g,".").match(K.pattern);if(!i)throw new RangeError("invalid duration: ".concat(e));var t=i.slice(1);if(t.filter(function(r){return r!=null}).length===0)throw new RangeError("invalid duration: ".concat(e));if(t.filter(function(r){return/\./.test(r||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return t.reduce(function(r,a,l){return r[Hn[l]]=parseFloat(a||"0")||0,r},{})};K.parse=Gn;var Vn=function(e,i){i===void 0&&(i=new Date);var t=Object.assign({},cr,e),r=i.getTime(),a=new Date(r);a.setFullYear(a.getFullYear()+t.years),a.setMonth(a.getMonth()+t.months),a.setDate(a.getDate()+t.days);var l=t.hours*3600*1e3,n=t.minutes*60*1e3;return a.setMilliseconds(a.getMilliseconds()+t.seconds*1e3+l+n),a.setDate(a.getDate()+t.weeks*7),a};K.end=Vn;var Wn=function(e,i){i===void 0&&(i=new Date);var t=Object.assign({},cr,e),r=i.getTime(),a=new Date(r),l=(0,K.end)(t,a),n=i.getTimezoneOffset(),u=l.getTimezoneOffset(),d=(n-u)*60,f=(l.getTime()-a.getTime())/1e3;return f+d};K.toSeconds=Wn;K.default={end:K.end,toSeconds:K.toSeconds,pattern:K.pattern,parse:K.parse}});var vi=Se((fi,di)=>{(function(e,i){typeof fi=="object"&&typeof di!="undefined"?di.exports=i():typeof define=="function"&&define.amd?define(i):(e=typeof globalThis!="undefined"?globalThis:e||self,e.DOMPurify=i())})(fi,function(){"use strict";function e(N){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},e(N)}function i(N,A){return i=Object.setPrototypeOf||function(I,V){return I.__proto__=V,I},i(N,A)}function t(){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(N){return!1}}function r(N,A,R){return t()?r=Reflect.construct:r=function(V,ae,ne){var he=[null];he.push.apply(he,ae);var Ae=Function.bind.apply(V,he),Ze=new Ae;return ne&&i(Ze,ne.prototype),Ze},r.apply(null,arguments)}function a(N){return l(N)||n(N)||u(N)||f()}function l(N){if(Array.isArray(N))return d(N)}function n(N){if(typeof Symbol!="undefined"&&N[Symbol.iterator]!=null||N["@@iterator"]!=null)return Array.from(N)}function u(N,A){if(N){if(typeof N=="string")return d(N,A);var R=Object.prototype.toString.call(N).slice(8,-1);if(R==="Object"&&N.constructor&&(R=N.constructor.name),R==="Map"||R==="Set")return Array.from(N);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return d(N,A)}}function d(N,A){(A==null||A>N.length)&&(A=N.length);for(var R=0,I=new Array(A);R1?R-1:0),V=1;V/gm),Oe=b(/\${[\w\W]*}/gm),fe=b(/^data-[\-\w.\u00B7-\uFFFF]/),Ke=b(/^aria-[\-\w]+$/),Je=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),qr=b(/^(?:\w+script|data):/i),jr=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Yr=b(/^html$/i),Xr=b(/^[a-z][.\w]*(-[.\w]+)+$/i),Kr=function(){return typeof window=="undefined"?null:window},Jr=function(A,R){if(e(A)!=="object"||typeof A.createPolicy!="function")return null;var I=null,V="data-tt-policy-suffix";R.currentScript&&R.currentScript.hasAttribute(V)&&(I=R.currentScript.getAttribute(V));var ae="dompurify"+(I?"#"+I:"");try{return A.createPolicy(ae,{createHTML:function(he){return he},createScriptURL:function(he){return he}})}catch(ne){return console.warn("TrustedTypes policy "+ae+" could not be created."),null}};function Di(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kr(),A=function(h){return Di(h)};if(A.version="2.5.6",A.removed=[],!N||!N.document||N.document.nodeType!==9)return A.isSupported=!1,A;var R=N.document,I=N.document,V=N.DocumentFragment,ae=N.HTMLTemplateElement,ne=N.Node,he=N.Element,Ae=N.NodeFilter,Ze=N.NamedNodeMap,Qr=Ze===void 0?N.NamedNodeMap||N.MozNamedAttrMap:Ze,en=N.HTMLFormElement,tn=N.DOMParser,ot=N.trustedTypes,lt=he.prototype,rn=F(lt,"cloneNode"),nn=F(lt,"nextSibling"),an=F(lt,"childNodes"),Pt=F(lt,"parentNode");if(typeof ae=="function"){var Mt=I.createElement("template");Mt.content&&Mt.content.ownerDocument&&(I=Mt.content.ownerDocument)}var oe=Jr(ot,R),Ot=oe?oe.createHTML(""):"",ct=I,kt=ct.implementation,sn=ct.createNodeIterator,on=ct.createDocumentFragment,ln=ct.getElementsByTagName,cn=R.importNode,xi={};try{xi=ce(I).documentMode?I.documentMode:{}}catch(_){}var ge={};A.isSupported=typeof Pt=="function"&&kt&&kt.createHTMLDocument!==void 0&&xi!==9;var Ft=ue,Ut=st,Bt=Oe,un=fe,hn=Ke,gn=qr,Li=jr,pn=Xr,Ht=Je,q=null,Ci=D({},[].concat(a(ye),a(Ce),a(Ie),a(Ne),a(Me))),j=null,Ii=D({},[].concat(a(Te),a(Ye),a(Xe),a(ie))),U=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,Gt=null,Pi=!0,Vt=!0,Mi=!1,Oi=!0,ke=!1,Wt=!0,Ee=!1,$t=!1,zt=!1,Fe=!1,ut=!1,ht=!1,ki=!0,Fi=!1,mn="user-content-",qt=!0,et=!1,Ue={},Be=null,Ui=D({},["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"]),Bi=null,Hi=D({},["audio","video","img","source","image","track"]),jt=null,Gi=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),gt="http://www.w3.org/1998/Math/MathML",pt="http://www.w3.org/2000/svg",de="http://www.w3.org/1999/xhtml",He=de,Yt=!1,Xt=null,fn=D({},[gt,pt,de],J),_e,dn=["application/xhtml+xml","text/html"],vn="text/html",Y,Ge=null,bn=I.createElement("form"),Vi=function(h){return h instanceof RegExp||h instanceof Function},Kt=function(h){Ge&&Ge===h||((!h||e(h)!=="object")&&(h={}),h=ce(h),_e=dn.indexOf(h.PARSER_MEDIA_TYPE)===-1?_e=vn:_e=h.PARSER_MEDIA_TYPE,Y=_e==="application/xhtml+xml"?J:$,q="ALLOWED_TAGS"in h?D({},h.ALLOWED_TAGS,Y):Ci,j="ALLOWED_ATTR"in h?D({},h.ALLOWED_ATTR,Y):Ii,Xt="ALLOWED_NAMESPACES"in h?D({},h.ALLOWED_NAMESPACES,J):fn,jt="ADD_URI_SAFE_ATTR"in h?D(ce(Gi),h.ADD_URI_SAFE_ATTR,Y):Gi,Bi="ADD_DATA_URI_TAGS"in h?D(ce(Hi),h.ADD_DATA_URI_TAGS,Y):Hi,Be="FORBID_CONTENTS"in h?D({},h.FORBID_CONTENTS,Y):Ui,Qe="FORBID_TAGS"in h?D({},h.FORBID_TAGS,Y):{},Gt="FORBID_ATTR"in h?D({},h.FORBID_ATTR,Y):{},Ue="USE_PROFILES"in h?h.USE_PROFILES:!1,Pi=h.ALLOW_ARIA_ATTR!==!1,Vt=h.ALLOW_DATA_ATTR!==!1,Mi=h.ALLOW_UNKNOWN_PROTOCOLS||!1,Oi=h.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ke=h.SAFE_FOR_TEMPLATES||!1,Wt=h.SAFE_FOR_XML!==!1,Ee=h.WHOLE_DOCUMENT||!1,Fe=h.RETURN_DOM||!1,ut=h.RETURN_DOM_FRAGMENT||!1,ht=h.RETURN_TRUSTED_TYPE||!1,zt=h.FORCE_BODY||!1,ki=h.SANITIZE_DOM!==!1,Fi=h.SANITIZE_NAMED_PROPS||!1,qt=h.KEEP_CONTENT!==!1,et=h.IN_PLACE||!1,Ht=h.ALLOWED_URI_REGEXP||Ht,He=h.NAMESPACE||de,U=h.CUSTOM_ELEMENT_HANDLING||{},h.CUSTOM_ELEMENT_HANDLING&&Vi(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(U.tagNameCheck=h.CUSTOM_ELEMENT_HANDLING.tagNameCheck),h.CUSTOM_ELEMENT_HANDLING&&Vi(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(U.attributeNameCheck=h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),h.CUSTOM_ELEMENT_HANDLING&&typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(U.allowCustomizedBuiltInElements=h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Vt=!1),ut&&(Fe=!0),Ue&&(q=D({},a(Me)),j=[],Ue.html===!0&&(D(q,ye),D(j,Te)),Ue.svg===!0&&(D(q,Ce),D(j,Ye),D(j,ie)),Ue.svgFilters===!0&&(D(q,Ie),D(j,Ye),D(j,ie)),Ue.mathMl===!0&&(D(q,Ne),D(j,Xe),D(j,ie))),h.ADD_TAGS&&(q===Ci&&(q=ce(q)),D(q,h.ADD_TAGS,Y)),h.ADD_ATTR&&(j===Ii&&(j=ce(j)),D(j,h.ADD_ATTR,Y)),h.ADD_URI_SAFE_ATTR&&D(jt,h.ADD_URI_SAFE_ATTR,Y),h.FORBID_CONTENTS&&(Be===Ui&&(Be=ce(Be)),D(Be,h.FORBID_CONTENTS,Y)),qt&&(q["#text"]=!0),Ee&&D(q,["html","head","body"]),q.table&&(D(q,["tbody"]),delete Qe.tbody),x&&x(h),Ge=h)},Wi=D({},["mi","mo","mn","ms","mtext"]),$i=D({},["foreignobject","annotation-xml"]),yn=D({},["title","style","font","a","script"]),mt=D({},Ce);D(mt,Ie),D(mt,at);var Jt=D({},Ne);D(Jt,Pe);var Tn=function(h){var v=Pt(h);(!v||!v.tagName)&&(v={namespaceURI:He,tagName:"template"});var T=$(h.tagName),O=$(v.tagName);return Xt[h.namespaceURI]?h.namespaceURI===pt?v.namespaceURI===de?T==="svg":v.namespaceURI===gt?T==="svg"&&(O==="annotation-xml"||Wi[O]):!!mt[T]:h.namespaceURI===gt?v.namespaceURI===de?T==="math":v.namespaceURI===pt?T==="math"&&$i[O]:!!Jt[T]:h.namespaceURI===de?v.namespaceURI===pt&&!$i[O]||v.namespaceURI===gt&&!Wi[O]?!1:!Jt[T]&&(yn[T]||!mt[T]):!!(_e==="application/xhtml+xml"&&Xt[h.namespaceURI]):!1},se=function(h){P(A.removed,{element:h});try{h.parentNode.removeChild(h)}catch(v){try{h.outerHTML=Ot}catch(T){h.remove()}}},ft=function(h,v){try{P(A.removed,{attribute:v.getAttributeNode(h),from:v})}catch(T){P(A.removed,{attribute:null,from:v})}if(v.removeAttribute(h),h==="is"&&!j[h])if(Fe||ut)try{se(v)}catch(T){}else try{v.setAttribute(h,"")}catch(T){}},zi=function(h){var v,T;if(zt)h=""+h;else{var O=me(h,/^[\r\n\t ]+/);T=O&&O[0]}_e==="application/xhtml+xml"&&He===de&&(h=''+h+"");var re=oe?oe.createHTML(h):h;if(He===de)try{v=new tn().parseFromString(re,_e)}catch(X){}if(!v||!v.documentElement){v=kt.createDocument(He,"template",null);try{v.documentElement.innerHTML=Yt?Ot:re}catch(X){}}var Z=v.body||v.documentElement;return h&&T&&Z.insertBefore(I.createTextNode(T),Z.childNodes[0]||null),He===de?ln.call(v,Ee?"html":"body")[0]:Ee?v.documentElement:Z},qi=function(h){return sn.call(h.ownerDocument||h,h,Ae.SHOW_ELEMENT|Ae.SHOW_COMMENT|Ae.SHOW_TEXT|Ae.SHOW_PROCESSING_INSTRUCTION|Ae.SHOW_CDATA_SECTION,null,!1)},ji=function(h){return h instanceof en&&(typeof h.nodeName!="string"||typeof h.textContent!="string"||typeof h.removeChild!="function"||!(h.attributes instanceof Qr)||typeof h.removeAttribute!="function"||typeof h.setAttribute!="function"||typeof h.namespaceURI!="string"||typeof h.insertBefore!="function"||typeof h.hasChildNodes!="function")},tt=function(h){return e(ne)==="object"?h instanceof ne:h&&e(h)==="object"&&typeof h.nodeType=="number"&&typeof h.nodeName=="string"},ve=function(h,v,T){ge[h]&&g(ge[h],function(O){O.call(A,v,T,Ge)})},Yi=function(h){var v;if(ve("beforeSanitizeElements",h,null),ji(h)||H(/[\u0080-\uFFFF]/,h.nodeName))return se(h),!0;var T=Y(h.nodeName);if(ve("uponSanitizeElement",h,{tagName:T,allowedTags:q}),h.hasChildNodes()&&!tt(h.firstElementChild)&&(!tt(h.content)||!tt(h.content.firstElementChild))&&H(/<[/\w]/g,h.innerHTML)&&H(/<[/\w]/g,h.textContent)||T==="select"&&H(/