(()=>{var e,t,n=(e=(e,t)=>{b(),t.exports=g},()=>(t||e(t={exports:{}},t),t.exports)),o=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],r=/^(?:[A-Za-z][^\0\t\n\f\r\u0020/>]*|[:_\u0080-\u{10FFFF}][A-Za-z0-9-.:_\u0080-\u{10FFFF}]*)$/u,i=/[a-z]/,s=/[A-Z]/;function a(e){return!o.includes(e)&&r.test(e)&&i.test(e[0])&&!s.test(e)&&e.includes("-")}var c=["_internals","internals","internals_"],l=["internals","privateInternals"];function f(e){if(!a(e.nodeName.toLowerCase()))return;const t=globalThis._elementInternals?.get(e);if(t)return t;if(!("ElementInternals"in window))return;for(const t of c)if(!Object.getOwnPropertyDescriptor(e,t)?.get&&e[t]instanceof window.ElementInternals)return e[t];const n=Object.getOwnPropertySymbols(e);if(n.length)for(const t of l){const o=n.find(e=>e.description===t);if(o){if(Object.getOwnPropertyDescriptor(e,o)?.get)continue;if(e[o]instanceof window.ElementInternals)return e[o]}}}var d=function(e){const t=String(e),n=t.length;let o,r=-1,i="";const s=t.charCodeAt(0);for(;++r<n;)o=t.charCodeAt(r),i+=0!=o?o>=1&&o<=31||127==o||0==r&&o>=48&&o<=57||1==r&&o>=48&&o<=57&&45==s?"\\"+o.toString(16)+" ":0==r&&1==n&&45==o||!(o>=128||45==o||95==o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122)?"\\"+t.charAt(r):t.charAt(r):"�";return i};function u(e){const t=d(e.nodeName.toLowerCase()),n=e.parentElement,o=e.parentNode;let r="";return"head"!==t&&"body"!==t&&o?.children.length>1&&(r=`:nth-child(${Array.prototype.indexOf.call(o.children,e)+1})`),n?u(n)+" > "+t+r:t+r}function h(e,t){return function(e,t,n={}){if(!t)return"";let o=t.getRootNode&&t.getRootNode()||document;if(11!==o.nodeType)return e(t,n,o);const r=[];for(;11===o.nodeType;){if(!o.host)return"";r.unshift({elm:t,doc:o}),o=(t=o.host).getRootNode()}return r.unshift({elm:t,doc:o}),r.map(t=>e(t.elm,n,t.doc))}(u,e,t)}var m=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],p=function(e){if(e.shadowRoot){const t=e.nodeName.toLowerCase();if(m.includes(t)||a(t))return!0}return!1},g=[],y=/^aria[A-Z]/,w=["role","labels","form"];function b(e=document.body){const t=document.createTreeWalker(e,globalThis.NodeFilter.SHOW_ELEMENT,null,!1);let n=t.currentNode;for(;n;){const e=f(n);if(e){const t=h(n),o={};for(const t in e)if(y.test(t)||w.includes(t))try{const n=e[t];if(null===n)continue;if(n instanceof globalThis.HTMLElement)o[t]=n.isConnected?{type:"HTMLElement",value:h(n)}:void 0;else if(Array.isArray(n)||n instanceof globalThis.NodeList){const e=Array.from(n).filter(e=>e.isConnected);o[t]=e.length?{type:"NodeList",value:e.map(e=>h(e))}:void 0}else"string"==typeof n&&(o[t]=n)}catch{}g.push({ancestry:t,internals:o})}p(n)&&b(n.shadowRoot),n=t.nextNode()}}n()})();