(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d230497"],{ec47:function(e,t,n){ /*! @license DOMPurify | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.2.2/LICENSE */ (function(t,n){e.exports=n()})(0,(function(){"use strict";function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?n-1:0),o=1;o/gm),j=l(/^data-[\-\w.\u00B7-\uFFFF]/),P=l(/^aria-[\-\w]+$/),B=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=l(/^(?:\w+script|data):/i),G=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q="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 K(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:V(),t=function(e){return J(e)};if(t.version="2.2.8",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,r=e.document,o=e.DocumentFragment,i=e.HTMLTemplateElement,l=e.Node,c=e.Element,s=e.NodeFilter,u=e.NamedNodeMap,f=void 0===u?e.NamedNodeMap||e.MozNamedAttrMap:u,w=e.Text,x=e.Comment,X=e.DOMParser,$=e.trustedTypes,Z=c.prototype,Q=E(Z,"cloneNode"),ee=E(Z,"nextSibling"),te=E(Z,"childNodes"),ne=E(Z,"parentNode");if("function"===typeof i){var re=r.createElement("template");re.content&&re.content.ownerDocument&&(r=re.content.ownerDocument)}var oe=Y($,n),ie=oe&&Ie?oe.createHTML(""):"",ae=r,le=ae.implementation,ce=ae.createNodeIterator,se=ae.createDocumentFragment,ue=n.importNode,fe={};try{fe=k(r).documentMode?r.documentMode:{}}catch(ht){}var pe={};t.isSupported="function"===typeof ne&&le&&"undefined"!==typeof le.createHTMLDocument&&9!==fe;var me=U,de=H,he=j,ge=P,ye=W,ve=G,be=B,Ae=null,Te=S({},[].concat(K(R),K(_),K(D),K(O),K(M))),we=null,xe=S({},[].concat(K(F),K(C),K(I),K(z))),Se=null,ke=null,Ee=!0,Re=!0,_e=!1,De=!1,Ne=!1,Oe=!1,Le=!1,Me=!1,Fe=!1,Ce=!0,Ie=!1,ze=!0,Ue=!0,He=!1,je={},Pe=S({},["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"]),Be=null,We=S({},["audio","video","img","source","image","track"]),Ge=null,qe=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ke="http://www.w3.org/1998/Math/MathML",Ve="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=Ye,Xe=null,$e=r.createElement("form"),Ze=function(e){Xe&&Xe===e||(e&&"object"===("undefined"===typeof e?"undefined":q(e))||(e={}),e=k(e),Ae="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):Te,we="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):xe,Ge="ADD_URI_SAFE_ATTR"in e?S(k(qe),e.ADD_URI_SAFE_ATTR):qe,Be="ADD_DATA_URI_TAGS"in e?S(k(We),e.ADD_DATA_URI_TAGS):We,Se="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},ke="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},je="USE_PROFILES"in e&&e.USE_PROFILES,Ee=!1!==e.ALLOW_ARIA_ATTR,Re=!1!==e.ALLOW_DATA_ATTR,_e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,De=e.SAFE_FOR_TEMPLATES||!1,Ne=e.WHOLE_DOCUMENT||!1,Me=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,Ce=!1!==e.RETURN_DOM_IMPORT,Ie=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,ze=!1!==e.SANITIZE_DOM,Ue=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,Je=e.NAMESPACE||Je,De&&(Re=!1),Fe&&(Me=!0),je&&(Ae=S({},[].concat(K(M))),we=[],!0===je.html&&(S(Ae,R),S(we,F)),!0===je.svg&&(S(Ae,_),S(we,C),S(we,z)),!0===je.svgFilters&&(S(Ae,D),S(we,C),S(we,z)),!0===je.mathMl&&(S(Ae,O),S(we,I),S(we,z))),e.ADD_TAGS&&(Ae===Te&&(Ae=k(Ae)),S(Ae,e.ADD_TAGS)),e.ADD_ATTR&&(we===xe&&(we=k(we)),S(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(Ge,e.ADD_URI_SAFE_ATTR),Ue&&(Ae["#text"]=!0),Ne&&S(Ae,["html","head","body"]),Ae.table&&(S(Ae,["tbody"]),delete Se.tbody),a&&a(e),Xe=e)},Qe=S({},["mi","mo","mn","ms","mtext"]),et=S({},["foreignobject","desc","title","annotation-xml"]),tt=S({},_);S(tt,D),S(tt,N);var nt=S({},O);S(nt,L);var rt=function(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var n=h(e.tagName),r=h(t.tagName);if(e.namespaceURI===Ve)return t.namespaceURI===Ye?"svg"===n:t.namespaceURI===Ke?"svg"===n&&("annotation-xml"===r||Qe[r]):Boolean(tt[n]);if(e.namespaceURI===Ke)return t.namespaceURI===Ye?"math"===n:t.namespaceURI===Ve?"math"===n&&et[r]:Boolean(nt[n]);if(e.namespaceURI===Ye){if(t.namespaceURI===Ve&&!et[r])return!1;if(t.namespaceURI===Ke&&!Qe[r])return!1;var o=S({},["title","style","font","a","script"]);return!nt[n]&&(o[n]||!tt[n])}return!1},ot=function(e){d(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(ht){try{e.outerHTML=ie}catch(ht){e.remove()}}},it=function(e,n){try{d(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(ht){d(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!we[e])if(Me||Fe)try{ot(n)}catch(ht){}else try{n.setAttribute(e,"")}catch(ht){}},at=function(e){var t=void 0,n=void 0;if(Le)e=""+e;else{var o=g(e,/^[\r\n\t ]+/);n=o&&o[0]}var i=oe?oe.createHTML(e):e;if(Je===Ye)try{t=(new X).parseFromString(i,"text/html")}catch(ht){}t&&t.documentElement||(t=le.createDocument(Je,"template",null),t.documentElement.innerHTML=i);var a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Ne?t.documentElement:a},lt=function(e){return ce.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,(function(){return s.FILTER_ACCEPT}),!1)},ct=function(e){return!(e instanceof w||e instanceof x)&&!("string"===typeof e.nodeName&&"string"===typeof e.textContent&&"function"===typeof e.removeChild&&e.attributes instanceof f&&"function"===typeof e.removeAttribute&&"function"===typeof e.setAttribute&&"string"===typeof e.namespaceURI&&"function"===typeof e.insertBefore)},st=function(e){return"object"===("undefined"===typeof l?"undefined":q(l))?e instanceof l:e&&"object"===("undefined"===typeof e?"undefined":q(e))&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName},ut=function(e,n,r){pe[e]&&p(pe[e],(function(e){e.call(t,n,r,Xe)}))},ft=function(e){var n=void 0;if(ut("beforeSanitizeElements",e,null),ct(e))return ot(e),!0;if(g(e.nodeName,/[\u0080-\uFFFF]/))return ot(e),!0;var r=h(e.nodeName);if(ut("uponSanitizeElement",e,{tagName:r,allowedTags:Ae}),!st(e.firstElementChild)&&(!st(e.content)||!st(e.content.firstElementChild))&&A(/<[/\w]/g,e.innerHTML)&&A(/<[/\w]/g,e.textContent))return ot(e),!0;if(!Ae[r]||Se[r]){if(Ue&&!Pe[r]){var o=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&o)for(var a=i.length,l=a-1;l>=0;--l)o.insertBefore(Q(i[l],!0),ee(e))}return ot(e),!0}return e instanceof c&&!rt(e)?(ot(e),!0):"noscript"!==r&&"noembed"!==r||!A(/<\/no(script|embed)/i,e.innerHTML)?(De&&3===e.nodeType&&(n=e.textContent,n=y(n,me," "),n=y(n,de," "),e.textContent!==n&&(d(t.removed,{element:e.cloneNode()}),e.textContent=n)),ut("afterSanitizeElements",e,null),!1):(ot(e),!0)},pt=function(e,t,n){if(ze&&("id"===t||"name"===t)&&(n in r||n in $e))return!1;if(Re&&A(he,t));else if(Ee&&A(ge,t));else{if(!we[t]||ke[t])return!1;if(Ge[t]);else if(A(be,y(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(n,"data:")||!Be[e]){if(_e&&!A(ye,y(n,ve,"")));else if(n)return!1}else;}return!0},mt=function(e){var n=void 0,r=void 0,o=void 0,i=void 0;ut("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};i=a.length;while(i--){n=a[i];var c=n,s=c.name,u=c.namespaceURI;if(r=b(n.value),o=h(s),l.attrName=o,l.attrValue=r,l.keepAttr=!0,l.forceKeepAttr=void 0,ut("uponSanitizeAttribute",e,l),r=l.attrValue,!l.forceKeepAttr&&(it(s,e),l.keepAttr))if(A(/\/>/i,r))it(s,e);else{De&&(r=y(r,me," "),r=y(r,de," "));var f=e.nodeName.toLowerCase();if(pt(f,o,r))try{u?e.setAttributeNS(u,s,r):e.setAttribute(s,r),m(t.removed)}catch(ht){}}}ut("afterSanitizeAttributes",e,null)}},dt=function e(t){var n=void 0,r=lt(t);ut("beforeSanitizeShadowDOM",t,null);while(n=r.nextNode())ut("uponSanitizeShadowNode",n,null),ft(n)||(n.content instanceof o&&e(n.content),mt(n));ut("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(r,i){var a=void 0,c=void 0,s=void 0,u=void 0,f=void 0;if(r||(r="\x3c!--\x3e"),"string"!==typeof r&&!st(r)){if("function"!==typeof r.toString)throw T("toString is not a function");if(r=r.toString(),"string"!==typeof r)throw T("dirty is not a string, aborting")}if(!t.isSupported){if("object"===q(e.toStaticHTML)||"function"===typeof e.toStaticHTML){if("string"===typeof r)return e.toStaticHTML(r);if(st(r))return e.toStaticHTML(r.outerHTML)}return r}if(Oe||Ze(i),t.removed=[],"string"===typeof r&&(He=!1),He);else if(r instanceof l)a=at("\x3c!----\x3e"),c=a.ownerDocument.importNode(r,!0),1===c.nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?a=c:a.appendChild(c);else{if(!Me&&!De&&!Ne&&-1===r.indexOf("<"))return oe&&Ie?oe.createHTML(r):r;if(a=at(r),!a)return Me?null:ie}a&&Le&&ot(a.firstChild);var p=lt(He?r:a);while(s=p.nextNode())3===s.nodeType&&s===u||ft(s)||(s.content instanceof o&&dt(s.content),mt(s),u=s);if(u=null,He)return r;if(Me){if(Fe){f=se.call(a.ownerDocument);while(a.firstChild)f.appendChild(a.firstChild)}else f=a;return Ce&&(f=ue.call(n,f,!0)),f}var m=Ne?a.outerHTML:a.innerHTML;return De&&(m=y(m,me," "),m=y(m,de," ")),oe&&Ie?oe.createHTML(m):m},t.setConfig=function(e){Ze(e),Oe=!0},t.clearConfig=function(){Xe=null,Oe=!1},t.isValidAttribute=function(e,t,n){Xe||Ze({});var r=h(e),o=h(t);return pt(r,o,n)},t.addHook=function(e,t){"function"===typeof t&&(pe[e]=pe[e]||[],d(pe[e],t))},t.removeHook=function(e){pe[e]&&m(pe[e])},t.removeHooks=function(e){pe[e]&&(pe[e]=[])},t.removeAllHooks=function(){pe={}},t}var X=J();return X}))}}]); //# sourceMappingURL=chunk-2d230497.a69706df.js.map