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