import{c as e,a as n,u as t,g as r}from"./c.3f18632e.js";import{$ as a}from"./main-f3e781b1.js";import"./c.b85cccfb.js";var o=e((function(e,n){e.exports=function(){function e(e){if(Array.isArray(e)){for(var n=0,t=Array(e.length);n1?t-1:0),a=1;a/gm),$=l(/^data-[\-\w.\u00B7-\uFFFF]/),P=l(/^aria-[\-\w]+$/),U=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=l(/^(?:\w+script|data):/i),H=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=l(/^html$/i),Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Q(e){if(Array.isArray(e)){for(var n=0,t=Array(e.length);n0&&void 0!==arguments[0]?arguments[0]:Y(),n=function(e){return K(e)};if(n.version="2.3.6",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;var t=e.document,r=e.document,a=e.DocumentFragment,o=e.HTMLTemplateElement,l=e.Node,s=e.Element,u=e.NodeFilter,c=e.NamedNodeMap,d=void 0===c?e.NamedNodeMap||e.MozNamedAttrMap:c,D=e.HTMLFormElement,A=e.DOMParser,V=e.trustedTypes,X=s.prototype,J=E(X,"cloneNode"),ee=E(X,"nextSibling"),ne=E(X,"childNodes"),te=E(X,"parentNode");if("function"==typeof o){var re=r.createElement("template");re.content&&re.content.ownerDocument&&(r=re.content.ownerDocument)}var ae=W(V,t),oe=ae?ae.createHTML(""):"",ie=r,le=ie.implementation,se=ie.createNodeIterator,ue=ie.createDocumentFragment,ce=ie.getElementsByTagName,de=t.importNode,he={};try{he=x(r).documentMode?r.documentMode:{}}catch(e){}var ge={};n.isSupported="function"==typeof te&&le&&void 0!==le.createHTMLDocument&&9!==he;var me=I,pe=L,_e=$,fe=P,be=q,we=H,ke=U,ye=null,De=v({},[].concat(Q(C),Q(F),Q(B),Q(N),Q(S))),Ae=null,ve=v({},[].concat(Q(R),Q(O),Q(j),Q(M))),xe=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}})),Ee=null,Ce=null,Fe=!0,Be=!0,ze=!1,Ne=!1,Te=!1,Se=!1,Re=!1,Oe=!1,je=!1,Me=!1,Ie=!0,Le=!0,$e=!1,Pe={},Ue=null,qe=v({},["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"]),He=null,Ge=v({},["audio","video","img","source","image","track"]),Ze=null,Qe=v({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ye="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Ve=Ke,Xe=!1,Je=void 0,en=["application/xhtml+xml","text/html"],nn="text/html",tn=void 0,rn=null,an=r.createElement("form"),on=function(e){return e instanceof RegExp||e instanceof Function},ln=function(e){rn&&rn===e||(e&&"object"===(void 0===e?"undefined":Z(e))||(e={}),e=x(e),ye="ALLOWED_TAGS"in e?v({},e.ALLOWED_TAGS):De,Ae="ALLOWED_ATTR"in e?v({},e.ALLOWED_ATTR):ve,Ze="ADD_URI_SAFE_ATTR"in e?v(x(Qe),e.ADD_URI_SAFE_ATTR):Qe,He="ADD_DATA_URI_TAGS"in e?v(x(Ge),e.ADD_DATA_URI_TAGS):Ge,Ue="FORBID_CONTENTS"in e?v({},e.FORBID_CONTENTS):qe,Ee="FORBID_TAGS"in e?v({},e.FORBID_TAGS):{},Ce="FORBID_ATTR"in e?v({},e.FORBID_ATTR):{},Pe="USE_PROFILES"in e&&e.USE_PROFILES,Fe=!1!==e.ALLOW_ARIA_ATTR,Be=!1!==e.ALLOW_DATA_ATTR,ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_TEMPLATES||!1,Te=e.WHOLE_DOCUMENT||!1,Oe=e.RETURN_DOM||!1,je=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,Le=!1!==e.KEEP_CONTENT,$e=e.IN_PLACE||!1,ke=e.ALLOWED_URI_REGEXP||ke,Ve=e.NAMESPACE||Ke,e.CUSTOM_ELEMENT_HANDLING&&on(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(xe.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&on(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(xe.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(xe.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Je=Je=-1===en.indexOf(e.PARSER_MEDIA_TYPE)?nn:e.PARSER_MEDIA_TYPE,tn="application/xhtml+xml"===Je?function(e){return e}:p,Ne&&(Be=!1),je&&(Oe=!0),Pe&&(ye=v({},[].concat(Q(S))),Ae=[],!0===Pe.html&&(v(ye,C),v(Ae,R)),!0===Pe.svg&&(v(ye,F),v(Ae,O),v(Ae,M)),!0===Pe.svgFilters&&(v(ye,B),v(Ae,O),v(Ae,M)),!0===Pe.mathMl&&(v(ye,N),v(Ae,j),v(Ae,M))),e.ADD_TAGS&&(ye===De&&(ye=x(ye)),v(ye,e.ADD_TAGS)),e.ADD_ATTR&&(Ae===ve&&(Ae=x(Ae)),v(Ae,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&v(Ze,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(Ue===qe&&(Ue=x(Ue)),v(Ue,e.FORBID_CONTENTS)),Le&&(ye["#text"]=!0),Te&&v(ye,["html","head","body"]),ye.table&&(v(ye,["tbody"]),delete Ee.tbody),i&&i(e),rn=e)},sn=v({},["mi","mo","mn","ms","mtext"]),un=v({},["foreignobject","desc","title","annotation-xml"]),cn=v({},F);v(cn,B),v(cn,z);var dn=v({},N);v(dn,T);var hn=function(e){var n=te(e);n&&n.tagName||(n={namespaceURI:Ke,tagName:"template"});var t=p(e.tagName),r=p(n.tagName);if(e.namespaceURI===We)return n.namespaceURI===Ke?"svg"===t:n.namespaceURI===Ye?"svg"===t&&("annotation-xml"===r||sn[r]):Boolean(cn[t]);if(e.namespaceURI===Ye)return n.namespaceURI===Ke?"math"===t:n.namespaceURI===We?"math"===t&&un[r]:Boolean(dn[t]);if(e.namespaceURI===Ke){if(n.namespaceURI===We&&!un[r])return!1;if(n.namespaceURI===Ye&&!sn[r])return!1;var a=v({},["title","style","font","a","script"]);return!dn[t]&&(a[t]||!cn[t])}return!1},gn=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(n){try{e.outerHTML=oe}catch(n){e.remove()}}},mn=function(e,t){try{m(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Ae[e])if(Oe||je)try{gn(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},pn=function(e){var n=void 0,t=void 0;if(Re)e=""+e;else{var a=_(e,/^[\r\n\t ]+/);t=a&&a[0]}"application/xhtml+xml"===Je&&(e=''+e+"");var o=ae?ae.createHTML(e):e;if(Ve===Ke)try{n=(new A).parseFromString(o,Je)}catch(e){}if(!n||!n.documentElement){n=le.createDocument(Ve,"template",null);try{n.documentElement.innerHTML=Xe?"":o}catch(e){}}var i=n.body||n.documentElement;return e&&t&&i.insertBefore(r.createTextNode(t),i.childNodes[0]||null),Ve===Ke?ce.call(n,Te?"html":"body")[0]:Te?n.documentElement:i},_n=function(e){return se.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},fn=function(e){return e instanceof D&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},bn=function(e){return"object"===(void 0===l?"undefined":Z(l))?e instanceof l:e&&"object"===(void 0===e?"undefined":Z(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},wn=function(e,t,r){ge[e]&&h(ge[e],(function(e){e.call(n,t,r,rn)}))},kn=function(e){var t=void 0;if(wn("beforeSanitizeElements",e,null),fn(e))return gn(e),!0;if(_(e.nodeName,/[\u0080-\uFFFF]/))return gn(e),!0;var r=tn(e.nodeName);if(wn("uponSanitizeElement",e,{tagName:r,allowedTags:ye}),!bn(e.firstElementChild)&&(!bn(e.content)||!bn(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return gn(e),!0;if("select"===r&&k(/