(function(_){for(var r in _){_[r].__farm_resource_pot__='index_d32c.js';window['a08772c31208efe3a0d239d0209f4dcf'].__farm_module_system__.register(r,_[r])}})({"7c786204":function e(e,t,a,r){"use strict";var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e};};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({html:e,className:t}){let a=(0,d.linkify)(e),r=o.test(a)?a:(0,u.default)(a);return s||(s=!0,i.default.addHook("afterSanitizeAttributes",e=>{"A"===e.tagName&&(e.setAttribute("rel","noopener noreferrer"),e.setAttribute("target","_blank"));})),n.default.createElement("span",{className:t,dangerouslySetInnerHTML:{__html:i.default.sanitize(r)}});};let n=l(a("a0fc9dfd")),u=l(a("9bc1d93e")),i=l(a("d21f5ae7")),d=a("17a7dab7",!0),s=!1,o=RegExp(["a","b","br","code","div","em","h1","h2","h3","h4","h5","h6","i","img","li","p","pre","span","small","strong","table","tbody","sup","sub","td","tfoot","th","thead","tr","u","ul"].map(e=>`<${e}\\b[^>]*>`).join("|"),"i");},"9bc1d93e":/*!
 * escape-html
 * Copyright(c) 2012-2013 TJ Holowaychuk
 * Copyright(c) 2015 Andreas Lubbe
 * Copyright(c) 2015 Tiancheng "Timothy" Gu
 * MIT Licensed
 */function e(e,r,t,a){"use strict";var s=/["'&<>]/;e.exports=function(e){var r,t=""+e,a=s.exec(t);if(!a)return t;var c="",n=0,u=0;for(n=a.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue;}u!==n&&(c+=t.substring(u,n)),u=n+1,c+=r;}return u!==n?c+t.substring(u,n):c;};},"d21f5ae7":function e(e,t,n,o){var r,i;r=this,i=function(){"use strict";let{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object,{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e;}),a||(a=function(e){return e;}),c||(c=function(e,t,n){return e.apply(t,n);}),s||(s=function(e,t){return new e(...t);});let u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),y=b(String.prototype.indexOf),T=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(q=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(q,t);});function b(e){return function(t){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o);};}function N(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){let e=r(t);e!==t&&(n(o)||(o[i]=e),t=e);}e[t]=!0;}return e;}function S(t){let n=l(null);for(let[o,r]of e(t))E(t,o)&&(Array.isArray(r)?n[o]=function(e){for(let t=0;t<e.length;t++)E(e,t)||(e[t]=null);return e;}(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=S(r):n[o]=r);return n;}function w(e,t){for(;null!==e;){let n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value);}e=o(e);}return function(){return null;};}let v=i(["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"]),R=i(["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"]),C=i(["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"]),L=i(["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"]),D=i(["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"]),x=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),k=i(["#text"]),O=i(["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","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),I=i(["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"]),M=i(["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"]),U=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),P=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),H=a(/<%[\w\W]*|[\w\W]*%>/gm),F=a(/\${[\w\W]*}/gm),z=a(/^data-[\-\w.\u00B7-\uFFFF]/),W=a(/^aria-[\-\w]+$/),B=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=a(/^(?:\w+script|data):/i),Y=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),j=a(/^html$/i);var q,X=Object.freeze({__proto__:null,MUSTACHE_EXPR:P,ERB_EXPR:H,TMPLIT_EXPR:F,DATA_ATTR:z,ARIA_ATTR:W,IS_ALLOWED_URI:B,IS_SCRIPT_OR_DATA:G,ATTR_WHITESPACE:Y,DOCTYPE_NAME:j,CUSTOM_ELEMENT:a(/^[a-z][.\w]*(-[.\w]+)+$/i)});let $={element:1,text:3,progressingInstruction:7,comment:8,document:9},K=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;}};return function t(){let n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,r=e=>t(e);if(r.version="3.1.7",r.removed=[],!o||!o.document||o.document.nodeType!==$.document)return r.isSupported=!1,r;let{document:a}=o,c=a,s=c.currentScript,{DocumentFragment:b,HTMLTemplateElement:P,Node:H,Element:F,NodeFilter:z,NamedNodeMap:W=o.NamedNodeMap||o.MozNamedAttrMap,HTMLFormElement:G,DOMParser:Y,trustedTypes:q}=o,V=F.prototype,Z=w(V,"cloneNode"),J=w(V,"remove"),Q=w(V,"nextSibling"),ee=w(V,"childNodes"),et=w(V,"parentNode");if("function"==typeof P){let e=a.createElement("template");e.content&&e.content.ownerDocument&&(a=e.content.ownerDocument);}let en="",{implementation:eo,createNodeIterator:er,createDocumentFragment:ei,getElementsByTagName:ea}=a,{importNode:el}=c,ec={};r.isSupported="function"==typeof e&&"function"==typeof et&&eo&&void 0!==eo.createHTMLDocument;let{MUSTACHE_EXPR:es,ERB_EXPR:eu,TMPLIT_EXPR:em,DATA_ATTR:ep,ARIA_ATTR:ef,IS_SCRIPT_OR_DATA:ed,ATTR_WHITESPACE:eh,CUSTOM_ELEMENT:eg}=X,{IS_ALLOWED_URI:ey}=X,eT=null,eE=N({},[...v,...R,...C,...D,...k]),e_=null,eA=N({},[...O,...I,...M,...U]),eb=Object.seal(l(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}})),eN=null,eS=null,ew=!0,ev=!0,eR=!1,eC=!0,eL=!1,eD=!0,ex=!1,ek=!1,eO=!1,eI=!1,eM=!1,eU=!1,eP=!0,eH=!1,eF=!0,ez=!1,eW={},eB=null,eG=N({},["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"]),eY=null,ej=N({},["audio","video","img","source","image","track"]),eq=null,eX=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),e$="http://www.w3.org/1998/Math/MathML",eK="http://www.w3.org/2000/svg",eV="http://www.w3.org/1999/xhtml",eZ=eV,eJ=!1,eQ=null,e0=N({},[e$,eK,eV],d),e1=null,e2=["application/xhtml+xml","text/html"],e9=null,e3=null,e8=a.createElement("form"),e7=function(e){return e instanceof RegExp||e instanceof Function;},e4=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e3||e3!==e){if(e&&"object"==typeof e||(e={}),e=S(e),e9="application/xhtml+xml"===(e1=-1===e2.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?d:f,eT=E(e,"ALLOWED_TAGS")?N({},e.ALLOWED_TAGS,e9):eE,e_=E(e,"ALLOWED_ATTR")?N({},e.ALLOWED_ATTR,e9):eA,eQ=E(e,"ALLOWED_NAMESPACES")?N({},e.ALLOWED_NAMESPACES,d):e0,eq=E(e,"ADD_URI_SAFE_ATTR")?N(S(eX),e.ADD_URI_SAFE_ATTR,e9):eX,eY=E(e,"ADD_DATA_URI_TAGS")?N(S(ej),e.ADD_DATA_URI_TAGS,e9):ej,eB=E(e,"FORBID_CONTENTS")?N({},e.FORBID_CONTENTS,e9):eG,eN=E(e,"FORBID_TAGS")?N({},e.FORBID_TAGS,e9):{},eS=E(e,"FORBID_ATTR")?N({},e.FORBID_ATTR,e9):{},eW=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,ew=!1!==e.ALLOW_ARIA_ATTR,ev=!1!==e.ALLOW_DATA_ATTR,eR=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eC=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eL=e.SAFE_FOR_TEMPLATES||!1,eD=!1!==e.SAFE_FOR_XML,ex=e.WHOLE_DOCUMENT||!1,eI=e.RETURN_DOM||!1,eM=e.RETURN_DOM_FRAGMENT||!1,eU=e.RETURN_TRUSTED_TYPE||!1,eO=e.FORCE_BODY||!1,eP=!1!==e.SANITIZE_DOM,eH=e.SANITIZE_NAMED_PROPS||!1,eF=!1!==e.KEEP_CONTENT,ez=e.IN_PLACE||!1,ey=e.ALLOWED_URI_REGEXP||B,eZ=e.NAMESPACE||eV,eb=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&e7(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eb.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&e7(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eb.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eb.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eL&&(ev=!1),eM&&(eI=!0),eW&&(eT=N({},k),e_=[],!0===eW.html&&(N(eT,v),N(e_,O)),!0===eW.svg&&(N(eT,R),N(e_,I),N(e_,U)),!0===eW.svgFilters&&(N(eT,C),N(e_,I),N(e_,U)),!0===eW.mathMl&&(N(eT,D),N(e_,M),N(e_,U))),e.ADD_TAGS&&(eT===eE&&(eT=S(eT)),N(eT,e.ADD_TAGS,e9)),e.ADD_ATTR&&(e_===eA&&(e_=S(e_)),N(e_,e.ADD_ATTR,e9)),e.ADD_URI_SAFE_ATTR&&N(eq,e.ADD_URI_SAFE_ATTR,e9),e.FORBID_CONTENTS&&(eB===eG&&(eB=S(eB)),N(eB,e.FORBID_CONTENTS,e9)),eF&&(eT["#text"]=!0),ex&&N(eT,["html","head","body"]),eT.table&&(N(eT,["tbody"]),delete eN.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');en=(n=e.TRUSTED_TYPES_POLICY).createHTML("");}else void 0===n&&(n=K(q,s)),null!==n&&"string"==typeof en&&(en=n.createHTML(""));i&&i(e),e3=e;}},e5=N({},["mi","mo","mn","ms","mtext"]),e6=N({},["annotation-xml"]),te=N({},["title","style","font","a","script"]),tt=N({},[...R,...C,...L]),tn=N({},[...D,...x]),to=function(e){let t=et(e);t&&t.tagName||(t={namespaceURI:eZ,tagName:"template"});let n=f(e.tagName),o=f(t.tagName);return!!eQ[e.namespaceURI]&&(e.namespaceURI===eK?t.namespaceURI===eV?"svg"===n:t.namespaceURI===e$?"svg"===n&&("annotation-xml"===o||e5[o]):!!tt[n]:e.namespaceURI===e$?t.namespaceURI===eV?"math"===n:t.namespaceURI===eK?"math"===n&&e6[o]:!!tn[n]:e.namespaceURI===eV?(t.namespaceURI!==eK||!!e6[o])&&(t.namespaceURI!==e$||!!e5[o])&&!tn[n]&&(te[n]||!tt[n]):"application/xhtml+xml"===e1&&!!eQ[e.namespaceURI]);},tr=function(e){p(r.removed,{element:e});try{et(e).removeChild(e);}catch(t){J(e);}},ti=function(e,t){try{p(r.removed,{attribute:t.getAttributeNode(e),from:t});}catch(e){p(r.removed,{attribute:null,from:t});}if(t.removeAttribute(e),"is"===e&&!e_[e]){if(eI||eM)try{tr(t);}catch(e){}else try{t.setAttribute(e,"");}catch(e){}}},ta=function(e){let t=null,o=null;if(eO)e="<remove></remove>"+e;else{let t=h(e,/^[\r\n\t ]+/);o=t&&t[0];}"application/xhtml+xml"===e1&&eZ===eV&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let r=n?n.createHTML(e):e;if(eZ===eV)try{t=new Y().parseFromString(r,e1);}catch(e){}if(!t||!t.documentElement){t=eo.createDocument(eZ,"template",null);try{t.documentElement.innerHTML=eJ?en:r;}catch(e){}}let i=t.body||t.documentElement;return(e&&o&&i.insertBefore(a.createTextNode(o),i.childNodes[0]||null),eZ===eV)?ea.call(t,ex?"html":"body")[0]:ex?t.documentElement:i;},tl=function(e){return er.call(e.ownerDocument||e,e,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null);},tc=function(e){return e instanceof G&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes);},ts=function(e){return"function"==typeof H&&e instanceof H;},tu=function(e,t,n){ec[e]&&u(ec[e],e=>{e.call(r,t,n,e3);});},tm=function(e){let t=null;if(tu("beforeSanitizeElements",e,null),tc(e))return tr(e),!0;let n=e9(e.nodeName);if(tu("uponSanitizeElement",e,{tagName:n,allowedTags:eT}),e.hasChildNodes()&&!ts(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent)||e.nodeType===$.progressingInstruction||eD&&e.nodeType===$.comment&&_(/<[/\w]/g,e.data))return tr(e),!0;if(!eT[n]||eN[n]){if(!eN[n]&&tf(n)&&(eb.tagNameCheck instanceof RegExp&&_(eb.tagNameCheck,n)||eb.tagNameCheck instanceof Function&&eb.tagNameCheck(n)))return!1;if(eF&&!eB[n]){let t=et(e)||e.parentNode,n=ee(e)||e.childNodes;if(n&&t){let o=n.length;for(let r=o-1;r>=0;--r){let o=Z(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,Q(e));}}}return tr(e),!0;}return e instanceof F&&!to(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&_(/<\/no(script|embed|frames)/i,e.innerHTML)?(tr(e),!0):(eL&&e.nodeType===$.text&&(t=e.textContent,u([es,eu,em],e=>{t=g(t,e," ");}),e.textContent!==t&&(p(r.removed,{element:e.cloneNode()}),e.textContent=t)),tu("afterSanitizeElements",e,null),!1);},tp=function(e,t,n){if(eP&&("id"===t||"name"===t)&&(n in a||n in e8))return!1;if(ev&&!eS[t]&&_(ep,t));else if(ew&&_(ef,t));else if(!e_[t]||eS[t]){if(!(tf(e)&&(eb.tagNameCheck instanceof RegExp&&_(eb.tagNameCheck,e)||eb.tagNameCheck instanceof Function&&eb.tagNameCheck(e))&&(eb.attributeNameCheck instanceof RegExp&&_(eb.attributeNameCheck,t)||eb.attributeNameCheck instanceof Function&&eb.attributeNameCheck(t))||"is"===t&&eb.allowCustomizedBuiltInElements&&(eb.tagNameCheck instanceof RegExp&&_(eb.tagNameCheck,n)||eb.tagNameCheck instanceof Function&&eb.tagNameCheck(n))))return!1;}else if(eq[t]);else if(_(ey,g(n,eh,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===y(n,"data:")&&eY[e]);else if(eR&&!_(ed,g(n,eh,"")));else if(n)return!1;return!0;},tf=function(e){return"annotation-xml"!==e&&h(e,eg);},td=function(e){tu("beforeSanitizeAttributes",e,null);let{attributes:t}=e;if(!t)return;let o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:e_},i=t.length;for(;i--;){let{name:a,namespaceURI:l,value:c}=t[i],s=e9(a),p="value"===a?c:T(c);if(o.attrName=s,o.attrValue=p,o.keepAttr=!0,o.forceKeepAttr=void 0,tu("uponSanitizeAttribute",e,o),p=o.attrValue,o.forceKeepAttr||(ti(a,e),!o.keepAttr))continue;if(!eC&&_(/\/>/i,p)){ti(a,e);continue;}eL&&u([es,eu,em],e=>{p=g(p,e," ");});let f=e9(e.nodeName);if(tp(f,s,p)){if(eH&&("id"===s||"name"===s)&&(ti(a,e),p="user-content-"+p),eD&&_(/((--!?|])>)|<\/(style|title)/i,p)){ti(a,e);continue;}if(n&&"object"==typeof q&&"function"==typeof q.getAttributeType){if(l);else switch(q.getAttributeType(f,s)){case"TrustedHTML":p=n.createHTML(p);break;case"TrustedScriptURL":p=n.createScriptURL(p);}}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),tc(e)?tr(e):m(r.removed);}catch(e){}}}tu("afterSanitizeAttributes",e,null);},th=function e(t){let n=null,o=tl(t);for(tu("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)tu("uponSanitizeShadowNode",n,null),tm(n)||(n.content instanceof b&&e(n.content),td(n));tu("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,l=null;if((eJ=!e)&&(e="<!-->"),"string"!=typeof e&&!ts(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting");}else throw A("toString is not a function");}if(!r.isSupported)return e;if(ek||e4(t),r.removed=[],"string"==typeof e&&(ez=!1),ez){if(e.nodeName){let t=e9(e.nodeName);if(!eT[t]||eN[t])throw A("root node is forbidden and cannot be sanitized in-place");}}else if(e instanceof H)(i=(o=ta("<!---->")).ownerDocument.importNode(e,!0)).nodeType===$.element&&"BODY"===i.nodeName?o=i:"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!eI&&!eL&&!ex&&-1===e.indexOf("<"))return n&&eU?n.createHTML(e):e;if(!(o=ta(e)))return eI?null:eU?en:"";}o&&eO&&tr(o.firstChild);let s=tl(ez?e:o);for(;a=s.nextNode();)tm(a)||(a.content instanceof b&&th(a.content),td(a));if(ez)return e;if(eI){if(eM)for(l=ei.call(o.ownerDocument);o.firstChild;)l.appendChild(o.firstChild);else l=o;return(e_.shadowroot||e_.shadowrootmode)&&(l=el.call(c,l,!0)),l;}let m=ex?o.outerHTML:o.innerHTML;return ex&&eT["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&_(j,o.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+m),eL&&u([es,eu,em],e=>{m=g(m,e," ");}),n&&eU?n.createHTML(m):m;},r.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e4(e),ek=!0;},r.clearConfig=function(){e3=null,ek=!1;},r.isValidAttribute=function(e,t,n){return e3||e4({}),tp(e9(e),e9(t),n);},r.addHook=function(e,t){"function"==typeof t&&(ec[e]=ec[e]||[],p(ec[e],t));},r.removeHook=function(e){if(ec[e])return m(ec[e]);},r.removeHooks=function(e){ec[e]&&(ec[e]=[]);},r.removeAllHooks=function(){ec={};},r;}();},"object"==typeof t&&void 0!==e?e.exports=i():"function"==typeof define&&define.amd?define(i):(r="undefined"!=typeof globalThis?globalThis:r||self).DOMPurify=i();},"fc08ab64":function e(e,t,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u.createSvgIcon;}});var u=r("0b4de2ab",!0);},});