@webability/core 1.19.0 → 1.19.1
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.
- package/dist/dom.cjs +22 -20
- package/dist/dom.d.cts +1 -1
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +22 -20
- package/dist/engine.cjs +8 -6
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.ts +1 -1
- package/dist/engine.js +8 -6
- package/dist/index.cjs +13 -11
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +13 -11
- package/dist/playwright.cjs +3 -1
- package/dist/playwright.d.cts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/playwright.js +3 -1
- package/dist/{types-BoA8VqsC.d.cts → types-B_q8lTmv.d.cts} +5 -0
- package/dist/{types-BoA8VqsC.d.ts → types-B_q8lTmv.d.ts} +5 -0
- package/package.json +1 -1
package/dist/engine.cjs
CHANGED
|
@@ -421,13 +421,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
421
421
|
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
422
422
|
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),c0=ae(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=cd();function r(n,a,i,o,s,c){var f=n.length,p="";function b(Z,ie){var oe="";for(a++,p=n.charAt(a);a<f;){if(p===Z)return a++,oe;if(p==="\\"){a++,p=n.charAt(a);var ue=void 0;if(p===Z)oe+=Z;else if((ue=ie[p])!==void 0)oe+=ue;else if(t.isHex(p)){var fe=p;for(a++,p=n.charAt(a);t.isHex(p);)fe+=p,a++,p=n.charAt(a);p===" "&&(a++,p=n.charAt(a)),oe+=String.fromCharCode(parseInt(fe,16));continue}else oe+=p;}else oe+=p;a++,p=n.charAt(a);}return oe}function D(){var Z="";for(p=n.charAt(a);a<f;){if(t.isIdent(p))Z+=p;else if(p==="\\"){if(a++,a>=f)throw Error("Expected symbol but end of file reached.");if(p=n.charAt(a),t.identSpecialChars[p])Z+=p;else if(t.isHex(p)){var ie=p;for(a++,p=n.charAt(a);t.isHex(p);)ie+=p,a++,p=n.charAt(a);p===" "&&(a++,p=n.charAt(a)),Z+=String.fromCharCode(parseInt(ie,16));continue}else Z+=p;}else return Z;a++,p=n.charAt(a);}return Z}function L(){p=n.charAt(a);for(var Z=false;p===" "||p===" "||p===`
|
|
423
423
|
`||p==="\r"||p==="\f";)Z=true,a++,p=n.charAt(a);return Z}function B(){var Z=G();if(a<f)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return Z}function G(){var Z=K();if(!Z)return null;var ie=Z;for(p=n.charAt(a);p===",";){if(a++,L(),ie.type!=="selectors"&&(ie={type:"selectors",selectors:[Z]}),Z=K(),!Z)throw Error('Rule expected after ",".');ie.selectors.push(Z);}return ie}function K(){L();var Z={type:"ruleSet"},ie=Y();if(!ie)return null;for(var oe=Z;ie&&(ie.type="rule",oe.rule=ie,oe=ie,L(),p=n.charAt(a),!(a>=f||p===","||p===")"));)if(s[p]){var ue=p;if(a++,L(),ie=Y(),!ie)throw Error('Rule expected after "'+ue+'".');ie.nestingOperator=ue;}else ie=Y(),ie&&(ie.nestingOperator=null);return Z}function Y(){for(var Z=null;a<f;)if(p=n.charAt(a),p==="*")a++,(Z=Z||{}).tagName="*";else if(t.isIdentStart(p)||p==="\\")(Z=Z||{}).tagName=D();else if(p===".")a++,Z=Z||{},(Z.classNames=Z.classNames||[]).push(D());else if(p==="#")a++,(Z=Z||{}).id=D();else if(p==="["){a++,L();var ie={name:D()};if(L(),p==="]")a++;else {var oe="";if(o[p]&&(oe=p,a++,p=n.charAt(a)),a>=f)throw Error('Expected "=" but end of file reached.');if(p!=="=")throw Error('Expected "=" but "'+p+'" found.');ie.operator=oe+"=",a++,L();var ue="";if(ie.valueType="string",p==='"')ue=b('"',t.doubleQuotesEscapeChars);else if(p==="'")ue=b("'",t.singleQuoteEscapeChars);else if(c&&p==="$")a++,ue=D(),ie.valueType="substitute";else {for(;a<f&&p!=="]";)ue+=p,a++,p=n.charAt(a);ue=ue.trim();}if(L(),a>=f)throw Error('Expected "]" but end of file reached.');if(p!=="]")throw Error('Expected "]" but "'+p+'" found.');a++,ie.value=ue;}Z=Z||{},(Z.attrs=Z.attrs||[]).push(ie);}else if(p===":"){a++;var fe=D(),ge={name:fe};if(p==="("){a++;var we="";if(L(),i[fe]==="selector")ge.valueType="selector",we=G();else {if(ge.valueType=i[fe]||"string",p==='"')we=b('"',t.doubleQuotesEscapeChars);else if(p==="'")we=b("'",t.singleQuoteEscapeChars);else if(c&&p==="$")a++,we=D(),ge.valueType="substitute";else {for(;a<f&&p!==")";)we+=p,a++,p=n.charAt(a);we=we.trim();}L();}if(a>=f)throw Error('Expected ")" but end of file reached.');if(p!==")")throw Error('Expected ")" but "'+p+'" found.');a++,ge.value=we;}Z=Z||{},(Z.pseudos=Z.pseudos||[]).push(ge);}else break;return Z}return B()}e.parseCssSelector=r;}),d0=ae(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=cd();function r(n){var a="";switch(n.type){case "ruleSet":for(var i=n.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;a=o.join(" ");break;case "selectors":a=n.selectors.map(r).join(", ");break;case "rule":n.tagName&&(n.tagName==="*"?a="*":a=t.escapeIdentifier(n.tagName)),n.id&&(a+="#"+t.escapeIdentifier(n.id)),n.classNames&&(a+=n.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),n.attrs&&(a+=n.attrs.map(function(s){return "operator"in s?s.valueType==="substitute"?"["+t.escapeIdentifier(s.name)+s.operator+"$"+s.value+"]":"["+t.escapeIdentifier(s.name)+s.operator+t.escapeStr(s.value)+"]":"["+t.escapeIdentifier(s.name)+"]"}).join("")),n.pseudos&&(a+=n.pseudos.map(function(s){return s.valueType?s.valueType==="selector"?":"+t.escapeIdentifier(s.name)+"("+r(s.value)+")":s.valueType==="substitute"?":"+t.escapeIdentifier(s.name)+"($"+s.value+")":s.valueType==="numeric"?":"+t.escapeIdentifier(s.name)+"("+s.value+")":":"+t.escapeIdentifier(s.name)+"("+t.escapeIdentifier(s.value)+")":":"+t.escapeIdentifier(s.name)}).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return a}e.renderEntity=r;}),f0=ae(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=c0(),r=d0(),n=(function(){function a(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return a.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];this.pseudos[f]="selector";}return this},a.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];delete this.pseudos[f];}return this},a.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];this.pseudos[f]="numeric";}return this},a.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];delete this.pseudos[f];}return this},a.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];this.ruleNestingOperators[f]=true;}return this},a.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];delete this.ruleNestingOperators[f];}return this},a.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];this.attrEqualityMods[f]=true;}return this},a.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,c=i;s<c.length;s++){var f=c[s];delete this.attrEqualityMods[f];}return this},a.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},a.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},a.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},a.prototype.render=function(i){return r.renderEntity(i).trim()},a})();e.CssSelectorParser=n;}),m0=ae(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:true,append:true,selfcontained:false,doNotSkipEncoded:false},template:void 0,compile:void 0,log:true};((function(){if((typeof globalThis>"u"?"undefined":ye(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{u.globalThis=(function(){if(typeof self<"u")return self;if(typeof u<"u")return u;if(typeof h<"u")return h;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var c={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},f=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(p){return p?p.toString().replace(f,function(b){return c[b]||b}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var n={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},a=/$^/;function i(s,c,f){return (typeof c=="string"?c:c.toString()).replace(s.define||a,function(p,b,D,L){return b.indexOf("def.")===0&&(b=b.substring(4)),b in f||(D===":"?(s.defineParams&&L.replace(s.defineParams,function(B,G,K){f[b]={arg:G,text:K};}),b in f||(f[b]=L)):new Function("def","def['"+b+"']="+L)(f)),""}).replace(s.use||a,function(p,b){s.useParams&&(b=b.replace(s.useParams,function(L,B,G,K){if(f[G]&&f[G].arg&&K){var Y=(G+":"+K).replace(/'|\\/g,"_");return f.__exp=f.__exp||{},f.__exp[Y]=f[G].text.replace(new RegExp("(^|[^\\w$])"+f[G].arg+"([^\\w$])","g"),"$1"+K+"$2"),B+"def.__exp['"+Y+"']"}}));var D=new Function("def","return "+b)(f);return D&&i(s,D,f)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,c,f){c=c||r.templateSettings;var p=c.append?n.append:n.split,b,D=0,L,B=c.use||c.define?i(c,s,f||{}):s;B=("var out='"+(c.strip?B.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):B).replace(/'|\\/g,"\\$&").replace(c.interpolate||a,function(G,K){return p.start+o(K)+p.end}).replace(c.encode||a,function(G,K){return b=true,p.startencode+o(K)+p.end}).replace(c.conditional||a,function(G,K,Y){return K?Y?"';}else if("+o(Y)+"){out+='":"';}else{out+='":Y?"';if("+o(Y)+"){out+='":"';}out+='"}).replace(c.iterate||a,function(G,K,Y,Z){return K?(D+=1,L=Z||"i"+D,K=o(K),"';var arr"+D+"="+K+";if(arr"+D+"){var "+Y+","+L+"=-1,l"+D+"=arr"+D+".length-1;while("+L+"<l"+D+"){"+Y+"=arr"+D+"["+L+"+=1];out+='"):"';} } out+='"}).replace(c.evaluate||a,function(G,K){return "';"+o(K)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),b&&(!c.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(c.doNotSkipEncoded)),B="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(c.doNotSkipEncoded||"")+"));"+B);try{return new Function(c.varname,B)}catch(G){throw typeof console<"u"&&console.log("Could not create a template function: "+B),G}},r.compile=function(s,c){return r.template(s,null,c)};})();}),p0=ae(function(e,t){t.exports=function(){};}),xn=ae(function(e,t){var r=p0()();t.exports=function(n){return n!==r&&n!==null};}),dd=ae(function(e,t){var r=xn(),n=Array.prototype.forEach,a=Object.create,i=function(s,c){var f;for(f in s)c[f]=s[f];};t.exports=function(o){var s=a(null);return n.call(arguments,function(c){r(c)&&i(Object(c),s);}),s};}),h0=ae(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),g0=ae(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),b0=ae(function(e,t){t.exports=h0()()?Math.sign:g0();}),v0=ae(function(e,t){var r=b0(),n=Math.abs,a=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*a(n(i)))};}),An=ae(function(e,t){var r=v0(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),fd=ae(function(e,t){var r=An();t.exports=function(n,a,i){var o;return isNaN(n)?(o=a,o>=0?i&&o?o-1:o:1):n===false?false:r(n)};}),nn=ae(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Vn=ae(function(e,t){var r=xn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),y0=ae(function(e,t){var r=nn(),n=Vn(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(c,f){return function(p,b){var D,L=arguments[2],B=arguments[3];return p=Object(n(p)),r(b),D=o(p),B&&D.sort(typeof B=="function"?a.call(B,p):void 0),typeof c!="function"&&(c=D[c]),i.call(c,D,function(G,K){return s.call(p,G)?i.call(b,L,p[G],G,p,K):f})}};}),Fi=ae(function(e,t){t.exports=y0()("forEach");}),_n=ae(function(){}),w0=ae(function(e,t){t.exports=function(){var r=Object.assign,n;return typeof r!="function"?false:(n={foo:"raz"},r(n,{bar:"dwa"},{trzy:"trzy"}),n.foo+n.bar+n.trzy==="razdwatrzy")};}),x0=ae(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),A0=ae(function(e,t){var r=xn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),_0=ae(function(e,t){t.exports=x0()()?Object.keys:A0();}),E0=ae(function(e,t){var r=_0(),n=Vn(),a=Math.max;t.exports=function(i,o){var s,c,f=a(arguments.length,2),p;for(i=Object(n(i)),p=function(D){try{i[D]=o[D];}catch(L){s||(s=L);}},c=1;c<f;++c)o=arguments[c],r(o).forEach(p);if(s!==void 0)throw s;return i};}),md=ae(function(e,t){t.exports=w0()()?Object.assign:E0();}),D0=ae(function(e,t){var r=xn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[ye(a)]||false};}),k0=ae(function(e,t){var r=md(),n=D0(),a=xn(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),c=arguments[1],f=arguments[2];return a(f)||n(c)&&(f=c,c=null),a(f)&&r(s,f),a(c)&&(s.code=c),i&&i(s,t.exports),s};}),pd=ae(function(e,t){var r=Vn(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,c){var f,p=Object(r(c));if(s=Object(r(s)),i(p).forEach(function(b){try{n(s,b,a(c,b));}catch(D){f=D;}}),typeof o=="function"&&o(p).forEach(function(b){try{n(s,b,a(c,b));}catch(D){f=D;}}),f!==void 0)throw f;return s};}),hd=ae(function(e,t){var r=An(),n=function(f,p){return p},a,i,o,s;try{Object.defineProperty(n,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}n.length===1?(a={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(c,f){return f=r(f),c.length===f?c:(a.value=f,i(c,"length",a))}):(s=pd(),o=(function(){var c=[];return function(f){var p,b=0;if(c[f])return c[f];for(p=[];f--;)p.push("a"+(++b).toString(36));return new Function("fn","return function ("+p.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(c,f){var p;if(f=r(f),c.length===f)return c;p=o(f)(c);try{s(p,c);}catch{}return p});}),gd=ae(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),S0=ae(function(e,t){var r=gd(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,ye(a)):false};}),C0=ae(function(e,t){var r=S0();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),T0=ae(function(e,t){var r=C0();t.exports=function(n){if(typeof n!="function"||!hasOwnProperty.call(n,"length"))return false;try{if(typeof n.length!="number"||typeof n.call!="function"||typeof n.apply!="function")return !1}catch{return false}return !r(n)};}),R0=ae(function(e,t){var r=T0(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),F0=ae(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),I0=ae(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),L0=ae(function(e,t){t.exports=F0()()?String.prototype.contains:I0();}),En=ae(function(e,t){var r=gd(),n=R0(),a=md(),i=dd(),o=L0(),s=t.exports=function(c,f){var p,b,D,L,B;return arguments.length<2||typeof c!="string"?(L=f,f=c,c=null):L=arguments[2],r(c)?(p=o.call(c,"c"),b=o.call(c,"e"),D=o.call(c,"w")):(p=D=true,b=false),B={value:f,configurable:p,enumerable:b,writable:D},L?a(i(L),B):B};s.gs=function(c,f,p){var b,D,L,B;return typeof c!="string"?(L=p,p=f,f=c,c=null):L=arguments[3],r(f)?n(f)?r(p)?n(p)||(L=p,p=void 0):p=void 0:(L=f,f=p=void 0):f=void 0,r(c)?(b=o.call(c,"c"),D=o.call(c,"e")):(b=true,D=false),B={get:f,set:p,configurable:b,enumerable:D},L?a(i(L),B):B};}),P0=ae(function(e,t){var r=En(),n=nn(),a=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,c=Object.defineProperties,f=Object.prototype.hasOwnProperty,p={configurable:true,enumerable:false,writable:true},b,D,L,B,G,K,Y;b=function(ie,oe){var ue;return n(oe),f.call(this,"__ee__")?ue=this.__ee__:(ue=p.value=o(null),s(this,"__ee__",p),p.value=null),ue[ie]?ye(ue[ie])==="object"?ue[ie].push(oe):ue[ie]=[ue[ie],oe]:ue[ie]=oe,this},D=function(ie,oe){var ue,fe;return n(oe),fe=this,b.call(this,ie,ue=function(){L.call(fe,ie,ue),a.call(oe,this,arguments);}),ue.__eeOnceListener__=oe,this},L=function(ie,oe){var ue,fe,ge,we;if(n(oe),!f.call(this,"__ee__"))return this;if(ue=this.__ee__,!ue[ie])return this;if(fe=ue[ie],ye(fe)==="object")for(we=0;ge=fe[we];++we)(ge===oe||ge.__eeOnceListener__===oe)&&(fe.length===2?ue[ie]=fe[we?0:1]:fe.splice(we,1));else (fe===oe||fe.__eeOnceListener__===oe)&&delete ue[ie];return this},B=function(ie){var oe,ue,fe,ge,we;if(f.call(this,"__ee__")&&(ge=this.__ee__[ie],!!ge))if(ye(ge)==="object"){for(ue=arguments.length,we=new Array(ue-1),oe=1;oe<ue;++oe)we[oe-1]=arguments[oe];for(ge=ge.slice(),oe=0;fe=ge[oe];++oe)a.call(fe,this,we);}else switch(arguments.length){case 1:i.call(ge,this);break;case 2:i.call(ge,this,arguments[1]);break;case 3:i.call(ge,this,arguments[1],arguments[2]);break;default:for(ue=arguments.length,we=new Array(ue-1),oe=1;oe<ue;++oe)we[oe-1]=arguments[oe];a.call(ge,this,we);}},G={on:b,once:D,off:L,emit:B},K={on:r(b),once:r(D),off:r(L),emit:r(B)},Y=c({},K),t.exports=e=function(ie){return ie==null?o(Y):c(Object(ie),K)},e.methods=G;}),M0=ae(function(e,t){t.exports=function(){var r=Array.from,n,a;return typeof r!="function"?false:(n=["raz","dwa"],a=r(n),!!(a&&a!==n&&a[1]==="dwa"))};}),O0=ae(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":ye(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),N0=ae(function(e,t){var r=function(){if((typeof self>"u"?"undefined":ye(self))==="object"&&self)return self;if((typeof u>"u"?"undefined":ye(u))==="object"&&u)return u;throw new Error("Unable to resolve global `this`")};t.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0});}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__;}})();}),Ii=ae(function(e,t){t.exports=O0()()?globalThis:N0();}),q0=ae(function(e,t){var r=Ii(),n={object:true,symbol:true};t.exports=function(){var a=r.Symbol,i;if(typeof a!="function")return false;i=a("test symbol");try{String(i);}catch{return false}return !(!n[ye(a.iterator)]||!n[ye(a.toPrimitive)]||!n[ye(a.toStringTag)])};}),B0=ae(function(e,t){t.exports=function(r){return r?ye(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),bd=ae(function(e,t){var r=B0();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),H0=ae(function(e,t){var r=En(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var c=0,f,p;o[s+(c||"")];)++c;return s+=c||"",o[s]=true,f="@@"+s,a(i,f,r.gs(null,function(b){p||(p=true,a(this,f,r(b)),p=false);})),f};}),V0=ae(function(e,t){var r=En(),n=Ii().Symbol;t.exports=function(a){return Object.defineProperties(a,{hasInstance:r("",n&&n.hasInstance||a("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||a("isConcatSpreadable")),iterator:r("",n&&n.iterator||a("iterator")),match:r("",n&&n.match||a("match")),replace:r("",n&&n.replace||a("replace")),search:r("",n&&n.search||a("search")),species:r("",n&&n.species||a("species")),split:r("",n&&n.split||a("split")),toPrimitive:r("",n&&n.toPrimitive||a("toPrimitive")),toStringTag:r("",n&&n.toStringTag||a("toStringTag")),unscopables:r("",n&&n.unscopables||a("unscopables"))})};}),$0=ae(function(e,t){var r=En(),n=bd(),a=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return a[o]?a[o]:a[o]=i(String(o))}),keyFor:r(function(o){var s;n(o);for(s in a)if(a[s]===o)return s})})};}),j0=ae(function(e,t){var r=En(),n=bd(),a=Ii().Symbol,i=H0(),o=V0(),s=$0(),c=Object.create,f=Object.defineProperties,p=Object.defineProperty,b,D,L;if(typeof a=="function")try{String(a()),L=!0;}catch{}else a=null;D=function(G){if(this instanceof D)throw new TypeError("Symbol is not a constructor");return b(G)},t.exports=b=function B(G){var K;if(this instanceof B)throw new TypeError("Symbol is not a constructor");return L?a(G):(K=c(D.prototype),G=G===void 0?"":String(G),f(K,{__description__:r("",G),__name__:r("",i(G))}))},o(b),s(b),f(D.prototype,{constructor:r(b),toString:r("",function(){return this.__name__})}),f(b.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),p(b.prototype,b.toPrimitive,r("",function(){var B=n(this);return ye(B)==="symbol"?B:B.toString()})),p(b.prototype,b.toStringTag,r("c","Symbol")),p(D.prototype,b.toStringTag,r("c",b.prototype[b.toStringTag])),p(D.prototype,b.toPrimitive,r("c",b.prototype[b.toPrimitive]));}),z0=ae(function(e,t){t.exports=q0()()?Ii().Symbol:j0();}),G0=ae(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),U0=ae(function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(a){return typeof a=="function"&&n(r.call(a))};}),W0=ae(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&ye(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),X0=ae(function(e,t){var r=z0().iterator,n=G0(),a=U0(),i=An(),o=nn(),s=Vn(),c=xn(),f=W0(),p=Array.isArray,b=Function.prototype.call,D={configurable:true,enumerable:true,writable:true,value:null},L=Object.defineProperty;t.exports=function(B){var G=arguments[1],K=arguments[2],Y,Z,ie,oe,ue,fe,ge,we,Le,be;if(B=Object(s(B)),c(G)&&o(G),!this||this===Array||!a(this)){if(!G){if(n(B))return ue=B.length,ue!==1?Array.apply(null,B):(oe=new Array(1),oe[0]=B[0],oe);if(p(B)){for(oe=new Array(ue=B.length),Z=0;Z<ue;++Z)oe[Z]=B[Z];return oe}}oe=[];}else Y=this;if(!p(B)){if((Le=B[r])!==void 0){for(ge=o(Le).call(B),Y&&(oe=new Y),we=ge.next(),Z=0;!we.done;)be=G?b.call(G,K,we.value,Z):we.value,Y?(D.value=be,L(oe,Z,D)):oe[Z]=be,we=ge.next(),++Z;ue=Z;}else if(f(B)){for(ue=B.length,Y&&(oe=new Y),Z=0,ie=0;Z<ue;++Z)be=B[Z],Z+1<ue&&(fe=be.charCodeAt(0),fe>=55296&&fe<=56319&&(be+=B[++Z])),be=G?b.call(G,K,be,ie):be,Y?(D.value=be,L(oe,ie,D)):oe[ie]=be,++ie;ue=ie;}}if(ue===void 0)for(ue=i(B.length),Y&&(oe=new Y(ue)),Z=0;Z<ue;++Z)be=G?b.call(G,K,B[Z],Z):B[Z],Y?(D.value=be,L(oe,Z,D)):oe[Z]=be;return Y&&(D.value=null,oe.length=ue),oe};}),As=ae(function(e,t){t.exports=M0()()?Array.from:X0();}),K0=ae(function(e,t){var r=As(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),J0=ae(function(e,t){var r=K0(),n=xn(),a=nn(),i=Array.prototype.slice,o;o=function(c){return this.map(function(f,p){return f?f(c[p]):c[p]}).concat(i.call(c,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(c){n(c)&&a(c);}),o.bind(s)};}),Y0=ae(function(e,t){var r=nn();t.exports=function(n){var a;return typeof n=="function"?{set:n,get:n}:(a={get:r(n.get)},n.set!==void 0?(a.set=r(n.set),n.delete&&(a.delete=r(n.delete)),n.clear&&(a.clear=r(n.clear)),a):(a.set=a.get,a))};}),Z0=ae(function(e,t){var r=k0(),n=hd(),a=En(),i=P0().methods,o=J0(),s=Y0(),c=Function.prototype.apply,f=Function.prototype.call,p=Object.create,b=Object.defineProperties,D=i.on,L=i.emit;t.exports=function(B,G,K){var Y=p(null),Z,ie,oe,ue,fe,ge,we,Le,be,De,Te,Pe,je,Ye,qe;return G!==false?ie=G:isNaN(B.length)?ie=1:ie=B.length,K.normalizer&&(De=s(K.normalizer),oe=De.get,ue=De.set,fe=De.delete,ge=De.clear),K.resolvers!=null&&(qe=o(K.resolvers)),oe?Ye=n(function(Xe){var ke,$e,ce=arguments;if(qe&&(ce=qe(ce)),ke=oe(ce),ke!==null&&hasOwnProperty.call(Y,ke))return Te&&Z.emit("get",ke,ce,this),Y[ke];if(ce.length===1?$e=f.call(B,this,ce[0]):$e=c.call(B,this,ce),ke===null){if(ke=oe(ce),ke!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ke=ue(ce);}else if(hasOwnProperty.call(Y,ke))throw r("Circular invocation","CIRCULAR_INVOCATION");return Y[ke]=$e,Pe&&Z.emit("set",ke,null,$e),$e},ie):G===0?Ye=function(){var ke;if(hasOwnProperty.call(Y,"data"))return Te&&Z.emit("get","data",arguments,this),Y.data;if(arguments.length?ke=c.call(B,this,arguments):ke=f.call(B,this),hasOwnProperty.call(Y,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return Y.data=ke,Pe&&Z.emit("set","data",null,ke),ke}:Ye=function(ke){var $e,ce=arguments,Me;if(qe&&(ce=qe(arguments)),Me=String(ce[0]),hasOwnProperty.call(Y,Me))return Te&&Z.emit("get",Me,ce,this),Y[Me];if(ce.length===1?$e=f.call(B,this,ce[0]):$e=c.call(B,this,ce),hasOwnProperty.call(Y,Me))throw r("Circular invocation","CIRCULAR_INVOCATION");return Y[Me]=$e,Pe&&Z.emit("set",Me,null,$e),$e},Z={original:B,memoized:Ye,profileName:K.profileName,get:function(ke){return qe&&(ke=qe(ke)),oe?oe(ke):String(ke[0])},has:function(ke){return hasOwnProperty.call(Y,ke)},delete:function(ke){var $e;hasOwnProperty.call(Y,ke)&&(fe&&fe(ke),$e=Y[ke],delete Y[ke],je&&Z.emit("delete",ke,$e));},clear:function(){var ke=Y;ge&&ge(),Y=p(null),Z.emit("clear",ke);},on:function(ke,$e){return ke==="get"?Te=true:ke==="set"?Pe=true:ke==="delete"&&(je=true),D.call(this,ke,$e)},emit:L,updateEnv:function(){B=Z.original;}},oe?we=n(function(Xe){var ke,$e=arguments;qe&&($e=qe($e)),ke=oe($e),ke!==null&&Z.delete(ke);},ie):G===0?we=function(){return Z.delete("data")}:we=function(ke){return qe&&(ke=qe(arguments)[0]),Z.delete(ke)},Le=n(function(){var Xe,ke=arguments;return G===0?Y.data:(qe&&(ke=qe(ke)),oe?Xe=oe(ke):Xe=String(ke[0]),Y[Xe])}),be=n(function(){var Xe,ke=arguments;return G===0?Z.has("data"):(qe&&(ke=qe(ke)),oe?Xe=oe(ke):Xe=String(ke[0]),Xe===null?false:Z.has(Xe))}),b(Ye,{__memoized__:a(true),delete:a(we),clear:a(Z.clear),_get:a(Le),_has:a(be)}),Z};}),Q0=ae(function(e,t){var r=nn(),n=Fi(),a=_n(),i=Z0(),o=fd();t.exports=function s(c){var f,p,b;if(r(c),f=Object(arguments[1]),f.async&&f.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(c,"__memoized__")&&!f.force?c:(p=o(f.length,c.length,f.async&&a.async),b=i(c,p,f),n(a,function(D,L){f[L]&&D(f[L],b,f);}),s.__profiler__&&s.__profiler__(b),b.updateEnv(),b.memoized)};}),ex=ae(function(e,t){t.exports=function(r){var n,a,i=r.length;if(!i)return "";for(n=String(r[a=0]);--i;)n+=""+r[++a];return n};}),tx=ae(function(e,t){t.exports=function(r){return r?function(n){for(var a=String(n[0]),i=0,o=r;--o;)a+=""+n[++i];return a}:function(){return ""}};}),rx=ae(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),nx=ae(function(e,t){t.exports=function(r){return r!==r};}),ax=ae(function(e,t){t.exports=rx()()?Number.isNaN:nx();}),_s=ae(function(e,t){var r=ax(),n=An(),a=Vn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,c=Math.floor;t.exports=function(f){var p,b,D,L;if(!r(f))return i.apply(this,arguments);for(b=n(a(this).length),D=arguments[1],isNaN(D)?D=0:D>=0?D=c(D):D=n(this.length)-c(s(D)),p=D;p<b;++p)if(o.call(this,p)&&(L=this[p],r(L)))return p;return -1};}),ix=ae(function(e,t){var r=_s(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(c){var f=0,p=i,b,D=c.length;if(D===0)return p[D]||null;if(p=p[D]){for(;f<D-1;){if(b=r.call(p[0],c[f]),b===-1)return null;p=p[1][b],++f;}return b=r.call(p[0],c[f]),b===-1?null:p[1][b]||null}return null},set:function(c){var f=0,p=i,b,D=c.length;if(D===0)p[D]=++a;else {for(p[D]||(p[D]=[[],[]]),p=p[D];f<D-1;)b=r.call(p[0],c[f]),b===-1&&(b=p[0].push(c[f])-1,p[1].push([[],[]])),p=p[1][b],++f;b=r.call(p[0],c[f]),b===-1&&(b=p[0].push(c[f])-1),p[1][b]=++a;}return o[a]=c,a},delete:function(c){var f=0,p=i,b,D=o[c],L=D.length,B=[];if(L===0)delete p[L];else if(p=p[L]){for(;f<L-1;){if(b=r.call(p[0],D[f]),b===-1)return;B.push(p,b),p=p[1][b],++f;}if(b=r.call(p[0],D[f]),b===-1)return;for(c=p[1][b],p[0].splice(b,1),p[1].splice(b,1);!p[0].length&&B.length;)b=B.pop(),p=B.pop(),p[0].splice(b,1),p[1].splice(b,1);}delete o[c];},clear:function(){i=[],o=n(null);}}};}),ox=ae(function(e,t){var r=_s();t.exports=function(){var n=0,a=[],i=[];return {get:function(s){var c=r.call(a,s[0]);return c===-1?null:i[c]},set:function(s){return a.push(s[0]),i.push(++n),n},delete:function(s){var c=r.call(i,s);c!==-1&&(a.splice(c,1),i.splice(c,1));},clear:function(){a=[],i=[];}}};}),sx=ae(function(e,t){var r=_s(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(f){for(var p=0,b=o,D;p<a-1;){if(D=r.call(b[0],f[p]),D===-1)return null;b=b[1][D],++p;}return D=r.call(b[0],f[p]),D===-1?null:b[1][D]||null},set:function(f){for(var p=0,b=o,D;p<a-1;)D=r.call(b[0],f[p]),D===-1&&(D=b[0].push(f[p])-1,b[1].push([[],[]])),b=b[1][D],++p;return D=r.call(b[0],f[p]),D===-1&&(D=b[0].push(f[p])-1),b[1][D]=++i,s[i]=f,i},delete:function(f){for(var p=0,b=o,D,L=[],B=s[f];p<a-1;){if(D=r.call(b[0],B[p]),D===-1)return;L.push(b,D),b=b[1][D],++p;}if(D=r.call(b[0],B[p]),D!==-1){for(f=b[1][D],b[0].splice(D,1),b[1].splice(D,1);!b[0].length&&L.length;)D=L.pop(),b=L.pop(),b[0].splice(D,1),b[1].splice(D,1);delete s[f];}},clear:function(){o=[[],[]],s=n(null);}}};}),vd=ae(function(e,t){var r=nn(),n=Fi(),a=Function.prototype.call;t.exports=function(i,o){var s={},c=arguments[2];return r(o),n(i,function(f,p,b,D){s[p]=a.call(o,c,f,p,b,D);}),s};}),Es=ae(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},n=function(i){var o=d.createTextNode(""),s,c,f=0;return new i(function(){var p;if(s)c&&(s=c.concat(s));else {if(!c)return;s=c;}if(c=s,s=null,typeof c=="function"){p=c,c=null,p();return}for(o.data=f=++f%2;c;)p=c.shift(),c.length||(c=null),p();}).observe(o,{characterData:true}),function(p){if(r(p),s){typeof s=="function"?s=[s,p]:s.push(p);return}s=p,o.data=f=++f%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":ye(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof d>"u"?"undefined":ye(d))==="object"&&d){if(typeof MutationObserver=="function")return n(MutationObserver);if(typeof WebKitMutationObserver=="function")return n(WebKitMutationObserver)}return typeof setImmediate=="function"?function(a){setImmediate(r(a));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":ye(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),lx=ae(function(){var e=As(),t=vd(),r=pd(),n=hd(),a=Es(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;_n().async=function(c,f){var p=s(null),b=s(null),D=f.memoized,L=f.original,B,G,K;f.memoized=n(function(Y){var Z=arguments,ie=Z[Z.length-1];return typeof ie=="function"&&(B=ie,Z=i.call(Z,0,-1)),D.apply(G=this,K=Z)},D);try{r(f.memoized,D);}catch{}f.on("get",function(Y){var Z,ie,oe;if(B){if(p[Y]){typeof p[Y]=="function"?p[Y]=[p[Y],B]:p[Y].push(B),B=null;return}Z=B,ie=G,oe=K,B=G=K=null,a(function(){var ue;hasOwnProperty.call(b,Y)?(ue=b[Y],f.emit("getasync",Y,oe,ie),o.call(Z,ue.context,ue.args)):(B=Z,G=ie,K=oe,D.apply(ie,oe));});}}),f.original=function(){var Y,Z,ie,oe;return B?(Y=e(arguments),Z=function ue(fe){var ge,we,Le=ue.id;if(Le==null){a(o.bind(ue,this,arguments));return}if(delete ue.id,ge=p[Le],delete p[Le],!!ge)return we=e(arguments),f.has(Le)&&(fe?f.delete(Le):(b[Le]={context:this,args:we},f.emit("setasync",Le,typeof ge=="function"?1:ge.length))),typeof ge=="function"?oe=o.call(ge,this,we):ge.forEach(function(be){oe=o.call(be,this,we);},this),oe},ie=B,B=G=K=null,Y.push(Z),oe=o.call(L,this,Y),Z.cb=ie,B=Z,oe):o.call(L,this,arguments)},f.on("set",function(Y){if(!B){f.delete(Y);return}p[Y]?typeof p[Y]=="function"?p[Y]=[p[Y],B.cb]:p[Y].push(B.cb):p[Y]=B.cb,delete B.cb,B.id=Y,B=null;}),f.on("delete",function(Y){var Z;hasOwnProperty.call(p,Y)||b[Y]&&(Z=b[Y],delete b[Y],f.emit("deleteasync",Y,i.call(Z.args,1)));}),f.on("clear",function(){var Y=b;b=s(null),f.emit("clearasync",t(Y,function(Z){return i.call(Z.args,1)}));});};}),ux=ae(function(e,t){var r=Array.prototype.forEach,n=Object.create;t.exports=function(a){var i=n(null);return r.call(arguments,function(o){i[o]=true;}),i};}),yd=ae(function(e,t){t.exports=function(r){return typeof r=="function"};}),cx=ae(function(e,t){var r=yd();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),dx=ae(function(e,t){var r=Vn(),n=cx();t.exports=function(a){return n(r(a))};}),fx=ae(function(e,t){var r=yd();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),mx=ae(function(e,t){var r=fx(),n=/[\n\r\u2028\u2029]/g;t.exports=function(a){var i=r(a);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(n,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),wd=ae(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(ye(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),px=ae(function(){var e=vd(),t=ux(),r=dx(),n=mx(),a=wd(),i=Es(),o=Object.create,s=t("then","then:finally","done","done:finally");_n().promise=function(c,f){var p=o(null),b=o(null),D=o(null);if(c===true)c=null;else if(c=r(c),!s[c])throw new TypeError("'"+n(c)+"' is not valid promise mode");f.on("set",function(L,B,G){var K=false;if(!a(G)){b[L]=G,f.emit("setasync",L,1);return}p[L]=1,D[L]=G;var Y=function(fe){var ge=p[L];if(K)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)
|
|
424
|
-
Consider to rely on 'then' or 'done' mode instead.`);ge&&(delete p[L],b[L]=fe,f.emit("setasync",L,ge));},Z=function(){K=true,p[L]&&(delete p[L],delete D[L],f.delete(L));},ie=c;if(ie||(ie="then"),ie==="then"){var oe=function(){i(Z);};G=G.then(function(ue){i(Y.bind(this,ue));},oe),typeof G.finally=="function"&&G.finally(oe);}else if(ie==="done"){if(typeof G.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");G.done(Y,Z);}else if(ie==="done:finally"){if(typeof G.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof G.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");G.done(Y),G.finally(Z);}}),f.on("get",function(L,B,G){var K;if(p[L]){++p[L];return}K=D[L];var Y=function(){f.emit("getasync",L,B,G);};a(K)?typeof K.done=="function"?K.done(Y):K.then(function(){i(Y);}):Y();}),f.on("delete",function(L){if(delete D[L],p[L]){delete p[L];return}if(hasOwnProperty.call(b,L)){var B=b[L];delete b[L],f.emit("deleteasync",L,[B]);}}),f.on("clear",function(){var L=b;b=o(null),p=o(null),D=o(null),f.emit("clearasync",e(L,function(B){return [B]}));});};}),hx=ae(function(){var e=nn(),t=Fi(),r=_n(),n=Function.prototype.apply;r.dispose=function(a,i,o){var s;if(e(a),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(f,p){n.call(a,null,p);}),i.on("clearasync",function(c){t(c,function(f,p){s(p,f);});});return}i.on("delete",s=function(f,p){a(p);}),i.on("clear",function(c){t(c,function(f,p){s(p,f);});});};}),gx=ae(function(e,t){t.exports=2147483647;}),bx=ae(function(e,t){var r=An(),n=gx();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),vx=ae(function(){var e=As(),t=Fi(),r=Es(),n=wd(),a=bx(),i=_n(),o=Function.prototype,s=Math.max,c=Math.min,f=Object.create;i.maxAge=function(p,b,D){var L,B,G,K;p=a(p),p&&(L=f(null),B=D.async&&i.async||D.promise&&i.promise?"async":"",b.on("set"+B,function(Y){L[Y]=setTimeout(function(){b.delete(Y);},p),typeof L[Y].unref=="function"&&L[Y].unref(),K&&(K[Y]&&K[Y]!=="nextTick"&&clearTimeout(K[Y]),K[Y]=setTimeout(function(){delete K[Y];},G),typeof K[Y].unref=="function"&&K[Y].unref());}),b.on("delete"+B,function(Y){clearTimeout(L[Y]),delete L[Y],K&&(K[Y]!=="nextTick"&&clearTimeout(K[Y]),delete K[Y]);}),D.preFetch&&(D.preFetch===true||isNaN(D.preFetch)?G=.333:G=s(c(Number(D.preFetch),1),0),G&&(K={},G=(1-G)*p,b.on("get"+B,function(Y,Z,ie){K[Y]||(K[Y]="nextTick",r(function(){var oe;K[Y]==="nextTick"&&(delete K[Y],b.delete(Y),D.async&&(Z=e(Z),Z.push(o)),oe=b.memoized.apply(ie,Z),D.promise&&n(oe)&&(typeof oe.done=="function"?oe.done(o,o):oe.then(o,o)));}));}))),b.on("clear"+B,function(){t(L,function(Y){clearTimeout(Y);}),L={},K&&(t(K,function(Y){Y!=="nextTick"&&clearTimeout(Y);}),K={});}));};}),yx=ae(function(e,t){var r=An(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,c=n(null),f=n(null),p=0,b;return i=r(i),{hit:function(L){var B=f[L],G=++p;if(c[G]=L,f[L]=G,!B)return ++o,o<=i?void 0:(L=c[s],b(L),L);if(delete c[B],s===B)for(;!a.call(c,++s););},delete:b=function(L){var B=f[L];if(B&&(delete c[B],delete f[L],--o,s===B)){if(!o){p=0,s=1;return}for(;!a.call(c,++s););}},clear:function(){o=0,s=1,c=n(null),f=n(null),p=0;}}};}),wx=ae(function(){var e=An(),t=yx(),r=_n();r.max=function(n,a,i){var o,s,c;n=e(n),n&&(s=t(n),o=i.async&&r.async||i.promise&&r.promise?"async":"",a.on("set"+o,c=function(p){p=s.hit(p),p!==void 0&&a.delete(p);}),a.on("get"+o,c),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),xx=ae(function(){var e=En(),t=_n(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,i,o){var s,c;s=r(null),c=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+c,function(f,p){s[f]=p||1;}),i.on("get"+c,function(f){++s[f];}),i.on("delete"+c,function(f){delete s[f];}),i.on("clear"+c,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var f=i.get(arguments);return f===null||!s[f]?null:--s[f]?false:(i.delete(f),true)}),getRefCount:e(function(){var f=i.get(arguments);return f===null||!s[f]?0:s[f]})});};}),Ax=ae(function(e,t){var r=dd(),n=fd(),a=Q0();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=n(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=ex():s>1&&(o.normalizer=tx()(s)):s===false?o.normalizer=ix()():s===1?o.normalizer=ox()():o.normalizer=sx()(s))),o.async&&lx(),o.promise&&px(),o.dispose&&hx(),o.maxAge&&vx(),o.max&&wx(),o.refCounter&&xx(),a(i,o)};}),_x=[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}],Dr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};_x.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;Dr[t]=r,Dr[t+"_PRIO"]=n,Dr[t+"_GROUP"]=a,Dr.results[n]=r,Dr.resultGroups[n]=a,Dr.resultGroupMap[r]=a;}),Object.freeze(Dr.results),Object.freeze(Dr.resultGroups),Object.freeze(Dr.resultGroupMap),Object.freeze(Dr);var tt=Dr;function Ex(){(typeof console>"u"?"undefined":ye(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var Dn=Ex,Dx=/[\t\r\n\f]/g,kx=(function(){function e(){Pt(this,e),this.parent=void 0;}return Ue(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(Dx," ").indexOf(a)>=0}}])})(),Xt=kx,Ds={};Ar(Ds,{DqElement:function(){return yr},RuleError:function(){return qo},aggregate:function(){return Li},aggregateChecks:function(){return _d},aggregateNodeResults:function(){return Ed},aggregateResult:function(){return Dd},areStylesSet:function(){return Lx},assert:function(){return pt},checkHelper:function(){return Qs},clone:function(){return Ur},closest:function(){return lr},collectResultsFromFrames:function(){return hm},contains:function(){return Wr},convertSelector:function(){return to},cssParser:function(){return Kf},deepMerge:function(){return fl},escapeSelector:function(){return qt},extendMetaData:function(){return ml},filterHtmlAttrs:function(){return Rh},finalizeRuleResult:function(){return xa},findBy:function(){return Ha},getAllChecks:function(){return oo},getAncestry:function(){return eo},getBaseLang:function(){return Ln},getCheckMessage:function(){return Zk},getCheckOption:function(){return Io},getElementSource:function(){return Wf},getEnvironmentData:function(){return gn},getFlattenedTree:function(){return tu},getFrameContexts:function(){return hS},getFriendlyUriEnd:function(){return Cd},getNodeAttributes:function(){return Ea},getNodeFromTree:function(){return nt},getPreloadConfig:function(){return kh},getRootNode:function(){return Va},getRule:function(){return ch},getScroll:function(){return Jr},getScrollState:function(){return vS},getSelector:function(){return Ys},getSelectorData:function(){return Qi},getShadowSelector:function(){return Xs},getStandards:function(){return yS},getStyleSheetFactory:function(){return mh},getXpath:function(){return Uf},injectStyle:function(){return AS},isArrayLike:function(){return ou},isContextObject:function(){return su},isContextProp:function(){return Po},isContextSpec:function(){return ph},isHidden:function(){return _S},isHtmlElement:function(){return uu},isLabelledFramesSelector:function(){return lu},isLabelledShadowDomSelector:function(){return Mo},isNodeInContext:function(){return cu},isShadowRoot:function(){return lo},isValidLang:function(){return Ho},isXHTML:function(){return La},matchAncestry:function(){return du},matches:function(){return tl},matchesExpression:function(){return Gn},matchesSelector:function(){return $n},memoize:function(){return Ct},mergeResults:function(){return so},nodeLookup:function(){return mt},nodeSerializer:function(){return wr},nodeSorter:function(){return fu},objectHasOwn:function(){return qr},parseCrossOriginStylesheet:function(){return pu},parseSameOriginStylesheet:function(){return bh},parseStylesheet:function(){return mu},parseTabindex:function(){return Br},performanceTimer:function(){return bt},pollyfillElementsFromPoint:function(){return vh},preload:function(){return Eh},preloadCssom:function(){return wh},preloadMedia:function(){return _h},processMessage:function(){return iu},publishMetaData:function(){return Oo},querySelectorAll:function(){return fr},querySelectorAllFilter:function(){return Hr},queue:function(){return Pr},respondable:function(){return Cr},ruleShouldRun:function(){return Th},select:function(){return hu},sendCommandToFrame:function(){return dm},serializeError:function(){return No},setScrollState:function(){return rC},shadowSelect:function(){return nC},shadowSelectAll:function(){return gu},shouldPreload:function(){return Dh},toArray:function(){return Sd},tokenList:function(){return nr},uniqueArray:function(){return ri},uuid:function(){return sE},validInputTypes:function(){return Bo},validLangs:function(){return Mh}});function Sx(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(a){return e.indexOf(a)}).sort();return e[n.pop()]}var Li=Sx,Cx=tt.CANTTELL_PRIO,Tx=tt.FAIL_PRIO,Pi=[];Pi[tt.PASS_PRIO]=true,Pi[tt.CANTTELL_PRIO]=null,Pi[tt.FAIL_PRIO]=false;var xd=["any","all","none"];function Ad(e,t){return xd.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Rx(e){var t=Object.assign({},e);Ad(t,function(a,i){var o=typeof a.result>"u"?-1:Pi.indexOf(a.result);a.priority=o!==-1?o:tt.CANTTELL_PRIO,i==="none"&&(a.priority===tt.PASS_PRIO?a.priority=tt.FAIL_PRIO:a.priority===tt.FAIL_PRIO&&(a.priority=tt.PASS_PRIO));});var r={all:t.all.reduce(function(a,i){return Math.max(a,i.priority)},0),none:t.none.reduce(function(a,i){return Math.max(a,i.priority)},0),any:t.any.reduce(function(a,i){return Math.min(a,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return xd.forEach(function(a){t[a]=t[a].filter(function(i){return i.priority===t.priority&&i.priority===r[a]}),t[a].forEach(function(i){return n.push(i.impact)});}),[Cx,Tx].includes(t.priority)?t.impact=Li(tt.impact,n):t.impact=null,Ad(t,function(a){delete a.result,delete a.priority;}),t.result=tt.results[t.priority],delete t.priority,t}var _d=Rx;function xa(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,Ed(e.nodes)),delete e.nodes,e}function Fx(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return _d(i);if(Array.isArray(i.node))return xa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Li(tt.results,r,t.result);}else t.result="inapplicable";tt.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=tt.resultGroupMap[i.result];t[o].push(i);});var n=tt.FAIL_GROUP;if(t[n].length===0&&(n=tt.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=Li(tt.impact,a)||null;}else t.impact=null;return t}var Ed=Fx;function ks(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),tt.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function Ix(e){var t={};return tt.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?ks(t,r,tt.CANTTELL_GROUP):r.result===tt.NA?ks(t,r,tt.NA_GROUP):tt.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&ks(t,r,n);});}),t}var Dd=Ix;function kd(e,t,r){var n=u.getComputedStyle(e,null);if(!n)return false;for(var a=0;a<t.length;++a){var i=t[a];if(n.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:kd(e.parentNode,t,r)}var Lx=kd;function Px(e,t){if(!e)throw new Error(t)}var pt=Px;function Mx(e){return Array.prototype.slice.call(e)}var Sd=Mx;function Ox(e){for(var t=String(e),r=t.length,n=-1,a,i="",o=t.charCodeAt(0);++n<r;){if(a=t.charCodeAt(n),a==0){i+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&o==45){i+="\\"+a.toString(16)+" ";continue}if(n==0&&r==1&&a==45){i+="\\"+t.charAt(n);continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=t.charAt(n);continue}i+="\\"+t.charAt(n);}return i}var qt=Ox;function Nx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function Aa(e,t){return [e.substring(0,t),e.substring(t)]}function _a(e){return e.replace(/\s+$/,"")}function qx(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var c=Aa(e,e.indexOf("#")),f=Ce(c,2);e=f[0],s=f[1];}if(e.includes("?")){var p=Aa(e,e.indexOf("?")),b=Ce(p,2);e=b[0],o=b[1];}if(e.includes("://")){var D=e.split("://"),L=Ce(D,2);r=L[0],e=L[1];var B=Aa(e,e.indexOf("/")),G=Ce(B,2);n=G[0],e=G[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var K=Aa(e,e.indexOf("/")),Y=Ce(K,2);n=Y[0],e=Y[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var Z=Aa(n,n.indexOf(":")),ie=Ce(Z,2);n=ie[0],a=ie[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function Bx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=n===void 0?25:n,i=qx(e),o=i.path,s=i.domain,c=i.hash,f=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(c)return f&&(f+c).length<=a?_a(f+c):f.length<2&&c.length>2&&c.length<=a?_a(c):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+f&&s&&r&&s!==r&&(s+o).length<=a)return _a(s+o);var p=f.lastIndexOf(".");if((p===-1||p>1)&&(p!==-1||f.length>2)&&f.length<=a&&!f.match(/index(\.[a-zA-Z]{2-4})?/)&&!Nx(f))return _a(f)}}var Cd=Bx;function Hx(e){return e.attributes instanceof u.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Ea=Hx,Vx=(function(){var e;function t(r){var n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,i,o;for(i=0;i<a;i++)if(o=n[i],r[o])return o}return function(r,n){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](n):false}})(),$n=Vx,Td={};Ar(Td,{ArrayFrom:function(){return Hf.default},Colorjs:function(){return Dt},CssSelectorParser:function(){return Rd.CssSelectorParser},doT:function(){return an.default},emojiRegexText:function(){return Ss},memoize:function(){return Fd.default}});var $x=Fr(sw()),jx=Fr(lw());Fr(uw());var zx=Fr(_w()),Gx=Fr(Pw()),Ux=Fr(ud());"hasOwn"in Object||(Object.hasOwn=zx.default),"values"in Object||(Object.values=Gx.default),"Promise"in u||$x.default.polyfill(),"Uint32Array"in u||(u.Uint32Array=jx.Uint32Array),u.Uint32Array&&("some"in u.Uint32Array.prototype||Object.defineProperty(u.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in u.Uint32Array.prototype||Object.defineProperty(u.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),n=r.length>>>0,a=arguments[1],i,o=0;o<n;o++)if(i=r[o],t.call(a,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var n=Object(this),a=n.length>>>0,i,o=0;o<a;o++)if(i=n[o],t.call(r,i,o,n))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),n=parseInt(r.length,10)||0;if(n===0)return false;var a=parseInt(arguments[1],10)||0,i;a>=0?i=a:(i=n+a,i<0&&(i=0));for(var o;i<n;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),n=r.length>>>0,a=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in r&&t.call(a,r[i],i,r))return true;return false}}),Array.from||(Array.from=Ux.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:true}),u.Node&&!("isConnected"in u.Node.prototype)&&Object.defineProperty(u.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Rd=Fr(f0()),an=Fr(m0()),Ss=function(){return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},Fd=Fr(Ax());function Vt(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var n=t[0].length,a=t[0].map(function(o,s){return t.map(function(c){return c[s]})}),i=e.map(function(o){return a.map(function(s){var c=0;if(!Array.isArray(o)){var f=dt(s),p;try{for(f.s();!(p=f.n()).done;){var b=p.value;c+=o*b;}}catch(L){f.e(L);}finally{f.f();}return c}for(var D=0;D<o.length;D++)c+=o[D]*(s[D]||0);return c})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function Da(e){return on(e)==="string"}function on(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Mi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Id(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,n=e.match(t);if(n){var a=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),a.push(o);}),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:a}}}}function Ld(e){return e[e.length-1]}function Oi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Pd(e,t,r){return (r-e)/(t-e)}function Cs(e,t,r){return Oi(t[0],t[1],Pd(e[0],e[1],r))}function Md(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var n=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(n){var a=new String(n[1]);return a.range=[+n[2],+n[3]],a}return r})})}var Wx=Object.freeze({__proto__:null,isString:Da,type:on,toPrecision:Mi,parseFunction:Id,last:Ld,interpolate:Oi,interpolateInv:Pd,mapRange:Cs,parseCoordGrammar:Md,multiplyMatrices:Vt}),Xx=(function(){function e(){Pt(this,e);}return Ue(e,[{key:"add",value:function(r,n,a){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],n&&this[i][a?"unshift":"push"](n);},this);}},{key:"run",value:function(r,n){this[r]=this[r]||[],this[r].forEach(function(a){a.call(n&&n.context?n.context:n,n);});}}])})(),sn=new Xx,Lr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},kr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Ts(e){return Array.isArray(e)?e:kr[e]}function Ni(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Ts(e),t=Ts(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(sn.run("chromatic-adaptation-start",a),a.M||(a.W1===kr.D65&&a.W2===kr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===kr.D50&&a.W2===kr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),sn.run("chromatic-adaptation-end",a),a.M)return Vt(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Kx=75e-6,Sr=(de=new WeakSet,he=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,c;Pt(this,e),Be(this,de),pe(this,he,void 0),this.id=t.id,this.name=t.name,this.base=t.base?Sr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var f=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=f;var p=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=Ts(p),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var b in this.formats){var D=this.formats[b];D.type||(D.type="function"),D.name||(D.name=b);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((c=this.formats)!==null&&c!==void 0&&c.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,ft(he,this,It(de,this,Jx).call(this).reverse()),sn.run("colorspace-init-end",this);}return Ue(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?Kx:a;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,c){var f=o[c];if(f.type!=="angle"&&f.range){if(Number.isNaN(s))return true;var p=Ce(f.range,2),b=p[0],D=p[1];return (b===void 0||s>=b-i)&&(D===void 0||s<=D+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(ye(r)==="object")return r=It(de,this,Od).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=It(de,this,Od).call(this,n),n):null}},{key:"to",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}if(r=Sr.get(r),this===r)return n;n=n.map(function(D){return Number.isNaN(D)?0:D});for(var i=ze(he,this),o=ze(he,r),s,c,f=0;f<i.length&&i[f]===o[f];f++)s=i[f],c=f;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var p=i.length-1;p>c;p--)n=i[p].toBase(n);for(var b=c+1;b<o.length;b++)n=o[b].fromBase(n);return n}},{key:"from",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}return r=Sr.get(r),r.to(this,n)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var n in this.coords){var a,i=this.coords[n],o=i.range||i.refRange;r.push((a=o?.min)!==null&&a!==void 0?a:0);}return r}}],[{key:"all",get:function(){return le(new Set(Object.values(Sr.registry)))}},{key:"register",value:function(r,n){if(arguments.length===1&&(n=arguments[0],r=n.id),n=this.get(n),this.registry[r]&&this.registry[r]!==n)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=n,arguments.length===1&&n.aliases){var a=dt(n.aliases),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;this.register(o,n);}}catch(s){a.e(s);}finally{a.f();}}return n}},{key:"get",value:function(r){if(!r||r instanceof Sr)return r;var n=on(r);if(n==="string"){var a=Sr.registry[r.toLowerCase()];if(!a)throw new TypeError('No color space found with id = "'.concat(r,'"'));return a}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return Sr.get.apply(Sr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=on(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),c=Ce(s,2);i=c[0],o=c[1];}else i=void 0,o=r;else if(Array.isArray(r)){var f=Ce(r,2);i=f[0],o=f[1];}else i=r.space,o=r.coordId;if(i=Sr.get(i),i||(i=n),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(a=on(o),a==="number"||a==="string"&&o>=0){var p=Object.entries(i.coords)[o];if(p)return te({space:i,id:p[0],index:o},p[1])}i=Sr.get(i);var b=o.toLowerCase(),D=0;for(var L in i.coords){var B,G=i.coords[L];if(L.toLowerCase()===b||((B=G.name)===null||B===void 0?void 0:B.toLowerCase())===b)return te({space:i,id:L,index:D},G);D++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Od(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Md(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=Ce(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],c=o.range||o.refRange,f=s.range,p="";return s=="<percentage>"?(f=[0,100],p="%"):s=="<angle>"&&(p="deg"),{fromRange:c,toRange:f,suffix:p}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,c=o.toRange,f=o.suffix;return s&&c&&(a=Cs(s,c,a)),a=Mi(a,n),f&&(a+=f),a})};}return e}function Jx(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var We=Sr;Hc(We,"registry",{}),Hc(We,"DEFAULT_FORMAT",{type:"functions",name:"color"});var gr=new We({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),ir=(function(e){function t(r){var n,a;if(Pt(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=gr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var c=Vt(r.toXYZ_M,s);return a.white!==a.base.white&&(c=Ni(a.white,a.base.white,c)),c}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Ni(a.base.white,a.white,s),Vt(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=se(this,t,[r])}return Q(t,e),Ue(t)})(We);function Nd(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(sn.run("parse-start",r),r.color)return r.color;if(r.parsed=Id(r.str),r.parsed){var n=r.parsed.name;if(n==="color"){var a=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=dt(We.all),s;try{var c=function(){var Le=s.value,be=Le.getFormat("color");if(be){var De;if(a===be.id||(De=be.ids)!==null&&De!==void 0&&De.includes(a)){var Te=Object.keys(Le.coords).length,Pe=Array(Te).fill(0);return Pe.forEach(function(je,Ye){return Pe[Ye]=r.parsed.args[Ye]||0}),{v:{spaceId:Le.id,coords:Pe,alpha:i}}}}},f;for(o.s();!(s=o.n()).done;)if(f=c(),f)return f.v}catch(we){o.e(we);}finally{o.f();}var p="";if(a in We.registry){var b,D=(b=We.registry[a].formats)===null||b===void 0||(b=b.functions)===null||b===void 0||(b=b.color)===null||b===void 0?void 0:b.id;D&&(p="Did you mean color(".concat(D,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(p||"Missing a plugin?"))}else {var L=dt(We.all),B;try{var G=function(){var Le=B.value,be=Le.getFormat(n);if(be&&be.type==="function"){var De=1;(be.lastAlpha||Ld(r.parsed.args).alpha)&&(De=r.parsed.args.pop());var Te=r.parsed.args;return be.coordGrammar&&Object.entries(Le.coords).forEach(function(Pe,je){var Ye,qe=Ce(Pe,2),Xe=qe[0],ke=qe[1],$e=be.coordGrammar[je],ce=(Ye=Te[je])===null||Ye===void 0?void 0:Ye.type;if($e=$e.find(function(Je){return Je==ce}),!$e){var Me=ke.name||Xe;throw new TypeError("".concat(ce," not allowed for ").concat(Me," in ").concat(n,"()"))}var _e=$e.range;ce==="<percentage>"&&(_e||(_e=[0,1]));var Oe=ke.range||ke.refRange;_e&&Oe&&(Te[je]=Cs(_e,Oe,Te[je]));}),{v:{spaceId:Le.id,coords:Te,alpha:De}}}},K;for(L.s();!(B=L.n()).done;)if(K=G(),K)return K.v}catch(we){L.e(we);}finally{L.f();}}}else {var Y=dt(We.all),Z;try{for(Y.s();!(Z=Y.n()).done;){var ie=Z.value;for(var oe in ie.formats){var ue=ie.formats[oe];if(ue.type==="custom"&&!(ue.test&&!ue.test(r.str))){var fe=ue.parse(r.str);if(fe){var ge;return (ge=fe.alpha)!==null&&ge!==void 0||(fe.alpha=1),fe}}}}}catch(we){Y.e(we);}finally{Y.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function yt(e){if(!e)throw new TypeError("Empty color reference");Da(e)&&(e=Nd(e));var t=e.space||e.spaceId;return t instanceof We||(e.space=We.get(t)),e.alpha===void 0&&(e.alpha=1),e}function ka(e,t){return t=We.get(t),t.from(e)}function br(e,t){var r=We.resolveCoord(t,e.space),n=r.space,a=r.index,i=ka(e,n);return i[a]}function qd(e,t,r){return t=We.get(t),e.coords=t.to(e.space,r),e}function ln(e,t,r){if(e=yt(e),arguments.length===2&&on(arguments[1])==="object"){var n=arguments[1];for(var a in n)ln(e,a,n[a]);}else {typeof r=="function"&&(r=r(br(e,t)));var i=We.resolveCoord(t,e.space),o=i.space,s=i.index,c=ka(e,o);c[s]=r,qd(e,o,c);}return e}var Rs=new We({id:"xyz-d50",name:"XYZ D50",white:"D50",base:gr,fromBase:function(t){return Ni(gr.white,"D50",t)},toBase:function(t){return Ni("D50",gr.white,t)},formats:{color:{}}}),Yx=216/24389,Bd=24/116,qi=24389/27,Fs=kr.D50,sr=new We({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Fs,base:Rs,fromBase:function(t){var r=t.map(function(a,i){return a/Fs[i]}),n=r.map(function(a){return a>Yx?Math.cbrt(a):(qi*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Bd?Math.pow(r[0],3):(116*r[0]-16)/qi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/qi,r[2]>Bd?Math.pow(r[2],3):(116*r[2]-16)/qi];return n.map(function(a,i){return a*Fs[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Bi(e){return (e%360+360)%360}function Zx(e,t){if(e==="raw")return t;var r=t.map(Bi),n=Ce(r,2),a=n[0],i=n[1],o=i-a;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(a+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:a+=360):e==="shorter"&&(o>180?a+=360:o<-180&&(i+=360)),[a,i]}var Sa=new We({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:sr,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Bi(o)]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];return a<0&&(a=0),isNaN(i)&&(i=0),[n,a*Math.cos(i*Math.PI/180),a*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Hd=Math.pow(25,7),Hi=Math.PI,Vd=180/Hi,jn=Hi/180;function Is(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.kL,a=n===void 0?1:n,i=r.kC,o=i===void 0?1:i,s=r.kH,c=s===void 0?1:s,f=sr.from(e),p=Ce(f,3),b=p[0],D=p[1],L=p[2],B=Sa.from(sr,[b,D,L])[1],G=sr.from(t),K=Ce(G,3),Y=K[0],Z=K[1],ie=K[2],oe=Sa.from(sr,[Y,Z,ie])[1];B<0&&(B=0),oe<0&&(oe=0);var ue=(B+oe)/2,fe=Math.pow(ue,7),ge=.5*(1-Math.sqrt(fe/(fe+Hd))),we=(1+ge)*D,Le=(1+ge)*Z,be=Math.sqrt(Math.pow(we,2)+Math.pow(L,2)),De=Math.sqrt(Math.pow(Le,2)+Math.pow(ie,2)),Te=we===0&&L===0?0:Math.atan2(L,we),Pe=Le===0&&ie===0?0:Math.atan2(ie,Le);Te<0&&(Te+=2*Hi),Pe<0&&(Pe+=2*Hi),Te*=Vd,Pe*=Vd;var je=Y-b,Ye=De-be,qe=Pe-Te,Xe=Te+Pe,ke=Math.abs(qe),$e;be*De===0?$e=0:ke<=180?$e=qe:qe>180?$e=qe-360:qe<-180?$e=qe+360:console.log("the unthinkable has happened");var ce=2*Math.sqrt(De*be)*Math.sin($e*jn/2),Me=(b+Y)/2,_e=(be+De)/2,Oe=Math.pow(_e,7),Je;be*De===0?Je=Xe:ke<=180?Je=Xe/2:Xe<360?Je=(Xe+360)/2:Je=(Xe-360)/2;var Ne=Math.pow(Me-50,2),Ve=1+.015*Ne/Math.sqrt(20+Ne),ut=1+.045*_e,wt=1;wt-=.17*Math.cos((Je-30)*jn),wt+=.24*Math.cos(2*Je*jn),wt+=.32*Math.cos((3*Je+6)*jn),wt-=.2*Math.cos((4*Je-63)*jn);var kt=1+.015*_e*wt,Bt=30*Math.exp(-1*Math.pow((Je-275)/25,2)),zt=2*Math.sqrt(Oe/(Oe+Hd)),jt=-1*Math.sin(2*Bt*jn)*zt,Rt=Math.pow(je/(a*Ve),2);return Rt+=Math.pow(Ye/(o*ut),2),Rt+=Math.pow(ce/(c*kt),2),Rt+=jt*(Ye/(o*ut))*(ce/(c*kt)),Math.sqrt(Rt)}var Qx=75e-6;function Ca(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.epsilon,a=n===void 0?Qx:n;e=yt(e),t=We.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function Ta(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function un(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Lr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(Da(arguments[1])&&(i=arguments[1]),i=We.get(i),Ca(e,i,{epsilon:0}))return e;var o=vr(e,i);if(n!=="clip"&&!Ca(e,i)){var s=un(Ta(o),{method:"clip",space:i});if(Is(e,s)>2){for(var c=We.resolveCoord(n),f=c.space,p=c.id,b=vr(o,f),D=c.range||c.refRange,L=D[0],B=.01,G=L,K=br(b,p);K-G>B;){var Y=Ta(b);Y=un(Y,{space:i,method:"clip"});var Z=Is(b,Y);Z-2<B?G=br(b,p):K=br(b,p),ln(b,p,(G+K)/2);}o=vr(b,i);}else o=s;}if(n==="clip"||!Ca(o,i,{epsilon:0})){var ie=Object.values(i.coords).map(function(oe){return oe.range||[]});o.coords=o.coords.map(function(oe,ue){var fe=Ce(ie[ue],2),ge=fe[0],we=fe[1];return ge!==void 0&&(oe=Math.max(ge,oe)),we!==void 0&&(oe=Math.min(oe,we)),oe});}return i!==e.space&&(o=vr(o,e.space)),e.coords=o.coords,e}un.returns="color";function vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=yt(e),t=We.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=un(i)),i}vr.returns="color";function Vi(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Lr.precision:a,o=n.format,s=o===void 0?"default":o,c=n.inGamut,f=c===void 0?true:c,p=W(n,w),b;e=yt(e);var D=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:We.DEFAULT_FORMAT,f||(f=s.toGamut);var L=e.coords;if(L=L.map(function(oe){return oe||0}),f&&!Ca(e)&&(L=un(Ta(e),f===true?void 0:f).coords),s.type==="custom")if(p.precision=i,s.serialize)b=s.serialize(L,e.alpha,p);else throw new TypeError("format ".concat(D," can only be used to parse colors, not for serialization"));else {var B=s.name||"color";s.serializeCoords?L=s.serializeCoords(L,i):i!==null&&(L=L.map(function(oe){return Mi(oe,i)}));var G=le(L);if(B==="color"){var K,Y=s.id||((K=s.ids)===null||K===void 0?void 0:K[0])||e.space.id;G.unshift(Y);}var Z=e.alpha;i!==null&&(Z=Mi(Z,i));var ie=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(Z):"";b="".concat(B,"(").concat(G.join(s.commas?", ":" ")).concat(ie,")");}return b}var eA=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],tA=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],$i=new ir({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:eA,fromXYZ_M:tA,formats:{color:{}}}),ji=1.09929682680944,$d=.018053968510807,jd=new ir({id:"rec2020",name:"REC.2020",base:$i,toBase:function(t){return t.map(function(r){return r<$d*4.5?r/4.5:Math.pow((r+ji-1)/ji,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=$d?ji*Math.pow(r,.45)-(ji-1):4.5*r})},formats:{color:{}}}),rA=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],nA=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],zd=new ir({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:rA,fromXYZ_M:nA}),aA=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],iA=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Gd=new ir({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:aA,fromXYZ_M:iA,formats:{color:{}}}),Ud={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},Wd=Array(3).fill("<percentage> | <number>[0, 255]"),Xd=Array(3).fill("<number>[0, 255]"),Ra=new ir({id:"srgb",name:"sRGB",base:Gd,fromBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a>.0031308?n*(1.055*Math.pow(a,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a<.04045?r/12.92:n*Math.pow((a+.055)/1.055,2.4)})},formats:{rgb:{coords:Wd},rgb_number:{name:"rgb",commas:true,coords:Xd,noAlpha:true},color:{},rgba:{coords:Wd,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Xd},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(n){r.push(parseInt(n,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.collapse,i=a===void 0?true:a;r<1&&t.push(r),t=t.map(function(c){return Math.round(c*255)});var o=i&&t.every(function(c){return c%17===0}),s=t.map(function(c){return o?(c/17).toString(16):c.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=Ud.black,r.alpha=0):r.coords=Ud[t],r.coords)return r}}}}),Kd=new ir({id:"p3",name:"P3",base:zd,fromBase:Ra.fromBase,toBase:Ra.toBase,formats:{color:{id:"display-p3"}}});if(Lr.display_space=Ra,typeof CSS<"u"&&(Ee=CSS)!==null&&Ee!==void 0&&Ee.supports)for(var Ls=0,Jd=[sr,jd,Kd];Ls<Jd.length;Ls++){var Ps=Jd[Ls],oA=Ps.getMinCoords(),sA={space:Ps,coords:oA,alpha:1},lA=Vi(sA);if(CSS.supports("color",lA)){Lr.display_space=Ps;break}}function uA(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Lr.display_space:n,i=W(r,x),o=Vi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Lr.display_space)o=new String(o),o.color=e;else {var s=vr(e,a);o=new String(Vi(s,i)),o.color=s;}return o}function Yd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=We.get(r);var n=r.from(e),a=r.from(t);return Math.sqrt(n.reduce(function(i,o,s){var c=a[s];return isNaN(o)||isNaN(c)?i:i+Math.pow(c-o,2)},0))}function cA(e,t){return e=yt(e),t=yt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function cn(e){return br(e,[gr,"y"])}function Zd(e,t){ln(e,[gr,"y"],t);}function dA(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return cn(this)},set:function(r){Zd(this,r);}});}var fA=Object.freeze({__proto__:null,getLuminance:cn,setLuminance:Zd,register:dA});function mA(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var pA=.56,hA=.57,gA=.62,bA=.65,Qd=.022,vA=1.414,yA=.1,wA=5e-4,xA=1.14,ef=.027,AA=1.14;function tf(e){return e>=Qd?e:e+Math.pow(Qd-e,vA)}function zn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function _A(e,t){t=yt(t),e=yt(e);var r,n,a,i,o,s;t=vr(t,"srgb");var c=Ce(t.coords,3);i=c[0],o=c[1],s=c[2];var f=zn(i)*.2126729+zn(o)*.7151522+zn(s)*.072175;e=vr(e,"srgb");var p=Ce(e.coords,3);i=p[0],o=p[1],s=p[2];var b=zn(i)*.2126729+zn(o)*.7151522+zn(s)*.072175,D=tf(f),L=tf(b),B=L>D;return Math.abs(L-D)<wA?n=0:B?(r=Math.pow(L,pA)-Math.pow(D,hA),n=r*xA):(r=Math.pow(L,bA)-Math.pow(D,gA),n=r*AA),Math.abs(n)<yA?a=0:n>0?a=n-ef:a=n+ef,a*100}function EA(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}var i=r+n;return i===0?0:(r-n)/i}var DA=5e4;function kA(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?DA:(r-n)/n}function SA(e,t){e=yt(e),t=yt(t);var r=br(e,[sr,"l"]),n=br(t,[sr,"l"]);return Math.abs(r-n)}var CA=216/24389,rf=24/116,zi=24389/27,Ms=kr.D65,Os=new We({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ms,base:gr,fromBase:function(t){var r=t.map(function(a,i){return a/Ms[i]}),n=r.map(function(a){return a>CA?Math.cbrt(a):(zi*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>rf?Math.pow(r[0],3):(116*r[0]-16)/zi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/zi,r[2]>rf?Math.pow(r[2],3):(116*r[2]-16)/zi];return n.map(function(a,i){return a*Ms[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Ns=Math.pow(5,.5)*.5+.5;function TA(e,t){e=yt(e),t=yt(t);var r=br(e,[Os,"l"]),n=br(t,[Os,"l"]),a=Math.abs(Math.pow(r,Ns)-Math.pow(n,Ns)),i=Math.pow(a,1/Ns)*Math.SQRT2-40;return i<7.5?0:i}var Gi=Object.freeze({__proto__:null,contrastWCAG21:mA,contrastAPCA:_A,contrastMichelson:EA,contrastWeber:kA,contrastLstar:SA,contrastDeltaPhi:TA});function RA(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Da(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=W(n,E);if(!a){var o=Object.keys(Gi).map(function(c){return c.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=yt(e),t=yt(t);for(var s in Gi)if("contrast"+a.toLowerCase()===s.toLowerCase())return Gi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function nf(e){var t=ka(e,gr),r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=n+15*a+3*i;return [4*n/o,9*a/o]}function af(e){var t=ka(e,gr),r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function FA(e){Object.defineProperty(e.prototype,"uv",{get:function(){return nf(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return af(this)}});}var IA=Object.freeze({__proto__:null,uv:nf,xy:af,register:FA});function LA(e,t){return Yd(e,t,"lab")}var PA=Math.PI,of=PA/180;function MA(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.l,a=n===void 0?2:n,i=r.c,o=i===void 0?1:i,s=sr.from(e),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=Sa.from(sr,[f,p,b]),L=Ce(D,3),B=L[1],G=L[2],K=sr.from(t),Y=Ce(K,3),Z=Y[0],ie=Y[1],oe=Y[2],ue=Sa.from(sr,[Z,ie,oe])[1];B<0&&(B=0),ue<0&&(ue=0);var fe=f-Z,ge=B-ue,we=p-ie,Le=b-oe,be=Math.pow(we,2)+Math.pow(Le,2)-Math.pow(ge,2),De=.511;f>=16&&(De=.040975*f/(1+.01765*f));var Te=.0638*B/(1+.0131*B)+.638,Pe;Number.isNaN(G)&&(G=0),G>=164&&G<=345?Pe=.56+Math.abs(.2*Math.cos((G+168)*of)):Pe=.36+Math.abs(.4*Math.cos((G+35)*of));var je=Math.pow(B,4),Ye=Math.sqrt(je/(je+1900)),qe=Te*(Ye*Pe+1-Ye),Xe=Math.pow(fe/(a*De),2);return Xe+=Math.pow(ge/(o*Te),2),Xe+=be/Math.pow(qe,2),Math.sqrt(Xe)}var sf=203,qs=new We({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:gr,fromBase:function(t){return t.map(function(r){return Math.max(r*sf,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/sf,0)})}}),Ui=1.15,Wi=.66,lf=2610/Math.pow(2,14),OA=Math.pow(2,14)/2610,uf=3424/Math.pow(2,12),cf=2413/Math.pow(2,7),df=2392/Math.pow(2,7),NA=1.7*2523/Math.pow(2,5),ff=Math.pow(2,5)/(1.7*2523),Xi=-0.56,Bs=16295499532821565e-27,qA=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],BA=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],HA=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],VA=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],mf=new We({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:qs,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=Ui*n-(Ui-1)*i,s=Wi*a-(Wi-1)*n,c=Vt(qA,[o,s,i]),f=c.map(function(K){var Y=uf+cf*Math.pow(K/1e4,lf),Z=1+df*Math.pow(K/1e4,lf);return Math.pow(Y/Z,NA)}),p=Vt(HA,f),b=Ce(p,3),D=b[0],L=b[1],B=b[2],G=(1+Xi)*D/(1+Xi*D)-Bs;return [G,L,B]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=(n+Bs)/(1+Xi-Xi*(n+Bs)),s=Vt(VA,[o,a,i]),c=s.map(function(K){var Y=uf-Math.pow(K,ff),Z=df*Math.pow(K,ff)-cf,ie=1e4*Math.pow(Y/Z,OA);return ie}),f=Vt(BA,c),p=Ce(f,3),b=p[0],D=p[1],L=p[2],B=(b+(Ui-1)*L)/Ui,G=(D+(Wi-1)*B)/Wi;return [B,G,L]},formats:{color:{}}}),Hs=new We({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:mf,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Bi(o)]},toBase:function(t){return [t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function $A(e,t){var r=Hs.from(e),n=Ce(r,3),a=n[0],i=n[1],o=n[2],s=Hs.from(t),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=a-f,L=i-p;Number.isNaN(o)&&Number.isNaN(b)?(o=0,b=0):Number.isNaN(o)?o=b:Number.isNaN(b)&&(b=o);var B=o-b,G=2*Math.sqrt(i*p)*Math.sin(B/2*(Math.PI/180));return Math.sqrt(Math.pow(D,2)+Math.pow(L,2)+Math.pow(G,2))}var pf=3424/4096,hf=2413/128,gf=2392/128,bf=2610/16384,jA=2523/32,zA=16384/2610,vf=32/2523,GA=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],UA=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],WA=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],XA=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Vs=new We({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-0.5,.5],name:"CT"},cp:{refRange:[-0.5,.5],name:"CP"}},base:qs,fromBase:function(t){var r=Vt(GA,t);return KA(r)},toBase:function(t){var r=JA(t);return Vt(XA,r)},formats:{color:{}}});function KA(e){var t=e.map(function(r){var n=pf+hf*Math.pow(r/1e4,bf),a=1+gf*Math.pow(r/1e4,bf);return Math.pow(n/a,jA)});return Vt(UA,t)}function JA(e){var t=Vt(WA,e),r=t.map(function(n){var a=Math.max(Math.pow(n,vf)-pf,0),i=hf-gf*Math.pow(n,vf);return 1e4*Math.pow(a/i,zA)});return r}function YA(e,t){var r=Vs.from(e),n=Ce(r,3),a=n[0],i=n[1],o=n[2],s=Vs.from(t),c=Ce(s,3),f=c[0],p=c[1],b=c[2];return 720*Math.sqrt(Math.pow(a-f,2)+.25*Math.pow(i-p,2)+Math.pow(o-b,2))}var ZA=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],QA=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],e_=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],t_=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Ki=new We({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:gr,fromBase:function(t){var r=Vt(ZA,t),n=r.map(function(a){return Math.cbrt(a)});return Vt(e_,n)},toBase:function(t){var r=Vt(t_,t),n=r.map(function(a){return Math.pow(a,3)});return Vt(QA,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function r_(e,t){var r=Ki.from(e),n=Ce(r,3),a=n[0],i=n[1],o=n[2],s=Ki.from(t),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=a-f,L=i-p,B=o-b;return Math.sqrt(Math.pow(D,2)+Math.pow(L,2)+Math.pow(B,2))}var $s=Object.freeze({__proto__:null,deltaE76:LA,deltaECMC:MA,deltaE2000:Is,deltaEJz:$A,deltaEITP:YA,deltaEOK:r_});function Fa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Da(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Lr.deltaE:a,o=W(n,k);e=yt(e),t=yt(t);for(var s in $s)if("deltae"+i.toLowerCase()===s.toLowerCase())return $s[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function n_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=We.get("oklch","lch"),n=[r,"l"];return ln(e,n,function(a){return a*(1+t)})}function a_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=We.get("oklch","lch"),n=[r,"l"];return ln(e,n,function(a){return a*(1-t)})}var i_=Object.freeze({__proto__:null,lighten:n_,darken:a_});function yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=[yt(e),yt(t)];if(e=a[0],t=a[1],on(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,c=o.outputSpace,f=o.premultiplied,p=Ia(e,t,{space:s,outputSpace:c,premultiplied:f});return p(r)}function wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(js(e)){n=e,r=t;var a=Ce(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,c=i.steps,f=c===void 0?2:c,p=i.maxSteps,b=p===void 0?1e3:p,D=W(i,_);if(!n){var L=[yt(e),yt(t)];e=L[0],t=L[1],n=Ia(e,t,D);}var B=Fa(e,t),G=o>0?Math.max(f,Math.ceil(B/o)+1):f,K=[];if(b!==void 0&&(G=Math.min(G,b)),G===1)K=[{p:.5,color:n(.5)}];else {var Y=1/(G-1);K=Array.from({length:G},function(we,Le){var be=Le*Y;return {p:be,color:n(be)}});}if(o>0)for(var Z=K.reduce(function(we,Le,be){if(be===0)return 0;var De=Fa(Le.color,K[be-1].color,s);return Math.max(we,De)},0);Z>o;){Z=0;for(var ie=1;ie<K.length&&K.length<b;ie++){var oe=K[ie-1],ue=K[ie],fe=(ue.p+oe.p)/2,ge=n(fe);Z=Math.max(Z,Fa(ge,oe.color),Fa(ge,ue.color)),K.splice(ie,0,{p:fe,color:n(fe)}),ie++;}}return K=K.map(function(we){return we.color}),K}function Ia(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(js(e)){var n=e,a=t;return Ia.apply(void 0,le(n.rangeArgs.colors).concat([te({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,c=r.premultiplied;e=yt(e),t=yt(t),e=Ta(e),t=Ta(t);var f={colors:[e,t],options:r};if(i?i=We.get(i):i=We.registry[Lr.interpolationSpace]||e.space,o=o?We.get(o):i,e=vr(e,i),t=vr(t,i),e=un(e),t=un(t),i.coords.h&&i.coords.h.type==="angle"){var p=r.hue=r.hue||"shorter",b=[i,"h"],D=[br(e,b),br(t,b)],L=D[0],B=D[1],G=Zx(p,[L,B]),K=Ce(G,2);L=K[0],B=K[1],ln(e,b,L),ln(t,b,B);}return c&&(e.coords=e.coords.map(function(Y){return Y*e.alpha}),t.coords=t.coords.map(function(Y){return Y*t.alpha})),Object.assign(function(Y){Y=s?s(Y):Y;var Z=e.coords.map(function(ue,fe){var ge=t.coords[fe];return Oi(ue,ge,Y)}),ie=Oi(e.alpha,t.alpha,Y),oe={space:i,coords:Z,alpha:ie};return c&&(oe.coords=oe.coords.map(function(ue){return ue/ie})),o!==i&&(oe=vr(oe,o)),oe},{rangeArgs:f})}function js(e){return on(e)==="function"&&!!e.rangeArgs}Lr.interpolationSpace="lab";function o_(e){e.defineFunction("mix",yf,{returns:"color"}),e.defineFunction("range",Ia,{returns:"function<color>"}),e.defineFunction("steps",wf,{returns:"array<color>"});}var s_=Object.freeze({__proto__:null,mix:yf,steps:wf,range:Ia,isRange:js,register:o_}),xf=new We({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Ra,fromBase:function(t){var r=Math.max.apply(Math,le(t)),n=Math.min.apply(Math,le(t)),a=Ce(t,3),i=a[0],o=a[1],s=a[2],c=NaN,f=0,p=(n+r)/2,b=r-n;if(b!==0){switch(f=p===0||p===1?0:(r-p)/Math.min(p,1-p),r){case i:c=(o-s)/b+(o<s?6:0);break;case o:c=(s-i)/b+2;break;case s:c=(i-o)/b+4;}c=c*60;}return [c,f*100,p*100]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];n=n%360,n<0&&(n+=360),a/=100,i/=100;function o(s){var c=(s+n/30)%12,f=a*Math.min(i,1-i);return i-f*Math.max(-1,Math.min(c-3,9-c,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),Af=new We({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:xf,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i+a*Math.min(i,1-i);return [n,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i*(1-a/2);return [n,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),l_=new We({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:Af,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=a+i;if(o>=1){var s=a/o;return [n,0,s*100]}var c=1-i,f=c===0?0:1-a/c;return [n,f*100,c*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),u_=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],c_=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],_f=new ir({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:u_,fromXYZ_M:c_}),d_=new ir({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:_f,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),f_=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],m_=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Ef=new ir({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Rs,toXYZ_M:f_,fromXYZ_M:m_}),p_=1/512,h_=16/512,g_=new ir({id:"prophoto",name:"ProPhoto",base:Ef,toBase:function(t){return t.map(function(r){return r<h_?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=p_?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),b_=new We({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Ki,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Bi(o)]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=a*Math.cos(i*Math.PI/180),s=a*Math.sin(i*Math.PI/180)),[n,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Df=203,kf=2610/Math.pow(2,14),v_=Math.pow(2,14)/2610,y_=2523/Math.pow(2,5),Sf=Math.pow(2,5)/2523,Cf=3424/Math.pow(2,12),Tf=2413/Math.pow(2,7),Rf=2392/Math.pow(2,7),w_=new ir({id:"rec2100pq",name:"REC.2100-PQ",base:$i,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Sf)-Cf,0)/(Tf-Rf*Math.pow(r,Sf)),v_);return n*1e4/Df})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Df/1e4,0),a=Cf+Tf*Math.pow(n,kf),i=1+Rf*Math.pow(n,kf);return Math.pow(a/i,y_)})},formats:{color:{id:"rec2100-pq"}}}),Ff=.17883277,If=.28466892,Lf=.55991073,zs=3.7743,x_=new ir({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:$i,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*zs:Math.exp((r-Lf)/Ff+If)/12*zs})},fromBase:function(t){return t.map(function(r){return r/=zs,r<=1/12?Math.sqrt(3*r):Ff*Math.log(12*r-If)+Lf})},formats:{color:{id:"rec2100-hlg"}}}),Pf={};sn.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Mf(e.W1,e.W2,e.options.method));}),sn.add("chromatic-adaptation-end",function(e){e.M||(e.M=Mf(e.W1,e.W2,e.options.method));});function Ji(e){var t=e.id;e.toCone_M;e.fromCone_M;Pf[t]=arguments[0];}function Mf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Pf[r],a=Vt(n.toCone_M,e),i=Ce(a,3),o=i[0],s=i[1],c=i[2],f=Vt(n.toCone_M,t),p=Ce(f,3),b=p[0],D=p[1],L=p[2],B=[[b/o,0,0],[0,D/s,0],[0,0,L/c]],G=Vt(B,n.toCone_M),K=Vt(n.fromCone_M,G);return K}Ji({id:"von Kries",toCone_M:[[.40024,.7076,-0.08081],[-0.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Ji({id:"Bradford",toCone_M:[[.8951,.2664,-0.1614],[-0.7502,1.7135,.0367],[.0389,-0.0685,1.0296]],fromCone_M:[[.9869929,-0.1470543,.1599627],[.4323053,.5183603,.0492912],[-85287e-7,.0400428,.9684867]]}),Ji({id:"CAT02",toCone_M:[[.7328,.4296,-0.1624],[-0.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-0.278869,.1827452],[.454369,.4735332,.0720978],[-96276e-7,-5698e-6,1.0153256]]}),Ji({id:"CAT16",toCone_M:[[.401288,.650173,-0.051461],[-0.250268,1.204414,.045854],[-2079e-6,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-0.008973985167612518],[-0.01584149884933386,-0.03412293802851557,1.04996443687785]]}),Object.assign(kr,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),kr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var A_=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],__=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Of=new ir({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:kr.ACES,toXYZ_M:A_,fromXYZ_M:__,formats:{color:{}}}),Yi=Math.pow(2,-16),Gs=-0.35828683,Zi=(Math.log2(65504)+9.72)/17.52,E_=new ir({id:"acescc",name:"ACEScc",coords:{r:{range:[Gs,Zi],name:"Red"},g:{range:[Gs,Zi],name:"Green"},b:{range:[Gs,Zi],name:"Blue"}},referred:"scene",base:Of,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Yi)*2:n<Zi?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Yi)+9.72)/17.52:r<Yi?(Math.log2(Yi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Nf=Object.freeze({__proto__:null,XYZ_D65:gr,XYZ_D50:Rs,XYZ_ABS_D65:qs,Lab_D65:Os,Lab:sr,LCH:Sa,sRGB_Linear:Gd,sRGB:Ra,HSL:xf,HWB:l_,HSV:Af,P3_Linear:zd,P3:Kd,A98RGB_Linear:_f,A98RGB:d_,ProPhoto_Linear:Ef,ProPhoto:g_,REC_2020_Linear:$i,REC_2020:jd,OKLab:Ki,OKLCH:b_,Jzazbz:mf,JzCzHz:Hs,ICTCP:Vs,REC_2100_PQ:w_,REC_2100_HLG:x_,ACEScg:Of,ACEScc:E_}),Dt=(Ae=new WeakMap,(function(){function e(){var t=this;Pt(this,e),pe(this,Ae,void 0);for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];a.length===1&&(r=yt(a[0]));var o,s,c;r?(o=r.space||r.spaceId,s=r.coords,c=r.alpha):(o=a[0],s=a[1],c=a[2]),ft(Ae,this,We.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=c<1?c:1;for(var f=0;f<this.coords.length;f++)this.coords[f]==="NaN"&&(this.coords[f]=NaN);var p=function(L){Object.defineProperty(t,L,{get:function(){return t.get(L)},set:function(G){return t.set(L,G)}});};for(var b in ze(Ae,this).coords)p(b);}return Ue(e,[{key:"space",get:function(){return ze(Ae,this)}},{key:"spaceId",get:function(){return ze(Ae,this).id}},{key:"clone",value:function(){return new Dt(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=uA.apply(void 0,[this].concat(n));return i.color=new Dt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof Dt)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return V(Dt,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,c=function(){var p=n.apply(void 0,arguments);if(s==="color")p=Dt.get(p);else if(s==="function<color>"){var b=p;p=function(){var L=b.apply(void 0,arguments);return Dt.get(L)},Object.assign(p,b);}else s==="array<color>"&&(p=p.map(function(D){return Dt.get(D)}));return p};r in Dt||(Dt[r]=c),o&&(Dt.prototype[r]=function(){for(var f=arguments.length,p=new Array(f),b=0;b<f;b++)p[b]=arguments[b];return c.apply(void 0,[this].concat(p))});}},{key:"defineFunctions",value:function(r){for(var n in r)Dt.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(Dt);else for(var n in r)Dt.defineFunction(n,r[n]);}}])})());Dt.defineFunctions({get:br,getAll:ka,set:ln,setAll:qd,to:vr,equals:cA,inGamut:Ca,toGamut:un,distance:Yd,toString:Vi}),Object.assign(Dt,{util:Wx,hooks:sn,WHITES:kr,Space:We,spaces:We.registry,parse:Nd,defaults:Lr});for(var Us=0,qf=Object.keys(Nf);Us<qf.length;Us++){var D_=qf[Us];We.register(Nf[D_]);}for(var Bf in We.registry)Ws(Bf,We.registry[Bf]);sn.add("colorspace-init-end",function(e){var t;Ws(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){Ws(r,e);});});function Ws(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(Dt.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,c){try{return We.resolveCoord([t,c]),!0}catch{}return Reflect.has(s,c)},get:function(s,c,f){if(c&&ye(c)!=="symbol"&&!(c in s)){var p=We.resolveCoord([t,c]),b=p.index;if(b>=0)return s[b]}return Reflect.get(s,c,f)},set:function(s,c,f,p){if(c&&ye(c)!=="symbol"&&!(c in s)||c>=0){var b=We.resolveCoord([t,c]),D=b.index;if(D>=0)return s[D]=f,a.setAll(e,s),true}return Reflect.set(s,c,f,p)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}Dt.extend($s),Dt.extend({deltaE:Fa}),Dt.extend(i_),Dt.extend({contrast:RA}),Dt.extend(IA),Dt.extend(fA),Dt.extend(s_),Dt.extend(Gi);var Hf=Fr(ud());an.default.templateSettings.strip=false,m._memoizedFns=[];function k_(e){var t=(0, Fd.default)(e);return m._memoizedFns.push(t),t}var Ct=k_,S_=Ct(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),La=S_;function Xs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||d;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var C_=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],T_=31,R_=/([\\"])/g,F_=/(\r\n|\r|\n)/g;function Ks(e){return e.replace(R_,"\\$1").replace(F_,"\\a ")}function Vf(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Cd(e.getAttribute(r));a?n=qt(t.name)+'$="'+Ks(a)+'"':n=qt(t.name)+'="'+Ks(e.getAttribute(r))+'"';}else n=qt(r)+'="'+Ks(t.value)+'"';return n}function Js(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function $f(e){return !C_.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<T_)}function Qi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var c=s.nodeName;t.tags[c]?t.tags[c]++:t.tags[c]=1,s.classList&&Array.from(s.classList).forEach(function(f){var p=qt(f);t.classes[p]?t.classes[p]++:t.classes[p]=1;}),s.hasAttributes()&&Array.from(Ea(s)).filter($f).forEach(function(f){var p=Vf(s,f);p&&(t.attributes[p]?t.attributes[p]++:t.attributes[p]=1);});}for(o.children.length&&(n.push(r),r=o.children.slice());!r.length&&n.length;)r=n.pop();};r.length;)a();return t}function I_(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=qt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Js)}function L_(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&$n(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function P_(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||d,r="#"+qt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function jf(e){var t=La(d);return qt(t?e.localName:e.nodeName.toLowerCase())}function M_(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Ea(e)).filter($f).forEach(function(i){var o=Vf(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Js)}function O_(e,t){var r="",n,a=I_(e,t),i=M_(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=jf(e)):(n=a.concat(i),n.sort(Js),n=n.slice(0,3),n.some(function(o){return o.species==="class"})?n.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=jf(e)),r+=n.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function N_(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=P_(e);s||(s=O_(e,m._selectorData),s+=L_(e,s)),i?i=s+" > "+i:i=s,!o||o.length>tt.selectorSimilarFilterLimit?o=B_(r,i):o=o.filter(function(c){return $n(c,i)}),e=e.parentElement;}while((o.length>1||a)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function q_(e,t){return Xs(N_,e,t)}var Ys=Ct(q_),B_=Ct(function(e,t){return Array.from(e.querySelectorAll(t))});function zf(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if(t!=="head"&&t!=="body"&&n?.children.length>1){var i=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(i,")");}return r?zf(r)+" > "+t+a:t+a}function eo(e,t){return Xs(zf,e,t)}function Gf(e,t){var r,n;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Gf(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&n++,r=r.previousSibling;while(r);n===1&&(n=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&qt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a);}return t}function H_(e){return e.reduce(function(t,r){return r.id?"//".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function V_(e){var t=Gf(e);return H_(t)}var Uf=V_,Pa={},$_={set:function(t,r){j_(t),Pa[t]=r;},get:function(t,r){if(z_(r),t in Pa)return Pa[t];if(typeof r=="function"){var n=r();return pt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),Pa[t]}},clear:function(){Pa={};}};function j_(e){pt(typeof e=="string","key must be a string, "+ye(e)+" given"),pt(e!=="","key must not be empty");}function z_(e){pt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ye(e)+" given");}var et=$_;function G_(e,t){var r=t||e;return et.get("nodeMap")?et.get("nodeMap").get(r):null}var nt=G_;function Wf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,n=r===void 0?300:r,a=t.attrLimit,i=a===void 0?20:a;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Zs(s,n)}var c=U_(e);return c.length>n?W_(e,{maxLength:n,attrLimit:i}):c}function U_(e){var t=e.outerHTML;return !t&&typeof u.XMLSerializer=="function"&&(t=new u.XMLSerializer().serializeToString(e)),t||""}function W_(e,t){var r=t.maxLength,n=t.attrLimit,a=La(e.ownerDocument||d)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Ea(e)).map(function(B){var G=B.name,K=B.value;return {name:G,value:K}}),o=i.reduce(function(B,G){var K=G.name,Y=G.value;return B+K.length+Y.length+4},0);2+a.length+o>r&&i.forEach(function(B){B.name=Zs(B.name,n),B.value=Zs(B.value,n);});var s="<".concat(a),c=">",f=" ...>",p=dt(i),b;try{for(p.s();!(b=p.n()).done;){var D=b.value,L=" ".concat(D.name,'="').concat(D.value,'"');if(s.length+L.length>r-f.length){c=f;continue}s+=L;}}catch(B){p.e(B);}finally{p.f();}return s+c}function Zs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Xf="DqElm.RunOptions",kn=Ct(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=et.get(Xf))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Xt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=nt(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Wf(this._element);}return this});kn.prototype={get selector(){return this.spec.selector||[Ys(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[eo(this.element)]},get xpath(){return this.spec.xpath||[Uf(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},kn.fromFrame=function(t,r,n){var a=kn.mergeSpecs(t,n);return new kn(n.element,r,a)},kn.mergeSpecs=function(t,r){return te({},t,{selector:[].concat(le(r.selector),le(t.selector)),ancestry:[].concat(le(r.ancestry),le(t.ancestry)),xpath:[].concat(le(r.xpath),le(t.xpath)),nodeIndexes:[].concat(le(r.nodeIndexes),le(t.nodeIndexes)),fromFrame:true})},kn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;et.set(Xf,{elementRef:r,absolutePaths:n});};var yr=kn;function X_(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){u.Node&&(i instanceof u.Node||i instanceof Xt?i=[i]:i=Sd(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Xt&&(o=o.actualNode),o instanceof u.Node){var s=new yr(o);e.relatedNodes.push(s);}}));}}}var Qs=X_;function Ur(e){return el(e,new Map)}function el(e,t){var r,n;if(e===null||ye(e)!=="object"||(r=u)!==null&&r!==void 0&&r.Node&&e instanceof u.Node||(n=u)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof u.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(s){a.push(el(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=el(e[o],t);return i}var Ma=new Rd.CssSelectorParser;Ma.registerSelectorPseudos("not"),Ma.registerSelectorPseudos("is"),Ma.registerNestingOperators(">"),Ma.registerAttrEqualityMods("^","$","*","~");var Kf=Ma;function tl(e,t){var r=to(t);return r.some(function(n){return Gn(e,n)})}function K_(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function J_(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Y_(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function Z_(e,t){return !t.id||e.props.id===t.id}function Q_(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Gn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Gn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Jf(e,t){return K_(e,t)&&J_(e,t)&&Y_(e,t)&&Z_(e,t)&&Q_(e,t)}var Oa=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),rl=/\\/g;function eE(e){if(e)return e.map(function(t){var r=t.name.replace(rl,""),n=(t.value||"").replace(rl,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+Oa(n));break;case "$=":i=new RegExp(Oa(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Oa(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Oa(n)+"(-|$)");break;case "=":a=function(s){return n===s};break;case "*=":a=function(s){return s&&s.includes(n)};break;case "!=":a=function(s){return n!==s};break;default:a=function(s){return s!==null};}return n===""&&/^[*$^]=$/.test(t.operator)&&(a=function(){return false}),a||(a=function(s){return s&&i.test(s)}),{key:r,value:n,type:typeof t.value>"u"?"attrExist":"attrValue",test:a}})}function tE(e){if(e)return e.map(function(t){return t=t.replace(rl,""),{value:t,regexp:new RegExp("(^|\\s)"+Oa(t)+"(\\s|$)")}})}function rE(e){if(e)return e.map(function(t){var r;return ["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=Yf(r)),{name:t.name,expressions:r,value:t.value}})}function Yf(e){return e.map(function(t){for(var r=[],n=t.rule;n;)r.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:eE(n.attrs),classes:tE(n.classNames),pseudos:rE(n.pseudos)}),n=n.rule;return r})}function to(e){var t=Kf.parse(e);return t=t.selectors?t.selectors:[t],Yf(t)}function Zf(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Jf(e,i);!o&&n&&e.parent;)e=e.parent,o=Jf(e,i);if(r>0){if([" ",">"].includes(i.combinator)===false)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&Zf(e.parent,t,r-1,i.combinator===" ");}return o}function Gn(e,t,r){return Zf(e,t,t.length-1,r)}function nE(e,t){for(;e;){if(tl(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var lr=nE;function ro(){}function nl(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function aE(){var e=[],t=0,r=0,n=ro,a=false,i,o=function(L){i=L,setTimeout(function(){i!=null&&Dn("Uncaught error (of queue)",i);},1);},s=o;function c(D){return function(L){e[D]=L,r-=1,!r&&n!==ro&&(a=true,n(e));}}function f(D){return n=ro,s(D),e}function p(){for(var D=e.length;t<D;t++){var L=e[t];try{L.call(null,c(t),f);}catch(B){f(B);}}}var b={defer:function(L){if(ye(L)==="object"&&L.then&&L.catch){var B=L;L=function(K,Y){B.then(K).catch(Y);};}if(nl(L),i===void 0){if(a)throw new Error("Queue already completed");return e.push(L),++r,p(),b}},then:function(L){if(nl(L),n!==ro)throw new Error("queue `then` already set");return i||(n=L,r||(a=true,n(e))),b},catch:function(L){if(nl(L),s!==o)throw new Error("queue `catch` already set");return i?(L(i),i=null):s=L,b},abort:f};return b}var Pr=aE,Un,Wn,al=u.crypto||u.msCrypto;if(!Wn&&al&&al.getRandomValues){var Qf=new Uint8Array(16);Wn=function(){return al.getRandomValues(Qf),Qf};}if(!Wn){var em=new Array(16);Wn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),em[t]=r>>>((t&3)<<3)&255;return em};}for(var tm=typeof u.Buffer=="function"?u.Buffer:Array,il=[],rm={},Xn=0;Xn<256;Xn++)il[Xn]=(Xn+256).toString(16).substr(1),rm[il[Xn]]=Xn;function iE(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){a<16&&(t[n+a++]=rm[i]);});a<16;)t[n+a++]=0;return t}function ol(e,t){var r=t||0,n=il;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var dn=Wn(),oE=[dn[0]|1,dn[1],dn[2],dn[3],dn[4],dn[5]],nm=(dn[6]<<8|dn[7])&16383,sl=0,ll=0;function am(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:nm,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:ll+1,c=o-sl+(s-ll)/1e4;if(c<0&&e.clockseq==null&&(i=i+1&16383),(c<0||o>sl)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");sl=o,ll=s,nm=i,o+=122192928e5;var f=((o&268435455)*1e4+s)%4294967296;a[n++]=f>>>24&255,a[n++]=f>>>16&255,a[n++]=f>>>8&255,a[n++]=f&255;var p=o/4294967296*1e4&268435455;a[n++]=p>>>8&255,a[n++]=p&255,a[n++]=p>>>24&15|16,a[n++]=p>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var b=e.node||oE,D=0;D<6;D++)a[n+D]=b[D];return t||ol(a)}function Sn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new tm(16):null,e=null),e=e||{};var a=e.random||(e.rng||Wn)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,t)for(var i=0;i<16;i++)t[n+i]=a[i];return t||ol(a)}Un=Sn,Un.v1=am,Un.v4=Sn,Un.parse=iE,Un.unparse=ol,Un.BufferClass=tm,m._uuid=am();var sE=Sn,lE=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function uE(e){var t=e.topic,r=e.channelId,n=e.message,a=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:a,keepalive:!!i,source:im()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function cE(e){var t;try{t=JSON.parse(e);}catch{return}if(dE(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=ye(t.error)==="object"?fE(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function dE(e){return e!==null&&ye(e)==="object"&&typeof e.channelId=="string"&&e.source===im()}function fE(e){var t=e.message||"Unknown error occurred",r=lE.includes(e.name)?e.name:"Error",n=u[r]||Error;return e.stack&&(t+=`
|
|
425
|
-
`+e.stack.replace(e.message,"")),new n(t)}function im(){var e="axeAPI",t="";return typeof m<"u"&&m._audit&&m._audit.application&&(e=m._audit.application),typeof m<"u"&&(t=m.version),e+"."+t}function ul(e){sm(e),pt(u.parent===e,"Source of the response must be the parent window.");}function om(e){sm(e),pt(e.parent===u,"Respondable target must be a frame in the current window");}function sm(e){pt(u!==e,"Messages can not be sent to the same window.");}var Na={};function mE(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;pt(!Object.prototype.hasOwnProperty.call(Na,e),"A replyHandler already exists for this message channel."),Na[e]={replyHandler:t,sendToParent:r};}function pE(e){return Object.prototype.hasOwnProperty.call(Na,e)?Na[e]:void 0}function hE(e){delete Na[e];}var no=[];function cl(){var e="".concat(Sn(),":").concat(Sn());return no.includes(e)?cl():(no.push(e),e)}function gE(e){return no.includes(e)?false:(no.push(e),true)}function dl(e,t,r,n){if(r?ul(e):om(e),t.message instanceof Error&&!r)return m.log(t.message),false;var a=uE(te({messageId:cl()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&mE(t.channelId,n,r),i.forEach(function(o){try{e.postMessage(a,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function bE(e,t,r){if(!e.parent!==u)return m.log(t);try{dl(e,{topic:null,channelId:r,message:t,messageId:cl(),keepalive:!0},!0);}catch(n){return m.log(n)}}function lm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(a,i,o){var s={channelId:t,message:a,keepalive:i};dl(e,s,r,o);}}function vE(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function yE(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=cE(n)||{},o=i.channelId,s=i.message,c=i.messageId;if(!vE(r)||!gE(c))return;if(s instanceof Error&&a.parent!==u)return m.log(s),!1;try{if(i.topic){var f=lm(a,o);ul(a),t(i,f);}else wE(a,i);}catch(p){bE(a,p,o);}}catch(p){return m.log(p),false}}function wE(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=pE(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?ul(e):om(e);var c=lm(e,r,s);!a&&r&&hE(r);try{o(n,a,c);}catch(f){m.log(f),c(f,a);}}}var xE={open:function(t){if(typeof u.addEventListener=="function"){var r=function(a){yE(a,t);};return u.addEventListener("message",r,false),function(){u.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof u.addEventListener!="function"?false:dl(t,r,false,n)}};function um(e){e.updateMessenger(xE);}var ao,cm,io={};function Cr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(Sn(),":").concat(Sn()),keepalive:n};return cm(e,i,a)}function AE(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(io,r)?io[r]:void 0;if(i)try{i(n,a,t);}catch(o){m.log(o),t(o,a);}}Cr.updateMessenger=function(t){var r=t.open,n=t.post;pt(typeof r=="function","open callback must be a function"),pt(typeof n=="function","post callback must be a function"),ao&&ao();var a=r(AE);a?(pt(typeof a=="function","open callback must return a cleanup function"),ao=a):ao=null,cm=n;},Cr.subscribe=function(t,r){pt(typeof r=="function","Subscriber callback must be a function"),pt(!Object.prototype.hasOwnProperty.call(io,t),"Topic ".concat(t," is already registered to.")),io[t]=r;},Cr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u;return !!t.frameElement},um(Cr);function dm(e,t,r,n){var a,i,o=e.contentWindow,s=(a=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&a!==void 0?a:500;if(!o){Dn("Frame does not have a content window",e),r(null);return}if(s===0){fm(e,t,r,n);return}var c=setTimeout(function(){c=setTimeout(function(){t.debug?n(mm("No response from frame",e)):r(null);},0);},s);Cr(o,"axe.ping",null,void 0,function(){clearTimeout(c),fm(e,t,r,n);});}function fm(e,t,r,n){var a,i,o=(a=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&a!==void 0?a:6e4,s=e.contentWindow,c=setTimeout(function(){n(mm("Axe in frame timed out",e));},o);Cr(s,"axe.start",t,void 0,function(f){clearTimeout(c),f instanceof Error?n(f):r(f);});}function mm(e,t){var r;return m._tree&&(r=Ys(t)),new Error(e+": "+(r||t))}var qa=null,Ba={update:function(t){pt(ye(t)==="object","serializer must be an object"),qa=t;},toSpec:function(t){return Ba.dqElmToSpec(new yr(t))},dqElmToSpec:function(t,r){var n;return t instanceof yr?(r&&(t=_E(t,r)),typeof((n=qa)===null||n===void 0?void 0:n.toSpec)=="function"?qa.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=qa)===null||n===void 0?void 0:n.mergeSpecs)=="function"?qa.mergeSpecs(t,r):yr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return te({},r,{nodes:Ba.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=W(r,y);a.node=Ba.dqElmToSpec(n);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];a[s]=a[s].map(function(c){var f=c.relatedNodes,p=W(c,A);return p.relatedNodes=f.map(Ba.dqElmToSpec),p});}return a})}},wr=Ba;function _E(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new yr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function EE(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var oo=EE;function DE(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&ye(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var Ha=DE;function kE(e,t,r){e.forEach(function(n){n.node=wr.mergeSpecs(n.node,r);var a=oo(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return wr.mergeSpecs(o,r)});});});}function SE(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=pm(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(le(t)));return}}e.push.apply(e,le(t));}function CE(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function TE(e,t){var r=[];return e.forEach(function(n){var a=CE(n);if(!(!a||!a.length)){var i=RE(n);a.forEach(function(o){o.nodes&&i&&kE(o.nodes,t,i);var s=Ha(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&SE(s.nodes,o.nodes),o.error){var c;(c=s.error)!==null&&c!==void 0||(s.error=o.error);}});}}),r.forEach(function(n){n.nodes&&n.nodes.sort(function(a,i){return pm(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function pm(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var so=TE;function RE(e){return e.frameElement?wr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function hm(e,t,r,n,a,i){t=te({},t,{elementRef:false});var o=Pr(),s=e.frames;s.forEach(function(c){var f=c.node,p=W(c,v);o.defer(function(b,D){var L={options:t,command:r,parameter:n,context:p};function B(G){return b(G?{results:G,frameElement:f}:null)}dm(f,L,B,D);});}),o.then(function(c){a(so(c,t));}).catch(i);}function Wr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function gm(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach(function(a){if(!(!a||ye(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ye(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=gm(e[s],a[s]);}}),e}var fl=gm;function FE(e,t){Object.assign(e,t),Object.keys(t).filter(function(r){return typeof t[r]=="function"}).forEach(function(r){e[r]=null;try{e[r]=t[r](e);}catch{}});}var ml=FE,IE=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function LE(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(IE.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var lo=LE,pl={};Ar(pl,{createGrid:function(){return za},findElmsInContext:function(){return bm},findNearbyElms:function(){return bo},findUp:function(){return Jn},findUpVirtual:function(){return Kn},focusDisabled:function(){return El},getComposedParent:function(){return Kt},getElementByReference:function(){return kl},getElementCoordinates:function(){return bl},getElementStack:function(){return Zm},getModalDialog:function(){return Wm},getNodeGrid:function(){return go},getOverflowHiddenAncestors:function(){return $a},getRootNode:function(){return Qt},getScrollOffset:function(){return Im},getTabbableElements:function(){return Qm},getTargetRects:function(){return yo},getTargetSize:function(){return ep},getTextElementStack:function(){return zl},getViewportSize:function(){return uo},getVisibleChildTextRects:function(){return jl},hasContent:function(){return ko},hasContentVirtual:function(){return Za},hasLangText:function(){return Ul},idrefs:function(){return Mr},insertedIntoFocusOrder:function(){return jp},isCurrentPageLink:function(){return Dl},isFixedPosition:function(){return co},isFocusable:function(){return $t},isHTML5:function(){return Up},isHiddenForEveryone:function(){return fn},isHiddenWithCSS:function(){return ok},isInTabOrder:function(){return xr},isInTextBlock:function(){return Wl},isInert:function(){return vo},isModalOpen:function(){return Qa},isMultiline:function(){return Xp},isNativelyFocusable:function(){return Tl},isNode:function(){return gk},isOffscreen:function(){return fo},isOpaque:function(){return kk},isSkipLink:function(){return Jl},isVisible:function(){return Ik},isVisibleOnScreen:function(){return ur},isVisibleToScreenReaders:function(){return Mt},isVisualContent:function(){return Gl},reduceToElementsBelowFloating:function(){return Kp},shadowElementsFromPoint:function(){return Mk},urlPropsFromAttribute:function(){return Vk},visuallyContains:function(){return Jp},visuallyOverlaps:function(){return Yl},visuallySort:function(){return Sl}});function PE(e){var t=e.getRootNode&&e.getRootNode()||d;return t===e&&(t=d),t}var Va=PE,Qt=Va;function ME(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=qt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Qt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var bm=ME;function OE(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var n=e.actualNode.closest(t);return n||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!$n(r,t)&&r!==d.documentElement);return !r||!$n(r,t)?null:r}var Kn=OE;function NE(e,t){return Kn(nt(e),t)}var Jn=NE;function hl(e,t){return (e.left|0)<(t.right|0)&&(e.right|0)>(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var vm=Ct(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(vm(t.parent))}),$a=vm,qE=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,BE=/(\w+)\((\d+)/;function ym(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function wm(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function xm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Am(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function _m(e){return e.attr("aria-hidden")==="true"}function Em(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Dm(e){var t=Jr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function km(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=e.getComputedStylePropertyValue("position");if(n==="fixed")return false;var a=$a(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!HE(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!hl(i,s)})}function Sm(e){var t=e.getComputedStylePropertyValue("clip").match(qE),r=e.getComputedStylePropertyValue("clip-path").match(BE);if(t&&t.length===5){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function gl(e,t){var r=lr(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=Va(e.actualNode);if(!a||a.nodeType!==9)return true;var i=fr(m._tree,'img[usemap="#'.concat(qt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Cm(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(n){return n.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function HE(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return true;r=r.parent;}return false}var VE=[wm,xm,Am,Cm];function fn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=n===void 0?false:n;return e=mt(e).vNode,r?Tm(e,a):Rm(e,a)}var Tm=Ct(function(t,r){return ym(t)?true:t.actualNode?!!(VE.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Rm=Ct(function(t,r){return Tm(t,r)?true:t.parent?Rm(t.parent,true):false});function Fm(e){if(e.assignedSlot)return Fm(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Kt=Fm;function $E(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return {left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return {left:e.scrollLeft,top:e.scrollTop}}var Im=$E;function jE(e){var t=Im(d),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var bl=jE;function zE(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var n=t.body;return {width:n.clientWidth,height:n.clientHeight}}var uo=zE;function co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=mt(e),a=n.vNode;return a?r?Lm(a):Pm(a):false}var Lm=Ct(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Pm=Ct(function(t){return Lm(t)?true:t.parent?Pm(t.parent):false});function GE(e,t){for(e=Kt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Kt(e);}return true}function UE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=mt(e),a=n.domNode;if(a){var i=d.documentElement,o=u.getComputedStyle(a),s=u.getComputedStyle(d.body||i).getPropertyValue("direction"),c=co(a),f=c?a.getBoundingClientRect():bl(a);if(f.top===0&&f.bottom===0||f.left===0&&f.right===0)return false;if(f.bottom<=0&&(GE(a,f.bottom)||o.position==="absolute"))return true;var p=uo(u);if(c&&f.top>=p.height)return true;var b=Math.max(i.scrollWidth,p.width);return !!((c||s==="rtl")&&f.left>=b||(c||s==="ltr")&&f.right<=0)}}var fo=UE,WE=[Em,Dm,km,Sm,fo];function ur(e){return e=mt(e).vNode,vl(e)}var vl=Ct(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!gl(t,vl):fn(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&WE.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?vl(t.parent,true):true});function yl(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new u.DOMRect(i,r,n-i,a-r)}function mo(e,t){var r=e.x,n=e.y,a=t.top,i=t.right,o=t.bottom,s=t.left;return n>=a&&r<=i&&n<=o&&r>=s}var Mm={};Ar(Mm,{getBoundingRect:function(){return yl},getIntersectionRect:function(){return po},getOffset:function(){return Nm},getRectCenter:function(){return ja},hasVisualOverlap:function(){return wl},isPointInRect:function(){return mo},rectHasMinimumSize:function(){return Xr},rectsOverlap:function(){return hl},splitRects:function(){return xl}});function po(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=n||a>=i?null:new u.DOMRect(r,a,n-r,i-a)}function ja(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new u.DOMPoint(t+n/2,r+a/2)}var Om=.05;function Xr(e,t){var r=t.width,n=t.height;return r+Om>=e&&n+Om>=e}function Nm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=yo(e),a=yo(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=ja(o),c=dt(a),f;try{for(c.s();!(f=c.n()).done;){var p=f.value;if(mo(s,p))return 0;var b=XE(s,p),D=qm(s,b);i=Math.min(i,D);}}catch(Y){c.e(Y);}finally{c.f();}var L=ep(t);if(Xr(r*2,L))return i;var B=a.reduce(yl),G=ja(B),K=qm(s,G)-r;return Math.max(0,Math.min(i,K))},1/0)}function XE(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function qm(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function wl(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top?false:Sl(e,t)>0}function xl(e,t){var r=Array.isArray(e)?e:[e],n=dt(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(c,f){return c.concat(KE(f,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(n.s();!(a=n.n()).done;)i();}catch(o){n.e(o);}finally{n.f();}return r}function KE(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right,o=r<t.bottom&&a>t.top,s=n<t.right&&i>t.left,c=[];if(ho(t.top,r,a)&&s&&c.push({top:r,left:n,bottom:t.top,right:i}),ho(t.right,n,i)&&o&&c.push({top:r,left:t.right,bottom:a,right:i}),ho(t.bottom,r,a)&&s&&c.push({top:t.bottom,right:i,bottom:a,left:n}),ho(t.left,n,i)&&o&&c.push({top:r,left:n,bottom:a,right:t.left}),c.length===0){if(YE(e,t))return [];c.push(e);}return c.map(JE)}var ho=function(t,r,n){return t>r&&t<n};function JE(e){return new u.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function YE(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Bm=0,ZE=.1,Hm=.2,Vm=.3,Al=0;function za(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(et.get("gridCreated")&&!r)return tt.gridSize;if(et.set("gridCreated",true),!r){var n=nt(d.documentElement);if(n||(n=new Zl(d.documentElement)),Al=0,n._stackingOrder=[zm(Bm,Al++,null)],t??(t=new _l),Gm(t,n),Jr(n.actualNode)){var a=new _l(n);n._subGrid=a;}}for(var i=d.createTreeWalker(e,u.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=nt(o);s&&s.parent?r=s.parent:o.assignedSlot?r=nt(o.assignedSlot):o.parentElement?r=nt(o.parentElement):o.parentNode&&nt(o.parentNode)&&(r=nt(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=QE(s,r,Al++);var c=r2(s,r),f=c?c._subGrid:t;if(Jr(s.actualNode)){var p=new _l(s);s._subGrid=p;}var b=s.boundingClientRect;b.width!==0&&b.height!==0&&ur(o)&&Gm(f,s),lo(o)&&za(o.shadowRoot,f,s),o=i.nextNode();}return tt.gridSize}function $m(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||n!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var a=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(a!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var c=e.getComputedStylePropertyValue("clip-path");if(c&&c!=="none")return true;var f=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(f!=="none")return true;var p=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(p!=="none")return true;var b=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(b!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var D=e.getComputedStylePropertyValue("will-change");if(D==="transform"||D==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var L=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(L)||n!=="auto"&&jm(t))}function jm(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function QE(e,t,r){var n=t._stackingOrder.slice();if($m(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Bm,Hm,Vm].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=e2(e,t);return i!==null&&n.push(zm(i,r,e)),n}function zm(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function e2(e,t){var r=t2(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Vm:e.getComputedStylePropertyValue("float")!=="none"?Hm:$m(e,t)?ZE:null:parseInt(r)}function t2(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!jm(t)?"auto":e.getComputedStylePropertyValue("z-index")}function r2(e,t){for(var r=null,n=[e];t;){if(Jr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=nt(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Gm(e,t){var r=$a(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,c){return s&&po(s,c.boundingClientRect)},n);if(i){(a=t._grid)!==null&&a!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var _l=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;Pt(this,e),this.container=t,this.cells=[];}return Ue(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/tt.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;pt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),c=this.toGridIndex(i);pt(mo({y:s,x:c},this.boundaries),"Element midpoint exceeds the grid bounds");var f=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=f[c-f._negativeIndex])!==null&&a!==void 0?a:[]}},{key:"loopGridPosition",value:function(r,n){var a=r,i=a.left,o=a.right,s=a.top,c=a.bottom;this.boundaries&&(r=yl(this.boundaries,r)),this.boundaries=r,Um(this.cells,s,c,function(f,p){Um(f,i,o,function(b,D){n(b,{row:p,col:D});});});}},{key:"getGridPositionOfRect",value:function(r){var n=r.top,a=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n=this.toGridIndex(n-s),a=this.toGridIndex(a+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new u.DOMRect(o,n,a-o,i-n)}}])})();function Um(e,t,r,n){var a;if((a=e._negativeIndex)!==null&&a!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,c=o;c<=s;c++){var f,p;(p=e[f=c])!==null&&p!==void 0||(e[f]=[]),n(e[c],c+e._negativeIndex);}}function go(e){za();var t=mt(e),r=t.vNode;return r._grid}function bo(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=go(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=co(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(c){var f=dt(c),p;try{for(f.s();!(p=f.n()).done;){var b=p.value;b&&b!==e&&!s.includes(b)&&i===co(b)&&s.push(b);}}catch(D){f.e(D);}finally{f.f();}}),s}var n2=Ct(function(){var t;if(!m._tree)return null;var r=Hr(m._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=d.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&ur(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=d.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=a2(a))!==null&&i!==void 0?i:{},s=o.vNode,c=o.rect;if(!s)return false;var f=d.elementsFromPoint(c.left+1,c.top+1);return !f.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Wm=n2;function a2(e){za();var t=m._tree[0]._grid,r=new u.DOMRect(0,0,u.innerWidth,u.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var i=0;i<a.length;i++){var o=a[i];if(o)for(var s=0;s<o.length;s++){var c=o[s],f=c.boundingClientRect,p=po(f,r);if(c.props.nodeName!=="html"&&c!==e&&c.getComputedStylePropertyValue("pointer-events")!=="none"&&p)return {vNode:c,rect:p}}}}}function vo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Xm(e,n):Km(e,n)}var Xm=Ct(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Wm();if(n&&!Wr(n,t))return true}return false}),Km=Ct(function(t,r){return Xm(t,r)?true:t.parent?Km(t.parent,true):false}),i2=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function o2(e){return i2.includes(e)}function s2(e){var t=mt(e),r=t.vNode;if(o2(r.props.nodeName)&&r.hasAttr("disabled")||vo(r))return true;for(var n=r.parent,a=[],i=false;n&&n.shadowId===r.shadowId&&!i&&(a.push(n),n.props.nodeName!=="legend");){if(n._inDisabledFieldset!==void 0){i=n._inDisabledFieldset;break}n.props.nodeName==="fieldset"&&n.hasAttr("disabled")&&(i=true),n=n.parent;}return a.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?fn(r):false}var El=s2,l2=/^\/\#/,u2=/^#[!/]/;function Dl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(l2.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(u2.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=u.location)===null||t===void 0?void 0:t.origin)!="string"||u.location.origin.indexOf("://")===-1)return null;var c=u.location.origin+u.location.pathname,f;return i?f="".concat(a,"//").concat(i).concat(o?":".concat(o):""):f=u.location.origin,s?f+=(s[0]!=="/"?"/":"")+s:f+=u.location.pathname,f===c}function c2(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Dl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=d.getElementById(r);return n||(n=d.getElementsByName(r),n.length?n[0]:null)}var kl=c2;function Sl(e,t){za();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(typeof t._stackingOrder[n]>"u")return -1;if(typeof e._stackingOrder[n]>"u"||t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return -1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,i=t.actualNode;if(a.getRootNode&&a.getRootNode()!==i.getRootNode()){for(var o=[];a;)o.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;i&&!o.find(function(K){return K.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(K){return K.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=u.Node,c=s.DOCUMENT_POSITION_FOLLOWING,f=s.DOCUMENT_POSITION_CONTAINS,p=s.DOCUMENT_POSITION_CONTAINED_BY,b=a.compareDocumentPosition(i),D=b&c?1:-1,L=b&f||b&p,B=Jm(e),G=Jm(t);return B===G||L?D:G-B}function Jm(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Ym(e)?1:0}function Ym(e){if(!e)return false;if(e._isFloated!==void 0)return e._isFloated;var t=e.getComputedStylePropertyValue("float");if(t!=="none")return e._isFloated=true,true;var r=Ym(e.parent);return e._isFloated=r,r}function Cl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=ja(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(f){return f.clientRects.some(function(p){var b=p.left,D=p.top;return i<Math.floor(b+p.width)&&i>=Math.floor(b)&&o<Math.floor(D+p.height)&&o>=Math.floor(D)})}),c=e.container;return c&&(s=Cl(c._grid,c.boundingClientRect,true).concat(s)),r||(s=s.sort(Sl).map(function(f){return f.actualNode}).concat(d.documentElement).filter(function(f,p,b){return b.indexOf(f)===p})),s}function d2(e){var t=go(e);if(!t)return [];var r=nt(e).boundingClientRect;return Cl(t,r)}var Zm=d2;function f2(e){var t=fr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Br(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Qm=f2;function m2(e){var t=mt(e),r=t.vNode;if(!r||El(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !fr(r,"summary").length}return false}var Tl=m2;function $t(e){var t=mt(e),r=t.vNode;if(r.props.nodeType!==1||El(r))return false;if(Tl(r))return true;var n=Br(r.attr("tabindex"));return n!==null}function xr(e){var t=mt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Br(r.attr("tabindex"));return n<=-1?false:$t(r)}var yo=Ct(p2);function p2(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=bo(e).filter(function(i){return wl(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!h2(e,i)});if(!n.length)return r;var a=n.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return xl(r,a)}function h2(e,t){return Wr(e,t)&&!xr(t)}var ep=Ct(g2);function g2(e,t){var r=yo(e);return b2(r,t)}function b2(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}var Ga={};Ar(Ga,{accessibleText:function(){return Cn},accessibleTextVirtual:function(){return Jt},autocomplete:function(){return Rn},formControlValue:function(){return Fp},formControlValueMethods:function(){return Nl},hasUnicode:function(){return Hl},isHumanInterpretable:function(){return $l},isIconLigature:function(){return Vl},isValidAutocomplete:function(){return qp},label:function(){return WD},labelText:function(){return ql},labelVirtual:function(){return Eo},nativeElementType:function(){return KD},nativeTextAlternative:function(){return Lp},nativeTextMethods:function(){return Ip},removeUnicode:function(){return Ya},sanitize:function(){return Ke},subtreeText:function(){return hn},titleText:function(){return xo},unsupported:function(){return xp},visible:function(){return Bp},visibleTextNodes:function(){return JD},visibleVirtual:function(){return Nr}});function v2(e,t){e=e.actualNode||e;try{var r=Qt(e),n=[],a=e.getAttribute(t);if(a){a=nr(a);for(var i=0;i<a.length;i++)n.push(r.getElementById(a[i]));}return n}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Mr=v2;function y2(e,t){var r=nt(e);return Jt(r,t)}var Cn=y2;function w2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=mt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Mr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=Cn(o,te({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Ua=w2;function Wa(e){var t=mt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var x2={"aria-activedescendant":{type:"idref",allowEmpty:true},"aria-atomic":{type:"boolean",global:true},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:true,global:true},"aria-brailleroledescription":{type:"string",allowEmpty:true,global:true},"aria-busy":{type:"boolean",global:true},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:true,global:true},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],global:true},"aria-describedby":{type:"idrefs",allowEmpty:true,global:true},"aria-description":{type:"string",allowEmpty:true,global:true},"aria-details":{type:"idref",allowEmpty:true,global:true},"aria-disabled":{type:"boolean",global:true},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:true},"aria-errormessage":{type:"idref",allowEmpty:true,global:true},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:true,global:true},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],global:true},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:true},"aria-keyshortcuts":{type:"string",allowEmpty:true,global:true},"aria-label":{type:"string",allowEmpty:true,global:true},"aria-labelledby":{type:"idrefs",allowEmpty:true,global:true},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:true},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:true,global:true},"aria-placeholder":{type:"string",allowEmpty:true},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:true},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:true,global:true},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:true}},tp=x2,A2={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:true},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:true},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:true},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:true},directory:{type:"structure",deprecated:true,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:true},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:false},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:true},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:false,nameFromContent:true},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:true,childrenPresentational:true},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:true},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:true},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:false},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:true},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:true},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:true},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:true},section:{type:"abstract",superclassRole:["structure"],nameFromContent:true},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:true},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:true},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:true,childrenPresentational:true},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:true},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:true,childrenPresentational:true},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:false,nameFromContent:true},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:false},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},text:{type:"structure",superclassRole:["section"],nameFromContent:true},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:true},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:true},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:false},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:true,nameFromContent:true},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},rp=A2,_2={"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:true},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},E2=_2,D2={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:true},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:true},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:true,childrenPresentational:true}},k2=D2,S2={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:true}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:true},address:{contentTypes:["flow"],allowedRoles:true},area:{variant:{href:{matches:"[href]",allowedRoles:false},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:true},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:true},base:{allowedRoles:false,noAriaAttrs:true},bdi:{contentTypes:["phrasing","flow"],allowedRoles:true},bdo:{contentTypes:["phrasing","flow"],allowedRoles:true},blockquote:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},body:{allowedRoles:false,shadowRoot:true},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"],allowedAriaAttrs:["aria-hidden"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:true,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:false},cite:{contentTypes:["phrasing","flow"],allowedRoles:true},code:{contentTypes:["phrasing","flow"],allowedRoles:true},col:{allowedRoles:false,noAriaAttrs:true},colgroup:{allowedRoles:false,noAriaAttrs:true},data:{contentTypes:["phrasing","flow"],allowedRoles:true},datalist:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:false},del:{contentTypes:["phrasing","flow"],allowedRoles:true},dfn:{contentTypes:["phrasing","flow"],allowedRoles:true},details:{contentTypes:["interactive","flow"],allowedRoles:false},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:true},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:true,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:false,noAriaAttrs:true},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},hgroup:{contentTypes:["heading","flow"],allowedRoles:true},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:false,noAriaAttrs:true},i:{contentTypes:["phrasing","flow"],allowedRoles:true},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:true}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:false},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:false,noAriaAttrs:true},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:false},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:true},kbd:{contentTypes:["phrasing","flow"],allowedRoles:true},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,chromiumRole:"Label"},legend:{allowedRoles:false},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},main:{contentTypes:["flow"],allowedRoles:false,shadowRoot:true},map:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:false},mark:{contentTypes:["phrasing","flow"],allowedRoles:true},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:false,noAriaAttrs:true},meter:{contentTypes:["phrasing","flow"],allowedRoles:false,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:true},noscript:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:false},option:{allowedRoles:false,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:true,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},param:{allowedRoles:false,noAriaAttrs:true},picture:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},pre:{contentTypes:["flow"],allowedRoles:true},progress:{contentTypes:["phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:true},rp:{allowedRoles:true},rt:{allowedRoles:true},ruby:{contentTypes:["phrasing","flow"],allowedRoles:true},s:{contentTypes:["phrasing","flow"],allowedRoles:true},samp:{contentTypes:["phrasing","flow"],allowedRoles:true},script:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:true},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:false}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},small:{contentTypes:["phrasing","flow"],allowedRoles:true},source:{allowedRoles:false,noAriaAttrs:true},span:{contentTypes:["phrasing","flow"],allowedRoles:true,shadowRoot:true},strong:{contentTypes:["phrasing","flow"],allowedRoles:true},style:{allowedRoles:false,noAriaAttrs:true},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:true,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:true},summary:{allowedRoles:false,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:true},table:{contentTypes:["flow"],allowedRoles:true,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:true},template:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:true},thead:{allowedRoles:true},time:{contentTypes:["phrasing","flow"],allowedRoles:true},title:{allowedRoles:false,noAriaAttrs:true},td:{allowedRoles:true},th:{allowedRoles:true},tr:{allowedRoles:true},track:{allowedRoles:false,noAriaAttrs:true},u:{contentTypes:["phrasing","flow"],allowedRoles:true},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:true},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],allowedAriaAttrs:["aria-hidden"]}},C2=S2,T2={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},R2=T2,np={ariaAttrs:tp,ariaRoles:te({},rp,E2,k2),htmlElms:C2,cssColors:R2},Yn=te({},np);function F2(e){Object.keys(Yn).forEach(function(t){e[t]&&(Yn[t]=fl(Yn[t],e[t]));});}function I2(){Object.keys(Yn).forEach(function(e){Yn[e]=np[e];});}var ht=Yn;function L2(e){var t=ht.ariaRoles[e];return t?!!t.unsupported:false}var Rl=L2;function P2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=n===void 0?false:n,i=ht.ariaRoles[e],o=Rl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Xa=P2;function M2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Xt?e:nt(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?nr(i):[i],s=o.find(function(c){return !a&&c.substr(0,4)==="doc-"?false:Xa(c,{allowAbstract:n})});return s||null}var st=M2;function O2(e){return Object.keys(ht.htmlElms).filter(function(t){var r=ht.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var Fl=O2;function N2(){return et.get("globalAriaAttrs",function(){return Object.keys(ht.ariaAttrs).filter(function(e){return ht.ariaAttrs[e].global})})}var mn=N2;function q2(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var i=r[n].cells;t[n]=t[n]||[];for(var o=0,s=0,c=i.length;s<c;s++)for(var f=0;f<i[s].colSpan;f++){for(var p=i[s].getAttribute("rowspan"),b=parseInt(p)===0||i[s].rowspan===0?r.length:i[s].rowSpan,D=0;D<b;D++){for(t[n+D]=t[n+D]||[];t[n+D][o];)o++;t[n+D][o]=i[s];}o++;}}return t}var Kr=Ct(q2);function B2(e,t){var r,n;for(t||(t=Kr(Jn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var wo=Ct(B2);function Il(e){var t=mt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=st(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(a==="col"||a==="row")return a;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Kr(Jn(n,"table")),s=wo(n,o),c=o[s.y].every(function(p){return p.nodeName.toUpperCase()==="TH"});if(c)return "col";var f=o.map(function(p){return p[s.x]}).every(function(p){return p&&p.nodeName.toUpperCase()==="TH"});return f?"row":"auto"}function H2(e){return ["col","auto"].indexOf(Il(e))!==-1}var Zn=H2;function V2(e){return ["row","auto"].includes(Il(e))}var Qn=V2;function $2(e){return e?e.replace(/\r\n/g,`
|
|
426
|
-
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ke=$2,ap=function(){return et.get("sectioningContentSelector",function(){return Fl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},ip=function(){return et.get("sectioningContentPlusMainSelector",function(){return ap()+" , main:not([role]), [role=main]"})};function Ll(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Ke(Ua(e))||Ke(Wa(e))||n&&e?.props.nodeType===1&&Ke(e.attr("title")))}var j2={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return lr(t.parent,ap())&&!Ll(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=lr(t,ip());return r?null:"contentinfo"},form:function(t){return Ll(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=lr(t,ip());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=mn().find(function(a){return t.hasAttr(a)});return r&&!n&&!$t(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Mr(t.actualNode,"list").filter(function(a){return !!a})[0];r=n&&n.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return Ll(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=lr(t,"table"),n=st(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Zn(t))return "columnheader";if(Qn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Pl=j2;function z2(e,t){var r=ye(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e}var Tn=z2;function G2(e,t){return Tn(!!Jt(e),t)}var op=G2;function U2(e,t){var r=ye(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(n){return Tn(e(n),t[n])})}var Ml=U2;function W2(e,t){return e=mt(e).vNode,Ml(function(r){return e.attr(r)},t)}var sp=W2;function lp(e,t){return !!t(e)}function X2(e,t){return Tn(st(e),t)}var up=X2;function K2(e,t){return Tn(Or(e),t)}var cp=K2;function J2(e,t){return e=mt(e).vNode,Tn(e.props.nodeName,t)}var dp=J2;function Y2(e,t){return e=mt(e).vNode,Ml(function(r){return e.props[r]},t)}var fp=Y2;function Z2(e,t){return Tn(rt(e),t)}var mp=Z2,pp={hasAccessibleName:op,attributes:sp,condition:lp,explicitRole:up,implicitRole:cp,nodeName:dp,properties:fp,semanticRole:mp};function hp(e,t){return e=mt(e).vNode,Array.isArray(t)?t.some(function(r){return hp(e,r)}):typeof t=="string"?tl(e,t):Object.keys(t).every(function(r){if(!pp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=pp[r],a=t[r];return n(e,a)})}var gp=hp;function Q2(e,t){return gp(e,t)}var cr=Q2;cr.hasAccessibleName=op,cr.attributes=sp,cr.condition=lp,cr.explicitRole=up,cr.fromDefinition=gp,cr.fromFunction=Ml,cr.fromPrimative=Tn,cr.implicitRole=cp,cr.nodeName=dp,cr.properties=fp,cr.semanticRole=mp;var Ka=cr;function eD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=ht.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=W(a,S);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var c=i[s],f=c.matches,p=W(c,C),b=Array.isArray(f)?f:[f],D=0;D<b.length&&n;D++)if(b[D].hasOwnProperty("hasAccessibleName"))return a;if(Ka(e,f))for(var L in p)p.hasOwnProperty(L)&&(o[L]=p[L]);}for(var B in i.default)i.default.hasOwnProperty(B)&&typeof o[B]>"u"&&(o[B]=i.default[B]);return o}var pn=eD;function tD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Xt?e:nt(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=Pl[a];if(!i&&r){var o=pn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Or=tD,rD={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function bp(e,t){var r=rD[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=st(e.parent,t);return ["none","presentation"].includes(n)&&!yp(e.parent)?n:n?null:bp(e.parent,t)}function vp(e,t){var r=t.chromium,n=W(t,N),a=Or(e,{chromium:r});if(!a)return null;var i=bp(e,n);return i||a}function yp(e){var t=mn().some(function(r){return e.hasAttr(r)});return t||$t(e)}function nD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=W(t,T),a=mt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=st(i,n);return o?["presentation","none"].includes(o)&&yp(i)?r?null:vp(i,n):o:r?null:vp(i,n)}function aD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=W(t,H),a=nD(e,n);return r&&["presentation","none"].includes(a)?null:a}var rt=aD,iD=["iframe"];function oD(e){var t=mt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!cr(r,iD)&&["none","presentation"].includes(rt(r))?"":r.attr("title")}var xo=oD;function sD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Xt?e:nt(e),e.props.nodeType!==1)return false;var n=rt(e),a=ht.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var wp=sD;function lD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Mr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(le(i),le(a))}return le(r)}var Ja=lD,xp={accessibleNameFromFieldValue:["progressbar"]};function Mt(e){return e=mt(e).vNode,Ol(e)}var Ol=Ct(function(t,r){return _m(t)||vo(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!gl(t,Ol):fn(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Ol(t.parent,true):true});function Ap(e,t,r){var n=mt(e),a=n.vNode,i=t?Mt:ur,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(c){var f=c.props,p=f.nodeType,b=f.nodeValue;if(p===3){if(b&&o)return b}else if(!r)return Ap(c,t)}).join("");return Ke(s)}var Nr=Ap,uD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function cD(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!uD.includes((e.attr("type")||"").toLowerCase())}var _p=cD;function dD(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="select"}var Ep=dD;function fD(e){var t=st(e);return t==="textbox"}var Dp=fD;function mD(e){var t=st(e);return t==="listbox"}var kp=mD;function pD(e){var t=st(e);return t==="combobox"}var Sp=pD,hD=["progressbar","scrollbar","slider","spinbutton"];function gD(e){var t=st(e);return hD.includes(t)}var Cp=gD,Tp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Nl={nativeTextboxValue:vD,nativeSelectValue:yD,ariaTextboxValue:wD,ariaListboxValue:Rp,ariaComboboxValue:xD,ariaRangeValue:AD};function bD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=xp.accessibleNameFromFieldValue||[],a=rt(e);if(t.startNode===e||!Tp.includes(a)||n.includes(a))return "";var i=Object.keys(Nl).map(function(s){return Nl[s]}),o=i.reduce(function(s,c){return s||c(e,t)},"");return t.debug&&Dn(o||"{empty-value}",r,t),o}function vD(e){var t=mt(e),r=t.vNode;return _p(r)&&r.props.value||""}function yD(e){var t=mt(e),r=t.vNode;if(!Ep(r))return "";var n=fr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Nr(i)}).join(" ")||""}function wD(e){var t=mt(e),r=t.vNode,n=t.domNode;return Dp(r)?!n||n&&!fn(n)?Nr(r,true):n.textContent:""}function Rp(e,t){var r=mt(e),n=r.vNode;if(!kp(n))return "";var a=Ja(n).filter(function(i){return rt(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Jt(a[0],t)}function xD(e,t){var r=mt(e),n=r.vNode;if(!Sp(n))return "";var a=Ja(n).filter(function(i){return rt(i)==="listbox"})[0];return a?Rp(a,t):""}function AD(e){var t=mt(e),r=t.vNode;if(!Cp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Fp=bD;function _D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Jt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=rt(e),c=pn(e,{noMatchAccessibleName:true}),f=c.contentTypes;if(r(e,t)||e.props.nodeType!==1||f!=null&&f.includes("embedded")||Tp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!wp(e,{strict:a}))return "";if(!a){var p=!i&&!o;t=te({subtreeDescendant:p},t);}return Ja(e).reduce(function(b,D){return DD(b,D,t)},"")}var ED=Fl("phrasing").concat(["#text"]);function DD(e,t,r){var n=t.props.nodeName,a=Jt(t,r);return a?(ED.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var hn=_D;function kD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Jt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=te({inControlContext:true},t),a=SD(e),i=lr(e,"label"),o;return i?(o=[].concat(le(a),[i.actualNode]),o.sort(fu)):o=a,o.map(function(s){return Cn(s,n)}).filter(function(s){return s!==""}).join(" ")}function SD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return bm({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var ql=kD,CD={submit:"Submit",image:"Submit",reset:"Reset",button:""},TD={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return CD[t.props.type]||""},tableCaptionText:Ao.bind(null,"caption"),figureText:Ao.bind(null,"figcaption"),svgTitleText:Ao.bind(null,"title"),fieldsetLegendText:Ao.bind(null,"legend"),altText:Bl.bind(null,"alt"),tableSummaryText:Bl.bind(null,"summary"),titleText:xo,subtreeText:hn,labelText:ql,singleSpace:function(){return " "},placeholderText:Bl.bind(null,"placeholder")};function Bl(e,t){return t.attr(e)||""}function Ao(e,t,r){var n=t.actualNode;e=e.toLowerCase();var a=[e,n.nodeName.toLowerCase()].join(","),i=n.querySelector(a);return !i||i.nodeName.toLowerCase()!==e?"":Cn(i,r)}var Ip=TD;function Lp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(rt(e)))return "";var n=RD(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function RD(e){var t=pn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Ip[n]})}function Pp(){return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function Mp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Op(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Np(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function FD(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=Ss().test(e))),n&&(i||(i=Pp().test(e)||Op().test(e)||Np().test(e))),a&&(i||(i=Mp().test(e))),i}var Hl=FD;function Vl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!Ke(n)||Hl(n,{emoji:true,nonBmp:true}))return false;var a=et.get("canvasContext",function(){return d.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=et.get("fonts",function(){return {}}),s=u.getComputedStyle(e.parent.actualNode),c=s.getPropertyValue("font-family");o[c]||(o[c]={occurrences:0,numLigatures:0});var f=o[c];if(f.occurrences>=r){if(f.numLigatures/f.occurrences===1)return true;if(f.numLigatures===0)return false}f.occurrences++;var p=30,b="".concat(p,"px ").concat(c);a.font=b;var D=n.charAt(0),L=a.measureText(D).width;if(L===0)return f.numLigatures++,true;if(L<30){var B=30/L;L*=B,p*=B,b="".concat(p,"px ").concat(c);}i.width=L,i.height=p,a.font=b,a.textAlign="left",a.textBaseline="top",a.fillText(D,0,0);var G=new Uint32Array(a.getImageData(0,0,L,p).data.buffer);if(!G.some(function(fe){return fe}))return f.numLigatures++,true;a.clearRect(0,0,L,p),a.fillText(n,0,0);var K=new Uint32Array(a.getImageData(0,0,L,p).data.buffer),Y=G.reduce(function(fe,ge,we){return ge===0&&K[we]===0||ge!==0&&K[we]!==0?fe:++fe},0),Z=n.split("").reduce(function(fe,ge){return fe+a.measureText(ge).width},0),ie=a.measureText(n).width,oe=Y/G.length,ue=1-ie/Z;return oe>=t&&ue>=t?(f.numLigatures++,true):false}function Jt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=MD(e,t),LD(e,t)||PD(e,t))return "";var r=[Ua,Wa,Lp,Fp,hn,ID,xo],n=r.reduce(function(a,i){return t.startNode===e&&(a=Ke(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function ID(e){return e.props.nodeType!==3?"":e.props.nodeValue}function LD(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!Mt(e)}function PD(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!n?false:Vl(e,a,i)}function MD(e,t){return t.startNode||(t=te({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=te({includeHidden:!Mt(e)},t)),t}Jt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function OD(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Ss(),"")),n&&(e=e.replace(Pp(),"").replace(Op(),"").replace(Np(),"")),a&&(e=e.replace(Mp(),"")),e}var Ya=OD;function ND(e){return qD(e)||BD(e)||HD(e)||VD(e)?0:1}function qD(e){return Ke(e).length===0}function BD(e){return e.length===1&&e.match(/\D/)}function HD(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function VD(e){var t=Ya(e,{emoji:true,nonBmp:true,punctuations:true});return !Ke(t)}var $l=ND,Rn={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function $D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,n=r===void 0?false:r,a=t.stateTerms,i=a===void 0?[]:a,o=t.locations,s=o===void 0?[]:o,c=t.qualifiers,f=c===void 0?[]:c,p=t.standaloneTerms,b=p===void 0?[]:p,D=t.qualifiedTerms,L=D===void 0?[]:D,B=t.ignoredValues,G=B===void 0?[]:B;if(e=e.toLowerCase().trim(),i=i.concat(Rn.stateTerms),i.includes(e)||e==="")return true;f=f.concat(Rn.qualifiers),s=s.concat(Rn.locations),b=b.concat(Rn.standaloneTerms),L=L.concat(Rn.qualifiedTerms);var K=e.split(/\s+/g);if(K[K.length-1]==="webauthn"&&(K.pop(),K.length===0)||!n&&(K[0].length>8&&K[0].substr(0,8)==="section-"&&K.shift(),s.includes(K[0])&&K.shift(),f.includes(K[0])&&(K.shift(),b=[]),K.length!==1))return false;var Y=K[K.length-1];if(!G.includes(Y))return b.includes(Y)||L.includes(Y)}var qp=$D;function jD(e){var t,r;return e.attr("aria-labelledby")&&(t=Mr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=nt(n);return a?Nr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ke(r),r))?r:null}var _o=jD;function zD(e,t,r){return e=nt(e),Nr(e,t,r)}var Bp=zD;function GD(e){var t,r,n;if(r=_o(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var a=qt(e.attr("id"));if(n=Qt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Bp(t,true),r)return r}return t=lr(e,"label"),r=t&&Nr(t,true),r||null}var Eo=GD;function UD(e){return e=nt(e),Eo(e)}var WD=UD,XD=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],KD=XD;function Hp(e){var t=ur(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Hp(n));}),r}var JD=Hp,YD=Ct(function(t){var r=nt(t),n=r.boundingClientRect,a=[],i=$a(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ke(o.nodeValue)==="")){var s=ZD(o);QD(s,n)||a.push.apply(a,le(Vp(s,i)));}}),a.length?a:Vp([n],i)}),jl=YD;function ZD(e){var t=d.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function QD(e,t){return e.some(function(r){var n=ja(r);return !mo(n,t)})}function Vp(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&po(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function ek(e){var t=go(e);if(!t)return [];var r=jl(e);return r.map(function(n){return Cl(t,n)})}var zl=ek,tk=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function rk(e){var t=mt(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return tk.indexOf(n)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var Gl=rk,nk=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Do(e){return nk.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function $p(e,t,r){return Do(e)||Gl(e.actualNode)||!r&&!!_o(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&$p(n)})}var Za=$p;function ak(e,t,r){return e=nt(e),Za(e,t,r)}var ko=ak;function Ul(e){return typeof e.children>"u"||Do(e)?true:e.props.nodeType===1&&Gl(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&Ul(t)&&!fn(t)})}function ik(e){var t=Br(e.getAttribute("tabindex"));return t>-1&&$t(e)&&!Tl(e)}var jp=ik;function zp(e,t){var r=mt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Gp(a,t)),n._isHiddenWithCSS):Gp(a,t)}function Gp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=u.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=Kt(e);return o&&!a.includes(i)?zp(o,i):false}var ok=zp;function sk(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Up=sk;function lk(e){var t;(e instanceof Xt||(t=u)!==null&&t!==void 0&&t.Node&&e instanceof u.Node)&&(e=m.commons.aria.getRole(e));var r=ht.ariaRoles[e];return r?.type||null}var Tr=lk,uk=["block","list-item","table","flex","grid"],ck=["inline-block","inline-flex","inline-grid"];function dk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,n=t.includeInlineBlock,a=n===void 0?false:n,i=mt(e),o=i.vNode,s=i.domNode;if(Xl(s)||!a&&fk(o))return false;var c=mk(s),f="",p="",b=0;return Wp(c,function(D){if(D===c.actualNode)return true;if(b===2)return false;if(D.nodeType===3&&(f+=D.nodeValue),D.nodeType===1){var L=(D.nodeName||"").toUpperCase();D===s&&(b=1);var B=Xl(D);if((B||["BR","HR"].includes(L))&&(b===0?(f="",p=""):b=2),B||D.style.display==="none"||D.style.overflow==="hidden"||!["",null,"none"].includes(D.style.float)||!["",null,"relative"].includes(D.style.position))return false;if(Tr(D)==="widget")return p+=D.textContent,false}}),f=Ke(f),r?f.length!==0:(p=Ke(p),f.length>p.length)}var Wl=dk;function Xl(e){var t=mt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return uk.includes(n)||n.substr(0,6)==="table-"}function fk(e){var t=e.getComputedStylePropertyValue("display");return ck.includes(t)}function Wp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Wp(r,t)});}function mk(e){for(var t=Kt(e);t&&!Xl(t);)t=Kt(t);return nt(t)}function pk(e){e=e||{};var t=e.modalPercent||.75;if(et.get("isModalOpen"))return et.get("isModalOpen");var r=Hr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",ur);if(r.length)return et.set("isModalOpen",true),true;for(var n=uo(u),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,c=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],f=c.map(function(L){return Array.from(d.elementsFromPoint(L.x,L.y))}),p=function(){var B=f[D].find(function(G){var K=u.getComputedStyle(G);return parseInt(K.width,10)>=a&&parseInt(K.height,10)>=i&&K.getPropertyValue("pointer-events")!=="none"&&(K.position==="absolute"||K.position==="fixed")});if(B&&f.every(function(G){return G.includes(B)}))return et.set("isModalOpen",true),{v:true}},b,D=0;D<f.length;D++)if(b=p(),b)return b.v;et.set("isModalOpen",void 0);}var Qa=pk;function Xp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=dt(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(n>s.top+t)n=Math.max(n,s.bottom);else if(a===0)n=s.bottom,a++;else return !0}}catch(c){i.e(c);}finally{i.f();}return false}function hk(e){return e instanceof u.Node}var gk=hk,Kl="color.incompleteData",bk={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=et.get(Kl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=et.get(Kl);return r?.[t]},clear:function(){et.set(Kl,{});}},Tt=bk;function vk(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return Tt.set("bgColor","imgNode"),true;t=t||u.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);Tt.set("bgColor",o?"bgGradient":"bgImage");}return i}var So=vk,yk=/^#[0-9a-f]{3,8}$/i,wk=/hsl\(\s*([-\d.]+)(rad|turn)/,ei=(Ge=new WeakMap,ct=new WeakMap,gt=new WeakMap,Et=new WeakMap,vt=new WeakMap,lt=new WeakMap,it=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(Pt(this,e),Be(this,it),pe(this,Ge,void 0),pe(this,ct,void 0),pe(this,gt,void 0),pe(this,Et,void 0),pe(this,vt,void 0),pe(this,lt,void 0),t instanceof ei){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=n,this.alpha=a;}return Ue(e,[{key:"r",get:function(){return ze(Ge,this)},set:function(r){ft(Ge,this,r),ft(Et,this,Math.round(ea(r,0,1)*255));}},{key:"g",get:function(){return ze(ct,this)},set:function(r){ft(ct,this,r),ft(vt,this,Math.round(ea(r,0,1)*255));}},{key:"b",get:function(){return ze(gt,this)},set:function(r){ft(gt,this,r),ft(lt,this,Math.round(ea(r,0,1)*255));}},{key:"red",get:function(){return ze(Et,this)},set:function(r){ft(Ge,this,r/255),ft(Et,this,ea(r,0,255));}},{key:"green",get:function(){return ze(vt,this)},set:function(r){ft(ct,this,r/255),ft(vt,this,ea(r,0,255));}},{key:"blue",get:function(){return ze(lt,this)},set:function(r){ft(gt,this,r/255),ft(lt,this,ea(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),n=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?n:"0"+n)+(this.blue>15.5?a:"0"+a)}},{key:"toJSON",value:function(){var r=this.red,n=this.green,a=this.blue,i=this.alpha;return {red:r,green:n,blue:a,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(wk,function(i,o,s){var c=o+s;switch(s){case "rad":return i.replace(c,Ak(o));case "turn":return i.replace(c,_k(o))}});try{var n;"Prototype"in u&&"Version"in u.Prototype&&(n=Array.from,Array.from=Hf.default);var a=new Dt(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw Tt.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(yk)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,n=this.g,a=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4),s=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var n=r-this.getLuminosity();return It(it,this,xk).call(this,n).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var n=new ei(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(p,b){return p.value-b.value}),o=Ce(i,3),s=o[0],c=o[1],f=o[2];return f.value>s.value?(c.value=(c.value-s.value)*r/(f.value-s.value),f.value=r):c.value=f.value=0,s.value=0,n[f.name]=f.value,n[s.name]=s.value,n[c.name]=c.value,n}},{key:"clip",value:function(){var r=new ei(this),n=r.getLuminosity(),a=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return a<0&&(r.r=n+(r.r-n)*n/(n-a),r.g=n+(r.g-n)*n/(n-a),r.b=n+(r.b-n)*n/(n-a)),i>1&&(r.r=n+(r.r-n)*(1-n)/(i-n),r.g=n+(r.g-n)*(1-n)/(i-n),r.b=n+(r.b-n)*(1-n)/(i-n)),r}}])})());function xk(e){var t=new ei(this);return t.r+=e,t.g+=e,t.b+=e,t}var Ot=ei;function ea(e,t,r){return Math.min(Math.max(t,e),r)}function Ak(e){return e*180/Math.PI}function _k(e){return e*360}function Ek(e){var t=new Ot;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Fn=Ek;function Dk(e){var t=u.getComputedStyle(e);return So(e,t)||Fn(t).alpha===1}var kk=Dk;function Jl(e){if(!e.href)return false;var t=et.get("firstPageLink",Sk);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function Sk(){var e;return u.location.origin?e=fr(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Dl(t.actualNode)}):e=fr(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var Ck=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Tk=/(\w+)\((\d+)/;function Rk(e){var t=e.getPropertyValue("clip").match(Ck),r=e.getPropertyValue("clip-path").match(Tk);if(t&&t.length===5){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function Fk(e,t,r){var n=Jn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Qt(e);if(!i||i.nodeType!==9)return false;var o=fr(m._tree,'img[usemap="#'.concat(qt(a),'"]'));return !o||!o.length?false:o.some(function(s){var c=s.actualNode;return Co(c,t,r)})}function Co(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Xt?e:nt(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=u.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,c=o.DOCUMENT_FRAGMENT_NODE,f=a?a.props.nodeType:e.nodeType,p=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(f===s)return true;if(["style","script","noscript","template"].includes(p))return false;if(e&&f===c&&(e=e.host),t){var b=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(b==="true")return false}if(!e){var D=a.parent,L=true;return D&&(L=Co(D,t,true)),a&&(a[i]=L),L}var B=u.getComputedStyle(e,null);if(B===null)return false;if(p==="area")return Fk(e,t,r);if(B.getPropertyValue("display")==="none")return false;var G=parseInt(B.getPropertyValue("height")),K=parseInt(B.getPropertyValue("width")),Y=Jr(e),Z=Y&&G===0,ie=Y&&K===0,oe=B.getPropertyValue("position")==="absolute"&&(G<2||K<2)&&B.getPropertyValue("overflow")==="hidden";if(!t&&(Rk(B)||B.getPropertyValue("opacity")==="0"||Z||ie||oe)||!r&&(B.getPropertyValue("visibility")==="hidden"||!t&&fo(e)))return false;var ue=e.assignedSlot?e.assignedSlot:e.parentNode,fe=false;return ue&&(fe=Co(ue,t,true)),a&&(a[i]=fe),fe}var Ik=Co;function Lk(e,t){for(var r=["fixed","sticky"],n=[],a=false,i=0;i<e.length;++i){var o=e[i];o===t&&(a=true);var s=u.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var Kp=Lk;function Jp(e,t){var r=Yp(t);do{var n=Yp(e);if(n===r||n===t)return Pk(e,t);e=n;}while(e);return false}function Yp(e){for(var t=nt(e),r=t.parent;r;){if(Jr(r.actualNode))return r.actualNode;r=r.parent;}}function Pk(e,t){var r=u.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof u.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function Zp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return Qt(a)===r}).reduce(function(a,i){if(lo(i)){var o=Zp(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Jp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var Mk=Zp;function Ok(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=d.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=qk(i),s=o.pathname,c=o.filename;return {protocol:a,hostname:n.hostname,port:Nk(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:Bk(n.search),hash:Hk(n.hash),filename:c}}}function Nk(e){var t=["443","80"];return t.includes(e)?"":e}function qk(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function Bk(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=r[n],i=a.split("="),o=Ce(i,2),s=o[0],c=o[1],f=c===void 0?"":c;t[decodeURIComponent(s)]=decodeURIComponent(f);}return t}function Hk(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Ce(r,1),a=n[0];return a==="#"?"":e}var Vk=Ok;function $k(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,i={top:n-t.scrollTop,bottom:n-t.scrollTop+t.scrollHeight,left:a-t.scrollLeft,right:a-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=u.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof u.HTMLBodyElement||t instanceof u.HTMLHtmlElement:true}var Yl=$k,Qp=0,jk=(function(e){function t(r,n,a){var i;if(Pt(this,t),i=se(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Qp=0),i.nodeIndex=Qp++,i._isHidden=null,i._cache={},i._isXHTML=La(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Bo().includes(o)||(o="text"),i._type=o;}return et.get("nodeMap")&&et.get("nodeMap").set(r,i),i}return Q(t,e),Ue(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,a=n.nodeType,i=n.nodeName,o=n.id,s=n.nodeValue;this._cache.props={nodeType:a,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},a===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof u.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(n).map(function(a){return a.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var a="computedStyle_"+n;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=u.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(n)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=$t(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Qm(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Xt),Zl=jk;function zk(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var nr=zk,In=" [idsMap]";function eh(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(c){return th(c)}))return;var o=new Set;t.forEach(function(c){var f,p=Gk(c,n,a);p==null||(f=p.nodes)===null||f===void 0||f.forEach(function(b){p.isComplexSelector&&!Gn(b,c)||o.add(b);});});var s=[];return o.forEach(function(c){return s.push(c)}),r&&(s=s.filter(r)),s.sort(function(c,f){return c.nodeIndex-f.nodeIndex})}}function Gk(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(th(n))a=t["*"];else {if(n.id){var o;if(!t[In]||!Object.hasOwn(t[In],n.id)||!((o=t[In][n.id])!==null&&o!==void 0&&o.length))return;a=t[In][n.id].filter(function(G){return G.shadowId===r});}if(n.tag&&n.tag!=="*"){var s;if(!((s=t[n.tag])!==null&&s!==void 0&&s.length))return;var c=t[n.tag];a=a?Ql(c,a):c;}if(n.classes){var f;if(!((f=t["[class]"])!==null&&f!==void 0&&f.length))return;var p=t["[class]"];a=a?Ql(p,a):p;}if(n.attributes)for(var b=0;b<n.attributes.length;b++){var D,L=n.attributes[b];if(L.type==="attrValue"&&(i=true),!((D=t["[".concat(L.key,"]")])!==null&&D!==void 0&&D.length))return;var B=t["[".concat(L.key,"]")];a=a?Ql(B,a):B;}}return {nodes:a,isComplexSelector:i}}function th(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Ql(e,t){return e.filter(function(r){return t.includes(r)})}function To(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function rh(e,t){e.props.nodeType===1&&(To(e.props.nodeName,e,t),To("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[In]=t[In]||{},nr(e.attr(r)).forEach(function(n){To(n,e,t[In]);})),To("[".concat(r,"]"),e,t);}));}var eu;function tu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.documentElement,t=arguments.length>1?arguments[1]:void 0;eu=false;var r={};et.set("nodeMap",new WeakMap),et.set("selectorMap",r);var n=nh(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=eu,n}function Uk(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function ru(e,t,r){var n=new Zl(e,t,r);return rh(n,et.get("selectorMap")),n}function Ro(e,t,r){var n=[];return e.forEach(function(a){var i=nh(a,r,t);i&&n.push.apply(n,le(i));}),n}function nh(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(lo(e))return eu=true,n=ru(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=Ro(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),Ro(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=Uk(e));u.getComputedStyle(e);return Ro(a,r,t)}if(e.nodeType===d.ELEMENT_NODE)return n=ru(e,r,t),a=Array.from(e.childNodes),n.children=Ro(a,n,t),[n];if(e.nodeType===d.TEXT_NODE)return [ru(e,r)]}function Wk(e){return e?e.trim().split("-")[0].toLowerCase():""}var Ln=Wk;function Xk(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=m._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
424
|
+
Consider to rely on 'then' or 'done' mode instead.`);ge&&(delete p[L],b[L]=fe,f.emit("setasync",L,ge));},Z=function(){K=true,p[L]&&(delete p[L],delete D[L],f.delete(L));},ie=c;if(ie||(ie="then"),ie==="then"){var oe=function(){i(Z);};G=G.then(function(ue){i(Y.bind(this,ue));},oe),typeof G.finally=="function"&&G.finally(oe);}else if(ie==="done"){if(typeof G.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");G.done(Y,Z);}else if(ie==="done:finally"){if(typeof G.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof G.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");G.done(Y),G.finally(Z);}}),f.on("get",function(L,B,G){var K;if(p[L]){++p[L];return}K=D[L];var Y=function(){f.emit("getasync",L,B,G);};a(K)?typeof K.done=="function"?K.done(Y):K.then(function(){i(Y);}):Y();}),f.on("delete",function(L){if(delete D[L],p[L]){delete p[L];return}if(hasOwnProperty.call(b,L)){var B=b[L];delete b[L],f.emit("deleteasync",L,[B]);}}),f.on("clear",function(){var L=b;b=o(null),p=o(null),D=o(null),f.emit("clearasync",e(L,function(B){return [B]}));});};}),hx=ae(function(){var e=nn(),t=Fi(),r=_n(),n=Function.prototype.apply;r.dispose=function(a,i,o){var s;if(e(a),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(f,p){n.call(a,null,p);}),i.on("clearasync",function(c){t(c,function(f,p){s(p,f);});});return}i.on("delete",s=function(f,p){a(p);}),i.on("clear",function(c){t(c,function(f,p){s(p,f);});});};}),gx=ae(function(e,t){t.exports=2147483647;}),bx=ae(function(e,t){var r=An(),n=gx();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),vx=ae(function(){var e=As(),t=Fi(),r=Es(),n=wd(),a=bx(),i=_n(),o=Function.prototype,s=Math.max,c=Math.min,f=Object.create;i.maxAge=function(p,b,D){var L,B,G,K;p=a(p),p&&(L=f(null),B=D.async&&i.async||D.promise&&i.promise?"async":"",b.on("set"+B,function(Y){L[Y]=setTimeout(function(){b.delete(Y);},p),typeof L[Y].unref=="function"&&L[Y].unref(),K&&(K[Y]&&K[Y]!=="nextTick"&&clearTimeout(K[Y]),K[Y]=setTimeout(function(){delete K[Y];},G),typeof K[Y].unref=="function"&&K[Y].unref());}),b.on("delete"+B,function(Y){clearTimeout(L[Y]),delete L[Y],K&&(K[Y]!=="nextTick"&&clearTimeout(K[Y]),delete K[Y]);}),D.preFetch&&(D.preFetch===true||isNaN(D.preFetch)?G=.333:G=s(c(Number(D.preFetch),1),0),G&&(K={},G=(1-G)*p,b.on("get"+B,function(Y,Z,ie){K[Y]||(K[Y]="nextTick",r(function(){var oe;K[Y]==="nextTick"&&(delete K[Y],b.delete(Y),D.async&&(Z=e(Z),Z.push(o)),oe=b.memoized.apply(ie,Z),D.promise&&n(oe)&&(typeof oe.done=="function"?oe.done(o,o):oe.then(o,o)));}));}))),b.on("clear"+B,function(){t(L,function(Y){clearTimeout(Y);}),L={},K&&(t(K,function(Y){Y!=="nextTick"&&clearTimeout(Y);}),K={});}));};}),yx=ae(function(e,t){var r=An(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,c=n(null),f=n(null),p=0,b;return i=r(i),{hit:function(L){var B=f[L],G=++p;if(c[G]=L,f[L]=G,!B)return ++o,o<=i?void 0:(L=c[s],b(L),L);if(delete c[B],s===B)for(;!a.call(c,++s););},delete:b=function(L){var B=f[L];if(B&&(delete c[B],delete f[L],--o,s===B)){if(!o){p=0,s=1;return}for(;!a.call(c,++s););}},clear:function(){o=0,s=1,c=n(null),f=n(null),p=0;}}};}),wx=ae(function(){var e=An(),t=yx(),r=_n();r.max=function(n,a,i){var o,s,c;n=e(n),n&&(s=t(n),o=i.async&&r.async||i.promise&&r.promise?"async":"",a.on("set"+o,c=function(p){p=s.hit(p),p!==void 0&&a.delete(p);}),a.on("get"+o,c),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),xx=ae(function(){var e=En(),t=_n(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,i,o){var s,c;s=r(null),c=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+c,function(f,p){s[f]=p||1;}),i.on("get"+c,function(f){++s[f];}),i.on("delete"+c,function(f){delete s[f];}),i.on("clear"+c,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var f=i.get(arguments);return f===null||!s[f]?null:--s[f]?false:(i.delete(f),true)}),getRefCount:e(function(){var f=i.get(arguments);return f===null||!s[f]?0:s[f]})});};}),Ax=ae(function(e,t){var r=dd(),n=fd(),a=Q0();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=n(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=ex():s>1&&(o.normalizer=tx()(s)):s===false?o.normalizer=ix()():s===1?o.normalizer=ox()():o.normalizer=sx()(s))),o.async&&lx(),o.promise&&px(),o.dispose&&hx(),o.maxAge&&vx(),o.max&&wx(),o.refCounter&&xx(),a(i,o)};}),_x=[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}],Dr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};_x.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;Dr[t]=r,Dr[t+"_PRIO"]=n,Dr[t+"_GROUP"]=a,Dr.results[n]=r,Dr.resultGroups[n]=a,Dr.resultGroupMap[r]=a;}),Object.freeze(Dr.results),Object.freeze(Dr.resultGroups),Object.freeze(Dr.resultGroupMap),Object.freeze(Dr);var tt=Dr;function Ex(){(typeof console>"u"?"undefined":ye(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var Dn=Ex,Dx=/[\t\r\n\f]/g,kx=(function(){function e(){Pt(this,e),this.parent=void 0;}return Ue(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(Dx," ").indexOf(a)>=0}}])})(),Xt=kx,Ds={};Ar(Ds,{DqElement:function(){return yr},RuleError:function(){return qo},aggregate:function(){return Li},aggregateChecks:function(){return _d},aggregateNodeResults:function(){return Ed},aggregateResult:function(){return Dd},areStylesSet:function(){return Lx},assert:function(){return pt},checkHelper:function(){return Qs},clone:function(){return Ur},closest:function(){return lr},collectResultsFromFrames:function(){return hm},contains:function(){return Wr},convertSelector:function(){return to},cssParser:function(){return Kf},deepMerge:function(){return fl},escapeSelector:function(){return qt},extendMetaData:function(){return ml},filterHtmlAttrs:function(){return Rh},finalizeRuleResult:function(){return xa},findBy:function(){return Ha},getAllChecks:function(){return oo},getAncestry:function(){return eo},getBaseLang:function(){return Ln},getCheckMessage:function(){return Zk},getCheckOption:function(){return Io},getElementSource:function(){return Wf},getEnvironmentData:function(){return gn},getFlattenedTree:function(){return tu},getFrameContexts:function(){return hS},getFriendlyUriEnd:function(){return Cd},getNodeAttributes:function(){return Ea},getNodeFromTree:function(){return nt},getPreloadConfig:function(){return kh},getRootNode:function(){return Va},getRule:function(){return ch},getScroll:function(){return Jr},getScrollState:function(){return vS},getSelector:function(){return Ys},getSelectorData:function(){return Qi},getShadowSelector:function(){return Xs},getStandards:function(){return yS},getStyleSheetFactory:function(){return mh},getXpath:function(){return Uf},injectStyle:function(){return AS},isArrayLike:function(){return ou},isContextObject:function(){return su},isContextProp:function(){return Po},isContextSpec:function(){return ph},isHidden:function(){return _S},isHtmlElement:function(){return uu},isLabelledFramesSelector:function(){return lu},isLabelledShadowDomSelector:function(){return Mo},isNodeInContext:function(){return cu},isShadowRoot:function(){return lo},isValidLang:function(){return Ho},isXHTML:function(){return La},matchAncestry:function(){return du},matches:function(){return tl},matchesExpression:function(){return Gn},matchesSelector:function(){return $n},memoize:function(){return Ct},mergeResults:function(){return so},nodeLookup:function(){return mt},nodeSerializer:function(){return wr},nodeSorter:function(){return fu},objectHasOwn:function(){return qr},parseCrossOriginStylesheet:function(){return pu},parseSameOriginStylesheet:function(){return bh},parseStylesheet:function(){return mu},parseTabindex:function(){return Br},performanceTimer:function(){return bt},pollyfillElementsFromPoint:function(){return vh},preload:function(){return Eh},preloadCssom:function(){return wh},preloadMedia:function(){return _h},processMessage:function(){return iu},publishMetaData:function(){return Oo},querySelectorAll:function(){return fr},querySelectorAllFilter:function(){return Hr},queue:function(){return Pr},respondable:function(){return Cr},ruleShouldRun:function(){return Th},select:function(){return hu},sendCommandToFrame:function(){return dm},serializeError:function(){return No},setScrollState:function(){return rC},shadowSelect:function(){return nC},shadowSelectAll:function(){return gu},shouldPreload:function(){return Dh},toArray:function(){return Sd},tokenList:function(){return nr},uniqueArray:function(){return ri},uuid:function(){return s2},validInputTypes:function(){return Bo},validLangs:function(){return Mh}});function Sx(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(a){return e.indexOf(a)}).sort();return e[n.pop()]}var Li=Sx,Cx=tt.CANTTELL_PRIO,Tx=tt.FAIL_PRIO,Pi=[];Pi[tt.PASS_PRIO]=true,Pi[tt.CANTTELL_PRIO]=null,Pi[tt.FAIL_PRIO]=false;var xd=["any","all","none"];function Ad(e,t){return xd.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Rx(e){var t=Object.assign({},e);Ad(t,function(a,i){var o=typeof a.result>"u"?-1:Pi.indexOf(a.result);a.priority=o!==-1?o:tt.CANTTELL_PRIO,i==="none"&&(a.priority===tt.PASS_PRIO?a.priority=tt.FAIL_PRIO:a.priority===tt.FAIL_PRIO&&(a.priority=tt.PASS_PRIO));});var r={all:t.all.reduce(function(a,i){return Math.max(a,i.priority)},0),none:t.none.reduce(function(a,i){return Math.max(a,i.priority)},0),any:t.any.reduce(function(a,i){return Math.min(a,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return xd.forEach(function(a){t[a]=t[a].filter(function(i){return i.priority===t.priority&&i.priority===r[a]}),t[a].forEach(function(i){return n.push(i.impact)});}),[Cx,Tx].includes(t.priority)?t.impact=Li(tt.impact,n):t.impact=null,Ad(t,function(a){delete a.result,delete a.priority;}),t.result=tt.results[t.priority],delete t.priority,t}var _d=Rx;function xa(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,Ed(e.nodes)),delete e.nodes,e}function Fx(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return _d(i);if(Array.isArray(i.node))return xa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Li(tt.results,r,t.result);}else t.result="inapplicable";tt.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=tt.resultGroupMap[i.result];t[o].push(i);});var n=tt.FAIL_GROUP;if(t[n].length===0&&(n=tt.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=Li(tt.impact,a)||null;}else t.impact=null;return t}var Ed=Fx;function ks(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),tt.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function Ix(e){var t={};return tt.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?ks(t,r,tt.CANTTELL_GROUP):r.result===tt.NA?ks(t,r,tt.NA_GROUP):tt.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&ks(t,r,n);});}),t}var Dd=Ix;function kd(e,t,r){var n=u.getComputedStyle(e,null);if(!n)return false;for(var a=0;a<t.length;++a){var i=t[a];if(n.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:kd(e.parentNode,t,r)}var Lx=kd;function Px(e,t){if(!e)throw new Error(t)}var pt=Px;function Mx(e){return Array.prototype.slice.call(e)}var Sd=Mx;function Ox(e){for(var t=String(e),r=t.length,n=-1,a,i="",o=t.charCodeAt(0);++n<r;){if(a=t.charCodeAt(n),a==0){i+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&o==45){i+="\\"+a.toString(16)+" ";continue}if(n==0&&r==1&&a==45){i+="\\"+t.charAt(n);continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=t.charAt(n);continue}i+="\\"+t.charAt(n);}return i}var qt=Ox;function Nx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function Aa(e,t){return [e.substring(0,t),e.substring(t)]}function _a(e){return e.replace(/\s+$/,"")}function qx(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var c=Aa(e,e.indexOf("#")),f=Ce(c,2);e=f[0],s=f[1];}if(e.includes("?")){var p=Aa(e,e.indexOf("?")),b=Ce(p,2);e=b[0],o=b[1];}if(e.includes("://")){var D=e.split("://"),L=Ce(D,2);r=L[0],e=L[1];var B=Aa(e,e.indexOf("/")),G=Ce(B,2);n=G[0],e=G[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var K=Aa(e,e.indexOf("/")),Y=Ce(K,2);n=Y[0],e=Y[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var Z=Aa(n,n.indexOf(":")),ie=Ce(Z,2);n=ie[0],a=ie[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function Bx(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=n===void 0?25:n,i=qx(e),o=i.path,s=i.domain,c=i.hash,f=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(c)return f&&(f+c).length<=a?_a(f+c):f.length<2&&c.length>2&&c.length<=a?_a(c):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+f&&s&&r&&s!==r&&(s+o).length<=a)return _a(s+o);var p=f.lastIndexOf(".");if((p===-1||p>1)&&(p!==-1||f.length>2)&&f.length<=a&&!f.match(/index(\.[a-zA-Z]{2-4})?/)&&!Nx(f))return _a(f)}}var Cd=Bx;function Hx(e){return e.attributes instanceof u.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var Ea=Hx,Vx=(function(){var e;function t(r){var n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,i,o;for(i=0;i<a;i++)if(o=n[i],r[o])return o}return function(r,n){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](n):false}})(),$n=Vx,Td={};Ar(Td,{ArrayFrom:function(){return Hf.default},Colorjs:function(){return Dt},CssSelectorParser:function(){return Rd.CssSelectorParser},doT:function(){return an.default},emojiRegexText:function(){return Ss},memoize:function(){return Fd.default}});var $x=Fr(sw()),jx=Fr(lw());Fr(uw());var zx=Fr(_w()),Gx=Fr(Pw()),Ux=Fr(ud());"hasOwn"in Object||(Object.hasOwn=zx.default),"values"in Object||(Object.values=Gx.default),"Promise"in u||$x.default.polyfill(),"Uint32Array"in u||(u.Uint32Array=jx.Uint32Array),u.Uint32Array&&("some"in u.Uint32Array.prototype||Object.defineProperty(u.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in u.Uint32Array.prototype||Object.defineProperty(u.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),n=r.length>>>0,a=arguments[1],i,o=0;o<n;o++)if(i=r[o],t.call(a,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var n=Object(this),a=n.length>>>0,i,o=0;o<a;o++)if(i=n[o],t.call(r,i,o,n))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),n=parseInt(r.length,10)||0;if(n===0)return false;var a=parseInt(arguments[1],10)||0,i;a>=0?i=a:(i=n+a,i<0&&(i=0));for(var o;i<n;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),n=r.length>>>0,a=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in r&&t.call(a,r[i],i,r))return true;return false}}),Array.from||(Array.from=Ux.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:true}),u.Node&&!("isConnected"in u.Node.prototype)&&Object.defineProperty(u.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Rd=Fr(f0()),an=Fr(m0()),Ss=function(){return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},Fd=Fr(Ax());function Vt(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var n=t[0].length,a=t[0].map(function(o,s){return t.map(function(c){return c[s]})}),i=e.map(function(o){return a.map(function(s){var c=0;if(!Array.isArray(o)){var f=dt(s),p;try{for(f.s();!(p=f.n()).done;){var b=p.value;c+=o*b;}}catch(L){f.e(L);}finally{f.f();}return c}for(var D=0;D<o.length;D++)c+=o[D]*(s[D]||0);return c})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function Da(e){return on(e)==="string"}function on(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Mi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Id(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,n=e.match(t);if(n){var a=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),a.push(o);}),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:a}}}}function Ld(e){return e[e.length-1]}function Oi(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Pd(e,t,r){return (r-e)/(t-e)}function Cs(e,t,r){return Oi(t[0],t[1],Pd(e[0],e[1],r))}function Md(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var n=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(n){var a=new String(n[1]);return a.range=[+n[2],+n[3]],a}return r})})}var Wx=Object.freeze({__proto__:null,isString:Da,type:on,toPrecision:Mi,parseFunction:Id,last:Ld,interpolate:Oi,interpolateInv:Pd,mapRange:Cs,parseCoordGrammar:Md,multiplyMatrices:Vt}),Xx=(function(){function e(){Pt(this,e);}return Ue(e,[{key:"add",value:function(r,n,a){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],n&&this[i][a?"unshift":"push"](n);},this);}},{key:"run",value:function(r,n){this[r]=this[r]||[],this[r].forEach(function(a){a.call(n&&n.context?n.context:n,n);});}}])})(),sn=new Xx,Lr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},kr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Ts(e){return Array.isArray(e)?e:kr[e]}function Ni(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Ts(e),t=Ts(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(sn.run("chromatic-adaptation-start",a),a.M||(a.W1===kr.D65&&a.W2===kr.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===kr.D50&&a.W2===kr.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),sn.run("chromatic-adaptation-end",a),a.M)return Vt(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Kx=75e-6,Sr=(de=new WeakSet,he=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,c;Pt(this,e),Be(this,de),pe(this,he,void 0),this.id=t.id,this.name=t.name,this.base=t.base?Sr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var f=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=f;var p=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=Ts(p),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var b in this.formats){var D=this.formats[b];D.type||(D.type="function"),D.name||(D.name=b);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((c=this.formats)!==null&&c!==void 0&&c.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,ft(he,this,It(de,this,Jx).call(this).reverse()),sn.run("colorspace-init-end",this);}return Ue(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?Kx:a;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,c){var f=o[c];if(f.type!=="angle"&&f.range){if(Number.isNaN(s))return true;var p=Ce(f.range,2),b=p[0],D=p[1];return (b===void 0||s>=b-i)&&(D===void 0||s<=D+i)}return true})}},{key:"cssId",get:function(){var r;return ((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return true;return false}},{key:"getFormat",value:function(r){if(ye(r)==="object")return r=It(de,this,Od).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=It(de,this,Od).call(this,n),n):null}},{key:"to",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}if(r=Sr.get(r),this===r)return n;n=n.map(function(D){return Number.isNaN(D)?0:D});for(var i=ze(he,this),o=ze(he,r),s,c,f=0;f<i.length&&i[f]===o[f];f++)s=i[f],c=f;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var p=i.length-1;p>c;p--)n=i[p].toBase(n);for(var b=c+1;b<o.length;b++)n=o[b].fromBase(n);return n}},{key:"from",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}return r=Sr.get(r),r.to(this,n)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var n in this.coords){var a,i=this.coords[n],o=i.range||i.refRange;r.push((a=o?.min)!==null&&a!==void 0?a:0);}return r}}],[{key:"all",get:function(){return le(new Set(Object.values(Sr.registry)))}},{key:"register",value:function(r,n){if(arguments.length===1&&(n=arguments[0],r=n.id),n=this.get(n),this.registry[r]&&this.registry[r]!==n)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=n,arguments.length===1&&n.aliases){var a=dt(n.aliases),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;this.register(o,n);}}catch(s){a.e(s);}finally{a.f();}}return n}},{key:"get",value:function(r){if(!r||r instanceof Sr)return r;var n=on(r);if(n==="string"){var a=Sr.registry[r.toLowerCase()];if(!a)throw new TypeError('No color space found with id = "'.concat(r,'"'));return a}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return Sr.get.apply(Sr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=on(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),c=Ce(s,2);i=c[0],o=c[1];}else i=void 0,o=r;else if(Array.isArray(r)){var f=Ce(r,2);i=f[0],o=f[1];}else i=r.space,o=r.coordId;if(i=Sr.get(i),i||(i=n),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(a=on(o),a==="number"||a==="string"&&o>=0){var p=Object.entries(i.coords)[o];if(p)return te({space:i,id:p[0],index:o},p[1])}i=Sr.get(i);var b=o.toLowerCase(),D=0;for(var L in i.coords){var B,G=i.coords[L];if(L.toLowerCase()===b||((B=G.name)===null||B===void 0?void 0:B.toLowerCase())===b)return te({space:i,id:L,index:D},G);D++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Od(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Md(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=Ce(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],c=o.range||o.refRange,f=s.range,p="";return s=="<percentage>"?(f=[0,100],p="%"):s=="<angle>"&&(p="deg"),{fromRange:c,toRange:f,suffix:p}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,c=o.toRange,f=o.suffix;return s&&c&&(a=Cs(s,c,a)),a=Mi(a,n),f&&(a+=f),a})};}return e}function Jx(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var We=Sr;Hc(We,"registry",{}),Hc(We,"DEFAULT_FORMAT",{type:"functions",name:"color"});var gr=new We({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),ir=(function(e){function t(r){var n,a;if(Pt(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=gr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var c=Vt(r.toXYZ_M,s);return a.white!==a.base.white&&(c=Ni(a.white,a.base.white,c)),c}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Ni(a.base.white,a.white,s),Vt(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=se(this,t,[r])}return Q(t,e),Ue(t)})(We);function Nd(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(sn.run("parse-start",r),r.color)return r.color;if(r.parsed=Id(r.str),r.parsed){var n=r.parsed.name;if(n==="color"){var a=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=dt(We.all),s;try{var c=function(){var Le=s.value,be=Le.getFormat("color");if(be){var De;if(a===be.id||(De=be.ids)!==null&&De!==void 0&&De.includes(a)){var Te=Object.keys(Le.coords).length,Pe=Array(Te).fill(0);return Pe.forEach(function(je,Ye){return Pe[Ye]=r.parsed.args[Ye]||0}),{v:{spaceId:Le.id,coords:Pe,alpha:i}}}}},f;for(o.s();!(s=o.n()).done;)if(f=c(),f)return f.v}catch(we){o.e(we);}finally{o.f();}var p="";if(a in We.registry){var b,D=(b=We.registry[a].formats)===null||b===void 0||(b=b.functions)===null||b===void 0||(b=b.color)===null||b===void 0?void 0:b.id;D&&(p="Did you mean color(".concat(D,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(p||"Missing a plugin?"))}else {var L=dt(We.all),B;try{var G=function(){var Le=B.value,be=Le.getFormat(n);if(be&&be.type==="function"){var De=1;(be.lastAlpha||Ld(r.parsed.args).alpha)&&(De=r.parsed.args.pop());var Te=r.parsed.args;return be.coordGrammar&&Object.entries(Le.coords).forEach(function(Pe,je){var Ye,qe=Ce(Pe,2),Xe=qe[0],ke=qe[1],$e=be.coordGrammar[je],ce=(Ye=Te[je])===null||Ye===void 0?void 0:Ye.type;if($e=$e.find(function(Je){return Je==ce}),!$e){var Me=ke.name||Xe;throw new TypeError("".concat(ce," not allowed for ").concat(Me," in ").concat(n,"()"))}var _e=$e.range;ce==="<percentage>"&&(_e||(_e=[0,1]));var Oe=ke.range||ke.refRange;_e&&Oe&&(Te[je]=Cs(_e,Oe,Te[je]));}),{v:{spaceId:Le.id,coords:Te,alpha:De}}}},K;for(L.s();!(B=L.n()).done;)if(K=G(),K)return K.v}catch(we){L.e(we);}finally{L.f();}}}else {var Y=dt(We.all),Z;try{for(Y.s();!(Z=Y.n()).done;){var ie=Z.value;for(var oe in ie.formats){var ue=ie.formats[oe];if(ue.type==="custom"&&!(ue.test&&!ue.test(r.str))){var fe=ue.parse(r.str);if(fe){var ge;return (ge=fe.alpha)!==null&&ge!==void 0||(fe.alpha=1),fe}}}}}catch(we){Y.e(we);}finally{Y.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function yt(e){if(!e)throw new TypeError("Empty color reference");Da(e)&&(e=Nd(e));var t=e.space||e.spaceId;return t instanceof We||(e.space=We.get(t)),e.alpha===void 0&&(e.alpha=1),e}function ka(e,t){return t=We.get(t),t.from(e)}function br(e,t){var r=We.resolveCoord(t,e.space),n=r.space,a=r.index,i=ka(e,n);return i[a]}function qd(e,t,r){return t=We.get(t),e.coords=t.to(e.space,r),e}function ln(e,t,r){if(e=yt(e),arguments.length===2&&on(arguments[1])==="object"){var n=arguments[1];for(var a in n)ln(e,a,n[a]);}else {typeof r=="function"&&(r=r(br(e,t)));var i=We.resolveCoord(t,e.space),o=i.space,s=i.index,c=ka(e,o);c[s]=r,qd(e,o,c);}return e}var Rs=new We({id:"xyz-d50",name:"XYZ D50",white:"D50",base:gr,fromBase:function(t){return Ni(gr.white,"D50",t)},toBase:function(t){return Ni("D50",gr.white,t)},formats:{color:{}}}),Yx=216/24389,Bd=24/116,qi=24389/27,Fs=kr.D50,sr=new We({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Fs,base:Rs,fromBase:function(t){var r=t.map(function(a,i){return a/Fs[i]}),n=r.map(function(a){return a>Yx?Math.cbrt(a):(qi*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>Bd?Math.pow(r[0],3):(116*r[0]-16)/qi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/qi,r[2]>Bd?Math.pow(r[2],3):(116*r[2]-16)/qi];return n.map(function(a,i){return a*Fs[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Bi(e){return (e%360+360)%360}function Zx(e,t){if(e==="raw")return t;var r=t.map(Bi),n=Ce(r,2),a=n[0],i=n[1],o=i-a;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(a+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:a+=360):e==="shorter"&&(o>180?a+=360:o<-180&&(i+=360)),[a,i]}var Sa=new We({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:sr,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Bi(o)]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];return a<0&&(a=0),isNaN(i)&&(i=0),[n,a*Math.cos(i*Math.PI/180),a*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Hd=Math.pow(25,7),Hi=Math.PI,Vd=180/Hi,jn=Hi/180;function Is(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.kL,a=n===void 0?1:n,i=r.kC,o=i===void 0?1:i,s=r.kH,c=s===void 0?1:s,f=sr.from(e),p=Ce(f,3),b=p[0],D=p[1],L=p[2],B=Sa.from(sr,[b,D,L])[1],G=sr.from(t),K=Ce(G,3),Y=K[0],Z=K[1],ie=K[2],oe=Sa.from(sr,[Y,Z,ie])[1];B<0&&(B=0),oe<0&&(oe=0);var ue=(B+oe)/2,fe=Math.pow(ue,7),ge=.5*(1-Math.sqrt(fe/(fe+Hd))),we=(1+ge)*D,Le=(1+ge)*Z,be=Math.sqrt(Math.pow(we,2)+Math.pow(L,2)),De=Math.sqrt(Math.pow(Le,2)+Math.pow(ie,2)),Te=we===0&&L===0?0:Math.atan2(L,we),Pe=Le===0&&ie===0?0:Math.atan2(ie,Le);Te<0&&(Te+=2*Hi),Pe<0&&(Pe+=2*Hi),Te*=Vd,Pe*=Vd;var je=Y-b,Ye=De-be,qe=Pe-Te,Xe=Te+Pe,ke=Math.abs(qe),$e;be*De===0?$e=0:ke<=180?$e=qe:qe>180?$e=qe-360:qe<-180?$e=qe+360:console.log("the unthinkable has happened");var ce=2*Math.sqrt(De*be)*Math.sin($e*jn/2),Me=(b+Y)/2,_e=(be+De)/2,Oe=Math.pow(_e,7),Je;be*De===0?Je=Xe:ke<=180?Je=Xe/2:Xe<360?Je=(Xe+360)/2:Je=(Xe-360)/2;var Ne=Math.pow(Me-50,2),Ve=1+.015*Ne/Math.sqrt(20+Ne),ut=1+.045*_e,wt=1;wt-=.17*Math.cos((Je-30)*jn),wt+=.24*Math.cos(2*Je*jn),wt+=.32*Math.cos((3*Je+6)*jn),wt-=.2*Math.cos((4*Je-63)*jn);var kt=1+.015*_e*wt,Bt=30*Math.exp(-1*Math.pow((Je-275)/25,2)),zt=2*Math.sqrt(Oe/(Oe+Hd)),jt=-1*Math.sin(2*Bt*jn)*zt,Rt=Math.pow(je/(a*Ve),2);return Rt+=Math.pow(Ye/(o*ut),2),Rt+=Math.pow(ce/(c*kt),2),Rt+=jt*(Ye/(o*ut))*(ce/(c*kt)),Math.sqrt(Rt)}var Qx=75e-6;function Ca(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.epsilon,a=n===void 0?Qx:n;e=yt(e),t=We.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function Ta(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function un(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Lr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(Da(arguments[1])&&(i=arguments[1]),i=We.get(i),Ca(e,i,{epsilon:0}))return e;var o=vr(e,i);if(n!=="clip"&&!Ca(e,i)){var s=un(Ta(o),{method:"clip",space:i});if(Is(e,s)>2){for(var c=We.resolveCoord(n),f=c.space,p=c.id,b=vr(o,f),D=c.range||c.refRange,L=D[0],B=.01,G=L,K=br(b,p);K-G>B;){var Y=Ta(b);Y=un(Y,{space:i,method:"clip"});var Z=Is(b,Y);Z-2<B?G=br(b,p):K=br(b,p),ln(b,p,(G+K)/2);}o=vr(b,i);}else o=s;}if(n==="clip"||!Ca(o,i,{epsilon:0})){var ie=Object.values(i.coords).map(function(oe){return oe.range||[]});o.coords=o.coords.map(function(oe,ue){var fe=Ce(ie[ue],2),ge=fe[0],we=fe[1];return ge!==void 0&&(oe=Math.max(ge,oe)),we!==void 0&&(oe=Math.min(oe,we)),oe});}return i!==e.space&&(o=vr(o,e.space)),e.coords=o.coords,e}un.returns="color";function vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=yt(e),t=We.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=un(i)),i}vr.returns="color";function Vi(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Lr.precision:a,o=n.format,s=o===void 0?"default":o,c=n.inGamut,f=c===void 0?true:c,p=W(n,w),b;e=yt(e);var D=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:We.DEFAULT_FORMAT,f||(f=s.toGamut);var L=e.coords;if(L=L.map(function(oe){return oe||0}),f&&!Ca(e)&&(L=un(Ta(e),f===true?void 0:f).coords),s.type==="custom")if(p.precision=i,s.serialize)b=s.serialize(L,e.alpha,p);else throw new TypeError("format ".concat(D," can only be used to parse colors, not for serialization"));else {var B=s.name||"color";s.serializeCoords?L=s.serializeCoords(L,i):i!==null&&(L=L.map(function(oe){return Mi(oe,i)}));var G=le(L);if(B==="color"){var K,Y=s.id||((K=s.ids)===null||K===void 0?void 0:K[0])||e.space.id;G.unshift(Y);}var Z=e.alpha;i!==null&&(Z=Mi(Z,i));var ie=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(Z):"";b="".concat(B,"(").concat(G.join(s.commas?", ":" ")).concat(ie,")");}return b}var eA=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],tA=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],$i=new ir({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:eA,fromXYZ_M:tA,formats:{color:{}}}),ji=1.09929682680944,$d=.018053968510807,jd=new ir({id:"rec2020",name:"REC.2020",base:$i,toBase:function(t){return t.map(function(r){return r<$d*4.5?r/4.5:Math.pow((r+ji-1)/ji,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=$d?ji*Math.pow(r,.45)-(ji-1):4.5*r})},formats:{color:{}}}),rA=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],nA=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],zd=new ir({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:rA,fromXYZ_M:nA}),aA=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],iA=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Gd=new ir({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:aA,fromXYZ_M:iA,formats:{color:{}}}),Ud={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},Wd=Array(3).fill("<percentage> | <number>[0, 255]"),Xd=Array(3).fill("<number>[0, 255]"),Ra=new ir({id:"srgb",name:"sRGB",base:Gd,fromBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a>.0031308?n*(1.055*Math.pow(a,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a<.04045?r/12.92:n*Math.pow((a+.055)/1.055,2.4)})},formats:{rgb:{coords:Wd},rgb_number:{name:"rgb",commas:true,coords:Xd,noAlpha:true},color:{},rgba:{coords:Wd,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Xd},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(n){r.push(parseInt(n,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.collapse,i=a===void 0?true:a;r<1&&t.push(r),t=t.map(function(c){return Math.round(c*255)});var o=i&&t.every(function(c){return c%17===0}),s=t.map(function(c){return o?(c/17).toString(16):c.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=Ud.black,r.alpha=0):r.coords=Ud[t],r.coords)return r}}}}),Kd=new ir({id:"p3",name:"P3",base:zd,fromBase:Ra.fromBase,toBase:Ra.toBase,formats:{color:{id:"display-p3"}}});if(Lr.display_space=Ra,typeof CSS<"u"&&(Ee=CSS)!==null&&Ee!==void 0&&Ee.supports)for(var Ls=0,Jd=[sr,jd,Kd];Ls<Jd.length;Ls++){var Ps=Jd[Ls],oA=Ps.getMinCoords(),sA={space:Ps,coords:oA,alpha:1},lA=Vi(sA);if(CSS.supports("color",lA)){Lr.display_space=Ps;break}}function uA(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Lr.display_space:n,i=W(r,x),o=Vi(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Lr.display_space)o=new String(o),o.color=e;else {var s=vr(e,a);o=new String(Vi(s,i)),o.color=s;}return o}function Yd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=We.get(r);var n=r.from(e),a=r.from(t);return Math.sqrt(n.reduce(function(i,o,s){var c=a[s];return isNaN(o)||isNaN(c)?i:i+Math.pow(c-o,2)},0))}function cA(e,t){return e=yt(e),t=yt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function cn(e){return br(e,[gr,"y"])}function Zd(e,t){ln(e,[gr,"y"],t);}function dA(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return cn(this)},set:function(r){Zd(this,r);}});}var fA=Object.freeze({__proto__:null,getLuminance:cn,setLuminance:Zd,register:dA});function mA(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var pA=.56,hA=.57,gA=.62,bA=.65,Qd=.022,vA=1.414,yA=.1,wA=5e-4,xA=1.14,ef=.027,AA=1.14;function tf(e){return e>=Qd?e:e+Math.pow(Qd-e,vA)}function zn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function _A(e,t){t=yt(t),e=yt(e);var r,n,a,i,o,s;t=vr(t,"srgb");var c=Ce(t.coords,3);i=c[0],o=c[1],s=c[2];var f=zn(i)*.2126729+zn(o)*.7151522+zn(s)*.072175;e=vr(e,"srgb");var p=Ce(e.coords,3);i=p[0],o=p[1],s=p[2];var b=zn(i)*.2126729+zn(o)*.7151522+zn(s)*.072175,D=tf(f),L=tf(b),B=L>D;return Math.abs(L-D)<wA?n=0:B?(r=Math.pow(L,pA)-Math.pow(D,hA),n=r*xA):(r=Math.pow(L,bA)-Math.pow(D,gA),n=r*AA),Math.abs(n)<yA?a=0:n>0?a=n-ef:a=n+ef,a*100}function EA(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}var i=r+n;return i===0?0:(r-n)/i}var DA=5e4;function kA(e,t){e=yt(e),t=yt(t);var r=Math.max(cn(e),0),n=Math.max(cn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?DA:(r-n)/n}function SA(e,t){e=yt(e),t=yt(t);var r=br(e,[sr,"l"]),n=br(t,[sr,"l"]);return Math.abs(r-n)}var CA=216/24389,rf=24/116,zi=24389/27,Ms=kr.D65,Os=new We({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ms,base:gr,fromBase:function(t){var r=t.map(function(a,i){return a/Ms[i]}),n=r.map(function(a){return a>CA?Math.cbrt(a):(zi*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>rf?Math.pow(r[0],3):(116*r[0]-16)/zi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/zi,r[2]>rf?Math.pow(r[2],3):(116*r[2]-16)/zi];return n.map(function(a,i){return a*Ms[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Ns=Math.pow(5,.5)*.5+.5;function TA(e,t){e=yt(e),t=yt(t);var r=br(e,[Os,"l"]),n=br(t,[Os,"l"]),a=Math.abs(Math.pow(r,Ns)-Math.pow(n,Ns)),i=Math.pow(a,1/Ns)*Math.SQRT2-40;return i<7.5?0:i}var Gi=Object.freeze({__proto__:null,contrastWCAG21:mA,contrastAPCA:_A,contrastMichelson:EA,contrastWeber:kA,contrastLstar:SA,contrastDeltaPhi:TA});function RA(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Da(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=W(n,E);if(!a){var o=Object.keys(Gi).map(function(c){return c.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=yt(e),t=yt(t);for(var s in Gi)if("contrast"+a.toLowerCase()===s.toLowerCase())return Gi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function nf(e){var t=ka(e,gr),r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=n+15*a+3*i;return [4*n/o,9*a/o]}function af(e){var t=ka(e,gr),r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function FA(e){Object.defineProperty(e.prototype,"uv",{get:function(){return nf(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return af(this)}});}var IA=Object.freeze({__proto__:null,uv:nf,xy:af,register:FA});function LA(e,t){return Yd(e,t,"lab")}var PA=Math.PI,of=PA/180;function MA(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.l,a=n===void 0?2:n,i=r.c,o=i===void 0?1:i,s=sr.from(e),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=Sa.from(sr,[f,p,b]),L=Ce(D,3),B=L[1],G=L[2],K=sr.from(t),Y=Ce(K,3),Z=Y[0],ie=Y[1],oe=Y[2],ue=Sa.from(sr,[Z,ie,oe])[1];B<0&&(B=0),ue<0&&(ue=0);var fe=f-Z,ge=B-ue,we=p-ie,Le=b-oe,be=Math.pow(we,2)+Math.pow(Le,2)-Math.pow(ge,2),De=.511;f>=16&&(De=.040975*f/(1+.01765*f));var Te=.0638*B/(1+.0131*B)+.638,Pe;Number.isNaN(G)&&(G=0),G>=164&&G<=345?Pe=.56+Math.abs(.2*Math.cos((G+168)*of)):Pe=.36+Math.abs(.4*Math.cos((G+35)*of));var je=Math.pow(B,4),Ye=Math.sqrt(je/(je+1900)),qe=Te*(Ye*Pe+1-Ye),Xe=Math.pow(fe/(a*De),2);return Xe+=Math.pow(ge/(o*Te),2),Xe+=be/Math.pow(qe,2),Math.sqrt(Xe)}var sf=203,qs=new We({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:gr,fromBase:function(t){return t.map(function(r){return Math.max(r*sf,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/sf,0)})}}),Ui=1.15,Wi=.66,lf=2610/Math.pow(2,14),OA=Math.pow(2,14)/2610,uf=3424/Math.pow(2,12),cf=2413/Math.pow(2,7),df=2392/Math.pow(2,7),NA=1.7*2523/Math.pow(2,5),ff=Math.pow(2,5)/(1.7*2523),Xi=-0.56,Bs=16295499532821565e-27,qA=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],BA=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],HA=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],VA=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],mf=new We({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:qs,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=Ui*n-(Ui-1)*i,s=Wi*a-(Wi-1)*n,c=Vt(qA,[o,s,i]),f=c.map(function(K){var Y=uf+cf*Math.pow(K/1e4,lf),Z=1+df*Math.pow(K/1e4,lf);return Math.pow(Y/Z,NA)}),p=Vt(HA,f),b=Ce(p,3),D=b[0],L=b[1],B=b[2],G=(1+Xi)*D/(1+Xi*D)-Bs;return [G,L,B]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o=(n+Bs)/(1+Xi-Xi*(n+Bs)),s=Vt(VA,[o,a,i]),c=s.map(function(K){var Y=uf-Math.pow(K,ff),Z=df*Math.pow(K,ff)-cf,ie=1e4*Math.pow(Y/Z,OA);return ie}),f=Vt(BA,c),p=Ce(f,3),b=p[0],D=p[1],L=p[2],B=(b+(Ui-1)*L)/Ui,G=(D+(Wi-1)*B)/Wi;return [B,G,L]},formats:{color:{}}}),Hs=new We({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:mf,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Bi(o)]},toBase:function(t){return [t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]},formats:{color:{}}});function $A(e,t){var r=Hs.from(e),n=Ce(r,3),a=n[0],i=n[1],o=n[2],s=Hs.from(t),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=a-f,L=i-p;Number.isNaN(o)&&Number.isNaN(b)?(o=0,b=0):Number.isNaN(o)?o=b:Number.isNaN(b)&&(b=o);var B=o-b,G=2*Math.sqrt(i*p)*Math.sin(B/2*(Math.PI/180));return Math.sqrt(Math.pow(D,2)+Math.pow(L,2)+Math.pow(G,2))}var pf=3424/4096,hf=2413/128,gf=2392/128,bf=2610/16384,jA=2523/32,zA=16384/2610,vf=32/2523,GA=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],UA=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],WA=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],XA=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Vs=new We({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-0.5,.5],name:"CT"},cp:{refRange:[-0.5,.5],name:"CP"}},base:qs,fromBase:function(t){var r=Vt(GA,t);return KA(r)},toBase:function(t){var r=JA(t);return Vt(XA,r)},formats:{color:{}}});function KA(e){var t=e.map(function(r){var n=pf+hf*Math.pow(r/1e4,bf),a=1+gf*Math.pow(r/1e4,bf);return Math.pow(n/a,jA)});return Vt(UA,t)}function JA(e){var t=Vt(WA,e),r=t.map(function(n){var a=Math.max(Math.pow(n,vf)-pf,0),i=hf-gf*Math.pow(n,vf);return 1e4*Math.pow(a/i,zA)});return r}function YA(e,t){var r=Vs.from(e),n=Ce(r,3),a=n[0],i=n[1],o=n[2],s=Vs.from(t),c=Ce(s,3),f=c[0],p=c[1],b=c[2];return 720*Math.sqrt(Math.pow(a-f,2)+.25*Math.pow(i-p,2)+Math.pow(o-b,2))}var ZA=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],QA=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],e_=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],t_=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Ki=new We({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:gr,fromBase:function(t){var r=Vt(ZA,t),n=r.map(function(a){return Math.cbrt(a)});return Vt(e_,n)},toBase:function(t){var r=Vt(t_,t),n=r.map(function(a){return Math.pow(a,3)});return Vt(QA,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function r_(e,t){var r=Ki.from(e),n=Ce(r,3),a=n[0],i=n[1],o=n[2],s=Ki.from(t),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=a-f,L=i-p,B=o-b;return Math.sqrt(Math.pow(D,2)+Math.pow(L,2)+Math.pow(B,2))}var $s=Object.freeze({__proto__:null,deltaE76:LA,deltaECMC:MA,deltaE2000:Is,deltaEJz:$A,deltaEITP:YA,deltaEOK:r_});function Fa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Da(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Lr.deltaE:a,o=W(n,k);e=yt(e),t=yt(t);for(var s in $s)if("deltae"+i.toLowerCase()===s.toLowerCase())return $s[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function n_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=We.get("oklch","lch"),n=[r,"l"];return ln(e,n,function(a){return a*(1+t)})}function a_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=We.get("oklch","lch"),n=[r,"l"];return ln(e,n,function(a){return a*(1-t)})}var i_=Object.freeze({__proto__:null,lighten:n_,darken:a_});function yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=[yt(e),yt(t)];if(e=a[0],t=a[1],on(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,c=o.outputSpace,f=o.premultiplied,p=Ia(e,t,{space:s,outputSpace:c,premultiplied:f});return p(r)}function wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(js(e)){n=e,r=t;var a=Ce(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,c=i.steps,f=c===void 0?2:c,p=i.maxSteps,b=p===void 0?1e3:p,D=W(i,_);if(!n){var L=[yt(e),yt(t)];e=L[0],t=L[1],n=Ia(e,t,D);}var B=Fa(e,t),G=o>0?Math.max(f,Math.ceil(B/o)+1):f,K=[];if(b!==void 0&&(G=Math.min(G,b)),G===1)K=[{p:.5,color:n(.5)}];else {var Y=1/(G-1);K=Array.from({length:G},function(we,Le){var be=Le*Y;return {p:be,color:n(be)}});}if(o>0)for(var Z=K.reduce(function(we,Le,be){if(be===0)return 0;var De=Fa(Le.color,K[be-1].color,s);return Math.max(we,De)},0);Z>o;){Z=0;for(var ie=1;ie<K.length&&K.length<b;ie++){var oe=K[ie-1],ue=K[ie],fe=(ue.p+oe.p)/2,ge=n(fe);Z=Math.max(Z,Fa(ge,oe.color),Fa(ge,ue.color)),K.splice(ie,0,{p:fe,color:n(fe)}),ie++;}}return K=K.map(function(we){return we.color}),K}function Ia(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(js(e)){var n=e,a=t;return Ia.apply(void 0,le(n.rangeArgs.colors).concat([te({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,c=r.premultiplied;e=yt(e),t=yt(t),e=Ta(e),t=Ta(t);var f={colors:[e,t],options:r};if(i?i=We.get(i):i=We.registry[Lr.interpolationSpace]||e.space,o=o?We.get(o):i,e=vr(e,i),t=vr(t,i),e=un(e),t=un(t),i.coords.h&&i.coords.h.type==="angle"){var p=r.hue=r.hue||"shorter",b=[i,"h"],D=[br(e,b),br(t,b)],L=D[0],B=D[1],G=Zx(p,[L,B]),K=Ce(G,2);L=K[0],B=K[1],ln(e,b,L),ln(t,b,B);}return c&&(e.coords=e.coords.map(function(Y){return Y*e.alpha}),t.coords=t.coords.map(function(Y){return Y*t.alpha})),Object.assign(function(Y){Y=s?s(Y):Y;var Z=e.coords.map(function(ue,fe){var ge=t.coords[fe];return Oi(ue,ge,Y)}),ie=Oi(e.alpha,t.alpha,Y),oe={space:i,coords:Z,alpha:ie};return c&&(oe.coords=oe.coords.map(function(ue){return ue/ie})),o!==i&&(oe=vr(oe,o)),oe},{rangeArgs:f})}function js(e){return on(e)==="function"&&!!e.rangeArgs}Lr.interpolationSpace="lab";function o_(e){e.defineFunction("mix",yf,{returns:"color"}),e.defineFunction("range",Ia,{returns:"function<color>"}),e.defineFunction("steps",wf,{returns:"array<color>"});}var s_=Object.freeze({__proto__:null,mix:yf,steps:wf,range:Ia,isRange:js,register:o_}),xf=new We({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Ra,fromBase:function(t){var r=Math.max.apply(Math,le(t)),n=Math.min.apply(Math,le(t)),a=Ce(t,3),i=a[0],o=a[1],s=a[2],c=NaN,f=0,p=(n+r)/2,b=r-n;if(b!==0){switch(f=p===0||p===1?0:(r-p)/Math.min(p,1-p),r){case i:c=(o-s)/b+(o<s?6:0);break;case o:c=(s-i)/b+2;break;case s:c=(i-o)/b+4;}c=c*60;}return [c,f*100,p*100]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];n=n%360,n<0&&(n+=360),a/=100,i/=100;function o(s){var c=(s+n/30)%12,f=a*Math.min(i,1-i);return i-f*Math.max(-1,Math.min(c-3,9-c,1))}return [o(0),o(8),o(4)]},formats:{hsl:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:true,lastAlpha:true}}}),Af=new We({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:xf,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i+a*Math.min(i,1-i);return [n,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i*(1-a/2);return [n,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),l_=new We({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:Af,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=a+i;if(o>=1){var s=a/o;return [n,0,s*100]}var c=1-i,f=c===0?0:1-a/c;return [n,f*100,c*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),u_=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],c_=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],_f=new ir({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:u_,fromXYZ_M:c_}),d_=new ir({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:_f,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),f_=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],m_=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Ef=new ir({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Rs,toXYZ_M:f_,fromXYZ_M:m_}),p_=1/512,h_=16/512,g_=new ir({id:"prophoto",name:"ProPhoto",base:Ef,toBase:function(t){return t.map(function(r){return r<h_?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=p_?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),b_=new We({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Ki,fromBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Bi(o)]},toBase:function(t){var r=Ce(t,3),n=r[0],a=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=a*Math.cos(i*Math.PI/180),s=a*Math.sin(i*Math.PI/180)),[n,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Df=203,kf=2610/Math.pow(2,14),v_=Math.pow(2,14)/2610,y_=2523/Math.pow(2,5),Sf=Math.pow(2,5)/2523,Cf=3424/Math.pow(2,12),Tf=2413/Math.pow(2,7),Rf=2392/Math.pow(2,7),w_=new ir({id:"rec2100pq",name:"REC.2100-PQ",base:$i,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Sf)-Cf,0)/(Tf-Rf*Math.pow(r,Sf)),v_);return n*1e4/Df})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Df/1e4,0),a=Cf+Tf*Math.pow(n,kf),i=1+Rf*Math.pow(n,kf);return Math.pow(a/i,y_)})},formats:{color:{id:"rec2100-pq"}}}),Ff=.17883277,If=.28466892,Lf=.55991073,zs=3.7743,x_=new ir({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:$i,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*zs:Math.exp((r-Lf)/Ff+If)/12*zs})},fromBase:function(t){return t.map(function(r){return r/=zs,r<=1/12?Math.sqrt(3*r):Ff*Math.log(12*r-If)+Lf})},formats:{color:{id:"rec2100-hlg"}}}),Pf={};sn.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Mf(e.W1,e.W2,e.options.method));}),sn.add("chromatic-adaptation-end",function(e){e.M||(e.M=Mf(e.W1,e.W2,e.options.method));});function Ji(e){var t=e.id;e.toCone_M;e.fromCone_M;Pf[t]=arguments[0];}function Mf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Pf[r],a=Vt(n.toCone_M,e),i=Ce(a,3),o=i[0],s=i[1],c=i[2],f=Vt(n.toCone_M,t),p=Ce(f,3),b=p[0],D=p[1],L=p[2],B=[[b/o,0,0],[0,D/s,0],[0,0,L/c]],G=Vt(B,n.toCone_M),K=Vt(n.fromCone_M,G);return K}Ji({id:"von Kries",toCone_M:[[.40024,.7076,-0.08081],[-0.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Ji({id:"Bradford",toCone_M:[[.8951,.2664,-0.1614],[-0.7502,1.7135,.0367],[.0389,-0.0685,1.0296]],fromCone_M:[[.9869929,-0.1470543,.1599627],[.4323053,.5183603,.0492912],[-85287e-7,.0400428,.9684867]]}),Ji({id:"CAT02",toCone_M:[[.7328,.4296,-0.1624],[-0.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-0.278869,.1827452],[.454369,.4735332,.0720978],[-96276e-7,-5698e-6,1.0153256]]}),Ji({id:"CAT16",toCone_M:[[.401288,.650173,-0.051461],[-0.250268,1.204414,.045854],[-2079e-6,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-0.008973985167612518],[-0.01584149884933386,-0.03412293802851557,1.04996443687785]]}),Object.assign(kr,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),kr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var A_=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],__=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Of=new ir({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:kr.ACES,toXYZ_M:A_,fromXYZ_M:__,formats:{color:{}}}),Yi=Math.pow(2,-16),Gs=-0.35828683,Zi=(Math.log2(65504)+9.72)/17.52,E_=new ir({id:"acescc",name:"ACEScc",coords:{r:{range:[Gs,Zi],name:"Red"},g:{range:[Gs,Zi],name:"Green"},b:{range:[Gs,Zi],name:"Blue"}},referred:"scene",base:Of,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Yi)*2:n<Zi?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Yi)+9.72)/17.52:r<Yi?(Math.log2(Yi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Nf=Object.freeze({__proto__:null,XYZ_D65:gr,XYZ_D50:Rs,XYZ_ABS_D65:qs,Lab_D65:Os,Lab:sr,LCH:Sa,sRGB_Linear:Gd,sRGB:Ra,HSL:xf,HWB:l_,HSV:Af,P3_Linear:zd,P3:Kd,A98RGB_Linear:_f,A98RGB:d_,ProPhoto_Linear:Ef,ProPhoto:g_,REC_2020_Linear:$i,REC_2020:jd,OKLab:Ki,OKLCH:b_,Jzazbz:mf,JzCzHz:Hs,ICTCP:Vs,REC_2100_PQ:w_,REC_2100_HLG:x_,ACEScg:Of,ACEScc:E_}),Dt=(Ae=new WeakMap,(function(){function e(){var t=this;Pt(this,e),pe(this,Ae,void 0);for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];a.length===1&&(r=yt(a[0]));var o,s,c;r?(o=r.space||r.spaceId,s=r.coords,c=r.alpha):(o=a[0],s=a[1],c=a[2]),ft(Ae,this,We.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=c<1?c:1;for(var f=0;f<this.coords.length;f++)this.coords[f]==="NaN"&&(this.coords[f]=NaN);var p=function(L){Object.defineProperty(t,L,{get:function(){return t.get(L)},set:function(G){return t.set(L,G)}});};for(var b in ze(Ae,this).coords)p(b);}return Ue(e,[{key:"space",get:function(){return ze(Ae,this)}},{key:"spaceId",get:function(){return ze(Ae,this).id}},{key:"clone",value:function(){return new Dt(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=uA.apply(void 0,[this].concat(n));return i.color=new Dt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof Dt)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return V(Dt,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,c=function(){var p=n.apply(void 0,arguments);if(s==="color")p=Dt.get(p);else if(s==="function<color>"){var b=p;p=function(){var L=b.apply(void 0,arguments);return Dt.get(L)},Object.assign(p,b);}else s==="array<color>"&&(p=p.map(function(D){return Dt.get(D)}));return p};r in Dt||(Dt[r]=c),o&&(Dt.prototype[r]=function(){for(var f=arguments.length,p=new Array(f),b=0;b<f;b++)p[b]=arguments[b];return c.apply(void 0,[this].concat(p))});}},{key:"defineFunctions",value:function(r){for(var n in r)Dt.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(Dt);else for(var n in r)Dt.defineFunction(n,r[n]);}}])})());Dt.defineFunctions({get:br,getAll:ka,set:ln,setAll:qd,to:vr,equals:cA,inGamut:Ca,toGamut:un,distance:Yd,toString:Vi}),Object.assign(Dt,{util:Wx,hooks:sn,WHITES:kr,Space:We,spaces:We.registry,parse:Nd,defaults:Lr});for(var Us=0,qf=Object.keys(Nf);Us<qf.length;Us++){var D_=qf[Us];We.register(Nf[D_]);}for(var Bf in We.registry)Ws(Bf,We.registry[Bf]);sn.add("colorspace-init-end",function(e){var t;Ws(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){Ws(r,e);});});function Ws(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(Dt.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,c){try{return We.resolveCoord([t,c]),!0}catch{}return Reflect.has(s,c)},get:function(s,c,f){if(c&&ye(c)!=="symbol"&&!(c in s)){var p=We.resolveCoord([t,c]),b=p.index;if(b>=0)return s[b]}return Reflect.get(s,c,f)},set:function(s,c,f,p){if(c&&ye(c)!=="symbol"&&!(c in s)||c>=0){var b=We.resolveCoord([t,c]),D=b.index;if(D>=0)return s[D]=f,a.setAll(e,s),true}return Reflect.set(s,c,f,p)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}Dt.extend($s),Dt.extend({deltaE:Fa}),Dt.extend(i_),Dt.extend({contrast:RA}),Dt.extend(IA),Dt.extend(fA),Dt.extend(s_),Dt.extend(Gi);var Hf=Fr(ud());an.default.templateSettings.strip=false,m._memoizedFns=[];function k_(e){var t=(0, Fd.default)(e);return m._memoizedFns.push(t),t}var Ct=k_,S_=Ct(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),La=S_;function Xs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||d;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var C_=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],T_=31,R_=/([\\"])/g,F_=/(\r\n|\r|\n)/g;function Ks(e){return e.replace(R_,"\\$1").replace(F_,"\\a ")}function Vf(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Cd(e.getAttribute(r));a?n=qt(t.name)+'$="'+Ks(a)+'"':n=qt(t.name)+'="'+Ks(e.getAttribute(r))+'"';}else n=qt(r)+'="'+Ks(t.value)+'"';return n}function Js(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function $f(e){return !C_.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<T_)}function Qi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var c=s.nodeName;t.tags[c]?t.tags[c]++:t.tags[c]=1,s.classList&&Array.from(s.classList).forEach(function(f){var p=qt(f);t.classes[p]?t.classes[p]++:t.classes[p]=1;}),s.hasAttributes()&&Array.from(Ea(s)).filter($f).forEach(function(f){var p=Vf(s,f);p&&(t.attributes[p]?t.attributes[p]++:t.attributes[p]=1);});}for(o.children.length&&(n.push(r),r=o.children.slice());!r.length&&n.length;)r=n.pop();};r.length;)a();return t}function I_(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=qt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Js)}function L_(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&$n(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function P_(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||d,r="#"+qt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function jf(e){var t=La(d);return qt(t?e.localName:e.nodeName.toLowerCase())}function M_(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Ea(e)).filter($f).forEach(function(i){var o=Vf(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Js)}function O_(e,t){var r="",n,a=I_(e,t),i=M_(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=jf(e)):(n=a.concat(i),n.sort(Js),n=n.slice(0,3),n.some(function(o){return o.species==="class"})?n.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=jf(e)),r+=n.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function N_(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=P_(e);s||(s=O_(e,m._selectorData),s+=L_(e,s)),i?i=s+" > "+i:i=s,!o||o.length>tt.selectorSimilarFilterLimit?o=B_(r,i):o=o.filter(function(c){return $n(c,i)}),e=e.parentElement;}while((o.length>1||a)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function q_(e,t){return Xs(N_,e,t)}var Ys=Ct(q_),B_=Ct(function(e,t){return Array.from(e.querySelectorAll(t))});function zf(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if(t!=="head"&&t!=="body"&&n?.children.length>1){var i=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(i,")");}return r?zf(r)+" > "+t+a:t+a}function eo(e,t){return Xs(zf,e,t)}function Gf(e,t){var r,n;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Gf(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&n++,r=r.previousSibling;while(r);n===1&&(n=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&qt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a);}return t}function H_(e){return e.reduce(function(t,r){return r.id?"//".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function V_(e){var t=Gf(e);return H_(t)}var Uf=V_,Pa={},$_={set:function(t,r){j_(t),Pa[t]=r;},get:function(t,r){if(z_(r),t in Pa)return Pa[t];if(typeof r=="function"){var n=r();return pt(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),Pa[t]}},clear:function(){Pa={};}};function j_(e){pt(typeof e=="string","key must be a string, "+ye(e)+" given"),pt(e!=="","key must not be empty");}function z_(e){pt(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+ye(e)+" given");}var et=$_;function G_(e,t){var r=t||e;return et.get("nodeMap")?et.get("nodeMap").get(r):null}var nt=G_;function Wf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,n=r===void 0?300:r,a=t.attrLimit,i=a===void 0?20:a;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Zs(s,n)}var c=U_(e);return c.length>n?W_(e,{maxLength:n,attrLimit:i}):c}function U_(e){var t=e.outerHTML;return !t&&typeof u.XMLSerializer=="function"&&(t=new u.XMLSerializer().serializeToString(e)),t||""}function W_(e,t){var r=t.maxLength,n=t.attrLimit,a=La(e.ownerDocument||d)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(Ea(e)).map(function(B){var G=B.name,K=B.value;return {name:G,value:K}}),o=i.reduce(function(B,G){var K=G.name,Y=G.value;return B+K.length+Y.length+4},0);2+a.length+o>r&&i.forEach(function(B){B.name=Zs(B.name,n),B.value=Zs(B.value,n);});var s="<".concat(a),c=">",f=" ...>",p=dt(i),b;try{for(p.s();!(b=p.n()).done;){var D=b.value,L=" ".concat(D.name,'="').concat(D.value,'"');if(s.length+L.length>r-f.length){c=f;continue}s+=L;}}catch(B){p.e(B);}finally{p.f();}return s+c}function Zs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Xf="DqElm.RunOptions",kn=Ct(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=et.get(Xf))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Xt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=nt(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!m._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Wf(this._element);}return this});kn.prototype={get selector(){return this.spec.selector||[Ys(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[eo(this.element)]},get xpath(){return this.spec.xpath||[Uf(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},kn.fromFrame=function(t,r,n){var a=kn.mergeSpecs(t,n);return new kn(n.element,r,a)},kn.mergeSpecs=function(t,r){return te({},t,{selector:[].concat(le(r.selector),le(t.selector)),ancestry:[].concat(le(r.ancestry),le(t.ancestry)),xpath:[].concat(le(r.xpath),le(t.xpath)),nodeIndexes:[].concat(le(r.nodeIndexes),le(t.nodeIndexes)),fromFrame:true})},kn.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;et.set(Xf,{elementRef:r,absolutePaths:n});};var yr=kn;function X_(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){u.Node&&(i instanceof u.Node||i instanceof Xt?i=[i]:i=Sd(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Xt&&(o=o.actualNode),o instanceof u.Node){var s=new yr(o);e.relatedNodes.push(s);}}));}}}var Qs=X_;function Ur(e){return el(e,new Map)}function el(e,t){var r,n;if(e===null||ye(e)!=="object"||(r=u)!==null&&r!==void 0&&r.Node&&e instanceof u.Node||(n=u)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof u.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(s){a.push(el(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=el(e[o],t);return i}var Ma=new Rd.CssSelectorParser;Ma.registerSelectorPseudos("not"),Ma.registerSelectorPseudos("is"),Ma.registerNestingOperators(">"),Ma.registerAttrEqualityMods("^","$","*","~");var Kf=Ma;function tl(e,t){var r=to(t);return r.some(function(n){return Gn(e,n)})}function K_(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function J_(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function Y_(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function Z_(e,t){return !t.id||e.props.id===t.id}function Q_(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return Gn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return Gn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Jf(e,t){return K_(e,t)&&J_(e,t)&&Y_(e,t)&&Z_(e,t)&&Q_(e,t)}var Oa=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),rl=/\\/g;function e2(e){if(e)return e.map(function(t){var r=t.name.replace(rl,""),n=(t.value||"").replace(rl,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+Oa(n));break;case "$=":i=new RegExp(Oa(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Oa(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Oa(n)+"(-|$)");break;case "=":a=function(s){return n===s};break;case "*=":a=function(s){return s&&s.includes(n)};break;case "!=":a=function(s){return n!==s};break;default:a=function(s){return s!==null};}return n===""&&/^[*$^]=$/.test(t.operator)&&(a=function(){return false}),a||(a=function(s){return s&&i.test(s)}),{key:r,value:n,type:typeof t.value>"u"?"attrExist":"attrValue",test:a}})}function t2(e){if(e)return e.map(function(t){return t=t.replace(rl,""),{value:t,regexp:new RegExp("(^|\\s)"+Oa(t)+"(\\s|$)")}})}function r2(e){if(e)return e.map(function(t){var r;return ["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=Yf(r)),{name:t.name,expressions:r,value:t.value}})}function Yf(e){return e.map(function(t){for(var r=[],n=t.rule;n;)r.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:e2(n.attrs),classes:t2(n.classNames),pseudos:r2(n.pseudos)}),n=n.rule;return r})}function to(e){var t=Kf.parse(e);return t=t.selectors?t.selectors:[t],Yf(t)}function Zf(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Jf(e,i);!o&&n&&e.parent;)e=e.parent,o=Jf(e,i);if(r>0){if([" ",">"].includes(i.combinator)===false)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&Zf(e.parent,t,r-1,i.combinator===" ");}return o}function Gn(e,t,r){return Zf(e,t,t.length-1,r)}function n2(e,t){for(;e;){if(tl(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent;}return null}var lr=n2;function ro(){}function nl(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function a2(){var e=[],t=0,r=0,n=ro,a=false,i,o=function(L){i=L,setTimeout(function(){i!=null&&Dn("Uncaught error (of queue)",i);},1);},s=o;function c(D){return function(L){e[D]=L,r-=1,!r&&n!==ro&&(a=true,n(e));}}function f(D){return n=ro,s(D),e}function p(){for(var D=e.length;t<D;t++){var L=e[t];try{L.call(null,c(t),f);}catch(B){f(B);}}}var b={defer:function(L){if(ye(L)==="object"&&L.then&&L.catch){var B=L;L=function(K,Y){B.then(K).catch(Y);};}if(nl(L),i===void 0){if(a)throw new Error("Queue already completed");return e.push(L),++r,p(),b}},then:function(L){if(nl(L),n!==ro)throw new Error("queue `then` already set");return i||(n=L,r||(a=true,n(e))),b},catch:function(L){if(nl(L),s!==o)throw new Error("queue `catch` already set");return i?(L(i),i=null):s=L,b},abort:f};return b}var Pr=a2,Un,Wn,al=u.crypto||u.msCrypto;if(!Wn&&al&&al.getRandomValues){var Qf=new Uint8Array(16);Wn=function(){return al.getRandomValues(Qf),Qf};}if(!Wn){var em=new Array(16);Wn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),em[t]=r>>>((t&3)<<3)&255;return em};}for(var tm=typeof u.Buffer=="function"?u.Buffer:Array,il=[],rm={},Xn=0;Xn<256;Xn++)il[Xn]=(Xn+256).toString(16).substr(1),rm[il[Xn]]=Xn;function i2(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){a<16&&(t[n+a++]=rm[i]);});a<16;)t[n+a++]=0;return t}function ol(e,t){var r=t||0,n=il;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var dn=Wn(),o2=[dn[0]|1,dn[1],dn[2],dn[3],dn[4],dn[5]],nm=(dn[6]<<8|dn[7])&16383,sl=0,ll=0;function am(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:nm,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:ll+1,c=o-sl+(s-ll)/1e4;if(c<0&&e.clockseq==null&&(i=i+1&16383),(c<0||o>sl)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");sl=o,ll=s,nm=i,o+=122192928e5;var f=((o&268435455)*1e4+s)%4294967296;a[n++]=f>>>24&255,a[n++]=f>>>16&255,a[n++]=f>>>8&255,a[n++]=f&255;var p=o/4294967296*1e4&268435455;a[n++]=p>>>8&255,a[n++]=p&255,a[n++]=p>>>24&15|16,a[n++]=p>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var b=e.node||o2,D=0;D<6;D++)a[n+D]=b[D];return t||ol(a)}function Sn(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new tm(16):null,e=null),e=e||{};var a=e.random||(e.rng||Wn)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,t)for(var i=0;i<16;i++)t[n+i]=a[i];return t||ol(a)}Un=Sn,Un.v1=am,Un.v4=Sn,Un.parse=i2,Un.unparse=ol,Un.BufferClass=tm,m._uuid=am();var s2=Sn,l2=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function u2(e){var t=e.topic,r=e.channelId,n=e.message,a=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:a,keepalive:!!i,source:im()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function c2(e){var t;try{t=JSON.parse(e);}catch{return}if(d2(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=ye(t.error)==="object"?f2(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function d2(e){return e!==null&&ye(e)==="object"&&typeof e.channelId=="string"&&e.source===im()}function f2(e){var t=e.message||"Unknown error occurred",r=l2.includes(e.name)?e.name:"Error",n=u[r]||Error;return e.stack&&(t+=`
|
|
425
|
+
`+e.stack.replace(e.message,"")),new n(t)}function im(){var e="axeAPI",t="";return typeof m<"u"&&m._audit&&m._audit.application&&(e=m._audit.application),typeof m<"u"&&(t=m.version),e+"."+t}function ul(e){sm(e),pt(u.parent===e,"Source of the response must be the parent window.");}function om(e){sm(e),pt(e.parent===u,"Respondable target must be a frame in the current window");}function sm(e){pt(u!==e,"Messages can not be sent to the same window.");}var Na={};function m2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;pt(!Object.prototype.hasOwnProperty.call(Na,e),"A replyHandler already exists for this message channel."),Na[e]={replyHandler:t,sendToParent:r};}function p2(e){return Object.prototype.hasOwnProperty.call(Na,e)?Na[e]:void 0}function h2(e){delete Na[e];}var no=[];function cl(){var e="".concat(Sn(),":").concat(Sn());return no.includes(e)?cl():(no.push(e),e)}function g2(e){return no.includes(e)?false:(no.push(e),true)}function dl(e,t,r,n){if(r?ul(e):om(e),t.message instanceof Error&&!r)return m.log(t.message),false;var a=u2(te({messageId:cl()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&m2(t.channelId,n,r),i.forEach(function(o){try{e.postMessage(a,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function b2(e,t,r){if(!e.parent!==u)return m.log(t);try{dl(e,{topic:null,channelId:r,message:t,messageId:cl(),keepalive:!0},!0);}catch(n){return m.log(n)}}function lm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(a,i,o){var s={channelId:t,message:a,keepalive:i};dl(e,s,r,o);}}function v2(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function y2(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=c2(n)||{},o=i.channelId,s=i.message,c=i.messageId;if(!v2(r)||!g2(c))return;if(s instanceof Error&&a.parent!==u)return m.log(s),!1;try{if(i.topic){var f=lm(a,o);ul(a),t(i,f);}else w2(a,i);}catch(p){b2(a,p,o);}}catch(p){return m.log(p),false}}function w2(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=p2(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?ul(e):om(e);var c=lm(e,r,s);!a&&r&&h2(r);try{o(n,a,c);}catch(f){m.log(f),c(f,a);}}}var x2={open:function(t){if(typeof u.addEventListener=="function"){var r=function(a){y2(a,t);};return u.addEventListener("message",r,false),function(){u.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof u.addEventListener!="function"?false:dl(t,r,false,n)}};function um(e){e.updateMessenger(x2);}var ao,cm,io={};function Cr(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(Sn(),":").concat(Sn()),keepalive:n};return cm(e,i,a)}function A2(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(io,r)?io[r]:void 0;if(i)try{i(n,a,t);}catch(o){m.log(o),t(o,a);}}Cr.updateMessenger=function(t){var r=t.open,n=t.post;pt(typeof r=="function","open callback must be a function"),pt(typeof n=="function","post callback must be a function"),ao&&ao();var a=r(A2);a?(pt(typeof a=="function","open callback must return a cleanup function"),ao=a):ao=null,cm=n;},Cr.subscribe=function(t,r){pt(typeof r=="function","Subscriber callback must be a function"),pt(!Object.prototype.hasOwnProperty.call(io,t),"Topic ".concat(t," is already registered to.")),io[t]=r;},Cr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u;return !!t.frameElement},um(Cr);function dm(e,t,r,n){var a,i,o=e.contentWindow,s=(a=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&a!==void 0?a:500;if(!o){Dn("Frame does not have a content window",e),r(null);return}if(s===0){fm(e,t,r,n);return}var c=setTimeout(function(){c=setTimeout(function(){t.debug?n(mm("No response from frame",e)):r(null);},0);},s);Cr(o,"axe.ping",null,void 0,function(){clearTimeout(c),fm(e,t,r,n);});}function fm(e,t,r,n){var a,i,o=(a=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&a!==void 0?a:6e4,s=e.contentWindow,c=setTimeout(function(){n(mm("Axe in frame timed out",e));},o);Cr(s,"axe.start",t,void 0,function(f){clearTimeout(c),f instanceof Error?n(f):r(f);});}function mm(e,t){var r;return m._tree&&(r=Ys(t)),new Error(e+": "+(r||t))}var qa=null,Ba={update:function(t){pt(ye(t)==="object","serializer must be an object"),qa=t;},toSpec:function(t){return Ba.dqElmToSpec(new yr(t))},dqElmToSpec:function(t,r){var n;return t instanceof yr?(r&&(t=_2(t,r)),typeof((n=qa)===null||n===void 0?void 0:n.toSpec)=="function"?qa.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=qa)===null||n===void 0?void 0:n.mergeSpecs)=="function"?qa.mergeSpecs(t,r):yr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return te({},r,{nodes:Ba.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=W(r,y);a.node=Ba.dqElmToSpec(n);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];a[s]=a[s].map(function(c){var f=c.relatedNodes,p=W(c,A);return p.relatedNodes=f.map(Ba.dqElmToSpec),p});}return a})}},wr=Ba;function _2(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new yr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function E2(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var oo=E2;function D2(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&ye(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var Ha=D2;function k2(e,t,r){e.forEach(function(n){n.node=wr.mergeSpecs(n.node,r);var a=oo(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return wr.mergeSpecs(o,r)});});});}function S2(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=pm(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(le(t)));return}}e.push.apply(e,le(t));}function C2(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function T2(e,t){var r=[];return e.forEach(function(n){var a=C2(n);if(!(!a||!a.length)){var i=R2(n);a.forEach(function(o){o.nodes&&i&&k2(o.nodes,t,i);var s=Ha(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&S2(s.nodes,o.nodes),o.error){var c;(c=s.error)!==null&&c!==void 0||(s.error=o.error);}});}}),r.forEach(function(n){n.nodes&&n.nodes.sort(function(a,i){return pm(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function pm(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var so=T2;function R2(e){return e.frameElement?wr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function hm(e,t,r,n,a,i){t=te({},t,{elementRef:false});var o=Pr(),s=e.frames;s.forEach(function(c){var f=c.node,p=W(c,v);o.defer(function(b,D){var L={options:t,command:r,parameter:n,context:p};function B(G){return b(G?{results:G,frameElement:f}:null)}dm(f,L,B,D);});}),o.then(function(c){a(so(c,t));}).catch(i);}function Wr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function gm(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach(function(a){if(!(!a||ye(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||ye(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=gm(e[s],a[s]);}}),e}var fl=gm;function F2(e,t){Object.assign(e,t),Object.keys(t).filter(function(r){return typeof t[r]=="function"}).forEach(function(r){e[r]=null;try{e[r]=t[r](e);}catch{}});}var ml=F2,I2=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function L2(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(I2.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var lo=L2,pl={};Ar(pl,{createGrid:function(){return za},findElmsInContext:function(){return bm},findNearbyElms:function(){return bo},findUp:function(){return Jn},findUpVirtual:function(){return Kn},focusDisabled:function(){return El},getComposedParent:function(){return Kt},getElementByReference:function(){return kl},getElementCoordinates:function(){return bl},getElementStack:function(){return Zm},getModalDialog:function(){return Wm},getNodeGrid:function(){return go},getOverflowHiddenAncestors:function(){return $a},getRootNode:function(){return Qt},getScrollOffset:function(){return Im},getTabbableElements:function(){return Qm},getTargetRects:function(){return yo},getTargetSize:function(){return ep},getTextElementStack:function(){return zl},getViewportSize:function(){return uo},getVisibleChildTextRects:function(){return jl},hasContent:function(){return ko},hasContentVirtual:function(){return Za},hasLangText:function(){return Ul},idrefs:function(){return Mr},insertedIntoFocusOrder:function(){return jp},isCurrentPageLink:function(){return Dl},isFixedPosition:function(){return co},isFocusable:function(){return $t},isHTML5:function(){return Up},isHiddenForEveryone:function(){return fn},isHiddenWithCSS:function(){return ok},isInTabOrder:function(){return xr},isInTextBlock:function(){return Wl},isInert:function(){return vo},isModalOpen:function(){return Qa},isMultiline:function(){return Xp},isNativelyFocusable:function(){return Tl},isNode:function(){return gk},isOffscreen:function(){return fo},isOpaque:function(){return kk},isSkipLink:function(){return Jl},isVisible:function(){return Ik},isVisibleOnScreen:function(){return ur},isVisibleToScreenReaders:function(){return Mt},isVisualContent:function(){return Gl},reduceToElementsBelowFloating:function(){return Kp},shadowElementsFromPoint:function(){return Mk},urlPropsFromAttribute:function(){return Vk},visuallyContains:function(){return Jp},visuallyOverlaps:function(){return Yl},visuallySort:function(){return Sl}});function P2(e){var t=e.getRootNode&&e.getRootNode()||d;return t===e&&(t=d),t}var Va=P2,Qt=Va;function M2(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=qt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Qt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var bm=M2;function O2(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var n=e.actualNode.closest(t);return n||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!$n(r,t)&&r!==d.documentElement);return !r||!$n(r,t)?null:r}var Kn=O2;function N2(e,t){return Kn(nt(e),t)}var Jn=N2;function hl(e,t){return (e.left|0)<(t.right|0)&&(e.right|0)>(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var vm=Ct(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(vm(t.parent))}),$a=vm,q2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,B2=/(\w+)\((\d+)/;function ym(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function wm(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function xm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Am(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function _m(e){return e.attr("aria-hidden")==="true"}function Em(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Dm(e){var t=Jr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function km(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=e.getComputedStylePropertyValue("position");if(n==="fixed")return false;var a=$a(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!H2(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!hl(i,s)})}function Sm(e){var t=e.getComputedStylePropertyValue("clip").match(q2),r=e.getComputedStylePropertyValue("clip-path").match(B2);if(t&&t.length===5){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function gl(e,t){var r=lr(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=Va(e.actualNode);if(!a||a.nodeType!==9)return true;var i=fr(m._tree,'img[usemap="#'.concat(qt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Cm(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(n){return n.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function H2(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return true;r=r.parent;}return false}var V2=[wm,xm,Am,Cm];function fn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=n===void 0?false:n;return e=mt(e).vNode,r?Tm(e,a):Rm(e,a)}var Tm=Ct(function(t,r){return ym(t)?true:t.actualNode?!!(V2.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Rm=Ct(function(t,r){return Tm(t,r)?true:t.parent?Rm(t.parent,true):false});function Fm(e){if(e.assignedSlot)return Fm(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var Kt=Fm;function $2(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return {left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return {left:e.scrollLeft,top:e.scrollTop}}var Im=$2;function j2(e){var t=Im(d),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var bl=j2;function z2(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var n=t.body;return {width:n.clientWidth,height:n.clientHeight}}var uo=z2;function co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=mt(e),a=n.vNode;return a?r?Lm(a):Pm(a):false}var Lm=Ct(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Pm=Ct(function(t){return Lm(t)?true:t.parent?Pm(t.parent):false});function G2(e,t){for(e=Kt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=Kt(e);}return true}function U2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=mt(e),a=n.domNode;if(a){var i=d.documentElement,o=u.getComputedStyle(a),s=u.getComputedStyle(d.body||i).getPropertyValue("direction"),c=co(a),f=c?a.getBoundingClientRect():bl(a);if(f.top===0&&f.bottom===0||f.left===0&&f.right===0)return false;if(f.bottom<=0&&(G2(a,f.bottom)||o.position==="absolute"))return true;var p=uo(u);if(c&&f.top>=p.height)return true;var b=Math.max(i.scrollWidth,p.width);return !!((c||s==="rtl")&&f.left>=b||(c||s==="ltr")&&f.right<=0)}}var fo=U2,W2=[Em,Dm,km,Sm,fo];function ur(e){return e=mt(e).vNode,vl(e)}var vl=Ct(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!gl(t,vl):fn(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&W2.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?vl(t.parent,true):true});function yl(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new u.DOMRect(i,r,n-i,a-r)}function mo(e,t){var r=e.x,n=e.y,a=t.top,i=t.right,o=t.bottom,s=t.left;return n>=a&&r<=i&&n<=o&&r>=s}var Mm={};Ar(Mm,{getBoundingRect:function(){return yl},getIntersectionRect:function(){return po},getOffset:function(){return Nm},getRectCenter:function(){return ja},hasVisualOverlap:function(){return wl},isPointInRect:function(){return mo},rectHasMinimumSize:function(){return Xr},rectsOverlap:function(){return hl},splitRects:function(){return xl}});function po(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=n||a>=i?null:new u.DOMRect(r,a,n-r,i-a)}function ja(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new u.DOMPoint(t+n/2,r+a/2)}var Om=.05;function Xr(e,t){var r=t.width,n=t.height;return r+Om>=e&&n+Om>=e}function Nm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=yo(e),a=yo(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=ja(o),c=dt(a),f;try{for(c.s();!(f=c.n()).done;){var p=f.value;if(mo(s,p))return 0;var b=X2(s,p),D=qm(s,b);i=Math.min(i,D);}}catch(Y){c.e(Y);}finally{c.f();}var L=ep(t);if(Xr(r*2,L))return i;var B=a.reduce(yl),G=ja(B),K=qm(s,G)-r;return Math.max(0,Math.min(i,K))},1/0)}function X2(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function qm(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function wl(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top?false:Sl(e,t)>0}function xl(e,t){var r=Array.isArray(e)?e:[e],n=dt(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(c,f){return c.concat(K2(f,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(n.s();!(a=n.n()).done;)i();}catch(o){n.e(o);}finally{n.f();}return r}function K2(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right,o=r<t.bottom&&a>t.top,s=n<t.right&&i>t.left,c=[];if(ho(t.top,r,a)&&s&&c.push({top:r,left:n,bottom:t.top,right:i}),ho(t.right,n,i)&&o&&c.push({top:r,left:t.right,bottom:a,right:i}),ho(t.bottom,r,a)&&s&&c.push({top:t.bottom,right:i,bottom:a,left:n}),ho(t.left,n,i)&&o&&c.push({top:r,left:n,bottom:a,right:t.left}),c.length===0){if(Y2(e,t))return [];c.push(e);}return c.map(J2)}var ho=function(t,r,n){return t>r&&t<n};function J2(e){return new u.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function Y2(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Bm=0,Z2=.1,Hm=.2,Vm=.3,Al=0;function za(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(et.get("gridCreated")&&!r)return tt.gridSize;if(et.set("gridCreated",true),!r){var n=nt(d.documentElement);if(n||(n=new Zl(d.documentElement)),Al=0,n._stackingOrder=[zm(Bm,Al++,null)],t??(t=new _l),Gm(t,n),Jr(n.actualNode)){var a=new _l(n);n._subGrid=a;}}for(var i=d.createTreeWalker(e,u.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=nt(o);s&&s.parent?r=s.parent:o.assignedSlot?r=nt(o.assignedSlot):o.parentElement?r=nt(o.parentElement):o.parentNode&&nt(o.parentNode)&&(r=nt(o.parentNode)),s||(s=new m.VirtualNode(o,r)),s._stackingOrder=Q2(s,r,Al++);var c=rE(s,r),f=c?c._subGrid:t;if(Jr(s.actualNode)){var p=new _l(s);s._subGrid=p;}var b=s.boundingClientRect;b.width!==0&&b.height!==0&&ur(o)&&Gm(f,s),lo(o)&&za(o.shadowRoot,f,s),o=i.nextNode();}return tt.gridSize}function $m(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||n!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var a=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(a!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var c=e.getComputedStylePropertyValue("clip-path");if(c&&c!=="none")return true;var f=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(f!=="none")return true;var p=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(p!=="none")return true;var b=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(b!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var D=e.getComputedStylePropertyValue("will-change");if(D==="transform"||D==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var L=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(L)||n!=="auto"&&jm(t))}function jm(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function Q2(e,t,r){var n=t._stackingOrder.slice();if($m(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [Bm,Hm,Vm].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=eE(e,t);return i!==null&&n.push(zm(i,r,e)),n}function zm(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function eE(e,t){var r=tE(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Vm:e.getComputedStylePropertyValue("float")!=="none"?Hm:$m(e,t)?Z2:null:parseInt(r)}function tE(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!jm(t)?"auto":e.getComputedStylePropertyValue("z-index")}function rE(e,t){for(var r=null,n=[e];t;){if(Jr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=nt(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Gm(e,t){var r=$a(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,c){return s&&po(s,c.boundingClientRect)},n);if(i){(a=t._grid)!==null&&a!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var _l=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;Pt(this,e),this.container=t,this.cells=[];}return Ue(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/tt.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;pt(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),c=this.toGridIndex(i);pt(mo({y:s,x:c},this.boundaries),"Element midpoint exceeds the grid bounds");var f=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=f[c-f._negativeIndex])!==null&&a!==void 0?a:[]}},{key:"loopGridPosition",value:function(r,n){var a=r,i=a.left,o=a.right,s=a.top,c=a.bottom;this.boundaries&&(r=yl(this.boundaries,r)),this.boundaries=r,Um(this.cells,s,c,function(f,p){Um(f,i,o,function(b,D){n(b,{row:p,col:D});});});}},{key:"getGridPositionOfRect",value:function(r){var n=r.top,a=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n=this.toGridIndex(n-s),a=this.toGridIndex(a+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new u.DOMRect(o,n,a-o,i-n)}}])})();function Um(e,t,r,n){var a;if((a=e._negativeIndex)!==null&&a!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,c=o;c<=s;c++){var f,p;(p=e[f=c])!==null&&p!==void 0||(e[f]=[]),n(e[c],c+e._negativeIndex);}}function go(e){za();var t=mt(e),r=t.vNode;return r._grid}function bo(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=go(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=co(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(c){var f=dt(c),p;try{for(f.s();!(p=f.n()).done;){var b=p.value;b&&b!==e&&!s.includes(b)&&i===co(b)&&s.push(b);}}catch(D){f.e(D);}finally{f.f();}}),s}var nE=Ct(function(){var t;if(!m._tree)return null;var r=Hr(m._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=d.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&ur(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=d.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=aE(a))!==null&&i!==void 0?i:{},s=o.vNode,c=o.rect;if(!s)return false;var f=d.elementsFromPoint(c.left+1,c.top+1);return !f.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Wm=nE;function aE(e){za();var t=m._tree[0]._grid,r=new u.DOMRect(0,0,u.innerWidth,u.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var i=0;i<a.length;i++){var o=a[i];if(o)for(var s=0;s<o.length;s++){var c=o[s],f=c.boundingClientRect,p=po(f,r);if(c.props.nodeName!=="html"&&c!==e&&c.getComputedStylePropertyValue("pointer-events")!=="none"&&p)return {vNode:c,rect:p}}}}}function vo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Xm(e,n):Km(e,n)}var Xm=Ct(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Wm();if(n&&!Wr(n,t))return true}return false}),Km=Ct(function(t,r){return Xm(t,r)?true:t.parent?Km(t.parent,true):false}),iE=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function oE(e){return iE.includes(e)}function sE(e){var t=mt(e),r=t.vNode;if(oE(r.props.nodeName)&&r.hasAttr("disabled")||vo(r))return true;for(var n=r.parent,a=[],i=false;n&&n.shadowId===r.shadowId&&!i&&(a.push(n),n.props.nodeName!=="legend");){if(n._inDisabledFieldset!==void 0){i=n._inDisabledFieldset;break}n.props.nodeName==="fieldset"&&n.hasAttr("disabled")&&(i=true),n=n.parent;}return a.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?fn(r):false}var El=sE,lE=/^\/\#/,uE=/^#[!/]/;function Dl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(lE.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(uE.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=u.location)===null||t===void 0?void 0:t.origin)!="string"||u.location.origin.indexOf("://")===-1)return null;var c=u.location.origin+u.location.pathname,f;return i?f="".concat(a,"//").concat(i).concat(o?":".concat(o):""):f=u.location.origin,s?f+=(s[0]!=="/"?"/":"")+s:f+=u.location.pathname,f===c}function cE(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Dl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=d.getElementById(r);return n||(n=d.getElementsByName(r),n.length?n[0]:null)}var kl=cE;function Sl(e,t){za();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(typeof t._stackingOrder[n]>"u")return -1;if(typeof e._stackingOrder[n]>"u"||t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return -1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,i=t.actualNode;if(a.getRootNode&&a.getRootNode()!==i.getRootNode()){for(var o=[];a;)o.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;i&&!o.find(function(K){return K.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(K){return K.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=u.Node,c=s.DOCUMENT_POSITION_FOLLOWING,f=s.DOCUMENT_POSITION_CONTAINS,p=s.DOCUMENT_POSITION_CONTAINED_BY,b=a.compareDocumentPosition(i),D=b&c?1:-1,L=b&f||b&p,B=Jm(e),G=Jm(t);return B===G||L?D:G-B}function Jm(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:Ym(e)?1:0}function Ym(e){if(!e)return false;if(e._isFloated!==void 0)return e._isFloated;var t=e.getComputedStylePropertyValue("float");if(t!=="none")return e._isFloated=true,true;var r=Ym(e.parent);return e._isFloated=r,r}function Cl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=ja(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(f){return f.clientRects.some(function(p){var b=p.left,D=p.top;return i<Math.floor(b+p.width)&&i>=Math.floor(b)&&o<Math.floor(D+p.height)&&o>=Math.floor(D)})}),c=e.container;return c&&(s=Cl(c._grid,c.boundingClientRect,true).concat(s)),r||(s=s.sort(Sl).map(function(f){return f.actualNode}).concat(d.documentElement).filter(function(f,p,b){return b.indexOf(f)===p})),s}function dE(e){var t=go(e);if(!t)return [];var r=nt(e).boundingClientRect;return Cl(t,r)}var Zm=dE;function fE(e){var t=fr(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Br(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var Qm=fE;function mE(e){var t=mt(e),r=t.vNode;if(!r||El(r))return false;switch(r.props.nodeName){case "a":case "area":if(r.hasAttr("href"))return true;break;case "input":return r.props.type!=="hidden";case "textarea":case "select":case "summary":case "button":return true;case "details":return !fr(r,"summary").length}return false}var Tl=mE;function $t(e){var t=mt(e),r=t.vNode;if(r.props.nodeType!==1||El(r))return false;if(Tl(r))return true;var n=Br(r.attr("tabindex"));return n!==null}function xr(e){var t=mt(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Br(r.attr("tabindex"));return n<=-1?false:$t(r)}var yo=Ct(pE);function pE(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=bo(e).filter(function(i){return wl(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!hE(e,i)});if(!n.length)return r;var a=n.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return xl(r,a)}function hE(e,t){return Wr(e,t)&&!xr(t)}var ep=Ct(gE);function gE(e,t){var r=yo(e);return bE(r,t)}function bE(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}var Ga={};Ar(Ga,{accessibleText:function(){return Cn},accessibleTextVirtual:function(){return Jt},autocomplete:function(){return Rn},formControlValue:function(){return Fp},formControlValueMethods:function(){return Nl},hasUnicode:function(){return Hl},isHumanInterpretable:function(){return $l},isIconLigature:function(){return Vl},isValidAutocomplete:function(){return qp},label:function(){return WD},labelText:function(){return ql},labelVirtual:function(){return Eo},nativeElementType:function(){return KD},nativeTextAlternative:function(){return Lp},nativeTextMethods:function(){return Ip},removeUnicode:function(){return Ya},sanitize:function(){return Ke},subtreeText:function(){return hn},titleText:function(){return xo},unsupported:function(){return xp},visible:function(){return Bp},visibleTextNodes:function(){return JD},visibleVirtual:function(){return Nr}});function vE(e,t){e=e.actualNode||e;try{var r=Qt(e),n=[],a=e.getAttribute(t);if(a){a=nr(a);for(var i=0;i<a.length;i++)n.push(r.getElementById(a[i]));}return n}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Mr=vE;function yE(e,t){var r=nt(e);return Jt(r,t)}var Cn=yE;function wE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=mt(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Mr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=Cn(o,te({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Ua=wE;function Wa(e){var t=mt(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var xE={"aria-activedescendant":{type:"idref",allowEmpty:true},"aria-atomic":{type:"boolean",global:true},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:true,global:true},"aria-brailleroledescription":{type:"string",allowEmpty:true,global:true},"aria-busy":{type:"boolean",global:true},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:true,global:true},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],global:true},"aria-describedby":{type:"idrefs",allowEmpty:true,global:true},"aria-description":{type:"string",allowEmpty:true,global:true},"aria-details":{type:"idref",allowEmpty:true,global:true},"aria-disabled":{type:"boolean",global:true},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:true},"aria-errormessage":{type:"idref",allowEmpty:true,global:true},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:true,global:true},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],global:true},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:true},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:true},"aria-keyshortcuts":{type:"string",allowEmpty:true,global:true},"aria-label":{type:"string",allowEmpty:true,global:true},"aria-labelledby":{type:"idrefs",allowEmpty:true,global:true},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:true},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:true,global:true},"aria-placeholder":{type:"string",allowEmpty:true},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:true},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:true,global:true},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:true}},tp=xE,AE={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:true},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:true},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:true},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:true},directory:{type:"structure",deprecated:true,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:true},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:false},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:true},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:false,nameFromContent:true},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:true,childrenPresentational:true},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:true},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:true},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:true},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:true,nameFromContent:true},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:true,childrenPresentational:true},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:false},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:true},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:true},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:false,nameFromContent:true},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:true},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:true},section:{type:"abstract",superclassRole:["structure"],nameFromContent:true},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:true},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:true},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:true,childrenPresentational:true},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:true},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:true,nameFromContent:true,childrenPresentational:true},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:true,childrenPresentational:true},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:false,nameFromContent:true},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:false},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},text:{type:"structure",superclassRole:["section"],nameFromContent:true},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:true},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:true},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:true},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:false},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:false},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:true,nameFromContent:true},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},rp=AE,_E={"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:true},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:true,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:true},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},EE=_E,DE={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:true},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:true},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:true,childrenPresentational:true}},kE=DE,SE={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:true}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:true},address:{contentTypes:["flow"],allowedRoles:true},area:{variant:{href:{matches:"[href]",allowedRoles:false},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:true},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:true},base:{allowedRoles:false,noAriaAttrs:true},bdi:{contentTypes:["phrasing","flow"],allowedRoles:true},bdo:{contentTypes:["phrasing","flow"],allowedRoles:true},blockquote:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},body:{allowedRoles:false,shadowRoot:true},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"],allowedAriaAttrs:["aria-hidden"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:true,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:false},cite:{contentTypes:["phrasing","flow"],allowedRoles:true},code:{contentTypes:["phrasing","flow"],allowedRoles:true},col:{allowedRoles:false,noAriaAttrs:true},colgroup:{allowedRoles:false,noAriaAttrs:true},data:{contentTypes:["phrasing","flow"],allowedRoles:true},datalist:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:false},del:{contentTypes:["phrasing","flow"],allowedRoles:true},dfn:{contentTypes:["phrasing","flow"],allowedRoles:true},details:{contentTypes:["interactive","flow"],allowedRoles:false},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:true},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:true,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:true,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:false,noAriaAttrs:true},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:true},hgroup:{contentTypes:["heading","flow"],allowedRoles:true},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:false,noAriaAttrs:true},i:{contentTypes:["phrasing","flow"],allowedRoles:true},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:true}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:false},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:false,noAriaAttrs:true},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:false},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:true},kbd:{contentTypes:["phrasing","flow"],allowedRoles:true},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,chromiumRole:"Label"},legend:{allowedRoles:false},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},main:{contentTypes:["flow"],allowedRoles:false,shadowRoot:true},map:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:false},mark:{contentTypes:["phrasing","flow"],allowedRoles:true},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:false,noAriaAttrs:true},meter:{contentTypes:["phrasing","flow"],allowedRoles:false,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:true},noscript:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:false},option:{allowedRoles:false,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:true,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:true,shadowRoot:true},param:{allowedRoles:false,noAriaAttrs:true},picture:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},pre:{contentTypes:["flow"],allowedRoles:true},progress:{contentTypes:["phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:true},rp:{allowedRoles:true},rt:{allowedRoles:true},ruby:{contentTypes:["phrasing","flow"],allowedRoles:true},s:{contentTypes:["phrasing","flow"],allowedRoles:true},samp:{contentTypes:["phrasing","flow"],allowedRoles:true},script:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:true},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:false}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},small:{contentTypes:["phrasing","flow"],allowedRoles:true},source:{allowedRoles:false,noAriaAttrs:true},span:{contentTypes:["phrasing","flow"],allowedRoles:true,shadowRoot:true},strong:{contentTypes:["phrasing","flow"],allowedRoles:true},style:{allowedRoles:false,noAriaAttrs:true},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:true,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:true},summary:{allowedRoles:false,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:true},table:{contentTypes:["flow"],allowedRoles:true,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:true},template:{contentTypes:["phrasing","flow"],allowedRoles:false,noAriaAttrs:true},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:false,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:true},thead:{allowedRoles:true},time:{contentTypes:["phrasing","flow"],allowedRoles:true},title:{allowedRoles:false,noAriaAttrs:true},td:{allowedRoles:true},th:{allowedRoles:true},tr:{allowedRoles:true},track:{allowedRoles:false,noAriaAttrs:true},u:{contentTypes:["phrasing","flow"],allowedRoles:true},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:true},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],allowedAriaAttrs:["aria-hidden"]}},CE=SE,TE={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},RE=TE,np={ariaAttrs:tp,ariaRoles:te({},rp,EE,kE),htmlElms:CE,cssColors:RE},Yn=te({},np);function FE(e){Object.keys(Yn).forEach(function(t){e[t]&&(Yn[t]=fl(Yn[t],e[t]));});}function IE(){Object.keys(Yn).forEach(function(e){Yn[e]=np[e];});}var ht=Yn;function LE(e){var t=ht.ariaRoles[e];return t?!!t.unsupported:false}var Rl=LE;function PE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=n===void 0?false:n,i=ht.ariaRoles[e],o=Rl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Xa=PE;function ME(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Xt?e:nt(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?nr(i):[i],s=o.find(function(c){return !a&&c.substr(0,4)==="doc-"?false:Xa(c,{allowAbstract:n})});return s||null}var st=ME;function OE(e){return Object.keys(ht.htmlElms).filter(function(t){var r=ht.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):false})}var Fl=OE;function NE(){return et.get("globalAriaAttrs",function(){return Object.keys(ht.ariaAttrs).filter(function(e){return ht.ariaAttrs[e].global})})}var mn=NE;function qE(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var i=r[n].cells;t[n]=t[n]||[];for(var o=0,s=0,c=i.length;s<c;s++)for(var f=0;f<i[s].colSpan;f++){for(var p=i[s].getAttribute("rowspan"),b=parseInt(p)===0||i[s].rowspan===0?r.length:i[s].rowSpan,D=0;D<b;D++){for(t[n+D]=t[n+D]||[];t[n+D][o];)o++;t[n+D][o]=i[s];}o++;}}return t}var Kr=Ct(qE);function BE(e,t){var r,n;for(t||(t=Kr(Jn(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var wo=Ct(BE);function Il(e){var t=mt(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=st(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(a==="col"||a==="row")return a;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Kr(Jn(n,"table")),s=wo(n,o),c=o[s.y].every(function(p){return p.nodeName.toUpperCase()==="TH"});if(c)return "col";var f=o.map(function(p){return p[s.x]}).every(function(p){return p&&p.nodeName.toUpperCase()==="TH"});return f?"row":"auto"}function HE(e){return ["col","auto"].indexOf(Il(e))!==-1}var Zn=HE;function VE(e){return ["row","auto"].includes(Il(e))}var Qn=VE;function $E(e){return e?e.replace(/\r\n/g,`
|
|
426
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var Ke=$E,ap=function(){return et.get("sectioningContentSelector",function(){return Fl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},ip=function(){return et.get("sectioningContentPlusMainSelector",function(){return ap()+" , main:not([role]), [role=main]"})};function Ll(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(Ke(Ua(e))||Ke(Wa(e))||n&&e?.props.nodeType===1&&Ke(e.attr("title")))}var jE={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return lr(t.parent,ap())&&!Ll(t,{checkTitle:true})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=lr(t,ip());return r?null:"contentinfo"},form:function(t){return Ll(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=lr(t,ip());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=mn().find(function(a){return t.hasAttr(a)});return r&&!n&&!$t(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Mr(t.actualNode,"list").filter(function(a){return !!a})[0];r=n&&n.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return Ll(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=lr(t,"table"),n=st(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Zn(t))return "columnheader";if(Qn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Pl=jE;function zE(e,t){var r=ye(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e}var Tn=zE;function GE(e,t){return Tn(!!Jt(e),t)}var op=GE;function UE(e,t){var r=ye(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(n){return Tn(e(n),t[n])})}var Ml=UE;function WE(e,t){return e=mt(e).vNode,Ml(function(r){return e.attr(r)},t)}var sp=WE;function lp(e,t){return !!t(e)}function XE(e,t){return Tn(st(e),t)}var up=XE;function KE(e,t){return Tn(Or(e),t)}var cp=KE;function JE(e,t){return e=mt(e).vNode,Tn(e.props.nodeName,t)}var dp=JE;function YE(e,t){return e=mt(e).vNode,Ml(function(r){return e.props[r]},t)}var fp=YE;function ZE(e,t){return Tn(rt(e),t)}var mp=ZE,pp={hasAccessibleName:op,attributes:sp,condition:lp,explicitRole:up,implicitRole:cp,nodeName:dp,properties:fp,semanticRole:mp};function hp(e,t){return e=mt(e).vNode,Array.isArray(t)?t.some(function(r){return hp(e,r)}):typeof t=="string"?tl(e,t):Object.keys(t).every(function(r){if(!pp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=pp[r],a=t[r];return n(e,a)})}var gp=hp;function QE(e,t){return gp(e,t)}var cr=QE;cr.hasAccessibleName=op,cr.attributes=sp,cr.condition=lp,cr.explicitRole=up,cr.fromDefinition=gp,cr.fromFunction=Ml,cr.fromPrimative=Tn,cr.implicitRole=cp,cr.nodeName=dp,cr.properties=fp,cr.semanticRole=mp;var Ka=cr;function eD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=ht.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=W(a,S);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var c=i[s],f=c.matches,p=W(c,C),b=Array.isArray(f)?f:[f],D=0;D<b.length&&n;D++)if(b[D].hasOwnProperty("hasAccessibleName"))return a;if(Ka(e,f))for(var L in p)p.hasOwnProperty(L)&&(o[L]=p[L]);}for(var B in i.default)i.default.hasOwnProperty(B)&&typeof o[B]>"u"&&(o[B]=i.default[B]);return o}var pn=eD;function tD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Xt?e:nt(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=Pl[a];if(!i&&r){var o=pn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Or=tD,rD={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function bp(e,t){var r=rD[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=st(e.parent,t);return ["none","presentation"].includes(n)&&!yp(e.parent)?n:n?null:bp(e.parent,t)}function vp(e,t){var r=t.chromium,n=W(t,N),a=Or(e,{chromium:r});if(!a)return null;var i=bp(e,n);return i||a}function yp(e){var t=mn().some(function(r){return e.hasAttr(r)});return t||$t(e)}function nD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=W(t,T),a=mt(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=st(i,n);return o?["presentation","none"].includes(o)&&yp(i)?r?null:vp(i,n):o:r?null:vp(i,n)}function aD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=W(t,H),a=nD(e,n);return r&&["presentation","none"].includes(a)?null:a}var rt=aD,iD=["iframe"];function oD(e){var t=mt(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!cr(r,iD)&&["none","presentation"].includes(rt(r))?"":r.attr("title")}var xo=oD;function sD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Xt?e:nt(e),e.props.nodeType!==1)return false;var n=rt(e),a=ht.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var wp=sD;function lD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Mr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(le(i),le(a))}return le(r)}var Ja=lD,xp={accessibleNameFromFieldValue:["progressbar"]};function Mt(e){return e=mt(e).vNode,Ol(e)}var Ol=Ct(function(t,r){return _m(t)||vo(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!gl(t,Ol):fn(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Ol(t.parent,true):true});function Ap(e,t,r){var n=mt(e),a=n.vNode,i=t?Mt:ur,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(c){var f=c.props,p=f.nodeType,b=f.nodeValue;if(p===3){if(b&&o)return b}else if(!r)return Ap(c,t)}).join("");return Ke(s)}var Nr=Ap,uD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function cD(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!uD.includes((e.attr("type")||"").toLowerCase())}var _p=cD;function dD(e){e=e instanceof Xt?e:nt(e);var t=e.props.nodeName;return t==="select"}var Ep=dD;function fD(e){var t=st(e);return t==="textbox"}var Dp=fD;function mD(e){var t=st(e);return t==="listbox"}var kp=mD;function pD(e){var t=st(e);return t==="combobox"}var Sp=pD,hD=["progressbar","scrollbar","slider","spinbutton"];function gD(e){var t=st(e);return hD.includes(t)}var Cp=gD,Tp=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Nl={nativeTextboxValue:vD,nativeSelectValue:yD,ariaTextboxValue:wD,ariaListboxValue:Rp,ariaComboboxValue:xD,ariaRangeValue:AD};function bD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=xp.accessibleNameFromFieldValue||[],a=rt(e);if(t.startNode===e||!Tp.includes(a)||n.includes(a))return "";var i=Object.keys(Nl).map(function(s){return Nl[s]}),o=i.reduce(function(s,c){return s||c(e,t)},"");return t.debug&&Dn(o||"{empty-value}",r,t),o}function vD(e){var t=mt(e),r=t.vNode;return _p(r)&&r.props.value||""}function yD(e){var t=mt(e),r=t.vNode;if(!Ep(r))return "";var n=fr(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Nr(i)}).join(" ")||""}function wD(e){var t=mt(e),r=t.vNode,n=t.domNode;return Dp(r)?!n||n&&!fn(n)?Nr(r,true):n.textContent:""}function Rp(e,t){var r=mt(e),n=r.vNode;if(!kp(n))return "";var a=Ja(n).filter(function(i){return rt(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":Jt(a[0],t)}function xD(e,t){var r=mt(e),n=r.vNode;if(!Sp(n))return "";var a=Ja(n).filter(function(i){return rt(i)==="listbox"})[0];return a?Rp(a,t):""}function AD(e){var t=mt(e),r=t.vNode;if(!Cp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Fp=bD;function _D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Jt.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=rt(e),c=pn(e,{noMatchAccessibleName:true}),f=c.contentTypes;if(r(e,t)||e.props.nodeType!==1||f!=null&&f.includes("embedded")||Tp.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!wp(e,{strict:a}))return "";if(!a){var p=!i&&!o;t=te({subtreeDescendant:p},t);}return Ja(e).reduce(function(b,D){return DD(b,D,t)},"")}var ED=Fl("phrasing").concat(["#text"]);function DD(e,t,r){var n=t.props.nodeName,a=Jt(t,r);return a?(ED.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var hn=_D;function kD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Jt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=te({inControlContext:true},t),a=SD(e),i=lr(e,"label"),o;return i?(o=[].concat(le(a),[i.actualNode]),o.sort(fu)):o=a,o.map(function(s){return Cn(s,n)}).filter(function(s){return s!==""}).join(" ")}function SD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return bm({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var ql=kD,CD={submit:"Submit",image:"Submit",reset:"Reset",button:""},TD={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return CD[t.props.type]||""},tableCaptionText:Ao.bind(null,"caption"),figureText:Ao.bind(null,"figcaption"),svgTitleText:Ao.bind(null,"title"),fieldsetLegendText:Ao.bind(null,"legend"),altText:Bl.bind(null,"alt"),tableSummaryText:Bl.bind(null,"summary"),titleText:xo,subtreeText:hn,labelText:ql,singleSpace:function(){return " "},placeholderText:Bl.bind(null,"placeholder")};function Bl(e,t){return t.attr(e)||""}function Ao(e,t,r){var n=t.actualNode;e=e.toLowerCase();var a=[e,n.nodeName.toLowerCase()].join(","),i=n.querySelector(a);return !i||i.nodeName.toLowerCase()!==e?"":Cn(i,r)}var Ip=TD;function Lp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(rt(e)))return "";var n=RD(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(a||"{empty-value}",r,t),a}function RD(e){var t=pn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Ip[n]})}function Pp(){return /[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function Mp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Op(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Np(){return /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}function FD(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=Ss().test(e))),n&&(i||(i=Pp().test(e)||Op().test(e)||Np().test(e))),a&&(i||(i=Mp().test(e))),i}var Hl=FD;function Vl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!Ke(n)||Hl(n,{emoji:true,nonBmp:true}))return false;var a=et.get("canvasContext",function(){return d.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=et.get("fonts",function(){return {}}),s=u.getComputedStyle(e.parent.actualNode),c=s.getPropertyValue("font-family");o[c]||(o[c]={occurrences:0,numLigatures:0});var f=o[c];if(f.occurrences>=r){if(f.numLigatures/f.occurrences===1)return true;if(f.numLigatures===0)return false}f.occurrences++;var p=30,b="".concat(p,"px ").concat(c);a.font=b;var D=n.charAt(0),L=a.measureText(D).width;if(L===0)return f.numLigatures++,true;if(L<30){var B=30/L;L*=B,p*=B,b="".concat(p,"px ").concat(c);}i.width=L,i.height=p,a.font=b,a.textAlign="left",a.textBaseline="top",a.fillText(D,0,0);var G=new Uint32Array(a.getImageData(0,0,L,p).data.buffer);if(!G.some(function(fe){return fe}))return f.numLigatures++,true;a.clearRect(0,0,L,p),a.fillText(n,0,0);var K=new Uint32Array(a.getImageData(0,0,L,p).data.buffer),Y=G.reduce(function(fe,ge,we){return ge===0&&K[we]===0||ge!==0&&K[we]!==0?fe:++fe},0),Z=n.split("").reduce(function(fe,ge){return fe+a.measureText(ge).width},0),ie=a.measureText(n).width,oe=Y/G.length,ue=1-ie/Z;return oe>=t&&ue>=t?(f.numLigatures++,true):false}function Jt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=MD(e,t),LD(e,t)||PD(e,t))return "";var r=[Ua,Wa,Lp,Fp,hn,ID,xo],n=r.reduce(function(a,i){return t.startNode===e&&(a=Ke(a)),a!==""?a:i(e,t)},"");return t.debug&&m.log(n||"{empty-value}",e.actualNode,t),n}function ID(e){return e.props.nodeType!==3?"":e.props.nodeValue}function LD(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!Mt(e)}function PD(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!n?false:Vl(e,a,i)}function MD(e,t){return t.startNode||(t=te({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=te({includeHidden:!Mt(e)},t)),t}Jt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function OD(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Ss(),"")),n&&(e=e.replace(Pp(),"").replace(Op(),"").replace(Np(),"")),a&&(e=e.replace(Mp(),"")),e}var Ya=OD;function ND(e){return qD(e)||BD(e)||HD(e)||VD(e)?0:1}function qD(e){return Ke(e).length===0}function BD(e){return e.length===1&&e.match(/\D/)}function HD(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function VD(e){var t=Ya(e,{emoji:true,nonBmp:true,punctuations:true});return !Ke(t)}var $l=ND,Rn={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function $D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,n=r===void 0?false:r,a=t.stateTerms,i=a===void 0?[]:a,o=t.locations,s=o===void 0?[]:o,c=t.qualifiers,f=c===void 0?[]:c,p=t.standaloneTerms,b=p===void 0?[]:p,D=t.qualifiedTerms,L=D===void 0?[]:D,B=t.ignoredValues,G=B===void 0?[]:B;if(e=e.toLowerCase().trim(),i=i.concat(Rn.stateTerms),i.includes(e)||e==="")return true;f=f.concat(Rn.qualifiers),s=s.concat(Rn.locations),b=b.concat(Rn.standaloneTerms),L=L.concat(Rn.qualifiedTerms);var K=e.split(/\s+/g);if(K[K.length-1]==="webauthn"&&(K.pop(),K.length===0)||!n&&(K[0].length>8&&K[0].substr(0,8)==="section-"&&K.shift(),s.includes(K[0])&&K.shift(),f.includes(K[0])&&(K.shift(),b=[]),K.length!==1))return false;var Y=K[K.length-1];if(!G.includes(Y))return b.includes(Y)||L.includes(Y)}var qp=$D;function jD(e){var t,r;return e.attr("aria-labelledby")&&(t=Mr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=nt(n);return a?Nr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=Ke(r),r))?r:null}var _o=jD;function zD(e,t,r){return e=nt(e),Nr(e,t,r)}var Bp=zD;function GD(e){var t,r,n;if(r=_o(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var a=qt(e.attr("id"));if(n=Qt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&Bp(t,true),r)return r}return t=lr(e,"label"),r=t&&Nr(t,true),r||null}var Eo=GD;function UD(e){return e=nt(e),Eo(e)}var WD=UD,XD=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],KD=XD;function Hp(e){var t=ur(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat(Hp(n));}),r}var JD=Hp,YD=Ct(function(t){var r=nt(t),n=r.boundingClientRect,a=[],i=$a(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||Ke(o.nodeValue)==="")){var s=ZD(o);QD(s,n)||a.push.apply(a,le(Vp(s,i)));}}),a.length?a:Vp([n],i)}),jl=YD;function ZD(e){var t=d.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function QD(e,t){return e.some(function(r){var n=ja(r);return !mo(n,t)})}function Vp(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&po(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function ek(e){var t=go(e);if(!t)return [];var r=jl(e);return r.map(function(n){return Cl(t,n)})}var zl=ek,tk=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function rk(e){var t=mt(e),r=t.vNode,n=m.commons.aria.getExplicitRole(r);if(n)return tk.indexOf(n)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var Gl=rk,nk=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Do(e){return nk.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function $p(e,t,r){return Do(e)||Gl(e.actualNode)||!r&&!!_o(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&$p(n)})}var Za=$p;function ak(e,t,r){return e=nt(e),Za(e,t,r)}var ko=ak;function Ul(e){return typeof e.children>"u"||Do(e)?true:e.props.nodeType===1&&Gl(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&Ul(t)&&!fn(t)})}function ik(e){var t=Br(e.getAttribute("tabindex"));return t>-1&&$t(e)&&!Tl(e)}var jp=ik;function zp(e,t){var r=mt(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Gp(a,t)),n._isHiddenWithCSS):Gp(a,t)}function Gp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=u.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=Kt(e);return o&&!a.includes(i)?zp(o,i):false}var ok=zp;function sk(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Up=sk;function lk(e){var t;(e instanceof Xt||(t=u)!==null&&t!==void 0&&t.Node&&e instanceof u.Node)&&(e=m.commons.aria.getRole(e));var r=ht.ariaRoles[e];return r?.type||null}var Tr=lk,uk=["block","list-item","table","flex","grid"],ck=["inline-block","inline-flex","inline-grid"];function dk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,n=t.includeInlineBlock,a=n===void 0?false:n,i=mt(e),o=i.vNode,s=i.domNode;if(Xl(s)||!a&&fk(o))return false;var c=mk(s),f="",p="",b=0;return Wp(c,function(D){if(D===c.actualNode)return true;if(b===2)return false;if(D.nodeType===3&&(f+=D.nodeValue),D.nodeType===1){var L=(D.nodeName||"").toUpperCase();D===s&&(b=1);var B=Xl(D);if((B||["BR","HR"].includes(L))&&(b===0?(f="",p=""):b=2),B||D.style.display==="none"||D.style.overflow==="hidden"||!["",null,"none"].includes(D.style.float)||!["",null,"relative"].includes(D.style.position))return false;if(Tr(D)==="widget")return p+=D.textContent,false}}),f=Ke(f),r?f.length!==0:(p=Ke(p),f.length>p.length)}var Wl=dk;function Xl(e){var t=mt(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return uk.includes(n)||n.substr(0,6)==="table-"}function fk(e){var t=e.getComputedStylePropertyValue("display");return ck.includes(t)}function Wp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Wp(r,t)});}function mk(e){for(var t=Kt(e);t&&!Xl(t);)t=Kt(t);return nt(t)}function pk(e){e=e||{};var t=e.modalPercent||.75;if(et.get("isModalOpen"))return et.get("isModalOpen");var r=Hr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",ur);if(r.length)return et.set("isModalOpen",true),true;for(var n=uo(u),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,c=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],f=c.map(function(L){return Array.from(d.elementsFromPoint(L.x,L.y))}),p=function(){var B=f[D].find(function(G){var K=u.getComputedStyle(G);return parseInt(K.width,10)>=a&&parseInt(K.height,10)>=i&&K.getPropertyValue("pointer-events")!=="none"&&(K.position==="absolute"||K.position==="fixed")});if(B&&f.every(function(G){return G.includes(B)}))return et.set("isModalOpen",true),{v:true}},b,D=0;D<f.length;D++)if(b=p(),b)return b.v;et.set("isModalOpen",void 0);}var Qa=pk;function Xp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=dt(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(n>s.top+t)n=Math.max(n,s.bottom);else if(a===0)n=s.bottom,a++;else return !0}}catch(c){i.e(c);}finally{i.f();}return false}function hk(e){return e instanceof u.Node}var gk=hk,Kl="color.incompleteData",bk={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=et.get(Kl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=et.get(Kl);return r?.[t]},clear:function(){et.set(Kl,{});}},Tt=bk;function vk(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return Tt.set("bgColor","imgNode"),true;t=t||u.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);Tt.set("bgColor",o?"bgGradient":"bgImage");}return i}var So=vk,yk=/^#[0-9a-f]{3,8}$/i,wk=/hsl\(\s*([-\d.]+)(rad|turn)/,ei=(Ge=new WeakMap,ct=new WeakMap,gt=new WeakMap,Et=new WeakMap,vt=new WeakMap,lt=new WeakMap,it=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(Pt(this,e),Be(this,it),pe(this,Ge,void 0),pe(this,ct,void 0),pe(this,gt,void 0),pe(this,Et,void 0),pe(this,vt,void 0),pe(this,lt,void 0),t instanceof ei){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=n,this.alpha=a;}return Ue(e,[{key:"r",get:function(){return ze(Ge,this)},set:function(r){ft(Ge,this,r),ft(Et,this,Math.round(ea(r,0,1)*255));}},{key:"g",get:function(){return ze(ct,this)},set:function(r){ft(ct,this,r),ft(vt,this,Math.round(ea(r,0,1)*255));}},{key:"b",get:function(){return ze(gt,this)},set:function(r){ft(gt,this,r),ft(lt,this,Math.round(ea(r,0,1)*255));}},{key:"red",get:function(){return ze(Et,this)},set:function(r){ft(Ge,this,r/255),ft(Et,this,ea(r,0,255));}},{key:"green",get:function(){return ze(vt,this)},set:function(r){ft(ct,this,r/255),ft(vt,this,ea(r,0,255));}},{key:"blue",get:function(){return ze(lt,this)},set:function(r){ft(gt,this,r/255),ft(lt,this,ea(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),n=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?n:"0"+n)+(this.blue>15.5?a:"0"+a)}},{key:"toJSON",value:function(){var r=this.red,n=this.green,a=this.blue,i=this.alpha;return {red:r,green:n,blue:a,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(wk,function(i,o,s){var c=o+s;switch(s){case "rad":return i.replace(c,Ak(o));case "turn":return i.replace(c,_k(o))}});try{var n;"Prototype"in u&&"Version"in u.Prototype&&(n=Array.from,Array.from=Hf.default);var a=new Dt(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw Tt.set("colorParse",r),new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r);}},{key:"parseHexString",value:function(r){!r.match(yk)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,n=this.g,a=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4),s=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var n=r-this.getLuminosity();return It(it,this,xk).call(this,n).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var n=new ei(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(p,b){return p.value-b.value}),o=Ce(i,3),s=o[0],c=o[1],f=o[2];return f.value>s.value?(c.value=(c.value-s.value)*r/(f.value-s.value),f.value=r):c.value=f.value=0,s.value=0,n[f.name]=f.value,n[s.name]=s.value,n[c.name]=c.value,n}},{key:"clip",value:function(){var r=new ei(this),n=r.getLuminosity(),a=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return a<0&&(r.r=n+(r.r-n)*n/(n-a),r.g=n+(r.g-n)*n/(n-a),r.b=n+(r.b-n)*n/(n-a)),i>1&&(r.r=n+(r.r-n)*(1-n)/(i-n),r.g=n+(r.g-n)*(1-n)/(i-n),r.b=n+(r.b-n)*(1-n)/(i-n)),r}}])})());function xk(e){var t=new ei(this);return t.r+=e,t.g+=e,t.b+=e,t}var Ot=ei;function ea(e,t,r){return Math.min(Math.max(t,e),r)}function Ak(e){return e*180/Math.PI}function _k(e){return e*360}function Ek(e){var t=new Ot;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Fn=Ek;function Dk(e){var t=u.getComputedStyle(e);return So(e,t)||Fn(t).alpha===1}var kk=Dk;function Jl(e){if(!e.href)return false;var t=et.get("firstPageLink",Sk);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function Sk(){var e;return u.location.origin?e=fr(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Dl(t.actualNode)}):e=fr(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var Ck=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Tk=/(\w+)\((\d+)/;function Rk(e){var t=e.getPropertyValue("clip").match(Ck),r=e.getPropertyValue("clip-path").match(Tk);if(t&&t.length===5){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function Fk(e,t,r){var n=Jn(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Qt(e);if(!i||i.nodeType!==9)return false;var o=fr(m._tree,'img[usemap="#'.concat(qt(a),'"]'));return !o||!o.length?false:o.some(function(s){var c=s.actualNode;return Co(c,t,r)})}function Co(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Xt?e:nt(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=u.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,c=o.DOCUMENT_FRAGMENT_NODE,f=a?a.props.nodeType:e.nodeType,p=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(f===s)return true;if(["style","script","noscript","template"].includes(p))return false;if(e&&f===c&&(e=e.host),t){var b=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(b==="true")return false}if(!e){var D=a.parent,L=true;return D&&(L=Co(D,t,true)),a&&(a[i]=L),L}var B=u.getComputedStyle(e,null);if(B===null)return false;if(p==="area")return Fk(e,t,r);if(B.getPropertyValue("display")==="none")return false;var G=parseInt(B.getPropertyValue("height")),K=parseInt(B.getPropertyValue("width")),Y=Jr(e),Z=Y&&G===0,ie=Y&&K===0,oe=B.getPropertyValue("position")==="absolute"&&(G<2||K<2)&&B.getPropertyValue("overflow")==="hidden";if(!t&&(Rk(B)||B.getPropertyValue("opacity")==="0"||Z||ie||oe)||!r&&(B.getPropertyValue("visibility")==="hidden"||!t&&fo(e)))return false;var ue=e.assignedSlot?e.assignedSlot:e.parentNode,fe=false;return ue&&(fe=Co(ue,t,true)),a&&(a[i]=fe),fe}var Ik=Co;function Lk(e,t){for(var r=["fixed","sticky"],n=[],a=false,i=0;i<e.length;++i){var o=e[i];o===t&&(a=true);var s=u.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var Kp=Lk;function Jp(e,t){var r=Yp(t);do{var n=Yp(e);if(n===r||n===t)return Pk(e,t);e=n;}while(e);return false}function Yp(e){for(var t=nt(e),r=t.parent;r;){if(Jr(r.actualNode))return r.actualNode;r=r.parent;}}function Pk(e,t){var r=u.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof u.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function Zp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return Qt(a)===r}).reduce(function(a,i){if(lo(i)){var o=Zp(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Jp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var Mk=Zp;function Ok(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=d.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=qk(i),s=o.pathname,c=o.filename;return {protocol:a,hostname:n.hostname,port:Nk(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:Bk(n.search),hash:Hk(n.hash),filename:c}}}function Nk(e){var t=["443","80"];return t.includes(e)?"":e}function qk(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function Bk(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=r[n],i=a.split("="),o=Ce(i,2),s=o[0],c=o[1],f=c===void 0?"":c;t[decodeURIComponent(s)]=decodeURIComponent(f);}return t}function Hk(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Ce(r,1),a=n[0];return a==="#"?"":e}var Vk=Ok;function $k(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,i={top:n-t.scrollTop,bottom:n-t.scrollTop+t.scrollHeight,left:a-t.scrollLeft,right:a-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=u.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof u.HTMLBodyElement||t instanceof u.HTMLHtmlElement:true}var Yl=$k,Qp=0,jk=(function(e){function t(r,n,a){var i;if(Pt(this,t),i=se(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(Qp=0),i.nodeIndex=Qp++,i._isHidden=null,i._cache={},i._isXHTML=La(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Bo().includes(o)||(o="text"),i._type=o;}return et.get("nodeMap")&&et.get("nodeMap").set(r,i),i}return Q(t,e),Ue(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,a=n.nodeType,i=n.nodeName,o=n.id,s=n.nodeValue;this._cache.props={nodeType:a,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},a===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof u.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(n).map(function(a){return a.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var a="computedStyle_"+n;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=u.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(n)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=$t(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Qm(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Xt),Zl=jk;function zk(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var nr=zk,In=" [idsMap]";function eh(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(c){return th(c)}))return;var o=new Set;t.forEach(function(c){var f,p=Gk(c,n,a);p==null||(f=p.nodes)===null||f===void 0||f.forEach(function(b){p.isComplexSelector&&!Gn(b,c)||o.add(b);});});var s=[];return o.forEach(function(c){return s.push(c)}),r&&(s=s.filter(r)),s.sort(function(c,f){return c.nodeIndex-f.nodeIndex})}}function Gk(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(th(n))a=t["*"];else {if(n.id){var o;if(!t[In]||!Object.hasOwn(t[In],n.id)||!((o=t[In][n.id])!==null&&o!==void 0&&o.length))return;a=t[In][n.id].filter(function(G){return G.shadowId===r});}if(n.tag&&n.tag!=="*"){var s;if(!((s=t[n.tag])!==null&&s!==void 0&&s.length))return;var c=t[n.tag];a=a?Ql(c,a):c;}if(n.classes){var f;if(!((f=t["[class]"])!==null&&f!==void 0&&f.length))return;var p=t["[class]"];a=a?Ql(p,a):p;}if(n.attributes)for(var b=0;b<n.attributes.length;b++){var D,L=n.attributes[b];if(L.type==="attrValue"&&(i=true),!((D=t["[".concat(L.key,"]")])!==null&&D!==void 0&&D.length))return;var B=t["[".concat(L.key,"]")];a=a?Ql(B,a):B;}}return {nodes:a,isComplexSelector:i}}function th(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Ql(e,t){return e.filter(function(r){return t.includes(r)})}function To(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function rh(e,t){e.props.nodeType===1&&(To(e.props.nodeName,e,t),To("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[In]=t[In]||{},nr(e.attr(r)).forEach(function(n){To(n,e,t[In]);})),To("[".concat(r,"]"),e,t);}));}var eu;function tu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.documentElement,t=arguments.length>1?arguments[1]:void 0;eu=false;var r={};et.set("nodeMap",new WeakMap),et.set("selectorMap",r);var n=nh(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=eu,n}function Uk(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function ru(e,t,r){var n=new Zl(e,t,r);return rh(n,et.get("selectorMap")),n}function Ro(e,t,r){var n=[];return e.forEach(function(a){var i=nh(a,r,t);i&&n.push.apply(n,le(i));}),n}function nh(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(lo(e))return eu=true,n=ru(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=Ro(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),Ro(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=Uk(e));u.getComputedStyle(e);return Ro(a,r,t)}if(e.nodeType===d.ELEMENT_NODE)return n=ru(e,r,t),a=Array.from(e.childNodes),n.children=Ro(a,n,t),[n];if(e.nodeType===d.TEXT_NODE)return [ru(e,r)]}function Wk(e){return e?e.trim().split("-")[0].toLowerCase():""}var Ln=Wk;function Xk(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=m._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
427
427
|
|
|
428
428
|
`)}var nu=Xk;function au(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var ah=tt.resultGroups;function ti(e,t){var r=m.utils.aggregateResult(e);return ah.forEach(function(n){t.resultTypes&&!t.resultTypes.includes(n)&&(r[n]||[]).forEach(function(a){Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=[a.nodes[0]]);}),r[n]=(r[n]||[]).map(function(a){return a=Object.assign({},a),Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=a.nodes.map(function(i){if(ye(i.node)==="object"){var o=ih(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,Kk(i,t),i})),ah.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function Kk(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(n){return Array.isArray(n.relatedNodes)}).forEach(function(n){n.relatedNodes=n.relatedNodes.map(function(a){return ih(a,t)});});});}function ih(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=wr.dqElmToSpec(e,t);var r={};if(m._audit.noHtml)r.html=null;else {var n;r.html=(n=e.source)!==null&&n!==void 0?n:"Undefined";}if(t.elementRef&&!e.fromFrame){var a;r.element=(a=e.element)!==null&&a!==void 0?a:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var Jk=/\$\{\s?data\s?\}/g;function Fo(e,t){if(typeof t=="string")return e.replace(Jk,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=typeof t[r]>"u"?"":String(t[r]);e=e.replace(n,a);}return e}function oh(e,t){if(e){if(Array.isArray(t)){if(t.values=t.join(", "),typeof e.singular=="string"&&typeof e.plural=="string"){var r=t.length===1?e.singular:e.plural;return Fo(r,t)}return Fo(e,t)}if(typeof e=="string")return Fo(e,t);if(typeof t=="string"){var n=e[t];return Fo(n,t)}var a=e.default||au();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),oh(a,t)}}var iu=oh;function Yk(e,t,r){var n=m._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return iu(n.messages[t],r)}var Zk=Yk;function Qk(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],i=e.enabled,o=e.options;return a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var Io=Qk;function gn(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;return t&&ye(t)==="object"?t:ye(r)!=="object"?{}:{testEngine:{name:"axe-core",version:m.version},testRunner:{name:m._audit.brand},testEnvironment:eS(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function eS(e){if(!e.navigator||ye(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=tS(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function tS(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function sh(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&rS(e),size:nS(e),page:n}}function rS(e){var t=Br(e.getAttribute("tabindex"));return t===null||t>=0}function nS(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r;}return {width:t,height:r}}function aS(e){if(su(e)){var t=" must be used inside include or exclude. It should not be on the same object.";bn(!qr(e,"fromFrames"),"fromFrames"+t),bn(!qr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(Po(e))e={include:e,exclude:[]};else return {include:[d],exclude:[]};var r=lh(e.include);r.length===0&&r.push(d);var n=lh(e.exclude);return {include:r,exclude:n}}function lh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];ou(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=iS(e[r]);n&&t.push(n);}return t}function iS(e){return e instanceof u.Node?e:typeof e=="string"?[e]:(lu(e)?(sS(e),e=e.fromFrames):Mo(e)&&(e=[e]),oS(e))}function oS(e){if(Array.isArray(e)){var t=[],r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(Mo(a)&&(lS(a),a=a.fromShadowDom),typeof a!="string"&&!uS(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function sS(e){bn(Array.isArray(e.fromFrames),"fromFrames property must be an array"),bn(e.fromFrames.every(function(t){return !qr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),bn(!qr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function lS(e){bn(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),bn(e.fromShadowDom.every(function(t){return !qr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),bn(e.fromShadowDom.every(function(t){return !qr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function uS(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function bn(e,t){pt(e,"Invalid context; ".concat(t,`
|
|
429
|
-
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function uh(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof u.Node)if(i.documentElement instanceof u.Node)r.push(e.flatTree[0]);else if(i.host instanceof u.Node){var o=Array.from(i.children).map(function(c){return nt(c)});r.push.apply(r,le(o));}else r.push(nt(i));else if(i&&i.length)if(i.length>1)cS(e,t,i);else {var s=gu(i[0]);r.push.apply(r,le(s.map(function(c){return nt(c)})));}}return r.filter(function(c){return c})}function cS(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=gu(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=sh(i,e),e.frames.push(o)),o[t].push(r);});}function Lo(e,t){var r,n,a,i,o=this;e=Ur(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((n=e)===null||n===void 0?void 0:n.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((a=e)===null||a===void 0?void 0:a.focusable)=="boolean"?e.focusable:true,this.size=ye((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=aS(e),this.flatTree=t??tu(pS(e)),this.exclude=e.exclude,this.include=e.include,this.include=uh(this,"include"),this.exclude=uh(this,"exclude"),hu("frame, iframe",this).forEach(function(s){cu(s,o)&&dS(o,s.actualNode);}),typeof this.page>"u"&&(this.page=fS(this),this.frames.forEach(function(s){s.page=o.page;})),mS(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(fu);}function dS(e,t){!Mt(t)||Ha(e.frames,"node",t)||e.frames.push(sh(t,e));}function fS(e){var t=e.include;return t.length===1&&t[0].actualNode===d.documentElement}function mS(e){if(e.include.length===0&&e.frames.length===0){var t=Cr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function pS(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof u.Element)return i.ownerDocument.documentElement;if(i instanceof u.Document)return i.documentElement}return d.documentElement}function hS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new Lo(e),n=r.frames;return n.map(function(a){var i=a.node,o=W(a,R);o.initiator=false;var s=eo(i);return {frameSelector:s,frameContext:o}})}function ch(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function gS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=u.getComputedStyle(e),i=dh(a,"overflow-x"),o=dh(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function dh(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Jr=Ct(gS);function fh(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Jr(r);return n&&t.push(n),t.concat(fh(r))},[])}function bS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(fh(d.body))}var vS=bS;function yS(){return Ur(ht)}function wS(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=n===void 0?false:n,i=t.shadowId,o=t.root,s=t.priority,c=t.isLink,f=c===void 0?false:c,p=e.createElement("style");if(f){var b=e.createTextNode('@import "'.concat(r.href,'"'));p.appendChild(b);}else p.appendChild(e.createTextNode(r));return e.head.appendChild(p),{sheet:p.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var mh=wS,dr;function xS(e){if(dr&&dr.parentNode)return dr.styleSheet===void 0?dr.appendChild(d.createTextNode(e)):dr.styleSheet.cssText+=e,dr;if(e){var t=d.head||d.getElementsByTagName("head")[0];return dr=d.createElement("style"),dr.type="text/css",dr.styleSheet===void 0?dr.appendChild(d.createTextNode(e)):dr.styleSheet.cssText=e,t.appendChild(dr),dr}}var AS=xS;function ou(e){return !!e&&ye(e)==="object"&&typeof e.length=="number"&&!(e instanceof u.Node)}function qr(e,t){return !e||ye(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function ph(e){return su(e)||Po(e)}function su(e){return ["include","exclude"].some(function(t){return qr(e,t)&&Po(e[t])})}function Po(e){return typeof e=="string"||e instanceof u.Node||lu(e)||Mo(e)||ou(e)}function lu(e){return qr(e,"fromFrames")}function Mo(e){return qr(e,"fromShadowDom")}function hh(e,t){var r=nt(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=u.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=hh(a,true);return r&&(r._isHidden=i),i}var _S=hh;function ES(e){var t,r,n=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!ht.htmlElms[n]}var uu=ES;function cu(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(p){return Wr(p,e)});if(o.length===0)return false;var s=i.filter(function(p){return Wr(p,e)});if(s.length===0)return true;var c=gh(o),f=gh(s);return Wr(f,c)}function gh(e){var t,r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Wr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function du(e,t){return e.length!==t.length?false:e.every(function(r,n){var a=t[n];return Array.isArray(r)?r.length!==a.length?false:r.every(function(i,o){return a[o]===i}):r===a})}function DS(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var fu=DS;function mt(e){return e instanceof Xt?{vNode:e,domNode:e.actualNode}:{vNode:nt(e),domNode:e}}function kS(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(p){return p.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(p){return p.href}).map(function(p){return p.href}).filter(function(p){return !n.includes(p)}),c=s.map(function(p,b){var D=[].concat(le(r),[b]),L=/^https?:\/\/|^\/\//i.test(p);return pu(p,t,D,n,L)}),f=i.filter(function(p){return p.type!==3});return f.length&&c.push(Promise.resolve(t.convertDataToStylesheet({data:f.map(function(p){return p.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(c)}var bh=kS;function SS(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=CS(e);return i?bh(e,t,r,n,a):pu(e.href,t,r,n,true)}function CS(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var mu=SS;function TS(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new u.XMLHttpRequest;s.open("GET",e),s.timeout=tt.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(c){if(c.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return mu(o.sheet,t,r,n,o.isCrossOrigin)})}var pu=TS;function RS(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Br=RS,FS=(function(){function e(){if(u.performance&&u.performance)return u.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(a){var i;(i=u.performance)!==null&&i!==void 0&&i.mark&&u.performance.mark(a);},measure:function(a,i,o){var s,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=u.performance)!==null&&s!==void 0&&s.measure){try{u.performance.measure(a,i,o);}catch(f){this._log(f);}c||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,c=function(G){return Array.isArray(G)?G[G.length-1]:G},f=function(G){i._log("Measure "+G.name+" took "+G.duration+"ms");};if(!(!((o=u.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=u.performance)!==null&&s!==void 0&&s.getEntriesByName))){var p=c(u.performance.getEntriesByName("mark_axe_start"))||c(u.performance.getEntriesByName("mark_audit_start"));if(!p){this._log("Axe must be started before using performanceTimer");return}for(var b=u.performance.getEntriesByType("measure").filter(function(B){return B.startTime>=p.startTime}),D=0;D<b.length;++D){var L=b[D];if(L.name===a){f(L);return}else a||f(L);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=u.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var c=0,f=o;c<f.length;c++){var p=f[c];u.performance.clearMarks(p);}}},reset:function(){t=e();},_log:function(a){Dn(a);}}})(),bt=FS;function vh(){if(d.elementsFromPoint)return d.elementsFromPoint;if(d.msElementsFromPoint)return d.msElementsFromPoint;var e=(function(){var a=d.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=d.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,c,f=[],p=[];for(d.head.appendChild(n);(o=d.elementFromPoint(a,i))&&f.indexOf(o)===-1;)f.push(o),p.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(f.indexOf(d.documentElement)<f.length-1&&(f.splice(f.indexOf(d.documentElement),1),f.push(d.documentElement)),s=p.length;c=p[--s];)f[s].style.setProperty(t,c.value?c.value:"",c.priority);return d.head.removeChild(n),f}}typeof u.addEventListener=="function"&&(d.elementsFromPoint=vh());function IS(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var ri=IS;function yh(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function LS(e,t,r){for(var n=et.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=yh(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var c,f,p=o.vNodes[o.vNodesIndex++],b=null,D=null,L=(((c=o.anyLevel)===null||c===void 0?void 0:c.length)||0)+(((f=o.thisLevel)===null||f===void 0?void 0:f.length)||0),B=false,G=0;G<L;G++){var K,Y,Z,ie=G<(((K=o.anyLevel)===null||K===void 0?void 0:K.length)||0)?o.anyLevel[G]:o.thisLevel[G-(((Y=o.anyLevel)===null||Y===void 0?void 0:Y.length)||0)];if((!ie[0].id||p.shadowId===o.parentShadowId)&&Gn(p,ie[0]))if(ie.length===1)!B&&(!r||r(p))&&(s.push(p),B=true);else {var oe=ie.slice(1);if([" ",">"].includes(oe[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+ie[1].combinator);oe[0].combinator===">"?(b=b||[]).push(oe):(D=D||[]).push(oe);}(!ie[0].id||p.shadowId===o.parentShadowId)&&(Z=o.anyLevel)!==null&&Z!==void 0&&Z.includes(ie)&&(D=D||[]).push(ie);}for(p.children&&p.children.length&&(a.push(o),o=yh(p.children,D,b,p.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function PS(e,t,r){e=Array.isArray(e)?e:[e];var n=to(t),a=eh(e,n,r);return a||LS(e,n,r)}var Hr=PS;function MS(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=OS(r);if(!n.length)return Promise.resolve();var a=d.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=mh(a);return NS(n,i).then(function(o){return xh(o)})}var wh=MS;function OS(e){var t=[],r=Hr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:Va(n.actualNode)}});return ri(r,[])}function NS(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=qS(i,o,t);if(!s)return Promise.all(r);var c=a+1,f={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:c},p=[],b=Promise.all(s.map(function(D,L){var B=[c,L];return mu(D,f,B,p)}));r.push(b);}),Promise.all(r)}function xh(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(xh(r)):t.concat(r)},[])}function qS(e,t,r){var n;return e.nodeType===11&&t?n=BS(e,r):n=HS(e),$S(n)}function BS(e,t){return Array.from(e.children).filter(VS).reduce(function(r,n){var a=n.nodeName.toUpperCase(),i=a==="STYLE"?n.textContent:n,o=a==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function HS(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Ah(t.media.mediaText):false})}function VS(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a=t==="LINK"&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||a&&Ah(e.media)}function Ah(e){return e?!e.toUpperCase().includes("PRINT"):true}function $S(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function jS(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=Hr(r,"video[autoplay], audio[autoplay]",function(a){var i=a.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(n.map(function(a){var i=a.actualNode;return zS(i)}))}var _h=jS;function zS(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Eh(e){var t={cssom:wh,media:_h};return Dh(e)?new Promise(function(r,n){var a=kh(e),i=a.assets,o=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(c){return t[c](e).then(function(f){return U({},c,f)})})).then(function(c){var f=c.reduce(function(p,b){return te({},p,b)},{});clearTimeout(s),r(f);}).catch(function(c){clearTimeout(s),n(c);});}):Promise.resolve()}function GS(e){return ye(e)==="object"&&Array.isArray(e.assets)}function Dh(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:GS(e.preload)}function kh(e){var t=tt.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload||typeof e.preload=="boolean")return a;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=ri(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function Oo(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},n=Ha(m._audit.rules,"id",e.id)||{};e.tags=Ur(n.tags||[]);var a=Sh(t,true,n),i=Sh(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),ml(e,Ur(r[e.id]||{}));}function US(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:au()}if(e&&e.missingData)try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function Sh(e,t,r){return function(n){var a=e[n.id]||{},i=a.messages||{},o=Object.assign({},a);delete o.messages,!r.reviewOnFail&&n.result===void 0?(ye(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=US(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=iu(o.message,n.data)),ml(n,o);}}function WS(e,t){return Hr(e,t)}var fr=WS;function Ch(e,t){var r,n,a=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function XS(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?Ch(e,n.values):Ch(e,[])}var Th=XS;function Rh(e,t){if(!t)return e;var r=e.cloneNode(false),n=Ea(r);if(r.nodeType===1){var a=r.outerHTML;r=et.get(a,function(){return Fh(r,n,e,t)});}else r=Fh(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Rh(i,t));}),r}function Fh(e,t,r,n){return t&&(e=d.createElement(e.nodeName),Array.from(t).forEach(function(a){KS(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function KS(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:$n(e,r[t])}function hu(e,t){var r=[],n;if(m._selectCache)for(var a=0,i=m._selectCache.length;a<i;a++){var o=m._selectCache[a];if(o.selector===e)return o.result}for(var s=JS(t.include),c=YS(t),f=0;f<s.length;f++){n=s[f];var p=Hr(n,e,c);r=ZS(r,p);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function JS(e){return e.reduce(function(t,r){return (!t.length||!Wr(t[t.length-1],r))&&t.push(r),t},[])}function YS(e){return !e.exclude||e.exclude.length===0?null:function(t){return cu(t,e)}}function ZS(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function No(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ye(e)!=="object"||e===null)return {message:String(e)};var r={},n=dt(tt.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(ye(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?No(e.cause,t+1):"..."),r}var QS=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,c=r.errorNode;return Pt(this,t),a=se(this,t),a.name=(n=i.name)!==null&&n!==void 0?n:"RuleError",a.message=i.message,a.stack=i.stack,i.cause&&(a.cause=No(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),c&&(a.errorNode=c),a}return Q(t,e),Ue(t)})($(Error)),qo=QS;function eC(e,t,r){if(e===u)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function tC(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return eC(r,n,a)});}var rC=tC;function nC(e){var t=Array.isArray(e)?le(e):[e];return Ih(t,d)}function Ih(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Ih(e,n.shadowRoot):null}function gu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,r=Array.isArray(e)?le(e):[e];return e.length===0?[]:Lh(r,t)}function Lh(e,t){var r=M(e),n=r[0],a=$r(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=dt(i),c;try{for(s.s();!(c=s.n()).done;){var f=c.value;f!=null&&f.shadowRoot&&o.push.apply(o,le(Lh(a,f.shadowRoot)));}}catch(p){s.e(p);}finally{s.f();}return o}function aC(){return ["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var Bo=aC,Ph=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function iC(e){for(var t=Ph;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var n=e.charCodeAt(r)-96;if(t=t[n],!t)return false}return true}function Mh(e){e=Array.isArray(e)?e:Ph;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Mh(r).map(function(i){return a+i})):t.push(a);}),t}var Ho=iC,oC=(function(e){function t(r){var n;return Pt(this,t),n=se(this,t),n._props=lC(r),n._attrs=uC(r),n}return Q(t,e),Ue(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var a;return (a=this._attrs[n])!==null&&a!==void 0?a:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Xt),bu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Oh={},sC=Object.keys(bu);sC.forEach(function(e){Oh[bu[e]]=e;});function lC(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Oh[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:bu[e.nodeName])!==null&&r!==void 0?r:1;pt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),pt(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Bo().includes(o)||(o="text"));var s=te({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function uC(e){var t=e.attributes,r=t===void 0?{}:t,n={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(a,i){var o=r[i];if(pt(ye(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=n[i]||i;a[s]=o!==null?String(o):null;}return a},{})}var Nh=oC;function cC(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),n=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(f){n.push(f),o();};try{m.plugins[i].cleanup(o,s);}catch(c){s(c);}});});var a=m.utils.getFlattenedTree(d.body);m.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return m.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var qh=cC,ni={},Bh;function Hh(e){return ni.hasOwnProperty(e)}function vu(e){return typeof e=="string"&&ni[e]?ni[e]:typeof e=="function"?e:Bh}function dC(e,t,r){ni[e]=t,r&&(Bh=t);}function fC(e){var t=m._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=Ce(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=m.version.split("-"),L=Ce(D,2),B=L[0],G=L[1],K=B.split(".").map(Number),Y=Ce(K,3),Z=Y[0],ie=Y[1],oe=Y[2];if(f!==Z||ie<p||ie===p&&oe<b||f===Z&&p===ie&&b===oe&&o&&o!==G)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Hh(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(fe){if(!fe.id)throw new TypeError("Configured check ".concat(JSON.stringify(fe)," is invalid. Checks must be an object with at least an id property"));t.addCheck(fe);});}var ue=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(fe){if(!fe.id)throw new TypeError("Configured rule ".concat(JSON.stringify(fe)," is invalid. Rules must be an object with at least an id property"));ue.push(fe.id),t.addRule(fe);});}if(e.disableOtherRules&&t.rules.forEach(function(fe){ue.includes(fe.id)===false&&(fe.enabled=false);}),typeof e.branding<"u"?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&F2(e.standards),e.noHtml&&(t.noHtml=true),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(tt.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var mC=fC;function pC(e){Cr.updateMessenger(e);}function hC(e){e=e||[];var t=e.length?m._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var gC=hC;function bC(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Za(r)){var a=u.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=Kt(e),o=i&&u.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var vC=bC,Vh={};Ar(Vh,{getAllCells:function(){return yu},getCellPosition:function(){return wo},getHeaders:function(){return Vo},getScope:function(){return Il},isColumnHeader:function(){return Zn},isDataCell:function(){return jh},isDataTable:function(){return $o},isHeader:function(){return EC},isRowHeader:function(){return Qn},toArray:function(){return Kr},toGrid:function(){return Kr},traverse:function(){return wu}});function yC(e){var t,r,n,a,i=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)i.push(e.rows[t].cells[r]);return i}var yu=yC;function $h(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Qn:Zn,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),c=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,f=c-1,p=t.y+f,b=t.x+o,D=e==="row"?t.y:0,L=e==="row"?0:t.x,B,G=[],K=p;K>=D&&!B;K--)for(var Y=b;Y>=L;Y--){var Z=r[K]?r[K][Y]:void 0;if(Z){var ie=m.utils.getNodeFromTree(Z);if(ie[n]){B=ie[n];break}G.push(Z);}}return B=(B||[]).concat(G.filter(a)),G.forEach(function(oe){var ue=m.utils.getNodeFromTree(oe);ue[n]=B;}),B}function wC(e,t){if(e.getAttribute("headers")){var r=Mr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Kr(Jn(e,"table")));var n=wo(e,t),a=$h("row",n,t),i=$h("col",n,t);return [].concat(a,i).reverse()}var Vo=wC;function xC(e){if(!e.children.length&&!e.textContent.trim())return false;var t=st(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var jh=xC;function AC(e){var t=st(e);if((t==="presentation"||t==="none")&&!$t(e))return false;if(e.getAttribute("contenteditable")==="true"||Jn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||Tr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,n=e.children.length;r<n;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var a=0,i=e.rows.length,o,s,c=false,f=0;f<i;f++){o=e.rows[f];for(var p=0,b=o.cells.length;p<b;p++){if(s=o.cells[p],s.nodeName.toUpperCase()==="TH"||(!c&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(c=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(st(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var D=e.rows[Math.ceil(i/2)];if(D.cells.length===1&&D.cells[0].colSpan===1)return false;if(D.cells.length>=5||c)return true;for(var L,B,G=0;G<i;G++){if(o=e.rows[G],L&&L!==u.getComputedStyle(o).getPropertyValue("background-color")||(L=u.getComputedStyle(o).getPropertyValue("background-color"),B&&B!==u.getComputedStyle(o).getPropertyValue("background-image")))return true;B=u.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(bl(e).width>uo(u).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var $o=AC;function _C(e){if(Zn(e)||Qn(e))return true;if(e.getAttribute("id")){var t=qt(e.getAttribute("id"));return !!d.querySelector('[headers~="'.concat(t,'"]'))}return false}var EC=_C;function zh(e,t,r,n){var a,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof n=="function"&&(a=n(i,t,r),a===true)?[i]:(a=zh(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function DC(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return zh(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var wu=DC,Gh={};Ar(Gh,{allowedAttr:function(){return Uh},arialabelText:function(){return Wa},arialabelledbyText:function(){return Ua},getAccessibleRefs:function(){return xu},getElementUnallowedRoles:function(){return Kh},getExplicitRole:function(){return st},getImplicitRole:function(){return Or},getOwnedVirtual:function(){return Ja},getRole:function(){return rt},getRoleType:function(){return Tr},getRolesByType:function(){return NC},getRolesWithNameFromContents:function(){return HC},implicitNodes:function(){return $C},implicitRole:function(){return Or},isAccessibleRef:function(){return jo},isAriaRoleAllowedOnElement:function(){return Xh},isComboboxPopup:function(){return _u},isUnsupportedRole:function(){return Rl},isValidRole:function(){return Xa},label:function(){return Qh},labelVirtual:function(){return _o},lookupTable:function(){return Yh},namedFromContents:function(){return wp},requiredAttr:function(){return eg},requiredContext:function(){return Eu},requiredOwned:function(){return Du},validateAttr:function(){return zo},validateAttrValue:function(){return tg}});function kC(e){var t=ht.ariaRoles[e],r=le(mn());return t&&(t.allowedAttrs&&r.push.apply(r,le(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,le(t.requiredAttrs))),r}var Uh=kC,SC=/^idrefs?$/;function Wh(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e]);}for(var a=0;a<r.length;++a){var i=r[a],o=Ke(e.getAttribute(i)||"");if(o){var s=dt(nr(o)),c;try{for(s.s();!(c=s.n()).done;){var f=c.value;t.has(f)?t.get(f).push(e):t.set(f,[e]);}}catch(b){s.e(b);}finally{s.f();}}}}for(var p=0;p<e.childNodes.length;p++)e.childNodes[p].nodeType===1&&Wh(e.childNodes[p],t,r);}function CC(e){var t;e=e.actualNode||e;var r=Qt(e);r=r.documentElement||r;var n=et.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(ht.ariaAttrs).filter(function(o){var s=ht.ariaAttrs[o].type;return SC.test(s)});Wh(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var xu=CC;function TC(e,t){var r=e instanceof Xt?e:nt(e),n=Or(r),a=pn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Xh=TC,RC=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],FC={header:"banner",footer:"contentinfo"};function IC(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=nr(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Xa(n)})}function LC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=mt(e),n=r.vNode;if(!uu(n))return [];var a=n.props.nodeName,i=Or(n)||FC[a],o=IC(n);return o.filter(function(s){return !PC(s,n,t,i)})}function PC(e,t,r,n){return r&&e===n?true:RC.includes(e)&&Tr(e)!==n?false:Xh(t,e)}var Kh=LC;function MC(e){return Object.keys(ht.ariaRoles).filter(function(t){return ht.ariaRoles[t].type===e})}var ta=MC;function OC(e){return ta(e)}var NC=OC;function qC(){return et.get("ariaRolesNameFromContent",function(){return Object.keys(ht.ariaRoles).filter(function(e){return ht.ariaRoles[e].nameFromContent})})}var Au=qC;function BC(){return Au()}var HC=BC,Jh=function(t){return t===null},er=function(t){return t!==null},Yr={};Yr.attributes={"aria-activedescendant":{type:"idref",allowEmpty:true,unsupported:false},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:false},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:false},"aria-busy":{type:"boolean",values:["true","false"],unsupported:false},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-colcount":{type:"int",unsupported:false},"aria-colindex":{type:"int",unsupported:false},"aria-colspan":{type:"int",unsupported:false},"aria-controls":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],unsupported:false},"aria-describedby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-describedat":{unsupported:true,unstandardized:true},"aria-details":{type:"idref",allowEmpty:true,unsupported:false},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:false},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:false},"aria-errormessage":{type:"idref",allowEmpty:true,unsupported:false},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-flowto":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:false},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:false},"aria-invalid":{type:"nmtoken",allowEmpty:true,values:["true","false","spelling","grammar"],unsupported:false},"aria-keyshortcuts":{type:"string",allowEmpty:true,unsupported:false},"aria-label":{type:"string",allowEmpty:true,unsupported:false},"aria-labelledby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-level":{type:"int",unsupported:false},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:false},"aria-modal":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:false},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:false},"aria-owns":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-placeholder":{type:"string",allowEmpty:true,unsupported:false},"aria-posinset":{type:"int",unsupported:false},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:false},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:false},"aria-required":{type:"boolean",values:["true","false"],unsupported:false},"aria-roledescription":{type:"string",allowEmpty:true,unsupported:false},"aria-rowcount":{type:"int",unsupported:false},"aria-rowindex":{type:"int",unsupported:false},"aria-rowspan":{type:"int",unsupported:false},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-setsize":{type:"int",unsupported:false},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:false},"aria-valuemax":{type:"decimal",unsupported:false},"aria-valuemin":{type:"decimal",unsupported:false},"aria-valuenow":{type:"decimal",unsupported:false},"aria-valuetext":{type:"string",unsupported:false}},Yr.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"],Yr.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:er}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:er}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:er}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:er}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:er}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:er}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:er}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:er}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:er}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Yr.implicitHtmlRole=Pl,Yr.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:er}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:er}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof m.AbstractVirtualNode||(t=m.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{nodeName:["clippath","cursor","defs","desc","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","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Yr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Jh}},{nodeName:"img",attributes:{alt:Jh}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Yr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=m.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},Yr.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var Yh=Yr;function VC(e){var t=null,r=Yh.role[e];return r&&r.implicit&&(t=Ur(r.implicit)),t}var $C=VC;function jC(e){return !!xu(e).length}var jo=jC;function _u(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=rt(e);if(r??(r=tp["aria-haspopup"].values),!r.includes(n))return false;var a=zC(e);if(Zh(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=Va(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
430
|
-
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Zh)}var Zh=function(t){return t&&rt(t)==="combobox"};function zC(e){for(;e=e.parent;)if(rt(e,{noPresentational:true})!==null)return e;return null}function GC(e){return e=nt(e),_o(e)}var Qh=GC;function UC(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:le(t.requiredAttrs)}var eg=UC;function WC(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:le(t.requiredContext)}var Eu=WC;function XC(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:le(t.requiredOwned)}var Du=XC;function KC(e,t){e=e instanceof Xt?e:nt(e);var r,n,a=e.attr(t),i=ht.ariaAttrs[t];if(!i||i.allowEmpty&&(!a||a.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(a.toLowerCase());case "nmtoken":return typeof a=="string"&&i.values.includes(a.toLowerCase());case "nmtokens":return n=nr(a),n.reduce(function(c,f){return c&&i.values.includes(f)},n.length!==0);case "idref":try{var o=Qt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Mr(e,t).some(function(c){return !!c});case "string":return a.trim()!=="";case "decimal":return r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}}var tg=KC;function JC(e){var t=ht.ariaAttrs[e];return !!t}var zo=JC;function YC(e){var t=yu(e),r=this,n=[];t.forEach(function(s){var c=s.getAttribute("headers");c&&(n=n.concat(c.split(/\s+/)));var f=s.getAttribute("aria-labelledby");f&&(n=n.concat(f.split(/\s+/)));});var a=t.filter(function(s){return Ke(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(st(s))!==-1}),i=Kr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var c=wo(s,i),f=false;Zn(s)&&(f=wu("down",c,i).find(function(p){return !Zn(p)&&Vo(p,i).includes(s)})),!f&&Qn(s)&&(f=wu("right",c,i).find(function(p){return !Qn(p)&&Vo(p,i).includes(s)})),f||r.relatedNodes(s),o=o&&f;}}),o?true:void 0}var ZC=YC,ai=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],rg=ai[0],ng=ai[1],ag=ai[2],ku=ai[3];function QC(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=rt(o));}var c=U(U(U(U({},ag,new Set),rg,new Set),ng,new Set),ku,new Set);t.forEach(function(D){if(!(!D.hasAttribute("headers")||!Mt(D))){var L=D.getAttribute("headers").trim();if(!L){c[ku].add(D);return}var B=D.getAttribute("id"),G=nr(L);G.forEach(function(K){B&&K===B?c[ag].add(D):r[K]?["columnheader","rowheader"].includes(r[K])||c[ng].add(D):c[rg].add(D);});}});var f=dt(ai),p;try{for(f.s();!(p=f.n()).done;){var b=p.value;if(c[b].size>0)return this.relatedNodes(le(c[b])),b===ku?void 0:(this.data({messageKey:b}),!1)}}catch(D){f.e(D);}finally{f.f();}return true}function eT(e){var t=[],r=yu(e),n=Kr(e);return r.forEach(function(a){if(ko(a)&&jh(a)&&!Qh(a)){var i=Vo(a,n).some(function(o){return o!==null&&!!ko(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var tT=eT;function rT(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var nT=rT,aT=iT;function iT(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(oT),i=a?Ke(hn(a)):false;return !i||!n?false:Ke(n).toLowerCase()===Ke(i).toLowerCase()}}function oT(e){return e.props.nodeName==="caption"}function sT(e){return Up(d)?e.nodeName.toUpperCase()==="TH":true}var lT=sT;function uT(e){var t=Kr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(n,a,i){return n||a!==r[i+1]&&r[i+1]!==void 0},false)}var cT=uT;function dT(e,t,r){if(r.children){var n=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!n)return this.data({messageKey:"noTitle"}),false;try{var a=hn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var fT=dT,ig={};Ar(ig,{getAriaRolesByType:function(){return ta},getAriaRolesSupportingNameFromContent:function(){return Au},getElementSpec:function(){return pn},getElementsByContentType:function(){return Fl},getGlobalAriaAttrs:function(){return mn},implicitHtmlRoles:function(){return Pl}});function mT(e,t,r){var n=st(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var a=rt(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=mn().some(function(c){return r.hasAttr(c)}),o=$t(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function pT(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),n==="input"&&["submit","reset"].includes(a)?i===null:false}var hT=pT;function gT(e){return ur(e)}var bT=gT;function vT(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,c=t.noImportant,f=t.multiLineOnly;if(!c&&e.style.getPropertyPriority(r)!=="important"||f&&!Xp(e))return true;var p={};typeof a=="number"&&(p.minValue=a),typeof i=="number"&&(p.maxValue=i);var b=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(b))return this.data(te({value:b},p)),true;var D=yT(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(te({value:D},p)),typeof D=="number")return (typeof a!="number"||D>=a)&&(typeof i!="number"||D<=i)}function yT(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=u.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return a;var s=parseFloat(o);if(n)return s;var c=parseFloat(i.getPropertyValue("font-size")),f=Math.round(s/c*100)/100;return isNaN(f)?o:f}function wT(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var xT=wT;function AT(){}var _T=AT;function ET(){var e=d.title;return !!Ke(e)}var DT=ET;function kT(e,t){var r=t.cssProperties.filter(function(n){if(e.style.getPropertyPriority(n)==="important")return n});return r.length>0?(this.data(r),false):true}var ST=kT;function CT(e,t,r){try{return !!Ke(Ua(r))}catch{return}}var TT=CT;function RT(e,t,r){return !!Ke(Wa(r))}var FT=RT;function IT(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Qt(e),n=Array.from(r.querySelectorAll('[id="'.concat(qt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var LT=IT;function PT(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var MT=PT;function OT(e,t,r){var n=Ke(r.attr("title")).toLowerCase();return this.data(n),true}var NT=OT;function qT(e){var t={};return e.forEach(function(r){t[r.data]=t[r.data]!==void 0?++t[r.data]:0;}),e.forEach(function(r){r.result=!!t[r.data];}),e}var BT=qT;function HT(e){var t=kl(e,"href");return t?Mt(t)||void 0:false}var VT=HT,$T=["alert","log","status"];function jT(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=et.get("regionlessNodes",function(){return zT(t)});return !n.includes(r)}function zT(e){var t=og(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==d.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function og(e,t){var r=e.actualNode;if(rt(e)==="button"||UT(e,t)||["iframe","frame"].includes(e.props.nodeName)||Jl(e.actualNode)&&kl(e.actualNode,"href")||!Mt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==d.body&&ko(r,true)&&!GT(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return og(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function GT(e){return ["none","presentation"].includes(rt(e))&&!Do(e)}function UT(e,t){var r=e.actualNode,n=rt(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=ta("landmark");return !!(["assertive","polite"].includes(a)||$T.includes(n)||i.includes(n)||t.regionMatcher&&Ka(e,t.regionMatcher))}function WT(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var n=r.node.ancestry.slice(0,-1),a=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(du(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var XT=WT;function KT(e){switch(e){case "lighter":return 100;case "normal":return 400;case "bold":return 700;case "bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function JT(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&t!==void 0;){var a=-1;if(e=t,e.children.length===0)return e;do a++,n=e.children[a].textContent.trim();while(n===""&&a+1<e.children.length);t=e.children[a];}return e}function Su(e){var t=u.getComputedStyle(JT(e));return {fontWeight:KT(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function sg(e,t,r){return r.reduce(function(n,a){return n||(!a.size||e.fontSize/a.size>t.fontSize)&&(!a.weight||e.fontWeight-a.weight>t.fontWeight)&&(!a.italic||e.isItalic&&!t.isItalic)},false)}function YT(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e);t=t||{};var i=t.margins||[],o=n.slice(a+1).find(function(K){return K.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(K){return K.nodeName.toUpperCase()==="P"}),c=Su(e),f=o?Su(o):null,p=s?Su(s):null,b=t.passLength,D=t.failLength,L=e.textContent.trim().length,B=o?.textContent.trim().length;if(L>B*b||!f||!sg(c,f,i))return true;var G=Kn(r,"blockquote");if(!(G&&G.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(p&&!sg(c,p,i))&&!(L>B*D))return false}var ZT=YT,QT=/[;,\s]/,eR=/^[0-9.]+$/;function tR(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(QT),c=Ce(s,1),f=c[0];if(!f.match(eR))return true;var p=parseFloat(f);return this.data({redirectDelay:p}),typeof a=="number"&&p<=t.minDelay||typeof i=="number"&&p>t.maxDelay}function rR(e,t,r){var n=fr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var nR=rR,lg={};Ar(lg,{aria:function(){return Gh},color:function(){return ug},dom:function(){return pl},forms:function(){return xg},matches:function(){return Ka},math:function(){return Mm},standards:function(){return ig},table:function(){return Vh},text:function(){return Ga},utils:function(){return Ds}});var ug={};Ar(ug,{Color:function(){return Ot},centerPointOfRect:function(){return iR},elementHasImage:function(){return So},elementIsDistinct:function(){return dg},filteredRectStack:function(){return uR},flattenColors:function(){return Vr},flattenShadowColors:function(){return Tu},getBackgroundColor:function(){return oi},getBackgroundStack:function(){return Ru},getContrast:function(){return ra},getForegroundColor:function(){return Wo},getOwnBackgroundColor:function(){return Fn},getRectStack:function(){return fg},getStackingContext:function(){return Iu},getStrokeColorsFromShadows:function(){return Fu},getTextShadowColors:function(){return Uo},hasValidContrastRatio:function(){return FR},incompleteData:function(){return Tt},parseTextShadows:function(){return hg},stackingContextToColor:function(){return ii}});function aR(e){if(!(e.left>u.innerWidth)&&!(e.top>u.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),u.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),u.innerHeight-1);return {x:t,y:r}}}var iR=aR;function cg(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function oR(e,t){var r=u.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,c){var f=new Ot;return f.parseString(r.getPropertyValue(c+"-color")),s||r.getPropertyValue(c+"-style")!=="none"&&parseFloat(r.getPropertyValue(c+"-width"))>0&&f.alpha!==0},false);if(n)return true;var a=u.getComputedStyle(t);if(cg(r)[0]!==cg(a)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,c){return s||r.getPropertyValue(c)!==a.getPropertyValue(c)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i}var dg=oR;function sR(e){var t=Zm(e),r=zl(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var fg=sR;function lR(e){var t=fg(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),n;return t.forEach(function(a,i){if(i!==0){var o=t[i-1],s=t[i];n=o.every(function(c,f){return c===s[f]})||r.includes(e);}}),n?t[0]:(Tt.set("bgColor","elmPartiallyObscuring"),null)}return Tt.set("bgColor","outsideViewport"),null}var uR=lR,cR=["hue","saturation","color","luminosity"],mg={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var n=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(n-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=fR(t,e,r),a=Cu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=Cu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=Cu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=dR(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new Ot(a,i,o,s);var c=Math.round(a/s),f=Math.round(i/s),p=Math.round(o/s);return new Ot(c,f,p,s)}function Cu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function dR(e,t,r){return Math.min(Math.max(t,e),r)}function fR(e,t,r){if(cR.includes(r))return mg[r](e,t);var n=new Ot;return ["r","g","b"].forEach(function(a){n[a]=mg[r](e[a],t[a]);}),n}function Tu(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new Ot(n,a,i,o)}function Ru(e){for(var t=zl(e).map(function(a){return a=Kp(a,e),a=mR(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return Tt.set("bgColor","bgOverlap"),null;if(r!==0&&!pR(n,t[0]))return Tt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function mR(e){var t=e.indexOf(d.body),r=e,n=Fn(u.getComputedStyle(d.documentElement));if(t>1&&n.alpha===0&&!So(d.documentElement)){t>1&&(r.splice(t,1),r.push(d.body));var a=r.indexOf(d.documentElement);a>0&&(r.splice(a,1),r.push(d.documentElement));}return r}function pR(e,t){if(e===t)return true;if(e===null||t===null||e.length!==t.length)return false;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return false;return true}var hR=.54,Go=.5,gR=1.5,pg=["top","right","bottom","left"];function Fu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=bR(e),i=Object.entries(a).map(function(o){var s=Ce(o,2),c=s[0],f=s[1],p=pg.filter(function(b){return f[b].length!==0}).length;return {colorStr:c,sides:f,edgeCount:p}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(vR).filter(function(o){return o!==null})}function bR(e){var t={},r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value,o=i.colorStr,s=i.pixels;(a=t[o])!==null&&a!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var c=t[o],f=Ce(s,2),p=f[0],b=f[1];p>Go?c.right.push(p):-p>Go&&c.left.push(-p),b>Go?c.bottom.push(b):-b>Go&&c.top.push(-b);}}catch(D){r.e(D);}finally{r.f();}return t}function vR(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new Ot;a.parseString(t);var i=0,o=true;return pg.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(c){return c>gR}));}),o||(a.alpha=1-Math.pow(hR,i)),a}function hg(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return [];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)pt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){pt(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o);}else if(r[0]===",")pt(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return n.forEach(function(s){var c=s.pixels;c.length===2&&c.push(0);}),n}function Uo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=u.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var c=o.getPropertyValue("font-size"),f=parseInt(c);pt(isNaN(f)===false,"Unable to determine font-size value ".concat(c));var p=[],b=hg(s),D=dt(b),L;try{for(D.s();!(L=D.n()).done;){var B=L.value,G=B.colorStr||o.getPropertyValue("color"),K=Ce(B.pixels,3),Y=K[0],Z=K[1],ie=K[2],oe=ie===void 0?0:ie;if(!(n&&oe>=f*n)){if(r&&oe<f*r){p.push({colorStr:G,pixels:B.pixels});continue}if(p.length>0){var ue=Fu(p,{ignoreEdgeCount:a});if(ue===null)return null;i.push.apply(i,le(ue)),p.splice(0,p.length);}var fe=yR({colorStr:G,offsetX:Y,offsetY:Z,blurRadius:oe,fontSize:f});i.push(fe);}}}catch(we){D.e(we);}finally{D.f();}if(p.length>0){var ge=Fu(p,{ignoreEdgeCount:a});if(ge===null)return null;i.push.apply(i,le(ge));}return i}function yR(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new Ot(0,0,0,0);var o=new Ot;return o.parseString(t),o.alpha*=wR(a,i),o}function wR(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Iu(e,t){var r=nt(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??Ru(e),t.forEach(function(i){var o,s=nt(i),c=_R(s),f=s._stackingOrder.filter(function(D){var L=D.vNode;return !!L});f.forEach(function(D,L){var B,G=D.vNode,K=(B=f[L-1])===null||B===void 0?void 0:B.vNode,Y=bg(a,G,K);L===0&&!a.get(G)&&n.unshift(Y),a.set(G,Y);});var p=(o=f[f.length-1])===null||o===void 0?void 0:o.vNode,b=bg(a,s,p);f.length||n.unshift(b),b.bgColor=c;}),r._stackingContext=n,n}function ii(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(xR,gg()),a=Vr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function xR(e,t){var r;e instanceof Ot?r=e:r=ii(e).color;var n=ii(t).color;return Vr(n,r,t.blendMode)}function gg(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Ot(0,0,0,0),blendMode:AR(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function AR(e){return e||void 0}function bg(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:gg(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function _R(e){var t=new Ot;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function oi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=nt(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,le(a.bgElms)),Tt.set("bgColor",a.incompleteData),a.bgColor;var i=ER(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Tt.get("bgColor")},i}function ER(e,t,r){var n,a,i=Ru(e);if(!i)return null;var o=jl(e),s=(n=Uo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(Tu)}]);for(var c=0;c<i.length;c++){var f=i[c],p=u.getComputedStyle(f);if(So(f,p))return t.push(f),null;var b=void 0;try{if(b=Fn(p),b.alpha===0)continue}catch(G){if(G&&Tt.get("colorParse"))return null;throw G}if(p.getPropertyValue("display")!=="inline"&&!vg(f,o))return t.push(f),Tt.set("bgColor","elmPartiallyObscured"),null;if(t.push(f),b.alpha===1)break}var D=Iu(e,i);s=D.map(ii).concat(s);var L=DR(e,i.includes(d.body));if((a=s).unshift.apply(a,le(L)),s.length===0)return new Ot(255,255,255,1);var B=s.reduce(function(G,K){return Vr(K.color,G.color instanceof Ot?G.color:G,K.blendMode)});return Vr(B.color instanceof Ot?B.color:B,new Ot(255,255,255,1))}function vg(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=u.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),c=parseInt(i.getPropertyValue("padding-right"),10),f=parseInt(i.getPropertyValue("padding-top"),10),p=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof u.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+c,a=r.top+e.scrollHeight+f+p),t.every(function(b){return b.top>=r.top&&b.bottom<=a&&b.left>=r.left&&b.right<=n})}function yg(e){return e||void 0}function DR(e,t){var r=[];if(!t){var n=d.documentElement,a=d.body,i=u.getComputedStyle(n),o=u.getComputedStyle(a),s=Fn(i),c=Fn(o),f=c.alpha!==0&&vg(a,e.getBoundingClientRect());(c.alpha!==0&&s.alpha===0||f&&c.alpha!==1)&&r.unshift({color:c,blendMode:yg(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!f||f&&c.alpha!==1)&&r.unshift({color:s,blendMode:yg(i.getPropertyValue("mix-blend-mode"))});}return r}function kR(e,t){if(!t||!e)return null;t.alpha<1&&(t=Vr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var ra=kR;function Wo(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=u.getComputedStyle(e),i=[function(){return CR(a,n)},function(){return SR(a)},function(){return Uo(e,{minRatio:0})}],o=[];try{for(var s=0,c=i;s<c.length;s++){var f=c[s],p=f();if(p&&(o=o.concat(p),p.alpha===1))break}}catch(G){if(G&&Tt.get("colorParse"))return null;throw G}var b=o.reduce(function(G,K){return Vr(G,K)});if(r??(r=oi(e,[])),r===null){var D=Tt.get("bgColor");return Tt.set("fgColor",D),null}var L=Iu(e),B=wg(L,e);return Vr(TR(b,B,L),new Ot(255,255,255,1))}function SR(e){return new Ot().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function CR(e,t){var r=t.textStrokeEmMin,n=r===void 0?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(a===0)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new Ot().parseString(s)}function TR(e,t,r){for(;t;){var n;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var a=((n=t.ancestor)===null||n===void 0?void 0:n.descendants)||r;t.opacity!==1&&(a=a.slice(0,a.indexOf(t)));var i=a.map(ii);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,c){return Vr(c.color,s.color instanceof Ot?s.color:s)},{color:new Ot(0,0,0,0),blendMode:"normal"});e=Vr(e,o),t=t.ancestor;}return e}function wg(e,t){var r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if(((a=i.vNode)===null||a===void 0?void 0:a.actualNode)===t)return i;var o=wg(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function RR(e,t,r,n){var a=ra(e,t),i=n&&Math.ceil(r*72)/96<14||!n&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:a>o,contrastRatio:a,expectedContrastRatio:o}}var FR=RR,xg={};Ar(xg,{isAriaCombobox:function(){return Sp},isAriaListbox:function(){return kp},isAriaRange:function(){return Cp},isAriaTextbox:function(){return Dp},isDisabled:function(){return si},isNativeSelect:function(){return Ep},isNativeTextbox:function(){return _p}});var IR=["fieldset","button","select","input","textarea"];function Ag(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return IR.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=Ag(e.parent):t=false,e._isDisabled=t,t}var si=Ag;function LR(e,t,r){var n=Ga.accessibleTextVirtual(r),a=Ga.sanitize(Ga.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:pl.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var PR=LR;function _g(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return false;var a=r.every(function(i){var o=e[i],s=t[i];return ye(o)!==ye(s)?false:ye(o)==="object"||ye(s)==="object"?_g(o,s):o===s});return a}function MR(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],n={},a=function(s){var c,f=t[s],p=f.data,b=p.name,D=p.urlProps;if(n[b])return 1;var L=t.filter(function(G,K){var Y=G.data;return Y.name===b&&K!==s}),B=L.every(function(G){var K=G.data;return _g(K.urlProps,D)});L.length&&!B&&(f.result=void 0),f.relatedNodes=[],(c=f.relatedNodes).push.apply(c,le(L.map(function(G){return G.relatedNodes[0]}))),n[b]=L,r.push(f);},i=0;i<t.length;i++)a(i);return r}var OR=MR;function NR(e){var t=rt(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Ce(i,2),s=o[1];return r?s&&!n?parseInt(s,10):isNaN(a)||a<1?s?parseInt(s,10):2:a||-1:-1}function qR(){var e=et.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Hr(m._tree[0],t,Mt);return e=r.map(function(n){return {ancestry:[eo(n.actualNode)],level:NR(n)}}),this.data({headingOrder:e}),et.set("headingOrder",r),true}var BR=qR;function HR(e){var t=$R(e);return e.forEach(function(r){r.result=VR(r,t);}),e}function VR(e,t){var r,n,a,i,o=Eg(t,e.node.ancestry),s=(r=(n=t[o])===null||n===void 0?void 0:n.level)!==null&&r!==void 0?r:-1,c=(a=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&a!==void 0?a:-1;if(o===0)return true;if(s!==-1)return s-c<=1}function $R(e){e=le(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(jR,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function jR(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=Dg(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return GR(s,a)}),o=zR(e,a);return o===-1?e.push.apply(e,le(i)):e.splice.apply(e,[o,0].concat(le(i))),e}function zR(e,t){for(;t.length;){var r=Eg(e,t);if(r!==-1)return r;t=Dg(t,1);}return -1}function Eg(e,t){return e.findIndex(function(r){return du(r.ancestry,t)})}function GR(e,t){var r=t.concat(e.ancestry);return te({},e,{ancestry:r})}function Dg(e,t){return e.slice(0,e.length-t)}function UR(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Xr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Xr.bind(null,n),o=bo(r),s=WR(r,o),c=XR(r,o),f=c.fullyObscuringElms,p=c.partialObscuringElms;if(s.length&&(f.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(li(s));return}if(f.length)return this.relatedNodes(li(f)),this.data({messageKey:"obscured"}),true;var b=xr(r)?false:void 0;if(!i(a))return this.data(te({minSize:n},Xo(a))),b;var D=YR(p);if(!D.length)return this.data(te({minSize:n},Xo(a))),true;var L=KR(r,D,n);if(!L){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(L)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(li(s));return}var B=D.every(xr),G="partiallyObscured".concat(B?"":"NonTabbable");return this.data(te({messageKey:G,minSize:n},Xo(L))),this.relatedNodes(li(D)),B?b:void 0}return this.data(te({minSize:n},Xo(L||a))),this.relatedNodes(li(D)),true}function WR(e,t){return t.filter(function(r){return !kg(r,e)&&Sg(e,r)})}function XR(e,t){var r=[],n=[],a=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!Sg(e,o)&&wl(e,o)&&ZR(o)!=="none"&&(kg(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function KR(e,t,r){var n=e.boundingClientRect,a=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=xl(n,a);}catch{return null}return JR(i,r)}function JR(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}function YR(e){return e.filter(function(t){return Tr(t)==="widget"&&$t(t)})}function kg(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function ZR(e){return e.getComputedStylePropertyValue("pointer-events")}function Xo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Sg(e,t){return Wr(e,t)&&!xr(t)}function li(e){return e.map(function(t){var r=t.actualNode;return r})}var QR=.05;function e5(e,t,r){var n=t?.minOffset||24;if(Xr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=dt(bo(r,n)),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(!(Tr(c)!=="widget"||!$t(c))){var f=null;try{f=Nm(r,c,n/2);}catch(p){if(p.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw p}f!==null&&(f=t5(f)*2,!(f+QR>=n)&&(i=Math.min(i,f),a.push(c)));}}}catch(p){o.e(p);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(p){var b=p.actualNode;return b})),!a.some(xr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),xr(r)?false:void 0}function t5(e){return Math.round(e*10)/10}function r5(e,t,r){var n=t||{},a=n.scaleMinimum,i=a===void 0?2:a,o=n.lowerBound,s=o===void 0?false:o,c=r.attr("content")||"";if(!c)return true;var f=c.split(/[;,]/).reduce(function(b,D){var L=D.trim();if(!L)return b;var B=L.split("="),G=Ce(B,2),K=G[0],Y=G[1];if(!K||!Y)return b;var Z=K.toLowerCase().trim(),ie=Y.toLowerCase().trim();return Z==="maximum-scale"&&ie==="yes"&&(ie=1),Z==="maximum-scale"&&parseFloat(ie)<0||(b[Z]=ie),b},{});if(s&&f["maximum-scale"]&&parseFloat(f["maximum-scale"])<s)return true;if(!s&&f["user-scalable"]==="no")return this.data("user-scalable=no"),false;var p=parseFloat(f["user-scalable"]);return !s&&f["user-scalable"]&&(p||p===0)&&p>-1&&p<1?(this.data("user-scalable"),false):f["maximum-scale"]&&parseFloat(f["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var n5=r5;function a5(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},c=s.degreeThreshold,f=c===void 0?0:c;if(!o||!o.length)return;for(var p=false,b=[],D=K(o),L=function(){var De=G[B],Te=D[De],Pe=Te.root,je=Te.rules,Ye=je.filter(Y);if(!Ye.length)return 1;Ye.forEach(function(qe){var Xe=qe.cssRules;Array.from(Xe).forEach(function(ke){var $e=Z(ke);if($e&&ke.selectorText.toUpperCase()!=="HTML"){var ce=Array.from(Pe.querySelectorAll(ke.selectorText))||[];b=b.concat(ce);}p=p||$e;});});},B=0,G=Object.keys(D);B<G.length;B++)L();if(!p)return true;return b.length&&this.relatedNodes(b),false;function K(be){return be.reduce(function(De,Te){var Pe=Te.sheet,je=Te.root,Ye=Te.shadowId,qe=Ye||"topDocument";if(De[qe]||(De[qe]={root:je,rules:[]}),!Pe||!Pe.cssRules)return De;var Xe=Array.from(Pe.cssRules);return De[qe].rules=De[qe].rules.concat(Xe),De},{})}function Y(be){var De=be.type,Te=be.cssText;return De!==4?false:/orientation:\s*landscape/i.test(Te)||/orientation:\s*portrait/i.test(Te)}function Z(be){var De=be.selectorText,Te=be.style;if(!De||Te.length<=0)return false;var Pe=Te.transform||Te.webkitTransform||Te.msTransform||false;if(!Pe&&!Te.rotate)return false;var je=ie(Pe),Ye=oe("rotate",Te.rotate),qe=je+Ye;return !qe||(qe=Math.abs(qe),Math.abs(qe-180)%180<=f)?false:Math.abs(qe-90)%90<=f}function ie(be){if(!be)return 0;var De=be.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!De)return 0;var Te=Ce(De,3),Pe=Te[1],je=Te[2];return oe(Pe,je)}function oe(be,De){switch(be){case "rotate":case "rotateZ":return ue(De);case "rotate3d":var Te=De.split(",").map(function(qe){return qe.trim()}),Pe=Ce(Te,4),je=Pe[2],Ye=Pe[3];return parseInt(je)===0?void 0:ue(Ye);case "matrix":case "matrix3d":return fe(De);default:return 0}}function ue(be){var De=be.match(/(deg|grad|rad|turn)/)||[],Te=Ce(De,1),Pe=Te[0];if(!Pe)return 0;var je=parseFloat(be.replace(Pe,""));switch(Pe){case "rad":return ge(je);case "grad":return we(je);case "turn":return Le(je);default:return parseInt(je)}}function fe(be){var De=be.split(",");if(De.length<=6){var Te=Ce(De,2),Pe=Te[0],je=Te[1],Ye=Math.atan2(parseFloat(je),parseFloat(Pe));return ge(Ye)}var qe=parseFloat(De[8]),Xe=Math.asin(qe),ke=Math.cos(Xe),$e=Math.acos(parseFloat(De[0])/ke);return ge($e)}function ge(be){return Math.round(be*(180/Math.PI))}function we(be){return be=be%400,be<0&&(be+=400),Math.round(be/400*360)}function Le(be){return Math.round(360/(1/be))}}var i5=a5;function o5(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var n=t.allowedDuration,a=n===void 0?3:n,i=o(e);if(i<=a)return true;if(!r)return false;return true;function o(f){if(!f.currentSrc)return 0;var p=s(f.currentSrc);return p?p.length===1?Math.abs(f.duration-p[0]):Math.abs(p[1]-p[0]):Math.abs(f.duration-(f.currentTime||0))}function s(f){var p=f.match(/#t=(.*)/);if(p){var b=Ce(p,2),D=b[1],L=D.split(",");return L.map(function(B){return /:/.test(B)?c(B):parseFloat(B)})}}function c(f){for(var p=f.split(":"),b=0,D=1;p.length>0;)b+=D*parseInt(p.pop(),10),D*=60;return parseFloat(b)}}var s5=o5;function l5(e,t){return t.isViolation?false:void 0}var u5=l5,Cg=" > ";function c5(e){var t={};return e.filter(function(r){var n=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(n){var a=r.node.ancestry.flat(1/0).join(Cg);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(Cg);return t[i]&&(t[i].result=true),false})}var d5=c5;function f5(e,t,r){var n=fr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var m5=f5;function p5(e,t,r){var n=r.children;if(!n||!n.length)return false;for(var a=false,i=false,o,s=0;s<n.length;s++){if(o=n[s].props.nodeName.toUpperCase(),o==="DT"&&(a=true),a&&o==="DD")return false;o==="DD"&&(i=true);}return a||i}var h5=p5;function g5(e,t,r){var n=false,a=false,i=true,o=[],s=[],c=[];return r.children.forEach(function(f){var p=f.actualNode;if(p.nodeType===3&&p.nodeValue.trim()!==""){n=true;return}if(!(p.nodeType!==1||!Mt(p))){i=false;var b=p.nodeName.toUpperCase()==="LI",D=rt(f),L=D==="listitem";!b&&!L&&o.push(p),b&&!L&&(s.push(p),c.includes(D)||c.push(D)),L&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:c.join(", ")}),true)}var b5=g5;function v5(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,c){var f=c.actualNode;return f.nodeName.toUpperCase()==="DIV"&&rt(f)===null?s.concat(c.children):s.concat(c)},[]),o=i.reduce(function(s,c){var f=c.actualNode,p=f.nodeName.toUpperCase();if(f.nodeType===1&&Mt(f)){var b=st(f);(p!=="DT"&&p!=="DD"||b)&&(n.includes(b)||s.badNodes.push(f));}else f.nodeType===3&&f.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function y5(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=st(n);return ["presentation","none","list"].includes(i)?true:i&&Xa(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function w5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var i=Tg(r.children);i.length;){var o,s=i.shift(),c=s.vChild,f=s.nested;if(t.divGroups&&!f&&A5(c)){if(!c.children)return;var p=Tg(c.children,true);i.push.apply(i,le(p));continue}var b=x5(c,f,t);b&&(a.includes(b)||a.push(b),(c==null||(o=c.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&n.push(c.actualNode));}return a.length===0?false:(this.data({values:a.join(", ")}),this.relatedNodes(n),true)}}function x5(e,t,r){var n=r.validRoles,a=n===void 0?[]:n,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,c=s.nodeName,f=s.nodeType,p=s.nodeValue,b=t?"div > ":"";if(f===3&&p.trim()!=="")return b+"#text";if(f!==1||!Mt(e))return false;var D=st(e);return D?a.includes(D)?false:b+"[role=".concat(D,"]"):o.includes(c)?false:b+c}function A5(e){return e.props.nodeName==="div"&&st(e)===null}function Tg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function _5(e){var t=Kt(e),r=t.nodeName.toUpperCase(),n=st(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Kt(t),r=t.nodeName.toUpperCase(),n=st(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var E5=_5;function D5(e,t,r){var n=Ln(r.attr("lang")),a=Ln(r.attr("xml:lang"));return n===a}var k5=D5;function S5(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Ln(i),s=t.value?!t.value.map(Ln).includes(o):!Ho(o);(o!==""&&s||i!==""&&!Ke(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!Ul(r)?false:(this.data(n),true)}var C5=S5;function Lu(e){return (e||"").trim()!==""}function T5(e,t,r){var n=typeof d<"u"?La(d):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Lu(r.attr("xml:lang"))&&!Lu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return Lu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var R5=T5;function F5(e,t,r){var n=rt(e),a=Jt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var I5=F5;function L5(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var P5=L5;function M5(e,t,r){var n=Eo(r),a=xo(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var O5=M5;function N5(e){var t=qt(e.getAttribute("id")),r=e.parentNode,n=Qt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !fn(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&a.indexOf(r)===-1&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter(function(s){return Mt(s)});if(i.length>1)return;var o=Mr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var q5=N5;function B5(e,t){var r=Rg(t),n=Rg(e);return !r||!n?false:r.includes(n)}function Rg(e){var t=Ya(e,{emoji:true,nonBmp:true,punctuations:true});return Ke(t)}function H5(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=Cn(e).toLowerCase(),s=Ke(hn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!($l(o)<1||$l(s)<1))return B5(s,o)}var V5=H5;function $5(e,t,r){try{var n=lr(r,"label");if(n){var a=Ke(Jt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var j5=$5;function z5(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Qt(e),a=qt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!Mt(i)){var o;try{o=Jt(r).trim();}catch{return}var s=o==="";return s}}return false}var G5=z5;function U5(e,t,r){var n=Eo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Mr(e,"aria-describedby");a=i.map(function(o){return o?Cn(o):""}).join("");}return Ke(a)===Ke(n)}var W5=U5;function X5(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Qt(r.actualNode),i=qt(r.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(ur(s)){var c=Ke(Cn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:c}),!!c}else return !0})}catch{return}}}var K5=X5;function J5(e,t,r){if(["none","presentation"].includes(rt(r)))return false;var n=lr(r,t.parentSelector);if(!n)return false;var a=Nr(n,true).toLowerCase();return a===""?false:a===Jt(r).toLowerCase()}var Y5=J5;function Z5(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var Q5=Z5;function eF(e,t,r){var n=Br(r.attr("tabindex"));return n===null||n<=0}var tF=eF;function rF(e,t,r){if(r.children)try{var n=Fg(r);if(!n.length)return !0;var a=n.filter(nF);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function Fg(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){Tr(r)==="widget"&&$t(r)?t.push(r):t.push.apply(t,le(Fg(r)));}),t}function nF(e){var t=Br(e.attr("tabindex"));return t!==null&&t<0}function aF(e){var t=ta("landmark"),r=Kt(e),n=rt(e);for(this.data({role:n});r;){var a=st(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Or(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Kt(r);}return true}var iF=aF;function oF(e,t,r){if(r.children)try{return !r.children.some(function(n){return Ig(n)})}catch{return}}function Ig(e){if(xr(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return Ig(t)})}function sF(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return !n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Qa()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),c=parseInt(o.getComputedStylePropertyValue("width")),f=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(c===0||f===0)&&s==="none"})?void 0:false}var lF=sF;function uF(e,t,r){if(!xr(r))return false;try{return !Jt(r)}catch{return}}var cF=uF;function dF(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Qa()){this.relatedNodes(n);return}return true}var fF=dF;function mF(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return xr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=lr(r.parent,"[contenteditable]");return o?n(o):false}}var pF=mF;function hF(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Qa()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),c=parseInt(o.getComputedStylePropertyValue("width")),f=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(c===0||f===0)&&s==="none"})?void 0:false}var gF=hF;function bF(e,t,r){var n=r.tabbableElements;if(!n)return false;var a=n.filter(function(i){return i!==r});return a.length>0}var vF=bF;function yF(e,t,r){return fn(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var wF=yF;function xF(e){var t={};return e.filter(function(r){if(!r.data)return false;var n=r.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(r.relatedNodes[0]),false):(t[n]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var AF=xF;function _F(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(et.get(n)){this.data("ignored");return}et.set(n,true);var a=Hr(m._tree[0],t.selector,function(i){return Mt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Kn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return rt(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var EF=_F;function DF(e){return e.filter(function(t){return t.data!=="ignored"})}var kF=DF;function SF(e,t,r){return Ka(r,t.matcher)}var CF=SF;function TF(e,t,r){try{return Ke(hn(r))!==""}catch{return}}function RF(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Qa())return true;var n=Hr(r,t.selector,function(a){return Mt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var FF=RF;function IF(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var LF=IF;function PF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var n=r.attr(t.attribute),a=!Ke(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var MF=PF;function OF(e,t,r){var n=r.attr("autocomplete")||"";return qp(n,t)}var NF=OF;function qF(e,t,r){if(r.props.nodeName!=="input")return true;var n=["text","search","number","tel"],a=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};ye(t)==="object"&&Object.keys(t).forEach(function(b){i[b]||(i[b]=[]),i[b]=i[b].concat(t[b]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(b){return b.toLowerCase()}),c=s[s.length-1];if(Rn.stateTerms.includes(c))return true;var f=i[c],p=r.hasAttr("type")?Ke(r.attr("type")).toLowerCase():"text";return p=Bo().includes(p)?p:"text",typeof f>"u"?p==="text":f.includes(p)}var BF=qF,HF=["block","list-item","table","flex","grid","inline-block"];function VF(e){if(Lg(e))return false;for(var t=Kt(e);t&&t.nodeType===1&&!Lg(t);)t=Kt(t);if(t){if(this.relatedNodes([t]),dg(e,t))return true;if($F(e)){this.data({messageKey:"pseudoContent"});return}return false}}function Lg(e){var t=u.getComputedStyle(e).getPropertyValue("display");return HF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function $F(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=u.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function Pg(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var jF=["block","list-item","table","flex","grid","inline-block"];function Mg(e){var t=u.getComputedStyle(e).getPropertyValue("display");return jF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function zF(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Mg(e))return false;for(var a=Kt(e);a&&a.nodeType===1&&!Mg(a);)a=Kt(a);if(a){this.relatedNodes([a]);var i=Wo(e),o=Wo(a),s=oi(e),c=oi(a),f=i&&o?Pg(i,o):void 0;if(f&&(f=Math.floor(f*100)/100),f&&f>=r)return true;var p=s&&c?Pg(s,c):void 0;if(p&&(p=Math.floor(p*100)/100),p&&p>=r)return true;if(!p){var b,D=(b=Tt.get("bgColor"))!==null&&b!==void 0?b:"bgContrast";this.data({messageKey:D}),Tt.clear();return}if(f)return n&&f===1&&p===1?true:f===1&&p>1?(this.data({messageKey:"bgContrast",contrastRatio:p,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:c?c.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:f,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var GF=zF;function UF(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,c=t.largeTextPt,f=t.contrastRatio,p=t.shadowOutlineEmMax,b=t.pseudoSizeThreshold;if(!ur(e))return this.data({messageKey:"hidden"}),true;var D=Nr(r,false,true);if(n&&XF(D)){this.data({messageKey:"nonBmp"});return}var L=u.getComputedStyle(e),B=parseFloat(L.getPropertyValue("font-size")),G=L.getPropertyValue("font-weight"),K=parseFloat(G)>=o||G==="bold",Y=Math.ceil(B*72)/96,Z=K&&Y<s||!K&&Y<c,ie=Z?f.normal:f.large,oe=ie.expected,ue=ie.minThreshold,fe=ie.maxThreshold,ge=WF(r,{ignorePseudo:i,pseudoSizeThreshold:b});if(ge){this.data({fontSize:"".concat((B*72/96).toFixed(1),"pt (").concat(B,"px)"),fontWeight:K?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:oe+":1"}),this.relatedNodes(ge.actualNode);return}var we=Uo(e,{minRatio:.001,maxRatio:p});if(we===null){this.data({messageKey:"complexTextShadows"});return}var Le=[],be=oi(e,Le,p),De=Wo(e,false,be,t),Te=null,Pe=null,je=null;if(we.length===0)Te=ra(be,De);else if(De&&be){je=[].concat(le(we),[be]).reduce(Tu);var Ye=ra(be,De),qe=ra(be,je),Xe=ra(je,De);Te=Math.max(Ye,qe,Xe),Te!==Ye&&(Pe=qe>Xe?"shadowOnBgColor":"fgOnShadowColor");}var ke=Te>oe;if(typeof ue=="number"&&(typeof Te!="number"||Te<ue)||typeof fe=="number"&&(typeof Te!="number"||Te>fe))return this.data({contrastRatio:Te}),true;var $e=Math.floor(Te*100)/100,ce,Me;be===null?Tt.get("colorParse")?(ce="colorParse",Me=Tt.get("colorParse")):ce=Tt.get("bgColor"):ke||(ce=Pe),De===null&&Tt.get("colorParse")&&(ce="colorParse",Me=Tt.get("colorParse"));var _e=$e===1,Oe=D.length===1;if(_e?ce=Tt.set("bgColor","equalRatio"):!ke&&Oe&&!a&&(ce="shortTextContent"),this.data({fgColor:De?De.toHexString():void 0,bgColor:be?be.toHexString():void 0,contrastRatio:$e,fontSize:"".concat((B*72/96).toFixed(1),"pt (").concat(B,"px)"),fontWeight:K?"bold":"normal",messageKey:ce,expectedContrastRatio:oe+":1",shadowColor:je?je.toHexString():void 0,colorParse:Me}),De===null||be===null||_e||Oe&&!a&&!ke){ce=null,Tt.clear(),this.relatedNodes(Le);return}return ke||this.relatedNodes(Le),ke}function WF(e,t){var r=t.pseudoSizeThreshold,n=r===void 0?.25:r,a=t.ignorePseudo,i=a===void 0?false:a;if(!i){var o=e.boundingClientRect,s=o.width*o.height*n;do{var c=Og(e.actualNode,":before"),f=Og(e.actualNode,":after");if(c+f>s)return e}while(e=e.parent)}}var Og=Ct(function(t,r){var n=u.getComputedStyle(t,r),a=function(c,f){return n.getPropertyValue(c)===f};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||Fn(n).alpha===0&&a("background-image","none"))return 0;var i=Ng(n.getPropertyValue("width")),o=Ng(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function XF(e){var t={nonBmp:true},r=Hl(e,t),n=Ke(Ya(e,t))==="";return r&&n}function Ng(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Ce(r,3),a=n[1],i=a===void 0?"":a,o=n[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var KF={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},JF={alert:true,alertdialog:true,application:true,article:true,banner:false,complementary:true,contentinfo:true,dialog:true,form:true,log:true,main:true,navigation:true,region:true,search:false,status:true,tabpanel:true};function YF(e){var t=e.nodeName.toUpperCase();return KF[t]||false}function ZF(e,t){var r=st(e);return r&&(JF[r]||t.roles.includes(r))||false}function QF(e,t){return ZF(e,t)||YF(e)}var eI=QF;function tI(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=Rl(n);return a&&this.data(n),a}var rI=tI;function nI(e,t,r){var n=rt(r,{noImplicit:true});this.data(n);var a,i;try{a=Ke(ql(r)).toLowerCase(),i=Ke(Jt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var aI=nI;function iI(e,t,r){return $t(r)}var oI=iI;function sI(e,t,r){var n=nr(r.attr("role")),a=n.every(function(i){return !Xa(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var lI=sI;function uI(e,t,r){var n=st(r);if(n===null)return false;var a=Tr(n);return a==="widget"||a==="composite"}var cI=uI;function dI(e,t,r){var n=mn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var fI=dI;function mI(e,t){var r=Or(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function pI(e,t,r){var n=nr(r.attr("role"));return n.length<=1?false:mI(r,n)?void 0:true}var hI=pI;function gI(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=ht.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function bI(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Ke(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ke(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function vI(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Ke(Jt(r))!==""}catch{return}}function yI(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],c={"aria-controls":function(){var p=["false",null].includes(r.attr("aria-haspopup"))===false;return p&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&p===false},"aria-current":function(p){p||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(p){p||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(p){p||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(f){if(!(s.includes(f)||t.includes(f)||!o.test(f))){var p,b=r.attr(f);try{p=tg(r,f);}catch{n="".concat(f,'="').concat(b,'"'),a="idrefs";return}(!c[f]||c[f](p))&&!p&&(b===""&&!wI(f)?(n=f,a="empty"):i.push("".concat(f,'="').concat(b,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function wI(e){var t;return ((t=ht.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function xI(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&a.test(i)&&!zo(i)&&n.push(i);}),n.length?(this.data(n),false):true}var AI=xI;function _I(e,t,r){var n=r.attrNames.filter(function(a){var i=ht.ariaAttrs[a];if(!zo(a))return false;var o=i.unsupported;return ye(o)!=="object"?!!o:!Ka(e,o.exceptions)});return n.length?(this.data(n),true):false}var EI=_I;function DI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=rt(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var kI=DI;function qg(e,t,r,n){var a=st(e);if(r||(r=Eu(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=rt(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(a)&&r.push(a),r=r.filter(function(c){return c!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function SI(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=qt(e.getAttribute("id")),a=Qt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function CI(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=qg(r,n);if(!a)return true;var i=SI(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=qg(nt(i[o]),n,a,true),!a)return true}return this.data(a),false}var TI=CI;function RI(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=st(r,{dpub:true}),i=Du(a);if(i===null)return true;var o=FI(r,i),s=o.filter(function(f){var p=f.role,b=f.vNode;return b.props.nodeType===1&&!i.includes(p)});if(s.length){this.relatedNodes(s.map(function(f){var p=f.vNode;return p}));var c=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:c,values:s.map(function(f){var p=f.vNode,b=f.attr;return PI(p,b)}).filter(function(f,p,b){return b.indexOf(f)===p}).join(", ")}),false}if(II(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(n.includes(a)&&!o.some(MI)))return false}function FI(e,t){for(var r,n=[],a=Ja(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!Mt(r))return 1;var s=rt(r,{noPresentational:true}),c=LI(r),f=!!c||$t(r);if(!s&&!f||["group","rowgroup"].includes(s)&&t.some(function(b){return b===s}))a.push.apply(a,le(r.children));else if(s||f){var p=c||"tabindex";n.push({role:s,attr:p,vNode:r});}};r=a.shift();)i();return n}function II(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function LI(e){return mn().find(function(t){return e.hasAttr(t)})}function PI(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=st(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function MI(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Za(t,false,true)}function OI(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=st(n),i=n.attrNames,o=eg(a);if(Array.isArray(r[a])&&(o=ri(r[a],o)),!a||!i.length||!o.length||NI(n,a)||BI(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=pn(n),c=o.filter(function(f){return !n.attr(f)&&!qI(s,f)});return c.length?(this.data(c),false):true}function NI(e,t){return t==="separator"&&!$t(e)}function qI(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function BI(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function HI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t?.elementsAllowedAriaLabel||[],a=r.props.nodeName,i=rt(r,{chromium:true,fallback:true}),o=VI(r,i,a,n),s=o.filter(function(p){return r.attrNames.includes(p)?Ke(r.attr(p))!=="":false});if(s.length===0)return false;var c=i!==null?"hasRole":"noRole";c+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:a,messageKey:c,prohibited:s});var f=hn(r,{subtreeDescendant:true});if(Ke(f)==="")return true}function VI(e,t,r,n){var a=ht.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||Bg(e)==="widget"?[]:["aria-label","aria-labelledby"]}var Bg=Ct(function(t){if(t){var r=rt(t,{noPresentational:true,chromium:true});return r?Tr(r):Bg(t.parent)}});function $I(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var jI=$I;function zI(e,t,r){return r.attr("aria-hidden")!=="true"}var GI=zI;function UI(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(c){if(c.trim()==="")return ht.ariaAttrs["aria-errormessage"].allowEmpty;var f=nr(c);if(f.length>1)return this.data({messageKey:"unsupported",values:f}),false;var p;try{p=c&&Mr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:f});return}if(p){if(!Mt(p))return this.data({messageKey:"hidden",values:f}),false;var b=nr(r.attr("aria-describedby"));return st(p)==="alert"||p.getAttribute("aria-live")==="assertive"||p.getAttribute("aria-live")==="polite"||f.some(function(D){return b.includes(D)})}}return t.indexOf(n)===-1&&a?(this.data(nr(n)),s.call(this,n)):true}function Hg(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=a==null||(r=a.filter)===null||r===void 0?void 0:r.call(a,function(p){return i.hasAttr(p)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=WI(i),c=s&&rt(s);if(!c||c==="treegrid")return true;var f="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:f,invalidAttrs:o,ownerRole:c}),false}function WI(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return lr(e,t)}}function Vg(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=KI(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=XI(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function XI(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function KI(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var $g={row:Hg,checkbox:Vg};function JI(e,t,r){var n=rt(r);return $g[n]?$g[n].call(this,e,t,r):true}function YI(e,t,r){return r.attr("aria-busy")==="true"}function ZI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(f){return f.toLowerCase()}).includes(s))return true;var c=Kh(r,a);return c.length?(this.data(c),Mt(r)?false:void 0):true}var QI=ZI;function e3(e,t,r){var n=[],a=rt(r),i=Uh(a);Array.isArray(t[a])&&(i=ri(t[a].concat(i)));var o=dt(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;zo(c)&&!i.includes(c)&&!t3(c,r.attr(c),r)&&n.push(c);}}catch(f){o.e(f);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(f){return f+'="'+r.attr(f)+'"'})),!(!a&&!uu(r)&&!$t(r)))return false}function t3(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function r3(e,t,r){var n=pn(r);if(!n.allowedAriaAttrs)return true;var a=st(r);if(a)return true;var i=n.allowedAriaAttrs,o=mn(),s=[],c=dt(r.attrNames),f;try{for(c.s();!(f=c.n()).done;){var p=f.value;o.includes(p)&&!i.includes(p)&&s.push(p);}}catch(D){c.e(D);}finally{c.f();}if(!s.length)return true;var b=s.length>1?"plural":"singular";return this.data({messageKey:b,nodeName:r.props.nodeName,values:s.map(function(D){return D+'="'+r.attr(D)+'"'}).join(", ")}),false}function n3(e,t,r){var n=nr(r.attr("role")).filter(function(a){return Tr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var a3=n3;function i3(e){var t=Ln(e.getAttribute("lang")),r=Ln(e.getAttribute("xml:lang"));return Ho(t)&&Ho(r)}var o3=i3;function s3(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var l3=s3;function u3(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!lr(t,"svg")}catch{return false}}var Pu=u3;function c3(e,t){return d3.every(function(r){return r(e,t)})}var d3=[function(e,t){return jg(t)},function(e,t){return f3(t)},function(e,t){return !Pu(e,t)},function(e,t){return $t(t)},function(e,t){return xr(t)||!m3(t)},function(e){return !Wl(e,{noLengthCompare:true,includeInlineBlock:true})}];function jg(e){return Tr(e)==="widget"}function f3(e){return e.props.nodeName!=="area"}var m3=Ct(function e(t){return t!=null&&t.parent?jg(t.parent)&&xr(t.parent)?true:e(t.parent):false});function p3(e,t){var r=rt(t);return ["treegrid","grid","table"].includes(r)}function h3(e,t){var r=t.parent;if(r.props.nodeName!=="details"||g3(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function g3(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function b3(e){return Jl(e)&&fo(e)}var v3=b3;function y3(e,t){return Jr(e,13)!==void 0&&_u(t)===false&&w3(t)}function w3(e){var t=e.boundingClientRect;return fr(e,"*").some(function(r){if(!Za(r,true,true))return false;var n=[];if(Do(r)){var a;(a=n).push.apply(a,le(x3(r)));}else n=[r.boundingClientRect];return n.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function x3(e){var t=d.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function A3(e,t){return Or(t,{chromiumRoles:true})!==null}var _3=A3;function E3(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),n=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(n)||[]).length>=2)return false;var a=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return a.length!==0}var D3=E3;function k3(e,t){var r=st(t);if(!r||["none","presentation"].includes(r))return true;var n=rp[r]||{},a=n.accessibleNameRequired;return !!(a||$t(t))}var zg=k3,S3=function(t,r){return [zg,C3].every(function(n){return n(t,r)})};function C3(e){var t;if(!(e!=null&&(t=e.ownerDocument)!==null&&t!==void 0&&t.createRange))return true;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),r.getClientRects().length===0}function T3(e,t){return t.props.nodeName!=="html"}var R3=T3;function F3(e,t){return !t.attr("role")}var I3=F3;function L3(e,t){var r=Br(t.attr("tabindex"));return r===null||r>=0}var P3=L3;function M3(e,t){var r=pn(t),n=r.namingMethods;return !(n&&n.length!==0||st(t)==="combobox"&&fr(t,'input:not([type="hidden"])').length||_u(t,{popupRoles:["listbox"]}))}var O3=M3;function N3(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var q3=N3;function B3(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var H3=B3;function V3(e,t){var r=rt(t);return r?!!ht.ariaRoles[r].childrenPresentational:false}var $3=V3;function j3(e){var t=Ke(e.innerText),r=st(e);return r&&r!=="link"||!t||!ur(e)?false:Wl(e)}var z3=j3;function G3(e){return !$o(e)&&!$t(e)}var U3=G3;function W3(e,t){return X3(t)&&Mt(t)}function X3(e){var t=ta("landmark"),r=rt(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Jt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function K3(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Kn(t,r)}var J3=K3;function Y3(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===false)return true;var r=t.attr("type").toLowerCase();return ["hidden","image","button","submit","reset"].includes(r)===false}var Z3=Y3;function Q3(e,t){var r=rt(e);if(!r)return false;var n=ta("widget"),a=n.includes(r);if(!a)return false;var i=Au();return !(!i.includes(r)||!Ke(Wa(t))&&!Ke(Ua(e))||!Ke(Nr(t)))}var eL=Q3;function tL(e,t){return ur(t)}function rL(e){return ur(e)}function nL(e,t,r){return r.initiator}var Gg=nL;function aL(e){return jp(e)}var iL=aL;function oL(e,t){var r=!!Jt(t);if(!r)return false;var n=rt(e);return !(n&&n!=="link")}var sL=oL;function lL(e,t){return !Pu(e,t)}var uL=lL;function cL(e,t){return rt(t)==="heading"}function dL(e,t){return Or(t,{chromium:true})!==null}var fL=dL;function mL(e){var t=e.getAttribute("title");return !!Ke(t)}var pL=mL;function hL(e,t,r){var n,a;return !r.initiator&&!r.focusable&&((n=r.size)===null||n===void 0?void 0:n.width)*((a=r.size)===null||a===void 0?void 0:a.height)>1}var gL=hL;function bL(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !jo(e)&&n.every(function(a){return !$t(a)})}var vL=bL;function yL(e){return jo(e)}var wL=yL;function xL(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !jo(e)&&n.some($t)}var AL=xL;function _L(e){return $o(e)}var EL=_L;function DL(e){if($o(e)){var t=Kr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var kL=DL;function SL(e,t){var r=t.props,n=r.nodeName,a=r.type;if(n==="option"||n==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(n==="input"&&i.includes(a)||si(t)||vo(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=u.getComputedStyle(e),c=parseInt(s.getPropertyValue("text-indent"),10);if(c){var f=e.getBoundingClientRect();if(f={top:f.top,bottom:f.bottom,left:f.left+c,right:f.right+c},!Yl(f,e))return false}return true}var p=Kn(t,"label");if(n==="label"||p){var b=p||e,D=p?nt(p):t;if(b.htmlFor){var L=Qt(b),B=L.getElementById(b.htmlFor),G=B&&nt(B);if(G&&si(G))return false}var K='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',Y=fr(D,K)[0];if(Y&&si(Y))return false}for(var Z=[],ie=t;ie;){if(ie.props.id){var oe=xu(ie).filter(function(De){return nr(De.getAttribute("aria-labelledby")||"").includes(ie.props.id)}).map(function(De){return nt(De)});Z.push.apply(Z,le(oe));}ie=ie.parent;}if(Z.length>0&&Z.every(si)||!RL(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var ue=d.createRange(),fe=t.children,ge=0;ge<fe.length;ge++){var we=fe[ge];we.actualNode.nodeType===3&&Ke(we.actualNode.nodeValue)!==""&&ue.selectNodeContents(we.actualNode);}var Le=Array.from(ue.getClientRects()),be=$a(t);return Le.some(function(De){var Te=Yl(De,e);if(!be.length)return Te;var Pe=be.some(function(je){return hl(De,je.boundingClientRect)});return Te&&Pe})}var CL=SL,TL={emoji:true,nonBmp:false,punctuations:true};function RL(e){var t=Nr(e,false,true);return t===""||Ya(t,TL)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Vl(r)})}function FL(e,t,r){return Gg(e,t,r)?!!e.querySelector("a[href]"):true}var IL=FL;function LL(e,t){var r=t.attr("autocomplete");if(!r||Ke(r)==="")return false;var n=t.props.nodeName;if(["textarea","input","select"].includes(n)===false)return false;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||a.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(n==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=st(t),c=Br(t.attr("tabindex"));if(c<0&&t.hasAttr("role")){var f=ht.ariaRoles[s];if(f===void 0||f.type!=="widget")return false}return !(c<0&&t.actualNode&&!ur(t)&&!Mt(t))}var PL=LL;function ML(e,t){var r=st(t);return !!Eu(r)}var OL=ML;function NL(e,t){var r=st(t,{dpub:true});return !!Du(r)}var qL=NL;function Ug(e){return e?e.getAttribute("aria-hidden")==="true"?false:Ug(Kt(e)):true}function BL(e){return Ug(Kt(e))}var HL=BL;function VL(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var $L=VL;function jL(e,t){return st(t,{dpub:true,fallback:true})!==null}var zL=jL;function GL(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var UL=GL,WL={"abstractrole-evaluate":a3,"accesskeys-after":AF,"accesskeys-evaluate":wF,"alt-space-value-evaluate":Q5,"aria-allowed-attr-elm-evaluate":r3,"aria-allowed-attr-evaluate":e3,"aria-allowed-attr-matches":UL,"aria-allowed-role-evaluate":QI,"aria-allowed-role-matches":zL,"aria-busy-evaluate":YI,"aria-conditional-attr-evaluate":JI,"aria-conditional-checkbox-attr-evaluate":Vg,"aria-conditional-row-attr-evaluate":Hg,"aria-errormessage-evaluate":UI,"aria-has-attr-matches":$L,"aria-hidden-body-evaluate":GI,"aria-hidden-focus-matches":HL,"aria-label-evaluate":FT,"aria-labelledby-evaluate":TT,"aria-level-evaluate":jI,"aria-prohibited-attr-evaluate":HI,"aria-required-attr-evaluate":OI,"aria-required-children-evaluate":RI,"aria-required-children-matches":qL,"aria-required-parent-evaluate":TI,"aria-required-parent-matches":OL,"aria-roledescription-evaluate":kI,"aria-unsupported-attr-evaluate":EI,"aria-valid-attr-evaluate":AI,"aria-valid-attr-value-evaluate":yI,"attr-non-space-content-evaluate":MF,"autocomplete-appropriate-evaluate":BF,"autocomplete-matches":PL,"autocomplete-valid-evaluate":NF,"avoid-inline-spacing-evaluate":ST,"braille-label-equivalent-evaluate":vI,"braille-roledescription-equivalent-evaluate":bI,"bypass-matches":IL,"caption-evaluate":m5,"caption-faked-evaluate":cT,"color-contrast-evaluate":UF,"color-contrast-matches":CL,"css-orientation-lock-evaluate":i5,"data-table-large-matches":kL,"data-table-matches":EL,"deprecatedrole-evaluate":gI,"dlitem-evaluate":E5,"doc-has-title-evaluate":DT,"duplicate-id-active-matches":AL,"duplicate-id-after":MT,"duplicate-id-aria-matches":wL,"duplicate-id-evaluate":LT,"duplicate-id-misc-matches":vL,"duplicate-img-label-evaluate":Y5,"exists-evaluate":_T,"explicit-evaluate":K5,"fallbackrole-evaluate":hI,"focusable-content-evaluate":vF,"focusable-disabled-evaluate":gF,"focusable-element-evaluate":pF,"focusable-modal-open-evaluate":fF,"focusable-no-name-evaluate":cF,"focusable-not-tabbable-evaluate":lF,"frame-focusable-content-evaluate":oF,"frame-focusable-content-matches":gL,"frame-tested-after":d5,"frame-tested-evaluate":u5,"frame-title-has-text-matches":pL,"has-alt-evaluate":xT,"has-descendant-after":LF,"has-descendant-evaluate":FF,"has-global-aria-attribute-evaluate":fI,"has-implicit-chromium-role-matches":fL,"has-lang-evaluate":R5,"has-text-content-evaluate":TF,"has-widget-role-evaluate":cI,"heading-matches":cL,"heading-order-after":HR,"heading-order-evaluate":BR,"help-same-as-label-evaluate":W5,"hidden-content-evaluate":vC,"hidden-explicit-label-evaluate":G5,"html-namespace-matches":uL,"html5-scope-evaluate":lT,"identical-links-same-purpose-after":OR,"identical-links-same-purpose-evaluate":PR,"identical-links-same-purpose-matches":sL,"implicit-evaluate":j5,"inline-style-property-evaluate":vT,"inserted-into-focus-order-matches":iL,"internal-link-present-evaluate":nR,"invalid-children-evaluate":w5,"invalidrole-evaluate":lI,"is-element-focusable-evaluate":oI,"is-initiator-matches":Gg,"is-on-screen-evaluate":bT,"is-visible-matches":rL,"is-visible-on-screen-matches":tL,"label-content-name-mismatch-evaluate":V5,"label-content-name-mismatch-matches":eL,"label-matches":Z3,"landmark-has-body-context-matches":J3,"landmark-is-top-level-evaluate":iF,"landmark-is-unique-after":P5,"landmark-is-unique-evaluate":I5,"landmark-unique-matches":W3,"layout-table-matches":U3,"link-in-text-block-evaluate":GF,"link-in-text-block-matches":z3,"link-in-text-block-style-evaluate":VF,"listitem-evaluate":y5,"matches-definition-evaluate":CF,"meta-refresh-evaluate":tR,"meta-viewport-scale-evaluate":n5,"multiple-label-evaluate":q5,"nested-interactive-matches":$3,"no-autoplay-audio-evaluate":s5,"no-autoplay-audio-matches":H3,"no-empty-role-matches":q3,"no-explicit-name-required-matches":zg,"no-focusable-content-evaluate":rF,"no-implicit-explicit-label-evaluate":aI,"no-naming-method-matches":O3,"no-negative-tabindex-matches":P3,"no-role-matches":I3,"non-empty-if-present-evaluate":hT,"not-html-matches":R3,"object-is-loaded-matches":S3,"only-dlitems-evaluate":v5,"only-listitems-evaluate":b5,"p-as-heading-evaluate":ZT,"p-as-heading-matches":D3,"page-no-duplicate-after":kF,"page-no-duplicate-evaluate":EF,"presentation-role-conflict-matches":_3,"presentational-role-evaluate":mT,"region-after":XT,"region-evaluate":jT,"same-caption-summary-evaluate":aT,"scope-value-evaluate":nT,"scrollable-region-focusable-matches":y3,"skip-link-evaluate":VT,"skip-link-matches":v3,"structured-dlitems-evaluate":h5,"summary-interactive-matches":h3,"svg-namespace-matches":Pu,"svg-non-empty-title-evaluate":fT,"tabindex-evaluate":tF,"table-or-grid-role-matches":p3,"target-offset-evaluate":e5,"target-size-evaluate":UR,"td-has-header-evaluate":tT,"td-headers-attr-evaluate":QC,"th-has-data-cells-evaluate":ZC,"title-only-evaluate":O5,"unique-frame-title-after":BT,"unique-frame-title-evaluate":NT,"unsupportedrole-evaluate":rI,"valid-lang-evaluate":C5,"valid-scrollable-semantics-evaluate":eI,"widget-not-inline-matches":c3,"window-is-top-matches":l3,"xml-lang-mismatch-evaluate":k5,"xml-lang-mismatch-matches":o3},Ko=WL;function XL(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Mu=XL;function Ou(e){if(typeof e=="string"){if(Ko[e])return Ko[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function Wg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ye(e)!=="object")&&(e={value:e}),e}function na(e){e&&(this.id=e.id,this.configure(e));}na.prototype.enabled=true,na.prototype.run=function(t,r,n,a,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var c=new Mu(this),f=Qs(c,r,a,i),p;try{p=this.evaluate.call(f,t.actualNode,s,t,n);}catch(b){t&&t.actualNode&&(b.errorNode=wr.toSpec(t)),i(b);return}f.isAsync||(c.result=p,a(c));}else a(null);},na.prototype.runSync=function(t,r,n){r=r||{};var a=r,i=a.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),c=new Mu(this),f=Qs(c);f.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var p;try{p=this.evaluate.call(f,t.actualNode,s,t,n);}catch(b){throw t&&t.actualNode&&(b.errorNode=wr.toSpec(t)),b}return c.result=p,c},na.prototype.configure=function(t){var r=this;(!t.evaluate||Ko[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=Wg(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=Ou(t[n])});},na.prototype.getOptions=function(t){return this._internalCheck?fl(this.options,Wg(t||{})):t||this.options};var Xg=na;function KL(e){this.id=e.id,this.result=tt.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Jo=KL;function or(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(pt(tt.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:true,this.enabled=typeof e.enabled=="boolean"?e.enabled:true,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:false,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:false,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=Ou(e.matches));}or.prototype.matches=function(){return true},or.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="mark_gather_start_"+this.id,a="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&bt.mark(n);var s=hu(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&bt.mark(i),s=s.filter(function(c){return Mt(c)}),r.performanceTimer&&(bt.mark(o),bt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(bt.mark(a),bt.measure("rule_"+this.id+"#gather",n,a)),s},or.prototype.runChecks=function(t,r,n,a,i,o){var s=this,c=Pr();this[t].forEach(function(f){var p=s._audit.checks[f.id||f],b=Io(p,s.id,n);c.defer(function(D,L){p.run(r,b,a,D,function(B){L(new qo({ruleId:s.id,method:"".concat(p.id,"#evaluate"),errorNode:new yr(r),error:B}));});});}),c.then(function(f){f=f.filter(function(p){return p}),i({type:t,results:f});}).catch(o);},or.prototype.runChecksSync=function(t,r,n,a){var i=this,o=[];return this[t].forEach(function(s){var c=i._audit.checks[s.id||s],f=Io(c,i.id,n);o.push(c.runSync(r,f,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},or.prototype.run=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o=Pr(),s=new Jo(this),c;try{c=this.gatherAndMatchNodes(t,n);}catch(f){i(f);return}n.performanceTimer&&this._logGatherPerformance(c),c.forEach(function(f){o.defer(function(p,b){var D=Pr();["any","all","none"].forEach(function(L){D.defer(function(B,G){r.runChecks(L,f,n,t,B,G);});}),D.then(function(L){var B=Kg(L);B&&(B.node=new yr(f),s.nodes.push(B),r.reviewOnFail&&(["any","all"].forEach(function(G){B[G].forEach(function(K){K.result===false&&(K.result=void 0);});}),B.none.forEach(function(G){G.result===true&&(G.result=void 0);}))),p();}).catch(function(L){return b(L)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(f){n.performanceTimer&&r._logRulePerformance(),i(f);});},or.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Jo(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(f){s.push(r.runChecksSync(f,o,n,t));});var c=Kg(s);c&&(c.node=o.actualNode?new yr(o):null,a.nodes.push(c),r.reviewOnFail&&(["any","all"].forEach(function(f){c[f].forEach(function(p){p.result===false&&(p.result=void 0);});}),c.none.forEach(function(f){f.result===true&&(f.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},or.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id;},or.prototype._logGatherPerformance=function(t){Dn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(bt.timeElapsed(),"ms")),bt.mark(this._markChecksStart);},or.prototype._logRulePerformance=function(){bt.mark(this._markChecksEnd),bt.mark(this._markEnd),bt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),bt.measure("rule_"+this.id,this._markStart,this._markEnd);};function Kg(e){if(e.length){var t=false,r={};return e.forEach(function(n){var a=n.results.filter(function(i){return i});r[n.type]=a,a.length&&(t=true);}),t?r:null}}or.prototype.gatherAndMatchNodes=function(t,r){var n=this,a="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&bt.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(c){throw new qo({ruleId:n.id,method:"#matches",errorNode:new yr(s),error:c})}}),r.performanceTimer&&(bt.mark(i),bt.measure("rule_"+this.id+"#matches",a,i)),o};function JL(e){return oo(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function YL(e,t){var r=[];return e.forEach(function(n){var a=oo(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function ZL(e){return e.filter(function(t){return t.filtered!==true})}function QL(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=ZL(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}or.prototype.after=function(t,r){var n=this,a=JL(this);return a.forEach(function(i){var o=YL(t.nodes,i.id),s=Io(i,n.id,r),c;try{c=i.after(o,s.options);}catch(p){var f;throw new qo({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(f=t.nodes)===null||f===void 0||(f=f[0])===null||f===void 0?void 0:f.node,error:p})}n.reviewOnFail&&c.forEach(function(p){var b=(n.any.includes(p.id)||n.all.includes(p.id))&&p.result===false,D=n.none.includes(p.id)&&p.result===true;(b||D)&&(p.result=void 0);}),o.forEach(function(p){delete p.node,c.indexOf(p)===-1&&(p.filtered=true);});}),t.nodes=QL(t),t},or.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=Ou(t.matches)),t.impact&&(pt(tt.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var aa=/\{\{.+?\}\}/g,eP=(function(){function e(t){Pt(this,e),this.lang="en",this.defaultConfig=t,this.standards=ht,this._init(),this._defaultLocale=null;}return Ue(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},n=Object.keys(this.data.checks),a=0;a<n.length;a++){var i=n[a],o=this.data.checks[i],s=o.messages,c=s.pass,f=s.fail,p=s.incomplete;r.checks[i]={pass:c,fail:f,incomplete:p};}for(var b=Object.keys(this.data.rules),D=0;D<b.length;D++){var L=b[D],B=this.data.rules[L],G=B.description,K=B.help;r.rules[L]={description:G,help:K};}for(var Y=Object.keys(this.data.failureSummaries),Z=0;Z<Y.length;Z++){var ie=Y[Z],oe=this.data.failureSummaries[ie],ue=oe.failureMessage;r.failureSummaries[ie]={failureMessage:ue};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=rP(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=nP(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=aP(this.data.failureSummaries[i],r[i]);}}},{key:"applyLocale",value:function(r){this._setDefaultLocale(),r.checks&&this._applyCheckLocale(r.checks),r.rules&&this._applyRuleLocale(r.rules),r.failureSummaries&&this._applyFailureSummaries(r.failureSummaries,"failureSummaries"),r.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=iP(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=Yg();this.allowedOrigins=[];var a=dt(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===tt.allOrigins){this.allowedOrigins=["*"];return}else o!==tt.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=tP(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,Zg(r.rules,this,"addRule"),Zg(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new or(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;ye(n)==="object"&&(this.data.checks[r.id]=n,ye(n.messages)==="object"&&Object.keys(n.messages).filter(function(a){return n.messages.hasOwnProperty(a)&&typeof n.messages[a]=="string"}).forEach(function(a){n.messages[a].indexOf("function")===0&&(n.messages[a]=new Function("return "+n.messages[a]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new Xg(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),yr.setRunOptions(n),m._selectCache=[];var o=oP(this.rules,r,n),s=o.now,c=o.later,f=Pr();s.forEach(function(D){f.defer(Qg(D,r,n));});var p=Pr();c.length&&p.defer(function(D){Eh(n).then(function(L){return D(L)}).catch(function(L){console.warn("Couldn't load preload assets: ",L),D(void 0);});});var b=Pr();b.defer(f),b.defer(p),b.then(function(D){var L=D.pop();if(L&&L.length){var B=L[0];B&&(r=te({},r,B));}var G=D[0];if(!c.length){m._selectCache=void 0,a(G.filter(function(Y){return !!Y}));return}var K=Pr();c.forEach(function(Y){var Z=Qg(Y,r,n);K.defer(Z);}),K.then(function(Y){m._selectCache=void 0,a(G.concat(Y).filter(function(Z){return !!Z}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=Ha(a,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,n)}catch(s){if(n.debug)throw s;return e1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(n){return n.id===r})}},{key:"normalizeOptions",value:function(r){var n=this,a=[],i=[];if(n.rules.forEach(function(p){i.push(p.id),p.tags.forEach(function(b){a.includes(b)||a.push(b);});}),["object","string"].includes(ye(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(p){return a.includes(p)}),s=r.runOnly.find(function(p){return i.includes(p)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var c=r.runOnly;if(c.value&&!c.values&&(c.values=c.value,delete c.value),!Array.isArray(c.values)||c.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(c.type))c.type="rule",c.values.forEach(function(p){if(!i.includes(p))throw new Error("unknown rule `"+p+"` in options.runOnly")});else if(["tag","tags",void 0].includes(c.type)){c.type="tag";var f=c.values.filter(function(p){return !a.includes(p)&&!/wcag2[1-3]a{1,3}/.test(p)});f.length!==0&&m.log("Could not find tags `"+f.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(c.type,"'"))}return ye(r.rules)==="object"&&Object.keys(r.rules).forEach(function(p){if(!i.includes(p))throw new Error("unknown rule `"+p+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(m.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===t1(n,i.id,a))&&(o.helpUrl=t1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),Jg=eP;function Yg(){if(u.origin&&u.origin!=="null")return u.origin;if(u.location&&u.location.origin&&u.location.origin!=="null")return u.location.origin}function tP(e){var t;if(e?(t=Ur(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=Yg();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=te({checks:{},rules:{}},t.data),t}function Zg(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var rP=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&aa.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&aa.test(a)&&(a=an.default.compile(a)),te({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:ye(t.messages.incomplete)==="object"?te({},t.messages.incomplete,r.incomplete):r.incomplete}})},nP=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&aa.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&aa.test(a)&&(a=an.default.compile(a)),te({},t,{help:n||t.help,description:a||t.description})},aP=function(t,r){var n=r.failureMessage;return typeof n=="string"&&aa.test(n)&&(n=an.default.compile(n)),te({},t,{failureMessage:n||t.failureMessage})},iP=function(t,r){return typeof r=="string"&&aa.test(r)&&(r=an.default.compile(r)),r||t};function oP(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Th(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function Qg(e,t,r){return r.performanceTimer&&bt.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(i){return n(i)},function(i){r.debug?a(i):n(e1(e,i));});}}function e1(e,t){var r=t.errorNode,n=No(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new yr(d.documentElement);return Object.assign(new Jo(e),{error:n,result:tt.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function t1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return tt.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function r1(e){var t=u&&"Node"in u&&"NodeList"in u,r=!!d;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(et.set("globalDocumentSet",true),d=e.ownerDocument),t||(et.set("globalWindowSet",true),u=d.defaultView);}}function sP(){et.get("globalDocumentSet")&&(et.set("globalDocumentSet",false),d=null),et.get("globalWindowSet")&&(et.set("globalWindowSet",false),u=null);}function lP(){sP(),m._memoizedFns.forEach(function(e){return e.clear()}),et.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var vn=lP;function n1(e,t,r,n){try{e=new Lo(e),m._tree=e.flatTree,m._selectorData=Qi(e.flatTree);}catch(o){return vn(),n(o)}var a=Pr(),i=m._audit;t.performanceTimer&&bt.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){hm(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&bt.auditEnd();var s=so(o.map(function(c){return {results:c}}));e.initiator&&(t.performanceTimer&&bt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(bt.mark("auditAfterEnd"),bt.measure("audit.after","auditAfterStart","auditAfterEnd"),bt.logMeasures("audit.after")),s.forEach(Oo),s=s.map(xa));try{r(s,vn);}catch(c){vn(),Dn(c);}}catch(c){vn(),n(c);}}).catch(function(o){vn(),n(o);});}function uP(e){m._audit=new Jg(e);}function cP(e,t,r){var n=r,a=function(c){c instanceof Error||(c=new Error(c)),r(c);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[d]);var o=e&&e.options||{};switch(e.command){case "rules":return n1(i,o,function(s,c){s=wr.mapRawResults(s),n(s),c();},a);case "cleanup-plugin":return qh(n,a);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}u.top!==u&&(Cr.subscribe("axe.start",cP),Cr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ui(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}ui.prototype.run=function(){return this._run.apply(this,arguments)},ui.prototype.collect=function(){return this._collect.apply(this,arguments)},ui.prototype.cleanup=function(t){var r=m.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ui.prototype.add=function(t){this._registry[t.id]=t;};function dP(e){m.plugins[e.id]=new ui(e);}var fP=dP;function mP(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),I2();}var pP=mP;function hP(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||m._audit.reporter||"v1",m._selectorData={},t instanceof Xt||(t=new Nh(t));var n=ch(e);if(!n)throw new Error("unknown rule `"+e+"`");n=Object.create(n,{excludeHidden:{value:false}});var a={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=n.runSync(a,r);Oo(i),xa(i);var o=Dd([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(c){c.failureSummary=nu(c);})}),te({},gn(),o,{toolOptions:r})}function a1(e){var t,r,n,a=Ce(e,3),i=a[0],o=a[1],s=a[2],c=new TypeError("axe.run arguments are invalid");if(!ph(i)){if(s!==void 0)throw c;s=o,o=i,i=d;}if(ye(o)!=="object"){if(s!==void 0)throw c;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw c;return o=Ur(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Nu=function(){};function gP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];r1(t[0]);var n=a1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?Nu:o,c=bP(s),f=c.thenable,p=c.resolve,b=c.reject;try{pt(m._audit,"No audit configured"),pt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(B){return yP(B,s)}m._running=true,i.performanceTimer&&bt.start();function D(B,G){var K=function(ie){i.performanceTimer&&(bt.mark("reporterEnd"),bt.measure("reporter","reporterStart","reporterEnd"),bt.logMeasures("reporter"),bt.end()),m._running=false,G();try{p(ie);}catch(oe){m.log(oe);}},Y=function(ie){m._running=false,G();try{b(ie);}catch(oe){m.log(oe);}};try{i.performanceTimer&&bt.mark("reporterStart"),vP(B,i,K,Y);}catch(Z){Y(Z);}}function L(B){i.performanceTimer&&bt.end(),m._running=false,s(B),b(B);}return m._runRules(a,i,D,L),f}function bP(e){var t,r,n;return typeof Promise=="function"&&e===Nu?t=new Promise(function(a,i){r=i,n=a;}):(n=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:n}}function vP(e,t,r,n){var a=vu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function yP(e,t){if(typeof t=="function"&&t!==Nu){t(e.message);return}throw e}function wP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=a1(t),a=n.options,i=n.context;pt(m._audit,"Axe is not configured. Audit is missing."),pt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new Lo(i,m._tree);return m._tree=o.flatTree,m._selectorData=Qi(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,c){m._audit.run(o,a,s,c);}).then(function(s){s=wr.mapRawResults(s);var c=o.frames.map(function(p){var b=p.node;return wr.toSpec(b)}),f;return o.initiator&&(f=gn()),m._running=false,vn(),{results:s,frames:c,environmentData:f}}).catch(function(s){return m._running=false,vn(),Promise.reject(s)})}function xP(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Ur(a);var i=e.find(function(c){return c.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",AP(e);var s=so(e);return s=m._audit.after(s,a),s.forEach(Oo),s=s.map(xa),EP(s,te({environmentData:o},a))}function AP(e){var t=[],r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,i=t.shift();if(a){a.frameSpec=i??null;var o=_P(a);t.unshift.apply(t,le(o));}}}catch(s){r.e(s);}finally{r.f();}}function _P(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return wr.mergeSpecs(n,r)}):t}function EP(e,t){return new Promise(function(r,n){var a=vu(t.reporter);a(e,t,r,n);})}function DP(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ye(e.documentElement)==="object"&&ye(e.defaultView)==="object"&&(e=e.documentElement),r1(e),m._tree=tu(e),m._selectorData=Qi(m._tree),m._tree[0]}var kP=DP,SP=function(t,r,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,q);n(te({},gn(i),{toolOptions:o},ti(t,r)));},CP=SP,TP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,X);r.resultTypes=["violations"];var s=ti(t,r),c=s.violations;n(te({},gn(i),{toolOptions:o,violations:c}));},RP=TP,FP=function(t,r,n){if(typeof r=="function"&&(n=r,r={}),!t||!Array.isArray(t))return n(t);var a=t.map(function(i){for(var o=te({},i),s=["passes","violations","incomplete","inapplicable"],c=0,f=s;c<f.length;c++){var p=f[c];o[p]=wr.mapRawNodeResults(o[p]);}return o});n(a);},i1=FP,IP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,P);i1(t,o,function(s){var c=gn(i);n({raw:s,env:c});});},LP=IP,PP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,F),s=ti(t,r),c=function(p){p.nodes.forEach(function(b){b.failureSummary=nu(b);});};s.incomplete.forEach(c),s.violations.forEach(c),n(te({},gn(i),{toolOptions:o},s));},MP=PP,OP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,I),s=ti(t,r);n(te({},gn(i),{toolOptions:o},s));},NP=OP,qP={base:{Audit:Jg,CheckResult:Mu,Check:Xg,Context:Lo,RuleResult:Jo,Rule:or,metadataFunctionMap:Ko},public:{reporters:ni},helpers:{failureSummary:nu,incompleteFallbackMessage:au,processAggregate:ti},utils:{setDefaultFrameMessenger:um,cacheNodeSelectors:rh,getNodesMatchingExpression:eh,convertSelector:to},commons:{dom:{nativelyHidden:ym,displayHidden:wm,visibilityHidden:xm,contentVisibiltyHidden:Am,ariaHidden:_m,opacityHidden:Em,scrollHidden:Dm,overflowHidden:km,clipHidden:Sm,areaHidden:gl,detailsHidden:Cm}}},BP=qP;m._thisWillBeDeletedDoNotUse=BP,m.constants=tt,m.log=Dn,m.AbstractVirtualNode=Xt,m.SerialVirtualNode=Nh,m.VirtualNode=Zl,m._cache=et,m.imports=Td,m.cleanup=qh,m.configure=mC,m.frameMessenger=pC,m.getRules=gC,m._load=uP,m.plugins={},m.registerPlugin=fP,m.hasReporter=Hh,m.getReporter=vu,m.addReporter=dC,m.reset=pP,m._runRules=n1,m.runVirtualRule=hP,m.run=gP,m.setup=kP,m.teardown=vn,m.runPartial=wP,m.finishRun=xP,m.commons=lg,m.utils=Ds,m.addReporter("na",CP),m.addReporter("no-passes",RP),m.addReporter("rawEnv",LP),m.addReporter("raw",i1),m.addReporter("v1",MP),m.addReporter("v2",NP,true);}))(),m._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(he){var Ee="Fix any of the following:",Ae=he;if(Ae)for(var Ge,ct=-1,gt=Ae.length-1;ct<gt;)Ge=Ae[ct+=1],Ee+=`
|
|
429
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function uh(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof u.Node)if(i.documentElement instanceof u.Node)r.push(e.flatTree[0]);else if(i.host instanceof u.Node){var o=Array.from(i.children).map(function(c){return nt(c)});r.push.apply(r,le(o));}else r.push(nt(i));else if(i&&i.length)if(i.length>1)cS(e,t,i);else {var s=gu(i[0]);r.push.apply(r,le(s.map(function(c){return nt(c)})));}}return r.filter(function(c){return c})}function cS(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=gu(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=sh(i,e),e.frames.push(o)),o[t].push(r);});}function Lo(e,t){var r,n,a,i,o=this;e=Ur(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((n=e)===null||n===void 0?void 0:n.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((a=e)===null||a===void 0?void 0:a.focusable)=="boolean"?e.focusable:true,this.size=ye((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=aS(e),this.flatTree=t??tu(pS(e)),this.exclude=e.exclude,this.include=e.include,this.include=uh(this,"include"),this.exclude=uh(this,"exclude"),hu("frame, iframe",this).forEach(function(s){cu(s,o)&&dS(o,s.actualNode);}),typeof this.page>"u"&&(this.page=fS(this),this.frames.forEach(function(s){s.page=o.page;})),mS(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(fu);}function dS(e,t){!Mt(t)||Ha(e.frames,"node",t)||e.frames.push(sh(t,e));}function fS(e){var t=e.include;return t.length===1&&t[0].actualNode===d.documentElement}function mS(e){if(e.include.length===0&&e.frames.length===0){var t=Cr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function pS(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof u.Element)return i.ownerDocument.documentElement;if(i instanceof u.Document)return i.documentElement}return d.documentElement}function hS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new Lo(e),n=r.frames;return n.map(function(a){var i=a.node,o=W(a,R);o.initiator=false;var s=eo(i);return {frameSelector:s,frameContext:o}})}function ch(e){var t=m._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function gS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=u.getComputedStyle(e),i=dh(a,"overflow-x"),o=dh(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function dh(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Jr=Ct(gS);function fh(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Jr(r);return n&&t.push(n),t.concat(fh(r))},[])}function bS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(fh(d.body))}var vS=bS;function yS(){return Ur(ht)}function wS(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=n===void 0?false:n,i=t.shadowId,o=t.root,s=t.priority,c=t.isLink,f=c===void 0?false:c,p=e.createElement("style");if(f){var b=e.createTextNode('@import "'.concat(r.href,'"'));p.appendChild(b);}else p.appendChild(e.createTextNode(r));return e.head.appendChild(p),{sheet:p.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var mh=wS,dr;function xS(e){if(dr&&dr.parentNode)return dr.styleSheet===void 0?dr.appendChild(d.createTextNode(e)):dr.styleSheet.cssText+=e,dr;if(e){var t=d.head||d.getElementsByTagName("head")[0];return dr=d.createElement("style"),dr.type="text/css",dr.styleSheet===void 0?dr.appendChild(d.createTextNode(e)):dr.styleSheet.cssText=e,t.appendChild(dr),dr}}var AS=xS;function ou(e){return !!e&&ye(e)==="object"&&typeof e.length=="number"&&!(e instanceof u.Node)}function qr(e,t){return !e||ye(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function ph(e){return su(e)||Po(e)}function su(e){return ["include","exclude"].some(function(t){return qr(e,t)&&Po(e[t])})}function Po(e){return typeof e=="string"||e instanceof u.Node||lu(e)||Mo(e)||ou(e)}function lu(e){return qr(e,"fromFrames")}function Mo(e){return qr(e,"fromShadowDom")}function hh(e,t){var r=nt(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=u.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=hh(a,true);return r&&(r._isHidden=i),i}var _S=hh;function ES(e){var t,r,n=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!ht.htmlElms[n]}var uu=ES;function cu(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(p){return Wr(p,e)});if(o.length===0)return false;var s=i.filter(function(p){return Wr(p,e)});if(s.length===0)return true;var c=gh(o),f=gh(s);return Wr(f,c)}function gh(e){var t,r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Wr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function du(e,t){return e.length!==t.length?false:e.every(function(r,n){var a=t[n];return Array.isArray(r)?r.length!==a.length?false:r.every(function(i,o){return a[o]===i}):r===a})}function DS(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var fu=DS;function mt(e){return e instanceof Xt?{vNode:e,domNode:e.actualNode}:{vNode:nt(e),domNode:e}}function kS(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(p){return p.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(p){return p.href}).map(function(p){return p.href}).filter(function(p){return !n.includes(p)}),c=s.map(function(p,b){var D=[].concat(le(r),[b]),L=/^https?:\/\/|^\/\//i.test(p);return pu(p,t,D,n,L)}),f=i.filter(function(p){return p.type!==3});return f.length&&c.push(Promise.resolve(t.convertDataToStylesheet({data:f.map(function(p){return p.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(c)}var bh=kS;function SS(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=CS(e);return i?bh(e,t,r,n,a):pu(e.href,t,r,n,true)}function CS(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var mu=SS;function TS(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new u.XMLHttpRequest;s.open("GET",e),s.timeout=tt.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(c){if(c.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return mu(o.sheet,t,r,n,o.isCrossOrigin)})}var pu=TS;function RS(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Br=RS,FS=(function(){function e(){if(u.performance&&u.performance)return u.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(a){var i;(i=u.performance)!==null&&i!==void 0&&i.mark&&u.performance.mark(a);},measure:function(a,i,o){var s,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=u.performance)!==null&&s!==void 0&&s.measure){try{u.performance.measure(a,i,o);}catch(f){this._log(f);}c||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,c=function(G){return Array.isArray(G)?G[G.length-1]:G},f=function(G){i._log("Measure "+G.name+" took "+G.duration+"ms");};if(!(!((o=u.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=u.performance)!==null&&s!==void 0&&s.getEntriesByName))){var p=c(u.performance.getEntriesByName("mark_axe_start"))||c(u.performance.getEntriesByName("mark_audit_start"));if(!p){this._log("Axe must be started before using performanceTimer");return}for(var b=u.performance.getEntriesByType("measure").filter(function(B){return B.startTime>=p.startTime}),D=0;D<b.length;++D){var L=b[D];if(L.name===a){f(L);return}else a||f(L);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=u.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var c=0,f=o;c<f.length;c++){var p=f[c];u.performance.clearMarks(p);}}},reset:function(){t=e();},_log:function(a){Dn(a);}}})(),bt=FS;function vh(){if(d.elementsFromPoint)return d.elementsFromPoint;if(d.msElementsFromPoint)return d.msElementsFromPoint;var e=(function(){var a=d.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=d.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,c,f=[],p=[];for(d.head.appendChild(n);(o=d.elementFromPoint(a,i))&&f.indexOf(o)===-1;)f.push(o),p.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(f.indexOf(d.documentElement)<f.length-1&&(f.splice(f.indexOf(d.documentElement),1),f.push(d.documentElement)),s=p.length;c=p[--s];)f[s].style.setProperty(t,c.value?c.value:"",c.priority);return d.head.removeChild(n),f}}typeof u.addEventListener=="function"&&(d.elementsFromPoint=vh());function IS(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var ri=IS;function yh(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function LS(e,t,r){for(var n=et.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=yh(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var c,f,p=o.vNodes[o.vNodesIndex++],b=null,D=null,L=(((c=o.anyLevel)===null||c===void 0?void 0:c.length)||0)+(((f=o.thisLevel)===null||f===void 0?void 0:f.length)||0),B=false,G=0;G<L;G++){var K,Y,Z,ie=G<(((K=o.anyLevel)===null||K===void 0?void 0:K.length)||0)?o.anyLevel[G]:o.thisLevel[G-(((Y=o.anyLevel)===null||Y===void 0?void 0:Y.length)||0)];if((!ie[0].id||p.shadowId===o.parentShadowId)&&Gn(p,ie[0]))if(ie.length===1)!B&&(!r||r(p))&&(s.push(p),B=true);else {var oe=ie.slice(1);if([" ",">"].includes(oe[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+ie[1].combinator);oe[0].combinator===">"?(b=b||[]).push(oe):(D=D||[]).push(oe);}(!ie[0].id||p.shadowId===o.parentShadowId)&&(Z=o.anyLevel)!==null&&Z!==void 0&&Z.includes(ie)&&(D=D||[]).push(ie);}for(p.children&&p.children.length&&(a.push(o),o=yh(p.children,D,b,p.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function PS(e,t,r){e=Array.isArray(e)?e:[e];var n=to(t),a=eh(e,n,r);return a||LS(e,n,r)}var Hr=PS;function MS(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=OS(r);if(!n.length)return Promise.resolve();var a=d.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=mh(a);return NS(n,i).then(function(o){return xh(o)})}var wh=MS;function OS(e){var t=[],r=Hr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:Va(n.actualNode)}});return ri(r,[])}function NS(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=qS(i,o,t);if(!s)return Promise.all(r);var c=a+1,f={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:c},p=[],b=Promise.all(s.map(function(D,L){var B=[c,L];return mu(D,f,B,p)}));r.push(b);}),Promise.all(r)}function xh(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(xh(r)):t.concat(r)},[])}function qS(e,t,r){var n;return e.nodeType===11&&t?n=BS(e,r):n=HS(e),$S(n)}function BS(e,t){return Array.from(e.children).filter(VS).reduce(function(r,n){var a=n.nodeName.toUpperCase(),i=a==="STYLE"?n.textContent:n,o=a==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function HS(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Ah(t.media.mediaText):false})}function VS(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a=t==="LINK"&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||a&&Ah(e.media)}function Ah(e){return e?!e.toUpperCase().includes("PRINT"):true}function $S(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function jS(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,n=Hr(r,"video[autoplay], audio[autoplay]",function(a){var i=a.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(n.map(function(a){var i=a.actualNode;return zS(i)}))}var _h=jS;function zS(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Eh(e){var t={cssom:wh,media:_h};return Dh(e)?new Promise(function(r,n){var a=kh(e),i=a.assets,o=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(c){return t[c](e).then(function(f){return U({},c,f)})})).then(function(c){var f=c.reduce(function(p,b){return te({},p,b)},{});clearTimeout(s),r(f);}).catch(function(c){clearTimeout(s),n(c);});}):Promise.resolve()}function GS(e){return ye(e)==="object"&&Array.isArray(e.assets)}function Dh(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:GS(e.preload)}function kh(e){var t=tt.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload||typeof e.preload=="boolean")return a;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=ri(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function Oo(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},n=Ha(m._audit.rules,"id",e.id)||{};e.tags=Ur(n.tags||[]);var a=Sh(t,true,n),i=Sh(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),ml(e,Ur(r[e.id]||{}));}function US(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:au()}if(e&&e.missingData)try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function Sh(e,t,r){return function(n){var a=e[n.id]||{},i=a.messages||{},o=Object.assign({},a);delete o.messages,!r.reviewOnFail&&n.result===void 0?(ye(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=US(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=iu(o.message,n.data)),ml(n,o);}}function WS(e,t){return Hr(e,t)}var fr=WS;function Ch(e,t){var r,n,a=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function XS(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?Ch(e,n.values):Ch(e,[])}var Th=XS;function Rh(e,t){if(!t)return e;var r=e.cloneNode(false),n=Ea(r);if(r.nodeType===1){var a=r.outerHTML;r=et.get(a,function(){return Fh(r,n,e,t)});}else r=Fh(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Rh(i,t));}),r}function Fh(e,t,r,n){return t&&(e=d.createElement(e.nodeName),Array.from(t).forEach(function(a){KS(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function KS(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:$n(e,r[t])}function hu(e,t){var r=[],n;if(m._selectCache)for(var a=0,i=m._selectCache.length;a<i;a++){var o=m._selectCache[a];if(o.selector===e)return o.result}for(var s=JS(t.include),c=YS(t),f=0;f<s.length;f++){n=s[f];var p=Hr(n,e,c);r=ZS(r,p);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function JS(e){return e.reduce(function(t,r){return (!t.length||!Wr(t[t.length-1],r))&&t.push(r),t},[])}function YS(e){return !e.exclude||e.exclude.length===0?null:function(t){return cu(t,e)}}function ZS(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function No(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(ye(e)!=="object"||e===null)return {message:String(e)};var r={},n=dt(tt.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(ye(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?No(e.cause,t+1):"..."),r}var QS=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,c=r.errorNode;return Pt(this,t),a=se(this,t),a.name=(n=i.name)!==null&&n!==void 0?n:"RuleError",a.message=i.message,a.stack=i.stack,i.cause&&(a.cause=No(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),c&&(a.errorNode=c),a}return Q(t,e),Ue(t)})($(Error)),qo=QS;function eC(e,t,r){if(e===u)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function tC(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return eC(r,n,a)});}var rC=tC;function nC(e){var t=Array.isArray(e)?le(e):[e];return Ih(t,d)}function Ih(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Ih(e,n.shadowRoot):null}function gu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,r=Array.isArray(e)?le(e):[e];return e.length===0?[]:Lh(r,t)}function Lh(e,t){var r=M(e),n=r[0],a=$r(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=dt(i),c;try{for(s.s();!(c=s.n()).done;){var f=c.value;f!=null&&f.shadowRoot&&o.push.apply(o,le(Lh(a,f.shadowRoot)));}}catch(p){s.e(p);}finally{s.f();}return o}function aC(){return ["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var Bo=aC,Ph=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function iC(e){for(var t=Ph;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var n=e.charCodeAt(r)-96;if(t=t[n],!t)return false}return true}function Mh(e){e=Array.isArray(e)?e:Ph;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(Mh(r).map(function(i){return a+i})):t.push(a);}),t}var Ho=iC,oC=(function(e){function t(r){var n;return Pt(this,t),n=se(this,t),n._props=lC(r),n._attrs=uC(r),n}return Q(t,e),Ue(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var a;return (a=this._attrs[n])!==null&&a!==void 0?a:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Xt),bu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Oh={},sC=Object.keys(bu);sC.forEach(function(e){Oh[bu[e]]=e;});function lC(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Oh[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:bu[e.nodeName])!==null&&r!==void 0?r:1;pt(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),pt(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Bo().includes(o)||(o="text"));var s=te({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function uC(e){var t=e.attributes,r=t===void 0?{}:t,n={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(a,i){var o=r[i];if(pt(ye(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=n[i]||i;a[s]=o!==null?String(o):null;}return a},{})}var Nh=oC;function cC(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),n=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var s=function(f){n.push(f),o();};try{m.plugins[i].cleanup(o,s);}catch(c){s(c);}});});var a=m.utils.getFlattenedTree(d.body);m.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return m.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var qh=cC,ni={},Bh;function Hh(e){return ni.hasOwnProperty(e)}function vu(e){return typeof e=="string"&&ni[e]?ni[e]:typeof e=="function"?e:Bh}function dC(e,t,r){ni[e]=t,r&&(Bh=t);}function fC(e){var t=m._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=Ce(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),c=Ce(s,3),f=c[0],p=c[1],b=c[2],D=m.version.split("-"),L=Ce(D,2),B=L[0],G=L[1],K=B.split(".").map(Number),Y=Ce(K,3),Z=Y[0],ie=Y[1],oe=Y[2];if(f!==Z||ie<p||ie===p&&oe<b||f===Z&&p===ie&&b===oe&&o&&o!==G)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Hh(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach(function(fe){if(!fe.id)throw new TypeError("Configured check ".concat(JSON.stringify(fe)," is invalid. Checks must be an object with at least an id property"));t.addCheck(fe);});}var ue=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(fe){if(!fe.id)throw new TypeError("Configured rule ".concat(JSON.stringify(fe)," is invalid. Rules must be an object with at least an id property"));ue.push(fe.id),t.addRule(fe);});}if(e.disableOtherRules&&t.rules.forEach(function(fe){ue.includes(fe.id)===false&&(fe.enabled=false);}),typeof e.branding<"u"?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&FE(e.standards),e.noHtml&&(t.noHtml=true),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(tt.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var mC=fC;function pC(e){Cr.updateMessenger(e);}function hC(e){e=e||[];var t=e.length?m._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var gC=hC;function bC(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&Za(r)){var a=u.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=Kt(e),o=i&&u.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var vC=bC,Vh={};Ar(Vh,{getAllCells:function(){return yu},getCellPosition:function(){return wo},getHeaders:function(){return Vo},getScope:function(){return Il},isColumnHeader:function(){return Zn},isDataCell:function(){return jh},isDataTable:function(){return $o},isHeader:function(){return EC},isRowHeader:function(){return Qn},toArray:function(){return Kr},toGrid:function(){return Kr},traverse:function(){return wu}});function yC(e){var t,r,n,a,i=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)i.push(e.rows[t].cells[r]);return i}var yu=yC;function $h(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Qn:Zn,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),c=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,f=c-1,p=t.y+f,b=t.x+o,D=e==="row"?t.y:0,L=e==="row"?0:t.x,B,G=[],K=p;K>=D&&!B;K--)for(var Y=b;Y>=L;Y--){var Z=r[K]?r[K][Y]:void 0;if(Z){var ie=m.utils.getNodeFromTree(Z);if(ie[n]){B=ie[n];break}G.push(Z);}}return B=(B||[]).concat(G.filter(a)),G.forEach(function(oe){var ue=m.utils.getNodeFromTree(oe);ue[n]=B;}),B}function wC(e,t){if(e.getAttribute("headers")){var r=Mr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Kr(Jn(e,"table")));var n=wo(e,t),a=$h("row",n,t),i=$h("col",n,t);return [].concat(a,i).reverse()}var Vo=wC;function xC(e){if(!e.children.length&&!e.textContent.trim())return false;var t=st(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var jh=xC;function AC(e){var t=st(e);if((t==="presentation"||t==="none")&&!$t(e))return false;if(e.getAttribute("contenteditable")==="true"||Jn(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||Tr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,n=e.children.length;r<n;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var a=0,i=e.rows.length,o,s,c=false,f=0;f<i;f++){o=e.rows[f];for(var p=0,b=o.cells.length;p<b;p++){if(s=o.cells[p],s.nodeName.toUpperCase()==="TH"||(!c&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(c=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(st(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var D=e.rows[Math.ceil(i/2)];if(D.cells.length===1&&D.cells[0].colSpan===1)return false;if(D.cells.length>=5||c)return true;for(var L,B,G=0;G<i;G++){if(o=e.rows[G],L&&L!==u.getComputedStyle(o).getPropertyValue("background-color")||(L=u.getComputedStyle(o).getPropertyValue("background-color"),B&&B!==u.getComputedStyle(o).getPropertyValue("background-image")))return true;B=u.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(bl(e).width>uo(u).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var $o=AC;function _C(e){if(Zn(e)||Qn(e))return true;if(e.getAttribute("id")){var t=qt(e.getAttribute("id"));return !!d.querySelector('[headers~="'.concat(t,'"]'))}return false}var EC=_C;function zh(e,t,r,n){var a,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof n=="function"&&(a=n(i,t,r),a===true)?[i]:(a=zh(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function DC(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return zh(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var wu=DC,Gh={};Ar(Gh,{allowedAttr:function(){return Uh},arialabelText:function(){return Wa},arialabelledbyText:function(){return Ua},getAccessibleRefs:function(){return xu},getElementUnallowedRoles:function(){return Kh},getExplicitRole:function(){return st},getImplicitRole:function(){return Or},getOwnedVirtual:function(){return Ja},getRole:function(){return rt},getRoleType:function(){return Tr},getRolesByType:function(){return NC},getRolesWithNameFromContents:function(){return HC},implicitNodes:function(){return $C},implicitRole:function(){return Or},isAccessibleRef:function(){return jo},isAriaRoleAllowedOnElement:function(){return Xh},isComboboxPopup:function(){return _u},isUnsupportedRole:function(){return Rl},isValidRole:function(){return Xa},label:function(){return Qh},labelVirtual:function(){return _o},lookupTable:function(){return Yh},namedFromContents:function(){return wp},requiredAttr:function(){return eg},requiredContext:function(){return Eu},requiredOwned:function(){return Du},validateAttr:function(){return zo},validateAttrValue:function(){return tg}});function kC(e){var t=ht.ariaRoles[e],r=le(mn());return t&&(t.allowedAttrs&&r.push.apply(r,le(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,le(t.requiredAttrs))),r}var Uh=kC,SC=/^idrefs?$/;function Wh(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e]);}for(var a=0;a<r.length;++a){var i=r[a],o=Ke(e.getAttribute(i)||"");if(o){var s=dt(nr(o)),c;try{for(s.s();!(c=s.n()).done;){var f=c.value;t.has(f)?t.get(f).push(e):t.set(f,[e]);}}catch(b){s.e(b);}finally{s.f();}}}}for(var p=0;p<e.childNodes.length;p++)e.childNodes[p].nodeType===1&&Wh(e.childNodes[p],t,r);}function CC(e){var t;e=e.actualNode||e;var r=Qt(e);r=r.documentElement||r;var n=et.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(ht.ariaAttrs).filter(function(o){var s=ht.ariaAttrs[o].type;return SC.test(s)});Wh(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var xu=CC;function TC(e,t){var r=e instanceof Xt?e:nt(e),n=Or(r),a=pn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Xh=TC,RC=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],FC={header:"banner",footer:"contentinfo"};function IC(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=nr(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Xa(n)})}function LC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=mt(e),n=r.vNode;if(!uu(n))return [];var a=n.props.nodeName,i=Or(n)||FC[a],o=IC(n);return o.filter(function(s){return !PC(s,n,t,i)})}function PC(e,t,r,n){return r&&e===n?true:RC.includes(e)&&Tr(e)!==n?false:Xh(t,e)}var Kh=LC;function MC(e){return Object.keys(ht.ariaRoles).filter(function(t){return ht.ariaRoles[t].type===e})}var ta=MC;function OC(e){return ta(e)}var NC=OC;function qC(){return et.get("ariaRolesNameFromContent",function(){return Object.keys(ht.ariaRoles).filter(function(e){return ht.ariaRoles[e].nameFromContent})})}var Au=qC;function BC(){return Au()}var HC=BC,Jh=function(t){return t===null},er=function(t){return t!==null},Yr={};Yr.attributes={"aria-activedescendant":{type:"idref",allowEmpty:true,unsupported:false},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:false},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:false},"aria-busy":{type:"boolean",values:["true","false"],unsupported:false},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-colcount":{type:"int",unsupported:false},"aria-colindex":{type:"int",unsupported:false},"aria-colspan":{type:"int",unsupported:false},"aria-controls":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-current":{type:"nmtoken",allowEmpty:true,values:["page","step","location","date","time","true","false"],unsupported:false},"aria-describedby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-describedat":{unsupported:true,unstandardized:true},"aria-details":{type:"idref",allowEmpty:true,unsupported:false},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:false},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:false},"aria-errormessage":{type:"idref",allowEmpty:true,unsupported:false},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-flowto":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-haspopup":{type:"nmtoken",allowEmpty:true,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:false},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:false},"aria-invalid":{type:"nmtoken",allowEmpty:true,values:["true","false","spelling","grammar"],unsupported:false},"aria-keyshortcuts":{type:"string",allowEmpty:true,unsupported:false},"aria-label":{type:"string",allowEmpty:true,unsupported:false},"aria-labelledby":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-level":{type:"int",unsupported:false},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:false},"aria-modal":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:false},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:false},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:false},"aria-owns":{type:"idrefs",allowEmpty:true,unsupported:false},"aria-placeholder":{type:"string",allowEmpty:true,unsupported:false},"aria-posinset":{type:"int",unsupported:false},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:false},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:false},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:false},"aria-required":{type:"boolean",values:["true","false"],unsupported:false},"aria-roledescription":{type:"string",allowEmpty:true,unsupported:false},"aria-rowcount":{type:"int",unsupported:false},"aria-rowindex":{type:"int",unsupported:false},"aria-rowspan":{type:"int",unsupported:false},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:false},"aria-setsize":{type:"int",unsupported:false},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:false},"aria-valuemax":{type:"decimal",unsupported:false},"aria-valuemin":{type:"decimal",unsupported:false},"aria-valuenow":{type:"decimal",unsupported:false},"aria-valuetext":{type:"string",unsupported:false}},Yr.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"],Yr.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:false},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:false,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:false,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:false},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:false,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:false},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:false,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:false},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:false,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:false,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:false,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:false,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:false,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:false,allowedElements:[{nodeName:"a",attributes:{href:er}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:false,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:false},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:false},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:false},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:false},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:false,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:false},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:false,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:false},landmark:{nameFrom:["author"],type:"abstract",unsupported:false},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:false},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:false,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:false},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:false,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:false},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:false,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:false,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:er}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:er}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:er}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:false,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:er}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:er}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:er}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:false},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:false,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:false},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:false,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:false},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:false},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:false},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:false},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:false},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:false},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:false},select:{nameFrom:["author"],type:"abstract",unsupported:false},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:false,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:false},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:false,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:false,allowedElements:["section"]},structure:{type:"abstract",unsupported:false},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:er}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:false,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:er}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:false},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:false},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:false},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:false},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:false,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:false},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:false,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:false},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:false,allowedElements:["li",{nodeName:"a",attributes:{href:er}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Yr.implicitHtmlRole=Pl,Yr.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:er}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:er}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof m.AbstractVirtualNode||(t=m.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:true}},{nodeName:["clippath","cursor","defs","desc","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","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Yr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Jh}},{nodeName:"img",attributes:{alt:Jh}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Yr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=m.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},Yr.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var Yh=Yr;function VC(e){var t=null,r=Yh.role[e];return r&&r.implicit&&(t=Ur(r.implicit)),t}var $C=VC;function jC(e){return !!xu(e).length}var jo=jC;function _u(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=rt(e);if(r??(r=tp["aria-haspopup"].values),!r.includes(n))return false;var a=zC(e);if(Zh(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=Va(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
430
|
+
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(Zh)}var Zh=function(t){return t&&rt(t)==="combobox"};function zC(e){for(;e=e.parent;)if(rt(e,{noPresentational:true})!==null)return e;return null}function GC(e){return e=nt(e),_o(e)}var Qh=GC;function UC(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:le(t.requiredAttrs)}var eg=UC;function WC(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:le(t.requiredContext)}var Eu=WC;function XC(e){var t=ht.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:le(t.requiredOwned)}var Du=XC;function KC(e,t){e=e instanceof Xt?e:nt(e);var r,n,a=e.attr(t),i=ht.ariaAttrs[t];if(!i||i.allowEmpty&&(!a||a.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(a.toLowerCase());case "nmtoken":return typeof a=="string"&&i.values.includes(a.toLowerCase());case "nmtokens":return n=nr(a),n.reduce(function(c,f){return c&&i.values.includes(f)},n.length!==0);case "idref":try{var o=Qt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Mr(e,t).some(function(c){return !!c});case "string":return a.trim()!=="";case "decimal":return r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}}var tg=KC;function JC(e){var t=ht.ariaAttrs[e];return !!t}var zo=JC;function YC(e){var t=yu(e),r=this,n=[];t.forEach(function(s){var c=s.getAttribute("headers");c&&(n=n.concat(c.split(/\s+/)));var f=s.getAttribute("aria-labelledby");f&&(n=n.concat(f.split(/\s+/)));});var a=t.filter(function(s){return Ke(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(st(s))!==-1}),i=Kr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var c=wo(s,i),f=false;Zn(s)&&(f=wu("down",c,i).find(function(p){return !Zn(p)&&Vo(p,i).includes(s)})),!f&&Qn(s)&&(f=wu("right",c,i).find(function(p){return !Qn(p)&&Vo(p,i).includes(s)})),f||r.relatedNodes(s),o=o&&f;}}),o?true:void 0}var ZC=YC,ai=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],rg=ai[0],ng=ai[1],ag=ai[2],ku=ai[3];function QC(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=rt(o));}var c=U(U(U(U({},ag,new Set),rg,new Set),ng,new Set),ku,new Set);t.forEach(function(D){if(!(!D.hasAttribute("headers")||!Mt(D))){var L=D.getAttribute("headers").trim();if(!L){c[ku].add(D);return}var B=D.getAttribute("id"),G=nr(L);G.forEach(function(K){B&&K===B?c[ag].add(D):r[K]?["columnheader","rowheader"].includes(r[K])||c[ng].add(D):c[rg].add(D);});}});var f=dt(ai),p;try{for(f.s();!(p=f.n()).done;){var b=p.value;if(c[b].size>0)return this.relatedNodes(le(c[b])),b===ku?void 0:(this.data({messageKey:b}),!1)}}catch(D){f.e(D);}finally{f.f();}return true}function eT(e){var t=[],r=yu(e),n=Kr(e);return r.forEach(function(a){if(ko(a)&&jh(a)&&!Qh(a)){var i=Vo(a,n).some(function(o){return o!==null&&!!ko(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var tT=eT;function rT(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var nT=rT,aT=iT;function iT(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(oT),i=a?Ke(hn(a)):false;return !i||!n?false:Ke(n).toLowerCase()===Ke(i).toLowerCase()}}function oT(e){return e.props.nodeName==="caption"}function sT(e){return Up(d)?e.nodeName.toUpperCase()==="TH":true}var lT=sT;function uT(e){var t=Kr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(n,a,i){return n||a!==r[i+1]&&r[i+1]!==void 0},false)}var cT=uT;function dT(e,t,r){if(r.children){var n=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!n)return this.data({messageKey:"noTitle"}),false;try{var a=hn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var fT=dT,ig={};Ar(ig,{getAriaRolesByType:function(){return ta},getAriaRolesSupportingNameFromContent:function(){return Au},getElementSpec:function(){return pn},getElementsByContentType:function(){return Fl},getGlobalAriaAttrs:function(){return mn},implicitHtmlRoles:function(){return Pl}});function mT(e,t,r){var n=st(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var a=rt(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=mn().some(function(c){return r.hasAttr(c)}),o=$t(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function pT(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),n==="input"&&["submit","reset"].includes(a)?i===null:false}var hT=pT;function gT(e){return ur(e)}var bT=gT;function vT(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,c=t.noImportant,f=t.multiLineOnly;if(!c&&e.style.getPropertyPriority(r)!=="important"||f&&!Xp(e))return true;var p={};typeof a=="number"&&(p.minValue=a),typeof i=="number"&&(p.maxValue=i);var b=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(b))return this.data(te({value:b},p)),true;var D=yT(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(te({value:D},p)),typeof D=="number")return (typeof a!="number"||D>=a)&&(typeof i!="number"||D<=i)}function yT(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=u.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return a;var s=parseFloat(o);if(n)return s;var c=parseFloat(i.getPropertyValue("font-size")),f=Math.round(s/c*100)/100;return isNaN(f)?o:f}function wT(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var xT=wT;function AT(){}var _T=AT;function ET(){var e=d.title;return !!Ke(e)}var DT=ET;function kT(e,t){var r=t.cssProperties.filter(function(n){if(e.style.getPropertyPriority(n)==="important")return n});return r.length>0?(this.data(r),false):true}var ST=kT;function CT(e,t,r){try{return !!Ke(Ua(r))}catch{return}}var TT=CT;function RT(e,t,r){return !!Ke(Wa(r))}var FT=RT;function IT(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Qt(e),n=Array.from(r.querySelectorAll('[id="'.concat(qt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var LT=IT;function PT(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var MT=PT;function OT(e,t,r){var n=Ke(r.attr("title")).toLowerCase();return this.data(n),true}var NT=OT;function qT(e){var t={};return e.forEach(function(r){t[r.data]=t[r.data]!==void 0?++t[r.data]:0;}),e.forEach(function(r){r.result=!!t[r.data];}),e}var BT=qT;function HT(e){var t=kl(e,"href");return t?Mt(t)||void 0:false}var VT=HT,$T=["alert","log","status"];function jT(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=et.get("regionlessNodes",function(){return zT(t)});return !n.includes(r)}function zT(e){var t=og(m._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==d.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function og(e,t){var r=e.actualNode;if(rt(e)==="button"||UT(e,t)||["iframe","frame"].includes(e.props.nodeName)||Jl(e.actualNode)&&kl(e.actualNode,"href")||!Mt(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==d.body&&ko(r,true)&&!GT(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return og(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function GT(e){return ["none","presentation"].includes(rt(e))&&!Do(e)}function UT(e,t){var r=e.actualNode,n=rt(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=ta("landmark");return !!(["assertive","polite"].includes(a)||$T.includes(n)||i.includes(n)||t.regionMatcher&&Ka(e,t.regionMatcher))}function WT(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var n=r.node.ancestry.slice(0,-1),a=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(du(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var XT=WT;function KT(e){switch(e){case "lighter":return 100;case "normal":return 400;case "bold":return 700;case "bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function JT(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&t!==void 0;){var a=-1;if(e=t,e.children.length===0)return e;do a++,n=e.children[a].textContent.trim();while(n===""&&a+1<e.children.length);t=e.children[a];}return e}function Su(e){var t=u.getComputedStyle(JT(e));return {fontWeight:KT(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function sg(e,t,r){return r.reduce(function(n,a){return n||(!a.size||e.fontSize/a.size>t.fontSize)&&(!a.weight||e.fontWeight-a.weight>t.fontWeight)&&(!a.italic||e.isItalic&&!t.isItalic)},false)}function YT(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e);t=t||{};var i=t.margins||[],o=n.slice(a+1).find(function(K){return K.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(K){return K.nodeName.toUpperCase()==="P"}),c=Su(e),f=o?Su(o):null,p=s?Su(s):null,b=t.passLength,D=t.failLength,L=e.textContent.trim().length,B=o?.textContent.trim().length;if(L>B*b||!f||!sg(c,f,i))return true;var G=Kn(r,"blockquote");if(!(G&&G.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(p&&!sg(c,p,i))&&!(L>B*D))return false}var ZT=YT,QT=/[;,\s]/,eR=/^[0-9.]+$/;function tR(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(QT),c=Ce(s,1),f=c[0];if(!f.match(eR))return true;var p=parseFloat(f);return this.data({redirectDelay:p}),typeof a=="number"&&p<=t.minDelay||typeof i=="number"&&p>t.maxDelay}function rR(e,t,r){var n=fr(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var nR=rR,lg={};Ar(lg,{aria:function(){return Gh},color:function(){return ug},dom:function(){return pl},forms:function(){return xg},matches:function(){return Ka},math:function(){return Mm},standards:function(){return ig},table:function(){return Vh},text:function(){return Ga},utils:function(){return Ds}});var ug={};Ar(ug,{Color:function(){return Ot},centerPointOfRect:function(){return iR},elementHasImage:function(){return So},elementIsDistinct:function(){return dg},filteredRectStack:function(){return uR},flattenColors:function(){return Vr},flattenShadowColors:function(){return Tu},getBackgroundColor:function(){return oi},getBackgroundStack:function(){return Ru},getContrast:function(){return ra},getForegroundColor:function(){return Wo},getOwnBackgroundColor:function(){return Fn},getRectStack:function(){return fg},getStackingContext:function(){return Iu},getStrokeColorsFromShadows:function(){return Fu},getTextShadowColors:function(){return Uo},hasValidContrastRatio:function(){return FR},incompleteData:function(){return Tt},parseTextShadows:function(){return hg},stackingContextToColor:function(){return ii}});function aR(e){if(!(e.left>u.innerWidth)&&!(e.top>u.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),u.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),u.innerHeight-1);return {x:t,y:r}}}var iR=aR;function cg(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function oR(e,t){var r=u.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,c){var f=new Ot;return f.parseString(r.getPropertyValue(c+"-color")),s||r.getPropertyValue(c+"-style")!=="none"&&parseFloat(r.getPropertyValue(c+"-width"))>0&&f.alpha!==0},false);if(n)return true;var a=u.getComputedStyle(t);if(cg(r)[0]!==cg(a)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,c){return s||r.getPropertyValue(c)!==a.getPropertyValue(c)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i}var dg=oR;function sR(e){var t=Zm(e),r=zl(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var fg=sR;function lR(e){var t=fg(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),n;return t.forEach(function(a,i){if(i!==0){var o=t[i-1],s=t[i];n=o.every(function(c,f){return c===s[f]})||r.includes(e);}}),n?t[0]:(Tt.set("bgColor","elmPartiallyObscuring"),null)}return Tt.set("bgColor","outsideViewport"),null}var uR=lR,cR=["hue","saturation","color","luminosity"],mg={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var n=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(n-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=fR(t,e,r),a=Cu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=Cu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=Cu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=dR(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new Ot(a,i,o,s);var c=Math.round(a/s),f=Math.round(i/s),p=Math.round(o/s);return new Ot(c,f,p,s)}function Cu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function dR(e,t,r){return Math.min(Math.max(t,e),r)}function fR(e,t,r){if(cR.includes(r))return mg[r](e,t);var n=new Ot;return ["r","g","b"].forEach(function(a){n[a]=mg[r](e[a],t[a]);}),n}function Tu(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new Ot(n,a,i,o)}function Ru(e){for(var t=zl(e).map(function(a){return a=Kp(a,e),a=mR(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return Tt.set("bgColor","bgOverlap"),null;if(r!==0&&!pR(n,t[0]))return Tt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function mR(e){var t=e.indexOf(d.body),r=e,n=Fn(u.getComputedStyle(d.documentElement));if(t>1&&n.alpha===0&&!So(d.documentElement)){t>1&&(r.splice(t,1),r.push(d.body));var a=r.indexOf(d.documentElement);a>0&&(r.splice(a,1),r.push(d.documentElement));}return r}function pR(e,t){if(e===t)return true;if(e===null||t===null||e.length!==t.length)return false;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return false;return true}var hR=.54,Go=.5,gR=1.5,pg=["top","right","bottom","left"];function Fu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=bR(e),i=Object.entries(a).map(function(o){var s=Ce(o,2),c=s[0],f=s[1],p=pg.filter(function(b){return f[b].length!==0}).length;return {colorStr:c,sides:f,edgeCount:p}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(vR).filter(function(o){return o!==null})}function bR(e){var t={},r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value,o=i.colorStr,s=i.pixels;(a=t[o])!==null&&a!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var c=t[o],f=Ce(s,2),p=f[0],b=f[1];p>Go?c.right.push(p):-p>Go&&c.left.push(-p),b>Go?c.bottom.push(b):-b>Go&&c.top.push(-b);}}catch(D){r.e(D);}finally{r.f();}return t}function vR(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new Ot;a.parseString(t);var i=0,o=true;return pg.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(c){return c>gR}));}),o||(a.alpha=1-Math.pow(hR,i)),a}function hg(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return [];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)pt(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){pt(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o);}else if(r[0]===",")pt(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return n.forEach(function(s){var c=s.pixels;c.length===2&&c.push(0);}),n}function Uo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=u.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var c=o.getPropertyValue("font-size"),f=parseInt(c);pt(isNaN(f)===false,"Unable to determine font-size value ".concat(c));var p=[],b=hg(s),D=dt(b),L;try{for(D.s();!(L=D.n()).done;){var B=L.value,G=B.colorStr||o.getPropertyValue("color"),K=Ce(B.pixels,3),Y=K[0],Z=K[1],ie=K[2],oe=ie===void 0?0:ie;if(!(n&&oe>=f*n)){if(r&&oe<f*r){p.push({colorStr:G,pixels:B.pixels});continue}if(p.length>0){var ue=Fu(p,{ignoreEdgeCount:a});if(ue===null)return null;i.push.apply(i,le(ue)),p.splice(0,p.length);}var fe=yR({colorStr:G,offsetX:Y,offsetY:Z,blurRadius:oe,fontSize:f});i.push(fe);}}}catch(we){D.e(we);}finally{D.f();}if(p.length>0){var ge=Fu(p,{ignoreEdgeCount:a});if(ge===null)return null;i.push.apply(i,le(ge));}return i}function yR(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new Ot(0,0,0,0);var o=new Ot;return o.parseString(t),o.alpha*=wR(a,i),o}function wR(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Iu(e,t){var r=nt(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??Ru(e),t.forEach(function(i){var o,s=nt(i),c=_R(s),f=s._stackingOrder.filter(function(D){var L=D.vNode;return !!L});f.forEach(function(D,L){var B,G=D.vNode,K=(B=f[L-1])===null||B===void 0?void 0:B.vNode,Y=bg(a,G,K);L===0&&!a.get(G)&&n.unshift(Y),a.set(G,Y);});var p=(o=f[f.length-1])===null||o===void 0?void 0:o.vNode,b=bg(a,s,p);f.length||n.unshift(b),b.bgColor=c;}),r._stackingContext=n,n}function ii(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(xR,gg()),a=Vr(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function xR(e,t){var r;e instanceof Ot?r=e:r=ii(e).color;var n=ii(t).color;return Vr(n,r,t.blendMode)}function gg(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Ot(0,0,0,0),blendMode:AR(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function AR(e){return e||void 0}function bg(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:gg(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function _R(e){var t=new Ot;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function oi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=nt(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,le(a.bgElms)),Tt.set("bgColor",a.incompleteData),a.bgColor;var i=ER(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Tt.get("bgColor")},i}function ER(e,t,r){var n,a,i=Ru(e);if(!i)return null;var o=jl(e),s=(n=Uo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(Tu)}]);for(var c=0;c<i.length;c++){var f=i[c],p=u.getComputedStyle(f);if(So(f,p))return t.push(f),null;var b=void 0;try{if(b=Fn(p),b.alpha===0)continue}catch(G){if(G&&Tt.get("colorParse"))return null;throw G}if(p.getPropertyValue("display")!=="inline"&&!vg(f,o))return t.push(f),Tt.set("bgColor","elmPartiallyObscured"),null;if(t.push(f),b.alpha===1)break}var D=Iu(e,i);s=D.map(ii).concat(s);var L=DR(e,i.includes(d.body));if((a=s).unshift.apply(a,le(L)),s.length===0)return new Ot(255,255,255,1);var B=s.reduce(function(G,K){return Vr(K.color,G.color instanceof Ot?G.color:G,K.blendMode)});return Vr(B.color instanceof Ot?B.color:B,new Ot(255,255,255,1))}function vg(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=u.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),c=parseInt(i.getPropertyValue("padding-right"),10),f=parseInt(i.getPropertyValue("padding-top"),10),p=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof u.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+c,a=r.top+e.scrollHeight+f+p),t.every(function(b){return b.top>=r.top&&b.bottom<=a&&b.left>=r.left&&b.right<=n})}function yg(e){return e||void 0}function DR(e,t){var r=[];if(!t){var n=d.documentElement,a=d.body,i=u.getComputedStyle(n),o=u.getComputedStyle(a),s=Fn(i),c=Fn(o),f=c.alpha!==0&&vg(a,e.getBoundingClientRect());(c.alpha!==0&&s.alpha===0||f&&c.alpha!==1)&&r.unshift({color:c,blendMode:yg(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!f||f&&c.alpha!==1)&&r.unshift({color:s,blendMode:yg(i.getPropertyValue("mix-blend-mode"))});}return r}function kR(e,t){if(!t||!e)return null;t.alpha<1&&(t=Vr(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var ra=kR;function Wo(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=u.getComputedStyle(e),i=[function(){return CR(a,n)},function(){return SR(a)},function(){return Uo(e,{minRatio:0})}],o=[];try{for(var s=0,c=i;s<c.length;s++){var f=c[s],p=f();if(p&&(o=o.concat(p),p.alpha===1))break}}catch(G){if(G&&Tt.get("colorParse"))return null;throw G}var b=o.reduce(function(G,K){return Vr(G,K)});if(r??(r=oi(e,[])),r===null){var D=Tt.get("bgColor");return Tt.set("fgColor",D),null}var L=Iu(e),B=wg(L,e);return Vr(TR(b,B,L),new Ot(255,255,255,1))}function SR(e){return new Ot().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function CR(e,t){var r=t.textStrokeEmMin,n=r===void 0?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(a===0)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new Ot().parseString(s)}function TR(e,t,r){for(;t;){var n;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var a=((n=t.ancestor)===null||n===void 0?void 0:n.descendants)||r;t.opacity!==1&&(a=a.slice(0,a.indexOf(t)));var i=a.map(ii);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,c){return Vr(c.color,s.color instanceof Ot?s.color:s)},{color:new Ot(0,0,0,0),blendMode:"normal"});e=Vr(e,o),t=t.ancestor;}return e}function wg(e,t){var r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if(((a=i.vNode)===null||a===void 0?void 0:a.actualNode)===t)return i;var o=wg(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function RR(e,t,r,n){var a=ra(e,t),i=n&&Math.ceil(r*72)/96<14||!n&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:a>o,contrastRatio:a,expectedContrastRatio:o}}var FR=RR,xg={};Ar(xg,{isAriaCombobox:function(){return Sp},isAriaListbox:function(){return kp},isAriaRange:function(){return Cp},isAriaTextbox:function(){return Dp},isDisabled:function(){return si},isNativeSelect:function(){return Ep},isNativeTextbox:function(){return _p}});var IR=["fieldset","button","select","input","textarea"];function Ag(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return IR.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=Ag(e.parent):t=false,e._isDisabled=t,t}var si=Ag;function LR(e,t,r){var n=Ga.accessibleTextVirtual(r),a=Ga.sanitize(Ga.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:pl.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var PR=LR;function _g(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return false;var a=r.every(function(i){var o=e[i],s=t[i];return ye(o)!==ye(s)?false:ye(o)==="object"||ye(s)==="object"?_g(o,s):o===s});return a}function MR(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],n={},a=function(s){var c,f=t[s],p=f.data,b=p.name,D=p.urlProps;if(n[b])return 1;var L=t.filter(function(G,K){var Y=G.data;return Y.name===b&&K!==s}),B=L.every(function(G){var K=G.data;return _g(K.urlProps,D)});L.length&&!B&&(f.result=void 0),f.relatedNodes=[],(c=f.relatedNodes).push.apply(c,le(L.map(function(G){return G.relatedNodes[0]}))),n[b]=L,r.push(f);},i=0;i<t.length;i++)a(i);return r}var OR=MR;function NR(e){var t=rt(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Ce(i,2),s=o[1];return r?s&&!n?parseInt(s,10):isNaN(a)||a<1?s?parseInt(s,10):2:a||-1:-1}function qR(){var e=et.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Hr(m._tree[0],t,Mt);return e=r.map(function(n){return {ancestry:[eo(n.actualNode)],level:NR(n)}}),this.data({headingOrder:e}),et.set("headingOrder",r),true}var BR=qR;function HR(e){var t=$R(e);return e.forEach(function(r){r.result=VR(r,t);}),e}function VR(e,t){var r,n,a,i,o=Eg(t,e.node.ancestry),s=(r=(n=t[o])===null||n===void 0?void 0:n.level)!==null&&r!==void 0?r:-1,c=(a=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&a!==void 0?a:-1;if(o===0)return true;if(s!==-1)return s-c<=1}function $R(e){e=le(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(jR,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function jR(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=Dg(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return GR(s,a)}),o=zR(e,a);return o===-1?e.push.apply(e,le(i)):e.splice.apply(e,[o,0].concat(le(i))),e}function zR(e,t){for(;t.length;){var r=Eg(e,t);if(r!==-1)return r;t=Dg(t,1);}return -1}function Eg(e,t){return e.findIndex(function(r){return du(r.ancestry,t)})}function GR(e,t){var r=t.concat(e.ancestry);return te({},e,{ancestry:r})}function Dg(e,t){return e.slice(0,e.length-t)}function UR(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Xr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Xr.bind(null,n),o=bo(r),s=WR(r,o),c=XR(r,o),f=c.fullyObscuringElms,p=c.partialObscuringElms;if(s.length&&(f.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(li(s));return}if(f.length)return this.relatedNodes(li(f)),this.data({messageKey:"obscured"}),true;var b=xr(r)?false:void 0;if(!i(a))return this.data(te({minSize:n},Xo(a))),b;var D=YR(p);if(!D.length)return this.data(te({minSize:n},Xo(a))),true;var L=KR(r,D,n);if(!L){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(L)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(li(s));return}var B=D.every(xr),G="partiallyObscured".concat(B?"":"NonTabbable");return this.data(te({messageKey:G,minSize:n},Xo(L))),this.relatedNodes(li(D)),B?b:void 0}return this.data(te({minSize:n},Xo(L||a))),this.relatedNodes(li(D)),true}function WR(e,t){return t.filter(function(r){return !kg(r,e)&&Sg(e,r)})}function XR(e,t){var r=[],n=[],a=dt(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!Sg(e,o)&&wl(e,o)&&ZR(o)!=="none"&&(kg(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function KR(e,t,r){var n=e.boundingClientRect,a=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=xl(n,a);}catch{return null}return JR(i,r)}function JR(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}function YR(e){return e.filter(function(t){return Tr(t)==="widget"&&$t(t)})}function kg(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function ZR(e){return e.getComputedStylePropertyValue("pointer-events")}function Xo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Sg(e,t){return Wr(e,t)&&!xr(t)}function li(e){return e.map(function(t){var r=t.actualNode;return r})}var QR=.05;function e5(e,t,r){var n=t?.minOffset||24;if(Xr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=dt(bo(r,n)),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(!(Tr(c)!=="widget"||!$t(c))){var f=null;try{f=Nm(r,c,n/2);}catch(p){if(p.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw p}f!==null&&(f=t5(f)*2,!(f+QR>=n)&&(i=Math.min(i,f),a.push(c)));}}}catch(p){o.e(p);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(p){var b=p.actualNode;return b})),!a.some(xr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),xr(r)?false:void 0}function t5(e){return Math.round(e*10)/10}function r5(e,t,r){var n=t||{},a=n.scaleMinimum,i=a===void 0?2:a,o=n.lowerBound,s=o===void 0?false:o,c=r.attr("content")||"";if(!c)return true;var f=c.split(/[;,]/).reduce(function(b,D){var L=D.trim();if(!L)return b;var B=L.split("="),G=Ce(B,2),K=G[0],Y=G[1];if(!K||!Y)return b;var Z=K.toLowerCase().trim(),ie=Y.toLowerCase().trim();return Z==="maximum-scale"&&ie==="yes"&&(ie=1),Z==="maximum-scale"&&parseFloat(ie)<0||(b[Z]=ie),b},{});if(s&&f["maximum-scale"]&&parseFloat(f["maximum-scale"])<s)return true;if(!s&&f["user-scalable"]==="no")return this.data("user-scalable=no"),false;var p=parseFloat(f["user-scalable"]);return !s&&f["user-scalable"]&&(p||p===0)&&p>-1&&p<1?(this.data("user-scalable"),false):f["maximum-scale"]&&parseFloat(f["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var n5=r5;function a5(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},c=s.degreeThreshold,f=c===void 0?0:c;if(!o||!o.length)return;for(var p=false,b=[],D=K(o),L=function(){var De=G[B],Te=D[De],Pe=Te.root,je=Te.rules,Ye=je.filter(Y);if(!Ye.length)return 1;Ye.forEach(function(qe){var Xe=qe.cssRules;Array.from(Xe).forEach(function(ke){var $e=Z(ke);if($e&&ke.selectorText.toUpperCase()!=="HTML"){var ce=Array.from(Pe.querySelectorAll(ke.selectorText))||[];b=b.concat(ce);}p=p||$e;});});},B=0,G=Object.keys(D);B<G.length;B++)L();if(!p)return true;return b.length&&this.relatedNodes(b),false;function K(be){return be.reduce(function(De,Te){var Pe=Te.sheet,je=Te.root,Ye=Te.shadowId,qe=Ye||"topDocument";if(De[qe]||(De[qe]={root:je,rules:[]}),!Pe||!Pe.cssRules)return De;var Xe=Array.from(Pe.cssRules);return De[qe].rules=De[qe].rules.concat(Xe),De},{})}function Y(be){var De=be.type,Te=be.cssText;return De!==4?false:/orientation:\s*landscape/i.test(Te)||/orientation:\s*portrait/i.test(Te)}function Z(be){var De=be.selectorText,Te=be.style;if(!De||Te.length<=0)return false;var Pe=Te.transform||Te.webkitTransform||Te.msTransform||false;if(!Pe&&!Te.rotate)return false;var je=ie(Pe),Ye=oe("rotate",Te.rotate),qe=je+Ye;return !qe||(qe=Math.abs(qe),Math.abs(qe-180)%180<=f)?false:Math.abs(qe-90)%90<=f}function ie(be){if(!be)return 0;var De=be.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!De)return 0;var Te=Ce(De,3),Pe=Te[1],je=Te[2];return oe(Pe,je)}function oe(be,De){switch(be){case "rotate":case "rotateZ":return ue(De);case "rotate3d":var Te=De.split(",").map(function(qe){return qe.trim()}),Pe=Ce(Te,4),je=Pe[2],Ye=Pe[3];return parseInt(je)===0?void 0:ue(Ye);case "matrix":case "matrix3d":return fe(De);default:return 0}}function ue(be){var De=be.match(/(deg|grad|rad|turn)/)||[],Te=Ce(De,1),Pe=Te[0];if(!Pe)return 0;var je=parseFloat(be.replace(Pe,""));switch(Pe){case "rad":return ge(je);case "grad":return we(je);case "turn":return Le(je);default:return parseInt(je)}}function fe(be){var De=be.split(",");if(De.length<=6){var Te=Ce(De,2),Pe=Te[0],je=Te[1],Ye=Math.atan2(parseFloat(je),parseFloat(Pe));return ge(Ye)}var qe=parseFloat(De[8]),Xe=Math.asin(qe),ke=Math.cos(Xe),$e=Math.acos(parseFloat(De[0])/ke);return ge($e)}function ge(be){return Math.round(be*(180/Math.PI))}function we(be){return be=be%400,be<0&&(be+=400),Math.round(be/400*360)}function Le(be){return Math.round(360/(1/be))}}var i5=a5;function o5(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var n=t.allowedDuration,a=n===void 0?3:n,i=o(e);if(i<=a)return true;if(!r)return false;return true;function o(f){if(!f.currentSrc)return 0;var p=s(f.currentSrc);return p?p.length===1?Math.abs(f.duration-p[0]):Math.abs(p[1]-p[0]):Math.abs(f.duration-(f.currentTime||0))}function s(f){var p=f.match(/#t=(.*)/);if(p){var b=Ce(p,2),D=b[1],L=D.split(",");return L.map(function(B){return /:/.test(B)?c(B):parseFloat(B)})}}function c(f){for(var p=f.split(":"),b=0,D=1;p.length>0;)b+=D*parseInt(p.pop(),10),D*=60;return parseFloat(b)}}var s5=o5;function l5(e,t){return t.isViolation?false:void 0}var u5=l5,Cg=" > ";function c5(e){var t={};return e.filter(function(r){var n=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(n){var a=r.node.ancestry.flat(1/0).join(Cg);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(Cg);return t[i]&&(t[i].result=true),false})}var d5=c5;function f5(e,t,r){var n=fr(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var m5=f5;function p5(e,t,r){var n=r.children;if(!n||!n.length)return false;for(var a=false,i=false,o,s=0;s<n.length;s++){if(o=n[s].props.nodeName.toUpperCase(),o==="DT"&&(a=true),a&&o==="DD")return false;o==="DD"&&(i=true);}return a||i}var h5=p5;function g5(e,t,r){var n=false,a=false,i=true,o=[],s=[],c=[];return r.children.forEach(function(f){var p=f.actualNode;if(p.nodeType===3&&p.nodeValue.trim()!==""){n=true;return}if(!(p.nodeType!==1||!Mt(p))){i=false;var b=p.nodeName.toUpperCase()==="LI",D=rt(f),L=D==="listitem";!b&&!L&&o.push(p),b&&!L&&(s.push(p),c.includes(D)||c.push(D)),L&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:c.join(", ")}),true)}var b5=g5;function v5(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,c){var f=c.actualNode;return f.nodeName.toUpperCase()==="DIV"&&rt(f)===null?s.concat(c.children):s.concat(c)},[]),o=i.reduce(function(s,c){var f=c.actualNode,p=f.nodeName.toUpperCase();if(f.nodeType===1&&Mt(f)){var b=st(f);(p!=="DT"&&p!=="DD"||b)&&(n.includes(b)||s.badNodes.push(f));}else f.nodeType===3&&f.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function y5(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=st(n);return ["presentation","none","list"].includes(i)?true:i&&Xa(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function w5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var i=Tg(r.children);i.length;){var o,s=i.shift(),c=s.vChild,f=s.nested;if(t.divGroups&&!f&&A5(c)){if(!c.children)return;var p=Tg(c.children,true);i.push.apply(i,le(p));continue}var b=x5(c,f,t);b&&(a.includes(b)||a.push(b),(c==null||(o=c.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&n.push(c.actualNode));}return a.length===0?false:(this.data({values:a.join(", ")}),this.relatedNodes(n),true)}}function x5(e,t,r){var n=r.validRoles,a=n===void 0?[]:n,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,c=s.nodeName,f=s.nodeType,p=s.nodeValue,b=t?"div > ":"";if(f===3&&p.trim()!=="")return b+"#text";if(f!==1||!Mt(e))return false;var D=st(e);return D?a.includes(D)?false:b+"[role=".concat(D,"]"):o.includes(c)?false:b+c}function A5(e){return e.props.nodeName==="div"&&st(e)===null}function Tg(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function _5(e){var t=Kt(e),r=t.nodeName.toUpperCase(),n=st(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=Kt(t),r=t.nodeName.toUpperCase(),n=st(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var E5=_5;function D5(e,t,r){var n=Ln(r.attr("lang")),a=Ln(r.attr("xml:lang"));return n===a}var k5=D5;function S5(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Ln(i),s=t.value?!t.value.map(Ln).includes(o):!Ho(o);(o!==""&&s||i!==""&&!Ke(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!Ul(r)?false:(this.data(n),true)}var C5=S5;function Lu(e){return (e||"").trim()!==""}function T5(e,t,r){var n=typeof d<"u"?La(d):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Lu(r.attr("xml:lang"))&&!Lu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return Lu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var R5=T5;function F5(e,t,r){var n=rt(e),a=Jt(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var I5=F5;function L5(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var P5=L5;function M5(e,t,r){var n=Eo(r),a=xo(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var O5=M5;function N5(e){var t=qt(e.getAttribute("id")),r=e.parentNode,n=Qt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !fn(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&a.indexOf(r)===-1&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter(function(s){return Mt(s)});if(i.length>1)return;var o=Mr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var q5=N5;function B5(e,t){var r=Rg(t),n=Rg(e);return !r||!n?false:r.includes(n)}function Rg(e){var t=Ya(e,{emoji:true,nonBmp:true,punctuations:true});return Ke(t)}function H5(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=Cn(e).toLowerCase(),s=Ke(hn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!($l(o)<1||$l(s)<1))return B5(s,o)}var V5=H5;function $5(e,t,r){try{var n=lr(r,"label");if(n){var a=Ke(Jt(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var j5=$5;function z5(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Qt(e),a=qt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!Mt(i)){var o;try{o=Jt(r).trim();}catch{return}var s=o==="";return s}}return false}var G5=z5;function U5(e,t,r){var n=Eo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Mr(e,"aria-describedby");a=i.map(function(o){return o?Cn(o):""}).join("");}return Ke(a)===Ke(n)}var W5=U5;function X5(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Qt(r.actualNode),i=qt(r.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(ur(s)){var c=Ke(Cn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:c}),!!c}else return !0})}catch{return}}}var K5=X5;function J5(e,t,r){if(["none","presentation"].includes(rt(r)))return false;var n=lr(r,t.parentSelector);if(!n)return false;var a=Nr(n,true).toLowerCase();return a===""?false:a===Jt(r).toLowerCase()}var Y5=J5;function Z5(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var Q5=Z5;function eF(e,t,r){var n=Br(r.attr("tabindex"));return n===null||n<=0}var tF=eF;function rF(e,t,r){if(r.children)try{var n=Fg(r);if(!n.length)return !0;var a=n.filter(nF);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function Fg(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){Tr(r)==="widget"&&$t(r)?t.push(r):t.push.apply(t,le(Fg(r)));}),t}function nF(e){var t=Br(e.attr("tabindex"));return t!==null&&t<0}function aF(e){var t=ta("landmark"),r=Kt(e),n=rt(e);for(this.data({role:n});r;){var a=st(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Or(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=Kt(r);}return true}var iF=aF;function oF(e,t,r){if(r.children)try{return !r.children.some(function(n){return Ig(n)})}catch{return}}function Ig(e){if(xr(e))return true;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return false}return e.children.some(function(t){return Ig(t)})}function sF(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return !n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Qa()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),c=parseInt(o.getComputedStylePropertyValue("width")),f=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(c===0||f===0)&&s==="none"})?void 0:false}var lF=sF;function uF(e,t,r){if(!xr(r))return false;try{return !Jt(r)}catch{return}}var cF=uF;function dF(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(Qa()){this.relatedNodes(n);return}return true}var fF=dF;function mF(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return xr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=lr(r.parent,"[contenteditable]");return o?n(o):false}}var pF=mF;function hF(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Qa()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),c=parseInt(o.getComputedStylePropertyValue("width")),f=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(c===0||f===0)&&s==="none"})?void 0:false}var gF=hF;function bF(e,t,r){var n=r.tabbableElements;if(!n)return false;var a=n.filter(function(i){return i!==r});return a.length>0}var vF=bF;function yF(e,t,r){return fn(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var wF=yF;function xF(e){var t={};return e.filter(function(r){if(!r.data)return false;var n=r.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(r.relatedNodes[0]),false):(t[n]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var AF=xF;function _F(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(et.get(n)){this.data("ignored");return}et.set(n,true);var a=Hr(m._tree[0],t.selector,function(i){return Mt(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!Kn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return rt(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var EF=_F;function DF(e){return e.filter(function(t){return t.data!=="ignored"})}var kF=DF;function SF(e,t,r){return Ka(r,t.matcher)}var CF=SF;function TF(e,t,r){try{return Ke(hn(r))!==""}catch{return}}function RF(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Qa())return true;var n=Hr(r,t.selector,function(a){return Mt(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var FF=RF;function IF(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var LF=IF;function PF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var n=r.attr(t.attribute),a=!Ke(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var MF=PF;function OF(e,t,r){var n=r.attr("autocomplete")||"";return qp(n,t)}var NF=OF;function qF(e,t,r){if(r.props.nodeName!=="input")return true;var n=["text","search","number","tel"],a=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};ye(t)==="object"&&Object.keys(t).forEach(function(b){i[b]||(i[b]=[]),i[b]=i[b].concat(t[b]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(b){return b.toLowerCase()}),c=s[s.length-1];if(Rn.stateTerms.includes(c))return true;var f=i[c],p=r.hasAttr("type")?Ke(r.attr("type")).toLowerCase():"text";return p=Bo().includes(p)?p:"text",typeof f>"u"?p==="text":f.includes(p)}var BF=qF,HF=["block","list-item","table","flex","grid","inline-block"];function VF(e){if(Lg(e))return false;for(var t=Kt(e);t&&t.nodeType===1&&!Lg(t);)t=Kt(t);if(t){if(this.relatedNodes([t]),dg(e,t))return true;if($F(e)){this.data({messageKey:"pseudoContent"});return}return false}}function Lg(e){var t=u.getComputedStyle(e).getPropertyValue("display");return HF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function $F(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=u.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function Pg(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var jF=["block","list-item","table","flex","grid","inline-block"];function Mg(e){var t=u.getComputedStyle(e).getPropertyValue("display");return jF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function zF(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(Mg(e))return false;for(var a=Kt(e);a&&a.nodeType===1&&!Mg(a);)a=Kt(a);if(a){this.relatedNodes([a]);var i=Wo(e),o=Wo(a),s=oi(e),c=oi(a),f=i&&o?Pg(i,o):void 0;if(f&&(f=Math.floor(f*100)/100),f&&f>=r)return true;var p=s&&c?Pg(s,c):void 0;if(p&&(p=Math.floor(p*100)/100),p&&p>=r)return true;if(!p){var b,D=(b=Tt.get("bgColor"))!==null&&b!==void 0?b:"bgContrast";this.data({messageKey:D}),Tt.clear();return}if(f)return n&&f===1&&p===1?true:f===1&&p>1?(this.data({messageKey:"bgContrast",contrastRatio:p,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:c?c.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:f,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var GF=zF;function UF(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,c=t.largeTextPt,f=t.contrastRatio,p=t.shadowOutlineEmMax,b=t.pseudoSizeThreshold;if(!ur(e))return this.data({messageKey:"hidden"}),true;var D=Nr(r,false,true);if(n&&XF(D)){this.data({messageKey:"nonBmp"});return}var L=u.getComputedStyle(e),B=parseFloat(L.getPropertyValue("font-size")),G=L.getPropertyValue("font-weight"),K=parseFloat(G)>=o||G==="bold",Y=Math.ceil(B*72)/96,Z=K&&Y<s||!K&&Y<c,ie=Z?f.normal:f.large,oe=ie.expected,ue=ie.minThreshold,fe=ie.maxThreshold,ge=WF(r,{ignorePseudo:i,pseudoSizeThreshold:b});if(ge){this.data({fontSize:"".concat((B*72/96).toFixed(1),"pt (").concat(B,"px)"),fontWeight:K?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:oe+":1"}),this.relatedNodes(ge.actualNode);return}var we=Uo(e,{minRatio:.001,maxRatio:p});if(we===null){this.data({messageKey:"complexTextShadows"});return}var Le=[],be=oi(e,Le,p),De=Wo(e,false,be,t),Te=null,Pe=null,je=null;if(we.length===0)Te=ra(be,De);else if(De&&be){je=[].concat(le(we),[be]).reduce(Tu);var Ye=ra(be,De),qe=ra(be,je),Xe=ra(je,De);Te=Math.max(Ye,qe,Xe),Te!==Ye&&(Pe=qe>Xe?"shadowOnBgColor":"fgOnShadowColor");}var ke=Te>oe;if(typeof ue=="number"&&(typeof Te!="number"||Te<ue)||typeof fe=="number"&&(typeof Te!="number"||Te>fe))return this.data({contrastRatio:Te}),true;var $e=Math.floor(Te*100)/100,ce,Me;be===null?Tt.get("colorParse")?(ce="colorParse",Me=Tt.get("colorParse")):ce=Tt.get("bgColor"):ke||(ce=Pe),De===null&&Tt.get("colorParse")&&(ce="colorParse",Me=Tt.get("colorParse"));var _e=$e===1,Oe=D.length===1;if(_e?ce=Tt.set("bgColor","equalRatio"):!ke&&Oe&&!a&&(ce="shortTextContent"),this.data({fgColor:De?De.toHexString():void 0,bgColor:be?be.toHexString():void 0,contrastRatio:$e,fontSize:"".concat((B*72/96).toFixed(1),"pt (").concat(B,"px)"),fontWeight:K?"bold":"normal",messageKey:ce,expectedContrastRatio:oe+":1",shadowColor:je?je.toHexString():void 0,colorParse:Me}),De===null||be===null||_e||Oe&&!a&&!ke){ce=null,Tt.clear(),this.relatedNodes(Le);return}return ke||this.relatedNodes(Le),ke}function WF(e,t){var r=t.pseudoSizeThreshold,n=r===void 0?.25:r,a=t.ignorePseudo,i=a===void 0?false:a;if(!i){var o=e.boundingClientRect,s=o.width*o.height*n;do{var c=Og(e.actualNode,":before"),f=Og(e.actualNode,":after");if(c+f>s)return e}while(e=e.parent)}}var Og=Ct(function(t,r){var n=u.getComputedStyle(t,r),a=function(c,f){return n.getPropertyValue(c)===f};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||Fn(n).alpha===0&&a("background-image","none"))return 0;var i=Ng(n.getPropertyValue("width")),o=Ng(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function XF(e){var t={nonBmp:true},r=Hl(e,t),n=Ke(Ya(e,t))==="";return r&&n}function Ng(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Ce(r,3),a=n[1],i=a===void 0?"":a,o=n[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var KF={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},JF={alert:true,alertdialog:true,application:true,article:true,banner:false,complementary:true,contentinfo:true,dialog:true,form:true,log:true,main:true,navigation:true,region:true,search:false,status:true,tabpanel:true};function YF(e){var t=e.nodeName.toUpperCase();return KF[t]||false}function ZF(e,t){var r=st(e);return r&&(JF[r]||t.roles.includes(r))||false}function QF(e,t){return ZF(e,t)||YF(e)}var eI=QF;function tI(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=Rl(n);return a&&this.data(n),a}var rI=tI;function nI(e,t,r){var n=rt(r,{noImplicit:true});this.data(n);var a,i;try{a=Ke(ql(r)).toLowerCase(),i=Ke(Jt(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var aI=nI;function iI(e,t,r){return $t(r)}var oI=iI;function sI(e,t,r){var n=nr(r.attr("role")),a=n.every(function(i){return !Xa(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var lI=sI;function uI(e,t,r){var n=st(r);if(n===null)return false;var a=Tr(n);return a==="widget"||a==="composite"}var cI=uI;function dI(e,t,r){var n=mn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var fI=dI;function mI(e,t){var r=Or(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function pI(e,t,r){var n=nr(r.attr("role"));return n.length<=1?false:mI(r,n)?void 0:true}var hI=pI;function gI(e,t,r){var n=rt(r,{dpub:true,fallback:true}),a=ht.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function bI(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(Ke(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):Ke(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function vI(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return Ke(Jt(r))!==""}catch{return}}function yI(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],c={"aria-controls":function(){var p=["false",null].includes(r.attr("aria-haspopup"))===false;return p&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&p===false},"aria-current":function(p){p||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(p){p||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(p){p||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(f){if(!(s.includes(f)||t.includes(f)||!o.test(f))){var p,b=r.attr(f);try{p=tg(r,f);}catch{n="".concat(f,'="').concat(b,'"'),a="idrefs";return}(!c[f]||c[f](p))&&!p&&(b===""&&!wI(f)?(n=f,a="empty"):i.push("".concat(f,'="').concat(b,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function wI(e){var t;return ((t=ht.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function xI(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&a.test(i)&&!zo(i)&&n.push(i);}),n.length?(this.data(n),false):true}var AI=xI;function _I(e,t,r){var n=r.attrNames.filter(function(a){var i=ht.ariaAttrs[a];if(!zo(a))return false;var o=i.unsupported;return ye(o)!=="object"?!!o:!Ka(e,o.exceptions)});return n.length?(this.data(n),true):false}var EI=_I;function DI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=rt(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var kI=DI;function qg(e,t,r,n){var a=st(e);if(r||(r=Eu(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=rt(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(a)&&r.push(a),r=r.filter(function(c){return c!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function SI(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=qt(e.getAttribute("id")),a=Qt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function CI(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=qg(r,n);if(!a)return true;var i=SI(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=qg(nt(i[o]),n,a,true),!a)return true}return this.data(a),false}var TI=CI;function RI(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=st(r,{dpub:true}),i=Du(a);if(i===null)return true;var o=FI(r,i),s=o.filter(function(f){var p=f.role,b=f.vNode;return b.props.nodeType===1&&!i.includes(p)});if(s.length){this.relatedNodes(s.map(function(f){var p=f.vNode;return p}));var c=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:c,values:s.map(function(f){var p=f.vNode,b=f.attr;return PI(p,b)}).filter(function(f,p,b){return b.indexOf(f)===p}).join(", ")}),false}if(II(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(n.includes(a)&&!o.some(MI)))return false}function FI(e,t){for(var r,n=[],a=Ja(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!Mt(r))return 1;var s=rt(r,{noPresentational:true}),c=LI(r),f=!!c||$t(r);if(!s&&!f||["group","rowgroup"].includes(s)&&t.some(function(b){return b===s}))a.push.apply(a,le(r.children));else if(s||f){var p=c||"tabindex";n.push({role:s,attr:p,vNode:r});}};r=a.shift();)i();return n}function II(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function LI(e){return mn().find(function(t){return e.hasAttr(t)})}function PI(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=st(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function MI(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Za(t,false,true)}function OI(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=st(n),i=n.attrNames,o=eg(a);if(Array.isArray(r[a])&&(o=ri(r[a],o)),!a||!i.length||!o.length||NI(n,a)||BI(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=pn(n),c=o.filter(function(f){return !n.attr(f)&&!qI(s,f)});return c.length?(this.data(c),false):true}function NI(e,t){return t==="separator"&&!$t(e)}function qI(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function BI(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function HI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t?.elementsAllowedAriaLabel||[],a=r.props.nodeName,i=rt(r,{chromium:true,fallback:true}),o=VI(r,i,a,n),s=o.filter(function(p){return r.attrNames.includes(p)?Ke(r.attr(p))!=="":false});if(s.length===0)return false;var c=i!==null?"hasRole":"noRole";c+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:a,messageKey:c,prohibited:s});var f=hn(r,{subtreeDescendant:true});if(Ke(f)==="")return true}function VI(e,t,r,n){var a=ht.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||Bg(e)==="widget"?[]:["aria-label","aria-labelledby"]}var Bg=Ct(function(t){if(t){var r=rt(t,{noPresentational:true,chromium:true});return r?Tr(r):Bg(t.parent)}});function $I(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var jI=$I;function zI(e,t,r){return r.attr("aria-hidden")!=="true"}var GI=zI;function UI(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(c){if(c.trim()==="")return ht.ariaAttrs["aria-errormessage"].allowEmpty;var f=nr(c);if(f.length>1)return this.data({messageKey:"unsupported",values:f}),false;var p;try{p=c&&Mr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:f});return}if(p){if(!Mt(p))return this.data({messageKey:"hidden",values:f}),false;var b=nr(r.attr("aria-describedby"));return st(p)==="alert"||p.getAttribute("aria-live")==="assertive"||p.getAttribute("aria-live")==="polite"||f.some(function(D){return b.includes(D)})}}return t.indexOf(n)===-1&&a?(this.data(nr(n)),s.call(this,n)):true}function Hg(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=a==null||(r=a.filter)===null||r===void 0?void 0:r.call(a,function(p){return i.hasAttr(p)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=WI(i),c=s&&rt(s);if(!c||c==="treegrid")return true;var f="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:f,invalidAttrs:o,ownerRole:c}),false}function WI(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return lr(e,t)}}function Vg(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=KI(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=XI(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function XI(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function KI(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var $g={row:Hg,checkbox:Vg};function JI(e,t,r){var n=rt(r);return $g[n]?$g[n].call(this,e,t,r):true}function YI(e,t,r){return r.attr("aria-busy")==="true"}function ZI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(f){return f.toLowerCase()}).includes(s))return true;var c=Kh(r,a);return c.length?(this.data(c),Mt(r)?false:void 0):true}var QI=ZI;function e3(e,t,r){var n=[],a=rt(r),i=Uh(a);Array.isArray(t[a])&&(i=ri(t[a].concat(i)));var o=dt(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;zo(c)&&!i.includes(c)&&!t3(c,r.attr(c),r)&&n.push(c);}}catch(f){o.e(f);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(f){return f+'="'+r.attr(f)+'"'})),!(!a&&!uu(r)&&!$t(r)))return false}function t3(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function r3(e,t,r){var n=pn(r);if(!n.allowedAriaAttrs)return true;var a=st(r);if(a)return true;var i=n.allowedAriaAttrs,o=mn(),s=[],c=dt(r.attrNames),f;try{for(c.s();!(f=c.n()).done;){var p=f.value;o.includes(p)&&!i.includes(p)&&s.push(p);}}catch(D){c.e(D);}finally{c.f();}if(!s.length)return true;var b=s.length>1?"plural":"singular";return this.data({messageKey:b,nodeName:r.props.nodeName,values:s.map(function(D){return D+'="'+r.attr(D)+'"'}).join(", ")}),false}function n3(e,t,r){var n=nr(r.attr("role")).filter(function(a){return Tr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var a3=n3;function i3(e){var t=Ln(e.getAttribute("lang")),r=Ln(e.getAttribute("xml:lang"));return Ho(t)&&Ho(r)}var o3=i3;function s3(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var l3=s3;function u3(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!lr(t,"svg")}catch{return false}}var Pu=u3;function c3(e,t){return d3.every(function(r){return r(e,t)})}var d3=[function(e,t){return jg(t)},function(e,t){return f3(t)},function(e,t){return !Pu(e,t)},function(e,t){return $t(t)},function(e,t){return xr(t)||!m3(t)},function(e){return !Wl(e,{noLengthCompare:true,includeInlineBlock:true})}];function jg(e){return Tr(e)==="widget"}function f3(e){return e.props.nodeName!=="area"}var m3=Ct(function e(t){return t!=null&&t.parent?jg(t.parent)&&xr(t.parent)?true:e(t.parent):false});function p3(e,t){var r=rt(t);return ["treegrid","grid","table"].includes(r)}function h3(e,t){var r=t.parent;if(r.props.nodeName!=="details"||g3(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function g3(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function b3(e){return Jl(e)&&fo(e)}var v3=b3;function y3(e,t){return Jr(e,13)!==void 0&&_u(t)===false&&w3(t)}function w3(e){var t=e.boundingClientRect;return fr(e,"*").some(function(r){if(!Za(r,true,true))return false;var n=[];if(Do(r)){var a;(a=n).push.apply(a,le(x3(r)));}else n=[r.boundingClientRect];return n.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function x3(e){var t=d.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function A3(e,t){return Or(t,{chromiumRoles:true})!==null}var _3=A3;function E3(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),n=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(n)||[]).length>=2)return false;var a=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return a.length!==0}var D3=E3;function k3(e,t){var r=st(t);if(!r||["none","presentation"].includes(r))return true;var n=rp[r]||{},a=n.accessibleNameRequired;return !!(a||$t(t))}var zg=k3,S3=function(t,r){return [zg,C3].every(function(n){return n(t,r)})};function C3(e){var t;if(!(e!=null&&(t=e.ownerDocument)!==null&&t!==void 0&&t.createRange))return true;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),r.getClientRects().length===0}function T3(e,t){return t.props.nodeName!=="html"}var R3=T3;function F3(e,t){return !t.attr("role")}var I3=F3;function L3(e,t){var r=Br(t.attr("tabindex"));return r===null||r>=0}var P3=L3;function M3(e,t){var r=pn(t),n=r.namingMethods;return !(n&&n.length!==0||st(t)==="combobox"&&fr(t,'input:not([type="hidden"])').length||_u(t,{popupRoles:["listbox"]}))}var O3=M3;function N3(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var q3=N3;function B3(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var H3=B3;function V3(e,t){var r=rt(t);return r?!!ht.ariaRoles[r].childrenPresentational:false}var $3=V3;function j3(e){var t=Ke(e.innerText),r=st(e);return r&&r!=="link"||!t||!ur(e)?false:Wl(e)}var z3=j3;function G3(e){return !$o(e)&&!$t(e)}var U3=G3;function W3(e,t){return X3(t)&&Mt(t)}function X3(e){var t=ta("landmark"),r=rt(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=Jt(e);return !!a}return t.indexOf(r)>=0||r==="region"}function K3(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Kn(t,r)}var J3=K3;function Y3(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===false)return true;var r=t.attr("type").toLowerCase();return ["hidden","image","button","submit","reset"].includes(r)===false}var Z3=Y3;function Q3(e,t){var r=rt(e);if(!r)return false;var n=ta("widget"),a=n.includes(r);if(!a)return false;var i=Au();return !(!i.includes(r)||!Ke(Wa(t))&&!Ke(Ua(e))||!Ke(Nr(t)))}var eL=Q3;function tL(e,t){return ur(t)}function rL(e){return ur(e)}function nL(e,t,r){return r.initiator}var Gg=nL;function aL(e){return jp(e)}var iL=aL;function oL(e,t){var r=!!Jt(t);if(!r)return false;var n=rt(e);return !(n&&n!=="link")}var sL=oL;function lL(e,t){return !Pu(e,t)}var uL=lL;function cL(e,t){return rt(t)==="heading"}function dL(e,t){return Or(t,{chromium:true})!==null}var fL=dL;function mL(e){var t=e.getAttribute("title");return !!Ke(t)}var pL=mL;function hL(e,t,r){var n,a;return !r.initiator&&!r.focusable&&((n=r.size)===null||n===void 0?void 0:n.width)*((a=r.size)===null||a===void 0?void 0:a.height)>1}var gL=hL;function bL(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !jo(e)&&n.every(function(a){return !$t(a)})}var vL=bL;function yL(e){return jo(e)}var wL=yL;function xL(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(qt(t),'"]'),n=Array.from(Qt(e).querySelectorAll(r));return !jo(e)&&n.some($t)}var AL=xL;function _L(e){return $o(e)}var EL=_L;function DL(e){if($o(e)){var t=Kr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var kL=DL;function SL(e,t){var r=t.props,n=r.nodeName,a=r.type;if(n==="option"||n==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(n==="input"&&i.includes(a)||si(t)||vo(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=u.getComputedStyle(e),c=parseInt(s.getPropertyValue("text-indent"),10);if(c){var f=e.getBoundingClientRect();if(f={top:f.top,bottom:f.bottom,left:f.left+c,right:f.right+c},!Yl(f,e))return false}return true}var p=Kn(t,"label");if(n==="label"||p){var b=p||e,D=p?nt(p):t;if(b.htmlFor){var L=Qt(b),B=L.getElementById(b.htmlFor),G=B&&nt(B);if(G&&si(G))return false}var K='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',Y=fr(D,K)[0];if(Y&&si(Y))return false}for(var Z=[],ie=t;ie;){if(ie.props.id){var oe=xu(ie).filter(function(De){return nr(De.getAttribute("aria-labelledby")||"").includes(ie.props.id)}).map(function(De){return nt(De)});Z.push.apply(Z,le(oe));}ie=ie.parent;}if(Z.length>0&&Z.every(si)||!RL(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var ue=d.createRange(),fe=t.children,ge=0;ge<fe.length;ge++){var we=fe[ge];we.actualNode.nodeType===3&&Ke(we.actualNode.nodeValue)!==""&&ue.selectNodeContents(we.actualNode);}var Le=Array.from(ue.getClientRects()),be=$a(t);return Le.some(function(De){var Te=Yl(De,e);if(!be.length)return Te;var Pe=be.some(function(je){return hl(De,je.boundingClientRect)});return Te&&Pe})}var CL=SL,TL={emoji:true,nonBmp:false,punctuations:true};function RL(e){var t=Nr(e,false,true);return t===""||Ya(t,TL)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Vl(r)})}function FL(e,t,r){return Gg(e,t,r)?!!e.querySelector("a[href]"):true}var IL=FL;function LL(e,t){var r=t.attr("autocomplete");if(!r||Ke(r)==="")return false;var n=t.props.nodeName;if(["textarea","input","select"].includes(n)===false)return false;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||a.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(n==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=st(t),c=Br(t.attr("tabindex"));if(c<0&&t.hasAttr("role")){var f=ht.ariaRoles[s];if(f===void 0||f.type!=="widget")return false}return !(c<0&&t.actualNode&&!ur(t)&&!Mt(t))}var PL=LL;function ML(e,t){var r=st(t);return !!Eu(r)}var OL=ML;function NL(e,t){var r=st(t,{dpub:true});return !!Du(r)}var qL=NL;function Ug(e){return e?e.getAttribute("aria-hidden")==="true"?false:Ug(Kt(e)):true}function BL(e){return Ug(Kt(e))}var HL=BL;function VL(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var $L=VL;function jL(e,t){return st(t,{dpub:true,fallback:true})!==null}var zL=jL;function GL(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var UL=GL,WL={"abstractrole-evaluate":a3,"accesskeys-after":AF,"accesskeys-evaluate":wF,"alt-space-value-evaluate":Q5,"aria-allowed-attr-elm-evaluate":r3,"aria-allowed-attr-evaluate":e3,"aria-allowed-attr-matches":UL,"aria-allowed-role-evaluate":QI,"aria-allowed-role-matches":zL,"aria-busy-evaluate":YI,"aria-conditional-attr-evaluate":JI,"aria-conditional-checkbox-attr-evaluate":Vg,"aria-conditional-row-attr-evaluate":Hg,"aria-errormessage-evaluate":UI,"aria-has-attr-matches":$L,"aria-hidden-body-evaluate":GI,"aria-hidden-focus-matches":HL,"aria-label-evaluate":FT,"aria-labelledby-evaluate":TT,"aria-level-evaluate":jI,"aria-prohibited-attr-evaluate":HI,"aria-required-attr-evaluate":OI,"aria-required-children-evaluate":RI,"aria-required-children-matches":qL,"aria-required-parent-evaluate":TI,"aria-required-parent-matches":OL,"aria-roledescription-evaluate":kI,"aria-unsupported-attr-evaluate":EI,"aria-valid-attr-evaluate":AI,"aria-valid-attr-value-evaluate":yI,"attr-non-space-content-evaluate":MF,"autocomplete-appropriate-evaluate":BF,"autocomplete-matches":PL,"autocomplete-valid-evaluate":NF,"avoid-inline-spacing-evaluate":ST,"braille-label-equivalent-evaluate":vI,"braille-roledescription-equivalent-evaluate":bI,"bypass-matches":IL,"caption-evaluate":m5,"caption-faked-evaluate":cT,"color-contrast-evaluate":UF,"color-contrast-matches":CL,"css-orientation-lock-evaluate":i5,"data-table-large-matches":kL,"data-table-matches":EL,"deprecatedrole-evaluate":gI,"dlitem-evaluate":E5,"doc-has-title-evaluate":DT,"duplicate-id-active-matches":AL,"duplicate-id-after":MT,"duplicate-id-aria-matches":wL,"duplicate-id-evaluate":LT,"duplicate-id-misc-matches":vL,"duplicate-img-label-evaluate":Y5,"exists-evaluate":_T,"explicit-evaluate":K5,"fallbackrole-evaluate":hI,"focusable-content-evaluate":vF,"focusable-disabled-evaluate":gF,"focusable-element-evaluate":pF,"focusable-modal-open-evaluate":fF,"focusable-no-name-evaluate":cF,"focusable-not-tabbable-evaluate":lF,"frame-focusable-content-evaluate":oF,"frame-focusable-content-matches":gL,"frame-tested-after":d5,"frame-tested-evaluate":u5,"frame-title-has-text-matches":pL,"has-alt-evaluate":xT,"has-descendant-after":LF,"has-descendant-evaluate":FF,"has-global-aria-attribute-evaluate":fI,"has-implicit-chromium-role-matches":fL,"has-lang-evaluate":R5,"has-text-content-evaluate":TF,"has-widget-role-evaluate":cI,"heading-matches":cL,"heading-order-after":HR,"heading-order-evaluate":BR,"help-same-as-label-evaluate":W5,"hidden-content-evaluate":vC,"hidden-explicit-label-evaluate":G5,"html-namespace-matches":uL,"html5-scope-evaluate":lT,"identical-links-same-purpose-after":OR,"identical-links-same-purpose-evaluate":PR,"identical-links-same-purpose-matches":sL,"implicit-evaluate":j5,"inline-style-property-evaluate":vT,"inserted-into-focus-order-matches":iL,"internal-link-present-evaluate":nR,"invalid-children-evaluate":w5,"invalidrole-evaluate":lI,"is-element-focusable-evaluate":oI,"is-initiator-matches":Gg,"is-on-screen-evaluate":bT,"is-visible-matches":rL,"is-visible-on-screen-matches":tL,"label-content-name-mismatch-evaluate":V5,"label-content-name-mismatch-matches":eL,"label-matches":Z3,"landmark-has-body-context-matches":J3,"landmark-is-top-level-evaluate":iF,"landmark-is-unique-after":P5,"landmark-is-unique-evaluate":I5,"landmark-unique-matches":W3,"layout-table-matches":U3,"link-in-text-block-evaluate":GF,"link-in-text-block-matches":z3,"link-in-text-block-style-evaluate":VF,"listitem-evaluate":y5,"matches-definition-evaluate":CF,"meta-refresh-evaluate":tR,"meta-viewport-scale-evaluate":n5,"multiple-label-evaluate":q5,"nested-interactive-matches":$3,"no-autoplay-audio-evaluate":s5,"no-autoplay-audio-matches":H3,"no-empty-role-matches":q3,"no-explicit-name-required-matches":zg,"no-focusable-content-evaluate":rF,"no-implicit-explicit-label-evaluate":aI,"no-naming-method-matches":O3,"no-negative-tabindex-matches":P3,"no-role-matches":I3,"non-empty-if-present-evaluate":hT,"not-html-matches":R3,"object-is-loaded-matches":S3,"only-dlitems-evaluate":v5,"only-listitems-evaluate":b5,"p-as-heading-evaluate":ZT,"p-as-heading-matches":D3,"page-no-duplicate-after":kF,"page-no-duplicate-evaluate":EF,"presentation-role-conflict-matches":_3,"presentational-role-evaluate":mT,"region-after":XT,"region-evaluate":jT,"same-caption-summary-evaluate":aT,"scope-value-evaluate":nT,"scrollable-region-focusable-matches":y3,"skip-link-evaluate":VT,"skip-link-matches":v3,"structured-dlitems-evaluate":h5,"summary-interactive-matches":h3,"svg-namespace-matches":Pu,"svg-non-empty-title-evaluate":fT,"tabindex-evaluate":tF,"table-or-grid-role-matches":p3,"target-offset-evaluate":e5,"target-size-evaluate":UR,"td-has-header-evaluate":tT,"td-headers-attr-evaluate":QC,"th-has-data-cells-evaluate":ZC,"title-only-evaluate":O5,"unique-frame-title-after":BT,"unique-frame-title-evaluate":NT,"unsupportedrole-evaluate":rI,"valid-lang-evaluate":C5,"valid-scrollable-semantics-evaluate":eI,"widget-not-inline-matches":c3,"window-is-top-matches":l3,"xml-lang-mismatch-evaluate":k5,"xml-lang-mismatch-matches":o3},Ko=WL;function XL(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Mu=XL;function Ou(e){if(typeof e=="string"){if(Ko[e])return Ko[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function Wg(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||ye(e)!=="object")&&(e={value:e}),e}function na(e){e&&(this.id=e.id,this.configure(e));}na.prototype.enabled=true,na.prototype.run=function(t,r,n,a,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var c=new Mu(this),f=Qs(c,r,a,i),p;try{p=this.evaluate.call(f,t.actualNode,s,t,n);}catch(b){t&&t.actualNode&&(b.errorNode=wr.toSpec(t)),i(b);return}f.isAsync||(c.result=p,a(c));}else a(null);},na.prototype.runSync=function(t,r,n){r=r||{};var a=r,i=a.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),c=new Mu(this),f=Qs(c);f.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var p;try{p=this.evaluate.call(f,t.actualNode,s,t,n);}catch(b){throw t&&t.actualNode&&(b.errorNode=wr.toSpec(t)),b}return c.result=p,c},na.prototype.configure=function(t){var r=this;(!t.evaluate||Ko[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=Wg(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=Ou(t[n])});},na.prototype.getOptions=function(t){return this._internalCheck?fl(this.options,Wg(t||{})):t||this.options};var Xg=na;function KL(e){this.id=e.id,this.result=tt.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Jo=KL;function or(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(pt(tt.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:true,this.enabled=typeof e.enabled=="boolean"?e.enabled:true,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:false,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:false,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=Ou(e.matches));}or.prototype.matches=function(){return true},or.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="mark_gather_start_"+this.id,a="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&bt.mark(n);var s=hu(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&bt.mark(i),s=s.filter(function(c){return Mt(c)}),r.performanceTimer&&(bt.mark(o),bt.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(bt.mark(a),bt.measure("rule_"+this.id+"#gather",n,a)),s},or.prototype.runChecks=function(t,r,n,a,i,o){var s=this,c=Pr();this[t].forEach(function(f){var p=s._audit.checks[f.id||f],b=Io(p,s.id,n);c.defer(function(D,L){p.run(r,b,a,D,function(B){L(new qo({ruleId:s.id,method:"".concat(p.id,"#evaluate"),errorNode:new yr(r),error:B}));});});}),c.then(function(f){f=f.filter(function(p){return p}),i({type:t,results:f});}).catch(o);},or.prototype.runChecksSync=function(t,r,n,a){var i=this,o=[];return this[t].forEach(function(s){var c=i._audit.checks[s.id||s],f=Io(c,i.id,n);o.push(c.runSync(r,f,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},or.prototype.run=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o=Pr(),s=new Jo(this),c;try{c=this.gatherAndMatchNodes(t,n);}catch(f){i(f);return}n.performanceTimer&&this._logGatherPerformance(c),c.forEach(function(f){o.defer(function(p,b){var D=Pr();["any","all","none"].forEach(function(L){D.defer(function(B,G){r.runChecks(L,f,n,t,B,G);});}),D.then(function(L){var B=Kg(L);B&&(B.node=new yr(f),s.nodes.push(B),r.reviewOnFail&&(["any","all"].forEach(function(G){B[G].forEach(function(K){K.result===false&&(K.result=void 0);});}),B.none.forEach(function(G){G.result===true&&(G.result=void 0);}))),p();}).catch(function(L){return b(L)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(f){n.performanceTimer&&r._logRulePerformance(),i(f);});},or.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Jo(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(f){s.push(r.runChecksSync(f,o,n,t));});var c=Kg(s);c&&(c.node=o.actualNode?new yr(o):null,a.nodes.push(c),r.reviewOnFail&&(["any","all"].forEach(function(f){c[f].forEach(function(p){p.result===false&&(p.result=void 0);});}),c.none.forEach(function(f){f.result===true&&(f.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},or.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id;},or.prototype._logGatherPerformance=function(t){Dn("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(bt.timeElapsed(),"ms")),bt.mark(this._markChecksStart);},or.prototype._logRulePerformance=function(){bt.mark(this._markChecksEnd),bt.mark(this._markEnd),bt.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),bt.measure("rule_"+this.id,this._markStart,this._markEnd);};function Kg(e){if(e.length){var t=false,r={};return e.forEach(function(n){var a=n.results.filter(function(i){return i});r[n.type]=a,a.length&&(t=true);}),t?r:null}}or.prototype.gatherAndMatchNodes=function(t,r){var n=this,a="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&bt.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(c){throw new qo({ruleId:n.id,method:"#matches",errorNode:new yr(s),error:c})}}),r.performanceTimer&&(bt.mark(i),bt.measure("rule_"+this.id+"#matches",a,i)),o};function JL(e){return oo(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function YL(e,t){var r=[];return e.forEach(function(n){var a=oo(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function ZL(e){return e.filter(function(t){return t.filtered!==true})}function QL(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=ZL(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}or.prototype.after=function(t,r){var n=this,a=JL(this);return a.forEach(function(i){var o=YL(t.nodes,i.id),s=Io(i,n.id,r),c;try{c=i.after(o,s.options);}catch(p){var f;throw new qo({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(f=t.nodes)===null||f===void 0||(f=f[0])===null||f===void 0?void 0:f.node,error:p})}n.reviewOnFail&&c.forEach(function(p){var b=(n.any.includes(p.id)||n.all.includes(p.id))&&p.result===false,D=n.none.includes(p.id)&&p.result===true;(b||D)&&(p.result=void 0);}),o.forEach(function(p){delete p.node,c.indexOf(p)===-1&&(p.filtered=true);});}),t.nodes=QL(t),t},or.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:true),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:true),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:false),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:false),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=Ou(t.matches)),t.impact&&(pt(tt.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var aa=/\{\{.+?\}\}/g,eP=(function(){function e(t){Pt(this,e),this.lang="en",this.defaultConfig=t,this.standards=ht,this._init(),this._defaultLocale=null;}return Ue(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},n=Object.keys(this.data.checks),a=0;a<n.length;a++){var i=n[a],o=this.data.checks[i],s=o.messages,c=s.pass,f=s.fail,p=s.incomplete;r.checks[i]={pass:c,fail:f,incomplete:p};}for(var b=Object.keys(this.data.rules),D=0;D<b.length;D++){var L=b[D],B=this.data.rules[L],G=B.description,K=B.help;r.rules[L]={description:G,help:K};}for(var Y=Object.keys(this.data.failureSummaries),Z=0;Z<Y.length;Z++){var ie=Y[Z],oe=this.data.failureSummaries[ie],ue=oe.failureMessage;r.failureSummaries[ie]={failureMessage:ue};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=rP(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=nP(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=aP(this.data.failureSummaries[i],r[i]);}}},{key:"applyLocale",value:function(r){this._setDefaultLocale(),r.checks&&this._applyCheckLocale(r.checks),r.rules&&this._applyRuleLocale(r.rules),r.failureSummaries&&this._applyFailureSummaries(r.failureSummaries,"failureSummaries"),r.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=iP(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=Yg();this.allowedOrigins=[];var a=dt(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===tt.allOrigins){this.allowedOrigins=["*"];return}else o!==tt.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=tP(this.defaultConfig);this.lang=r.lang||"en",this.reporter=r.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=r.noHtml,this.allowedOrigins=r.allowedOrigins,Zg(r.rules,this,"addRule"),Zg(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new or(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;ye(n)==="object"&&(this.data.checks[r.id]=n,ye(n.messages)==="object"&&Object.keys(n.messages).filter(function(a){return n.messages.hasOwnProperty(a)&&typeof n.messages[a]=="string"}).forEach(function(a){n.messages[a].indexOf("function")===0&&(n.messages[a]=new Function("return "+n.messages[a]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new Xg(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),yr.setRunOptions(n),m._selectCache=[];var o=oP(this.rules,r,n),s=o.now,c=o.later,f=Pr();s.forEach(function(D){f.defer(Qg(D,r,n));});var p=Pr();c.length&&p.defer(function(D){Eh(n).then(function(L){return D(L)}).catch(function(L){console.warn("Couldn't load preload assets: ",L),D(void 0);});});var b=Pr();b.defer(f),b.defer(p),b.then(function(D){var L=D.pop();if(L&&L.length){var B=L[0];B&&(r=te({},r,B));}var G=D[0];if(!c.length){m._selectCache=void 0,a(G.filter(function(Y){return !!Y}));return}var K=Pr();c.forEach(function(Y){var Z=Qg(Y,r,n);K.defer(Z);}),K.then(function(Y){m._selectCache=void 0,a(G.concat(Y).filter(function(Z){return !!Z}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=Ha(a,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,n)}catch(s){if(n.debug)throw s;return e1(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(n){return n.id===r})}},{key:"normalizeOptions",value:function(r){var n=this,a=[],i=[];if(n.rules.forEach(function(p){i.push(p.id),p.tags.forEach(function(b){a.includes(b)||a.push(b);});}),["object","string"].includes(ye(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(p){return a.includes(p)}),s=r.runOnly.find(function(p){return i.includes(p)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var c=r.runOnly;if(c.value&&!c.values&&(c.values=c.value,delete c.value),!Array.isArray(c.values)||c.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(c.type))c.type="rule",c.values.forEach(function(p){if(!i.includes(p))throw new Error("unknown rule `"+p+"` in options.runOnly")});else if(["tag","tags",void 0].includes(c.type)){c.type="tag";var f=c.values.filter(function(p){return !a.includes(p)&&!/wcag2[1-3]a{1,3}/.test(p)});f.length!==0&&m.log("Could not find tags `"+f.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(c.type,"'"))}return ye(r.rules)==="object"&&Object.keys(r.rules).forEach(function(p){if(!i.includes(p))throw new Error("unknown rule `"+p+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(m.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===t1(n,i.id,a))&&(o.helpUrl=t1(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),Jg=eP;function Yg(){if(u.origin&&u.origin!=="null")return u.origin;if(u.location&&u.location.origin&&u.location.origin!=="null")return u.location.origin}function tP(e){var t;if(e?(t=Ur(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=Yg();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=te({checks:{},rules:{}},t.data),t}function Zg(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var rP=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&aa.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&aa.test(a)&&(a=an.default.compile(a)),te({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:ye(t.messages.incomplete)==="object"?te({},t.messages.incomplete,r.incomplete):r.incomplete}})},nP=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&aa.test(n)&&(n=an.default.compile(n)),typeof a=="string"&&aa.test(a)&&(a=an.default.compile(a)),te({},t,{help:n||t.help,description:a||t.description})},aP=function(t,r){var n=r.failureMessage;return typeof n=="string"&&aa.test(n)&&(n=an.default.compile(n)),te({},t,{failureMessage:n||t.failureMessage})},iP=function(t,r){return typeof r=="string"&&aa.test(r)&&(r=an.default.compile(r)),r||t};function oP(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Th(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function Qg(e,t,r){return r.performanceTimer&&bt.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(i){return n(i)},function(i){r.debug?a(i):n(e1(e,i));});}}function e1(e,t){var r=t.errorNode,n=No(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new yr(d.documentElement);return Object.assign(new Jo(e),{error:n,result:tt.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function t1(e,t,r){var n=e.brand,a=e.application,i=e.lang;return tt.helpUrlBase+n+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function r1(e){var t=u&&"Node"in u&&"NodeList"in u,r=!!d;if(!(t&&r)){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(et.set("globalDocumentSet",true),d=e.ownerDocument),t||(et.set("globalWindowSet",true),u=d.defaultView);}}function sP(){et.get("globalDocumentSet")&&(et.set("globalDocumentSet",false),d=null),et.get("globalWindowSet")&&(et.set("globalWindowSet",false),u=null);}function lP(){sP(),m._memoizedFns.forEach(function(e){return e.clear()}),et.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var vn=lP;function n1(e,t,r,n){try{e=new Lo(e),m._tree=e.flatTree,m._selectorData=Qi(e.flatTree);}catch(o){return vn(),n(o)}var a=Pr(),i=m._audit;t.performanceTimer&&bt.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){hm(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&bt.auditEnd();var s=so(o.map(function(c){return {results:c}}));e.initiator&&(t.performanceTimer&&bt.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(bt.mark("auditAfterEnd"),bt.measure("audit.after","auditAfterStart","auditAfterEnd"),bt.logMeasures("audit.after")),s.forEach(Oo),s=s.map(xa));try{r(s,vn);}catch(c){vn(),Dn(c);}}catch(c){vn(),n(c);}}).catch(function(o){vn(),n(o);});}function uP(e){m._audit=new Jg(e);}function cP(e,t,r){var n=r,a=function(c){c instanceof Error||(c=new Error(c)),r(c);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[d]);var o=e&&e.options||{};switch(e.command){case "rules":return n1(i,o,function(s,c){s=wr.mapRawResults(s),n(s),c();},a);case "cleanup-plugin":return qh(n,a);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}u.top!==u&&(Cr.subscribe("axe.start",cP),Cr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ui(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}ui.prototype.run=function(){return this._run.apply(this,arguments)},ui.prototype.collect=function(){return this._collect.apply(this,arguments)},ui.prototype.cleanup=function(t){var r=m.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ui.prototype.add=function(t){this._registry[t.id]=t;};function dP(e){m.plugins[e.id]=new ui(e);}var fP=dP;function mP(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),IE();}var pP=mP;function hP(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||m._audit.reporter||"v1",m._selectorData={},t instanceof Xt||(t=new Nh(t));var n=ch(e);if(!n)throw new Error("unknown rule `"+e+"`");n=Object.create(n,{excludeHidden:{value:false}});var a={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=n.runSync(a,r);Oo(i),xa(i);var o=Dd([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(c){c.failureSummary=nu(c);})}),te({},gn(),o,{toolOptions:r})}function a1(e){var t,r,n,a=Ce(e,3),i=a[0],o=a[1],s=a[2],c=new TypeError("axe.run arguments are invalid");if(!ph(i)){if(s!==void 0)throw c;s=o,o=i,i=d;}if(ye(o)!=="object"){if(s!==void 0)throw c;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw c;return o=Ur(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var Nu=function(){};function gP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];r1(t[0]);var n=a1(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?Nu:o,c=bP(s),f=c.thenable,p=c.resolve,b=c.reject;try{pt(m._audit,"No audit configured"),pt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(B){return yP(B,s)}m._running=true,i.performanceTimer&&bt.start();function D(B,G){var K=function(ie){i.performanceTimer&&(bt.mark("reporterEnd"),bt.measure("reporter","reporterStart","reporterEnd"),bt.logMeasures("reporter"),bt.end()),m._running=false,G();try{p(ie);}catch(oe){m.log(oe);}},Y=function(ie){m._running=false,G();try{b(ie);}catch(oe){m.log(oe);}};try{i.performanceTimer&&bt.mark("reporterStart"),vP(B,i,K,Y);}catch(Z){Y(Z);}}function L(B){i.performanceTimer&&bt.end(),m._running=false,s(B),b(B);}return m._runRules(a,i,D,L),f}function bP(e){var t,r,n;return typeof Promise=="function"&&e===Nu?t=new Promise(function(a,i){r=i,n=a;}):(n=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:n}}function vP(e,t,r,n){var a=vu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function yP(e,t){if(typeof t=="function"&&t!==Nu){t(e.message);return}throw e}function wP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=a1(t),a=n.options,i=n.context;pt(m._audit,"Axe is not configured. Audit is missing."),pt(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var o=new Lo(i,m._tree);return m._tree=o.flatTree,m._selectorData=Qi(o.flatTree),m._running=true,a.elementRef=false,new Promise(function(s,c){m._audit.run(o,a,s,c);}).then(function(s){s=wr.mapRawResults(s);var c=o.frames.map(function(p){var b=p.node;return wr.toSpec(b)}),f;return o.initiator&&(f=gn()),m._running=false,vn(),{results:s,frames:c,environmentData:f}}).catch(function(s){return m._running=false,vn(),Promise.reject(s)})}function xP(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Ur(a);var i=e.find(function(c){return c.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=m._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",AP(e);var s=so(e);return s=m._audit.after(s,a),s.forEach(Oo),s=s.map(xa),EP(s,te({environmentData:o},a))}function AP(e){var t=[],r=dt(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,i=t.shift();if(a){a.frameSpec=i??null;var o=_P(a);t.unshift.apply(t,le(o));}}}catch(s){r.e(s);}finally{r.f();}}function _P(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return wr.mergeSpecs(n,r)}):t}function EP(e,t){return new Promise(function(r,n){var a=vu(t.reporter);a(e,t,r,n);})}function DP(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&ye(e.documentElement)==="object"&&ye(e.defaultView)==="object"&&(e=e.documentElement),r1(e),m._tree=tu(e),m._selectorData=Qi(m._tree),m._tree[0]}var kP=DP,SP=function(t,r,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,q);n(te({},gn(i),{toolOptions:o},ti(t,r)));},CP=SP,TP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,X);r.resultTypes=["violations"];var s=ti(t,r),c=s.violations;n(te({},gn(i),{toolOptions:o,violations:c}));},RP=TP,FP=function(t,r,n){if(typeof r=="function"&&(n=r,r={}),!t||!Array.isArray(t))return n(t);var a=t.map(function(i){for(var o=te({},i),s=["passes","violations","incomplete","inapplicable"],c=0,f=s;c<f.length;c++){var p=f[c];o[p]=wr.mapRawNodeResults(o[p]);}return o});n(a);},i1=FP,IP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,P);i1(t,o,function(s){var c=gn(i);n({raw:s,env:c});});},LP=IP,PP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,F),s=ti(t,r),c=function(p){p.nodes.forEach(function(b){b.failureSummary=nu(b);});};s.incomplete.forEach(c),s.violations.forEach(c),n(te({},gn(i),{toolOptions:o},s));},MP=PP,OP=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=W(a,I),s=ti(t,r);n(te({},gn(i),{toolOptions:o},s));},NP=OP,qP={base:{Audit:Jg,CheckResult:Mu,Check:Xg,Context:Lo,RuleResult:Jo,Rule:or,metadataFunctionMap:Ko},public:{reporters:ni},helpers:{failureSummary:nu,incompleteFallbackMessage:au,processAggregate:ti},utils:{setDefaultFrameMessenger:um,cacheNodeSelectors:rh,getNodesMatchingExpression:eh,convertSelector:to},commons:{dom:{nativelyHidden:ym,displayHidden:wm,visibilityHidden:xm,contentVisibiltyHidden:Am,ariaHidden:_m,opacityHidden:Em,scrollHidden:Dm,overflowHidden:km,clipHidden:Sm,areaHidden:gl,detailsHidden:Cm}}},BP=qP;m._thisWillBeDeletedDoNotUse=BP,m.constants=tt,m.log=Dn,m.AbstractVirtualNode=Xt,m.SerialVirtualNode=Nh,m.VirtualNode=Zl,m._cache=et,m.imports=Td,m.cleanup=qh,m.configure=mC,m.frameMessenger=pC,m.getRules=gC,m._load=uP,m.plugins={},m.registerPlugin=fP,m.hasReporter=Hh,m.getReporter=vu,m.addReporter=dC,m.reset=pP,m._runRules=n1,m.runVirtualRule=hP,m.run=gP,m.setup=kP,m.teardown=vn,m.runPartial=wP,m.finishRun=xP,m.commons=lg,m.utils=Ds,m.addReporter("na",CP),m.addReporter("no-passes",RP),m.addReporter("rawEnv",LP),m.addReporter("raw",i1),m.addReporter("v1",MP),m.addReporter("v2",NP,true);}))(),m._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:`Element's default semantics were not overridden with role="none" or role="presentation"`,globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="none"`,fail:`Element's default semantics were not overridden with role="none"`}},"role-presentation":{impact:"minor",messages:{pass:`Element's default semantics were overridden with role="presentation"`,fail:`Element's default semantics were not overridden with role="presentation"`}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(he){var Ee="Fix any of the following:",Ae=he;if(Ae)for(var Ge,ct=-1,gt=Ae.length-1;ct<gt;)Ge=Ae[ct+=1],Ee+=`
|
|
431
431
|
`+Ge.split(`
|
|
432
432
|
`).join(`
|
|
433
433
|
`);return Ee}},none:{failureMessage:function(he){var Ee="Fix all of the following:",Ae=he;if(Ae)for(var Ge,ct=-1,gt=Ae.length-1;ct<gt;)Ge=Ae[ct+=1],Ee+=`
|
|
@@ -829,6 +829,8 @@ impact: moderate
|
|
|
829
829
|
evidence: heading
|
|
830
830
|
where: linkTitle=false
|
|
831
831
|
vision: false
|
|
832
|
+
status: below-bar
|
|
833
|
+
note: Opt-in (Sid, 2026-11-11). Live sweep 2026-11-10/11 (16 control sites, alibaba/qwen3.8-flash, 3 runs): new weak_heading findings on 5 sites, mostly false positives (slogans, sr-only headings, card titles). Runs only when named in \`aspects\` or \`judge.rubrics\`.
|
|
832
834
|
---
|
|
833
835
|
## Aspect
|
|
834
836
|
A heading must describe the topic or purpose of the content it introduces (WCAG 2.4.6 Headings and Labels).
|
|
@@ -1015,7 +1017,7 @@ Rules:
|
|
|
1015
1017
|
Respond with ONLY a JSON array, one object per item, same ids:
|
|
1016
1018
|
[{"id": "...", "verdict": "pass" | "violation", "reason": "one sentence", "fix": {"attribute": "...", "value": "..."}}]
|
|
1017
1019
|
Omit "fix" for passes.`;On=l=>Math.round(l*100)/100;uN=[1,.6,.35];});var Kv={};mr(Kv,{dismissModals:()=>pN});async function pN(l){await l.evaluate(u=>{for(let h of u){let d=document.querySelectorAll(h);for(let m of d)if(m.offsetParent!==null){m.click();return}}},mN),await new Promise(u=>setTimeout(u,500));}var mN,Jv=Fe(()=>{mN=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var os={};mr(os,{focusOnlyObscuredIndexes:()=>yN,resetInteractionState:()=>hN,restoreInteractionState:()=>bN,snapshotInteractionState:()=>gN});async function hN(l){try{await l.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function gN(l){try{await l.evaluate(()=>{let u=window;u.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function bN(l){try{await l.evaluate(()=>{let u=window,h=u.__waCallerState;if(delete u.__waCallerState,!h)return;let d=h.el;if(d&&d!==document.body&&d!==document.documentElement&&d.isConnected)try{d.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:h.x,top:h.y,behavior:"instant"});}catch{}});}catch{}}function vN(l){if(typeof l=="string")return l;if(!Array.isArray(l))return null;let u=l.flat(1/0).filter(h=>typeof h=="string");return u.length===1?u[0]:null}async function yN(l,u){let h=u.map(w=>{let E=[...w.any??[],...w.none??[]].flatMap(_=>_.relatedNodes??[]);if(!E.length)return null;let k=E.map(_=>vN(_.target));return k.every(_=>!!_)?k:null}),d=Array.from(new Set(h.flatMap(w=>w??[])));if(!d.length)return new Set;let m={};try{m=await l.evaluate(({sels:w,own:x})=>{let E=_=>{let y=_.getBoundingClientRect(),A=getComputedStyle(_);return !!((y.width<=1||y.height<=1)&&(A.overflow==="hidden"||A.position==="absolute"||A.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(A.clip||"")||/inset\(\s*50%/.test(A.clipPath||""))},k={};for(let _ of w){let y=null;try{y=document.querySelector(_);}catch{y=null;}if(!y){k[_]=!1;continue}let A=y.closest(x);if(A&&A!==document.body&&A!==document.documentElement){k[_]=!0;continue}if(y===document.activeElement){try{y.blur();}catch{}k[_]=E(y);continue}k[_]=E(y);}return k},{sels:d,own:da});}catch{return new Set}let g=new Set;return h.forEach((w,x)=>{w&&w.length&&w.every(E=>m[E]===true)&&g.add(x);}),g}var ss=Fe(()=>{pr();});var Nn={};mr(Nn,{dedupeByElementIdentity:()=>EN,deduplicateIssues:()=>wN});function wN(l){let u=new Map,h=[...l].sort((d,m)=>{let g={webability:0,"axe-core":1,"deep-analysis":2},w=g[d.source]??3,x=g[m.source]??3;return w-x});for(let d of h){let m=xN(d);u.has(m)?!u.get(m).fix?.suggestedValue&&d.fix?.suggestedValue&&u.set(m,d):u.set(m,d);}return Array.from(u.values())}function xN(l){let u=l.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),h=l.wcag||"";return u&&h?`${u}::${h}`:`${l.type}::${u||l.id}`}async function EN(l,u){if(u.length<2)return u;let h=Array.from(new Set(u.map(_=>_.selector).filter(Boolean))),d;try{d=await l.evaluate(_=>{let y=Array.from(document.querySelectorAll("*")),A=new Map;y.forEach((S,C)=>A.set(S,C));let v={};for(let S of _){let C=null;try{C=document.querySelector(S);}catch{}if(!C){let N=S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(N!==S)try{C=document.querySelector(N);}catch{}}if(C){let N=C.closest("table");v[S]={el:A.get(C),table:N?A.get(N):-1,doc:C===document.documentElement||C===document.body};}}return v},h);}catch{return u}let m={webability:0,"axe-core":1,"deep-analysis":2},g=_=>{let y=d[_.selector];if(!y)return null;let A=_.wcag||_.type;return y.doc?{key:_N.has(_.wcag||"")?`doc::${A}`:`doc::${A}::${_.type}`,owner:true}:y.table>=0&&AN.test(_.type)?{key:`${y.table}::${A}::table-headers`,owner:y.el===y.table}:ls.has(_.type)?{key:`${y.el}::accessible-name`,owner:true}:{key:`${y.el}::${A}`,owner:true}},w=[...u].sort((_,y)=>{let A=g(_),v=g(y),S=A?.owner?0:1,C=v?.owner?0:1,N=ls.has(_.type)&&ls.has(y.type),T=N&&_.confidence==="needs_review"?1:0,H=N&&y.confidence==="needs_review"?1:0,R=N?Zv(_.type)-Zv(y.type):0;return S-C||T-H||(m[_.source]??3)-(m[y.source]??3)||R}),x=new Map,E=[];for(let _ of w){let y=g(_);if(!y){E.push(_);continue}let A=x.get(y.key);A?!ls.has(A.type)&&!A.fix?.suggestedValue&&_.fix?.suggestedValue&&(g(A)?.owner??true)===y.owner&&x.set(y.key,_):x.set(y.key,_);}let k=new Set([...x.values(),...E]);return u.filter(_=>k.has(_))}var AN,_N,ls,Yv,Zv,qn=Fe(()=>{AN=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,_N=new Set(["2.4.1","3.1.1","2.4.2"]),ls=new Set(["missing_label","label","select-name","aria-input-field-name","empty_link","link-name","missing_alt","image-alt","background_image_unlabeled","unlabeled_button","button-name","input-button-name","svg_missing_name","svg-img-alt","role-img-alt"]),Yv=["background_image_unlabeled","unlabeled_button","missing_label","empty_link","missing_alt","svg_missing_name"],Zv=l=>{let u=Yv.indexOf(l);return u<0?Yv.length:u};});var ty={};mr(ty,{parseGif:()=>Qv,playsOverFiveSeconds:()=>ey,verifyAnimatedGifs:()=>DN});function Qv(l){if(String.fromCharCode(l[0]??0,l[1]??0,l[2]??0)!=="GIF")return null;let h=13,d=l[10]??0;d&128&&(h+=3*(1<<(d&7)+1));let m=0,g=0,w=0,x=null,E=()=>{for(;h<l.length;){let k=l[h++];if(k===0)return;h+=k;}};for(;h<l.length;){let k=l[h++];if(k===59)break;if(k===33){let _=l[h++];if(_===249)w=(l[h+2]??0)|(l[h+3]??0)<<8,h+=1+(l[h]??4),E();else if(_===255){let y=l[h]??0,A=String.fromCharCode(...Array.from(l.subarray(h+1,h+1+y)));h+=1+y,(A==="NETSCAPE2.0"||A==="ANIMEXTS1.0")&&l[h]===3&&l[h+1]===1&&(x=(l[h+2]??0)|(l[h+3]??0)<<8),E();}else E();}else if(k===44){let _=l[h+8]??0;h+=9,_&128&&(h+=3*(1<<(_&7)+1)),h+=1,E(),m++,g+=w<2?10:w,w=0;}else break}return {frames:m,seconds:g/100,loops:x}}function ey(l){if(l.frames<2)return false;if(l.loops===0)return true;let u=l.loops===null?1:l.loops+1;return l.seconds*u>5}async function DN(l,u){let h=u.filter(g=>g.type==="animated_gif_no_pause");if(!h.length)return u;let d=Array.from(new Set(h.map(g=>g.selector))),m={};try{m=await l.evaluate(async({sels:g,parserSrc:w})=>{let x=new Function("var __name = function (f) { return f }; return ("+w+")")(),E={};return await Promise.all(g.map(async k=>{E[k]=null;try{let _=document.querySelector(k),y=_&&(_.currentSrc||_.src);if(!y)return;let A=new AbortController,v=setTimeout(()=>A.abort(),5e3);try{let S=await fetch(y,{signal:A.signal,credentials:"same-origin"});if(!S.ok||Number(S.headers.get("content-length")||"0")>2e7)return;E[k]=x(new Uint8Array(await S.arrayBuffer()));}finally{clearTimeout(v);}}catch{}})),E},{sels:d,parserSrc:Qv.toString()});}catch{m={};}return u.flatMap(g=>{if(g.type!=="animated_gif_no_pause")return [g];let w=m[g.selector];if(!w)return [{...g,message:`${g.message} \u2014 the GIF file could not be read from the page (cross-origin or blocked), so its frame count and duration were not measured`}];if(!ey(w))return [];let x=w.loops===0?"loops forever":`plays for ${(w.seconds*(w.loops===null?1:w.loops+1)).toFixed(1)}s`;return [{...g,message:`animated GIF (${w.frames} frames, ${x}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var ry=Fe(()=>{});var vi={};mr(vi,{scopeIssuesToRoot:()=>kN});async function kN(l,u,h){let d=Array.from(new Set(u.map(g=>g.selector).filter(Boolean))),m;try{m=await l.evaluate(({rootSel:g,sels:w})=>{let x=_=>{try{let A=document.querySelector(_);if(A)return A}catch{}let y=_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(y!==_)try{return document.querySelector(y)}catch{return null}return null},E=null;try{E=document.querySelector(g);}catch{return {invalid:!0,matched:!1,within:{}}}if(!E)return {invalid:!1,matched:!1,within:{}};let k={};for(let _ of w){let y=x(_);k[_]=y?y===E||E.contains(y):!0;}return {invalid:!1,matched:!0,within:k}},{rootSel:h,sels:d});}catch{return {issues:u,warning:`scope:evaluate-failed (${h}) \u2014 results unfiltered`}}return m.invalid?{issues:u,warning:`scope:invalid-selector (${h}) \u2014 results unfiltered`}:m.matched?{issues:u.filter(g=>g.selector?m.within[g.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${h} matched nothing \u2014 empty result)`}}var yi=Fe(()=>{});function CN(l){let{kinds:u,max:h,caps:d,own:m}=l,g=globalThis,w=new Set(u),x={},E={},k=(O,z)=>{let Q=(O||"").replace(/\s+/g," ").trim();return Q.length>z?Q.slice(0,z-1)+"\u2026":Q},_=O=>{try{if(O.closest(m)||typeof g.isWidget=="function"&&g.isWidget(O))return !0}catch{}return false},y=O=>{if(O===document.documentElement)return "html";try{if(typeof g.uniqueSel=="function")return g.uniqueSel(O)}catch{}let z=[];for(let Q=O;Q&&Q!==document.documentElement;Q=Q.parentElement){let ee=Q.parentElement,te=ee?Array.from(ee.children).filter(le=>le.tagName===Q.tagName):[];z.unshift(Q.tagName.toLowerCase()+(te.length>1?`:nth-of-type(${te.indexOf(Q)+1})`:""));}return z.join(" > ")},A=window.scrollX||0,v=window.scrollY||0,S=O=>{let z=O.getBoundingClientRect();return {x:z.left+A,y:z.top+v,w:z.width,h:z.height}},C=O=>k(O.outerHTML||"",300),N=O=>getComputedStyle(O),T=O=>!!O.closest('[aria-hidden="true"]'),H=O=>{if(O.closest?.("[hidden]"))return false;let z=O;if(typeof z.checkVisibility=="function")return z.checkVisibility({visibilityProperty:true});let Q=N(O);return Q.display!=="none"&&Q.visibility!=="hidden"},R=O=>{if(!H(O))return false;let z=S(O);return z.w>1&&z.h>1&&z.x+z.w>0&&z.y+z.h>0},q=O=>{let z=N(O),Q=O.getBoundingClientRect();return /inset\(\s*(50|100)%/.test(z.clipPath||"")||/rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)/.test(z.clip||"")?true:(Q.width<=1||Q.height<=1)&&z.overflow==="hidden"},X=O=>{let z=Qe=>parseFloat(Qe||"0")||0,Q=(Qe,Ue)=>{if(Ue.display==="none"||Ue.visibility==="hidden"||parseFloat(Ue.opacity||"1")===0||z(Ue.fontSize)===0||q(Qe))return true;if(Ue.position==="absolute"||Ue.position==="fixed"){let Lt=Qe.getBoundingClientRect();if(z(Ue.left)<=-999||z(Ue.top)<=-999||Lt.right<=0||Lt.bottom<=-(window.scrollY||0))return true}return false},ee=[],te=document.createTreeWalker(O,NodeFilter.SHOW_TEXT);for(let Qe=te.nextNode();Qe;Qe=te.nextNode()){let Ue=Qe.parentElement,Lt=(Qe.textContent||"").replace(/\s+/g," ").trim();if(!Ue||!Lt||!/[\p{L}\p{N}]/u.test(Lt))continue;let Bn=false,dt=false;for(let Zt=Ue;Zt;Zt=Zt===O?null:Zt.parentElement)if(Zt.tagName==="KBD"&&(dt=true),/^(NOSCRIPT|SCRIPT|STYLE|TEMPLATE)$/.test(Zt.tagName)||Q(Zt,N(Zt))){Bn=true;break}Bn||ee.push({text:Lt,raw:Qe.textContent||"",kbd:dt,p:Ue});}let le=0,ve=ee.length;for(;le<ve&&ee[le].kbd;)le++;for(;ve>le&&ee[ve-1].kbd;)ve--;let Ie=le<ve?ee.slice(le,ve):ee,Re="h1, h2, h3, h4, h5, h6, [role=heading]",pe=Ie.map(Qe=>{let Ue=N(Qe.p);return {size:z(Ue.fontSize),weight:parseInt(Ue.fontWeight||"400",10)||400,head:!!Qe.p.closest(Re)&&O.contains(Qe.p.closest(Re))}}),Be=Qe=>{for(let Ue=Qe;Ue&&Ue!==O;Ue=Ue.parentElement)if(!/^inline(?!-block)|^contents$/.test(N(Ue).display||""))return Ue;return O},at=Ie.map(Qe=>Be(Qe.p)),ze=pe.map(Qe=>Qe.size).filter(Qe=>Qe>0),ft=ze.length?Math.max(...ze):0,It=ze.length?Math.min(...ze):0,Ce=pe.length?Math.min(...pe.map(Qe=>Qe.weight)):400,At=0;pe.forEach(Qe=>{!Qe.head&&Qe.weight<600&&Qe.size>At&&(At=Qe.size);});let _t=Qe=>Ie.some((Ue,Lt)=>at[Lt]===at[Qe]&&pe[Lt].weight<600&&!pe[Lt].head),St=Ie.map((Qe,Ue)=>pe[Ue].head||ft>It&&pe[Ue].size>=ft||pe[Ue].weight>=600&&Ce<600&&pe[Ue].size>=At&&!_t(Ue)),Pt=St.every(Boolean);return Ie.map((Qe,Ue)=>({text:Qe.text,raw:Qe.raw,block:at[Ue],prominent:!Pt&&St[Ue]}))},P=O=>{for(let z=O.parentElement;z;z=z.parentElement){let Q=(z.getAttribute("role")||"").trim().toLowerCase();if(/^(banner|contentinfo|navigation|main|complementary)$/.test(Q))return Q;let ee=z.tagName;if(ee==="MAIN")return "main";if(ee==="NAV")return "navigation";if(ee==="ASIDE")return "complementary";if(ee==="HEADER"||ee==="FOOTER"){if(z.parentElement?.closest("article, aside, main, nav, section"))continue;return ee==="HEADER"?"banner":"contentinfo"}}return ""},F=(O,z)=>{if(!z||z.tagName!=="A")return false;let Q=(z.getAttribute("href")||"").trim(),ee=/^\/(index\.\w+)?([?#].*)?$/.test(Q);if(!ee)try{let le=new URL(Q,location.href);ee=le.origin===location.origin&&/^\/(index\.\w+)?$/.test(le.pathname);}catch{}return ee?!z.innerText.replace(/\s+/g,"")&&z.querySelectorAll("img, svg, [role=img]").length>=1&&z.contains(O):false},I=O=>(O||"").split(/\s+/).filter(Boolean).map(z=>document.getElementById(z)).filter(Boolean).map(z=>k(z.textContent||"",200)).join(" ").trim(),M=O=>{let z="";for(let Q of Array.from(O.childNodes))if(Q.nodeType===3)z+=Q.textContent;else if(Q.nodeType===1){let ee=Q;if(/^(script|style|template)$/i.test(ee.tagName))continue;ee.tagName==="IMG"?z+=" "+(ee.getAttribute("alt")||"")+" ":z+=" "+M(ee)+" ";}return z},$=O=>{let z=I(O.getAttribute("aria-labelledby"));if(z)return z;let Q=(O.getAttribute("aria-label")||"").trim();if(Q)return Q;let ee=O.tagName.toLowerCase();if(ee==="img"||ee==="area"||ee==="input"&&O.type==="image"){let te=O.getAttribute("alt");if(te!==null)return te.trim()}if(/^(input|select|textarea)$/.test(ee)){let le=Array.from(O.labels||[]).map(ve=>k(ve.textContent||"",120)).join(" ").trim();if(le)return le}if(ee==="svg"){let te=O.querySelector(":scope > title");if(te&&(te.textContent||"").trim())return k(te.textContent||"",120)}if(ee==="object")return (O.getAttribute("title")||"").trim();if(O.matches("a, button, [role=link], [role=button], [role=heading], h1, h2, h3, h4, h5, h6, summary, [role=menuitem], [role=tab], [role=option]")){let te=k(M(O),200);if(te)return te}return (O.getAttribute("title")||"").trim()},j=O=>(O.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0]||"",U=(O,z)=>{let Q=O.parentElement?.closest("p, li, figure, td, th, dd, blockquote, section, article, div, body");return Q?k(Q.innerText||Q.textContent||"",z):""},V=O=>{let z=O.previousElementSibling;return z?k(z.innerText||z.textContent||"",160):""},W=(O,z)=>{let Q=x[O]||=[];Q.length<(d[O]??h)?Q.push(z):E[O]=(E[O]||0)+1;};if(w.has("image")){let O=new Set,z=Array.from(document.querySelectorAll("img, svg, canvas, input[type=image], object, embed, [role=img]")).filter(pe=>!(pe.tagName.toLowerCase()==="svg"&&pe.parentElement?.closest("svg"))),Q=[],ee=document.body?Array.from(document.body.querySelectorAll("*")).slice(0,3e3):[];for(let pe of ee)/url\(/i.test(N(pe).backgroundImage||"")&&!z.includes(pe)&&Q.push(pe);let te=[],le=new Map;for(let pe of [...z,...Q]){if(O.has(pe)||_(pe))continue;O.add(pe);let Be=pe.tagName.toLowerCase(),at=j(pe),ze=Q.includes(pe),ft=$(pe),It=T(pe),Ce=at==="none"||at==="presentation",At=H(pe)&&!It&&!Ce;Be==="img"&&pe.getAttribute("alt")===""&&!pe.getAttribute("aria-label")&&!pe.getAttribute("aria-labelledby")&&!pe.getAttribute("title")&&(At=false),(Be==="svg"||Be==="canvas"||ze)&&at!=="img"&&!ft&&(At=false),ze&&at!=="img"&&(At=false);let _t=true;if(Be==="img"){let Lt=pe;_t=!(Lt.complete&&(Lt.naturalWidth===0||Lt.naturalWidth<=1&&Lt.naturalHeight<=1));}let St=pe.parentElement?.closest("a[href], button, [role=button], [role=link]")||null,Pt=!!St&&!!((St.getAttribute("aria-label")||"").trim()||St.getAttribute("aria-labelledby")),Qe=ze?(N(pe).backgroundImage.match(/url\(["']?([^"')]+)/)||[])[1]||"":pe.currentSrc||pe.getAttribute("src")||pe.getAttribute("data")||pe.querySelector("image")?.getAttribute("href")||"",Ue={selector:y(pe),html:C(pe),rect:S(pe),tag:Be,role:at,name:ft,alt:pe.getAttribute("alt"),ariaHidden:It,inTree:At,hasName:!!ft,rendered:R(pe)&&_t,cssBackground:ze,svgText:Be==="svg"&&!!pe.querySelector("text"),ownText:ze?k(X(pe).map(Lt=>Lt.text).join(" "),160):"",src:/^data:/i.test(Qe)?Qe.slice(0,60):k(Qe,200),insideNamedControl:Pt,controlName:St?k($(St),120):"",landmark:P(pe),homeLink:F(pe,St),nearbyText:k([V(pe),U(pe,200)].filter(Boolean).join(" | "),260)};te.push(Ue),le.set(Ue,pe);}te.sort((pe,Be)=>+!!Be.rendered-+!!pe.rendered);let ve=window.scrollX,Ie=window.scrollY;for(let pe of te.slice(0,d.image??h)){if(pe.covered=false,!pe.rendered)continue;let Be=le.get(pe);if(Be)try{Be.scrollIntoView({block:"center",inline:"center"});let at=Be.getBoundingClientRect(),ze=document.elementFromPoint(at.left+at.width/2,at.top+at.height/2);pe.covered=!!ze&&ze!==Be&&!Be.contains(ze)&&!ze.contains(Be)&&!(Be.tagName.toLowerCase()==="svg"&&Be.contains(ze));}catch{}}window.scrollTo(ve,Ie);let Re=d.image??h;te.forEach((pe,Be)=>{Be<Re?W("image",pe):pe.rendered&&!pe.svgText&&(E.image=(E.image||0)+1);});}if(w.has("link"))for(let O of Array.from(document.querySelectorAll("a[href], area[href], [role=link]"))){if(_(O))continue;let z=j(O);if(z&&z!=="link"||!H(O)||T(O))continue;let Q=$(O);if(!Q)continue;let ee=[];for(let Be=O.closest("li");Be;Be=Be.parentElement?.closest("li")||null){let at="";for(let ze of Array.from(Be.childNodes))(ze.nodeType===3||ze.nodeType===1&&!/^(ul|ol)$/i.test(ze.tagName))&&(at+=" "+(ze.innerText??ze.textContent??""));ee.push(k(at,160));}let te=O.closest("td, th"),le=[];if(te){let Be=te.parentElement,at=te.closest("table"),ze=Array.from(Be?.children||[]).indexOf(te);for(let ft of (te.getAttribute("headers")||"").split(/\s+/).filter(Boolean)){let It=document.getElementById(ft);It&&le.push(k(It.textContent||"",80));}if(at&&ze>=0){for(let It of Array.from(at.querySelectorAll("tr"))){let Ce=It.children[ze];Ce&&Ce!==te&&Ce.tagName==="TH"&&le.push(k(Ce.textContent||"",80));let At=It.children[0];It===Be&&At&&At!==te&&At.tagName==="TH"&&le.push(k(At.textContent||"",80));}let ft=at.querySelector("tr > th[colspan]");ft&&ft!==te&&!le.length&&le.push(k(ft.textContent||"",80));}}let ve=O.closest("p"),Ie=ve||ee.length||te?null:O.parentElement,Re=O.getAttribute("href")||"",pe=Re.startsWith("#")&&Re.length>1?document.getElementById(decodeURIComponent(Re.slice(1))):null;W("link",{selector:y(O),html:C(O),rect:S(O),name:k(Q,160),href:k(Re,200),describedBy:I(O.getAttribute("aria-describedby")),context:{paragraph:ve?k(ve.innerText||ve.textContent||"",300):"",listItems:ee,cell:te?k(te.innerText||"",160):"",headers:le},siblingText:k([V(O.closest("ul, ol, table, p")||O),Ie&&Ie!==document.body?Ie.innerText:""].filter(Boolean).join(" | "),240),target:pe?k(pe.innerText||pe.textContent||"",160):""});}let re=O=>{let z=O.tagName.match(/^H([1-6])$/);return z?Number(z[1]):j(O)==="heading"?Number(O.getAttribute("aria-level"))||2:0},se=()=>Array.from(document.querySelectorAll("h1, h2, h3, h4, h5, h6, [role=heading]")).filter(O=>H(O)&&!T(O)&&!_(O));if(w.has("heading"))for(let O of se()){let z=re(O),Q=k($(O),160);if(!Q)continue;let ee=(O.textContent||"").trim().length,te=document.body;for(let pe=O.parentElement;pe&&pe!==document.body;pe=pe.parentElement)if((pe.textContent||"").trim().length-ee>=40){te=pe;break}let le="",ve=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);ve.currentNode=O;for(let pe=ve.nextNode();pe&&le.length<400&&te.contains(pe);pe=ve.nextNode()){let Be=pe.parentElement;if(!Be||O.contains(Be)||/^(script|style|noscript|template)$/i.test(Be.tagName)||T(Be)||!H(Be))continue;let at=Be.closest("h1, h2, h3, h4, h5, h6, [role=heading]");if(at&&at!==O&&re(at)<=z)break;at||(le+=" "+(pe.textContent||""));}let Ie=Array.from(O.querySelectorAll("a[href]")),Re=Ie.length===1&&(Ie[0].textContent||"").replace(/\s+/g," ").trim()===(O.textContent||"").replace(/\s+/g," ").trim();W("heading",{selector:y(O),html:C(O),rect:S(O),level:z,text:Q,visible:R(O)&&!q(O),section:k(le,400),linkTitle:Re});}if(w.has("formField")){let O=Array.from(document.querySelectorAll("input, select, textarea, [role=textbox], [role=combobox], [role=searchbox], [role=spinbutton], [role=listbox]")).filter(ee=>!/^(hidden|submit|button|reset|image)$/i.test(ee.type||"")&&!_(ee)),z=ee=>k(Array.from(ee.labels||[]).map(te=>te.textContent||"").join(" ")||I(ee.getAttribute("aria-labelledby")),60),Q=se();for(let ee of O){let te=[...Array.from(ee.labels||[])];for(let pe of (ee.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean)){let Be=document.getElementById(pe);Be&&te.push(Be);}if(/^(none|presentation)$/.test(j(ee)))continue;let le=te.map(pe=>({text:k(pe.textContent||"",120),visible:R(pe)&&!q(pe),inTree:H(pe)&&!T(pe)})).filter(pe=>pe.visible);if(!le.length)continue;let ve=ee.closest("fieldset")?.querySelector("legend"),Ie=Q.filter(pe=>pe.compareDocumentPosition(ee)&Node.DOCUMENT_POSITION_FOLLOWING).pop(),Re=ve||Ie||null;W("formField",{selector:y(ee),html:C(ee),rect:S(ee),type:ee.type||ee.tagName.toLowerCase(),role:j(ee),nameAttr:ee.getAttribute("name")||"",rendered:R(ee),disabled:ee.disabled===true,labels:le,groupHeading:Re?{text:k(Re.textContent||"",100),visible:R(Re)}:null,otherLabels:O.filter(pe=>pe!==ee).map(z).filter(Boolean).slice(0,10)});}}if(w.has("control")){let O="button, a[href], [role=button], [role=link], [role=checkbox], [role=menuitem], [role=menuitemcheckbox], [role=menuitemradio], [role=option], [role=radio], [role=switch], [role=tab], [role=treeitem], [role=gridcell]";for(let z of Array.from(document.querySelectorAll(O))){if(_(z)||!H(z)||T(z)||!z.hasAttribute("aria-label")&&!z.hasAttribute("aria-labelledby"))continue;let Q=X(z),ee=k(Q.map((le,ve)=>(ve&&Q[ve-1].block!==le.block?" ":"")+le.raw).join(""),200);if(!ee)continue;let te=k(Q.filter(le=>le.prominent).map(le=>le.text).join(" "),200);W("control",{selector:y(z),html:C(z),rect:S(z),role:j(z)||z.tagName.toLowerCase(),name:k($(z),200),visibleText:ee,titleText:te,fontFamily:k(N(z).fontFamily,80)});}}let J=O=>{let z=(O||"").trim().split("-")[0].toLowerCase();if(!/^[a-z]{2,3}$/.test(z))return false;try{let ee=new Intl.DisplayNames(["en"],{type:"language"}).of(z);return !!ee&&ee.toLowerCase()!==z}catch{return z.length===2}},ne=O=>{let z="",Q=[],ee=O===document.documentElement&&document.body||O;if(!ee)return {text:z,names:Q};let te=document.createTreeWalker(ee,NodeFilter.SHOW_TEXT);for(let le=te.nextNode();le&&z.length<600;le=te.nextNode()){let ve=le.parentElement;!ve||/^(script|style|title)$/i.test(ve.tagName)||ve.closest("[lang]")===O&&(!H(ve)||T(ve)||(z+=" "+(le.textContent||"")));}for(let le of Array.from(ee.querySelectorAll("[alt], [aria-label], [aria-labelledby]"))){if(le.closest("[lang]")!==O||T(le))continue;let ve=k($(le),120);if(ve&&Q.push(ve),Q.length>=8)break}return {text:k(z,600),names:Q}};if(w.has("page")&&document.documentElement.namespaceURI==="http://www.w3.org/1999/xhtml"){let O=document.documentElement,z=O.getAttribute("lang")||"",Q=ne(O);W("page",{selector:"html",html:k(`<html lang="${z}"><title>${document.title}</title>`,300),title:k(document.title||"",200),hasTitle:!!(document.title||"").trim(),lang:z,hasLang:J(z)&&!!(Q.text||Q.names.length),headings:se().slice(0,10).map(ee=>`h${re(ee)} ${k($(ee),80)}`),text:k(document.body?.innerText||"",500),ownText:Q.text,ownNames:Q.names});}if(w.has("langElement"))for(let O of Array.from(document.querySelectorAll("body [lang], body[lang]"))){if(_(O))continue;let z=O.getAttribute("lang")||"";if(!J(z))continue;let Q=ne(O);!Q.text&&!Q.names.length||W("langElement",{selector:y(O),html:C(O),rect:S(O),lang:z,ownText:Q.text,ownNames:Q.names});}if(w.has("form"))for(let O of Array.from(document.querySelectorAll("form"))){if(_(O))continue;let Q=Array.from(O.querySelectorAll("input, select, textarea")).filter(te=>!/^(hidden|submit|button|reset|image)$/i.test(te.type||"")).slice(0,15).map(te=>{let le=te;return {label:k($(te),80),type:le.type||te.tagName.toLowerCase(),value:k(le.value||"",40),required:le.required===true,ariaInvalid:te.getAttribute("aria-invalid")||"",valid:typeof le.checkValidity=="function"?le.checkValidity():true,describedBy:I(te.getAttribute("aria-describedby")||te.getAttribute("aria-errormessage"))}}),ee=[];for(let te of Array.from(O.querySelectorAll("*")))if(!(/^(label|legend|button|option|script|style|input|select|textarea)$/i.test(te.tagName)||te.closest("label, legend, button")||!Array.from(te.childNodes).filter(ve=>ve.nodeType===3).map(ve=>ve.textContent||"").join(" ").trim())&&(ee.push({text:k(te.textContent||"",200),visible:R(te),ariaHidden:T(te)}),ee.length>=10))break;W("form",{selector:y(O),html:C(O),rect:S(O),hasMessages:ee.length>0,fields:Q,messages:ee});}if(w.has("iframeGroup")){let O=[],z=(ee,te,le,ve)=>{if(!(ve>3)){for(let Ie of Array.from(ee.querySelectorAll("*")))if(Ie.shadowRoot&&z(Ie.shadowRoot,"shadow",le||Ie,ve+1),Ie.tagName==="IFRAME"){O.push({el:Ie,scope:te,host:le||Ie});try{let Re=Ie.contentDocument;Re&&z(Re,"nested-frame",le||Ie,ve+1);}catch{}}}};z(document,"top",null,0);let Q=new Map;for(let ee of O){if(_(ee.host)||!H(ee.el)||T(ee.el))continue;let te=k($(ee.el),120).toLowerCase();te&&(Q.get(te)||Q.set(te,[]).get(te)).push(ee);}for(let[ee,te]of Q)te.length<2||W("iframeGroup",{selector:y(te[0].host),html:C(te[0].el),rect:S(te[0].host),name:ee,frames:te.slice(0,6).map(le=>{let ve="",Ie="";try{let Re=le.el.contentDocument;ve=k(Re?.title||"",100),Ie=k(Re?.body?.innerText||Re?.body?.textContent||"",300);}catch{}return {selector:y(le.el),scope:le.scope,src:k(le.el.getAttribute("src")||(le.el.hasAttribute("srcdoc")?"srcdoc":""),200),docTitle:ve,text:Ie,inTree:H(le.el)&&!T(le.el)}})});}if(w.has("textBlocks")){let O=[];for(let te of se().slice(0,12))O.push(`heading h${re(te)}: ${k($(te),60)}`);let z=Array.from(document.querySelectorAll("nav, main, aside, header, footer, [role=navigation], [role=main], [role=complementary], [role=banner], [role=contentinfo], [role=region], [role=search]")).filter(te=>H(te));for(let te of z.slice(0,10))O.push(`landmark ${j(te)||te.tagName.toLowerCase()}${te.getAttribute("aria-label")||te.getAttribute("aria-labelledby")?` named "${k($(te)||I(te.getAttribute("aria-labelledby")),40)}"`:" (unnamed)"}`);for(let te of Array.from(document.querySelectorAll("button, a[href], [role=button]")).filter(le=>H(le)).slice(0,15))O.push(`${te.tagName.toLowerCase()==="a"?"link":"button"}: ${k($(te),50)}`);for(let te of Array.from(document.querySelectorAll("iframe")).slice(0,4)){let le="";try{let ve=te.contentDocument;le=ve?Array.from(ve.querySelectorAll("h1, h2, h3, h4, h5, h6")).map(Ie=>k(Ie.textContent||"",40)).join("; "):"";}catch{}O.push(`iframe title "${k(te.getAttribute("title")||"",40)}" headings inside: ${le||"none"}`);}let Q=O.join(`
|
|
1018
|
-
`),ee=Array.from(document.querySelectorAll("p, li, td, th, dd, dt, label, figcaption, blockquote, caption, div, span")).filter(te=>!_(te)&&Array.from(te.childNodes).some(le=>le.nodeType===3&&(le.textContent||"").trim().length>2));for(let te of ee){if(te.parentElement&&ee.includes(te.parentElement))continue;let le=R(te)&&!q(te);!H(te)||!le&&T(te)||W("textBlocks",{selector:y(te),html:C(te),rect:S(te),text:k(te.textContent||"",220),visible:le,ariaHidden:T(te),outline:Q});}}return {...x,cut:E}}async function iy(l,u,h=ny){if(!u.length)return {};try{await l.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{return await l.evaluate(CN,{kinds:u,max:h,caps:{...ay,...h<ny?Object.fromEntries(Object.keys(ay).map(d=>[d,h])):{}},own:da})}catch{return {}}}var ny,SN,ay,oy=Fe(()=>{pr();ny=40,SN=400,ay={control:SN};});function sy(l){let u=l;for(let h="";h!==u;)h=u,u=u.replace(RN," ");return u=u.toLowerCase().normalize("NFKD").replace(TN," ").trim(),u?u.split(/\s+/):[]}function FN(l){let u=sy(l);return u.length===1&&[...u[0].replace(/\p{M}/gu,"")].length===1&&/^\p{L}/u.test(u[0])?[]:u}function ly(l,u){let h=FN(l);if(!h.length)return true;let d=sy(u);for(let m=0;m+h.length<=d.length;m++){let g=true;for(let w=0;w<h.length&&g;w++)g=d[m+w]===h[w];if(g)return true}return false}var TN,RN,uy=Fe(()=>{TN=/[^\p{L}\p{N}\p{M}]+/gu,RN=/\([^()]*\)/g;});var fy={};mr(fy,{RUBRIC_BATCH_SIZE:()=>cy,parseRubricVerdicts:()=>hi,rubricPromptHash:()=>gi,rubricSystemPrompt:()=>pa,rubricTransport:()=>dy,runRubrics:()=>NN});function dy(l){return l.transport?l.transport:l.apiKey?yc({apiKey:l.apiKey,baseUrl:l.baseUrl,visionModel:l.visionModel,textModel:l.textModel}):l.apiUrl?wc({apiUrl:l.apiUrl,token:l.apiToken,internalSecret:l.internalSecret}):null}function PN(l,u){if(l.evidence==="control"){let h=u;if(h.visibleText.trim()&&ly(h.visibleText,h.name))return {aspect:l.id,selector:h.selector,verdict:"passed",reason:"the ACT label-in-name algorithm finds the visible label in the accessible name",by:"rule"}}return null}function ON(l){let{selector:u,html:h,rect:d,outline:m,...g}=l;return g}async function NN(l,u){let h={findings:[],verdicts:[],inapplicable:[],undecided:0,undecidedWcag:[],calls:0,errors:[]},d=dy(u.judge);if(!d)return h;let m=u.level??u.judge.level??"AA",g=Pv.filter(T=>(u.aspects?u.aspects.includes(T.id):T.status!=="below-bar")&&en([{wcag:T.sc.join(","),level:T.level}],m).length>0);if(!g.length)return h;let w=Date.now()+(u.timeoutMs??u.judge.timeoutMs??IN),x=u.warnings??[];await Yu(l,x);let E=[...new Set(g.map(T=>T.evidence))],k=globalThis.process?.env?.WA_STRICT_STATE==="1",_=await Ku(l,"rubric-evidence",x,()=>iy(l,E),{strict:k,bugs:u.bugs});if(u.rootSelector){let{scopeIssuesToRoot:T}=await Promise.resolve().then(()=>(yi(),vi));for(let H of E){let R=_[H]||[];if(!R.length)continue;let q=new Set((await T(l,R,u.rootSelector)).issues);_[H]=R.filter(X=>q.has(X));}}let y=u.judge.vision!==false&&typeof l.screenshot=="function",A=u.batchSize??cy,v=xc(u.judge),S=async T=>{let H=(_[T.evidence]||[]).filter(F=>MN(T,F)),R=[];for(let F of H){let I=PN(T,F);I?h.verdicts.push(I):R.push(F);}let q=_.cut?.[T.evidence]??0,X=F=>{F<=0||(h.undecided+=F,h.undecidedWcag.includes(T.sc[0])||h.undecidedWcag.push(T.sc[0]));};if(q&&(X(q),h.errors.push(`${T.id}: ${q} candidates over the evidence cap`)),!H.length){q||h.inapplicable.push(T.id);return}let P=0;for(let F=0;F<R.length;F+=A){let I=w-Date.now();if(I<=0){X(R.length-F),h.errors.push(`${T.id}: deadline`);return}let M=R.slice(F,F+A),$=[];for(let[J,ne]of M.entries()){let O;if(T.vision&&y&&P<LN&&ne.rect){let z=await Ac(l,{rect:ne.rect,hidden:false,tag:String(ne.tag||"")},v);P++,O=z?.data;}$.push({id:`${T.id}#${F+J}`,type:T.issueType,wcag:T.sc[0],message:T.title,selector:String(ne.selector),html:String(ne.html||""),context:ON(ne),...O?{screenshot:O}:{}});}let j=M.find(J=>typeof J.outline=="string")?.outline,U=new AbortController,V=setTimeout(()=>U.abort(),I),W=null,re=false;h.calls++;try{let J=await Promise.race([d({url:u.url,level:m,vision:T.vision&&y,items:$,system:pa(T),rubric:{id:T.id,hash:gi(T)},...j?{page:{outline:j}}:{}},U.signal),new Promise((ne,O)=>U.signal.addEventListener("abort",()=>O(new Error("rubric deadline"))))]);W=hi(J),W||h.errors.push(`${T.id}: malformed output`);}catch(J){h.errors.push(`${T.id}: ${J.message.slice(0,80)}`),re=J instanceof yn;}finally{clearTimeout(V);}let se=new Map($.map((J,ne)=>[J.id,M[ne]]));for(let J of W||[]){let ne=se.get(J.id);if(!ne||J.verdict==="cantTell")continue;se.delete(J.id);let O=vc(J.reason);h.verdicts.push({aspect:T.id,selector:String(ne.selector),verdict:J.verdict,reason:O,by:"model"}),J.verdict==="failed"&&h.findings.push({id:`rubric-${T.id}-${tn(String(ne.selector))}`,source:"webability",type:T.issueType,wcag:T.sc[0],level:T.level,impact:T.impact,message:`${T.title}: ${O||"failed the rubric"}`,selector:String(ne.selector),html:String(ne.html||"")});}if(X(se.size),re){X(R.length-F-M.length);return}}},C=[...g],N=Array.from({length:Math.max(1,u.concurrency??3)},async()=>{for(let T=C.shift();T;T=C.shift())await S(T);});return await Promise.all(N),h.findings=await Ju(l,h.findings,u.bugs),h}var cy,IN,LN,MN,my=Fe(()=>{Pn();_c();pr();Zu();fc();mc();oy();uy();cy=8,IN=45e3,LN=12;MN=(l,u)=>l.where.every(h=>u[h.field]===h.value);});var Zo={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};Zu();var fa="1.19.0";Pn();oc();async function hv(l,u){return ic("axe",l,()=>bO(l,u))}async function bO(l,u){try{let{AxeBuilder:h}=await import('@axe-core/playwright'),d=typeof l.mainFrame=="function"?l:l.axePage?.()??l,m=await new h({page:d}).options({rules:ec(u)}).withTags(u).analyze();return await wO(l,m)}catch{return vO(l,u)}}async function vO(l,u){let h=await Promise.resolve().then(()=>o1(sc())),d=h.source??h.default?.source;if(!d)throw new Error("axe-core source unavailable");try{await l.evaluate(d);}catch{let{inject:g}=await Promise.resolve().then(()=>(pr(),Qr));await g(l,{tool:"axe",content:d});}return await l.evaluate(({wcagTags:g,rules:w})=>new Promise((x,E)=>{let k=window;if(!k.axe)return E(new Error("axe-core not loaded"));k.axe.run(document,{runOnly:{type:"tag",values:g},rules:w,resultTypes:["violations","incomplete"]}).then(x).catch(E);}),{wcagTags:u,rules:ec(u)})}function yO(l,u){if(l=l.toLowerCase().replace(/^www\./,""),u=u.toLowerCase().replace(/^www\./,""),!l||!u)return false;if(l===u||l.endsWith("."+u)||u.endsWith("."+l))return true;let h=d=>{let m=d.split(".");if(m.length<=2)return d;let g=m[m.length-1],w=m[m.length-2],x=g.length===2&&["co","com","net","org","ac","gov","edu"].includes(w)?3:2;return m.slice(-x).join(".")};return h(l)===h(u)}async function wO(l,u){let h=new Set,d=k=>!Array.isArray(k)||k.length<2?null:JSON.stringify(k[0]);for(let k of [u.violations,u.incomplete])for(let _ of k??[])for(let y of _.nodes??[]){let A=d(y.target);A&&h.add(A);}if(!h.size)return u;let m;try{m=await l.evaluate(k=>{let _={};for(let y of k){_[y]=null;try{let A=JSON.parse(y),v=Array.isArray(A)?A:[A],S=document,C=null;for(let R=0;R<v.length&&(C=S.querySelector(v[R]),!(!C||(R<v.length-1&&(S=C.shadowRoot),!S)));R++);if(!C||C.tagName!=="IFRAME"&&C.tagName!=="FRAME"||C.hasAttribute("srcdoc"))continue;let N=R=>R&&/^https?:/i.test(R)?R:"",T="",H=!1;try{T=N(C.contentWindow.location.href);}catch{H=!0;}if(T||(T=N(C.src)||N(C.getAttribute("data-src"))||N(C.getAttribute("data-lazy-src"))),!T){H&&(_[y]={frame:"",page:location.hostname});continue}_[y]={frame:new URL(T).hostname,page:location.hostname};}catch{}}return _},[...h]);}catch{return u}let g=k=>{let _=d(k),y=_?m[_]:null;return !y||y.frame&&yO(y.frame,y.page)?null:{insideFrameFrom:y.frame||"a cross-origin frame whose address cannot be read",pageHost:y.page,thirdPartyDocument:true}},w=[],x=(u.violations??[]).flatMap(k=>{let _=k.nodes??[],y=_.filter(v=>!g(v.target)),A=_.filter(v=>g(v.target)).map(v=>({...v,waEvidence:g(v.target)}));return A.length&&w.push({...k,nodes:A}),A.length?y.length?[{...k,nodes:y}]:[]:[k]}),E=(u.incomplete??[]).map(k=>k.nodes?.some(_=>g(_.target))?{...k,nodes:k.nodes.map(_=>g(_.target)?{..._,waEvidence:g(_.target)}:_)}:k);return {...u,violations:x,incomplete:[...E,...w]}}function lc(l){let u=[],h=[];for(let d of l)d.confidence==="needs_review"||AO(d)?h.push(d):u.push(xO(d));return {verdicts:u,undecided:h}}function xO(l){if(l.confidence===void 0&&l.reviewReason===void 0&&l.evidence===void 0)return l;let{confidence:u,reviewReason:h,evidence:d,...m}=l;return m}function AO(l){let u=(l.type||"").toLowerCase(),h=l.wcag||"",d=l.html||"",m=(l.message||"").toLowerCase();if((u==="contrast_insufficient"||u==="color-contrast"||h==="1.4.3"||h==="1.4.11")&&_O(d))return "background uses gradient or image";if(u==="image_of_text"||h==="1.4.5"){let g=gv(d,"src").toLowerCase();g.startsWith("data:")&&(g=g.split(",")[0]);let w=gv(d,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(g))return "brand imagery";if(w.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(w))return "branded imagery"}return (u==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(d)||/<aside/i.test(d))?"footer/aside nav":""}function _O(l){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(l)}function gv(l,u){let h=new RegExp(`\\b${u}\\s*=\\s*"([^"]*)"`,"i"),d=l.match(h);return d?d[1]:""}cc();_c();async function cN(l){let u=S=>({verdict:"drop",why:S}),h=null;try{h=document.querySelector(l.selector);}catch{return u("bad selector")}if(!h||h.tagName!=="VIDEO")return u("not a video");let d=getComputedStyle(h),m=h.getBoundingClientRect();if(d.display==="none"||d.visibility==="hidden"||h.closest("[hidden]")||m.width<100||m.height<50)return u("not visible/large enough");if(h.error)return u("failed load");let g=h.currentSrc||h.getAttribute("src")||h.querySelector("source")?.getAttribute("src")||"";if(!g||/^(blob|data|about|javascript):/i.test(g)||/\.(m3u8|mpd)(\?|$)/i.test(g))return u("no direct src / MSE");let w=h.hasAttribute("muted")||h.muted,x=h.hasAttribute("controls"),E=h.hasAttribute("autoplay")||h.autoplay,k=h.hasAttribute("loop")||h.loop,_=x||E&&!w;if(!_){let S=/play|pause|mute|unmute|sound|volume/i;for(let C=h.parentElement,N=0;C&&N<3&&!_;C=C.parentElement,N++)_=Array.from(C.querySelectorAll('button, [role="button"]')).some(T=>S.test((T.getAttribute("aria-label")||"")+" "+(T.getAttribute("title")||"")+" "+(T.textContent||"")));}if(!_)return u("not user-playable");if(w&&k&&!x)return u("decorative loop");if(h.hasAttribute("muted")&&!x&&!E)return u("muted");if(Number.isFinite(h.duration)&&h.duration>0&&h.duration<5)return u("under 5s");await new Promise(S=>setTimeout(S,2e3));for(let S of Array.from(h.querySelectorAll("track"))){let C=(S.getAttribute("kind")||"subtitles").toLowerCase();if((C==="captions"||C==="subtitles")&&S.getAttribute("src"))return u("has caption track")}let y=h.textTracks;for(let S=0;y&&S<y.length;S++)if(y[S].kind==="captions"||y[S].kind==="subtitles")return u("has text track");let A=h,v=null;if(typeof A.mozHasAudio=="boolean"?v=A.mozHasAudio:A.audioTracks&&typeof A.audioTracks.length=="number"&&(v=A.audioTracks.length>0?true:null),v===null&&typeof A.webkitAudioDecodedByteCount=="number"&&A.webkitAudioDecodedByteCount>0&&(v=true),v===null)try{let S=new AbortController,C=setTimeout(()=>S.abort(),l.fetchMs),N=await fetch(g,{headers:{Range:"bytes=0-"+(l.rangeBytes-1)},signal:S.signal}),T=new Uint8Array(l.rangeBytes),H=0,R=N.body?N.body.getReader():null;if(R)try{for(;H<l.rangeBytes;){let{done:P,value:F}=await R.read();if(P||!F)break;let I=Math.min(F.length,l.rangeBytes-H);T.set(F.subarray(0,I),H),H+=I;}}finally{try{await R.cancel();}catch{}}clearTimeout(C);let q=(P,F=0)=>{e:for(let I=F;I<=H-P.length;I++){for(let M=0;M<P.length;M++)if(T[I+M]!==P[M])continue e;return I}return -1},X=P=>Array.from(P).map(F=>F.charCodeAt(0));q(X("ftyp"))>=0&&q(X("moov"))>=0?v=q(X("hdlr"))>=0&&q(X("soun"))>=0:T[0]===26&&T[1]===69&&T[2]===223&&T[3]===163&&q([22,84,174,107])>=0&&(v=q([131,129,2])>=0);}catch{v=null;}return v!==true?u(v===false?"silent":"audio unknowable"):{verdict:"violation"}}async function zv(l,u){let h=u.filter(g=>g.type==="missing_captions"&&/^<video\b/i.test(g.html??"")&&g.selector).slice(0,10);if(h.length===0)return [];let d=[],m=Date.now()+1e4;try{await l.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let g of h){if(Date.now()>m)break;let w=m-Date.now(),x,E=await Promise.race([l.evaluate(cN,{selector:g.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(k=>{x=setTimeout(()=>k(null),w);})]).finally(()=>x&&clearTimeout(x));if(!E)break;if(E.verdict==="violation"){let{confidence:k,reviewReason:_,evidence:y,...A}=g;d.push({...A,id:g.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return d}function Wv(){let l=m=>{let g=m.getBoundingClientRect();if(g.width===0||g.height===0)return false;let w=window.getComputedStyle(m);return w.visibility!=="hidden"&&w.display!=="none"&&w.opacity!=="0"},u=Array.from(document.querySelectorAll('input[type="password"]')),h=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(l).map(m=>(m.value||m.textContent||"").trim().toLowerCase()).filter(m=>m.length>0&&m.length<40),d=Array.from(document.querySelectorAll("button, a")).filter(l).filter(m=>/sign in with|continue with|log in with/i.test(m.textContent||"")).length;return {passwordFields:u.length,visiblePasswordFields:u.filter(l).length,submitLabels:h,oauthButtons:d,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var dN=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,fN=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Gv(l){try{let u=new URL(l).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(u)}catch{return false}}function Xv(l,u,h){if(Gv(u))return null;let d=Uv(u)!==Uv(h),m=l.submitLabels.some(y=>dN.test(y)),g=fN.test(l.headingText),w=Gv(h),x=[];w&&x.push("url"),m&&x.push("submit"),g&&x.push("heading"),d&&x.push("redirected");let E=l.visiblePasswordFields>0,k=l.oauthButtons>0&&l.bodyTextLength<600&&l.formCount<=1;if(!E&&!k||x.length<2)return null;let _=`${E?"password-field":"oauth-only"}+${x.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${h}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:_,finalUrl:h}}function Uv(l){try{let u=new URL(l);return `${u.origin}${u.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return l.toLowerCase()}}Pn();async function qN(l){try{return await l.evaluate(()=>{let u=(document.title||"").toLowerCase(),h=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[g,w]of h)if(u.includes(g))return {vendor:w,signal:`title:"${document.title}"`,needsCorroboration:!1};let d=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[g,w]of d)if(document.querySelector(g))return {vendor:w,signal:`marker:${g}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let m=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[g,w]of m)if(u.includes(g))return {vendor:w,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function BN(l){try{return await l.evaluate(()=>{let u=document.querySelectorAll("body *").length;if(u>250)return null;let h=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let m of h)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:u}}catch{}let d=(document.title||"").toLowerCase();return d.includes("captcha")||d.includes("security check")||d.includes("bot verification")?{signal:`title:"${document.title}"`,elements:u}:null})}catch{return null}}async function HN(l,u){let h=await qN(l),d=typeof u=="number"&&u>=400,m=h&&(!h.needsCorroboration||d)?h:null;if(!m&&!d)return null;let g=[];return m&&g.push(`served a ${m.vendor} bot-challenge / interstitial page`),d&&g.push(`main document returned HTTP ${u}`),{reason:`Scan did not reach the real page \u2014 the target ${g.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof u=="number"?{status:u}:{},...m?{signal:m.signal}:d?{signal:`status:${u}`}:{}}}async function hy(l,u){let h=typeof l=="string",d={wcagTags:Qu,includeAxe:true,deep:false,dismissModals:h,...u},m,g,w,x;if(h){w=l.startsWith("http")?l:`https://${l}`;let E=typeof d.viewport=="string"?Zo[d.viewport]??Zo.desktop:d.viewport??Zo.desktop;g=await(await import('playwright')).chromium.launch({headless:d.browser?.headless??true}),m=await(await g.newContext({viewport:E})).newPage();let y=await m.goto(w,{waitUntil:"domcontentloaded",timeout:d.browser?.timeout??3e4});x=typeof y?.status=="function"?y.status():void 0;}else m=l,w=m.url(),x=d.mainStatus;if(d.dismissModals)try{let{dismissModals:E}=await Promise.resolve().then(()=>(Jv(),Kv));await E(m);}catch{}if(d.settle!==false)try{let{waitForRenderSettle:E}=await Promise.resolve().then(()=>(sa(),ci));await E(m,typeof d.settle=="number"?d.settle:void 0);}catch{}if(!g){let{snapshotInteractionState:E}=await Promise.resolve().then(()=>(ss(),os));await E(m);}try{let E=await m.evaluate(()=>performance.timeOrigin);try{let O=await m.evaluate(Wv),z=Xv(O,w,typeof m.url=="function"?m.url():w);if(z)return {url:w,timestamp:new Date().toISOString(),blocked:{reason:z.reason,signal:`auth-wall:${z.signal}`,...typeof x=="number"?{status:x}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let k=await HN(m,x);if(k)return {url:w,timestamp:new Date().toISOString(),blocked:k,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let _=[],y=new Map,A=[],v=[],S=[],{guardDetectorState:C,dropToolingFindings:N}=await Promise.resolve().then(()=>(pr(),Qr)),T=await BN(m);T&&v.push(`challenge:suspected-interstitial (${T.signal}; ${T.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(pr(),Qr))).startProvenance(m);let{trackPageActivity:H,waitForInteractionSettle:R}=await Promise.resolve().then(()=>(sa(),ci));d.settle!==!1&&await H(m);let{takeTurn:q}=await Promise.resolve().then(()=>(oc(),mv)),X=await q("detectors",m,()=>lv(m,A,v,{internalBugs:S,extraSerialDetectors:d.extraSerialDetectors,experimental:d.experimental}));_.push(...X.map(dv));let{resetInteractionState:P,focusOnlyObscuredIndexes:F}=await Promise.resolve().then(()=>(ss(),os));if(await P(m),d.settle!==!1&&await R(m),d.includeAxe)try{let O=await C(m,"axe",v,()=>hv(m,uv(d.wcagTags??Qu,d.level)),{bugs:S});for(let z of O.violations){let Q=z.id==="target-size"?await F(m,z.nodes):new Set;for(let[ee,te]of z.nodes.entries()){if(Q.has(ee)){S.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:ma(te.target)});continue}_.push({id:`axe-${z.id}-${tn(ma(te.target))}`,source:"axe-core",type:z.id,wcag:nc(z.tags),level:ac(z.tags),impact:tc(z.impact),message:z.help,selector:ma(te.target),html:te.html?.slice(0,300)});}}for(let z of O.incomplete??[])for(let Q of z.nodes){let ee=`axe-incomplete-${z.id}-${tn(ma(Q.target))}`,te=Q.any?.[0]?.data?.messageKey;te&&y.set(ee,te),_.push({id:ee,source:"axe-core",type:z.id,wcag:nc(z.tags),level:ac(z.tags),impact:tc(z.impact),message:z.help,selector:ma(Q.target),html:Q.html?.slice(0,300),confidence:"needs_review",...Q.waEvidence?{reviewReason:"this node is inside a frame served by another site; decide whether the page owner is responsible for it",evidence:Q.waEvidence}:{reviewReason:"axe-core flagged this as needing human review"}});}}catch(O){S.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${O?.message??String(O)}`});}let{deduplicateIssues:I}=await Promise.resolve().then(()=>(qn(),Nn)),M=lc(_),$=I(M.verdicts);try{let{pruneInvisibleContrast:O}=await Promise.resolve().then(()=>(sa(),ci));$=await O(m,$);}catch{}try{let{pruneHiddenIframeIssues:O}=await Promise.resolve().then(()=>(sa(),ci));$=await O(m,$);}catch{}try{let{dedupeByElementIdentity:O}=await Promise.resolve().then(()=>(qn(),Nn));$=await O(m,$);}catch{}try{$=await N(m,$,S);}catch{}try{let{verifyAnimatedGifs:O}=await Promise.resolve().then(()=>(ry(),ty));$=await O(m,$);}catch{}if(d.deep&&d.deepApiKey)try{let O=await VN(w,$,d);$.push(...O);}catch{}if(d.rootSelector)try{let{scopeIssuesToRoot:O}=await Promise.resolve().then(()=>(yi(),vi)),z=await O(m,$,d.rootSelector);$=z.issues,z.warning&&v.push(z.warning);}catch{}$=en($,d.level??"AA");let j=lc($),U=j.verdicts,V=[],W=[],re=new Set;try{if(W=[...M.undecided,...j.undecided],d.rootSelector){let{scopeIssuesToRoot:te}=await Promise.resolve().then(()=>(yi(),vi));W=(await te(m,W,d.rootSelector)).issues;}let O=new Map;await P(m);let z=await C(m,"contrast-pixels",v,()=>kv(m,W,y,O),{bugs:S}),Q=await zv(m,W),ee=[...z,...Q];if(re=new Set(ee.map(te=>`${te.selector}|${te.wcag}`)),ee.length){let{deduplicateIssues:te}=await Promise.resolve().then(()=>(qn(),Nn));U=te([...U,...ee]);}{let te=W.filter(ve=>!re.has(`${ve.selector}|${ve.wcag}`)),le=await jv(m,te,{...d.judge,url:w,level:d.judge?.level??d.level??"AA",measured:O});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${te.length} undecided before judge, ${le.promoted.length} promoted, ${le.judged.filter(ve=>ve.verdict==="pass").length} passed`),V=le.judged,le.promoted.length){let{deduplicateIssues:ve}=await Promise.resolve().then(()=>(qn(),Nn));U=ve([...U,...en(le.promoted,d.level??"AA")]);}}}catch{}let se={count:0,wcag:[]};if(d.judge)try{let{runRubrics:O,rubricTransport:z}=await Promise.resolve().then(()=>(my(),fy));if(z(d.judge)){await P(m);let Q=await O(m,{url:w,judge:d.judge,level:d.level??"AA",timeoutMs:d.judge.timeoutMs,bugs:S,warnings:v,rootSelector:d.rootSelector});se={count:Q.undecided,wcag:Q.undecidedWcag};for(let te of Q.errors)v.push(`rubric ${te}`);let ee=en(Q.findings,d.level??"AA");if(ee.length&&d.rootSelector){let{scopeIssuesToRoot:te}=await Promise.resolve().then(()=>(yi(),vi));ee=(await te(m,ee,d.rootSelector)).issues;}if(ee.length){let{deduplicateIssues:te}=await Promise.resolve().then(()=>(qn(),Nn));U=te([...U,...ee]);}}}catch{}let J;{let O=new Set(V.map(ee=>ee.id)),z=en(W,d.level??"AA").filter(ee=>!re.has(`${ee.selector}|${ee.wcag}`)&&!O.has(ee.id.replace("axe-incomplete-","axe-"))),Q=z.length+se.count;Q&&(J={count:Q,wcag:[...new Set([...z.map(ee=>ee.wcag),...se.wcag])].sort()});}try{let{dedupeByElementIdentity:O}=await Promise.resolve().then(()=>(qn(),Nn));U=await O(m,U);}catch{}try{U=await N(m,U,S);}catch{}if(await m.evaluate(()=>performance.timeOrigin)!==E)throw new Error(`the page's document was replaced during the scan (navigation to ${m.url()}); the findings mix two documents`);{let{attachMutations:O,stopProvenance:z}=await Promise.resolve().then(()=>(pr(),Qr));O(S,await z(m));}let ne={url:w,timestamp:new Date().toISOString(),engine:fa,issues:U,internal_bugs:S,incomplete:[],...V.length?{judged:V}:{},...A.length?{truncated:A}:{},...v.length?{engineWarnings:v}:{},...J?{unsettled:J}:{},...d.keepDetected?{detected:X}:{},summary:rc(U)};if(d.review!==!1&&d.deepApiKey)try{ne=await $N(ne,d);}catch{}return ne}finally{let{stopProvenance:E}=await Promise.resolve().then(()=>(pr(),Qr));if(await E(m),g)await g.close();else {let{restoreInteractionState:k}=await Promise.resolve().then(()=>(ss(),os));await k(m);}}}async function VN(l,u,h){let d=h.deepApiUrl||"https://api.webability.io",m=await fetch(`${d}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.deepApiKey}`},body:JSON.stringify({url:l,standardIssues:u.slice(0,30).map(({source:w,...x})=>x)})});return m.ok?((await m.json()).issues??[]).map((w,x)=>({id:`deep-${x}-${tn(w.selector||w.element||"")}`,source:"deep-analysis",type:`wcag-${w.wcag}`,wcag:w.wcag,level:"AA",impact:w.severity==="High"?"critical":w.severity==="Medium"?"serious":"moderate",message:w.message,selector:w.selector||w.element||""})):[]}function py(l){let u=l.fix?.attribute??"";return !!l.fix?.needsManualReview&&u!=="style"&&!u.startsWith("data-")}async function $N(l,u){let h=u.deepApiUrl||"https://api.webability.io",d=l.issues.filter(py);if(d.length===0)return l;try{let m=await fetch(`${h}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${u.deepApiKey}`},body:JSON.stringify({url:l.url,issues:d.slice(0,30).map(({source:E,...k})=>k)})});if(!m.ok)return l;let g=await m.json();if(!g.confirmed_ids)return l;let w=new Set(g.confirmed_ids),x=l.issues.filter(E=>!py(E)||w.has(E.id));return {...l,issues:x,summary:rc(x)}}catch{return l}}Pn();var gy=/token|nonce|key|sig|signature|auth|session|_wpnonce/i,jN=new Set(["stylesheet","font","image"]);function us(l){try{let u=new URL(l);return u.hash="",u.href}catch{return l}}function zN(l){try{for(let u of new URL(l).searchParams.keys())if(gy.test(u))return !0}catch{}return false}function Ec(l,u={}){let h=us(l);return d=>d.navigation&&d.mainFrame&&us(d.url)===h?"fulfill":/^(data|blob):/i.test(d.url)?"continue":jN.has(d.resourceType)||u.scripts&&d.resourceType==="script"?zN(d.url)?"abort":"continue":"abort"}function Dc(l){let u=us(l);return h=>h.navigation&&h.mainFrame&&us(h.url)===u?"fulfill":"continue"}var kc=8e3;function by(l){let{ms:u,served:h}=l;return new Promise(d=>{let m=0,g=setTimeout(()=>d(m),u),w=new Promise(_=>{h&&(document.readyState==="complete"?_():window.addEventListener("load",()=>_(),{once:true}));}),E=Array.from(document.querySelectorAll('link[rel~="stylesheet" i]')).map(_=>_.sheet||!_.href?Promise.resolve():(m++,Promise.race([new Promise(y=>{_.addEventListener("load",()=>y(),{once:true}),_.addEventListener("error",()=>y(),{once:true});}),w]).then(()=>{m--;}))),k=()=>document.fonts?.ready??Promise.resolve();Promise.all(E).then(k).then(()=>{clearTimeout(g),d(0);});})}var vy="[class*=slick],[class*=swiper],[class*=carousel],[class*=splide]";function yy(l){let u={finished:0,held:0,skipped:0},h=new Set,d=[document],m=x=>{x.querySelectorAll("*").forEach(E=>{E.shadowRoot&&(d.push(E.shadowRoot),m(E.shadowRoot));});};m(document);for(let x of d){let E=typeof x.getAnimations=="function"?x.getAnimations():[];for(let k of E){if(h.has(k))continue;h.add(k);let _=k.effect,y=_?.target;if(y&&y.closest(l)){u.skipped++;continue}try{let A=_?.getComputedTiming(),v=typeof A?.duration=="number"?A.duration:0;A&&Number.isFinite(A.iterations)&&Number.isFinite(A.endTime)?(k.finish(),u.finished++):(k.currentTime=Math.max(0,(Number(A?.delay)||0)+v-.001),k.pause(),u.held++);}catch{}}}let g="*,*::before,*::after{transition:none!important;animation-play-state:paused!important}",w=document.createElement("style");w.setAttribute("data-wa-freeze",""),w.textContent=g,(document.head||document.documentElement).appendChild(w);for(let x of d){if(x===document)continue;let E=document.createElement("style");E.textContent=g,x.appendChild(E);}return u}function Sc(l,u){return {evaluate:(h,...d)=>l.evaluate(h,...d),async addScriptTag(h){if(l.addScriptTag)return l.addScriptTag(h);if(typeof h.content=="string")return l.evaluate(h.content);throw new Error("this driver cannot load a script by URL")},url:()=>l.url?l.url():u,keyboard:l.keyboard,screenshot:h=>l.screenshot(h),...l.waitForLoadState?{waitForLoadState:(h,d)=>l.waitForLoadState(h,d)}:{},...l.playwrightPage?{axePage:()=>l.playwrightPage()}:{}}}async function cs(l,u,h,d={}){let m=!!(h&&l.loadHtml),g=m?`wa-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`:"";if(m&&d.scripts)return wy(l,`<!--${g}-->`+u.replace(/^\uFEFF/,""),h,g,d.policy);await l.goto("about:blank");let w=await l.evaluate(x=>{let E=new DOMParser().parseFromString(x.html,"text/html");if(E.querySelectorAll('script, meta[http-equiv="refresh" i]').forEach(k=>k.remove()),x.visitor&&(E.querySelectorAll("noscript").forEach(k=>k.remove()),E.querySelectorAll("*").forEach(k=>{let _=/^(iframe|frame|object|embed)$/i.test(k.localName);for(let y of Array.from(k.attributes)){let A=y.name.toLowerCase(),v=y.value.replace(/[\u0000-\u0020]/g,"").toLowerCase();A==="srcdoc"||_&&v.startsWith("data:")?k.removeAttributeNode(y):A.startsWith("on")?y.value=y.value?`/*${y.value.replace(/\*\//g,"* /")}*/`:"":v.startsWith("javascript:")&&(y.value="javascript:void(0)");}}),x.base&&E.querySelectorAll("base[href]").forEach(k=>{try{k.setAttribute("href",new URL(k.getAttribute("href")??"",x.base).href);}catch{k.remove();}})),x.serialize)return `<!--${x.marker}-->`+(E.doctype?`<!DOCTYPE ${E.doctype.name}>`:"")+E.documentElement.outerHTML;if(x.base&&!E.querySelector("base[href]")){let k=E.createElement("base");k.setAttribute("href",x.base),E.head.insertBefore(k,E.head.firstChild);}return document.replaceChild(document.adoptNode(E.documentElement),document.documentElement),""},{html:u,base:h,serialize:m,visitor:!!d.visitor,marker:g});return m?wy(l,w,h,g,d.policy):{served:false}}async function wy(l,u,h,d,m){let g=await l.loadHtml(u,h,m)||void 0;if(!await l.evaluate(x=>{for(let E of Array.from(document.childNodes))if(E.nodeType===8&&E.data===x)return E.remove(),true;return false},d).catch(()=>false))throw await g?.(),new Error("the html was not served at baseURL (another request handler answered the navigation)");return {served:true,release:g}}function GN(l){let u=l.route&&l.unroute?{on:l.route.bind(l),off:l.unroute.bind(l)}:null;return {goto:(d,m)=>l.goto(d,m),evaluate:((d,...m)=>l.evaluate(d,m[0])),screenshot:d=>l.screenshot(d),keyboard:{press:d=>l.keyboard.press(d)},url:()=>l.url(),...l.waitForLoadState?{waitForLoadState:(d,m)=>l.waitForLoadState(d,m)}:{},...l.addScriptTag?{addScriptTag:d=>l.addScriptTag(d)}:{},...typeof l.mainFrame=="function"?{playwrightPage:()=>l}:{},...l.setViewportSize?{setViewport:d=>l.setViewportSize(d)}:{},...u?{async loadHtml(d,m,g){let w=new URL(m);w.hash="";let x=g??Dc(w.href),E=()=>true,k=y=>{let A=y.request(),v=false;try{v=!A.frame().parentFrame();}catch{}let S=x({url:A.url(),resourceType:A.resourceType(),navigation:A.isNavigationRequest(),mainFrame:v}),C=S==="fulfill"?y.fulfill({status:200,contentType:"text/html; charset=utf-8",body:d}):S==="abort"?y.abort("blockedbyclient"):y.fallback();return Promise.resolve(C).catch(()=>{})};await u.on(E,k);let _=()=>u.off(E,k).catch(()=>{});try{await l.goto(w.href,{waitUntil:"domcontentloaded",timeout:3e4});}catch(y){throw await _(),y}return _}}:{}}}function UN(l,u={}){let h=u.interceptDocument&&l.setRequestInterception&&l.on&&l.off;return {goto:(d,m)=>l.goto(d,m),evaluate:((d,...m)=>l.evaluate(d,...m)),screenshot:d=>{let{animations:m,...g}=d??{};return l.screenshot(d?g:void 0)},keyboard:{press:d=>l.keyboard.press(d)},url:()=>l.url(),...l.waitForFunction?{async waitForLoadState(d,m){await l.waitForFunction(()=>document.readyState==="complete",m?.timeout!==void 0?{timeout:m.timeout}:{});}}:{},...l.addScriptTag?{addScriptTag:d=>l.addScriptTag(d)}:{},...l.setViewport?{setViewport:d=>l.setViewport(d)}:{},...h?{async loadHtml(d,m,g){let w=new URL(m);w.hash="";let x=g??Dc(w.href),E=_=>{if(_.isInterceptResolutionHandled?.())return;let y=_.frame?.(),A=x({url:_.url(),resourceType:_.resourceType(),navigation:_.isNavigationRequest(),mainFrame:!!y&&!y.parentFrame?.()}),v=A==="fulfill"?_.respond({status:200,contentType:"text/html; charset=utf-8",body:d},0):A==="abort"?_.abort("blockedbyclient",0):_.continue({},0);Promise.resolve(v).catch(()=>{});};await l.setRequestInterception(true),l.on("request",E);let k=async()=>{l.off("request",E),l.__keepRequestInterception||await l.setRequestInterception(false).catch(()=>{});};try{await l.goto(w.href,{waitUntil:"domcontentloaded",timeout:3e4});}catch(_){throw await k(),_}return k}}:{}}}function xy(l){if(!l)return "/";try{return new URL(l).pathname||"/"}catch{return "/"}}var Ay=new Set(["button","link","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","combobox","textbox","searchbox","slider","spinbutton"]);function _y(l,u){let h=(l||"").toLowerCase(),d=(u||"").toLowerCase();return h==="aria-hidden"&&d==="true"||h==="role"&&(d==="presentation"||d==="none")}var Ey='a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"]),[contenteditable="true"]';function WN(l,u){let h=(l.tagName||"").toLowerCase(),d=(l.getAttribute("role")||"").toLowerCase(),m=l.getAttribute("tabindex"),g=m!==null&&parseInt(m,10)>=0;if(h==="a"&&l.hasAttribute("href")||h==="button"||h==="input"||h==="select"||h==="textarea"||Ay.has(d)||g||l.isContentEditable===true)return true;try{if(l.querySelector(Ey)!==null)return !0}catch{return false}return u?[l,...Array.from(l.querySelectorAll?.("*")??[])].some(E=>u(E)&&(E.textContent||"").trim()!==""):false}async function Cc(l,u,h){let d=u.map((w,x)=>_y(w.attribute,w.fixValue)?x:-1).filter(w=>w>=0);if(!d.length)return u;let m=[];try{m=await l.evaluate(w=>{let{payload:x,roles:E,focusableSel:k}=w,_=E.reduce((S,C)=>(S[C]=1,S),{}),y=S=>{let C=getComputedStyle(S);if(C.display==="none"||C.visibility==="hidden")return !1;let N=S.getBoundingClientRect(),T=/rect\(\s*0(px)?[ ,]+0(px)?[ ,]+0(px)?[ ,]+0(px)?\s*\)/.test(C.clip)||/inset\(\s*50%/.test(C.clipPath),H=N.width<=1&&N.height<=1&&C.overflow==="hidden";return T||H},A=S=>{let C=S.tagName.toLowerCase(),N=(S.getAttribute("role")||"").toLowerCase(),T=S.getAttribute("tabindex"),H=T!==null&&parseInt(T,10)>=0;if(C==="a"&&S.hasAttribute("href")||C==="button"||C==="input"||C==="select"||C==="textarea"||_[N]===1||H||S.isContentEditable===!0)return !0;try{if(S.querySelector(k))return !0}catch{return !1}return [S,...Array.from(S.querySelectorAll("*"))].some(X=>y(X)&&(X.textContent||"").trim()!=="")},v=[];for(let S of x){let C;try{C=document.querySelectorAll(S.sel);}catch{continue}if(!C.length)continue;let N=!1;for(let T=0;T<C.length;T++)if(A(C[T])){N=!0;break}N&&v.push(S.i);}return v},{payload:d.map(w=>({i:w,sel:u[w].selector})),roles:[...Ay],focusableSel:Ey});}catch(w){h?.(w),m=d;}if(!m.length)return u;let g=new Set(m);return u.filter((w,x)=>!g.has(x))}var XN=new Set(["a","button","summary"]),KN=new Set(["button","link","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","treeitem","gridcell","searchbox","textbox","combobox","slider","spinbutton"]),JN=new Set(["checkbox","radio","switch","combobox","textbox","searchbox","slider","spinbutton"]),YN=new Set(["empty_link","missing_link_name","weak_link_name","new_window_link","external_link_warning","download_link_warning","placeholder_link","javascript_link","adjacent_redundant_link","adjacent_identical_links","image_text_adjacent_links","inconsistent_link_identification","link_consistency","skip_link","weak_skip_link","missing_skip_link","button_name","missing_button_name","empty_button","weak_button_name","unlabeled_button","label_in_name"]);function Dy(){let u=/[\p{L}\p{N}]/u,h=/^\p{L}$/u,d=/[\p{L}\p{N}\p{M}]/u,m=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u;function g(y,A){if(A<=0)return "";let v=y.charCodeAt(A-1);return v>=56320&&v<=57343&&A>=2?y.slice(A-2,A):y.charAt(A-1)}function w(y,A){let v=y.codePointAt(A);return v===void 0?"":String.fromCodePoint(v)}function x(y,A){return !y||!d.test(y)||m.test(y)||m.test(A)}function E(y){return u.test(y)&&!h.test(y)}function k(y,A){let v=y.normalize("NFC").replace(/\s+/g," ").toLowerCase(),S=A.normalize("NFC").toLowerCase(),C=S.substring(0,40),N=S.length>=40,T=w(C,0),H=g(C,C.length),R=0;for(;;){let q=v.indexOf(C,R);if(q<0)return false;if(x(g(v,q),T)&&(N||x(w(v,q+C.length),H)))return true;R=q+1;}}function _(y){return (y||"").trim().replace(/\s+/g," ")}return {TEXT_PREFIX_LENGTH:40,HAS_NAME_CHARS:u,SINGLE_LETTER:h,WORD_CHAR:d,NO_WORD_BOUNDARY:m,codePointBefore:g,codePointAt:w,isBoundary:x,isLabelText:E,labelContainsText:k,normalizeVisibleText:_}}var Tc=Dy(),ky=Tc.isLabelText,Sy=Tc.labelContainsText,Cy=Tc.normalizeVisibleText,ZN=`var __waLin=(${Dy.toString()})();var TEXT_PREFIX_LENGTH=__waLin.TEXT_PREFIX_LENGTH;var HAS_NAME_CHARS=__waLin.HAS_NAME_CHARS;var SINGLE_LETTER=__waLin.SINGLE_LETTER;var WORD_CHAR=__waLin.WORD_CHAR;var NO_WORD_BOUNDARY=__waLin.NO_WORD_BOUNDARY;var codePointBefore=__waLin.codePointBefore;var codePointAt=__waLin.codePointAt;var isBoundary=__waLin.isBoundary;var isLabelText=__waLin.isLabelText;var labelContainsText=__waLin.labelContainsText;var normalizeVisibleText=__waLin.normalizeVisibleText;`;function wi(l){return (l||"").toLowerCase().normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/[^\p{L}\p{N}]+/gu," ").trim()}function QN(l,u){let h=wi(l),d=wi(u);return d?h===d||h.startsWith(`${d} `)||h.endsWith(` ${d}`)||h.includes(` ${d} `):false}var e4=["text","currentText","urlText","visibleText","linkText"];function Ty(l){let u={tag:"",role:"",text:"",ariaLabel:""};if(!l||typeof l!="string")return u;try{let m=JSON.parse(l);if(m&&typeof m=="object"&&typeof m.original=="string")try{m=JSON.parse(m.original);}catch{}if(m&&typeof m=="object"){typeof m.tag=="string"&&(u.tag=m.tag.trim().toLowerCase());let g=typeof m.role=="string"?m.role:m.attrs&&typeof m.attrs.role=="string"?m.attrs.role:"";u.role=g.trim().toLowerCase();let w=m.attrs&&typeof m.attrs["aria-label"]=="string"&&m.attrs["aria-label"].trim()?m.attrs["aria-label"]:typeof m.currentAriaLabel=="string"?m.currentAriaLabel:"";u.ariaLabel=w.trim();for(let x of e4){let E=m[x];if(typeof E=="string"&&E.trim()){u.text=E;break}}return u}}catch{}let h=/(?:^|\|)\s*visible:\s*(.*?)\s*(?:\||$)/.exec(l);h&&(u.text=h[1]);let d=/(?:^|\|)\s*aria-label:\s*(.*?)\s*(?:\||$)/.exec(l);return d&&(u.ariaLabel=d[1]),u}function t4(l){if(!l||l.charCodeAt(0)!==123)return false;try{return JSON.parse(l).lin===0}catch{return false}}function r4(l,u){return l.role?KN.has(l.role):l.tag?XN.has(l.tag):!!u&&YN.has(u)}function Rc(l){if((l.attribute||"").trim().toLowerCase()!=="aria-label")return {ok:true};if(typeof l.value!="string")return {ok:true};if(l.value.trim()==="")return {ok:true};if(t4(l.context))return {ok:false,reason:"label-in-name: violation recorded before the visible text was stripped"};let u=Ty(l.context);if(!r4(u,l.issueType))return {ok:true};if(l.issueType==="label_in_name"&&u.ariaLabel&&wi(l.value)===wi(u.ariaLabel))return {ok:false,reason:`label-in-name: value "${l.value}" is a no-op \u2014 it equals the current aria-label "${u.ariaLabel}"`};let h=Cy(u.text);return ky(h)?Sy(l.value,h)?{ok:true}:{ok:false,reason:`label-in-name: visible text "${h}" not contained in "${l.value}"`}:{ok:true}}es();function n4(l){let u=[],d=l.replace(/\[\s*([\w-]+)\s*(?:[~|^$*]?=\s*("([^"]*)"|'([^']*)'|([^\]\s]+)))?\s*[is]?\s*\]/g,(m,g,w,x,E,k)=>{let _=x??E??k;if(_&&/^(id|class)$/i.test(g))for(let y of _.split(/\s+/))y&&u.push(y);return " "}).replace(/::?[\w-]+(\([^)]*\))?/g," ");for(let m of d.matchAll(/[#.]([\w-]+)/g))u.push(m[1]);for(let m of d.matchAll(/(?:^|[\s>+~,])([a-zA-Z][\w-]*)/g))u.push(m[1]);return u}function Ry(l){let u=new RegExp(l,"i");return {test:h=>n4(h).some(d=>u.test(d))}}var Fy=[{pattern:/\bintercom\b/i,category:"third-party",reason:"Intercom chat widget"},{pattern:/\bdrift[-_]/i,category:"third-party",reason:"Drift chat widget"},{pattern:/\bcrisp[-_]/i,category:"third-party",reason:"Crisp chat widget"},{pattern:/\btawk[-_]/i,category:"third-party",reason:"Tawk chat widget"},{pattern:/\bhubspot[-_]|hs[-_]messages/i,category:"third-party",reason:"HubSpot widget"},{pattern:/\bzendesk\b/i,category:"third-party",reason:"Zendesk widget"},{pattern:/\bfreshchat\b/i,category:"third-party",reason:"Freshchat widget"},{pattern:/\bgoog-gt\b|\bgoog-te\b/i,category:"third-party",reason:"Google Translate"},{pattern:/\brecaptcha\b|\bhcaptcha\b/i,category:"third-party",reason:"CAPTCHA widget"},{pattern:/\bwistia\b/i,category:"third-party",reason:"Wistia video player"},{pattern:/\bvimeo-player\b/i,category:"third-party",reason:"Vimeo player"},{pattern:/\bconsolto\b/i,category:"third-party",reason:"Consolto widget"},{pattern:/\basw[-_]/i,category:"overlay",reason:"WebAbility widget (legacy asw- namespace)"},{pattern:/webability[-_]widget|webability[-_]a11y/i,category:"overlay",reason:"WebAbility widget (current namespace)"},{pattern:/\bwp-ada-compliance\b/i,category:"overlay",reason:"WP ADA Compliance plugin UI"},{pattern:/\buserway\b/i,category:"overlay",reason:"UserWay overlay"},{pattern:/\bacsb[-_]/i,category:"overlay",reason:"accessiBe overlay"},{pattern:/\baudioeye\b|#ae_/i,category:"overlay",reason:"AudioEye overlay"},{pattern:/\bEquallyAI\b/i,category:"overlay",reason:"EquallyAI overlay"},{pattern:/#wpadminbar\b|#wp-admin-bar|\.adminbar/i,category:"admin",reason:"WordPress admin bar"},{pattern:/#adminbar-search\b/i,category:"admin",reason:"WordPress admin bar search"},{pattern:/#query-monitor/i,category:"admin",reason:"Query Monitor debug panel"},{pattern:/\.elementor-add-section/i,category:"admin",reason:"Elementor editor UI"},{pattern:/\.shopify-section-announcement/i,category:"admin",reason:"Shopify admin preview"},{pattern:/#mceu_\d|\.mce-|\.tox-/i,category:"admin",reason:"TinyMCE editor UI"},{pattern:/#et-vb-app-frame\b|#et-fb-app\b|\.et-fb-/i,category:"admin",reason:"Divi visual builder UI"},{pattern:Ry("speechify"),category:"extension",reason:"Speechify browser extension"},{pattern:Ry("grammarly"),category:"extension",reason:"Grammarly browser extension"},{pattern:/\bcmplz[-_]btn\b|\bcmplz[-_]link\b|\bcmplz[-_]manage\b|#cmplz[-_].*optin\b|#cmplz[-_].*optout\b/i,category:"consent",reason:"Complianz consent control"},{pattern:/\bonetrust\b/i,category:"consent",reason:"OneTrust consent"},{pattern:/\bcookiebot\b/i,category:"consent",reason:"Cookiebot consent"},{pattern:/\bcookieconsent\b|\bcc[-_]btn\b|\bcc[-_]dismiss\b/i,category:"consent",reason:"Cookie consent control"},{pattern:/\bborlabs[-_]cookie\b|\bbrlbs[-_]/i,category:"consent",reason:"Borlabs Cookie consent"},{pattern:/\bgdpr\b.*\bbtn\b|\bgdpr\b.*\bbutton\b/i,category:"consent",reason:"GDPR consent control"}];function Iy(l){for(let{pattern:u,category:h,reason:d}of Fy)if(u.test(l))return {protected:true,category:h,reason:d};return {protected:false}}var a4=new Set(["admin","overlay","extension"]);function Ly(l){for(let{pattern:u,category:h,reason:d}of Fy)if(a4.has(h)&&u.test(l))return {protected:true,category:h,reason:d};return {protected:false}}var i4=[/^#_[Rr]_[a-z0-9]+_(?:-[a-z-]+)?$/,/^#radix-(?:_[Rr]_[a-z0-9]+_|\\?:[Rr][0-9a-z]+\\?:)(?:-[a-z-]+)?$/,/^#headlessui-[a-z][a-z-]*-[0-9]+$/,/^#(?:radix|headlessui|mui)-[a-z0-9][a-z0-9-]*$/i,/^#\\?:[Rr][0-9a-z]+\\?:(?:-[a-z-]+)?$/,/^#«[Rr][0-9a-z]+»(?:-[a-z-]+)?$/,/^#(?:mantine|cdk|ng|swiper)-[a-z0-9-]+$/i,/^#[a-z0-9-]*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f-]+(?:_\d+)?$/i];function o4(l){let u=l.match(/^#[a-z][a-z-]*-([0-9a-f]{6,}(?:-[0-9a-f]{4,})*)$/i);if(!u)return false;let h=u[1].replace(/-/g,"");if(h.length>=12)return true;let d=(h.match(/[a-f]/gi)||[]).length,m=/[0-9]/.test(h);return d>=2&&m}var s4=[/\[[a-zA-Z-]+[*^$|~]?=["']?(?:[^"'\]]*\s)?(?:radix-|headlessui-|mui-|mantine-|cdk-|ng-)/,/\[[a-zA-Z-]+[*^$|~]?=["']?(?:[^"'\]]*\s)?\\?:[Rr][0-9a-z]+\\?:/,/\[[a-zA-Z-]+[*^$|~]?=["']?(?:[^"'\]]*\s)?_[Rr]_[a-z0-9]+_/],l4=[/\.\w*-jss\d+\b/,/\.makeStyles-\w+-\d+\b/,/\.mui-[A-Za-z0-9]{6,}\b/,/\.css-[a-z0-9]{6,}\b/,/\.sc-(?:(?=[A-Za-z0-9]*[A-Z0-9])[A-Za-z0-9]{6,}\b|(?=[A-Za-z0-9]*[a-z])(?=[A-Za-z0-9]*[A-Z])[A-Za-z0-9]{5}(?![A-Za-z0-9-])|(?=[a-z]{0,3}[b-df-hj-np-tv-xz]{3})[a-z]{6}(?![A-Za-z0-9-]))/];function Py(l){if(!l)return false;let u=l.split(/\s*[>+~]\s*|\s+/);for(let h of u){let d=h.indexOf("#");if(d===-1)continue;let m=h.slice(d);if(i4.some(g=>g.test(m))||u4(m.slice(1))||o4(m)||/\d{10,}/.test(m))return true}return !!(l.indexOf("[")!==-1&&s4.some(h=>h.test(l))||l.indexOf(".")!==-1&&l4.some(h=>h.test(l)))}function u4(l){for(var u=l.split(/[-_]+/),h=0;h<u.length;h++){var d=u[h];if(d.length>=12&&/^[0-9a-f]+$/i.test(d))return true;if(!(d.length<6||!/[0-9]/.test(d)||!/[a-z]/i.test(d))){var m=d.match(/[0-9]+|[a-z]+/gi);if(m&&m.length>=4&&m.join("")===d)return true}}return false}var My=new Set(["a","abbr","article","aside","audio","b","blockquote","br","button","canvas","caption","code","col","dd","details","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","i","iframe","img","input","label","legend","li","main","map","mark","nav","ol","option","p","pre","section","select","small","span","strong","sub","summary","sup","svg","table","tbody","td","textarea","tfoot","th","thead","time","tr","u","ul","video"]);function Fc(l){let u=[],h=1,d=l.trim().toLowerCase();if(My.has(d))return {score:0,reasons:[`bare <${d}> selector matches all ${d} elements on page`]};if(d.match(/^([a-z][a-z0-9]*):(nth-of-type|nth-child)\(\d+\)$/i))return {score:.1,reasons:[`positional selector ${d} has no class/id anchor \u2014 breaks on any DOM change`]};if(Py(l))return {score:0,reasons:[`${l.slice(0,60)} anchors on a framework-generated id (unstable across renders)`]};let g=/#[a-zA-Z]/.test(l),w=/\.[a-zA-Z]/.test(l),x=/\[data-/.test(l),E=/\[(aria-)[^=\]]*=["'][^"']{2,}["']|\[href[^=\]]*=["'][^"'#]{2,}["']|\[src[*$^]?=["'][^"']{2,}["']/.test(l);!g&&!w&&!x&&!E&&(h=.3,u.push("no class, id, data attribute, or semantic attribute anchor \u2014 fragile positional selector")),E&&!g&&!w&&!x&&(h=Math.max(h,.8)),g&&(h=Math.max(h,.9));let k=(l.match(/:nth-of-type|:nth-child/gi)||[]).length;k>=3&&(h=Math.min(h,.4),u.push(`${k}x positional selectors \u2014 very fragile`));let _=(l.match(/>/g)||[]).length;return _>=6&&(h=Math.min(h,.5),u.push(`${_}-level deep nesting \u2014 fragile`)),{score:h,reasons:u}}var c4=new Set(["aria-label","aria-labelledby","aria-describedby","aria-hidden","aria-live","aria-atomic","aria-required","aria-expanded","aria-controls","aria-current","aria-sort","aria-invalid","aria-level","aria-haspopup","aria-pressed","aria-checked","aria-selected","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-multiselectable","aria-readonly","aria-disabled","aria-errormessage","aria-modal","aria-placeholder","aria-roledescription","aria-colcount","aria-rowcount","aria-colindex","aria-rowindex","role","alt","title","lang","dir","tabindex","href","type","autocomplete","for","pattern","inputmode","controls","muted","id","name","scope","style","class","append","prepend","textContent","remove","remove_attribute"]);function d4(l){return !!(c4.has(l)||l.startsWith("data-")&&/^data-[a-z0-9-]{1,64}$/i.test(l))}var f4=new Set(["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","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","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"]),m4=/(?:^|[\s>+~,])(?:body|html)(?:[#.:\[][^\s>+~,]*)*\s*$/i;function p4(l){return l?l.split(",").some(u=>m4.test(u.trim())):false}function Vy(l){if(typeof l!="string"||l.trim()==="")return {ok:false,reason:"empty role value"};let u=l.split(" ");for(let h of u){if(h==="")return {ok:false,reason:`role "${l}" has malformed whitespace`};if(h!==h.toLowerCase())return {ok:false,reason:`role "${h}" must be lowercase (ARIA roles are case-sensitive)`};if(!f4.has(h))return {ok:false,reason:`"${h}" is not a valid ARIA role`}}return {ok:true}}var h4=new Set(["off","on","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","organization-title","username","new-password","current-password","one-time-code","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","impp","email","webauthn"]),$y=/^\s*html\s*$/i;function Ic(l,u){return typeof l=="string"&&$y.test(l)&&(u??"").trim()==="lang"}function g4(l){return typeof l!="string"||l===""?{ok:false,reason:"empty <html lang> is report-only, not a fix"}:la(l)!==l?{ok:false,reason:`<html lang> must be a primary language tag, got "${l.slice(0,20)}"`}:{ok:true}}function b4(l,u,h="full"){return Ic(l,u)?{ok:true}:Pc(l,h)}var v4=[{re:/^\s*\*\s*$/,reason:"universal selector (*) blanks every element"},{re:$y,reason:"<html> root \u2014 belongs in global settings, not a fix"},{re:/javascript:/i,reason:"javascript: scheme inside selector"},{re:/<script/i,reason:"script tag inside selector"}],y4=new Set("not is where has nth-child nth-last-child nth-of-type nth-last-of-type first-child last-child only-child first-of-type last-of-type only-of-type empty root scope hover active focus focus-within focus-visible visited link any-link local-link target target-within checked indeterminate default disabled enabled required optional valid invalid user-valid user-invalid in-range out-of-range read-only read-write placeholder-shown autofill lang dir host host-context defined open closed modal popover-open fullscreen picture-in-picture playing paused muted seeking buffering stalled volume-locked past future current blank state has-slotted nth-col nth-last-col left right first before after first-line first-letter placeholder selection marker backdrop part slotted cue cue-region file-selector-button highlight spelling-error grammar-error target-text view-transition view-transition-group view-transition-image-pair view-transition-old view-transition-new".split(" ")),Oy=new Set(["child","parent","sibling","adjacent","descendant","column-combinator"]),w4=/^-?[_a-z\u00A0-\uFFFF][\w\-\u00A0-\uFFFF]*$/i,x4=/^\s*(even|odd|[+-]?\d*n(\s*[+-]\s*\d+)?|[+-]?\d+)\s*$/i;function Lc(l,u=false){for(let h of l){if(!h.length||Oy.has(h[h.length-1].type)||!u&&Oy.has(h[0].type))return false;for(let d of h){if(d.type==="column-combinator"||d.type==="tag"&&!w4.test(d.name))return false;if(d.type!=="pseudo"&&d.type!=="pseudo-element")continue;let m=d.name.toLowerCase();if(!y4.has(m))return false;if(d.type==="pseudo-element"){if(d.data==="")return false;continue}if(m.startsWith("nth-")&&(typeof d.data!="string"||!A4(d.data))||Array.isArray(d.data)&&!Lc(d.data,m==="has"))return false}}return true}function A4(l){let u=/^([\s\S]*?)(?:\s+of\s+(\S[\s\S]*))?$/i.exec(l);if(!u||!x4.test(u[1]))return false;if(u[2]===void 0)return true;try{return Lc(cssWhat.parse(u[2]))}catch{return false}}function jy(l){let u=l.replace(/\\[\s\S]/g,"x").replace(/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/g,'""');for(let h=0;h<4;h++)u=u.replace(/\((?:[^()]|\(\))*\)/g,"()");if(/[()]/.test(u.replace(/\(\)/g,""))||/[^\w\-#.[\]=*^$|~:()>+,\s"\u00A0-\uFFFF]/.test(u))return false;for(let h of u.matchAll(/\[[^\]]*?[*^$|~]?=([^\]]*)\]/g)){let d=h[1].trim();if(!/^(""|-?[_a-z\u00A0-\uFFFF][\w\-\u00A0-\uFFFF]*)(\s+[is])?$/i.test(d))return false}try{return Lc(cssWhat.parse(l))}catch{return false}}function Pc(l,u="full"){if(!l||typeof l!="string")return {ok:false,reason:"empty selector"};if(l.length>2e3)return {ok:false,reason:"selector too long (>2000 chars)"};for(let{re:m,reason:g}of v4)if(m.test(l))return {ok:false,reason:g};if(!jy(l))return {ok:false,reason:"selector does not parse (unescaped class/id character or unknown pseudo)"};let h=Fc(l);if(h.score<=.1)return {ok:false,reason:h.reasons[0]||"selector too broad"};let d=u==="dead-region"?Ly(l):Iy(l);return d.protected?{ok:false,reason:`protected element: ${d.reason}`}:{ok:true}}function zy(l){return !l||typeof l!="string"?{ok:false,reason:"empty attribute"}:l.length>64?{ok:false,reason:"attribute name too long"}:/^on[a-z]/i.test(l)?{ok:false,reason:`event handler attribute "${l}" not permitted`}:d4(l)?{ok:true}:{ok:false,reason:`attribute "${l}" not in allowlist`}}var Gy=[{re:/<script/i,reason:"<script> tag in value"},{re:/<iframe/i,reason:"<iframe> tag in value"},{re:/<object/i,reason:"<object> tag in value"},{re:/<embed/i,reason:"<embed> tag in value"},{re:/javascript:/i,reason:"javascript: URL in value"},{re:/data:text\/html/i,reason:"data:text/html URL in value"},{re:/\bon[a-z]+\s*=/i,reason:"inline event handler in value"}],_4=new Set(["search","close","home","menu","previous","submit","next","back","details","view all","learn more","yes","no","show more","ok","go","open","more","here","click","link","button","icon","image"]);function Mc(l,u){if(u!=="aria-label"&&u!=="alt")return [];if(typeof l!="string"||l==="")return [];let h=[],d=m=>{h.includes(m)||h.push(m);};return /<[a-z][a-z0-9]*[\s>]/i.test(l)&&d("markup"),(/^https?:\/\//i.test(l)||/^www\./i.test(l))&&d("url_like"),/mailto:/i.test(l)&&d("mailto"),/^Visit tel:/i.test(l)&&d("tel_uri"),l.length>80&&d("long_label"),/\p{L}/u.test(l)||d("no_letters"),/\.(png|jpg|jpeg|svg|gif|webp|ico|bmp)$/i.test(l)&&d("filename"),/^Field\[/i.test(l)&&d("field_index"),/^(Checkbox field|Radio field|Id|Img )$/i.test(l)&&d("generic_field"),/\s\s[WX]$/.test(l)&&d("dimension_suffix"),/^(Go to|Visit) [?#]/.test(l)&&d("query_or_hash"),/^(Go to|Visit) \d+\.\d+/.test(l)&&d("ip_like"),/^visit \(opens/i.test(l)&&d("no_destination"),_4.has(l.toLowerCase())&&d("vague_word"),h}function Oc(l,u){if(typeof l!="string")return {ok:false,reason:"value not a string"};if(l.length>500)return {ok:false,reason:"value too long (>500 chars)"};for(let{re:h,reason:d}of Gy)if(h.test(l))return {ok:false,reason:d};if(u==="role"){let h=Vy(l);if(!h.ok)return h}if(u==="tabindex"&&l!=="-1"&&l!=="0")return {ok:false,reason:`tabindex="${l}" \u2014 only -1 or 0 allowed`};if(u==="aria-hidden"&&l!=="true")return {ok:false,reason:`aria-hidden="${l}" \u2014 must be "true"`};if(u==="href"&&l==="")return {ok:false,reason:"empty href makes link navigate to current page"};if(u==="autocomplete"){let d=l.trim().toLowerCase().split(/\s+/),m=d[d.length-1];if(!h4.has(m))return {ok:false,reason:`"${m}" is not a valid HTML autocomplete token (HTML Living Standard)`}}return {ok:true}}var E4=new Set(["track","legend","caption","a","span","source","style"]);function D4(l){if(typeof l!="string")return {ok:false,reason:"value not a string"};if(l.length>2e3)return {ok:false,reason:"HTML value too long (>2000 chars)"};for(let{re:h,reason:d}of Gy)if(h.test(l))return {ok:false,reason:d};let u=l.match(/<\/?([a-z][a-z0-9]*)\b/gi)||[];for(let h of u){let d=h.replace(/<\/?/,"").toLowerCase();if(!E4.has(d))return {ok:false,reason:`tag <${d}> not in allowlist`}}return {ok:true}}var Ny=new Set(["href","src","action","method","type","name","value","for"]),k4=new Set(["aria-hidden","tabindex","style","class","aria-live","muted"]);function Uy(l){return l.attribute==="remove_attribute"?Ny.has(l.value)?{tier:"destructive",reason:`removing ${l.value} breaks functionality`}:{tier:"modifier",reason:`removing ${l.value} requires review`}:Ny.has(l.attribute)&&l.value===""?{tier:"destructive",reason:`emptying ${l.attribute} breaks functionality`}:k4.has(l.attribute)?{tier:"modifier",reason:`${l.attribute} changes element visibility/interactivity`}:l.attribute==="prepend"||l.attribute==="append"||l.attribute==="textContent"?{tier:"modifier",reason:`${l.attribute} modifies page content`}:{tier:"additive",reason:"adds missing accessibility attribute"}}var qy=300,By=8;function S4(l){if(l.length>qy)return `selector_too_deep: ${l.length} chars (> ${qy})`;let u=(l.match(/:nth-(of-type|child)\(/g)||[]).length;return u>By?`selector_too_deep: ${u} positional steps (> ${By})`:null}var C4=/^meta\[name=(["'])viewport\1\]$/;function T4(l,u){if(!C4.test(l.trim()))return {ok:false,reason:'attribute "content" is allowed only on meta[name="viewport"]'};let h=String(u).toLowerCase();if(/user-scalable\s*=\s*(no|0)\b/.test(h))return {ok:false,reason:"viewport content still blocks zoom (user-scalable=no)"};let d=h.match(/maximum-scale\s*=\s*([\d.]+)/);return d&&parseFloat(d[1])<2?{ok:false,reason:`viewport content still limits zoom (maximum-scale=${d[1]})`}:Oc(u,"content")}function ds(l,u="full"){if(Ic(l.selector,l.attribute))return g4(l.value);let h=Pc(l.selector,u);if(!h.ok)return h;let d=S4(l.selector);if(d)return {ok:false,reason:d};if(l.attribute==="content")return T4(l.selector,l.value);let m=zy(l.attribute);if(!m.ok)return m;if(l.attribute==="role"&&p4(l.selector))return {ok:false,reason:"role on <body>/<html> is ignored by assistive technology"};let g=Uy(l);if(g.tier==="destructive")return {ok:false,reason:g.reason};if(l.attribute==="append"||l.attribute==="prepend")return D4(l.value);let w=Oc(l.value,l.attribute);if(!w.ok)return w;let x=Rc(l);return x.ok?{ok:true}:x}var R4=["button","link","checkbox","radio","switch","tab","menuitem"],F4={aria_hidden_focusable:{sc:"4.1.2",level:"A",writes:{tabindex:["-1"]}},missing_button_role:{sc:"4.1.2",level:"A",writes:{role:["button"],tabindex:["0"]}},javascript_link:{sc:"4.1.2",level:"A",writes:{role:["button"]}},placeholder_link:{sc:"4.1.2",level:"A",writes:{role:["button"]}},missing_semantic_role:{sc:"4.1.2",level:"A",writes:{role:R4}},missing_label:{sc:"4.1.2",level:"A",writes:{title:"*","aria-label":"*"}},unlabeled_button:{sc:"4.1.2",level:"A",writes:{"aria-label":"*"}},main_content_hidden:{sc:"4.1.2",level:"A",writes:{"aria-hidden":["false"]}},keyboard_trap:{sc:"2.1.1",level:"A",writes:{tabindex:["0"]}},scrollable_not_focusable:{sc:"2.1.1",level:"A",writes:{tabindex:["0"]}},focus_order_disruption:{sc:"2.4.3",level:"A",writes:{tabindex:["0"]}},missing_alt:{sc:"1.1.1",level:"A",writes:{alt:"*"}},svg_missing_name:{sc:"1.1.1",level:"A",writes:{"aria-label":"*"}},decorative_icon:{sc:"1.1.1",level:"A",writes:{"aria-hidden":["true"]}},empty_link:{sc:"2.4.4",level:"A",writes:{"aria-label":"*"}},missing_fieldset_legend:{sc:"1.3.1",level:"A",writes:{role:["group","radiogroup"]}},missing_table_header:{sc:"1.3.1",level:"A",writes:{role:["columnheader","presentation"]}},missing_table_scope:{sc:"1.3.1",level:"A",writes:{scope:["col","row","colgroup","rowgroup"]}},listitem:{sc:"1.3.1",level:"A",writes:{role:["list","none"]}},list:{sc:"1.3.1",level:"A",writes:{role:["none"]}},"aria-required-parent":{sc:"1.3.1",level:"A",writes:{role:["none","menu","tablist","listbox","tree","list","radiogroup"]}},"aria-required-children":{sc:"1.3.1",level:"A",writes:{role:["none"]}},missing_document_language:{sc:"3.1.1",level:"A",writes:{lang:"*"}},unsafe_autoplay:{sc:"1.4.2",level:"A",writes:{muted:"*"}},identify_input_purpose:{sc:"1.3.5",level:"AA",writes:{autocomplete:"*"}},missing_autocomplete:{sc:"1.3.5",level:"AA",writes:{autocomplete:"*"}},aria_live:{sc:"4.1.3",level:"AA",writes:{"aria-live":["polite","assertive"]}},zoom_restriction:{sc:"1.4.4",level:"AA",writes:{content:"*"}},target_too_small:{sc:"2.5.8",level:"AA",writes:{style:["min-width:24px;min-height:24px;"]}}},I4={missing_landmark:"landmarks are a best practice, not an A/AA criterion",nested_landmark:"landmarks are a best practice, not an A/AA criterion",duplicate_id:"4.1.1 Parsing is obsolete in WCAG 2.2",missing_button_type:"a button without type fails no A/AA criterion",empty_heading:"empty headings are a best practice, not an A/AA criterion",adjacent_redundant_link:"adjacent duplicate links fail no A/AA criterion"};function Nc(l,u="AA"){if(u==="AAA")return {ok:true,sc:""};let h=I4[l.issueType];if(h)return {ok:false,reason:`${l.issueType}: ${h}`};let d=F4[l.issueType];if(!d)return {ok:false,reason:`${l.issueType}: no WCAG 2.2 ${u} criterion this fix remedies`};if(u==="A"&&d.level!=="A")return {ok:false,reason:`${l.issueType}: ${d.sc} is level ${d.level}, above level A`};let m=d.writes[l.attribute.toLowerCase()];return m?m!=="*"&&!m.includes(l.value.trim().toLowerCase())?{ok:false,reason:`${l.issueType}: ${l.attribute}="${l.value}" does not remedy ${d.sc}`}:{ok:true,sc:d.sc}:{ok:false,reason:`${l.issueType}: writing ${l.attribute} does not remedy ${d.sc}`}}async function Wy(l,u){if(!u.length)return [];try{return await l.evaluate(L4,u)}catch(h){return u.map(()=>`never-harm check could not run: ${h.message}`)}}function L4(l){let u=["list"],h={ul:u,ol:u,menu:u,li:["listitem"],dl:["list"],dt:["term","listitem"],dd:["definition","listitem"],table:["table","grid","treegrid","presentation","none"],thead:["rowgroup"],tbody:["rowgroup"],tfoot:["rowgroup"],tr:["row"],th:["columnheader","rowheader","cell"],td:["cell","gridcell","columnheader","rowheader"],caption:["caption"],h1:["heading"],h2:["heading"],h3:["heading"],h4:["heading"],h5:["heading"],h6:["heading"],button:["button"],input:[],select:[],textarea:[],option:["option"],label:[],fieldset:["group","radiogroup"],img:["img","presentation","none"],iframe:[],video:[],audio:[],summary:[],nav:["navigation"],main:["main"],form:["form","search"],dialog:["dialog","alertdialog"]},d={menu:["menuitem","menuitemcheckbox","menuitemradio"],menubar:["menuitem","menuitemcheckbox","menuitemradio"],tablist:["tab"],listbox:["option"],tree:["treeitem"],radiogroup:["radio"]},m=["button","link","checkbox","radio","switch","tab","menuitem","menuitemcheckbox","menuitemradio","option","combobox","textbox","searchbox","slider","spinbutton","treeitem","gridcell","scrollbar"],g='a[href],area[href],button,input:not([type=hidden]),select,textarea,summary,iframe,[contenteditable=""],[contenteditable="true"],audio[controls],video[controls],[tabindex]:not([tabindex="-1"])',w=V=>(V||"").trim().toLowerCase().split(/\s+/)[0]||"",x=new Map,E=l.map(()=>null),k=l.map(V=>{try{return Array.from(document.querySelectorAll(V.sel))}catch{return []}}),_=(V,W,re)=>{let se=V.tagName.toLowerCase(),J=w(W);if(se==="a"&&V.hasAttribute("href"))return J==="link"?null:`role="${J}" would override the native <a href> link`;let ne=h[se];if(!ne||ne.includes(J))return null;if(se==="li"&&(J==="none"||J==="presentation")){let O=V.parentElement,z=d[w(O?.getAttribute("role")??null)];if(z&&Array.from(V.querySelectorAll("[role]")).some(Q=>z.includes(w(Q.getAttribute("role")))))return null}return (se==="ul"||se==="ol")&&(J==="none"||J==="presentation")&&!V.querySelector("li")?null:`role="${J}" would override the native <${se}> semantics`},y=V=>{let W=V.tagName.toLowerCase();if((W==="a"||W==="area")&&V.hasAttribute("href")||["button","select","textarea","summary","iframe"].includes(W)||W==="input"&&(V.getAttribute("type")||"").toLowerCase()!=="hidden"||(W==="audio"||W==="video")&&V.hasAttribute("controls")||V.isContentEditable)return true;let re=x.get(V)??w(V.getAttribute("role"));return m.includes(re)},A=V=>{let W=V.closest("[role=dialog],[role=alertdialog],dialog,[role=menu],[role=menubar],[role=listbox]");return !W||W.closest('[aria-hidden="true"],[hidden]')||!W.getClientRects().length||getComputedStyle(W).visibility==="hidden"?null:W},v=V=>{if(V.closest("[hidden],[inert]")||!V.getClientRects().length)return false;let W=getComputedStyle(V).visibility;return W!=="hidden"&&W!=="collapse"},S=V=>{let W=V.href;return V.tagName.toLowerCase()!=="a"||!W?false:Array.from(document.querySelectorAll("a[href]")).some(re=>re!==V&&re.href===W&&re.tabIndex>=0&&v(re))},C=V=>{let W=getComputedStyle(V),re=/auto|scroll/.test(W.overflowY)&&V.scrollHeight>V.clientHeight+1;return /auto|scroll/.test(W.overflowX)&&V.scrollWidth>V.clientWidth+1||re},N=(V,W,re)=>{let se=parseInt(W,10),J=A(V);return J?`tabindex change inside an open ${J.getAttribute("role")||J.tagName.toLowerCase()} (dialog/menu focus is the widget's own)`:se<0?!(V.matches(g)||y(V))||!v(V)||S(V)?null:`tabindex="${W}" on a rendered interactive <${V.tagName.toLowerCase()}>: it stays visible and clickable but leaves the keyboard order`:!(se>=0)||y(V)?null:re==="scrollable_not_focusable"?C(V)?V.querySelector(g)?"scroll container already holds a focusable descendant":null:"tabindex>=0 on a container that does not scroll":`tabindex="${W}" on a non-interactive <${V.tagName.toLowerCase()}>`},T=V=>" "+V.replace(/([a-z])([A-Z])/g,"$1 $2").toLowerCase().replace(/[^a-z0-9]+/g," ").trim()+" ",H=[["email",/ e ?mail /],["tel",/ (phone|telephone|tel|mobile|cell) /],["given-name",/ (first ?name|fname|given ?name|forename) /],["family-name",/ (last ?name|lname|surname|family ?name) /],["username",/ (user ?name|login|user ?id) /],["street-address",/ (street|address|addr|address ?line ?1?|address1) /],["postal-code",/ (zip|zip ?code|postal|post ?code|postcode) /],["country",/ country /],["cc",/ (card ?number|cc ?num(ber)?|credit ?card|cvv|cvc|csc|expiry|expiration) /],["other",/ (company|organi[sz]ation|business|city|town|state|province|birthday|birth|website|url|title|job) /]],R=V=>{let W=V.trim().toLowerCase().split(/\s+/).pop()||"";return W==="email"?"email":W.startsWith("tel")?"tel":W==="country"||W==="country-name"?"country":W.startsWith("cc-")?"cc":W==="address-line1"?"street-address":["given-name","family-name","name","street-address","postal-code","username","current-password","new-password"].includes(W)?W:""},q=V=>{let W=[];for(let se of Array.from(V.labels??[]))W.push(se.textContent||"");let re=V.getAttribute("aria-label");re&&W.push(re);for(let se of (V.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean))W.push(document.getElementById(se)?.textContent||"");return W},X=(V,W)=>{let re=R(W);if(!re)return `autocomplete="${W}" is outside the unambiguous token set`;let se=(V.getAttribute("type")||"").toLowerCase(),J=[V.getAttribute("name")||"",V.getAttribute("id")||"",V.getAttribute("placeholder")||"",...q(V)].map(T),ne=J.join(" ");if(se==="search"||/ (search|query|keyword|keywords) /.test(ne)||/ (q|s) /.test(T(V.getAttribute("name")||""))||V.closest("[role=search]"))return "autocomplete in a search field";if(se==="password"){let z=V.form??V.closest("form"),Q=z?T(["id","class","name","action"].map(ve=>z.getAttribute(ve)||"").join(" ")):" ",le=!/ (current|old|existing) /.test(ne)&&(/ (new|confirm(ation)?|verify|create|register|signup|sign up|repeat|re ?type|again|change|reset) /.test(ne)||/ (new|register|signup|sign up|create|change|reset) /.test(Q))?"new-password":"current-password";return re===le?null:`autocomplete="${W}" on a password field that reads as ${le}`}let O=new Set;se==="email"&&O.add("email"),se==="tel"&&O.add("tel");for(let z of J){for(let[ee,te]of H)te.test(z)&&O.add(ee);let Q=z.replace(/ (first ?name|last ?name|given ?name|family ?name|user ?name|fname|lname) /g," ");/ name /.test(Q)&&O.add(/^ ((full|your) )?name $/.test(Q.replace(/\s+/g," "))?"name":"other");}return O.size!==1||!O.has(re)?`autocomplete="${W}": the field names ${O.size?[...O].join(" + "):"no purpose"}, not exactly one`:null},P=V=>!!(V||"").trim(),F=V=>(V.getAttribute("aria-labelledby")||"").trim().split(/\s+/).filter(Boolean).map(W=>document.getElementById(W)?.textContent||"").join(" "),I=V=>P(V.getAttribute("aria-label"))||P(F(V))||P(V.getAttribute("title")),M=V=>{let W=V.tagName.toLowerCase(),re=w(V.getAttribute("role"));if(re==="presentation"||re==="none")return "none";if(W==="img")return V.hasAttribute("alt")?P(V.getAttribute("alt"))||I(V)?"named":"none":I(V)?"named":"unnamed";if(W==="svg"){let se=Array.from(V.children).some(J=>J.tagName.toLowerCase()==="title"&&P(J.textContent));return I(V)||se?"named":"unnamed"}return re==="img"?I(V)?"named":"unnamed":"none"},$=V=>{let W="",re=se=>{for(let J of Array.from(se.childNodes))J.nodeType===3?W+=J.textContent||"":J.nodeType===1&&!["svg","script","style","template"].includes(J.tagName.toLowerCase())&&re(J);};return re(V),W.trim()},j=V=>{let W="decorative aria-hidden: no 1.1.1 evidence (not an image exposed without a name)",re=M(V);if(re==="unnamed")return null;if(re==="named")return "decorative aria-hidden: the image has a name (would hide a named image)";if($(V))return W;let se=Array.from(V.querySelectorAll('img, svg, [role~="img"]')).filter(ne=>!ne.parentElement?.closest("svg"));if(!se.length)return W;let J=se.map(M);return J.includes("named")?"decorative aria-hidden: the holder contains a named image":J.includes("unnamed")?null:W},U=l.map((V,W)=>W).sort((V,W)=>+(l[W].attr==="role")-+(l[V].attr==="role"));for(let V of U){let W=l[V],re=k[V];if(!re.length)continue;let se=W.attr.toLowerCase();for(let J of re){let ne=null;if(se==="role"?ne=_(J,W.val,W.issueType):se==="tabindex"?ne=N(J,W.val,W.issueType):se==="autocomplete"?ne=X(J,W.val):W.issueType==="decorative_icon"&&se==="aria-hidden"&&(ne=j(J)),ne){E[V]=ne;break}}if(se==="role"&&!E[V])for(let J of re)x.set(J,w(W.val));}return E}var Xy=["wcag2a","wcag2aa","wcag21a","wcag21aa","wcag22aa"];async function P4(l){if(await l.evaluate(()=>typeof window.axe?.run=="function"))return;let h=await Promise.resolve().then(()=>o1(sc())),d=h.source??h.default?.source;if(!d)throw new Error("axe-core source unavailable");try{await l.evaluate(d);}catch{let{inject:m}=await Promise.resolve().then(()=>(pr(),Qr));await m(l,{tool:"axe",content:d});}}async function Ky(l){try{return await P4(l),await l.evaluate(async u=>{let h=window,d=await h.axe.run(document,{runOnly:{type:"tag",values:u},rules:{"color-contrast":{enabled:!1}},resultTypes:["violations"],elementRef:!0,iframes:!1}),m=new Map;for(let g of d.violations){let w=m.get(g.id)??new Set;m.set(g.id,w);for(let x of g.nodes)x.element&&w.add(x.element);}h.__waFixVerify={pre:m};},Xy),{ok:!0}}catch(u){return {ok:false,error:u.message}}}async function Jy(l,u,h={}){let d=Date.now(),m=g=>({results:u.map(()=>({status:"not_verifiable",reason:g})),axeRuns:0,ms:Date.now()-d,error:g});if(!u.length)return {results:[],axeRuns:0,ms:0};try{let g=await l.evaluate(M4,{fixes:u.map(w=>({sel:w.sel,attr:w.attr,val:w.val})),tags:Xy,maxRuns:h.maxAxeRuns??40});return g.error?m(g.error):{results:g.results,axeRuns:g.runs,ms:Date.now()-d}}catch(g){return m(`verify: ${g.message}`)}}async function M4(l){let{fixes:u,tags:h,maxRuns:d}=l,m=window,g=m.__waFixVerify;if(!g?.pre)return {error:"no pre-fix axe run on this page",results:[],runs:0};if(typeof m.axe?.run!="function")return {error:"axe-core is not loaded",results:[],runs:0};let w=["remove_attribute","prepend","append","textcontent","innerhtml","thead"],x=u.map(q=>{let X=[];try{X=Array.from(document.querySelectorAll(q.sel));}catch{}return {attr:q.attr,val:q.val,els:X,ok:X.length>0&&/^[a-z][a-z0-9_.:-]*$/i.test(q.attr)&&!w.includes(q.attr.toLowerCase())}}),E=x.map(q=>q.ok?"pending":"not_verifiable"),k=x.map(q=>q.ok?void 0:q.els.length?`"${q.attr}" is not an attribute write the verifier can apply`:"selector matches no element"),_=x.map(()=>new Set),y=new Map,A=()=>{for(let[q,X]of y)for(let[P,F]of X)F===null?q.removeAttribute(P):q.setAttribute(P,F);},v=q=>{A();for(let X of q)for(let P of x[X].els){let F=y.get(P);F||y.set(P,F=new Map),F.has(x[X].attr)||F.set(x[X].attr,P.getAttribute(x[X].attr));try{P.setAttribute(x[X].attr,x[X].val);}catch{E[X]="not_verifiable",k[X]=`attribute "${x[X].attr}" cannot be written`;}}},S=0,C=new Map,N=async q=>{S++;let X=await m.axe.run(q,{runOnly:{type:"tag",values:h},rules:{"color-contrast":{enabled:false}},resultTypes:["violations"],elementRef:true,iframes:false}),P=[];for(let F of X.violations)for(let I of F.nodes)I.element&&!g.pre.get(F.id)?.has(I.element)&&!C.get(F.id)?.has(I.element)&&P.push({rule:F.id,el:I.element});return P},T=(q,X)=>x[q].els.some(P=>P===X||P.contains(X)||X.contains(P)),H=()=>E.map((q,X)=>q==="pending"?X:-1).filter(q=>q>=0),R=(q,X,P)=>{E[q]="rejected_regression";for(let F of X)_[q].add(F.rule);P&&(k[q]=P);};try{let q=H();v(q);let X=await N(document);if(X.length){v([]);let P=await N(document);for(let F of P){let I=C.get(F.rule)??new Set;C.set(F.rule,I),I.add(F.el);}if(P.length){X=X.filter(F=>!C.get(F.rule)?.has(F.el));for(let F of q){let I=Array.from(new Set(P.filter(M=>T(F,M.el)).map(M=>M.rule)));I.length&&(E[F]="not_verifiable",k[F]=`baseline not clean: ${I.join(", ")} fails on this element with no fix applied`);}}}if(X.length){let P=H(),F=P.filter(j=>X.some(U=>T(j,U.el))),I=P.filter(j=>!F.includes(j));for(let j of F){let U=X.filter(re=>T(j,re.el));if(S>=d){R(j,U,"verify budget exhausted while the fix was under suspicion");continue}v([...I,j]);let V=Array.from(new Set([...U.map(re=>re.el),...x[j].els])),W=(await N({include:V})).filter(re=>T(j,re.el));W.length&&R(j,W);}let M=H();v(M);let $=await N(document);if($.length){let j=async V=>{if(S>=d)throw new Error("budget");return v(V),N(document)},U=async(V,W)=>{let re=await j([...W,...V]);if(!re.length)return [];if(V.length===1)return R(V[0],re),V;let se=V.length>>1,J=V.slice(0,se),ne=await U(J,W),O=await U(V.slice(se),[...W,...J.filter(z=>!ne.includes(z))]);return [...ne,...O]};try{await U(M,[]);}catch{let V=$.some(W=>!M.some(re=>T(re,W.el)));M=H();for(let W of M)(V||$.some(re=>T(W,re.el)))&&R(W,$.filter(re=>T(W,re.el)),"verify budget exhausted before the regression was isolated");}}}for(let P of H())E[P]="verified";}finally{A();}return {runs:S,results:E.map((q,X)=>({status:q,..._[X].size?{newViolations:Array.from(_[X])}:{},...k[X]?{reason:k[X]}:{}}))}}var O4=new Set(["correct_needed","correct_unneeded","wrong_value","harmful","unclear"]),Yy=(l,u)=>({sel:l.sel,attr:l.attr,val:l.val,issueType:l.issueType,verdict:u.verdict,apply:u.apply,...u.suggestedValue!==void 0?{suggestedValue:u.suggestedValue}:{},reason:u.reason}),qc=(l,u)=>Yy(l,{verdict:"unclear",apply:false,reason:u});function N4(l){if(!l||typeof l!="object")return null;let u=l;if(typeof u.index!="number"||!Number.isInteger(u.index)||typeof u.verdict!="string"||!O4.has(u.verdict))return null;let h=u.verdict;return {index:u.index,verdict:h,apply:u.apply===true&&h==="correct_needed",...typeof u.suggestedValue=="string"?{suggestedValue:u.suggestedValue}:{},reason:typeof u.reason=="string"?u.reason.replace(/\s+/g," ").slice(0,200):""}}async function Zy(l,u){let h=[],d=[],m=null;for(let g=0;g<l.length;g+=20){let w=l.slice(g,g+20);if(m){h.push(...w.map(k=>qc(k,`fix judge unavailable (${m})`)));continue}let x=new AbortController,E=setTimeout(()=>x.abort(),u.timeoutMs??16e4);try{let k=await Promise.race([u.transport({url:u.url,...u.viewport?{viewport:u.viewport}:{},fixes:w.map(y=>({issue_type:y.issueType,selector:y.sel,attr:y.attr,value:y.val}))},x.signal),new Promise((y,A)=>x.signal.addEventListener("abort",()=>A(new Error("timeout"))))]),_=new Map;for(let y of Array.isArray(k?.verdicts)?k.verdicts:[]){let A=N4(y);A&&A.index>=0&&A.index<w.length&&_.set(A.index,_.has(A.index)?null:A);}w.forEach((y,A)=>{let v=_.get(A);h.push(v?Yy(y,v):qc(y,"the judge returned no verdict for this fix"));});}catch(k){m=x.signal.aborted?"timeout":(k?.message||"error").slice(0,120),d.push(`fix judge: ${m}; ${l.length-g} fixes left unjudged`),h.push(...w.map(_=>qc(_,`fix judge unavailable (${m})`)));}finally{clearTimeout(E);}}return {judged:h,errors:d}}Wu();async function Qy(l){return await l.evaluate(()=>typeof window.uniqueSel=="function")||await l.evaluate(`(0,eval)(${JSON.stringify(`if(typeof __name==='undefined'){var __name=function(t){return t}}
|
|
1020
|
+
`),ee=Array.from(document.querySelectorAll("p, li, td, th, dd, dt, label, figcaption, blockquote, caption, div, span")).filter(te=>!_(te)&&Array.from(te.childNodes).some(le=>le.nodeType===3&&(le.textContent||"").trim().length>2));for(let te of ee){if(te.parentElement&&ee.includes(te.parentElement))continue;let le=R(te)&&!q(te);!H(te)||!le&&T(te)||W("textBlocks",{selector:y(te),html:C(te),rect:S(te),text:k(te.textContent||"",220),visible:le,ariaHidden:T(te),outline:Q});}}return {...x,cut:E}}async function iy(l,u,h=ny){if(!u.length)return {};try{await l.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{return await l.evaluate(CN,{kinds:u,max:h,caps:{...ay,...h<ny?Object.fromEntries(Object.keys(ay).map(d=>[d,h])):{}},own:da})}catch{return {}}}var ny,SN,ay,oy=Fe(()=>{pr();ny=40,SN=400,ay={control:SN};});function sy(l){let u=l;for(let h="";h!==u;)h=u,u=u.replace(RN," ");return u=u.toLowerCase().normalize("NFKD").replace(TN," ").trim(),u?u.split(/\s+/):[]}function FN(l){let u=sy(l);return u.length===1&&[...u[0].replace(/\p{M}/gu,"")].length===1&&/^\p{L}/u.test(u[0])?[]:u}function ly(l,u){let h=FN(l);if(!h.length)return true;let d=sy(u);for(let m=0;m+h.length<=d.length;m++){let g=true;for(let w=0;w<h.length&&g;w++)g=d[m+w]===h[w];if(g)return true}return false}var TN,RN,uy=Fe(()=>{TN=/[^\p{L}\p{N}\p{M}]+/gu,RN=/\([^()]*\)/g;});var fy={};mr(fy,{RUBRIC_BATCH_SIZE:()=>cy,parseRubricVerdicts:()=>hi,rubricPromptHash:()=>gi,rubricSystemPrompt:()=>pa,rubricTransport:()=>dy,runRubrics:()=>NN});function dy(l){return l.transport?l.transport:l.apiKey?yc({apiKey:l.apiKey,baseUrl:l.baseUrl,visionModel:l.visionModel,textModel:l.textModel}):l.apiUrl?wc({apiUrl:l.apiUrl,token:l.apiToken,internalSecret:l.internalSecret}):null}function PN(l,u){if(l.evidence==="control"){let h=u;if(h.visibleText.trim()&&ly(h.visibleText,h.name))return {aspect:l.id,selector:h.selector,verdict:"passed",reason:"the ACT label-in-name algorithm finds the visible label in the accessible name",by:"rule"}}return null}function ON(l){let{selector:u,html:h,rect:d,outline:m,...g}=l;return g}async function NN(l,u){let h={findings:[],verdicts:[],inapplicable:[],undecided:0,undecidedWcag:[],calls:0,errors:[]},d=dy(u.judge);if(!d)return h;let m=u.level??u.judge.level??"AA",g=Pv.filter(T=>(u.aspects?u.aspects.includes(T.id):T.status!=="below-bar"||!!u.judge.rubrics?.includes(T.id))&&en([{wcag:T.sc.join(","),level:T.level}],m).length>0);if(!g.length)return h;let w=Date.now()+(u.timeoutMs??u.judge.timeoutMs??IN),x=u.warnings??[];await Yu(l,x);let E=[...new Set(g.map(T=>T.evidence))],k=globalThis.process?.env?.WA_STRICT_STATE==="1",_=await Ku(l,"rubric-evidence",x,()=>iy(l,E),{strict:k,bugs:u.bugs});if(u.rootSelector){let{scopeIssuesToRoot:T}=await Promise.resolve().then(()=>(yi(),vi));for(let H of E){let R=_[H]||[];if(!R.length)continue;let q=new Set((await T(l,R,u.rootSelector)).issues);_[H]=R.filter(X=>q.has(X));}}let y=u.judge.vision!==false&&typeof l.screenshot=="function",A=u.batchSize??cy,v=xc(u.judge),S=async T=>{let H=(_[T.evidence]||[]).filter(F=>MN(T,F)),R=[];for(let F of H){let I=PN(T,F);I?h.verdicts.push(I):R.push(F);}let q=_.cut?.[T.evidence]??0,X=F=>{F<=0||(h.undecided+=F,h.undecidedWcag.includes(T.sc[0])||h.undecidedWcag.push(T.sc[0]));};if(q&&(X(q),h.errors.push(`${T.id}: ${q} candidates over the evidence cap`)),!H.length){q||h.inapplicable.push(T.id);return}let P=0;for(let F=0;F<R.length;F+=A){let I=w-Date.now();if(I<=0){X(R.length-F),h.errors.push(`${T.id}: deadline`);return}let M=R.slice(F,F+A),$=[];for(let[J,ne]of M.entries()){let O;if(T.vision&&y&&P<LN&&ne.rect){let z=await Ac(l,{rect:ne.rect,hidden:false,tag:String(ne.tag||"")},v);P++,O=z?.data;}$.push({id:`${T.id}#${F+J}`,type:T.issueType,wcag:T.sc[0],message:T.title,selector:String(ne.selector),html:String(ne.html||""),context:ON(ne),...O?{screenshot:O}:{}});}let j=M.find(J=>typeof J.outline=="string")?.outline,U=new AbortController,V=setTimeout(()=>U.abort(),I),W=null,re=false;h.calls++;try{let J=await Promise.race([d({url:u.url,level:m,vision:T.vision&&y,items:$,system:pa(T),rubric:{id:T.id,hash:gi(T)},...j?{page:{outline:j}}:{}},U.signal),new Promise((ne,O)=>U.signal.addEventListener("abort",()=>O(new Error("rubric deadline"))))]);W=hi(J),W||h.errors.push(`${T.id}: malformed output`);}catch(J){h.errors.push(`${T.id}: ${J.message.slice(0,80)}`),re=J instanceof yn;}finally{clearTimeout(V);}let se=new Map($.map((J,ne)=>[J.id,M[ne]]));for(let J of W||[]){let ne=se.get(J.id);if(!ne||J.verdict==="cantTell")continue;se.delete(J.id);let O=vc(J.reason);h.verdicts.push({aspect:T.id,selector:String(ne.selector),verdict:J.verdict,reason:O,by:"model"}),J.verdict==="failed"&&h.findings.push({id:`rubric-${T.id}-${tn(String(ne.selector))}`,source:"webability",type:T.issueType,wcag:T.sc[0],level:T.level,impact:T.impact,message:`${T.title}: ${O||"failed the rubric"}`,selector:String(ne.selector),html:String(ne.html||"")});}if(X(se.size),re){X(R.length-F-M.length);return}}},C=[...g],N=Array.from({length:Math.max(1,u.concurrency??3)},async()=>{for(let T=C.shift();T;T=C.shift())await S(T);});return await Promise.all(N),h.findings=await Ju(l,h.findings,u.bugs),h}var cy,IN,LN,MN,my=Fe(()=>{Pn();_c();pr();Zu();fc();mc();oy();uy();cy=8,IN=45e3,LN=12;MN=(l,u)=>l.where.every(h=>u[h.field]===h.value);});var Zo={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};Zu();var fa="1.19.1";Pn();oc();async function hv(l,u){return ic("axe",l,()=>bO(l,u))}async function bO(l,u){try{let{AxeBuilder:h}=await import('@axe-core/playwright'),d=typeof l.mainFrame=="function"?l:l.axePage?.()??l,m=await new h({page:d}).options({rules:ec(u)}).withTags(u).analyze();return await wO(l,m)}catch{return vO(l,u)}}async function vO(l,u){let h=await Promise.resolve().then(()=>o1(sc())),d=h.source??h.default?.source;if(!d)throw new Error("axe-core source unavailable");try{await l.evaluate(d);}catch{let{inject:g}=await Promise.resolve().then(()=>(pr(),Qr));await g(l,{tool:"axe",content:d});}return await l.evaluate(({wcagTags:g,rules:w})=>new Promise((x,E)=>{let k=window;if(!k.axe)return E(new Error("axe-core not loaded"));k.axe.run(document,{runOnly:{type:"tag",values:g},rules:w,resultTypes:["violations","incomplete"]}).then(x).catch(E);}),{wcagTags:u,rules:ec(u)})}function yO(l,u){if(l=l.toLowerCase().replace(/^www\./,""),u=u.toLowerCase().replace(/^www\./,""),!l||!u)return false;if(l===u||l.endsWith("."+u)||u.endsWith("."+l))return true;let h=d=>{let m=d.split(".");if(m.length<=2)return d;let g=m[m.length-1],w=m[m.length-2],x=g.length===2&&["co","com","net","org","ac","gov","edu"].includes(w)?3:2;return m.slice(-x).join(".")};return h(l)===h(u)}async function wO(l,u){let h=new Set,d=k=>!Array.isArray(k)||k.length<2?null:JSON.stringify(k[0]);for(let k of [u.violations,u.incomplete])for(let _ of k??[])for(let y of _.nodes??[]){let A=d(y.target);A&&h.add(A);}if(!h.size)return u;let m;try{m=await l.evaluate(k=>{let _={};for(let y of k){_[y]=null;try{let A=JSON.parse(y),v=Array.isArray(A)?A:[A],S=document,C=null;for(let R=0;R<v.length&&(C=S.querySelector(v[R]),!(!C||(R<v.length-1&&(S=C.shadowRoot),!S)));R++);if(!C||C.tagName!=="IFRAME"&&C.tagName!=="FRAME"||C.hasAttribute("srcdoc"))continue;let N=R=>R&&/^https?:/i.test(R)?R:"",T="",H=!1;try{T=N(C.contentWindow.location.href);}catch{H=!0;}if(T||(T=N(C.src)||N(C.getAttribute("data-src"))||N(C.getAttribute("data-lazy-src"))),!T){H&&(_[y]={frame:"",page:location.hostname});continue}_[y]={frame:new URL(T).hostname,page:location.hostname};}catch{}}return _},[...h]);}catch{return u}let g=k=>{let _=d(k),y=_?m[_]:null;return !y||y.frame&&yO(y.frame,y.page)?null:{insideFrameFrom:y.frame||"a cross-origin frame whose address cannot be read",pageHost:y.page,thirdPartyDocument:true}},w=[],x=(u.violations??[]).flatMap(k=>{let _=k.nodes??[],y=_.filter(v=>!g(v.target)),A=_.filter(v=>g(v.target)).map(v=>({...v,waEvidence:g(v.target)}));return A.length&&w.push({...k,nodes:A}),A.length?y.length?[{...k,nodes:y}]:[]:[k]}),E=(u.incomplete??[]).map(k=>k.nodes?.some(_=>g(_.target))?{...k,nodes:k.nodes.map(_=>g(_.target)?{..._,waEvidence:g(_.target)}:_)}:k);return {...u,violations:x,incomplete:[...E,...w]}}function lc(l){let u=[],h=[];for(let d of l)d.confidence==="needs_review"||AO(d)?h.push(d):u.push(xO(d));return {verdicts:u,undecided:h}}function xO(l){if(l.confidence===void 0&&l.reviewReason===void 0&&l.evidence===void 0)return l;let{confidence:u,reviewReason:h,evidence:d,...m}=l;return m}function AO(l){let u=(l.type||"").toLowerCase(),h=l.wcag||"",d=l.html||"",m=(l.message||"").toLowerCase();if((u==="contrast_insufficient"||u==="color-contrast"||h==="1.4.3"||h==="1.4.11")&&_O(d))return "background uses gradient or image";if(u==="image_of_text"||h==="1.4.5"){let g=gv(d,"src").toLowerCase();g.startsWith("data:")&&(g=g.split(",")[0]);let w=gv(d,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(g))return "brand imagery";if(w.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(w))return "branded imagery"}return (u==="inconsistent_navigation"||m.includes("inconsistent navigation"))&&(/<footer/i.test(d)||/<aside/i.test(d))?"footer/aside nav":""}function _O(l){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(l)}function gv(l,u){let h=new RegExp(`\\b${u}\\s*=\\s*"([^"]*)"`,"i"),d=l.match(h);return d?d[1]:""}cc();_c();async function cN(l){let u=S=>({verdict:"drop",why:S}),h=null;try{h=document.querySelector(l.selector);}catch{return u("bad selector")}if(!h||h.tagName!=="VIDEO")return u("not a video");let d=getComputedStyle(h),m=h.getBoundingClientRect();if(d.display==="none"||d.visibility==="hidden"||h.closest("[hidden]")||m.width<100||m.height<50)return u("not visible/large enough");if(h.error)return u("failed load");let g=h.currentSrc||h.getAttribute("src")||h.querySelector("source")?.getAttribute("src")||"";if(!g||/^(blob|data|about|javascript):/i.test(g)||/\.(m3u8|mpd)(\?|$)/i.test(g))return u("no direct src / MSE");let w=h.hasAttribute("muted")||h.muted,x=h.hasAttribute("controls"),E=h.hasAttribute("autoplay")||h.autoplay,k=h.hasAttribute("loop")||h.loop,_=x||E&&!w;if(!_){let S=/play|pause|mute|unmute|sound|volume/i;for(let C=h.parentElement,N=0;C&&N<3&&!_;C=C.parentElement,N++)_=Array.from(C.querySelectorAll('button, [role="button"]')).some(T=>S.test((T.getAttribute("aria-label")||"")+" "+(T.getAttribute("title")||"")+" "+(T.textContent||"")));}if(!_)return u("not user-playable");if(w&&k&&!x)return u("decorative loop");if(h.hasAttribute("muted")&&!x&&!E)return u("muted");if(Number.isFinite(h.duration)&&h.duration>0&&h.duration<5)return u("under 5s");await new Promise(S=>setTimeout(S,2e3));for(let S of Array.from(h.querySelectorAll("track"))){let C=(S.getAttribute("kind")||"subtitles").toLowerCase();if((C==="captions"||C==="subtitles")&&S.getAttribute("src"))return u("has caption track")}let y=h.textTracks;for(let S=0;y&&S<y.length;S++)if(y[S].kind==="captions"||y[S].kind==="subtitles")return u("has text track");let A=h,v=null;if(typeof A.mozHasAudio=="boolean"?v=A.mozHasAudio:A.audioTracks&&typeof A.audioTracks.length=="number"&&(v=A.audioTracks.length>0?true:null),v===null&&typeof A.webkitAudioDecodedByteCount=="number"&&A.webkitAudioDecodedByteCount>0&&(v=true),v===null)try{let S=new AbortController,C=setTimeout(()=>S.abort(),l.fetchMs),N=await fetch(g,{headers:{Range:"bytes=0-"+(l.rangeBytes-1)},signal:S.signal}),T=new Uint8Array(l.rangeBytes),H=0,R=N.body?N.body.getReader():null;if(R)try{for(;H<l.rangeBytes;){let{done:P,value:F}=await R.read();if(P||!F)break;let I=Math.min(F.length,l.rangeBytes-H);T.set(F.subarray(0,I),H),H+=I;}}finally{try{await R.cancel();}catch{}}clearTimeout(C);let q=(P,F=0)=>{e:for(let I=F;I<=H-P.length;I++){for(let M=0;M<P.length;M++)if(T[I+M]!==P[M])continue e;return I}return -1},X=P=>Array.from(P).map(F=>F.charCodeAt(0));q(X("ftyp"))>=0&&q(X("moov"))>=0?v=q(X("hdlr"))>=0&&q(X("soun"))>=0:T[0]===26&&T[1]===69&&T[2]===223&&T[3]===163&&q([22,84,174,107])>=0&&(v=q([131,129,2])>=0);}catch{v=null;}return v!==true?u(v===false?"silent":"audio unknowable"):{verdict:"violation"}}async function zv(l,u){let h=u.filter(g=>g.type==="missing_captions"&&/^<video\b/i.test(g.html??"")&&g.selector).slice(0,10);if(h.length===0)return [];let d=[],m=Date.now()+1e4;try{await l.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let g of h){if(Date.now()>m)break;let w=m-Date.now(),x,E=await Promise.race([l.evaluate(cN,{selector:g.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(k=>{x=setTimeout(()=>k(null),w);})]).finally(()=>x&&clearTimeout(x));if(!E)break;if(E.verdict==="violation"){let{confidence:k,reviewReason:_,evidence:y,...A}=g;d.push({...A,id:g.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return d}function Wv(){let l=m=>{let g=m.getBoundingClientRect();if(g.width===0||g.height===0)return false;let w=window.getComputedStyle(m);return w.visibility!=="hidden"&&w.display!=="none"&&w.opacity!=="0"},u=Array.from(document.querySelectorAll('input[type="password"]')),h=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(l).map(m=>(m.value||m.textContent||"").trim().toLowerCase()).filter(m=>m.length>0&&m.length<40),d=Array.from(document.querySelectorAll("button, a")).filter(l).filter(m=>/sign in with|continue with|log in with/i.test(m.textContent||"")).length;return {passwordFields:u.length,visiblePasswordFields:u.filter(l).length,submitLabels:h,oauthButtons:d,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var dN=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,fN=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Gv(l){try{let u=new URL(l).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(u)}catch{return false}}function Xv(l,u,h){if(Gv(u))return null;let d=Uv(u)!==Uv(h),m=l.submitLabels.some(y=>dN.test(y)),g=fN.test(l.headingText),w=Gv(h),x=[];w&&x.push("url"),m&&x.push("submit"),g&&x.push("heading"),d&&x.push("redirected");let E=l.visiblePasswordFields>0,k=l.oauthButtons>0&&l.bodyTextLength<600&&l.formCount<=1;if(!E&&!k||x.length<2)return null;let _=`${E?"password-field":"oauth-only"}+${x.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${h}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:_,finalUrl:h}}function Uv(l){try{let u=new URL(l);return `${u.origin}${u.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return l.toLowerCase()}}Pn();async function qN(l){try{return await l.evaluate(()=>{let u=(document.title||"").toLowerCase(),h=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[g,w]of h)if(u.includes(g))return {vendor:w,signal:`title:"${document.title}"`,needsCorroboration:!1};let d=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[g,w]of d)if(document.querySelector(g))return {vendor:w,signal:`marker:${g}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let m=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[g,w]of m)if(u.includes(g))return {vendor:w,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function BN(l){try{return await l.evaluate(()=>{let u=document.querySelectorAll("body *").length;if(u>250)return null;let h=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let m of h)try{if(document.querySelector(m))return {signal:`marker:${m}`,elements:u}}catch{}let d=(document.title||"").toLowerCase();return d.includes("captcha")||d.includes("security check")||d.includes("bot verification")?{signal:`title:"${document.title}"`,elements:u}:null})}catch{return null}}async function HN(l,u){let h=await qN(l),d=typeof u=="number"&&u>=400,m=h&&(!h.needsCorroboration||d)?h:null;if(!m&&!d)return null;let g=[];return m&&g.push(`served a ${m.vendor} bot-challenge / interstitial page`),d&&g.push(`main document returned HTTP ${u}`),{reason:`Scan did not reach the real page \u2014 the target ${g.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...m?{vendor:m.vendor}:{},...typeof u=="number"?{status:u}:{},...m?{signal:m.signal}:d?{signal:`status:${u}`}:{}}}async function hy(l,u){let h=typeof l=="string",d={wcagTags:Qu,includeAxe:true,deep:false,dismissModals:h,...u},m,g,w,x;if(h){w=l.startsWith("http")?l:`https://${l}`;let E=typeof d.viewport=="string"?Zo[d.viewport]??Zo.desktop:d.viewport??Zo.desktop;g=await(await import('playwright')).chromium.launch({headless:d.browser?.headless??true}),m=await(await g.newContext({viewport:E})).newPage();let y=await m.goto(w,{waitUntil:"domcontentloaded",timeout:d.browser?.timeout??3e4});x=typeof y?.status=="function"?y.status():void 0;}else m=l,w=m.url(),x=d.mainStatus;if(d.dismissModals)try{let{dismissModals:E}=await Promise.resolve().then(()=>(Jv(),Kv));await E(m);}catch{}if(d.settle!==false)try{let{waitForRenderSettle:E}=await Promise.resolve().then(()=>(sa(),ci));await E(m,typeof d.settle=="number"?d.settle:void 0);}catch{}if(!g){let{snapshotInteractionState:E}=await Promise.resolve().then(()=>(ss(),os));await E(m);}try{let E=await m.evaluate(()=>performance.timeOrigin);try{let O=await m.evaluate(Wv),z=Xv(O,w,typeof m.url=="function"?m.url():w);if(z)return {url:w,timestamp:new Date().toISOString(),blocked:{reason:z.reason,signal:`auth-wall:${z.signal}`,...typeof x=="number"?{status:x}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let k=await HN(m,x);if(k)return {url:w,timestamp:new Date().toISOString(),blocked:k,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let _=[],y=new Map,A=[],v=[],S=[],{guardDetectorState:C,dropToolingFindings:N}=await Promise.resolve().then(()=>(pr(),Qr)),T=await BN(m);T&&v.push(`challenge:suspected-interstitial (${T.signal}; ${T.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(pr(),Qr))).startProvenance(m);let{trackPageActivity:H,waitForInteractionSettle:R}=await Promise.resolve().then(()=>(sa(),ci));d.settle!==!1&&await H(m);let{takeTurn:q}=await Promise.resolve().then(()=>(oc(),mv)),X=await q("detectors",m,()=>lv(m,A,v,{internalBugs:S,extraSerialDetectors:d.extraSerialDetectors,experimental:d.experimental}));_.push(...X.map(dv));let{resetInteractionState:P,focusOnlyObscuredIndexes:F}=await Promise.resolve().then(()=>(ss(),os));if(await P(m),d.settle!==!1&&await R(m),d.includeAxe)try{let O=await C(m,"axe",v,()=>hv(m,uv(d.wcagTags??Qu,d.level)),{bugs:S});for(let z of O.violations){let Q=z.id==="target-size"?await F(m,z.nodes):new Set;for(let[ee,te]of z.nodes.entries()){if(Q.has(ee)){S.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:ma(te.target)});continue}_.push({id:`axe-${z.id}-${tn(ma(te.target))}`,source:"axe-core",type:z.id,wcag:nc(z.tags),level:ac(z.tags),impact:tc(z.impact),message:z.help,selector:ma(te.target),html:te.html?.slice(0,300)});}}for(let z of O.incomplete??[])for(let Q of z.nodes){let ee=`axe-incomplete-${z.id}-${tn(ma(Q.target))}`,te=Q.any?.[0]?.data?.messageKey;te&&y.set(ee,te),_.push({id:ee,source:"axe-core",type:z.id,wcag:nc(z.tags),level:ac(z.tags),impact:tc(z.impact),message:z.help,selector:ma(Q.target),html:Q.html?.slice(0,300),confidence:"needs_review",...Q.waEvidence?{reviewReason:"this node is inside a frame served by another site; decide whether the page owner is responsible for it",evidence:Q.waEvidence}:{reviewReason:"axe-core flagged this as needing human review"}});}}catch(O){S.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${O?.message??String(O)}`});}let{deduplicateIssues:I}=await Promise.resolve().then(()=>(qn(),Nn)),M=lc(_),$=I(M.verdicts);try{let{pruneInvisibleContrast:O}=await Promise.resolve().then(()=>(sa(),ci));$=await O(m,$);}catch{}try{let{pruneHiddenIframeIssues:O}=await Promise.resolve().then(()=>(sa(),ci));$=await O(m,$);}catch{}try{let{dedupeByElementIdentity:O}=await Promise.resolve().then(()=>(qn(),Nn));$=await O(m,$);}catch{}try{$=await N(m,$,S);}catch{}try{let{verifyAnimatedGifs:O}=await Promise.resolve().then(()=>(ry(),ty));$=await O(m,$);}catch{}if(d.deep&&d.deepApiKey)try{let O=await VN(w,$,d);$.push(...O);}catch{}if(d.rootSelector)try{let{scopeIssuesToRoot:O}=await Promise.resolve().then(()=>(yi(),vi)),z=await O(m,$,d.rootSelector);$=z.issues,z.warning&&v.push(z.warning);}catch{}$=en($,d.level??"AA");let j=lc($),U=j.verdicts,V=[],W=[],re=new Set;try{if(W=[...M.undecided,...j.undecided],d.rootSelector){let{scopeIssuesToRoot:te}=await Promise.resolve().then(()=>(yi(),vi));W=(await te(m,W,d.rootSelector)).issues;}let O=new Map;await P(m);let z=await C(m,"contrast-pixels",v,()=>kv(m,W,y,O),{bugs:S}),Q=await zv(m,W),ee=[...z,...Q];if(re=new Set(ee.map(te=>`${te.selector}|${te.wcag}`)),ee.length){let{deduplicateIssues:te}=await Promise.resolve().then(()=>(qn(),Nn));U=te([...U,...ee]);}{let te=W.filter(ve=>!re.has(`${ve.selector}|${ve.wcag}`)),le=await jv(m,te,{...d.judge,url:w,level:d.judge?.level??d.level??"AA",measured:O});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${te.length} undecided before judge, ${le.promoted.length} promoted, ${le.judged.filter(ve=>ve.verdict==="pass").length} passed`),V=le.judged,le.promoted.length){let{deduplicateIssues:ve}=await Promise.resolve().then(()=>(qn(),Nn));U=ve([...U,...en(le.promoted,d.level??"AA")]);}}}catch{}let se={count:0,wcag:[]};if(d.judge)try{let{runRubrics:O,rubricTransport:z}=await Promise.resolve().then(()=>(my(),fy));if(z(d.judge)){await P(m);let Q=await O(m,{url:w,judge:d.judge,level:d.level??"AA",timeoutMs:d.judge.timeoutMs,bugs:S,warnings:v,rootSelector:d.rootSelector});se={count:Q.undecided,wcag:Q.undecidedWcag};for(let te of Q.errors)v.push(`rubric ${te}`);let ee=en(Q.findings,d.level??"AA");if(ee.length&&d.rootSelector){let{scopeIssuesToRoot:te}=await Promise.resolve().then(()=>(yi(),vi));ee=(await te(m,ee,d.rootSelector)).issues;}if(ee.length){let{deduplicateIssues:te}=await Promise.resolve().then(()=>(qn(),Nn));U=te([...U,...ee]);}}}catch{}let J;{let O=new Set(V.map(ee=>ee.id)),z=en(W,d.level??"AA").filter(ee=>!re.has(`${ee.selector}|${ee.wcag}`)&&!O.has(ee.id.replace("axe-incomplete-","axe-"))),Q=z.length+se.count;Q&&(J={count:Q,wcag:[...new Set([...z.map(ee=>ee.wcag),...se.wcag])].sort()});}try{let{dedupeByElementIdentity:O}=await Promise.resolve().then(()=>(qn(),Nn));U=await O(m,U);}catch{}try{U=await N(m,U,S);}catch{}if(await m.evaluate(()=>performance.timeOrigin)!==E)throw new Error(`the page's document was replaced during the scan (navigation to ${m.url()}); the findings mix two documents`);{let{attachMutations:O,stopProvenance:z}=await Promise.resolve().then(()=>(pr(),Qr));O(S,await z(m));}let ne={url:w,timestamp:new Date().toISOString(),engine:fa,issues:U,internal_bugs:S,incomplete:[],...V.length?{judged:V}:{},...A.length?{truncated:A}:{},...v.length?{engineWarnings:v}:{},...J?{unsettled:J}:{},...d.keepDetected?{detected:X}:{},summary:rc(U)};if(d.review!==!1&&d.deepApiKey)try{ne=await $N(ne,d);}catch{}return ne}finally{let{stopProvenance:E}=await Promise.resolve().then(()=>(pr(),Qr));if(await E(m),g)await g.close();else {let{restoreInteractionState:k}=await Promise.resolve().then(()=>(ss(),os));await k(m);}}}async function VN(l,u,h){let d=h.deepApiUrl||"https://api.webability.io",m=await fetch(`${d}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${h.deepApiKey}`},body:JSON.stringify({url:l,standardIssues:u.slice(0,30).map(({source:w,...x})=>x)})});return m.ok?((await m.json()).issues??[]).map((w,x)=>({id:`deep-${x}-${tn(w.selector||w.element||"")}`,source:"deep-analysis",type:`wcag-${w.wcag}`,wcag:w.wcag,level:"AA",impact:w.severity==="High"?"critical":w.severity==="Medium"?"serious":"moderate",message:w.message,selector:w.selector||w.element||""})):[]}function py(l){let u=l.fix?.attribute??"";return !!l.fix?.needsManualReview&&u!=="style"&&!u.startsWith("data-")}async function $N(l,u){let h=u.deepApiUrl||"https://api.webability.io",d=l.issues.filter(py);if(d.length===0)return l;try{let m=await fetch(`${h}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${u.deepApiKey}`},body:JSON.stringify({url:l.url,issues:d.slice(0,30).map(({source:E,...k})=>k)})});if(!m.ok)return l;let g=await m.json();if(!g.confirmed_ids)return l;let w=new Set(g.confirmed_ids),x=l.issues.filter(E=>!py(E)||w.has(E.id));return {...l,issues:x,summary:rc(x)}}catch{return l}}Pn();var gy=/token|nonce|key|sig|signature|auth|session|_wpnonce/i,jN=new Set(["stylesheet","font","image"]);function us(l){try{let u=new URL(l);return u.hash="",u.href}catch{return l}}function zN(l){try{for(let u of new URL(l).searchParams.keys())if(gy.test(u))return !0}catch{}return false}function Ec(l,u={}){let h=us(l);return d=>d.navigation&&d.mainFrame&&us(d.url)===h?"fulfill":/^(data|blob):/i.test(d.url)?"continue":jN.has(d.resourceType)||u.scripts&&d.resourceType==="script"?zN(d.url)?"abort":"continue":"abort"}function Dc(l){let u=us(l);return h=>h.navigation&&h.mainFrame&&us(h.url)===u?"fulfill":"continue"}var kc=8e3;function by(l){let{ms:u,served:h}=l;return new Promise(d=>{let m=0,g=setTimeout(()=>d(m),u),w=new Promise(_=>{h&&(document.readyState==="complete"?_():window.addEventListener("load",()=>_(),{once:true}));}),E=Array.from(document.querySelectorAll('link[rel~="stylesheet" i]')).map(_=>_.sheet||!_.href?Promise.resolve():(m++,Promise.race([new Promise(y=>{_.addEventListener("load",()=>y(),{once:true}),_.addEventListener("error",()=>y(),{once:true});}),w]).then(()=>{m--;}))),k=()=>document.fonts?.ready??Promise.resolve();Promise.all(E).then(k).then(()=>{clearTimeout(g),d(0);});})}var vy="[class*=slick],[class*=swiper],[class*=carousel],[class*=splide]";function yy(l){let u={finished:0,held:0,skipped:0},h=new Set,d=[document],m=x=>{x.querySelectorAll("*").forEach(E=>{E.shadowRoot&&(d.push(E.shadowRoot),m(E.shadowRoot));});};m(document);for(let x of d){let E=typeof x.getAnimations=="function"?x.getAnimations():[];for(let k of E){if(h.has(k))continue;h.add(k);let _=k.effect,y=_?.target;if(y&&y.closest(l)){u.skipped++;continue}try{let A=_?.getComputedTiming(),v=typeof A?.duration=="number"?A.duration:0;A&&Number.isFinite(A.iterations)&&Number.isFinite(A.endTime)?(k.finish(),u.finished++):(k.currentTime=Math.max(0,(Number(A?.delay)||0)+v-.001),k.pause(),u.held++);}catch{}}}let g="*,*::before,*::after{transition:none!important;animation-play-state:paused!important}",w=document.createElement("style");w.setAttribute("data-wa-freeze",""),w.textContent=g,(document.head||document.documentElement).appendChild(w);for(let x of d){if(x===document)continue;let E=document.createElement("style");E.textContent=g,x.appendChild(E);}return u}function Sc(l,u){return {evaluate:(h,...d)=>l.evaluate(h,...d),async addScriptTag(h){if(l.addScriptTag)return l.addScriptTag(h);if(typeof h.content=="string")return l.evaluate(h.content);throw new Error("this driver cannot load a script by URL")},url:()=>l.url?l.url():u,keyboard:l.keyboard,screenshot:h=>l.screenshot(h),...l.waitForLoadState?{waitForLoadState:(h,d)=>l.waitForLoadState(h,d)}:{},...l.playwrightPage?{axePage:()=>l.playwrightPage()}:{}}}async function cs(l,u,h,d={}){let m=!!(h&&l.loadHtml),g=m?`wa-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`:"";if(m&&d.scripts)return wy(l,`<!--${g}-->`+u.replace(/^\uFEFF/,""),h,g,d.policy);await l.goto("about:blank");let w=await l.evaluate(x=>{let E=new DOMParser().parseFromString(x.html,"text/html");if(E.querySelectorAll('script, meta[http-equiv="refresh" i]').forEach(k=>k.remove()),x.visitor&&(E.querySelectorAll("noscript").forEach(k=>k.remove()),E.querySelectorAll("*").forEach(k=>{let _=/^(iframe|frame|object|embed)$/i.test(k.localName);for(let y of Array.from(k.attributes)){let A=y.name.toLowerCase(),v=y.value.replace(/[\u0000-\u0020]/g,"").toLowerCase();A==="srcdoc"||_&&v.startsWith("data:")?k.removeAttributeNode(y):A.startsWith("on")?y.value=y.value?`/*${y.value.replace(/\*\//g,"* /")}*/`:"":v.startsWith("javascript:")&&(y.value="javascript:void(0)");}}),x.base&&E.querySelectorAll("base[href]").forEach(k=>{try{k.setAttribute("href",new URL(k.getAttribute("href")??"",x.base).href);}catch{k.remove();}})),x.serialize)return `<!--${x.marker}-->`+(E.doctype?`<!DOCTYPE ${E.doctype.name}>`:"")+E.documentElement.outerHTML;if(x.base&&!E.querySelector("base[href]")){let k=E.createElement("base");k.setAttribute("href",x.base),E.head.insertBefore(k,E.head.firstChild);}return document.replaceChild(document.adoptNode(E.documentElement),document.documentElement),""},{html:u,base:h,serialize:m,visitor:!!d.visitor,marker:g});return m?wy(l,w,h,g,d.policy):{served:false}}async function wy(l,u,h,d,m){let g=await l.loadHtml(u,h,m)||void 0;if(!await l.evaluate(x=>{for(let E of Array.from(document.childNodes))if(E.nodeType===8&&E.data===x)return E.remove(),true;return false},d).catch(()=>false))throw await g?.(),new Error("the html was not served at baseURL (another request handler answered the navigation)");return {served:true,release:g}}function GN(l){let u=l.route&&l.unroute?{on:l.route.bind(l),off:l.unroute.bind(l)}:null;return {goto:(d,m)=>l.goto(d,m),evaluate:((d,...m)=>l.evaluate(d,m[0])),screenshot:d=>l.screenshot(d),keyboard:{press:d=>l.keyboard.press(d)},url:()=>l.url(),...l.waitForLoadState?{waitForLoadState:(d,m)=>l.waitForLoadState(d,m)}:{},...l.addScriptTag?{addScriptTag:d=>l.addScriptTag(d)}:{},...typeof l.mainFrame=="function"?{playwrightPage:()=>l}:{},...l.setViewportSize?{setViewport:d=>l.setViewportSize(d)}:{},...u?{async loadHtml(d,m,g){let w=new URL(m);w.hash="";let x=g??Dc(w.href),E=()=>true,k=y=>{let A=y.request(),v=false;try{v=!A.frame().parentFrame();}catch{}let S=x({url:A.url(),resourceType:A.resourceType(),navigation:A.isNavigationRequest(),mainFrame:v}),C=S==="fulfill"?y.fulfill({status:200,contentType:"text/html; charset=utf-8",body:d}):S==="abort"?y.abort("blockedbyclient"):y.fallback();return Promise.resolve(C).catch(()=>{})};await u.on(E,k);let _=()=>u.off(E,k).catch(()=>{});try{await l.goto(w.href,{waitUntil:"domcontentloaded",timeout:3e4});}catch(y){throw await _(),y}return _}}:{}}}function UN(l,u={}){let h=u.interceptDocument&&l.setRequestInterception&&l.on&&l.off;return {goto:(d,m)=>l.goto(d,m),evaluate:((d,...m)=>l.evaluate(d,...m)),screenshot:d=>{let{animations:m,...g}=d??{};return l.screenshot(d?g:void 0)},keyboard:{press:d=>l.keyboard.press(d)},url:()=>l.url(),...l.waitForFunction?{async waitForLoadState(d,m){await l.waitForFunction(()=>document.readyState==="complete",m?.timeout!==void 0?{timeout:m.timeout}:{});}}:{},...l.addScriptTag?{addScriptTag:d=>l.addScriptTag(d)}:{},...l.setViewport?{setViewport:d=>l.setViewport(d)}:{},...h?{async loadHtml(d,m,g){let w=new URL(m);w.hash="";let x=g??Dc(w.href),E=_=>{if(_.isInterceptResolutionHandled?.())return;let y=_.frame?.(),A=x({url:_.url(),resourceType:_.resourceType(),navigation:_.isNavigationRequest(),mainFrame:!!y&&!y.parentFrame?.()}),v=A==="fulfill"?_.respond({status:200,contentType:"text/html; charset=utf-8",body:d},0):A==="abort"?_.abort("blockedbyclient",0):_.continue({},0);Promise.resolve(v).catch(()=>{});};await l.setRequestInterception(true),l.on("request",E);let k=async()=>{l.off("request",E),l.__keepRequestInterception||await l.setRequestInterception(false).catch(()=>{});};try{await l.goto(w.href,{waitUntil:"domcontentloaded",timeout:3e4});}catch(_){throw await k(),_}return k}}:{}}}function xy(l){if(!l)return "/";try{return new URL(l).pathname||"/"}catch{return "/"}}var Ay=new Set(["button","link","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","combobox","textbox","searchbox","slider","spinbutton"]);function _y(l,u){let h=(l||"").toLowerCase(),d=(u||"").toLowerCase();return h==="aria-hidden"&&d==="true"||h==="role"&&(d==="presentation"||d==="none")}var Ey='a[href],button,input,select,textarea,[tabindex]:not([tabindex="-1"]),[contenteditable="true"]';function WN(l,u){let h=(l.tagName||"").toLowerCase(),d=(l.getAttribute("role")||"").toLowerCase(),m=l.getAttribute("tabindex"),g=m!==null&&parseInt(m,10)>=0;if(h==="a"&&l.hasAttribute("href")||h==="button"||h==="input"||h==="select"||h==="textarea"||Ay.has(d)||g||l.isContentEditable===true)return true;try{if(l.querySelector(Ey)!==null)return !0}catch{return false}return u?[l,...Array.from(l.querySelectorAll?.("*")??[])].some(E=>u(E)&&(E.textContent||"").trim()!==""):false}async function Cc(l,u,h){let d=u.map((w,x)=>_y(w.attribute,w.fixValue)?x:-1).filter(w=>w>=0);if(!d.length)return u;let m=[];try{m=await l.evaluate(w=>{let{payload:x,roles:E,focusableSel:k}=w,_=E.reduce((S,C)=>(S[C]=1,S),{}),y=S=>{let C=getComputedStyle(S);if(C.display==="none"||C.visibility==="hidden")return !1;let N=S.getBoundingClientRect(),T=/rect\(\s*0(px)?[ ,]+0(px)?[ ,]+0(px)?[ ,]+0(px)?\s*\)/.test(C.clip)||/inset\(\s*50%/.test(C.clipPath),H=N.width<=1&&N.height<=1&&C.overflow==="hidden";return T||H},A=S=>{let C=S.tagName.toLowerCase(),N=(S.getAttribute("role")||"").toLowerCase(),T=S.getAttribute("tabindex"),H=T!==null&&parseInt(T,10)>=0;if(C==="a"&&S.hasAttribute("href")||C==="button"||C==="input"||C==="select"||C==="textarea"||_[N]===1||H||S.isContentEditable===!0)return !0;try{if(S.querySelector(k))return !0}catch{return !1}return [S,...Array.from(S.querySelectorAll("*"))].some(X=>y(X)&&(X.textContent||"").trim()!=="")},v=[];for(let S of x){let C;try{C=document.querySelectorAll(S.sel);}catch{continue}if(!C.length)continue;let N=!1;for(let T=0;T<C.length;T++)if(A(C[T])){N=!0;break}N&&v.push(S.i);}return v},{payload:d.map(w=>({i:w,sel:u[w].selector})),roles:[...Ay],focusableSel:Ey});}catch(w){h?.(w),m=d;}if(!m.length)return u;let g=new Set(m);return u.filter((w,x)=>!g.has(x))}var XN=new Set(["a","button","summary"]),KN=new Set(["button","link","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","treeitem","gridcell","searchbox","textbox","combobox","slider","spinbutton"]),JN=new Set(["checkbox","radio","switch","combobox","textbox","searchbox","slider","spinbutton"]),YN=new Set(["empty_link","missing_link_name","weak_link_name","new_window_link","external_link_warning","download_link_warning","placeholder_link","javascript_link","adjacent_redundant_link","adjacent_identical_links","image_text_adjacent_links","inconsistent_link_identification","link_consistency","skip_link","weak_skip_link","missing_skip_link","button_name","missing_button_name","empty_button","weak_button_name","unlabeled_button","label_in_name"]);function Dy(){let u=/[\p{L}\p{N}]/u,h=/^\p{L}$/u,d=/[\p{L}\p{N}\p{M}]/u,m=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u;function g(y,A){if(A<=0)return "";let v=y.charCodeAt(A-1);return v>=56320&&v<=57343&&A>=2?y.slice(A-2,A):y.charAt(A-1)}function w(y,A){let v=y.codePointAt(A);return v===void 0?"":String.fromCodePoint(v)}function x(y,A){return !y||!d.test(y)||m.test(y)||m.test(A)}function E(y){return u.test(y)&&!h.test(y)}function k(y,A){let v=y.normalize("NFC").replace(/\s+/g," ").toLowerCase(),S=A.normalize("NFC").toLowerCase(),C=S.substring(0,40),N=S.length>=40,T=w(C,0),H=g(C,C.length),R=0;for(;;){let q=v.indexOf(C,R);if(q<0)return false;if(x(g(v,q),T)&&(N||x(w(v,q+C.length),H)))return true;R=q+1;}}function _(y){return (y||"").trim().replace(/\s+/g," ")}return {TEXT_PREFIX_LENGTH:40,HAS_NAME_CHARS:u,SINGLE_LETTER:h,WORD_CHAR:d,NO_WORD_BOUNDARY:m,codePointBefore:g,codePointAt:w,isBoundary:x,isLabelText:E,labelContainsText:k,normalizeVisibleText:_}}var Tc=Dy(),ky=Tc.isLabelText,Sy=Tc.labelContainsText,Cy=Tc.normalizeVisibleText,ZN=`var __waLin=(${Dy.toString()})();var TEXT_PREFIX_LENGTH=__waLin.TEXT_PREFIX_LENGTH;var HAS_NAME_CHARS=__waLin.HAS_NAME_CHARS;var SINGLE_LETTER=__waLin.SINGLE_LETTER;var WORD_CHAR=__waLin.WORD_CHAR;var NO_WORD_BOUNDARY=__waLin.NO_WORD_BOUNDARY;var codePointBefore=__waLin.codePointBefore;var codePointAt=__waLin.codePointAt;var isBoundary=__waLin.isBoundary;var isLabelText=__waLin.isLabelText;var labelContainsText=__waLin.labelContainsText;var normalizeVisibleText=__waLin.normalizeVisibleText;`;function wi(l){return (l||"").toLowerCase().normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/[^\p{L}\p{N}]+/gu," ").trim()}function QN(l,u){let h=wi(l),d=wi(u);return d?h===d||h.startsWith(`${d} `)||h.endsWith(` ${d}`)||h.includes(` ${d} `):false}var e4=["text","currentText","urlText","visibleText","linkText"];function Ty(l){let u={tag:"",role:"",text:"",ariaLabel:""};if(!l||typeof l!="string")return u;try{let m=JSON.parse(l);if(m&&typeof m=="object"&&typeof m.original=="string")try{m=JSON.parse(m.original);}catch{}if(m&&typeof m=="object"){typeof m.tag=="string"&&(u.tag=m.tag.trim().toLowerCase());let g=typeof m.role=="string"?m.role:m.attrs&&typeof m.attrs.role=="string"?m.attrs.role:"";u.role=g.trim().toLowerCase();let w=m.attrs&&typeof m.attrs["aria-label"]=="string"&&m.attrs["aria-label"].trim()?m.attrs["aria-label"]:typeof m.currentAriaLabel=="string"?m.currentAriaLabel:"";u.ariaLabel=w.trim();for(let x of e4){let E=m[x];if(typeof E=="string"&&E.trim()){u.text=E;break}}return u}}catch{}let h=/(?:^|\|)\s*visible:\s*(.*?)\s*(?:\||$)/.exec(l);h&&(u.text=h[1]);let d=/(?:^|\|)\s*aria-label:\s*(.*?)\s*(?:\||$)/.exec(l);return d&&(u.ariaLabel=d[1]),u}function t4(l){if(!l||l.charCodeAt(0)!==123)return false;try{return JSON.parse(l).lin===0}catch{return false}}function r4(l,u){return l.role?KN.has(l.role):l.tag?XN.has(l.tag):!!u&&YN.has(u)}function Rc(l){if((l.attribute||"").trim().toLowerCase()!=="aria-label")return {ok:true};if(typeof l.value!="string")return {ok:true};if(l.value.trim()==="")return {ok:true};if(t4(l.context))return {ok:false,reason:"label-in-name: violation recorded before the visible text was stripped"};let u=Ty(l.context);if(!r4(u,l.issueType))return {ok:true};if(l.issueType==="label_in_name"&&u.ariaLabel&&wi(l.value)===wi(u.ariaLabel))return {ok:false,reason:`label-in-name: value "${l.value}" is a no-op \u2014 it equals the current aria-label "${u.ariaLabel}"`};let h=Cy(u.text);return ky(h)?Sy(l.value,h)?{ok:true}:{ok:false,reason:`label-in-name: visible text "${h}" not contained in "${l.value}"`}:{ok:true}}es();function n4(l){let u=[],d=l.replace(/\[\s*([\w-]+)\s*(?:[~|^$*]?=\s*("([^"]*)"|'([^']*)'|([^\]\s]+)))?\s*[is]?\s*\]/g,(m,g,w,x,E,k)=>{let _=x??E??k;if(_&&/^(id|class)$/i.test(g))for(let y of _.split(/\s+/))y&&u.push(y);return " "}).replace(/::?[\w-]+(\([^)]*\))?/g," ");for(let m of d.matchAll(/[#.]([\w-]+)/g))u.push(m[1]);for(let m of d.matchAll(/(?:^|[\s>+~,])([a-zA-Z][\w-]*)/g))u.push(m[1]);return u}function Ry(l){let u=new RegExp(l,"i");return {test:h=>n4(h).some(d=>u.test(d))}}var Fy=[{pattern:/\bintercom\b/i,category:"third-party",reason:"Intercom chat widget"},{pattern:/\bdrift[-_]/i,category:"third-party",reason:"Drift chat widget"},{pattern:/\bcrisp[-_]/i,category:"third-party",reason:"Crisp chat widget"},{pattern:/\btawk[-_]/i,category:"third-party",reason:"Tawk chat widget"},{pattern:/\bhubspot[-_]|hs[-_]messages/i,category:"third-party",reason:"HubSpot widget"},{pattern:/\bzendesk\b/i,category:"third-party",reason:"Zendesk widget"},{pattern:/\bfreshchat\b/i,category:"third-party",reason:"Freshchat widget"},{pattern:/\bgoog-gt\b|\bgoog-te\b/i,category:"third-party",reason:"Google Translate"},{pattern:/\brecaptcha\b|\bhcaptcha\b/i,category:"third-party",reason:"CAPTCHA widget"},{pattern:/\bwistia\b/i,category:"third-party",reason:"Wistia video player"},{pattern:/\bvimeo-player\b/i,category:"third-party",reason:"Vimeo player"},{pattern:/\bconsolto\b/i,category:"third-party",reason:"Consolto widget"},{pattern:/\basw[-_]/i,category:"overlay",reason:"WebAbility widget (legacy asw- namespace)"},{pattern:/webability[-_]widget|webability[-_]a11y/i,category:"overlay",reason:"WebAbility widget (current namespace)"},{pattern:/\bwp-ada-compliance\b/i,category:"overlay",reason:"WP ADA Compliance plugin UI"},{pattern:/\buserway\b/i,category:"overlay",reason:"UserWay overlay"},{pattern:/\bacsb[-_]/i,category:"overlay",reason:"accessiBe overlay"},{pattern:/\baudioeye\b|#ae_/i,category:"overlay",reason:"AudioEye overlay"},{pattern:/\bEquallyAI\b/i,category:"overlay",reason:"EquallyAI overlay"},{pattern:/#wpadminbar\b|#wp-admin-bar|\.adminbar/i,category:"admin",reason:"WordPress admin bar"},{pattern:/#adminbar-search\b/i,category:"admin",reason:"WordPress admin bar search"},{pattern:/#query-monitor/i,category:"admin",reason:"Query Monitor debug panel"},{pattern:/\.elementor-add-section/i,category:"admin",reason:"Elementor editor UI"},{pattern:/\.shopify-section-announcement/i,category:"admin",reason:"Shopify admin preview"},{pattern:/#mceu_\d|\.mce-|\.tox-/i,category:"admin",reason:"TinyMCE editor UI"},{pattern:/#et-vb-app-frame\b|#et-fb-app\b|\.et-fb-/i,category:"admin",reason:"Divi visual builder UI"},{pattern:Ry("speechify"),category:"extension",reason:"Speechify browser extension"},{pattern:Ry("grammarly"),category:"extension",reason:"Grammarly browser extension"},{pattern:/\bcmplz[-_]btn\b|\bcmplz[-_]link\b|\bcmplz[-_]manage\b|#cmplz[-_].*optin\b|#cmplz[-_].*optout\b/i,category:"consent",reason:"Complianz consent control"},{pattern:/\bonetrust\b/i,category:"consent",reason:"OneTrust consent"},{pattern:/\bcookiebot\b/i,category:"consent",reason:"Cookiebot consent"},{pattern:/\bcookieconsent\b|\bcc[-_]btn\b|\bcc[-_]dismiss\b/i,category:"consent",reason:"Cookie consent control"},{pattern:/\bborlabs[-_]cookie\b|\bbrlbs[-_]/i,category:"consent",reason:"Borlabs Cookie consent"},{pattern:/\bgdpr\b.*\bbtn\b|\bgdpr\b.*\bbutton\b/i,category:"consent",reason:"GDPR consent control"}];function Iy(l){for(let{pattern:u,category:h,reason:d}of Fy)if(u.test(l))return {protected:true,category:h,reason:d};return {protected:false}}var a4=new Set(["admin","overlay","extension"]);function Ly(l){for(let{pattern:u,category:h,reason:d}of Fy)if(a4.has(h)&&u.test(l))return {protected:true,category:h,reason:d};return {protected:false}}var i4=[/^#_[Rr]_[a-z0-9]+_(?:-[a-z-]+)?$/,/^#radix-(?:_[Rr]_[a-z0-9]+_|\\?:[Rr][0-9a-z]+\\?:)(?:-[a-z-]+)?$/,/^#headlessui-[a-z][a-z-]*-[0-9]+$/,/^#(?:radix|headlessui|mui)-[a-z0-9][a-z0-9-]*$/i,/^#\\?:[Rr][0-9a-z]+\\?:(?:-[a-z-]+)?$/,/^#«[Rr][0-9a-z]+»(?:-[a-z-]+)?$/,/^#(?:mantine|cdk|ng|swiper)-[a-z0-9-]+$/i,/^#[a-z0-9-]*[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f-]+(?:_\d+)?$/i];function o4(l){let u=l.match(/^#[a-z][a-z-]*-([0-9a-f]{6,}(?:-[0-9a-f]{4,})*)$/i);if(!u)return false;let h=u[1].replace(/-/g,"");if(h.length>=12)return true;let d=(h.match(/[a-f]/gi)||[]).length,m=/[0-9]/.test(h);return d>=2&&m}var s4=[/\[[a-zA-Z-]+[*^$|~]?=["']?(?:[^"'\]]*\s)?(?:radix-|headlessui-|mui-|mantine-|cdk-|ng-)/,/\[[a-zA-Z-]+[*^$|~]?=["']?(?:[^"'\]]*\s)?\\?:[Rr][0-9a-z]+\\?:/,/\[[a-zA-Z-]+[*^$|~]?=["']?(?:[^"'\]]*\s)?_[Rr]_[a-z0-9]+_/],l4=[/\.\w*-jss\d+\b/,/\.makeStyles-\w+-\d+\b/,/\.mui-[A-Za-z0-9]{6,}\b/,/\.css-[a-z0-9]{6,}\b/,/\.sc-(?:(?=[A-Za-z0-9]*[A-Z0-9])[A-Za-z0-9]{6,}\b|(?=[A-Za-z0-9]*[a-z])(?=[A-Za-z0-9]*[A-Z])[A-Za-z0-9]{5}(?![A-Za-z0-9-])|(?=[a-z]{0,3}[b-df-hj-np-tv-xz]{3})[a-z]{6}(?![A-Za-z0-9-]))/];function Py(l){if(!l)return false;let u=l.split(/\s*[>+~]\s*|\s+/);for(let h of u){let d=h.indexOf("#");if(d===-1)continue;let m=h.slice(d);if(i4.some(g=>g.test(m))||u4(m.slice(1))||o4(m)||/\d{10,}/.test(m))return true}return !!(l.indexOf("[")!==-1&&s4.some(h=>h.test(l))||l.indexOf(".")!==-1&&l4.some(h=>h.test(l)))}function u4(l){for(var u=l.split(/[-_]+/),h=0;h<u.length;h++){var d=u[h];if(d.length>=12&&/^[0-9a-f]+$/i.test(d))return true;if(!(d.length<6||!/[0-9]/.test(d)||!/[a-z]/i.test(d))){var m=d.match(/[0-9]+|[a-z]+/gi);if(m&&m.length>=4&&m.join("")===d)return true}}return false}var My=new Set(["a","abbr","article","aside","audio","b","blockquote","br","button","canvas","caption","code","col","dd","details","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","i","iframe","img","input","label","legend","li","main","map","mark","nav","ol","option","p","pre","section","select","small","span","strong","sub","summary","sup","svg","table","tbody","td","textarea","tfoot","th","thead","time","tr","u","ul","video"]);function Fc(l){let u=[],h=1,d=l.trim().toLowerCase();if(My.has(d))return {score:0,reasons:[`bare <${d}> selector matches all ${d} elements on page`]};if(d.match(/^([a-z][a-z0-9]*):(nth-of-type|nth-child)\(\d+\)$/i))return {score:.1,reasons:[`positional selector ${d} has no class/id anchor \u2014 breaks on any DOM change`]};if(Py(l))return {score:0,reasons:[`${l.slice(0,60)} anchors on a framework-generated id (unstable across renders)`]};let g=/#[a-zA-Z]/.test(l),w=/\.[a-zA-Z]/.test(l),x=/\[data-/.test(l),E=/\[(aria-)[^=\]]*=["'][^"']{2,}["']|\[href[^=\]]*=["'][^"'#]{2,}["']|\[src[*$^]?=["'][^"']{2,}["']/.test(l);!g&&!w&&!x&&!E&&(h=.3,u.push("no class, id, data attribute, or semantic attribute anchor \u2014 fragile positional selector")),E&&!g&&!w&&!x&&(h=Math.max(h,.8)),g&&(h=Math.max(h,.9));let k=(l.match(/:nth-of-type|:nth-child/gi)||[]).length;k>=3&&(h=Math.min(h,.4),u.push(`${k}x positional selectors \u2014 very fragile`));let _=(l.match(/>/g)||[]).length;return _>=6&&(h=Math.min(h,.5),u.push(`${_}-level deep nesting \u2014 fragile`)),{score:h,reasons:u}}var c4=new Set(["aria-label","aria-labelledby","aria-describedby","aria-hidden","aria-live","aria-atomic","aria-required","aria-expanded","aria-controls","aria-current","aria-sort","aria-invalid","aria-level","aria-haspopup","aria-pressed","aria-checked","aria-selected","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-multiselectable","aria-readonly","aria-disabled","aria-errormessage","aria-modal","aria-placeholder","aria-roledescription","aria-colcount","aria-rowcount","aria-colindex","aria-rowindex","role","alt","title","lang","dir","tabindex","href","type","autocomplete","for","pattern","inputmode","controls","muted","id","name","scope","style","class","append","prepend","textContent","remove","remove_attribute"]);function d4(l){return !!(c4.has(l)||l.startsWith("data-")&&/^data-[a-z0-9-]{1,64}$/i.test(l))}var f4=new Set(["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","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","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"]),m4=/(?:^|[\s>+~,])(?:body|html)(?:[#.:\[][^\s>+~,]*)*\s*$/i;function p4(l){return l?l.split(",").some(u=>m4.test(u.trim())):false}function Vy(l){if(typeof l!="string"||l.trim()==="")return {ok:false,reason:"empty role value"};let u=l.split(" ");for(let h of u){if(h==="")return {ok:false,reason:`role "${l}" has malformed whitespace`};if(h!==h.toLowerCase())return {ok:false,reason:`role "${h}" must be lowercase (ARIA roles are case-sensitive)`};if(!f4.has(h))return {ok:false,reason:`"${h}" is not a valid ARIA role`}}return {ok:true}}var h4=new Set(["off","on","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","organization-title","username","new-password","current-password","one-time-code","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","impp","email","webauthn"]),$y=/^\s*html\s*$/i;function Ic(l,u){return typeof l=="string"&&$y.test(l)&&(u??"").trim()==="lang"}function g4(l){return typeof l!="string"||l===""?{ok:false,reason:"empty <html lang> is report-only, not a fix"}:la(l)!==l?{ok:false,reason:`<html lang> must be a primary language tag, got "${l.slice(0,20)}"`}:{ok:true}}function b4(l,u,h="full"){return Ic(l,u)?{ok:true}:Pc(l,h)}var v4=[{re:/^\s*\*\s*$/,reason:"universal selector (*) blanks every element"},{re:$y,reason:"<html> root \u2014 belongs in global settings, not a fix"},{re:/javascript:/i,reason:"javascript: scheme inside selector"},{re:/<script/i,reason:"script tag inside selector"}],y4=new Set("not is where has nth-child nth-last-child nth-of-type nth-last-of-type first-child last-child only-child first-of-type last-of-type only-of-type empty root scope hover active focus focus-within focus-visible visited link any-link local-link target target-within checked indeterminate default disabled enabled required optional valid invalid user-valid user-invalid in-range out-of-range read-only read-write placeholder-shown autofill lang dir host host-context defined open closed modal popover-open fullscreen picture-in-picture playing paused muted seeking buffering stalled volume-locked past future current blank state has-slotted nth-col nth-last-col left right first before after first-line first-letter placeholder selection marker backdrop part slotted cue cue-region file-selector-button highlight spelling-error grammar-error target-text view-transition view-transition-group view-transition-image-pair view-transition-old view-transition-new".split(" ")),Oy=new Set(["child","parent","sibling","adjacent","descendant","column-combinator"]),w4=/^-?[_a-z\u00A0-\uFFFF][\w\-\u00A0-\uFFFF]*$/i,x4=/^\s*(even|odd|[+-]?\d*n(\s*[+-]\s*\d+)?|[+-]?\d+)\s*$/i;function Lc(l,u=false){for(let h of l){if(!h.length||Oy.has(h[h.length-1].type)||!u&&Oy.has(h[0].type))return false;for(let d of h){if(d.type==="column-combinator"||d.type==="tag"&&!w4.test(d.name))return false;if(d.type!=="pseudo"&&d.type!=="pseudo-element")continue;let m=d.name.toLowerCase();if(!y4.has(m))return false;if(d.type==="pseudo-element"){if(d.data==="")return false;continue}if(m.startsWith("nth-")&&(typeof d.data!="string"||!A4(d.data))||Array.isArray(d.data)&&!Lc(d.data,m==="has"))return false}}return true}function A4(l){let u=/^([\s\S]*?)(?:\s+of\s+(\S[\s\S]*))?$/i.exec(l);if(!u||!x4.test(u[1]))return false;if(u[2]===void 0)return true;try{return Lc(cssWhat.parse(u[2]))}catch{return false}}function jy(l){let u=l.replace(/\\[\s\S]/g,"x").replace(/"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'/g,'""');for(let h=0;h<4;h++)u=u.replace(/\((?:[^()]|\(\))*\)/g,"()");if(/[()]/.test(u.replace(/\(\)/g,""))||/[^\w\-#.[\]=*^$|~:()>+,\s"\u00A0-\uFFFF]/.test(u))return false;for(let h of u.matchAll(/\[[^\]]*?[*^$|~]?=([^\]]*)\]/g)){let d=h[1].trim();if(!/^(""|-?[_a-z\u00A0-\uFFFF][\w\-\u00A0-\uFFFF]*)(\s+[is])?$/i.test(d))return false}try{return Lc(cssWhat.parse(l))}catch{return false}}function Pc(l,u="full"){if(!l||typeof l!="string")return {ok:false,reason:"empty selector"};if(l.length>2e3)return {ok:false,reason:"selector too long (>2000 chars)"};for(let{re:m,reason:g}of v4)if(m.test(l))return {ok:false,reason:g};if(!jy(l))return {ok:false,reason:"selector does not parse (unescaped class/id character or unknown pseudo)"};let h=Fc(l);if(h.score<=.1)return {ok:false,reason:h.reasons[0]||"selector too broad"};let d=u==="dead-region"?Ly(l):Iy(l);return d.protected?{ok:false,reason:`protected element: ${d.reason}`}:{ok:true}}function zy(l){return !l||typeof l!="string"?{ok:false,reason:"empty attribute"}:l.length>64?{ok:false,reason:"attribute name too long"}:/^on[a-z]/i.test(l)?{ok:false,reason:`event handler attribute "${l}" not permitted`}:d4(l)?{ok:true}:{ok:false,reason:`attribute "${l}" not in allowlist`}}var Gy=[{re:/<script/i,reason:"<script> tag in value"},{re:/<iframe/i,reason:"<iframe> tag in value"},{re:/<object/i,reason:"<object> tag in value"},{re:/<embed/i,reason:"<embed> tag in value"},{re:/javascript:/i,reason:"javascript: URL in value"},{re:/data:text\/html/i,reason:"data:text/html URL in value"},{re:/\bon[a-z]+\s*=/i,reason:"inline event handler in value"}],_4=new Set(["search","close","home","menu","previous","submit","next","back","details","view all","learn more","yes","no","show more","ok","go","open","more","here","click","link","button","icon","image"]);function Mc(l,u){if(u!=="aria-label"&&u!=="alt")return [];if(typeof l!="string"||l==="")return [];let h=[],d=m=>{h.includes(m)||h.push(m);};return /<[a-z][a-z0-9]*[\s>]/i.test(l)&&d("markup"),(/^https?:\/\//i.test(l)||/^www\./i.test(l))&&d("url_like"),/mailto:/i.test(l)&&d("mailto"),/^Visit tel:/i.test(l)&&d("tel_uri"),l.length>80&&d("long_label"),/\p{L}/u.test(l)||d("no_letters"),/\.(png|jpg|jpeg|svg|gif|webp|ico|bmp)$/i.test(l)&&d("filename"),/^Field\[/i.test(l)&&d("field_index"),/^(Checkbox field|Radio field|Id|Img )$/i.test(l)&&d("generic_field"),/\s\s[WX]$/.test(l)&&d("dimension_suffix"),/^(Go to|Visit) [?#]/.test(l)&&d("query_or_hash"),/^(Go to|Visit) \d+\.\d+/.test(l)&&d("ip_like"),/^visit \(opens/i.test(l)&&d("no_destination"),_4.has(l.toLowerCase())&&d("vague_word"),h}function Oc(l,u){if(typeof l!="string")return {ok:false,reason:"value not a string"};if(l.length>500)return {ok:false,reason:"value too long (>500 chars)"};for(let{re:h,reason:d}of Gy)if(h.test(l))return {ok:false,reason:d};if(u==="role"){let h=Vy(l);if(!h.ok)return h}if(u==="tabindex"&&l!=="-1"&&l!=="0")return {ok:false,reason:`tabindex="${l}" \u2014 only -1 or 0 allowed`};if(u==="aria-hidden"&&l!=="true")return {ok:false,reason:`aria-hidden="${l}" \u2014 must be "true"`};if(u==="href"&&l==="")return {ok:false,reason:"empty href makes link navigate to current page"};if(u==="autocomplete"){let d=l.trim().toLowerCase().split(/\s+/),m=d[d.length-1];if(!h4.has(m))return {ok:false,reason:`"${m}" is not a valid HTML autocomplete token (HTML Living Standard)`}}return {ok:true}}var E4=new Set(["track","legend","caption","a","span","source","style"]);function D4(l){if(typeof l!="string")return {ok:false,reason:"value not a string"};if(l.length>2e3)return {ok:false,reason:"HTML value too long (>2000 chars)"};for(let{re:h,reason:d}of Gy)if(h.test(l))return {ok:false,reason:d};let u=l.match(/<\/?([a-z][a-z0-9]*)\b/gi)||[];for(let h of u){let d=h.replace(/<\/?/,"").toLowerCase();if(!E4.has(d))return {ok:false,reason:`tag <${d}> not in allowlist`}}return {ok:true}}var Ny=new Set(["href","src","action","method","type","name","value","for"]),k4=new Set(["aria-hidden","tabindex","style","class","aria-live","muted"]);function Uy(l){return l.attribute==="remove_attribute"?Ny.has(l.value)?{tier:"destructive",reason:`removing ${l.value} breaks functionality`}:{tier:"modifier",reason:`removing ${l.value} requires review`}:Ny.has(l.attribute)&&l.value===""?{tier:"destructive",reason:`emptying ${l.attribute} breaks functionality`}:k4.has(l.attribute)?{tier:"modifier",reason:`${l.attribute} changes element visibility/interactivity`}:l.attribute==="prepend"||l.attribute==="append"||l.attribute==="textContent"?{tier:"modifier",reason:`${l.attribute} modifies page content`}:{tier:"additive",reason:"adds missing accessibility attribute"}}var qy=300,By=8;function S4(l){if(l.length>qy)return `selector_too_deep: ${l.length} chars (> ${qy})`;let u=(l.match(/:nth-(of-type|child)\(/g)||[]).length;return u>By?`selector_too_deep: ${u} positional steps (> ${By})`:null}var C4=/^meta\[name=(["'])viewport\1\]$/;function T4(l,u){if(!C4.test(l.trim()))return {ok:false,reason:'attribute "content" is allowed only on meta[name="viewport"]'};let h=String(u).toLowerCase();if(/user-scalable\s*=\s*(no|0)\b/.test(h))return {ok:false,reason:"viewport content still blocks zoom (user-scalable=no)"};let d=h.match(/maximum-scale\s*=\s*([\d.]+)/);return d&&parseFloat(d[1])<2?{ok:false,reason:`viewport content still limits zoom (maximum-scale=${d[1]})`}:Oc(u,"content")}function ds(l,u="full"){if(Ic(l.selector,l.attribute))return g4(l.value);let h=Pc(l.selector,u);if(!h.ok)return h;let d=S4(l.selector);if(d)return {ok:false,reason:d};if(l.attribute==="content")return T4(l.selector,l.value);let m=zy(l.attribute);if(!m.ok)return m;if(l.attribute==="role"&&p4(l.selector))return {ok:false,reason:"role on <body>/<html> is ignored by assistive technology"};let g=Uy(l);if(g.tier==="destructive")return {ok:false,reason:g.reason};if(l.attribute==="append"||l.attribute==="prepend")return D4(l.value);let w=Oc(l.value,l.attribute);if(!w.ok)return w;let x=Rc(l);return x.ok?{ok:true}:x}var R4=["button","link","checkbox","radio","switch","tab","menuitem"],F4={aria_hidden_focusable:{sc:"4.1.2",level:"A",writes:{tabindex:["-1"]}},missing_button_role:{sc:"4.1.2",level:"A",writes:{role:["button"],tabindex:["0"]}},javascript_link:{sc:"4.1.2",level:"A",writes:{role:["button"]}},placeholder_link:{sc:"4.1.2",level:"A",writes:{role:["button"]}},missing_semantic_role:{sc:"4.1.2",level:"A",writes:{role:R4}},missing_label:{sc:"4.1.2",level:"A",writes:{title:"*","aria-label":"*"}},unlabeled_button:{sc:"4.1.2",level:"A",writes:{"aria-label":"*"}},main_content_hidden:{sc:"4.1.2",level:"A",writes:{"aria-hidden":["false"]}},keyboard_trap:{sc:"2.1.1",level:"A",writes:{tabindex:["0"]}},scrollable_not_focusable:{sc:"2.1.1",level:"A",writes:{tabindex:["0"]}},focus_order_disruption:{sc:"2.4.3",level:"A",writes:{tabindex:["0"]}},missing_alt:{sc:"1.1.1",level:"A",writes:{alt:"*"}},svg_missing_name:{sc:"1.1.1",level:"A",writes:{"aria-label":"*"}},decorative_icon:{sc:"1.1.1",level:"A",writes:{"aria-hidden":["true"]}},empty_link:{sc:"2.4.4",level:"A",writes:{"aria-label":"*"}},missing_fieldset_legend:{sc:"1.3.1",level:"A",writes:{role:["group","radiogroup"]}},missing_table_header:{sc:"1.3.1",level:"A",writes:{role:["columnheader","presentation"]}},missing_table_scope:{sc:"1.3.1",level:"A",writes:{scope:["col","row","colgroup","rowgroup"]}},listitem:{sc:"1.3.1",level:"A",writes:{role:["list","none"]}},list:{sc:"1.3.1",level:"A",writes:{role:["none"]}},"aria-required-parent":{sc:"1.3.1",level:"A",writes:{role:["none","menu","tablist","listbox","tree","list","radiogroup"]}},"aria-required-children":{sc:"1.3.1",level:"A",writes:{role:["none"]}},missing_document_language:{sc:"3.1.1",level:"A",writes:{lang:"*"}},unsafe_autoplay:{sc:"1.4.2",level:"A",writes:{muted:"*"}},identify_input_purpose:{sc:"1.3.5",level:"AA",writes:{autocomplete:"*"}},missing_autocomplete:{sc:"1.3.5",level:"AA",writes:{autocomplete:"*"}},aria_live:{sc:"4.1.3",level:"AA",writes:{"aria-live":["polite","assertive"]}},zoom_restriction:{sc:"1.4.4",level:"AA",writes:{content:"*"}},target_too_small:{sc:"2.5.8",level:"AA",writes:{style:["min-width:24px;min-height:24px;"]}}},I4={missing_landmark:"landmarks are a best practice, not an A/AA criterion",nested_landmark:"landmarks are a best practice, not an A/AA criterion",duplicate_id:"4.1.1 Parsing is obsolete in WCAG 2.2",missing_button_type:"a button without type fails no A/AA criterion",empty_heading:"empty headings are a best practice, not an A/AA criterion",adjacent_redundant_link:"adjacent duplicate links fail no A/AA criterion"};function Nc(l,u="AA"){if(u==="AAA")return {ok:true,sc:""};let h=I4[l.issueType];if(h)return {ok:false,reason:`${l.issueType}: ${h}`};let d=F4[l.issueType];if(!d)return {ok:false,reason:`${l.issueType}: no WCAG 2.2 ${u} criterion this fix remedies`};if(u==="A"&&d.level!=="A")return {ok:false,reason:`${l.issueType}: ${d.sc} is level ${d.level}, above level A`};let m=d.writes[l.attribute.toLowerCase()];return m?m!=="*"&&!m.includes(l.value.trim().toLowerCase())?{ok:false,reason:`${l.issueType}: ${l.attribute}="${l.value}" does not remedy ${d.sc}`}:{ok:true,sc:d.sc}:{ok:false,reason:`${l.issueType}: writing ${l.attribute} does not remedy ${d.sc}`}}async function Wy(l,u){if(!u.length)return [];try{return await l.evaluate(L4,u)}catch(h){return u.map(()=>`never-harm check could not run: ${h.message}`)}}function L4(l){let u=["list"],h={ul:u,ol:u,menu:u,li:["listitem"],dl:["list"],dt:["term","listitem"],dd:["definition","listitem"],table:["table","grid","treegrid","presentation","none"],thead:["rowgroup"],tbody:["rowgroup"],tfoot:["rowgroup"],tr:["row"],th:["columnheader","rowheader","cell"],td:["cell","gridcell","columnheader","rowheader"],caption:["caption"],h1:["heading"],h2:["heading"],h3:["heading"],h4:["heading"],h5:["heading"],h6:["heading"],button:["button"],input:[],select:[],textarea:[],option:["option"],label:[],fieldset:["group","radiogroup"],img:["img","presentation","none"],iframe:[],video:[],audio:[],summary:[],nav:["navigation"],main:["main"],form:["form","search"],dialog:["dialog","alertdialog"]},d={menu:["menuitem","menuitemcheckbox","menuitemradio"],menubar:["menuitem","menuitemcheckbox","menuitemradio"],tablist:["tab"],listbox:["option"],tree:["treeitem"],radiogroup:["radio"]},m=["button","link","checkbox","radio","switch","tab","menuitem","menuitemcheckbox","menuitemradio","option","combobox","textbox","searchbox","slider","spinbutton","treeitem","gridcell","scrollbar"],g='a[href],area[href],button,input:not([type=hidden]),select,textarea,summary,iframe,[contenteditable=""],[contenteditable="true"],audio[controls],video[controls],[tabindex]:not([tabindex="-1"])',w=V=>(V||"").trim().toLowerCase().split(/\s+/)[0]||"",x=new Map,E=l.map(()=>null),k=l.map(V=>{try{return Array.from(document.querySelectorAll(V.sel))}catch{return []}}),_=(V,W,re)=>{let se=V.tagName.toLowerCase(),J=w(W);if(se==="a"&&V.hasAttribute("href"))return J==="link"?null:`role="${J}" would override the native <a href> link`;let ne=h[se];if(!ne||ne.includes(J))return null;if(se==="li"&&(J==="none"||J==="presentation")){let O=V.parentElement,z=d[w(O?.getAttribute("role")??null)];if(z&&Array.from(V.querySelectorAll("[role]")).some(Q=>z.includes(w(Q.getAttribute("role")))))return null}return (se==="ul"||se==="ol")&&(J==="none"||J==="presentation")&&!V.querySelector("li")?null:`role="${J}" would override the native <${se}> semantics`},y=V=>{let W=V.tagName.toLowerCase();if((W==="a"||W==="area")&&V.hasAttribute("href")||["button","select","textarea","summary","iframe"].includes(W)||W==="input"&&(V.getAttribute("type")||"").toLowerCase()!=="hidden"||(W==="audio"||W==="video")&&V.hasAttribute("controls")||V.isContentEditable)return true;let re=x.get(V)??w(V.getAttribute("role"));return m.includes(re)},A=V=>{let W=V.closest("[role=dialog],[role=alertdialog],dialog,[role=menu],[role=menubar],[role=listbox]");return !W||W.closest('[aria-hidden="true"],[hidden]')||!W.getClientRects().length||getComputedStyle(W).visibility==="hidden"?null:W},v=V=>{if(V.closest("[hidden],[inert]")||!V.getClientRects().length)return false;let W=getComputedStyle(V).visibility;return W!=="hidden"&&W!=="collapse"},S=V=>{let W=V.href;return V.tagName.toLowerCase()!=="a"||!W?false:Array.from(document.querySelectorAll("a[href]")).some(re=>re!==V&&re.href===W&&re.tabIndex>=0&&v(re))},C=V=>{let W=getComputedStyle(V),re=/auto|scroll/.test(W.overflowY)&&V.scrollHeight>V.clientHeight+1;return /auto|scroll/.test(W.overflowX)&&V.scrollWidth>V.clientWidth+1||re},N=(V,W,re)=>{let se=parseInt(W,10),J=A(V);return J?`tabindex change inside an open ${J.getAttribute("role")||J.tagName.toLowerCase()} (dialog/menu focus is the widget's own)`:se<0?!(V.matches(g)||y(V))||!v(V)||S(V)?null:`tabindex="${W}" on a rendered interactive <${V.tagName.toLowerCase()}>: it stays visible and clickable but leaves the keyboard order`:!(se>=0)||y(V)?null:re==="scrollable_not_focusable"?C(V)?V.querySelector(g)?"scroll container already holds a focusable descendant":null:"tabindex>=0 on a container that does not scroll":`tabindex="${W}" on a non-interactive <${V.tagName.toLowerCase()}>`},T=V=>" "+V.replace(/([a-z])([A-Z])/g,"$1 $2").toLowerCase().replace(/[^a-z0-9]+/g," ").trim()+" ",H=[["email",/ e ?mail /],["tel",/ (phone|telephone|tel|mobile|cell) /],["given-name",/ (first ?name|fname|given ?name|forename) /],["family-name",/ (last ?name|lname|surname|family ?name) /],["username",/ (user ?name|login|user ?id) /],["street-address",/ (street|address|addr|address ?line ?1?|address1) /],["postal-code",/ (zip|zip ?code|postal|post ?code|postcode) /],["country",/ country /],["cc",/ (card ?number|cc ?num(ber)?|credit ?card|cvv|cvc|csc|expiry|expiration) /],["other",/ (company|organi[sz]ation|business|city|town|state|province|birthday|birth|website|url|title|job) /]],R=V=>{let W=V.trim().toLowerCase().split(/\s+/).pop()||"";return W==="email"?"email":W.startsWith("tel")?"tel":W==="country"||W==="country-name"?"country":W.startsWith("cc-")?"cc":W==="address-line1"?"street-address":["given-name","family-name","name","street-address","postal-code","username","current-password","new-password"].includes(W)?W:""},q=V=>{let W=[];for(let se of Array.from(V.labels??[]))W.push(se.textContent||"");let re=V.getAttribute("aria-label");re&&W.push(re);for(let se of (V.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean))W.push(document.getElementById(se)?.textContent||"");return W},X=(V,W)=>{let re=R(W);if(!re)return `autocomplete="${W}" is outside the unambiguous token set`;let se=(V.getAttribute("type")||"").toLowerCase(),J=[V.getAttribute("name")||"",V.getAttribute("id")||"",V.getAttribute("placeholder")||"",...q(V)].map(T),ne=J.join(" ");if(se==="search"||/ (search|query|keyword|keywords) /.test(ne)||/ (q|s) /.test(T(V.getAttribute("name")||""))||V.closest("[role=search]"))return "autocomplete in a search field";if(se==="password"){let z=V.form??V.closest("form"),Q=z?T(["id","class","name","action"].map(ve=>z.getAttribute(ve)||"").join(" ")):" ",le=!/ (current|old|existing) /.test(ne)&&(/ (new|confirm(ation)?|verify|create|register|signup|sign up|repeat|re ?type|again|change|reset) /.test(ne)||/ (new|register|signup|sign up|create|change|reset) /.test(Q))?"new-password":"current-password";return re===le?null:`autocomplete="${W}" on a password field that reads as ${le}`}let O=new Set;se==="email"&&O.add("email"),se==="tel"&&O.add("tel");for(let z of J){for(let[ee,te]of H)te.test(z)&&O.add(ee);let Q=z.replace(/ (first ?name|last ?name|given ?name|family ?name|user ?name|fname|lname) /g," ");/ name /.test(Q)&&O.add(/^ ((full|your) )?name $/.test(Q.replace(/\s+/g," "))?"name":"other");}return O.size!==1||!O.has(re)?`autocomplete="${W}": the field names ${O.size?[...O].join(" + "):"no purpose"}, not exactly one`:null},P=V=>!!(V||"").trim(),F=V=>(V.getAttribute("aria-labelledby")||"").trim().split(/\s+/).filter(Boolean).map(W=>document.getElementById(W)?.textContent||"").join(" "),I=V=>P(V.getAttribute("aria-label"))||P(F(V))||P(V.getAttribute("title")),M=V=>{let W=V.tagName.toLowerCase(),re=w(V.getAttribute("role"));if(re==="presentation"||re==="none")return "none";if(W==="img")return V.hasAttribute("alt")?P(V.getAttribute("alt"))||I(V)?"named":"none":I(V)?"named":"unnamed";if(W==="svg"){let se=Array.from(V.children).some(J=>J.tagName.toLowerCase()==="title"&&P(J.textContent));return I(V)||se?"named":"unnamed"}return re==="img"?I(V)?"named":"unnamed":"none"},$=V=>{let W="",re=se=>{for(let J of Array.from(se.childNodes))J.nodeType===3?W+=J.textContent||"":J.nodeType===1&&!["svg","script","style","template"].includes(J.tagName.toLowerCase())&&re(J);};return re(V),W.trim()},j=V=>{let W="decorative aria-hidden: no 1.1.1 evidence (not an image exposed without a name)",re=M(V);if(re==="unnamed")return null;if(re==="named")return "decorative aria-hidden: the image has a name (would hide a named image)";if($(V))return W;let se=Array.from(V.querySelectorAll('img, svg, [role~="img"]')).filter(ne=>!ne.parentElement?.closest("svg"));if(!se.length)return W;let J=se.map(M);return J.includes("named")?"decorative aria-hidden: the holder contains a named image":J.includes("unnamed")?null:W},U=l.map((V,W)=>W).sort((V,W)=>+(l[W].attr==="role")-+(l[V].attr==="role"));for(let V of U){let W=l[V],re=k[V];if(!re.length)continue;let se=W.attr.toLowerCase();for(let J of re){let ne=null;if(se==="role"?ne=_(J,W.val,W.issueType):se==="tabindex"?ne=N(J,W.val,W.issueType):se==="autocomplete"?ne=X(J,W.val):W.issueType==="decorative_icon"&&se==="aria-hidden"&&(ne=j(J)),ne){E[V]=ne;break}}if(se==="role"&&!E[V])for(let J of re)x.set(J,w(W.val));}return E}var Xy=["wcag2a","wcag2aa","wcag21a","wcag21aa","wcag22aa"];async function P4(l){if(await l.evaluate(()=>typeof window.axe?.run=="function"))return;let h=await Promise.resolve().then(()=>o1(sc())),d=h.source??h.default?.source;if(!d)throw new Error("axe-core source unavailable");try{await l.evaluate(d);}catch{let{inject:m}=await Promise.resolve().then(()=>(pr(),Qr));await m(l,{tool:"axe",content:d});}}async function Ky(l){try{return await P4(l),await l.evaluate(async u=>{let h=window,d=await h.axe.run(document,{runOnly:{type:"tag",values:u},rules:{"color-contrast":{enabled:!1}},resultTypes:["violations"],elementRef:!0,iframes:!1}),m=new Map;for(let g of d.violations){let w=m.get(g.id)??new Set;m.set(g.id,w);for(let x of g.nodes)x.element&&w.add(x.element);}h.__waFixVerify={pre:m};},Xy),{ok:!0}}catch(u){return {ok:false,error:u.message}}}async function Jy(l,u,h={}){let d=Date.now(),m=g=>({results:u.map(()=>({status:"not_verifiable",reason:g})),axeRuns:0,ms:Date.now()-d,error:g});if(!u.length)return {results:[],axeRuns:0,ms:0};try{let g=await l.evaluate(M4,{fixes:u.map(w=>({sel:w.sel,attr:w.attr,val:w.val})),tags:Xy,maxRuns:h.maxAxeRuns??40});return g.error?m(g.error):{results:g.results,axeRuns:g.runs,ms:Date.now()-d}}catch(g){return m(`verify: ${g.message}`)}}async function M4(l){let{fixes:u,tags:h,maxRuns:d}=l,m=window,g=m.__waFixVerify;if(!g?.pre)return {error:"no pre-fix axe run on this page",results:[],runs:0};if(typeof m.axe?.run!="function")return {error:"axe-core is not loaded",results:[],runs:0};let w=["remove_attribute","prepend","append","textcontent","innerhtml","thead"],x=u.map(q=>{let X=[];try{X=Array.from(document.querySelectorAll(q.sel));}catch{}return {attr:q.attr,val:q.val,els:X,ok:X.length>0&&/^[a-z][a-z0-9_.:-]*$/i.test(q.attr)&&!w.includes(q.attr.toLowerCase())}}),E=x.map(q=>q.ok?"pending":"not_verifiable"),k=x.map(q=>q.ok?void 0:q.els.length?`"${q.attr}" is not an attribute write the verifier can apply`:"selector matches no element"),_=x.map(()=>new Set),y=new Map,A=()=>{for(let[q,X]of y)for(let[P,F]of X)F===null?q.removeAttribute(P):q.setAttribute(P,F);},v=q=>{A();for(let X of q)for(let P of x[X].els){let F=y.get(P);F||y.set(P,F=new Map),F.has(x[X].attr)||F.set(x[X].attr,P.getAttribute(x[X].attr));try{P.setAttribute(x[X].attr,x[X].val);}catch{E[X]="not_verifiable",k[X]=`attribute "${x[X].attr}" cannot be written`;}}},S=0,C=new Map,N=async q=>{S++;let X=await m.axe.run(q,{runOnly:{type:"tag",values:h},rules:{"color-contrast":{enabled:false}},resultTypes:["violations"],elementRef:true,iframes:false}),P=[];for(let F of X.violations)for(let I of F.nodes)I.element&&!g.pre.get(F.id)?.has(I.element)&&!C.get(F.id)?.has(I.element)&&P.push({rule:F.id,el:I.element});return P},T=(q,X)=>x[q].els.some(P=>P===X||P.contains(X)||X.contains(P)),H=()=>E.map((q,X)=>q==="pending"?X:-1).filter(q=>q>=0),R=(q,X,P)=>{E[q]="rejected_regression";for(let F of X)_[q].add(F.rule);P&&(k[q]=P);};try{let q=H();v(q);let X=await N(document);if(X.length){v([]);let P=await N(document);for(let F of P){let I=C.get(F.rule)??new Set;C.set(F.rule,I),I.add(F.el);}if(P.length){X=X.filter(F=>!C.get(F.rule)?.has(F.el));for(let F of q){let I=Array.from(new Set(P.filter(M=>T(F,M.el)).map(M=>M.rule)));I.length&&(E[F]="not_verifiable",k[F]=`baseline not clean: ${I.join(", ")} fails on this element with no fix applied`);}}}if(X.length){let P=H(),F=P.filter(j=>X.some(U=>T(j,U.el))),I=P.filter(j=>!F.includes(j));for(let j of F){let U=X.filter(re=>T(j,re.el));if(S>=d){R(j,U,"verify budget exhausted while the fix was under suspicion");continue}v([...I,j]);let V=Array.from(new Set([...U.map(re=>re.el),...x[j].els])),W=(await N({include:V})).filter(re=>T(j,re.el));W.length&&R(j,W);}let M=H();v(M);let $=await N(document);if($.length){let j=async V=>{if(S>=d)throw new Error("budget");return v(V),N(document)},U=async(V,W)=>{let re=await j([...W,...V]);if(!re.length)return [];if(V.length===1)return R(V[0],re),V;let se=V.length>>1,J=V.slice(0,se),ne=await U(J,W),O=await U(V.slice(se),[...W,...J.filter(z=>!ne.includes(z))]);return [...ne,...O]};try{await U(M,[]);}catch{let V=$.some(W=>!M.some(re=>T(re,W.el)));M=H();for(let W of M)(V||$.some(re=>T(W,re.el)))&&R(W,$.filter(re=>T(W,re.el)),"verify budget exhausted before the regression was isolated");}}}for(let P of H())E[P]="verified";}finally{A();}return {runs:S,results:E.map((q,X)=>({status:q,..._[X].size?{newViolations:Array.from(_[X])}:{},...k[X]?{reason:k[X]}:{}}))}}var O4=new Set(["correct_needed","correct_unneeded","wrong_value","harmful","unclear"]),Yy=(l,u)=>({sel:l.sel,attr:l.attr,val:l.val,issueType:l.issueType,verdict:u.verdict,apply:u.apply,...u.suggestedValue!==void 0?{suggestedValue:u.suggestedValue}:{},reason:u.reason}),qc=(l,u)=>Yy(l,{verdict:"unclear",apply:false,reason:u});function N4(l){if(!l||typeof l!="object")return null;let u=l;if(typeof u.index!="number"||!Number.isInteger(u.index)||typeof u.verdict!="string"||!O4.has(u.verdict))return null;let h=u.verdict;return {index:u.index,verdict:h,apply:u.apply===true&&h==="correct_needed",...typeof u.suggestedValue=="string"?{suggestedValue:u.suggestedValue}:{},reason:typeof u.reason=="string"?u.reason.replace(/\s+/g," ").slice(0,200):""}}async function Zy(l,u){let h=[],d=[],m=null;for(let g=0;g<l.length;g+=20){let w=l.slice(g,g+20);if(m){h.push(...w.map(k=>qc(k,`fix judge unavailable (${m})`)));continue}let x=new AbortController,E=setTimeout(()=>x.abort(),u.timeoutMs??16e4);try{let k=await Promise.race([u.transport({url:u.url,...u.viewport?{viewport:u.viewport}:{},fixes:w.map(y=>({issue_type:y.issueType,selector:y.sel,attr:y.attr,value:y.val}))},x.signal),new Promise((y,A)=>x.signal.addEventListener("abort",()=>A(new Error("timeout"))))]),_=new Map;for(let y of Array.isArray(k?.verdicts)?k.verdicts:[]){let A=N4(y);A&&A.index>=0&&A.index<w.length&&_.set(A.index,_.has(A.index)?null:A);}w.forEach((y,A)=>{let v=_.get(A);h.push(v?Yy(y,v):qc(y,"the judge returned no verdict for this fix"));});}catch(k){m=x.signal.aborted?"timeout":(k?.message||"error").slice(0,120),d.push(`fix judge: ${m}; ${l.length-g} fixes left unjudged`),h.push(...w.map(_=>qc(_,`fix judge unavailable (${m})`)));}finally{clearTimeout(E);}}return {judged:h,errors:d}}Wu();async function Qy(l){return await l.evaluate(()=>typeof window.uniqueSel=="function")||await l.evaluate(`(0,eval)(${JSON.stringify(`if(typeof __name==='undefined'){var __name=function(t){return t}}
|
|
1019
1021
|
`+Uu)})`),l.evaluate(q4,null)}function q4(){let l=window,u=l.__waFixVerify?.pre;if(!u)return [];let h={menu:["menuitem","menuitemcheckbox","menuitemradio"],menubar:["menuitem","menuitemcheckbox","menuitemradio"],tablist:["tab"],listbox:["option"],tree:["treeitem"],radiogroup:["radio"]},d={menuitem:"menu",menuitemcheckbox:"menu",menuitemradio:"menu",tab:"tablist",option:"listbox",treeitem:"tree",listitem:"list"},m=["navigation","presentation","none","region","group","banner","contentinfo","complementary","main","generic","directory","document","section"],g=v=>(v&&v.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0]||"",w=v=>!!v&&/^(UL|OL|MENU)$/.test(v.tagName),x=v=>!!v&&/^(DIV|SPAN)$/.test(v.tagName)&&!v.hasAttribute("role"),E=[],k=new Set,_=(v,S,C,N)=>{k.has(v)||(k.add(v),E.push({sel:l.uniqueSel(v),attr:"role",val:S,issueType:C,wcag:"1.3.1",evidence:`${N} | ${(v.outerHTML||"").slice(0,200)}`}));},y=(v,S)=>{if(v.tagName!=="LI"||v.hasAttribute("role"))return false;let C=v.parentElement,N=h[g(C)];return !N||!w(C)||!Array.from(v.querySelectorAll("[role]")).some(T=>N.includes(g(T)))?false:(_(v,"none",S,`li inside role="${g(C)}" holds its ${N[0]}: role="none" makes the item a direct child of the widget`),true)},A=v=>Array.from(u.get(v)??[]).filter(S=>S.isConnected);for(let v of A("listitem")){let S=v.parentElement;if(S)if(w(S)){let C=g(S);h[C]?y(v,"listitem"):m.includes(C)&&_(S,"list","listitem",`role="${C}" on a <${S.tagName.toLowerCase()}> stripped its list semantics`);}else x(S)&&Array.from(S.children).every(C=>C.tagName==="LI")&&_(S,"list","listitem","li items whose parent is a generic container");}for(let v of A("aria-required-parent")){let S=g(v),C=d[S];if(!C)continue;let N=v.parentElement;N&&(N.tagName==="LI"&&y(N,"aria-required-parent")||x(N)&&Array.from(N.children).every(T=>g(T)===S)&&_(N,C,"aria-required-parent",`every child carries role="${S}" and the container has no role`));}for(let v of A("aria-required-children"))if(!(!h[g(v)]||!w(v)))for(let S of Array.from(v.children))y(S,"aria-required-children");for(let v of A("list"))!w(v)||v.hasAttribute("role")||v.querySelector("li")||Array.from(v.children).every(S=>S.tagName==="BR")&&_(v,"none","list",`<${v.tagName.toLowerCase()}> holds text, no list items`);return E}var B4="min-width:24px;min-height:24px;";var Bc="target_too_small";async function ew(l,u,h={}){if(!u.length)return [];try{return await l.evaluate(H4,{selectors:u,style:B4,budgetMs:h.budgetMs??5e3})}catch(d){return u.map(()=>({ok:false,reason:"eval_error",detail:d.message}))}}async function H4(l){let m=/^(IMG|SVG|VIDEO|CANVAS|INPUT|SELECT|TEXTAREA|IFRAME|OBJECT|EMBED|METER|PROGRESS)$/,g='a[href],button,input:not([type=hidden]),select,textarea,summary,[tabindex]:not([tabindex^="-"]),[role=button],[role=link],[role=checkbox],[role=radio],[role=menuitem],[role=tab],[role=switch],[onclick]',w=T=>{let H=T.getBoundingClientRect();return {l:H.left+window.scrollX,t:H.top+window.scrollY,w:H.width,h:H.height}},E=[],k=performance.now()+l.budgetMs,_=Array.from(document.querySelectorAll("*")),y=Array.from(document.querySelectorAll(g)),A=null,v=null,S=[],C=new Map,N=T=>{let H=C.get(T)??null;H===null?T.removeAttribute("style"):T.setAttribute("style",H);};try{for(let T of l.selectors){if(performance.now()>=k){E.push({ok:!1,reason:"budget_exhausted"});continue}let H=[];try{H=Array.from(document.querySelectorAll(T));}catch{E.push({ok:!1,reason:"selector_not_unique"});continue}if(H.length!==1){E.push({ok:!1,reason:"selector_not_unique"});continue}let R=H[0];if((R.getAttribute("style")??"").trim()!==""){E.push({ok:!1,reason:"inline_style"});continue}C.set(R,R.getAttribute("style"));let X=getComputedStyle(R).display,P=R.tagName.toUpperCase(),F=w(R);if(F.w>=24-.01&&F.h>=24-.01){E.push({ok:!1,reason:"not_undersized"});continue}if(_.length>6e3){E.push({ok:!1,reason:"page_too_large"});continue}let I=X==="inline"&&!m.test(P);if(X==="none"||X==="contents"||I){E.push({ok:!1,reason:"unsafe_to_grow",detail:"inline box: min-size does nothing"});continue}let M=A??=_.map(w),$=v??=y.map(V=>w(V)),j=[document.documentElement.scrollWidth,document.documentElement.scrollHeight],U=null;try{R.setAttribute("style",l.style),R.offsetWidth;let V=w(R),W=[document.documentElement.scrollWidth,document.documentElement.scrollHeight],re="";if(V.w<24-.5||V.h<24-.5)re="box_not_grown";else {let se=Math.abs(W[0]-j[0])>1||Math.abs(W[1]-j[1])>1;for(let J=0;J<_.length&&!se;J++){let ne=_[J];if(ne===R||R.contains(ne))continue;let O=w(ne),z=M[J];(Math.abs(O.l-z.l)>1||Math.abs(O.t-z.t)>1||Math.abs(O.w-z.w)>1||Math.abs(O.h-z.h)>1)&&(se=!0);}if(se)re="layout_shift";else {let J=!1;for(let ne=0;ne<y.length;ne++){let O=y[ne];if(O===R||R.contains(O)||O.contains(R))continue;let z=$[ne];if(z.w<=0||z.h<=0)continue;let Q=Math.min(V.l+V.w,z.l+z.w)-Math.max(V.l,z.l),ee=Math.min(V.t+V.h,z.t+z.h)-Math.max(V.t,z.t),te=Math.min(F.l+F.w,z.l+z.w)-Math.max(F.l,z.l),le=Math.min(F.t+F.h,z.t+z.h)-Math.max(F.t,z.t),ve=Q>.5&&ee>.5,Ie=te>.5&&le>.5;if(ve&&(!Ie||Q-te>.5||ee-le>.5)){J=!0;break}}J?re="overlaps_target":U={ok:!0,style:l.style,before:{w:F.w,h:F.h},after:{w:V.w,h:V.h}};}}U||(U={ok:!1,reason:"unsafe_to_grow",detail:re});}finally{U?.ok||N(R);}U.ok&&(S.push(R),A=null,v=null),E.push(U);}if(S.length){let T=window,H=null;if(typeof T.axe?.run=="function")try{let R=await T.axe.run(document,{runOnly:{type:"rule",values:["target-size"]},resultTypes:["violations"],elementRef:!0,iframes:!1});H=new Set;for(let q of R.violations)for(let X of q.nodes)X.element&&H.add(X.element);}catch{H=null;}for(let R=0,q=0;R<E.length;R++){if(!E[R].ok)continue;let P=S[q++];(H===null||H.has(P))&&(E[R]={ok:!1,reason:"still_fails_axe",detail:H===null?"axe unavailable to confirm":"axe target-size still fails with the style applied"});}}}finally{for(let T of S)N(T);}return E}async function V4(l){let u={};try{return await $4(l,u)}finally{await u.release?.().catch(()=>{});}}async function $4(l,u){let{page:h,input:d}=l,m=l.opts??{},g=Date.now(),w=typeof d.html=="string",x=w&&typeof d.baseURL=="string",E=!w&&d.loaded===true,k=d.url??d.baseURL,_=k??"about:blank",y=xy(k),A=[],v={engineVersion:fa,input:x?"html":w?"snapshot":E?"loaded":"url",ms:0,deterministic:{issues:0,bySource:{},engineWarnings:[]},fixes:{candidates:0,structuralCandidates:0,emitted:0,rejectedByValidator:0,rejectedByGate:0,rejectedByHidingGuard:0,rejectedBySelector:0,rejectedByDuplicate:0,rejectedByEmptyValue:0,rejectedByNeverHarm:0,rejectedByVerify:0,targetSizeSkipped:{},rejected:[]},verify:{ran:false,skipped:"no fixes",structural:0,verified:0,rejected:0,notVerifiable:0,axeRuns:0,ms:0},agent:{ran:false,skipped:l.model?"no agent stage in this engine yet (rubric agent pending); the injected model was not called":"no model injected"},io:{dbRows:0,r2Gets:0,r2Puts:0,kvOps:0},errors:[],warnings:[]},S=J=>(v.ms=Date.now()-g,{url:_,...J,findings:J.findings??[],internal_bugs:A,stats:v}),C;try{if(x){let J=d.scripts===!0;if(d.viewport&&(h.setViewport?await h.setViewport(d.viewport):v.warnings.push("Page.setViewport absent: input.viewport was not applied")),!h.loadHtml)return v.input="html-blank",v.errors.push("load: Page.loadHtml absent: visitor html is not loaded or scanned with no request policy (iframes, media and token-keyed URLs would go out)"),S({issues:[],incomplete:[],fixes:[]});let ne=await cs(h,d.html,d.baseURL,{scripts:J,visitor:!J,policy:Ec(d.baseURL,{scripts:J})});u.release=ne.release;let O=await h.evaluate(by,{ms:kc,served:ne.served});O>0&&v.warnings.push(`${O} stylesheet(s) still loading after ${kc} ms; scanned without them`),await h.evaluate(yy,vy).catch(z=>v.warnings.push(`animations not finished: ${z.message}`));}else if(w)await cs(h,d.html,k).then(J=>u.release=J.release);else if(!E){let J=await h.goto(_,{waitUntil:"domcontentloaded",timeout:3e4});typeof J?.status=="function"&&(C=J.status());}}catch(J){return v.errors.push(`load: ${J.message}`),S({issues:[],incomplete:[],fixes:[]})}w&&!x&&!(k&&h.loadHtml)&&v.warnings.push("Page.loadHtml absent (or no input.url): the snapshot document is about:blank, so checks that compare links with location (same-page links, current-page wayfinding) see about:blank"),h.waitForLoadState||v.warnings.push("Page.waitForLoadState absent: render settle does not wait for the load event; late iframes, media and images may be scanned before they load");let N;try{let J=m.scan??{};N=await hy(Sc(h,_),{level:m.level??"AA",includeAxe:!0,dismissModals:J.dismissModals??!1,keepDetected:!0,...m.includeBestPractice?{experimental:!0}:{},...J.rootSelector?{rootSelector:J.rootSelector}:{},...J.judge?{judge:J.judge}:{},...J.wcagTags?.length?{wcagTags:J.wcagTags}:{},...J.settle===!1?{settle:!1}:{},...(m.mainStatus??C)!==void 0?{mainStatus:m.mainStatus??C}:{}});}catch(J){return A.push({tool:"engine:scan",kind:"finding-dropped",detail:`scan() threw, every finding dropped: ${J.stack?.slice(0,1e3)??J.message}`}),S({issues:[],incomplete:[],fixes:[]})}if(A.push(...N.internal_bugs??[]),N.blocked)return {...S({issues:[],incomplete:[],fixes:[]}),blocked:N.blocked};let T=[...N.issues];v.deterministic.issues=T.length;for(let J of T)v.deterministic.bySource[J.source]=(v.deterministic.bySource[J.source]??0)+1;v.deterministic.engineWarnings=N.engineWarnings??[];let H=[];for(let J of T){let ne=J.fix;if(!(J.source!=="webability"||!ne||ne.needsManualReview||typeof ne.suggestedValue!="string")){if(v.fixes.candidates++,ne.suggestedValue===""&&ne.attribute!=="alt"){v.fixes.rejectedByEmptyValue++,v.fixes.rejected.push({sel:J.selector,attr:ne.attribute,why:"empty_value"});continue}H.push({selector:J.selector,attribute:ne.attribute,fixValue:ne.suggestedValue,issue:J});}}let R=[];{let J=new Set,ne=T.filter(O=>O.source==="axe-core"&&O.type==="target-size"&&!J.has(O.selector)&&!!J.add(O.selector));if(ne.length){let O=await ew(h,ne.map(Q=>Q.selector)),z={};ne.forEach((Q,ee)=>{let te=O[ee];if(!te?.ok){let le=te?.ok===false?te.detail||te.reason:"eval_error";z[le]=(z[le]??0)+1;return}v.fixes.candidates++,H.push({selector:Q.selector,attribute:"style",fixValue:te.style,issue:{...Q,type:Bc}}),R.push({id:Q.id,selector:Q.selector,attribute:"style",currentValue:"",issueType:Bc,wcag:Q.wcag,context:Q.message,needsAI:false,fixValue:te.style,...Q.html?{outerHtml:Q.html.slice(0,tw)}:{},needsReview:false});}),v.fixes.targetSizeSkipped=z;}}let q=H.filter(J=>{let ne=ds({selector:J.selector,attribute:J.attribute,value:J.fixValue,issueType:J.issue.type});return ne.ok||(v.fixes.rejectedByValidator++,v.fixes.rejected.push({sel:J.selector,attr:J.attribute,why:`validator: ${ne.reason}`})),ne.ok}),X=m.level??"AA",P=q.filter(J=>{let ne=Nc({issueType:String(J.issue.type),attribute:J.attribute,value:J.fixValue},X);return ne.ok||(v.fixes.rejectedByGate++,v.fixes.rejected.push({sel:J.selector,attr:J.attribute,why:`aa gate: ${ne.reason}`})),ne.ok}),F=new Set,I=P.filter(J=>{let ne=`${J.selector}|${J.attribute.toLowerCase()}`;return F.has(ne)?(v.fixes.rejectedByDuplicate++,v.fixes.rejected.push({sel:J.selector,attr:J.attribute,why:"duplicate_candidate"}),false):(F.add(ne),true)}),M=await Cc(h,I,J=>v.errors.push(`hiding guard: ${J.message}; hiding fixes withheld`));for(let J of I)M.includes(J)||(v.fixes.rejectedByHidingGuard++,v.fixes.rejected.push({sel:J.selector,attr:J.attribute,why:"hiding guard: target is or contains a control or screen-reader-only text"}));let $;try{$=await h.evaluate(J=>J.map(ne=>{try{return document.querySelectorAll(ne).length}catch{return -1}}),M.map(J=>J.selector));}catch(J){v.errors.push(`fix selector check: ${J.message}; ${M.length} fixes withheld`);}let j=[];M.forEach((J,ne)=>{let O=$?.[ne];if(O===void 0||O<1){v.fixes.rejectedBySelector++,v.fixes.rejected.push({sel:J.selector,attr:J.attribute,why:$?O!==void 0&&O<0?"selector_unmatched: does not parse":"selector_unmatched":"selector_unmatched: selector check failed"}),$&&A.push({tool:"engine:fixes",kind:"finding-dropped",detail:`${J.issue.type}: ${O!==void 0&&O<0?"fix selector does not parse in the page":"fix selector matches no element on the page it was produced on"}`,selector:J.selector});return}let z=Mc(J.fixValue,J.attribute);j.push({sel:J.selector,originalSel:J.selector,attr:J.attribute,val:J.fixValue,mode:"attr",p:y,issueType:String(J.issue.type),wcag:J.issue.wcag,evidence:`${J.issue.message}${J.issue.html?` | ${J.issue.html.slice(0,300)}`:""}`,engineVersion:fa,...z.length?{signals:z}:{}});});let U=await j4(h,j,{level:X,p:y,verify:m.verify!==false,maxAxeRuns:m.verifyMaxAxeRuns},v);v.fixes.emitted=U.length;let V;if(m.fixJudge&&U.length){let J=w?void 0:h.url?.()||k;if(!J||!/^https?:\/\//i.test(J))v.warnings.push(w?"fixJudge skipped: the judge loads the live URL and this run scanned html/snapshot input":"fixJudge skipped: the page has no http(s) URL");else {let ne=await Zy(U,{url:J,transport:m.fixJudge.transport,viewport:m.fixJudge.viewport,timeoutMs:m.fixJudge.timeoutMs});V=ne.judged,v.errors.push(...ne.errors);}}let W=z4(T,N.detected??[]),re=[...W,...R],se=T.filter(J=>J.source==="webability").length-W.length;return se>0&&v.errors.push(`findings: ${se} WebAbility issues have no detector record; their findings are absent`),S({issues:T,incomplete:N.incomplete??[],fixes:U,findings:re,...V?{judgedFixes:V}:{},...N.judged?.length?{judged:N.judged}:{}})}async function j4(l,u,h,d){let m=d.verify,g=u,w=false;if(h.verify){let y=await Ky(l);if(w=y.ok,!y.ok)m.error=`pre-fix axe run failed: ${y.error}`,d.errors.push(`verify: ${m.error}; fixes emitted not_verifiable, no structural fixes`);else try{let A=new Set(u.map(v=>`${v.sel}|${v.attr}`));for(let v of await Qy(l)){d.fixes.candidates++,d.fixes.structuralCandidates++;let S=ds({selector:v.sel,attribute:v.attr,value:v.val,issueType:v.issueType}).ok?Nc({issueType:v.issueType,attribute:v.attr,value:v.val},h.level).ok?A.has(`${v.sel}|${v.attr}`)?"another fix writes this attribute":"":"aa gate":"validator";if(S){S==="validator"?d.fixes.rejectedByValidator++:S==="aa gate"?d.fixes.rejectedByGate++:d.fixes.rejectedByDuplicate++,d.fixes.rejected.push({sel:v.sel,attr:v.attr,why:`structural ${v.issueType}: ${S}`});continue}A.add(`${v.sel}|${v.attr}`),m.structural++,g=[...g,{sel:v.sel,originalSel:v.sel,attr:v.attr,val:v.val,mode:"attr",p:h.p,issueType:v.issueType,wcag:v.wcag,evidence:v.evidence,engineVersion:fa}];}}catch(A){d.errors.push(`structural fixers: ${A.message}`);}}if(!g.length)return [];let x=await Wy(l,g.map(y=>({sel:y.sel,attr:y.attr,val:y.val,issueType:y.issueType}))),E=g.filter((y,A)=>x[A]?(d.fixes.rejectedByNeverHarm++,d.fixes.rejected.push({sel:y.sel,attr:y.attr,why:`never-harm: ${x[A]}`}),false):true);if(!h.verify)return m.skipped="opts.verify is false",E;if(!w)return m.skipped=m.error,m.notVerifiable=E.length,E.map(y=>({...y,verification:"not_verifiable"}));delete m.skipped,m.ran=true;let k=await Jy(l,E,{maxAxeRuns:h.maxAxeRuns});m.axeRuns=k.axeRuns+1,m.ms=k.ms,k.error&&(m.error=k.error,d.errors.push(`verify: ${k.error}; fixes emitted not_verifiable`));let _=[];return E.forEach((y,A)=>{let v=k.results[A];if(v.status==="rejected_regression"){m.rejected++,d.fixes.rejectedByVerify++,d.fixes.rejected.push({sel:y.sel,attr:y.attr,why:`verify: ${v.newViolations?.length?`new axe ${v.newViolations.join(", ")}`:"regression"}${v.reason?` (${v.reason})`:""}`});return}v.status==="verified"?m.verified++:m.notVerifiable++,_.push({...y,verification:v.status});}),_}var tw=300;function z4(l,u){let h=new Map;for(let m of u){let g=`wa-${m.issueType}-${tn(m.selector)}`;h.has(g)||h.set(g,m);}let d=[];for(let m of l){if(m.source!=="webability")continue;let g=h.get(m.id);g&&d.push({id:m.id,selector:m.selector,attribute:g.attribute,currentValue:g.currentValue??"",issueType:String(m.type),wcag:m.wcag,context:g.context??"",needsAI:!!g.needsAI,...typeof g.fixValue=="string"?{fixValue:g.fixValue}:{},...g.imageSrc?{imageSrc:g.imageSrc}:{},...g.outerHtml?{outerHtml:g.outerHtml.slice(0,tw)}:{},needsReview:!!(g.needsReview||g.manualFix),...g.reviewReason?{reviewReason:g.reviewReason}:{},...g.evidence?{evidence:g.evidence}:{},...g.pseudo?{pseudo:g.pseudo}:{}});}return d}var G4=["sel","attr","val","mode","p"];es();var U4=200;function W4(l){let u=/^(SCRIPT|STYLE|NOSCRIPT|TEMPLATE|HEAD|META|LINK|TITLE|SVG|CANVAS)$/,h=S=>{let C=[];for(let N=S;N&&N!==document.documentElement;N=N.parentElement){if(N.id&&document.querySelectorAll("#"+CSS.escape(N.id)).length===1){C.unshift("#"+CSS.escape(N.id));break}let T=N.parentElement?Array.from(N.parentElement.children).filter(H=>H.tagName===N.tagName):[N];C.unshift(N.tagName.toLowerCase()+(T.length>1?":nth-of-type("+(T.indexOf(N)+1)+")":""));}return C.join(" > ")},d=S=>{let C=S.match(/rgba?\(([^)]+)\)/);if(!C)return null;let N=C[1].split(/[ ,/]+/).filter(Boolean).map(Number);return [N[0],N[1],N[2],N.length>3?N[3]:1]},m=(S,C,N)=>{let T=H=>(H/=255,H<=.03928?H/12.92:Math.pow((H+.055)/1.055,2.4));return .2126*T(S)+.7152*T(C)+.0722*T(N)},g=S=>{let C=getComputedStyle(S),N=[];return C.display==="none"&&N.push("display"),(C.visibility==="hidden"||C.visibility==="collapse")&&N.push("visibility"),parseFloat(C.opacity)<.05&&N.push("opacity"),N},w=S=>{for(let C=S;C&&C!==document.documentElement;C=C.parentElement){let N=getComputedStyle(C).transform;if(N&&N!=="none")return true}return false},x=S=>Array.from(S.childNodes).some(C=>C.nodeType===3&&/[\p{L}\p{N}]/u.test(C.textContent||"")),E=S=>{let C=S.getBoundingClientRect();if(C.width<1||C.height<1)return "zero-size";let N=window.scrollX;if(C.right+N<=0||C.left+N>=document.documentElement.scrollWidth)return "offscreen";for(let T=S.parentElement;T&&T!==document.body&&T!==document.documentElement;T=T.parentElement){let H=getComputedStyle(T);if(H.overflowX!=="visible"||H.overflowY!=="visible"){let R=T.getBoundingClientRect();if(R.width>=1&&(C.right<=R.left||C.left>=R.right||C.bottom<=R.top||C.top>=R.bottom))return "overflow-clip"}}return null},k=S=>{let C=getComputedStyle(S),N=C.webkitTextFillColor,T=d(N&&!/rgba\(0, 0, 0, 0\)|transparent/.test(N)?N:C.color),H=parseFloat(C.fontSize||"16"),R=parseInt(C.fontWeight||"400",10),q=H>=24||H>=18.66&&R>=700?3:4.5,X=T?`rgb(${T[0]}, ${T[1]}, ${T[2]})`:null,P=[],F="plain";for(let V=S;V;V=V.parentElement){let W=getComputedStyle(V),re=W.backgroundImage;if(re&&re!=="none"){F=/gradient\(/i.test(re)&&!/url\(/i.test(re)?"gradient":"image";break}let se=d(W.backgroundColor);if(se&&se[3]>0&&(P.push(se),se[3]>=1))break}if(F==="plain"){let V=S.parentElement;e:for(let W=0;V&&W<4&&V!==document.body;W++,V=V.parentElement)for(let re of Array.from(V.children).slice(0,30)){if(re===S||re.contains(S)||S.contains(re)||(re.textContent||"").trim())continue;let se=getComputedStyle(re).backgroundImage;if(/^(IMG|PICTURE|VIDEO|CANVAS)$/.test(re.tagName)||se&&se!=="none"){F="sibling-layer";break e}}}if(F!=="plain"||!T)return {bg:null,kind:T?F:"unknown",ratio:null,fg:X,threshold:q};let I=[255,255,255];for(let V=P.length-1;V>=0;V--){let[W,re,se,J]=P[V];I=[W*J+I[0]*(1-J),re*J+I[1]*(1-J),se*J+I[2]*(1-J)];}let M=T[3],$=[T[0]*M+I[0]*(1-M),T[1]*M+I[1]*(1-M),T[2]*M+I[2]*(1-M)],j=m($[0],$[1],$[2]),U=m(I[0],I[1],I[2]);return {bg:`rgb(${Math.round(I[0])}, ${Math.round(I[1])}, ${Math.round(I[2])})`,kind:F,ratio:Math.round((Math.max(j,U)+.05)/(Math.min(j,U)+.05)*100)/100,fg:X,threshold:q}},_=new Map,y=new Map;for(let S of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(u.test(S.tagName.toUpperCase())||!x(S))continue;let C=null,N=[];for(let R=S;R&&R!==document.documentElement;R=R.parentElement){let q=g(R);if(q.length){C=R;for(let X of q)N.push({kind:X,el:R});}}if(!C){let R=E(S);if(!R)continue;C=S,N.push({kind:R,el:S});}let T=_.get(C)??[];T.push(S),_.set(C,T);let H=y.get(C)??[];for(let R of N)H.some(q=>q.el===R.el&&q.kind===R.kind)||H.push(R);y.set(C,H);}let A="button,a[href],[role=button],[role=tab],[role=link],[role=menuitem],[role=switch],summary,input,select,[tabindex]",v=[];for(let[S,C]of Array.from(_.entries()).slice(0,l.max)){let N=[],T=new Set,H=S.parentElement;for(let R=1;H&&R<=5&&H!==document.body&&N.length<l.maxNearby;R++,H=H.parentElement){let X=[...H.matches(A)?[H]:[],...Array.from(H.querySelectorAll(A))];for(let P of X){if(N.length>=l.maxNearby)break;if(T.has(P)||S.contains(P))continue;let F=P.getBoundingClientRect();if(F.width<1||F.height<1)continue;T.add(P);let I=P.tagName==="A"?(P.getAttribute("href")||"").trim():"",M="none";if(P.tagName==="A")if(!I)M="none";else if(I.startsWith("#"))M="hash";else if(/^javascript:/i.test(I))M="javascript";else try{let $=new URL(I,location.href);M=$.origin===location.origin&&$.pathname===location.pathname?"same-page":"external";}catch{M="external";}N.push({selector:h(P),tag:P.tagName.toLowerCase(),role:P.getAttribute("role"),name:(P.getAttribute("aria-label")||P.textContent||"").trim().replace(/\s+/g," ").slice(0,60),hrefKind:M,inForm:!!P.closest("form"),expanded:P.getAttribute("aria-expanded"),selected:P.getAttribute("aria-selected"),current:P.getAttribute("aria-current"),pressed:P.getAttribute("aria-pressed"),distance:R,relation:P.contains(S)?"ancestor":"in-ancestor"});}}v.push({root:h(S),hiddenBy:(y.get(S)??[]).map(R=>({kind:R.kind,selector:h(R.el),...R.kind==="offscreen"||R.kind==="overflow-clip"?{transformed:w(R.el)}:{}})),ariaHidden:!!S.closest('[aria-hidden="true"]'),inert:!!S.closest("[inert]"),texts:C.slice(0,l.maxTexts).map(R=>{let q=k(R),X=R.getBoundingClientRect();return {selector:h(R),text:(R.textContent||"").trim().replace(/\s+/g," ").slice(0,60),fg:q.fg,bg:q.bg,backdropKind:q.kind,staticRatio:q.ratio,threshold:q.threshold,rect:X.width>=1&&X.height>=1?{x:Math.round(X.left+window.scrollX),y:Math.round(X.top+window.scrollY),w:Math.round(X.width),h:Math.round(X.height)}:null}}),interactiveNearby:N});}return {found:_.size,groups:v}}async function X4(l,u={}){let h=u.max??200;await l.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");let d=await l.evaluate(W4,{max:h,maxTexts:12,maxNearby:12}),m=d.groups.map((g,w)=>({id:w,...g}));return {candidates:m,found:d.found,...d.found>m.length?{truncated:{found:d.found,kept:m.length,cap:h}}:{}}}/*! Bundled license information:
|
|
1020
1022
|
|
|
1021
1023
|
axe-core/axe.js:
|