node-red-contrib-knx-ultimate 6.3.0 → 6.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- function I(a){"@babel/helpers - typeof";return I=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},I(a)}function Fe(a,n){return Fe=Object.setPrototypeOf||function(s,c){return s.__proto__=c,s},Fe(a,n)}function zt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function le(a,n,o){return zt()?le=Reflect.construct:le=function(c,g,y){var D=[null];D.push.apply(D,g);var x=Function.bind.apply(c,D),j=new x;return y&&Fe(j,y.prototype),j},le.apply(null,arguments)}function M(a){return Gt(a)||Wt(a)||Bt(a)||$t()}function Gt(a){if(Array.isArray(a))return Ue(a)}function Wt(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Bt(a,n){if(a){if(typeof a=="string")return Ue(a,n);var o=Object.prototype.toString.call(a).slice(8,-1);if(o==="Object"&&a.constructor&&(o=a.constructor.name),o==="Map"||o==="Set")return Array.from(a);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ue(a,n)}}function Ue(a,n){(n==null||n>a.length)&&(n=a.length);for(var o=0,s=new Array(n);o<n;o++)s[o]=a[o];return s}function $t(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var jt=Object.hasOwnProperty,ut=Object.setPrototypeOf,Yt=Object.isFrozen,Xt=Object.getPrototypeOf,Vt=Object.getOwnPropertyDescriptor,E=Object.freeze,b=Object.seal,qt=Object.create,vt=typeof Reflect<"u"&&Reflect,ue=vt.apply,He=vt.construct;ue||(ue=function(n,o,s){return n.apply(o,s)});E||(E=function(n){return n});b||(b=function(n){return n});He||(He=function(n,o){return le(n,M(o))});var Kt=O(Array.prototype.forEach),ft=O(Array.prototype.pop),q=O(Array.prototype.push),se=O(String.prototype.toLowerCase),we=O(String.prototype.toString),ct=O(String.prototype.match),L=O(String.prototype.replace),Zt=O(String.prototype.indexOf),Jt=O(String.prototype.trim),_=O(RegExp.prototype.test),Ce=Qt(TypeError);function O(a){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];return ue(a,n,s)}}function Qt(a){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return He(a,o)}}function l(a,n,o){var s;o=(s=o)!==null&&s!==void 0?s:se,ut&&ut(a,null);for(var c=n.length;c--;){var g=n[c];if(typeof g=="string"){var y=o(g);y!==g&&(Yt(n)||(n[c]=y),g=y)}a[g]=!0}return a}function U(a){var n=qt(null),o;for(o in a)ue(jt,a,[o])===!0&&(n[o]=a[o]);return n}function ie(a,n){for(;a!==null;){var o=Vt(a,n);if(o){if(o.get)return O(o.get);if(typeof o.value=="function")return O(o.value)}a=Xt(a)}function s(c){return console.warn("fallback value for",c),null}return s}var mt=E(["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"]),Ie=E(["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"]),xe=E(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),er=E(["animate","color-profile","cursor","discard","fedropshadow","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"]),ke=E(["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"]),tr=E(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),pt=E(["#text"]),dt=E(["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","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","xmlns","slot"]),Pe=E(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),Tt=E(["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"]),oe=E(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),rr=b(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ar=b(/<%[\w\W]*|[\w\W]*%>/gm),nr=b(/\${[\w\W]*}/gm),ir=b(/^data-[\-\w.\u00B7-\uFFFF]+$/),or=b(/^aria-[\-\w]+$/),lr=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sr=b(/^(?:\w+script|data):/i),ur=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),fr=b(/^html$/i),cr=b(/^[a-z][.\w]*(-[.\w]+)+$/i),mr=function(){return typeof window>"u"?null:window},pr=function(n,o){if(I(n)!=="object"||typeof n.createPolicy!="function")return null;var s=null,c="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(c)&&(s=o.currentScript.getAttribute(c));var g="dompurify"+(s?"#"+s:"");try{return n.createPolicy(g,{createHTML:function(D){return D},createScriptURL:function(D){return D}})}catch{return console.warn("TrustedTypes policy "+g+" could not be created."),null}};function _t(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mr(),n=function(e){return _t(e)};if(n.version="2.5.9",n.removed=[],!a||!a.document||a.document.nodeType!==9)return n.isSupported=!1,n;var o=a.document,s=a.document,c=a.DocumentFragment,g=a.HTMLTemplateElement,y=a.Node,D=a.Element,x=a.NodeFilter,j=a.NamedNodeMap,ht=j===void 0?a.NamedNodeMap||a.MozNamedAttrMap:j,Et=a.HTMLFormElement,At=a.DOMParser,K=a.trustedTypes,Z=D.prototype,yt=ie(Z,"cloneNode"),gt=ie(Z,"nextSibling"),St=ie(Z,"childNodes"),fe=ie(Z,"parentNode");if(typeof g=="function"){var ce=s.createElement("template");ce.content&&ce.content.ownerDocument&&(s=ce.content.ownerDocument)}var R=pr(K,o),me=R?R.createHTML(""):"",J=s,pe=J.implementation,bt=J.createNodeIterator,Ot=J.createDocumentFragment,Rt=J.getElementsByTagName,Lt=o.importNode,ze={};try{ze=U(s).documentMode?s.documentMode:{}}catch{}var N={};n.isSupported=typeof fe=="function"&&pe&&pe.createHTMLDocument!==void 0&&ze!==9;var de=rr,Te=ar,ve=nr,Mt=ir,Dt=or,Nt=sr,Ge=ur,wt=cr,_e=lr,p=null,We=l({},[].concat(M(mt),M(Ie),M(xe),M(ke),M(pt))),d=null,Be=l({},[].concat(M(dt),M(Pe),M(Tt),M(oe))),f=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}})),Y=null,he=null,$e=!0,Ee=!0,je=!1,Ye=!0,H=!1,Ae=!0,k=!1,ye=!1,ge=!1,z=!1,Q=!1,ee=!1,Xe=!0,Ve=!1,Ct="user-content-",Se=!0,X=!1,G={},W=null,qe=l({},["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"]),Ke=null,Ze=l({},["audio","video","img","source","image","track"]),be=null,Je=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),te="http://www.w3.org/1998/Math/MathML",re="http://www.w3.org/2000/svg",w="http://www.w3.org/1999/xhtml",B=w,Oe=!1,Re=null,It=l({},[te,re,w],we),P,xt=["application/xhtml+xml","text/html"],kt="text/html",T,$=null,Pt=s.createElement("form"),Qe=function(e){return e instanceof RegExp||e instanceof Function},Le=function(e){$&&$===e||((!e||I(e)!=="object")&&(e={}),e=U(e),P=xt.indexOf(e.PARSER_MEDIA_TYPE)===-1?P=kt:P=e.PARSER_MEDIA_TYPE,T=P==="application/xhtml+xml"?we:se,p="ALLOWED_TAGS"in e?l({},e.ALLOWED_TAGS,T):We,d="ALLOWED_ATTR"in e?l({},e.ALLOWED_ATTR,T):Be,Re="ALLOWED_NAMESPACES"in e?l({},e.ALLOWED_NAMESPACES,we):It,be="ADD_URI_SAFE_ATTR"in e?l(U(Je),e.ADD_URI_SAFE_ATTR,T):Je,Ke="ADD_DATA_URI_TAGS"in e?l(U(Ze),e.ADD_DATA_URI_TAGS,T):Ze,W="FORBID_CONTENTS"in e?l({},e.FORBID_CONTENTS,T):qe,Y="FORBID_TAGS"in e?l({},e.FORBID_TAGS,T):{},he="FORBID_ATTR"in e?l({},e.FORBID_ATTR,T):{},G="USE_PROFILES"in e?e.USE_PROFILES:!1,$e=e.ALLOW_ARIA_ATTR!==!1,Ee=e.ALLOW_DATA_ATTR!==!1,je=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ye=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,H=e.SAFE_FOR_TEMPLATES||!1,Ae=e.SAFE_FOR_XML!==!1,k=e.WHOLE_DOCUMENT||!1,z=e.RETURN_DOM||!1,Q=e.RETURN_DOM_FRAGMENT||!1,ee=e.RETURN_TRUSTED_TYPE||!1,ge=e.FORCE_BODY||!1,Xe=e.SANITIZE_DOM!==!1,Ve=e.SANITIZE_NAMED_PROPS||!1,Se=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,_e=e.ALLOWED_URI_REGEXP||_e,B=e.NAMESPACE||w,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Qe(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Qe(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),H&&(Ee=!1),Q&&(z=!0),G&&(p=l({},M(pt)),d=[],G.html===!0&&(l(p,mt),l(d,dt)),G.svg===!0&&(l(p,Ie),l(d,Pe),l(d,oe)),G.svgFilters===!0&&(l(p,xe),l(d,Pe),l(d,oe)),G.mathMl===!0&&(l(p,ke),l(d,Tt),l(d,oe))),e.ADD_TAGS&&(p===We&&(p=U(p)),l(p,e.ADD_TAGS,T)),e.ADD_ATTR&&(d===Be&&(d=U(d)),l(d,e.ADD_ATTR,T)),e.ADD_URI_SAFE_ATTR&&l(be,e.ADD_URI_SAFE_ATTR,T),e.FORBID_CONTENTS&&(W===qe&&(W=U(W)),l(W,e.FORBID_CONTENTS,T)),Se&&(p["#text"]=!0),k&&l(p,["html","head","body"]),p.table&&(l(p,["tbody"]),delete Y.tbody),E&&E(e),$=e)},et=l({},["mi","mo","mn","ms","mtext"]),tt=l({},["annotation-xml"]),Ft=l({},["title","style","font","a","script"]),ae=l({},Ie);l(ae,xe),l(ae,er);var Me=l({},ke);l(Me,tr);var Ut=function(e){var t=fe(e);(!t||!t.tagName)&&(t={namespaceURI:B,tagName:"template"});var r=se(e.tagName),u=se(t.tagName);return Re[e.namespaceURI]?e.namespaceURI===re?t.namespaceURI===w?r==="svg":t.namespaceURI===te?r==="svg"&&(u==="annotation-xml"||et[u]):!!ae[r]:e.namespaceURI===te?t.namespaceURI===w?r==="math":t.namespaceURI===re?r==="math"&&tt[u]:!!Me[r]:e.namespaceURI===w?t.namespaceURI===re&&!tt[u]||t.namespaceURI===te&&!et[u]?!1:!Me[r]&&(Ft[r]||!ae[r]):!!(P==="application/xhtml+xml"&&Re[e.namespaceURI]):!1},S=function(e){q(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch{try{e.outerHTML=me}catch{e.remove()}}},ne=function(e,t){try{q(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{q(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is"&&!d[e])if(z||Q)try{S(t)}catch{}else try{t.setAttribute(e,"")}catch{}},rt=function(e){var t,r;if(ge)e="<remove></remove>"+e;else{var u=ct(e,/^[\r\n\t ]+/);r=u&&u[0]}P==="application/xhtml+xml"&&B===w&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var A=R?R.createHTML(e):e;if(B===w)try{t=new At().parseFromString(A,P)}catch{}if(!t||!t.documentElement){t=pe.createDocument(B,"template",null);try{t.documentElement.innerHTML=Oe?me:A}catch{}}var h=t.body||t.documentElement;return e&&r&&h.insertBefore(s.createTextNode(r),h.childNodes[0]||null),B===w?Rt.call(t,k?"html":"body")[0]:k?t.documentElement:h},at=function(e){return bt.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT|x.SHOW_PROCESSING_INSTRUCTION|x.SHOW_CDATA_SECTION,null,!1)},De=function(e){return e instanceof Et&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof ht)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},V=function(e){return I(y)==="object"?e instanceof y:e&&I(e)==="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"},C=function(e,t,r){N[e]&&Kt(N[e],function(u){u.call(n,t,r,$)})},nt=function(e){var t;if(C("beforeSanitizeElements",e,null),De(e)||_(/[\u0080-\uFFFF]/,e.nodeName))return S(e),!0;var r=T(e.nodeName);if(C("uponSanitizeElement",e,{tagName:r,allowedTags:p}),e.hasChildNodes()&&!V(e.firstElementChild)&&(!V(e.content)||!V(e.content.firstElementChild))&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent)||r==="select"&&_(/<template/i,e.innerHTML)||e.nodeType===7||Ae&&e.nodeType===8&&_(/<[/\w]/g,e.data))return S(e),!0;if(!p[r]||Y[r]){if(!Y[r]&&ot(r)&&(f.tagNameCheck instanceof RegExp&&_(f.tagNameCheck,r)||f.tagNameCheck instanceof Function&&f.tagNameCheck(r)))return!1;if(Se&&!W[r]){var u=fe(e)||e.parentNode,A=St(e)||e.childNodes;if(A&&u)for(var h=A.length,v=h-1;v>=0;--v){var F=yt(A[v],!0);F.__removalCount=(e.__removalCount||0)+1,u.insertBefore(F,gt(e))}}return S(e),!0}return e instanceof D&&!Ut(e)||(r==="noscript"||r==="noembed"||r==="noframes")&&_(/<\/no(script|embed|frames)/i,e.innerHTML)?(S(e),!0):(H&&e.nodeType===3&&(t=e.textContent,t=L(t,de," "),t=L(t,Te," "),t=L(t,ve," "),e.textContent!==t&&(q(n.removed,{element:e.cloneNode()}),e.textContent=t)),C("afterSanitizeElements",e,null),!1)},it=function(e,t,r){if(Xe&&(t==="id"||t==="name")&&(r in s||r in Pt))return!1;if(!(Ee&&!he[t]&&_(Mt,t))){if(!($e&&_(Dt,t))){if(!d[t]||he[t]){if(!(ot(e)&&(f.tagNameCheck instanceof RegExp&&_(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&_(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&_(f.tagNameCheck,r)||f.tagNameCheck instanceof Function&&f.tagNameCheck(r))))return!1}else if(!be[t]){if(!_(_e,L(r,Ge,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Zt(r,"data:")===0&&Ke[e])){if(!(je&&!_(Nt,L(r,Ge,"")))){if(r)return!1}}}}}}return!0},ot=function(e){return e!=="annotation-xml"&&ct(e,wt)},lt=function(e){var t,r,u,A;C("beforeSanitizeAttributes",e,null);var h=e.attributes;if(!(!h||De(e))){var v={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:d};for(A=h.length;A--;){t=h[A];var F=t,m=F.name,Ne=F.namespaceURI;if(r=m==="value"?t.value:Jt(t.value),u=T(m),v.attrName=u,v.attrValue=r,v.keepAttr=!0,v.forceKeepAttr=void 0,C("uponSanitizeAttribute",e,v),r=v.attrValue,!v.forceKeepAttr&&(ne(m,e),!!v.keepAttr)){if(!Ye&&_(/\/>/i,r)){ne(m,e);continue}H&&(r=L(r,de," "),r=L(r,Te," "),r=L(r,ve," "));var st=T(e.nodeName);if(it(st,u,r)){if(Ve&&(u==="id"||u==="name")&&(ne(m,e),r=Ct+r),Ae&&_(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,r)){ne(m,e);continue}if(R&&I(K)==="object"&&typeof K.getAttributeType=="function"&&!Ne)switch(K.getAttributeType(st,u)){case"TrustedHTML":{r=R.createHTML(r);break}case"TrustedScriptURL":{r=R.createScriptURL(r);break}}try{Ne?e.setAttributeNS(Ne,m,r):e.setAttribute(m,r),De(e)?S(e):ft(n.removed)}catch{}}}}C("afterSanitizeAttributes",e,null)}},Ht=function i(e){var t,r=at(e);for(C("beforeSanitizeShadowDOM",e,null);t=r.nextNode();)C("uponSanitizeShadowNode",t,null),nt(t),lt(t),t.content instanceof c&&i(t.content);C("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,r,u,A,h;if(Oe=!i,Oe&&(i="<!-->"),typeof i!="string"&&!V(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw Ce("dirty is not a string, aborting")}else throw Ce("toString is not a function");if(!n.isSupported){if(I(a.toStaticHTML)==="object"||typeof a.toStaticHTML=="function"){if(typeof i=="string")return a.toStaticHTML(i);if(V(i))return a.toStaticHTML(i.outerHTML)}return i}if(ye||Le(e),n.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){var v=T(i.nodeName);if(!p[v]||Y[v])throw Ce("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof y)t=rt("<!---->"),r=t.ownerDocument.importNode(i,!0),r.nodeType===1&&r.nodeName==="BODY"||r.nodeName==="HTML"?t=r:t.appendChild(r);else{if(!z&&!H&&!k&&i.indexOf("<")===-1)return R&&ee?R.createHTML(i):i;if(t=rt(i),!t)return z?null:ee?me:""}t&&ge&&S(t.firstChild);for(var F=at(X?i:t);u=F.nextNode();)u.nodeType===3&&u===A||(nt(u),lt(u),u.content instanceof c&&Ht(u.content),A=u);if(A=null,X)return i;if(z){if(Q)for(h=Ot.call(t.ownerDocument);t.firstChild;)h.appendChild(t.firstChild);else h=t;return(d.shadowroot||d.shadowrootmod)&&(h=Lt.call(o,h,!0)),h}var m=k?t.outerHTML:t.innerHTML;return k&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&_(fr,t.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
3
- `+m),H&&(m=L(m,de," "),m=L(m,Te," "),m=L(m,ve," ")),R&&ee?R.createHTML(m):m},n.setConfig=function(i){Le(i),ye=!0},n.clearConfig=function(){$=null,ye=!1},n.isValidAttribute=function(i,e,t){$||Le({});var r=T(i),u=T(e);return it(r,u,t)},n.addHook=function(i,e){typeof e=="function"&&(N[i]=N[i]||[],q(N[i],e))},n.removeHook=function(i){if(N[i])return ft(N[i])},n.removeHooks=function(i){N[i]&&(N[i]=[])},n.removeAllHooks=function(){N={}},n}var Tr=_t();export{Tr as default};
1
+ function ke(o,i){(i==null||i>o.length)&&(i=o.length);for(var s=0,c=Array(i);s<i;s++)c[s]=o[s];return c}function wn(o){if(Array.isArray(o))return o}function Cn(o,i){var s=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(s!=null){var c,f,d,S,lt=[],P=!0,ct=!1;try{if(d=(s=s.call(o)).next,i!==0)for(;!(P=(c=d.call(s)).done)&&(lt.push(c.value),lt.length!==i);P=!0);}catch(Pt){ct=!0,f=Pt}finally{try{if(!P&&s.return!=null&&(S=s.return(),Object(S)!==S))return}finally{if(ct)throw f}}return lt}}function Mn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pn(o,i){return wn(o)||Cn(o,i)||xn(o,i)||Mn()}function xn(o,i){if(o){if(typeof o=="string")return ke(o,i);var s={}.toString.call(o).slice(8,-1);return s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set"?Array.from(o):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?ke(o,i):void 0}}const Ke=Object.entries,ve=Object.setPrototypeOf,kn=Object.isFrozen,vn=Object.getPrototypeOf,Un=Object.getOwnPropertyDescriptor;let R=Object.freeze,N=Object.seal,st=Object.create,Ze=typeof Reflect<"u"&&Reflect,ie=Ze.apply,ae=Ze.construct;R||(R=function(i){return i});N||(N=function(i){return i});ie||(ie=function(i,s){for(var c=arguments.length,f=new Array(c>2?c-2:0),d=2;d<c;d++)f[d-2]=arguments[d];return i.apply(s,f)});ae||(ae=function(i){for(var s=arguments.length,c=new Array(s>1?s-1:0),f=1;f<s;f++)c[f-1]=arguments[f];return new i(...c)});const it=y(Array.prototype.forEach),Fn=y(Array.prototype.lastIndexOf),Ue=y(Array.prototype.pop),at=y(Array.prototype.push),zn=y(Array.prototype.splice),j=Array.isArray,_t=y(String.prototype.toLowerCase),te=y(String.prototype.toString),Fe=y(String.prototype.match),Tt=y(String.prototype.replace),ze=y(String.prototype.indexOf),Hn=y(String.prototype.trim),Gn=y(Number.prototype.toString),Bn=y(Boolean.prototype.toString),He=typeof BigInt>"u"?null:y(BigInt.prototype.toString),Ge=typeof Symbol>"u"?null:y(Symbol.prototype.toString),O=y(Object.prototype.hasOwnProperty),ht=y(Object.prototype.toString),b=y(RegExp.prototype.test),Z=Wn(TypeError);function y(o){return function(i){i instanceof RegExp&&(i.lastIndex=0);for(var s=arguments.length,c=new Array(s>1?s-1:0),f=1;f<s;f++)c[f-1]=arguments[f];return ie(o,i,c)}}function Wn(o){return function(){for(var i=arguments.length,s=new Array(i),c=0;c<i;c++)s[c]=arguments[c];return ae(o,s)}}function p(o,i){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_t;if(ve&&ve(o,null),!j(i))return o;let c=i.length;for(;c--;){let f=i[c];if(typeof f=="string"){const d=s(f);d!==f&&(kn(i)||(i[c]=d),f=d)}o[f]=!0}return o}function Yn(o){for(let i=0;i<o.length;i++)O(o,i)||(o[i]=null);return o}function I(o){const i=st(null);for(const c of Ke(o)){var s=Pn(c,2);const f=s[0],d=s[1];O(o,f)&&(j(d)?i[f]=Yn(d):d&&typeof d=="object"&&d.constructor===Object?i[f]=I(d):i[f]=d)}return i}function jn(o){switch(typeof o){case"string":return o;case"number":return Gn(o);case"boolean":return Bn(o);case"bigint":return He?He(o):"0";case"symbol":return Ge?Ge(o):"Symbol()";case"undefined":return ht(o);case"function":case"object":{if(o===null)return ht(o);const i=o,s=k(i,"toString");if(typeof s=="function"){const c=s(i);return typeof c=="string"?c:ht(c)}return ht(o)}default:return ht(o)}}function k(o,i){for(;o!==null;){const c=Un(o,i);if(c){if(c.get)return y(c.get);if(typeof c.value=="function")return y(c.value)}o=vn(o)}function s(){return null}return s}function $n(o){try{return b(o,""),!0}catch{return!1}}const Be=R(["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"]),ee=R(["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"]),ne=R(["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"]),Xn=R(["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"]),oe=R(["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"]),Vn=R(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),We=R(["#text"]),Ye=R(["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"]),re=R(["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","dominant-baseline","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-orientation","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"]),je=R(["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","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Mt=R(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),qn=N(/{{[\w\W]*|^[\w\W]*}}/g),Kn=N(/<%[\w\W]*|^[\w\W]*%>/g),Zn=N(/\${[\w\W]*/g),Jn=N(/^data-[\-\w.\u00B7-\uFFFF]+$/),Qn=N(/^aria-[\-\w]+$/),$e=N(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),to=N(/^(?:\w+script|data):/i),eo=N(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),no=N(/^html$/i),oo=N(/^[a-z][.\w]*(-[.\w]+)+$/i),Xe=N(/<[/\w!]/g),Ve=N(/<[/\w]/g),ro=N(/<\/no(script|embed|frames)/i),io=N(/\/>/i),x={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},ao=function(){return typeof window>"u"?null:window},so=function(i,s){if(typeof i!="object"||typeof i.createPolicy!="function")return null;let c=null;const f="data-tt-policy-suffix";s&&s.hasAttribute(f)&&(c=s.getAttribute(f));const d="dompurify"+(c?"#"+c:"");try{return i.createPolicy(d,{createHTML(S){return S},createScriptURL(S){return S}})}catch{return console.warn("TrustedTypes policy "+d+" could not be created."),null}},qe=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Y=function(i,s,c,f){return O(i,s)&&j(i[s])?p(f.base?I(f.base):{},i[s],f.transform):c};function Je(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ao();const i=r=>Je(r);if(i.version="3.4.13",i.removed=[],!o||!o.document||o.document.nodeType!==x.document||!o.Element)return i.isSupported=!1,i;let s=o.document;const c=s,f=c.currentScript;o.DocumentFragment;const d=o.HTMLTemplateElement,S=o.Node,lt=o.Element,P=o.NodeFilter,ct=o.NamedNodeMap;ct===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;const Pt=o.DOMParser,gt=o.trustedTypes,$=lt.prototype,Qe=k($,"cloneNode"),xt=k($,"remove"),tn=k($,"nextSibling"),J=k($,"childNodes"),X=k($,"parentNode"),se=k($,"shadowRoot"),kt=k($,"attributes"),D=S&&S.prototype?k(S.prototype,"nodeType"):null,v=S&&S.prototype?k(S.prototype,"nodeName"):null,Et=S&&S.prototype?k(S.prototype,"ownerDocument"):null;if(typeof d=="function"){const r=s.createElement("template");r.content&&r.content.ownerDocument&&(s=r.content.ownerDocument)}let w,V="",vt,le=!1,ut=0;const ce=function(){if(ut>0)throw Z('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Q=function(t){ce(),ut++;try{return w.createHTML(t)}finally{ut--}},en=function(t){ce(),ut++;try{return w.createScriptURL(t)}finally{ut--}},nn=function(){return le||(vt=so(gt,f),le=!0),vt},At=s,Ut=At.implementation,ue=At.createNodeIterator,on=At.createDocumentFragment,rn=At.getElementsByTagName,an=c.importNode;let T=qe();i.isSupported=typeof Ke=="function"&&typeof X=="function"&&Ut&&Ut.createHTMLDocument!==void 0;const sn=qn,ln=Kn,cn=Zn,un=Jn,fn=Qn,pn=to,fe=eo,mn=oo;let pe=$e,h=null;const Ft=p({},[...Be,...ee,...ne,...oe,...We]);let _=null;const zt=p({},[...Ye,...re,...je,...Mt]);let A=Object.seal(st(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}})),ft=null,me=null;const H=Object.seal(st(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let de=!0,Ht=!0,Te=!1,he=!0,G=!1,B=!0,q=!1,Gt=!1,yt=null,St=null,Bt=!1,tt=!1,bt=!1,Ot=!1,_e=!0,ge=!1;const Ee="user-content-";let Wt=!0,Rt=!1,et={},U=null;const Yt=p({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ae=null;const ye=p({},["audio","video","img","source","image","track"]);let jt=null;const Se=p({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Nt="http://www.w3.org/1998/Math/MathML",It="http://www.w3.org/2000/svg",F="http://www.w3.org/1999/xhtml";let nt=F,$t=!1,Xt=null;const dn=p({},[Nt,It,F],te),be=R(["mi","mo","mn","ms","mtext"]);let Vt=p({},be);const Oe=R(["annotation-xml"]);let qt=p({},Oe);const Tn=p({},["title","style","font","a","script"]);let pt=null;const hn=["application/xhtml+xml","text/html"],_n="text/html";let g=null,ot=null;const gn=s.createElement("form"),Re=function(t){return t instanceof RegExp||t instanceof Function},Kt=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ot&&ot===t)return;(!t||typeof t!="object")&&(t={}),t=I(t),pt=hn.indexOf(t.PARSER_MEDIA_TYPE)===-1?_n:t.PARSER_MEDIA_TYPE,g=pt==="application/xhtml+xml"?te:_t,h=Y(t,"ALLOWED_TAGS",Ft,{transform:g}),_=Y(t,"ALLOWED_ATTR",zt,{transform:g}),Xt=Y(t,"ALLOWED_NAMESPACES",dn,{transform:te}),jt=Y(t,"ADD_URI_SAFE_ATTR",Se,{transform:g,base:Se}),Ae=Y(t,"ADD_DATA_URI_TAGS",ye,{transform:g,base:ye}),U=Y(t,"FORBID_CONTENTS",Yt,{transform:g}),ft=Y(t,"FORBID_TAGS",I({}),{transform:g}),me=Y(t,"FORBID_ATTR",I({}),{transform:g}),et=O(t,"USE_PROFILES")?t.USE_PROFILES&&typeof t.USE_PROFILES=="object"?I(t.USE_PROFILES):t.USE_PROFILES:!1,de=t.ALLOW_ARIA_ATTR!==!1,Ht=t.ALLOW_DATA_ATTR!==!1,Te=t.ALLOW_UNKNOWN_PROTOCOLS||!1,he=t.ALLOW_SELF_CLOSE_IN_ATTR!==!1,G=t.SAFE_FOR_TEMPLATES||!1,B=t.SAFE_FOR_XML!==!1,q=t.WHOLE_DOCUMENT||!1,tt=t.RETURN_DOM||!1,bt=t.RETURN_DOM_FRAGMENT||!1,Ot=t.RETURN_TRUSTED_TYPE||!1,Bt=t.FORCE_BODY||!1,_e=t.SANITIZE_DOM!==!1,ge=t.SANITIZE_NAMED_PROPS||!1,Wt=t.KEEP_CONTENT!==!1,Rt=t.IN_PLACE||!1,pe=$n(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:$e,nt=typeof t.NAMESPACE=="string"?t.NAMESPACE:F,Vt=O(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&typeof t.MATHML_TEXT_INTEGRATION_POINTS=="object"?I(t.MATHML_TEXT_INTEGRATION_POINTS):p({},be),qt=O(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&typeof t.HTML_INTEGRATION_POINTS=="object"?I(t.HTML_INTEGRATION_POINTS):p({},Oe);const e=O(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&typeof t.CUSTOM_ELEMENT_HANDLING=="object"?I(t.CUSTOM_ELEMENT_HANDLING):st(null);if(A=st(null),O(e,"tagNameCheck")&&Re(e.tagNameCheck)&&(A.tagNameCheck=e.tagNameCheck),O(e,"attributeNameCheck")&&Re(e.attributeNameCheck)&&(A.attributeNameCheck=e.attributeNameCheck),O(e,"allowCustomizedBuiltInElements")&&typeof e.allowCustomizedBuiltInElements=="boolean"&&(A.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),N(A),G&&(Ht=!1),bt&&(tt=!0),et&&(h=p({},We),_=st(null),et.html===!0&&(p(h,Be),p(_,Ye)),et.svg===!0&&(p(h,ee),p(_,re),p(_,Mt)),et.svgFilters===!0&&(p(h,ne),p(_,re),p(_,Mt)),et.mathMl===!0&&(p(h,oe),p(_,je),p(_,Mt))),H.tagCheck=null,H.attributeCheck=null,O(t,"ADD_TAGS")&&(typeof t.ADD_TAGS=="function"?H.tagCheck=t.ADD_TAGS:j(t.ADD_TAGS)&&(h===Ft&&(h=I(h)),p(h,t.ADD_TAGS,g))),O(t,"ADD_ATTR")&&(typeof t.ADD_ATTR=="function"?H.attributeCheck=t.ADD_ATTR:j(t.ADD_ATTR)&&(_===zt&&(_=I(_)),p(_,t.ADD_ATTR,g))),O(t,"ADD_URI_SAFE_ATTR")&&j(t.ADD_URI_SAFE_ATTR)&&p(jt,t.ADD_URI_SAFE_ATTR,g),O(t,"FORBID_CONTENTS")&&j(t.FORBID_CONTENTS)&&(U===Yt&&(U=I(U)),p(U,t.FORBID_CONTENTS,g)),O(t,"ADD_FORBID_CONTENTS")&&j(t.ADD_FORBID_CONTENTS)&&(U===Yt&&(U=I(U)),p(U,t.ADD_FORBID_CONTENTS,g)),Wt&&(h["#text"]=!0),q&&p(h,["html","head","body"]),h.table&&(p(h,["tbody"]),delete ft.tbody),t.TRUSTED_TYPES_POLICY){if(typeof t.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof t.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const n=w;w=t.TRUSTED_TYPES_POLICY;try{V=Q("")}catch(a){throw w=n,a}}else t.TRUSTED_TYPES_POLICY===null?(w=void 0,V=""):(w===void 0&&(w=nn()),w&&typeof V=="string"&&(V=Q("")));R&&R(t),ot=t},Ne=p({},[...ee,...ne,...Xn]),Ie=p({},[...oe,...Vn]),En=function(t,e,n){return e.namespaceURI===F?t==="svg":e.namespaceURI===Nt?t==="svg"&&(n==="annotation-xml"||Vt[n]):!!Ne[t]},An=function(t,e,n){return e.namespaceURI===F?t==="math":e.namespaceURI===It?t==="math"&&qt[n]:!!Ie[t]},yn=function(t,e,n){return e.namespaceURI===It&&!qt[n]||e.namespaceURI===Nt&&!Vt[n]?!1:!Ie[t]&&(Tn[t]||!Ne[t])},Sn=function(t){let e=X(t);(!e||!e.tagName)&&(e={namespaceURI:nt,tagName:"template"});const n=_t(t.tagName),a=_t(e.tagName);return Xt[t.namespaceURI]?t.namespaceURI===It?En(n,e,a):t.namespaceURI===Nt?An(n,e,a):t.namespaceURI===F?yn(n,e,a):!!(pt==="application/xhtml+xml"&&Xt[t.namespaceURI]):!1},W=function(t){at(i.removed,{element:t});try{X(t).removeChild(t)}catch{if(xt(t),!X(t))throw Z("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Dt=function(t){mt(t);const e=J(t);if(e){const a=[];it(e,l=>{at(a,l)}),it(a,l=>{try{xt(l)}catch{}})}const n=kt(t);if(n)for(let a=n.length-1;a>=0;--a){const l=n[a],u=l&&l.name;if(typeof u=="string")try{t.removeAttribute(u)}catch{}}},K=function(t,e){try{at(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch{at(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),t==="is")if(tt||bt)try{W(e)}catch{}else try{e.setAttribute(t,"")}catch{}},bn=function(t){const e=kt(t);if(e)for(let n=e.length-1;n>=0;--n){const a=e[n],l=a&&a.name;if(!(typeof l!="string"||_[g(l)]))try{t.removeAttribute(l)}catch{}}},mt=function(t){const e=[t];for(;e.length>0;){const n=e.pop();(D?D(n):n.nodeType)===x.element&&bn(n);const l=J(n);if(l)for(let u=l.length-1;u>=0;--u)e.push(l[u])}},On=function(t){if(!B)return;const e=[t];for(;e.length>0;){const n=e.pop(),a=D?D(n):n.nodeType;if(a===x.processingInstruction||a===x.comment&&b(Ve,n.data)){try{xt(n)}catch{}continue}if(a===x.element){const u=n,m=g(v?v(n):n.nodeName);try{u.hasAttribute&&u.hasAttribute("patchsrc")&&u.removeAttribute("patchsrc"),u.hasAttribute&&u.hasAttribute("for")&&m!=="label"&&m!=="output"&&u.removeAttribute("for")}catch{}}const l=J(n);if(l)for(let u=l.length-1;u>=0;--u)e.push(l[u])}},De=function(t){let e=null,n=null;if(Bt)t="<remove></remove>"+t;else{const u=Fe(t,/^[\r\n\t ]+/);n=u&&u[0]}pt==="application/xhtml+xml"&&nt===F&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const a=w?Q(t):t;if(nt===F)try{e=new Pt().parseFromString(a,pt)}catch{}if(!e||!e.documentElement){e=Ut.createDocument(nt,"template",null);try{e.documentElement.innerHTML=$t?V:a}catch{}}const l=e.body||e.documentElement;return t&&n&&l.insertBefore(s.createTextNode(n),l.childNodes[0]||null),nt===F?rn.call(e,q?"html":"body")[0]:q?e.documentElement:l},Le=function(t){const e=Et?Et(t):t.ownerDocument;return ue.call(e||t,t,P.SHOW_ELEMENT|P.SHOW_COMMENT|P.SHOW_TEXT|P.SHOW_PROCESSING_INSTRUCTION|P.SHOW_CDATA_SECTION,null)},Lt=function(t){return t=Tt(t,sn," "),t=Tt(t,ln," "),t=Tt(t,cn," "),t},Zt=function(t){var e;t.normalize();const n=Et?Et(t):t.ownerDocument,a=ue.call(n||t,t,P.SHOW_TEXT|P.SHOW_COMMENT|P.SHOW_CDATA_SECTION|P.SHOW_PROCESSING_INSTRUCTION,null);let l=a.nextNode();for(;l;)l.data=Lt(l.data),l=a.nextNode();const u=(e=t.querySelectorAll)===null||e===void 0?void 0:e.call(t,"template");u&&it(u,m=>{rt(m.content)&&Zt(m.content)})},wt=function(t){const e=v?v(t):null;return typeof e!="string"||g(e)!=="form"?!1:typeof t.nodeName!="string"||typeof t.textContent!="string"||typeof t.removeChild!="function"||t.attributes!==kt(t)||typeof t.removeAttribute!="function"||typeof t.setAttribute!="function"||typeof t.namespaceURI!="string"||typeof t.insertBefore!="function"||typeof t.hasChildNodes!="function"||t.nodeType!==D(t)||t.childNodes!==J(t)},rt=function(t){if(!D||typeof t!="object"||t===null)return!1;try{return D(t)===x.documentFragment}catch{return!1}},dt=function(t){if(!D||typeof t!="object"||t===null)return!1;try{return typeof D(t)=="number"}catch{return!1}};function z(r,t,e){r.length!==0&&it(r,n=>{n.call(i,t,e,ot)})}const Rn=function(t,e){return!!(B&&t.hasChildNodes()&&!dt(t.firstElementChild)&&b(Xe,t.textContent)&&b(Xe,t.innerHTML)||B&&t.namespaceURI===F&&e==="style"&&dt(t.firstElementChild)||t.nodeType===x.processingInstruction||B&&t.nodeType===x.comment&&b(Ve,t.data))},Nn=function(t,e,n){if(!ft[e]&&Pe(e)&&(A.tagNameCheck instanceof RegExp&&b(A.tagNameCheck,e)||A.tagNameCheck instanceof Function&&A.tagNameCheck(e)))return!1;if(Wt&&!U[e]){const a=X(t),l=J(t);if(l&&a){const u=l.length;for(let m=u-1;m>=0;--m){const E=t===n?Qe(l[m],!0):l[m];a.insertBefore(E,tn(t))}}}return W(t),!0},we=function(t,e,n,a){return t.length===0?e:e===n||e===a?I(e):e},Ce=function(t,e){if(z(T.beforeSanitizeElements,t,null),t!==e&&X(t)===null)return Rt&&mt(t),!0;if(wt(t))return W(t),!0;const n=g(v?v(t):t.nodeName);if(h=we(T.uponSanitizeElement,h,Ft,yt),z(T.uponSanitizeElement,t,{tagName:n,allowedTags:h}),t!==e&&X(t)===null)return Rt&&mt(t),!0;if(Rn(t,n))return W(t),!0;if(ft[n]||!(H.tagCheck instanceof Function&&H.tagCheck(n))&&!h[n]){const l=Nn(t,n,e);return l===!1&&z(T.afterSanitizeElements,t,null),l}if((D?D(t):t.nodeType)===x.element&&!Sn(t)||(n==="noscript"||n==="noembed"||n==="noframes")&&b(ro,t.innerHTML))return W(t),!0;if(G&&t.nodeType===x.text){const l=Lt(t.textContent);t.textContent!==l&&(at(i.removed,{element:t.cloneNode()}),t.textContent=l)}return z(T.afterSanitizeElements,t,null),!1},Me=function(t,e,n){if(me[e]||B&&e==="patchsrc"||B&&e==="for"&&t!=="label"&&t!=="output"||_e&&(e==="id"||e==="name")&&(n in s||n in gn))return!1;const a=_[e]||H.attributeCheck instanceof Function&&H.attributeCheck(e,t);if(!(Ht&&b(un,e))){if(!(de&&b(fn,e))){if(a){if(!jt[e]){if(!b(pe,Tt(n,fe,""))){if(!((e==="src"||e==="xlink:href"||e==="href")&&t!=="script"&&ze(n,"data:")===0&&Ae[t])){if(!(Te&&!b(pn,Tt(n,fe,"")))){if(n)return!1}}}}}else if(!(Pe(t)&&(A.tagNameCheck instanceof RegExp&&b(A.tagNameCheck,t)||A.tagNameCheck instanceof Function&&A.tagNameCheck(t))&&(A.attributeNameCheck instanceof RegExp&&b(A.attributeNameCheck,e)||A.attributeNameCheck instanceof Function&&A.attributeNameCheck(e,t))||e==="is"&&A.allowCustomizedBuiltInElements&&(A.tagNameCheck instanceof RegExp&&b(A.tagNameCheck,n)||A.tagNameCheck instanceof Function&&A.tagNameCheck(n))))return!1}}return!0},In=p({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Pe=function(t){return!In[_t(t)]&&b(mn,t)},Dn=function(t,e,n,a){if(w&&typeof gt=="object"&&typeof gt.getAttributeType=="function"&&!n)switch(gt.getAttributeType(t,e)){case"TrustedHTML":return Q(a);case"TrustedScriptURL":return en(a)}return a},Ln=function(t,e,n,a){try{n?t.setAttributeNS(n,e,a):t.setAttribute(e,a),wt(t)?W(t):Ue(i.removed)}catch{K(e,t)}},xe=function(t){z(T.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||wt(t))return;_=we(T.uponSanitizeAttribute,_,zt,St);const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_,forceKeepAttr:void 0};let a=e.length;const l=g(t.nodeName);for(;a--;){const u=e[a],m=u.name,E=u.namespaceURI,C=u.value,M=g(m),Qt=C;let L=m==="value"?Qt:Hn(Qt);if(n.attrName=M,n.attrValue=L,n.keepAttr=!0,n.forceKeepAttr=void 0,z(T.uponSanitizeAttribute,t,n),L=n.attrValue,ge&&(M==="id"||M==="name")&&ze(L,Ee)!==0&&(K(m,t),L=Ee+L),B&&b(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,L)){K(m,t);continue}if(M==="attributename"&&Fe(L,"href")){K(m,t);continue}if(!n.forceKeepAttr){if(!n.keepAttr){K(m,t);continue}if(!he&&b(io,L)){K(m,t);continue}if(G&&(L=Lt(L)),!Me(l,M,L)){K(m,t);continue}L=Dn(l,M,E,L),L!==Qt&&Ln(t,m,E,L)}}z(T.afterSanitizeAttributes,t,null)},Ct=function(t){let e=null;const n=Le(t);for(z(T.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(z(T.uponSanitizeShadowNode,e,null),Ce(e,t),xe(e),rt(e.content)&&Ct(e.content),(D?D(e):e.nodeType)===x.element){const l=se(e);rt(l)&&(Jt(l),Ct(l))}z(T.afterSanitizeShadowDOM,t,null)},Jt=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const n=e.pop();if(n.shadow){Ct(n.shadow);continue}const a=n.node,u=(D?D(a):a.nodeType)===x.element,m=J(a);if(m)for(let E=m.length-1;E>=0;--E)e.push({node:m[E],shadow:null});if(u){const E=v?v(a):null;if(typeof E=="string"&&g(E)==="template"){const C=a.content;rt(C)&&e.push({node:C,shadow:null})}}if(u){const E=se(a);rt(E)&&e.push({node:null,shadow:E},{node:E,shadow:null})}}};return i.sanitize=function(r){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=null,n=null,a=null,l=null;if($t=!r,$t&&(r="<!-->"),typeof r!="string"&&!dt(r)&&(r=jn(r),typeof r!="string"))throw Z("dirty is not a string, aborting");if(!i.isSupported)return r;Gt?(h=yt,_=St):Kt(t),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(h=I(h)),T.uponSanitizeAttribute.length>0&&(_=I(_)),i.removed=[];const u=Rt&&typeof r!="string"&&dt(r);if(u){On(r);const C=v?v(r):r.nodeName;if(typeof C=="string"){const M=g(C);if(!h[M]||ft[M])throw Dt(r),Z("root node is forbidden and cannot be sanitized in-place")}if(wt(r))throw Dt(r),Z("root node is clobbered and cannot be sanitized in-place");try{Jt(r)}catch(M){throw Dt(r),M}}else if(dt(r))e=De("<!---->"),n=e.ownerDocument.importNode(r,!0),n.nodeType===x.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?e=n:e.appendChild(n),Jt(n);else{if(!tt&&!G&&!q&&r.indexOf("<")===-1)return w&&Ot?Q(r):r;if(e=De(r),!e)return tt?null:Ot?V:""}e&&Bt&&W(e.firstChild);const m=u?r:e;try{const C=Le(m);for(;a=C.nextNode();)Ce(a,m),xe(a),rt(a.content)&&Ct(a.content)}catch(C){throw u&&(Dt(r),it(i.removed,M=>{M.element&&mt(M.element)})),C}if(u)return it(i.removed,C=>{C.element&&mt(C.element)}),G&&Zt(r),r;if(tt){if(G&&Zt(e),bt)for(l=on.call(e.ownerDocument);e.firstChild;)l.appendChild(e.firstChild);else l=e;return(_.shadowroot||_.shadowrootmode)&&(l=an.call(c,l,!0)),l}let E=q?e.outerHTML:e.innerHTML;return q&&h["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&b(no,e.ownerDocument.doctype.name)&&(E="<!DOCTYPE "+e.ownerDocument.doctype.name+`>
3
+ `+E),G&&(E=Lt(E)),w&&Ot?Q(E):E},i.setConfig=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Kt(r),Gt=!0,yt=h,St=_},i.clearConfig=function(){ot=null,Gt=!1,yt=null,St=null,w=vt,V=""},i.isValidAttribute=function(r,t,e){ot||Kt({});const n=g(r),a=g(t);return Me(n,a,e)},i.addHook=function(r,t){typeof t=="function"&&O(T,r)&&at(T[r],t)},i.removeHook=function(r,t){if(O(T,r)){if(t!==void 0){const e=Fn(T[r],t);return e===-1?void 0:zn(T[r],e,1)[0]}return Ue(T[r])}},i.removeHooks=function(r){O(T,r)&&(T[r]=[])},i.removeAllHooks=function(){T=qe()},i}var lo=Je();export{lo as default};
@@ -1 +1,2 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();function Us(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const J={},dt=[],Fe=()=>{},qn=()=>!1,os=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ws=e=>e.startsWith("onUpdate:"),se=Object.assign,Bs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},si=Object.prototype.hasOwnProperty,U=(e,t)=>si.call(e,t),M=Array.isArray,ht=e=>Ut(e)==="[object Map]",xt=e=>Ut(e)==="[object Set]",un=e=>Ut(e)==="[object Date]",V=e=>typeof e=="function",Q=e=>typeof e=="string",De=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Xn=e=>(X(e)||V(e))&&V(e.then)&&V(e.catch),Jn=Object.prototype.toString,Ut=e=>Jn.call(e),ni=e=>Ut(e).slice(8,-1),Gn=e=>Ut(e)==="[object Object]",ks=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=Us(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ls=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},ri=/-\w/g,we=ls(e=>e.replace(ri,t=>t.slice(1).toUpperCase())),ii=/\B([A-Z])/g,ft=ls(e=>e.replace(ii,"-$1").toLowerCase()),Yn=ls(e=>e.charAt(0).toUpperCase()+e.slice(1)),ys=ls(e=>e?`on${Yn(e)}`:""),Ke=(e,t)=>!Object.is(e,t),Yt=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},zn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},cs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let an;const fs=()=>an||(an=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(M(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=Q(n)?fi(n):us(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(Q(e)||X(e))return e}const oi=/;(?![^(]*\))/g,li=/:([^]+)/,ci=/\/\*[^]*?\*\//g;function fi(e){const t={};return e.replace(ci,"").split(oi).forEach(s=>{if(s){const n=s.split(li);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Qe(e){let t="";if(Q(e))t=e;else if(M(e))for(let s=0;s<e.length;s++){const n=Qe(e[s]);n&&(t+=n+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const ui="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ai=Us(ui);function Zn(e){return!!e||e===""}function di(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=wt(e[n],t[n]);return s}function wt(e,t){if(e===t)return!0;let s=un(e),n=un(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=De(e),n=De(t),s||n)return e===t;if(s=M(e),n=M(t),s||n)return s&&n?di(e,t):!1;if(s=X(e),n=X(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!wt(e[o],t[o]))return!1}}return String(e)===String(t)}function qs(e,t){return e.findIndex(s=>wt(s,t))}const Qn=e=>!!(e&&e.__v_isRef===!0),j=e=>Q(e)?e:e==null?"":M(e)||X(e)&&(e.toString===Jn||!V(e.toString))?Qn(e)?j(e.value):JSON.stringify(e,er,2):String(e),er=(e,t)=>Qn(t)?er(e,t.value):ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[vs(n,i)+" =>"]=r,s),{})}:xt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>vs(s))}:De(t)?vs(t):X(t)&&!M(t)&&!Gn(t)?String(t):t,vs=(e,t="")=>{var s;return De(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};let pe;class hi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=pe,!t&&pe&&(this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=pe;try{return pe=this,t()}finally{pe=s}}}on(){++this._on===1&&(this.prevScope=pe,pe=this)}off(){this._on>0&&--this._on===0&&(pe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function pi(){return pe}let Y;const xs=new WeakSet;class tr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,pe&&pe.active&&pe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xs.has(this)&&(xs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||nr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,dn(this),rr(this);const t=Y,s=Se;Y=this,Se=!0;try{return this.fn()}finally{ir(this),Y=t,Se=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gs(t);this.deps=this.depsTail=void 0,dn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ms(this)&&this.run()}get dirty(){return Ms(this)}}let sr=0,Pt,Mt;function nr(e,t=!1){if(e.flags|=8,t){e.next=Mt,Mt=e;return}e.next=Pt,Pt=e}function Xs(){sr++}function Js(){if(--sr>0)return;if(Mt){let t=Mt;for(Mt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Pt;){let t=Pt;for(Pt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function rr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ir(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Gs(n),gi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function Ms(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(or(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function or(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Vt)||(e.globalVersion=Vt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ms(e))))return;e.flags|=2;const t=e.dep,s=Y,n=Se;Y=e,Se=!0;try{rr(e);const r=e.fn(e._value);(t.version===0||Ke(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Y=s,Se=n,ir(e),e.flags&=-3}}function Gs(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Gs(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function gi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Se=!0;const lr=[];function ke(){lr.push(Se),Se=!1}function qe(){const e=lr.pop();Se=e===void 0?!0:e}function dn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=Y;Y=void 0;try{t()}finally{Y=s}}}let Vt=0;class mi{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class cr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Y||!Se||Y===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Y)s=this.activeLink=new mi(Y,this),Y.deps?(s.prevDep=Y.depsTail,Y.depsTail.nextDep=s,Y.depsTail=s):Y.deps=Y.depsTail=s,fr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=Y.depsTail,s.nextDep=void 0,Y.depsTail.nextDep=s,Y.depsTail=s,Y.deps===s&&(Y.deps=n)}return s}trigger(t){this.version++,Vt++,this.notify(t)}notify(t){Xs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Js()}}}function fr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)fr(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ns=new WeakMap,ot=Symbol(""),Rs=Symbol(""),Lt=Symbol("");function te(e,t,s){if(Se&&Y){let n=Ns.get(e);n||Ns.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new cr),r.map=n,r.key=s),r.track()}}function Ue(e,t,s,n,r,i){const o=Ns.get(e);if(!o){Vt++;return}const l=f=>{f&&f.trigger()};if(Xs(),t==="clear")o.forEach(l);else{const f=M(e),d=f&&ks(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,A)=>{(A==="length"||A===Lt||!De(A)&&A>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Lt)),t){case"add":f?d&&l(o.get("length")):(l(o.get(ot)),ht(e)&&l(o.get(Rs)));break;case"delete":f||(l(o.get(ot)),ht(e)&&l(o.get(Rs)));break;case"set":ht(e)&&l(o.get(ot));break}}Js()}function ut(e){const t=q(e);return t===e?t:(te(t,"iterate",Lt),Te(e)?t:t.map(Xe))}function as(e){return te(e=q(e),"iterate",Lt),e}function Ne(e,t){return tt(e)?_t(lt(e)?Xe(t):t):Xe(t)}const _i={__proto__:null,[Symbol.iterator](){return ws(this,Symbol.iterator,e=>Ne(this,e))},concat(...e){return ut(this).concat(...e.map(t=>M(t)?ut(t):t))},entries(){return ws(this,"entries",e=>(e[1]=Ne(this,e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,s=>s.map(n=>Ne(this,n)),arguments)},find(e,t){return He(this,"find",e,t,s=>Ne(this,s),arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,s=>Ne(this,s),arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ss(this,"includes",e)},indexOf(...e){return Ss(this,"indexOf",e)},join(e){return ut(this).join(e)},lastIndexOf(...e){return Ss(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return At(this,"pop")},push(...e){return At(this,"push",e)},reduce(e,...t){return hn(this,"reduce",e,t)},reduceRight(e,...t){return hn(this,"reduceRight",e,t)},shift(){return At(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return At(this,"splice",e)},toReversed(){return ut(this).toReversed()},toSorted(e){return ut(this).toSorted(e)},toSpliced(...e){return ut(this).toSpliced(...e)},unshift(...e){return At(this,"unshift",e)},values(){return ws(this,"values",e=>Ne(this,e))}};function ws(e,t,s){const n=as(e),r=n[t]();return n!==e&&!Te(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const bi=Array.prototype;function He(e,t,s,n,r,i){const o=as(e),l=o!==e&&!Te(e),f=o[t];if(f!==bi[t]){const p=f.apply(e,i);return l?Xe(p):p}let d=s;o!==e&&(l?d=function(p,A){return s.call(this,Ne(e,p),A,e)}:s.length>2&&(d=function(p,A){return s.call(this,p,A,e)}));const a=f.call(o,d,n);return l&&r?r(a):a}function hn(e,t,s,n){const r=as(e),i=r!==e&&!Te(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Ne(e,d)),s.call(this,d,Ne(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=r[t](o,...n);return l?Ne(e,f):f}function Ss(e,t,s){const n=q(e);te(n,"iterate",Lt);const r=n[t](...s);return(r===-1||r===!1)&&Zs(s[0])?(s[0]=q(s[0]),n[t](...s)):r}function At(e,t,s=[]){ke(),Xs();const n=q(e)[t].apply(e,s);return Js(),qe(),n}const yi=Us("__proto__,__v_isRef,__isVue"),ur=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(De));function vi(e){De(e)||(e=String(e));const t=q(this);return te(t,"has",e),t.hasOwnProperty(e)}class ar{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Pi:gr:i?pr:hr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=M(t);if(!r){let f;if(o&&(f=_i[s]))return f;if(s==="hasOwnProperty")return vi}const l=Reflect.get(t,s,ce(t)?t:n);if((De(s)?ur.has(s):yi(s))||(r||te(t,"get",s),i))return l;if(ce(l)){const f=o&&ks(s)?l:l.value;return r&&X(f)?Ds(f):f}return X(l)?r?Ds(l):ds(l):l}}class dr extends ar{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=M(t)&&ks(s);if(!this._isShallow){const d=tt(i);if(!Te(n)&&!tt(n)&&(i=q(i),n=q(n)),!o&&ce(i)&&!ce(n))return d||(i.value=n),!0}const l=o?Number(s)<t.length:U(t,s),f=Reflect.set(t,s,n,ce(t)?t:r);return t===q(r)&&(l?Ke(n,i)&&Ue(t,"set",s,n):Ue(t,"add",s,n)),f}deleteProperty(t,s){const n=U(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&Ue(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!De(s)||!ur.has(s))&&te(t,"has",s),n}ownKeys(t){return te(t,"iterate",M(t)?"length":ot),Reflect.ownKeys(t)}}class xi extends ar{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const wi=new dr,Si=new xi,Ti=new dr(!0);const Fs=e=>e,qt=e=>Reflect.getPrototypeOf(e);function Ci(e,t,s){return function(...n){const r=this.__v_raw,i=q(r),o=ht(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=r[e](...n),a=s?Fs:t?_t:Xe;return!t&&te(i,"iterate",f?Rs:ot),se(Object.create(d),{next(){const{value:p,done:A}=d.next();return A?{value:p,done:A}:{value:l?[a(p[0]),a(p[1])]:a(p),done:A}}})}}function Xt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ai(e,t){const s={get(r){const i=this.__v_raw,o=q(i),l=q(r);e||(Ke(r,l)&&te(o,"get",r),te(o,"get",l));const{has:f}=qt(o),d=t?Fs:e?_t:Xe;if(f.call(o,r))return d(i.get(r));if(f.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&te(q(r),"iterate",ot),r.size},has(r){const i=this.__v_raw,o=q(i),l=q(r);return e||(Ke(r,l)&&te(o,"has",r),te(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=q(l),d=t?Fs:e?_t:Xe;return!e&&te(f,"iterate",ot),l.forEach((a,p)=>r.call(i,d(a),d(p),o))}};return se(s,e?{add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear")}:{add(r){const i=q(this),o=qt(i),l=q(r),f=!t&&!Te(r)&&!tt(r)?l:r;return o.has.call(i,f)||Ke(r,f)&&o.has.call(i,r)||Ke(l,f)&&o.has.call(i,l)||(i.add(f),Ue(i,"add",f,f)),this},set(r,i){!t&&!Te(i)&&!tt(i)&&(i=q(i));const o=q(this),{has:l,get:f}=qt(o);let d=l.call(o,r);d||(r=q(r),d=l.call(o,r));const a=f.call(o,r);return o.set(r,i),d?Ke(i,a)&&Ue(o,"set",r,i):Ue(o,"add",r,i),this},delete(r){const i=q(this),{has:o,get:l}=qt(i);let f=o.call(i,r);f||(r=q(r),f=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return f&&Ue(i,"delete",r,void 0),d},clear(){const r=q(this),i=r.size!==0,o=r.clear();return i&&Ue(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Ci(r,e,t)}),s}function Ys(e,t){const s=Ai(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(U(s,r)&&r in n?s:n,r,i)}const Ei={get:Ys(!1,!1)},Oi={get:Ys(!1,!0)},Ii={get:Ys(!0,!1)};const hr=new WeakMap,pr=new WeakMap,gr=new WeakMap,Pi=new WeakMap;function Mi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ni(e){return e.__v_skip||!Object.isExtensible(e)?0:Mi(ni(e))}function ds(e){return tt(e)?e:zs(e,!1,wi,Ei,hr)}function Ri(e){return zs(e,!1,Ti,Oi,pr)}function Ds(e){return zs(e,!0,Si,Ii,gr)}function zs(e,t,s,n,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Ni(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?n:s);return r.set(e,l),l}function lt(e){return tt(e)?lt(e.__v_raw):!!(e&&e.__v_isReactive)}function tt(e){return!!(e&&e.__v_isReadonly)}function Te(e){return!!(e&&e.__v_isShallow)}function Zs(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function Fi(e){return!U(e,"__v_skip")&&Object.isExtensible(e)&&zn(e,"__v_skip",!0),e}const Xe=e=>X(e)?ds(e):e,_t=e=>X(e)?Ds(e):e;function ce(e){return e?e.__v_isRef===!0:!1}function Di(e){return ce(e)?e.value:e}const Vi={get:(e,t,s)=>t==="__v_raw"?e:Di(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ce(r)&&!ce(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function mr(e){return lt(e)?e:new Proxy(e,Vi)}class Li{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new cr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return nr(this,!0),!0}get value(){const t=this.dep.track();return or(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hi(e,t,s=!1){let n,r;return V(e)?n=e:(n=e.get,r=e.set),new Li(n,r,s)}const Jt={},es=new WeakMap;let it;function $i(e,t=!1,s=it){if(s){let n=es.get(s);n||es.set(s,n=[]),n.push(e)}}function ji(e,t,s=J){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,d=N=>r?N:Te(N)||r===!1||r===0?We(N,1):We(N);let a,p,A,O,K=!1,R=!1;if(ce(e)?(p=()=>e.value,K=Te(e)):lt(e)?(p=()=>d(e),K=!0):M(e)?(R=!0,K=e.some(N=>lt(N)||Te(N)),p=()=>e.map(N=>{if(ce(N))return N.value;if(lt(N))return d(N);if(V(N))return f?f(N,2):N()})):V(e)?t?p=f?()=>f(e,2):e:p=()=>{if(A){ke();try{A()}finally{qe()}}const N=it;it=a;try{return f?f(e,3,[O]):e(O)}finally{it=N}}:p=Fe,t&&r){const N=p,Z=r===!0?1/0:r;p=()=>We(N(),Z)}const z=pi(),W=()=>{a.stop(),z&&z.active&&Bs(z.effects,a)};if(i&&t){const N=t;t=(...Z)=>{N(...Z),W()}}let H=R?new Array(e.length).fill(Jt):Jt;const k=N=>{if(!(!(a.flags&1)||!a.dirty&&!N))if(t){const Z=a.run();if(r||K||(R?Z.some((Ce,ge)=>Ke(Ce,H[ge])):Ke(Z,H))){A&&A();const Ce=it;it=a;try{const ge=[Z,H===Jt?void 0:R&&H[0]===Jt?[]:H,O];H=Z,f?f(t,3,ge):t(...ge)}finally{it=Ce}}}else a.run()};return l&&l(k),a=new tr(p),a.scheduler=o?()=>o(k,!1):k,O=N=>$i(N,!1,a),A=a.onStop=()=>{const N=es.get(a);if(N){if(f)f(N,4);else for(const Z of N)Z();es.delete(a)}},t?n?k(!0):H=a.run():o?o(k.bind(null,!0),!0):a.run(),W.pause=a.pause.bind(a),W.resume=a.resume.bind(a),W.stop=W,W}function We(e,t=1/0,s){if(t<=0||!X(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ce(e))We(e.value,t,s);else if(M(e))for(let n=0;n<e.length;n++)We(e[n],t,s);else if(xt(e)||ht(e))e.forEach(n=>{We(n,t,s)});else if(Gn(e)){for(const n in e)We(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&We(e[n],t,s)}return e}function Wt(e,t,s,n){try{return n?e(...n):e()}catch(r){hs(r,t,s)}}function Ve(e,t,s,n){if(V(e)){const r=Wt(e,t,s,n);return r&&Xn(r)&&r.catch(i=>{hs(i,t,s)}),r}if(M(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ve(e[i],t,s,n));return r}}function hs(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||J;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,d)===!1)return}l=l.parent}if(i){ke(),Wt(i,null,10,[e,f,d]),qe();return}}Ki(e,s,r,n,o)}function Ki(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const oe=[];let Me=-1;const pt=[];let Ze=null,at=0;const _r=Promise.resolve();let ts=null;function br(e){const t=ts||_r;return e?t.then(this?e.bind(this):e):t}function Ui(e){let t=Me+1,s=oe.length;for(;t<s;){const n=t+s>>>1,r=oe[n],i=Ht(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function Qs(e){if(!(e.flags&1)){const t=Ht(e),s=oe[oe.length-1];!s||!(e.flags&2)&&t>=Ht(s)?oe.push(e):oe.splice(Ui(t),0,e),e.flags|=1,yr()}}function yr(){ts||(ts=_r.then(xr))}function Wi(e){M(e)?pt.push(...e):Ze&&e.id===-1?Ze.splice(at+1,0,e):e.flags&1||(pt.push(e),e.flags|=1),yr()}function pn(e,t,s=Me+1){for(;s<oe.length;s++){const n=oe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;oe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function vr(e){if(pt.length){const t=[...new Set(pt)].sort((s,n)=>Ht(s)-Ht(n));if(pt.length=0,Ze){Ze.push(...t);return}for(Ze=t,at=0;at<Ze.length;at++){const s=Ze[at];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ze=null,at=0}}const Ht=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xr(e){try{for(Me=0;Me<oe.length;Me++){const t=oe[Me];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Wt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Me<oe.length;Me++){const t=oe[Me];t&&(t.flags&=-2)}Me=-1,oe.length=0,vr(),ts=null,(oe.length||pt.length)&&xr()}}let ye=null,wr=null;function ss(e){const t=ye;return ye=e,wr=e&&e.type.__scopeId||null,t}function Bi(e,t=ye,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Cn(-1);const i=ss(t);let o;try{o=e(...r)}finally{ss(i),n._d&&Cn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ts(e,t){if(ye===null)return e;const s=_s(ye),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,f=J]=t[r];i&&(V(i)&&(i={mounted:i,updated:i}),i.deep&&We(o),n.push({dir:i,instance:s,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function nt(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let f=l.dir[n];f&&(ke(),Ve(f,s,8,[e.el,l,e,t]),qe())}}function ki(e,t){if(le){let s=le.provides;const n=le.parent&&le.parent.provides;n===s&&(s=le.provides=Object.create(n)),s[e]=t}}function zt(e,t,s=!1){const n=ko();if(n||mt){let r=mt?mt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&V(t)?t.call(n&&n.proxy):t}}const qi=Symbol.for("v-scx"),Xi=()=>zt(qi);function gt(e,t,s){return Sr(e,t,s)}function Sr(e,t,s=J){const{immediate:n,deep:r,flush:i,once:o}=s,l=se({},s),f=t&&n||!t&&i!=="post";let d;if(jt){if(i==="sync"){const O=Xi();d=O.__watcherHandles||(O.__watcherHandles=[])}else if(!f){const O=()=>{};return O.stop=Fe,O.resume=Fe,O.pause=Fe,O}}const a=le;l.call=(O,K,R)=>Ve(O,a,K,R);let p=!1;i==="post"?l.scheduler=O=>{he(O,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(O,K)=>{K?O():Qs(O)}),l.augmentJob=O=>{t&&(O.flags|=4),p&&(O.flags|=2,a&&(O.id=a.uid,O.i=a))};const A=ji(e,t,l);return jt&&(d?d.push(A):f&&A()),A}function Ji(e,t,s){const n=this.proxy,r=Q(e)?e.includes(".")?Tr(n,e):()=>n[e]:e.bind(n,n);let i;V(t)?i=t:(i=t.handler,s=t);const o=Bt(this),l=Sr(r,i.bind(n),s);return o(),l}function Tr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Gi=Symbol("_vte"),Yi=e=>e.__isTeleport,zi=Symbol("_leaveCb");function en(e,t){e.shapeFlag&6&&e.component?(e.transition=t,en(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Cr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function gn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ns=new WeakMap;function Nt(e,t,s,n,r=!1){if(M(e)){e.forEach((R,z)=>Nt(R,t&&(M(t)?t[z]:t),s,n,r));return}if(Rt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Nt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?_s(n.component):n.el,o=r?null:i,{i:l,r:f}=e,d=t&&t.r,a=l.refs===J?l.refs={}:l.refs,p=l.setupState,A=q(p),O=p===J?qn:R=>gn(a,R)?!1:U(A,R),K=(R,z)=>!(z&&gn(a,z));if(d!=null&&d!==f){if(mn(t),Q(d))a[d]=null,O(d)&&(p[d]=null);else if(ce(d)){const R=t;K(d,R.k)&&(d.value=null),R.k&&(a[R.k]=null)}}if(V(f))Wt(f,l,12,[o,a]);else{const R=Q(f),z=ce(f);if(R||z){const W=()=>{if(e.f){const H=R?O(f)?p[f]:a[f]:K()||!e.k?f.value:a[e.k];if(r)M(H)&&Bs(H,i);else if(M(H))H.includes(i)||H.push(i);else if(R)a[f]=[i],O(f)&&(p[f]=a[f]);else{const k=[i];K(f,e.k)&&(f.value=k),e.k&&(a[e.k]=k)}}else R?(a[f]=o,O(f)&&(p[f]=o)):z&&(K(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const H=()=>{W(),ns.delete(e)};H.id=-1,ns.set(e,H),he(H,s)}else mn(e),W()}}}function mn(e){const t=ns.get(e);t&&(t.flags|=8,ns.delete(e))}fs().requestIdleCallback;fs().cancelIdleCallback;const Rt=e=>!!e.type.__asyncLoader,Ar=e=>e.type.__isKeepAlive;function Zi(e,t){Er(e,"a",t)}function Qi(e,t){Er(e,"da",t)}function Er(e,t,s=le){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ps(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Ar(r.parent.vnode)&&eo(n,t,s,r),r=r.parent}}function eo(e,t,s,n){const r=ps(t,e,n,!0);Pr(()=>{Bs(n[t],r)},s)}function ps(e,t,s=le,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ke();const l=Bt(s),f=Ve(t,s,e,o);return l(),qe(),f});return n?r.unshift(i):r.push(i),i}}const Je=e=>(t,s=le)=>{(!jt||e==="sp")&&ps(e,(...n)=>t(...n),s)},to=Je("bm"),Or=Je("m"),so=Je("bu"),no=Je("u"),Ir=Je("bum"),Pr=Je("um"),ro=Je("sp"),io=Je("rtg"),oo=Je("rtc");function lo(e,t=le){ps("ec",e,t)}const co=Symbol.for("v-ndc");function Gt(e,t,s,n){let r;const i=s,o=M(e);if(o||Q(e)){const l=o&&lt(e);let f=!1,d=!1;l&&(f=!Te(e),d=tt(e),e=as(e)),r=new Array(e.length);for(let a=0,p=e.length;a<p;a++)r[a]=t(f?d?_t(Xe(e[a])):Xe(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(X(e))if(e[Symbol.iterator])r=Array.from(e,(l,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];r[f]=t(e[a],a,f,i)}}else r=[];return r}const Vs=e=>e?Yr(e)?_s(e):Vs(e.parent):null,Ft=se(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Vs(e.parent),$root:e=>Vs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Nr(e),$forceUpdate:e=>e.f||(e.f=()=>{Qs(e.update)}),$nextTick:e=>e.n||(e.n=br.bind(e.proxy)),$watch:e=>Ji.bind(e)}),Cs=(e,t)=>e!==J&&!e.__isScriptSetup&&U(e,t),fo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(Cs(n,t))return o[t]=1,n[t];if(r!==J&&U(r,t))return o[t]=2,r[t];if(U(i,t))return o[t]=3,i[t];if(s!==J&&U(s,t))return o[t]=4,s[t];Ls&&(o[t]=0)}}const d=Ft[t];let a,p;if(d)return t==="$attrs"&&te(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==J&&U(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,U(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return Cs(r,t)?(r[t]=s,!0):n!==J&&U(n,t)?(n[t]=s,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let f;return!!(s[l]||e!==J&&l[0]!=="$"&&U(e,l)||Cs(t,l)||U(i,l)||U(n,l)||U(Ft,l)||U(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:U(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function _n(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ls=!0;function uo(e){const t=Nr(e),s=e.proxy,n=e.ctx;Ls=!1,t.beforeCreate&&bn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:A,beforeUpdate:O,updated:K,activated:R,deactivated:z,beforeDestroy:W,beforeUnmount:H,destroyed:k,unmounted:N,render:Z,renderTracked:Ce,renderTriggered:ge,errorCaptured:ee,serverPrefetch:st,expose:ve,inheritAttrs:Le,components:Ge,directives:Ye,filters:E}=t;if(d&&ao(d,n,null),o)for(const L in o){const F=o[L];V(F)&&(n[L]=F.bind(s))}if(r){const L=r.call(s,s);X(L)&&(e.data=ds(L))}if(Ls=!0,i)for(const L in i){const F=i[L],fe=V(F)?F.bind(s,s):V(F.get)?F.get.bind(s,s):Fe,ue=!V(F)&&V(F.set)?F.set.bind(s):Fe,xe=ze({get:fe,set:ue});Object.defineProperty(n,L,{enumerable:!0,configurable:!0,get:()=>xe.value,set:Ae=>xe.value=Ae})}if(l)for(const L in l)Mr(l[L],n,s,L);if(f){const L=V(f)?f.call(s):f;Reflect.ownKeys(L).forEach(F=>{ki(F,L[F])})}a&&bn(a,e,"c");function y(L,F){M(F)?F.forEach(fe=>L(fe.bind(s))):F&&L(F.bind(s))}if(y(to,p),y(Or,A),y(so,O),y(no,K),y(Zi,R),y(Qi,z),y(lo,ee),y(oo,Ce),y(io,ge),y(Ir,H),y(Pr,N),y(ro,st),M(ve))if(ve.length){const L=e.exposed||(e.exposed={});ve.forEach(F=>{Object.defineProperty(L,F,{get:()=>s[F],set:fe=>s[F]=fe,enumerable:!0})})}else e.exposed||(e.exposed={});Z&&e.render===Fe&&(e.render=Z),Le!=null&&(e.inheritAttrs=Le),Ge&&(e.components=Ge),Ye&&(e.directives=Ye),st&&Cr(e)}function ao(e,t,s=Fe){M(e)&&(e=Hs(e));for(const n in e){const r=e[n];let i;X(r)?"default"in r?i=zt(r.from||n,r.default,!0):i=zt(r.from||n):i=zt(r),ce(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function bn(e,t,s){Ve(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Mr(e,t,s,n){let r=n.includes(".")?Tr(s,n):()=>s[n];if(Q(e)){const i=t[e];V(i)&&gt(r,i)}else if(V(e))gt(r,e.bind(s));else if(X(e))if(M(e))e.forEach(i=>Mr(i,t,s,n));else{const i=V(e.handler)?e.handler.bind(s):t[e.handler];V(i)&&gt(r,i,e)}}function Nr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>rs(f,d,o,!0)),rs(f,t,o)),X(t)&&i.set(t,f),f}function rs(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&rs(e,i,s,!0),r&&r.forEach(o=>rs(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=ho[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const ho={data:yn,props:vn,emits:vn,methods:Ot,computed:Ot,beforeCreate:ie,created:ie,beforeMount:ie,mounted:ie,beforeUpdate:ie,updated:ie,beforeDestroy:ie,beforeUnmount:ie,destroyed:ie,unmounted:ie,activated:ie,deactivated:ie,errorCaptured:ie,serverPrefetch:ie,components:Ot,directives:Ot,watch:go,provide:yn,inject:po};function yn(e,t){return t?e?function(){return se(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function po(e,t){return Ot(Hs(e),Hs(t))}function Hs(e){if(M(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ie(e,t){return e?[...new Set([].concat(e,t))]:t}function Ot(e,t){return e?se(Object.create(null),e,t):t}function vn(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:se(Object.create(null),_n(e),_n(t??{})):t}function go(e,t){if(!e)return t;if(!t)return e;const s=se(Object.create(null),e);for(const n in t)s[n]=ie(e[n],t[n]);return s}function Rr(){return{app:null,config:{isNativeTag:qn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let mo=0;function _o(e,t){return function(n,r=null){V(n)||(n=se({},n)),r!=null&&!X(r)&&(r=null);const i=Rr(),o=new WeakSet,l=[];let f=!1;const d=i.app={_uid:mo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:zo,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&V(a.install)?(o.add(a),a.install(d,...p)):V(a)&&(o.add(a),a(d,...p))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,p){return p?(i.components[a]=p,d):i.components[a]},directive(a,p){return p?(i.directives[a]=p,d):i.directives[a]},mount(a,p,A){if(!f){const O=d._ceVNode||ct(n,r);return O.appContext=i,A===!0?A="svg":A===!1&&(A=void 0),e(O,a,A),f=!0,d._container=a,a.__vue_app__=d,_s(O.component)}},onUnmount(a){l.push(a)},unmount(){f&&(Ve(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return i.provides[a]=p,d},runWithContext(a){const p=mt;mt=d;try{return a()}finally{mt=p}}};return d}}let mt=null;const bo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${we(t)}Modifiers`]||e[`${ft(t)}Modifiers`];function yo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||J;let r=s;const i=t.startsWith("update:"),o=i&&bo(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>Q(a)?a.trim():a)),o.number&&(r=s.map(cs)));let l,f=n[l=ys(t)]||n[l=ys(we(t))];!f&&i&&(f=n[l=ys(ft(t))]),f&&Ve(f,e,6,r);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ve(d,e,6,r)}}const vo=new WeakMap;function Fr(e,t,s=!1){const n=s?vo:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!V(e)){const f=d=>{const a=Fr(d,t,!0);a&&(l=!0,se(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(X(e)&&n.set(e,null),null):(M(i)?i.forEach(f=>o[f]=null):se(o,i),X(e)&&n.set(e,o),o)}function gs(e,t){return!e||!os(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,ft(t))||U(e,t))}function xn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:A,setupState:O,ctx:K,inheritAttrs:R}=e,z=ss(e);let W,H;try{if(s.shapeFlag&4){const N=r||n,Z=N;W=Re(d.call(Z,N,a,p,O,A,K)),H=l}else{const N=t;W=Re(N.length>1?N(p,{attrs:l,slots:o,emit:f}):N(p,null)),H=t.props?l:xo(l)}}catch(N){Dt.length=0,hs(N,e,1),W=ct(bt)}let k=W;if(H&&R!==!1){const N=Object.keys(H),{shapeFlag:Z}=k;N.length&&Z&7&&(i&&N.some(Ws)&&(H=wo(H,i)),k=yt(k,H,!1,!0))}return s.dirs&&(k=yt(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(s.dirs):s.dirs),s.transition&&en(k,s.transition),W=k,ss(z),W}const xo=e=>{let t;for(const s in e)(s==="class"||s==="style"||os(s))&&((t||(t={}))[s]=e[s]);return t},wo=(e,t)=>{const s={};for(const n in e)(!Ws(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function So(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?wn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const A=a[p];if(Dr(o,n,A)&&!gs(d,A))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?wn(n,o,d):!0:!!o;return!1}function wn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(Dr(t,e,i)&&!gs(s,i))return!0}return!1}function Dr(e,t,s){const n=e[s],r=t[s];return s==="style"&&X(n)&&X(r)?!wt(n,r):n!==r}function To({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const Vr={},Lr=()=>Object.create(Vr),Hr=e=>Object.getPrototypeOf(e)===Vr;function Co(e,t,s,n=!1){const r={},i=Lr();e.propsDefaults=Object.create(null),$r(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Ri(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Ao(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=q(r),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let A=a[p];if(gs(e.emitsOptions,A))continue;const O=t[A];if(f)if(U(i,A))O!==i[A]&&(i[A]=O,d=!0);else{const K=we(A);r[K]=$s(f,l,K,O,e,!1)}else O!==i[A]&&(i[A]=O,d=!0)}}}else{$r(e,t,r,i)&&(d=!0);let a;for(const p in l)(!t||!U(t,p)&&((a=ft(p))===p||!U(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=$s(f,l,p,void 0,e,!0)):delete r[p]);if(i!==l)for(const p in i)(!t||!U(t,p))&&(delete i[p],d=!0)}d&&Ue(e.attrs,"set","")}function $r(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(It(f))continue;const d=t[f];let a;r&&U(r,a=we(f))?!i||!i.includes(a)?s[a]=d:(l||(l={}))[a]=d:gs(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(i){const f=q(s),d=l||J;for(let a=0;a<i.length;a++){const p=i[a];s[p]=$s(r,f,p,d[p],e,!U(d,p))}}return o}function $s(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=U(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&V(f)){const{propsDefaults:d}=r;if(s in d)n=d[s];else{const a=Bt(r);n=d[s]=f.call(null,t),a()}}else n=f;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===ft(s))&&(n=!0))}return n}const Eo=new WeakMap;function jr(e,t,s=!1){const n=s?Eo:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!V(e)){const a=p=>{f=!0;const[A,O]=jr(p,t,!0);se(o,A),O&&l.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return X(e)&&n.set(e,dt),dt;if(M(i))for(let a=0;a<i.length;a++){const p=we(i[a]);Sn(p)&&(o[p]=J)}else if(i)for(const a in i){const p=we(a);if(Sn(p)){const A=i[a],O=o[p]=M(A)||V(A)?{type:A}:se({},A),K=O.type;let R=!1,z=!0;if(M(K))for(let W=0;W<K.length;++W){const H=K[W],k=V(H)&&H.name;if(k==="Boolean"){R=!0;break}else k==="String"&&(z=!1)}else R=V(K)&&K.name==="Boolean";O[0]=R,O[1]=z,(R||U(O,"default"))&&l.push(p)}}const d=[o,l];return X(e)&&n.set(e,d),d}function Sn(e){return e[0]!=="$"&&!It(e)}const tn=e=>e==="_"||e==="_ctx"||e==="$stable",sn=e=>M(e)?e.map(Re):[Re(e)],Oo=(e,t,s)=>{if(t._n)return t;const n=Bi((...r)=>sn(t(...r)),s);return n._c=!1,n},Kr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(tn(r))continue;const i=e[r];if(V(i))t[r]=Oo(r,i,n);else if(i!=null){const o=sn(i);t[r]=()=>o}}},Ur=(e,t)=>{const s=sn(t);e.slots.default=()=>s},Wr=(e,t,s)=>{for(const n in t)(s||!tn(n))&&(e[n]=t[n])},Io=(e,t,s)=>{const n=e.slots=Lr();if(e.vnode.shapeFlag&32){const r=t._;r?(Wr(n,t,s),s&&zn(n,"_",r,!0)):Kr(t,n)}else t&&Ur(e,t)},Po=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=J;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Wr(r,t,s):(i=!t.$stable,Kr(t,r)),o=t}else t&&(Ur(e,t),o={default:1});if(i)for(const l in r)!tn(l)&&o[l]==null&&delete r[l]},he=Do;function Mo(e){return No(e)}function No(e,t){const s=fs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:A,setScopeId:O=Fe,insertStaticContent:K}=e,R=(c,u,h,b=null,g=null,m=null,T=void 0,S=null,x=!!u.dynamicChildren)=>{if(c===u)return;c&&!Et(c,u)&&(b=kt(c),Ae(c,g,m,!0),c=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:_,ref:P,shapeFlag:C}=u;switch(_){case ms:z(c,u,h,b);break;case bt:W(c,u,h,b);break;case Es:c==null&&H(u,h,b,T);break;case _e:Ge(c,u,h,b,g,m,T,S,x);break;default:C&1?Z(c,u,h,b,g,m,T,S,x):C&6?Ye(c,u,h,b,g,m,T,S,x):(C&64||C&128)&&_.process(c,u,h,b,g,m,T,S,x,Tt)}P!=null&&g?Nt(P,c&&c.ref,m,u||c,!u):P==null&&c&&c.ref!=null&&Nt(c.ref,null,m,c,!0)},z=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const g=u.el=c.el;u.children!==c.children&&d(g,u.children)}},W=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},H=(c,u,h,b)=>{[c.el,c.anchor]=K(c.children,u,h,b,c.el,c.anchor)},k=({el:c,anchor:u},h,b)=>{let g;for(;c&&c!==u;)g=A(c),n(c,h,b),c=g;n(u,h,b)},N=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=A(c),r(c),c=h;r(u)},Z=(c,u,h,b,g,m,T,S,x)=>{if(u.type==="svg"?T="svg":u.type==="math"&&(T="mathml"),c==null)Ce(u,h,b,g,m,T,S,x);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),st(c,u,g,m,T,S,x)}finally{_&&_._endPatch()}}},Ce=(c,u,h,b,g,m,T,S)=>{let x,_;const{props:P,shapeFlag:C,transition:I,dirs:D}=c;if(x=c.el=o(c.type,m,P&&P.is,P),C&8?a(x,c.children):C&16&&ee(c.children,x,null,b,g,As(c,m),T,S),D&&nt(c,null,b,"created"),ge(x,c,c.scopeId,T,b),P){for(const G in P)G!=="value"&&!It(G)&&i(x,G,null,P[G],m,b);"value"in P&&i(x,"value",null,P.value,m),(_=P.onVnodeBeforeMount)&&Pe(_,b,c)}D&&nt(c,null,b,"beforeMount");const $=Ro(g,I);$&&I.beforeEnter(x),n(x,u,h),((_=P&&P.onVnodeMounted)||$||D)&&he(()=>{_&&Pe(_,b,c),$&&I.enter(x),D&&nt(c,null,b,"mounted")},g)},ge=(c,u,h,b,g)=>{if(h&&O(c,h),b)for(let m=0;m<b.length;m++)O(c,b[m]);if(g){let m=g.subTree;if(u===m||Xr(m.type)&&(m.ssContent===u||m.ssFallback===u)){const T=g.vnode;ge(c,T,T.scopeId,T.slotScopeIds,g.parent)}}},ee=(c,u,h,b,g,m,T,S,x=0)=>{for(let _=x;_<c.length;_++){const P=c[_]=S?je(c[_]):Re(c[_]);R(null,P,u,h,b,g,m,T,S)}},st=(c,u,h,b,g,m,T)=>{const S=u.el=c.el;let{patchFlag:x,dynamicChildren:_,dirs:P}=u;x|=c.patchFlag&16;const C=c.props||J,I=u.props||J;let D;if(h&&rt(h,!1),(D=I.onVnodeBeforeUpdate)&&Pe(D,h,u,c),P&&nt(u,c,h,"beforeUpdate"),h&&rt(h,!0),(C.innerHTML&&I.innerHTML==null||C.textContent&&I.textContent==null)&&a(S,""),_?ve(c.dynamicChildren,_,S,h,b,As(u,g),m):T||F(c,u,S,null,h,b,As(u,g),m,!1),x>0){if(x&16)Le(S,C,I,h,g);else if(x&2&&C.class!==I.class&&i(S,"class",null,I.class,g),x&4&&i(S,"style",C.style,I.style,g),x&8){const $=u.dynamicProps;for(let G=0;G<$.length;G++){const B=$[G],ae=C[B],de=I[B];(de!==ae||B==="value")&&i(S,B,ae,de,g,h)}}x&1&&c.children!==u.children&&a(S,u.children)}else!T&&_==null&&Le(S,C,I,h,g);((D=I.onVnodeUpdated)||P)&&he(()=>{D&&Pe(D,h,u,c),P&&nt(u,c,h,"updated")},b)},ve=(c,u,h,b,g,m,T)=>{for(let S=0;S<u.length;S++){const x=c[S],_=u[S],P=x.el&&(x.type===_e||!Et(x,_)||x.shapeFlag&198)?p(x.el):h;R(x,_,P,null,b,g,m,T,!0)}},Le=(c,u,h,b,g)=>{if(u!==h){if(u!==J)for(const m in u)!It(m)&&!(m in h)&&i(c,m,u[m],null,g,b);for(const m in h){if(It(m))continue;const T=h[m],S=u[m];T!==S&&m!=="value"&&i(c,m,S,T,g,b)}"value"in h&&i(c,"value",u.value,h.value,g)}},Ge=(c,u,h,b,g,m,T,S,x)=>{const _=u.el=c?c.el:l(""),P=u.anchor=c?c.anchor:l("");let{patchFlag:C,dynamicChildren:I,slotScopeIds:D}=u;D&&(S=S?S.concat(D):D),c==null?(n(_,h,b),n(P,h,b),ee(u.children||[],h,P,g,m,T,S,x)):C>0&&C&64&&I&&c.dynamicChildren&&c.dynamicChildren.length===I.length?(ve(c.dynamicChildren,I,h,g,m,T,S),(u.key!=null||g&&u===g.subTree)&&Br(c,u,!0)):F(c,u,h,P,g,m,T,S,x)},Ye=(c,u,h,b,g,m,T,S,x)=>{u.slotScopeIds=S,c==null?u.shapeFlag&512?g.ctx.activate(u,h,b,T,x):E(u,h,b,g,m,T,x):v(c,u,x)},E=(c,u,h,b,g,m,T)=>{const S=c.component=Bo(c,b,g);if(Ar(c)&&(S.ctx.renderer=Tt),qo(S,!1,T),S.asyncDep){if(g&&g.registerDep(S,y,T),!c.el){const x=S.subTree=ct(bt);W(null,x,u,h),c.placeholder=x.el}}else y(S,c,u,h,g,m,T)},v=(c,u,h)=>{const b=u.component=c.component;if(So(c,u,h))if(b.asyncDep&&!b.asyncResolved){L(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},y=(c,u,h,b,g,m,T)=>{const S=()=>{if(c.isMounted){let{next:C,bu:I,u:D,parent:$,vnode:G}=c;{const Oe=kr(c);if(Oe){C&&(C.el=G.el,L(c,C,T)),Oe.asyncDep.then(()=>{he(()=>{c.isUnmounted||_()},g)});return}}let B=C,ae;rt(c,!1),C?(C.el=G.el,L(c,C,T)):C=G,I&&Yt(I),(ae=C.props&&C.props.onVnodeBeforeUpdate)&&Pe(ae,$,C,G),rt(c,!0);const de=xn(c),Ee=c.subTree;c.subTree=de,R(Ee,de,p(Ee.el),kt(Ee),c,g,m),C.el=de.el,B===null&&To(c,de.el),D&&he(D,g),(ae=C.props&&C.props.onVnodeUpdated)&&he(()=>Pe(ae,$,C,G),g)}else{let C;const{el:I,props:D}=u,{bm:$,m:G,parent:B,root:ae,type:de}=c,Ee=Rt(u);rt(c,!1),$&&Yt($),!Ee&&(C=D&&D.onVnodeBeforeMount)&&Pe(C,B,u),rt(c,!0);{ae.ce&&ae.ce._hasShadowRoot()&&ae.ce._injectChildStyle(de,c.parent?c.parent.type:void 0);const Oe=c.subTree=xn(c);R(null,Oe,h,b,c,g,m),u.el=Oe.el}if(G&&he(G,g),!Ee&&(C=D&&D.onVnodeMounted)){const Oe=u;he(()=>Pe(C,B,Oe),g)}(u.shapeFlag&256||B&&Rt(B.vnode)&&B.vnode.shapeFlag&256)&&c.a&&he(c.a,g),c.isMounted=!0,u=h=b=null}};c.scope.on();const x=c.effect=new tr(S);c.scope.off();const _=c.update=x.run.bind(x),P=c.job=x.runIfDirty.bind(x);P.i=c,P.id=c.uid,x.scheduler=()=>Qs(P),rt(c,!0),_()},L=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,Ao(c,u.props,b,h),Po(c,u.children,h),ke(),pn(c),qe()},F=(c,u,h,b,g,m,T,S,x=!1)=>{const _=c&&c.children,P=c?c.shapeFlag:0,C=u.children,{patchFlag:I,shapeFlag:D}=u;if(I>0){if(I&128){ue(_,C,h,b,g,m,T,S,x);return}else if(I&256){fe(_,C,h,b,g,m,T,S,x);return}}D&8?(P&16&&St(_,g,m),C!==_&&a(h,C)):P&16?D&16?ue(_,C,h,b,g,m,T,S,x):St(_,g,m,!0):(P&8&&a(h,""),D&16&&ee(C,h,b,g,m,T,S,x))},fe=(c,u,h,b,g,m,T,S,x)=>{c=c||dt,u=u||dt;const _=c.length,P=u.length,C=Math.min(_,P);let I;for(I=0;I<C;I++){const D=u[I]=x?je(u[I]):Re(u[I]);R(c[I],D,h,null,g,m,T,S,x)}_>P?St(c,g,m,!0,!1,C):ee(u,h,b,g,m,T,S,x,C)},ue=(c,u,h,b,g,m,T,S,x)=>{let _=0;const P=u.length;let C=c.length-1,I=P-1;for(;_<=C&&_<=I;){const D=c[_],$=u[_]=x?je(u[_]):Re(u[_]);if(Et(D,$))R(D,$,h,null,g,m,T,S,x);else break;_++}for(;_<=C&&_<=I;){const D=c[C],$=u[I]=x?je(u[I]):Re(u[I]);if(Et(D,$))R(D,$,h,null,g,m,T,S,x);else break;C--,I--}if(_>C){if(_<=I){const D=I+1,$=D<P?u[D].el:b;for(;_<=I;)R(null,u[_]=x?je(u[_]):Re(u[_]),h,$,g,m,T,S,x),_++}}else if(_>I)for(;_<=C;)Ae(c[_],g,m,!0),_++;else{const D=_,$=_,G=new Map;for(_=$;_<=I;_++){const me=u[_]=x?je(u[_]):Re(u[_]);me.key!=null&&G.set(me.key,_)}let B,ae=0;const de=I-$+1;let Ee=!1,Oe=0;const Ct=new Array(de);for(_=0;_<de;_++)Ct[_]=0;for(_=D;_<=C;_++){const me=c[_];if(ae>=de){Ae(me,g,m,!0);continue}let Ie;if(me.key!=null)Ie=G.get(me.key);else for(B=$;B<=I;B++)if(Ct[B-$]===0&&Et(me,u[B])){Ie=B;break}Ie===void 0?Ae(me,g,m,!0):(Ct[Ie-$]=_+1,Ie>=Oe?Oe=Ie:Ee=!0,R(me,u[Ie],h,null,g,m,T,S,x),ae++)}const ln=Ee?Fo(Ct):dt;for(B=ln.length-1,_=de-1;_>=0;_--){const me=$+_,Ie=u[me],cn=u[me+1],fn=me+1<P?cn.el||qr(cn):b;Ct[_]===0?R(null,Ie,h,fn,g,m,T,S,x):Ee&&(B<0||_!==ln[B]?xe(Ie,h,fn,2):B--)}}},xe=(c,u,h,b,g=null)=>{const{el:m,type:T,transition:S,children:x,shapeFlag:_}=c;if(_&6){xe(c.component.subTree,u,h,b);return}if(_&128){c.suspense.move(u,h,b);return}if(_&64){T.move(c,u,h,Tt);return}if(T===_e){n(m,u,h);for(let C=0;C<x.length;C++)xe(x[C],u,h,b);n(c.anchor,u,h);return}if(T===Es){k(c,u,h);return}if(b!==2&&_&1&&S)if(b===0)S.beforeEnter(m),n(m,u,h),he(()=>S.enter(m),g);else{const{leave:C,delayLeave:I,afterLeave:D}=S,$=()=>{c.ctx.isUnmounted?r(m):n(m,u,h)},G=()=>{m._isLeaving&&m[zi](!0),C(m,()=>{$(),D&&D()})};I?I(m,$,G):G()}else n(m,u,h)},Ae=(c,u,h,b=!1,g=!1)=>{const{type:m,props:T,ref:S,children:x,dynamicChildren:_,shapeFlag:P,patchFlag:C,dirs:I,cacheIndex:D}=c;if(C===-2&&(g=!1),S!=null&&(ke(),Nt(S,null,h,c,!0),qe()),D!=null&&(u.renderCache[D]=void 0),P&256){u.ctx.deactivate(c);return}const $=P&1&&I,G=!Rt(c);let B;if(G&&(B=T&&T.onVnodeBeforeUnmount)&&Pe(B,u,c),P&6)ti(c.component,h,b);else{if(P&128){c.suspense.unmount(h,b);return}$&&nt(c,null,u,"beforeUnmount"),P&64?c.type.remove(c,u,h,Tt,b):_&&!_.hasOnce&&(m!==_e||C>0&&C&64)?St(_,u,h,!1,!0):(m===_e&&C&384||!g&&P&16)&&St(x,u,h),b&&rn(c)}(G&&(B=T&&T.onVnodeUnmounted)||$)&&he(()=>{B&&Pe(B,u,c),$&&nt(c,null,u,"unmounted")},h)},rn=c=>{const{type:u,el:h,anchor:b,transition:g}=c;if(u===_e){ei(h,b);return}if(u===Es){N(c);return}const m=()=>{r(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:T,delayLeave:S}=g,x=()=>T(h,m);S?S(c.el,m,x):x()}else m()},ei=(c,u)=>{let h;for(;c!==u;)h=A(c),r(c),c=h;r(u)},ti=(c,u,h)=>{const{bum:b,scope:g,job:m,subTree:T,um:S,m:x,a:_}=c;Tn(x),Tn(_),b&&Yt(b),g.stop(),m&&(m.flags|=8,Ae(T,c,u,h)),S&&he(S,u),he(()=>{c.isUnmounted=!0},u)},St=(c,u,h,b=!1,g=!1,m=0)=>{for(let T=m;T<c.length;T++)Ae(c[T],u,h,b,g)},kt=c=>{if(c.shapeFlag&6)return kt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=A(c.anchor||c.el),h=u&&u[Gi];return h?A(h):u};let bs=!1;const on=(c,u,h)=>{let b;c==null?u._vnode&&(Ae(u._vnode,null,null,!0),b=u._vnode.component):R(u._vnode||null,c,u,null,null,null,h),u._vnode=c,bs||(bs=!0,pn(b),vr(),bs=!1)},Tt={p:R,um:Ae,m:xe,r:rn,mt:E,mc:ee,pc:F,pbc:ve,n:kt,o:e};return{render:on,hydrate:void 0,createApp:_o(on)}}function As({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function rt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ro(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Br(e,t,s=!1){const n=e.children,r=t.children;if(M(n)&&M(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=je(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&Br(o,l)),l.type===ms&&(l.patchFlag===-1&&(l=r[i]=je(l)),l.el=o.el),l.type===bt&&!l.el&&(l.el=o.el)}}function Fo(e){const t=e.slice(),s=[0];let n,r,i,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(r=s[s.length-1],e[r]<d){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<d?i=l+1:o=l;d<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function kr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:kr(t)}function Tn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function qr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?qr(t.subTree):null}const Xr=e=>e.__isSuspense;function Do(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Wi(e)}const _e=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),bt=Symbol.for("v-cmt"),Es=Symbol.for("v-stc"),Dt=[];let be=null;function ne(e=!1){Dt.push(be=e?null:[])}function Vo(){Dt.pop(),be=Dt[Dt.length-1]||null}let $t=1;function Cn(e,t=!1){$t+=e,e<0&&be&&t&&(be.hasOnce=!0)}function Lo(e){return e.dynamicChildren=$t>0?be||dt:null,Vo(),$t>0&&be&&be.push(e),e}function re(e,t,s,n,r,i){return Lo(w(e,t,s,n,r,i,!0))}function Jr(e){return e?e.__v_isVNode===!0:!1}function Et(e,t){return e.type===t.type&&e.key===t.key}const Gr=({key:e})=>e??null,Zt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||ce(e)||V(e)?{i:ye,r:e,k:t,f:!!s}:e:null);function w(e,t=null,s=null,n=0,r=null,i=e===_e?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gr(t),ref:t&&Zt(t),scopeId:wr,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ye};return l?(nn(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=Q(s)?8:16),$t>0&&!o&&be&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&be.push(f),f}const ct=Ho;function Ho(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===co)&&(e=bt),Jr(e)){const l=yt(e,t,!0);return s&&nn(l,s),$t>0&&!i&&be&&(l.shapeFlag&6?be[be.indexOf(e)]=l:be.push(l)),l.patchFlag=-2,l}if(Yo(e)&&(e=e.__vccOpts),t){t=$o(t);let{class:l,style:f}=t;l&&!Q(l)&&(t.class=Qe(l)),X(f)&&(Zs(f)&&!M(f)&&(f=se({},f)),t.style=us(f))}const o=Q(e)?1:Xr(e)?128:Yi(e)?64:X(e)?4:V(e)?2:0;return w(e,t,s,n,r,o,i,!0)}function $o(e){return e?Zs(e)||Hr(e)?se({},e):e:null}function yt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,d=t?Ko(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Gr(d),ref:t&&t.ref?s&&i?M(i)?i.concat(Zt(t)):[i,Zt(t)]:Zt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&en(a,f.clone(a)),a}function jo(e=" ",t=0){return ct(ms,null,e,t)}function Re(e){return e==null||typeof e=="boolean"?ct(bt):M(e)?ct(_e,null,e.slice()):Jr(e)?je(e):ct(ms,null,String(e))}function je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function nn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),nn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Hr(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:ye},s=32):(t=String(t),n&64?(s=16,t=[jo(t)]):s=8);e.children=t,e.shapeFlag|=s}function Ko(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Qe([t.class,n.class]));else if(r==="style")t.style=us([t.style,n.style]);else if(os(r)){const i=t[r],o=n[r];o&&i!==o&&!(M(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function Pe(e,t,s,n=null){Ve(e,t,7,[s,n])}const Uo=Rr();let Wo=0;function Bo(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||Uo,i={uid:Wo++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:jr(n,r),emitsOptions:Fr(n,r),emit:null,emitted:null,propsDefaults:J,inheritAttrs:n.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=yo.bind(null,i),e.ce&&e.ce(i),i}let le=null;const ko=()=>le||ye;let is,js;{const e=fs(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};is=t("__VUE_INSTANCE_SETTERS__",s=>le=s),js=t("__VUE_SSR_SETTERS__",s=>jt=s)}const Bt=e=>{const t=le;return is(e),e.scope.on(),()=>{e.scope.off(),is(t)}},An=()=>{le&&le.scope.off(),is(null)};function Yr(e){return e.vnode.shapeFlag&4}let jt=!1;function qo(e,t=!1,s=!1){t&&js(t);const{props:n,children:r}=e.vnode,i=Yr(e);Co(e,n,i,t),Io(e,r,s||t);const o=i?Xo(e,t):void 0;return t&&js(!1),o}function Xo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fo);const{setup:n}=s;if(n){ke();const r=e.setupContext=n.length>1?Go(e):null,i=Bt(e),o=Wt(n,e,0,[e.props,r]),l=Xn(o);if(qe(),i(),(l||e.sp)&&!Rt(e)&&Cr(e),l){if(o.then(An,An),t)return o.then(f=>{En(e,f)}).catch(f=>{hs(f,e,0)});e.asyncDep=o}else En(e,o)}else zr(e)}function En(e,t,s){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=mr(t)),zr(e)}function zr(e,t,s){const n=e.type;e.render||(e.render=n.render||Fe);{const r=Bt(e);ke();try{uo(e)}finally{qe(),r()}}}const Jo={get(e,t){return te(e,"get",""),e[t]}};function Go(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Jo),slots:e.slots,emit:e.emit,expose:t}}function _s(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mr(Fi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ft)return Ft[s](e)},has(t,s){return s in t||s in Ft}})):e.proxy}function Yo(e){return V(e)&&"__vccOpts"in e}const ze=(e,t)=>Hi(e,t,jt),zo="3.5.30";let Ks;const On=typeof window<"u"&&window.trustedTypes;if(On)try{Ks=On.createPolicy("vue",{createHTML:e=>e})}catch{}const Zr=Ks?e=>Ks.createHTML(e):e=>e,Zo="http://www.w3.org/2000/svg",Qo="http://www.w3.org/1998/Math/MathML",$e=typeof document<"u"?document:null,In=$e&&$e.createElement("template"),el={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?$e.createElementNS(Zo,e):t==="mathml"?$e.createElementNS(Qo,e):s?$e.createElement(e,{is:s}):$e.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>$e.createTextNode(e),createComment:e=>$e.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$e.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{In.innerHTML=Zr(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=In.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},tl=Symbol("_vtc");function sl(e,t,s){const n=e[tl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Pn=Symbol("_vod"),nl=Symbol("_vsh"),rl=Symbol(""),il=/(?:^|;)\s*display\s*:/;function ol(e,t,s){const n=e.style,r=Q(s);let i=!1;if(s&&!r){if(t)if(Q(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Qt(n,l,"")}else for(const o in t)s[o]==null&&Qt(n,o,"");for(const o in s)o==="display"&&(i=!0),Qt(n,o,s[o])}else if(r){if(t!==s){const o=n[rl];o&&(s+=";"+o),n.cssText=s,i=il.test(s)}}else t&&e.removeAttribute("style");Pn in e&&(e[Pn]=i?n.display:"",e[nl]&&(n.display="none"))}const Mn=/\s*!important$/;function Qt(e,t,s){if(M(s))s.forEach(n=>Qt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ll(e,t);Mn.test(s)?e.setProperty(ft(n),s.replace(Mn,""),"important"):e[n]=s}}const Nn=["Webkit","Moz","ms"],Os={};function ll(e,t){const s=Os[t];if(s)return s;let n=we(t);if(n!=="filter"&&n in e)return Os[t]=n;n=Yn(n);for(let r=0;r<Nn.length;r++){const i=Nn[r]+n;if(i in e)return Os[t]=i}return t}const Rn="http://www.w3.org/1999/xlink";function Fn(e,t,s,n,r,i=ai(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Rn,t.slice(6,t.length)):e.setAttributeNS(Rn,t,s):s==null||i&&!Zn(s)?e.removeAttribute(t):e.setAttribute(t,i?"":De(s)?String(s):s)}function Dn(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Zr(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Zn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function et(e,t,s,n){e.addEventListener(t,s,n)}function cl(e,t,s,n){e.removeEventListener(t,s,n)}const Vn=Symbol("_vei");function fl(e,t,s,n,r=null){const i=e[Vn]||(e[Vn]={}),o=i[t];if(n&&o)o.value=n;else{const[l,f]=ul(t);if(n){const d=i[t]=hl(n,r);et(e,l,d,f)}else o&&(cl(e,l,o,f),i[t]=void 0)}}const Ln=/(?:Once|Passive|Capture)$/;function ul(e){let t;if(Ln.test(e)){t={};let n;for(;n=e.match(Ln);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ft(e.slice(2)),t]}let Is=0;const al=Promise.resolve(),dl=()=>Is||(al.then(()=>Is=0),Is=Date.now());function hl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ve(pl(n,s.value),t,5,[n])};return s.value=e,s.attached=dl(),s}function pl(e,t){if(M(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const Hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,gl=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?sl(e,n,o):t==="style"?ol(e,s,n):os(t)?Ws(t)||fl(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ml(e,t,n,o))?(Dn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fn(e,t,n,o,i,t!=="value")):e._isVueCE&&(_l(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Q(n)))?Dn(e,we(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Fn(e,t,n,o))};function ml(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hn(t)&&V(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Hn(t)&&Q(s)?!1:t in e}function _l(e,t){const s=e._def.props;if(!s)return!1;const n=we(t);return Array.isArray(s)?s.some(r=>we(r)===n):Object.keys(s).some(r=>we(r)===n)}const vt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?s=>Yt(t,s):t};function bl(e){e.target.composing=!0}function $n(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Be=Symbol("_assign");function jn(e,t,s){return t&&(e=e.trim()),s&&(e=cs(e)),e}const yl={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e[Be]=vt(r);const i=n||r.props&&r.props.type==="number";et(e,t?"change":"input",o=>{o.target.composing||e[Be](jn(e.value,s,i))}),(s||i)&&et(e,"change",()=>{e.value=jn(e.value,s,i)}),t||(et(e,"compositionstart",bl),et(e,"compositionend",$n),et(e,"change",$n))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},o){if(e[Be]=vt(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?cs(e.value):e.value,f=t??"";l!==f&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===f)||(e.value=f))}},vl={deep:!0,created(e,t,s){e[Be]=vt(s),et(e,"change",()=>{const n=e._modelValue,r=Kt(e),i=e.checked,o=e[Be];if(M(n)){const l=qs(n,r),f=l!==-1;if(i&&!f)o(n.concat(r));else if(!i&&f){const d=[...n];d.splice(l,1),o(d)}}else if(xt(n)){const l=new Set(n);i?l.add(r):l.delete(r),o(l)}else o(Qr(e,i))})},mounted:Kn,beforeUpdate(e,t,s){e[Be]=vt(s),Kn(e,t,s)}};function Kn(e,{value:t,oldValue:s},n){e._modelValue=t;let r;if(M(t))r=qs(t,n.props.value)>-1;else if(xt(t))r=t.has(n.props.value);else{if(t===s)return;r=wt(t,Qr(e,!0))}e.checked!==r&&(e.checked=r)}const xl={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const r=xt(t);et(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>s?cs(Kt(o)):Kt(o));e[Be](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,br(()=>{e._assigning=!1})}),e[Be]=vt(n)},mounted(e,{value:t}){Un(e,t)},beforeUpdate(e,t,s){e[Be]=vt(s)},updated(e,{value:t}){e._assigning||Un(e,t)}};function Un(e,t){const s=e.multiple,n=M(t);if(!(s&&!n&&!xt(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Kt(o);if(s)if(n){const f=typeof l;f==="string"||f==="number"?o.selected=t.some(d=>String(d)===String(l)):o.selected=qs(t,l)>-1}else o.selected=t.has(l);else if(wt(Kt(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Kt(e){return"_value"in e?e._value:e.value}function Qr(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const wl=se({patchProp:gl},el);let Wn;function Sl(){return Wn||(Wn=Mo(wl))}const Tl=((...e)=>{const t=Sl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Al(n);if(!r)return;const i=t._component;!V(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,Cl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function Cl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Al(e){return Q(e)?document.querySelector(e):e}const El={class:"page-shell"},Ol={class:"topbar"},Il={class:"toolbar"},Pl=["value"],Ml={class:"checkbox"},Nl=["disabled"],Rl={class:"statusbar"},Fl={class:"pill-row"},Dl={class:"pill neutral"},Vl={class:"pill success"},Ll={class:"pill neutral"},Hl={class:"pill warn"},$l={class:"metric-grid"},jl={class:"metric-card"},Kl={class:"metric-card"},Ul={class:"metric-card"},Wl={class:"metric-card"},Bl={class:"card"},kl={class:"card-head"},ql={class:"meta-chip"},Xl={class:"section-tools"},Jl={key:0,class:"lights-grid"},Gl={class:"tile-head"},Yl={class:"meta-chip"},zl={class:"tile-meta"},Zl={class:"tile-stats"},Ql={class:"pill neutral"},ec={key:1,class:"empty-state"},tc={class:"card"},sc={class:"card-head"},nc={class:"meta-chip"},rc={key:0,class:"dimmer-grid"},ic={class:"tile-head"},oc={class:"meta-chip"},lc={class:"pill warn"},cc={class:"tile-meta"},fc={class:"dimmer-track"},uc={class:"tile-stats"},ac={class:"pill neutral"},dc={key:1,class:"empty-state"},hc={class:"card"},pc={class:"card-head"},gc={class:"meta-chip"},mc={key:0,class:"other-list"},_c={class:"other-side"},bc={class:"pill neutral"},yc={class:"pill neutral"},vc={key:1,class:"empty-state"},Ps="knxUltimateViewer:selectedNodeId",Bn="knxUltimateViewer:autoRefresh",kn="knxUltimateViewer:search",xc={__name:"App",setup(e){const t=(()=>{try{return new URLSearchParams(window.location.search).get("nodeId")||""}catch{return""}})(),s=(()=>{try{return new URLSearchParams(window.location.search).get("access_token")||""}catch{return""}})();function n(){try{if(!window.localStorage)return"";const E=[];for(let v=0;v<window.localStorage.length;v+=1){const y=String(window.localStorage.key(v)||"");if(!y.startsWith("auth-tokens"))continue;const L=window.localStorage.getItem(y);if(!L)continue;let F=null;try{F=JSON.parse(L)}catch{F=null}const fe=F&&typeof F.access_token=="string"?F.access_token.trim():"";if(!fe)continue;const ue=Number(F&&(F.expires_at||F.expiry||F.expires)?F.expires_at||F.expiry||F.expires:0);E.push({token:fe,expiresAt:Number.isFinite(ue)?ue:0})}return E.length?(E.sort((v,y)=>y.expiresAt-v.expiresAt),E[0].token||""):""}catch{return""}}const r=(()=>{const E=String(s||"").trim();return E||n()})();function i(E){const v=Object.assign({},E||{});return r&&!v.Authorization&&!v.authorization&&(v.Authorization=`Bearer ${r}`),v}const o=ds({nodes:[],selectedNodeId:t||l(Ps,""),autoRefresh:f(Bn,!0),search:l(kn,""),status:"Ready",loadingNodes:!1,loadingState:!1,data:null,lastError:"",pollHandle:null});function l(E,v=""){try{return window.localStorage&&window.localStorage.getItem(E)||v}catch{return v}}function f(E,v){try{if(!window.localStorage)return v;const y=window.localStorage.getItem(E);return y==null||y===""?v:y==="true"}catch{return v}}function d(E,v){try{window.localStorage&&window.localStorage.setItem(E,String(v??""))}catch{}}function a(E,v){try{window.localStorage&&window.localStorage.setItem(E,v?"true":"false")}catch{}}function p(E){const v=new URL(E,window.location.href);return s&&v.searchParams.set("access_token",s),v.toString()}function A(E){o.status=String(E||"")}async function O(E,v){const y=Object.assign({credentials:"same-origin"},{});y.headers=i(y.headers);const L=await fetch(E,y),F=String(L.headers.get("content-type")||"").toLowerCase(),fe=await L.text();if(L.ok&&F.includes("text/html"))throw new Error("Authentication required or insufficient permissions (session token missing or expired).");let ue={};try{ue=fe?JSON.parse(fe):{}}catch{ue={error:fe||`HTTP ${L.status}`}}if(!L.ok){const xe=ue&&ue.error?ue.error:`HTTP ${L.status}`;throw L.status===401||L.status===403?new Error(`Authentication required or insufficient permissions (${L.status}).`):new Error(xe)}return ue}function K(E){return String(E||"").trim()}function R(E){const v=t&&E.find(F=>F.id===t)?t:"",y=l(Ps,""),L=y&&E.find(F=>F.id===y)?y:"";return v||L||(E[0]?E[0].id:"")}async function z({preserveSelection:E=!0}={}){o.loadingNodes=!0;try{const v=await O(p("nodes")),y=Array.isArray(v&&v.nodes)?v.nodes:[];o.nodes=y,(!E||!o.selectedNodeId||!y.find(L=>L.id===o.selectedNodeId))&&(o.selectedNodeId=R(y))}finally{o.loadingNodes=!1}}async function W(){if(!o.selectedNodeId){o.data=null,o.lastError="No KNX Viewer node available.",A("No viewer nodes");return}o.loadingState=!0,o.lastError="",A("Refreshing KNX Viewer...");try{const E=await O(p(`state?nodeId=${encodeURIComponent(o.selectedNodeId)}`));o.data=E,A("Live state loaded")}catch(E){o.lastError=E.message||String(E),A("Unable to load state")}finally{o.loadingState=!1}}function H(){o.pollHandle&&(clearInterval(o.pollHandle),o.pollHandle=null)}function k(){H(),o.autoRefresh&&(o.pollHandle=setInterval(()=>{W().catch(()=>{})},3e3))}async function N(){await z({preserveSelection:!0}),await W()}function Z(E){const v=Number(E||0);if(!Number.isFinite(v)||v<=0)return"n/a";const y=Math.max(0,Date.now()-v);return y<15e3?"just now":y<6e4?`${Math.round(y/1e3)}s ago`:y<36e5?`${Math.round(y/6e4)}m ago`:`${Math.round(y/36e5)}h ago`}function Ce(E){if(!E)return"n/a";const v=new Date(E);return Number.isFinite(v.getTime())?v.toLocaleString():"n/a"}const ge=ze(()=>o.data&&o.data.node?o.data.node:{}),ee=ze(()=>o.data&&o.data.summary?o.data.summary:{}),st=ze(()=>Array.isArray(o.data&&o.data.items)?o.data.items:[]),ve=ze(()=>{const E=K(o.search).toLowerCase();return E?st.value.filter(v=>`${v.address||""} ${v.devicename||""} ${v.dpt||""}`.toLowerCase().includes(E)):st.value}),Le=ze(()=>ve.value.filter(E=>E.kind==="light")),Ge=ze(()=>ve.value.filter(E=>E.kind==="dimmer")),Ye=ze(()=>ve.value.filter(E=>E.kind==="other").slice(0,12));return gt(()=>o.selectedNodeId,async(E,v)=>{d(Ps,E||""),!(!E||E===v)&&await W()}),gt(()=>o.autoRefresh,E=>{a(Bn,E),k()}),gt(()=>o.search,E=>{d(kn,E||"")}),Or(async()=>{await z({preserveSelection:!1}),await W(),k()}),Ir(()=>{H()}),(E,v)=>(ne(),re("div",El,[w("header",Ol,[w("div",null,[v[3]||(v[3]=w("p",{class:"eyebrow"},"KNX Viewer Web",-1)),w("h1",null,j(ge.value.name||"KNX Viewer"),1),v[4]||(v[4]=w("p",{class:"subhead"}," Live lights and dimmer values collected by the KNX Viewer node. The visual language stays aligned with KNX AI, but focused on field states. ",-1))]),w("div",Il,[Ts(w("select",{"onUpdate:modelValue":v[0]||(v[0]=y=>o.selectedNodeId=y),class:"node-select"},[v[5]||(v[5]=w("option",{value:"",disabled:""},"Select KNX Viewer",-1)),(ne(!0),re(_e,null,Gt(o.nodes,y=>(ne(),re("option",{key:y.id,value:y.id},j(`${y.name||"KNXViewer"}${y.gatewayName?` | ${y.gatewayName}`:""}`),9,Pl))),128))],512),[[xl,o.selectedNodeId]]),w("label",Ml,[Ts(w("input",{"onUpdate:modelValue":v[1]||(v[1]=y=>o.autoRefresh=y),type:"checkbox"},null,512),[[vl,o.autoRefresh]]),v[6]||(v[6]=w("span",null,"Auto refresh",-1))]),w("button",{class:"secondary-button",type:"button",disabled:o.loadingState||o.loadingNodes,onClick:N}," Refresh ",8,Nl)]),w("div",Rl,[w("span",{class:Qe(["status-pill",o.lastError?"status-error":"status-ok"])},j(o.lastError||o.status),3),w("div",Fl,[w("span",Dl,"Gateway "+j(ge.value.gatewayName||"n/a"),1),w("span",Vl,"Lights on "+j(ee.value.lightOnCount||0),1),w("span",Ll,"Lights off "+j(ee.value.lightOffCount||0),1),w("span",Hl,"Avg dimmer "+j(ee.value.averageDimmerLevel||0)+"%",1)])])]),w("section",$l,[w("article",jl,[v[7]||(v[7]=w("span",{class:"metric-label"},"Detected lights",-1)),w("strong",null,j(ee.value.lightCount||0),1),v[8]||(v[8]=w("p",null,"Boolean-style KNX values currently visible to this Viewer node.",-1))]),w("article",Kl,[v[9]||(v[9]=w("span",{class:"metric-label"},"Detected dimmers",-1)),w("strong",null,j(ee.value.dimmerCount||0),1),v[10]||(v[10]=w("p",null,"5.001-like level values rendered as dimmer cards.",-1))]),w("article",Ul,[v[11]||(v[11]=w("span",{class:"metric-label"},"Known group addresses",-1)),w("strong",null,j(ee.value.totalItems||0),1),v[12]||(v[12]=w("p",null,"Total KNX group addresses seen by the Viewer in this runtime session.",-1))]),w("article",Wl,[v[13]||(v[13]=w("span",{class:"metric-label"},"Last KNX update",-1)),w("strong",null,j(Ce(ee.value.lastUpdate)),1),v[14]||(v[14]=w("p",null,"Most recent telegram reflected in this web page.",-1))])]),w("section",Bl,[w("div",kl,[v[15]||(v[15]=w("h2",null,"Lights",-1)),w("span",ql,j(Le.value.length)+" visible",1)]),w("div",Xl,[Ts(w("input",{"onUpdate:modelValue":v[2]||(v[2]=y=>o.search=y),class:"search-input",type:"text",placeholder:"Search GA, label or DPT"},null,512),[[yl,o.search]]),v[16]||(v[16]=w("p",{class:"section-note"},"Rendering is based on the live values currently exposed by KNX Viewer.",-1))]),Le.value.length?(ne(),re("div",Jl,[(ne(!0),re(_e,null,Gt(Le.value,y=>(ne(),re("article",{key:y.address,class:Qe(["tile-card light-card",{"is-on":y.isOn,"is-off":!y.isOn}])},[w("div",Gl,[v[17]||(v[17]=w("div",{class:"light-badge"},[w("span",{class:"light-badge-core"})],-1)),w("span",Yl,j(y.address),1)]),w("h3",null,j(y.devicename||y.address),1),w("p",zl,j(y.dpt||"no dpt"),1),w("div",Zl,[w("span",{class:Qe(["pill",y.isOn?"success":"neutral"])},j(y.isOn?"ON":"OFF"),3),w("span",Ql,"Updated "+j(Z(y.lastUpdateMs)),1)])],2))),128))])):(ne(),re("p",ec,"No boolean light-style values detected yet."))]),w("section",tc,[w("div",sc,[v[18]||(v[18]=w("h2",null,"Dimmers",-1)),w("span",nc,j(Ge.value.length)+" visible",1)]),Ge.value.length?(ne(),re("div",rc,[(ne(!0),re(_e,null,Gt(Ge.value,y=>(ne(),re("article",{key:y.address,class:Qe(["tile-card dimmer-card",{"is-active":Number(y.level||0)>0}])},[w("div",ic,[w("span",oc,j(y.address),1),w("span",lc,j(y.level||0)+"%",1)]),w("h3",null,j(y.devicename||y.address),1),w("p",cc,j(y.dpt||"no dpt"),1),w("div",fc,[w("span",{class:"dimmer-fill",style:us({width:`${y.level||0}%`})},null,4)]),w("div",uc,[w("span",ac,"Updated "+j(Z(y.lastUpdateMs)),1),w("span",{class:Qe(["pill",Number(y.level||0)>0?"success":"neutral"])},j(Number(y.level||0)>0?"ACTIVE":"IDLE"),3)])],2))),128))])):(ne(),re("p",dc,"No dimmer values detected yet."))]),w("section",hc,[w("div",pc,[v[19]||(v[19]=w("h2",null,"Recent KNX Values",-1)),w("span",gc,j(Ye.value.length)+" preview",1)]),Ye.value.length?(ne(),re("div",mc,[(ne(!0),re(_e,null,Gt(Ye.value,y=>(ne(),re("article",{key:y.address,class:"other-row"},[w("div",null,[w("strong",null,j(y.devicename||y.address),1),w("p",null,j(y.address)+j(y.dpt?` | ${y.dpt}`:""),1)]),w("div",_c,[w("span",bc,j(y.payloadText||"-"),1),w("span",yc,j(Z(y.lastUpdateMs)),1)])]))),128))])):(ne(),re("p",vc,"No additional KNX values available for preview."))])]))}};Tl(xc).mount("#app");
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();function Js(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const G={},pt=[],De=()=>{},Gn=()=>!1,fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),us=e=>e.startsWith("onUpdate:"),ie=Object.assign,Gs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},oi=Object.prototype.hasOwnProperty,W=(e,t)=>oi.call(e,t),M=Array.isArray,gt=e=>Bt(e)==="[object Map]",wt=e=>Bt(e)==="[object Set]",gn=e=>Bt(e)==="[object Date]",D=e=>typeof e=="function",Q=e=>typeof e=="string",Le=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",zn=e=>(X(e)||D(e))&&D(e.then)&&D(e.catch),Yn=Object.prototype.toString,Bt=e=>Yn.call(e),li=e=>Bt(e).slice(8,-1),Zn=e=>Bt(e)==="[object Object]",zs=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nt=Js(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),as=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},ci=/-\w/g,Se=as(e=>e.replace(ci,t=>t.slice(1).toUpperCase())),fi=/\B([A-Z])/g,at=as(e=>e.replace(fi,"-$1").toLowerCase()),Qn=as(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cs=as(e=>e?`on${Qn(e)}`:""),Ue=(e,t)=>!Object.is(e,t),Qt=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},er=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},ds=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let mn;const hs=()=>mn||(mn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ps(e){if(M(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=Q(n)?hi(n):ps(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(Q(e)||X(e))return e}const ui=/;(?![^(]*\))/g,ai=/:([^]+)/,di=/\/\*[^]*?\*\//g;function hi(e){const t={};return e.replace(di,"").split(ui).forEach(s=>{if(s){const n=s.split(ai);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Qe(e){let t="";if(Q(e))t=e;else if(M(e))for(let s=0;s<e.length;s++){const n=Qe(e[s]);n&&(t+=n+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const pi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gi=Js(pi);function tr(e){return!!e||e===""}function mi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=St(e[n],t[n]);return s}function St(e,t){if(e===t)return!0;let s=gn(e),n=gn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Le(e),n=Le(t),s||n)return e===t;if(s=M(e),n=M(t),s||n)return s&&n?mi(e,t):!1;if(s=X(e),n=X(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!St(e[o],t[o]))return!1}}return String(e)===String(t)}function Ys(e,t){return e.findIndex(s=>St(s,t))}const sr=e=>!!(e&&e.__v_isRef===!0),K=e=>Q(e)?e:e==null?"":M(e)||X(e)&&(e.toString===Yn||!D(e.toString))?sr(e)?K(e.value):JSON.stringify(e,nr,2):String(e),nr=(e,t)=>sr(t)?nr(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[Ts(n,i)+" =>"]=r,s),{})}:wt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Ts(s))}:Le(t)?Ts(t):X(t)&&!M(t)&&!Zn(t)?String(t):t,Ts=(e,t="")=>{var s;return Le(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};let se;class _i{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&se&&(se.active?(this.parent=se,this.index=(se.scopes||(se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){const n=this.scopes.slice();for(t=0,s=n.length;t<s;t++)n[t].pause()}for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes){const r=this.scopes.slice();for(t=0,s=r.length;t<s;t++)r[t].resume()}const n=this.effects.slice();for(t=0,s=n.length;t<s;t++)n[t].resume()}}run(t){if(this._active){const s=se;try{return se=this,t()}finally{se=s}}}on(){++this._on===1&&(this.prevScope=se,se=this)}off(){if(this._on>0&&--this._on===0){if(se===this)se=this.prevScope;else{let t=se;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(s=0,n=r.length;s<n;s++)r[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function bi(){return se}let z;const As=new WeakSet;class rr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,se&&(se.active?se.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,As.has(this)&&(As.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||or(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,_n(this),lr(this);const t=z,s=Ce;z=this,Ce=!0;try{return this.fn()}finally{cr(this),z=t,Ce=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)en(t);this.deps=this.depsTail=void 0,_n(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?As.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){$s(this)&&this.run()}get dirty(){return $s(this)}}let ir=0,Mt,Rt;function or(e,t=!1){if(e.flags|=8,t){e.next=Rt,Rt=e;return}e.next=Mt,Mt=e}function Zs(){ir++}function Qs(){if(--ir>0)return;if(Rt){let t=Rt;for(Rt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Mt;){let t=Mt;for(Mt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function lr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cr(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),en(n),yi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function $s(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Lt)||(e.globalVersion=Lt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!$s(e))))return;e.flags|=2;const t=e.dep,s=z,n=Ce;z=e,Ce=!0;try{lr(e);const r=e.fn(e._value);(t.version===0||Ue(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{z=s,Ce=n,cr(e),e.flags&=-3}}function en(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)en(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function yi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ce=!0;const ur=[];function ke(){ur.push(Ce),Ce=!1}function qe(){const e=ur.pop();Ce=e===void 0?!0:e}function _n(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=z;z=void 0;try{t()}finally{z=s}}}let Lt=0;class vi{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ar{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!z||!Ce||z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==z)s=this.activeLink=new vi(z,this),z.deps?(s.prevDep=z.depsTail,z.depsTail.nextDep=s,z.depsTail=s):z.deps=z.depsTail=s,dr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=z.depsTail,s.nextDep=void 0,z.depsTail.nextDep=s,z.depsTail=s,z.deps===s&&(z.deps=n)}return s}trigger(t){this.version++,Lt++,this.notify(t)}notify(t){Zs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Qs()}}}function dr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)dr(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Hs=new WeakMap,ot=Symbol(""),js=Symbol(""),$t=Symbol("");function re(e,t,s){if(Ce&&z){let n=Hs.get(e);n||Hs.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new ar),r.map=n,r.key=s),r.track()}}function We(e,t,s,n,r,i){const o=Hs.get(e);if(!o){Lt++;return}const l=f=>{f&&f.trigger()};if(Zs(),t==="clear")o.forEach(l);else{const f=M(e),d=f&&zs(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,A)=>{(A==="length"||A===$t||!Le(A)&&A>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get($t)),t){case"add":f?d&&l(o.get("length")):(l(o.get(ot)),gt(e)&&l(o.get(js)));break;case"delete":f||(l(o.get(ot)),gt(e)&&l(o.get(js)));break;case"set":gt(e)&&l(o.get(ot));break}}Qs()}function dt(e){const t=q(e);return t===e?t:(re(t,"iterate",$t),Te(e)?t:t.map(Xe))}function gs(e){return re(e=q(e),"iterate",$t),e}function Re(e,t){return tt(e)?yt(lt(e)?Xe(t):t):Xe(t)}const xi={__proto__:null,[Symbol.iterator](){return Es(this,Symbol.iterator,e=>Re(this,e))},concat(...e){return dt(this).concat(...e.map(t=>M(t)?dt(t):t))},entries(){return Es(this,"entries",e=>(e[1]=Re(this,e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,s=>s.map(n=>Re(this,n)),arguments)},find(e,t){return He(this,"find",e,t,s=>Re(this,s),arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,s=>Re(this,s),arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return Os(this,"includes",e)},indexOf(...e){return Os(this,"indexOf",e)},join(e){return dt(this).join(e)},lastIndexOf(...e){return Os(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return Et(this,"pop")},push(...e){return Et(this,"push",e)},reduce(e,...t){return bn(this,"reduce",e,t)},reduceRight(e,...t){return bn(this,"reduceRight",e,t)},shift(){return Et(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return Et(this,"splice",e)},toReversed(){return dt(this).toReversed()},toSorted(e){return dt(this).toSorted(e)},toSpliced(...e){return dt(this).toSpliced(...e)},unshift(...e){return Et(this,"unshift",e)},values(){return Es(this,"values",e=>Re(this,e))}};function Es(e,t,s){const n=gs(e),r=n[t]();return n!==e&&!Te(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const wi=Array.prototype;function He(e,t,s,n,r,i){const o=gs(e),l=o!==e&&!Te(e),f=o[t];if(f!==wi[t]){const p=f.apply(e,i);return l?Xe(p):p}let d=s;o!==e&&(l?d=function(p,A){return s.call(this,Re(e,p),A,e)}:s.length>2&&(d=function(p,A){return s.call(this,p,A,e)}));const a=f.call(o,d,n);return l&&r?r(a):a}function bn(e,t,s,n){const r=gs(e),i=r!==e&&!Te(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Re(e,d)),s.call(this,d,Re(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=r[t](o,...n);return l?Re(e,f):f}function Os(e,t,s){const n=q(e);re(n,"iterate",$t);const r=n[t](...s);return(r===-1||r===!1)&&nn(s[0])?(s[0]=q(s[0]),n[t](...s)):r}function Et(e,t,s=[]){ke(),Zs();const n=q(e)[t].apply(e,s);return Qs(),qe(),n}const Si=Js("__proto__,__v_isRef,__isVue"),hr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function Ci(e){Le(e)||(e=String(e));const t=q(this);return re(t,"has",e),t.hasOwnProperty(e)}class pr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Fi:br:i?_r:mr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=M(t);if(!r){let f;if(o&&(f=xi[s]))return f;if(s==="hasOwnProperty")return Ci}const l=Reflect.get(t,s,ae(t)?t:n);if((Le(s)?hr.has(s):Si(s))||(r||re(t,"get",s),i))return l;if(ae(l)){const f=o&&zs(s)?l:l.value;return r&&X(f)?Us(f):f}return X(l)?r?Us(l):ms(l):l}}class gr extends pr{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=M(t)&&zs(s);if(!this._isShallow){const d=tt(i);if(!Te(n)&&!tt(n)&&(i=q(i),n=q(n)),!o&&ae(i)&&!ae(n))return d||(i.value=n),!0}const l=o?Number(s)<t.length:W(t,s),f=Reflect.set(t,s,n,ae(t)?t:r);return t===q(r)&&f&&(l?Ue(n,i)&&We(t,"set",s,n):We(t,"add",s,n)),f}deleteProperty(t,s){const n=W(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&We(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!Le(s)||!hr.has(s))&&re(t,"has",s),n}ownKeys(t){return re(t,"iterate",M(t)?"length":ot),Reflect.ownKeys(t)}}class Ti extends pr{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Ai=new gr,Ei=new Ti,Oi=new gr(!0);const Ks=e=>e,Jt=e=>Reflect.getPrototypeOf(e);function Ii(e,t,s){return function(...n){const r=this.__v_raw,i=q(r),o=gt(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=r[e](...n),a=s?Ks:t?yt:Xe;return!t&&re(i,"iterate",f?js:ot),ie(Object.create(d),{next(){const{value:p,done:A}=d.next();return A?{value:p,done:A}:{value:l?[a(p[0]),a(p[1])]:a(p),done:A}}})}}function Gt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pi(e,t){const s={get(r){const i=this.__v_raw,o=q(i),l=q(r);e||(Ue(r,l)&&re(o,"get",r),re(o,"get",l));const{has:f}=Jt(o),d=t?Ks:e?yt:Xe;if(f.call(o,r))return d(i.get(r));if(f.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&re(q(r),"iterate",ot),r.size},has(r){const i=this.__v_raw,o=q(i),l=q(r);return e||(Ue(r,l)&&re(o,"has",r),re(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=q(l),d=t?Ks:e?yt:Xe;return!e&&re(f,"iterate",ot),l.forEach((a,p)=>r.call(i,d(a),d(p),o))}};return ie(s,e?{add:Gt("add"),set:Gt("set"),delete:Gt("delete"),clear:Gt("clear")}:{add(r){const i=q(this),o=Jt(i),l=q(r),f=!t&&!Te(r)&&!tt(r)?l:r;return o.has.call(i,f)||Ue(r,f)&&o.has.call(i,r)||Ue(l,f)&&o.has.call(i,l)||(i.add(f),We(i,"add",f,f)),this},set(r,i){!t&&!Te(i)&&!tt(i)&&(i=q(i));const o=q(this),{has:l,get:f}=Jt(o);let d=l.call(o,r);d||(r=q(r),d=l.call(o,r));const a=f.call(o,r);return o.set(r,i),d?Ue(i,a)&&We(o,"set",r,i):We(o,"add",r,i),this},delete(r){const i=q(this),{has:o,get:l}=Jt(i);let f=o.call(i,r);f||(r=q(r),f=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return f&&We(i,"delete",r,void 0),d},clear(){const r=q(this),i=r.size!==0,o=r.clear();return i&&We(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Ii(r,e,t)}),s}function tn(e,t){const s=Pi(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(W(s,r)&&r in n?s:n,r,i)}const Ni={get:tn(!1,!1)},Mi={get:tn(!1,!0)},Ri={get:tn(!0,!1)};const mr=new WeakMap,_r=new WeakMap,br=new WeakMap,Fi=new WeakMap;function Vi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ms(e){return tt(e)?e:sn(e,!1,Ai,Ni,mr)}function Di(e){return sn(e,!1,Oi,Mi,_r)}function Us(e){return sn(e,!0,Ei,Ri,br)}function sn(e,t,s,n,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=Vi(li(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function lt(e){return tt(e)?lt(e.__v_raw):!!(e&&e.__v_isReactive)}function tt(e){return!!(e&&e.__v_isReadonly)}function Te(e){return!!(e&&e.__v_isShallow)}function nn(e){return e?!!e.__v_raw:!1}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function Li(e){return!W(e,"__v_skip")&&Object.isExtensible(e)&&er(e,"__v_skip",!0),e}const Xe=e=>X(e)?ms(e):e,yt=e=>X(e)?Us(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function $i(e){return ae(e)?e.value:e}const Hi={get:(e,t,s)=>t==="__v_raw"?e:$i(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ae(r)&&!ae(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function yr(e){return lt(e)?e:new Proxy(e,Hi)}class ji{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new ar(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Lt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&z!==this)return or(this,!0),!0}get value(){const t=this.dep.track();return fr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ki(e,t,s=!1){let n,r;return D(e)?n=e:(n=e.get,r=e.set),new ji(n,r,s)}const zt={},ss=new WeakMap;let it;function Ui(e,t=!1,s=it){if(s){let n=ss.get(s);n||ss.set(s,n=[]),n.push(e)}}function Wi(e,t,s=G){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,d=P=>r?P:Te(P)||r===!1||r===0?Be(P,1):Be(P);let a,p,A,O,U=!1,F=!1;if(ae(e)?(p=()=>e.value,U=Te(e)):lt(e)?(p=()=>d(e),U=!0):M(e)?(F=!0,U=e.some(P=>lt(P)||Te(P)),p=()=>e.map(P=>{if(ae(P))return P.value;if(lt(P))return d(P);if(D(P))return f?f(P,2):P()})):D(e)?t?p=f?()=>f(e,2):e:p=()=>{if(A){ke();try{A()}finally{qe()}}const P=it;it=a;try{return f?f(e,3,[O]):e(O)}finally{it=P}}:p=De,t&&r){const P=p,Z=r===!0?1/0:r;p=()=>Be(P(),Z)}const Y=bi(),B=()=>{a.stop(),Y&&Y.active&&Gs(Y.effects,a)};if(i&&t){const P=t;t=(...Z)=>{const ye=P(...Z);return B(),ye}}let $=F?new Array(e.length).fill(zt):zt;const j=P=>{if(!(!(a.flags&1)||!a.dirty&&!P))if(t){const Z=a.run();if(P||r||U||(F?Z.some((ye,ge)=>Ue(ye,$[ge])):Ue(Z,$))){A&&A();const ye=it;it=a;try{const ge=[Z,$===zt?void 0:F&&$[0]===zt?[]:$,O];$=Z,f?f(t,3,ge):t(...ge)}finally{it=ye}}}else a.run()};return l&&l(j),a=new rr(p),a.scheduler=o?()=>o(j,!1):j,O=P=>Ui(P,!1,a),A=a.onStop=()=>{const P=ss.get(a);if(P){if(f)f(P,4);else for(const Z of P)Z();ss.delete(a)}},t?n?j(!0):$=a.run():o?o(j.bind(null,!0),!0):a.run(),B.pause=a.pause.bind(a),B.resume=a.resume.bind(a),B.stop=B,B}function Be(e,t=1/0,s){if(t<=0||!X(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ae(e))Be(e.value,t,s);else if(M(e))for(let n=0;n<e.length;n++)Be(e[n],t,s);else if(wt(e)||gt(e))e.forEach(n=>{Be(n,t,s)});else if(Zn(e)){for(const n in e)Be(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Be(e[n],t,s)}return e}function kt(e,t,s,n){try{return n?e(...n):e()}catch(r){_s(r,t,s)}}function Ae(e,t,s,n){if(D(e)){const r=kt(e,t,s,n);return r&&zn(r)&&r.catch(i=>{_s(i,t,s)}),r}if(M(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ae(e[i],t,s,n));return r}}function _s(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||G;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,d)===!1)return}l=l.parent}if(i){ke(),kt(i,null,10,[e,f,d]),qe();return}}Bi(e,s,r,n,o)}function Bi(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const fe=[];let Me=-1;const mt=[];let Ze=null,ht=0;const vr=Promise.resolve();let ns=null;function xr(e){const t=ns||vr;return e?t.then(this?e.bind(this):e):t}function ki(e){let t=Me+1,s=fe.length;for(;t<s;){const n=t+s>>>1,r=fe[n],i=Ht(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function rn(e){if(!(e.flags&1)){const t=Ht(e),s=fe[fe.length-1];!s||!(e.flags&2)&&t>=Ht(s)?fe.push(e):fe.splice(ki(t),0,e),e.flags|=1,wr()}}function wr(){ns||(ns=vr.then(Cr))}function qi(e){if(!M(e))Ze&&e.id===-1?Ze.splice(ht+1,0,e):e.flags&1||(mt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)mt.push(e[t]);wr()}function yn(e,t,s=Me+1){for(;s<fe.length;s++){const n=fe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;fe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Sr(e){if(mt.length){const t=[...new Set(mt)].sort((s,n)=>Ht(s)-Ht(n));if(mt.length=0,Ze){for(let s=0;s<t.length;s++)Ze.push(t[s]);return}for(Ze=t,ht=0;ht<Ze.length;ht++){const s=Ze[ht];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ze=null,ht=0}}const Ht=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Cr(e){try{for(Me=0;Me<fe.length;Me++){const t=fe[Me];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),kt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Me<fe.length;Me++){const t=fe[Me];t&&(t.flags&=-2)}Me=-1,fe.length=0,Sr(),ns=null,(fe.length||mt.length)&&Cr()}}let ve=null,Tr=null;function rs(e){const t=ve;return ve=e,Tr=e&&e.type.__scopeId||null,t}function Xi(e,t=ve,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Pn(-1);const i=rs(t),o=ct.length;let l;try{l=e(...r)}finally{for(let f=ct.length;f>o;f--)Yr();rs(i),n._d&&Pn(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Is(e,t){if(ve===null)return e;const s=ws(ve),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,f=G]=t[r];i&&(D(i)&&(i={mounted:i,updated:i}),i.deep&&Be(o),n.push({dir:i,instance:s,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function nt(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let f=l.dir[n];f&&(ke(),Ae(f,s,8,[e.el,l,e,t]),qe())}}function Ji(e,t){if(ue){let s=ue.provides;const n=ue.parent&&ue.parent.provides;n===s&&(s=ue.provides=Object.create(n)),s[e]=t}}function es(e,t,s=!1){const n=qo();if(n||bt){let r=bt?bt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&D(t)?t.call(n&&n.proxy):t}}const Gi=Symbol.for("v-scx"),zi=()=>es(Gi);function _t(e,t,s){return Ar(e,t,s)}function Ar(e,t,s=G){const{immediate:n,deep:r,flush:i,once:o}=s,l=ie({},s),f=t&&n||!t&&i!=="post";let d;if(Ut){if(i==="sync"){const O=zi();d=O.__watcherHandles||(O.__watcherHandles=[])}else if(!f){const O=()=>{};return O.stop=De,O.resume=De,O.pause=De,O}}const a=ue;l.call=(O,U,F)=>Ae(O,a,U,F);let p=!1;i==="post"?l.scheduler=O=>{pe(O,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(O,U)=>{U?O():rn(O)}),l.augmentJob=O=>{t&&(O.flags|=4),p&&(O.flags|=2,a&&(O.id=a.uid,O.i=a))};const A=Wi(e,t,l);return Ut&&(d?d.push(A):f&&A()),A}function Yi(e,t,s){const n=this.proxy,r=Q(e)?e.includes(".")?Er(n,e):()=>n[e]:e.bind(n,n);let i;D(t)?i=t:(i=t.handler,s=t);const o=qt(this),l=Ar(r,i.bind(n),s);return o(),l}function Er(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Zi=Symbol("_vte"),bs=e=>e.__isTeleport,Ps=Symbol("_leaveCb");function Qi(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==ut){t=s;break}}return t}function Or(e){if(!ln(e))return bs(e.type)&&e.children?Qi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&D(s.default))return s.default()}}function on(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const s=e.component.subTree;on(bs(s.type)&&Or(s)||s,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ir(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function vn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const is=new WeakMap;function Ft(e,t,s,n,r=!1){if(M(e)){e.forEach((F,Y)=>Ft(F,t&&(M(t)?t[Y]:t),s,n,r));return}if(Vt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ft(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?ws(n.component):n.el,o=r?null:i,{i:l,r:f}=e,d=t&&t.r,a=l.refs===G?l.refs={}:l.refs,p=l.setupState,A=q(p),O=p===G?Gn:F=>vn(a,F)?!1:W(A,F),U=(F,Y)=>!(Y&&vn(a,Y));if(d!=null&&d!==f){if(xn(t),Q(d))a[d]=null,O(d)&&(p[d]=null);else if(ae(d)){const F=t;U(d,F.k)&&(d.value=null),F.k&&(a[F.k]=null)}}if(D(f))kt(f,l,12,[o,a]);else{const F=Q(f),Y=ae(f);if(F||Y){const B=()=>{if(e.f){const $=F?O(f)?p[f]:a[f]:U()||!e.k?f.value:a[e.k];if(r)M($)&&Gs($,i);else if(M($))$.includes(i)||$.push(i);else if(F)a[f]=[i],O(f)&&(p[f]=a[f]);else{const j=[i];U(f,e.k)&&(f.value=j),e.k&&(a[e.k]=j)}}else F?(a[f]=o,O(f)&&(p[f]=o)):Y&&(U(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const $=()=>{B(),is.delete(e)};$.id=-1,is.set(e,$),pe($,s)}else xn(e),B()}}}function xn(e){const t=is.get(e);t&&(t.flags|=8,is.delete(e))}hs().requestIdleCallback;hs().cancelIdleCallback;const Vt=e=>!!e.type.__asyncLoader,ln=e=>e.type.__isKeepAlive;function eo(e,t){Pr(e,"a",t)}function to(e,t){Pr(e,"da",t)}function Pr(e,t,s=ue){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ys(t,n,s),s){let r=s.parent;for(;r&&r.parent;)ln(r.parent.vnode)&&so(n,t,s,r),r=r.parent}}function so(e,t,s,n){const r=ys(t,e,n,!0);Rr(()=>{Gs(n[t],r)},s)}function ys(e,t,s=ue,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ke();const l=qt(s),f=Ae(t,s,e,o);return l(),qe(),f});return n?r.unshift(i):r.push(i),i}}const Je=e=>(t,s=ue)=>{(!Ut||e==="sp")&&ys(e,(...n)=>t(...n),s)},no=Je("bm"),Nr=Je("m"),ro=Je("bu"),io=Je("u"),Mr=Je("bum"),Rr=Je("um"),oo=Je("sp"),lo=Je("rtg"),co=Je("rtc");function fo(e,t=ue){ys("ec",e,t)}const uo=Symbol.for("v-ndc");function Yt(e,t,s,n){let r;const i=s,o=M(e);if(o||Q(e)){const l=o&&lt(e);let f=!1,d=!1;l&&(f=!Te(e),d=tt(e),e=gs(e)),r=new Array(e.length);for(let a=0,p=e.length;a<p;a++)r[a]=t(f?d?yt(Xe(e[a])):Xe(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(X(e))if(e[Symbol.iterator])r=Array.from(e,(l,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];r[f]=t(e[a],a,f,i)}}else r=[];return r}const Ws=e=>e?ei(e)?ws(e):Ws(e.parent):null,Dt=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ws(e.parent),$root:e=>Ws(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{rn(e.update)}),$nextTick:e=>e.n||(e.n=xr.bind(e.proxy)),$watch:e=>Yi.bind(e)}),Ns=(e,t)=>e!==G&&!e.__isScriptSetup&&W(e,t),ao={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(Ns(n,t))return o[t]=1,n[t];if(r!==G&&W(r,t))return o[t]=2,r[t];if(W(i,t))return o[t]=3,i[t];if(s!==G&&W(s,t))return o[t]=4,s[t];Bs&&(o[t]=0)}}const d=Dt[t];let a,p;if(d)return t==="$attrs"&&re(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==G&&W(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,W(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return Ns(r,t)?(r[t]=s,!0):n!==G&&W(n,t)?(n[t]=s,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let f;return!!(s[l]||e!==G&&l[0]!=="$"&&W(e,l)||Ns(t,l)||W(i,l)||W(n,l)||W(Dt,l)||W(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:W(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function wn(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Bs=!0;function ho(e){const t=Vr(e),s=e.proxy,n=e.ctx;Bs=!1,t.beforeCreate&&Sn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:A,beforeUpdate:O,updated:U,activated:F,deactivated:Y,beforeDestroy:B,beforeUnmount:$,destroyed:j,unmounted:P,render:Z,renderTracked:ye,renderTriggered:ge,errorCaptured:ne,serverPrefetch:st,expose:xe,inheritAttrs:$e,components:Ge,directives:ze,filters:E}=t;if(d&&po(d,n,null),o)for(const L in o){const V=o[L];D(V)&&(n[L]=V.bind(s))}if(r){const L=r.call(s,s);X(L)&&(e.data=ms(L))}if(Bs=!0,i)for(const L in i){const V=i[L],de=D(V)?V.bind(s,s):D(V.get)?V.get.bind(s,s):De,he=!D(V)&&D(V.set)?V.set.bind(s):De,we=Ye({get:de,set:he});Object.defineProperty(n,L,{enumerable:!0,configurable:!0,get:()=>we.value,set:Ee=>we.value=Ee})}if(l)for(const L in l)Fr(l[L],n,s,L);if(f){const L=D(f)?f.call(s):f;Reflect.ownKeys(L).forEach(V=>{Ji(V,L[V])})}a&&Sn(a,e,"c");function y(L,V){M(V)?V.forEach(de=>L(de.bind(s))):V&&L(V.bind(s))}if(y(no,p),y(Nr,A),y(ro,O),y(io,U),y(eo,F),y(to,Y),y(fo,ne),y(co,ye),y(lo,ge),y(Mr,$),y(Rr,P),y(oo,st),M(xe))if(xe.length){const L=e.exposed||(e.exposed={});xe.forEach(V=>{Object.defineProperty(L,V,{get:()=>s[V],set:de=>s[V]=de,enumerable:!0})})}else e.exposed||(e.exposed={});Z&&e.render===De&&(e.render=Z),$e!=null&&(e.inheritAttrs=$e),Ge&&(e.components=Ge),ze&&(e.directives=ze),st&&Ir(e)}function po(e,t,s=De){M(e)&&(e=ks(e));for(const n in e){const r=e[n];let i;X(r)?"default"in r?i=es(r.from||n,r.default,!0):i=es(r.from||n):i=es(r),ae(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function Sn(e,t,s){Ae(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Fr(e,t,s,n){let r=n.includes(".")?Er(s,n):()=>s[n];if(Q(e)){const i=t[e];D(i)&&_t(r,i)}else if(D(e))_t(r,e.bind(s));else if(X(e))if(M(e))e.forEach(i=>Fr(i,t,s,n));else{const i=D(e.handler)?e.handler.bind(s):t[e.handler];D(i)&&_t(r,i,e)}}function Vr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>os(f,d,o,!0)),os(f,t,o)),X(t)&&i.set(t,f),f}function os(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&os(e,i,s,!0),r&&r.forEach(o=>os(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=go[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const go={data:Cn,props:Tn,emits:Tn,methods:It,computed:It,beforeCreate:ce,created:ce,beforeMount:ce,mounted:ce,beforeUpdate:ce,updated:ce,beforeDestroy:ce,beforeUnmount:ce,destroyed:ce,unmounted:ce,activated:ce,deactivated:ce,errorCaptured:ce,serverPrefetch:ce,components:It,directives:It,watch:_o,provide:Cn,inject:mo};function Cn(e,t){return t?e?function(){return ie(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function mo(e,t){return It(ks(e),ks(t))}function ks(e){if(M(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ce(e,t){return e?[...new Set([].concat(e,t))]:t}function It(e,t){return e?ie(Object.create(null),e,t):t}function Tn(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:ie(Object.create(null),wn(e),wn(t??{})):t}function _o(e,t){if(!e)return t;if(!t)return e;const s=ie(Object.create(null),e);for(const n in t)s[n]=ce(e[n],t[n]);return s}function Dr(){return{app:null,config:{isNativeTag:Gn,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let bo=0;function yo(e,t){return function(n,r=null){D(n)||(n=ie({},n)),r!=null&&!X(r)&&(r=null);const i=Dr(),o=new WeakSet,l=[];let f=!1;const d=i.app={_uid:bo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Zo,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&D(a.install)?(o.add(a),a.install(d,...p)):D(a)&&(o.add(a),a(d,...p))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,p){return p?(i.components[a]=p,d):i.components[a]},directive(a,p){return p?(i.directives[a]=p,d):i.directives[a]},mount(a,p,A){if(!f){const O=d._ceVNode||ft(n,r);return O.appContext=i,A===!0?A="svg":A===!1&&(A=void 0),e(O,a,A),f=!0,d._container=a,a.__vue_app__=d,ws(O.component)}},onUnmount(a){l.push(a)},unmount(){f&&(Ae(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return i.provides[a]=p,d},runWithContext(a){const p=bt;bt=d;try{return a()}finally{bt=p}}};return d}}let bt=null;const vo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Se(t)}Modifiers`]||e[`${at(t)}Modifiers`];function xo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||G;let r=s;const i=t.startsWith("update:"),o=i&&vo(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>Q(a)?a.trim():a)),o.number&&(r=s.map(ds)));let l,f=n[l=Cs(t)]||n[l=Cs(Se(t))];!f&&i&&(f=n[l=Cs(at(t))]),f&&Ae(f,e,6,r);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(d,e,6,r)}}const wo=new WeakMap;function Lr(e,t,s=!1){const n=s?wo:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!D(e)){const f=d=>{const a=Lr(d,t,!0);a&&(l=!0,ie(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(X(e)&&n.set(e,null),null):(M(i)?i.forEach(f=>o[f]=null):ie(o,i),X(e)&&n.set(e,o),o)}function vs(e,t){return!e||!fs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,at(t))||W(e,t))}function An(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:A,setupState:O,ctx:U,inheritAttrs:F}=e,Y=rs(e);let B,$;try{if(s.shapeFlag&4){const P=r||n,Z=P;B=Fe(d.call(Z,P,a,p,O,A,U)),$=l}else{const P=t;B=Fe(P.length>1?P(p,{attrs:l,slots:o,emit:f}):P(p,null)),$=t.props?l:So(l)}}catch(P){ct.length=0,_s(P,e,1),B=ft(ut)}let j=B;if($&&F!==!1){const P=Object.keys($),{shapeFlag:Z}=j;P.length&&Z&7&&(i&&P.some(us)&&($=Co($,i)),j=vt(j,$,!1,!0))}if(s.dirs&&(j=vt(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(s.dirs):s.dirs),s.transition){const P=bs(j.type)&&Or(j)||j;on(P,s.transition)}return B=j,rs(Y),B}const So=e=>{let t;for(const s in e)(s==="class"||s==="style"||fs(s))&&((t||(t={}))[s]=e[s]);return t},Co=(e,t)=>{const s={};for(const n in e)(!us(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function To(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?En(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const A=a[p];if($r(o,n,A)&&!vs(d,A))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?En(n,o,d):!0:!!o;return!1}function En(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if($r(t,e,i)&&!vs(s,i))return!0}return!1}function $r(e,t,s){const n=e[s],r=t[s];return s==="style"&&X(n)&&X(r)?!St(n,r):n!==r}function Ao({vnode:e,parent:t,suspense:s},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Hr={},jr=()=>Object.create(Hr),Kr=e=>Object.getPrototypeOf(e)===Hr;function Eo(e,t,s,n=!1){const r={},i=jr();e.propsDefaults=Object.create(null),Ur(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Di(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Oo(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=q(r),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let A=a[p];if(vs(e.emitsOptions,A))continue;const O=t[A];if(f)if(W(i,A))O!==i[A]&&(i[A]=O,d=!0);else{const U=Se(A);r[U]=qs(f,l,U,O,e,!1)}else O!==i[A]&&(i[A]=O,d=!0)}}}else{Ur(e,t,r,i)&&(d=!0);let a;for(const p in l)(!t||!W(t,p)&&((a=at(p))===p||!W(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=qs(f,l,p,void 0,e,!0)):delete r[p]);if(i!==l)for(const p in i)(!t||!W(t,p))&&(delete i[p],d=!0)}d&&We(e.attrs,"set","")}function Ur(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(Nt(f))continue;const d=t[f];let a;r&&W(r,a=Se(f))?!i||!i.includes(a)?s[a]=d:(l||(l={}))[a]=d:vs(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(i){const f=q(s),d=l||G;for(let a=0;a<i.length;a++){const p=i[a];s[p]=qs(r,f,p,d[p],e,!W(d,p))}}return o}function qs(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=W(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&D(f)){const{propsDefaults:d}=r;if(s in d)n=d[s];else{const a=qt(r);n=d[s]=f.call(null,t),a()}}else n=f;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===at(s))&&(n=!0))}return n}const Io=new WeakMap;function Wr(e,t,s=!1){const n=s?Io:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!D(e)){const a=p=>{f=!0;const[A,O]=Wr(p,t,!0);ie(o,A),O&&l.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return X(e)&&n.set(e,pt),pt;if(M(i))for(let a=0;a<i.length;a++){const p=Se(i[a]);On(p)&&(o[p]=G)}else if(i)for(const a in i){const p=Se(a);if(On(p)){const A=i[a],O=o[p]=M(A)||D(A)?{type:A}:ie({},A),U=O.type;let F=!1,Y=!0;if(M(U))for(let B=0;B<U.length;++B){const $=U[B],j=D($)&&$.name;if(j==="Boolean"){F=!0;break}else j==="String"&&(Y=!1)}else F=D(U)&&U.name==="Boolean";O[0]=F,O[1]=Y,(F||W(O,"default"))&&l.push(p)}}const d=[o,l];return X(e)&&n.set(e,d),d}function On(e){return e[0]!=="$"&&!Nt(e)}const cn=e=>e==="_"||e==="_ctx"||e==="$stable",fn=e=>M(e)?e.map(Fe):[Fe(e)],Po=(e,t,s)=>{if(t._n)return t;const n=Xi((...r)=>fn(t(...r)),s);return n._c=!1,n},Br=(e,t,s)=>{const n=e._ctx;for(const r in e){if(cn(r))continue;const i=e[r];if(D(i))t[r]=Po(r,i,n);else if(i!=null){const o=fn(i);t[r]=()=>o}}},kr=(e,t)=>{const s=fn(t);e.slots.default=()=>s},qr=(e,t,s)=>{for(const n in t)(s||!cn(n))&&(e[n]=t[n])},No=(e,t,s)=>{const n=e.slots=jr();if(e.vnode.shapeFlag&32){const r=t._;r?(qr(n,t,s),s&&er(n,"_",r,!0)):Br(t,n)}else t&&kr(e,t)},Mo=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=G;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:qr(r,t,s):(i=!t.$stable,Br(t,r)),o=t}else t&&(kr(e,t),o={default:1});if(i)for(const l in r)!cn(l)&&o[l]==null&&delete r[l]},pe=Lo;function Ro(e){return Fo(e)}function Fo(e,t){const s=hs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:A,setScopeId:O=De,insertStaticContent:U}=e,F=(c,u,h,b=null,_=null,g=null,C=void 0,w=null,x=!!u.dynamicChildren)=>{if(c===u)return;c&&!Ot(c,u)&&(b=Xt(c),Ee(c,_,g,!0),c=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:m,ref:N,shapeFlag:T}=u;switch(m){case xs:Y(c,u,h,b);break;case ut:B(c,u,h,b);break;case Rs:c==null&&$(u,h,b,C);break;case _e:Ge(c,u,h,b,_,g,C,w,x);break;default:T&1?Z(c,u,h,b,_,g,C,w,x):T&6?ze(c,u,h,b,_,g,C,w,x):(T&64||T&128)&&m.process(c,u,h,b,_,g,C,w,x,Tt)}N!=null&&_?Ft(N,c&&c.ref,g,u||c,!u):N==null&&c&&c.ref!=null&&Ft(c.ref,null,g,c,!0)},Y=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const _=u.el=c.el;u.children!==c.children&&d(_,u.children)}},B=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},$=(c,u,h,b)=>{[c.el,c.anchor]=U(c.children,u,h,b,c.el,c.anchor)},j=({el:c,anchor:u},h,b)=>{let _;for(;c&&c!==u;)_=A(c),n(c,h,b),c=_;n(u,h,b)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=A(c),r(c),c=h;r(u)},Z=(c,u,h,b,_,g,C,w,x)=>{if(u.type==="svg"?C="svg":u.type==="math"&&(C="mathml"),c==null)ye(u,h,b,_,g,C,w,x);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),st(c,u,_,g,C,w,x)}finally{m&&m._endPatch()}}},ye=(c,u,h,b,_,g,C,w)=>{let x,m;const{props:N,shapeFlag:T,transition:I,dirs:R}=c;if(x=c.el=o(c.type,g,N&&N.is,N),T&8?a(x,c.children):T&16&&ne(c.children,x,null,b,_,Ms(c,g),C,w),R&&nt(c,null,b,"created"),ge(x,c,c.scopeId,C,b),N){for(const J in N)J!=="value"&&!Nt(J)&&i(x,J,null,N[J],g,b);"value"in N&&i(x,"value",null,N.value,g),(m=N.onVnodeBeforeMount)&&Ne(m,b,c)}R&&nt(c,null,b,"beforeMount");const H=Vo(_,I);H&&I.beforeEnter(x),n(x,u,h),((m=N&&N.onVnodeMounted)||H||R)&&pe(()=>{m&&Ne(m,b,c),H&&I.enter(x),R&&nt(c,null,b,"mounted")},_)},ge=(c,u,h,b,_)=>{if(h&&O(c,h),b)for(let g=0;g<b.length;g++)O(c,b[g]);if(_){let g=_.subTree;if(u===g||zr(g.type)&&(g.ssContent===u||g.ssFallback===u)){const C=_.vnode;ge(c,C,C.scopeId,C.slotScopeIds,_.parent)}}},ne=(c,u,h,b,_,g,C,w,x=0)=>{for(let m=x;m<c.length;m++){const N=c[m]=w?Ke(c[m]):Fe(c[m]);F(null,N,u,h,b,_,g,C,w)}},st=(c,u,h,b,_,g,C)=>{const w=u.el=c.el;let{patchFlag:x,dynamicChildren:m,dirs:N}=u;x|=c.patchFlag&16;const T=c.props||G,I=u.props||G;let R;if(h&&rt(h,!1),(R=I.onVnodeBeforeUpdate)&&Ne(R,h,u,c),N&&nt(u,c,h,"beforeUpdate"),h&&rt(h,!0),m&&(!c.dynamicChildren||c.dynamicChildren.length!==m.length)&&(x=0,C=!1,m=null),(T.innerHTML&&I.innerHTML==null||T.textContent&&I.textContent==null)&&a(w,""),m?xe(c.dynamicChildren,m,w,h,b,Ms(u,_),g):C||V(c,u,w,null,h,b,Ms(u,_),g,!1),x>0){if(x&16)$e(w,T,I,h,_);else if(x&2&&T.class!==I.class&&i(w,"class",null,I.class,_),x&4&&i(w,"style",T.style,I.style,_),x&8){const H=u.dynamicProps;for(let J=0;J<H.length;J++){const k=H[J],ee=T[k],te=I[k];(te!==ee||k==="value")&&i(w,k,ee,te,_,h)}}x&1&&c.children!==u.children&&a(w,u.children)}else!C&&m==null&&$e(w,T,I,h,_);((R=I.onVnodeUpdated)||N)&&pe(()=>{R&&Ne(R,h,u,c),N&&nt(u,c,h,"updated")},b)},xe=(c,u,h,b,_,g,C)=>{for(let w=0;w<u.length;w++){const x=c[w],m=u[w],N=x.el&&(x.type===_e||!Ot(x,m)||x.shapeFlag&198)?p(x.el):h;F(x,m,N,null,b,_,g,C,!0)}},$e=(c,u,h,b,_)=>{if(u!==h){if(u!==G)for(const g in u)!Nt(g)&&!(g in h)&&i(c,g,u[g],null,_,b);for(const g in h){if(Nt(g))continue;const C=h[g],w=u[g];C!==w&&g!=="value"&&i(c,g,w,C,_,b)}"value"in h&&i(c,"value",u.value,h.value,_)}},Ge=(c,u,h,b,_,g,C,w,x)=>{const m=u.el=c?c.el:l(""),N=u.anchor=c?c.anchor:l("");let{patchFlag:T,dynamicChildren:I,slotScopeIds:R}=u;R&&(w=w?w.concat(R):R),c==null?(n(m,h,b),n(N,h,b),ne(u.children||[],h,N,_,g,C,w,x)):T>0&&T&64&&I&&c.dynamicChildren&&c.dynamicChildren.length===I.length?(xe(c.dynamicChildren,I,h,_,g,C,w),(u.key!=null||_&&u===_.subTree)&&Xr(c,u,!0)):V(c,u,h,N,_,g,C,w,x)},ze=(c,u,h,b,_,g,C,w,x)=>{u.slotScopeIds=w,c==null?u.shapeFlag&512?_.ctx.activate(u,h,b,C,x):E(u,h,b,_,g,C,x):v(c,u,x)},E=(c,u,h,b,_,g,C)=>{const w=c.component=ko(c,b,_);if(ln(c)&&(w.ctx.renderer=Tt),Xo(w,!1,C),w.asyncDep){if(_&&_.registerDep(w,y,C),!c.el){const x=w.subTree=ft(ut);B(null,x,u,h),c.placeholder=x.el}}else y(w,c,u,h,_,g,C)},v=(c,u,h)=>{const b=u.component=c.component;if(To(c,u,h))if(b.asyncDep&&!b.asyncResolved){L(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},y=(c,u,h,b,_,g,C)=>{const w=()=>{if(c.isMounted){let{next:T,bu:I,u:R,parent:H,vnode:J}=c;{const Ie=Jr(c);if(Ie){T&&(T.el=J.el,L(c,T,C)),Ie.asyncDep.then(()=>{pe(()=>{c.isUnmounted||m()},_)});return}}let k=T,ee;rt(c,!1),T?(T.el=J.el,L(c,T,C)):T=J,I&&Qt(I),(ee=T.props&&T.props.onVnodeBeforeUpdate)&&Ne(ee,H,T,J),rt(c,!0);const te=An(c),Oe=c.subTree;c.subTree=te,F(Oe,te,p(Oe.el),Xt(Oe),c,_,g),T.el=te.el,k===null&&Ao(c,te.el),R&&pe(R,_),(ee=T.props&&T.props.onVnodeUpdated)&&pe(()=>Ne(ee,H,T,J),_)}else{let T;const{el:I,props:R}=u,{bm:H,m:J,parent:k,root:ee,type:te}=c,Oe=Vt(u);rt(c,!1),H&&Qt(H),!Oe&&(T=R&&R.onVnodeBeforeMount)&&Ne(T,k,u),rt(c,!0);{ee.ce&&ee.ce._hasShadowRoot()&&ee.ce._injectChildStyle(te,c.parent?c.parent.type:void 0);const Ie=c.subTree=An(c);F(null,Ie,h,b,c,_,g),u.el=Ie.el}if(J&&pe(J,_),!Oe&&(T=R&&R.onVnodeMounted)){const Ie=u;pe(()=>Ne(T,k,Ie),_)}(u.shapeFlag&256||k&&Vt(k.vnode)&&k.vnode.shapeFlag&256)&&c.a&&pe(c.a,_),c.isMounted=!0,u=h=b=null}};c.scope.on();const x=c.effect=new rr(w);c.scope.off();const m=c.update=x.run.bind(x),N=c.job=x.runIfDirty.bind(x);N.i=c,N.id=c.uid,x.scheduler=()=>rn(N),rt(c,!0),m()},L=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,Oo(c,u.props,b,h),Mo(c,u.children,h),ke(),yn(c),qe()},V=(c,u,h,b,_,g,C,w,x=!1)=>{const m=c&&c.children,N=c?c.shapeFlag:0,T=u.children,{patchFlag:I,shapeFlag:R}=u;if(I>0){if(I&128){he(m,T,h,b,_,g,C,w,x);return}else if(I&256){de(m,T,h,b,_,g,C,w,x);return}}R&8?(N&16&&Ct(m,_,g),T!==m&&a(h,T)):N&16?R&16?he(m,T,h,b,_,g,C,w,x):Ct(m,_,g,!0):(N&8&&a(h,""),R&16&&ne(T,h,b,_,g,C,w,x))},de=(c,u,h,b,_,g,C,w,x)=>{c=c||pt,u=u||pt;const m=c.length,N=u.length,T=Math.min(m,N);let I;for(I=0;I<T;I++){const R=u[I]=x?Ke(u[I]):Fe(u[I]);F(c[I],R,h,null,_,g,C,w,x)}m>N?Ct(c,_,g,!0,!1,T):ne(u,h,b,_,g,C,w,x,T)},he=(c,u,h,b,_,g,C,w,x)=>{let m=0;const N=u.length;let T=c.length-1,I=N-1;for(;m<=T&&m<=I;){const R=c[m],H=u[m]=x?Ke(u[m]):Fe(u[m]);if(Ot(R,H))F(R,H,h,null,_,g,C,w,x);else break;m++}for(;m<=T&&m<=I;){const R=c[T],H=u[I]=x?Ke(u[I]):Fe(u[I]);if(Ot(R,H))F(R,H,h,null,_,g,C,w,x);else break;T--,I--}if(m>T){if(m<=I){const R=I+1,H=R<N?u[R].el:b;for(;m<=I;)F(null,u[m]=x?Ke(u[m]):Fe(u[m]),h,H,_,g,C,w,x),m++}}else if(m>I)for(;m<=T;)Ee(c[m],_,g,!0),m++;else{const R=m,H=m,J=new Map;for(m=H;m<=I;m++){const me=u[m]=x?Ke(u[m]):Fe(u[m]);me.key!=null&&J.set(me.key,m)}let k,ee=0;const te=I-H+1;let Oe=!1,Ie=0;const At=new Array(te);for(m=0;m<te;m++)At[m]=0;for(m=R;m<=T;m++){const me=c[m];if(ee>=te){Ee(me,_,g,!0);continue}let Pe;if(me.key!=null)Pe=J.get(me.key);else for(k=H;k<=I;k++)if(At[k-H]===0&&Ot(me,u[k])){Pe=k;break}Pe===void 0?Ee(me,_,g,!0):(At[Pe-H]=m+1,Pe>=Ie?Ie=Pe:Oe=!0,F(me,u[Pe],h,null,_,g,C,w,x),ee++)}const dn=Oe?Do(At):pt;for(k=dn.length-1,m=te-1;m>=0;m--){const me=H+m,Pe=u[me],hn=u[me+1],pn=me+1<N?hn.el||Gr(hn):b;At[m]===0?F(null,Pe,h,pn,_,g,C,w,x):Oe&&(k<0||m!==dn[k]?we(Pe,h,pn,2):k--)}}},we=(c,u,h,b,_=null)=>{const{el:g,type:C,transition:w,children:x,shapeFlag:m}=c;if(m&6){we(c.component.subTree,u,h,b);return}if(m&128){c.suspense.move(u,h,b);return}if(m&64){C.move(c,u,h,Tt);return}if(C===_e){n(g,u,h);for(let T=0;T<x.length;T++)we(x[T],u,h,b);n(c.anchor,u,h);return}if(C===Rs){j(c,u,h);return}if(b!==2&&m&1&&w)if(b===0)w.persisted&&!g[Ps]?n(g,u,h):(w.beforeEnter(g),n(g,u,h),pe(()=>w.enter(g),_));else{const{leave:T,delayLeave:I,afterLeave:R}=w,H=()=>{c.ctx.isUnmounted?r(g):n(g,u,h)},J=()=>{const k=g._isLeaving||!!g[Ps];g._isLeaving&&g[Ps](!0),w.persisted&&!k?H():T(g,()=>{H(),R&&R()})};I?I(g,H,J):J()}else n(g,u,h)},Ee=(c,u,h,b=!1,_=!1)=>{const{type:g,props:C,ref:w,children:x,dynamicChildren:m,shapeFlag:N,patchFlag:T,dirs:I,cacheIndex:R,memo:H}=c;if(T===-2&&(_=!1),w!=null&&(ke(),Ft(w,null,h,c,!0),qe()),R!=null&&(u.renderCache[R]=void 0),N&256){u.ctx.deactivate(c);return}const J=N&1&&I,k=!Vt(c);let ee;if(k&&(ee=C&&C.onVnodeBeforeUnmount)&&Ne(ee,u,c),N&6)ii(c.component,h,b);else{if(N&128){c.suspense.unmount(h,b);return}J&&nt(c,null,u,"beforeUnmount"),N&64?c.type.remove(c,u,h,Tt,b):m&&!m.hasOnce&&(g!==_e||T>0&&T&64)?Ct(m,u,h,!1,!0):(g===_e&&T&384||!_&&N&16)&&Ct(x,u,h),b&&un(c)}const te=H!=null&&R==null;(k&&(ee=C&&C.onVnodeUnmounted)||J||te)&&pe(()=>{ee&&Ne(ee,u,c),J&&nt(c,null,u,"unmounted"),te&&(c.el=null)},h)},un=c=>{const{type:u,el:h,anchor:b,transition:_}=c;if(u===_e){ri(h,b);return}if(u===Rs){P(c);return}const g=()=>{r(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:C,delayLeave:w}=_,x=()=>C(h,g);w?w(c.el,g,x):x()}else g()},ri=(c,u)=>{let h;for(;c!==u;)h=A(c),r(c),c=h;r(u)},ii=(c,u,h)=>{const{bum:b,scope:_,job:g,subTree:C,um:w,m:x,a:m}=c;In(x),In(m),b&&Qt(b),_.stop(),g&&(g.flags|=8,Ee(C,c,u,h)),w&&pe(w,u),pe(()=>{c.isUnmounted=!0},u)},Ct=(c,u,h,b=!1,_=!1,g=0)=>{for(let C=g;C<c.length;C++)Ee(c[C],u,h,b,_)},Xt=c=>{if(c.shapeFlag&6)return Xt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=A(c.anchor||c.el),h=u&&u[Zi];return h?A(h):u};let Ss=!1;const an=(c,u,h)=>{let b;c==null?u._vnode&&(Ee(u._vnode,null,null,!0),b=u._vnode.component):F(u._vnode||null,c,u,null,null,null,h),u._vnode=c,Ss||(Ss=!0,yn(b),Sr(),Ss=!1)},Tt={p:F,um:Ee,m:we,r:un,mt:E,mc:ne,pc:V,pbc:xe,n:Xt,o:e};return{render:an,hydrate:void 0,createApp:yo(an)}}function Ms({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function rt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xr(e,t,s=!1){const n=e.children,r=t.children;if(M(n)&&M(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Ke(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&Xr(o,l)),l.type===xs&&(l.patchFlag===-1&&(l=r[i]=Ke(l)),l.el=o.el),l.type===ut&&!l.el&&(l.el=o.el)}}function Do(e){const t=e.slice(),s=[0];let n,r,i,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(r=s[s.length-1],e[r]<d){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<d?i=l+1:o=l;d<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Jr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jr(t)}function In(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Gr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Gr(t.subTree):null}const zr=e=>e.__isSuspense;function Lo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):qi(e)}const _e=Symbol.for("v-fgt"),xs=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Rs=Symbol.for("v-stc"),ct=[];let be=null;function oe(e=!1){ct.push(be=e?null:[])}function Yr(){ct.pop(),be=ct[ct.length-1]||null}let jt=1;function Pn(e,t=!1){jt+=e,e<0&&be&&t&&(be.hasOnce=!0)}function $o(e){return e.dynamicChildren=jt>0?be||pt:null,Yr(),jt>0&&be&&be.push(e),e}function le(e,t,s,n,r,i){return $o(S(e,t,s,n,r,i,!0))}function Zr(e){return e?e.__v_isVNode===!0:!1}function Ot(e,t){return e.type===t.type&&e.key===t.key}const Qr=({key:e})=>e??null,ts=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||ae(e)||D(e)?{i:ve,r:e,k:t,f:!!s}:e:null);function S(e,t=null,s=null,n=0,r=null,i=e===_e?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qr(t),ref:t&&ts(t),scopeId:Tr,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ve};return l?(ls(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=Q(s)?8:16),jt>0&&!o&&be&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&be.push(f),f}const ft=Ho;function Ho(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===uo)&&(e=ut),Zr(e)){const l=vt(e,t,!0);return s&&ls(l,s),jt>0&&!i&&be&&(l.shapeFlag&6?be[be.indexOf(e)]=l:be.push(l)),l.patchFlag=-2,l}if(Yo(e)&&(e=e.__vccOpts),t){t=jo(t);let{class:l,style:f}=t;l&&!Q(l)&&(t.class=Qe(l)),X(f)&&(nn(f)&&!M(f)&&(f=ie({},f)),t.style=ps(f))}const o=Q(e)?1:zr(e)?128:bs(e)?64:X(e)?4:D(e)?2:0;return S(e,t,s,n,r,o,i,!0)}function jo(e){return e?nn(e)||Kr(e)?ie({},e):e:null}function vt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,d=t?Uo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Qr(d),ref:t&&t.ref?s&&i?M(i)?i.concat(ts(t)):[i,ts(t)]:ts(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&on(a,f.clone(a)),a}function Ko(e=" ",t=0){return ft(xs,null,e,t)}function Fe(e){return e==null||typeof e=="boolean"?ft(ut):M(e)?ft(_e,null,e.slice()):Zr(e)?Ke(e):ft(xs,null,String(e))}function Ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function ls(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),ls(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Kr(t)?t._ctx=ve:r===3&&ve&&(ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(D(t)){if(n&65){ls(e,{default:t});return}t={default:t,_ctx:ve},s=32}else t=String(t),n&64?(s=16,t=[Ko(t)]):s=8;e.children=t,e.shapeFlag|=s}function Uo(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Qe([t.class,n.class]));else if(r==="style")t.style=ps([t.style,n.style]);else if(fs(r)){const i=t[r],o=n[r];o&&i!==o&&!(M(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!us(r)&&(t[r]=o)}else r!==""&&(t[r]=n[r])}return t}function Ne(e,t,s,n=null){Ae(e,t,7,[s,n])}const Wo=Dr();let Bo=0;function ko(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||Wo,i={uid:Bo++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new _i(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wr(n,r),emitsOptions:Lr(n,r),emit:null,emitted:null,propsDefaults:G,inheritAttrs:n.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=xo.bind(null,i),e.ce&&e.ce(i),i}let ue=null;const qo=()=>ue||ve;let cs,Kt;{const e=hs(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};cs=t("__VUE_INSTANCE_SETTERS__",s=>ue=s),Kt=t("__VUE_SSR_SETTERS__",s=>Ut=s)}const qt=e=>{const t=ue;return cs(e),e.scope.on(),()=>{e.scope.off(),cs(t)}},Nn=()=>{ue&&ue.scope.off(),cs(null)};function ei(e){return e.vnode.shapeFlag&4}let Ut=!1;function Xo(e,t=!1,s=!1){t&&Kt(t);const{props:n,children:r}=e.vnode,i=ei(e);Eo(e,n,i,t),No(e,r,s||t);const o=i?Jo(e,t):void 0;return t&&Kt(!1),o}function Jo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ao);const{setup:n}=s;if(n){ke();const r=e.setupContext=n.length>1?zo(e):null,i=qt(e),o=kt(n,e,0,[e.props,r]),l=zn(o);if(qe(),i(),(l||e.sp)&&!Vt(e)&&Ir(e),l){if(o.then(Nn,Nn),t)return o.then(f=>{Kt(!0);try{Mn(e,f,t)}finally{Kt(!1)}}).catch(f=>{_s(f,e,0)});e.asyncDep=o}else Mn(e,o)}else ti(e)}function Mn(e,t,s){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=yr(t)),ti(e)}function ti(e,t,s){const n=e.type;e.render||(e.render=n.render||De);{const r=qt(e);ke();try{ho(e)}finally{qe(),r()}}}const Go={get(e,t){return re(e,"get",""),e[t]}};function zo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Go),slots:e.slots,emit:e.emit,expose:t}}function ws(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(yr(Li(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Dt)return Dt[s](e)},has(t,s){return s in t||s in Dt}})):e.proxy}function Yo(e){return D(e)&&"__vccOpts"in e}const Ye=(e,t)=>Ki(e,t,Ut),Zo="3.5.41";let Xs;const Rn=typeof window<"u"&&window.trustedTypes;if(Rn)try{Xs=Rn.createPolicy("vue",{createHTML:e=>e})}catch{}const si=Xs?e=>Xs.createHTML(e):e=>e,Qo="http://www.w3.org/2000/svg",el="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,Fn=je&&je.createElement("template"),tl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?je.createElementNS(Qo,e):t==="mathml"?je.createElementNS(el,e):s?je.createElement(e,{is:s}):je.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Fn.innerHTML=si(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Fn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},sl=Symbol("_vtc");function nl(e,t,s){const n=e[sl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Vn=Symbol("_vod"),rl=Symbol("_vsh"),il=Symbol(""),ol=/(?:^|;)\s*display\s*:/;function ll(e,t,s){const n=e.style,r=Q(s);let i=!1;if(s&&!r){if(t)if(Q(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Pt(n,l,"")}else for(const o in t)s[o]==null&&Pt(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?fl(e,o,!Q(t)&&t?t[o]:void 0,l)||Pt(n,o,l):Pt(n,o,"")}}else if(r){if(t!==s){const o=n[il];o&&(s+=";"+o),n.cssText=s,i=ol.test(s)}}else t&&e.removeAttribute("style");Vn in e&&(e[Vn]=i?n.display:"",e[rl]&&(n.display="none"))}const Dn=/\s*!important$/;function Pt(e,t,s){if(M(s))s.forEach(n=>Pt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=cl(e,t);Dn.test(s)?e.setProperty(at(n),s.replace(Dn,""),"important"):e[n]=s}}const Ln=["Webkit","Moz","ms"],Fs={};function cl(e,t){const s=Fs[t];if(s)return s;let n=Se(t);if(n!=="filter"&&n in e)return Fs[t]=n;n=Qn(n);for(let r=0;r<Ln.length;r++){const i=Ln[r]+n;if(i in e)return Fs[t]=i}return t}function fl(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Q(n)&&s===n}const $n="http://www.w3.org/1999/xlink";function Hn(e,t,s,n,r,i=gi(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS($n,t.slice(6,t.length)):e.setAttributeNS($n,t,s):s==null||i&&!tr(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Le(s)?String(s):s)}function jn(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?si(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=tr(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function et(e,t,s,n){e.addEventListener(t,s,n)}function ul(e,t,s,n){e.removeEventListener(t,s,n)}const Kn=Symbol("_vei");function al(e,t,s,n,r=null){const i=e[Kn]||(e[Kn]={}),o=i[t];if(n&&o)o.value=n;else{const[l,f]=pl(t);if(n){const d=i[t]=_l(n,r);et(e,l,d,f)}else o&&(ul(e,l,o,f),i[t]=void 0)}}const dl=/(Once|Passive|Capture)$/,hl=/^on:?(?:Once|Passive|Capture)$/;function pl(e){let t,s;for(;(s=e.match(dl))&&!hl.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):at(e.slice(2)),t]}let Vs=0;const gl=Promise.resolve(),ml=()=>Vs||(gl.then(()=>Vs=0),Vs=Date.now());function _l(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const r=s.value;if(M(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const o=r.slice(),l=[n];for(let f=0;f<o.length&&!n._stopped;f++){const d=o[f];d&&Ae(d,t,5,l)}}else Ae(r,t,5,[n])};return s.value=e,s.attached=ml(),s}const Un=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bl=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?nl(e,n,o):t==="style"?ll(e,s,n):fs(t)?us(t)||al(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):yl(e,t,n,o))?(jn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Hn(e,t,n,o,i,t!=="value")):e._isVueCE&&(vl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Q(n)))?jn(e,Se(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Hn(e,t,n,o))};function yl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Un(t)&&D(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Un(t)&&Q(s)?!1:t in e}function vl(e,t){const s=e._def.props;if(!s)return!1;const n=Se(t);return Array.isArray(s)?s.some(r=>Se(r)===n):Object.keys(s).some(r=>Se(r)===n)}const xt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?s=>Qt(t,s):t};function xl(e){e.target.composing=!0}function Wn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ve=Symbol("_assign"),Zt=Symbol("_initialValue");function Ds(e,t,s){return t&&(e=e.trim()),s&&(e=ds(e)),e}const wl={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e.parentNode&&(e.type==="text"?e[Zt]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Zt]=e.defaultValue.replace(/\r\n?/g,`
2
+ `))),e[Ve]=xt(r);const i=n||r.props&&r.props.type==="number";et(e,t?"change":"input",o=>{o.target.composing||e[Ve](Ds(e.value,s,i))}),(s||i)&&et(e,"change",()=>{e.value=Ds(e.value,s,i)}),t||(et(e,"compositionstart",xl),et(e,"compositionend",Wn),et(e,"change",Wn))},mounted(e,{value:t,modifiers:{trim:s,number:n}}){const r=t??"",i=e[Zt];delete e[Zt],i!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==i?e[Ve](Ds(e.value,s,n)):e.value=r},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},o){if(e[Ve]=xt(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?ds(e.value):e.value,f=t??"";if(l===f)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===f)||(e.value=f)}},Sl={deep:!0,created(e,t,s){e[Ve]=xt(s),et(e,"change",()=>{const n=e._modelValue,r=Wt(e),i=e.checked,o=e[Ve];if(M(n)){const l=Ys(n,r),f=l!==-1;if(i&&!f)o(n.concat(r));else if(!i&&f){const d=[...n];d.splice(l,1),o(d)}}else if(wt(n)){const l=new Set(n);i?l.add(r):l.delete(r),o(l)}else o(ni(e,i))})},mounted:Bn,beforeUpdate(e,t,s){e[Ve]=xt(s),Bn(e,t,s)}};function Bn(e,{value:t,oldValue:s},n){e._modelValue=t;let r;if(M(t))r=Ys(t,n.props.value)>-1;else if(wt(t))r=t.has(n.props.value);else{if(t===s)return;r=St(t,ni(e,!0))}e.checked!==r&&(e.checked=r)}const Cl={deep:!0,created(e,{value:t,modifiers:{number:s}},n){e._modelValue=t,et(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>s?ds(Wt(i)):Wt(i));e[Ve](e.multiple?wt(e._modelValue)?new Set(r):r:r[0]),e._assigning=!0,xr(()=>{e._assigning=!1})}),e[Ve]=xt(n)},mounted(e,{value:t}){kn(e,t)},beforeUpdate(e,{value:t},s){e._modelValue=t,e[Ve]=xt(s)},updated(e,{value:t}){e._assigning||kn(e,t)}};function kn(e,t){const s=e.multiple,n=M(t);if(!(s&&!n&&!wt(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Wt(o);if(s)if(n){const f=typeof l;f==="string"||f==="number"?o.selected=t.some(d=>String(d)===String(l)):o.selected=Ys(t,l)>-1}else o.selected=t.has(l);else if(St(Wt(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wt(e){return"_value"in e?e._value:e.value}function ni(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Tl=ie({patchProp:bl},tl);let qn;function Al(){return qn||(qn=Ro(Tl))}const El=((...e)=>{const t=Al().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Il(n);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,Ol(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function Ol(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Il(e){return Q(e)?document.querySelector(e):e}const Pl={class:"page-shell"},Nl={class:"topbar"},Ml={class:"toolbar"},Rl=["value"],Fl={class:"checkbox"},Vl=["disabled"],Dl={class:"statusbar"},Ll={class:"pill-row"},$l={class:"pill neutral"},Hl={class:"pill success"},jl={class:"pill neutral"},Kl={class:"pill warn"},Ul={class:"metric-grid"},Wl={class:"metric-card"},Bl={class:"metric-card"},kl={class:"metric-card"},ql={class:"metric-card"},Xl={class:"card"},Jl={class:"card-head"},Gl={class:"meta-chip"},zl={class:"section-tools"},Yl={key:0,class:"lights-grid"},Zl={class:"tile-head"},Ql={class:"meta-chip"},ec={class:"tile-meta"},tc={class:"tile-stats"},sc={class:"pill neutral"},nc={key:1,class:"empty-state"},rc={class:"card"},ic={class:"card-head"},oc={class:"meta-chip"},lc={key:0,class:"dimmer-grid"},cc={class:"tile-head"},fc={class:"meta-chip"},uc={class:"pill warn"},ac={class:"tile-meta"},dc={class:"dimmer-track"},hc={class:"tile-stats"},pc={class:"pill neutral"},gc={key:1,class:"empty-state"},mc={class:"card"},_c={class:"card-head"},bc={class:"meta-chip"},yc={key:0,class:"other-list"},vc={class:"other-side"},xc={class:"pill neutral"},wc={class:"pill neutral"},Sc={key:1,class:"empty-state"},Ls="knxUltimateViewer:selectedNodeId",Xn="knxUltimateViewer:autoRefresh",Jn="knxUltimateViewer:search",Cc={__name:"App",setup(e){const t=(()=>{try{return new URLSearchParams(window.location.search).get("nodeId")||""}catch{return""}})(),s=(()=>{try{return new URLSearchParams(window.location.search).get("access_token")||""}catch{return""}})();function n(){try{if(!window.localStorage)return"";const E=[];for(let v=0;v<window.localStorage.length;v+=1){const y=String(window.localStorage.key(v)||"");if(!y.startsWith("auth-tokens"))continue;const L=window.localStorage.getItem(y);if(!L)continue;let V=null;try{V=JSON.parse(L)}catch{V=null}const de=V&&typeof V.access_token=="string"?V.access_token.trim():"";if(!de)continue;const he=Number(V&&(V.expires_at||V.expiry||V.expires)?V.expires_at||V.expiry||V.expires:0);E.push({token:de,expiresAt:Number.isFinite(he)?he:0})}return E.length?(E.sort((v,y)=>y.expiresAt-v.expiresAt),E[0].token||""):""}catch{return""}}const r=(()=>{const E=String(s||"").trim();return E||n()})();function i(E){const v=Object.assign({},E||{});return r&&!v.Authorization&&!v.authorization&&(v.Authorization=`Bearer ${r}`),v}const o=ms({nodes:[],selectedNodeId:t||l(Ls,""),autoRefresh:f(Xn,!0),search:l(Jn,""),status:"Ready",loadingNodes:!1,loadingState:!1,data:null,lastError:"",pollHandle:null});function l(E,v=""){try{return window.localStorage&&window.localStorage.getItem(E)||v}catch{return v}}function f(E,v){try{if(!window.localStorage)return v;const y=window.localStorage.getItem(E);return y==null||y===""?v:y==="true"}catch{return v}}function d(E,v){try{window.localStorage&&window.localStorage.setItem(E,String(v??""))}catch{}}function a(E,v){try{window.localStorage&&window.localStorage.setItem(E,v?"true":"false")}catch{}}function p(E){const v=new URL(E,window.location.href);return s&&v.searchParams.set("access_token",s),v.toString()}function A(E){o.status=String(E||"")}async function O(E,v){const y=Object.assign({credentials:"same-origin"},{});y.headers=i(y.headers);const L=await fetch(E,y),V=String(L.headers.get("content-type")||"").toLowerCase(),de=await L.text();if(L.ok&&V.includes("text/html"))throw new Error("Authentication required or insufficient permissions (session token missing or expired).");let he={};try{he=de?JSON.parse(de):{}}catch{he={error:de||`HTTP ${L.status}`}}if(!L.ok){const we=he&&he.error?he.error:`HTTP ${L.status}`;throw L.status===401||L.status===403?new Error(`Authentication required or insufficient permissions (${L.status}).`):new Error(we)}return he}function U(E){return String(E||"").trim()}function F(E){const v=t&&E.find(V=>V.id===t)?t:"",y=l(Ls,""),L=y&&E.find(V=>V.id===y)?y:"";return v||L||(E[0]?E[0].id:"")}async function Y({preserveSelection:E=!0}={}){o.loadingNodes=!0;try{const v=await O(p("nodes")),y=Array.isArray(v&&v.nodes)?v.nodes:[];o.nodes=y,(!E||!o.selectedNodeId||!y.find(L=>L.id===o.selectedNodeId))&&(o.selectedNodeId=F(y))}finally{o.loadingNodes=!1}}async function B(){if(!o.selectedNodeId){o.data=null,o.lastError="No KNX Viewer node available.",A("No viewer nodes");return}o.loadingState=!0,o.lastError="",A("Refreshing KNX Viewer...");try{const E=await O(p(`state?nodeId=${encodeURIComponent(o.selectedNodeId)}`));o.data=E,A("Live state loaded")}catch(E){o.lastError=E.message||String(E),A("Unable to load state")}finally{o.loadingState=!1}}function $(){o.pollHandle&&(clearInterval(o.pollHandle),o.pollHandle=null)}function j(){$(),o.autoRefresh&&(o.pollHandle=setInterval(()=>{B().catch(()=>{})},3e3))}async function P(){await Y({preserveSelection:!0}),await B()}function Z(E){const v=Number(E||0);if(!Number.isFinite(v)||v<=0)return"n/a";const y=Math.max(0,Date.now()-v);return y<15e3?"just now":y<6e4?`${Math.round(y/1e3)}s ago`:y<36e5?`${Math.round(y/6e4)}m ago`:`${Math.round(y/36e5)}h ago`}function ye(E){if(!E)return"n/a";const v=new Date(E);return Number.isFinite(v.getTime())?v.toLocaleString():"n/a"}const ge=Ye(()=>o.data&&o.data.node?o.data.node:{}),ne=Ye(()=>o.data&&o.data.summary?o.data.summary:{}),st=Ye(()=>Array.isArray(o.data&&o.data.items)?o.data.items:[]),xe=Ye(()=>{const E=U(o.search).toLowerCase();return E?st.value.filter(v=>`${v.address||""} ${v.devicename||""} ${v.dpt||""}`.toLowerCase().includes(E)):st.value}),$e=Ye(()=>xe.value.filter(E=>E.kind==="light")),Ge=Ye(()=>xe.value.filter(E=>E.kind==="dimmer")),ze=Ye(()=>xe.value.filter(E=>E.kind==="other").slice(0,12));return _t(()=>o.selectedNodeId,async(E,v)=>{d(Ls,E||""),!(!E||E===v)&&await B()}),_t(()=>o.autoRefresh,E=>{a(Xn,E),j()}),_t(()=>o.search,E=>{d(Jn,E||"")}),Nr(async()=>{await Y({preserveSelection:!1}),await B(),j()}),Mr(()=>{$()}),(E,v)=>(oe(),le("div",Pl,[S("header",Nl,[S("div",null,[v[3]||(v[3]=S("p",{class:"eyebrow"},"KNX Viewer Web",-1)),S("h1",null,K(ge.value.name||"KNX Viewer"),1),v[4]||(v[4]=S("p",{class:"subhead"}," Live lights and dimmer values collected by the KNX Viewer node. The visual language stays aligned with KNX AI, but focused on field states. ",-1))]),S("div",Ml,[Is(S("select",{"onUpdate:modelValue":v[0]||(v[0]=y=>o.selectedNodeId=y),class:"node-select"},[v[5]||(v[5]=S("option",{value:"",disabled:""},"Select KNX Viewer",-1)),(oe(!0),le(_e,null,Yt(o.nodes,y=>(oe(),le("option",{key:y.id,value:y.id},K(`${y.name||"KNXViewer"}${y.gatewayName?` | ${y.gatewayName}`:""}`),9,Rl))),128))],512),[[Cl,o.selectedNodeId]]),S("label",Fl,[Is(S("input",{"onUpdate:modelValue":v[1]||(v[1]=y=>o.autoRefresh=y),type:"checkbox"},null,512),[[Sl,o.autoRefresh]]),v[6]||(v[6]=S("span",null,"Auto refresh",-1))]),S("button",{class:"secondary-button",type:"button",disabled:o.loadingState||o.loadingNodes,onClick:P}," Refresh ",8,Vl)]),S("div",Dl,[S("span",{class:Qe(["status-pill",o.lastError?"status-error":"status-ok"])},K(o.lastError||o.status),3),S("div",Ll,[S("span",$l,"Gateway "+K(ge.value.gatewayName||"n/a"),1),S("span",Hl,"Lights on "+K(ne.value.lightOnCount||0),1),S("span",jl,"Lights off "+K(ne.value.lightOffCount||0),1),S("span",Kl,"Avg dimmer "+K(ne.value.averageDimmerLevel||0)+"%",1)])])]),S("section",Ul,[S("article",Wl,[v[7]||(v[7]=S("span",{class:"metric-label"},"Detected lights",-1)),S("strong",null,K(ne.value.lightCount||0),1),v[8]||(v[8]=S("p",null,"Boolean-style KNX values currently visible to this Viewer node.",-1))]),S("article",Bl,[v[9]||(v[9]=S("span",{class:"metric-label"},"Detected dimmers",-1)),S("strong",null,K(ne.value.dimmerCount||0),1),v[10]||(v[10]=S("p",null,"5.001-like level values rendered as dimmer cards.",-1))]),S("article",kl,[v[11]||(v[11]=S("span",{class:"metric-label"},"Known group addresses",-1)),S("strong",null,K(ne.value.totalItems||0),1),v[12]||(v[12]=S("p",null,"Total KNX group addresses seen by the Viewer in this runtime session.",-1))]),S("article",ql,[v[13]||(v[13]=S("span",{class:"metric-label"},"Last KNX update",-1)),S("strong",null,K(ye(ne.value.lastUpdate)),1),v[14]||(v[14]=S("p",null,"Most recent telegram reflected in this web page.",-1))])]),S("section",Xl,[S("div",Jl,[v[15]||(v[15]=S("h2",null,"Lights",-1)),S("span",Gl,K($e.value.length)+" visible",1)]),S("div",zl,[Is(S("input",{"onUpdate:modelValue":v[2]||(v[2]=y=>o.search=y),class:"search-input",type:"text",placeholder:"Search GA, label or DPT"},null,512),[[wl,o.search]]),v[16]||(v[16]=S("p",{class:"section-note"},"Rendering is based on the live values currently exposed by KNX Viewer.",-1))]),$e.value.length?(oe(),le("div",Yl,[(oe(!0),le(_e,null,Yt($e.value,y=>(oe(),le("article",{key:y.address,class:Qe(["tile-card light-card",{"is-on":y.isOn,"is-off":!y.isOn}])},[S("div",Zl,[v[17]||(v[17]=S("div",{class:"light-badge"},[S("span",{class:"light-badge-core"})],-1)),S("span",Ql,K(y.address),1)]),S("h3",null,K(y.devicename||y.address),1),S("p",ec,K(y.dpt||"no dpt"),1),S("div",tc,[S("span",{class:Qe(["pill",y.isOn?"success":"neutral"])},K(y.isOn?"ON":"OFF"),3),S("span",sc,"Updated "+K(Z(y.lastUpdateMs)),1)])],2))),128))])):(oe(),le("p",nc,"No boolean light-style values detected yet."))]),S("section",rc,[S("div",ic,[v[18]||(v[18]=S("h2",null,"Dimmers",-1)),S("span",oc,K(Ge.value.length)+" visible",1)]),Ge.value.length?(oe(),le("div",lc,[(oe(!0),le(_e,null,Yt(Ge.value,y=>(oe(),le("article",{key:y.address,class:Qe(["tile-card dimmer-card",{"is-active":Number(y.level||0)>0}])},[S("div",cc,[S("span",fc,K(y.address),1),S("span",uc,K(y.level||0)+"%",1)]),S("h3",null,K(y.devicename||y.address),1),S("p",ac,K(y.dpt||"no dpt"),1),S("div",dc,[S("span",{class:"dimmer-fill",style:ps({width:`${y.level||0}%`})},null,4)]),S("div",hc,[S("span",pc,"Updated "+K(Z(y.lastUpdateMs)),1),S("span",{class:Qe(["pill",Number(y.level||0)>0?"success":"neutral"])},K(Number(y.level||0)>0?"ACTIVE":"IDLE"),3)])],2))),128))])):(oe(),le("p",gc,"No dimmer values detected yet."))]),S("section",mc,[S("div",_c,[v[19]||(v[19]=S("h2",null,"Recent KNX Values",-1)),S("span",bc,K(ze.value.length)+" preview",1)]),ze.value.length?(oe(),le("div",yc,[(oe(!0),le(_e,null,Yt(ze.value,y=>(oe(),le("article",{key:y.address,class:"other-row"},[S("div",null,[S("strong",null,K(y.devicename||y.address),1),S("p",null,K(y.address)+K(y.dpt?` | ${y.dpt}`:""),1)]),S("div",vc,[S("span",xc,K(y.payloadText||"-"),1),S("span",wc,K(Z(y.lastUpdateMs)),1)])]))),128))])):(oe(),le("p",Sc,"No additional KNX values available for preview."))])]))}};El(Cc).mount("#app");