(()=>{var m=function(e,t,r){return e>=t&&e<=r};function v(e){return m(e,48,57)}function me(e){return v(e)||m(e,65,70)||m(e,97,102)}function ft(e){return m(e,65,90)}function pt(e){return m(e,97,122)}function bt(e){return ft(e)||pt(e)}function mt(e){return e>=128}function Z(e){return bt(e)||mt(e)||e===95}function he(e){return Z(e)||v(e)||e===45}function ht(e){return m(e,0,8)||e===11||m(e,14,31)||e===127}function q(e){return e===10}function S(e){return q(e)||e===9||e===32}var gt=1114111;class te extends Error{constructor(e){super(e);this.name="InvalidCharacterError"}}function xt(e){let t=[];for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===13&&e.charCodeAt(r+1)===10)i=10,r++;if(i===13||i===12)i=10;if(i===0)i=65533;if(m(i,55296,56319)&&m(e.charCodeAt(r+1),56320,57343)){let n=i-55296,a=e.charCodeAt(r+1)-56320;i=Math.pow(2,16)+n*Math.pow(2,10)+a,r++}t.push(i)}return t}function h(e){if(e<=65535)return String.fromCharCode(e);e-=Math.pow(2,16);let t=Math.floor(e/Math.pow(2,10))+55296,r=e%Math.pow(2,10)+56320;return String.fromCharCode(t)+String.fromCharCode(r)}function ge(e){let t=xt(e),r=-1,i=[],n,a=0,d=0,x=0,l=function(){a+=1,x=d,d=0},u={line:a,column:d},b=function(o){if(o>=t.length)return-1;return t[o]},s=function(o){if(o===void 0)o=1;if(o>3)throw"Spec Error: no more than three codepoints of lookahead.";return b(r+o)},c=function(o){if(o===void 0)o=1;if(r+=o,n=b(r),q(n))l();else d+=o;return!0},T=function(){if(r-=1,q(n))a-=1,d=x;else d-=1;return u.line=a,u.column=d,!0},y=function(o){if(o===void 0)o=n;return o===-1},F=function(){},I=function(){},z=function(){if(Q(),c(),S(n)){while(S(s()))c();return new ne}else if(n===34)return G();else if(n===35)if(he(s())||k(s(1),s(2))){let o=new Ue("");if(H(s(1),s(2),s(3)))o.type="id";return o.value=V(),o}else return new E(n);else if(n===36)if(s()===61)return c(),new Ce;else return new E(n);else if(n===39)return G();else if(n===40)return new Le;else if(n===41)return new re;else if(n===42)if(s()===61)return c(),new De;else return new E(n);else if(n===43)if(J())return T(),C();else return new E(n);else if(n===44)return new we;else if(n===45)if(J())return T(),C();else if(s(1)===45&&s(2)===62)return c(2),new Ae;else if(ae())return T(),P();else return new E(n);else if(n===46)if(J())return T(),C();else return new E(n);else if(n===58)return new ve;else if(n===59)return new Te;else if(n===60)if(s(1)===33&&s(2)===45&&s(3)===45)return c(3),new Ee;else return new E(n);else if(n===64)if(H(s(1),s(2),s(3)))return new Be(V());else return new E(n);else if(n===91)return new Se;else if(n===92)if(R())return T(),P();else return I(),new E(n);else if(n===93)return new Ne;else if(n===94)if(s()===61)return c(),new Me;else return new E(n);else if(n===123)return new ye;else if(n===124)if(s()===61)return c(),new Re;else if(s()===124)return c(),new ke;else return new E(n);else if(n===125)return new Ie;else if(n===126)if(s()===61)return c(),new Oe;else return new E(n);else if(v(n))return T(),C();else if(Z(n))return T(),P();else if(y())return new He;else return new E(n)},Q=function(){while(s(1)===47&&s(2)===42){c(2);while(!0)if(c(),n===42&&s()===47){c();break}else if(y()){I();return}}},C=function(){let o=A();if(H(s(1),s(2),s(3))){let f=new Ve;return f.value=o.value,f.repr=o.repr,f.type=o.type,f.unit=V(),f}else if(s()===37){c();let f=new Ge;return f.value=o.value,f.repr=o.repr,f}else{let f=new Pe;return f.value=o.value,f.repr=o.repr,f.type=o.type,f}},P=function(){let o=V();if(o.toLowerCase()==="url"&&s()===40){c();while(S(s(1))&&S(s(2)))c();if(s()===34||s()===39)return new j(o);else if(S(s())&&(s(2)===34||s(2)===39))return new j(o);else return $()}else if(s()===40)return c(),new j(o);else return new ie(o)},G=function(o){if(o===void 0)o=n;let f="";while(c())if(n===o||y())return new oe(f);else if(q(n))return I(),T(),new xe;else if(n===92)if(y(s()))F();else if(q(s()))c();else f+=h(D());else f+=h(n);throw Error("Internal error")},$=function(){let o=new Fe("");while(S(s()))c();if(y(s()))return o;while(c())if(n===41||y())return o;else if(S(n)){while(S(s()))c();if(s()===41||y(s()))return c(),o;else return ue(),new ee}else if(n===34||n===39||n===40||ht(n))return I(),ue(),new ee;else if(n===92)if(R())o.value+=h(D());else return I(),ue(),new ee;else o.value+=h(n);throw Error("Internal error")},D=function(){if(c(),me(n)){let o=[n];for(let w=0;w<5;w++)if(me(s()))c(),o.push(n);else break;if(S(s()))c();let f=parseInt(o.map(function(w){return String.fromCharCode(w)}).join(""),16);if(f>gt)f=65533;return f}else if(y())return 65533;else return n},k=function(o,f){if(o!==92)return!1;if(q(f))return!1;return!0},R=function(){return k(n,s())},H=function(o,f,w){if(o===45)return Z(f)||f===45||k(f,w);else if(Z(o))return!0;else if(o===92)return k(o,f);else return!1},ae=function(){return H(n,s(1),s(2))},le=function(o,f,w){if(o===43||o===45){if(v(f))return!0;if(f===46&&v(w))return!0;return!1}else if(o===46){if(v(f))return!0;return!1}else if(v(o))return!0;else return!1},J=function(){return le(n,s(1),s(2))},V=function(){let o="";while(c())if(he(n))o+=h(n);else if(R())o+=h(D());else return T(),o;throw Error("Internal parse error")},A=function(){let o="",f="integer";if(s()===43||s()===45)c(),o+=h(n);while(v(s()))c(),o+=h(n);if(s(1)===46&&v(s(2))){c(),o+=h(n),c(),o+=h(n),f="number";while(v(s()))c(),o+=h(n)}let w=s(1),de=s(2),dt=s(3);if((w===69||w===101)&&v(de)){c(),o+=h(n),c(),o+=h(n),f="number";while(v(s()))c(),o+=h(n)}else if((w===69||w===101)&&(de===43||de===45)&&v(dt)){c(),o+=h(n),c(),o+=h(n),c(),o+=h(n),f="number";while(v(s()))c(),o+=h(n)}let ct=pe(o);return{type:f,value:ct,repr:o}},pe=function(o){return+o},ue=function(){while(c())if(n===41||y())return;else if(R())D(),F();else F()},be=0;while(!y(s()))if(i.push(z()),be++,be>t.length*2)throw Error("I'm infinite-looping!");return i}class p{tokenType="";value;toJSON(){return{token:this.tokenType}}toString(){return this.tokenType}toSource(){return""+this}}class xe extends p{tokenType="BADSTRING"}class ee extends p{tokenType="BADURL"}class ne extends p{tokenType="WHITESPACE";toString(){return"WS"}toSource(){return" "}}class Ee extends p{tokenType="CDO";toSource(){return"<!--"}}class Ae extends p{tokenType="CDC";toSource(){return"-->"}}class ve extends p{tokenType=":"}class Te extends p{tokenType=";"}class we extends p{tokenType=","}class B extends p{value="";mirror=""}class ye extends B{tokenType="{";constructor(){super();this.value="{",this.mirror="}"}}class Ie extends B{tokenType="}";constructor(){super();this.value="}",this.mirror="{"}}class Se extends B{tokenType="[";constructor(){super();this.value="[",this.mirror="]"}}class Ne extends B{tokenType="]";constructor(){super();this.value="]",this.mirror="["}}class Le extends B{tokenType="(";constructor(){super();this.value="(",this.mirror=")"}}class re extends B{tokenType=")";constructor(){super();this.value=")",this.mirror="("}}class Oe extends p{tokenType="~="}class Re extends p{tokenType="|="}class Me extends p{tokenType="^="}class Ce extends p{tokenType="$="}class De extends p{tokenType="*="}class ke extends p{tokenType="||"}class He extends p{tokenType="EOF";toSource(){return""}}class E extends p{tokenType="DELIM";value="";constructor(e){super();this.value=h(e)}toString(){return"DELIM("+this.value+")"}toJSON(){let e=this.constructor.prototype.constructor.prototype.toJSON.call(this);return e.value=this.value,e}toSource(){if(this.value==="\\")return"\\\n";else return this.value}}class U extends p{value="";ASCIIMatch(e){return this.value.toLowerCase()===e.toLowerCase()}toJSON(){let e=this.constructor.prototype.constructor.prototype.toJSON.call(this);return e.value=this.value,e}}class ie extends U{constructor(e){super();this.value=e}tokenType="IDENT";toString(){return"IDENT("+this.value+")"}toSource(){return Y(this.value)}}class j extends U{tokenType="FUNCTION";mirror;constructor(e){super();this.value=e,this.mirror=")"}toString(){return"FUNCTION("+this.value+")"}toSource(){return Y(this.value)+"("}}class Be extends U{tokenType="AT-KEYWORD";constructor(e){super();this.value=e}toString(){return"AT("+this.value+")"}toSource(){return"@"+Y(this.value)}}class Ue extends U{tokenType="HASH";type;constructor(e){super();this.value=e,this.type="unrestricted"}toString(){return"HASH("+this.value+")"}toJSON(){let e=this.constructor.prototype.constructor.prototype.toJSON.call(this);return e.value=this.value,e.type=this.type,e}toSource(){if(this.type==="id")return"#"+Y(this.value);else return"#"+Et(this.value)}}class oe extends U{tokenType="STRING";constructor(e){super();this.value=e}toString(){return'"'+qe(this.value)+'"'}}class Fe extends U{tokenType="URL";constructor(e){super();this.value=e}toString(){return"URL("+this.value+")"}toSource(){return'url("'+qe(this.value)+'")'}}class Pe extends p{tokenType="NUMBER";type;repr;constructor(){super();this.type="integer",this.repr=""}toString(){if(this.type==="integer")return"INT("+this.value+")";return"NUMBER("+this.value+")"}toJSON(){let e=super.toJSON();return e.value=this.value,e.type=this.type,e.repr=this.repr,e}toSource(){return this.repr}}class Ge extends p{tokenType="PERCENTAGE";repr;constructor(){super();this.repr=""}toString(){return"PERCENTAGE("+this.value+")"}toJSON(){let e=this.constructor.prototype.constructor.prototype.toJSON.call(this);return e.value=this.value,e.repr=this.repr,e}toSource(){return this.repr+"%"}}class Ve extends p{tokenType="DIMENSION";type;repr;unit;constructor(){super();this.type="integer",this.repr="",this.unit=""}toString(){return"DIM("+this.value+","+this.unit+")"}toJSON(){let e=this.constructor.prototype.constructor.prototype.toJSON.call(this);return e.value=this.value,e.type=this.type,e.repr=this.repr,e.unit=this.unit,e}toSource(){let e=this.repr,t=Y(this.unit);if(t[0].toLowerCase()==="e"&&(t[1]==="-"||m(t.charCodeAt(1),48,57)))t="\\65 "+t.slice(1,t.length);return e+t}}function Y(e){e=""+e;let t="",r=e.charCodeAt(0);for(let i=0;i<e.length;i++){let n=e.charCodeAt(i);if(n===0)throw new te("Invalid character: the input contains U+0000.");if(m(n,1,31)||n===127||i===0&&m(n,48,57)||i===1&&m(n,48,57)&&r===45)t+="\\"+n.toString(16)+" ";else if(n>=128||n===45||n===95||m(n,48,57)||m(n,65,90)||m(n,97,122))t+=e[i];else t+="\\"+e[i]}return t}function Et(e){e=""+e;let t="";for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===0)throw new te("Invalid character: the input contains U+0000.");if(i>=128||i===45||i===95||m(i,48,57)||m(i,65,90)||m(i,97,122))t+=e[r];else t+="\\"+i.toString(16)+" "}return t}function qe(e){e=""+e;let t="";for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(i===0)throw new te("Invalid character: the input contains U+0000.");if(m(i,1,31)||i===127)t+="\\"+i.toString(16)+" ";else if(i===34||i===92)t+="\\"+e[r];else t+=e[r]}return t}var vt={};function X(e){if(e.parentElement)return e.parentElement;if(!e.parentNode)return;if(e.parentNode.nodeType===11&&e.parentNode.host)return e.parentNode.host}function je(e){let t=e;while(t.parentNode)t=t.parentNode;if(t.nodeType===11||t.nodeType===9)return t}function Tt(e){while(e.parentElement)e=e.parentElement;return X(e)}function _(e,t,r){while(e){let i=e.closest(t);if(r&&i!==r&&i?.contains(r))return;if(i)return i;e=Tt(e)}}function W(e,t){let r=t==="::before"?yt:t==="::after"?It:wt;if(r&&r.has(e))return r.get(e);let i=e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,t):void 0;return r?.set(e,i),i}function We(e,t){if(t=t??W(e),!t)return!0;if(Element.prototype.checkVisibility&&vt.browserNameForWorkarounds!=="webkit"){if(!e.checkVisibility())return!1}else{let r=e.closest("details,summary");if(r!==e&&r?.nodeName==="DETAILS"&&!r.open)return!1}if(t.visibility!=="visible")return!1;return!0}function Je(e){let t=e.ownerDocument.createRange();t.selectNode(e);let r=t.getBoundingClientRect();return r.width>0&&r.height>0}function g(e){let t=e.tagName;if(typeof t==="string")return t.toUpperCase();if(e instanceof HTMLFormElement)return"FORM";return e.tagName.toUpperCase()}var wt,yt,It;function Ye(e){return e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")}var Xe="article:not([role]), aside:not([role]), main:not([role]), nav:not([role]), section:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]",St=[["aria-atomic",void 0],["aria-busy",void 0],["aria-controls",void 0],["aria-current",void 0],["aria-describedby",void 0],["aria-details",void 0],["aria-dropeffect",void 0],["aria-flowto",void 0],["aria-grabbed",void 0],["aria-hidden",void 0],["aria-keyshortcuts",void 0],["aria-label",["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"]],["aria-labelledby",["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"]],["aria-live",void 0],["aria-owns",void 0],["aria-relevant",void 0],["aria-roledescription",["generic"]]];function Ze(e,t){return St.some(([r,i])=>{return!i?.includes(t||"")&&e.hasAttribute(r)})}function et(e){return!Number.isNaN(Number(String(e.getAttribute("tabindex"))))}function Nt(e){return!lt(e)&&(Lt(e)||et(e))}function Lt(e){let t=g(e);if(["BUTTON","DETAILS","SELECT","TEXTAREA"].includes(t))return!0;if(t==="A"||t==="AREA")return e.hasAttribute("href");if(t==="INPUT")return!e.hidden;return!1}var Ot={A:(e)=>{return e.hasAttribute("href")?"link":null},AREA:(e)=>{return e.hasAttribute("href")?"link":null},ARTICLE:()=>"article",ASIDE:()=>"complementary",BLOCKQUOTE:()=>"blockquote",BUTTON:()=>"button",CAPTION:()=>"caption",CODE:()=>"code",DATALIST:()=>"listbox",DD:()=>"definition",DEL:()=>"deletion",DETAILS:()=>"group",DFN:()=>"term",DIALOG:()=>"dialog",DT:()=>"term",EM:()=>"emphasis",FIELDSET:()=>"group",FIGURE:()=>"figure",FOOTER:(e)=>_(e,Xe)?null:"contentinfo",FORM:(e)=>Ye(e)?"form":null,H1:()=>"heading",H2:()=>"heading",H3:()=>"heading",H4:()=>"heading",H5:()=>"heading",H6:()=>"heading",HEADER:(e)=>_(e,Xe)?null:"banner",HR:()=>"separator",HTML:()=>"document",IMG:(e)=>e.getAttribute("alt")===""&&!e.getAttribute("title")&&!Ze(e)&&!et(e)?"presentation":"img",INPUT:(e)=>{let t=e.type.toLowerCase();if(t==="search")return e.hasAttribute("list")?"combobox":"searchbox";if(["email","tel","text","url",""].includes(t)){let r=se(e,e.getAttribute("list"))[0];return r&&g(r)==="DATALIST"?"combobox":"textbox"}if(t==="hidden")return null;if(t==="file")return"button";return Kt[t]||"textbox"},INS:()=>"insertion",LI:()=>"listitem",MAIN:()=>"main",MARK:()=>"mark",MATH:()=>"math",MENU:()=>"list",METER:()=>"meter",NAV:()=>"navigation",OL:()=>"list",OPTGROUP:()=>"group",OPTION:()=>"option",OUTPUT:()=>"status",P:()=>"paragraph",PROGRESS:()=>"progressbar",SEARCH:()=>"search",SECTION:(e)=>Ye(e)?"region":null,SELECT:(e)=>e.hasAttribute("multiple")||e.size>1?"listbox":"combobox",STRONG:()=>"strong",SUB:()=>"subscript",SUP:()=>"superscript",SVG:()=>"img",TABLE:()=>"table",TBODY:()=>"rowgroup",TD:(e)=>{let t=_(e,"table"),r=t?fe(t):"";return r==="grid"||r==="treegrid"?"gridcell":"cell"},TEXTAREA:()=>"textbox",TFOOT:()=>"rowgroup",TH:(e)=>{let t=e.getAttribute("scope");if(t==="col"||t==="colgroup")return"columnheader";if(t==="row"||t==="rowgroup")return"rowheader";let{nextElementSibling:r,previousElementSibling:i}=e,n=!!e.parentElement&&g(e.parentElement)==="TR"?e.parentElement:void 0;if(!r&&!i){if(n){let a=_(n,"table");if(a&&a.rows.length<=1)return null}return"columnheader"}if(_e(r)&&_e(i))return"columnheader";if(Ke(r)||Ke(i))return"rowheader";return"columnheader"},THEAD:()=>"rowgroup",TIME:()=>"time",TR:()=>"row",UL:()=>"list"};function _e(e){return!!e&&g(e)==="TH"}function Ke(e){if(!e||g(e)!=="TD")return!1;return!!(e.textContent?.trim()||e.children.length>0)}var Rt={DD:["DL","DIV"],DIV:["DL"],DT:["DL","DIV"],LI:["OL","UL"],TBODY:["TABLE"],TD:["TR"],TFOOT:["TABLE"],TH:["TR"],THEAD:["TABLE"],TR:["THEAD","TBODY","TFOOT","TABLE"]};function ze(e){let t=Ot[g(e)]?.(e)||"";if(!t)return null;let r=e;while(r){let i=X(r),n=Rt[g(r)];if(!n||!i||!n.includes(g(i)))break;let a=fe(i);if((a==="none"||a==="presentation")&&!tt(i,a))return a;r=i}return t}var Mt=["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","complementary","contentinfo","definition","deletion","dialog","directory","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","insertion","link","list","listbox","listitem","log","main","mark","marquee","math","meter","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","search","searchbox","separator","slider","spinbutton","status","strong","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem"];function fe(e){return(e.getAttribute("role")||"").split(" ").map((r)=>r.trim()).find((r)=>Mt.includes(r))||null}function tt(e,t){return Ze(e,t)||Nt(e)}function O(e){let t=fe(e);if(!t)return ze(e);if(t==="none"||t==="presentation"){let r=ze(e);if(tt(e,r))return r}return t}function Ct(e){return e===null?void 0:e.toLowerCase()==="true"}function nt(e){return["STYLE","SCRIPT","NOSCRIPT","TEMPLATE"].includes(g(e))}function M(e){if(nt(e))return!0;let t=W(e),r=e.nodeName==="SLOT";if(t?.display==="contents"&&!r){for(let n=e.firstChild;n;n=n.nextSibling){if(n.nodeType===1&&!M(n))return!1;if(n.nodeType===3&&Je(n))return!1}return!0}if(!(e.nodeName==="OPTION"&&!!e.closest("select"))&&!r&&!We(e,t))return!0;return rt(e)}function rt(e){let t=$e?.get(e);if(t===void 0){if(t=!1,e.parentElement&&e.parentElement.shadowRoot&&!e.assignedSlot)t=!0;if(!t){let r=W(e);t=!r||r.display==="none"||Ct(e.getAttribute("aria-hidden"))===!0}if(!t){let r=X(e);if(r)t=rt(r)}$e?.set(e,t)}return t}function se(e,t){if(!t)return[];let r=je(e);if(!r)return[];try{let i=t.split(" ").filter((a)=>!!a),n=[];for(let a of i){let d=r.querySelector("#"+CSS.escape(a));if(d&&!n.includes(d))n.push(d)}return n}catch(i){return[]}}function N(e){return e.trim()}function Dt(e){return e.split(" ").map((t)=>t.replace(/\r\n/g,`
`).replace(/[\u200b\u00ad]/g,"").replace(/\s\s*/g," ")).join(" ").trim()}function Qe(e,t){let r=[...e.querySelectorAll(t)];for(let i of se(e,e.getAttribute("aria-owns"))){if(i.matches(t))r.push(i);r.push(...i.querySelectorAll(t))}return r}function ce(e,t){let r=t==="::before"?Xt:t==="::after"?_t:Yt;if(r?.has(e))return r?.get(e);let i=W(e,t),n;if(i){let a=i.content;if(a&&a!=="none"&&a!=="normal"){if(i.display!=="none"&&i.visibility!=="hidden")n=kt(e,a,!!t)}}if(t&&n!==void 0){if((i?.display||"inline")!=="inline")n=" "+n+" "}if(r)r.set(e,n);return n}function kt(e,t,r){if(!t||t==="none"||t==="normal")return;try{let i=ge(t).filter((x)=>!(x instanceof ne)),n=i.findIndex((x)=>x instanceof E&&x.value==="/");if(n!==-1)i=i.slice(n+1);else if(!r)return;let a=[],d=0;while(d<i.length)if(i[d]instanceof oe)a.push(i[d].value),d++;else if(d+2<i.length&&i[d]instanceof j&&i[d].value==="attr"&&i[d+1]instanceof ie&&i[d+2]instanceof re){let x=i[d+1].value;a.push(e.getAttribute(x)||""),d+=3}else return;return a.join("")}catch{}}function Ht(e){let t=e.getAttribute("aria-labelledby");if(t===null)return null;let r=se(e,t);return r.length?r:null}function Bt(e,t){let r=["button","cell","checkbox","columnheader","gridcell","heading","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"].includes(e),i=t&&["","caption","code","contentinfo","definition","deletion","emphasis","insertion","list","listitem","mark","none","paragraph","presentation","region","row","rowgroup","section","strong","subscript","superscript","table","term","time"].includes(e);return r||i}function it(e,t){let r=t?Jt:Wt,i=r?.get(e);if(i===void 0){if(i="",!["caption","code","definition","deletion","emphasis","generic","insertion","mark","paragraph","presentation","strong","subscript","suggestion","superscript","term","time"].includes(O(e)||""))i=Dt(L(e,{includeHidden:t,visitedElements:new Set,embeddedInTargetElement:"self"}));r?.set(e,i)}return i}function L(e,t){if(t.visitedElements.has(e))return"";let r={...t,embeddedInTargetElement:t.embeddedInTargetElement==="self"?"descendant":t.embeddedInTargetElement};if(!t.includeHidden){let l=!!t.embeddedInLabelledBy?.hidden||!!t.embeddedInDescribedBy?.hidden||!!t.embeddedInNativeTextAlternative?.hidden||!!t.embeddedInLabel?.hidden;if(nt(e)||!l&&M(e))return t.visitedElements.add(e),""}let i=Ht(e);if(!t.embeddedInLabelledBy){let l=(i||[]).map((u)=>L(u,{...t,embeddedInLabelledBy:{element:u,hidden:M(u)},embeddedInDescribedBy:void 0,embeddedInTargetElement:void 0,embeddedInLabel:void 0,embeddedInNativeTextAlternative:void 0})).join(" ");if(l)return l}let n=O(e)||"",a=g(e);if(!!t.embeddedInLabel||!!t.embeddedInLabelledBy||t.embeddedInTargetElement==="descendant"){let l=[...e.labels||[]].includes(e),u=(i||[]).includes(e);if(!l&&!u){if(n==="textbox"){if(t.visitedElements.add(e),a==="INPUT"||a==="TEXTAREA")return e.value;return e.textContent||""}if(["combobox","listbox"].includes(n)){t.visitedElements.add(e);let b;if(a==="SELECT"){if(b=[...e.selectedOptions],!b.length&&e.options.length)b.push(e.options[0])}else{let s=n==="combobox"?Qe(e,"*").find((c)=>O(c)==="listbox"):e;b=s?Qe(s,'[aria-selected="true"]').filter((c)=>O(c)==="option"):[]}if(!b.length&&a==="INPUT")return e.value;return b.map((s)=>L(s,r)).join(" ")}if(["progressbar","scrollbar","slider","spinbutton","meter"].includes(n)){if(t.visitedElements.add(e),e.hasAttribute("aria-valuetext"))return e.getAttribute("aria-valuetext")||"";if(e.hasAttribute("aria-valuenow"))return e.getAttribute("aria-valuenow")||"";return e.getAttribute("value")||""}if(["menu"].includes(n))return t.visitedElements.add(e),""}}let d=e.getAttribute("aria-label")||"";if(N(d))return t.visitedElements.add(e),d;if(!["presentation","none"].includes(n)){if(a==="INPUT"&&["button","submit","reset"].includes(e.type)){t.visitedElements.add(e);let l=e.value||"";if(N(l))return l;if(e.type==="submit")return"Submit";if(e.type==="reset")return"Reset";return e.getAttribute("title")||""}if(a==="INPUT"&&e.type==="file"){t.visitedElements.add(e);let l=e.labels||[];if(l.length&&!t.embeddedInLabelledBy)return K(l,t);return"Choose File"}if(a==="INPUT"&&e.type==="image"){t.visitedElements.add(e);let l=e.labels||[];if(l.length&&!t.embeddedInLabelledBy)return K(l,t);let u=e.getAttribute("alt")||"";if(N(u))return u;let b=e.getAttribute("title")||"";if(N(b))return b;return"Submit"}if(!i&&a==="BUTTON"){t.visitedElements.add(e);let l=e.labels||[];if(l.length)return K(l,t)}if(!i&&a==="OUTPUT"){t.visitedElements.add(e);let l=e.labels||[];if(l.length)return K(l,t);return e.getAttribute("title")||""}if(!i&&(a==="TEXTAREA"||a==="SELECT"||a==="INPUT")){t.visitedElements.add(e);let l=e.labels||[];if(l.length)return K(l,t);let u=a==="INPUT"&&["text","password","search","tel","email","url"].includes(e.type)||a==="TEXTAREA",b=e.getAttribute("placeholder")||"",s=e.getAttribute("title")||"";if(!u||s)return s;return b}if(!i&&a==="FIELDSET"){t.visitedElements.add(e);for(let u=e.firstElementChild;u;u=u.nextElementSibling)if(g(u)==="LEGEND")return L(u,{...r,embeddedInNativeTextAlternative:{element:u,hidden:M(u)}});return e.getAttribute("title")||""}if(!i&&a==="FIGURE"){t.visitedElements.add(e);for(let u=e.firstElementChild;u;u=u.nextElementSibling)if(g(u)==="FIGCAPTION")return L(u,{...r,embeddedInNativeTextAlternative:{element:u,hidden:M(u)}});return e.getAttribute("title")||""}if(a==="IMG"){t.visitedElements.add(e);let l=e.getAttribute("alt")||"";if(N(l))return l;return e.getAttribute("title")||""}if(a==="TABLE"){t.visitedElements.add(e);for(let u=e.firstElementChild;u;u=u.nextElementSibling)if(g(u)==="CAPTION")return L(u,{...r,embeddedInNativeTextAlternative:{element:u,hidden:M(u)}});let l=e.getAttribute("summary")||"";if(l)return l}if(a==="AREA"){t.visitedElements.add(e);let l=e.getAttribute("alt")||"";if(N(l))return l;return e.getAttribute("title")||""}if(a==="SVG"||e.ownerSVGElement){t.visitedElements.add(e);for(let l=e.firstElementChild;l;l=l.nextElementSibling)if(g(l)==="TITLE"&&l.ownerSVGElement)return L(l,{...r,embeddedInLabelledBy:{element:l,hidden:M(l)}})}if(e.ownerSVGElement&&a==="A"){let l=e.getAttribute("xlink:title")||"";if(N(l))return t.visitedElements.add(e),l}}let x=a==="SUMMARY"&&!["presentation","none"].includes(n);if(Bt(n,t.embeddedInTargetElement==="descendant")||x||!!t.embeddedInLabelledBy||!!t.embeddedInDescribedBy||!!t.embeddedInLabel||!!t.embeddedInNativeTextAlternative){t.visitedElements.add(e);let l=Ut(e,r);if(t.embeddedInTargetElement==="self"?N(l):l)return l}if(!["presentation","none"].includes(n)||a==="IFRAME"){t.visitedElements.add(e);let l=e.getAttribute("title")||"";if(N(l))return l}return t.visitedElements.add(e),""}function Ut(e,t){let r=[],i=(a,d)=>{if(d&&a.assignedSlot)return;if(a.nodeType===1){let x=W(a)?.display||"inline",l=L(a,t);if(x!=="inline"||a.nodeName==="BR")l=" "+l+" ";r.push(l)}else if(a.nodeType===3)r.push(a.textContent||"")};r.push(ce(e,"::before")||"");let n=ce(e);if(n!==void 0)r.push(n);else{let a=e.nodeName==="SLOT"?e.assignedNodes():[];if(a.length)for(let d of a)i(d,!1);else{for(let d=e.firstChild;d;d=d.nextSibling)i(d,!0);if(e.shadowRoot)for(let d=e.shadowRoot.firstChild;d;d=d.nextSibling)i(d,!0);for(let d of se(e,e.getAttribute("aria-owns")))i(d,!0)}}return r.push(ce(e,"::after")||""),r.join("")}var Ft=["checkbox","menuitemcheckbox","option","radio","switch","menuitemradio","treeitem"];function ot(e){return Pt(e,!1)}function Pt(e,t){let r=g(e);if(t&&r==="INPUT"&&e.indeterminate)return"mixed";if(r==="INPUT"&&["checkbox","radio"].includes(e.type))return e.checked;if(Ft.includes(O(e)||"")){let i=e.getAttribute("aria-checked");if(i==="true")return!0;if(t&&i==="mixed")return"mixed";return!1}return"error"}var Gt=["checkbox","combobox","grid","gridcell","listbox","radiogroup","slider","spinbutton","textbox","columnheader","rowheader","searchbox","switch","treegrid"];function st(e){let t=g(e);if(["INPUT","TEXTAREA","SELECT"].includes(t))return e.hasAttribute("readonly");if(Gt.includes(O(e)||""))return e.getAttribute("aria-readonly")==="true";if(e.isContentEditable)return!1;return"error"}var Vt=["application","button","composite","gridcell","group","input","link","menuitem","scrollbar","separator","tab","checkbox","columnheader","combobox","grid","listbox","menu","menubar","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","searchbox","select","slider","spinbutton","switch","tablist","textbox","toolbar","tree","treegrid","treeitem"];function at(e){return lt(e)||ut(e)}function lt(e){return["BUTTON","INPUT","SELECT","TEXTAREA","OPTION","OPTGROUP"].includes(g(e))&&(e.hasAttribute("disabled")||qt(e)||jt(e))}function qt(e){return g(e)==="OPTION"&&!!e.closest("OPTGROUP[DISABLED]")}function jt(e){let t=e?.closest("FIELDSET[DISABLED]");if(!t)return!1;let r=t.querySelector(":scope > LEGEND");return!r||!r.contains(e)}function ut(e,t=!1){if(!e)return!1;if(t||Vt.includes(O(e)||"")){let r=(e.getAttribute("aria-disabled")||"").toLowerCase();if(r==="true")return!0;if(r==="false")return!1;return ut(X(e),!0)}return!1}function K(e,t){return[...e].map((r)=>L(r,{...t,embeddedInLabel:{element:r,hidden:M(r)},embeddedInNativeTextAlternative:void 0,embeddedInLabelledBy:void 0,embeddedInDescribedBy:void 0,embeddedInTargetElement:void 0})).filter((r)=>!!r).join(" ")}var Wt,Jt;var $e,Yt,Xt,_t;var Kt={button:"button",checkbox:"checkbox",image:"button",number:"spinbutton",radio:"radio",range:"slider",reset:"button",submit:"button"};function zt(e){document.querySelectorAll("[data-fdref]").forEach((n)=>n.removeAttribute("data-fdref"));let t=[],r=0;function i(n,a,d){if(e>=0&&d>e)return;let x=r++,l=String(x);if(n.setAttribute)n.setAttribute("data-fdref",l);let u="";try{u=O(n)||""}catch{}if(!u){let A=n.tagName;u={A:"link",NAV:"navigation",MAIN:"main",HEADER:"banner",FOOTER:"contentinfo",ASIDE:"complementary",SECTION:"region",ARTICLE:"article",FORM:"form",TABLE:"table",THEAD:"rowgroup",TBODY:"rowgroup",TR:"row",TH:"columnheader",TD:"cell",UL:"list",OL:"list",LI:"listitem",DL:"list",DT:"term",DD:"definition",DIALOG:"dialog",DETAILS:"group",PROGRESS:"progressbar",METER:"meter",OUTPUT:"status",HR:"separator",IMG:"img",FIGURE:"figure",BLOCKQUOTE:"blockquote",PRE:"generic",CODE:"code"}[A]||""}if(!u||u==="none"||u==="presentation"){for(let A of n.children)i(A,a,d);if(n.shadowRoot)for(let A of n.shadowRoot.children)i(A,a,d);return}let b="";try{b=it(n,!1)||""}catch{}if(!b)b=n.getAttribute?.("aria-label")||n.getAttribute?.("alt")||n.getAttribute?.("title")||n.getAttribute?.("placeholder")||"";if(!b&&n.textContent)b=n.textContent.trim().substring(0,100);let s=n,c=n.getAttribute?.("aria-description")||"",T="";try{let A=ot(n);if(A===!0)T="true";else if(A===!1)T="false"}catch{}let y=!!at(n),F=!1;try{F=st(n)}catch{}let I=0,z=n.tagName;if(/^H[1-6]$/.test(z))I=parseInt(z[1]);let Q=n.getAttribute?.("aria-level");if(Q)I=parseInt(Q)||I;let C=0,P=0,G=0,$="";if("valueAsNumber"in n)G=s.valueAsNumber||0,C=parseFloat(s.min)||0,P=parseFloat(s.max)||100;let D=n.getAttribute?.("aria-valuenow");if(D)G=parseFloat(D)||0;let k=n.getAttribute?.("aria-valuetext");if(k)$=k;let R="",H=n.getAttribute?.("aria-expanded");if(H==="true")R="true";else if(H==="false")R="false";let ae=n.getAttribute?.("aria-selected")==="true"||n.selected===!0,le=n.getAttribute?.("aria-required")==="true"||s.required===!0,J=n.href||n.getAttribute?.("href")||"",V=n.getAttribute?.("aria-keyshortcuts")||"";if(t.push({nodeId:l,parentId:a,backendId:x,role:u,name:b,ignored:!1,description:c,checked:T,disabled:y,readonly:F,level:I,valueMin:C,valueMax:P,valueNow:G,valueText:$,expanded:R,selected:ae,required:le,url:J,keyShortcuts:V}),n.shadowRoot)for(let A of n.shadowRoot.children)i(A,l,d+1);for(let A of n.children)i(A,l,d+1)}return i(document.documentElement,null,0),t}(()=>{let e=window.__fd;if(!e||e.__axSupport)return;e.__axSupport=!0,Object.assign(e,{accessibilityTree:zt})})();})();