vendor: 5,894 bytes, lines 1-2
1import{ref as Qe,defineComponent as rn,computed as an,openBlock as sn,createElementBlock as ln,unref as Ye,normalizeClass as cn}from"vue";import{cq as un,Z as fn}from"./logger-B4OCWT-4.js";const mn=()=>Qe(null),Zn=()=>Qe([]),Jn=()=>Qe({}),Qn=()=>{const o=mn();return[o,i=>{o.value=i?.$el??null}]};function Rt(o,n){(n==null||n>o.length)&&(n=o.length);for(var i=0,s=Array(n);i<n;i++)s[i]=o[i];return s}function pn(o){if(Array.isArray(o))return o}function dn(o,n){var i=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(i!=null){var s,l,m,E,te=[],N=!0,ne=!1;try{if(m=(i=i.call(o)).next,n!==0)for(;!(N=(s=m.call(i)).done)&&(te.push(s.value),te.length!==n);N=!0);}catch(Le){ne=!0,l=Le}finally{try{if(!N&&i.return!=null&&(E=i.return(),Object(E)!==E))return}finally{if(ne)throw l}}return te}}function Tn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _n(o,n){return pn(o)||dn(o,n)||gn(o,n)||Tn()}function gn(o,n){if(o){if(typeof o=="string")return Rt(o,n);var i={}.toString.call(o).slice(8,-1);return i==="Object"&&o.constructor&&(i=o.constructor.name),i==="Map"||i==="Set"?Array.from(o):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Rt(o,n):void 0}}const Ft=Object.entries,Ot=Object.setPrototypeOf,An=Object.isFrozen,hn=Object.getPrototypeOf,En=Object.getOwnPropertyDescriptor;let I=Object.freeze,C=Object.seal,ee=Object.create,Ut=typeof Reflect<"u"&&Reflect,Ze=Ut.apply,Je=Ut.construct;I||(I=function(n){return n});C||(C=function(n){return n});Ze||(Ze=function(n,i){for(var s=arguments.length,l=new Array(s>2?s-2:0),m=2;m<s;m++)l[m-2]=arguments[m];return n.apply(i,l)});Je||(Je=function(n){for(var i=arguments.length,s=new Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];return new n(...s)});const Z=h(Array.prototype.forEach),Sn=h(Array.prototype.lastIndexOf),Dt=h(Array.prototype.pop),J=h(Array.prototype.push),yn=h(Array.prototype.splice),D=Array.isArray,fe=h(String.prototype.toLowerCase),$e=h(String.prototype.toString),It=h(String.prototype.match),Q=h(String.prototype.replace),Nt=h(String.prototype.indexOf),bn=h(String.prototype.trim),Rn=h(Number.prototype.toString),On=h(Boolean.prototype.toString),Lt=typeof BigInt>"u"?null:h(BigInt.prototype.toString),Ct=typeof Symbol>"u"?null:h(Symbol.prototype.toString),d=h(Object.prototype.hasOwnProperty),ce=h(Object.prototype.toString),b=h(RegExp.prototype.test),ue=Dn(TypeError);function h(o){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var i=arguments.length,s=new Array(i>1?i-1:0),l=1;l<i;l++)s[l-1]=arguments[l];return Ze(o,n,s)}}function Dn(o){return function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return Je(o,i)}}function c(o,n){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fe;if(Ot&&Ot(o,null),!D(n))return o;let s=n.length;for(;s--;){let l=n[s];if(typeof l=="string"){const m=i(l);m!==l&&(An(n)||(n[s]=m),l=m)}o[l]=!0}return o}function In(o){for(let n=0;n<o.length;n++)d(o,n)||(o[n]=null);return o}function R(o){const n=ee(null);for(const s of Ft(o)){var i=_n(s,2);const l=i[0],m=i[1];d(o,l)&&(D(m)?n[l]=In(m):m&&typeof m=="object"&&m.constructor===Object?n[l]=R(m):n[l]=m)}return n}function Nn(o){switch(typeof o){case"string":return o;case"number":return Rn(o);case"boolean":return On(o);case"bigint":return Lt?Lt(o):"0";case"symbol":return Ct?Ct(o):"Symbol()";case"undefined":return ce(o);case"function":case"object":{if(o===null)return ce(o);const n=o,i=U(n,"toString");if(typeof i=="function"){const s=i(n);return typeof s=="string"?s:ce(s)}return ce(o)}default:return ce(o)}}function U(o,n){for(;o!==null;){const s=En(o,n);if(s){if(s.get)return h(s.get);if(typeof s.value=="function")return h(s.value)}o=hn(o)}function i(){return null}return i}function Ln(o){try{return b(o,""),!0}catch{return!1}}const wt=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","search","section","select","shadow","slot","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"]),Xe=I(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ve=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"]),Cn=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"]),qe=
2I(["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"]),wn=I(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Mt=I(["#text"]),xt=I(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Ke=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","mask-type","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"]),Pt=I(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
2subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ne=I(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Mn=C(/{{[\w\W]*|^[\w\W]*}}/g),xn=C(/<%[\w\W]*|^[\w\W]*%>/g),Pn=C(/\${[\w\W]*/g),kn=C(/^data-[\-\w.\u00B7-\uFFFF]+$/),vn=C(/^aria-[\-\w]+$/),kt=C(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fn=C(/^(?:\w+script|data):/i),Un=C(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Hn=C(/^html$/i),zn=C(/^[a-z][.\w]*(-[.\w]+)+$/i),F={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Bn=function(){return typeof window>"u"?null:window},Gn=function(n,i){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let s=null;const l="data-tt-policy-suffix";i&&i.hasAttribute(l)&&(s=i.getAttribute(l));const m="dompurify"+(s?"#"+s:"");try{return n.createPolicy(m,{createHTML(E){return E},createScriptURL(E){return E}})}catch{return console.warn("TrustedTypes policy "+m+" could not be created."),null}},vt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ht(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bn();const n=a=>Ht(a);if(n.version="3.4.7",n.removed=[],!o||!o.document||o.document.nodeType!==F.document||!o.Element)return n.isSupported=!1,n;let i=o.document;const s=i,l=s.currentScript;o.DocumentFragment;const m=o.HTMLTemplateElement,E=o.Node,te=o.Element,N=o.NodeFilter,ne=o.NamedNodeMap;ne===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;const Le=o.DOMParser,me=o.trustedTypes,G=te.prototype,zt=U(G,"cloneNode"),Bt=U(G,"remove"),Gt=U(G,"nextSibling"),pe=U(G,"childNodes"),de=U(G,"parentNode"),Te=U(G,"shadowRoot"),Wt=U(G,"attributes"),w=E&&E.prototype?U(E.prototype,"nodeType"):null,Y=E&&E.prototype?U(E.prototype,"nodeName"):null;if(typeof m=="function"){const a=i.createElement("template");a.content&&a.content.ownerDocument&&(i=a.content.ownerDocument)}let O,oe="";const _e=i,Ce=_e.implementation,et=_e.createNodeIterator,jt=_e.createDocumentFragment,Yt=_e.getElementsByTagName,$t=s.importNode;let S=vt();n.isSupported=typeof Ft=="function"&&typeof de=="function"&&Ce&&Ce.createHTMLDocument!==void 0;const ge=Mn,Ae=xn,he=Pn,Xt=kn,Vt=vn,qt=Fn,tt=Un,Kt=zn;let nt=kt,T=null;const we=c({},[...wt,...Xe,...Ve,...qe,...Mt]);let A=null;const Me=c({},[...xt,...Ke,...Pt,...Ne]);let _=Object.seal(ee(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}})),re=null,Ee=null;const z=Object.seal(ee(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ot=!0,xe=!0,rt=!1,it=!0,B=!1,ie=!0,W=!1,Pe=!1,ke=!1,$=!1,Se=!1,ye=!1,at=!0,st=!1;const lt="user-content-";let ve=!0,ae=!1,X={},P=null;const Fe=c({},["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"]);let ct=null;const ut=c({},["audio","video","img","source","image","track"]);let Ue=null;const ft=c({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),be="http://www.w3.org/1998/Math/MathML",Re="http://www.w3.org/2000/svg",k="http://www.w3.org/1999/xhtml";let V=k,He=!1,ze=null;const Zt=c({},[be,Re,k],$e);let Be=c({},["mi","mo","mn","ms","mtext"]),Ge=c({},["annotation-xml"]);const Jt=c({},["title","style","font","a","script"]);let se=null;const Qt=["application/xhtml+xml","text/html"],en="text/html";let g=null,q=null;const tn=i.createElement("form"),mt=function(e){return e instanceof RegExp||e instanceof Function},We=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(q&&q===e)return;(!e||typeof e!="object")&&(e={}
2),e=R(e),se=Qt.indexOf(e.PARSER_MEDIA_TYPE)===-1?en:e.PARSER_MEDIA_TYPE,g=se==="application/xhtml+xml"?$e:fe,T=d(e,"ALLOWED_TAGS")&&D(e.ALLOWED_TAGS)?c({},e.ALLOWED_TAGS,g):we,A=d(e,"ALLOWED_ATTR")&&D(e.ALLOWED_ATTR)?c({},e.ALLOWED_ATTR,g):Me,ze=d(e,"ALLOWED_NAMESPACES")&&D(e.ALLOWED_NAMESPACES)?c({},e.ALLOWED_NAMESPACES,$e):Zt,Ue=d(e,"ADD_URI_SAFE_ATTR")&&D(e.ADD_URI_SAFE_ATTR)?c(R(ft),e.ADD_URI_SAFE_ATTR,g):ft,ct=d(e,"ADD_DATA_URI_TAGS")&&D(e.ADD_DATA_URI_TAGS)?c(R(ut),e.ADD_DATA_URI_TAGS,g):ut,P=d(e,"FORBID_CONTENTS")&&D(e.FORBID_CONTENTS)?c({},e.FORBID_CONTENTS,g):Fe,re=d(e,"FORBID_TAGS")&&D(e.FORBID_TAGS)?c({},e.FORBID_TAGS,g):R({}),Ee=d(e,"FORBID_ATTR")&&D(e.FORBID_ATTR)?c({},e.FORBID_ATTR,g):R({}),X=d(e,"USE_PROFILES")?e.USE_PROFILES&&typeof e.USE_PROFILES=="object"?R(e.USE_PROFILES):e.USE_PROFILES:!1,ot=e.ALLOW_ARIA_ATTR!==!1,xe=e.ALLOW_DATA_ATTR!==!1,rt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,it=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,B=e.SAFE_FOR_TEMPLATES||!1,ie=e.SAFE_FOR_XML!==!1,W=e.WHOLE_DOCUMENT||!1,$=e.RETURN_DOM||!1,Se=e.RETURN_DOM_FRAGMENT||!1,ye=e.RETURN_TRUSTED_TYPE||!1,ke=e.FORCE_BODY||!1,at=e.SANITIZE_DOM!==!1,st=e.SANITIZE_NAMED_PROPS||!1,ve=e.KEEP_CONTENT!==!1,ae=e.IN_PLACE||!1,nt=Ln(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:kt,V=typeof e.NAMESPACE=="string"?e.NAMESPACE:k,Be=d(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS=="object"?R(e.MATHML_TEXT_INTEGRATION_POINTS):c({},["mi","mo","mn","ms","mtext"]),Ge=d(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS=="object"?R(e.HTML_INTEGRATION_POINTS):c({},["annotation-xml"]);const t=d(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING=="object"?R(e.CUSTOM_ELEMENT_HANDLING):ee(null);if(_=ee(null),d(t,"tagNameCheck")&&mt(t.tagNameCheck)&&(_.tagNameCheck=t.tagNameCheck),d(t,"attributeNameCheck")&&mt(t.attributeNameCheck)&&(_.attributeNameCheck=t.attributeNameCheck),d(t,"allowCustomizedBuiltInElements")&&typeof t.allowCustomizedBuiltInElements=="boolean"&&(_.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),B&&(xe=!1),Se&&($=!0),X&&(T=c({},Mt),A=ee(null),X.html===!0&&(c(T,wt),c(A,xt)),X.svg===!0&&(c(T,Xe),c(A,Ke),c(A,Ne)),X.svgFilters===!0&&(c(T,Ve),c(A,Ke),c(A,Ne)),X.mathMl===!0&&(c(T,qe),c(A,Pt),c(A,Ne))),z.tagCheck=null,z.attributeCheck=null,d(e,"ADD_TAGS")&&(typeof e.ADD_TAGS=="function"?z.tagCheck=e.ADD_TAGS:D(e.ADD_TAGS)&&(T===we&&(T=R(T)),c(T,e.ADD_TAGS,g))),d(e,"ADD_ATTR")&&(typeof e.ADD_ATTR=="function"?z.attributeCheck=e.ADD_ATTR:D(e.ADD_ATTR)&&(A===Me&&(A=R(A)),c(A,e.ADD_ATTR,g))),d(e,"ADD_URI_SAFE_ATTR")&&D(e.ADD_URI_SAFE_ATTR)&&c(Ue,e.ADD_URI_SAFE_ATTR,g),d(e,"FORBID_CONTENTS")&&D(e.FORBID_CONTENTS)&&(P===Fe&&(P=R(P)),c(P,e.FORBID_CONTENTS,g)),d(e,"ADD_FORBID_CONTENTS")&&D(e.ADD_FORBID_CONTENTS)&&(P===Fe&&(P=R(P)),c(P,e.ADD_FORBID_CONTENTS,g)),ve&&(T["#text"]=!0),W&&c(T,["html","head","body"]),T.table&&(c(T,["tbody"]),delete re.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw ue('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ue('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');O=e.TRUSTED_TYPES_POLICY,oe=O.createHTML("")}else O===void 0&&(O=Gn(me,l)),O!==null&&typeof oe=="string"&&(oe=O.createHTML(""));(S.uponSanitizeElement.length>0||S.uponSanitizeAttribute.length>0)&&T===we&&(T=R(T)),S.uponSanitizeAttribute.length>0&&A===Me&&(A=R(A)),I&&I(e),q=e},pt=c({},[...Xe,...Ve,...Cn]),dt=c({},[...qe,...wn]),nn=function(e){let t=de(e);(!t||!t.tagName)&&(t={namespaceURI:V,tagName:"template"});const r=fe(e.tagName),f=fe(t.tagName);return ze[e.namespaceURI]?e.namespaceURI===Re?t.namespaceURI===k?r==="svg":t.namespaceURI===be?r==="svg"&&(f==="annotation-xml"||Be[f]):!!pt[r]:e.namespaceURI===be?t.namespaceURI===k?r==="math":t.namespaceURI===Re?r==="math"&&Ge[f]:!!dt[r]:e.namespaceURI===k?t.namespaceURI===Re&&!Ge[f]||t.namespaceURI===be&&!Be[f]?!1:!dt[r]&&(Jt[r]||!pt[r]):!!(se==="application/xhtml+xml"&&ze[e.namespaceURI]):!1},M=function(e){J(n.removed,{element:e});try{de(e).removeChild(e)}catch{Bt(e)}},j=function(e,t){try{J(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{J(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if($||Se)try{M(t)}catch{}else try{t.setAttribute(e,"")}catch{}},Tt=function(e){let t=null,r=null;if(ke)e="<remove></remove>"+e;else{const p=It(e,/^[\r\n\t ]+/);r=p&&p[0]}se==="application/xhtml+xml"&&V===k&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const f=O?O.createHTML(e):e;if(V===k)try{t=new Le().parseFromString(f,se)}catch{}if(!t||!t.documentElement){t=Ce.createDocument(V,"template",null);try{t.documentElement.innerHTML=He?oe:f}catch{}}const u=t.body||t.documentElement;return e&&r&&u.insertBefore(i.createTextNode(r),u.childNodes[0]||null),V===k?Yt.call(t,W?"html":"body")[0]:W?t.documentElement:u},_t=function(e){return et.call(e.ownerDocument||e,e,N.SHOW_ELEMENT|N.SHOW_COMMENT|N.SHOW_TEXT|N.SHOW_PROCESSING_INSTRUCTION|N.SHOW_CDATA_SECTION,null)},gt=function(e){e.normalize();const t=et.call(e.ownerDocument||e,e,N.SHOW_TEXT|N.SHOW_COMMENT|N.SHOW_CDATA_SECTION|N.SHOW_PROCESSING_INSTRUCTION,null);let r=t.nextNode();for(;r;){let f=r.data;Z([ge,Ae,he],u=>{f=Q(f,u," ")}),r.data=f,r=t.nextNode()}},Oe=function(e){const t=Y?Y(e):null;return typeof t!="string"||g(t)!=="form"?!1:typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||e.attributes!==Wt(e)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function"||e.nodeType!==w(e)||e.childNodes!==
2pe(e)},le=function(e){if(!w||typeof e!="object"||e===null)return!1;try{return w(e)===F.documentFragment}catch{return!1}},De=function(e){if(!w||typeof e!="object"||e===null)return!1;try{return typeof w(e)=="number"}catch{return!1}};function H(a,e,t){Z(a,r=>{r.call(n,e,t,q)})}const At=function(e){let t=null;if(H(S.beforeSanitizeElements,e,null),Oe(e))return M(e),!0;const r=g(e.nodeName);if(H(S.uponSanitizeElement,e,{tagName:r,allowedTags:T}),ie&&e.hasChildNodes()&&!De(e.firstElementChild)&&b(/<[/\w!]/g,e.innerHTML)&&b(/<[/\w!]/g,e.textContent)||ie&&e.namespaceURI===k&&r==="style"&&De(e.firstElementChild)||e.nodeType===F.progressingInstruction||ie&&e.nodeType===F.comment&&b(/<[/\w]/g,e.data))return M(e),!0;if(re[r]||!(z.tagCheck instanceof Function&&z.tagCheck(r))&&!T[r]){if(!re[r]&&Et(r)&&(_.tagNameCheck instanceof RegExp&&b(_.tagNameCheck,r)||_.tagNameCheck instanceof Function&&_.tagNameCheck(r)))return!1;if(ve&&!P[r]){const u=de(e),p=pe(e);if(p&&u){const L=p.length;for(let v=L-1;v>=0;--v){const x=zt(p[v],!0);u.insertBefore(x,Gt(e))}}}return M(e),!0}return(w?w(e):e.nodeType)===F.element&&!nn(e)||(r==="noscript"||r==="noembed"||r==="noframes")&&b(/<\/no(script|embed|frames)/i,e.innerHTML)?(M(e),!0):(B&&e.nodeType===F.text&&(t=e.textContent,Z([ge,Ae,he],u=>{t=Q(t,u," ")}),e.textContent!==t&&(J(n.removed,{element:e.cloneNode()}),e.textContent=t)),H(S.afterSanitizeElements,e,null),!1)},ht=function(e,t,r){if(Ee[t]||at&&(t==="id"||t==="name")&&(r in i||r in tn))return!1;const f=A[t]||z.attributeCheck instanceof Function&&z.attributeCheck(t,e);if(!(xe&&!Ee[t]&&b(Xt,t))){if(!(ot&&b(Vt,t))){if(!f||Ee[t]){if(!(Et(e)&&(_.tagNameCheck instanceof RegExp&&b(_.tagNameCheck,e)||_.tagNameCheck instanceof Function&&_.tagNameCheck(e))&&(_.attributeNameCheck instanceof RegExp&&b(_.attributeNameCheck,t)||_.attributeNameCheck instanceof Function&&_.attributeNameCheck(t,e))||t==="is"&&_.allowCustomizedBuiltInElements&&(_.tagNameCheck instanceof RegExp&&b(_.tagNameCheck,r)||_.tagNameCheck instanceof Function&&_.tagNameCheck(r))))return!1}else if(!Ue[t]){if(!b(nt,Q(r,tt,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Nt(r,"data:")===0&&ct[e])){if(!(rt&&!b(qt,Q(r,tt,"")))){if(r)return!1}}}}}}return!0},on=c({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Et=function(e){return!on[fe(e)]&&b(Kt,e)},St=function(e){H(S.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||Oe(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A,forceKeepAttr:void 0};let f=t.length;for(;f--;){const u=t[f],p=u.name,L=u.namespaceURI,v=u.value,x=g(p),je=v;let y=p==="value"?je:bn(je);if(r.attrName=x,r.attrValue=y,r.keepAttr=!0,r.forceKeepAttr=void 0,H(S.uponSanitizeAttribute,e,r),y=r.attrValue,st&&(x==="id"||x==="name")&&Nt(y,lt)!==0&&(j(p,e),y=lt+y),ie&&b(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,y)){j(p,e);continue}if(x==="attributename"&&It(y,"href")){j(p,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){j(p,e);continue}if(!it&&b(/\/>/i,y)){j(p,e);continue}B&&Z([ge,Ae,he],bt=>{y=Q(y,bt," ")});const yt=g(e.nodeName);if(!ht(yt,x,y)){j(p,e);continue}if(O&&typeof me=="object"&&typeof me.getAttributeType=="function"&&!L)switch(me.getAttributeType(yt,x)){case"TrustedHTML":{y=O.createHTML(y);break}case"TrustedScriptURL":{y=O.createScriptURL(y);break}}if(y!==je)try{L?e.setAttributeNS(L,p,y):e.setAttribute(p,y),Oe(e)?M(e):Dt(n.removed)}catch{j(p,e)}}H(S.afterSanitizeAttributes,e,null)},Ie=function(e){let t=null;const r=_t(e);for(H(S.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(H(S.uponSanitizeShadowNode,t,null),At(t),St(t),le(t.content)&&Ie(t.content),(w?w(t):t.nodeType)===F.element){const u=Te?Te(t):t.shadowRoot;le(u)&&(K(u),Ie(u))}H(S.afterSanitizeShadowDOM,e,null)},K=function(e){const t=w?w(e):e.nodeType;if(t===F.element){const u=Te?Te(e):e.shadowRoot;le(u)&&(K(u),Ie(u))}const r=pe?pe(e):e.childNodes;if(!r)return;const f=[];Z(r,u=>{J(f,u)});for(const u of f)K(u);if(t===F.element){const u=Y?Y(e):null;if(typeof u=="string"&&g(u)==="template"){const p=e.content;le(p)&&K(p)}}};return n.sanitize=function(a){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,r=null,f=null,u=null;if(He=!a,He&&(a="<!-->"),typeof a!="string"&&!De(a)&&(a=Nn(a),typeof a!="string"))throw ue("dirty is not a string, aborting");if(!n.isSupported)return a;
2if(Pe||We(e),n.removed=[],typeof a=="string"&&(ae=!1),ae){const v=Y?Y(a):a.nodeName;if(typeof v=="string"){const x=g(v);if(!T[x]||re[x])throw ue("root node is forbidden and cannot be sanitized in-place")}if(Oe(a))throw ue("root node is clobbered and cannot be sanitized in-place");K(a)}else if(De(a))t=Tt("<!---->"),r=t.ownerDocument.importNode(a,!0),r.nodeType===F.element&&r.nodeName==="BODY"||r.nodeName==="HTML"?t=r:t.appendChild(r),K(r);else{if(!$&&!B&&!W&&a.indexOf("<")===-1)return O&&ye?O.createHTML(a):a;if(t=Tt(a),!t)return $?null:ye?oe:""}t&&ke&&M(t.firstChild);const p=_t(ae?a:t);for(;f=p.nextNode();)At(f),St(f),le(f.content)&&Ie(f.content);if(ae)return B&>(a),a;if($){if(B&>(t),Se)for(u=jt.call(t.ownerDocument);t.firstChild;)u.appendChild(t.firstChild);else u=t;return(A.shadowroot||A.shadowrootmode)&&(u=$t.call(s,u,!0)),u}let L=W?t.outerHTML:t.innerHTML;return W&&T["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&b(Hn,t.ownerDocument.doctype.name)&&(L="<!DOCTYPE "+t.ownerDocument.doctype.name+`> 3`+L),B&&Z([ge,Ae,he],v=>{L=Q(L,v," ")}),O&&ye?O.createHTML(L):L},n.setConfig=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};We(a),Pe=!0},n.clearConfig=function(){q=null,Pe=!1},n.isValidAttribute=function(a,e,t){q||We({});const r=g(a),f=g(e);return ht(r,f,t)},n.addHook=function(a,e){typeof e=="function"&&J(S[a],e)},n.removeHook=function(a,e){if(e!==void 0){const t=Sn(S[a],e);return t===-1?void 0:yn(S[a],t,1)[0]}return Dt(S[a])},n.removeHooks=function(a){S[a]=[]},n.removeAllHooks=function(){S=vt()},n}var Wn=Ht();const jn=["innerHTML"],Yn=rn({__name:"custom-html",props:{html:{},allowedTags:{},allowedAttributes:{},forbiddenAttributes:{},forbiddenTags:{},allowStyles:{type:Boolean}},setup(o){const n=o,{handleCustomHtmlClick:i}=un(),s=an(()=>{const l={FORBID_ATTR:["style"]};return n.allowedTags!=="*"&&n.allowedTags!==void 0&&(l.ALLOWED_TAGS=n.allowedTags),n.allowedAttributes!=="*"&&n.allowedAttributes!==void 0&&(l.ALLOWED_ATTR=n.allowedAttributes??[]),n.forbiddenTags!==void 0&&(l.FORBID_TAGS=n.forbiddenTags),n.forbiddenAttributes!==void 0&&l.FORBID_ATTR.push(...n.forbiddenAttributes),n.allowStyles&&(l.FORBID_ATTR=l.FORBID_ATTR.filter(m=>m!=="style"),l.ALLOWED_ATTR?.push("style")),l});return(l,m)=>(sn(),ln("div",{class:cn(l.$style.root),onClick:m[0]||(m[0]=(...E)=>Ye(i)&&Ye(i)(...E)),innerHTML:Ye(Wn).sanitize(n.html,s.value)},null,10,jn))}}),$n="custom-html_root-jGMem",Xn={root:$n},Vn={$style:Xn},eo=fn(Yn,[["__cssModules",Vn]]);
3export{eo as C,Jn as a,mn as b,Zn as c,Wn as p,Qn as u}; 4(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".custom-html_root-jGMem{display:contents}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.