skeptic-cli 0.2.0
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/AGENTS.md +303 -0
- package/LICENSES.md +327 -0
- package/README.md +393 -0
- package/agent-skills/skeptic/SKILL.md +99 -0
- package/agent-skills/skeptic/agents/openai.yaml +4 -0
- package/bin/launcher.mjs +18 -0
- package/dist/index.d.ts +1252 -0
- package/dist/index.mjs +1748 -0
- package/dist/skeptic.mjs +1750 -0
- package/dist/templates/example.spec.ts +20 -0
- package/dist/templates/guidance/accessibility.md +41 -0
- package/dist/templates/guidance/animation.md +35 -0
- package/dist/templates/guidance/design.md +41 -0
- package/dist/templates/guidance/performance.md +37 -0
- package/dist/templates/guidance/react.md +50 -0
- package/dist/templates/guidance/responsive.md +46 -0
- package/dist/templates/guidance/security.md +42 -0
- package/dist/templates/guidance/seo.md +43 -0
- package/dist/templates/skeptic.config.yaml +31 -0
- package/dist/templates/tsconfig.json +15 -0
- package/dist/web-vitals.iife.js +1 -0
- package/dist/worker.mjs +724 -0
- package/package.json +110 -0
- package/scripts/install-agent-skills.mjs +145 -0
package/dist/worker.mjs
ADDED
|
@@ -0,0 +1,724 @@
|
|
|
1
|
+
import {createRequire}from'node:module';import ec from'process';import*as LI from'os';import LI__default from'os';import Mg from'tty';import {format}from'util';import*as Or from'fs';import {existsSync}from'fs';import*as pa from'path';import pa__default,{dirname,join,resolve}from'path';import*as zc from'net';import*as $c from'crypto';import {spawn}from'child_process';import {createRequire as createRequire$1}from'module';import {fileURLToPath,pathToFileURL}from'url';import {setTimeout as setTimeout$1}from'timers/promises';import {isMainThread,parentPort,workerData}from'worker_threads';import {mkdir,readFile,writeFile}from'fs/promises';import {tsImport}from'tsx/esm/api';import U4 from'assert';/*! @license skeptic-cli — see LICENSES.md for third-party attributions */
|
|
2
|
+
const require$1 = createRequire(import.meta.url);
|
|
3
|
+
var iI=Object.create;var Zu=Object.defineProperty;var oI=Object.getOwnPropertyDescriptor;var sI=Object.getOwnPropertyNames;var lI=Object.getPrototypeOf,uI=Object.prototype.hasOwnProperty;var Rt=(u=>typeof require$1<"u"?require$1:typeof Proxy<"u"?new Proxy(u,{get:(s,f)=>(typeof require$1<"u"?require$1:s)[f]}):u)(function(u){if(typeof require$1<"u")return require$1.apply(this,arguments);throw Error('Dynamic require of "'+u+'" is not supported')});var jr=(u,s)=>()=>(u&&(s=u(u=0)),s);var Qe=(u,s)=>()=>(s||u((s={exports:{}}).exports,s),s.exports),cI=(u,s)=>{for(var f in s)Zu(u,f,{get:s[f],enumerable:true});},dI=(u,s,f,d)=>{if(s&&typeof s=="object"||typeof s=="function")for(let m of sI(s))!uI.call(u,m)&&m!==f&&Zu(u,m,{get:()=>s[m],enumerable:!(d=oI(s,m))||d.enumerable});return u};var yg=(u,s,f)=>(f=u!=null?iI(lI(u)):{},dI(Zu(f,"default",{value:u,enumerable:true}),u));function MI(){let u=new Map;for(let[s,f]of Object.entries(Ze)){for(let[d,m]of Object.entries(f))Ze[d]={open:`\x1B[${m[0]}m`,close:`\x1B[${m[1]}m`},f[d]=Ze[d],u.set(m[0],m[1]);Object.defineProperty(Ze,s,{value:f,enumerable:false});}return Object.defineProperty(Ze,"codes",{value:u,enumerable:false}),Ze.color.close="\x1B[39m",Ze.bgColor.close="\x1B[49m",Ze.color.ansi=Fg(),Ze.color.ansi256=Og(),Ze.color.ansi16m=Pg(),Ze.bgColor.ansi=Fg(10),Ze.bgColor.ansi256=Og(10),Ze.bgColor.ansi16m=Pg(10),Object.defineProperties(Ze,{rgbToAnsi256:{value(s,f,d){return s===f&&f===d?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(f/255*5)+Math.round(d/255*5)},enumerable:false},hexToRgb:{value(s){let f=/[a-f\d]{6}|[a-f\d]{3}/i.exec(s.toString(16));if(!f)return [0,0,0];let[d]=f;d.length===3&&(d=[...d].map(v=>v+v).join(""));let m=Number.parseInt(d,16);return [m>>16&255,m>>8&255,m&255]},enumerable:false},hexToAnsi256:{value:s=>Ze.rgbToAnsi256(...Ze.hexToRgb(s)),enumerable:false},ansi256ToAnsi:{value(s){if(s<8)return 30+s;if(s<16)return 90+(s-8);let f,d,m;if(s>=232)f=((s-232)*10+8)/255,d=f,m=f;else {s-=16;let x=s%36;f=Math.floor(s/36)/5,d=Math.floor(x/6)/5,m=x%6/5;}let v=Math.max(f,d,m)*2;if(v===0)return 30;let b=30+(Math.round(m)<<2|Math.round(d)<<1|Math.round(f));return v===2&&(b+=60),b},enumerable:false},rgbToAnsi:{value:(s,f,d)=>Ze.ansi256ToAnsi(Ze.rgbToAnsi256(s,f,d)),enumerable:false},hexToAnsi:{value:s=>Ze.ansi256ToAnsi(Ze.hexToAnsi256(s)),enumerable:false}}),Ze}var Fg,Og,Pg,Ze,PI,II,NI,gr,Ig=jr(()=>{Fg=(u=0)=>s=>`\x1B[${s+u}m`,Og=(u=0)=>s=>`\x1B[${38+u};5;${s}m`,Pg=(u=0)=>(s,f,d)=>`\x1B[${38+u};2;${s};${f};${d}m`,Ze={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},Object.keys(Ze.modifier),PI=Object.keys(Ze.color),II=Object.keys(Ze.bgColor),[...PI,...II];NI=MI(),gr=NI;});function tr(u,s=globalThis.Deno?globalThis.Deno.args:ec.argv){let f=u.startsWith("-")?"":u.length===1?"-":"--",d=s.indexOf(f+u),m=s.indexOf("--");return d!==-1&&(m===-1||d<m)}function BI(){if("FORCE_COLOR"in Je)return Je.FORCE_COLOR==="true"?1:Je.FORCE_COLOR==="false"?0:Je.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Je.FORCE_COLOR,10),3)}function qI(u){return u===0?false:{level:u,hasBasic:true,has256:u>=2,has16m:u>=3}}function $I(u,{streamIsTTY:s,sniffFlags:f=true}={}){let d=BI();d!==void 0&&(as=d);let m=f?as:d;if(m===0)return 0;if(f){if(tr("color=16m")||tr("color=full")||tr("color=truecolor"))return 3;if(tr("color=256"))return 2}if("TF_BUILD"in Je&&"AGENT_NAME"in Je)return 1;if(u&&!s&&m===void 0)return 0;let v=m||0;if(Je.TERM==="dumb")return v;if(ec.platform==="win32"){let b=LI__default.release().split(".");return Number(b[0])>=10&&Number(b[2])>=10586?Number(b[2])>=14931?3:2:1}if("CI"in Je)return ["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(b=>b in Je)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(b=>b in Je)||Je.CI_NAME==="codeship"?1:v;if("TEAMCITY_VERSION"in Je)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Je.TEAMCITY_VERSION)?1:0;if(Je.COLORTERM==="truecolor"||Je.TERM==="xterm-kitty"||Je.TERM==="xterm-ghostty"||Je.TERM==="wezterm")return 3;if("TERM_PROGRAM"in Je){let b=Number.parseInt((Je.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Je.TERM_PROGRAM){case "iTerm.app":return b>=3?3:2;case "Apple_Terminal":return 2}}return /-256(color)?$/i.test(Je.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Je.TERM)||"COLORTERM"in Je?1:v}function Ng(u,s={}){let f=$I(u,{streamIsTTY:u&&u.isTTY,...s});return qI(f)}var Je,as,jI,Lg,Bg=jr(()=>{({env:Je}=ec);tr("no-color")||tr("no-colors")||tr("color=false")||tr("color=never")?as=0:(tr("color")||tr("colors")||tr("color=true")||tr("color=always"))&&(as=1);jI={stdout:Ng({isTTY:Mg.isatty(1)}),stderr:Ng({isTTY:Mg.isatty(2)})},Lg=jI;});function qg(u,s,f){let d=u.indexOf(s);if(d===-1)return u;let m=s.length,v=0,b="";do b+=u.slice(v,d)+s+f,v=d+m,d=u.indexOf(s,v);while(d!==-1);return b+=u.slice(v),b}function $g(u,s,f,d){let m=0,v="";do{let b=u[d-1]==="\r";v+=u.slice(m,b?d-1:d)+s+(b?`\r
|
|
4
|
+
`:`
|
|
5
|
+
`)+f,m=d+1,d=u.indexOf(`
|
|
6
|
+
`,m);}while(d!==-1);return v+=u.slice(m),v}var jg=jr(()=>{});function si(u){return HI(u)}var zg,Hg,tc,Ja,oi,Vg,Qa,zI,HI,rc,VI,GI,ac,ns,UI,WI,oa,Gg=jr(()=>{Ig();Bg();jg();(({stdout:zg,stderr:Hg}=Lg)),tc=Symbol("GENERATOR"),Ja=Symbol("STYLER"),oi=Symbol("IS_EMPTY"),Vg=["ansi","ansi","ansi256","ansi16m"],Qa=Object.create(null),zI=(u,s={})=>{if(s.level&&!(Number.isInteger(s.level)&&s.level>=0&&s.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let f=zg?zg.level:0;u.level=s.level===void 0?f:s.level;},HI=u=>{let s=(...f)=>f.join(" ");return zI(s,u),Object.setPrototypeOf(s,si.prototype),s};Object.setPrototypeOf(si.prototype,Function.prototype);for(let[u,s]of Object.entries(gr))Qa[u]={get(){let f=ns(this,ac(s.open,s.close,this[Ja]),this[oi]);return Object.defineProperty(this,u,{value:f}),f}};Qa.visible={get(){let u=ns(this,this[Ja],true);return Object.defineProperty(this,"visible",{value:u}),u}};rc=(u,s,f,...d)=>u==="rgb"?s==="ansi16m"?gr[f].ansi16m(...d):s==="ansi256"?gr[f].ansi256(gr.rgbToAnsi256(...d)):gr[f].ansi(gr.rgbToAnsi(...d)):u==="hex"?rc("rgb",s,f,...gr.hexToRgb(...d)):gr[f][u](...d),VI=["rgb","hex","ansi256"];for(let u of VI){Qa[u]={get(){let{level:f}=this;return function(...d){let m=ac(rc(u,Vg[f],"color",...d),gr.color.close,this[Ja]);return ns(this,m,this[oi])}}};let s="bg"+u[0].toUpperCase()+u.slice(1);Qa[s]={get(){let{level:f}=this;return function(...d){let m=ac(rc(u,Vg[f],"bgColor",...d),gr.bgColor.close,this[Ja]);return ns(this,m,this[oi])}}};}GI=Object.defineProperties(()=>{},{...Qa,level:{enumerable:true,get(){return this[tc].level},set(u){this[tc].level=u;}}}),ac=(u,s,f)=>{let d,m;return f===void 0?(d=u,m=s):(d=f.openAll+u,m=s+f.closeAll),{open:u,close:s,openAll:d,closeAll:m,parent:f}},ns=(u,s,f)=>{let d=(...m)=>UI(d,m.length===1?""+m[0]:m.join(" "));return Object.setPrototypeOf(d,GI),d[tc]=u,d[Ja]=s,d[oi]=f,d},UI=(u,s)=>{if(u.level<=0||!s)return u[oi]?"":s;let f=u[Ja];if(f===void 0)return s;let{openAll:d,closeAll:m}=f;if(s.includes("\x1B"))for(;f!==void 0;)s=qg(s,f.close,f.open),f=f.parent;let v=s.indexOf(`
|
|
7
|
+
`);return v!==-1&&(s=$g(s,m,d,v)),d+s+m};Object.defineProperties(si.prototype,Qa);WI=si(),si({level:Hg?Hg.level:0}),oa=WI;});var nc,ic=jr(()=>{nc="skeptic";});function sa(u){return Ug[u]>=Ug[KI]}function la(u,s){Wg?Wg.write(format(...s)+`
|
|
8
|
+
`):u(...s);}var Ug,KI,en,Wg,He,kr=jr(()=>{Gg();ic();Ug={debug:0,info:1,warn:2,error:3,silent:4},KI="info";en=oa.bold.hex("#FFD700")(`[${nc}]`),Wg=null;He={debug(...u){sa("debug")&&la(console.debug,[oa.gray(`${en}`),...u]);},info(...u){sa("info")&&la(console.log,[en,...u]);},success(...u){sa("info")&&la(console.log,[en,oa.green("\u2713"),...u]);},warn(...u){sa("warn")&&la(console.warn,[en,oa.yellow("\u26A0"),...u]);},error(...u){sa("error")&&la(console.error,[en,oa.red("\u2717"),...u]);},raw(...u){sa("info")&&la(console.log,u);},errorRaw(...u){sa("error")&&la(console.error,u);},step(u,s,f){sa("info")&&la(console.log,[en,oa.cyan(`Step ${u}/${s}`),oa.dim("\u2014"),f]);}};});var yc=Qe((pL,qv)=>{var _N=Rt("util"),Bv=Rt("stream"),vr=qv.exports=function(){Bv.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=false,this._encoding="utf8",this.writable=true;};_N.inherits(vr,Bv);vr.prototype.read=function(u,s){this._reads.push({length:Math.abs(u),allowLess:u<0,func:s}),process.nextTick(function(){this._process(),this._paused&&this._reads&&this._reads.length>0&&(this._paused=false,this.emit("drain"));}.bind(this));};vr.prototype.write=function(u,s){if(!this.writable)return this.emit("error",new Error("Stream not writable")),false;let f;return Buffer.isBuffer(u)?f=u:f=Buffer.from(u,s||this._encoding),this._buffers.push(f),this._buffered+=f.length,this._process(),this._reads&&this._reads.length===0&&(this._paused=true),this.writable&&!this._paused};vr.prototype.end=function(u,s){u&&this.write(u,s),this.writable=false,this._buffers&&(this._buffers.length===0?this._end():(this._buffers.push(null),this._process()));};vr.prototype.destroySoon=vr.prototype.end;vr.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy();};vr.prototype.destroy=function(){this._buffers&&(this.writable=false,this._reads=null,this._buffers=null,this.emit("close"));};vr.prototype._processReadAllowingLess=function(u){this._reads.shift();let s=this._buffers[0];s.length>u.length?(this._buffered-=u.length,this._buffers[0]=s.slice(u.length),u.func.call(this,s.slice(0,u.length))):(this._buffered-=s.length,this._buffers.shift(),u.func.call(this,s));};vr.prototype._processRead=function(u){this._reads.shift();let s=0,f=0,d=Buffer.alloc(u.length);for(;s<u.length;){let m=this._buffers[f++],v=Math.min(m.length,u.length-s);m.copy(d,s,0,v),s+=v,v!==m.length&&(this._buffers[--f]=m.slice(v));}f>0&&this._buffers.splice(0,f),this._buffered-=u.length,u.func.call(this,d);};vr.prototype._process=function(){try{for(;this._buffered>0&&this._reads&&this._reads.length>0;){let u=this._reads[0];if(u.allowLess)this._processReadAllowingLess(u);else if(this._buffered>=u.length)this._processRead(u);else break}this._buffers&&!this.writable&&this._end();}catch(u){this.emit("error",u);}};});var wc=Qe(bc=>{var ca=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];bc.getImagePasses=function(u,s){let f=[],d=u%8,m=s%8,v=(u-d)/8,b=(s-m)/8;for(let x=0;x<ca.length;x++){let E=ca[x],A=v*E.x.length,S=b*E.y.length;for(let k=0;k<E.x.length&&E.x[k]<d;k++)A++;for(let k=0;k<E.y.length&&E.y[k]<m;k++)S++;A>0&&S>0&&f.push({width:A,height:S,index:x});}return f};bc.getInterlaceIterator=function(u){return function(s,f,d){let m=s%ca[d].x.length,v=(s-m)/ca[d].x.length*8+ca[d].x[m],b=f%ca[d].y.length,x=(f-b)/ca[d].y.length*8+ca[d].y[b];return v*4+x*u*4}};});var _c=Qe((mL,$v)=>{$v.exports=function(s,f,d){let m=s+f-d,v=Math.abs(m-s),b=Math.abs(m-f),x=Math.abs(m-d);return v<=b&&v<=x?s:b<=x?f:d};});var xc=Qe((gL,zv)=>{var xN=wc(),EN=_c();function jv(u,s,f){let d=u*s;return f!==8&&(d=Math.ceil(d/(8/f))),d}var rn=zv.exports=function(u,s){let f=u.width,d=u.height,m=u.interlace,v=u.bpp,b=u.depth;if(this.read=s.read,this.write=s.write,this.complete=s.complete,this._imageIndex=0,this._images=[],m){let x=xN.getImagePasses(f,d);for(let E=0;E<x.length;E++)this._images.push({byteWidth:jv(x[E].width,v,b),height:x[E].height,lineIndex:0});}else this._images.push({byteWidth:jv(f,v,b),height:d,lineIndex:0});b===8?this._xComparison=v:b===16?this._xComparison=v*2:this._xComparison=1;};rn.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this));};rn.prototype._unFilterType1=function(u,s,f){let d=this._xComparison,m=d-1;for(let v=0;v<f;v++){let b=u[1+v],x=v>m?s[v-d]:0;s[v]=b+x;}};rn.prototype._unFilterType2=function(u,s,f){let d=this._lastLine;for(let m=0;m<f;m++){let v=u[1+m],b=d?d[m]:0;s[m]=v+b;}};rn.prototype._unFilterType3=function(u,s,f){let d=this._xComparison,m=d-1,v=this._lastLine;for(let b=0;b<f;b++){let x=u[1+b],E=v?v[b]:0,A=b>m?s[b-d]:0,S=Math.floor((A+E)/2);s[b]=x+S;}};rn.prototype._unFilterType4=function(u,s,f){let d=this._xComparison,m=d-1,v=this._lastLine;for(let b=0;b<f;b++){let x=u[1+b],E=v?v[b]:0,A=b>m?s[b-d]:0,S=b>m&&v?v[b-d]:0,k=EN(A,E,S);s[b]=x+k;}};rn.prototype._reverseFilterLine=function(u){let s=u[0],f,d=this._images[this._imageIndex],m=d.byteWidth;if(s===0)f=u.slice(1,m+1);else switch(f=Buffer.alloc(m),s){case 1:this._unFilterType1(u,f,m);break;case 2:this._unFilterType2(u,f,m);break;case 3:this._unFilterType3(u,f,m);break;case 4:this._unFilterType4(u,f,m);break;default:throw new Error("Unrecognised filter type - "+s)}this.write(f),d.lineIndex++,d.lineIndex>=d.height?(this._lastLine=null,this._imageIndex++,d=this._images[this._imageIndex]):this._lastLine=f,d?this.read(d.byteWidth+1,this._reverseFilterLine.bind(this)):(this._lastLine=null,this.complete());};});var Gv=Qe((vL,Vv)=>{var DN=Rt("util"),Hv=yc(),AN=xc(),CN=Vv.exports=function(u){Hv.call(this);let s=[],f=this;this._filter=new AN(u,{read:this.read.bind(this),write:function(d){s.push(d);},complete:function(){f.emit("complete",Buffer.concat(s));}}),this._filter.start();};DN.inherits(CN,Hv);});var an=Qe((yL,Uv)=>{Uv.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5};});var Ac=Qe((bL,Wv)=>{var Ec=[];(function(){for(let u=0;u<256;u++){let s=u;for(let f=0;f<8;f++)s&1?s=3988292384^s>>>1:s=s>>>1;Ec[u]=s;}})();var Dc=Wv.exports=function(){this._crc=-1;};Dc.prototype.write=function(u){for(let s=0;s<u.length;s++)this._crc=Ec[(this._crc^u[s])&255]^this._crc>>>8;return true};Dc.prototype.crc32=function(){return this._crc^-1};Dc.crc32=function(u){let s=-1;for(let f=0;f<u.length;f++)s=Ec[(s^u[f])&255]^s>>>8;return s^-1};});var Cc=Qe((wL,Yv)=>{var pt=an(),RN=Ac(),mt=Yv.exports=function(u,s){this._options=u,u.checkCRC=u.checkCRC!==false,this._hasIHDR=false,this._hasIEND=false,this._emittedHeadersFinished=false,this._palette=[],this._colorType=0,this._chunks={},this._chunks[pt.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[pt.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[pt.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[pt.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[pt.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[pt.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=s.read,this.error=s.error,this.metadata=s.metadata,this.gamma=s.gamma,this.transColor=s.transColor,this.palette=s.palette,this.parsed=s.parsed,this.inflateData=s.inflateData,this.finished=s.finished,this.simpleTransparency=s.simpleTransparency,this.headersFinished=s.headersFinished||function(){};};mt.prototype.start=function(){this.read(pt.PNG_SIGNATURE.length,this._parseSignature.bind(this));};mt.prototype._parseSignature=function(u){let s=pt.PNG_SIGNATURE;for(let f=0;f<s.length;f++)if(u[f]!==s[f]){this.error(new Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this));};mt.prototype._parseChunkBegin=function(u){let s=u.readUInt32BE(0),f=u.readUInt32BE(4),d="";for(let v=4;v<8;v++)d+=String.fromCharCode(u[v]);let m=!!(u[4]&32);if(!this._hasIHDR&&f!==pt.TYPE_IHDR){this.error(new Error("Expected IHDR on beggining"));return}if(this._crc=new RN,this._crc.write(Buffer.from(d)),this._chunks[f])return this._chunks[f](s);if(!m){this.error(new Error("Unsupported critical chunk type "+d));return}this.read(s+4,this._skipChunk.bind(this));};mt.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this));};mt.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this));};mt.prototype._parseChunkEnd=function(u){let s=u.readInt32BE(0),f=this._crc.crc32();if(this._options.checkCRC&&f!==s){this.error(new Error("Crc error - "+s+" - "+f));return}this._hasIEND||this.read(8,this._parseChunkBegin.bind(this));};mt.prototype._handleIHDR=function(u){this.read(u,this._parseIHDR.bind(this));};mt.prototype._parseIHDR=function(u){this._crc.write(u);let s=u.readUInt32BE(0),f=u.readUInt32BE(4),d=u[8],m=u[9],v=u[10],b=u[11],x=u[12];if(d!==8&&d!==4&&d!==2&&d!==1&&d!==16){this.error(new Error("Unsupported bit depth "+d));return}if(!(m in pt.COLORTYPE_TO_BPP_MAP)){this.error(new Error("Unsupported color type"));return}if(v!==0){this.error(new Error("Unsupported compression method"));return}if(b!==0){this.error(new Error("Unsupported filter method"));return}if(x!==0&&x!==1){this.error(new Error("Unsupported interlace method"));return}this._colorType=m;let E=pt.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=true,this.metadata({width:s,height:f,depth:d,interlace:!!x,palette:!!(m&pt.COLORTYPE_PALETTE),color:!!(m&pt.COLORTYPE_COLOR),alpha:!!(m&pt.COLORTYPE_ALPHA),bpp:E,colorType:m}),this._handleChunkEnd();};mt.prototype._handlePLTE=function(u){this.read(u,this._parsePLTE.bind(this));};mt.prototype._parsePLTE=function(u){this._crc.write(u);let s=Math.floor(u.length/3);for(let f=0;f<s;f++)this._palette.push([u[f*3],u[f*3+1],u[f*3+2],255]);this.palette(this._palette),this._handleChunkEnd();};mt.prototype._handleTRNS=function(u){this.simpleTransparency(),this.read(u,this._parseTRNS.bind(this));};mt.prototype._parseTRNS=function(u){if(this._crc.write(u),this._colorType===pt.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(new Error("Transparency chunk must be after palette"));return}if(u.length>this._palette.length){this.error(new Error("More transparent colors than palette size"));return}for(let s=0;s<u.length;s++)this._palette[s][3]=u[s];this.palette(this._palette);}this._colorType===pt.COLORTYPE_GRAYSCALE&&this.transColor([u.readUInt16BE(0)]),this._colorType===pt.COLORTYPE_COLOR&&this.transColor([u.readUInt16BE(0),u.readUInt16BE(2),u.readUInt16BE(4)]),this._handleChunkEnd();};mt.prototype._handleGAMA=function(u){this.read(u,this._parseGAMA.bind(this));};mt.prototype._parseGAMA=function(u){this._crc.write(u),this.gamma(u.readUInt32BE(0)/pt.GAMMA_DIVISION),this._handleChunkEnd();};mt.prototype._handleIDAT=function(u){this._emittedHeadersFinished||(this._emittedHeadersFinished=true,this.headersFinished()),this.read(-u,this._parseIDAT.bind(this,u));};mt.prototype._parseIDAT=function(u,s){if(this._crc.write(s),this._colorType===pt.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw new Error("Expected palette not found");this.inflateData(s);let f=u-s.length;f>0?this._handleIDAT(f):this._handleChunkEnd();};mt.prototype._handleIEND=function(u){this.read(u,this._parseIEND.bind(this));};mt.prototype._parseIEND=function(u){this._crc.write(u),this._hasIEND=true,this._handleChunkEnd(),this.finished&&this.finished();};});var Rc=Qe(Xv=>{var Kv=wc(),TN=[function(){},function(u,s,f,d){if(d===s.length)throw new Error("Ran out of data");let m=s[d];u[f]=m,u[f+1]=m,u[f+2]=m,u[f+3]=255;},function(u,s,f,d){if(d+1>=s.length)throw new Error("Ran out of data");let m=s[d];u[f]=m,u[f+1]=m,u[f+2]=m,u[f+3]=s[d+1];},function(u,s,f,d){if(d+2>=s.length)throw new Error("Ran out of data");u[f]=s[d],u[f+1]=s[d+1],u[f+2]=s[d+2],u[f+3]=255;},function(u,s,f,d){if(d+3>=s.length)throw new Error("Ran out of data");u[f]=s[d],u[f+1]=s[d+1],u[f+2]=s[d+2],u[f+3]=s[d+3];}],SN=[function(){},function(u,s,f,d){let m=s[0];u[f]=m,u[f+1]=m,u[f+2]=m,u[f+3]=d;},function(u,s,f){let d=s[0];u[f]=d,u[f+1]=d,u[f+2]=d,u[f+3]=s[1];},function(u,s,f,d){u[f]=s[0],u[f+1]=s[1],u[f+2]=s[2],u[f+3]=d;},function(u,s,f){u[f]=s[0],u[f+1]=s[1],u[f+2]=s[2],u[f+3]=s[3];}];function kN(u,s){let f=[],d=0;function m(){if(d===u.length)throw new Error("Ran out of data");let v=u[d];d++;let b,x,E,A,S,k,I,$;switch(s){default:throw new Error("unrecognised depth");case 16:I=u[d],d++,f.push((v<<8)+I);break;case 4:I=v&15,$=v>>4,f.push($,I);break;case 2:S=v&3,k=v>>2&3,I=v>>4&3,$=v>>6&3,f.push($,I,k,S);break;case 1:b=v&1,x=v>>1&1,E=v>>2&1,A=v>>3&1,S=v>>4&1,k=v>>5&1,I=v>>6&1,$=v>>7&1,f.push($,I,k,S,A,E,x,b);break}}return {get:function(v){for(;f.length<v;)m();let b=f.slice(0,v);return f=f.slice(v),b},resetAfterLine:function(){f.length=0;},end:function(){if(d!==u.length)throw new Error("extra data found")}}}function FN(u,s,f,d,m,v){let b=u.width,x=u.height,E=u.index;for(let A=0;A<x;A++)for(let S=0;S<b;S++){let k=f(S,A,E);TN[d](s,m,k,v),v+=d;}return v}function ON(u,s,f,d,m,v){let b=u.width,x=u.height,E=u.index;for(let A=0;A<x;A++){for(let S=0;S<b;S++){let k=m.get(d),I=f(S,A,E);SN[d](s,k,I,v);}m.resetAfterLine();}}Xv.dataToBitMap=function(u,s){let f=s.width,d=s.height,m=s.depth,v=s.bpp,b=s.interlace,x;m!==8&&(x=kN(u,m));let E;m<=8?E=Buffer.alloc(f*d*4):E=new Uint16Array(f*d*4);let A=Math.pow(2,m)-1,S=0,k,I;if(b)k=Kv.getImagePasses(f,d),I=Kv.getInterlaceIterator(f,d);else {let $=0;I=function(){let G=$;return $+=4,G},k=[{width:f,height:d}];}for(let $=0;$<k.length;$++)m===8?S=FN(k[$],E,I,v,u,S):ON(k[$],E,I,v,x,A);if(m===8){if(S!==u.length)throw new Error("extra data found")}else x.end();return E};});var Tc=Qe((xL,Zv)=>{function PN(u,s,f,d,m){let v=0;for(let b=0;b<d;b++)for(let x=0;x<f;x++){let E=m[u[v]];if(!E)throw new Error("index "+u[v]+" not in palette");for(let A=0;A<4;A++)s[v+A]=E[A];v+=4;}}function IN(u,s,f,d,m){let v=0;for(let b=0;b<d;b++)for(let x=0;x<f;x++){let E=false;if(m.length===1?m[0]===u[v]&&(E=true):m[0]===u[v]&&m[1]===u[v+1]&&m[2]===u[v+2]&&(E=true),E)for(let A=0;A<4;A++)s[v+A]=0;v+=4;}}function MN(u,s,f,d,m){let v=255,b=Math.pow(2,m)-1,x=0;for(let E=0;E<d;E++)for(let A=0;A<f;A++){for(let S=0;S<4;S++)s[x+S]=Math.floor(u[x+S]*v/b+.5);x+=4;}}Zv.exports=function(u,s,f=false){let d=s.depth,m=s.width,v=s.height,b=s.colorType,x=s.transColor,E=s.palette,A=u;return b===3?PN(u,A,m,v,E):(x&&IN(u,A,m,v,x),d!==8&&!f&&(d===16&&(A=Buffer.alloc(m*v*4)),MN(u,A,m,v,d))),A};});var ey=Qe((EL,Qv)=>{var NN=Rt("util"),Sc=Rt("zlib"),Jv=yc(),LN=Gv(),BN=Cc(),qN=Rc(),$N=Tc(),Fr=Qv.exports=function(u){Jv.call(this),this._parser=new BN(u,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=u,this.writable=true,this._parser.start();};NN.inherits(Fr,Jv);Fr.prototype._handleError=function(u){this.emit("error",u),this.writable=false,this.destroy(),this._inflate&&this._inflate.destroy&&this._inflate.destroy(),this._filter&&(this._filter.destroy(),this._filter.on("error",function(){})),this.errord=true;};Fr.prototype._inflateData=function(u){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=Sc.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else {let f=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,d=Math.max(f,Sc.Z_MIN_CHUNK);this._inflate=Sc.createInflate({chunkSize:d});let m=f,v=this.emit.bind(this,"error");this._inflate.on("error",function(x){m&&v(x);}),this._filter.on("complete",this._complete.bind(this));let b=this._filter.write.bind(this._filter);this._inflate.on("data",function(x){m&&(x.length>m&&(x=x.slice(0,m)),m-=x.length,b(x));}),this._inflate.on("end",this._filter.end.bind(this._filter));}this._inflate.write(u);};Fr.prototype._handleMetaData=function(u){this._metaData=u,this._bitmapInfo=Object.create(u),this._filter=new LN(this._bitmapInfo);};Fr.prototype._handleTransColor=function(u){this._bitmapInfo.transColor=u;};Fr.prototype._handlePalette=function(u){this._bitmapInfo.palette=u;};Fr.prototype._simpleTransparency=function(){this._metaData.alpha=true;};Fr.prototype._headersFinished=function(){this.emit("metadata",this._metaData);};Fr.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"));};Fr.prototype._complete=function(u){if(this.errord)return;let s;try{let f=qN.dataToBitMap(u,this._bitmapInfo);s=$N(f,this._bitmapInfo,this._options.skipRescale),f=null;}catch(f){this._handleError(f);return}this.emit("parsed",s);};});var ry=Qe((DL,ty)=>{var ar=an();ty.exports=function(u,s,f,d){let m=[ar.COLORTYPE_COLOR_ALPHA,ar.COLORTYPE_ALPHA].indexOf(d.colorType)!==-1;if(d.colorType===d.inputColorType){let G=(function(){let V=new ArrayBuffer(2);return new DataView(V).setInt16(0,256,true),new Int16Array(V)[0]!==256})();if(d.bitDepth===8||d.bitDepth===16&&G)return u}let v=d.bitDepth!==16?u:new Uint16Array(u.buffer),b=255,x=ar.COLORTYPE_TO_BPP_MAP[d.inputColorType];x===4&&!d.inputHasAlpha&&(x=3);let E=ar.COLORTYPE_TO_BPP_MAP[d.colorType];d.bitDepth===16&&(b=65535,E*=2);let A=Buffer.alloc(s*f*E),S=0,k=0,I=d.bgColor||{};I.red===void 0&&(I.red=b),I.green===void 0&&(I.green=b),I.blue===void 0&&(I.blue=b);function $(){let G,V,te,re=b;switch(d.inputColorType){case ar.COLORTYPE_COLOR_ALPHA:re=v[S+3],G=v[S],V=v[S+1],te=v[S+2];break;case ar.COLORTYPE_COLOR:G=v[S],V=v[S+1],te=v[S+2];break;case ar.COLORTYPE_ALPHA:re=v[S+1],G=v[S],V=G,te=G;break;case ar.COLORTYPE_GRAYSCALE:G=v[S],V=G,te=G;break;default:throw new Error("input color type:"+d.inputColorType+" is not supported at present")}return d.inputHasAlpha&&(m||(re/=b,G=Math.min(Math.max(Math.round((1-re)*I.red+re*G),0),b),V=Math.min(Math.max(Math.round((1-re)*I.green+re*V),0),b),te=Math.min(Math.max(Math.round((1-re)*I.blue+re*te),0),b))),{red:G,green:V,blue:te,alpha:re}}for(let G=0;G<f;G++)for(let V=0;V<s;V++){let te=$();switch(d.colorType){case ar.COLORTYPE_COLOR_ALPHA:case ar.COLORTYPE_COLOR:d.bitDepth===8?(A[k]=te.red,A[k+1]=te.green,A[k+2]=te.blue,m&&(A[k+3]=te.alpha)):(A.writeUInt16BE(te.red,k),A.writeUInt16BE(te.green,k+2),A.writeUInt16BE(te.blue,k+4),m&&A.writeUInt16BE(te.alpha,k+6));break;case ar.COLORTYPE_ALPHA:case ar.COLORTYPE_GRAYSCALE:{let re=(te.red+te.green+te.blue)/3;d.bitDepth===8?(A[k]=re,m&&(A[k+1]=te.alpha)):(A.writeUInt16BE(re,k),m&&A.writeUInt16BE(te.alpha,k+2));break}default:throw new Error("unrecognised color Type "+d.colorType)}S+=x,k+=E;}return A};});var iy=Qe((AL,ny)=>{var ay=_c();function jN(u,s,f,d,m){for(let v=0;v<f;v++)d[m+v]=u[s+v];}function zN(u,s,f){let d=0,m=s+f;for(let v=s;v<m;v++)d+=Math.abs(u[v]);return d}function HN(u,s,f,d,m,v){for(let b=0;b<f;b++){let x=b>=v?u[s+b-v]:0,E=u[s+b]-x;d[m+b]=E;}}function VN(u,s,f,d){let m=0;for(let v=0;v<f;v++){let b=v>=d?u[s+v-d]:0,x=u[s+v]-b;m+=Math.abs(x);}return m}function GN(u,s,f,d,m){for(let v=0;v<f;v++){let b=s>0?u[s+v-f]:0,x=u[s+v]-b;d[m+v]=x;}}function UN(u,s,f){let d=0,m=s+f;for(let v=s;v<m;v++){let b=s>0?u[v-f]:0,x=u[v]-b;d+=Math.abs(x);}return d}function WN(u,s,f,d,m,v){for(let b=0;b<f;b++){let x=b>=v?u[s+b-v]:0,E=s>0?u[s+b-f]:0,A=u[s+b]-(x+E>>1);d[m+b]=A;}}function YN(u,s,f,d){let m=0;for(let v=0;v<f;v++){let b=v>=d?u[s+v-d]:0,x=s>0?u[s+v-f]:0,E=u[s+v]-(b+x>>1);m+=Math.abs(E);}return m}function KN(u,s,f,d,m,v){for(let b=0;b<f;b++){let x=b>=v?u[s+b-v]:0,E=s>0?u[s+b-f]:0,A=s>0&&b>=v?u[s+b-(f+v)]:0,S=u[s+b]-ay(x,E,A);d[m+b]=S;}}function XN(u,s,f,d){let m=0;for(let v=0;v<f;v++){let b=v>=d?u[s+v-d]:0,x=s>0?u[s+v-f]:0,E=s>0&&v>=d?u[s+v-(f+d)]:0,A=u[s+v]-ay(b,x,E);m+=Math.abs(A);}return m}var ZN={0:jN,1:HN,2:GN,3:WN,4:KN},JN={0:zN,1:VN,2:UN,3:YN,4:XN};ny.exports=function(u,s,f,d,m){let v;if(!("filterType"in d)||d.filterType===-1)v=[0,1,2,3,4];else if(typeof d.filterType=="number")v=[d.filterType];else throw new Error("unrecognised filter types");d.bitDepth===16&&(m*=2);let b=s*m,x=0,E=0,A=Buffer.alloc((b+1)*f),S=v[0];for(let k=0;k<f;k++){if(v.length>1){let I=1/0;for(let $=0;$<v.length;$++){let G=JN[v[$]](u,E,b,m);G<I&&(S=v[$],I=G);}}A[x]=S,x++,ZN[S](u,E,b,A,x,m),x+=b,E+=b;}return A};});var kc=Qe((CL,oy)=>{var kt=an(),QN=Ac(),e4=ry(),t4=iy(),r4=Rt("zlib"),da=oy.exports=function(u){if(this._options=u,u.deflateChunkSize=u.deflateChunkSize||32*1024,u.deflateLevel=u.deflateLevel!=null?u.deflateLevel:9,u.deflateStrategy=u.deflateStrategy!=null?u.deflateStrategy:3,u.inputHasAlpha=u.inputHasAlpha!=null?u.inputHasAlpha:true,u.deflateFactory=u.deflateFactory||r4.createDeflate,u.bitDepth=u.bitDepth||8,u.colorType=typeof u.colorType=="number"?u.colorType:kt.COLORTYPE_COLOR_ALPHA,u.inputColorType=typeof u.inputColorType=="number"?u.inputColorType:kt.COLORTYPE_COLOR_ALPHA,[kt.COLORTYPE_GRAYSCALE,kt.COLORTYPE_COLOR,kt.COLORTYPE_COLOR_ALPHA,kt.COLORTYPE_ALPHA].indexOf(u.colorType)===-1)throw new Error("option color type:"+u.colorType+" is not supported at present");if([kt.COLORTYPE_GRAYSCALE,kt.COLORTYPE_COLOR,kt.COLORTYPE_COLOR_ALPHA,kt.COLORTYPE_ALPHA].indexOf(u.inputColorType)===-1)throw new Error("option input color type:"+u.inputColorType+" is not supported at present");if(u.bitDepth!==8&&u.bitDepth!==16)throw new Error("option bit depth:"+u.bitDepth+" is not supported at present")};da.prototype.getDeflateOptions=function(){return {chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};da.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};da.prototype.filterData=function(u,s,f){let d=e4(u,s,f,this._options),m=kt.COLORTYPE_TO_BPP_MAP[this._options.colorType];return t4(d,s,f,this._options,m)};da.prototype._packChunk=function(u,s){let f=s?s.length:0,d=Buffer.alloc(f+12);return d.writeUInt32BE(f,0),d.writeUInt32BE(u,4),s&&s.copy(d,8),d.writeInt32BE(QN.crc32(d.slice(4,d.length-4)),d.length-4),d};da.prototype.packGAMA=function(u){let s=Buffer.alloc(4);return s.writeUInt32BE(Math.floor(u*kt.GAMMA_DIVISION),0),this._packChunk(kt.TYPE_gAMA,s)};da.prototype.packIHDR=function(u,s){let f=Buffer.alloc(13);return f.writeUInt32BE(u,0),f.writeUInt32BE(s,4),f[8]=this._options.bitDepth,f[9]=this._options.colorType,f[10]=0,f[11]=0,f[12]=0,this._packChunk(kt.TYPE_IHDR,f)};da.prototype.packIDAT=function(u){return this._packChunk(kt.TYPE_IDAT,u)};da.prototype.packIEND=function(){return this._packChunk(kt.TYPE_IEND,null)};});var cy=Qe((RL,uy)=>{var a4=Rt("util"),sy=Rt("stream"),n4=an(),i4=kc(),ly=uy.exports=function(u){sy.call(this);let s=u||{};this._packer=new i4(s),this._deflate=this._packer.createDeflate(),this.readable=true;};a4.inherits(ly,sy);ly.prototype.pack=function(u,s,f,d){this.emit("data",Buffer.from(n4.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(s,f)),d&&this.emit("data",this._packer.packGAMA(d));let m=this._packer.filterData(u,s,f);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(v){this.emit("data",this._packer.packIDAT(v));}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end");}.bind(this)),this._deflate.end(m);};});var gy=Qe((fi,my)=>{var dy=Rt("assert").ok,nn=Rt("zlib"),o4=Rt("util"),fy=Rt("buffer").kMaxLength;function Sa(u){if(!(this instanceof Sa))return new Sa(u);u&&u.chunkSize<nn.Z_MIN_CHUNK&&(u.chunkSize=nn.Z_MIN_CHUNK),nn.Inflate.call(this,u),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,u&&u.maxLength!=null&&(this._maxLength=u.maxLength);}function s4(u){return new Sa(u)}function py(u,s){u._handle&&(u._handle.close(),u._handle=null);}Sa.prototype._processChunk=function(u,s,f){if(typeof f=="function")return nn.Inflate._processChunk.call(this,u,s,f);let d=this,m=u&&u.length,v=this._chunkSize-this._offset,b=this._maxLength,x=0,E=[],A=0,S;this.on("error",function(G){S=G;});function k(G,V){if(d._hadError)return;let te=v-V;if(dy(te>=0,"have should not go down"),te>0){let re=d._buffer.slice(d._offset,d._offset+te);if(d._offset+=te,re.length>b&&(re=re.slice(0,b)),E.push(re),A+=re.length,b-=re.length,b===0)return false}return (V===0||d._offset>=d._chunkSize)&&(v=d._chunkSize,d._offset=0,d._buffer=Buffer.allocUnsafe(d._chunkSize)),V===0?(x+=m-G,m=G,true):false}dy(this._handle,"zlib binding closed");let I;do I=this._handle.writeSync(s,u,x,m,this._buffer,this._offset,v),I=I||this._writeState;while(!this._hadError&&k(I[0],I[1]));if(this._hadError)throw S;if(A>=fy)throw py(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+fy.toString(16)+" bytes");let $=Buffer.concat(E,A);return py(this),$};o4.inherits(Sa,nn.Inflate);function l4(u,s){if(typeof s=="string"&&(s=Buffer.from(s)),!(s instanceof Buffer))throw new TypeError("Not a string or buffer");let f=u._finishFlushFlag;return f==null&&(f=nn.Z_FINISH),u._processChunk(s,f)}function hy(u,s){return l4(new Sa(s),u)}my.exports=fi=hy;fi.Inflate=Sa;fi.createInflate=s4;fi.inflateSync=hy;});var Fc=Qe((TL,yy)=>{var vy=yy.exports=function(u){this._buffer=u,this._reads=[];};vy.prototype.read=function(u,s){this._reads.push({length:Math.abs(u),allowLess:u<0,func:s});};vy.prototype.process=function(){for(;this._reads.length>0&&this._buffer.length;){let u=this._reads[0];if(this._buffer.length&&(this._buffer.length>=u.length||u.allowLess)){this._reads.shift();let s=this._buffer;this._buffer=s.slice(u.length),u.func.call(this,s.slice(0,u.length));}else break}if(this._reads.length>0)throw new Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)throw new Error("unrecognised content at end of stream")};});var wy=Qe(by=>{var u4=Fc(),c4=xc();by.process=function(u,s){let f=[],d=new u4(u);return new c4(s,{read:d.read.bind(d),write:function(v){f.push(v);},complete:function(){}}).start(),d.process(),Buffer.concat(f)};});var Dy=Qe((kL,Ey)=>{var _y=true,xy=Rt("zlib"),d4=gy();xy.deflateSync||(_y=false);var f4=Fc(),p4=wy(),h4=Cc(),m4=Rc(),g4=Tc();Ey.exports=function(u,s){if(!_y)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let f;function d(Ie){f=Ie;}let m;function v(Ie){m=Ie;}function b(Ie){m.transColor=Ie;}function x(Ie){m.palette=Ie;}function E(){m.alpha=true;}let A;function S(Ie){A=Ie;}let k=[];function I(Ie){k.push(Ie);}let $=new f4(u);if(new h4(s,{read:$.read.bind($),error:d,metadata:v,gamma:S,palette:x,transColor:b,inflateData:I,simpleTransparency:E}).start(),$.process(),f)throw f;let V=Buffer.concat(k);k.length=0;let te;if(m.interlace)te=xy.inflateSync(V);else {let _t=((m.width*m.bpp*m.depth+7>>3)+1)*m.height;te=d4(V,{chunkSize:_t,maxLength:_t});}if(V=null,!te||!te.length)throw new Error("bad png - invalid inflate data response");let re=p4.process(te,m);V=null;let pe=m4.dataToBitMap(re,m);re=null;let Pe=g4(pe,m,s.skipRescale);return m.data=Pe,m.gamma=A||0,m};});var Ty=Qe((FL,Ry)=>{var Ay=true,Cy=Rt("zlib");Cy.deflateSync||(Ay=false);var v4=an(),y4=kc();Ry.exports=function(u,s){if(!Ay)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let f=s||{},d=new y4(f),m=[];m.push(Buffer.from(v4.PNG_SIGNATURE)),m.push(d.packIHDR(u.width,u.height)),u.gamma&&m.push(d.packGAMA(u.gamma));let v=d.filterData(u.data,u.width,u.height),b=Cy.deflateSync(v,d.getDeflateOptions());if(v=null,!b||!b.length)throw new Error("bad png - invalid compressed data response");return m.push(d.packIDAT(b)),m.push(d.packIEND()),Buffer.concat(m)};});var Sy=Qe(Oc=>{var b4=Dy(),w4=Ty();Oc.read=function(u,s){return b4(u,s||{})};Oc.write=function(u,s){return w4(u,s)};});var Oy=Qe(Fy=>{var _4=Rt("util"),ky=Rt("stream"),x4=ey(),E4=cy(),D4=Sy(),It=Fy.PNG=function(u){ky.call(this),u=u||{},this.width=u.width|0,this.height=u.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,u.fill&&this.data&&this.data.fill(0),this.gamma=0,this.readable=this.writable=true,this._parser=new x4(u),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(s){this.data=s,this.emit("parsed",s);}.bind(this)),this._packer=new E4(u),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"));};_4.inherits(It,ky);It.sync=D4;It.prototype.pack=function(){return !this.data||!this.data.length?(this.emit("error","No data provided"),this):(process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma);}.bind(this)),this)};It.prototype.parse=function(u,s){if(s){let f,d;f=function(m){this.removeListener("error",d),this.data=m,s(null,this);}.bind(this),d=function(m){this.removeListener("parsed",f),s(m,null);}.bind(this),this.once("parsed",f),this.once("error",d);}return this.end(u),this};It.prototype.write=function(u){return this._parser.write(u),true};It.prototype.end=function(u){this._parser.end(u);};It.prototype._metadata=function(u){this.width=u.width,this.height=u.height,this.emit("metadata",u);};It.prototype._gamma=function(u){this.gamma=u;};It.prototype._handleClose=function(){!this._parser.writable&&!this._packer.readable&&this.emit("close");};It.bitblt=function(u,s,f,d,m,v,b,x){if(f|=0,d|=0,m|=0,v|=0,b|=0,x|=0,f>u.width||d>u.height||f+m>u.width||d+v>u.height)throw new Error("bitblt reading outside image");if(b>s.width||x>s.height||b+m>s.width||x+v>s.height)throw new Error("bitblt writing outside image");for(let E=0;E<v;E++)u.data.copy(s.data,(x+E)*s.width+b<<2,(d+E)*u.width+f<<2,(d+E)*u.width+f+m<<2);};It.prototype.bitblt=function(u,s,f,d,m,v,b){return It.bitblt(this,u,s,f,d,m,v,b),this};It.adjustGamma=function(u){if(u.gamma){for(let s=0;s<u.height;s++)for(let f=0;f<u.width;f++){let d=u.width*s+f<<2;for(let m=0;m<3;m++){let v=u.data[d+m]/255;v=Math.pow(v,1/2.2/u.gamma),u.data[d+m]=Math.round(v*255);}}u.gamma=0;}};It.prototype.adjustGamma=function(){It.adjustGamma(this);};});async function ps(){return fs||(fs=await import('playwright'),fs)}var fs,Pc=jr(()=>{fs=null;});var jy=Qe(($y,pi)=>{(function u(s){var f=s,d=s.document,m=m||{};m.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return m}),(typeof pi>"u"?"undefined":U(pi))==="object"&&pi.exports&&typeof u.toString=="function"&&(m.source="("+u.toString()+')(typeof window === "object" ? window : this);',pi.exports=m),typeof s.getComputedStyle=="function"&&(s.axe=m);var b=["precision","format","inGamut"],x=["space"],E=["algorithm"],A=["method"],S=["maxDeltaE","deltaEMethod","steps","maxSteps"],k=["node"],I=["relatedNodes"],$=["node"],G=["variant"],V=["matches"],te=["chromium"],re=["noImplicit"],pe=["noPresentational"],Pe=["node"],Ie=["environmentData"],_t=["environmentData"],yr=["environmentData"],at=["environmentData"],sn=["environmentData"];function _s(L){return Kc(L)||Gc(L)||bi(L)||Yc()}function zr(L){var j=typeof Map=="function"?new Map:void 0;return zr=function(le){if(le===null||!ln(le))return le;if(typeof le!="function")throw new TypeError("Super expression must either be null or a function");if(j!==void 0){if(j.has(le))return j.get(le);j.set(le,ze);}function ze(){return ge(le,arguments,un(this).constructor)}return ze.prototype=Object.create(le.prototype,{constructor:{value:ze,enumerable:false,writable:true,configurable:true}}),cn(ze,le)},zr(L)}function ln(L){try{return Function.toString.call(L).indexOf("[native code]")!==-1}catch{return typeof L=="function"}}function nr(L,j,Z){return (j=Zc(j))in L?Object.defineProperty(L,j,{value:Z,enumerable:true,configurable:true,writable:true}):L[j]=Z,L}function ge(L,j,Z){if(xs())return Reflect.construct.apply(null,arguments);var le=[null];le.push.apply(le,j);var ze=new(L.bind.apply(L,le));return Z&&cn(ze,Z.prototype),ze}function Ee(L,j){if(L==null)return {};var Z,le,ze=db(L,j);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(L);for(le=0;le<st.length;le++)Z=st[le],j.indexOf(Z)===-1&&{}.propertyIsEnumerable.call(L,Z)&&(ze[Z]=L[Z]);}return ze}function db(L,j){if(L==null)return {};var Z={};for(var le in L)if({}.hasOwnProperty.call(L,le)){if(j.indexOf(le)!==-1)continue;Z[le]=L[le];}return Z}function vi(L,j,Z){return j=un(j),fb(L,xs()?Reflect.construct(j,Z||[],un(L).constructor):j.apply(L,Z))}function fb(L,j){if(j&&(U(j)=="object"||typeof j=="function"))return j;if(j!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pb(L)}function pb(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function xs(){try{var L=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (xs=function(){return !!L})()}function un(L){return un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(j){return j.__proto__||Object.getPrototypeOf(j)},un(L)}function yi(L,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(j&&j.prototype,{constructor:{value:L,writable:true,configurable:true}}),Object.defineProperty(L,"prototype",{writable:false}),j&&cn(L,j);}function cn(L,j){return cn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Z,le){return Z.__proto__=le,Z},cn(L,j)}function Se(){return Se=Object.assign?Object.assign.bind():function(L){for(var j=1;j<arguments.length;j++){var Z=arguments[j];for(var le in Z)({}).hasOwnProperty.call(Z,le)&&(L[le]=Z[le]);}return L},Se.apply(null,arguments)}function ve(L){return mb(L)||Gc(L)||bi(L)||hb()}function hb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
9
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gc(L){if(typeof Symbol<"u"&&L[Symbol.iterator]!=null||L["@@iterator"]!=null)return Array.from(L)}function mb(L){if(Array.isArray(L))return wi(L)}function Hr(L,j,Z){Wc(L,j),j.set(L,Z);}function Uc(L,j){Wc(L,j),j.add(L);}function Wc(L,j){if(j.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ir(L,j){return L.get(ka(L,j))}function Mt(L,j,Z){return L.set(ka(L,j),Z),Z}function ka(L,j,Z){if(typeof L=="function"?L===j:L.has(j))return arguments.length<3?j:Z;throw new TypeError("Private element is not present on this object")}function ie(L,j){return Kc(L)||gb(L,j)||bi(L,j)||Yc()}function Yc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
10
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function gb(L,j){var Z=L==null?null:typeof Symbol<"u"&&L[Symbol.iterator]||L["@@iterator"];if(Z!=null){var le,ze,st,xt,Wt=[],gt=true,Ot=false;try{if(st=(Z=Z.call(L)).next,j===0){if(Object(Z)!==Z)return;gt=!1;}else for(;!(gt=(le=st.call(Z)).done)&&(Wt.push(le.value),Wt.length!==j);gt=!0);}catch(dn){Ot=true,ze=dn;}finally{try{if(!gt&&Z.return!=null&&(xt=Z.return(),Object(xt)!==xt))return}finally{if(Ot)throw ze}}return Wt}}function Kc(L){if(Array.isArray(L))return L}function or(L,j){if(!(L instanceof j))throw new TypeError("Cannot call a class as a function")}function Xc(L,j){for(var Z=0;Z<j.length;Z++){var le=j[Z];le.enumerable=le.enumerable||false,le.configurable=true,"value"in le&&(le.writable=true),Object.defineProperty(L,Zc(le.key),le);}}function sr(L,j,Z){return j&&Xc(L.prototype,j),Z&&Xc(L,Z),Object.defineProperty(L,"prototype",{writable:false}),L}function Zc(L){var j=vb(L,"string");return U(j)=="symbol"?j:j+""}function vb(L,j){if(U(L)!="object"||!L)return L;var Z=L[Symbol.toPrimitive];if(Z!==void 0){var le=Z.call(L,j);if(U(le)!="object")return le;throw new TypeError("@@toPrimitive must return a primitive value.")}return (j==="string"?String:Number)(L)}function Ve(L,j){var Z=typeof Symbol<"u"&&L[Symbol.iterator]||L["@@iterator"];if(!Z){if(Array.isArray(L)||(Z=bi(L))||j){Z&&(L=Z);var le=0,ze=function(){};return {s:ze,n:function(){return le>=L.length?{done:true}:{done:false,value:L[le++]}},e:function(Ot){throw Ot},f:ze}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
11
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var st,xt=true,Wt=false;return {s:function(){Z=Z.call(L);},n:function(){var Ot=Z.next();return xt=Ot.done,Ot},e:function(Ot){Wt=true,st=Ot;},f:function(){try{xt||Z.return==null||Z.return();}finally{if(Wt)throw st}}}}function bi(L,j){if(L){if(typeof L=="string")return wi(L,j);var Z={}.toString.call(L).slice(8,-1);return Z==="Object"&&L.constructor&&(Z=L.constructor.name),Z==="Map"||Z==="Set"?Array.from(L):Z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Z)?wi(L,j):void 0}}function wi(L,j){(j==null||j>L.length)&&(j=L.length);for(var Z=0,le=Array(j);Z<j;Z++)le[Z]=L[Z];return le}function U(L){"@babel/helpers - typeof";return U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},U(L)}((function(L,j,Z,le,ze,st,xt,Wt,gt,Ot,dn){var yb=Object.create,fn=Object.defineProperty,bb=Object.getPrototypeOf,wb=Object.prototype.hasOwnProperty,_b=Object.getOwnPropertyNames,xb=Object.getOwnPropertyDescriptor,Eb=function(t,r,a){return r in t?fn(t,r,{enumerable:true,configurable:true,writable:true,value:a}):t[r]=a},Db=function(t){return fn(t,"__esModule",{value:true})},F=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},lr=function(t,r){for(var a in r)fn(t,a,{get:r[a],enumerable:true});},Ab=function(t,r,a){if(r&&U(r)==="object"||typeof r=="function"){var n=Ve(_b(r)),i;try{var o=function(){var c=i.value;!wb.call(t,c)&&c!=="default"&&fn(t,c,{get:function(){return r[c]},enumerable:!(a=xb(r,c))||a.enumerable});};for(n.s();!(i=n.n()).done;)o();}catch(l){n.e(l);}finally{n.f();}}return t},br=function(t){return Ab(Db(fn(t!=null?yb(bb(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},Jc=function(t,r,a){return Eb(t,U(r)!=="symbol"?r+"":r,a),a},Cb=F(function(e,t){(function(r,a){U(e)==="object"&&typeof t<"u"?t.exports=a():typeof define=="function"&&define.amd?define(a):r.ES6Promise=a();})(e,function(){function r(q){var Y=U(q);return q!==null&&(Y==="object"||Y==="function")}function a(q){return typeof q=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(Y){return Object.prototype.toString.call(Y)==="[object Array]"};var i=n,o=0,l=void 0,c=void 0,p=function(Y,Q){B[o]=Y,B[o+1]=Q,o+=2,o===2&&(c?c(z):ae());};function h(q){c=q;}function g(q){p=q;}var y=typeof s<"u"?s:void 0,w=y||{},_=w.MutationObserver||w.WebKitMutationObserver,D=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",C=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function R(){return function(){return process.nextTick(z)}}function T(){return typeof l<"u"?function(){l(z);}:M()}function O(){var q=0,Y=new _(z),Q=d.createTextNode("");return Y.observe(Q,{characterData:true}),function(){Q.data=q=++q%2;}}function P(){var q=new MessageChannel;return q.port1.onmessage=z,function(){return q.port2.postMessage(0)}}function M(){var q=setTimeout;return function(){return q(z,1)}}var B=new Array(1e3);function z(){for(var q=0;q<o;q+=2){var Y=B[q],Q=B[q+1];Y(Q),B[q]=void 0,B[q+1]=void 0;}o=0;}function W(){try{var q=Function("return this")().require("vertx");return l=q.runOnLoop||q.runOnContext,T()}catch{return M()}}var ae=void 0;D?ae=R():_?ae=O():C?ae=P():y===void 0?ae=W():ae=M();function H(q,Y){var Q=this,de=new this.constructor(ne);de[ee]===void 0&&Ke(de);var De=Q._state;if(De){var ke=arguments[De-1];p(function(){return Ue(De,de,ke,Q._result)});}else Oe(Q,de,q,Y);return de}function X(q){var Y=this;if(q&&U(q)==="object"&&q.constructor===Y)return q;var Q=new Y(ne);return se(Q,q),Q}var ee=Math.random().toString(36).substring(2);function ne(){}var me=void 0,xe=1,ce=2;function be(){return new TypeError("You cannot resolve a promise with itself")}function J(){return new TypeError("A promises callback cannot return that same promise.")}function he(q,Y,Q,de){try{q.call(Y,Q,de);}catch(De){return De}}function N(q,Y,Q){p(function(de){var De=false,ke=he(Q,Y,function(ht){De||(De=true,Y!==ht?se(de,ht):ue(de,ht));},function(ht){De||(De=true,fe(de,ht));},"Settle: "+(de._label||" unknown promise"));!De&&ke&&(De=true,fe(de,ke));},q);}function oe(q,Y){Y._state===xe?ue(q,Y._result):Y._state===ce?fe(q,Y._result):Oe(Y,void 0,function(Q){return se(q,Q)},function(Q){return fe(q,Q)});}function K(q,Y,Q){Y.constructor===q.constructor&&Q===H&&Y.constructor.resolve===X?oe(q,Y):Q===void 0?ue(q,Y):a(Q)?N(q,Y,Q):ue(q,Y);}function se(q,Y){if(q===Y)fe(q,be());else if(r(Y)){var Q=void 0;try{Q=Y.then;}catch(de){fe(q,de);return}K(q,Y,Q);}else ue(q,Y);}function _e(q){q._onerror&&q._onerror(q._result),$e(q);}function ue(q,Y){q._state===me&&(q._result=Y,q._state=xe,q._subscribers.length!==0&&p($e,q));}function fe(q,Y){q._state===me&&(q._state=ce,q._result=Y,p(_e,q));}function Oe(q,Y,Q,de){var De=q._subscribers,ke=De.length;q._onerror=null,De[ke]=Y,De[ke+xe]=Q,De[ke+ce]=de,ke===0&&q._state&&p($e,q);}function $e(q){var Y=q._subscribers,Q=q._state;if(Y.length!==0){for(var de=void 0,De=void 0,ke=q._result,ht=0;ht<Y.length;ht+=3)de=Y[ht],De=Y[ht+Q],de?Ue(Q,de,De,ke):De(ke);q._subscribers.length=0;}}function Ue(q,Y,Q,de){var De=a(Q),ke=void 0,ht=void 0,Za=true;if(De){try{ke=Q(de);}catch(Zo){Za=false,ht=Zo;}if(Y===ke){fe(Y,J());return}}else ke=de;Y._state!==me||(De&&Za?se(Y,ke):Za===false?fe(Y,ht):q===xe?ue(Y,ke):q===ce&&fe(Y,ke));}function it(q,Y){try{Y(function(de){se(q,de);},function(de){fe(q,de);});}catch(Q){fe(q,Q);}}var dt=0;function ct(){return dt++}function Ke(q){q[ee]=dt++,q._state=void 0,q._result=void 0,q._subscribers=[];}function Xa(){return new Error("Array Methods must be provided an Array")}var wt=(function(){function q(Y,Q){this._instanceConstructor=Y,this.promise=new Y(ne),this.promise[ee]||Ke(this.promise),i(Q)?(this.length=Q.length,this._remaining=Q.length,this._result=new Array(this.length),this.length===0?ue(this.promise,this._result):(this.length=this.length||0,this._enumerate(Q),this._remaining===0&&ue(this.promise,this._result))):fe(this.promise,Xa());}return q.prototype._enumerate=function(Q){for(var de=0;this._state===me&&de<Q.length;de++)this._eachEntry(Q[de],de);},q.prototype._eachEntry=function(Q,de){var De=this._instanceConstructor,ke=De.resolve;if(ke===X){var ht=void 0,Za=void 0,Zo=false;try{ht=Q.then;}catch(Xu){Zo=true,Za=Xu;}if(ht===H&&Q._state!==me)this._settledAt(Q._state,de,Q._result);else if(typeof ht!="function")this._remaining--,this._result[de]=Q;else if(De===rt){var Ku=new De(ne);Zo?fe(Ku,Za):K(Ku,Q,ht),this._willSettleAt(Ku,de);}else this._willSettleAt(new De(function(Xu){return Xu(Q)}),de);}else this._willSettleAt(ke(Q),de);},q.prototype._settledAt=function(Q,de,De){var ke=this.promise;ke._state===me&&(this._remaining--,Q===ce?fe(ke,De):this._result[de]=De),this._remaining===0&&ue(ke,this._result);},q.prototype._willSettleAt=function(Q,de){var De=this;Oe(Q,void 0,function(ke){return De._settledAt(xe,de,ke)},function(ke){return De._settledAt(ce,de,ke)});},q})();function Xe(q){return new wt(this,q).promise}function ft(q){var Y=this;return i(q)?new Y(function(Q,de){for(var De=q.length,ke=0;ke<De;ke++)Y.resolve(q[ke]).then(Q,de);}):new Y(function(Q,de){return de(new TypeError("You must pass an array to race."))})}function ot(q){var Y=this,Q=new Y(ne);return fe(Q,q),Q}function At(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Ct(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var rt=(function(){function q(Y){this[ee]=ct(),this._result=this._state=void 0,this._subscribers=[],ne!==Y&&(typeof Y!="function"&&At(),this instanceof q?it(this,Y):Ct());}return q.prototype.catch=function(Q){return this.then(null,Q)},q.prototype.finally=function(Q){var de=this,De=de.constructor;return a(Q)?de.then(function(ke){return De.resolve(Q()).then(function(){return ke})},function(ke){return De.resolve(Q()).then(function(){throw ke})}):de.then(Q,Q)},q})();rt.prototype.then=H,rt.all=Xe,rt.race=ft,rt.resolve=X,rt.reject=ot,rt._setScheduler=h,rt._setAsap=g,rt._asap=p;function je(){var q=void 0;if(typeof f<"u")q=f;else if(typeof self<"u")q=self;else try{q=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var Y=q.Promise;if(Y){var Q=null;try{Q=Object.prototype.toString.call(Y.resolve());}catch{}if(Q==="[object Promise]"&&!Y.cast)return}q.Promise=rt;}return rt.polyfill=je,rt.Promise=rt,rt});}),Rb=F(function(e){var t=1e5,r=(function(){var N=Object.prototype.toString,oe=Object.prototype.hasOwnProperty;return {Class:function(se){return N.call(se).replace(/^\[object *|\]$/g,"")},HasProperty:function(se,_e){return _e in se},HasOwnProperty:function(se,_e){return oe.call(se,_e)},IsCallable:function(se){return typeof se=="function"},ToInt32:function(se){return se>>0},ToUint32:function(se){return se>>>0}}})(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,l=Math.min,c=Math.pow,p=Math.round;function h(N,oe,K){return N<oe?oe:N>K?K:N}var g=Object.getOwnPropertyNames||function(N){if(N!==Object(N))throw new TypeError("Object.getOwnPropertyNames called on non-object");var oe=[],K;for(K in N)r.HasOwnProperty(N,K)&&oe.push(K);return oe},y;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?y=Object.defineProperty:y=function(oe,K,se){if(!oe===Object(oe))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(se,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(oe,K,se.get),r.HasProperty(se,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(oe,K,se.set),r.HasProperty(se,"value")&&(oe[K]=se.value),oe};function w(N){if(g&&y){var oe=g(N),K;for(K=0;K<oe.length;K+=1)y(N,oe[K],{value:N[oe[K]],writable:false,enumerable:false,configurable:false});}}function _(N){if(!y)return;if(N.length>t)throw new RangeError("Array too large for polyfill");function oe(se){y(N,se,{get:function(){return N._getter(se)},set:function(ue){N._setter(se,ue);},enumerable:true,configurable:false});}var K;for(K=0;K<N.length;K+=1)oe(K);}function D(N,oe){var K=32-oe;return N<<K>>K}function C(N,oe){var K=32-oe;return N<<K>>>K}function R(N){return [N&255]}function T(N){return D(N[0],8)}function O(N){return [N&255]}function P(N){return C(N[0],8)}function M(N){return N=p(Number(N)),[N<0?0:N>255?255:N&255]}function B(N){return [N>>8&255,N&255]}function z(N){return D(N[0]<<8|N[1],16)}function W(N){return [N>>8&255,N&255]}function ae(N){return C(N[0]<<8|N[1],16)}function H(N){return [N>>24&255,N>>16&255,N>>8&255,N&255]}function X(N){return D(N[0]<<24|N[1]<<16|N[2]<<8|N[3],32)}function ee(N){return [N>>24&255,N>>16&255,N>>8&255,N&255]}function ne(N){return C(N[0]<<24|N[1]<<16|N[2]<<8|N[3],32)}function me(N,oe,K){var se=(1<<oe-1)-1,_e,ue,fe,Oe,$e,Ue,it;function dt(ct){var Ke=i(ct),Xa=ct-Ke;return Xa<.5?Ke:Xa>.5||Ke%2?Ke+1:Ke}for(N!==N?(ue=(1<<oe)-1,fe=c(2,K-1),_e=0):N===1/0||N===-1/0?(ue=(1<<oe)-1,fe=0,_e=N<0?1:0):N===0?(ue=0,fe=0,_e=1/N===-1/0?1:0):(_e=N<0,N=n(N),N>=c(2,1-se)?(ue=l(i(o(N)/a),1023),fe=dt(N/c(2,ue)*c(2,K)),fe/c(2,K)>=2&&(ue=ue+1,fe=1),ue>se?(ue=(1<<oe)-1,fe=0):(ue=ue+se,fe=fe-c(2,K))):(ue=0,fe=dt(N/c(2,1-se-K)))),$e=[],Oe=K;Oe;Oe-=1)$e.push(fe%2?1:0),fe=i(fe/2);for(Oe=oe;Oe;Oe-=1)$e.push(ue%2?1:0),ue=i(ue/2);for($e.push(_e?1:0),$e.reverse(),Ue=$e.join(""),it=[];Ue.length;)it.push(parseInt(Ue.substring(0,8),2)),Ue=Ue.substring(8);return it}function xe(N,oe,K){var se=[],_e,ue,fe,Oe,$e,Ue,it,dt;for(_e=N.length;_e;_e-=1)for(fe=N[_e-1],ue=8;ue;ue-=1)se.push(fe%2?1:0),fe=fe>>1;return se.reverse(),Oe=se.join(""),$e=(1<<oe-1)-1,Ue=parseInt(Oe.substring(0,1),2)?-1:1,it=parseInt(Oe.substring(1,1+oe),2),dt=parseInt(Oe.substring(1+oe),2),it===(1<<oe)-1?dt===0?Ue*(1/0):NaN:it>0?Ue*c(2,it-$e)*(1+dt/c(2,K)):dt!==0?Ue*c(2,-($e-1))*(dt/c(2,K)):Ue<0?-0:0}function ce(N){return xe(N,11,52)}function be(N){return me(N,11,52)}function J(N){return xe(N,8,23)}function he(N){return me(N,8,23)}((function(){function N(ct){if(ct=r.ToInt32(ct),ct<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=ct,this._bytes=[],this._bytes.length=ct;var Ke;for(Ke=0;Ke<this.byteLength;Ke+=1)this._bytes[Ke]=0;w(this);}e.ArrayBuffer=e.ArrayBuffer||N;function oe(){}function K(ct,Ke,Xa){var wt;return wt=function(ft,ot,At){var Ct,rt,je,q;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),At<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new N(this.byteLength),this.byteOffset=0;}else if(U(arguments[0])==="object"&&arguments[0].constructor===wt)for(Ct=arguments[0],this.length=Ct.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new N(this.byteLength),this.byteOffset=0,je=0;je<this.length;je+=1)this._setter(je,Ct._getter(je));else if(U(arguments[0])==="object"&&!(arguments[0]instanceof N||r.Class(arguments[0])==="ArrayBuffer"))for(rt=arguments[0],this.length=r.ToUint32(rt.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new N(this.byteLength),this.byteOffset=0,je=0;je<this.length;je+=1)q=rt[je],this._setter(je,Number(q));else if(U(arguments[0])==="object"&&(arguments[0]instanceof N||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=ft,this.byteOffset=r.ToUint32(ot),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT;}else this.length=r.ToUint32(At),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=wt,w(this),_(this);},wt.prototype=new oe,wt.prototype.BYTES_PER_ELEMENT=ct,wt.prototype._pack=Ke,wt.prototype._unpack=Xa,wt.BYTES_PER_ELEMENT=ct,wt.prototype._getter=function(Xe){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(Xe=r.ToUint32(Xe),!(Xe>=this.length)){for(var ft=[],ot=0,At=this.byteOffset+Xe*this.BYTES_PER_ELEMENT;ot<this.BYTES_PER_ELEMENT;ot+=1,At+=1)ft.push(this.buffer._bytes[At]);return this._unpack(ft)}},wt.prototype.get=wt.prototype._getter,wt.prototype._setter=function(Xe,ft){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(Xe=r.ToUint32(Xe),Xe<this.length){var ot=this._pack(ft),At,Ct;for(At=0,Ct=this.byteOffset+Xe*this.BYTES_PER_ELEMENT;At<this.BYTES_PER_ELEMENT;At+=1,Ct+=1)this.buffer._bytes[Ct]=ot[At];}},wt.prototype.set=function(Xe,ft){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var ot,At,Ct,rt,je,q,Y,Q,de,De;if(U(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(ot=arguments[0],Ct=r.ToUint32(arguments[1]),Ct+ot.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(Q=this.byteOffset+Ct*this.BYTES_PER_ELEMENT,de=ot.length*this.BYTES_PER_ELEMENT,ot.buffer===this.buffer){for(De=[],je=0,q=ot.byteOffset;je<de;je+=1,q+=1)De[je]=ot.buffer._bytes[q];for(je=0,Y=Q;je<de;je+=1,Y+=1)this.buffer._bytes[Y]=De[je];}else for(je=0,q=ot.byteOffset,Y=Q;je<de;je+=1,q+=1,Y+=1)this.buffer._bytes[Y]=ot.buffer._bytes[q];}else if(U(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(At=arguments[0],rt=r.ToUint32(At.length),Ct=r.ToUint32(arguments[1]),Ct+rt>this.length)throw new RangeError("Offset plus length of array is out of range");for(je=0;je<rt;je+=1)q=At[je],this._setter(Ct+je,Number(q));}else throw new TypeError("Unexpected argument type(s)")},wt.prototype.subarray=function(Xe,ft){Xe=r.ToInt32(Xe),ft=r.ToInt32(ft),arguments.length<1&&(Xe=0),arguments.length<2&&(ft=this.length),Xe<0&&(Xe=this.length+Xe),ft<0&&(ft=this.length+ft),Xe=h(Xe,0,this.length),ft=h(ft,0,this.length);var ot=ft-Xe;return ot<0&&(ot=0),new this.constructor(this.buffer,this.byteOffset+Xe*this.BYTES_PER_ELEMENT,ot)},wt}var se=K(1,R,T),_e=K(1,O,P),ue=K(1,M,P),fe=K(2,B,z),Oe=K(2,W,ae),$e=K(4,H,X),Ue=K(4,ee,ne),it=K(4,he,J),dt=K(8,be,ce);e.Int8Array=e.Int8Array||se,e.Uint8Array=e.Uint8Array||_e,e.Uint8ClampedArray=e.Uint8ClampedArray||ue,e.Int16Array=e.Int16Array||fe,e.Uint16Array=e.Uint16Array||Oe,e.Int32Array=e.Int32Array||$e,e.Uint32Array=e.Uint32Array||Ue,e.Float32Array=e.Float32Array||it,e.Float64Array=e.Float64Array||dt;}))(),(function(){function N(ue,fe){return r.IsCallable(ue.get)?ue.get(fe):ue[fe]}var oe=(function(){var ue=new e.Uint16Array([4660]),fe=new e.Uint8Array(ue.buffer);return N(fe,0)===18})();function K(ue,fe,Oe){if(arguments.length===0)ue=new e.ArrayBuffer(0);else if(!(ue instanceof e.ArrayBuffer||r.Class(ue)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=ue||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(fe),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(Oe),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");w(this);}function se(ue){return function(fe,Oe){if(fe=r.ToUint32(fe),fe+ue.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");fe+=this.byteOffset;var $e=new e.Uint8Array(this.buffer,fe,ue.BYTES_PER_ELEMENT),Ue=[],it;for(it=0;it<ue.BYTES_PER_ELEMENT;it+=1)Ue.push(N($e,it));return !!Oe==!!oe&&Ue.reverse(),N(new ue(new e.Uint8Array(Ue).buffer),0)}}K.prototype.getUint8=se(e.Uint8Array),K.prototype.getInt8=se(e.Int8Array),K.prototype.getUint16=se(e.Uint16Array),K.prototype.getInt16=se(e.Int16Array),K.prototype.getUint32=se(e.Uint32Array),K.prototype.getInt32=se(e.Int32Array),K.prototype.getFloat32=se(e.Float32Array),K.prototype.getFloat64=se(e.Float64Array);function _e(ue){return function(fe,Oe,$e){if(fe=r.ToUint32(fe),fe+ue.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var Ue=new ue([Oe]),it=new e.Uint8Array(Ue.buffer),dt=[],ct,Ke;for(ct=0;ct<ue.BYTES_PER_ELEMENT;ct+=1)dt.push(N(it,ct));!!$e==!!oe&&dt.reverse(),Ke=new e.Uint8Array(this.buffer,fe,ue.BYTES_PER_ELEMENT),Ke.set(dt);}}K.prototype.setUint8=_e(e.Uint8Array),K.prototype.setInt8=_e(e.Int8Array),K.prototype.setUint16=_e(e.Uint16Array),K.prototype.setInt16=_e(e.Int16Array),K.prototype.setUint32=_e(e.Uint32Array),K.prototype.setInt32=_e(e.Int32Array),K.prototype.setFloat32=_e(e.Float32Array),K.prototype.setFloat64=_e(e.Float64Array),e.DataView=e.DataView||K;})();}),Tb=F(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,a=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(l,c,p){a?Object.defineProperty(l,c,{configurable:true,writable:true,value:p}):l[c]=p;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",c("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(h){if(l(this,"delete"),!i(h))return false;var g=h[this._id];return g&&g[0]===h?(delete h[this._id],true):false}),n(o.prototype,"get",function(h){if(l(this,"get"),!!i(h)){var g=h[this._id];if(g&&g[0]===h)return g[1]}}),n(o.prototype,"has",function(h){if(l(this,"has"),!i(h))return false;var g=h[this._id];return !!(g&&g[0]===h)}),n(o.prototype,"set",function(h,g){if(l(this,"set"),!i(h))throw new TypeError("Invalid value used as weak map key");var y=h[this._id];return y&&y[0]===h?(y[1]=g,this):(n(h,this._id,[h,g]),this)});function l(h,g){if(!i(h)||!r.call(h,"_id"))throw new TypeError(g+" method called on incompatible receiver "+U(h))}function c(h){return h+"_"+p()+"."+p()}function p(){return Math.random().toString().substring(2)}return n(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof s<"u"?s:typeof f<"u"?f:e);}),ur=F(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":U(globalThis))=="object"&&globalThis)||r((typeof s>"u"?"undefined":U(s))=="object"&&s)||r((typeof self>"u"?"undefined":U(self))=="object"&&self)||r((typeof f>"u"?"undefined":U(f))=="object"&&f)||r(U(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),cr=F(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),_i=F(function(e,t){var r=cr();t.exports=!r(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")});}),Sb=F(function(e,t){var r=_i(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":U(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)});}),Yt=F(function(e,t){var r=_i(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}};}),xi=F(function(e,t){var r=Yt(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)};}),Qc=F(function(e,t){var r=xi(),a=Yt();t.exports=function(n){if(r(n)==="Function")return a(n)};}),Nt=F(function(e,t){var r=(typeof d>"u"?"undefined":U(d))=="object"&&d.all;t.exports=typeof r>"u"&&r!==void 0?function(a){return typeof a=="function"||a===r}:function(a){return typeof a=="function"};}),wr=F(function(e,t){var r=cr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),ha=F(function(e,t){var r=_i(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)};}),ed=F(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),Ei=F(function(e,t){t.exports=function(r,a){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}};}),kb=F(function(e,t){var r=Yt(),a=cr(),n=xi(),i=Object,o=r("".split);t.exports=a(function(){return !i("z").propertyIsEnumerable(0)})?function(l){return n(l)==="String"?o(l,""):i(l)}:i;}),Es=F(function(e,t){t.exports=function(r){return r==null};}),Di=F(function(e,t){var r=Es(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n};}),pn=F(function(e,t){var r=kb(),a=Di();t.exports=function(n){return r(a(n))};}),Vr=F(function(e,t){var r=Nt();t.exports=function(a){return U(a)=="object"?a!==null:r(a)};}),hn=F(function(e,t){t.exports={};}),Ds=F(function(e,t){var r=hn(),a=ur(),n=Nt(),i=function(l){return n(l)?l:void 0};t.exports=function(o,l){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][l]||a[o]&&a[o][l]};}),Fb=F(function(e,t){var r=Yt();t.exports=r({}.isPrototypeOf);}),Ob=F(function(e,t){var r=ur(),a=r.navigator,n=a&&a.userAgent;t.exports=n?String(n):"";}),Pb=F(function(e,t){var r=ur(),a=Ob(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,l=o&&o.v8,c,p;l&&(c=l.split("."),p=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!p&&a&&(c=a.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=a.match(/Chrome\/(\d+)/),c&&(p=+c[1]))),t.exports=p;}),td=F(function(e,t){var r=Pb(),a=cr(),n=ur(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),rd=F(function(e,t){var r=td();t.exports=r&&!Symbol.sham&&U(Symbol.iterator)=="symbol";}),ad=F(function(e,t){var r=Ds(),a=Nt(),n=Fb(),i=rd(),o=Object;t.exports=i?function(l){return U(l)=="symbol"}:function(l){var c=r("Symbol");return a(c)&&n(c.prototype,o(l))};}),nd=F(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return "Object"}};}),Ai=F(function(e,t){var r=Nt(),a=nd(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")};}),As=F(function(e,t){var r=Ai(),a=Es();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)};}),Ib=F(function(e,t){var r=ha(),a=Nt(),n=Vr(),i=TypeError;t.exports=function(o,l){var c,p;if(l==="string"&&a(c=o.toString)&&!n(p=r(c,o))||a(c=o.valueOf)&&!n(p=r(c,o))||l!=="string"&&a(c=o.toString)&&!n(p=r(c,o)))return p;throw new i("Can't convert object to primitive value")};}),Cs=F(function(e,t){t.exports=true;}),Mb=F(function(e,t){var r=ur(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0});}catch{r[n]=i;}return i};}),Ci=F(function(e,t){var r=Cs(),a=ur(),n=Mb(),i="__core-js_shared__",o=t.exports=a[i]||n(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:r?"pure":"global",copyright:"\xA9 2013\u20132025 Denis Pushkarev (zloirock.ru), 2025\u20132026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"});}),id=F(function(e,t){var r=Ci();t.exports=function(a,n){return r[a]||(r[a]=n||{})};}),Rs=F(function(e,t){var r=Di(),a=Object;t.exports=function(n){return a(r(n))};}),Pr=F(function(e,t){var r=Yt(),a=Rs(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,l){return n(a(o),l)};}),od=F(function(e,t){var r=Yt(),a=0,n=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)};}),Ir=F(function(e,t){var r=ur(),a=id(),n=Pr(),i=od(),o=td(),l=rd(),c=r.Symbol,p=a("wks"),h=l?c.for||c:c&&c.withoutSetter||i;t.exports=function(g){return n(p,g)||(p[g]=o&&n(c,g)?c[g]:h("Symbol."+g)),p[g]};}),Nb=F(function(e,t){var r=ha(),a=Vr(),n=ad(),i=As(),o=Ib(),l=Ir(),c=TypeError,p=l("toPrimitive");t.exports=function(h,g){if(!a(h)||n(h))return h;var y=i(h,p),w;if(y){if(g===void 0&&(g="default"),w=r(y,h,g),!a(w)||n(w))return w;throw new c("Can't convert object to primitive value")}return g===void 0&&(g="number"),o(h,g)};}),sd=F(function(e,t){var r=Nb(),a=ad();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""};}),ld=F(function(e,t){var r=ur(),a=Vr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}};}),ud=F(function(e,t){var r=wr(),a=cr(),n=ld();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7});}),Lb=F(function(e){var t=wr(),r=ha(),a=ed(),n=Ei(),i=pn(),o=sd(),l=Pr(),c=ud(),p=Object.getOwnPropertyDescriptor;e.f=t?p:function(g,y){if(g=i(g),y=o(y),c)try{return p(g,y)}catch{}if(l(g,y))return n(!r(a.f,g,y),g[y])};}),Bb=F(function(e,t){var r=cr(),a=Nt(),n=/#|\.prototype\./,i=function(g,y){var w=l[o(g)];return w===p?true:w===c?false:a(y)?r(y):!!y},o=i.normalize=function(h){return String(h).replace(n,".").toLowerCase()},l=i.data={},c=i.NATIVE="N",p=i.POLYFILL="P";t.exports=i;}),cd=F(function(e,t){var r=Qc(),a=Ai(),n=_i(),i=r(r.bind);t.exports=function(o,l){return a(o),l===void 0?o:n?i(o,l):function(){return o.apply(l,arguments)}};}),dd=F(function(e,t){var r=wr(),a=cr();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),Fa=F(function(e,t){var r=Vr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")};}),Ri=F(function(e){var t=wr(),r=ud(),a=dd(),n=Fa(),i=sd(),o=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p="enumerable",h="configurable",g="writable";e.f=t?a?function(w,_,D){if(n(w),_=i(_),n(D),typeof w=="function"&&_==="prototype"&&"value"in D&&g in D&&!D[g]){var C=c(w,_);C&&C[g]&&(w[_]=D.value,D={configurable:h in D?D[h]:C[h],enumerable:p in D?D[p]:C[p],writable:false});}return l(w,_,D)}:l:function(w,_,D){if(n(w),_=i(_),n(D),r)try{return l(w,_,D)}catch{}if("get"in D||"set"in D)throw new o("Accessors not supported");return "value"in D&&(w[_]=D.value),w};}),mn=F(function(e,t){var r=wr(),a=Ri(),n=Ei();t.exports=r?function(i,o,l){return a.f(i,o,n(1,l))}:function(i,o,l){return i[o]=l,i};}),Ti=F(function(e,t){var r=ur(),a=Sb(),n=Qc(),i=Nt(),o=Lb().f,l=Bb(),c=hn(),p=cd(),h=mn(),g=Pr();Ci();var y=function(_){var D=function(R,T,O){if(this instanceof D){switch(arguments.length){case 0:return new _;case 1:return new _(R);case 2:return new _(R,T)}return new _(R,T,O)}return a(_,this,arguments)};return D.prototype=_.prototype,D};t.exports=function(w,_){var D=w.target,C=w.global,R=w.stat,T=w.proto,O=C?r:R?r[D]:r[D]&&r[D].prototype,P=C?c:c[D]||h(c,D,{})[D],M=P.prototype,B,z,W,ae,H,X,ee,ne,me;for(ae in _)B=l(C?ae:D+(R?".":"#")+ae,w.forced),z=!B&&O&&g(O,ae),X=P[ae],z&&(w.dontCallGetSet?(me=o(O,ae),ee=me&&me.value):ee=O[ae]),H=z&&ee?ee:_[ae],!(!B&&!T&&U(X)==U(H))&&(w.bind&&z?ne=p(H,r):w.wrap&&z?ne=y(H):T&&i(H)?ne=n(H):ne=H,(w.sham||H&&H.sham||X&&X.sham)&&h(ne,"sham",true),h(P,ae,ne),T&&(W=D+"Prototype",g(c,W)||h(c,W,{}),h(c[W],ae,H),w.real&&M&&(B||!M[ae])&&h(M,ae,H)));};}),qb=F(function(){var e=Ti(),t=Pr();e({target:"Object",stat:true},{hasOwn:t});}),$b=F(function(e,t){qb();var r=hn();t.exports=r.Object.hasOwn;}),jb=F(function(e,t){var r=$b();t.exports=r;}),zb=F(function(e,t){var r=jb();t.exports=r;}),Ts=F(function(e,t){var r=id(),a=od(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))};}),Hb=F(function(e,t){var r=cr();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype});}),Ss=F(function(e,t){var r=Pr(),a=Nt(),n=Rs(),i=Ts(),o=Hb(),l=i("IE_PROTO"),c=Object,p=c.prototype;t.exports=o?c.getPrototypeOf:function(h){var g=n(h);if(r(g,l))return g[l];var y=g.constructor;return a(y)&&g instanceof y?y.prototype:g instanceof c?p:null};}),Vb=F(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?a:r)(o)};}),ks=F(function(e,t){var r=Vb();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)};}),Gb=F(function(e,t){var r=ks(),a=Math.max,n=Math.min;t.exports=function(i,o){var l=r(i);return l<0?a(l+o,0):n(l,o)};}),Ub=F(function(e,t){var r=ks(),a=Math.min;t.exports=function(n){var i=r(n);return i>0?a(i,9007199254740991):0};}),fd=F(function(e,t){var r=Ub();t.exports=function(a){return r(a.length)};}),Wb=F(function(e,t){var r=pn(),a=Gb(),n=fd(),i=function(l){return function(c,p,h){var g=r(c),y=n(g);if(y===0)return !l&&-1;var w=a(h,y),_;if(l&&p!==p){for(;y>w;)if(_=g[w++],_!==_)return true}else for(;y>w;w++)if((l||w in g)&&g[w]===p)return l||w||0;return !l&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),Fs=F(function(e,t){t.exports={};}),Yb=F(function(e,t){var r=Yt(),a=Pr(),n=pn(),i=Wb().indexOf,o=Fs(),l=r([].push);t.exports=function(c,p){var h=n(c),g=0,y=[],w;for(w in h)!a(o,w)&&a(h,w)&&l(y,w);for(;p.length>g;)a(h,w=p[g++])&&(~i(y,w)||l(y,w));return y};}),pd=F(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),hd=F(function(e,t){var r=Yb(),a=pd();t.exports=Object.keys||function(i){return r(i,a)};}),Kb=F(function(e,t){var r=wr(),a=cr(),n=Yt(),i=Ss(),o=hd(),l=pn(),c=ed().f,p=n(c),h=n([].push),g=r&&a(function(){var w=Object.create(null);return w[2]=2,!p(w,2)}),y=function(_){return function(D){for(var C=l(D),R=o(C),T=g&&i(C)===null,O=R.length,P=0,M=[],B;O>P;)B=R[P++],(!r||(T?B in C:p(C,B)))&&h(M,_?[B,C[B]]:C[B]);return M}};t.exports={entries:y(true),values:y(false)};}),Xb=F(function(){var e=Ti(),t=Kb().values;e({target:"Object",stat:true},{values:function(a){return t(a)}});}),Zb=F(function(e,t){Xb();var r=hn();t.exports=r.Object.values;}),Jb=F(function(e,t){var r=Zb();t.exports=r;}),Qb=F(function(e,t){var r=Jb();t.exports=r;}),Os=F(function(e,t){var r=Ir(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]";}),Si=F(function(e,t){var r=Os(),a=Nt(),n=xi(),i=Ir(),o=i("toStringTag"),l=Object,c=n((function(){return arguments})())==="Arguments",p=function(g,y){try{return g[y]}catch{}};t.exports=r?n:function(h){var g,y,w;return h===void 0?"Undefined":h===null?"Null":typeof(y=p(g=l(h),o))=="string"?y:c?n(g):(w=n(g))==="Object"&&a(g.callee)?"Arguments":w};}),md=F(function(e,t){var r=Si(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)};}),e0=F(function(e,t){var r=Yt(),a=ks(),n=md(),i=Di(),o=r("".charAt),l=r("".charCodeAt),c=r("".slice),p=function(g){return function(y,w){var _=n(i(y)),D=a(w),C=_.length,R,T;return D<0||D>=C?g?"":void 0:(R=l(_,D),R<55296||R>56319||D+1===C||(T=l(_,D+1))<56320||T>57343?g?o(_,D):R:g?c(_,D,D+2):(R-55296<<10)+(T-56320)+65536)}};t.exports={codeAt:p(false),charAt:p(true)};}),t0=F(function(e,t){var r=ur(),a=Nt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n));}),r0=F(function(e,t){var r=t0(),a=ur(),n=Vr(),i=mn(),o=Pr(),l=Ci(),c=Ts(),p=Fs(),h="Object already initialized",g=a.TypeError,y=a.WeakMap,w,_,D,C=function(M){return D(M)?_(M):w(M,{})},R=function(M){return function(B){var z;if(!n(B)||(z=_(B)).type!==M)throw new g("Incompatible receiver, "+M+" required");return z}};r||l.state?(T=l.state||(l.state=new y),T.get=T.get,T.has=T.has,T.set=T.set,w=function(M,B){if(T.has(M))throw new g(h);return B.facade=M,T.set(M,B),B},_=function(M){return T.get(M)||{}},D=function(M){return T.has(M)}):(O=c("state"),p[O]=true,w=function(M,B){if(o(M,O))throw new g(h);return B.facade=M,i(M,O,B),B},_=function(M){return o(M,O)?M[O]:{}},D=function(M){return o(M,O)});var T,O;t.exports={set:w,get:_,has:D,enforce:C,getterFor:R};}),a0=F(function(e,t){var r=wr(),a=Pr(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),l=o&&function(){}.name==="something",c=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:l,CONFIGURABLE:c};}),n0=F(function(e){var t=wr(),r=dd(),a=Ri(),n=Fa(),i=pn(),o=hd();e.f=t&&!r?Object.defineProperties:function(c,p){n(c);for(var h=i(p),g=o(p),y=g.length,w=0,_;y>w;)a.f(c,_=g[w++],h[_]);return c};}),i0=F(function(e,t){var r=Ds();t.exports=r("document","documentElement");}),gd=F(function(e,t){var r=Fa(),a=n0(),n=pd(),i=Fs(),o=i0(),l=ld(),c=Ts(),p=">",h="<",g="prototype",y="script",w=c("IE_PROTO"),_=function(){},D=function(M){return h+y+p+M+h+"/"+y+p},C=function(M){M.write(D("")),M.close();var B=M.parentWindow.Object;return M=null,B},R=function(){var M=l("iframe"),B="java"+y+":",z;return M.style.display="none",o.appendChild(M),M.src=String(B),z=M.contentWindow.document,z.open(),z.write(D("document.F=Object")),z.close(),z.F},T,O=function(){try{T=new ActiveXObject("htmlfile");}catch{}O=typeof d<"u"?d.domain&&T?C(T):R():C(T);for(var M=n.length;M--;)delete O[g][n[M]];return O()};i[w]=true,t.exports=Object.create||function(M,B){var z;return M!==null?(_[g]=r(M),z=new _,_[g]=null,z[w]=M):z=O(),B===void 0?z:a.f(z,B)};}),vd=F(function(e,t){var r=mn();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a};}),yd=F(function(e,t){var r=cr(),a=Nt(),n=Vr(),i=gd(),o=Ss(),l=vd(),c=Ir(),p=Cs(),h=c("iterator"),g=false,y,w,_;[].keys&&(_=[].keys(),"next"in _?(w=o(o(_)),w!==Object.prototype&&(y=w)):g=true);var D=!n(y)||r(function(){var C={};return y[h].call(C)!==C});D?y={}:p&&(y=i(y)),a(y[h])||l(y,h,function(){return this}),t.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:g};}),o0=F(function(e,t){var r=Os(),a=Si();t.exports=r?{}.toString:function(){return "[object "+a(this)+"]"};}),bd=F(function(e,t){var r=Os(),a=Ri().f,n=mn(),i=Pr(),o=o0(),l=Ir(),c=l("toStringTag");t.exports=function(p,h,g,y){var w=g?p:p&&p.prototype;w&&(i(w,c)||a(w,c,{configurable:true,value:h}),y&&!r&&n(w,"toString",o));};}),ki=F(function(e,t){t.exports={};}),s0=F(function(e,t){var r=yd().IteratorPrototype,a=gd(),n=Ei(),i=bd(),o=ki(),l=function(){return this};t.exports=function(c,p,h,g){var y=p+" Iterator";return c.prototype=a(r,{next:n(+!g,h)}),i(c,y,false,true),o[y]=l,c};}),l0=F(function(e,t){var r=Yt(),a=Ai();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}};}),u0=F(function(e,t){var r=Vr();t.exports=function(a){return r(a)||a===null};}),c0=F(function(e,t){var r=u0(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")};}),d0=F(function(e,t){var r=l0(),a=Vr(),n=Di(),i=c0();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,l={},c;try{c=r(Object.prototype,"__proto__","set"),c(l,[]),o=l instanceof Array;}catch{}return function(h,g){return n(h),i(g),a(h)&&(o?c(h,g):h.__proto__=g),h}})():void 0);}),f0=F(function(e,t){var r=Ti(),a=ha(),n=Cs(),i=a0(),o=Nt(),l=s0(),c=Ss(),p=d0(),h=bd(),g=mn(),y=vd(),w=Ir(),_=ki(),D=yd(),C=i.PROPER,R=i.CONFIGURABLE,T=D.IteratorPrototype,O=D.BUGGY_SAFARI_ITERATORS,P=w("iterator"),M="keys",B="values",z="entries",W=function(){return this};t.exports=function(ae,H,X,ee,ne,me,xe){l(X,H,ee);var ce=function(Oe){if(Oe===ne&&oe)return oe;if(!O&&Oe&&Oe in he)return he[Oe];switch(Oe){case M:return function(){return new X(this,Oe)};case B:return function(){return new X(this,Oe)};case z:return function(){return new X(this,Oe)}}return function(){return new X(this)}},be=H+" Iterator",J=false,he=ae.prototype,N=he[P]||he["@@iterator"]||ne&&he[ne],oe=!O&&N||ce(ne),K=H==="Array"&&he.entries||N,se,_e,ue;if(K&&(se=c(K.call(new ae)),se!==Object.prototype&&se.next&&(!n&&c(se)!==T&&(p?p(se,T):o(se[P])||y(se,P,W)),h(se,be,true,true),n&&(_[be]=W))),C&&ne===B&&N&&N.name!==B&&(!n&&R?g(he,"name",B):(J=true,oe=function(){return a(N,this)})),ne)if(_e={values:ce(B),keys:me?oe:ce(M),entries:ce(z)},xe)for(ue in _e)(O||J||!(ue in he))&&y(he,ue,_e[ue]);else r({target:H,proto:true,forced:O||J},_e);return (!n||xe)&&he[P]!==oe&&y(he,P,oe,{name:ne}),_[H]=oe,_e};}),p0=F(function(e,t){t.exports=function(r,a){return {value:r,done:a}};}),h0=F(function(){var e=e0().charAt,t=md(),r=r0(),a=f0(),n=p0(),i="String Iterator",o=r.set,l=r.getterFor(i);a(String,"String",function(c){o(this,{type:i,string:t(c),index:0});},function(){var p=l(this),h=p.string,g=p.index,y;return g>=h.length?n(void 0,true):(y=e(h,g),p.index+=y.length,n(y,false))});}),m0=F(function(e,t){var r=ha(),a=Fa(),n=As();t.exports=function(i,o,l){var c,p;a(i);try{if(c=n(i,"return"),!c){if(o==="throw")throw l;return l}c=r(c,i);}catch(h){p=true,c=h;}if(o==="throw")throw l;if(p)throw c;return a(c),l};}),g0=F(function(e,t){var r=Fa(),a=m0();t.exports=function(n,i,o,l){try{return l?i(r(o)[0],o[1]):i(o)}catch(c){a(n,"throw",c);}};}),v0=F(function(e,t){var r=Ir(),a=ki(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)};}),y0=F(function(e,t){var r=Yt(),a=Nt(),n=Ci(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource;}),b0=F(function(e,t){var r=Yt(),a=cr(),n=Nt(),i=Si(),o=Ds(),l=y0(),c=function(){},p=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,g=r(h.exec),y=!h.test(c),w=function(C){if(!n(C))return false;try{return p(c,[],C),!0}catch{return false}},_=function(C){if(!n(C))return false;switch(i(C)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return y||!!g(h,l(C))}catch{return true}};_.sham=true,t.exports=!p||a(function(){var D;return w(w.call)||!w(Object)||!w(function(){D=true;})||D})?_:w;}),w0=F(function(e,t){var r=wr(),a=Ri(),n=Ei();t.exports=function(i,o,l){r?a.f(i,o,n(0,l)):i[o]=l;};}),_0=F(function(e,t){var r=xi();t.exports=Array.isArray||function(n){return r(n)==="Array"};}),x0=F(function(e,t){var r=wr(),a=_0(),n=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(l){return l instanceof TypeError}})();t.exports=o?function(l,c){if(a(l)&&!i(l,"length").writable)throw new n("Cannot set read only .length");return l.length=c}:function(l,c){return l.length=c};}),wd=F(function(e,t){var r=Si(),a=As(),n=Es(),i=ki(),o=Ir(),l=o("iterator");t.exports=function(c){if(!n(c))return a(c,l)||a(c,"@@iterator")||i[r(c)]};}),E0=F(function(e,t){var r=ha(),a=Ai(),n=Fa(),i=nd(),o=wd(),l=TypeError;t.exports=function(c,p){var h=arguments.length<2?o(c):p;if(a(h))return n(r(h,c));throw new l(i(c)+" is not iterable")};}),D0=F(function(e,t){var r=cd(),a=ha(),n=Rs(),i=g0(),o=v0(),l=b0(),c=fd(),p=w0(),h=x0(),g=E0(),y=wd(),w=Array;t.exports=function(D){var C=n(D),R=l(this),T=arguments.length,O=T>1?arguments[1]:void 0,P=O!==void 0;P&&(O=r(O,T>2?arguments[2]:void 0));var M=y(C),B=0,z,W,ae,H,X,ee;if(M&&!(this===w&&o(M)))for(W=R?new this:[],H=g(C,M),X=H.next;!(ae=a(X,H)).done;B++)ee=P?i(H,O,[ae.value,B],true):ae.value,p(W,B,ee);else for(z=c(C),W=R?new this(z):w(z);z>B;B++)ee=P?O(C[B],B):C[B],p(W,B,ee);return h(W,B),W};}),A0=F(function(e,t){var r=Ir(),a=r("iterator"),n=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){n=!0;}},o[a]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(l,c){try{if(!c&&!n)return !1}catch{return false}var p=false;try{var h={};h[a]=function(){return {next:function(){return {done:p=!0}}}},l(h);}catch{}return p};}),C0=F(function(){var e=Ti(),t=D0(),r=A0(),a=!r(function(n){Array.from(n);});e({target:"Array",stat:true,forced:a},{from:t});}),R0=F(function(e,t){h0(),C0();var r=hn();t.exports=r.Array.from;}),T0=F(function(e,t){var r=R0();t.exports=r;}),_d=F(function(e,t){var r=T0();t.exports=r;}),xd=F(function(e){Object.defineProperty(e,"__esModule",{value:true});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var l=o.length,c="",p=0;p<l;){var h=o.charAt(p);if(e.identSpecialChars[h])c+="\\"+h;else if(h==="_"||h==="-"||h>="A"&&h<="Z"||h>="a"&&h<="z"||p!==0&&h>="0"&&h<="9")c+=h;else {var g=h.charCodeAt(0);if((g&63488)===55296){var y=o.charCodeAt(p++);if((g&64512)!==55296||(y&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");g=((g&1023)<<10)+(y&1023)+65536;}c+="\\"+g.toString(16)+" ";}p++;}return c}e.escapeIdentifier=n;function i(o){for(var l=o.length,c="",p=0,h;p<l;){var g=o.charAt(p);g==='"'?g='\\"':g==="\\"?g="\\\\":(h=e.strReplacementsRev[g])!==void 0&&(g=h),c+=g,p++;}return '"'+c+'"'}e.escapeStr=i,e.identSpecialChars={"!":true,'"':true,"#":true,$:true,"%":true,"&":true,"'":true,"(":true,")":true,"*":true,"+":true,",":true,".":true,"/":true,";":true,"<":true,"=":true,">":true,"?":true,"@":true,"[":true,"\\":true,"]":true,"^":true,"`":true,"{":true,"|":true,"}":true,"~":true},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:`
|
|
12
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
|
|
13
|
+
`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),S0=F(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=xd();function r(a,n,i,o,l,c){var p=a.length,h="";function g(T,O){var P="";for(n++,h=a.charAt(n);n<p;){if(h===T)return n++,P;if(h==="\\"){n++,h=a.charAt(n);var M=void 0;if(h===T)P+=T;else if((M=O[h])!==void 0)P+=M;else if(t.isHex(h)){var B=h;for(n++,h=a.charAt(n);t.isHex(h);)B+=h,n++,h=a.charAt(n);h===" "&&(n++,h=a.charAt(n)),P+=String.fromCharCode(parseInt(B,16));continue}else P+=h;}else P+=h;n++,h=a.charAt(n);}return P}function y(){var T="";for(h=a.charAt(n);n<p;){if(t.isIdent(h))T+=h;else if(h==="\\"){if(n++,n>=p)throw Error("Expected symbol but end of file reached.");if(h=a.charAt(n),t.identSpecialChars[h])T+=h;else if(t.isHex(h)){var O=h;for(n++,h=a.charAt(n);t.isHex(h);)O+=h,n++,h=a.charAt(n);h===" "&&(n++,h=a.charAt(n)),T+=String.fromCharCode(parseInt(O,16));continue}else T+=h;}else return T;n++,h=a.charAt(n);}return T}function w(){h=a.charAt(n);for(var T=false;h===" "||h===" "||h===`
|
|
14
|
+
`||h==="\r"||h==="\f";)T=true,n++,h=a.charAt(n);return T}function _(){var T=D();if(n<p)throw Error('Rule expected but "'+a.charAt(n)+'" found.');return T}function D(){var T=C();if(!T)return null;var O=T;for(h=a.charAt(n);h===",";){if(n++,w(),O.type!=="selectors"&&(O={type:"selectors",selectors:[T]}),T=C(),!T)throw Error('Rule expected after ",".');O.selectors.push(T);}return O}function C(){w();var T={type:"ruleSet"},O=R();if(!O)return null;for(var P=T;O&&(O.type="rule",P.rule=O,P=O,w(),h=a.charAt(n),!(n>=p||h===","||h===")"));)if(l[h]){var M=h;if(n++,w(),O=R(),!O)throw Error('Rule expected after "'+M+'".');O.nestingOperator=M;}else O=R(),O&&(O.nestingOperator=null);return T}function R(){for(var T=null;n<p;)if(h=a.charAt(n),h==="*")n++,(T=T||{}).tagName="*";else if(t.isIdentStart(h)||h==="\\")(T=T||{}).tagName=y();else if(h===".")n++,T=T||{},(T.classNames=T.classNames||[]).push(y());else if(h==="#")n++,(T=T||{}).id=y();else if(h==="["){n++,w();var O={name:y()};if(w(),h==="]")n++;else {var P="";if(o[h]&&(P=h,n++,h=a.charAt(n)),n>=p)throw Error('Expected "=" but end of file reached.');if(h!=="=")throw Error('Expected "=" but "'+h+'" found.');O.operator=P+"=",n++,w();var M="";if(O.valueType="string",h==='"')M=g('"',t.doubleQuotesEscapeChars);else if(h==="'")M=g("'",t.singleQuoteEscapeChars);else if(c&&h==="$")n++,M=y(),O.valueType="substitute";else {for(;n<p&&h!=="]";)M+=h,n++,h=a.charAt(n);M=M.trim();}if(w(),n>=p)throw Error('Expected "]" but end of file reached.');if(h!=="]")throw Error('Expected "]" but "'+h+'" found.');n++,O.value=M;}T=T||{},(T.attrs=T.attrs||[]).push(O);}else if(h===":"){n++;var B=y(),z={name:B};if(h==="("){n++;var W="";if(w(),i[B]==="selector")z.valueType="selector",W=D();else {if(z.valueType=i[B]||"string",h==='"')W=g('"',t.doubleQuotesEscapeChars);else if(h==="'")W=g("'",t.singleQuoteEscapeChars);else if(c&&h==="$")n++,W=y(),z.valueType="substitute";else {for(;n<p&&h!==")";)W+=h,n++,h=a.charAt(n);W=W.trim();}w();}if(n>=p)throw Error('Expected ")" but end of file reached.');if(h!==")")throw Error('Expected ")" but "'+h+'" found.');n++,z.value=W;}T=T||{},(T.pseudos=T.pseudos||[]).push(z);}else break;return T}return _()}e.parseCssSelector=r;}),k0=F(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=xd();function r(a){var n="";switch(a.type){case "ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case "selectors":n=a.selectors.map(r).join(", ");break;case "rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(l){return "."+t.escapeIdentifier(l)}).join("")),a.attrs&&(n+=a.attrs.map(function(l){return "operator"in l?l.valueType==="substitute"?"["+t.escapeIdentifier(l.name)+l.operator+"$"+l.value+"]":"["+t.escapeIdentifier(l.name)+l.operator+t.escapeStr(l.value)+"]":"["+t.escapeIdentifier(l.name)+"]"}).join("")),a.pseudos&&(n+=a.pseudos.map(function(l){return l.valueType?l.valueType==="selector"?":"+t.escapeIdentifier(l.name)+"("+r(l.value)+")":l.valueType==="substitute"?":"+t.escapeIdentifier(l.name)+"($"+l.value+")":l.valueType==="numeric"?":"+t.escapeIdentifier(l.name)+"("+l.value+")":":"+t.escapeIdentifier(l.name)+"("+t.escapeIdentifier(l.value)+")":":"+t.escapeIdentifier(l.name)}).join(""));break;default:throw Error('Unknown entity type: "'+a.type+'".')}return n}e.renderEntity=r;}),F0=F(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=S0(),r=k0(),a=(function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];this.pseudos[p]="selector";}return this},n.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];delete this.pseudos[p];}return this},n.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];this.pseudos[p]="numeric";}return this},n.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];delete this.pseudos[p];}return this},n.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];this.ruleNestingOperators[p]=true;}return this},n.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];delete this.ruleNestingOperators[p];}return this},n.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];this.attrEqualityMods[p]=true;}return this},n.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var l=0,c=i;l<c.length;l++){var p=c[l];delete this.attrEqualityMods[p];}return this},n.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},n.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},n.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},n.prototype.render=function(i){return r.renderEntity(i).trim()},n})();e.CssSelectorParser=a;}),O0=F(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":U(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{s.globalThis=(function(){if(typeof self<"u")return self;if(typeof s<"u")return s;if(typeof f<"u")return f;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(l){var c={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},p=l?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(h){return h?h.toString().replace(p,function(g){return c[g]||g}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(l,c,p){return (typeof c=="string"?c:c.toString()).replace(l.define||n,function(h,g,y,w){return g.indexOf("def.")===0&&(g=g.substring(4)),g in p||(y===":"?(l.defineParams&&w.replace(l.defineParams,function(_,D,C){p[g]={arg:D,text:C};}),g in p||(p[g]=w)):new Function("def","def['"+g+"']="+w)(p)),""}).replace(l.use||n,function(h,g){l.useParams&&(g=g.replace(l.useParams,function(w,_,D,C){if(p[D]&&p[D].arg&&C){var R=(D+":"+C).replace(/'|\\/g,"_");return p.__exp=p.__exp||{},p.__exp[R]=p[D].text.replace(new RegExp("(^|[^\\w$])"+p[D].arg+"([^\\w$])","g"),"$1"+C+"$2"),_+"def.__exp['"+R+"']"}}));var y=new Function("def","return "+g)(p);return y&&i(l,y,p)})}function o(l){return l.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(l,c,p){c=c||r.templateSettings;var h=c.append?a.append:a.split,g,y=0,w,_=c.use||c.define?i(c,l,p||{}):l;_=("var out='"+(c.strip?_.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):_).replace(/'|\\/g,"\\$&").replace(c.interpolate||n,function(D,C){return h.start+o(C)+h.end}).replace(c.encode||n,function(D,C){return g=true,h.startencode+o(C)+h.end}).replace(c.conditional||n,function(D,C,R){return C?R?"';}else if("+o(R)+"){out+='":"';}else{out+='":R?"';if("+o(R)+"){out+='":"';}out+='"}).replace(c.iterate||n,function(D,C,R,T){return C?(y+=1,w=T||"i"+y,C=o(C),"';var arr"+y+"="+C+";if(arr"+y+"){var "+R+","+w+"=-1,l"+y+"=arr"+y+".length-1;while("+w+"<l"+y+"){"+R+"=arr"+y+"["+w+"+=1];out+='"):"';} } out+='"}).replace(c.evaluate||n,function(D,C){return "';"+o(C)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),g&&(!c.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(c.doNotSkipEncoded)),_="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(c.doNotSkipEncoded||"")+"));"+_);try{return new Function(c.varname,_)}catch(D){throw typeof console<"u"&&console.log("Could not create a template function: "+_),D}},r.compile=function(l,c){return r.template(l,null,c)};})();}),P0=F(function(e,t){t.exports=function(){};}),ma=F(function(e,t){var r=P0()();t.exports=function(a){return a!==r&&a!==null};}),Ed=F(function(e,t){var r=ma(),a=Array.prototype.forEach,n=Object.create,i=function(l,c){var p;for(p in l)c[p]=l[p];};t.exports=function(o){var l=n(null);return a.call(arguments,function(c){r(c)&&i(Object(c),l);}),l};}),I0=F(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),M0=F(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),N0=F(function(e,t){t.exports=I0()()?Math.sign:M0();}),L0=F(function(e,t){var r=N0(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))};}),ga=F(function(e,t){var r=L0(),a=Math.max;t.exports=function(n){return a(0,r(n))};}),Dd=F(function(e,t){var r=ga();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===false?false:r(a)};}),Gr=F(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Oa=F(function(e,t){var r=ma();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a};}),B0=F(function(e,t){var r=Gr(),a=Oa(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,l=Object.prototype.propertyIsEnumerable;t.exports=function(c,p){return function(h,g){var y,w=arguments[2],_=arguments[3];return h=Object(a(h)),r(g),y=o(h),_&&y.sort(typeof _=="function"?n.call(_,h):void 0),typeof c!="function"&&(c=y[c]),i.call(c,y,function(D,C){return l.call(h,D)?i.call(g,w,h[D],D,h,C):p})}};}),Fi=F(function(e,t){t.exports=B0()("forEach");}),va=F(function(){}),q0=F(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?false:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")};}),$0=F(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),j0=F(function(e,t){var r=ma(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)};}),z0=F(function(e,t){t.exports=$0()()?Object.keys:j0();}),H0=F(function(e,t){var r=z0(),a=Oa(),n=Math.max;t.exports=function(i,o){var l,c,p=n(arguments.length,2),h;for(i=Object(a(i)),h=function(y){try{i[y]=o[y];}catch(w){l||(l=w);}},c=1;c<p;++c)o=arguments[c],r(o).forEach(h);if(l!==void 0)throw l;return i};}),Ad=F(function(e,t){t.exports=q0()()?Object.assign:H0();}),V0=F(function(e,t){var r=ma(),a={function:true,object:true};t.exports=function(n){return r(n)&&a[U(n)]||false};}),G0=F(function(e,t){var r=Ad(),a=V0(),n=ma(),i=Error.captureStackTrace;t.exports=function(o){var l=new Error(o),c=arguments[1],p=arguments[2];return n(p)||a(c)&&(p=c,c=null),n(p)&&r(l,p),n(c)&&(l.code=c),i&&i(l,t.exports),l};}),Cd=F(function(e,t){var r=Oa(),a=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(l,c){var p,h=Object(r(c));if(l=Object(r(l)),i(h).forEach(function(g){try{a(l,g,n(c,g));}catch(y){p=y;}}),typeof o=="function"&&o(h).forEach(function(g){try{a(l,g,n(c,g));}catch(y){p=y;}}),p!==void 0)throw p;return l};}),Rd=F(function(e,t){var r=ga(),a=function(p,h){return h},n,i,o,l;try{Object.defineProperty(a,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}a.length===1?(n={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(c,p){return p=r(p),c.length===p?c:(n.value=p,i(c,"length",n))}):(l=Cd(),o=(function(){var c=[];return function(p){var h,g=0;if(c[p])return c[p];for(h=[];p--;)h.push("a"+(++g).toString(36));return new Function("fn","return function ("+h.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(c,p){var h;if(p=r(p),c.length===p)return c;h=o(p)(c);try{l(h,c);}catch{}return h});}),Td=F(function(e,t){var r=void 0;t.exports=function(a){return a!==r&&a!==null};}),U0=F(function(e,t){var r=Td(),a={object:true,function:true,undefined:true};t.exports=function(n){return r(n)?hasOwnProperty.call(a,U(n)):false};}),W0=F(function(e,t){var r=U0();t.exports=function(a){if(!r(a))return false;try{return a.constructor?a.constructor.prototype===a:!1}catch{return false}};}),Y0=F(function(e,t){var r=W0();t.exports=function(a){if(typeof a!="function"||!hasOwnProperty.call(a,"length"))return false;try{if(typeof a.length!="number"||typeof a.call!="function"||typeof a.apply!="function")return !1}catch{return false}return !r(a)};}),K0=F(function(e,t){var r=Y0(),a=/^\s*class[\s{/}]/,n=Function.prototype.toString;t.exports=function(i){return !(!r(i)||a.test(n.call(i)))};}),X0=F(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Z0=F(function(e,t){var r=String.prototype.indexOf;t.exports=function(a){return r.call(this,a,arguments[1])>-1};}),J0=F(function(e,t){t.exports=X0()()?String.prototype.contains:Z0();}),ya=F(function(e,t){var r=Td(),a=K0(),n=Ad(),i=Ed(),o=J0(),l=t.exports=function(c,p){var h,g,y,w,_;return arguments.length<2||typeof c!="string"?(w=p,p=c,c=null):w=arguments[2],r(c)?(h=o.call(c,"c"),g=o.call(c,"e"),y=o.call(c,"w")):(h=y=true,g=false),_={value:p,configurable:h,enumerable:g,writable:y},w?n(i(w),_):_};l.gs=function(c,p,h){var g,y,w,_;return typeof c!="string"?(w=h,h=p,p=c,c=null):w=arguments[3],r(p)?a(p)?r(h)?a(h)||(w=h,h=void 0):h=void 0:(w=p,p=h=void 0):p=void 0,r(c)?(g=o.call(c,"c"),y=o.call(c,"e")):(g=true,y=false),_={get:p,set:h,configurable:g,enumerable:y},w?n(i(w),_):_};}),Q0=F(function(e,t){var r=ya(),a=Gr(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,l=Object.defineProperty,c=Object.defineProperties,p=Object.prototype.hasOwnProperty,h={configurable:true,enumerable:false,writable:true},g,y,w,_,D,C,R;g=function(O,P){var M;return a(P),p.call(this,"__ee__")?M=this.__ee__:(M=h.value=o(null),l(this,"__ee__",h),h.value=null),M[O]?U(M[O])==="object"?M[O].push(P):M[O]=[M[O],P]:M[O]=P,this},y=function(O,P){var M,B;return a(P),B=this,g.call(this,O,M=function(){w.call(B,O,M),n.call(P,this,arguments);}),M.__eeOnceListener__=P,this},w=function(O,P){var M,B,z,W;if(a(P),!p.call(this,"__ee__"))return this;if(M=this.__ee__,!M[O])return this;if(B=M[O],U(B)==="object")for(W=0;z=B[W];++W)(z===P||z.__eeOnceListener__===P)&&(B.length===2?M[O]=B[W?0:1]:B.splice(W,1));else (B===P||B.__eeOnceListener__===P)&&delete M[O];return this},_=function(O){var P,M,B,z,W;if(p.call(this,"__ee__")&&(z=this.__ee__[O],!!z))if(U(z)==="object"){for(M=arguments.length,W=new Array(M-1),P=1;P<M;++P)W[P-1]=arguments[P];for(z=z.slice(),P=0;B=z[P];++P)n.call(B,this,W);}else switch(arguments.length){case 1:i.call(z,this);break;case 2:i.call(z,this,arguments[1]);break;case 3:i.call(z,this,arguments[1],arguments[2]);break;default:for(M=arguments.length,W=new Array(M-1),P=1;P<M;++P)W[P-1]=arguments[P];n.call(z,this,W);}},D={on:g,once:y,off:w,emit:_},C={on:r(g),once:r(y),off:r(w),emit:r(_)},R=c({},C),t.exports=e=function(O){return O==null?o(R):c(Object(O),C)},e.methods=D;}),ew=F(function(e,t){t.exports=function(){var r=Array.from,a,n;return typeof r!="function"?false:(a=["raz","dwa"],n=r(a),!!(n&&n!==a&&n[1]==="dwa"))};}),tw=F(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":U(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),rw=F(function(e,t){var r=function(){if((typeof self>"u"?"undefined":U(self))==="object"&&self)return self;if((typeof s>"u"?"undefined":U(s))==="object"&&s)return s;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__;}})();}),Oi=F(function(e,t){t.exports=tw()()?globalThis:rw();}),aw=F(function(e,t){var r=Oi(),a={object:true,symbol:true};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return false;i=n("test symbol");try{String(i);}catch{return false}return !(!a[U(n.iterator)]||!a[U(n.toPrimitive)]||!a[U(n.toStringTag)])};}),nw=F(function(e,t){t.exports=function(r){return r?U(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),Sd=F(function(e,t){var r=nw();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a};}),iw=F(function(e,t){var r=ya(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(l){for(var c=0,p,h;o[l+(c||"")];)++c;return l+=c||"",o[l]=true,p="@@"+l,n(i,p,r.gs(null,function(g){h||(h=true,n(this,p,r(g)),h=false);})),p};}),ow=F(function(e,t){var r=ya(),a=Oi().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})};}),sw=F(function(e,t){var r=ya(),a=Sd(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var l;a(o);for(l in n)if(n[l]===o)return l})})};}),lw=F(function(e,t){var r=ya(),a=Sd(),n=Oi().Symbol,i=iw(),o=ow(),l=sw(),c=Object.create,p=Object.defineProperties,h=Object.defineProperty,g,y,w;if(typeof n=="function")try{String(n()),w=!0;}catch{}else n=null;y=function(D){if(this instanceof y)throw new TypeError("Symbol is not a constructor");return g(D)},t.exports=g=function _(D){var C;if(this instanceof _)throw new TypeError("Symbol is not a constructor");return w?n(D):(C=c(y.prototype),D=D===void 0?"":String(D),p(C,{__description__:r("",D),__name__:r("",i(D))}))},o(g),l(g),p(y.prototype,{constructor:r(g),toString:r("",function(){return this.__name__})}),p(g.prototype,{toString:r(function(){return "Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),h(g.prototype,g.toPrimitive,r("",function(){var _=a(this);return U(_)==="symbol"?_:_.toString()})),h(g.prototype,g.toStringTag,r("c","Symbol")),h(y.prototype,g.toStringTag,r("c",g.prototype[g.toStringTag])),h(y.prototype,g.toPrimitive,r("c",g.prototype[g.toPrimitive]));}),uw=F(function(e,t){t.exports=aw()()?Oi().Symbol:lw();}),cw=F(function(e,t){var r=Object.prototype.toString,a=r.call((function(){return arguments})());t.exports=function(n){return r.call(n)===a};}),dw=F(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))};}),fw=F(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&U(n)==="object"&&(n instanceof String||r.call(n)===a)||false};}),pw=F(function(e,t){var r=uw().iterator,a=cw(),n=dw(),i=ga(),o=Gr(),l=Oa(),c=ma(),p=fw(),h=Array.isArray,g=Function.prototype.call,y={configurable:true,enumerable:true,writable:true,value:null},w=Object.defineProperty;t.exports=function(_){var D=arguments[1],C=arguments[2],R,T,O,P,M,B,z,W,ae,H;if(_=Object(l(_)),c(D)&&o(D),!this||this===Array||!n(this)){if(!D){if(a(_))return M=_.length,M!==1?Array.apply(null,_):(P=new Array(1),P[0]=_[0],P);if(h(_)){for(P=new Array(M=_.length),T=0;T<M;++T)P[T]=_[T];return P}}P=[];}else R=this;if(!h(_)){if((ae=_[r])!==void 0){for(z=o(ae).call(_),R&&(P=new R),W=z.next(),T=0;!W.done;)H=D?g.call(D,C,W.value,T):W.value,R?(y.value=H,w(P,T,y)):P[T]=H,W=z.next(),++T;M=T;}else if(p(_)){for(M=_.length,R&&(P=new R),T=0,O=0;T<M;++T)H=_[T],T+1<M&&(B=H.charCodeAt(0),B>=55296&&B<=56319&&(H+=_[++T])),H=D?g.call(D,C,H,O):H,R?(y.value=H,w(P,O,y)):P[O]=H,++O;M=O;}}if(M===void 0)for(M=i(_.length),R&&(P=new R(M)),T=0;T<M;++T)H=D?g.call(D,C,_[T],T):_[T],R?(y.value=H,w(P,T,y)):P[T]=H;return R&&(y.value=null,P.length=M),P};}),Ps=F(function(e,t){t.exports=ew()()?Array.from:pw();}),hw=F(function(e,t){var r=Ps(),a=Array.isArray;t.exports=function(n){return a(n)?n:r(n)};}),mw=F(function(e,t){var r=hw(),a=ma(),n=Gr(),i=Array.prototype.slice,o;o=function(c){return this.map(function(p,h){return p?p(c[h]):c[h]}).concat(i.call(c,this.length))},t.exports=function(l){return l=r(l),l.forEach(function(c){a(c)&&n(c);}),o.bind(l)};}),gw=F(function(e,t){var r=Gr();t.exports=function(a){var n;return typeof a=="function"?{set:a,get:a}:(n={get:r(a.get)},a.set!==void 0?(n.set=r(a.set),a.delete&&(n.delete=r(a.delete)),a.clear&&(n.clear=r(a.clear)),n):(n.set=n.get,n))};}),vw=F(function(e,t){var r=G0(),a=Rd(),n=ya(),i=Q0().methods,o=mw(),l=gw(),c=Function.prototype.apply,p=Function.prototype.call,h=Object.create,g=Object.defineProperties,y=i.on,w=i.emit;t.exports=function(_,D,C){var R=h(null),T,O,P,M,B,z,W,ae,H,X,ee,ne,me,xe,ce;return D!==false?O=D:isNaN(_.length)?O=1:O=_.length,C.normalizer&&(X=l(C.normalizer),P=X.get,M=X.set,B=X.delete,z=X.clear),C.resolvers!=null&&(ce=o(C.resolvers)),P?xe=a(function(be){var J,he,N=arguments;if(ce&&(N=ce(N)),J=P(N),J!==null&&hasOwnProperty.call(R,J))return ee&&T.emit("get",J,N,this),R[J];if(N.length===1?he=p.call(_,this,N[0]):he=c.call(_,this,N),J===null){if(J=P(N),J!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");J=M(N);}else if(hasOwnProperty.call(R,J))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[J]=he,ne&&T.emit("set",J,null,he),he},O):D===0?xe=function(){var J;if(hasOwnProperty.call(R,"data"))return ee&&T.emit("get","data",arguments,this),R.data;if(arguments.length?J=c.call(_,this,arguments):J=p.call(_,this),hasOwnProperty.call(R,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return R.data=J,ne&&T.emit("set","data",null,J),J}:xe=function(J){var he,N=arguments,oe;if(ce&&(N=ce(arguments)),oe=String(N[0]),hasOwnProperty.call(R,oe))return ee&&T.emit("get",oe,N,this),R[oe];if(N.length===1?he=p.call(_,this,N[0]):he=c.call(_,this,N),hasOwnProperty.call(R,oe))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[oe]=he,ne&&T.emit("set",oe,null,he),he},T={original:_,memoized:xe,profileName:C.profileName,get:function(J){return ce&&(J=ce(J)),P?P(J):String(J[0])},has:function(J){return hasOwnProperty.call(R,J)},delete:function(J){var he;hasOwnProperty.call(R,J)&&(B&&B(J),he=R[J],delete R[J],me&&T.emit("delete",J,he));},clear:function(){var J=R;z&&z(),R=h(null),T.emit("clear",J);},on:function(J,he){return J==="get"?ee=true:J==="set"?ne=true:J==="delete"&&(me=true),y.call(this,J,he)},emit:w,updateEnv:function(){_=T.original;}},P?W=a(function(be){var J,he=arguments;ce&&(he=ce(he)),J=P(he),J!==null&&T.delete(J);},O):D===0?W=function(){return T.delete("data")}:W=function(J){return ce&&(J=ce(arguments)[0]),T.delete(J)},ae=a(function(){var be,J=arguments;return D===0?R.data:(ce&&(J=ce(J)),P?be=P(J):be=String(J[0]),R[be])}),H=a(function(){var be,J=arguments;return D===0?T.has("data"):(ce&&(J=ce(J)),P?be=P(J):be=String(J[0]),be===null?false:T.has(be))}),g(xe,{__memoized__:n(true),delete:n(W),clear:n(T.clear),_get:n(ae),_has:n(H)}),T};}),yw=F(function(e,t){var r=Gr(),a=Fi(),n=va(),i=vw(),o=Dd();t.exports=function l(c){var p,h,g;if(r(c),p=Object(arguments[1]),p.async&&p.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(c,"__memoized__")&&!p.force?c:(h=o(p.length,c.length,p.async&&n.async),g=i(c,h,p),a(n,function(y,w){p[w]&&y(p[w],g,p);}),l.__profiler__&&l.__profiler__(g),g.updateEnv(),g.memoized)};}),bw=F(function(e,t){t.exports=function(r){var a,n,i=r.length;if(!i)return "";for(a=String(r[n=0]);--i;)a+=""+r[++n];return a};}),ww=F(function(e,t){t.exports=function(r){return r?function(a){for(var n=String(a[0]),i=0,o=r;--o;)n+=""+a[++i];return n}:function(){return ""}};}),_w=F(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),xw=F(function(e,t){t.exports=function(r){return r!==r};}),Ew=F(function(e,t){t.exports=_w()()?Number.isNaN:xw();}),Is=F(function(e,t){var r=Ew(),a=ga(),n=Oa(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,l=Math.abs,c=Math.floor;t.exports=function(p){var h,g,y,w;if(!r(p))return i.apply(this,arguments);for(g=a(n(this).length),y=arguments[1],isNaN(y)?y=0:y>=0?y=c(y):y=a(this.length)-c(l(y)),h=y;h<g;++h)if(o.call(this,h)&&(w=this[h],r(w)))return h;return -1};}),Dw=F(function(e,t){var r=Is(),a=Object.create;t.exports=function(){var n=0,i=[],o=a(null);return {get:function(c){var p=0,h=i,g,y=c.length;if(y===0)return h[y]||null;if(h=h[y]){for(;p<y-1;){if(g=r.call(h[0],c[p]),g===-1)return null;h=h[1][g],++p;}return g=r.call(h[0],c[p]),g===-1?null:h[1][g]||null}return null},set:function(c){var p=0,h=i,g,y=c.length;if(y===0)h[y]=++n;else {for(h[y]||(h[y]=[[],[]]),h=h[y];p<y-1;)g=r.call(h[0],c[p]),g===-1&&(g=h[0].push(c[p])-1,h[1].push([[],[]])),h=h[1][g],++p;g=r.call(h[0],c[p]),g===-1&&(g=h[0].push(c[p])-1),h[1][g]=++n;}return o[n]=c,n},delete:function(c){var p=0,h=i,g,y=o[c],w=y.length,_=[];if(w===0)delete h[w];else if(h=h[w]){for(;p<w-1;){if(g=r.call(h[0],y[p]),g===-1)return;_.push(h,g),h=h[1][g],++p;}if(g=r.call(h[0],y[p]),g===-1)return;for(c=h[1][g],h[0].splice(g,1),h[1].splice(g,1);!h[0].length&&_.length;)g=_.pop(),h=_.pop(),h[0].splice(g,1),h[1].splice(g,1);}delete o[c];},clear:function(){i=[],o=a(null);}}};}),Aw=F(function(e,t){var r=Is();t.exports=function(){var a=0,n=[],i=[];return {get:function(l){var c=r.call(n,l[0]);return c===-1?null:i[c]},set:function(l){return n.push(l[0]),i.push(++a),a},delete:function(l){var c=r.call(i,l);c!==-1&&(n.splice(c,1),i.splice(c,1));},clear:function(){n=[],i=[];}}};}),Cw=F(function(e,t){var r=Is(),a=Object.create;t.exports=function(n){var i=0,o=[[],[]],l=a(null);return {get:function(p){for(var h=0,g=o,y;h<n-1;){if(y=r.call(g[0],p[h]),y===-1)return null;g=g[1][y],++h;}return y=r.call(g[0],p[h]),y===-1?null:g[1][y]||null},set:function(p){for(var h=0,g=o,y;h<n-1;)y=r.call(g[0],p[h]),y===-1&&(y=g[0].push(p[h])-1,g[1].push([[],[]])),g=g[1][y],++h;return y=r.call(g[0],p[h]),y===-1&&(y=g[0].push(p[h])-1),g[1][y]=++i,l[i]=p,i},delete:function(p){for(var h=0,g=o,y,w=[],_=l[p];h<n-1;){if(y=r.call(g[0],_[h]),y===-1)return;w.push(g,y),g=g[1][y],++h;}if(y=r.call(g[0],_[h]),y!==-1){for(p=g[1][y],g[0].splice(y,1),g[1].splice(y,1);!g[0].length&&w.length;)y=w.pop(),g=w.pop(),g[0].splice(y,1),g[1].splice(y,1);delete l[p];}},clear:function(){o=[[],[]],l=a(null);}}};}),kd=F(function(e,t){var r=Gr(),a=Fi(),n=Function.prototype.call;t.exports=function(i,o){var l={},c=arguments[2];return r(o),a(i,function(p,h,g,y){l[h]=n.call(o,c,p,h,g,y);}),l};}),Ms=F(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},a=function(i){var o=d.createTextNode(""),l,c,p=0;return new i(function(){var h;if(l)c&&(l=c.concat(l));else {if(!c)return;l=c;}if(c=l,l=null,typeof c=="function"){h=c,c=null,h();return}for(o.data=p=++p%2;c;)h=c.shift(),c.length||(c=null),h();}).observe(o,{characterData:true}),function(h){if(r(h),l){typeof l=="function"?l=[l,h]:l.push(h);return}l=h,o.data=p=++p%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":U(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n));};if((typeof d>"u"?"undefined":U(d))==="object"&&d){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":U(setTimeout))==="object"?function(n){setTimeout(r(n),0);}:null})();}),Rw=F(function(){var e=Ps(),t=kd(),r=Cd(),a=Rd(),n=Ms(),i=Array.prototype.slice,o=Function.prototype.apply,l=Object.create;va().async=function(c,p){var h=l(null),g=l(null),y=p.memoized,w=p.original,_,D,C;p.memoized=a(function(R){var T=arguments,O=T[T.length-1];return typeof O=="function"&&(_=O,T=i.call(T,0,-1)),y.apply(D=this,C=T)},y);try{r(p.memoized,y);}catch{}p.on("get",function(R){var T,O,P;if(_){if(h[R]){typeof h[R]=="function"?h[R]=[h[R],_]:h[R].push(_),_=null;return}T=_,O=D,P=C,_=D=C=null,n(function(){var M;hasOwnProperty.call(g,R)?(M=g[R],p.emit("getasync",R,P,O),o.call(T,M.context,M.args)):(_=T,D=O,C=P,y.apply(O,P));});}}),p.original=function(){var R,T,O,P;return _?(R=e(arguments),T=function M(B){var z,W,ae=M.id;if(ae==null){n(o.bind(M,this,arguments));return}if(delete M.id,z=h[ae],delete h[ae],!!z)return W=e(arguments),p.has(ae)&&(B?p.delete(ae):(g[ae]={context:this,args:W},p.emit("setasync",ae,typeof z=="function"?1:z.length))),typeof z=="function"?P=o.call(z,this,W):z.forEach(function(H){P=o.call(H,this,W);},this),P},O=_,_=D=C=null,R.push(T),P=o.call(w,this,R),T.cb=O,_=T,P):o.call(w,this,arguments)},p.on("set",function(R){if(!_){p.delete(R);return}h[R]?typeof h[R]=="function"?h[R]=[h[R],_.cb]:h[R].push(_.cb):h[R]=_.cb,delete _.cb,_.id=R,_=null;}),p.on("delete",function(R){var T;hasOwnProperty.call(h,R)||g[R]&&(T=g[R],delete g[R],p.emit("deleteasync",R,i.call(T.args,1)));}),p.on("clear",function(){var R=g;g=l(null),p.emit("clearasync",t(R,function(T){return i.call(T.args,1)}));});};}),Tw=F(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=true;}),i};}),Fd=F(function(e,t){t.exports=function(r){return typeof r=="function"};}),Sw=F(function(e,t){var r=Fd();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),kw=F(function(e,t){var r=Oa(),a=Sw();t.exports=function(n){return a(r(n))};}),Fw=F(function(e,t){var r=Fd();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return "<Non-coercible to string value>"}};}),Ow=F(function(e,t){var r=Fw(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),Od=F(function(e,t){t.exports=r,t.exports.default=r;function r(a){return !!a&&(U(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),Pw=F(function(){var e=kd(),t=Tw(),r=kw(),a=Ow(),n=Od(),i=Ms(),o=Object.create,l=t("then","then:finally","done","done:finally");va().promise=function(c,p){var h=o(null),g=o(null),y=o(null);if(c===true)c=null;else if(c=r(c),!l[c])throw new TypeError("'"+a(c)+"' is not valid promise mode");p.on("set",function(w,_,D){var C=false;if(!n(D)){g[w]=D,p.emit("setasync",w,1);return}h[w]=1,y[w]=D;var R=function(B){var z=h[w];if(C)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)
|
|
15
|
+
Consider to rely on 'then' or 'done' mode instead.`);z&&(delete h[w],g[w]=B,p.emit("setasync",w,z));},T=function(){C=true,h[w]&&(delete h[w],delete y[w],p.delete(w));},O=c;if(O||(O="then"),O==="then"){var P=function(){i(T);};D=D.then(function(M){i(R.bind(this,M));},P),typeof D.finally=="function"&&D.finally(P);}else if(O==="done"){if(typeof D.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");D.done(R,T);}else if(O==="done:finally"){if(typeof D.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof D.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");D.done(R),D.finally(T);}}),p.on("get",function(w,_,D){var C;if(h[w]){++h[w];return}C=y[w];var R=function(){p.emit("getasync",w,_,D);};n(C)?typeof C.done=="function"?C.done(R):C.then(function(){i(R);}):R();}),p.on("delete",function(w){if(delete y[w],h[w]){delete h[w];return}if(hasOwnProperty.call(g,w)){var _=g[w];delete g[w],p.emit("deleteasync",w,[_]);}}),p.on("clear",function(){var w=g;g=o(null),h=o(null),y=o(null),p.emit("clearasync",e(w,function(_){return [_]}));});};}),Iw=F(function(){var e=Gr(),t=Fi(),r=va(),a=Function.prototype.apply;r.dispose=function(n,i,o){var l;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",l=function(p,h){a.call(n,null,h);}),i.on("clearasync",function(c){t(c,function(p,h){l(h,p);});});return}i.on("delete",l=function(p,h){n(h);}),i.on("clear",function(c){t(c,function(p,h){l(h,p);});});};}),Mw=F(function(e,t){t.exports=2147483647;}),Nw=F(function(e,t){var r=ga(),a=Mw();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n};}),Lw=F(function(){var e=Ps(),t=Fi(),r=Ms(),a=Od(),n=Nw(),i=va(),o=Function.prototype,l=Math.max,c=Math.min,p=Object.create;i.maxAge=function(h,g,y){var w,_,D,C;h=n(h),h&&(w=p(null),_=y.async&&i.async||y.promise&&i.promise?"async":"",g.on("set"+_,function(R){w[R]=setTimeout(function(){g.delete(R);},h),typeof w[R].unref=="function"&&w[R].unref(),C&&(C[R]&&C[R]!=="nextTick"&&clearTimeout(C[R]),C[R]=setTimeout(function(){delete C[R];},D),typeof C[R].unref=="function"&&C[R].unref());}),g.on("delete"+_,function(R){clearTimeout(w[R]),delete w[R],C&&(C[R]!=="nextTick"&&clearTimeout(C[R]),delete C[R]);}),y.preFetch&&(y.preFetch===true||isNaN(y.preFetch)?D=.333:D=l(c(Number(y.preFetch),1),0),D&&(C={},D=(1-D)*h,g.on("get"+_,function(R,T,O){C[R]||(C[R]="nextTick",r(function(){var P;C[R]==="nextTick"&&(delete C[R],g.delete(R),y.async&&(T=e(T),T.push(o)),P=g.memoized.apply(O,T),y.promise&&a(P)&&(typeof P.done=="function"?P.done(o,o):P.then(o,o)));}));}))),g.on("clear"+_,function(){t(w,function(R){clearTimeout(R);}),w={},C&&(t(C,function(R){R!=="nextTick"&&clearTimeout(R);}),C={});}));};}),Bw=F(function(e,t){var r=ga(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,l=1,c=a(null),p=a(null),h=0,g;return i=r(i),{hit:function(w){var _=p[w],D=++h;if(c[D]=w,p[w]=D,!_)return ++o,o<=i?void 0:(w=c[l],g(w),w);if(delete c[_],l===_)for(;!n.call(c,++l););},delete:g=function(w){var _=p[w];if(_&&(delete c[_],delete p[w],--o,l===_)){if(!o){h=0,l=1;return}for(;!n.call(c,++l););}},clear:function(){o=0,l=1,c=a(null),p=a(null),h=0;}}};}),qw=F(function(){var e=ga(),t=Bw(),r=va();r.max=function(a,n,i){var o,l,c;a=e(a),a&&(l=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,c=function(h){h=l.hit(h),h!==void 0&&n.delete(h);}),n.on("get"+o,c),n.on("delete"+o,l.delete),n.on("clear"+o,l.clear));};}),$w=F(function(){var e=ya(),t=va(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var l,c;l=r(null),c=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+c,function(p,h){l[p]=h||1;}),i.on("get"+c,function(p){++l[p];}),i.on("delete"+c,function(p){delete l[p];}),i.on("clear"+c,function(){l={};}),a(i.memoized,{deleteRef:e(function(){var p=i.get(arguments);return p===null||!l[p]?null:--l[p]?false:(i.delete(p),true)}),getRefCount:e(function(){var p=i.get(arguments);return p===null||!l[p]?0:l[p]})});};}),jw=F(function(e,t){var r=Ed(),a=Dd(),n=yw();t.exports=function(i){var o=r(arguments[1]),l;return o.normalizer||(l=o.length=a(o.length,i.length,o.async),l!==0&&(o.primitive?l===false?o.normalizer=bw():l>1&&(o.normalizer=ww()(l)):l===false?o.normalizer=Dw()():l===1?o.normalizer=Aw()():o.normalizer=Cw()(l))),o.async&&Rw(),o.promise&&Pw(),o.dispose&&Iw(),o.maxAge&&Lw(),o.max&&qw(),o.refCounter&&$w(),n(i,o)};}),zw=[{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"])};zw.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;dr[t]=r,dr[t+"_PRIO"]=a,dr[t+"_GROUP"]=n,dr.results[a]=r,dr.resultGroups[a]=n,dr.resultGroupMap[r]=n;}),Object.freeze(dr.results),Object.freeze(dr.resultGroups),Object.freeze(dr.resultGroupMap),Object.freeze(dr);var Ce=dr;function Hw(){(typeof console>"u"?"undefined":U(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var ba=Hw,Vw=/[\t\r\n\f]/g,Gw=(function(){function e(){or(this,e),this.parent=void 0;}return sr(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 a=this.attr("class");if(!a)return false;var n=" "+r+" ";return (" "+a+" ").replace(Vw," ").indexOf(n)>=0}}])})(),vt=Gw,Ns={};lr(Ns,{DqElement:function(){return Jt},RuleError:function(){return Bo},aggregate:function(){return Pi},aggregateChecks:function(){return Md},aggregateNodeResults:function(){return Nd},aggregateResult:function(){return Ld},areStylesSet:function(){return Jw},assert:function(){return Ne},checkHelper:function(){return cl},clone:function(){return Mr},closest:function(){return zt},collectResultsFromFrames:function(){return Rp},contains:function(){return Nr},convertSelector:function(){return to},cssParser:function(){return sp},deepMerge:function(){return El},escapeSelector:function(){return nt},extendMetaData:function(){return Dl},filterHtmlAttrs:function(){return zh},finalizeRuleResult:function(){return gn},findBy:function(){return Mn},getAllChecks:function(){return oo},getAncestry:function(){return eo},getBaseLang:function(){return Ra},getCheckMessage:function(){return vC},getCheckOption:function(){return Oo},getElementSource:function(){return ip},getEnvironmentData:function(){return aa},getFlattenedTree:function(){return fu},getFrameContexts:function(){return IC},getFriendlyUriEnd:function(){return $d},getNodeAttributes:function(){return bn},getNodeFromTree:function(){return Te},getPreloadConfig:function(){return Bh},getRootNode:function(){return Nn},getRule:function(){return xh},getScroll:function(){return qr},getScrollState:function(){return LC},getSelector:function(){return ll},getSelectorData:function(){return Qi},getShadowSelector:function(){return il},getStandards:function(){return BC},getStyleSheetFactory:function(){return Ah},getXpath:function(){return np},injectStyle:function(){return jC},isArrayLike:function(){return vu},isContextObject:function(){return yu},isContextProp:function(){return Io},isContextSpec:function(){return Ch},isHidden:function(){return zC},isHtmlElement:function(){return wu},isLabelledFramesSelector:function(){return bu},isLabelledShadowDomSelector:function(){return Mo},isNodeInContext:function(){return _u},isShadowRoot:function(){return lo},isValidLang:function(){return $o},isXHTML:function(){return Tn},matchAncestry:function(){return xu},matches:function(){return fl},matchesExpression:function(){return Na},matchesSelector:function(){return Pa},memoize:function(){return We},mergeResults:function(){return so},nodeLookup:function(){return Me},nodeSerializer:function(){return Qt},nodeSorter:function(){return Eu},objectHasOwn:function(){return Cr},parseCrossOriginStylesheet:function(){return Au},parseSameOriginStylesheet:function(){return Sh},parseStylesheet:function(){return Du},parseTabindex:function(){return Rr},performanceTimer:function(){return Be},pollyfillElementsFromPoint:function(){return kh},preload:function(){return Nh},preloadCssom:function(){return Oh},preloadMedia:function(){return Mh},processMessage:function(){return gu},publishMetaData:function(){return No},querySelectorAll:function(){return Ut},querySelectorAllFilter:function(){return Tr},queue:function(){return xr},respondable:function(){return hr},ruleShouldRun:function(){return jh},select:function(){return Cu},sendCommandToFrame:function(){return Ep},serializeError:function(){return Lo},setScrollState:function(){return _R},shadowSelect:function(){return xR},shadowSelectAll:function(){return Ru},shouldPreload:function(){return Lh},toArray:function(){return qd},tokenList:function(){return Pt},uniqueArray:function(){return Zn},uuid:function(){return Cx},validInputTypes:function(){return qo},validLangs:function(){return Wh}});function Uw(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var Pi=Uw,Ww=Ce.CANTTELL_PRIO,Yw=Ce.FAIL_PRIO,Ii=[];Ii[Ce.PASS_PRIO]=true,Ii[Ce.CANTTELL_PRIO]=null,Ii[Ce.FAIL_PRIO]=false;var Pd=["any","all","none"];function Id(e,t){return Pd.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function Kw(e){var t=Object.assign({},e);Id(t,function(n,i){var o=typeof n.result>"u"?-1:Ii.indexOf(n.result);n.priority=o!==-1?o:Ce.CANTTELL_PRIO,i==="none"&&(n.priority===Ce.PASS_PRIO?n.priority=Ce.FAIL_PRIO:n.priority===Ce.FAIL_PRIO&&(n.priority=Ce.PASS_PRIO));});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return Pd.forEach(function(n){t[n]=t[n].filter(function(i){return i.priority===t.priority&&i.priority===r[n]}),t[n].forEach(function(i){return a.push(i.impact)});}),[Ww,Yw].includes(t.priority)?t.impact=Pi(Ce.impact,a):t.impact=null,Id(t,function(n){delete n.result,delete n.priority;}),t.result=Ce.results[t.priority],delete t.priority,t}var Md=Kw;function gn(e){var t=m._audit.rules.find(function(r){var a=r.id;return a===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(a){(r[a]||[]).forEach(function(n){n.impact=t.impact;});});}),Object.assign(e,Nd(e.nodes)),delete e.nodes,e}function Xw(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Md(i);if(Array.isArray(i.node))return gn(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Pi(Ce.results,r,t.result);}else t.result="inapplicable";Ce.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Ce.resultGroupMap[i.result];t[o].push(i);});var a=Ce.FAIL_GROUP;if(t[a].length===0&&(a=Ce.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Pi(Ce.impact,n)||null;}else t.impact=null;return t}var Nd=Xw;function Ls(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),Ce.resultGroups.forEach(function(n){delete a[n];}),e[r].push(a);}function Zw(e){var t={};return Ce.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Ls(t,r,Ce.CANTTELL_GROUP):r.result===Ce.NA?Ls(t,r,Ce.NA_GROUP):Ce.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Ls(t,r,a);});}),t}var Ld=Zw;function Bd(e,t,r){var a=s.getComputedStyle(e,null);if(!a)return false;for(var n=0;n<t.length;++n){var i=t[n];if(a.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:Bd(e.parentNode,t,r)}var Jw=Bd;function Qw(e,t){if(!e)throw new Error(t)}var Ne=Qw;function e_(e){return Array.prototype.slice.call(e)}var qd=e_;function t_(e){for(var t=String(e),r=t.length,a=-1,n,i="",o=t.charCodeAt(0);++a<r;){if(n=t.charCodeAt(a),n==0){i+="\uFFFD";continue}if(n>=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a);}return i}var nt=t_;function r_(){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 vn(e,t){return [e.substring(0,t),e.substring(t)]}function yn(e){return e.replace(/\s+$/,"")}function a_(e){var t=e,r="",a="",n="",i="",o="",l="";if(e.includes("#")){var c=vn(e,e.indexOf("#")),p=ie(c,2);e=p[0],l=p[1];}if(e.includes("?")){var h=vn(e,e.indexOf("?")),g=ie(h,2);e=g[0],o=g[1];}if(e.includes("://")){var y=e.split("://"),w=ie(y,2);r=w[0],e=w[1];var _=vn(e,e.indexOf("/")),D=ie(_,2);a=D[0],e=D[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var C=vn(e,e.indexOf("/")),R=ie(C,2);a=R[0],e=R[1];}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var T=vn(a,a.indexOf(":")),O=ie(T,2);a=O[0],n=O[1];}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:l}}function n_(){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,a=t.maxLength,n=a===void 0?25:a,i=a_(e),o=i.path,l=i.domain,c=i.hash,p=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(c)return p&&(p+c).length<=n?yn(p+c):p.length<2&&c.length>2&&c.length<=n?yn(c):void 0;if(l&&l.length<n&&o.length<=1||o==="/"+p&&l&&r&&l!==r&&(l+o).length<=n)return yn(l+o);var h=p.lastIndexOf(".");if((h===-1||h>1)&&(h!==-1||p.length>2)&&p.length<=n&&!p.match(/index(\.[a-zA-Z]{2-4})?/)&&!r_(p))return yn(p)}}var $d=n_;function i_(e){return e.attributes instanceof s.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var bn=i_,o_=(function(){var e;function t(r){var a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length,i,o;for(i=0;i<n;i++)if(o=a[i],r[o])return o}return function(r,a){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](a):false}})(),Pa=o_,jd={};lr(jd,{ArrayFrom:function(){return Jf.default},Colorjs:function(){return Ge},CssSelectorParser:function(){return zd.CssSelectorParser},doT:function(){return Ur.default},emojiRegexText:function(){return Bs},memoize:function(){return Hd.default}});var s_=br(Cb()),l_=br(Rb());br(Tb());var u_=br(zb()),c_=br(Qb()),d_=br(_d());"hasOwn"in Object||(Object.hasOwn=u_.default),"values"in Object||(Object.values=c_.default),"Promise"in s||s_.default.polyfill(),"Uint32Array"in s||(s.Uint32Array=l_.Uint32Array),s.Uint32Array&&("some"in s.Uint32Array.prototype||Object.defineProperty(s.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in s.Uint32Array.prototype||Object.defineProperty(s.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 a=arguments[r];if(a!=null)for(var n in a)a.hasOwnProperty(n)&&(t[n]=a[n]);}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),a=r.length>>>0,n=arguments[1],i,o=0;o<a;o++)if(i=r[o],t.call(n,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 a=Object(this),n=a.length>>>0,i,o=0;o<n;o++)if(i=a[o],t.call(r,i,o,a))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),a=parseInt(r.length,10)||0;if(a===0)return false;var n=parseInt(arguments[1],10)||0,i;n>=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i<a;){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),a=r.length>>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;i<a;i++)if(i in r&&t.call(n,r[i],i,r))return true;return false}}),Array.from||(Array.from=d_.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,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:true}),s.Node&&!("isConnected"in s.Node.prototype)&&Object.defineProperty(s.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var zd=br(F0()),Ur=br(O0()),Bs=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},Hd=br(jw());function lt(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return [o]}));var a=t[0].length,n=t[0].map(function(o,l){return t.map(function(c){return c[l]})}),i=e.map(function(o){return n.map(function(l){var c=0;if(!Array.isArray(o)){var p=Ve(l),h;try{for(p.s();!(h=p.n()).done;){var g=h.value;c+=o*g;}}catch(w){p.e(w);}finally{p.f();}return c}for(var y=0;y<o.length;y++)c+=o[y]*(l[y]||0);return c})});return r===1&&(i=i[0]),a===1?i.map(function(o){return o[0]}):i}function wn(e){return Wr(e)==="string"}function Wr(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 a=Math.pow(10,r-t);return Math.round(e/a)*a}function Vd(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[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),n.push(o);}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function Gd(e){return e[e.length-1]}function Ni(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ud(e,t,r){return (r-e)/(t-e)}function qs(e,t,r){return Ni(t[0],t[1],Ud(e[0],e[1],r))}function Wd(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var f_=Object.freeze({__proto__:null,isString:wn,type:Wr,toPrecision:Mi,parseFunction:Vd,last:Gd,interpolate:Ni,interpolateInv:Ud,mapRange:qs,parseCoordGrammar:Wd,multiplyMatrices:lt}),p_=(function(){function e(){or(this,e);}return sr(e,[{key:"add",value:function(r,a,n){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]||[],a&&this[i][n?"unshift":"push"](a);},this);}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a);});}}])})(),Yr=new p_,_r={gamut_mapping:"lch.c",precision:5,deltaE:"76"},fr={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function $s(e){return Array.isArray(e)?e:fr[e]}function Li(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=$s(e),t=$s(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 n={W1:e,W2:t,XYZ:r,options:a};if(Yr.run("chromatic-adaptation-start",n),n.M||(n.W1===fr.D65&&n.W2===fr.D50?n.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===fr.D50&&n.W2===fr.D65&&(n.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),Yr.run("chromatic-adaptation-end",n),n.M)return lt(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var h_=75e-6,pr=(L=new WeakSet,j=new WeakMap,(function(){function e(t){var r,a,n,i,o,l,c;or(this,e),Uc(this,L),Hr(this,j,void 0),this.id=t.id,this.name=t.name,this.base=t.base?pr.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var p=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=p;var h=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=$s(h),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var g in this.formats){var y=this.formats[g];y.type||(y.type="function"),y.name||(y.name=g);}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})):(l=this.formats)!==null&&l!==void 0&&l.color&&!((c=this.formats)!==null&&c!==void 0&&c.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Mt(j,this,ka(L,this,m_).call(this).reverse()),Yr.run("colorspace-init-end",this);}return sr(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?h_:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(l,c){var p=o[c];if(p.type!=="angle"&&p.range){if(Number.isNaN(l))return true;var h=ie(p.range,2),g=h[0],y=h[1];return (g===void 0||l>=g-i)&&(y===void 0||l<=y+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(U(r)==="object")return r=ka(L,this,Yd).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=ka(L,this,Yd).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}if(r=pr.get(r),this===r)return a;a=a.map(function(y){return Number.isNaN(y)?0:y});for(var i=ir(j,this),o=ir(j,r),l,c,p=0;p<i.length&&i[p]===o[p];p++)l=i[p],c=p;if(!l)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var h=i.length-1;h>c;h--)a=i[h].toBase(a);for(var g=c+1;g<o.length;g++)a=o[g].fromBase(a);return a}},{key:"from",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1];}return r=pr.get(r),r.to(this,a)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var a in this.coords){var n,i=this.coords[a],o=i.range||i.refRange;r.push((n=o?.min)!==null&&n!==void 0?n:0);}return r}}],[{key:"all",get:function(){return ve(new Set(Object.values(pr.registry)))}},{key:"register",value:function(r,a){if(arguments.length===1&&(a=arguments[0],r=a.id),a=this.get(a),this.registry[r]&&this.registry[r]!==a)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=a,arguments.length===1&&a.aliases){var n=Ve(a.aliases),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;this.register(o,a);}}catch(l){n.e(l);}finally{n.f();}}return a}},{key:"get",value:function(r){if(!r||r instanceof pr)return r;var a=Wr(r);if(a==="string"){var n=pr.registry[r.toLowerCase()];if(!n)throw new TypeError('No color space found with id = "'.concat(r,'"'));return n}for(var i=arguments.length,o=new Array(i>1?i-1:0),l=1;l<i;l++)o[l-1]=arguments[l];if(o.length)return pr.get.apply(pr,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,a){var n=Wr(r),i,o;if(n==="string")if(r.includes(".")){var l=r.split("."),c=ie(l,2);i=c[0],o=c[1];}else i=void 0,o=r;else if(Array.isArray(r)){var p=ie(r,2);i=p[0],o=p[1];}else i=r.space,o=r.coordId;if(i=pr.get(i),i||(i=a),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(n=Wr(o),n==="number"||n==="string"&&o>=0){var h=Object.entries(i.coords)[o];if(h)return Se({space:i,id:h[0],index:o},h[1])}i=pr.get(i);var g=o.toLowerCase(),y=0;for(var w in i.coords){var _,D=i.coords[w];if(w.toLowerCase()===g||((_=D.name)===null||_===void 0?void 0:_.toLowerCase())===g)return Se({space:i,id:w,index:y},D);y++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Yd(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Wd(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=ie(r,2);n[0];var o=n[1],l=e.coordGrammar[a][0],c=o.range||o.refRange,p=l.range,h="";return l=="<percentage>"?(p=[0,100],h="%"):l=="<angle>"&&(h="deg"),{fromRange:c,toRange:p,suffix:h}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],l=o.fromRange,c=o.toRange,p=o.suffix;return l&&c&&(n=qs(l,c,n)),n=Mi(n,a),p&&(n+=p),n})};}return e}function m_(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ye=pr;Jc(ye,"registry",{}),Jc(ye,"DEFAULT_FORMAT",{type:"functions",name:"color"});var Kt=new ye({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"]}),Lt=(function(e){function t(r){var a,n;if(or(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=Kt),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(l){var c=lt(r.toXYZ_M,l);return n.white!==n.base.white&&(c=Li(n.white,n.base.white,c)),c}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(l){return l=Li(n.base.white,n.white,l),lt(r.fromXYZ_M,l)});}return (a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=vi(this,t,[r])}return yi(t,e),sr(t)})(ye);function Kd(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(Yr.run("parse-start",r),r.color)return r.color;if(r.parsed=Vd(r.str),r.parsed){var a=r.parsed.name;if(a==="color"){var n=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=Ve(ye.all),l;try{var c=function(){var ae=l.value,H=ae.getFormat("color");if(H){var X;if(n===H.id||(X=H.ids)!==null&&X!==void 0&&X.includes(n)){var ee=Object.keys(ae.coords).length,ne=Array(ee).fill(0);return ne.forEach(function(me,xe){return ne[xe]=r.parsed.args[xe]||0}),{v:{spaceId:ae.id,coords:ne,alpha:i}}}}},p;for(o.s();!(l=o.n()).done;)if(p=c(),p)return p.v}catch(W){o.e(W);}finally{o.f();}var h="";if(n in ye.registry){var g,y=(g=ye.registry[n].formats)===null||g===void 0||(g=g.functions)===null||g===void 0||(g=g.color)===null||g===void 0?void 0:g.id;y&&(h="Did you mean color(".concat(y,")?"));}throw new TypeError("Cannot parse color(".concat(n,"). ")+(h||"Missing a plugin?"))}else {var w=Ve(ye.all),_;try{var D=function(){var ae=_.value,H=ae.getFormat(a);if(H&&H.type==="function"){var X=1;(H.lastAlpha||Gd(r.parsed.args).alpha)&&(X=r.parsed.args.pop());var ee=r.parsed.args;return H.coordGrammar&&Object.entries(ae.coords).forEach(function(ne,me){var xe,ce=ie(ne,2),be=ce[0],J=ce[1],he=H.coordGrammar[me],N=(xe=ee[me])===null||xe===void 0?void 0:xe.type;if(he=he.find(function(_e){return _e==N}),!he){var oe=J.name||be;throw new TypeError("".concat(N," not allowed for ").concat(oe," in ").concat(a,"()"))}var K=he.range;N==="<percentage>"&&(K||(K=[0,1]));var se=J.range||J.refRange;K&&se&&(ee[me]=qs(K,se,ee[me]));}),{v:{spaceId:ae.id,coords:ee,alpha:X}}}},C;for(w.s();!(_=w.n()).done;)if(C=D(),C)return C.v}catch(W){w.e(W);}finally{w.f();}}}else {var R=Ve(ye.all),T;try{for(R.s();!(T=R.n()).done;){var O=T.value;for(var P in O.formats){var M=O.formats[P];if(M.type==="custom"&&!(M.test&&!M.test(r.str))){var B=M.parse(r.str);if(B){var z;return (z=B.alpha)!==null&&z!==void 0||(B.alpha=1),B}}}}}catch(W){R.e(W);}finally{R.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function qe(e){if(!e)throw new TypeError("Empty color reference");wn(e)&&(e=Kd(e));var t=e.space||e.spaceId;return t instanceof ye||(e.space=ye.get(t)),e.alpha===void 0&&(e.alpha=1),e}function _n(e,t){return t=ye.get(t),t.from(e)}function Xt(e,t){var r=ye.resolveCoord(t,e.space),a=r.space,n=r.index,i=_n(e,a);return i[n]}function Xd(e,t,r){return t=ye.get(t),e.coords=t.to(e.space,r),e}function Kr(e,t,r){if(e=qe(e),arguments.length===2&&Wr(arguments[1])==="object"){var a=arguments[1];for(var n in a)Kr(e,n,a[n]);}else {typeof r=="function"&&(r=r(Xt(e,t)));var i=ye.resolveCoord(t,e.space),o=i.space,l=i.index,c=_n(e,o);c[l]=r,Xd(e,o,c);}return e}var js=new ye({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Kt,fromBase:function(t){return Li(Kt.white,"D50",t)},toBase:function(t){return Li("D50",Kt.white,t)},formats:{color:{}}}),g_=216/24389,Zd=24/116,Bi=24389/27,zs=fr.D50,jt=new ye({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:zs,base:js,fromBase:function(t){var r=t.map(function(n,i){return n/zs[i]}),a=r.map(function(n){return n>g_?Math.cbrt(n):(Bi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[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 a=[r[0]>Zd?Math.pow(r[0],3):(116*r[0]-16)/Bi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Bi,r[2]>Zd?Math.pow(r[2],3):(116*r[2]-16)/Bi];return a.map(function(n,i){return n*zs[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function qi(e){return (e%360+360)%360}function v_(e,t){if(e==="raw")return t;var r=t.map(qi),a=ie(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var xn=new ye({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:jt,fromBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2],o,l=.02;return Math.abs(n)<l&&Math.abs(i)<l?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),qi(o)]},toBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2];return n<0&&(n=0),isNaN(i)&&(i=0),[a,n*Math.cos(i*Math.PI/180),n*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Jd=Math.pow(25,7),$i=Math.PI,Qd=180/$i,Ia=$i/180;function Hs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,l=r.kH,c=l===void 0?1:l,p=jt.from(e),h=ie(p,3),g=h[0],y=h[1],w=h[2],_=xn.from(jt,[g,y,w])[1],D=jt.from(t),C=ie(D,3),R=C[0],T=C[1],O=C[2],P=xn.from(jt,[R,T,O])[1];_<0&&(_=0),P<0&&(P=0);var M=(_+P)/2,B=Math.pow(M,7),z=.5*(1-Math.sqrt(B/(B+Jd))),W=(1+z)*y,ae=(1+z)*T,H=Math.sqrt(Math.pow(W,2)+Math.pow(w,2)),X=Math.sqrt(Math.pow(ae,2)+Math.pow(O,2)),ee=W===0&&w===0?0:Math.atan2(w,W),ne=ae===0&&O===0?0:Math.atan2(O,ae);ee<0&&(ee+=2*$i),ne<0&&(ne+=2*$i),ee*=Qd,ne*=Qd;var me=R-g,xe=X-H,ce=ne-ee,be=ee+ne,J=Math.abs(ce),he;H*X===0?he=0:J<=180?he=ce:ce>180?he=ce-360:ce<-180?he=ce+360:console.log("the unthinkable has happened");var N=2*Math.sqrt(X*H)*Math.sin(he*Ia/2),oe=(g+R)/2,K=(H+X)/2,se=Math.pow(K,7),_e;H*X===0?_e=be:J<=180?_e=be/2:be<360?_e=(be+360)/2:_e=(be-360)/2;var ue=Math.pow(oe-50,2),fe=1+.015*ue/Math.sqrt(20+ue),Oe=1+.045*K,$e=1;$e-=.17*Math.cos((_e-30)*Ia),$e+=.24*Math.cos(2*_e*Ia),$e+=.32*Math.cos((3*_e+6)*Ia),$e-=.2*Math.cos((4*_e-63)*Ia);var Ue=1+.015*K*$e,it=30*Math.exp(-1*Math.pow((_e-275)/25,2)),dt=2*Math.sqrt(se/(se+Jd)),ct=-1*Math.sin(2*it*Ia)*dt,Ke=Math.pow(me/(n*fe),2);return Ke+=Math.pow(xe/(o*Oe),2),Ke+=Math.pow(N/(c*Ue),2),Ke+=ct*(xe/(o*Oe))*(N/(c*Ue)),Math.sqrt(Ke)}var y_=75e-6;function En(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?y_:a;e=qe(e),t=ye.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function Dn(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Xr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?_r.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(wn(arguments[1])&&(i=arguments[1]),i=ye.get(i),En(e,i,{epsilon:0}))return e;var o=Zt(e,i);if(a!=="clip"&&!En(e,i)){var l=Xr(Dn(o),{method:"clip",space:i});if(Hs(e,l)>2){for(var c=ye.resolveCoord(a),p=c.space,h=c.id,g=Zt(o,p),y=c.range||c.refRange,w=y[0],_=.01,D=w,C=Xt(g,h);C-D>_;){var R=Dn(g);R=Xr(R,{space:i,method:"clip"});var T=Hs(g,R);T-2<_?D=Xt(g,h):C=Xt(g,h),Kr(g,h,(D+C)/2);}o=Zt(g,i);}else o=l;}if(a==="clip"||!En(o,i,{epsilon:0})){var O=Object.values(i.coords).map(function(P){return P.range||[]});o.coords=o.coords.map(function(P,M){var B=ie(O[M],2),z=B[0],W=B[1];return z!==void 0&&(P=Math.max(z,P)),W!==void 0&&(P=Math.min(P,W)),P});}return i!==e.space&&(o=Zt(o,e.space)),e.coords=o.coords,e}Xr.returns="color";function Zt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=qe(e),t=ye.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=Xr(i)),i}Zt.returns="color";function ji(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?_r.precision:n,o=a.format,l=o===void 0?"default":o,c=a.inGamut,p=c===void 0?true:c,h=Ee(a,b),g;e=qe(e);var y=l;l=(t=(r=e.space.getFormat(l))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:ye.DEFAULT_FORMAT,p||(p=l.toGamut);var w=e.coords;if(w=w.map(function(P){return P||0}),p&&!En(e)&&(w=Xr(Dn(e),p===true?void 0:p).coords),l.type==="custom")if(h.precision=i,l.serialize)g=l.serialize(w,e.alpha,h);else throw new TypeError("format ".concat(y," can only be used to parse colors, not for serialization"));else {var _=l.name||"color";l.serializeCoords?w=l.serializeCoords(w,i):i!==null&&(w=w.map(function(P){return Mi(P,i)}));var D=ve(w);if(_==="color"){var C,R=l.id||((C=l.ids)===null||C===void 0?void 0:C[0])||e.space.id;D.unshift(R);}var T=e.alpha;i!==null&&(T=Mi(T,i));var O=e.alpha<1&&!l.noAlpha?"".concat(l.commas?",":" /"," ").concat(T):"";g="".concat(_,"(").concat(D.join(l.commas?", ":" ")).concat(O,")");}return g}var b_=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],w_=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],zi=new Lt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:b_,fromXYZ_M:w_,formats:{color:{}}}),Hi=1.09929682680944,ef=.018053968510807,tf=new Lt({id:"rec2020",name:"REC.2020",base:zi,toBase:function(t){return t.map(function(r){return r<ef*4.5?r/4.5:Math.pow((r+Hi-1)/Hi,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=ef?Hi*Math.pow(r,.45)-(Hi-1):4.5*r})},formats:{color:{}}}),__=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],x_=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],rf=new Lt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:__,fromXYZ_M:x_}),E_=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],D_=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],af=new Lt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:E_,fromXYZ_M:D_,formats:{color:{}}}),nf={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]},of=Array(3).fill("<percentage> | <number>[0, 255]"),sf=Array(3).fill("<number>[0, 255]"),An=new Lt({id:"srgb",name:"sRGB",base:af,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:of},rgb_number:{name:"rgb",commas:true,coords:sf,noAlpha:true},color:{},rgba:{coords:of,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:sf},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(a){r.push(parseInt(a,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?true:n;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}),l=t.map(function(c){return o?(c/17).toString(16):c.toString(16).padStart(2,"0")}).join("");return "#"+l}},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=nf.black,r.alpha=0):r.coords=nf[t],r.coords)return r}}}}),lf=new Lt({id:"p3",name:"P3",base:rf,fromBase:An.fromBase,toBase:An.toBase,formats:{color:{id:"display-p3"}}});if(_r.display_space=An,typeof CSS<"u"&&(Z=CSS)!==null&&Z!==void 0&&Z.supports)for(var Vs=0,uf=[jt,tf,lf];Vs<uf.length;Vs++){var Gs=uf[Vs],A_=Gs.getMinCoords(),C_={space:Gs,coords:A_,alpha:1},R_=ji(C_);if(CSS.supports("color",R_)){_r.display_space=Gs;break}}function T_(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?_r.display_space:a,i=Ee(r,x),o=ji(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!_r.display_space)o=new String(o),o.color=e;else {var l=Zt(e,n);o=new String(ji(l,i)),o.color=l;}return o}function cf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=ye.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,l){var c=n[l];return isNaN(o)||isNaN(c)?i:i+Math.pow(c-o,2)},0))}function S_(e,t){return e=qe(e),t=qe(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function Zr(e){return Xt(e,[Kt,"y"])}function df(e,t){Kr(e,[Kt,"y"],t);}function k_(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Zr(this)},set:function(r){df(this,r);}});}var F_=Object.freeze({__proto__:null,getLuminance:Zr,setLuminance:df,register:k_});function O_(e,t){e=qe(e),t=qe(t);var r=Math.max(Zr(e),0),a=Math.max(Zr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return (r+.05)/(a+.05)}var P_=.56,I_=.57,M_=.62,N_=.65,ff=.022,L_=1.414,B_=.1,q_=5e-4,$_=1.14,pf=.027,j_=1.14;function hf(e){return e>=ff?e:e+Math.pow(ff-e,L_)}function Ma(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function z_(e,t){t=qe(t),e=qe(e);var r,a,n,i,o,l;t=Zt(t,"srgb");var c=ie(t.coords,3);i=c[0],o=c[1],l=c[2];var p=Ma(i)*.2126729+Ma(o)*.7151522+Ma(l)*.072175;e=Zt(e,"srgb");var h=ie(e.coords,3);i=h[0],o=h[1],l=h[2];var g=Ma(i)*.2126729+Ma(o)*.7151522+Ma(l)*.072175,y=hf(p),w=hf(g),_=w>y;return Math.abs(w-y)<q_?a=0:_?(r=Math.pow(w,P_)-Math.pow(y,I_),a=r*$_):(r=Math.pow(w,N_)-Math.pow(y,M_),a=r*j_),Math.abs(a)<B_?n=0:a>0?n=a-pf:n=a+pf,n*100}function H_(e,t){e=qe(e),t=qe(t);var r=Math.max(Zr(e),0),a=Math.max(Zr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}var i=r+a;return i===0?0:(r-a)/i}var V_=5e4;function G_(e,t){e=qe(e),t=qe(t);var r=Math.max(Zr(e),0),a=Math.max(Zr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1];}return a===0?V_:(r-a)/a}function U_(e,t){e=qe(e),t=qe(t);var r=Xt(e,[jt,"l"]),a=Xt(t,[jt,"l"]);return Math.abs(r-a)}var W_=216/24389,mf=24/116,Vi=24389/27,Us=fr.D65,Ws=new ye({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Us,base:Kt,fromBase:function(t){var r=t.map(function(n,i){return n/Us[i]}),a=r.map(function(n){return n>W_?Math.cbrt(n):(Vi*n+16)/116});return [116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[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 a=[r[0]>mf?Math.pow(r[0],3):(116*r[0]-16)/Vi,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Vi,r[2]>mf?Math.pow(r[2],3):(116*r[2]-16)/Vi];return a.map(function(n,i){return n*Us[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Ys=Math.pow(5,.5)*.5+.5;function Y_(e,t){e=qe(e),t=qe(t);var r=Xt(e,[Ws,"l"]),a=Xt(t,[Ws,"l"]),n=Math.abs(Math.pow(r,Ys)-Math.pow(a,Ys)),i=Math.pow(n,1/Ys)*Math.SQRT2-40;return i<7.5?0:i}var Gi=Object.freeze({__proto__:null,contrastWCAG21:O_,contrastAPCA:z_,contrastMichelson:H_,contrastWeber:G_,contrastLstar:U_,contrastDeltaPhi:Y_});function K_(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};wn(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Ee(a,E);if(!n){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=qe(e),t=qe(t);for(var l in Gi)if("contrast"+n.toLowerCase()===l.toLowerCase())return Gi[l](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function gf(e){var t=_n(e,Kt),r=ie(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return [4*a/o,9*n/o]}function vf(e){var t=_n(e,Kt),r=ie(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return [a/o,n/o]}function X_(e){Object.defineProperty(e.prototype,"uv",{get:function(){return gf(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return vf(this)}});}var Z_=Object.freeze({__proto__:null,uv:gf,xy:vf,register:X_});function J_(e,t){return cf(e,t,"lab")}var Q_=Math.PI,yf=Q_/180;function e2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,l=jt.from(e),c=ie(l,3),p=c[0],h=c[1],g=c[2],y=xn.from(jt,[p,h,g]),w=ie(y,3),_=w[1],D=w[2],C=jt.from(t),R=ie(C,3),T=R[0],O=R[1],P=R[2],M=xn.from(jt,[T,O,P])[1];_<0&&(_=0),M<0&&(M=0);var B=p-T,z=_-M,W=h-O,ae=g-P,H=Math.pow(W,2)+Math.pow(ae,2)-Math.pow(z,2),X=.511;p>=16&&(X=.040975*p/(1+.01765*p));var ee=.0638*_/(1+.0131*_)+.638,ne;Number.isNaN(D)&&(D=0),D>=164&&D<=345?ne=.56+Math.abs(.2*Math.cos((D+168)*yf)):ne=.36+Math.abs(.4*Math.cos((D+35)*yf));var me=Math.pow(_,4),xe=Math.sqrt(me/(me+1900)),ce=ee*(xe*ne+1-xe),be=Math.pow(B/(n*X),2);return be+=Math.pow(z/(o*ee),2),be+=H/Math.pow(ce,2),Math.sqrt(be)}var bf=203,Ks=new ye({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:Kt,fromBase:function(t){return t.map(function(r){return Math.max(r*bf,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/bf,0)})}}),Ui=1.15,Wi=.66,wf=2610/Math.pow(2,14),t2=Math.pow(2,14)/2610,_f=3424/Math.pow(2,12),xf=2413/Math.pow(2,7),Ef=2392/Math.pow(2,7),r2=1.7*2523/Math.pow(2,5),Df=Math.pow(2,5)/(1.7*2523),Yi=-0.56,Xs=16295499532821565e-27,a2=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],n2=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],i2=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],o2=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],Af=new ye({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:Ks,fromBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2],o=Ui*a-(Ui-1)*i,l=Wi*n-(Wi-1)*a,c=lt(a2,[o,l,i]),p=c.map(function(C){var R=_f+xf*Math.pow(C/1e4,wf),T=1+Ef*Math.pow(C/1e4,wf);return Math.pow(R/T,r2)}),h=lt(i2,p),g=ie(h,3),y=g[0],w=g[1],_=g[2],D=(1+Yi)*y/(1+Yi*y)-Xs;return [D,w,_]},toBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2],o=(a+Xs)/(1+Yi-Yi*(a+Xs)),l=lt(o2,[o,n,i]),c=l.map(function(C){var R=_f-Math.pow(C,Df),T=Ef*Math.pow(C,Df)-xf,O=1e4*Math.pow(R/T,t2);return O}),p=lt(n2,c),h=ie(p,3),g=h[0],y=h[1],w=h[2],_=(g+(Ui-1)*w)/Ui,D=(y+(Wi-1)*_)/Wi;return [_,D,w]},formats:{color:{}}}),Zs=new ye({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:Af,fromBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2],o,l=2e-4;return Math.abs(n)<l&&Math.abs(i)<l?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),qi(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 s2(e,t){var r=Zs.from(e),a=ie(r,3),n=a[0],i=a[1],o=a[2],l=Zs.from(t),c=ie(l,3),p=c[0],h=c[1],g=c[2],y=n-p,w=i-h;Number.isNaN(o)&&Number.isNaN(g)?(o=0,g=0):Number.isNaN(o)?o=g:Number.isNaN(g)&&(g=o);var _=o-g,D=2*Math.sqrt(i*h)*Math.sin(_/2*(Math.PI/180));return Math.sqrt(Math.pow(y,2)+Math.pow(w,2)+Math.pow(D,2))}var Cf=3424/4096,Rf=2413/128,Tf=2392/128,Sf=2610/16384,l2=2523/32,u2=16384/2610,kf=32/2523,c2=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],d2=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],f2=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],p2=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],Js=new ye({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:Ks,fromBase:function(t){var r=lt(c2,t);return h2(r)},toBase:function(t){var r=m2(t);return lt(p2,r)},formats:{color:{}}});function h2(e){var t=e.map(function(r){var a=Cf+Rf*Math.pow(r/1e4,Sf),n=1+Tf*Math.pow(r/1e4,Sf);return Math.pow(a/n,l2)});return lt(d2,t)}function m2(e){var t=lt(f2,e),r=t.map(function(a){var n=Math.max(Math.pow(a,kf)-Cf,0),i=Rf-Tf*Math.pow(a,kf);return 1e4*Math.pow(n/i,u2)});return r}function g2(e,t){var r=Js.from(e),a=ie(r,3),n=a[0],i=a[1],o=a[2],l=Js.from(t),c=ie(l,3),p=c[0],h=c[1],g=c[2];return 720*Math.sqrt(Math.pow(n-p,2)+.25*Math.pow(i-h,2)+Math.pow(o-g,2))}var v2=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],y2=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],b2=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],w2=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Ki=new ye({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:Kt,fromBase:function(t){var r=lt(v2,t),a=r.map(function(n){return Math.cbrt(n)});return lt(b2,a)},toBase:function(t){var r=lt(w2,t),a=r.map(function(n){return Math.pow(n,3)});return lt(y2,a)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function _2(e,t){var r=Ki.from(e),a=ie(r,3),n=a[0],i=a[1],o=a[2],l=Ki.from(t),c=ie(l,3),p=c[0],h=c[1],g=c[2],y=n-p,w=i-h,_=o-g;return Math.sqrt(Math.pow(y,2)+Math.pow(w,2)+Math.pow(_,2))}var Qs=Object.freeze({__proto__:null,deltaE76:J_,deltaECMC:e2,deltaE2000:Hs,deltaEJz:s2,deltaEITP:g2,deltaEOK:_2});function Cn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};wn(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?_r.deltaE:n,o=Ee(a,A);e=qe(e),t=qe(t);for(var l in Qs)if("deltae"+i.toLowerCase()===l.toLowerCase())return Qs[l](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function x2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ye.get("oklch","lch"),a=[r,"l"];return Kr(e,a,function(n){return n*(1+t)})}function E2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ye.get("oklch","lch"),a=[r,"l"];return Kr(e,a,function(n){return n*(1-t)})}var D2=Object.freeze({__proto__:null,lighten:x2,darken:E2});function Ff(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[qe(e),qe(t)];if(e=n[0],t=n[1],Wr(r)==="object"){var i=[.5,r];r=i[0],a=i[1];}var o=a,l=o.space,c=o.outputSpace,p=o.premultiplied,h=Rn(e,t,{space:l,outputSpace:c,premultiplied:p});return h(r)}function Of(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(el(e)){a=e,r=t;var n=ie(a.rangeArgs.colors,2);e=n[0],t=n[1];}var i=r,o=i.maxDeltaE,l=i.deltaEMethod,c=i.steps,p=c===void 0?2:c,h=i.maxSteps,g=h===void 0?1e3:h,y=Ee(i,S);if(!a){var w=[qe(e),qe(t)];e=w[0],t=w[1],a=Rn(e,t,y);}var _=Cn(e,t),D=o>0?Math.max(p,Math.ceil(_/o)+1):p,C=[];if(g!==void 0&&(D=Math.min(D,g)),D===1)C=[{p:.5,color:a(.5)}];else {var R=1/(D-1);C=Array.from({length:D},function(W,ae){var H=ae*R;return {p:H,color:a(H)}});}if(o>0)for(var T=C.reduce(function(W,ae,H){if(H===0)return 0;var X=Cn(ae.color,C[H-1].color,l);return Math.max(W,X)},0);T>o;){T=0;for(var O=1;O<C.length&&C.length<g;O++){var P=C[O-1],M=C[O],B=(M.p+P.p)/2,z=a(B);T=Math.max(T,Cn(z,P.color),Cn(z,M.color)),C.splice(O,0,{p:B,color:a(B)}),O++;}}return C=C.map(function(W){return W.color}),C}function Rn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(el(e)){var a=e,n=t;return Rn.apply(void 0,ve(a.rangeArgs.colors).concat([Se({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,l=r.progression,c=r.premultiplied;e=qe(e),t=qe(t),e=Dn(e),t=Dn(t);var p={colors:[e,t],options:r};if(i?i=ye.get(i):i=ye.registry[_r.interpolationSpace]||e.space,o=o?ye.get(o):i,e=Zt(e,i),t=Zt(t,i),e=Xr(e),t=Xr(t),i.coords.h&&i.coords.h.type==="angle"){var h=r.hue=r.hue||"shorter",g=[i,"h"],y=[Xt(e,g),Xt(t,g)],w=y[0],_=y[1],D=v_(h,[w,_]),C=ie(D,2);w=C[0],_=C[1],Kr(e,g,w),Kr(t,g,_);}return c&&(e.coords=e.coords.map(function(R){return R*e.alpha}),t.coords=t.coords.map(function(R){return R*t.alpha})),Object.assign(function(R){R=l?l(R):R;var T=e.coords.map(function(M,B){var z=t.coords[B];return Ni(M,z,R)}),O=Ni(e.alpha,t.alpha,R),P={space:i,coords:T,alpha:O};return c&&(P.coords=P.coords.map(function(M){return M/O})),o!==i&&(P=Zt(P,o)),P},{rangeArgs:p})}function el(e){return Wr(e)==="function"&&!!e.rangeArgs}_r.interpolationSpace="lab";function A2(e){e.defineFunction("mix",Ff,{returns:"color"}),e.defineFunction("range",Rn,{returns:"function<color>"}),e.defineFunction("steps",Of,{returns:"array<color>"});}var C2=Object.freeze({__proto__:null,mix:Ff,steps:Of,range:Rn,isRange:el,register:A2}),Pf=new ye({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:An,fromBase:function(t){var r=Math.max.apply(Math,ve(t)),a=Math.min.apply(Math,ve(t)),n=ie(t,3),i=n[0],o=n[1],l=n[2],c=NaN,p=0,h=(a+r)/2,g=r-a;if(g!==0){switch(p=h===0||h===1?0:(r-h)/Math.min(h,1-h),r){case i:c=(o-l)/g+(o<l?6:0);break;case o:c=(l-i)/g+2;break;case l:c=(i-o)/g+4;}c=c*60;}return [c,p*100,h*100]},toBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2];a=a%360,a<0&&(a+=360),n/=100,i/=100;function o(l){var c=(l+a/30)%12,p=n*Math.min(i,1-i);return i-p*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}}}),If=new ye({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:Pf,fromBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return [a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return [a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),R2=new ye({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:If,fromBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2];return [a,i*(100-n)/100,100-i]},toBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var l=n/o;return [a,0,l*100]}var c=1-i,p=c===0?0:1-n/c;return [a,p*100,c*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),T2=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],S2=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Mf=new Lt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:T2,fromXYZ_M:S2}),k2=new Lt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Mf,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"}}}),F2=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],O2=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Nf=new Lt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:js,toXYZ_M:F2,fromXYZ_M:O2}),P2=1/512,I2=16/512,M2=new Lt({id:"prophoto",name:"ProPhoto",base:Nf,toBase:function(t){return t.map(function(r){return r<I2?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=P2?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),N2=new ye({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=ie(t,3),a=r[0],n=r[1],i=r[2],o,l=2e-4;return Math.abs(n)<l&&Math.abs(i)<l?o=NaN:o=Math.atan2(i,n)*180/Math.PI,[a,Math.sqrt(Math.pow(n,2)+Math.pow(i,2)),qi(o)]},toBase:function(t){var r=ie(t,3),a=r[0],n=r[1],i=r[2],o,l;return isNaN(i)?(o=0,l=0):(o=n*Math.cos(i*Math.PI/180),l=n*Math.sin(i*Math.PI/180)),[a,o,l]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Lf=203,Bf=2610/Math.pow(2,14),L2=Math.pow(2,14)/2610,B2=2523/Math.pow(2,5),qf=Math.pow(2,5)/2523,$f=3424/Math.pow(2,12),jf=2413/Math.pow(2,7),zf=2392/Math.pow(2,7),q2=new Lt({id:"rec2100pq",name:"REC.2100-PQ",base:zi,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,qf)-$f,0)/(jf-zf*Math.pow(r,qf)),L2);return a*1e4/Lf})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*Lf/1e4,0),n=$f+jf*Math.pow(a,Bf),i=1+zf*Math.pow(a,Bf);return Math.pow(n/i,B2)})},formats:{color:{id:"rec2100-pq"}}}),Hf=.17883277,Vf=.28466892,Gf=.55991073,tl=3.7743,$2=new Lt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:zi,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*tl:Math.exp((r-Gf)/Hf+Vf)/12*tl})},fromBase:function(t){return t.map(function(r){return r/=tl,r<=1/12?Math.sqrt(3*r):Hf*Math.log(12*r-Vf)+Gf})},formats:{color:{id:"rec2100-hlg"}}}),Uf={};Yr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Wf(e.W1,e.W2,e.options.method));}),Yr.add("chromatic-adaptation-end",function(e){e.M||(e.M=Wf(e.W1,e.W2,e.options.method));});function Xi(e){var t=e.id;e.toCone_M;e.fromCone_M;Uf[t]=arguments[0];}function Wf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=Uf[r],n=lt(a.toCone_M,e),i=ie(n,3),o=i[0],l=i[1],c=i[2],p=lt(a.toCone_M,t),h=ie(p,3),g=h[0],y=h[1],w=h[2],_=[[g/o,0,0],[0,y/l,0],[0,0,w/c]],D=lt(_,a.toCone_M),C=lt(a.fromCone_M,D);return C}Xi({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]]}),Xi({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]]}),Xi({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]]}),Xi({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(fr,{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]}),fr.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var j2=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],z2=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],Yf=new Lt({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:fr.ACES,toXYZ_M:j2,fromXYZ_M:z2,formats:{color:{}}}),Zi=Math.pow(2,-16),rl=-0.35828683,Ji=(Math.log2(65504)+9.72)/17.52,H2=new Lt({id:"acescc",name:"ACEScc",coords:{r:{range:[rl,Ji],name:"Red"},g:{range:[rl,Ji],name:"Green"},b:{range:[rl,Ji],name:"Blue"}},referred:"scene",base:Yf,toBase:function(t){var r=-0.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Zi)*2:a<Ji?Math.pow(2,a*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Zi)+9.72)/17.52:r<Zi?(Math.log2(Zi+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Kf=Object.freeze({__proto__:null,XYZ_D65:Kt,XYZ_D50:js,XYZ_ABS_D65:Ks,Lab_D65:Ws,Lab:jt,LCH:xn,sRGB_Linear:af,sRGB:An,HSL:Pf,HWB:R2,HSV:If,P3_Linear:rf,P3:lf,A98RGB_Linear:Mf,A98RGB:k2,ProPhoto_Linear:Nf,ProPhoto:M2,REC_2020_Linear:zi,REC_2020:tf,OKLab:Ki,OKLCH:N2,Jzazbz:Af,JzCzHz:Zs,ICTCP:Js,REC_2100_PQ:q2,REC_2100_HLG:$2,ACEScg:Yf,ACEScc:H2}),Ge=(le=new WeakMap,(function(){function e(){var t=this;or(this,e),Hr(this,le,void 0);for(var r,a=arguments.length,n=new Array(a),i=0;i<a;i++)n[i]=arguments[i];n.length===1&&(r=qe(n[0]));var o,l,c;r?(o=r.space||r.spaceId,l=r.coords,c=r.alpha):(o=n[0],l=n[1],c=n[2]),Mt(le,this,ye.get(o)),this.coords=l?l.slice():[0,0,0],this.alpha=c<1?c:1;for(var p=0;p<this.coords.length;p++)this.coords[p]==="NaN"&&(this.coords[p]=NaN);var h=function(w){Object.defineProperty(t,w,{get:function(){return t.get(w)},set:function(D){return t.set(w,D)}});};for(var g in ir(le,this).coords)h(g);}return sr(e,[{key:"space",get:function(){return ir(le,this)}},{key:"spaceId",get:function(){return ir(le,this).id}},{key:"clone",value:function(){return new Ge(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,a=new Array(r),n=0;n<r;n++)a[n]=arguments[n];var i=T_.apply(void 0,[this].concat(a));return i.color=new Ge(i.color),i}}],[{key:"get",value:function(r){if(r instanceof Ge)return r;for(var a=arguments.length,n=new Array(a>1?a-1:0),i=1;i<a;i++)n[i-1]=arguments[i];return ge(Ge,[r].concat(n))}},{key:"defineFunction",value:function(r,a){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?true:i,l=n.returns,c=function(){var h=a.apply(void 0,arguments);if(l==="color")h=Ge.get(h);else if(l==="function<color>"){var g=h;h=function(){var w=g.apply(void 0,arguments);return Ge.get(w)},Object.assign(h,g);}else l==="array<color>"&&(h=h.map(function(y){return Ge.get(y)}));return h};r in Ge||(Ge[r]=c),o&&(Ge.prototype[r]=function(){for(var p=arguments.length,h=new Array(p),g=0;g<p;g++)h[g]=arguments[g];return c.apply(void 0,[this].concat(h))});}},{key:"defineFunctions",value:function(r){for(var a in r)Ge.defineFunction(a,r[a],r[a]);}},{key:"extend",value:function(r){if(r.register)r.register(Ge);else for(var a in r)Ge.defineFunction(a,r[a]);}}])})());Ge.defineFunctions({get:Xt,getAll:_n,set:Kr,setAll:Xd,to:Zt,equals:S_,inGamut:En,toGamut:Xr,distance:cf,toString:ji}),Object.assign(Ge,{util:f_,hooks:Yr,WHITES:fr,Space:ye,spaces:ye.registry,parse:Kd,defaults:_r});for(var al=0,Xf=Object.keys(Kf);al<Xf.length;al++){var V2=Xf[al];ye.register(Kf[V2]);}for(var Zf in ye.registry)nl(Zf,ye.registry[Zf]);Yr.add("colorspace-init-end",function(e){var t;nl(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){nl(r,e);});});function nl(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(a){return a.name});var r=e.replace(/-/g,"_");Object.defineProperty(Ge.prototype,r,{get:function(){var n=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(l,c){try{return ye.resolveCoord([t,c]),!0}catch{}return Reflect.has(l,c)},get:function(l,c,p){if(c&&U(c)!=="symbol"&&!(c in l)){var h=ye.resolveCoord([t,c]),g=h.index;if(g>=0)return l[g]}return Reflect.get(l,c,p)},set:function(l,c,p,h){if(c&&U(c)!=="symbol"&&!(c in l)||c>=0){var g=ye.resolveCoord([t,c]),y=g.index;if(y>=0)return l[y]=p,n.setAll(e,l),true}return Reflect.set(l,c,p,h)}})},set:function(n){this.setAll(e,n);},configurable:true,enumerable:true});}Ge.extend(Qs),Ge.extend({deltaE:Cn}),Ge.extend(D2),Ge.extend({contrast:K_}),Ge.extend(Z_),Ge.extend(F_),Ge.extend(C2),Ge.extend(Gi);var Jf=br(_d());Ur.default.templateSettings.strip=false,m._memoizedFns=[];function G2(e){var t=(0, Hd.default)(e);return m._memoizedFns.push(t),t}var We=G2,U2=We(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),Tn=U2;function il(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var a=t.getRootNode&&t.getRootNode()||d;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return "";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode();}return n.unshift({elm:t,doc:a}),n.map(function(i){return e(i.elm,r,i.doc)})}var W2=["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"],Y2=31,K2=/([\\"])/g,X2=/(\r\n|\r|\n)/g;function ol(e){return e.replace(K2,"\\$1").replace(X2,"\\a ")}function Qf(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=$d(e.getAttribute(r));n?a=nt(t.name)+'$="'+ol(n)+'"':a=nt(t.name)+'="'+ol(e.getAttribute(r))+'"';}else a=nt(r)+'="'+ol(t.value)+'"';return a}function sl(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function ep(e){return !W2.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<Y2)}function Qi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),a=[],n=function(){var o=r.pop(),l=o.actualNode;if(l.querySelectorAll){var c=l.nodeName;t.tags[c]?t.tags[c]++:t.tags[c]=1,l.classList&&Array.from(l.classList).forEach(function(p){var h=nt(p);t.classes[h]?t.classes[h]++:t.classes[h]=1;}),l.hasAttributes()&&Array.from(bn(l)).filter(ep).forEach(function(p){var h=Qf(l,p);h&&(t.attributes[h]?t.attributes[h]++:t.attributes[h]=1);});}for(o.children.length&&(a.push(r),r=o.children.slice());!r.length&&a.length;)r=a.pop();};r.length;)n();return t}function Z2(e,t){var r=[],a=t.classes,n=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=nt(i);a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"class"});}),r.sort(sl)}function J2(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],a=r.find(function(i){return i!==e&&Pa(i,t)});if(a){var n=1+r.indexOf(e);return ":nth-child("+n+")"}else return ""}function Q2(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||d,r="#"+nt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function tp(e){var t=Tn(d);return nt(t?e.localName:e.nodeName.toLowerCase())}function ex(e,t){var r=[],a=t.attributes,n=t.tags;return e.hasAttributes()&&Array.from(bn(e)).filter(ep).forEach(function(i){var o=Qf(e,i);o&&a[o]<n[e.nodeName]&&r.push({name:o,count:a[o],species:"attribute"});}),r.sort(sl)}function tx(e,t){var r="",a,n=Z2(e,t),i=ex(e,t);return n.length&&n[0].count===1?a=[n[0]]:i.length&&i[0].count===1?(a=[i[0]],r=tp(e)):(a=n.concat(i),a.sort(sl),a=a.slice(0,3),a.some(function(o){return o.species==="class"})?a.sort(function(o,l){return o.species!==l.species&&o.species==="class"?-1:o.species===l.species?0:1}):r=tp(e)),r+=a.reduce(function(o,l){switch(l.species){case "class":return o+"."+l.name;case "attribute":return o+"["+l.name+"]"}return o},"")}function rx(e,t,r){if(!m._selectorData)throw new Error("Expect axe._selectorData to be set up");var a=t.toRoot,n=a===void 0?false:a,i,o;do{var l=Q2(e);l||(l=tx(e,m._selectorData),l+=J2(e,l)),i?i=l+" > "+i:i=l,!o||o.length>Ce.selectorSimilarFilterLimit?o=nx(r,i):o=o.filter(function(c){return Pa(c,i)}),e=e.parentElement;}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function ax(e,t){return il(rx,e,t)}var ll=We(ax),nx=We(function(e,t){return Array.from(e.querySelectorAll(t))});function rp(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,a=e.parentNode,n="";if(t!=="head"&&t!=="body"&&a?.children.length>1){var i=Array.prototype.indexOf.call(a.children,e)+1;n=":nth-child(".concat(i,")");}return r?rp(r)+" > "+t+n:t+n}function eo(e,t){return il(rp,e,t)}function ap(e,t){var r,a;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=ap(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&nt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n);}return t}function ix(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 ox(e){var t=ap(e);return ix(t)}var np=ox,Sn={},sx={set:function(t,r){lx(t),Sn[t]=r;},get:function(t,r){if(ux(r),t in Sn)return Sn[t];if(typeof r=="function"){var a=r();return Ne(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),Sn[t]}},clear:function(){Sn={};}};function lx(e){Ne(typeof e=="string","key must be a string, "+U(e)+" given"),Ne(e!=="","key must not be empty");}function ux(e){Ne(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+U(e)+" given");}var Ae=sx;function cx(e,t){var r=t||e;return Ae.get("nodeMap")?Ae.get("nodeMap").get(r):null}var Te=cx;function ip(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,a=r===void 0?300:r,n=t.attrLimit,i=n===void 0?20:n;if(!e)return "";if(e.nodeType!==1){var o,l=(o=e.nodeValue)!==null&&o!==void 0?o:"";return ul(l,a)}var c=dx(e);return c.length>a?fx(e,{maxLength:a,attrLimit:i}):c}function dx(e){var t=e.outerHTML;return !t&&typeof s.XMLSerializer=="function"&&(t=new s.XMLSerializer().serializeToString(e)),t||""}function fx(e,t){var r=t.maxLength,a=t.attrLimit,n=Tn(e.ownerDocument||d)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(bn(e)).map(function(_){var D=_.name,C=_.value;return {name:D,value:C}}),o=i.reduce(function(_,D){var C=D.name,R=D.value;return _+C.length+R.length+4},0);2+n.length+o>r&&i.forEach(function(_){_.name=ul(_.name,a),_.value=ul(_.value,a);});var l="<".concat(n),c=">",p=" ...>",h=Ve(i),g;try{for(h.s();!(g=h.n()).done;){var y=g.value,w=" ".concat(y.name,'="').concat(y.value,'"');if(l.length+w.length>r-p.length){c=p;continue}l+=w;}}catch(_){h.e(_);}finally{h.f();}return l+c}function ul(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var op="DqElm.RunOptions",wa=We(function(t,r,a){var n,i;if(r??(r=null),a??(a={}),!r){var o;r=(o=Ae.get(op))!==null&&o!==void 0?o:{};}if(this.spec=a,t instanceof vt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Te(t)),this.fromFrame=((n=this.spec.selector)===null||n===void 0?void 0:n.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 l;this.source=(l=this.spec.source)!==null&&l!==void 0?l:ip(this._element);}return this});wa.prototype={get selector(){return this.spec.selector||[ll(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[eo(this.element)]},get xpath(){return this.spec.xpath||[np(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}},wa.fromFrame=function(t,r,a){var n=wa.mergeSpecs(t,a);return new wa(a.element,r,n)},wa.mergeSpecs=function(t,r){return Se({},t,{selector:[].concat(ve(r.selector),ve(t.selector)),ancestry:[].concat(ve(r.ancestry),ve(t.ancestry)),xpath:[].concat(ve(r.xpath),ve(t.xpath)),nodeIndexes:[].concat(ve(r.nodeIndexes),ve(t.nodeIndexes)),fromFrame:true})},wa.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;Ae.set(op,{elementRef:r,absolutePaths:a});};var Jt=wa;function px(e,t,r,a){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?a(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){s.Node&&(i instanceof s.Node||i instanceof vt?i=[i]:i=qd(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof vt&&(o=o.actualNode),o instanceof s.Node){var l=new Jt(o);e.relatedNodes.push(l);}}));}}}var cl=px;function Mr(e){return dl(e,new Map)}function dl(e,t){var r,a;if(e===null||U(e)!=="object"||(r=s)!==null&&r!==void 0&&r.Node&&e instanceof s.Node||(a=s)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof s.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 n=[];return t.set(e,n),e.forEach(function(l){n.push(dl(l,t));}),n}var i={};t.set(e,i);for(var o in e)i[o]=dl(e[o],t);return i}var kn=new zd.CssSelectorParser;kn.registerSelectorPseudos("not"),kn.registerSelectorPseudos("is"),kn.registerNestingOperators(">"),kn.registerAttrEqualityMods("^","$","*","~");var sp=kn;function fl(e,t){var r=to(t);return r.some(function(a){return Na(e,a)})}function hx(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function mx(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function gx(e,t){return !t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function vx(e,t){return !t.id||e.props.id===t.id}function yx(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(a){return Na(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Na(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function lp(e,t){return hx(e,t)&&mx(e,t)&&gx(e,t)&&vx(e,t)&&yx(e,t)}var Fn=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),pl=/\\/g;function bx(e){if(e)return e.map(function(t){var r=t.name.replace(pl,""),a=(t.value||"").replace(pl,""),n,i;switch(t.operator){case "^=":i=new RegExp("^"+Fn(a));break;case "$=":i=new RegExp(Fn(a)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Fn(a)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Fn(a)+"(-|$)");break;case "=":n=function(l){return a===l};break;case "*=":n=function(l){return l&&l.includes(a)};break;case "!=":n=function(l){return a!==l};break;default:n=function(l){return l!==null};}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return false}),n||(n=function(l){return l&&i.test(l)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function wx(e){if(e)return e.map(function(t){return t=t.replace(pl,""),{value:t,regexp:new RegExp("(^|\\s)"+Fn(t)+"(\\s|$)")}})}function _x(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=up(r)),{name:t.name,expressions:r,value:t.value}})}function up(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:bx(a.attrs),classes:wx(a.classNames),pseudos:_x(a.pseudos)}),a=a.rule;return r})}function to(e){var t=sp.parse(e);return t=t.selectors?t.selectors:[t],up(t)}function cp(e,t,r,a){if(!e)return false;for(var n=Array.isArray(t),i=n?t[r]:t,o=lp(e,i);!o&&a&&e.parent;)e=e.parent,o=lp(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&&cp(e.parent,t,r-1,i.combinator===" ");}return o}function Na(e,t,r){return cp(e,t,t.length-1,r)}function xx(e,t){for(;e;){if(fl(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 zt=xx;function ro(){}function hl(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function Ex(){var e=[],t=0,r=0,a=ro,n=false,i,o=function(w){i=w,setTimeout(function(){i!=null&&ba("Uncaught error (of queue)",i);},1);},l=o;function c(y){return function(w){e[y]=w,r-=1,!r&&a!==ro&&(n=true,a(e));}}function p(y){return a=ro,l(y),e}function h(){for(var y=e.length;t<y;t++){var w=e[t];try{w.call(null,c(t),p);}catch(_){p(_);}}}var g={defer:function(w){if(U(w)==="object"&&w.then&&w.catch){var _=w;w=function(C,R){_.then(C).catch(R);};}if(hl(w),i===void 0){if(n)throw new Error("Queue already completed");return e.push(w),++r,h(),g}},then:function(w){if(hl(w),a!==ro)throw new Error("queue `then` already set");return i||(a=w,r||(n=true,a(e))),g},catch:function(w){if(hl(w),l!==o)throw new Error("queue `catch` already set");return i?(w(i),i=null):l=w,g},abort:p};return g}var xr=Ex,La,Ba,ml=s.crypto||s.msCrypto;if(!Ba&&ml&&ml.getRandomValues){var dp=new Uint8Array(16);Ba=function(){return ml.getRandomValues(dp),dp};}if(!Ba){var fp=new Array(16);Ba=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),fp[t]=r>>>((t&3)<<3)&255;return fp};}for(var pp=typeof s.Buffer=="function"?s.Buffer:Array,gl=[],hp={},qa=0;qa<256;qa++)gl[qa]=(qa+256).toString(16).substr(1),hp[gl[qa]]=qa;function Dx(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){n<16&&(t[a+n++]=hp[i]);});n<16;)t[a+n++]=0;return t}function vl(e,t){var r=t||0,a=gl;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var Jr=Ba(),Ax=[Jr[0]|1,Jr[1],Jr[2],Jr[3],Jr[4],Jr[5]],mp=(Jr[6]<<8|Jr[7])&16383,yl=0,bl=0;function gp(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:mp,o=e.msecs!=null?e.msecs:new Date().getTime(),l=e.nsecs!=null?e.nsecs:bl+1,c=o-yl+(l-bl)/1e4;if(c<0&&e.clockseq==null&&(i=i+1&16383),(c<0||o>yl)&&e.nsecs==null&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");yl=o,bl=l,mp=i,o+=122192928e5;var p=((o&268435455)*1e4+l)%4294967296;n[a++]=p>>>24&255,n[a++]=p>>>16&255,n[a++]=p>>>8&255,n[a++]=p&255;var h=o/4294967296*1e4&268435455;n[a++]=h>>>8&255,n[a++]=h&255,n[a++]=h>>>24&15|16,n[a++]=h>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var g=e.node||Ax,y=0;y<6;y++)n[a+y]=g[y];return t||vl(n)}function _a(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new pp(16):null,e=null),e=e||{};var n=e.random||(e.rng||Ba)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||vl(n)}La=_a,La.v1=gp,La.v4=_a,La.parse=Dx,La.unparse=vl,La.BufferClass=pp,m._uuid=gp();var Cx=_a,Rx=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Tx(e){var t=e.topic,r=e.channelId,a=e.message,n=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:n,keepalive:!!i,source:vp()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function Sx(e){var t;try{t=JSON.parse(e);}catch{return}if(kx(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,l=U(t.error)==="object"?Fx(t.error):t.payload;return {topic:a,message:l,messageId:i,channelId:n,keepalive:!!o}}}function kx(e){return e!==null&&U(e)==="object"&&typeof e.channelId=="string"&&e.source===vp()}function Fx(e){var t=e.message||"Unknown error occurred",r=Rx.includes(e.name)?e.name:"Error",a=s[r]||Error;return e.stack&&(t+=`
|
|
16
|
+
`+e.stack.replace(e.message,"")),new a(t)}function vp(){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 wl(e){bp(e),Ne(s.parent===e,"Source of the response must be the parent window.");}function yp(e){bp(e),Ne(e.parent===s,"Respondable target must be a frame in the current window");}function bp(e){Ne(s!==e,"Messages can not be sent to the same window.");}var On={};function Ox(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;Ne(!Object.prototype.hasOwnProperty.call(On,e),"A replyHandler already exists for this message channel."),On[e]={replyHandler:t,sendToParent:r};}function Px(e){return Object.prototype.hasOwnProperty.call(On,e)?On[e]:void 0}function Ix(e){delete On[e];}var ao=[];function _l(){var e="".concat(_a(),":").concat(_a());return ao.includes(e)?_l():(ao.push(e),e)}function Mx(e){return ao.includes(e)?false:(ao.push(e),true)}function xl(e,t,r,a){if(r?wl(e):yp(e),t.message instanceof Error&&!r)return m.log(t.message),false;var n=Tx(Se({messageId:_l()},t)),i=m._audit.allowedOrigins;return !i||!i.length?false:(typeof a=="function"&&Ox(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o);}catch(l){throw l instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):l}}),true)}function Nx(e,t,r){if(!e.parent!==s)return m.log(t);try{xl(e,{topic:null,channelId:r,message:t,messageId:_l(),keepalive:!0},!0);}catch(a){return m.log(a)}}function wp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(n,i,o){var l={channelId:t,message:n,keepalive:i};xl(e,l,r,o);}}function Lx(e){var t=m._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Bx(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=Sx(a)||{},o=i.channelId,l=i.message,c=i.messageId;if(!Lx(r)||!Mx(c))return;if(l instanceof Error&&n.parent!==s)return m.log(l),!1;try{if(i.topic){var p=wp(n,o);wl(n),t(i,p);}else qx(n,i);}catch(h){Nx(n,h,o);}}catch(h){return m.log(h),false}}function qx(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=Px(r)||{},o=i.replyHandler,l=i.sendToParent;if(o){l?wl(e):yp(e);var c=wp(e,r,l);!n&&r&&Ix(r);try{o(a,n,c);}catch(p){m.log(p),c(p,n);}}}var $x={open:function(t){if(typeof s.addEventListener=="function"){var r=function(n){Bx(n,t);};return s.addEventListener("message",r,false),function(){s.removeEventListener("message",r,false);}}},post:function(t,r,a){return typeof s.addEventListener!="function"?false:xl(t,r,false,a)}};function _p(e){e.updateMessenger($x);}var no,xp,io={};function hr(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(_a(),":").concat(_a()),keepalive:a};return xp(e,i,n)}function jx(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=Object.prototype.hasOwnProperty.call(io,r)?io[r]:void 0;if(i)try{i(a,n,t);}catch(o){m.log(o),t(o,n);}}hr.updateMessenger=function(t){var r=t.open,a=t.post;Ne(typeof r=="function","open callback must be a function"),Ne(typeof a=="function","post callback must be a function"),no&&no();var n=r(jx);n?(Ne(typeof n=="function","open callback must return a cleanup function"),no=n):no=null,xp=a;},hr.subscribe=function(t,r){Ne(typeof r=="function","Subscriber callback must be a function"),Ne(!Object.prototype.hasOwnProperty.call(io,t),"Topic ".concat(t," is already registered to.")),io[t]=r;},hr.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s;return !!t.frameElement},_p(hr);function Ep(e,t,r,a){var n,i,o=e.contentWindow,l=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){ba("Frame does not have a content window",e),r(null);return}if(l===0){Dp(e,t,r,a);return}var c=setTimeout(function(){c=setTimeout(function(){t.debug?a(Ap("No response from frame",e)):r(null);},0);},l);hr(o,"axe.ping",null,void 0,function(){clearTimeout(c),Dp(e,t,r,a);});}function Dp(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,l=e.contentWindow,c=setTimeout(function(){a(Ap("Axe in frame timed out",e));},o);hr(l,"axe.start",t,void 0,function(p){clearTimeout(c),p instanceof Error?a(p):r(p);});}function Ap(e,t){var r;return m._tree&&(r=ll(t)),new Error(e+": "+(r||t))}var Pn=null,In={update:function(t){Ne(U(t)==="object","serializer must be an object"),Pn=t;},toSpec:function(t){return In.dqElmToSpec(new Jt(t))},dqElmToSpec:function(t,r){var a;return t instanceof Jt?(r&&(t=zx(t,r)),typeof((a=Pn)===null||a===void 0?void 0:a.toSpec)=="function"?Pn.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=Pn)===null||a===void 0?void 0:a.mergeSpecs)=="function"?Pn.mergeSpecs(t,r):Jt.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return Se({},r,{nodes:In.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var a=r.node,n=Ee(r,k);n.node=In.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i<o.length;i++){var l=o[i];n[l]=n[l].map(function(c){var p=c.relatedNodes,h=Ee(c,I);return h.relatedNodes=p.map(In.dqElmToSpec),h});}return n})}},Qt=In;function zx(e,t){var r=e.fromFrame,a=t.ancestry,n=t.xpath,i=t.selectors!==false||r;return e=new Jt(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:a?e.ancestry:[":root"],xpath:n?e.xpath:"/"}),e.fromFrame=r,e}function Hx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var oo=Hx;function Vx(e,t,r){if(Array.isArray(e))return e.find(function(a){return a!==null&&U(a)==="object"&&Object.hasOwn(a,t)&&a[t]===r})}var Mn=Vx;function Gx(e,t,r){e.forEach(function(a){a.node=Qt.mergeSpecs(a.node,r);var n=oo(a);n.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return Qt.mergeSpecs(o,r)});});});}function Ux(e,t){for(var r=t[0].node,a,n=0;n<e.length;n++){a=e[n].node;var i=Cp(a.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<a.selector.length){e.splice.apply(e,[n,0].concat(ve(t)));return}}e.push.apply(e,ve(t));}function Wx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Yx(e,t){var r=[];return e.forEach(function(a){var n=Wx(a);if(!(!n||!n.length)){var i=Kx(a);n.forEach(function(o){o.nodes&&i&&Gx(o.nodes,t,i);var l=Mn(r,"id",o.id);if(!l)r.push(o);else if(o.nodes.length&&Ux(l.nodes,o.nodes),o.error){var c;(c=l.error)!==null&&c!==void 0||(l.error=o.error);}});}}),r.forEach(function(a){a.nodes&&a.nodes.sort(function(n,i){return Cp(n.node.nodeIndexes,i.node.nodeIndexes)});}),r}function Cp(){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),a=0;a<r;a++){var n=e?.[a],i=t?.[a];if(typeof n!="number"||isNaN(n))return a===0?1:-1;if(typeof i!="number"||isNaN(i))return a===0?-1:1;if(n!==i)return n-i}return 0}var so=Yx;function Kx(e){return e.frameElement?Qt.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function Rp(e,t,r,a,n,i){t=Se({},t,{elementRef:false});var o=xr(),l=e.frames;l.forEach(function(c){var p=c.node,h=Ee(c,$);o.defer(function(g,y){var w={options:t,command:r,parameter:a,context:h};function _(D){return g(D?{results:D,frameElement:p}:null)}Ep(p,w,_,y);});}),o.then(function(c){n(so(c,t));}).catch(i);}function Nr(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 Tp(){for(var e={},t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return r.forEach(function(n){if(!(!n||U(n)!=="object"||Array.isArray(n)))for(var i=0,o=Object.keys(n);i<o.length;i++){var l=o[i];!e.hasOwnProperty(l)||U(n[l])!=="object"||Array.isArray(e[l])?e[l]=n[l]:e[l]=Tp(e[l],n[l]);}}),e}var El=Tp;function Xx(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 Dl=Xx,Zx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function Jx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Zx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var lo=Jx,Al={};lr(Al,{createGrid:function(){return qn},findElmsInContext:function(){return Sp},findNearbyElms:function(){return vo},findUp:function(){return ja},findUpVirtual:function(){return $a},focusDisabled:function(){return Ml},getComposedParent:function(){return yt},getElementByReference:function(){return Ll},getElementCoordinates:function(){return Tl},getElementStack:function(){return c1},getModalDialog:function(){return i1},getNodeGrid:function(){return go},getOverflowHiddenAncestors:function(){return Ln},getRootNode:function(){return Et},getScrollOffset:function(){return Vp},getTabbableElements:function(){return d1},getTargetRects:function(){return bo},getTargetSize:function(){return f1},getTextElementStack:function(){return tu},getViewportSize:function(){return uo},getVisibleChildTextRects:function(){return eu},hasContent:function(){return Co},hasContentVirtual:function(){return Wn},hasLangText:function(){return au},idrefs:function(){return Er},insertedIntoFocusOrder:function(){return th},isCurrentPageLink:function(){return Nl},isFixedPosition:function(){return co},isFocusable:function(){return ut},isHTML5:function(){return nh},isHiddenForEveryone:function(){return Qr},isHiddenWithCSS:function(){return AA},isInTabOrder:function(){return er},isInTextBlock:function(){return nu},isInert:function(){return yo},isModalOpen:function(){return Yn},isMultiline:function(){return oh},isNativelyFocusable:function(){return $l},isNode:function(){return MA},isOffscreen:function(){return fo},isOpaque:function(){return GA},isSkipLink:function(){return su},isVisible:function(){return ZA},isVisibleOnScreen:function(){return Ht},isVisibleToScreenReaders:function(){return et},isVisualContent:function(){return ru},reduceToElementsBelowFloating:function(){return sh},shadowElementsFromPoint:function(){return eC},urlPropsFromAttribute:function(){return oC},visuallyContains:function(){return lh},visuallyOverlaps:function(){return lu},visuallySort:function(){return Bl}});function Qx(e){var t=e.getRootNode&&e.getRootNode()||d;return t===e&&(t=d),t}var Nn=Qx,Et=Nn;function eE(e){var t=e.context,r=e.value,a=e.attr,n=e.elm,i=n===void 0?"":n,o,l=nt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Et(t),Array.from(o.querySelectorAll(i+"["+a+"="+l+"]"))}var Sp=eE;function tE(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var a=e.actualNode.closest(t);return a||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Pa(r,t)&&r!==d.documentElement);return !r||!Pa(r,t)?null:r}var $a=tE;function rE(e,t){return $a(Te(e),t)}var ja=rE;function Cl(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 kp=We(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(kp(t.parent))}),Ln=kp,aE=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,nE=/(\w+)\((\d+)/;function Fp(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Op(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function Pp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Ip(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Mp(e){return e.attr("aria-hidden")==="true"}function Np(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Lp(e){var t=qr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||a===0)}function Bp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=e.getComputedStylePropertyValue("position");if(a==="fixed")return false;var n=Ln(e);if(!n.length)return false;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!iE(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var l=o.boundingClientRect;return l.width<2||l.height<2?true:!Cl(i,l)})}function qp(e){var t=e.getComputedStylePropertyValue("clip").match(aE),r=e.getComputedStylePropertyValue("clip-path").match(nE);if(t&&t.length===5){var a=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function Rl(e,t){var r=zt(e,"map");if(!r)return true;var a=r.attr("name");if(!a)return true;var n=Nn(e.actualNode);if(!n||n.nodeType!==9)return true;var i=Ut(m._tree,'img[usemap="#'.concat(nt(a),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function $p(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(a){return a.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function iE(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 oE=[Op,Pp,Ip,$p];function Qr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?false:a;return e=Me(e).vNode,r?jp(e,n):zp(e,n)}var jp=We(function(t,r){return Fp(t)?true:t.actualNode?!!(oE.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),zp=We(function(t,r){return jp(t,r)?true:t.parent?zp(t.parent,true):false});function Hp(e){if(e.assignedSlot)return Hp(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var yt=Hp;function sE(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 Vp=sE;function lE(e){var t=Vp(d),r=t.left,a=t.top,n=e.getBoundingClientRect();return {top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var Tl=lE;function uE(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 a=t.body;return {width:a.clientWidth,height:a.clientHeight}}var uo=uE;function co(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=Me(e),n=a.vNode;return n?r?Gp(n):Up(n):false}var Gp=We(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Up=We(function(t){return Gp(t)?true:t.parent?Up(t.parent):false});function cE(e,t){for(e=yt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=yt(e);}return true}function dE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var a=Me(e),n=a.domNode;if(n){var i=d.documentElement,o=s.getComputedStyle(n),l=s.getComputedStyle(d.body||i).getPropertyValue("direction"),c=co(n),p=c?n.getBoundingClientRect():Tl(n);if(p.top===0&&p.bottom===0||p.left===0&&p.right===0)return false;if(p.bottom<=0&&(cE(n,p.bottom)||o.position==="absolute"))return true;var h=uo(s);if(c&&p.top>=h.height)return true;var g=Math.max(i.scrollWidth,h.width);return !!((c||l==="rtl")&&p.left>=g||(c||l==="ltr")&&p.right<=0)}}var fo=dE,fE=[Np,Lp,Bp,qp,fo];function Ht(e){return e=Me(e).vNode,Sl(e)}var Sl=We(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Rl(t,Sl):Qr(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&fE.some(function(a){return a(t,{isAncestor:r})})?false:t.parent?Sl(t.parent,true):true});function kl(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new s.DOMRect(i,r,a-i,n-r)}function po(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,l=t.left;return a>=n&&r<=i&&a<=o&&r>=l}var Wp={};lr(Wp,{getBoundingRect:function(){return kl},getIntersectionRect:function(){return ho},getOffset:function(){return Kp},getRectCenter:function(){return Bn},hasVisualOverlap:function(){return Fl},isPointInRect:function(){return po},rectHasMinimumSize:function(){return Lr},rectsOverlap:function(){return Cl},splitRects:function(){return Ol}});function ho(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new s.DOMRect(r,n,a-r,i-n)}function Bn(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new s.DOMPoint(t+a/2,r+n/2)}var Yp=.05;function Lr(e,t){var r=t.width,a=t.height;return r+Yp>=e&&a+Yp>=e}function Kp(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=bo(e),n=bo(t);return !a.length||!n.length?null:a.reduce(function(i,o){var l=Bn(o),c=Ve(n),p;try{for(c.s();!(p=c.n()).done;){var h=p.value;if(po(l,h))return 0;var g=pE(l,h),y=Xp(l,g);i=Math.min(i,y);}}catch(R){c.e(R);}finally{c.f();}var w=f1(t);if(Lr(r*2,w))return i;var _=n.reduce(kl),D=Bn(_),C=Xp(l,D)-r;return Math.max(0,Math.min(i,C))},1/0)}function pE(e,t){var r,a;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?a=t.top:e.y>t.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function Xp(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Fl(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?false:Bl(e,t)>0}function Ol(e,t){var r=Array.isArray(e)?e:[e],a=Ve(t),n;try{var i=function(){var l=n.value;if(r=r.reduce(function(c,p){return c.concat(hE(p,l))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i();}catch(o){a.e(o);}finally{a.f();}return r}function hE(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=r<t.bottom&&n>t.top,l=a<t.right&&i>t.left,c=[];if(mo(t.top,r,n)&&l&&c.push({top:r,left:a,bottom:t.top,right:i}),mo(t.right,a,i)&&o&&c.push({top:r,left:t.right,bottom:n,right:i}),mo(t.bottom,r,n)&&l&&c.push({top:t.bottom,right:i,bottom:n,left:a}),mo(t.left,a,i)&&o&&c.push({top:r,left:a,bottom:n,right:t.left}),c.length===0){if(gE(e,t))return [];c.push(e);}return c.map(mE)}var mo=function(t,r,a){return t>r&&t<a};function mE(e){return new s.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function gE(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Zp=0,vE=.1,Jp=.2,Qp=.3,Pl=0;function qn(){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(Ae.get("gridCreated")&&!r)return Ce.gridSize;if(Ae.set("gridCreated",true),!r){var a=Te(d.documentElement);if(a||(a=new uu(d.documentElement)),Pl=0,a._stackingOrder=[r1(Zp,Pl++,null)],t??(t=new Il),a1(t,a),qr(a.actualNode)){var n=new Il(a);a._subGrid=n;}}for(var i=d.createTreeWalker(e,s.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var l=Te(o);l&&l.parent?r=l.parent:o.assignedSlot?r=Te(o.assignedSlot):o.parentElement?r=Te(o.parentElement):o.parentNode&&Te(o.parentNode)&&(r=Te(o.parentNode)),l||(l=new m.VirtualNode(o,r)),l._stackingOrder=yE(l,r,Pl++);var c=_E(l,r),p=c?c._subGrid:t;if(qr(l.actualNode)){var h=new Il(l);l._subGrid=h;}var g=l.boundingClientRect;g.width!==0&&g.height!==0&&Ht(o)&&a1(p,l),lo(o)&&qn(o.shadowRoot,p,l),o=i.nextNode();}return Ce.gridSize}function e1(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="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 l=e.getComputedStylePropertyValue("perspective");if(l&&l!=="none")return true;var c=e.getComputedStylePropertyValue("clip-path");if(c&&c!=="none")return true;var p=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(p!=="none")return true;var h=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(h!=="none")return true;var g=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(g!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var y=e.getComputedStylePropertyValue("will-change");if(y==="transform"||y==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var w=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(w)||a!=="auto"&&t1(t))}function t1(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function yE(e,t,r){var a=t._stackingOrder.slice();if(e1(e,t)){var n=a.findIndex(function(o){var l=o.stackLevel;return [Zp,Jp,Qp].includes(l)});n!==-1&&a.splice(n,a.length-n);}var i=bE(e,t);return i!==null&&a.push(r1(i,r,e)),a}function r1(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function bE(e,t){var r=wE(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Qp:e.getComputedStylePropertyValue("float")!=="none"?Jp:e1(e,t)?vE:null:parseInt(r)}function wE(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!t1(t)?"auto":e.getComputedStylePropertyValue("z-index")}function _E(e,t){for(var r=null,a=[e];t;){if(qr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=Te(t.actualNode.parentElement||t.actualNode.parentNode);}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function a1(e,t){var r=Ln(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(l,c){return l&&ho(l,c.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(l){l.includes(t)||l.push(t);});}});}var Il=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;or(this,e),this.container=t,this.cells=[];}return sr(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Ce.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;Ne(this.boundaries,"Grid does not have cells added");var l=this.toGridIndex(o),c=this.toGridIndex(i);Ne(po({y:l,x:c},this.boundaries),"Element midpoint exceeds the grid bounds");var p=(a=this.cells[l-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return (n=p[c-p._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,l=n.top,c=n.bottom;this.boundaries&&(r=kl(this.boundaries,r)),this.boundaries=r,n1(this.cells,l,c,function(p,h){n1(p,i,o,function(g,y){a(g,{row:h,col:y});});});}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-l),n=this.toGridIndex(n+l-1),i=this.toGridIndex(i+l-1),o=this.toGridIndex(o-l),new s.DOMRect(o,a,n-o,i-a)}}])})();function n1(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==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,l=r-e._negativeIndex,c=o;c<=l;c++){var p,h;(h=e[p=c])!==null&&h!==void 0||(e[p]=[]),a(e[c],c+e._negativeIndex);}}function go(e){qn();var t=Me(e),r=t.vNode;return r._grid}function vo(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a=go(e);if(!(a!=null&&(t=a.cells)!==null&&t!==void 0&&t.length))return [];var n=e.boundingClientRect,i=co(e),o=a.getGridPositionOfRect(n,r),l=[];return a.loopGridPosition(o,function(c){var p=Ve(c),h;try{for(p.s();!(h=p.n()).done;){var g=h.value;g&&g!==e&&!l.includes(g)&&i===co(g)&&l.push(g);}}catch(y){p.e(y);}finally{p.f();}}),l}var xE=We(function(){var t;if(!m._tree)return null;var r=Tr(m._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=d.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&Ht(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=d.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=EE(n))!==null&&i!==void 0?i:{},l=o.vNode,c=o.rect;if(!l)return false;var p=d.elementsFromPoint(c.left+1,c.top+1);return !p.includes(l.actualNode)}))!==null&&t!==void 0?t:null)}),i1=xE;function EE(e){qn();var t=m._tree[0]._grid,r=new s.DOMRect(0,0,s.innerWidth,s.innerHeight);if(t)for(var a=0;a<t.cells.length;a++){var n=t.cells[a];if(n)for(var i=0;i<n.length;i++){var o=n[i];if(o)for(var l=0;l<o.length;l++){var c=o[l],p=c.boundingClientRect,h=ho(p,r);if(c.props.nodeName!=="html"&&c!==e&&c.getComputedStylePropertyValue("pointer-events")!=="none"&&h)return {vNode:c,rect:h}}}}}function yo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?o1(e,a):s1(e,a)}var o1=We(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var a=i1();if(a&&!Nr(a,t))return true}return false}),s1=We(function(t,r){return o1(t,r)?true:t.parent?s1(t.parent,true):false}),DE=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function AE(e){return DE.includes(e)}function CE(e){var t=Me(e),r=t.vNode;if(AE(r.props.nodeName)&&r.hasAttr("disabled")||yo(r))return true;for(var a=r.parent,n=[],i=false;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=true),a=a.parent;}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?Qr(r):false}var Ml=CE,RE=/^\/\#/,TE=/^#[!/]/;function Nl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(RE.test(r))return true;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,l=e.pathname;if(TE.test(a))return false;if(r.charAt(0)==="#")return true;if(typeof((t=s.location)===null||t===void 0?void 0:t.origin)!="string"||s.location.origin.indexOf("://")===-1)return null;var c=s.location.origin+s.location.pathname,p;return i?p="".concat(n,"//").concat(i).concat(o?":".concat(o):""):p=s.location.origin,l?p+=(l[0]!=="/"?"/":"")+l:p+=s.location.pathname,p===c}function SE(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!Nl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=d.getElementById(r);return a||(a=d.getElementsByName(r),a.length?a[0]:null)}var Ll=SE;function Bl(e,t){qn();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a<r;a++){if(typeof t._stackingOrder[a]>"u")return -1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return -1;if(t._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return t._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var n=e.actualNode,i=t.actualNode;if(n.getRootNode&&n.getRootNode()!==i.getRootNode()){for(var o=[];n;)o.push({root:n.getRootNode(),node:n}),n=n.getRootNode().host;for(;i&&!o.find(function(C){return C.root===i.getRootNode()});)i=i.getRootNode().host;if(n=o.find(function(C){return C.root===i.getRootNode()}).node,n===i)return e.actualNode.getRootNode()!==n.getRootNode()?-1:1}var l=s.Node,c=l.DOCUMENT_POSITION_FOLLOWING,p=l.DOCUMENT_POSITION_CONTAINS,h=l.DOCUMENT_POSITION_CONTAINED_BY,g=n.compareDocumentPosition(i),y=g&c?1:-1,w=g&p||g&h,_=l1(e),D=l1(t);return _===D||w?y:D-_}function l1(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:u1(e)?1:0}function u1(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=u1(e.parent);return e._isFloated=r,r}function ql(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,a=Bn(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),l=n.filter(function(p){return p.clientRects.some(function(h){var g=h.left,y=h.top;return i<Math.floor(g+h.width)&&i>=Math.floor(g)&&o<Math.floor(y+h.height)&&o>=Math.floor(y)})}),c=e.container;return c&&(l=ql(c._grid,c.boundingClientRect,true).concat(l)),r||(l=l.sort(Bl).map(function(p){return p.actualNode}).concat(d.documentElement).filter(function(p,h,g){return g.indexOf(p)===h})),l}function kE(e){var t=go(e);if(!t)return [];var r=Te(e).boundingClientRect;return ql(t,r)}var c1=kE;function FE(e){var t=Ut(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=Rr(a.actualNode.getAttribute("tabindex"));return i!==null?n&&i>=0:n});return r}var d1=FE;function OE(e){var t=Me(e),r=t.vNode;if(!r||Ml(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 !Ut(r,"summary").length}return false}var $l=OE;function ut(e){var t=Me(e),r=t.vNode;if(r.props.nodeType!==1||Ml(r))return false;if($l(r))return true;var a=Rr(r.attr("tabindex"));return a!==null}function er(e){var t=Me(e),r=t.vNode;if(r.props.nodeType!==1)return false;var a=Rr(r.attr("tabindex"));return a<=-1?false:ut(r)}var bo=We(PE);function PE(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],a=vo(e).filter(function(i){return Fl(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!IE(e,i)});if(!a.length)return r;var n=a.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return Ol(r,n)}function IE(e,t){return Nr(e,t)&&!er(t)}var f1=We(ME);function ME(e,t){var r=bo(e);return NE(r,t)}function NE(e,t){return e.reduce(function(r,a){var n=Lr(t,r),i=Lr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,l=a.width*a.height;return o>l?r:a})}var $n={};lr($n,{accessibleText:function(){return xa},accessibleTextVirtual:function(){return bt},autocomplete:function(){return Da},formControlValue:function(){return H1},formControlValueMethods:function(){return Yl},hasUnicode:function(){return Zl},isHumanInterpretable:function(){return Ql},isIconLigature:function(){return Jl},isValidAutocomplete:function(){return X1},label:function(){return fA},labelText:function(){return Kl},labelVirtual:function(){return Do},nativeElementType:function(){return hA},nativeTextAlternative:function(){return G1},nativeTextMethods:function(){return V1},removeUnicode:function(){return Un},sanitize:function(){return we},subtreeText:function(){return ra},titleText:function(){return _o},unsupported:function(){return P1},visible:function(){return Z1},visibleTextNodes:function(){return mA},visibleVirtual:function(){return Ar}});function LE(e,t){e=e.actualNode||e;try{var r=Et(e),a=[],n=e.getAttribute(t);if(n){n=Pt(n);for(var i=0;i<n.length;i++)a.push(r.getElementById(n[i]));}return a}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Er=LE;function BE(e,t){var r=Te(e);return bt(r,t)}var xa=BE;function qE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Me(e),a=r.vNode;if(a?.props.nodeType!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return "";var n=Er(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var l=xa(o,Se({inLabelledByContext:true,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(l):l},"")}var jn=qE;function zn(e){var t=Me(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var $E={"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}},p1=$E,jE={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"]}},h1=jE,zE={"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"]}},HE=zE,VE={"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}},GE=VE,UE={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"]}},WE=UE,YE={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]},KE=YE,m1={ariaAttrs:p1,ariaRoles:Se({},h1,HE,GE),htmlElms:WE,cssColors:KE},za=Se({},m1);function XE(e){Object.keys(za).forEach(function(t){e[t]&&(za[t]=El(za[t],e[t]));});}function ZE(){Object.keys(za).forEach(function(e){za[e]=m1[e];});}var Le=za;function JE(e){var t=Le.ariaRoles[e];return t?!!t.unsupported:false}var jl=JE;function QE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?false:a,i=Le.ariaRoles[e],o=jl(e);return !i||n&&o?false:r?true:i.type!=="abstract"}var Hn=QE;function eD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof vt?e:Te(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Pt(i):[i],l=o.find(function(c){return !n&&c.substr(0,4)==="doc-"?false:Hn(c,{allowAbstract:a})});return l||null}var Fe=eD;function tD(e){return Object.keys(Le.htmlElms).filter(function(t){var r=Le.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 zl=tD;function rD(){return Ae.get("globalAriaAttrs",function(){return Object.keys(Le.ariaAttrs).filter(function(e){return Le.ariaAttrs[e].global})})}var ea=rD;function aD(e){for(var t=[],r=e.rows,a=0,n=r.length;a<n;a++){var i=r[a].cells;t[a]=t[a]||[];for(var o=0,l=0,c=i.length;l<c;l++)for(var p=0;p<i[l].colSpan;p++){for(var h=i[l].getAttribute("rowspan"),g=parseInt(h)===0||i[l].rowspan===0?r.length:i[l].rowSpan,y=0;y<g;y++){for(t[a+y]=t[a+y]||[];t[a+y][o];)o++;t[a+y][o]=i[l];}o++;}}return t}var Br=We(aD);function nD(e,t){var r,a;for(t||(t=Br(ja(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(a=t[r].indexOf(e),a!==-1))return {x:a,y:r}}var wo=We(nD);function Hl(e){var t=Me(e),r=t.vNode,a=t.domNode,n=r.attr("scope"),i=Fe(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(n==="col"||n==="row")return n;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Br(ja(a,"table")),l=wo(a,o),c=o[l.y].every(function(h){return h.nodeName.toUpperCase()==="TH"});if(c)return "col";var p=o.map(function(h){return h[l.x]}).every(function(h){return h&&h.nodeName.toUpperCase()==="TH"});return p?"row":"auto"}function iD(e){return ["col","auto"].indexOf(Hl(e))!==-1}var Ha=iD;function oD(e){return ["row","auto"].includes(Hl(e))}var Va=oD;function sD(e){return e?e.replace(/\r\n/g,`
|
|
17
|
+
`).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var we=sD,g1=function(){return Ae.get("sectioningContentSelector",function(){return zl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},v1=function(){return Ae.get("sectioningContentPlusMainSelector",function(){return g1()+" , main:not([role]), [role=main]"})};function Vl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?false:r;return !!(we(jn(e))||we(zn(e))||a&&e?.props.nodeType===1&&we(e.attr("title")))}var lD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return zt(t.parent,g1())&&!Vl(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=zt(t,v1());return r?null:"contentinfo"},form:function(t){return Vl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=zt(t,v1());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=ea().find(function(n){return t.hasAttr(n)});return r&&!a&&!ut(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=Er(t.actualNode,"list").filter(function(n){return !!n})[0];r=a&&a.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 Vl(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=zt(t,"table"),a=Fe(r);return ["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Ha(t))return "columnheader";if(Va(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Gl=lD;function uD(e,t){var r=U(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 a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var Ea=uD;function cD(e,t){return Ea(!!bt(e),t)}var y1=cD;function dD(e,t){var r=U(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(a){return Ea(e(a),t[a])})}var Ul=dD;function fD(e,t){return e=Me(e).vNode,Ul(function(r){return e.attr(r)},t)}var b1=fD;function w1(e,t){return !!t(e)}function pD(e,t){return Ea(Fe(e),t)}var _1=pD;function hD(e,t){return Ea(Dr(e),t)}var x1=hD;function mD(e,t){return e=Me(e).vNode,Ea(e.props.nodeName,t)}var E1=mD;function gD(e,t){return e=Me(e).vNode,Ul(function(r){return e.props[r]},t)}var D1=gD;function vD(e,t){return Ea(Re(e),t)}var A1=vD,C1={hasAccessibleName:y1,attributes:b1,condition:w1,explicitRole:_1,implicitRole:x1,nodeName:E1,properties:D1,semanticRole:A1};function R1(e,t){return e=Me(e).vNode,Array.isArray(t)?t.some(function(r){return R1(e,r)}):typeof t=="string"?fl(e,t):Object.keys(t).every(function(r){if(!C1[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=C1[r],n=t[r];return a(e,n)})}var T1=R1;function yD(e,t){return T1(e,t)}var Vt=yD;Vt.hasAccessibleName=y1,Vt.attributes=b1,Vt.condition=w1,Vt.explicitRole=_1,Vt.fromDefinition=T1,Vt.fromFunction=Ul,Vt.fromPrimative=Ea,Vt.implicitRole=x1,Vt.nodeName=E1,Vt.properties=D1,Vt.semanticRole=A1;var Vn=Vt;function bD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?false:r,n=Le.htmlElms[e.props.nodeName];if(!n)return {};if(!n.variant)return n;var i=n.variant,o=Ee(n,G);for(var l in i)if(!(!i.hasOwnProperty(l)||l==="default")){for(var c=i[l],p=c.matches,h=Ee(c,V),g=Array.isArray(p)?p:[p],y=0;y<g.length&&a;y++)if(g[y].hasOwnProperty("hasAccessibleName"))return n;if(Vn(e,p))for(var w in h)h.hasOwnProperty(w)&&(o[w]=h[w]);}for(var _ in i.default)i.default.hasOwnProperty(_)&&typeof o[_]>"u"&&(o[_]=i.default[_]);return o}var ta=bD;function wD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof vt?e:Te(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=a.props.nodeName,i=Gl[n];if(!i&&r){var o=ta(a),l=o.chromiumRole;return l||null}return typeof i=="function"?i(a):i||null}var Dr=wD,_D={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 S1(e,t){var r=_D[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 a=Fe(e.parent,t);return ["none","presentation"].includes(a)&&!F1(e.parent)?a:a?null:S1(e.parent,t)}function k1(e,t){var r=t.chromium,a=Ee(t,te),n=Dr(e,{chromium:r});if(!n)return null;var i=S1(e,a);return i||n}function F1(e){var t=ea().some(function(r){return e.hasAttr(r)});return t||ut(e)}function xD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Ee(t,re),n=Me(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=Fe(i,a);return o?["presentation","none"].includes(o)&&F1(i)?r?null:k1(i,a):o:r?null:k1(i,a)}function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Ee(t,pe),n=xD(e,a);return r&&["presentation","none"].includes(n)?null:n}var Re=ED,DD=["iframe"];function AD(e){var t=Me(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!Vt(r,DD)&&["none","presentation"].includes(Re(r))?"":r.attr("title")}var _o=AD;function CD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof vt?e:Te(e),e.props.nodeType!==1)return false;var a=Re(e),n=Le.ariaRoles[a];return n&&n.nameFromContent?true:r?false:!n||["presentation","none"].includes(a)}var O1=CD;function RD(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=Er(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return m.utils.getNodeFromTree(o)}),n=a.filter(function(o,l){return a.indexOf(o)===l}),i=r.filter(function(o){return !n.includes(o)});return [].concat(ve(i),ve(n))}return ve(r)}var Gn=RD,P1={accessibleNameFromFieldValue:["progressbar"]};function et(e){return e=Me(e).vNode,Wl(e)}var Wl=We(function(t,r){return Mp(t)||yo(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Rl(t,Wl):Qr(t,{skipAncestors:true,isAncestor:r})?false:t.parent?Wl(t.parent,true):true});function I1(e,t,r){var a=Me(e),n=a.vNode,i=t?et:Ht,o=!e.actualNode||e.actualNode&&i(e),l=n.children.map(function(c){var p=c.props,h=p.nodeType,g=p.nodeValue;if(h===3){if(g&&o)return g}else if(!r)return I1(c,t)}).join("");return we(l)}var Ar=I1,TD=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function SD(e){e=e instanceof vt?e:Te(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!TD.includes((e.attr("type")||"").toLowerCase())}var M1=SD;function kD(e){e=e instanceof vt?e:Te(e);var t=e.props.nodeName;return t==="select"}var N1=kD;function FD(e){var t=Fe(e);return t==="textbox"}var L1=FD;function OD(e){var t=Fe(e);return t==="listbox"}var B1=OD;function PD(e){var t=Fe(e);return t==="combobox"}var q1=PD,ID=["progressbar","scrollbar","slider","spinbutton"];function MD(e){var t=Fe(e);return ID.includes(t)}var $1=MD,j1=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Yl={nativeTextboxValue:LD,nativeSelectValue:BD,ariaTextboxValue:qD,ariaListboxValue:z1,ariaComboboxValue:$D,ariaRangeValue:jD};function ND(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=P1.accessibleNameFromFieldValue||[],n=Re(e);if(t.startNode===e||!j1.includes(n)||a.includes(n))return "";var i=Object.keys(Yl).map(function(l){return Yl[l]}),o=i.reduce(function(l,c){return l||c(e,t)},"");return t.debug&&ba(o||"{empty-value}",r,t),o}function LD(e){var t=Me(e),r=t.vNode;return M1(r)&&r.props.value||""}function BD(e){var t=Me(e),r=t.vNode;if(!N1(r))return "";var a=Ut(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return Ar(i)}).join(" ")||""}function qD(e){var t=Me(e),r=t.vNode,a=t.domNode;return L1(r)?!a||a&&!Qr(a)?Ar(r,true):a.textContent:""}function z1(e,t){var r=Me(e),a=r.vNode;if(!B1(a))return "";var n=Gn(a).filter(function(i){return Re(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":bt(n[0],t)}function $D(e,t){var r=Me(e),a=r.vNode;if(!q1(a))return "";var n=Gn(a).filter(function(i){return Re(i)==="listbox"})[0];return n?z1(n,t):""}function jD(e){var t=Me(e),r=t.vNode;if(!$1(r)||!r.hasAttr("aria-valuenow"))return "";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var H1=ND;function zD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=bt.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,l=Re(e),c=ta(e,{noMatchAccessibleName:true}),p=c.contentTypes;if(r(e,t)||e.props.nodeType!==1||p!=null&&p.includes("embedded")||j1.includes(l)||!t.subtreeDescendant&&!t.inLabelledByContext&&!O1(e,{strict:n}))return "";if(!n){var h=!i&&!o;t=Se({subtreeDescendant:h},t);}return Gn(e).reduce(function(g,y){return VD(g,y,t)},"")}var HD=zl("phrasing").concat(["#text"]);function VD(e,t,r){var a=t.props.nodeName,n=bt(t,r);return n?(HD.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var ra=zD;function GD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=bt.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var a=Se({inControlContext:true},t),n=UD(e),i=zt(e,"label"),o;return i?(o=[].concat(ve(n),[i.actualNode]),o.sort(Eu)):o=n,o.map(function(l){return xa(l,a)}).filter(function(l){return l!==""}).join(" ")}function UD(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Sp({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var Kl=GD,WD={submit:"Submit",image:"Submit",reset:"Reset",button:""},YD={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return WD[t.props.type]||""},tableCaptionText:xo.bind(null,"caption"),figureText:xo.bind(null,"figcaption"),svgTitleText:xo.bind(null,"title"),fieldsetLegendText:xo.bind(null,"legend"),altText:Xl.bind(null,"alt"),tableSummaryText:Xl.bind(null,"summary"),titleText:_o,subtreeText:ra,labelText:Kl,singleSpace:function(){return " "},placeholderText:Xl.bind(null,"placeholder")};function Xl(e,t){return t.attr(e)||""}function xo(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return !i||i.nodeName.toLowerCase()!==e?"":xa(i,r)}var V1=YD;function G1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Re(e)))return "";var a=KD(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&m.log(n||"{empty-value}",r,t),n}function KD(e){var t=ta(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(a){return V1[a]})}function U1(){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 W1(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Y1(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function K1(){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 XD(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=false;return r&&(i||(i=Bs().test(e))),a&&(i||(i=U1().test(e)||Y1().test(e)||K1().test(e))),n&&(i||(i=W1().test(e))),i}var Zl=XD;function Jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!we(a)||Zl(a,{emoji:true,nonBmp:true}))return false;var n=Ae.get("canvasContext",function(){return d.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=n.canvas,o=Ae.get("fonts",function(){return {}}),l=s.getComputedStyle(e.parent.actualNode),c=l.getPropertyValue("font-family");o[c]||(o[c]={occurrences:0,numLigatures:0});var p=o[c];if(p.occurrences>=r){if(p.numLigatures/p.occurrences===1)return true;if(p.numLigatures===0)return false}p.occurrences++;var h=30,g="".concat(h,"px ").concat(c);n.font=g;var y=a.charAt(0),w=n.measureText(y).width;if(w===0)return p.numLigatures++,true;if(w<30){var _=30/w;w*=_,h*=_,g="".concat(h,"px ").concat(c);}i.width=w,i.height=h,n.font=g,n.textAlign="left",n.textBaseline="top",n.fillText(y,0,0);var D=new Uint32Array(n.getImageData(0,0,w,h).data.buffer);if(!D.some(function(B){return B}))return p.numLigatures++,true;n.clearRect(0,0,w,h),n.fillText(a,0,0);var C=new Uint32Array(n.getImageData(0,0,w,h).data.buffer),R=D.reduce(function(B,z,W){return z===0&&C[W]===0||z!==0&&C[W]!==0?B:++B},0),T=a.split("").reduce(function(B,z){return B+n.measureText(z).width},0),O=n.measureText(a).width,P=R/D.length,M=1-O/T;return P>=t&&M>=t?(p.numLigatures++,true):false}function bt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=eA(e,t),JD(e,t)||QD(e,t))return "";var r=[jn,zn,G1,H1,ra,ZD,_o],a=r.reduce(function(n,i){return t.startNode===e&&(n=we(n)),n!==""?n:i(e,t)},"");return t.debug&&m.log(a||"{empty-value}",e.actualNode,t),a}function ZD(e){return e.props.nodeType!==3?"":e.props.nodeValue}function JD(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!et(e)}function QD(e,t){var r,a=t.ignoreIconLigature,n=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!a?false:Jl(e,n,i)}function eA(e,t){return t.startNode||(t=Se({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=Se({includeHidden:!et(e)},t)),t}bt.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function tA(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(Bs(),"")),a&&(e=e.replace(U1(),"").replace(Y1(),"").replace(K1(),"")),n&&(e=e.replace(W1(),"")),e}var Un=tA;function rA(e){return aA(e)||nA(e)||iA(e)||oA(e)?0:1}function aA(e){return we(e).length===0}function nA(e){return e.length===1&&e.match(/\D/)}function iA(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function oA(e){var t=Un(e,{emoji:true,nonBmp:true,punctuations:true});return !we(t)}var Ql=rA,Da={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 sA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?false:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,l=o===void 0?[]:o,c=t.qualifiers,p=c===void 0?[]:c,h=t.standaloneTerms,g=h===void 0?[]:h,y=t.qualifiedTerms,w=y===void 0?[]:y,_=t.ignoredValues,D=_===void 0?[]:_;if(e=e.toLowerCase().trim(),i=i.concat(Da.stateTerms),i.includes(e)||e==="")return true;p=p.concat(Da.qualifiers),l=l.concat(Da.locations),g=g.concat(Da.standaloneTerms),w=w.concat(Da.qualifiedTerms);var C=e.split(/\s+/g);if(C[C.length-1]==="webauthn"&&(C.pop(),C.length===0)||!a&&(C[0].length>8&&C[0].substr(0,8)==="section-"&&C.shift(),l.includes(C[0])&&C.shift(),p.includes(C[0])&&(C.shift(),g=[]),C.length!==1))return false;var R=C[C.length-1];if(!D.includes(R))return g.includes(R)||w.includes(R)}var X1=sA;function lA(e){var t,r;return e.attr("aria-labelledby")&&(t=Er(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=Te(a);return n?Ar(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=we(r),r))?r:null}var Eo=lA;function uA(e,t,r){return e=Te(e),Ar(e,t,r)}var Z1=uA;function cA(e){var t,r,a;if(r=Eo(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=nt(e.attr("id"));if(a=Et(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&Z1(t,true),r)return r}return t=zt(e,"label"),r=t&&Ar(t,true),r||null}var Do=cA;function dA(e){return e=Te(e),Do(e)}var fA=dA,pA=[{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"]}],hA=pA;function J1(e){var t=Ht(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(J1(a));}),r}var mA=J1,gA=We(function(t){var r=Te(t),a=r.boundingClientRect,n=[],i=Ln(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||we(o.nodeValue)==="")){var l=vA(o);yA(l,a)||n.push.apply(n,ve(Q1(l,i)));}}),n.length?n:Q1([a],i)}),eu=gA;function vA(e){var t=d.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function yA(e,t){return e.some(function(r){var a=Bn(r);return !po(a,t)})}function Q1(e,t){var r=[];return e.forEach(function(a){if(!(a.width<1||a.height<1)){var n=t.reduce(function(i,o){return i&&ho(i,o.boundingClientRect)},a);n&&r.push(n);}}),r}function bA(e){var t=go(e);if(!t)return [];var r=eu(e);return r.map(function(a){return ql(t,a)})}var tu=bA,wA=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function _A(e){var t=Me(e),r=t.vNode,a=m.commons.aria.getExplicitRole(r);if(a)return wA.indexOf(a)!==-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 ru=_A,xA=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Ao(e){return xA.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function eh(e,t,r){return Ao(e)||ru(e.actualNode)||!r&&!!Eo(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&eh(a)})}var Wn=eh;function EA(e,t,r){return e=Te(e),Wn(e,t,r)}var Co=EA;function au(e){return typeof e.children>"u"||Ao(e)?true:e.props.nodeType===1&&ru(e)?!!m.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&au(t)&&!Qr(t)})}function DA(e){var t=Rr(e.getAttribute("tabindex"));return t>-1&&ut(e)&&!$l(e)}var th=DA;function rh(e,t){var r=Me(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=ah(n,t)),a._isHiddenWithCSS):ah(n,t)}function ah(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=s.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return true;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return true;var o=yt(e);return o&&!n.includes(i)?rh(o,i):false}var AA=rh;function CA(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var nh=CA;function RA(e){var t;(e instanceof vt||(t=s)!==null&&t!==void 0&&t.Node&&e instanceof s.Node)&&(e=m.commons.aria.getRole(e));var r=Le.ariaRoles[e];return r?.type||null}var mr=RA,TA=["block","list-item","table","flex","grid"],SA=["inline-block","inline-flex","inline-grid"];function kA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,a=t.includeInlineBlock,n=a===void 0?false:a,i=Me(e),o=i.vNode,l=i.domNode;if(iu(l)||!n&&FA(o))return false;var c=OA(l),p="",h="",g=0;return ih(c,function(y){if(y===c.actualNode)return true;if(g===2)return false;if(y.nodeType===3&&(p+=y.nodeValue),y.nodeType===1){var w=(y.nodeName||"").toUpperCase();y===l&&(g=1);var _=iu(y);if((_||["BR","HR"].includes(w))&&(g===0?(p="",h=""):g=2),_||y.style.display==="none"||y.style.overflow==="hidden"||!["",null,"none"].includes(y.style.float)||!["",null,"relative"].includes(y.style.position))return false;if(mr(y)==="widget")return h+=y.textContent,false}}),p=we(p),r?p.length!==0:(h=we(h),p.length>h.length)}var nu=kA;function iu(e){var t=Me(e),r=t.vNode,a=r.getComputedStylePropertyValue("display");return TA.includes(a)||a.substr(0,6)==="table-"}function FA(e){var t=e.getComputedStylePropertyValue("display");return SA.includes(t)}function ih(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return ih(r,t)});}function OA(e){for(var t=yt(e);t&&!iu(t);)t=yt(t);return Te(t)}function PA(e){e=e||{};var t=e.modalPercent||.75;if(Ae.get("isModalOpen"))return Ae.get("isModalOpen");var r=Tr(m._tree[0],"dialog, [role=dialog], [aria-modal=true]",Ht);if(r.length)return Ae.set("isModalOpen",true),true;for(var a=uo(s),n=a.width*t,i=a.height*t,o=(a.width-n)/2,l=(a.height-i)/2,c=[{x:o,y:l},{x:a.width-o,y:l},{x:a.width/2,y:a.height/2},{x:o,y:a.height-l},{x:a.width-o,y:a.height-l}],p=c.map(function(w){return Array.from(d.elementsFromPoint(w.x,w.y))}),h=function(){var _=p[y].find(function(D){var C=s.getComputedStyle(D);return parseInt(C.width,10)>=n&&parseInt(C.height,10)>=i&&C.getPropertyValue("pointer-events")!=="none"&&(C.position==="absolute"||C.position==="fixed")});if(_&&p.every(function(D){return D.includes(_)}))return Ae.set("isModalOpen",true),{v:true}},g,y=0;y<p.length;y++)if(g=h(),g)return g.v;Ae.set("isModalOpen",void 0);}var Yn=PA;function oh(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 a=0,n=0,i=Ve(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var l=o.value;if(!(l.height<=t))if(a>l.top+t)a=Math.max(a,l.bottom);else if(n===0)a=l.bottom,n++;else return !0}}catch(c){i.e(c);}finally{i.f();}return false}function IA(e){return e instanceof s.Node}var MA=IA,ou="color.incompleteData",NA={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=Ae.get(ou,function(){return {}});return r&&(a[t]=r),a[t]},get:function(t){var r=Ae.get(ou);return r?.[t]},clear:function(){Ae.set(ou,{});}},Ye=NA;function LA(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return Ye.set("bgColor","imgNode"),true;t=t||s.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);Ye.set("bgColor",o?"bgGradient":"bgImage");}return i}var Ro=LA,BA=/^#[0-9a-f]{3,8}$/i,qA=/hsl\(\s*([-\d.]+)(rad|turn)/,Kn=(ze=new WeakMap,st=new WeakMap,xt=new WeakMap,Wt=new WeakMap,gt=new WeakMap,Ot=new WeakMap,dn=new WeakSet,(function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(or(this,e),Uc(this,dn),Hr(this,ze,void 0),Hr(this,st,void 0),Hr(this,xt,void 0),Hr(this,Wt,void 0),Hr(this,gt,void 0),Hr(this,Ot,void 0),t instanceof Kn){var i=t.r,o=t.g,l=t.b;this.r=i,this.g=o,this.b=l,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=a,this.alpha=n;}return sr(e,[{key:"r",get:function(){return ir(ze,this)},set:function(r){Mt(ze,this,r),Mt(Wt,this,Math.round(Ga(r,0,1)*255));}},{key:"g",get:function(){return ir(st,this)},set:function(r){Mt(st,this,r),Mt(gt,this,Math.round(Ga(r,0,1)*255));}},{key:"b",get:function(){return ir(xt,this)},set:function(r){Mt(xt,this,r),Mt(Ot,this,Math.round(Ga(r,0,1)*255));}},{key:"red",get:function(){return ir(Wt,this)},set:function(r){Mt(ze,this,r/255),Mt(Wt,this,Ga(r,0,255));}},{key:"green",get:function(){return ir(gt,this)},set:function(r){Mt(st,this,r/255),Mt(gt,this,Ga(r,0,255));}},{key:"blue",get:function(){return ir(Ot,this)},set:function(r){Mt(xt,this,r/255),Mt(Ot,this,Ga(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return {red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(qA,function(i,o,l){var c=o+l;switch(l){case "rad":return i.replace(c,jA(o));case "turn":return i.replace(c,zA(o))}});try{var a;"Prototype"in s&&"Version"in s.Prototype&&(a=Array.from,Array.from=Jf.default);var n=new Ge(r).toGamut({space:"srgb",method:"clip"}).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha;}catch{throw Ye.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(BA)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,a=this.g,n=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4),l=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*l}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var a=r-this.getLuminosity();return ka(dn,this,$A).call(this,a).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 a=new Kn(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(h,g){return h.value-g.value}),o=ie(i,3),l=o[0],c=o[1],p=o[2];return p.value>l.value?(c.value=(c.value-l.value)*r/(p.value-l.value),p.value=r):c.value=p.value=0,l.value=0,a[p.name]=p.value,a[l.name]=l.value,a[c.name]=c.value,a}},{key:"clip",value:function(){var r=new Kn(this),a=r.getLuminosity(),n=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return n<0&&(r.r=a+(r.r-a)*a/(a-n),r.g=a+(r.g-a)*a/(a-n),r.b=a+(r.b-a)*a/(a-n)),i>1&&(r.r=a+(r.r-a)*(1-a)/(i-a),r.g=a+(r.g-a)*(1-a)/(i-a),r.b=a+(r.b-a)*(1-a)/(i-a)),r}}])})());function $A(e){var t=new Kn(this);return t.r+=e,t.g+=e,t.b+=e,t}var tt=Kn;function Ga(e,t,r){return Math.min(Math.max(t,e),r)}function jA(e){return e*180/Math.PI}function zA(e){return e*360}function HA(e){var t=new tt;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Aa=HA;function VA(e){var t=s.getComputedStyle(e);return Ro(e,t)||Aa(t).alpha===1}var GA=VA;function su(e){if(!e.href)return false;var t=Ae.get("firstPageLink",UA);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function UA(){var e;return s.location.origin?e=Ut(m._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !Nl(t.actualNode)}):e=Ut(m._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var WA=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,YA=/(\w+)\((\d+)/;function KA(e){var t=e.getPropertyValue("clip").match(WA),r=e.getPropertyValue("clip-path").match(YA);if(t&&t.length===5){var a=e.getPropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case "inset":return i>=50;case "circle":return i===0;}}return false}function XA(e,t,r){var a=ja(e,"map");if(!a)return false;var n=a.getAttribute("name");if(!n)return false;var i=Et(e);if(!i||i.nodeType!==9)return false;var o=Ut(m._tree,'img[usemap="#'.concat(nt(n),'"]'));return !o||!o.length?false:o.some(function(l){var c=l.actualNode;return To(c,t,r)})}function To(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof vt?e:Te(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=s.Node)!==null&&a!==void 0?a:{},l=o.DOCUMENT_NODE,c=o.DOCUMENT_FRAGMENT_NODE,p=n?n.props.nodeType:e.nodeType,h=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(p===l)return true;if(["style","script","noscript","template"].includes(h))return false;if(e&&p===c&&(e=e.host),t){var g=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(g==="true")return false}if(!e){var y=n.parent,w=true;return y&&(w=To(y,t,true)),n&&(n[i]=w),w}var _=s.getComputedStyle(e,null);if(_===null)return false;if(h==="area")return XA(e,t,r);if(_.getPropertyValue("display")==="none")return false;var D=parseInt(_.getPropertyValue("height")),C=parseInt(_.getPropertyValue("width")),R=qr(e),T=R&&D===0,O=R&&C===0,P=_.getPropertyValue("position")==="absolute"&&(D<2||C<2)&&_.getPropertyValue("overflow")==="hidden";if(!t&&(KA(_)||_.getPropertyValue("opacity")==="0"||T||O||P)||!r&&(_.getPropertyValue("visibility")==="hidden"||!t&&fo(e)))return false;var M=e.assignedSlot?e.assignedSlot:e.parentNode,B=false;return M&&(B=To(M,t,true)),n&&(n[i]=B),B}var ZA=To;function JA(e,t){for(var r=["fixed","sticky"],a=[],n=false,i=0;i<e.length;++i){var o=e[i];o===t&&(n=true);var l=s.getComputedStyle(o);if(!n&&r.indexOf(l.position)!==-1){a=[];continue}a.push(o);}return a}var sh=JA;function lh(e,t){var r=uh(t);do{var a=uh(e);if(a===r||a===t)return QA(e,t);e=a;}while(e);return false}function uh(e){for(var t=Te(e),r=t.parent;r;){if(qr(r.actualNode))return r.actualNode;r=r.parent;}}function QA(e,t){var r=s.getComputedStyle(t),a=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var n=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(a)||t instanceof s.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),n.length===1&&a==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(n[0]=o),n.some(function(l){return !(Math.ceil(l.left)<Math.floor(o.left)||Math.ceil(l.top)<Math.floor(o.top)||Math.floor(l.left+l.width)>Math.ceil(o.left+o.width)||Math.floor(l.top+l.height)>Math.ceil(o.top+o.height))})}function ch(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:d,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Et(n)===r}).reduce(function(n,i){if(lo(i)){var o=ch(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&lh(n[0],i)&&n.push(i);}else n.push(i);return n},[])}var eC=ch;function tC(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=d.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=aC(i),l=o.pathname,c=o.filename;return {protocol:n,hostname:a.hostname,port:rC(a.port),pathname:/\/$/.test(l)?l:"".concat(l,"/"),search:nC(a.search),hash:iC(a.hash),filename:c}}}function rC(e){var t=["443","80"];return t.includes(e)?"":e}function aC(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function nC(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;a<r.length;a++){var n=r[a],i=n.split("="),o=ie(i,2),l=o[0],c=o[1],p=c===void 0?"":c;t[decodeURIComponent(l)]=decodeURIComponent(p);}return t}function iC(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var a=ie(r,1),n=a[0];return n==="#"?"":e}var oC=tC;function sC(e,t){var r=t.getBoundingClientRect(),a=r.top,n=r.left,i={top:a-t.scrollTop,bottom:a-t.scrollTop+t.scrollHeight,left:n-t.scrollLeft,right:n-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=s.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof s.HTMLBodyElement||t instanceof s.HTMLHtmlElement:true}var lu=sC,dh=0,lC=(function(e){function t(r,a,n){var i;if(or(this,t),i=vi(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(dh=0),i.nodeIndex=dh++,i._isHidden=null,i._cache={},i._isXHTML=Tn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),qo().includes(o)||(o="text"),i._type=o;}return Ae.get("nodeMap")&&Ae.get("nodeMap").set(r,i),i}return yi(t,e),sr(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,l=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:l},n===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(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof s.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=s.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=ut(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=d1(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(vt),uu=lC;function uC(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Pt=uC,Ca=" [idsMap]";function fh(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(c){return ph(c)}))return;var o=new Set;t.forEach(function(c){var p,h=cC(c,a,n);h==null||(p=h.nodes)===null||p===void 0||p.forEach(function(g){h.isComplexSelector&&!Na(g,c)||o.add(g);});});var l=[];return o.forEach(function(c){return l.push(c)}),r&&(l=l.filter(r)),l.sort(function(c,p){return c.nodeIndex-p.nodeIndex})}}function cC(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(ph(a))n=t["*"];else {if(a.id){var o;if(!t[Ca]||!Object.hasOwn(t[Ca],a.id)||!((o=t[Ca][a.id])!==null&&o!==void 0&&o.length))return;n=t[Ca][a.id].filter(function(D){return D.shadowId===r});}if(a.tag&&a.tag!=="*"){var l;if(!((l=t[a.tag])!==null&&l!==void 0&&l.length))return;var c=t[a.tag];n=n?cu(c,n):c;}if(a.classes){var p;if(!((p=t["[class]"])!==null&&p!==void 0&&p.length))return;var h=t["[class]"];n=n?cu(h,n):h;}if(a.attributes)for(var g=0;g<a.attributes.length;g++){var y,w=a.attributes[g];if(w.type==="attrValue"&&(i=true),!((y=t["[".concat(w.key,"]")])!==null&&y!==void 0&&y.length))return;var _=t["[".concat(w.key,"]")];n=n?cu(_,n):_;}}return {nodes:n,isComplexSelector:i}}function ph(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function cu(e,t){return e.filter(function(r){return t.includes(r)})}function So(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function hh(e,t){e.props.nodeType===1&&(So(e.props.nodeName,e,t),So("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[Ca]=t[Ca]||{},Pt(e.attr(r)).forEach(function(a){So(a,e,t[Ca]);})),So("[".concat(r,"]"),e,t);}));}var du;function fu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d.documentElement,t=arguments.length>1?arguments[1]:void 0;du=false;var r={};Ae.set("nodeMap",new WeakMap),Ae.set("selectorMap",r);var a=mh(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=du,a}function dC(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function pu(e,t,r){var a=new uu(e,t,r);return hh(a,Ae.get("selectorMap")),a}function ko(e,t,r){var a=[];return e.forEach(function(n){var i=mh(n,r,t);i&&a.push.apply(a,ve(i));}),a}function mh(e,t,r){var a,n;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(lo(e))return du=true,a=pu(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=ko(n,a,t),[a];if(i==="content"&&typeof e.getDistributedNodes=="function")return n=Array.from(e.getDistributedNodes()),ko(n,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){n=Array.from(e.assignedNodes()),n.length||(n=dC(e));s.getComputedStyle(e);return ko(n,r,t)}if(e.nodeType===d.ELEMENT_NODE)return a=pu(e,r,t),n=Array.from(e.childNodes),a.children=ko(n,a,t),[a];if(e.nodeType===d.TEXT_NODE)return [pu(e,r)]}function fC(e){return e?e.trim().split("-")[0].toLowerCase():""}var Ra=fC;function pC(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 a=m._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(`
|
|
18
|
+
|
|
19
|
+
`)}var hu=pC;function mu(){var e=m._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var gh=Ce.resultGroups;function Xn(e,t){var r=m.utils.aggregateResult(e);return gh.forEach(function(a){t.resultTypes&&!t.resultTypes.includes(a)&&(r[a]||[]).forEach(function(n){Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=[n.nodes[0]]);}),r[a]=(r[a]||[]).map(function(n){return n=Object.assign({},n),Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=n.nodes.map(function(i){if(U(i.node)==="object"){var o=vh(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,hC(i,t),i})),gh.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n});}),r}function hC(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(a){return Array.isArray(a.relatedNodes)}).forEach(function(a){a.relatedNodes=a.relatedNodes.map(function(n){return vh(n,t)});});});}function vh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=Qt.dqElmToSpec(e,t);var r={};if(m._audit.noHtml)r.html=null;else {var a;r.html=(a=e.source)!==null&&a!==void 0?a:"Undefined";}if(t.elementRef&&!e.fromFrame){var n;r.element=(n=e.element)!==null&&n!==void 0?n: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 l;r.xpath=(l=e.xpath)!==null&&l!==void 0?l:["/"];}return r}var mC=/\$\{\s?data\s?\}/g;function Fo(e,t){if(typeof t=="string")return e.replace(mC,t);for(var r in t)if(t.hasOwnProperty(r)){var a=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),n=typeof t[r]>"u"?"":String(t[r]);e=e.replace(a,n);}return e}function yh(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 a=e[t];return Fo(a,t)}var n=e.default||mu();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),yh(n,t)}}var gu=yh;function gC(e,t,r){var a=m._audit.data.checks[e];if(!a)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!a.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return gu(a.messages[t],r)}var vC=gC;function yC(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],i=e.enabled,o=e.options;return n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var Oo=yC;function aa(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;return t&&U(t)==="object"?t:U(r)!=="object"?{}:{testEngine:{name:"axe-core",version:m.version},testRunner:{name:m._audit.brand},testEnvironment:bC(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function bC(e){if(!e.navigator||U(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=wC(e)||{},i=n.angle,o=n.type;return {userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function wC(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function bh(e,t){var r=t.focusable,a=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&_C(e),size:xC(e),page:a}}function _C(e){var t=Rr(e.getAttribute("tabindex"));return t===null||t>=0}function xC(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var a=e.getBoundingClientRect();t=isNaN(t)?a.width:t,r=isNaN(r)?a.height:r;}return {width:t,height:r}}function EC(e){if(yu(e)){var t=" must be used inside include or exclude. It should not be on the same object.";na(!Cr(e,"fromFrames"),"fromFrames"+t),na(!Cr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(Io(e))e={include:e,exclude:[]};else return {include:[d],exclude:[]};var r=wh(e.include);r.length===0&&r.push(d);var a=wh(e.exclude);return {include:r,exclude:a}}function wh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];vu(e)||(e=[e]);for(var r=0;r<e.length;r++){var a=DC(e[r]);a&&t.push(a);}return t}function DC(e){return e instanceof s.Node?e:typeof e=="string"?[e]:(bu(e)?(CC(e),e=e.fromFrames):Mo(e)&&(e=[e]),AC(e))}function AC(e){if(Array.isArray(e)){var t=[],r=Ve(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;if(Mo(n)&&(RC(n),n=n.fromShadowDom),typeof n!="string"&&!TC(n))return;t.push(n);}}catch(i){r.e(i);}finally{r.f();}return t}}function CC(e){na(Array.isArray(e.fromFrames),"fromFrames property must be an array"),na(e.fromFrames.every(function(t){return !Cr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),na(!Cr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function RC(e){na(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),na(e.fromShadowDom.every(function(t){return !Cr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),na(e.fromShadowDom.every(function(t){return !Cr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function TC(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function na(e,t){Ne(e,"Invalid context; ".concat(t,`
|
|
20
|
+
See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function _h(e,t){for(var r=[],a=0,n=e[t].length;a<n;a++){var i=e[t][a];if(i instanceof s.Node)if(i.documentElement instanceof s.Node)r.push(e.flatTree[0]);else if(i.host instanceof s.Node){var o=Array.from(i.children).map(function(c){return Te(c)});r.push.apply(r,ve(o));}else r.push(Te(i));else if(i&&i.length)if(i.length>1)SC(e,t,i);else {var l=Ru(i[0]);r.push.apply(r,ve(l.map(function(c){return Te(c)})));}}return r.filter(function(c){return c})}function SC(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Ru(a);n.forEach(function(i){var o=e.frames.find(function(l){return l.node===i});o||(o=bh(i,e),e.frames.push(o)),o[t].push(r);});}function Po(e,t){var r,a,n,i,o=this;e=Mr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:true,this.size=U((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=EC(e),this.flatTree=t??fu(PC(e)),this.exclude=e.exclude,this.include=e.include,this.include=_h(this,"include"),this.exclude=_h(this,"exclude"),Cu("frame, iframe",this).forEach(function(l){_u(l,o)&&kC(o,l.actualNode);}),typeof this.page>"u"&&(this.page=FC(this),this.frames.forEach(function(l){l.page=o.page;})),OC(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Eu);}function kC(e,t){!et(t)||Mn(e.frames,"node",t)||e.frames.push(bh(t,e));}function FC(e){var t=e.include;return t.length===1&&t[0].actualNode===d.documentElement}function OC(e){if(e.include.length===0&&e.frames.length===0){var t=hr.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function PC(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n<a.length;n++){var i=a[n];if(i instanceof s.Element)return i.ownerDocument.documentElement;if(i instanceof s.Document)return i.documentElement}return d.documentElement}function IC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new Po(e),a=r.frames;return a.map(function(n){var i=n.node,o=Ee(n,Pe);o.initiator=false;var l=eo(i);return {frameSelector:l,frameContext:o}})}function xh(e){var t=m._audit.rules.find(function(r){var a=r.id;return a===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function MC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=s.getComputedStyle(e),i=Eh(n,"overflow-x"),o=Eh(n,"overflow-y");if(r&&i||a&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function Eh(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var qr=We(MC);function Dh(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=qr(r);return a&&t.push(a),t.concat(Dh(r))},[])}function NC(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s,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(Dh(d.body))}var LC=NC;function BC(){return Mr(Le)}function qC(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?false:a,i=t.shadowId,o=t.root,l=t.priority,c=t.isLink,p=c===void 0?false:c,h=e.createElement("style");if(p){var g=e.createTextNode('@import "'.concat(r.href,'"'));h.appendChild(g);}else h.appendChild(e.createTextNode(r));return e.head.appendChild(h),{sheet:h.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:l}}}var Ah=qC,Gt;function $C(e){if(Gt&&Gt.parentNode)return Gt.styleSheet===void 0?Gt.appendChild(d.createTextNode(e)):Gt.styleSheet.cssText+=e,Gt;if(e){var t=d.head||d.getElementsByTagName("head")[0];return Gt=d.createElement("style"),Gt.type="text/css",Gt.styleSheet===void 0?Gt.appendChild(d.createTextNode(e)):Gt.styleSheet.cssText=e,t.appendChild(Gt),Gt}}var jC=$C;function vu(e){return !!e&&U(e)==="object"&&typeof e.length=="number"&&!(e instanceof s.Node)}function Cr(e,t){return !e||U(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function Ch(e){return yu(e)||Io(e)}function yu(e){return ["include","exclude"].some(function(t){return Cr(e,t)&&Io(e[t])})}function Io(e){return typeof e=="string"||e instanceof s.Node||bu(e)||Mo(e)||vu(e)}function bu(e){return Cr(e,"fromFrames")}function Mo(e){return Cr(e,"fromShadowDom")}function Rh(e,t){var r=Te(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=s.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=Rh(n,true);return r&&(r._isHidden=i),i}var zC=Rh;function HC(e){var t,r,a=(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:!!Le.htmlElms[a]}var wu=HC;function _u(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(h){return Nr(h,e)});if(o.length===0)return false;var l=i.filter(function(h){return Nr(h,e)});if(l.length===0)return true;var c=Th(o),p=Th(l);return Nr(p,c)}function Th(e){var t,r=Ve(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Nr(n,t))&&(t=n);}}catch(i){r.e(i);}finally{r.f();}return t}function xu(e,t){return e.length!==t.length?false:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?false:r.every(function(i,o){return n[o]===i}):r===n})}function VC(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Eu=VC;function Me(e){return e instanceof vt?{vNode:e,domNode:e.actualNode}:{vNode:Te(e),domNode:e}}function GC(e,t,r,a){var n=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(h){return h.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var l=o.filter(function(h){return h.href}).map(function(h){return h.href}).filter(function(h){return !a.includes(h)}),c=l.map(function(h,g){var y=[].concat(ve(r),[g]),w=/^https?:\/\/|^\/\//i.test(h);return Au(h,t,y,a,w)}),p=i.filter(function(h){return h.type!==3});return p.length&&c.push(Promise.resolve(t.convertDataToStylesheet({data:p.map(function(h){return h.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(c)}var Sh=GC;function UC(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=WC(e);return i?Sh(e,t,r,a,n):Au(e.href,t,r,a,true)}function WC(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Du=UC;function YC(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var l=new s.XMLHttpRequest;l.open("GET",e),l.timeout=Ce.preload.timeout,l.addEventListener("error",o),l.addEventListener("timeout",o),l.addEventListener("loadend",function(c){if(c.loaded&&l.responseText)return i(l.responseText);o(l.responseText);}),l.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return Du(o.sheet,t,r,a,o.isCrossOrigin)})}var Au=YC;function KC(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Rr=KC,XC=(function(){function e(){if(s.performance&&s.performance)return s.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(n){var i;(i=s.performance)!==null&&i!==void 0&&i.mark&&s.performance.mark(n);},measure:function(n,i,o){var l,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((l=s.performance)!==null&&l!==void 0&&l.measure){try{s.performance.measure(n,i,o);}catch(p){this._log(p);}c||this.clearMark(i,o);}},logMeasures:function(n){var i=this,o,l,c=function(D){return Array.isArray(D)?D[D.length-1]:D},p=function(D){i._log("Measure "+D.name+" took "+D.duration+"ms");};if(!(!((o=s.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((l=s.performance)!==null&&l!==void 0&&l.getEntriesByName))){var h=c(s.performance.getEntriesByName("mark_axe_start"))||c(s.performance.getEntriesByName("mark_audit_start"));if(!h){this._log("Axe must be started before using performanceTimer");return}for(var g=s.performance.getEntriesByType("measure").filter(function(_){return _.startTime>=h.startTime}),y=0;y<g.length;++y){var w=g[y];if(w.name===n){p(w);return}else n||p(w);}}},timeElapsed:function(){var n=e();return n-t},clearMark:function(){var n;if((n=s.performance)!==null&&n!==void 0&&n.clearMarks){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];for(var c=0,p=o;c<p.length;c++){var h=p[c];s.performance.clearMarks(h);}}},reset:function(){t=e();},_log:function(n){ba(n);}}})(),Be=XC;function kh(){if(d.elementsFromPoint)return d.elementsFromPoint;if(d.msElementsFromPoint)return d.msElementsFromPoint;var e=(function(){var n=d.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",a=d.createElement("style");return a.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(n,i){var o,l,c,p=[],h=[];for(d.head.appendChild(a);(o=d.elementFromPoint(n,i))&&p.indexOf(o)===-1;)p.push(o),h.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(p.indexOf(d.documentElement)<p.length-1&&(p.splice(p.indexOf(d.documentElement),1),p.push(d.documentElement)),l=h.length;c=h[--l];)p[l].style.setProperty(t,c.value?c.value:"",c.priority);return d.head.removeChild(a),p}}typeof s.addEventListener=="function"&&(d.elementsFromPoint=kh());function ZC(e,t){return e.concat(t).filter(function(r,a,n){return n.indexOf(r)===a})}var Zn=ZC;function Fh(e,t,r,a,n){var i=n||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=a,i}function JC(e,t,r){for(var a=Ae.get("qsa.recycledLocalVariables",function(){return []}),n=[],i=Array.isArray(e)?e:[e],o=Fh(i,t,null,e[0].shadowId,a.pop()),l=[];o.vNodesIndex<o.vNodes.length;){for(var c,p,h=o.vNodes[o.vNodesIndex++],g=null,y=null,w=(((c=o.anyLevel)===null||c===void 0?void 0:c.length)||0)+(((p=o.thisLevel)===null||p===void 0?void 0:p.length)||0),_=false,D=0;D<w;D++){var C,R,T,O=D<(((C=o.anyLevel)===null||C===void 0?void 0:C.length)||0)?o.anyLevel[D]:o.thisLevel[D-(((R=o.anyLevel)===null||R===void 0?void 0:R.length)||0)];if((!O[0].id||h.shadowId===o.parentShadowId)&&Na(h,O[0]))if(O.length===1)!_&&(!r||r(h))&&(l.push(h),_=true);else {var P=O.slice(1);if([" ",">"].includes(P[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+O[1].combinator);P[0].combinator===">"?(g=g||[]).push(P):(y=y||[]).push(P);}(!O[0].id||h.shadowId===o.parentShadowId)&&(T=o.anyLevel)!==null&&T!==void 0&&T.includes(O)&&(y=y||[]).push(O);}for(h.children&&h.children.length&&(n.push(o),o=Fh(h.children,y,g,h.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop();}return l}function QC(e,t,r){e=Array.isArray(e)?e:[e];var a=to(t),n=fh(e,a,r);return n||JC(e,a,r)}var Tr=QC;function eR(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=tR(r);if(!a.length)return Promise.resolve();var n=d.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=Ah(n);return rR(a,i).then(function(o){return Ph(o)})}var Oh=eR;function tR(e){var t=[],r=Tr(e,"*",function(a){return t.includes(a.shadowId)?false:(t.push(a.shadowId),true)}).map(function(a){return {shadowId:a.shadowId,rootNode:Nn(a.actualNode)}});return Zn(r,[])}function rR(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,l=aR(i,o,t);if(!l)return Promise.all(r);var c=n+1,p={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:c},h=[],g=Promise.all(l.map(function(y,w){var _=[c,w];return Du(y,p,_,h)}));r.push(g);}),Promise.all(r)}function Ph(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(Ph(r)):t.concat(r)},[])}function aR(e,t,r){var a;return e.nodeType===11&&t?a=nR(e,r):a=iR(e),sR(a)}function nR(e,t){return Array.from(e.children).filter(oR).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",l=t({data:i,isLink:o,root:e});return l.sheet&&r.push(l.sheet),r},[])}function iR(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Ih(t.media.mediaText):false})}function oR(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),a=e.getAttribute("rel"),n=t==="LINK"&&r&&a&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||n&&Ih(e.media)}function Ih(e){return e?!e.toUpperCase().includes("PRINT"):true}function sR(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function lR(e){var t=e.treeRoot,r=t===void 0?m._tree[0]:t,a=Tr(r,"video[autoplay], audio[autoplay]",function(n){var i=n.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(l){return !!l.getAttribute("src")});return !(o.length<=0)});return Promise.all(a.map(function(n){var i=n.actualNode;return uR(i)}))}var Mh=lR;function uR(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Nh(e){var t={cssom:Oh,media:Mh};return Lh(e)?new Promise(function(r,a){var n=Bh(e),i=n.assets,o=n.timeout,l=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(c){return t[c](e).then(function(p){return nr({},c,p)})})).then(function(c){var p=c.reduce(function(h,g){return Se({},h,g)},{});clearTimeout(l),r(p);}).catch(function(c){clearTimeout(l),a(c);});}):Promise.resolve()}function cR(e){return U(e)==="object"&&Array.isArray(e.assets)}function Lh(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:cR(e.preload)}function Bh(e){var t=Ce.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;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 n.assets=Zn(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function No(e){var t=m._audit.data.checks||{},r=m._audit.data.rules||{},a=Mn(m._audit.rules,"id",e.id)||{};e.tags=Mr(a.tags||[]);var n=qh(t,true,a),i=qh(t,false,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i);}),Dl(e,Mr(r[e.id]||{}));}function dR(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:mu()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function qh(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(U(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=dR(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=gu(o.message,a.data)),Dl(a,o);}}function fR(e,t){return Tr(e,t)}var Ut=fR;function $h(e,t){var r,a,n=m._audit&&m._audit.tagExclude?m._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],a=t.exclude||[],a=Array.isArray(a)?a:[a],a=a.concat(n.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],a=n.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?a.every(function(o){return e.tags.indexOf(o)===-1}):false}function pR(e,t,r){var a=r.runOnly||{},n=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:a.type==="rule"?a.values.indexOf(e.id)!==-1:n&&typeof n.enabled=="boolean"?n.enabled:a.type==="tag"&&a.values?$h(e,a.values):$h(e,[])}var jh=pR;function zh(e,t){if(!t)return e;var r=e.cloneNode(false),a=bn(r);if(r.nodeType===1){var n=r.outerHTML;r=Ae.get(n,function(){return Hh(r,a,e,t)});}else r=Hh(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(zh(i,t));}),r}function Hh(e,t,r,a){return t&&(e=d.createElement(e.nodeName),Array.from(t).forEach(function(n){hR(r,n.name,a)||e.setAttribute(n.name,n.value);})),e}function hR(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Pa(e,r[t])}function Cu(e,t){var r=[],a;if(m._selectCache)for(var n=0,i=m._selectCache.length;n<i;n++){var o=m._selectCache[n];if(o.selector===e)return o.result}for(var l=mR(t.include),c=gR(t),p=0;p<l.length;p++){a=l[p];var h=Tr(a,e,c);r=vR(r,h);}return m._selectCache&&m._selectCache.push({selector:e,result:r}),r}function mR(e){return e.reduce(function(t,r){return (!t.length||!Nr(t[t.length-1],r))&&t.push(r),t},[])}function gR(e){return !e.exclude||e.exclude.length===0?null:function(t){return _u(t,e)}}function vR(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var a=0,n=t.length;a<n;a++)e.includes(t[a])||e.push(t[a]);return e}function Lo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(U(e)!=="object"||e===null)return {message:String(e)};var r={},a=Ve(Ce.serializableErrorProps),n;try{for(a.s();!(n=a.n()).done;){var i=n.value;["string","number","boolean"].includes(U(e[i]))&&(r[i]=e[i]);}}catch(o){a.e(o);}finally{a.f();}return e.cause&&(r.cause=t<10?Lo(e.cause,t+1):"..."),r}var yR=(function(e){function t(r){var a,n,i=r.error,o=r.ruleId,l=r.method,c=r.errorNode;return or(this,t),n=vi(this,t),n.name=(a=i.name)!==null&&a!==void 0?a:"RuleError",n.message=i.message,n.stack=i.stack,i.cause&&(n.cause=Lo(i.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),l&&(n.method=l),c&&(n.errorNode=c),n}return yi(t,e),sr(t)})(zr(Error)),Bo=yR;function bR(e,t,r){if(e===s)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function wR(e){e.forEach(function(t){var r=t.elm,a=t.top,n=t.left;return bR(r,a,n)});}var _R=wR;function xR(e){var t=Array.isArray(e)?ve(e):[e];return Vh(t,d)}function Vh(e,t){var r=e.shift(),a=r?t.querySelector(r):null;return e.length===0?a:a!=null&&a.shadowRoot?Vh(e,a.shadowRoot):null}function Ru(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,r=Array.isArray(e)?ve(e):[e];return e.length===0?[]:Gh(r,t)}function Gh(e,t){var r=_s(e),a=r[0],n=wi(r).slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],l=Ve(i),c;try{for(l.s();!(c=l.n()).done;){var p=c.value;p!=null&&p.shadowRoot&&o.push.apply(o,ve(Gh(n,p.shadowRoot)));}}catch(h){l.e(h);}finally{l.f();}return o}function ER(){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 qo=ER,Uh=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 DR(e){for(var t=Uh;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var a=e.charCodeAt(r)-96;if(t=t[a],!t)return false}return true}function Wh(e){e=Array.isArray(e)?e:Uh;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(Wh(r).map(function(i){return n+i})):t.push(n);}),t}var $o=DR,AR=(function(e){function t(r){var a;return or(this,t),a=vi(this,t),a._props=RR(r),a._attrs=TR(r),a}return yi(t,e),sr(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return (n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(vt),Tu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Yh={},CR=Object.keys(Tu);CR.forEach(function(e){Yh[Tu[e]]=e;});function RR(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:Yh[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Tu[e.nodeName])!==null&&r!==void 0?r:1;Ne(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),Ne(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),qo().includes(o)||(o="text"));var l=Se({},e,{nodeType:i,nodeName:n});return o&&(l.type=o),delete l.attributes,Object.freeze(l)}function TR(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(Ne(U(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var l=a[i]||i;n[l]=o!==null?String(o):null;}return n},{})}var Kh=AR;function SR(e,t){if(e=e||function(){},t=t||m.log,!m._audit)throw new Error("No audit configured");var r=m.utils.queue(),a=[];Object.keys(m.plugins).forEach(function(i){r.defer(function(o){var l=function(p){a.push(p),o();};try{m.plugins[i].cleanup(o,l);}catch(c){l(c);}});});var n=m.utils.getFlattenedTree(d.body);m.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,l){return m.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,l)});}),r.then(function(i){a.length===0?e(i):t(a);}).catch(t);}var Xh=SR,Jn={},Zh;function Jh(e){return Jn.hasOwnProperty(e)}function Su(e){return typeof e=="string"&&Jn[e]?Jn[e]:typeof e=="function"?e:Zh}function kR(e,t,r){Jn[e]=t,r&&(Zh=t);}function FR(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 a=r.split("-"),n=ie(a,2),i=n[0],o=n[1],l=i.split(".").map(Number),c=ie(l,3),p=c[0],h=c[1],g=c[2],y=m.version.split("-"),w=ie(y,2),_=w[0],D=w[1],C=_.split(".").map(Number),R=ie(C,3),T=R[0],O=R[1],P=R[2];if(p!==T||O<h||O===h&&P<g||p===T&&h===O&&g===P&&o&&o!==D)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(m.version))}if(e.reporter&&(typeof e.reporter=="function"||Jh(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(B){if(!B.id)throw new TypeError("Configured check ".concat(JSON.stringify(B)," is invalid. Checks must be an object with at least an id property"));t.addCheck(B);});}var M=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(B){if(!B.id)throw new TypeError("Configured rule ".concat(JSON.stringify(B)," is invalid. Rules must be an object with at least an id property"));M.push(B.id),t.addRule(B);});}if(e.disableOtherRules&&t.rules.forEach(function(B){M.includes(B.id)===false&&(B.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&&XE(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(Ce.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var OR=FR;function PR(e){hr.updateMessenger(e);}function IR(e){e=e||[];var t=e.length?m._audit.rules.filter(function(a){return !!e.filter(function(n){return a.tags.indexOf(n)!==-1}).length}):m._audit.rules,r=m._audit.data.rules||{};return t.map(function(a){var n=r[a.id]||{};return {ruleId:a.id,description:n.description,help:n.help,helpUrl:n.helpUrl,tags:a.tags,actIds:a.actIds}})}var MR=IR;function NR(e,t,r){var a=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!a.includes(e.nodeName.toUpperCase())&&Wn(r)){var n=s.getComputedStyle(e);if(n.getPropertyValue("display")==="none")return;if(n.getPropertyValue("visibility")==="hidden"){var i=yt(e),o=i&&s.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var LR=NR,Qh={};lr(Qh,{getAllCells:function(){return ku},getCellPosition:function(){return wo},getHeaders:function(){return jo},getScope:function(){return Hl},isColumnHeader:function(){return Ha},isDataCell:function(){return tm},isDataTable:function(){return zo},isHeader:function(){return HR},isRowHeader:function(){return Va},toArray:function(){return Br},toGrid:function(){return Br},traverse:function(){return Fu}});function BR(e){var t,r,a,n,i=[];for(t=0,a=e.rows.length;t<a;t++)for(r=0,n=e.rows[t].cells.length;r<n;r++)i.push(e.rows[t].cells[r]);return i}var ku=BR;function em(e,t,r){for(var a=e==="row"?"_rowHeaders":"_colHeaders",n=e==="row"?Va:Ha,i=r[t.y][t.x],o=i.colSpan-1,l=i.getAttribute("rowspan"),c=parseInt(l)===0||i.rowspan===0?r.length:i.rowSpan,p=c-1,h=t.y+p,g=t.x+o,y=e==="row"?t.y:0,w=e==="row"?0:t.x,_,D=[],C=h;C>=y&&!_;C--)for(var R=g;R>=w;R--){var T=r[C]?r[C][R]:void 0;if(T){var O=m.utils.getNodeFromTree(T);if(O[a]){_=O[a];break}D.push(T);}}return _=(_||[]).concat(D.filter(n)),D.forEach(function(P){var M=m.utils.getNodeFromTree(P);M[a]=_;}),_}function qR(e,t){if(e.getAttribute("headers")){var r=Er(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Br(ja(e,"table")));var a=wo(e,t),n=em("row",a,t),i=em("col",a,t);return [].concat(n,i).reverse()}var jo=qR;function $R(e){if(!e.children.length&&!e.textContent.trim())return false;var t=Fe(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var tm=$R;function jR(e){var t=Fe(e);if((t==="presentation"||t==="none")&&!ut(e))return false;if(e.getAttribute("contenteditable")==="true"||ja(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||mr(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,a=e.children.length;r<a;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var n=0,i=e.rows.length,o,l,c=false,p=0;p<i;p++){o=e.rows[p];for(var h=0,g=o.cells.length;h<g;h++){if(l=o.cells[h],l.nodeName.toUpperCase()==="TH"||(!c&&(l.offsetWidth!==l.clientWidth||l.offsetHeight!==l.clientHeight)&&(c=true),l.getAttribute("scope")||l.getAttribute("headers")||l.getAttribute("abbr"))||["columnheader","rowheader"].includes(Fe(l))||l.children.length===1&&l.children[0].nodeName.toUpperCase()==="ABBR")return true;n++;}}if(e.getElementsByTagName("table").length||i<2)return false;var y=e.rows[Math.ceil(i/2)];if(y.cells.length===1&&y.cells[0].colSpan===1)return false;if(y.cells.length>=5||c)return true;for(var w,_,D=0;D<i;D++){if(o=e.rows[D],w&&w!==s.getComputedStyle(o).getPropertyValue("background-color")||(w=s.getComputedStyle(o).getPropertyValue("background-color"),_&&_!==s.getComputedStyle(o).getPropertyValue("background-image")))return true;_=s.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Tl(e).width>uo(s).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var zo=jR;function zR(e){if(Ha(e)||Va(e))return true;if(e.getAttribute("id")){var t=nt(e.getAttribute("id"));return !!d.querySelector('[headers~="'.concat(t,'"]'))}return false}var HR=zR;function rm(e,t,r,a){var n,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof a=="function"&&(n=a(i,t,r),n===true)?[i]:(n=rm(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function VR(e,t,r,a){if(Array.isArray(t)&&(a=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 rm(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Fu=VR,am={};lr(am,{allowedAttr:function(){return nm},arialabelText:function(){return zn},arialabelledbyText:function(){return jn},getAccessibleRefs:function(){return Ou},getElementUnallowedRoles:function(){return sm},getExplicitRole:function(){return Fe},getImplicitRole:function(){return Dr},getOwnedVirtual:function(){return Gn},getRole:function(){return Re},getRoleType:function(){return mr},getRolesByType:function(){return rT},getRolesWithNameFromContents:function(){return iT},implicitNodes:function(){return sT},implicitRole:function(){return Dr},isAccessibleRef:function(){return Ho},isAriaRoleAllowedOnElement:function(){return om},isComboboxPopup:function(){return Iu},isUnsupportedRole:function(){return jl},isValidRole:function(){return Hn},label:function(){return dm},labelVirtual:function(){return Eo},lookupTable:function(){return um},namedFromContents:function(){return O1},requiredAttr:function(){return fm},requiredContext:function(){return Mu},requiredOwned:function(){return Nu},validateAttr:function(){return Vo},validateAttrValue:function(){return pm}});function GR(e){var t=Le.ariaRoles[e],r=ve(ea());return t&&(t.allowedAttrs&&r.push.apply(r,ve(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,ve(t.requiredAttrs))),r}var nm=GR,UR=/^idrefs?$/;function im(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var a=e.getAttribute("for");t.has(a)?t.get(a).push(e):t.set(a,[e]);}for(var n=0;n<r.length;++n){var i=r[n],o=we(e.getAttribute(i)||"");if(o){var l=Ve(Pt(o)),c;try{for(l.s();!(c=l.n()).done;){var p=c.value;t.has(p)?t.get(p).push(e):t.set(p,[e]);}}catch(g){l.e(g);}finally{l.f();}}}}for(var h=0;h<e.childNodes.length;h++)e.childNodes[h].nodeType===1&&im(e.childNodes[h],t,r);}function WR(e){var t;e=e.actualNode||e;var r=Et(e);r=r.documentElement||r;var a=Ae.get("idRefsByRoot",function(){return new Map}),n=a.get(r);if(!n){n=new Map,a.set(r,n);var i=Object.keys(Le.ariaAttrs).filter(function(o){var l=Le.ariaAttrs[o].type;return UR.test(l)});im(r,n,i);}return (t=n.get(e.id))!==null&&t!==void 0?t:[]}var Ou=WR;function YR(e,t){var r=e instanceof vt?e:Te(e),a=Dr(r),n=ta(r);return Array.isArray(n.allowedRoles)?n.allowedRoles.includes(t):t===a?false:!!n.allowedRoles}var om=YR,KR=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],XR={header:"banner",footer:"contentinfo"};function ZR(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Pt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(a){return Hn(a)})}function JR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=Me(e),a=r.vNode;if(!wu(a))return [];var n=a.props.nodeName,i=Dr(a)||XR[n],o=ZR(a);return o.filter(function(l){return !QR(l,a,t,i)})}function QR(e,t,r,a){return r&&e===a?true:KR.includes(e)&&mr(e)!==a?false:om(t,e)}var sm=JR;function eT(e){return Object.keys(Le.ariaRoles).filter(function(t){return Le.ariaRoles[t].type===e})}var Ua=eT;function tT(e){return Ua(e)}var rT=tT;function aT(){return Ae.get("ariaRolesNameFromContent",function(){return Object.keys(Le.ariaRoles).filter(function(e){return Le.ariaRoles[e].nameFromContent})})}var Pu=aT;function nT(){return Pu()}var iT=nT,lm=function(t){return t===null},Dt=function(t){return t!==null},$r={};$r.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}},$r.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"],$r.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:Dt}}]},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:Dt}}]},"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:Dt}}]},"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:Dt}}]},"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:Dt}}]},"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:Dt}}]},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:Dt}}]},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:Dt}}]},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:Dt}}]},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:Dt}}]},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:Dt}}]},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:Dt}}]},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:Dt}}]},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:Dt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},$r.implicitHtmlRole=Gl,$r.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:Dt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Dt}},{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"]}],$r.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:lm}},{nodeName:"img",attributes:{alt:lm}},{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"]}],$r.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?a:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case "":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case "button":case "image":return n;case "checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?true:n;case "radio":return a==="menuitemradio";case "text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case "tel":return a==="combobox"||a==="spinbutton";case "url":case "search":case "email":return a==="combobox";default:return false}},LI:function(t){var r=t.node,a=t.out,n=m.utils.matchesSelector(r,"ol li, ul li");return n?a:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,a=m.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !a},SELECT:function(t){var r=t.node,a=t.role;return !r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:a}},$r.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 um=$r;function oT(e){var t=null,r=um.role[e];return r&&r.implicit&&(t=Mr(r.implicit)),t}var sT=oT;function lT(e){return !!Ou(e).length}var Ho=lT;function Iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,a=Re(e);if(r??(r=p1["aria-haspopup"].values),!r.includes(a))return false;var n=uT(e);if(cm(n))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=Nn(e.actualNode),l=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
|
|
21
|
+
[aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(l).some(cm)}var cm=function(t){return t&&Re(t)==="combobox"};function uT(e){for(;e=e.parent;)if(Re(e,{noPresentational:true})!==null)return e;return null}function cT(e){return e=Te(e),Eo(e)}var dm=cT;function dT(e){var t=Le.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:ve(t.requiredAttrs)}var fm=dT;function fT(e){var t=Le.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:ve(t.requiredContext)}var Mu=fT;function pT(e){var t=Le.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:ve(t.requiredOwned)}var Nu=pT;function hT(e,t){e=e instanceof vt?e:Te(e);var r,a,n=e.attr(t),i=Le.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(n.toLowerCase());case "nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case "nmtokens":return a=Pt(n),a.reduce(function(c,p){return c&&i.values.includes(p)},a.length!==0);case "idref":try{var o=Et(e.actualNode);return !!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Er(e,t).some(function(c){return !!c});case "string":return n.trim()!=="";case "decimal":return r=n.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var l=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(n)&&parseInt(n)>=l}}var pm=hT;function mT(e){var t=Le.ariaAttrs[e];return !!t}var Vo=mT;function gT(e){var t=ku(e),r=this,a=[];t.forEach(function(l){var c=l.getAttribute("headers");c&&(a=a.concat(c.split(/\s+/)));var p=l.getAttribute("aria-labelledby");p&&(a=a.concat(p.split(/\s+/)));});var n=t.filter(function(l){return we(l.textContent)===""?false:l.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Fe(l))!==-1}),i=Br(e),o=true;return n.forEach(function(l){if(!(l.getAttribute("id")&&a.includes(l.getAttribute("id")))){var c=wo(l,i),p=false;Ha(l)&&(p=Fu("down",c,i).find(function(h){return !Ha(h)&&jo(h,i).includes(l)})),!p&&Va(l)&&(p=Fu("right",c,i).find(function(h){return !Va(h)&&jo(h,i).includes(l)})),p||r.relatedNodes(l),o=o&&p;}}),o?true:void 0}var vT=gT,Qn=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],hm=Qn[0],mm=Qn[1],gm=Qn[2],Lu=Qn[3];function yT(e){for(var t=[],r={},a=0;a<e.rows.length;a++)for(var n=e.rows[a],i=0;i<n.cells.length;i++){var o=n.cells[i];t.push(o);var l=o.getAttribute("id");l&&(r[l]=Re(o));}var c=nr(nr(nr(nr({},gm,new Set),hm,new Set),mm,new Set),Lu,new Set);t.forEach(function(y){if(!(!y.hasAttribute("headers")||!et(y))){var w=y.getAttribute("headers").trim();if(!w){c[Lu].add(y);return}var _=y.getAttribute("id"),D=Pt(w);D.forEach(function(C){_&&C===_?c[gm].add(y):r[C]?["columnheader","rowheader"].includes(r[C])||c[mm].add(y):c[hm].add(y);});}});var p=Ve(Qn),h;try{for(p.s();!(h=p.n()).done;){var g=h.value;if(c[g].size>0)return this.relatedNodes(ve(c[g])),g===Lu?void 0:(this.data({messageKey:g}),!1)}}catch(y){p.e(y);}finally{p.f();}return true}function bT(e){var t=[],r=ku(e),a=Br(e);return r.forEach(function(n){if(Co(n)&&tm(n)&&!dm(n)){var i=jo(n,a).some(function(o){return o!==null&&!!Co(o)});i||t.push(n);}}),t.length?(this.relatedNodes(t),false):true}var wT=bT;function _T(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var xT=_T,ET=DT;function DT(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(AT),i=n?we(ra(n)):false;return !i||!a?false:we(a).toLowerCase()===we(i).toLowerCase()}}function AT(e){return e.props.nodeName==="caption"}function CT(e){return nh(d)?e.nodeName.toUpperCase()==="TH":true}var RT=CT;function TT(e){var t=Br(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},false)}var ST=TT;function kT(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),false;try{var n=ra(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var FT=kT,vm={};lr(vm,{getAriaRolesByType:function(){return Ua},getAriaRolesSupportingNameFromContent:function(){return Pu},getElementSpec:function(){return ta},getElementsByContentType:function(){return zl},getGlobalAriaAttrs:function(){return ea},implicitHtmlRoles:function(){return Gl}});function OT(e,t,r){var a=Fe(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var n=Re(r);if(["presentation","none"].includes(n))return this.data({role:n}),true;if(!["presentation","none"].includes(a))return false;var i=ea().some(function(c){return r.hasAttr(c)}),o=ut(r),l;return i&&!o?l="globalAria":!i&&o?l="focusable":l="both",this.data({messageKey:l,role:n}),false}function PT(e,t,r){var a=r.props.nodeName,n=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),a==="input"&&["submit","reset"].includes(n)?i===null:false}var IT=PT;function MT(e){return Ht(e)}var NT=MT;function LT(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,l=o===void 0?0:o,c=t.noImportant,p=t.multiLineOnly;if(!c&&e.style.getPropertyPriority(r)!=="important"||p&&!oh(e))return true;var h={};typeof n=="number"&&(h.minValue=n),typeof i=="number"&&(h.maxValue=i);var g=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(g))return this.data(Se({value:g},h)),true;var y=BT(e,{absoluteValues:a,cssProperty:r,normalValue:l});if(this.data(Se({value:y},h)),typeof y=="number")return (typeof n!="number"||y>=n)&&(typeof i!="number"||y<=i)}function BT(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=s.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var l=parseFloat(o);if(a)return l;var c=parseFloat(i.getPropertyValue("font-size")),p=Math.round(l/c*100)/100;return isNaN(p)?o:p}function qT(e,t,r){var a=r.props.nodeName;return ["img","input","area"].includes(a)?r.hasAttr("alt"):false}var $T=qT;function jT(){}var zT=jT;function HT(){var e=d.title;return !!we(e)}var VT=HT;function GT(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),false):true}var UT=GT;function WT(e,t,r){try{return !!we(jn(r))}catch{return}}var YT=WT;function KT(e,t,r){return !!we(zn(r))}var XT=KT;function ZT(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Et(e),a=Array.from(r.querySelectorAll('[id="'.concat(nt(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var JT=ZT;function QT(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var e5=QT;function t5(e,t,r){var a=we(r.attr("title")).toLowerCase();return this.data(a),true}var r5=t5;function a5(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 n5=a5;function i5(e){var t=Ll(e,"href");return t?et(t)||void 0:false}var o5=i5,s5=["alert","log","status"];function l5(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=Ae.get("regionlessNodes",function(){return u5(t)});return !a.includes(r)}function u5(e){var t=ym(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,a,n){return n.indexOf(r)===a});return t}function ym(e,t){var r=e.actualNode;if(Re(e)==="button"||d5(e,t)||["iframe","frame"].includes(e.props.nodeName)||su(e.actualNode)&&Ll(e.actualNode,"href")||!et(r)){for(var a=e;a;)a._hasRegionDescendant=true,a=a.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==d.body&&Co(r,true)&&!c5(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return ym(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function c5(e){return ["none","presentation"].includes(Re(e))&&!Ao(e)}function d5(e,t){var r=e.actualNode,a=Re(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Ua("landmark");return !!(["assertive","polite"].includes(n)||s5.includes(a)||i.includes(a)||t.regionMatcher&&Vn(e,t.regionMatcher))}function f5(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 a=r.node.ancestry.slice(0,-1),n=Ve(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(xu(a,o.node.ancestry)){r.result=o.result;break}}}catch(l){n.e(l);}finally{n.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var p5=f5;function h5(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 m5(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&t!==void 0;){var n=-1;if(e=t,e.children.length===0)return e;do n++,a=e.children[n].textContent.trim();while(a===""&&n+1<e.children.length);t=e.children[n];}return e}function Bu(e){var t=s.getComputedStyle(m5(e));return {fontWeight:h5(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function bm(e,t,r){return r.reduce(function(a,n){return a||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},false)}function g5(e,t,r){var a=Array.from(e.parentNode.children),n=a.indexOf(e);t=t||{};var i=t.margins||[],o=a.slice(n+1).find(function(C){return C.nodeName.toUpperCase()==="P"}),l=a.slice(0,n).reverse().find(function(C){return C.nodeName.toUpperCase()==="P"}),c=Bu(e),p=o?Bu(o):null,h=l?Bu(l):null,g=t.passLength,y=t.failLength,w=e.textContent.trim().length,_=o?.textContent.trim().length;if(w>_*g||!p||!bm(c,p,i))return true;var D=$a(r,"blockquote");if(!(D&&D.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(h&&!bm(c,h,i))&&!(w>_*y))return false}var v5=g5,y5=/[;,\s]/,b5=/^[0-9.]+$/;function w5(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),l=o.split(y5),c=ie(l,1),p=c[0];if(!p.match(b5))return true;var h=parseFloat(p);return this.data({redirectDelay:h}),typeof n=="number"&&h<=t.minDelay||typeof i=="number"&&h>t.maxDelay}function _5(e,t,r){var a=Ut(r,"a[href]");return a.some(function(n){return /^#[^/!]/.test(n.attr("href"))})}var x5=_5,wm={};lr(wm,{aria:function(){return am},color:function(){return _m},dom:function(){return Al},forms:function(){return Pm},matches:function(){return Vn},math:function(){return Wp},standards:function(){return vm},table:function(){return Qh},text:function(){return $n},utils:function(){return Ns}});var _m={};lr(_m,{Color:function(){return tt},centerPointOfRect:function(){return D5},elementHasImage:function(){return Ro},elementIsDistinct:function(){return Em},filteredRectStack:function(){return T5},flattenColors:function(){return Sr},flattenShadowColors:function(){return $u},getBackgroundColor:function(){return ti},getBackgroundStack:function(){return ju},getContrast:function(){return Wa},getForegroundColor:function(){return Wo},getOwnBackgroundColor:function(){return Aa},getRectStack:function(){return Dm},getStackingContext:function(){return Hu},getStrokeColorsFromShadows:function(){return zu},getTextShadowColors:function(){return Uo},hasValidContrastRatio:function(){return X5},incompleteData:function(){return Ye},parseTextShadows:function(){return Rm},stackingContextToColor:function(){return ei}});function E5(e){if(!(e.left>s.innerWidth)&&!(e.top>s.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),s.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),s.innerHeight-1);return {x:t,y:r}}}var D5=E5;function xm(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function A5(e,t){var r=s.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var a=["border-bottom","border-top","outline"].reduce(function(l,c){var p=new tt;return p.parseString(r.getPropertyValue(c+"-color")),l||r.getPropertyValue(c+"-style")!=="none"&&parseFloat(r.getPropertyValue(c+"-width"))>0&&p.alpha!==0},false);if(a)return true;var n=s.getComputedStyle(t);if(xm(r)[0]!==xm(n)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(l,c){return l||r.getPropertyValue(c)!==n.getPropertyValue(c)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var Em=A5;function C5(e){var t=c1(e),r=tu(e);return !r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Dm=C5;function R5(e){var t=Dm(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],l=t[i];a=o.every(function(c,p){return c===l[p]})||r.includes(e);}}),a?t[0]:(Ye.set("bgColor","elmPartiallyObscuring"),null)}return Ye.set("bgColor","outsideViewport"),null}var T5=R5,S5=["hue","saturation","color","luminosity"],Am={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 a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-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 Sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=F5(t,e,r),n=qu(e.red,e.alpha,t.red,t.alpha,a.r*255),i=qu(e.green,e.alpha,t.green,t.alpha,a.g*255),o=qu(e.blue,e.alpha,t.blue,t.alpha,a.b*255),l=k5(e.alpha+t.alpha*(1-e.alpha),0,1);if(l===0)return new tt(n,i,o,l);var c=Math.round(n/l),p=Math.round(i/l),h=Math.round(o/l);return new tt(c,p,h,l)}function qu(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function k5(e,t,r){return Math.min(Math.max(t,e),r)}function F5(e,t,r){if(S5.includes(r))return Am[r](e,t);var a=new tt;return ["r","g","b"].forEach(function(n){a[n]=Am[r](e[n],t[n]);}),a}function $u(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(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 tt(a,n,i,o)}function ju(e){for(var t=tu(e).map(function(n){return n=sh(n,e),n=O5(n),n}),r=0;r<t.length;r++){var a=t[r];if(a[0]!==e)return Ye.set("bgColor","bgOverlap"),null;if(r!==0&&!P5(a,t[0]))return Ye.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function O5(e){var t=e.indexOf(d.body),r=e,a=Aa(s.getComputedStyle(d.documentElement));if(t>1&&a.alpha===0&&!Ro(d.documentElement)){t>1&&(r.splice(t,1),r.push(d.body));var n=r.indexOf(d.documentElement);n>0&&(r.splice(n,1),r.push(d.documentElement));}return r}function P5(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 I5=.54,Go=.5,M5=1.5,Cm=["top","right","bottom","left"];function zu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?false:r,n=N5(e),i=Object.entries(n).map(function(o){var l=ie(o,2),c=l[0],p=l[1],h=Cm.filter(function(g){return p[g].length!==0}).length;return {colorStr:c,sides:p,edgeCount:h}});return !a&&i.some(function(o){var l=o.edgeCount;return l>1&&l<4})?null:i.map(L5).filter(function(o){return o!==null})}function N5(e){var t={},r=Ve(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,l=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var c=t[o],p=ie(l,2),h=p[0],g=p[1];h>Go?c.right.push(h):-h>Go&&c.left.push(-h),g>Go?c.bottom.push(g):-g>Go&&c.top.push(-g);}}catch(y){r.e(y);}finally{r.f();}return t}function L5(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new tt;n.parseString(t);var i=0,o=true;return Cm.forEach(function(l){i+=r[l].length/4,o&&(o=r[l].every(function(c){return c>M5}));}),o||(n.alpha=1-Math.pow(I5,i)),n}function Rm(e){var t={pixels:[]},r=e.trim(),a=[t];if(!r)return [];for(;r;){var n=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(n)Ne(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){Ne(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]===",")Ne(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(l){var c=l.pixels;c.length===2&&c.push(0);}),a}function Uo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=s.getComputedStyle(e),l=o.getPropertyValue("text-shadow");if(l==="none")return i;var c=o.getPropertyValue("font-size"),p=parseInt(c);Ne(isNaN(p)===false,"Unable to determine font-size value ".concat(c));var h=[],g=Rm(l),y=Ve(g),w;try{for(y.s();!(w=y.n()).done;){var _=w.value,D=_.colorStr||o.getPropertyValue("color"),C=ie(_.pixels,3),R=C[0],T=C[1],O=C[2],P=O===void 0?0:O;if(!(a&&P>=p*a)){if(r&&P<p*r){h.push({colorStr:D,pixels:_.pixels});continue}if(h.length>0){var M=zu(h,{ignoreEdgeCount:n});if(M===null)return null;i.push.apply(i,ve(M)),h.splice(0,h.length);}var B=B5({colorStr:D,offsetX:R,offsetY:T,blurRadius:P,fontSize:p});i.push(B);}}}catch(W){y.e(W);}finally{y.f();}if(h.length>0){var z=zu(h,{ignoreEdgeCount:n});if(z===null)return null;i.push.apply(i,ve(z));}return i}function B5(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new tt(0,0,0,0);var o=new tt;return o.parseString(t),o.alpha*=q5(n,i),o}function q5(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Hu(e,t){var r=Te(e);if(r._stackingContext)return r._stackingContext;var a=[],n=new Map;return t=t??ju(e),t.forEach(function(i){var o,l=Te(i),c=z5(l),p=l._stackingOrder.filter(function(y){var w=y.vNode;return !!w});p.forEach(function(y,w){var _,D=y.vNode,C=(_=p[w-1])===null||_===void 0?void 0:_.vNode,R=Sm(n,D,C);w===0&&!n.get(D)&&a.unshift(R),n.set(D,R);});var h=(o=p[p.length-1])===null||o===void 0?void 0:o.vNode,g=Sm(n,l,h);p.length||a.unshift(g),g.bgColor=c;}),r._stackingContext=a,a}function ei(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 a=e.descendants.reduce($5,Tm()),n=Sr(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function $5(e,t){var r;e instanceof tt?r=e:r=ei(e).color;var a=ei(t).color;return Sr(a,r,t.blendMode)}function Tm(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new tt(0,0,0,0),blendMode:j5(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function j5(e){return e||void 0}function Sm(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Tm(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function z5(e){var t=new tt;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function ti(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=Te(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,ve(n.bgElms)),Ye.set("bgColor",n.incompleteData),n.bgColor;var i=H5(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Ye.get("bgColor")},i}function H5(e,t,r){var a,n,i=ju(e);if(!i)return null;var o=eu(e),l=(a=Uo(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&a!==void 0?a:[];l.length&&(l=[{color:l.reduce($u)}]);for(var c=0;c<i.length;c++){var p=i[c],h=s.getComputedStyle(p);if(Ro(p,h))return t.push(p),null;var g=void 0;try{if(g=Aa(h),g.alpha===0)continue}catch(D){if(D&&Ye.get("colorParse"))return null;throw D}if(h.getPropertyValue("display")!=="inline"&&!km(p,o))return t.push(p),Ye.set("bgColor","elmPartiallyObscured"),null;if(t.push(p),g.alpha===1)break}var y=Hu(e,i);l=y.map(ei).concat(l);var w=V5(e,i.includes(d.body));if((n=l).unshift.apply(n,ve(w)),l.length===0)return new tt(255,255,255,1);var _=l.reduce(function(D,C){return Sr(C.color,D.color instanceof tt?D.color:D,C.blendMode)});return Sr(_.color instanceof tt?_.color:_,new tt(255,255,255,1))}function km(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),a=r.right,n=r.bottom,i=s.getComputedStyle(e),o=i.getPropertyValue("overflow"),l=parseInt(i.getPropertyValue("padding-left"),10),c=parseInt(i.getPropertyValue("padding-right"),10),p=parseInt(i.getPropertyValue("padding-top"),10),h=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof s.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+l+c,n=r.top+e.scrollHeight+p+h),t.every(function(g){return g.top>=r.top&&g.bottom<=n&&g.left>=r.left&&g.right<=a})}function Fm(e){return e||void 0}function V5(e,t){var r=[];if(!t){var a=d.documentElement,n=d.body,i=s.getComputedStyle(a),o=s.getComputedStyle(n),l=Aa(i),c=Aa(o),p=c.alpha!==0&&km(n,e.getBoundingClientRect());(c.alpha!==0&&l.alpha===0||p&&c.alpha!==1)&&r.unshift({color:c,blendMode:Fm(o.getPropertyValue("mix-blend-mode"))}),l.alpha!==0&&(!p||p&&c.alpha!==1)&&r.unshift({color:l,blendMode:Fm(i.getPropertyValue("mix-blend-mode"))});}return r}function G5(e,t){if(!t||!e)return null;t.alpha<1&&(t=Sr(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Wa=G5;function Wo(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=s.getComputedStyle(e),i=[function(){return W5(n,a)},function(){return U5(n)},function(){return Uo(e,{minRatio:0})}],o=[];try{for(var l=0,c=i;l<c.length;l++){var p=c[l],h=p();if(h&&(o=o.concat(h),h.alpha===1))break}}catch(D){if(D&&Ye.get("colorParse"))return null;throw D}var g=o.reduce(function(D,C){return Sr(D,C)});if(r??(r=ti(e,[])),r===null){var y=Ye.get("bgColor");return Ye.set("fgColor",y),null}var w=Hu(e),_=Om(w,e);return Sr(Y5(g,_,w),new tt(255,255,255,1))}function U5(e){return new tt().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function W5(e,t){var r=t.textStrokeEmMin,a=r===void 0?0:r,n=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(n===0)return null;var i=e.getPropertyValue("font-size"),o=n/parseFloat(i);if(isNaN(o)||o<a)return null;var l=e.getPropertyValue("-webkit-text-stroke-color");return new tt().parseString(l)}function Y5(e,t,r){for(;t;){var a;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var n=((a=t.ancestor)===null||a===void 0?void 0:a.descendants)||r;t.opacity!==1&&(n=n.slice(0,n.indexOf(t)));var i=n.map(ei);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(l,c){return Sr(c.color,l.color instanceof tt?l.color:l)},{color:new tt(0,0,0,0),blendMode:"normal"});e=Sr(e,o),t=t.ancestor;}return e}function Om(e,t){var r=Ve(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value;if(((n=i.vNode)===null||n===void 0?void 0:n.actualNode)===t)return i;var o=Om(i.descendants,t);if(o)return o}}catch(l){r.e(l);}finally{r.f();}}function K5(e,t,r,a){var n=Wa(e,t),i=a&&Math.ceil(r*72)/96<14||!a&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:n>o,contrastRatio:n,expectedContrastRatio:o}}var X5=K5,Pm={};lr(Pm,{isAriaCombobox:function(){return q1},isAriaListbox:function(){return B1},isAriaRange:function(){return $1},isAriaTextbox:function(){return L1},isDisabled:function(){return ri},isNativeSelect:function(){return N1},isNativeTextbox:function(){return M1}});var Z5=["fieldset","button","select","input","textarea"];function Im(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return Z5.includes(r)&&e.hasAttr("disabled")?t=true:a?t=a.toLowerCase()==="true":e.parent?t=Im(e.parent):t=false,e._isDisabled=t,t}var ri=Im;function J5(e,t,r){var a=$n.accessibleTextVirtual(r),n=$n.sanitize($n.removeUnicode(a,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(n){var i={name:n,urlProps:Al.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var Q5=J5;function Mm(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return false;var n=r.every(function(i){var o=e[i],l=t[i];return U(o)!==U(l)?false:U(o)==="object"||U(l)==="object"?Mm(o,l):o===l});return n}function eS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var l=o.result;return l!==void 0}),r=[],a={},n=function(l){var c,p=t[l],h=p.data,g=h.name,y=h.urlProps;if(a[g])return 1;var w=t.filter(function(D,C){var R=D.data;return R.name===g&&C!==l}),_=w.every(function(D){var C=D.data;return Mm(C.urlProps,y)});w.length&&!_&&(p.result=void 0),p.relatedNodes=[],(c=p.relatedNodes).push.apply(c,ve(w.map(function(D){return D.relatedNodes[0]}))),a[g]=w,r.push(p);},i=0;i<t.length;i++)n(i);return r}var tS=eS;function rS(e){var t=Re(e),r=t&&t.includes("heading"),a=e.attr("aria-level"),n=parseInt(a,10),i=e.props.nodeName.match(/h(\d)/)||[],o=ie(i,2),l=o[1];return r?l&&!a?parseInt(l,10):isNaN(n)||n<1?l?parseInt(l,10):2:n||-1:-1}function aS(){var e=Ae.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=Tr(m._tree[0],t,et);return e=r.map(function(a){return {ancestry:[eo(a.actualNode)],level:rS(a)}}),this.data({headingOrder:e}),Ae.set("headingOrder",r),true}var nS=aS;function iS(e){var t=sS(e);return e.forEach(function(r){r.result=oS(r,t);}),e}function oS(e,t){var r,a,n,i,o=Nm(t,e.node.ancestry),l=(r=(a=t[o])===null||a===void 0?void 0:a.level)!==null&&r!==void 0?r:-1,c=(n=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&n!==void 0?n:-1;if(o===0)return true;if(l!==-1)return l-c<=1}function sS(e){e=ve(e),e.sort(function(r,a){var n=r.node,i=a.node;return n.ancestry.length-i.ancestry.length});var t=e.reduce(lS,[]);return t.filter(function(r){var a=r.level;return a!==-1})}function lS(e,t){var r,a=(r=t.data)===null||r===void 0?void 0:r.headingOrder,n=Lm(t.node.ancestry,1);if(!a)return e;var i=a.map(function(l){return cS(l,n)}),o=uS(e,n);return o===-1?e.push.apply(e,ve(i)):e.splice.apply(e,[o,0].concat(ve(i))),e}function uS(e,t){for(;t.length;){var r=Nm(e,t);if(r!==-1)return r;t=Lm(t,1);}return -1}function Nm(e,t){return e.findIndex(function(r){return xu(r.ancestry,t)})}function cS(e,t){var r=t.concat(e.ancestry);return Se({},e,{ancestry:r})}function Lm(e,t){return e.slice(0,e.length-t)}function dS(e,t,r){var a=t?.minSize||24,n=r.boundingClientRect;if(Lr(a*10,n))return this.data({messageKey:"large",minSize:a}),true;var i=Lr.bind(null,a),o=vo(r),l=fS(r,o),c=pS(r,o),p=c.fullyObscuringElms,h=c.partialObscuringElms;if(l.length&&(p.length||!i(n))){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(ai(l));return}if(p.length)return this.relatedNodes(ai(p)),this.data({messageKey:"obscured"}),true;var g=er(r)?false:void 0;if(!i(n))return this.data(Se({minSize:a},Yo(n))),g;var y=gS(h);if(!y.length)return this.data(Se({minSize:a},Yo(n))),true;var w=hS(r,y,a);if(!w){this.data({minSize:a,messageKey:"tooManyRects"});return}if(!i(w)){if(l.length){this.data({minSize:a,messageKey:"contentOverflow"}),this.relatedNodes(ai(l));return}var _=y.every(er),D="partiallyObscured".concat(_?"":"NonTabbable");return this.data(Se({messageKey:D,minSize:a},Yo(w))),this.relatedNodes(ai(y)),_?g:void 0}return this.data(Se({minSize:a},Yo(w||n))),this.relatedNodes(ai(y)),true}function fS(e,t){return t.filter(function(r){return !Bm(r,e)&&qm(e,r)})}function pS(e,t){var r=[],a=[],n=Ve(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;!qm(e,o)&&Fl(e,o)&&vS(o)!=="none"&&(Bm(e,o)?r.push(o):a.push(o));}}catch(l){n.e(l);}finally{n.f();}return {fullyObscuringElms:r,partialObscuringElms:a}}function hS(e,t,r){var a=e.boundingClientRect,n=t.map(function(o){var l=o.getComputedStylePropertyValue("display");return l==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=Ol(a,n);}catch{return null}return mS(i,r)}function mS(e,t){return e.reduce(function(r,a){var n=Lr(t,r),i=Lr(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,l=a.width*a.height;return o>l?r:a})}function gS(e){return e.filter(function(t){return mr(t)==="widget"&&ut(t)})}function Bm(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.top>=a.top&&r.left>=a.left&&r.bottom<=a.bottom&&r.right<=a.right}function vS(e){return e.getComputedStylePropertyValue("pointer-events")}function Yo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function qm(e,t){return Nr(e,t)&&!er(t)}function ai(e){return e.map(function(t){var r=t.actualNode;return r})}var yS=.05;function bS(e,t,r){var a=t?.minOffset||24;if(Lr(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),true;var n=[],i=a,o=Ve(vo(r,a)),l;try{for(o.s();!(l=o.n()).done;){var c=l.value;if(!(mr(c)!=="widget"||!ut(c))){var p=null;try{p=Kp(r,c,a/2);}catch(h){if(h.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw h}p!==null&&(p=wS(p)*2,!(p+yS>=a)&&(i=Math.min(i,p),n.push(c)));}}}catch(h){o.e(h);}finally{o.f();}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),true;if(this.relatedNodes(n.map(function(h){var g=h.actualNode;return g})),!n.some(er)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),er(r)?false:void 0}function wS(e){return Math.round(e*10)/10}function _S(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,l=o===void 0?false:o,c=r.attr("content")||"";if(!c)return true;var p=c.split(/[;,]/).reduce(function(g,y){var w=y.trim();if(!w)return g;var _=w.split("="),D=ie(_,2),C=D[0],R=D[1];if(!C||!R)return g;var T=C.toLowerCase().trim(),O=R.toLowerCase().trim();return T==="maximum-scale"&&O==="yes"&&(O=1),T==="maximum-scale"&&parseFloat(O)<0||(g[T]=O),g},{});if(l&&p["maximum-scale"]&&parseFloat(p["maximum-scale"])<l)return true;if(!l&&p["user-scalable"]==="no")return this.data("user-scalable=no"),false;var h=parseFloat(p["user-scalable"]);return !l&&p["user-scalable"]&&(h||h===0)&&h>-1&&h<1?(this.data("user-scalable"),false):p["maximum-scale"]&&parseFloat(p["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var xS=_S;function ES(e,t,r,a){var n=a||{},i=n.cssom,o=i===void 0?void 0:i,l=t||{},c=l.degreeThreshold,p=c===void 0?0:c;if(!o||!o.length)return;for(var h=false,g=[],y=C(o),w=function(){var X=D[_],ee=y[X],ne=ee.root,me=ee.rules,xe=me.filter(R);if(!xe.length)return 1;xe.forEach(function(ce){var be=ce.cssRules;Array.from(be).forEach(function(J){var he=T(J);if(he&&J.selectorText.toUpperCase()!=="HTML"){var N=Array.from(ne.querySelectorAll(J.selectorText))||[];g=g.concat(N);}h=h||he;});});},_=0,D=Object.keys(y);_<D.length;_++)w();if(!h)return true;return g.length&&this.relatedNodes(g),false;function C(H){return H.reduce(function(X,ee){var ne=ee.sheet,me=ee.root,xe=ee.shadowId,ce=xe||"topDocument";if(X[ce]||(X[ce]={root:me,rules:[]}),!ne||!ne.cssRules)return X;var be=Array.from(ne.cssRules);return X[ce].rules=X[ce].rules.concat(be),X},{})}function R(H){var X=H.type,ee=H.cssText;return X!==4?false:/orientation:\s*landscape/i.test(ee)||/orientation:\s*portrait/i.test(ee)}function T(H){var X=H.selectorText,ee=H.style;if(!X||ee.length<=0)return false;var ne=ee.transform||ee.webkitTransform||ee.msTransform||false;if(!ne&&!ee.rotate)return false;var me=O(ne),xe=P("rotate",ee.rotate),ce=me+xe;return !ce||(ce=Math.abs(ce),Math.abs(ce-180)%180<=p)?false:Math.abs(ce-90)%90<=p}function O(H){if(!H)return 0;var X=H.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!X)return 0;var ee=ie(X,3),ne=ee[1],me=ee[2];return P(ne,me)}function P(H,X){switch(H){case "rotate":case "rotateZ":return M(X);case "rotate3d":var ee=X.split(",").map(function(ce){return ce.trim()}),ne=ie(ee,4),me=ne[2],xe=ne[3];return parseInt(me)===0?void 0:M(xe);case "matrix":case "matrix3d":return B(X);default:return 0}}function M(H){var X=H.match(/(deg|grad|rad|turn)/)||[],ee=ie(X,1),ne=ee[0];if(!ne)return 0;var me=parseFloat(H.replace(ne,""));switch(ne){case "rad":return z(me);case "grad":return W(me);case "turn":return ae(me);default:return parseInt(me)}}function B(H){var X=H.split(",");if(X.length<=6){var ee=ie(X,2),ne=ee[0],me=ee[1],xe=Math.atan2(parseFloat(me),parseFloat(ne));return z(xe)}var ce=parseFloat(X[8]),be=Math.asin(ce),J=Math.cos(be),he=Math.acos(parseFloat(X[0])/J);return z(he)}function z(H){return Math.round(H*(180/Math.PI))}function W(H){return H=H%400,H<0&&(H+=400),Math.round(H/400*360)}function ae(H){return Math.round(360/(1/H))}}var DS=ES;function AS(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 a=t.allowedDuration,n=a===void 0?3:a,i=o(e);if(i<=n)return true;if(!r)return false;return true;function o(p){if(!p.currentSrc)return 0;var h=l(p.currentSrc);return h?h.length===1?Math.abs(p.duration-h[0]):Math.abs(h[1]-h[0]):Math.abs(p.duration-(p.currentTime||0))}function l(p){var h=p.match(/#t=(.*)/);if(h){var g=ie(h,2),y=g[1],w=y.split(",");return w.map(function(_){return /:/.test(_)?c(_):parseFloat(_)})}}function c(p){for(var h=p.split(":"),g=0,y=1;h.length>0;)g+=y*parseInt(h.pop(),10),y*=60;return parseFloat(g)}}var CS=AS;function RS(e,t){return t.isViolation?false:void 0}var TS=RS,$m=" > ";function SS(e){var t={};return e.filter(function(r){var a=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(a){var n=r.node.ancestry.flat(1/0).join($m);return t[n]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join($m);return t[i]&&(t[i].result=true),false})}var kS=SS;function FS(e,t,r){var a=Ut(r,"track"),n=a.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return n?false:void 0}var OS=FS;function PS(e,t,r){var a=r.children;if(!a||!a.length)return false;for(var n=false,i=false,o,l=0;l<a.length;l++){if(o=a[l].props.nodeName.toUpperCase(),o==="DT"&&(n=true),n&&o==="DD")return false;o==="DD"&&(i=true);}return n||i}var IS=PS;function MS(e,t,r){var a=false,n=false,i=true,o=[],l=[],c=[];return r.children.forEach(function(p){var h=p.actualNode;if(h.nodeType===3&&h.nodeValue.trim()!==""){a=true;return}if(!(h.nodeType!==1||!et(h))){i=false;var g=h.nodeName.toUpperCase()==="LI",y=Re(p),w=y==="listitem";!g&&!w&&o.push(h),g&&!w&&(l.push(h),c.includes(y)||c.push(y)),w&&(n=true);}}),a||o.length?(this.relatedNodes(o),true):i||n?false:(this.relatedNodes(l),this.data({messageKey:"roleNotValid",roles:c.join(", ")}),true)}var NS=MS;function LS(e,t,r){var a=["definition","term","list"],n={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(l,c){var p=c.actualNode;return p.nodeName.toUpperCase()==="DIV"&&Re(p)===null?l.concat(c.children):l.concat(c)},[]),o=i.reduce(function(l,c){var p=c.actualNode,h=p.nodeName.toUpperCase();if(p.nodeType===1&&et(p)){var g=Fe(p);(h!=="DT"&&h!=="DD"||g)&&(a.includes(g)||l.badNodes.push(p));}else p.nodeType===3&&p.nodeValue.trim()!==""&&(l.hasNonEmptyTextNode=true);return l},n);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function BS(e,t,r){var a=r.parent;if(a){var n=a.props.nodeName,i=Fe(a);return ["presentation","none","list"].includes(i)?true:i&&Hn(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(n)}}function qS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=[],n=[];if(r.children){for(var i=jm(r.children);i.length;){var o,l=i.shift(),c=l.vChild,p=l.nested;if(t.divGroups&&!p&&jS(c)){if(!c.children)return;var h=jm(c.children,true);i.push.apply(i,ve(h));continue}var g=$S(c,p,t);g&&(n.includes(g)||n.push(g),(c==null||(o=c.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(c.actualNode));}return n.length===0?false:(this.data({values:n.join(", ")}),this.relatedNodes(a),true)}}function $S(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,l=e.props,c=l.nodeName,p=l.nodeType,h=l.nodeValue,g=t?"div > ":"";if(p===3&&h.trim()!=="")return g+"#text";if(p!==1||!et(e))return false;var y=Fe(e);return y?n.includes(y)?false:g+"[role=".concat(y,"]"):o.includes(c)?false:g+c}function jS(e){return e.props.nodeName==="div"&&Fe(e)===null}function jm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function zS(e){var t=yt(e),r=t.nodeName.toUpperCase(),a=Fe(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=yt(t),r=t.nodeName.toUpperCase(),a=Fe(t)),r!=="DL"?false:!!(!a||["presentation","none","list"].includes(a))}var HS=zS;function VS(e,t,r){var a=Ra(r.attr("lang")),n=Ra(r.attr("xml:lang"));return a===n}var GS=VS;function US(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=Ra(i),l=t.value?!t.value.map(Ra).includes(o):!$o(o);(o!==""&&l||i!==""&&!we(i))&&a.push(n+'="'+r.attr(n)+'"');}}),!a.length||r.props.nodeName!=="html"&&!au(r)?false:(this.data(a),true)}var WS=US;function Vu(e){return (e||"").trim()!==""}function YS(e,t,r){var a=typeof d<"u"?Tn(d):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Vu(r.attr("xml:lang"))&&!Vu(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),false;var n=t.attributes.some(function(i){return Vu(r.attr(i))});return n?true:(this.data({messageKey:"noLang"}),false)}var KS=YS;function XS(e,t,r){var a=Re(e),n=bt(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),true}var ZS=XS;function JS(e){var t=[];return e.filter(function(r){var a=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},n=t.find(a);return n?(n.result=false,n.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var QS=JS;function ek(e,t,r){var a=Do(r),n=_o(r),i=r.attr("aria-describedby");return !a&&!!(n||i)}var tk=ek;function rk(e){var t=nt(e.getAttribute("id")),r=e.parentNode,a=Et(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(l){return !Qr(l)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(l){return et(l)});if(i.length>1)return;var o=Er(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var ak=rk;function nk(e,t){var r=zm(t),a=zm(e);return !r||!a?false:r.includes(a)}function zm(e){var t=Un(e,{emoji:true,nonBmp:true,punctuations:true});return we(t)}function ik(e,t,r){var a,n=t?.pixelThreshold,i=(a=t?.occurrenceThreshold)!==null&&a!==void 0?a:t?.occuranceThreshold,o=xa(e).toLowerCase(),l=we(ra(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!l)return true;if(!(Ql(o)<1||Ql(l)<1))return nk(l,o)}var ok=ik;function sk(e,t,r){try{var a=zt(r,"label");if(a){var n=we(bt(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return !1}catch{return}}var lk=sk;function uk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Et(e),n=nt(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!et(i)){var o;try{o=bt(r).trim();}catch{return}var l=o==="";return l}}return false}var ck=uk;function dk(e,t,r){var a=Do(r),n=e.getAttribute("title");if(!a)return false;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=Er(e,"aria-describedby");n=i.map(function(o){return o?xa(o):""}).join("");}return we(n)===we(a)}var fk=dk;function pk(e,t,r){var a=this;if(!r.attr("id"))return false;if(r.actualNode){var n=Et(r.actualNode),i=nt(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(l){if(Ht(l)){var c=we(xa(l,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:c}),!!c}else return !0})}catch{return}}}var hk=pk;function mk(e,t,r){if(["none","presentation"].includes(Re(r)))return false;var a=zt(r,t.parentSelector);if(!a)return false;var n=Ar(a,true).toLowerCase();return n===""?false:n===bt(r).toLowerCase()}var gk=mk;function vk(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var yk=vk;function bk(e,t,r){var a=Rr(r.attr("tabindex"));return a===null||a<=0}var wk=bk;function _k(e,t,r){if(r.children)try{var a=Hm(r);if(!a.length)return !0;var n=a.filter(xk);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function Hm(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){mr(r)==="widget"&&ut(r)?t.push(r):t.push.apply(t,ve(Hm(r)));}),t}function xk(e){var t=Rr(e.attr("tabindex"));return t!==null&&t<0}function Ek(e){var t=Ua("landmark"),r=yt(e),a=Re(e);for(this.data({role:a});r;){var n=Fe(r);if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=Dr(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return false;r=yt(r);}return true}var Dk=Ek;function Ak(e,t,r){if(r.children)try{return !r.children.some(function(a){return Vm(a)})}catch{return}}function Vm(e){if(er(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 Vm(t)})}function Ck(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return !a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Yn()?true:i.every(function(o){var l=o.getComputedStylePropertyValue("pointer-events"),c=parseInt(o.getComputedStylePropertyValue("width")),p=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(c===0||p===0)&&l==="none"})?void 0:false}var Rk=Ck;function Tk(e,t,r){if(!er(r))return false;try{return !bt(r)}catch{return}}var Sk=Tk;function kk(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return true;if(Yn()){this.relatedNodes(a);return}return true}var Fk=kk;function Ok(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return true;return er(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=zt(r.parent,"[contenteditable]");return o?a(o):false}}var Pk=Ok;function Ik(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return true;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||Yn()?true:i.every(function(o){var l=o.getComputedStylePropertyValue("pointer-events"),c=parseInt(o.getComputedStylePropertyValue("width")),p=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(c===0||p===0)&&l==="none"})?void 0:false}var Mk=Ik;function Nk(e,t,r){var a=r.tabbableElements;if(!a)return false;var n=a.filter(function(i){return i!==r});return n.length>0}var Lk=Nk;function Bk(e,t,r){return Qr(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var qk=Bk;function $k(e){var t={};return e.filter(function(r){if(!r.data)return false;var a=r.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(r.relatedNodes[0]),false):(t[a]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var jk=$k;function zk(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 a="page-no-duplicate;"+t.selector;if(Ae.get(a)){this.data("ignored");return}Ae.set(a,true);var n=Tr(m._tree[0],t.selector,function(i){return et(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!$a(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return Re(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var Hk=zk;function Vk(e){return e.filter(function(t){return t.data!=="ignored"})}var Gk=Vk;function Uk(e,t,r){return Vn(r,t.matcher)}var Wk=Uk;function Yk(e,t,r){try{return we(ra(r))!==""}catch{return}}function Kk(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&&Yn())return true;var a=Tr(r,t.selector,function(n){return et(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var Xk=Kk;function Zk(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var Jk=Zk;function Qk(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 a=r.attr(t.attribute),n=!we(a);return n?(this.data({messageKey:"emptyAttr"}),false):true}var eF=Qk;function tF(e,t,r){var a=r.attr("autocomplete")||"";return X1(a,t)}var rF=tF;function aF(e,t,r){if(r.props.nodeName!=="input")return true;var a=["text","search","number","tel"],n=["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":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};U(t)==="object"&&Object.keys(t).forEach(function(g){i[g]||(i[g]=[]),i[g]=i[g].concat(t[g]);});var o=r.attr("autocomplete"),l=o.split(/\s+/g).map(function(g){return g.toLowerCase()}),c=l[l.length-1];if(Da.stateTerms.includes(c))return true;var p=i[c],h=r.hasAttr("type")?we(r.attr("type")).toLowerCase():"text";return h=qo().includes(h)?h:"text",typeof p>"u"?h==="text":p.includes(h)}var nF=aF,iF=["block","list-item","table","flex","grid","inline-block"];function oF(e){if(Gm(e))return false;for(var t=yt(e);t&&t.nodeType===1&&!Gm(t);)t=yt(t);if(t){if(this.relatedNodes([t]),Em(e,t))return true;if(sF(e)){this.data({messageKey:"pseudoContent"});return}return false}}function Gm(e){var t=s.getComputedStyle(e).getPropertyValue("display");return iF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function sF(e){for(var t=0,r=["before","after"];t<r.length;t++){var a=r[t],n=s.getComputedStyle(e,":".concat(a)),i=n.getPropertyValue("content");if(i!=="none")return true}return false}function Um(e,t){var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return (Math.max(r,a)+.05)/(Math.min(r,a)+.05)}var lF=["block","list-item","table","flex","grid","inline-block"];function Wm(e){var t=s.getComputedStyle(e).getPropertyValue("display");return lF.indexOf(t)!==-1||t.substr(0,6)==="table-"}function uF(e,t){var r=t.requiredContrastRatio,a=t.allowSameColor;if(Wm(e))return false;for(var n=yt(e);n&&n.nodeType===1&&!Wm(n);)n=yt(n);if(n){this.relatedNodes([n]);var i=Wo(e),o=Wo(n),l=ti(e),c=ti(n),p=i&&o?Um(i,o):void 0;if(p&&(p=Math.floor(p*100)/100),p&&p>=r)return true;var h=l&&c?Um(l,c):void 0;if(h&&(h=Math.floor(h*100)/100),h&&h>=r)return true;if(!h){var g,y=(g=Ye.get("bgColor"))!==null&&g!==void 0?g:"bgContrast";this.data({messageKey:y}),Ye.clear();return}if(p)return a&&p===1&&h===1?true:p===1&&h>1?(this.data({messageKey:"bgContrast",contrastRatio:h,requiredContrastRatio:r,nodeBackgroundColor:l?l.toHexString():void 0,parentBackgroundColor:c?c.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:p,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var cF=uF;function dF(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,l=t.boldTextPt,c=t.largeTextPt,p=t.contrastRatio,h=t.shadowOutlineEmMax,g=t.pseudoSizeThreshold;if(!Ht(e))return this.data({messageKey:"hidden"}),true;var y=Ar(r,false,true);if(a&&pF(y)){this.data({messageKey:"nonBmp"});return}var w=s.getComputedStyle(e),_=parseFloat(w.getPropertyValue("font-size")),D=w.getPropertyValue("font-weight"),C=parseFloat(D)>=o||D==="bold",R=Math.ceil(_*72)/96,T=C&&R<l||!C&&R<c,O=T?p.normal:p.large,P=O.expected,M=O.minThreshold,B=O.maxThreshold,z=fF(r,{ignorePseudo:i,pseudoSizeThreshold:g});if(z){this.data({fontSize:"".concat((_*72/96).toFixed(1),"pt (").concat(_,"px)"),fontWeight:C?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:P+":1"}),this.relatedNodes(z.actualNode);return}var W=Uo(e,{minRatio:.001,maxRatio:h});if(W===null){this.data({messageKey:"complexTextShadows"});return}var ae=[],H=ti(e,ae,h),X=Wo(e,false,H,t),ee=null,ne=null,me=null;if(W.length===0)ee=Wa(H,X);else if(X&&H){me=[].concat(ve(W),[H]).reduce($u);var xe=Wa(H,X),ce=Wa(H,me),be=Wa(me,X);ee=Math.max(xe,ce,be),ee!==xe&&(ne=ce>be?"shadowOnBgColor":"fgOnShadowColor");}var J=ee>P;if(typeof M=="number"&&(typeof ee!="number"||ee<M)||typeof B=="number"&&(typeof ee!="number"||ee>B))return this.data({contrastRatio:ee}),true;var he=Math.floor(ee*100)/100,N,oe;H===null?Ye.get("colorParse")?(N="colorParse",oe=Ye.get("colorParse")):N=Ye.get("bgColor"):J||(N=ne),X===null&&Ye.get("colorParse")&&(N="colorParse",oe=Ye.get("colorParse"));var K=he===1,se=y.length===1;if(K?N=Ye.set("bgColor","equalRatio"):!J&&se&&!n&&(N="shortTextContent"),this.data({fgColor:X?X.toHexString():void 0,bgColor:H?H.toHexString():void 0,contrastRatio:he,fontSize:"".concat((_*72/96).toFixed(1),"pt (").concat(_,"px)"),fontWeight:C?"bold":"normal",messageKey:N,expectedContrastRatio:P+":1",shadowColor:me?me.toHexString():void 0,colorParse:oe}),X===null||H===null||K||se&&!n&&!J){N=null,Ye.clear(),this.relatedNodes(ae);return}return J||this.relatedNodes(ae),J}function fF(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?false:n;if(!i){var o=e.boundingClientRect,l=o.width*o.height*a;do{var c=Ym(e.actualNode,":before"),p=Ym(e.actualNode,":after");if(c+p>l)return e}while(e=e.parent)}}var Ym=We(function(t,r){var a=s.getComputedStyle(t,r),n=function(c,p){return a.getPropertyValue(c)===p};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===false||Aa(a).alpha===0&&n("background-image","none"))return 0;var i=Km(a.getPropertyValue("width")),o=Km(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function pF(e){var t={nonBmp:true},r=Zl(e,t),a=we(Un(e,t))==="";return r&&a}function Km(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=ie(r,3),n=a[1],i=n===void 0?"":n,o=a[2],l=o===void 0?"":o;return {value:parseFloat(i),unit:l.toLowerCase()}}var hF={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},mF={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 gF(e){var t=e.nodeName.toUpperCase();return hF[t]||false}function vF(e,t){var r=Fe(e);return r&&(mF[r]||t.roles.includes(r))||false}function yF(e,t){return vF(e,t)||gF(e)}var bF=yF;function wF(e,t,r){var a=Re(r,{dpub:true,fallback:true}),n=jl(a);return n&&this.data(a),n}var _F=wF;function xF(e,t,r){var a=Re(r,{noImplicit:true});this.data(a);var n,i;try{n=we(Kl(r)).toLowerCase(),i=we(bt(r)).toLowerCase();}catch{return}if(!i&&!n)return false;if(!(!i&&n)&&i.includes(n))return false}var EF=xF;function DF(e,t,r){return ut(r)}var AF=DF;function CF(e,t,r){var a=Pt(r.attr("role")),n=a.every(function(i){return !Hn(i.toLowerCase(),{allowAbstract:true})});return n?(this.data(a),true):false}var RF=CF;function TF(e,t,r){var a=Fe(r);if(a===null)return false;var n=mr(a);return n==="widget"||n==="composite"}var SF=TF;function kF(e,t,r){var a=ea().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var FF=kF;function OF(e,t){var r=Dr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function PF(e,t,r){var a=Pt(r.attr("role"));return a.length<=1?false:OF(r,a)?void 0:true}var IF=PF;function MF(e,t,r){var a=Re(r,{dpub:true,fallback:true}),n=Le.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),true):false}function NF(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(we(n)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):we(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function LF(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return true;try{return we(bt(r))!==""}catch{return}}function BF(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,l=["aria-errormessage"],c={"aria-controls":function(){var h=["false",null].includes(r.attr("aria-haspopup"))===false;return h&&(a='aria-controls="'.concat(r.attr("aria-controls"),'"'),n="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&h===false},"aria-current":function(h){h||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(h){h||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(h){h||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=m._tree&&m._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(p){if(!(l.includes(p)||t.includes(p)||!o.test(p))){var h,g=r.attr(p);try{h=pm(r,p);}catch{a="".concat(p,'="').concat(g,'"'),n="idrefs";return}(!c[p]||c[p](h))&&!h&&(g===""&&!qF(p)?(a=p,n="empty"):i.push("".concat(p,'="').concat(g,'"')));}}),i.length)return this.data(i),false;if(a){this.data({messageKey:n,needsReview:a});return}return true}function qF(e){var t;return ((t=Le.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function $F(e,t,r){t=Array.isArray(t.value)?t.value:[];var a=[],n=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&n.test(i)&&!Vo(i)&&a.push(i);}),a.length?(this.data(a),false):true}var jF=$F;function zF(e,t,r){var a=r.attrNames.filter(function(n){var i=Le.ariaAttrs[n];if(!Vo(n))return false;var o=i.unsupported;return U(o)!=="object"?!!o:!Vn(e,o.exceptions)});return a.length?(this.data(a),true):false}var HF=zF;function VF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=Re(r),n=t.supportedRoles||[];if(n.includes(a))return true;if(!(a&&a!=="presentation"&&a!=="none"))return false}var GF=VF;function Xm(e,t,r,a){var n=Fe(e);if(r||(r=Mu(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var l=Re(o,{noPresentational:true});if(!l)o=o.parent;else if(l==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(c){return c!=="group"}),o=o.parent;else return r.includes(l)?null:r}return r}function UF(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=nt(e.getAttribute("id")),n=Et(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function WF(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=Xm(r,a);if(!n)return true;var i=UF(e);if(i){for(var o=0,l=i.length;o<l;o++)if(n=Xm(Te(i[o]),a,n,true),!n)return true}return this.data(n),false}var YF=WF;function KF(e,t,r){var a=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],n=Fe(r,{dpub:true}),i=Nu(n);if(i===null)return true;var o=XF(r,i),l=o.filter(function(p){var h=p.role,g=p.vNode;return g.props.nodeType===1&&!i.includes(h)});if(l.length){this.relatedNodes(l.map(function(p){var h=p.vNode;return h}));var c=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:c,values:l.map(function(p){var h=p.vNode,g=p.attr;return QF(h,g)}).filter(function(p,h,g){return g.indexOf(p)===h}).join(", ")}),false}if(ZF(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(a.includes(n)&&!o.some(e3)))return false}function XF(e,t){for(var r,a=[],n=Gn(e),i=function(){if(r.props.nodeType===3&&a.push({vNode:r,role:null}),r.props.nodeType!==1||!et(r))return 1;var l=Re(r,{noPresentational:true}),c=JF(r),p=!!c||ut(r);if(!l&&!p||["group","rowgroup"].includes(l)&&t.some(function(g){return g===l}))n.push.apply(n,ve(r.children));else if(l||p){var h=c||"tabindex";a.push({role:l,attr:h,vNode:r});}};r=n.shift();)i();return a}function ZF(e,t){return t.some(function(r){var a=r.role;return a&&e.includes(a)})}function JF(e){return ea().find(function(t){return e.hasAttr(t)})}function QF(e,t){var r=e.props,a=r.nodeName,n=r.nodeType;if(n===3)return "#text";var i=Fe(e,{dpub:true});return i?"[role=".concat(i,"]"):t?a+"[".concat(t,"]"):a}function e3(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:Wn(t,false,true)}function t3(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=Fe(a),i=a.attrNames,o=fm(n);if(Array.isArray(r[n])&&(o=Zn(r[n],o)),!n||!i.length||!o.length||r3(a,n)||n3(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var l=ta(a),c=o.filter(function(p){return !a.attr(p)&&!a3(l,p)});return c.length?(this.data(c),false):true}function r3(e,t){return t==="separator"&&!ut(e)}function a3(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function n3(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function i3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t?.elementsAllowedAriaLabel||[],n=r.props.nodeName,i=Re(r,{chromium:true,fallback:true}),o=o3(r,i,n,a),l=o.filter(function(h){return r.attrNames.includes(h)?we(r.attr(h))!=="":false});if(l.length===0)return false;var c=i!==null?"hasRole":"noRole";c+=l.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:c,prohibited:l});var p=ra(r,{subtreeDescendant:true});if(we(p)==="")return true}function o3(e,t,r,a){var n=Le.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||Zm(e)==="widget"?[]:["aria-label","aria-labelledby"]}var Zm=We(function(t){if(t){var r=Re(t,{noPresentational:true,chromium:true});return r?mr(r):Zm(t.parent)}});function s3(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return true}var l3=s3;function u3(e,t,r){return r.attr("aria-hidden")!=="true"}var c3=u3;function d3(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function l(c){if(c.trim()==="")return Le.ariaAttrs["aria-errormessage"].allowEmpty;var p=Pt(c);if(p.length>1)return this.data({messageKey:"unsupported",values:p}),false;var h;try{h=c&&Er(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:p});return}if(h){if(!et(h))return this.data({messageKey:"hidden",values:p}),false;var g=Pt(r.attr("aria-describedby"));return Fe(h)==="alert"||h.getAttribute("aria-live")==="assertive"||h.getAttribute("aria-live")==="polite"||p.some(function(y){return g.includes(y)})}}return t.indexOf(a)===-1&&n?(this.data(Pt(a)),l.call(this,a)):true}function Jm(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=n==null||(r=n.filter)===null||r===void 0?void 0:r.call(n,function(h){return i.hasAttr(h)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var l=f3(i),c=l&&Re(l);if(!c||c==="treegrid")return true;var p="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:p,invalidAttrs:o,ownerRole:c}),false}function f3(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return zt(e,t)}}function Qm(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=h3(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return true;var l=p3(r);return o===l?true:(this.data({messageKey:"checkbox",checkState:l}),false)}function p3(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function h3(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var eg={row:Jm,checkbox:Qm};function m3(e,t,r){var a=Re(r);return eg[a]?eg[a].call(this,e,t,r):true}function g3(e,t,r){return r.attr("aria-busy")==="true"}function v3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?true:a,i=t.ignoredTags,o=i===void 0?[]:i,l=r.props.nodeName;if(o.map(function(p){return p.toLowerCase()}).includes(l))return true;var c=sm(r,n);return c.length?(this.data(c),et(r)?false:void 0):true}var y3=v3;function b3(e,t,r){var a=[],n=Re(r),i=nm(n);Array.isArray(t[n])&&(i=Zn(t[n].concat(i)));var o=Ve(r.attrNames),l;try{for(o.s();!(l=o.n()).done;){var c=l.value;Vo(c)&&!i.includes(c)&&!w3(c,r.attr(c),r)&&a.push(c);}}catch(p){o.e(p);}finally{o.f();}if(!a.length)return true;if(this.data(a.map(function(p){return p+'="'+r.attr(p)+'"'})),!(!n&&!wu(r)&&!ut(r)))return false}function w3(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function _3(e,t,r){var a=ta(r);if(!a.allowedAriaAttrs)return true;var n=Fe(r);if(n)return true;var i=a.allowedAriaAttrs,o=ea(),l=[],c=Ve(r.attrNames),p;try{for(c.s();!(p=c.n()).done;){var h=p.value;o.includes(h)&&!i.includes(h)&&l.push(h);}}catch(y){c.e(y);}finally{c.f();}if(!l.length)return true;var g=l.length>1?"plural":"singular";return this.data({messageKey:g,nodeName:r.props.nodeName,values:l.map(function(y){return y+'="'+r.attr(y)+'"'}).join(", ")}),false}function x3(e,t,r){var a=Pt(r.attr("role")).filter(function(n){return mr(n)==="abstract"});return a.length>0?(this.data(a),true):false}var E3=x3;function D3(e){var t=Ra(e.getAttribute("lang")),r=Ra(e.getAttribute("xml:lang"));return $o(t)&&$o(r)}var A3=D3;function C3(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var R3=C3;function T3(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!zt(t,"svg")}catch{return false}}var Gu=T3;function S3(e,t){return k3.every(function(r){return r(e,t)})}var k3=[function(e,t){return tg(t)},function(e,t){return F3(t)},function(e,t){return !Gu(e,t)},function(e,t){return ut(t)},function(e,t){return er(t)||!O3(t)},function(e){return !nu(e,{noLengthCompare:true,includeInlineBlock:true})}];function tg(e){return mr(e)==="widget"}function F3(e){return e.props.nodeName!=="area"}var O3=We(function e(t){return t!=null&&t.parent?tg(t.parent)&&er(t.parent)?true:e(t.parent):false});function P3(e,t){var r=Re(t);return ["treegrid","grid","table"].includes(r)}function I3(e,t){var r=t.parent;if(r.props.nodeName!=="details"||M3(t))return false;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function M3(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function N3(e){return su(e)&&fo(e)}var L3=N3;function B3(e,t){return qr(e,13)!==void 0&&Iu(t)===false&&q3(t)}function q3(e){var t=e.boundingClientRect;return Ut(e,"*").some(function(r){if(!Wn(r,true,true))return false;var a=[];if(Ao(r)){var n;(n=a).push.apply(n,ve($3(r)));}else a=[r.boundingClientRect];return a.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function $3(e){var t=d.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function j3(e,t){return Dr(t,{chromiumRoles:true})!==null}var z3=j3;function H3(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),a=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(a)||[]).length>=2)return false;var n=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return n.length!==0}var V3=H3;function G3(e,t){var r=Fe(t);if(!r||["none","presentation"].includes(r))return true;var a=h1[r]||{},n=a.accessibleNameRequired;return !!(n||ut(t))}var rg=G3,U3=function(t,r){return [rg,W3].every(function(a){return a(t,r)})};function W3(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 Y3(e,t){return t.props.nodeName!=="html"}var K3=Y3;function X3(e,t){return !t.attr("role")}var Z3=X3;function J3(e,t){var r=Rr(t.attr("tabindex"));return r===null||r>=0}var Q3=J3;function eO(e,t){var r=ta(t),a=r.namingMethods;return !(a&&a.length!==0||Fe(t)==="combobox"&&Ut(t,'input:not([type="hidden"])').length||Iu(t,{popupRoles:["listbox"]}))}var tO=eO;function rO(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var aO=rO;function nO(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var iO=nO;function oO(e,t){var r=Re(t);return r?!!Le.ariaRoles[r].childrenPresentational:false}var sO=oO;function lO(e){var t=we(e.innerText),r=Fe(e);return r&&r!=="link"||!t||!Ht(e)?false:nu(e)}var uO=lO;function cO(e){return !zo(e)&&!ut(e)}var dO=cO;function fO(e,t){return pO(t)&&et(t)}function pO(e){var t=Ua("landmark"),r=Re(e);if(!r)return false;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=bt(e);return !!n}return t.indexOf(r)>=0||r==="region"}function hO(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!$a(t,r)}var mO=hO;function gO(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 vO=gO;function yO(e,t){var r=Re(e);if(!r)return false;var a=Ua("widget"),n=a.includes(r);if(!n)return false;var i=Pu();return !(!i.includes(r)||!we(zn(t))&&!we(jn(e))||!we(Ar(t)))}var bO=yO;function wO(e,t){return Ht(t)}function _O(e){return Ht(e)}function xO(e,t,r){return r.initiator}var ag=xO;function EO(e){return th(e)}var DO=EO;function AO(e,t){var r=!!bt(t);if(!r)return false;var a=Re(e);return !(a&&a!=="link")}var CO=AO;function RO(e,t){return !Gu(e,t)}var TO=RO;function SO(e,t){return Re(t)==="heading"}function kO(e,t){return Dr(t,{chromium:true})!==null}var FO=kO;function OO(e){var t=e.getAttribute("title");return !!we(t)}var PO=OO;function IO(e,t,r){var a,n;return !r.initiator&&!r.focusable&&((a=r.size)===null||a===void 0?void 0:a.width)*((n=r.size)===null||n===void 0?void 0:n.height)>1}var MO=IO;function NO(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(nt(t),'"]'),a=Array.from(Et(e).querySelectorAll(r));return !Ho(e)&&a.every(function(n){return !ut(n)})}var LO=NO;function BO(e){return Ho(e)}var qO=BO;function $O(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(nt(t),'"]'),a=Array.from(Et(e).querySelectorAll(r));return !Ho(e)&&a.some(ut)}var jO=$O;function zO(e){return zo(e)}var HO=zO;function VO(e){if(zo(e)){var t=Br(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var GO=VO;function UO(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||ri(t)||yo(t))return false;var o=["input","select","textarea"];if(o.includes(a)){var l=s.getComputedStyle(e),c=parseInt(l.getPropertyValue("text-indent"),10);if(c){var p=e.getBoundingClientRect();if(p={top:p.top,bottom:p.bottom,left:p.left+c,right:p.right+c},!lu(p,e))return false}return true}var h=$a(t,"label");if(a==="label"||h){var g=h||e,y=h?Te(h):t;if(g.htmlFor){var w=Et(g),_=w.getElementById(g.htmlFor),D=_&&Te(_);if(D&&ri(D))return false}var C='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',R=Ut(y,C)[0];if(R&&ri(R))return false}for(var T=[],O=t;O;){if(O.props.id){var P=Ou(O).filter(function(X){return Pt(X.getAttribute("aria-labelledby")||"").includes(O.props.id)}).map(function(X){return Te(X)});T.push.apply(T,ve(P));}O=O.parent;}if(T.length>0&&T.every(ri)||!KO(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var M=d.createRange(),B=t.children,z=0;z<B.length;z++){var W=B[z];W.actualNode.nodeType===3&&we(W.actualNode.nodeValue)!==""&&M.selectNodeContents(W.actualNode);}var ae=Array.from(M.getClientRects()),H=Ln(t);return ae.some(function(X){var ee=lu(X,e);if(!H.length)return ee;var ne=H.some(function(me){return Cl(X,me.boundingClientRect)});return ee&&ne})}var WO=UO,YO={emoji:true,nonBmp:false,punctuations:true};function KO(e){var t=Ar(e,false,true);return t===""||Un(t,YO)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Jl(r)})}function XO(e,t,r){return ag(e,t,r)?!!e.querySelector("a[href]"):true}var ZO=XO;function JO(e,t){var r=t.attr("autocomplete");if(!r||we(r)==="")return false;var a=t.props.nodeName;if(["textarea","input","select"].includes(a)===false)return false;var n=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||n.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(a==="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 l=Fe(t),c=Rr(t.attr("tabindex"));if(c<0&&t.hasAttr("role")){var p=Le.ariaRoles[l];if(p===void 0||p.type!=="widget")return false}return !(c<0&&t.actualNode&&!Ht(t)&&!et(t))}var QO=JO;function eP(e,t){var r=Fe(t);return !!Mu(r)}var tP=eP;function rP(e,t){var r=Fe(t,{dpub:true});return !!Nu(r)}var aP=rP;function ng(e){return e?e.getAttribute("aria-hidden")==="true"?false:ng(yt(e)):true}function nP(e){return ng(yt(e))}var iP=nP;function oP(e,t){var r=/^aria-/;return t.attrNames.some(function(a){return r.test(a)})}var sP=oP;function lP(e,t){return Fe(t,{dpub:true,fallback:true})!==null}var uP=lP;function cP(e,t){var r=/^aria-/,a=t.attrNames;if(a.length){for(var n=0,i=a.length;n<i;n++)if(r.test(a[n]))return true}return false}var dP=cP,fP={"abstractrole-evaluate":E3,"accesskeys-after":jk,"accesskeys-evaluate":qk,"alt-space-value-evaluate":yk,"aria-allowed-attr-elm-evaluate":_3,"aria-allowed-attr-evaluate":b3,"aria-allowed-attr-matches":dP,"aria-allowed-role-evaluate":y3,"aria-allowed-role-matches":uP,"aria-busy-evaluate":g3,"aria-conditional-attr-evaluate":m3,"aria-conditional-checkbox-attr-evaluate":Qm,"aria-conditional-row-attr-evaluate":Jm,"aria-errormessage-evaluate":d3,"aria-has-attr-matches":sP,"aria-hidden-body-evaluate":c3,"aria-hidden-focus-matches":iP,"aria-label-evaluate":XT,"aria-labelledby-evaluate":YT,"aria-level-evaluate":l3,"aria-prohibited-attr-evaluate":i3,"aria-required-attr-evaluate":t3,"aria-required-children-evaluate":KF,"aria-required-children-matches":aP,"aria-required-parent-evaluate":YF,"aria-required-parent-matches":tP,"aria-roledescription-evaluate":GF,"aria-unsupported-attr-evaluate":HF,"aria-valid-attr-evaluate":jF,"aria-valid-attr-value-evaluate":BF,"attr-non-space-content-evaluate":eF,"autocomplete-appropriate-evaluate":nF,"autocomplete-matches":QO,"autocomplete-valid-evaluate":rF,"avoid-inline-spacing-evaluate":UT,"braille-label-equivalent-evaluate":LF,"braille-roledescription-equivalent-evaluate":NF,"bypass-matches":ZO,"caption-evaluate":OS,"caption-faked-evaluate":ST,"color-contrast-evaluate":dF,"color-contrast-matches":WO,"css-orientation-lock-evaluate":DS,"data-table-large-matches":GO,"data-table-matches":HO,"deprecatedrole-evaluate":MF,"dlitem-evaluate":HS,"doc-has-title-evaluate":VT,"duplicate-id-active-matches":jO,"duplicate-id-after":e5,"duplicate-id-aria-matches":qO,"duplicate-id-evaluate":JT,"duplicate-id-misc-matches":LO,"duplicate-img-label-evaluate":gk,"exists-evaluate":zT,"explicit-evaluate":hk,"fallbackrole-evaluate":IF,"focusable-content-evaluate":Lk,"focusable-disabled-evaluate":Mk,"focusable-element-evaluate":Pk,"focusable-modal-open-evaluate":Fk,"focusable-no-name-evaluate":Sk,"focusable-not-tabbable-evaluate":Rk,"frame-focusable-content-evaluate":Ak,"frame-focusable-content-matches":MO,"frame-tested-after":kS,"frame-tested-evaluate":TS,"frame-title-has-text-matches":PO,"has-alt-evaluate":$T,"has-descendant-after":Jk,"has-descendant-evaluate":Xk,"has-global-aria-attribute-evaluate":FF,"has-implicit-chromium-role-matches":FO,"has-lang-evaluate":KS,"has-text-content-evaluate":Yk,"has-widget-role-evaluate":SF,"heading-matches":SO,"heading-order-after":iS,"heading-order-evaluate":nS,"help-same-as-label-evaluate":fk,"hidden-content-evaluate":LR,"hidden-explicit-label-evaluate":ck,"html-namespace-matches":TO,"html5-scope-evaluate":RT,"identical-links-same-purpose-after":tS,"identical-links-same-purpose-evaluate":Q5,"identical-links-same-purpose-matches":CO,"implicit-evaluate":lk,"inline-style-property-evaluate":LT,"inserted-into-focus-order-matches":DO,"internal-link-present-evaluate":x5,"invalid-children-evaluate":qS,"invalidrole-evaluate":RF,"is-element-focusable-evaluate":AF,"is-initiator-matches":ag,"is-on-screen-evaluate":NT,"is-visible-matches":_O,"is-visible-on-screen-matches":wO,"label-content-name-mismatch-evaluate":ok,"label-content-name-mismatch-matches":bO,"label-matches":vO,"landmark-has-body-context-matches":mO,"landmark-is-top-level-evaluate":Dk,"landmark-is-unique-after":QS,"landmark-is-unique-evaluate":ZS,"landmark-unique-matches":fO,"layout-table-matches":dO,"link-in-text-block-evaluate":cF,"link-in-text-block-matches":uO,"link-in-text-block-style-evaluate":oF,"listitem-evaluate":BS,"matches-definition-evaluate":Wk,"meta-refresh-evaluate":w5,"meta-viewport-scale-evaluate":xS,"multiple-label-evaluate":ak,"nested-interactive-matches":sO,"no-autoplay-audio-evaluate":CS,"no-autoplay-audio-matches":iO,"no-empty-role-matches":aO,"no-explicit-name-required-matches":rg,"no-focusable-content-evaluate":_k,"no-implicit-explicit-label-evaluate":EF,"no-naming-method-matches":tO,"no-negative-tabindex-matches":Q3,"no-role-matches":Z3,"non-empty-if-present-evaluate":IT,"not-html-matches":K3,"object-is-loaded-matches":U3,"only-dlitems-evaluate":LS,"only-listitems-evaluate":NS,"p-as-heading-evaluate":v5,"p-as-heading-matches":V3,"page-no-duplicate-after":Gk,"page-no-duplicate-evaluate":Hk,"presentation-role-conflict-matches":z3,"presentational-role-evaluate":OT,"region-after":p5,"region-evaluate":l5,"same-caption-summary-evaluate":ET,"scope-value-evaluate":xT,"scrollable-region-focusable-matches":B3,"skip-link-evaluate":o5,"skip-link-matches":L3,"structured-dlitems-evaluate":IS,"summary-interactive-matches":I3,"svg-namespace-matches":Gu,"svg-non-empty-title-evaluate":FT,"tabindex-evaluate":wk,"table-or-grid-role-matches":P3,"target-offset-evaluate":bS,"target-size-evaluate":dS,"td-has-header-evaluate":wT,"td-headers-attr-evaluate":yT,"th-has-data-cells-evaluate":vT,"title-only-evaluate":tk,"unique-frame-title-after":n5,"unique-frame-title-evaluate":r5,"unsupportedrole-evaluate":_F,"valid-lang-evaluate":WS,"valid-scrollable-semantics-evaluate":bF,"widget-not-inline-matches":S3,"window-is-top-matches":R3,"xml-lang-mismatch-evaluate":GS,"xml-lang-mismatch-matches":A3},Ko=fP;function pP(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var Uu=pP;function Wu(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 ig(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||U(e)!=="object")&&(e={value:e}),e}function Ya(e){e&&(this.id=e.id,this.configure(e));}Ya.prototype.enabled=true,Ya.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,l=this.getOptions(r.options);if(o){var c=new Uu(this),p=cl(c,r,n,i),h;try{h=this.evaluate.call(p,t.actualNode,l,t,a);}catch(g){t&&t.actualNode&&(g.errorNode=Qt.toSpec(t)),i(g);return}p.isAsync||(c.result=h,n(c));}else n(null);},Ya.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var l=this.getOptions(r.options),c=new Uu(this),p=cl(c);p.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var h;try{h=this.evaluate.call(p,t.actualNode,l,t,a);}catch(g){throw t&&t.actualNode&&(g.errorNode=Qt.toSpec(t)),g}return c.result=h,c},Ya.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=ig(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=Wu(t[a])});},Ya.prototype.getOptions=function(t){return this._internalCheck?El(this.options,ig(t||{})):t||this.options};var og=Ya;function hP(e){this.id=e.id,this.result=Ce.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Xo=hP;function Bt(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(Ne(Ce.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=Wu(e.matches));}Bt.prototype.matches=function(){return true},Bt.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&Be.mark(a);var l=Cu(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&Be.mark(i),l=l.filter(function(c){return et(c)}),r.performanceTimer&&(Be.mark(o),Be.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(Be.mark(n),Be.measure("rule_"+this.id+"#gather",a,n)),l},Bt.prototype.runChecks=function(t,r,a,n,i,o){var l=this,c=xr();this[t].forEach(function(p){var h=l._audit.checks[p.id||p],g=Oo(h,l.id,a);c.defer(function(y,w){h.run(r,g,n,y,function(_){w(new Bo({ruleId:l.id,method:"".concat(h.id,"#evaluate"),errorNode:new Jt(r),error:_}));});});}),c.then(function(p){p=p.filter(function(h){return h}),i({type:t,results:p});}).catch(o);},Bt.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(l){var c=i._audit.checks[l.id||l],p=Oo(c,i.id,a);o.push(c.runSync(r,p,n));}),o=o.filter(function(l){return l}),{type:t,results:o}},Bt.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=xr(),l=new Xo(this),c;try{c=this.gatherAndMatchNodes(t,a);}catch(p){i(p);return}a.performanceTimer&&this._logGatherPerformance(c),c.forEach(function(p){o.defer(function(h,g){var y=xr();["any","all","none"].forEach(function(w){y.defer(function(_,D){r.runChecks(w,p,a,t,_,D);});}),y.then(function(w){var _=sg(w);_&&(_.node=new Jt(p),l.nodes.push(_),r.reviewOnFail&&(["any","all"].forEach(function(D){_[D].forEach(function(C){C.result===false&&(C.result=void 0);});}),_.none.forEach(function(D){D.result===true&&(D.result=void 0);}))),h();}).catch(function(w){return g(w)});});}),o.then(function(){a.performanceTimer&&r._logRulePerformance(),setTimeout(function(){n(l);},0);}).catch(function(p){a.performanceTimer&&r._logRulePerformance(),i(p);});},Bt.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new Xo(this),i=this.gatherAndMatchNodes(t,a);return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var l=[];["any","all","none"].forEach(function(p){l.push(r.runChecksSync(p,o,a,t));});var c=sg(l);c&&(c.node=o.actualNode?new Jt(o):null,n.nodes.push(c),r.reviewOnFail&&(["any","all"].forEach(function(p){c[p].forEach(function(h){h.result===false&&(h.result=void 0);});}),c.none.forEach(function(p){p.result===true&&(p.result=void 0);})));}),a.performanceTimer&&this._logRulePerformance(),n},Bt.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;},Bt.prototype._logGatherPerformance=function(t){ba("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(Be.timeElapsed(),"ms")),Be.mark(this._markChecksStart);},Bt.prototype._logRulePerformance=function(){Be.mark(this._markChecksEnd),Be.mark(this._markEnd),Be.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Be.measure("rule_"+this.id,this._markStart,this._markEnd);};function sg(e){if(e.length){var t=false,r={};return e.forEach(function(a){var n=a.results.filter(function(i){return i});r[a.type]=n,n.length&&(t=true);}),t?r:null}}Bt.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&Be.mark(n),o=o.filter(function(l){try{return a.matches(l.actualNode,l,t)}catch(c){throw new Bo({ruleId:a.id,method:"#matches",errorNode:new Jt(l),error:c})}}),r.performanceTimer&&(Be.mark(i),Be.measure("rule_"+this.id+"#matches",n,i)),o};function mP(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 gP(e,t){var r=[];return e.forEach(function(a){var n=oo(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i));});}),r}function vP(e){return e.filter(function(t){return t.filtered!==true})}function yP(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=vP(a[i]),n+=a[i].length;}),n>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(a,n){if(a)return t.forEach(function(i){a[i].push.apply(a[i],n[i]);}),a})]),r}Bt.prototype.after=function(t,r){var a=this,n=mP(this);return n.forEach(function(i){var o=gP(t.nodes,i.id),l=Oo(i,a.id,r),c;try{c=i.after(o,l.options);}catch(h){var p;throw new Bo({ruleId:a.id,method:"".concat(i.id,"#after"),errorNode:(p=t.nodes)===null||p===void 0||(p=p[0])===null||p===void 0?void 0:p.node,error:h})}a.reviewOnFail&&c.forEach(function(h){var g=(a.any.includes(h.id)||a.all.includes(h.id))&&h.result===false,y=a.none.includes(h.id)&&h.result===true;(g||y)&&(h.result=void 0);}),o.forEach(function(h){delete h.node,c.indexOf(h)===-1&&(h.filtered=true);});}),t.nodes=yP(t),t},Bt.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=Wu(t.matches)),t.impact&&(Ne(Ce.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Ka=/\{\{.+?\}\}/g,bP=(function(){function e(t){or(this,e),this.lang="en",this.defaultConfig=t,this.standards=Le,this._init(),this._defaultLocale=null;}return sr(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n<a.length;n++){var i=a[n],o=this.data.checks[i],l=o.messages,c=l.pass,p=l.fail,h=l.incomplete;r.checks[i]={pass:c,fail:p,incomplete:h};}for(var g=Object.keys(this.data.rules),y=0;y<g.length;y++){var w=g[y],_=this.data.rules[w],D=_.description,C=_.help;r.rules[w]={description:D,help:C};}for(var R=Object.keys(this.data.failureSummaries),T=0;T<R.length;T++){var O=R[T],P=this.data.failureSummaries[O],M=P.failureMessage;r.failureSummaries[O]={failureMessage:M};}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 a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=_P(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=xP(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var a=Object.keys(r),n=0;n<a.length;n++){var i=a[n];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=EP(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=DP(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var a=ug();this.allowedOrigins=[];var n=Ve(r),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(o===Ce.allOrigins){this.allowedOrigins=["*"];return}else o!==Ce.sameOrigin?this.allowedOrigins.push(o):a&&this.allowedOrigins.push(a);}}catch(l){n.e(l);}finally{n.f();}}},{key:"_init",value:function(){var r=wP(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,cg(r.rules,this,"addRule"),cg(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 a=this.getRule(r.id);a?a.configure(r):this.rules.push(new Bt(r,this));}},{key:"addCheck",value:function(r){var a=r.metadata;U(a)==="object"&&(this.data.checks[r.id]=a,U(a.messages)==="object"&&Object.keys(a.messages).filter(function(n){return a.messages.hasOwnProperty(n)&&typeof a.messages[n]=="string"}).forEach(function(n){a.messages[n].indexOf("function")===0&&(a.messages[n]=new Function("return "+a.messages[n]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new og(r);}},{key:"run",value:function(r,a,n,i){this.normalizeOptions(a),Jt.setRunOptions(a),m._selectCache=[];var o=AP(this.rules,r,a),l=o.now,c=o.later,p=xr();l.forEach(function(y){p.defer(dg(y,r,a));});var h=xr();c.length&&h.defer(function(y){Nh(a).then(function(w){return y(w)}).catch(function(w){console.warn("Couldn't load preload assets: ",w),y(void 0);});});var g=xr();g.defer(p),g.defer(h),g.then(function(y){var w=y.pop();if(w&&w.length){var _=w[0];_&&(r=Se({},r,_));}var D=y[0];if(!c.length){m._selectCache=void 0,n(D.filter(function(R){return !!R}));return}var C=xr();c.forEach(function(R){var T=dg(R,r,a);C.defer(T);}),C.then(function(R){m._selectCache=void 0,n(D.concat(R).filter(function(T){return !!T}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,a){var n=this.rules;return r.map(function(i){if(i.error)return i;var o=Mn(n,"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,a)}catch(l){if(a.debug)throw l;return fg(o,l)}})}},{key:"getRule",value:function(r){return this.rules.find(function(a){return a.id===r})}},{key:"normalizeOptions",value:function(r){var a=this,n=[],i=[];if(a.rules.forEach(function(h){i.push(h.id),h.tags.forEach(function(g){n.includes(g)||n.push(g);});}),["object","string"].includes(U(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(h){return n.includes(h)}),l=r.runOnly.find(function(h){return i.includes(h)});if(o&&l)throw new Error("runOnly cannot be both rules and tags");l?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(h){if(!i.includes(h))throw new Error("unknown rule `"+h+"` in options.runOnly")});else if(["tag","tags",void 0].includes(c.type)){c.type="tag";var p=c.values.filter(function(h){return !n.includes(h)&&!/wcag2[1-3]a{1,3}/.test(h)});p.length!==0&&m.log("Could not find tags `"+p.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(c.type,"'"))}return U(r.rules)==="object"&&Object.keys(r.rules).forEach(function(h){if(!i.includes(h))throw new Error("unknown rule `"+h+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var a={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(a);}},{key:"_constructHelpUrls",value:function(){var r=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,n=(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"||a&&o.helpUrl===pg(a,i.id,n))&&(o.helpUrl=pg(r,i.id,n));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),lg=bP;function ug(){if(s.origin&&s.origin!=="null")return s.origin;if(s.location&&s.location.origin&&s.location.origin!=="null")return s.location.origin}function wP(e){var t;if(e?(t=Mr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=ug();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Se({checks:{},rules:{}},t.data),t}function cg(e,t,r){var a,n;for(a=0,n=e.length;a<n;a++)t[r](e[a]);}var _P=function(t,r){var a=r.pass,n=r.fail;return typeof a=="string"&&Ka.test(a)&&(a=Ur.default.compile(a)),typeof n=="string"&&Ka.test(n)&&(n=Ur.default.compile(n)),Se({},t,{messages:{pass:a||t.messages.pass,fail:n||t.messages.fail,incomplete:U(t.messages.incomplete)==="object"?Se({},t.messages.incomplete,r.incomplete):r.incomplete}})},xP=function(t,r){var a=r.help,n=r.description;return typeof a=="string"&&Ka.test(a)&&(a=Ur.default.compile(a)),typeof n=="string"&&Ka.test(n)&&(n=Ur.default.compile(n)),Se({},t,{help:a||t.help,description:n||t.description})},EP=function(t,r){var a=r.failureMessage;return typeof a=="string"&&Ka.test(a)&&(a=Ur.default.compile(a)),Se({},t,{failureMessage:a||t.failureMessage})},DP=function(t,r){return typeof r=="string"&&Ka.test(r)&&(r=Ur.default.compile(r)),r||t};function AP(e,t,r){var a={now:[],later:[]},n=e.reduce(function(i,o){return jh(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},a);return n}function dg(e,t,r){return r.performanceTimer&&Be.mark("mark_rule_start_"+e.id),function(a,n){e.run(t,r,function(i){return a(i)},function(i){r.debug?n(i):a(fg(e,i));});}}function fg(e,t){var r=t.errorNode,a=Lo(t),n=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],i=r||new Jt(d.documentElement);return Object.assign(new Xo(e),{error:a,result:Ce.CANTTELL,nodes:[{any:[],all:[],none:n,node:i}]})}function pg(e,t,r){var a=e.brand,n=e.application,i=e.lang;return Ce.helpUrlBase+a+"/"+(r||m.version.substring(0,m.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(n)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function hg(e){var t=s&&"Node"in s&&"NodeList"in s,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||(Ae.set("globalDocumentSet",true),d=e.ownerDocument),t||(Ae.set("globalWindowSet",true),s=d.defaultView);}}function CP(){Ae.get("globalDocumentSet")&&(Ae.set("globalDocumentSet",false),d=null),Ae.get("globalWindowSet")&&(Ae.set("globalWindowSet",false),s=null);}function RP(){CP(),m._memoizedFns.forEach(function(e){return e.clear()}),Ae.clear(),m._tree=void 0,m._selectorData=void 0,m._selectCache=void 0;}var ia=RP;function mg(e,t,r,a){try{e=new Po(e),m._tree=e.flatTree,m._selectorData=Qi(e.flatTree);}catch(o){return ia(),a(o)}var n=xr(),i=m._audit;t.performanceTimer&&Be.auditStart(),e.frames.length&&t.iframes!==false&&n.defer(function(o,l){Rp(e,t,"rules",null,o,l);}),n.defer(function(o,l){i.run(e,t,o,l);}),n.then(function(o){try{t.performanceTimer&&Be.auditEnd();var l=so(o.map(function(c){return {results:c}}));e.initiator&&(t.performanceTimer&&Be.mark("auditAfterStart"),l=i.after(l,t),t.performanceTimer&&(Be.mark("auditAfterEnd"),Be.measure("audit.after","auditAfterStart","auditAfterEnd"),Be.logMeasures("audit.after")),l.forEach(No),l=l.map(gn));try{r(l,ia);}catch(c){ia(),ba(c);}}catch(c){ia(),a(c);}}).catch(function(o){ia(),a(o);});}function TP(e){m._audit=new lg(e);}function SP(e,t,r){var a=r,n=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 mg(i,o,function(l,c){l=Qt.mapRawResults(l),a(l),c();},n);case "cleanup-plugin":return Xh(a,n);default:if(m._audit&&m._audit.commands&&m._audit.commands[e.command])return m._audit.commands[e.command](e,r)}}s.top!==s&&(hr.subscribe("axe.start",SP),hr.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ni(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){m._audit.registerCommand(t);});}ni.prototype.run=function(){return this._run.apply(this,arguments)},ni.prototype.collect=function(){return this._collect.apply(this,arguments)},ni.prototype.cleanup=function(t){var r=m.utils.queue(),a=this;Object.keys(this._registry).forEach(function(n){r.defer(function(i){a._registry[n].cleanup(i);});}),r.then(t);},ni.prototype.add=function(t){this._registry[t.id]=t;};function kP(e){m.plugins[e.id]=new ni(e);}var FP=kP;function OP(){var e=m._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),ZE();}var PP=OP;function IP(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 vt||(t=new Kh(t));var a=xh(e);if(!a)throw new Error("unknown rule `"+e+"`");a=Object.create(a,{excludeHidden:{value:false}});var n={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=a.runSync(n,r);No(i),gn(i);var o=Ld([i]);return o.violations.forEach(function(l){return l.nodes.forEach(function(c){c.failureSummary=hu(c);})}),Se({},aa(),o,{toolOptions:r})}function gg(e){var t,r,a,n=ie(e,3),i=n[0],o=n[1],l=n[2],c=new TypeError("axe.run arguments are invalid");if(!Ch(i)){if(l!==void 0)throw c;l=o,o=i,i=d;}if(U(o)!=="object"){if(l!==void 0)throw c;l=o,o={};}if(typeof l!="function"&&l!==void 0)throw c;return o=Mr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:l}}var Yu=function(){};function MP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];hg(t[0]);var a=gg(t),n=a.context,i=a.options,o=a.callback,l=o===void 0?Yu:o,c=NP(l),p=c.thenable,h=c.resolve,g=c.reject;try{Ne(m._audit,"No audit configured"),Ne(!m._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(_){return BP(_,l)}m._running=true,i.performanceTimer&&Be.start();function y(_,D){var C=function(O){i.performanceTimer&&(Be.mark("reporterEnd"),Be.measure("reporter","reporterStart","reporterEnd"),Be.logMeasures("reporter"),Be.end()),m._running=false,D();try{h(O);}catch(P){m.log(P);}},R=function(O){m._running=false,D();try{g(O);}catch(P){m.log(P);}};try{i.performanceTimer&&Be.mark("reporterStart"),LP(_,i,C,R);}catch(T){R(T);}}function w(_){i.performanceTimer&&Be.end(),m._running=false,l(_),g(_);}return m._runRules(n,i,y,w),p}function NP(e){var t,r,a;return typeof Promise=="function"&&e===Yu?t=new Promise(function(n,i){r=i,a=n;}):(a=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:a}}function LP(e,t,r,a){var n=Su(t.reporter),i=n(e,t,r,a);i!==void 0&&r(i);}function BP(e,t){if(typeof t=="function"&&t!==Yu){t(e.message);return}throw e}function qP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=gg(t),n=a.options,i=a.context;Ne(m._audit,"Axe is not configured. Audit is missing."),Ne(!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 Po(i,m._tree);return m._tree=o.flatTree,m._selectorData=Qi(o.flatTree),m._running=true,n.elementRef=false,new Promise(function(l,c){m._audit.run(o,n,l,c);}).then(function(l){l=Qt.mapRawResults(l);var c=o.frames.map(function(h){var g=h.node;return Qt.toSpec(g)}),p;return o.initiator&&(p=aa()),m._running=false,ia(),{results:l,frames:c,environmentData:p}}).catch(function(l){return m._running=false,ia(),Promise.reject(l)})}function $P(e){var t,r,a,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n=Mr(n);var i=e.find(function(c){return c.environmentData})||{},o=i.environmentData;m._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=m._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",jP(e);var l=so(e);return l=m._audit.after(l,n),l.forEach(No),l=l.map(gn),HP(l,Se({environmentData:o},n))}function jP(e){var t=[],r=Ve(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=zP(n);t.unshift.apply(t,ve(o));}}}catch(l){r.e(l);}finally{r.f();}}function zP(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return Qt.mergeSpecs(a,r)}):t}function HP(e,t){return new Promise(function(r,a){var n=Su(t.reporter);n(e,t,r,a);})}function VP(e){if(m._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&U(e.documentElement)==="object"&&U(e.defaultView)==="object"&&(e=e.documentElement),hg(e),m._tree=fu(e),m._selectorData=Qi(m._tree),m._tree[0]}var GP=VP,UP=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ee(n,Ie);a(Se({},aa(i),{toolOptions:o},Xn(t,r)));},WP=UP,YP=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ee(n,_t);r.resultTypes=["violations"];var l=Xn(t,r),c=l.violations;a(Se({},aa(i),{toolOptions:o,violations:c}));},KP=YP,XP=function(t,r,a){if(typeof r=="function"&&(a=r,r={}),!t||!Array.isArray(t))return a(t);var n=t.map(function(i){for(var o=Se({},i),l=["passes","violations","incomplete","inapplicable"],c=0,p=l;c<p.length;c++){var h=p[c];o[h]=Qt.mapRawNodeResults(o[h]);}return o});a(n);},vg=XP,ZP=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ee(n,yr);vg(t,o,function(l){var c=aa(i);a({raw:l,env:c});});},JP=ZP,QP=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ee(n,at),l=Xn(t,r),c=function(h){h.nodes.forEach(function(g){g.failureSummary=hu(g);});};l.incomplete.forEach(c),l.violations.forEach(c),a(Se({},aa(i),{toolOptions:o},l));},eI=QP,tI=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Ee(n,sn),l=Xn(t,r);a(Se({},aa(i),{toolOptions:o},l));},rI=tI,aI={base:{Audit:lg,CheckResult:Uu,Check:og,Context:Po,RuleResult:Xo,Rule:Bt,metadataFunctionMap:Ko},public:{reporters:Jn},helpers:{failureSummary:hu,incompleteFallbackMessage:mu,processAggregate:Xn},utils:{setDefaultFrameMessenger:_p,cacheNodeSelectors:hh,getNodesMatchingExpression:fh,convertSelector:to},commons:{dom:{nativelyHidden:Fp,displayHidden:Op,visibilityHidden:Pp,contentVisibiltyHidden:Ip,ariaHidden:Mp,opacityHidden:Np,scrollHidden:Lp,overflowHidden:Bp,clipHidden:qp,areaHidden:Rl,detailsHidden:$p}}},nI=aI;m._thisWillBeDeletedDoNotUse=nI,m.constants=Ce,m.log=ba,m.AbstractVirtualNode=vt,m.SerialVirtualNode=Kh,m.VirtualNode=uu,m._cache=Ae,m.imports=jd,m.cleanup=Xh,m.configure=OR,m.frameMessenger=PR,m.getRules=MR,m._load=TP,m.plugins={},m.registerPlugin=FP,m.hasReporter=Jh,m.getReporter=Su,m.addReporter=kR,m.reset=PP,m._runRules=mg,m.runVirtualRule=IP,m.run=MP,m.setup=GP,m.teardown=ia,m.runPartial=qP,m.finishRun=$P,m.commons=wm,m.utils=Ns,m.addReporter("na",WP),m.addReporter("no-passes",KP),m.addReporter("rawEnv",JP),m.addReporter("raw",vg),m.addReporter("v1",eI),m.addReporter("v2",rI,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(j){var Z="Fix any of the following:",le=j;if(le)for(var ze,st=-1,xt=le.length-1;st<xt;)ze=le[st+=1],Z+=`
|
|
22
|
+
`+ze.split(`
|
|
23
|
+
`).join(`
|
|
24
|
+
`);return Z}},none:{failureMessage:function(j){var Z="Fix all of the following:",le=j;if(le)for(var ze,st=-1,xt=le.length-1;st<xt;)ze=le[st+=1],Z+=`
|
|
25
|
+
`+ze.split(`
|
|
26
|
+
`).join(`
|
|
27
|
+
`);return Z}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:false,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:false,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:false,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:true,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:true,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:false,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:false,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:false,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:false,excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:true,matches:"bypass-matches",reviewOnFail:true,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,enabled:false,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:false,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:true},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:true,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:false,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:false,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:false},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:true},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:false,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:false,enabled:false,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:true},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:false,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:true},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:false,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,enabled:false,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:false},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:false,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:false,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:false,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:true,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:true,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:`img[alt=''], [role="none"], [role="presentation"]`,matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:false,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:true,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:true},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:true,ignoreLength:false,ignorePseudo:false,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:true}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:true},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:true}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:true}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:true}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:false}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:false}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:true},{weight:150,size:1.15},{italic:true,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:true,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:true,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]});})(typeof window=="object"?window:$y);});var Jy,Qy,u8,bs,eb,tb,rb,ab=jr(()=>{Jy=()=>{let u=process.env.SKEPTIC_DAEMON_DIR;return u&&u.length>0?u:pa.join(LI.homedir(),".skeptic")},Qy="\\\\.\\pipe\\",u8=u=>u.toLowerCase().startsWith(Qy.toLowerCase()),bs=u=>{if(process.platform!=="win32"||u8(u))return u;let s=pa.resolve(u),f=pa.basename(s).replace(/[^a-zA-Z0-9_.-]/g,"_").slice(0,32)||"daemon",d=$c.createHash("sha256").update(s.toLowerCase()).digest("hex").slice(0,32);return `${Qy}skeptic-${f}-${d}`},eb=()=>pa.join(Jy(),"daemon.sock"),tb=()=>{let u=Jy();if(!Or.existsSync(u))Or.mkdirSync(u,{recursive:true,mode:448});else try{Or.chmodSync(u,448);}catch{}return u},rb=async(u,s,f=1500)=>new Promise(d=>{let m=zc.createConnection(bs(u)),v="",b=E=>{m.removeAllListeners(),m.destroy(),d(E);},x=setTimeout(()=>b({ok:false,reason:"probe-timeout"}),f);m.on("connect",()=>{m.write(`${JSON.stringify({method:"daemon.ping",params:s})}
|
|
28
|
+
`);}),m.on("data",E=>{v+=E.toString("utf8");let A=v.indexOf(`
|
|
29
|
+
`);if(A>=0){clearTimeout(x);try{let S=JSON.parse(v.slice(0,A));if(S.error){b({ok:!1,reason:S.error});return}let k=S.result;k&&k.ok===!0?b({ok:!0,result:k}):b({ok:!1,reason:k?.reason??"ping-failed",result:k});}catch(S){b({ok:false,reason:`bad-response: ${S.message}`});}}}),m.on("error",E=>{clearTimeout(x),b({ok:false,reason:E.message});});});});var lb={};cI(lb,{connectDaemon:()=>p8,ensureDaemonRunning:()=>sb,sendRpc:()=>Hc});var p8,h8,m8,Hc,sb,jc,g8,v8,y8,nb,b8,w8,ub=jr(()=>{Pc();kr();ab();p8=async u=>{tb();let s=eb(),f={engine:u.engine,headed:u.headed,cliVersion:u.cliVersion,playwrightVersion:w8(),...process.env.SKEPTIC_DAEMON_AUTH_TOKEN?{authToken:process.env.SKEPTIC_DAEMON_AUTH_TOKEN}:{}},d=0;for(;d<2;){d+=1;let m=await sb(s,u);if(!m.ok)throw new Error(`daemon: ${m.reason}`);let v=await rb(s,f);if(v.ok){let x=await h8(s,f.authToken),A=await(await ps())[u.engine].connect(x);return {browser:A,disconnect:async()=>{await A.close().catch(()=>{});}}}let b=v.reason??"unknown";if(b==="engine-mismatch"||b==="headed-mismatch"||b==="version-mismatch"){He.warn(`[daemon] ${b} \u2014 restarting daemon with engine=${u.engine} headed=${u.headed}`),await m8(s).catch(()=>{}),await g8(s,3e3);continue}throw new Error(`daemon ping failed: ${b}`)}throw new Error("daemon: handshake failed after 2 attempts")},h8=async(u,s)=>{let d=await Hc(u,{method:"browser.getEndpoint",params:s?{authToken:s}:{}},3e3);if(d.error)throw new Error(`browser.getEndpoint failed: ${d.error}`);let m=d.result;if(!m||typeof m.wsEndpoint!="string")throw new Error("browser.getEndpoint: malformed response");return m.wsEndpoint},m8=async u=>{await Hc(u,{method:"daemon.shutdown"},1500).catch(()=>{});},Hc=async(u,s,f)=>new Promise((d,m)=>{let v=zc.createConnection(bs(u)),b="",x=setTimeout(()=>{v.destroy(),m(new Error(`rpc timeout: ${s.method}`));},f);v.on("connect",()=>{v.write(`${JSON.stringify(s)}
|
|
30
|
+
`);}),v.on("data",E=>{b+=E.toString("utf8");let A=b.indexOf(`
|
|
31
|
+
`);if(A>=0){clearTimeout(x);try{let S=JSON.parse(b.slice(0,A));v.destroy(),d(S);}catch(S){v.destroy(),m(S);}}}),v.on("error",E=>{clearTimeout(x),m(E);});}),sb=async(u,s)=>{if(await jc(u))return {ok:true};if(s.autoSpawn===false)return {ok:false,reason:"no-daemon"};let f=v8(s),d=y8(),m=spawn(process.execPath,[d,...f],{detached:true,stdio:"ignore",env:{...process.env}});m.unref(),m.on("error",()=>{});let v=Date.now()+(s.spawnTimeoutMs??15e3);for(;Date.now()<v;){if(await jc(u))return {ok:true};await setTimeout$1(100);}return {ok:false,reason:"spawn-timeout"}},jc=u=>new Promise(s=>{if(process.platform!=="win32"&&!Or.existsSync(u)){s(false);return}let f=zc.createConnection(bs(u)),d=v=>{f.removeAllListeners(),f.destroy(),s(v);},m=setTimeout(()=>d(false),800);f.on("connect",()=>{clearTimeout(m),d(true);}),f.on("error",()=>{clearTimeout(m),d(false);});}),g8=async(u,s)=>{let f=Date.now()+s;for(;Date.now()<f;){if(!await jc(u))return;await setTimeout$1(50);}},v8=u=>{let s=["daemon","start"];return s.push("--engine",u.engine),u.headed&&s.push("--headed"),typeof u.idleTimeoutSeconds=="number"&&s.push("--daemon-idle-timeout",String(u.idleTimeoutSeconds)),s},y8=()=>{let u=process.env.SKEPTIC_DAEMON_BIN;if(u)return u;let s=process.argv[1];return s||fileURLToPath(new URL("../../dist/skeptic.mjs",import.meta.url))},nb=createRequire$1(import.meta.url),b8=(()=>{try{return nb("playwright/package.json").version}catch{try{return nb("playwright-core/package.json").version}catch{return "unknown"}}})(),w8=()=>b8;});var Jo="__skepticActiveRegistry__",Ju=()=>globalThis,bg=u=>{let s={file:u,tests:[],beforeEach:[],afterEach:[],fileUse:{}};return Ju()[Jo]=s,s},wg=()=>{let u=Ju(),s=u[Jo]??null;return u[Jo]=null,s},Qo=u=>{let s=Ju()[Jo];if(!s)throw new Error(`[skeptic] ${u}() called outside a spec file. Tests must be defined at module top level of a *.spec.ts file imported by the runner.`);return s},Qu=(u,s)=>(f,d,m)=>{let v=Qo("test"),b=v.tests.length,x=`${v.file}#${b}`;v.tests.push({ordinal:b,id:x,name:f,file:v.file,fn:d,skip:u,only:s,use:m??{}});},ii=Qu(false,false);ii.skip=Qu(true,false);ii.only=Qu(false,true);ii.use=u=>{let s=Qo("test.use");s.fileUse={...s.fileUse,...u};};ii.beforeEach=(u,s)=>{Qo("test.beforeEach").beforeEach.push({fn:u,use:s??{}});};ii.afterEach=(u,s)=>{Qo("test.afterEach").afterEach.push({fn:u,use:s??{}});};var fI=`(function () {
|
|
32
|
+
if (typeof window === "undefined" || window.__skeptic_selector) return;
|
|
33
|
+
|
|
34
|
+
function getRole(el) {
|
|
35
|
+
var explicit = el.getAttribute && el.getAttribute("role");
|
|
36
|
+
if (explicit) return explicit;
|
|
37
|
+
var tag = el.tagName ? el.tagName.toLowerCase() : "";
|
|
38
|
+
if (tag === "a" && el.hasAttribute("href")) return "link";
|
|
39
|
+
if (tag === "button") return "button";
|
|
40
|
+
if (tag === "input") {
|
|
41
|
+
var type = (el.getAttribute("type") || "text").toLowerCase();
|
|
42
|
+
if (type === "checkbox") return "checkbox";
|
|
43
|
+
if (type === "radio") return "radio";
|
|
44
|
+
if (type === "submit" || type === "button") return "button";
|
|
45
|
+
return "textbox";
|
|
46
|
+
}
|
|
47
|
+
if (tag === "textarea") return "textbox";
|
|
48
|
+
if (tag === "select") return "combobox";
|
|
49
|
+
if (tag === "h1" || tag === "h2" || tag === "h3" || tag === "h4" || tag === "h5" || tag === "h6") return "heading";
|
|
50
|
+
if (tag === "img") return "img";
|
|
51
|
+
if (tag === "nav") return "navigation";
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function getAccessibleName(el) {
|
|
56
|
+
var aria = el.getAttribute && el.getAttribute("aria-label");
|
|
57
|
+
if (aria && aria.trim()) return aria.trim();
|
|
58
|
+
var labelledby = el.getAttribute && el.getAttribute("aria-labelledby");
|
|
59
|
+
if (labelledby) {
|
|
60
|
+
var ref = document.getElementById(labelledby);
|
|
61
|
+
if (ref && ref.textContent) return ref.textContent.trim();
|
|
62
|
+
}
|
|
63
|
+
var alt = el.getAttribute && el.getAttribute("alt");
|
|
64
|
+
if (alt && alt.trim()) return alt.trim();
|
|
65
|
+
var title = el.getAttribute && el.getAttribute("title");
|
|
66
|
+
if (title && title.trim()) return title.trim();
|
|
67
|
+
var text = (el.textContent || "").trim();
|
|
68
|
+
if (text.length > 0 && text.length < 80) return text;
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function escapeCssIdent(value) {
|
|
73
|
+
if (typeof CSS !== "undefined" && CSS.escape) return CSS.escape(value);
|
|
74
|
+
return value.replace(/([^a-zA-Z0-9_-])/g, "\\\\$1");
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function cssPath(el) {
|
|
78
|
+
if (!el || el.nodeType !== 1) return null;
|
|
79
|
+
if (el.id) return "#" + escapeCssIdent(el.id);
|
|
80
|
+
|
|
81
|
+
var path = [];
|
|
82
|
+
var current = el;
|
|
83
|
+
var depth = 0;
|
|
84
|
+
while (current && current.nodeType === 1 && depth < 8) {
|
|
85
|
+
var segment = current.tagName.toLowerCase();
|
|
86
|
+
var classList = current.classList ? Array.from(current.classList) : [];
|
|
87
|
+
var stableClass = classList.find(function (c) {
|
|
88
|
+
// Filter out auto-generated/utility classes (heuristic).
|
|
89
|
+
return c.length > 0 && c.length < 40 && !/^[a-zA-Z]*-?\\d+$/.test(c);
|
|
90
|
+
});
|
|
91
|
+
if (stableClass) segment += "." + escapeCssIdent(stableClass);
|
|
92
|
+
|
|
93
|
+
var parent = current.parentElement;
|
|
94
|
+
if (parent) {
|
|
95
|
+
var siblings = Array.prototype.filter.call(parent.children, function (s) {
|
|
96
|
+
return s.tagName === current.tagName;
|
|
97
|
+
});
|
|
98
|
+
if (siblings.length > 1) {
|
|
99
|
+
var index = siblings.indexOf(current) + 1;
|
|
100
|
+
segment += ":nth-of-type(" + index + ")";
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
path.unshift(segment);
|
|
105
|
+
if (current.id) {
|
|
106
|
+
path[0] = "#" + escapeCssIdent(current.id);
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
current = current.parentElement;
|
|
110
|
+
depth++;
|
|
111
|
+
}
|
|
112
|
+
return path.join(" > ");
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
window.__skeptic_selector = function (el) {
|
|
116
|
+
if (!el) return "";
|
|
117
|
+
|
|
118
|
+
var testid = el.getAttribute && el.getAttribute("data-testid");
|
|
119
|
+
if (testid) return "testid=" + testid;
|
|
120
|
+
|
|
121
|
+
var role = getRole(el);
|
|
122
|
+
var name = getAccessibleName(el);
|
|
123
|
+
if (role && name && name.length < 60) return "role=" + role + ":" + name;
|
|
124
|
+
if (role && role !== "generic") return "role=" + role;
|
|
125
|
+
|
|
126
|
+
var text = (el.textContent || "").trim();
|
|
127
|
+
if (text && text.length > 0 && text.length < 60) return text;
|
|
128
|
+
|
|
129
|
+
var css = cssPath(el);
|
|
130
|
+
if (css) return "css=" + css;
|
|
131
|
+
return "css=" + el.tagName.toLowerCase();
|
|
132
|
+
};
|
|
133
|
+
})();`,_g=new WeakSet,pI=async u=>{_g.has(u)||(await u.addScriptTag({content:fI}),_g.add(u));},xg=async(u,s)=>{await pI(u);try{let f=(m=>{let v=globalThis;return typeof v.__skeptic_selector=="function"?v.__skeptic_selector(m):""}),d=await s.evaluate(f);return typeof d=="string"?d:""}catch{return ""}};var hI=256,mI=100,gI=50,vI=/-\s+(\w+)(?:\s+"((?:[^"\\]|\\.)*)")?(?:\s+\[(?!ref=)[^\]]*\])*\s+\[ref=(e\d+)\]/,yI=()=>{let u=process.env.SKEPTIC_ARIA_SNAPSHOT_LIMIT_KB,s=u?Number.parseInt(u,10):NaN;return (Number.isFinite(s)&&s>0?s:hI)*1024};async function es(u,s,f){let d=await u.locator(s).first().ariaSnapshot({mode:"ai"}),m=yI(),v=Buffer.byteLength(d,"utf8")>m;v&&console.warn(`[ariaSnapshot] captured YAML exceeds ${m} bytes \u2014 registry truncated. Tunable via SKEPTIC_ARIA_SNAPSHOT_LIMIT_KB.`);let b=bI(d,s,m);if(f.viewport&&(b=await wI(u,b)),f.extractLinkHrefs&&await _I(u,b),f.includeCursorInteractive){let x=await xI(u,s,b);for(let E of x)b.push(E);}return {yaml:d,entries:b,truncated:v}}function bI(u,s,f){let d=new Map,m=[],v=0,b=u.split(`
|
|
134
|
+
`);for(let x of b){if(v+=Buffer.byteLength(x,"utf8")+1,v>f)break;let E=vI.exec(x);if(!E)continue;let A=E[1],S=E[2]??"",k=E[3],I=`${A} ${S}`,$=d.get(I)??0;d.set(I,$+1),m.push({ref:k,kind:"aria",role:A,name:S,nth:$,scopeSelector:s,matchCountAtSnapshot:0});}for(let x of m){if(x.kind!=="aria")continue;let E=`${x.role} ${x.name}`;x.matchCountAtSnapshot=d.get(E)??1;}return m}async function wI(u,s){let f=u.viewportSize();if(!f)return s;let d=await Promise.all(s.map(async m=>{try{let v=await u.locator(`aria-ref=${m.ref}`).boundingBox({timeout:250});if(!v)return !1;let b=v.x+v.width/2,x=v.y+v.height/2;return b>=0&&b<=f.width&&x>=0&&x<=f.height}catch{return false}}));return s.filter((m,v)=>d[v])}async function _I(u,s){let f=s.filter(d=>d.kind==="aria"&&d.role==="link").slice(0,gI);await Promise.all(f.map(async d=>{try{let m=await u.locator(`aria-ref=${d.ref}`).getAttribute("href",{timeout:250});m&&(d.href=m);}catch{}}));}async function xI(u,s,f){let d="data-__skeptic-ci",m=mI,v=`((scopeSel, attrName, maxCap) => {
|
|
135
|
+
var interactiveTags = { a:1, button:1, input:1, select:1, textarea:1, details:1, summary:1 };
|
|
136
|
+
var interactiveRoles = {
|
|
137
|
+
button:1, link:1, textbox:1, checkbox:1, radio:1, combobox:1, listbox:1,
|
|
138
|
+
menuitem:1, menuitemcheckbox:1, menuitemradio:1, option:1, searchbox:1,
|
|
139
|
+
slider:1, spinbutton:1, switch:1, tab:1, treeitem:1
|
|
140
|
+
};
|
|
141
|
+
var scope = document.querySelector(scopeSel) || document.body;
|
|
142
|
+
if (!scope) return [];
|
|
143
|
+
var results = [];
|
|
144
|
+
var all = scope.querySelectorAll("*");
|
|
145
|
+
for (var i = 0; i < all.length && results.length < maxCap; i++) {
|
|
146
|
+
var el = all[i];
|
|
147
|
+
if (el.closest && el.closest('[hidden], [aria-hidden="true"]')) continue;
|
|
148
|
+
var tagName = el.tagName.toLowerCase();
|
|
149
|
+
if (interactiveTags[tagName]) continue;
|
|
150
|
+
var role = el.getAttribute("role");
|
|
151
|
+
if (role && interactiveRoles[role.toLowerCase()]) continue;
|
|
152
|
+
var computed = getComputedStyle(el);
|
|
153
|
+
var hasCursorPointer = computed.cursor === "pointer";
|
|
154
|
+
var hasOnClick = el.hasAttribute("onclick") || el.onclick !== null;
|
|
155
|
+
var tabIndex = el.getAttribute("tabindex");
|
|
156
|
+
var hasTabIndex = tabIndex !== null && tabIndex !== "-1";
|
|
157
|
+
if (!hasCursorPointer && !hasOnClick && !hasTabIndex) continue;
|
|
158
|
+
if (hasCursorPointer && !hasOnClick && !hasTabIndex) {
|
|
159
|
+
var parent = el.parentElement;
|
|
160
|
+
if (parent && getComputedStyle(parent).cursor === "pointer") continue;
|
|
161
|
+
}
|
|
162
|
+
var rect = el.getBoundingClientRect();
|
|
163
|
+
if (rect.width === 0 || rect.height === 0) continue;
|
|
164
|
+
var text = (el.textContent || "").trim().slice(0, 100);
|
|
165
|
+
if (!text && hasCursorPointer && !hasOnClick && !hasTabIndex) continue;
|
|
166
|
+
el.setAttribute(attrName, String(results.length));
|
|
167
|
+
results.push({
|
|
168
|
+
index: results.length,
|
|
169
|
+
text: text,
|
|
170
|
+
tagName: tagName,
|
|
171
|
+
bbox: [rect.x, rect.y, rect.width, rect.height],
|
|
172
|
+
hasOnClick: hasOnClick,
|
|
173
|
+
hasCursorPointer: hasCursorPointer,
|
|
174
|
+
hasTabIndex: hasTabIndex,
|
|
175
|
+
ariaRoleHint: role
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
return results;
|
|
179
|
+
})(${JSON.stringify(s)}, ${JSON.stringify(d)}, ${m})`,b=await u.evaluate(v)??[];if(b.length===0)return [];let x=await AI(u,DI(f,b));if(b=b.filter(k=>!EI(k.bbox,x)),b.length===0)return [];let E=new Set;for(let k of f){let I=/^e(\d+)$/.exec(k.ref);I&&E.add(Number(I[1]));}let A=1;for(;E.has(A);)A++;let S=[];for(let k of b){let I=A;for(A++;E.has(A);)A++;let $=`e${I}`,G="";try{let V=await u.locator(`[${d}="${k.index}"]`).elementHandle({timeout:500});if(V)try{G=await xg(u,V);}finally{await V.dispose();}}catch{}G||(G=`css=[${d}="${k.index}"]`),S.push({ref:$,kind:"cursor-interactive",role:k.tagName,name:k.text,nth:0,scopeSelector:s,selectorHint:G,matchCountAtSnapshot:1});}return S}var EI=(u,s)=>s.some(f=>Math.abs(f[0]-u[0])<=1&&Math.abs(f[1]-u[1])<=1&&Math.abs(f[2]-u[2])<=1&&Math.abs(f[3]-u[3])<=1),DI=(u,s)=>{if(s.length<=10)return u.filter(d=>d.kind==="aria"&&d.role==="generic");let f=s.map(d=>d.text).filter(d=>d.length>0);return f.length===0?[]:u.filter(d=>d.kind!=="aria"||d.role!=="generic"||d.name.length===0?false:f.some(m=>m===d.name||m.includes(d.name)||d.name.includes(m)))};async function AI(u,s){let f=[];return await Promise.all(s.map(async d=>{if(d.kind==="aria")try{let m=await u.locator(`aria-ref=${d.ref}`).boundingBox({timeout:300});m&&f.push([m.x,m.y,m.width,m.height]);}catch{}})),f}async function ts(u,s){if(s.startsWith("@e"))throw new Error("Internal error: @-prefixed ARIA refs must go through resolveSelectorArg, not resolveElement");if(s.startsWith("testid=")){let m=s.slice(7),v=u.getByTestId(m);if(await v.count()>0)return v.first();throw new Error(`No element found with test-id "${m}"`)}if(s.startsWith("css=")){let m=s.slice(4),v=u.locator(m);if(await v.count()>0)return v.first();throw new Error(`No element found with CSS selector "${m}"`)}if(s.startsWith("role=")){let m=s.slice(5),v=m.indexOf(":"),b=v>=0?m.slice(0,v):m,x=v>=0?m.slice(v+1):void 0,E=u.getByRole(b,{name:x});if(await E.count()>0)return E.first();throw new Error(`No element found with role "${b}"${x?` and name "${x}"`:""}`)}let f=[()=>u.getByRole("button",{name:s}),()=>u.getByRole("link",{name:s}),()=>u.getByRole("heading",{name:s}),()=>u.getByText(s,{exact:true}),()=>u.getByLabel(s),()=>u.getByPlaceholder(s),()=>u.getByTestId(s),()=>u.getByText(s)];for(let m of f){let v=m();if(await v.count()>0)return v.first()}let d=u.locator(s);if(await d.count()>0)return d.first();throw new Error(`Could not find element matching "${s}". Tried: role (button/link/heading), text, label, placeholder, testid, css.`)}var Eg=new Set(["button","checkbox","combobox","link","listbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","searchbox","slider","spinbutton","switch","tab","textbox","treeitem"]),CI=new Set(["complementary","contentinfo","group","heading","main","navigation","region","tabpanel"]),Dg=u=>u.kind==="cursor-interactive"||Eg.has(u.role)?true:CI.has(u.role)?u.role==="main"||u.name.length>0:false,rs=u=>u.kind==="cursor-interactive"||Eg.has(u.role),Ag=u=>rs(u);var Cg="__skeptic-annotation-host",Rg=async(u,s)=>{if(s.length===0)return;let f=s.map(m=>({label:m.label,x:m.boundingBox.x,y:m.boundingBox.y,width:m.boundingBox.width,height:m.boundingBox.height})),d=`((items, hostId) => {
|
|
180
|
+
var existing = document.getElementById(hostId);
|
|
181
|
+
if (existing) existing.remove();
|
|
182
|
+
var host = document.createElement('div');
|
|
183
|
+
host.id = hostId;
|
|
184
|
+
host.style.cssText = 'all:initial;position:absolute;top:0;left:0;width:0;height:0;pointer-events:none;z-index:2147483647;';
|
|
185
|
+
var root = host.attachShadow({ mode: 'closed' });
|
|
186
|
+
var style = document.createElement('style');
|
|
187
|
+
style.textContent = ':host{all:initial;}' +
|
|
188
|
+
'.bx{position:absolute;border:2px solid rgba(220,38,38,0.85);box-sizing:border-box;pointer-events:none;}' +
|
|
189
|
+
'.lbl{position:absolute;left:-2px;background:rgba(220,38,38,0.95);color:#fff;' +
|
|
190
|
+
'font:600 11px/14px ui-monospace,SFMono-Regular,Menlo,monospace;' +
|
|
191
|
+
'padding:0 4px;border-radius:2px;white-space:nowrap;pointer-events:none;}';
|
|
192
|
+
root.appendChild(style);
|
|
193
|
+
for (var i = 0; i < items.length; i++) {
|
|
194
|
+
var it = items[i];
|
|
195
|
+
var box = document.createElement('div');
|
|
196
|
+
box.className = 'bx';
|
|
197
|
+
box.style.left = it.x + 'px';
|
|
198
|
+
box.style.top = it.y + 'px';
|
|
199
|
+
box.style.width = it.width + 'px';
|
|
200
|
+
box.style.height = it.height + 'px';
|
|
201
|
+
var lbl = document.createElement('div');
|
|
202
|
+
lbl.className = 'lbl';
|
|
203
|
+
// Mirror agent-browser's "stay-inside-viewport" heuristic: top-of-bbox <14px
|
|
204
|
+
// means the label would clip above the page; nudge it down inside the box.
|
|
205
|
+
lbl.style.top = (it.y < 14) ? '2px' : '-14px';
|
|
206
|
+
lbl.textContent = '[' + it.label + ']';
|
|
207
|
+
box.appendChild(lbl);
|
|
208
|
+
root.appendChild(box);
|
|
209
|
+
}
|
|
210
|
+
var target = document.documentElement || document.body;
|
|
211
|
+
target.appendChild(host);
|
|
212
|
+
return true;
|
|
213
|
+
})(${JSON.stringify(f)}, ${JSON.stringify(Cg)})`;await u.evaluate(d);},Tg=async u=>{try{let s=`((hostId) => {
|
|
214
|
+
var el = document.getElementById(hostId);
|
|
215
|
+
if (el) el.remove();
|
|
216
|
+
return true;
|
|
217
|
+
})(${JSON.stringify(Cg)})`;await u.evaluate(s);}catch{}};var SI=u=>u.replace(/[^a-zA-Z0-9_-]/g,"_"),kg=async(u,s,f,d={})=>{let m=s.testDir;await mkdir(m,{recursive:true});let v=SI(f),b=join(m,`${v}.png`),x=d.fullPage??s.artifactConfig.fullPageScreenshots;if(d.annotate){let A=await kI(u,b,{fullPage:x,scope:d.annotateScope??"body"});return s.addScreenshot(b),A}let E=await u.screenshot({fullPage:x,path:b});return await writeFile(b,E).catch(()=>{}),s.addScreenshot(b),{path:b,diagnostics:[]}},kI=async(u,s,f)=>{let{fullPage:d,scope:m}=f,v=[],b=await es(u,m,{viewport:false,includeCursorInteractive:true,extractLinkHrefs:false}),x=d?await FI(u):0,E=[],A=[],S=1;for(let I of b.entries.filter(Ag)){let $=await OI(u,I).catch(()=>null);if(!$)continue;let G={x:$.x,y:$.y+x,width:$.width,height:$.height},V=S;S+=1,A.push({label:V,boundingBox:G});let te={label:V,ref:I.ref,role:I.role,boundingBox:G};I.selectorHint&&(te.selectorHint=I.selectorHint),E.push(te);}await u.evaluate("(() => { try { window.__skepticCursor && window.__skepticCursor.hide && window.__skepticCursor.hide(); } catch {} })()").catch(()=>{});let k=false;try{A.length>0&&(await Rg(u,A),k=!0);let I=await u.screenshot({fullPage:d,path:s});await writeFile(s,I).catch(()=>{});}finally{k&&await Tg(u),await u.evaluate("(() => { try { window.__skepticCursor && window.__skepticCursor.show && window.__skepticCursor.show(); } catch {} })()").catch(()=>{});}return v.push({kind:"annotation-map",message:`annotated ${E.length} ref${E.length===1?"":"s"}`,meta:{entries:E}}),{path:s,diagnostics:v,annotations:E}},FI=async u=>{try{let s=await u.evaluate("(window.scrollY || 0)");return typeof s=="number"&&Number.isFinite(s)?s:0}catch{return 0}},OI=async(u,s)=>{let f=null;if(s.kind==="cursor-interactive"){if(!s.selectorHint)return null;try{f=await ts(u,s.selectorHint);}catch{return null}}else f=u.locator(`aria-ref=${s.ref}`);if(!f)return null;let d=await f.boundingBox({timeout:500});return d?{x:d.x,y:d.y,width:d.width,height:d.height}:null};kr();var is=(u,s)=>{let f=new Error(`[ariaRef:${u}] ${JSON.stringify(s)}`);return f.kind=u,f};async function Yg(u,s,f){let d=f.slice(1);if(!/^e\d+$/.test(d))throw is("invalid_format",{selector:f,ref:d});let m=s.ariaRefs.get(d);if(!m)throw is("not_found",{ref:d,available:[...s.ariaRefs.keys()],hasSnapshot:s.ariaSnapshotYaml!==null});if(m.kind==="cursor-interactive"){if(!m.selectorHint)throw is("invalid_format",{ref:d,reason:"cursor-interactive entry has no selectorHint"});return ts(u,m.selectorHint)}let b=u.locator(m.scopeSelector).getByRole(m.role,{name:m.name,exact:true}),x=await b.count();typeof m.matchCountAtSnapshot=="number"&&m.matchCountAtSnapshot>0&&x!==m.matchCountAtSnapshot&&m.nth===0&&He.warn(`[aria-ref] ${d} silently retargeted: snapshot saw ${m.matchCountAtSnapshot} candidate${m.matchCountAtSnapshot===1?"":"s"}, live page has ${x} \u2014 first match may differ.`);let E=b.nth(m.nth);if(x===0||x<=m.nth)throw is("stale",{ref:d,role:m.role,name:m.name,expectedNth:m.nth,actualMatches:x});return E}var XI=4,Xg=async(u,s,f={})=>{let d="context"in u&&typeof u.context=="function"?u:u.page(),m=f.selector??"body",v=f.viewportAware??true,b=f.includeCursorInteractive??true,x=await es(d,m,{viewport:v,includeCursorInteractive:b,extractLinkHrefs:true}),E=new Map,A=0,S=0;for(let re of x.entries)E.set(re.ref,re),s.ariaRefs.set(re.ref,re),re.kind==="aria"?A++:S++;s.ariaSnapshotYaml=x.yaml;let k=QI(x.yaml,x.entries,{interactive:f.interactive??false,compact:f.compact??false}),I=ZI(k,x.entries),$=re=>{let pe=E.get(re);if(!pe)throw new Error(`[skeptic] snapshot ref "${re}" not found. Available: ${[...E.keys()].join(", ")||"(none)"}`);return pe.kind==="cursor-interactive"?Yg(d,s,`@${re}`):d.locator(pe.scopeSelector).getByRole(pe.role,{name:pe.name.length>0?pe.name:void 0,exact:true}).nth(pe.nth)},G=(re,pe={})=>{let Pe={name:pe.name};typeof pe.name=="string"&&(Pe.exact=true);let Ie=d.getByRole(re,{...Pe});return pe.hrefIncludes!==void 0&&(Ie=Ie.filter({has:d.locator(`[href*="${pe.hrefIncludes}"]`)})),pe.index!==void 0?Ie.nth(pe.index):Ie},V=re=>d.getByText(re),te=re=>d.getByTestId(re);return {yaml:k,rawYaml:x.yaml,refs:E,stats:I,byRef:$,byRole:G,byText:V,byTestId:te,cursorInteractiveCount:S,ariaRefCount:A}},ZI=(u,s)=>{let f=JI(u);return {lines:u.split(`
|
|
218
|
+
`).length,characters:u.length,estimatedTokens:Math.ceil(u.length/XI),totalRefs:s.length,renderedRefs:f.size,interactiveRefs:s.filter(rs).length,renderedInteractiveRefs:s.filter(d=>f.has(d.ref)&&rs(d)).length,ariaRefs:s.filter(d=>d.kind==="aria").length,cursorInteractiveRefs:s.filter(d=>d.kind==="cursor-interactive").length}},JI=u=>new Set([...u.matchAll(/\[ref=(e\d+)\]/g)].map(s=>s[1])),QI=(u,s,f)=>{let d=/\[ref=(e\d+)\]/,m=u.split(`
|
|
219
|
+
`),v=[],b=new Map(s.map(S=>[S.ref,S]));for(let S=0;S<m.length;S++){let k=m[S]??"";if(k.length===0&&m.length===1)continue;v.push(k);let I=d.exec(k);if(I){let $=b.get(I[1]),G=m[S+1]??"",V=k.includes("/url:")||/^\s*-?\s*\/url:/.test(G);if($?.role==="link"&&$.href&&!V){let te=k.match(/^\s*/)?.[0]??"";v.push(`${te} /url: ${$.href}`);}}}let x=s.filter(S=>S.kind==="cursor-interactive");if(x.length>0)for(let S of x){let k=S.name?` "${rM(S.name)}"`:"";v.push(`- ${S.role}${k} [ref=${S.ref}] clickable`);}let E=v.join(`
|
|
220
|
+
`),A=new Set(s.filter(Dg).map(S=>S.ref));return f.compact?E=tM(E,A):f.interactive&&(E=eM(E,A)),E},eM=(u,s)=>{let f=u.split(`
|
|
221
|
+
`),d=[],m=false;for(let v of f){let b=oc(v);if(b&&s.has(b)){d.push(v),m=true;continue}if(m&&/^\s*-?\s*\/url:/.test(v)){d.push(v),m=false;continue}v.trim().length>0&&(m=false);}return d.join(`
|
|
222
|
+
`)},Kg=u=>{let s=0;for(;s<u.length&&u[s]===" ";)s++;return s},oc=u=>/\[ref=(e\d+)\]/.exec(u)?.[1]??null,tM=(u,s)=>{let f=u.split(`
|
|
223
|
+
`);if(f.length===0)return "";let d=new Array(f.length).fill(false);for(let b=0;b<f.length;b++){let x=f[b]??"",E=oc(x),A=E!==null&&s.has(E),S=x.includes("/url:")&&b>0&&d[b-1]===true;if(A||S){d[b]=true;let k=Kg(x);for(let I=b-1;I>=0;I--){let $=Kg(f[I]??"");if($<k&&(d[I]=true,$===0))break}}}let v=f.filter((b,x)=>d[x]).map(b=>{let x=oc(b);return !x||s.has(x)?b:b.replace(/\s+\[ref=e\d+\]/,"")}).join(`
|
|
224
|
+
`).trim();return v.length===0?"(no interactive elements)":v},rM=u=>u.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n");var Zg=`You are a QA engineer reviewing screenshots from an automated E2E test.
|
|
225
|
+
|
|
226
|
+
Analyze the screenshot for potential visual issues:
|
|
227
|
+
- Layout problems (overlapping elements, broken alignment, unexpected spacing)
|
|
228
|
+
- Missing or broken elements (images not loaded, icons missing, empty containers)
|
|
229
|
+
- Text rendering issues (truncated text, wrong font size, unreadable text)
|
|
230
|
+
- Color and contrast problems (text hard to read, poor contrast ratios)
|
|
231
|
+
- Responsive issues (content overflowing, elements cut off)
|
|
232
|
+
- Empty states shown unexpectedly
|
|
233
|
+
- Error messages or warning banners visible
|
|
234
|
+
- Console errors visible in the UI
|
|
235
|
+
|
|
236
|
+
Respond with ONLY a valid JSON object (no markdown fences):
|
|
237
|
+
{
|
|
238
|
+
"passed": true/false,
|
|
239
|
+
"confidence": 0.0-1.0,
|
|
240
|
+
"issues": [
|
|
241
|
+
{
|
|
242
|
+
"type": "layout|rendering|content|accessibility|error",
|
|
243
|
+
"severity": "low|medium|high|critical",
|
|
244
|
+
"description": "Brief description of the issue"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"summary": "One-line summary of the overall assessment"
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
If the page looks correct with no issues, return passed: true with an empty issues array.`;var aM=`You are a QA engineer reviewing a screenshot from an automated E2E test.
|
|
251
|
+
|
|
252
|
+
The user asserts: `,nM=u=>`"${u}"
|
|
253
|
+
|
|
254
|
+
Examine the screenshot and determine if this assertion passes or fails.
|
|
255
|
+
Consider both the literal meaning and the intent behind the assertion.
|
|
256
|
+
|
|
257
|
+
Respond with ONLY a valid JSON object (no markdown fences):
|
|
258
|
+
{
|
|
259
|
+
"passed": true/false,
|
|
260
|
+
"confidence": 0.0-1.0,
|
|
261
|
+
"issues": [
|
|
262
|
+
{
|
|
263
|
+
"type": "assertion",
|
|
264
|
+
"severity": "high",
|
|
265
|
+
"description": "Why the assertion failed (only if it failed)"
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"summary": "One-line explanation of the result"
|
|
269
|
+
}`,Jg=aM+nM("{assertion}"),iM=`You are a data extraction assistant analyzing a screenshot.
|
|
270
|
+
|
|
271
|
+
Extract the following from the screenshot: `,oM=u=>`"${u}"
|
|
272
|
+
|
|
273
|
+
Return ONLY the extracted text, nothing else. If the requested information is not visible in the screenshot, return an empty string.`,Qg=iM+oM("{query}");kr();async function rv(u,s,f){let d=Jg.replace("{assertion}",f),m=await u.analyzeImage(s,d);return {...iv(m.text),retryCount:m.retryCount}}async function av(u,s){let f=await u.analyzeImage(s,Zg);return {...iv(f.text),retryCount:f.retryCount}}async function nv(u,s,f){let d=Qg.replace("{query}",f),m=await u.analyzeImage(s,d,.1),v=m.text.trim();return {text:v,confidence:v.length>0?.8:0,retryCount:m.retryCount}}function iv(u){try{let s=JSON.parse(u);return {passed:!!s.passed,confidence:typeof s.confidence=="number"?s.confidence:.5,issues:Array.isArray(s.issues)?s.issues.map(f=>({type:String(f.type??"unknown"),severity:dM(f.severity),description:String(f.description??"")})):[],summary:String(s.summary??"")}}catch{He.debug(`Failed to parse AI response as JSON: ${u.slice(0,200)}`);let s=u.toLowerCase();return {passed:s.includes("pass")&&!s.includes("fail"),confidence:.3,issues:[],summary:u.slice(0,200)}}}function dM(u){let s=String(u).toLowerCase();return s==="low"||s==="medium"||s==="high"||s==="critical"?s:"medium"}var sc=(u,s,f)=>{let d=u instanceof RegExp?ov(u,f):u,m=s instanceof RegExp?ov(s,f):s,v=d!==null&&m!=null&&fM(d,m,f);return v&&{start:v[0],end:v[1],pre:f.slice(0,v[0]),body:f.slice(v[0]+d.length,v[1]),post:f.slice(v[1]+m.length)}},ov=(u,s)=>{let f=s.match(u);return f?f[0]:null},fM=(u,s,f)=>{let d,m,v,b,x,E=f.indexOf(u),A=f.indexOf(s,E+1),S=E;if(E>=0&&A>0){if(u===s)return [E,A];for(d=[],v=f.length;S>=0&&!x;){if(S===E)d.push(S),E=f.indexOf(u,S+1);else if(d.length===1){let k=d.pop();k!==void 0&&(x=[k,A]);}else m=d.pop(),m!==void 0&&m<v&&(v=m,b=A),A=f.indexOf(s,S+1);S=E<A&&E>=0?E:A;}d.length&&b!==void 0&&(x=[v,b]);}return x};var sv="\0SLASH"+Math.random()+"\0",lv="\0OPEN"+Math.random()+"\0",uc="\0CLOSE"+Math.random()+"\0",uv="\0COMMA"+Math.random()+"\0",cv="\0PERIOD"+Math.random()+"\0",pM=new RegExp(sv,"g"),hM=new RegExp(lv,"g"),mM=new RegExp(uc,"g"),gM=new RegExp(uv,"g"),vM=new RegExp(cv,"g"),yM=/\\\\/g,bM=/\\{/g,wM=/\\}/g,_M=/\\,/g,xM=/\\\./g,EM=1e5;function lc(u){return isNaN(u)?u.charCodeAt(0):parseInt(u,10)}function DM(u){return u.replace(yM,sv).replace(bM,lv).replace(wM,uc).replace(_M,uv).replace(xM,cv)}function AM(u){return u.replace(pM,"\\").replace(hM,"{").replace(mM,"}").replace(gM,",").replace(vM,".")}function dv(u){if(!u)return [""];let s=[],f=sc("{","}",u);if(!f)return u.split(",");let{pre:d,body:m,post:v}=f,b=d.split(",");b[b.length-1]+="{"+m+"}";let x=dv(v);return v.length&&(b[b.length-1]+=x.shift(),b.push.apply(b,x)),s.push.apply(s,b),s}function fv(u,s={}){if(!u)return [];let{max:f=EM}=s;return u.slice(0,2)==="{}"&&(u="\\{\\}"+u.slice(2)),li(DM(u),f,true).map(AM)}function CM(u){return "{"+u+"}"}function RM(u){return /^-?0\d/.test(u)}function TM(u,s){return u<=s}function SM(u,s){return u>=s}function li(u,s,f){let d=[],m=sc("{","}",u);if(!m)return [u];let v=m.pre,b=m.post.length?li(m.post,s,false):[""];if(/\$$/.test(m.pre))for(let x=0;x<b.length&&x<s;x++){let E=v+"{"+m.body+"}"+b[x];d.push(E);}else {let x=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body),E=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body),A=x||E,S=m.body.indexOf(",")>=0;if(!A&&!S)return m.post.match(/,(?!,).*\}/)?(u=m.pre+"{"+m.body+uc+m.post,li(u,s,true)):[u];let k;if(A)k=m.body.split(/\.\./);else if(k=dv(m.body),k.length===1&&k[0]!==void 0&&(k=li(k[0],s,false).map(CM),k.length===1))return b.map($=>m.pre+k[0]+$);let I;if(A&&k[0]!==void 0&&k[1]!==void 0){let $=lc(k[0]),G=lc(k[1]),V=Math.max(k[0].length,k[1].length),te=k.length===3&&k[2]!==void 0?Math.max(Math.abs(lc(k[2])),1):1,re=TM;G<$&&(te*=-1,re=SM);let Pe=k.some(RM);I=[];for(let Ie=$;re(Ie,G);Ie+=te){let _t;if(E)_t=String.fromCharCode(Ie),_t==="\\"&&(_t="");else if(_t=String(Ie),Pe){let yr=V-_t.length;if(yr>0){let at=new Array(yr+1).join("0");Ie<0?_t="-"+at+_t.slice(1):_t=at+_t;}}I.push(_t);}}else {I=[];for(let $=0;$<k.length;$++)I.push.apply(I,li(k[$],s,false));}for(let $=0;$<I.length;$++)for(let G=0;G<b.length&&d.length<s;G++){let V=v+I[$]+b[G];(!f||A||V)&&d.push(V);}}return d}var ui=u=>{if(typeof u!="string")throw new TypeError("invalid pattern");if(u.length>65536)throw new TypeError("pattern is too long")};var kM={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",true],"[:alpha:]":["\\p{L}\\p{Nl}",true],"[:ascii:]":["\\x00-\\x7f",false],"[:blank:]":["\\p{Zs}\\t",true],"[:cntrl:]":["\\p{Cc}",true],"[:digit:]":["\\p{Nd}",true],"[:graph:]":["\\p{Z}\\p{C}",true,true],"[:lower:]":["\\p{Ll}",true],"[:print:]":["\\p{C}",true],"[:punct:]":["\\p{P}",true],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",true],"[:upper:]":["\\p{Lu}",true],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",true],"[:xdigit:]":["A-Fa-f0-9",false]},ci=u=>u.replace(/[[\]\\-]/g,"\\$&"),FM=u=>u.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),pv=u=>u.join(""),hv=(u,s)=>{let f=s;if(u.charAt(f)!=="[")throw new Error("not in a brace expression");let d=[],m=[],v=f+1,b=false,x=false,E=false,A=false,S=f,k="";e:for(;v<u.length;){let V=u.charAt(v);if((V==="!"||V==="^")&&v===f+1){A=true,v++;continue}if(V==="]"&&b&&!E){S=v+1;break}if(b=true,V==="\\"&&!E){E=true,v++;continue}if(V==="["&&!E){for(let[te,[re,pe,Pe]]of Object.entries(kM))if(u.startsWith(te,v)){if(k)return ["$.",false,u.length-f,true];v+=te.length,Pe?m.push(re):d.push(re),x=x||pe;continue e}}if(E=false,k){V>k?d.push(ci(k)+"-"+ci(V)):V===k&&d.push(ci(V)),k="",v++;continue}if(u.startsWith("-]",v+1)){d.push(ci(V+"-")),v+=2;continue}if(u.startsWith("-",v+1)){k=V,v+=2;continue}d.push(ci(V)),v++;}if(S<v)return ["",false,0,false];if(!d.length&&!m.length)return ["$.",false,u.length-f,true];if(m.length===0&&d.length===1&&/^\\?.$/.test(d[0])&&!A){let V=d[0].length===2?d[0].slice(-1):d[0];return [FM(V),false,S-f,false]}let I="["+(A?"^":"")+pv(d)+"]",$="["+(A?"":"^")+pv(m)+"]";return [d.length&&m.length?"("+I+"|"+$+")":d.length?I:$,x,S-f,true]};var ua=(u,{windowsPathsNoEscape:s=false,magicalBraces:f=true}={})=>f?s?u.replace(/\[([^/\\])\]/g,"$1"):u.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):s?u.replace(/\[([^/\\{}])\]/g,"$1"):u.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1");var qt,OM=new Set(["!","?","+","*","@"]),cc=u=>OM.has(u),mv=u=>cc(u.type),PM=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),IM=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),MM=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),gv=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),NM="(?!(?:^|/)\\.\\.?(?:$|/))",os="(?!\\.)",LM=new Set(["[","."]),BM=new Set(["..","."]),qM=new Set("().*{}+?[]^$\\!"),$M=u=>u.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),dc="[^/]",vv=dc+"*?",yv=dc+"+?",jM=0,Ta=class{type;#r;#a;#n=false;#e=[];#t;#s;#u;#l=false;#i;#o;#c=false;id=++jM;get depth(){return (this.#t?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return {"@@type":"AST",id:this.id,type:this.type,root:this.#r.id,parent:this.#t?.id,depth:this.depth,partsLength:this.#e.length,parts:this.#e}}constructor(s,f,d={}){this.type=s,s&&(this.#a=true),this.#t=f,this.#r=this.#t?this.#t.#r:this,this.#i=this.#r===this?d:this.#r.#i,this.#u=this.#r===this?[]:this.#r.#u,s==="!"&&!this.#r.#l&&this.#u.push(this),this.#s=this.#t?this.#t.#e.length:0;}get hasMagic(){if(this.#a!==void 0)return this.#a;for(let s of this.#e)if(typeof s!="string"&&(s.type||s.hasMagic))return this.#a=true;return this.#a}toString(){return this.#o!==void 0?this.#o:this.type?this.#o=this.type+"("+this.#e.map(s=>String(s)).join("|")+")":this.#o=this.#e.map(s=>String(s)).join("")}#v(){if(this!==this.#r)throw new Error("should only call on root");if(this.#l)return this;this.toString(),this.#l=true;let s;for(;s=this.#u.pop();){if(s.type!=="!")continue;let f=s,d=f.#t;for(;d;){for(let m=f.#s+1;!d.type&&m<d.#e.length;m++)for(let v of s.#e){if(typeof v=="string")throw new Error("string part in extglob AST??");v.copyIn(d.#e[m]);}f=d,d=f.#t;}}return this}push(...s){for(let f of s)if(f!==""){if(typeof f!="string"&&!(f instanceof qt&&f.#t===this))throw new Error("invalid part: "+f);this.#e.push(f);}}toJSON(){let s=this.type===null?this.#e.slice().map(f=>typeof f=="string"?f:f.toJSON()):[this.type,...this.#e.map(f=>f.toJSON())];return this.isStart()&&!this.type&&s.unshift([]),this.isEnd()&&(this===this.#r||this.#r.#l&&this.#t?.type==="!")&&s.push({}),s}isStart(){if(this.#r===this)return true;if(!this.#t?.isStart())return false;if(this.#s===0)return true;let s=this.#t;for(let f=0;f<this.#s;f++){let d=s.#e[f];if(!(d instanceof qt&&d.type==="!"))return false}return true}isEnd(){if(this.#r===this||this.#t?.type==="!")return true;if(!this.#t?.isEnd())return false;if(!this.type)return this.#t?.isEnd();let s=this.#t?this.#t.#e.length:0;return this.#s===s-1}copyIn(s){typeof s=="string"?this.push(s):this.push(s.clone(this));}clone(s){let f=new qt(this.type,s);for(let d of this.#e)f.copyIn(d);return f}static#d(s,f,d,m,v){let b=m.maxExtglobRecursion??2,x=false,E=false,A=-1,S=false;if(f.type===null){let V=d,te="";for(;V<s.length;){let re=s.charAt(V++);if(x||re==="\\"){x=!x,te+=re;continue}if(E){V===A+1?(re==="^"||re==="!")&&(S=true):re==="]"&&!(V===A+2&&S)&&(E=false),te+=re;continue}else if(re==="["){E=true,A=V,S=false,te+=re;continue}if(!m.noext&&cc(re)&&s.charAt(V)==="("&&v<=b){f.push(te),te="";let Pe=new qt(re,f);V=qt.#d(s,Pe,V,m,v+1),f.push(Pe);continue}te+=re;}return f.push(te),V}let k=d+1,I=new qt(null,f),$=[],G="";for(;k<s.length;){let V=s.charAt(k++);if(x||V==="\\"){x=!x,G+=V;continue}if(E){k===A+1?(V==="^"||V==="!")&&(S=true):V==="]"&&!(k===A+2&&S)&&(E=false),G+=V;continue}else if(V==="["){E=true,A=k,S=false,G+=V;continue}if(!m.noext&&cc(V)&&s.charAt(k)==="("&&(v<=b||f&&f.#f(V))){let re=f&&f.#f(V)?0:1;I.push(G),G="";let pe=new qt(V,I);I.push(pe),k=qt.#d(s,pe,k,m,v+re);continue}if(V==="|"){I.push(G),G="",$.push(I),I=new qt(null,f);continue}if(V===")")return G===""&&f.#e.length===0&&(f.#c=true),I.push(G),G="",f.push(...$,I),k;G+=V;}return f.type=null,f.#a=void 0,f.#e=[s.substring(d-1)],k}#y(s){return this.#h(s,IM)}#h(s,f=PM){if(!s||typeof s!="object"||s.type!==null||s.#e.length!==1||this.type===null)return false;let d=s.#e[0];return !d||typeof d!="object"||d.type===null?false:this.#f(d.type,f)}#f(s,f=MM){return !!f.get(this.type)?.includes(s)}#b(s,f){let d=s.#e[0],m=new qt(null,d,this.options);m.#e.push(""),d.push(m),this.#m(s,f);}#m(s,f){let d=s.#e[0];this.#e.splice(f,1,...d.#e);for(let m of d.#e)typeof m=="object"&&(m.#t=this);this.#o=void 0;}#w(s){return !!gv.get(this.type)?.has(s)}#_(s){if(!s||typeof s!="object"||s.type!==null||s.#e.length!==1||this.type===null||this.#e.length!==1)return false;let f=s.#e[0];return !f||typeof f!="object"||f.type===null?false:this.#w(f.type)}#x(s){let f=gv.get(this.type),d=s.#e[0],m=f?.get(d.type);if(!m)return false;this.#e=d.#e;for(let v of this.#e)typeof v=="object"&&(v.#t=this);this.type=m,this.#o=void 0,this.#c=false;}static fromGlob(s,f={}){let d=new qt(null,void 0,f);return qt.#d(s,d,0,f,0),d}toMMPattern(){if(this!==this.#r)return this.#r.toMMPattern();let s=this.toString(),[f,d,m,v]=this.toRegExpSource();if(!(m||this.#a||this.#i.nocase&&!this.#i.nocaseMagicOnly&&s.toUpperCase()!==s.toLowerCase()))return d;let x=(this.#i.nocase?"i":"")+(v?"u":"");return Object.assign(new RegExp(`^${f}$`,x),{_src:f,_glob:s})}get options(){return this.#i}toRegExpSource(s){let f=s??!!this.#i.dot;if(this.#r===this&&(this.#p(),this.#v()),!mv(this)){let E=this.isStart()&&this.isEnd()&&!this.#e.some($=>typeof $!="string"),A=this.#e.map($=>{let[G,V,te,re]=typeof $=="string"?qt.#E($,this.#a,E):$.toRegExpSource(s);return this.#a=this.#a||te,this.#n=this.#n||re,G}).join(""),S="";if(this.isStart()&&typeof this.#e[0]=="string"&&!(this.#e.length===1&&BM.has(this.#e[0]))){let G=LM,V=f&&G.has(A.charAt(0))||A.startsWith("\\.")&&G.has(A.charAt(2))||A.startsWith("\\.\\.")&&G.has(A.charAt(4)),te=!f&&!s&&G.has(A.charAt(0));S=V?NM:te?os:"";}let k="";return this.isEnd()&&this.#r.#l&&this.#t?.type==="!"&&(k="(?:$|\\/)"),[S+A+k,ua(A),this.#a=!!this.#a,this.#n]}let d=this.type==="*"||this.type==="+",m=this.type==="!"?"(?:(?!(?:":"(?:",v=this.#g(f);if(this.isStart()&&this.isEnd()&&!v&&this.type!=="!"){let E=this.toString(),A=this;return A.#e=[E],A.type=null,A.#a=void 0,[E,ua(this.toString()),false,false]}let b=!d||s||f||!os?"":this.#g(true);b===v&&(b=""),b&&(v=`(?:${v})(?:${b})*?`);let x="";if(this.type==="!"&&this.#c)x=(this.isStart()&&!f?os:"")+yv;else {let E=this.type==="!"?"))"+(this.isStart()&&!f&&!s?os:"")+vv+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&b?")":this.type==="*"&&b?")?":`)${this.type}`;x=m+v+E;}return [x,ua(v),this.#a=!!this.#a,this.#n]}#p(){if(mv(this)){let s=0,f=false;do{f=true;for(let d=0;d<this.#e.length;d++){let m=this.#e[d];typeof m=="object"&&(m.#p(),this.#h(m)?(f=false,this.#m(m,d)):this.#y(m)?(f=false,this.#b(m,d)):this.#_(m)&&(f=false,this.#x(m)));}}while(!f&&++s<10)}else for(let s of this.#e)typeof s=="object"&&s.#p();this.#o=void 0;}#g(s){return this.#e.map(f=>{if(typeof f=="string")throw new Error("string type in extglob ast??");let[d,m,v,b]=f.toRegExpSource(s);return this.#n=this.#n||b,d}).filter(f=>!(this.isStart()&&this.isEnd())||!!f).join("|")}static#E(s,f,d=false){let m=false,v="",b=false,x=false;for(let E=0;E<s.length;E++){let A=s.charAt(E);if(m){m=false,v+=(qM.has(A)?"\\":"")+A;continue}if(A==="*"){if(x)continue;x=true,v+=d&&/^[*]+$/.test(s)?yv:vv,f=true;continue}else x=false;if(A==="\\"){E===s.length-1?v+="\\\\":m=true;continue}if(A==="["){let[S,k,I,$]=hv(s,E);if(I){v+=S,b=b||k,E+=I-1,f=f||$;continue}}if(A==="?"){v+=dc,f=true;continue}v+=$M(A);}return [v,ua(s),!!f,b]}};qt=Ta;var fc=(u,{windowsPathsNoEscape:s=false,magicalBraces:f=false}={})=>f?s?u.replace(/[?*()[\]{}]/g,"[$&]"):u.replace(/[?*()[\]\\{}]/g,"\\$&"):s?u.replace(/[?*()[\]]/g,"[$&]"):u.replace(/[?*()[\]\\]/g,"\\$&");var St=(u,s,f={})=>(ui(s),!f.nocomment&&s.charAt(0)==="#"?false:new tn(s,f).match(u)),zM=/^\*+([^+@!?*[(]*)$/,HM=u=>s=>!s.startsWith(".")&&s.endsWith(u),VM=u=>s=>s.endsWith(u),GM=u=>(u=u.toLowerCase(),s=>!s.startsWith(".")&&s.toLowerCase().endsWith(u)),UM=u=>(u=u.toLowerCase(),s=>s.toLowerCase().endsWith(u)),WM=/^\*+\.\*+$/,YM=u=>!u.startsWith(".")&&u.includes("."),KM=u=>u!=="."&&u!==".."&&u.includes("."),XM=/^\.\*+$/,ZM=u=>u!=="."&&u!==".."&&u.startsWith("."),JM=/^\*+$/,QM=u=>u.length!==0&&!u.startsWith("."),eN=u=>u.length!==0&&u!=="."&&u!=="..",tN=/^\?+([^+@!?*[(]*)?$/,rN=([u,s=""])=>{let f=_v([u]);return s?(s=s.toLowerCase(),d=>f(d)&&d.toLowerCase().endsWith(s)):f},aN=([u,s=""])=>{let f=xv([u]);return s?(s=s.toLowerCase(),d=>f(d)&&d.toLowerCase().endsWith(s)):f},nN=([u,s=""])=>{let f=xv([u]);return s?d=>f(d)&&d.endsWith(s):f},iN=([u,s=""])=>{let f=_v([u]);return s?d=>f(d)&&d.endsWith(s):f},_v=([u])=>{let s=u.length;return f=>f.length===s&&!f.startsWith(".")},xv=([u])=>{let s=u.length;return f=>f.length===s&&f!=="."&&f!==".."},Ev=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",bv={win32:{sep:"\\"},posix:{sep:"/"}},oN=Ev==="win32"?bv.win32.sep:bv.posix.sep;St.sep=oN;var Tt=Symbol("globstar **");St.GLOBSTAR=Tt;var sN="[^/]",lN=sN+"*?",uN="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",cN="(?:(?!(?:\\/|^)\\.).)*?",dN=(u,s={})=>f=>St(f,u,s);St.filter=dN;var rr=(u,s={})=>Object.assign({},u,s),fN=u=>{if(!u||typeof u!="object"||!Object.keys(u).length)return St;let s=St;return Object.assign((d,m,v={})=>s(d,m,rr(u,v)),{Minimatch:class extends s.Minimatch{constructor(m,v={}){super(m,rr(u,v));}static defaults(m){return s.defaults(rr(u,m)).Minimatch}},AST:class extends s.AST{constructor(m,v,b={}){super(m,v,rr(u,b));}static fromGlob(m,v={}){return s.AST.fromGlob(m,rr(u,v))}},unescape:(d,m={})=>s.unescape(d,rr(u,m)),escape:(d,m={})=>s.escape(d,rr(u,m)),filter:(d,m={})=>s.filter(d,rr(u,m)),defaults:d=>s.defaults(rr(u,d)),makeRe:(d,m={})=>s.makeRe(d,rr(u,m)),braceExpand:(d,m={})=>s.braceExpand(d,rr(u,m)),match:(d,m,v={})=>s.match(d,m,rr(u,v)),sep:s.sep,GLOBSTAR:Tt})};St.defaults=fN;var Dv=(u,s={})=>(ui(u),s.nobrace||!/\{(?:(?!\{).)*\}/.test(u)?[u]:fv(u,{max:s.braceExpandMax}));St.braceExpand=Dv;var pN=(u,s={})=>new tn(u,s).makeRe();St.makeRe=pN;var hN=(u,s,f={})=>{let d=new tn(s,f);return u=u.filter(m=>d.match(m)),d.options.nonull&&!u.length&&u.push(s),u};St.match=hN;var wv=/[?*]|[+@!]\(.*?\)|\[|\]/,mN=u=>u.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),tn=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(s,f={}){ui(s),f=f||{},this.options=f,this.maxGlobstarRecursion=f.maxGlobstarRecursion??200,this.pattern=s,this.platform=f.platform||Ev,this.isWindows=this.platform==="win32";let d="allowWindowsEscape";this.windowsPathsNoEscape=!!f.windowsPathsNoEscape||f[d]===false,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!f.preserveMultipleSlashes,this.regexp=null,this.negate=false,this.nonegate=!!f.nonegate,this.comment=false,this.empty=false,this.partial=!!f.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=f.windowsNoMagicRoot!==void 0?f.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make();}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return true;for(let s of this.set)for(let f of s)if(typeof f!="string")return true;return false}debug(...s){}make(){let s=this.pattern,f=this.options;if(!f.nocomment&&s.charAt(0)==="#"){this.comment=true;return}if(!s){this.empty=true;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],f.debug&&(this.debug=(...v)=>console.error(...v)),this.debug(this.pattern,this.globSet);let d=this.globSet.map(v=>this.slashSplit(v));this.globParts=this.preprocess(d),this.debug(this.pattern,this.globParts);let m=this.globParts.map((v,b,x)=>{if(this.isWindows&&this.windowsNoMagicRoot){let E=v[0]===""&&v[1]===""&&(v[2]==="?"||!wv.test(v[2]))&&!wv.test(v[3]),A=/^[a-z]:/i.test(v[0]);if(E)return [...v.slice(0,4),...v.slice(4).map(S=>this.parse(S))];if(A)return [v[0],...v.slice(1).map(S=>this.parse(S))]}return v.map(E=>this.parse(E))});if(this.debug(this.pattern,m),this.set=m.filter(v=>v.indexOf(false)===-1),this.isWindows)for(let v=0;v<this.set.length;v++){let b=this.set[v];b[0]===""&&b[1]===""&&this.globParts[v][2]==="?"&&typeof b[3]=="string"&&/^[a-z]:$/i.test(b[3])&&(b[2]="?");}this.debug(this.pattern,this.set);}preprocess(s){if(this.options.noglobstar)for(let d of s)for(let m=0;m<d.length;m++)d[m]==="**"&&(d[m]="*");let{optimizationLevel:f=1}=this.options;return f>=2?(s=this.firstPhasePreProcess(s),s=this.secondPhasePreProcess(s)):f>=1?s=this.levelOneOptimize(s):s=this.adjascentGlobstarOptimize(s),s}adjascentGlobstarOptimize(s){return s.map(f=>{let d=-1;for(;(d=f.indexOf("**",d+1))!==-1;){let m=d;for(;f[m+1]==="**";)m++;m!==d&&f.splice(d,m-d);}return f})}levelOneOptimize(s){return s.map(f=>(f=f.reduce((d,m)=>{let v=d[d.length-1];return m==="**"&&v==="**"?d:m===".."&&v&&v!==".."&&v!=="."&&v!=="**"?(d.pop(),d):(d.push(m),d)},[]),f.length===0?[""]:f))}levelTwoFileOptimize(s){Array.isArray(s)||(s=this.slashSplit(s));let f=false;do{if(f=false,!this.preserveMultipleSlashes){for(let m=1;m<s.length-1;m++){let v=s[m];m===1&&v===""&&s[0]===""||(v==="."||v==="")&&(f=true,s.splice(m,1),m--);}s[0]==="."&&s.length===2&&(s[1]==="."||s[1]==="")&&(f=true,s.pop());}let d=0;for(;(d=s.indexOf("..",d+1))!==-1;){let m=s[d-1];m&&m!=="."&&m!==".."&&m!=="**"&&!(this.isWindows&&/^[a-z]:$/i.test(m))&&(f=true,s.splice(d-1,2),d-=2);}}while(f);return s.length===0?[""]:s}firstPhasePreProcess(s){let f=false;do{f=false;for(let d of s){let m=-1;for(;(m=d.indexOf("**",m+1))!==-1;){let b=m;for(;d[b+1]==="**";)b++;b>m&&d.splice(m+1,b-m);let x=d[m+1],E=d[m+2],A=d[m+3];if(x!==".."||!E||E==="."||E===".."||!A||A==="."||A==="..")continue;f=true,d.splice(m,1);let S=d.slice(0);S[m]="**",s.push(S),m--;}if(!this.preserveMultipleSlashes){for(let b=1;b<d.length-1;b++){let x=d[b];b===1&&x===""&&d[0]===""||(x==="."||x==="")&&(f=true,d.splice(b,1),b--);}d[0]==="."&&d.length===2&&(d[1]==="."||d[1]==="")&&(f=true,d.pop());}let v=0;for(;(v=d.indexOf("..",v+1))!==-1;){let b=d[v-1];if(b&&b!=="."&&b!==".."&&b!=="**"){f=true;let E=v===1&&d[v+1]==="**"?["."]:[];d.splice(v-1,2,...E),d.length===0&&d.push(""),v-=2;}}}}while(f);return s}secondPhasePreProcess(s){for(let f=0;f<s.length-1;f++)for(let d=f+1;d<s.length;d++){let m=this.partsMatch(s[f],s[d],!this.preserveMultipleSlashes);if(m){s[f]=[],s[d]=m;break}}return s.filter(f=>f.length)}partsMatch(s,f,d=false){let m=0,v=0,b=[],x="";for(;m<s.length&&v<f.length;)if(s[m]===f[v])b.push(x==="b"?f[v]:s[m]),m++,v++;else if(d&&s[m]==="**"&&f[v]===s[m+1])b.push(s[m]),m++;else if(d&&f[v]==="**"&&s[m]===f[v+1])b.push(f[v]),v++;else if(s[m]==="*"&&f[v]&&(this.options.dot||!f[v].startsWith("."))&&f[v]!=="**"){if(x==="b")return false;x="a",b.push(s[m]),m++,v++;}else if(f[v]==="*"&&s[m]&&(this.options.dot||!s[m].startsWith("."))&&s[m]!=="**"){if(x==="a")return false;x="b",b.push(f[v]),m++,v++;}else return false;return s.length===f.length&&b}parseNegate(){if(this.nonegate)return;let s=this.pattern,f=false,d=0;for(let m=0;m<s.length&&s.charAt(m)==="!";m++)f=!f,d++;d&&(this.pattern=s.slice(d)),this.negate=f;}matchOne(s,f,d=false){let m=0,v=0;if(this.isWindows){let x=typeof s[0]=="string"&&/^[a-z]:$/i.test(s[0]),E=!x&&s[0]===""&&s[1]===""&&s[2]==="?"&&/^[a-z]:$/i.test(s[3]),A=typeof f[0]=="string"&&/^[a-z]:$/i.test(f[0]),S=!A&&f[0]===""&&f[1]===""&&f[2]==="?"&&typeof f[3]=="string"&&/^[a-z]:$/i.test(f[3]),k=E?3:x?0:void 0,I=S?3:A?0:void 0;if(typeof k=="number"&&typeof I=="number"){let[$,G]=[s[k],f[I]];$.toLowerCase()===G.toLowerCase()&&(f[I]=$,v=I,m=k);}}let{optimizationLevel:b=1}=this.options;return b>=2&&(s=this.levelTwoFileOptimize(s)),f.includes(Tt)?this.#r(s,f,d,m,v):this.#n(s,f,d,m,v)}#r(s,f,d,m,v){let b=f.indexOf(Tt,v),x=f.lastIndexOf(Tt),[E,A,S]=d?[f.slice(v,b),f.slice(b+1),[]]:[f.slice(v,b),f.slice(b+1,x),f.slice(x+1)];if(E.length){let pe=s.slice(m,m+E.length);if(!this.#n(pe,E,d,0,0))return false;m+=E.length,v+=E.length;}let k=0;if(S.length){if(S.length+m>s.length)return false;let pe=s.length-S.length;if(this.#n(s,S,d,pe,0))k=S.length;else {if(s[s.length-1]!==""||m+S.length===s.length||(pe--,!this.#n(s,S,d,pe,0)))return false;k=S.length+1;}}if(!A.length){let pe=!!k;for(let Pe=m;Pe<s.length-k;Pe++){let Ie=String(s[Pe]);if(pe=true,Ie==="."||Ie===".."||!this.options.dot&&Ie.startsWith("."))return false}return d||pe}let I=[[[],0]],$=I[0],G=0,V=[0];for(let pe of A)pe===Tt?(V.push(G),$=[[],0],I.push($)):($[0].push(pe),G++);let te=I.length-1,re=s.length-k;for(let pe of I)pe[1]=re-(V[te--]+pe[0].length);return !!this.#a(s,I,m,0,d,0,!!k)}#a(s,f,d,m,v,b,x){let E=f[m];if(!E){for(let k=d;k<s.length;k++){x=true;let I=s[k];if(I==="."||I===".."||!this.options.dot&&I.startsWith("."))return false}return x}let[A,S]=E;for(;d<=S;){if(this.#n(s.slice(0,d+A.length),A,v,d,0)&&b<this.maxGlobstarRecursion){let $=this.#a(s,f,d+A.length,m+1,v,b+1,x);if($!==false)return $}let I=s[d];if(I==="."||I===".."||!this.options.dot&&I.startsWith("."))return false;d++;}return v||null}#n(s,f,d,m,v){let b,x,E,A;for(b=m,x=v,A=s.length,E=f.length;b<A&&x<E;b++,x++){this.debug("matchOne loop");let S=f[x],k=s[b];if(this.debug(f,S,k),S===false||S===Tt)return false;let I;if(typeof S=="string"?(I=k===S,this.debug("string match",S,k,I)):(I=S.test(k),this.debug("pattern match",S,k,I)),!I)return false}if(b===A&&x===E)return true;if(b===A)return d;if(x===E)return b===A-1&&s[b]==="";throw new Error("wtf?")}braceExpand(){return Dv(this.pattern,this.options)}parse(s){ui(s);let f=this.options;if(s==="**")return Tt;if(s==="")return "";let d,m=null;(d=s.match(JM))?m=f.dot?eN:QM:(d=s.match(zM))?m=(f.nocase?f.dot?UM:GM:f.dot?VM:HM)(d[1]):(d=s.match(tN))?m=(f.nocase?f.dot?aN:rN:f.dot?nN:iN)(d):(d=s.match(WM))?m=f.dot?KM:YM:(d=s.match(XM))&&(m=ZM);let v=Ta.fromGlob(s,this.options).toMMPattern();return m&&typeof v=="object"&&Reflect.defineProperty(v,"test",{value:m}),v}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;let s=this.set;if(!s.length)return this.regexp=false,this.regexp;let f=this.options,d=f.noglobstar?lN:f.dot?uN:cN,m=new Set(f.nocase?["i"]:[]),v=s.map(E=>{let A=E.map(k=>{if(k instanceof RegExp)for(let I of k.flags.split(""))m.add(I);return typeof k=="string"?mN(k):k===Tt?Tt:k._src});A.forEach((k,I)=>{let $=A[I+1],G=A[I-1];k!==Tt||G===Tt||(G===void 0?$!==void 0&&$!==Tt?A[I+1]="(?:\\/|"+d+"\\/)?"+$:A[I]=d:$===void 0?A[I-1]=G+"(?:\\/|\\/"+d+")?":$!==Tt&&(A[I-1]=G+"(?:\\/|\\/"+d+"\\/)"+$,A[I+1]=Tt));});let S=A.filter(k=>k!==Tt);if(this.partial&&S.length>=1){let k=[];for(let I=1;I<=S.length;I++)k.push(S.slice(0,I).join("/"));return "(?:"+k.join("|")+")"}return S.join("/")}).join("|"),[b,x]=s.length>1?["(?:",")"]:["",""];v="^"+b+v+x+"$",this.partial&&(v="^(?:\\/|"+b+v.slice(1,-1)+x+")$"),this.negate&&(v="^(?!"+v+").+$");try{this.regexp=new RegExp(v,[...m].join(""));}catch{this.regexp=false;}return this.regexp}slashSplit(s){return this.preserveMultipleSlashes?s.split("/"):this.isWindows&&/^\/\/[^/]+/.test(s)?["",...s.split(/\/+/)]:s.split(/\/+/)}match(s,f=this.partial){if(this.debug("match",s,this.pattern),this.comment)return false;if(this.empty)return s==="";if(s==="/"&&f)return true;let d=this.options;this.isWindows&&(s=s.split("\\").join("/"));let m=this.slashSplit(s);this.debug(this.pattern,"split",m);let v=this.set;this.debug(this.pattern,"set",v);let b=m[m.length-1];if(!b)for(let x=m.length-2;!b&&x>=0;x--)b=m[x];for(let x of v){let E=m;if(d.matchBase&&x.length===1&&(E=[b]),this.matchOne(E,x,f))return d.flipNegate?true:!this.negate}return d.flipNegate?false:this.negate}static defaults(s){return St.defaults(s).Minimatch}};St.AST=Ta;St.Minimatch=tn;St.escape=fc;St.unescape=ua;ic();async function Cv(u){return u.screenshot({type:"png",mask:[u.locator('input[type="password"]'),u.locator("[data-skeptic-redact]")],maskColor:"#000000"})}var hc=(u,s)=>{if(!u.aiClient)throw new Error(`[skeptic] ai.${s}() needs an AI client. Set GEMINI_API_KEY (or your provider equivalent) and configure the ai block in skeptic.config.yaml, or run with --ai-provider <name>.`);return u.aiClient},mc=async(u,s)=>s?s.screenshot():Cv(u),Rv=u=>{let{runAction:s,page:f,ctx:d}=u;return {assert:(m,v)=>s("ai.assert",async()=>{let b=hc(d,"assert"),x=await mc(f,v?.target),E=await rv(b,x,m);if(!E.passed){let A=E.issues.length>0?`
|
|
274
|
+
Issues:
|
|
275
|
+
- ${E.issues.map(S=>`${S.type} (${S.severity}): ${S.description}`).join(`
|
|
276
|
+
- `)}`:"";throw new Error(`[skeptic] ai.assert failed: ${m}
|
|
277
|
+
${E.summary||"AI marked the claim as not passing"}${A}`)}}),assertNoDefects:m=>s("ai.assertNoDefects",async()=>{let v=hc(d,"assertNoDefects"),b=await mc(f,m?.target),x=await av(v,b);if(!x.passed){let E=x.issues.length>0?`
|
|
278
|
+
Defects:
|
|
279
|
+
- ${x.issues.map(A=>`${A.type} (${A.severity}): ${A.description}`).join(`
|
|
280
|
+
- `)}`:"";throw new Error(`[skeptic] ai.assertNoDefects failed${E}
|
|
281
|
+
${x.summary}`)}}),extract:(m,v)=>s("ai.extract",async()=>{let b=hc(d,"extract"),x=await mc(f,v?.target),E=await nv(b,x,m);return v?.schema?v.schema.parse(E.text):E.text})}};var gN=/^(<=|>=|<|>|=)\s*(\d+(?:\.\d+)?)\s*(ms|s)?$/,Tv=(u,s)=>{let f=u.trim(),d=gN.exec(f);if(!d)throw new Error(`Invalid threshold expression: "${u}". Expected format: "<value[unit]", e.g. "<2.5s", "<=200ms", "<0.1".`);let[,m,v,b]=d,x=parseFloat(v);if(s==="ms"){if(b==="s")x=x*1e3;else if(!(b==="ms"||b===void 0))throw new Error(`Time metric cannot use unit "${b}"`)}else if(b!==void 0)throw new Error(`Unitless metric "${u}" should not have a unit suffix`);return {operator:m,value:x,raw:f}},Sv=(u,s)=>{switch(s.operator){case "<":return u<s.value;case "<=":return u<=s.value;case ">":return u>s.value;case ">=":return u>=s.value;case "=":return u===s.value}};var ss=(u,s)=>{if(!u)throw new Error(`[skeptic] observability.expect${s}() needs the "${s.toLowerCase()}" collector. Pass --observability or test.use({ collectors: ["${s.toLowerCase()}"] }).`);return u},gc=(u,s)=>!s||s.length===0?false:s.some(f=>typeof f=="string"?u.includes(f):f.test(u)),kv=u=>{let{runAction:s,collectors:f}=u;return {expectPerformance:d=>s("observability.expectPerformance",async()=>{let v=await ss(f.performance,"Performance").snapshot(),b=[],x=[{key:"lcp",metric:"lcp"},{key:"cls",metric:"cls"},{key:"inp",metric:"inp"},{key:"fcp",metric:"fcp"},{key:"ttfb",metric:"ttfb"}];for(let{key:E,metric:A}of x){let S=d[E];if(S===void 0)continue;let k=Tv(S,E==="cls"?"unitless":"ms"),I=v[A];if(typeof I!="number"){b.push(`${E}: not measured (collector returned ${I===null?"null":typeof I})`);continue}Sv(I,k)||b.push(`${E}: ${I} ${k.operator} ${k.value} failed`);}if(b.length>0)throw new Error(`[skeptic] performance thresholds violated:
|
|
282
|
+
- ${b.join(`
|
|
283
|
+
- `)}`)}),expectNoNetworkErrors:d=>s("observability.expectNoNetworkErrors",async()=>{let v=await ss(f.network,"Network").snapshot(),b=[],x=d?.allow;for(let E of v.issues.failedRequests)gc(E.url,x)||b.push(`${E.method} ${E.url} \u2192 ${E.status}`);for(let E of v.issues.networkFailures)gc(E.url,x)||b.push(`${E.method} ${E.url}: ${E.reason}`);if(b.length>0)throw new Error(`[skeptic] network errors detected:
|
|
284
|
+
- ${b.join(`
|
|
285
|
+
- `)}`)}),expectNoConsoleErrors:d=>s("observability.expectNoConsoleErrors",async()=>{let v=await ss(f.console,"Console").snapshot(),b=d?.allow,x=v.messages.filter(E=>E.type==="error"&&!gc(E.text,b));if(x.length>0)throw new Error(`[skeptic] ${x.length} console error(s):
|
|
286
|
+
- ${x.slice(0,5).map(E=>E.text.slice(0,200)).join(`
|
|
287
|
+
- `)}`)}),expectAccessible:d=>s("observability.expectAccessible",async()=>{let v=await ss(f.accessibility,"Accessibility").audit({standard:d?.standard??"WCAG21AA",...d?.include?{include:d.include}:{},...d?.exclude?{exclude:d.exclude}:{},...d?.impacts?{impacts:d.impacts}:{}});if(v.summary.violations>0){let b=v.violations.slice(0,5).map(x=>`${x.ruleId} (${x.impact}): ${x.help}`);throw new Error(`[skeptic] ${v.summary.violations} a11y violation(s):
|
|
288
|
+
- ${b.join(`
|
|
289
|
+
- `)}`)}}),snapshot:()=>s("observability.snapshot",async()=>{let d={};if(f.performance&&(d.performance=await f.performance.snapshot()),f.network&&(d.network=await f.network.snapshot()),f.console&&(d.console=await f.console.snapshot()),f.accessibility){let m=await f.accessibility.snapshot();m!==void 0&&(d.accessibility=m);}return d})}};var vN={screenshot:"Capturing screenshot","screenshot.annotated":"Taking annotated screenshot",snapshot:"Reading ARIA snapshot",settle:"Waiting for visual settle","observability.expectPerformance":"Checking performance thresholds","observability.expectNoNetworkErrors":"Analyzing network requests","observability.expectNoConsoleErrors":"Reading console messages","observability.expectAccessible":"Running accessibility audit","observability.snapshot":"Snapshotting observability metrics","ai.assert":"Running AI assertion","ai.assertNoDefects":"Running AI defect scan","ai.extract":"Extracting via AI",test:"Running test","proxy.click":"Clicking","proxy.dblclick":"Double-clicking","proxy.hover":"Hovering","proxy.fill":"Filling input","proxy.type":"Typing","proxy.press":"Pressing key","proxy.selectOption":"Selecting option","proxy.check":"Checking","proxy.uncheck":"Unchecking","proxy.tap":"Tapping","proxy.setChecked":"Setting checkbox"},di=u=>typeof u!="string"||u.length===0?"":vN[u]??u,Fv=new Set(["observability.expectAccessible","observability.expectPerformance","observability.expectNoNetworkErrors","observability.expectNoConsoleErrors","observability.snapshot","ai.assert","ai.assertNoDefects","ai.extract","screenshot.annotated","snapshot","settle","test"]);var Ov=new Set(["click","dblclick","hover","fill","type","press","selectOption","check","uncheck","tap","setChecked"]),yN=new Set(["locator","getByRole","getByText","getByLabel","getByPlaceholder","getByTestId","getByAltText","getByTitle","filter","and","or","first","last","nth","frameLocator","contentFrame"]),bN=new Set(["locator","getByRole","getByText","getByLabel","getByPlaceholder","getByTestId","getByAltText","getByTitle","frameLocator"]),vc=(u,s)=>{u.evaluate(({cmd:f,x:d,y:m})=>{let v=globalThis.__skepticCursor;!v||typeof v.recordAction!="function"||(typeof d=="number"&&typeof m=="number"?v.recordAction(f,d,m):v.recordAction(f));},{cmd:s.command,x:s.x,y:s.y}).catch(()=>{});},Pv=async u=>{if(!u)return null;try{let s=await u.boundingBox({timeout:250}).catch(()=>null);return s?{x:Math.round(s.x+s.width/2),y:Math.round(s.y+s.height/2)}:null}catch{return null}},Iv=(u,s)=>new Proxy(u,{get(f,d,m){if(d==="constructor")return f.constructor;let v=Reflect.get(f,d,m);if(typeof v!="function")return v;let b=typeof d=="string"?d:"";return yN.has(b)?(...x)=>{let E=Reflect.apply(v,f,x);return E&&typeof E.click=="function"?Iv(E,s):E}:Ov.has(b)?async(...x)=>{let E=await Pv(f);vc(s,{command:b,x:E?.x??null,y:E?.y??null});let A=di(`proxy.${b}`);await ls(s,A,{persistent:true}).catch(()=>{});try{return await Reflect.apply(v,f,x)}finally{await us(s).catch(()=>{});}}:(...x)=>Reflect.apply(v,f,x)}}),Mv=u=>new Proxy(u,{get(s,f,d){if(f==="constructor")return s.constructor;let m=Reflect.get(s,f,d);if(typeof m!="function")return m;let v=typeof f=="string"?f:"";return bN.has(v)?(...b)=>{let x=Reflect.apply(m,s,b);return x&&typeof x.click=="function"?Iv(x,s):x}:Ov.has(v)?async(...b)=>{let x=null,E=typeof b[0]=="string"?b[0]:null;if(E)try{let S=s.locator(E);x=await Pv(S);}catch{}vc(s,{command:v,x:x?.x??null,y:x?.y??null});let A=di(`proxy.${v}`);await ls(s,A,{persistent:true}).catch(()=>{});try{return await Reflect.apply(m,s,b)}finally{await us(s).catch(()=>{});}}:(...b)=>Reflect.apply(m,s,b)}}),ls=(u,s,f={})=>{let d=f.persistent===true;return u.evaluate(({label:m,persistent:v})=>{let b=globalThis.__skepticCursor;b&&typeof b.setCommandLabel=="function"&&b.setCommandLabel(m,{persistent:v});},{label:s,persistent:d}).catch(()=>{})},us=u=>u.evaluate(()=>{let s=globalThis.__skepticCursor;s&&typeof s.clearCommandLabel=="function"&&s.clearCommandLabel();}).catch(()=>{}),Nv=(u,s)=>{vc(u,{command:s,x:null,y:null});};var wN=u=>{},Lv=(u,s,f={})=>{let d=f.onAction??wN,m=f.enableCursorProxy===true,v=m?Mv(u):u,b=async($,G)=>{if(s.abortReason!==null&&!s.inTeardown){let pe=`[skeptic] aborted: ${s.abortReason}`;throw d({label:$,status:"failed",error:pe}),new Error(pe)}let V=performance.now();d({label:$,status:"started"});let te=di($),re=Fv.has($);m&&ls(u,te,{persistent:re}).catch(()=>{});try{let pe=await G();return d({label:$,status:"completed",durationMs:Math.round(performance.now()-V)}),m&&Nv(u,$),pe}catch(pe){let Pe=pe instanceof Error?pe.message:String(pe);throw d({label:$,status:"failed",durationMs:Math.round(performance.now()-V),error:Pe}),pe}finally{m&&await us(u).catch(()=>{});}},x=($,G)=>b("snapshot",()=>Xg($??u,s,G)),E=($,G)=>b(G?.annotate===true?"screenshot.annotated":"screenshot",()=>kg(u,s,$,G)),A=()=>b("settle",async()=>{try{await u.waitForLoadState("networkidle",{timeout:5e3});}catch{}}),S={performance:s.collectors.get("performance"),network:s.collectors.get("network"),console:s.collectors.get("console"),accessibility:s.collectors.get("accessibility")},k=kv({runAction:b,collectors:S}),I=Rv({runAction:b,page:u,ctx:s});return {page:v,ctx:s,runAction:b,snapshot:x,screenshot:E,settle:A,observability:k,ai:I}};yg(Oy());kr();var cs={enabled:false,networkIdleMs:0,animationFrames:0,pixelStableMs:0,hardCeilingMs:0},Py={enabled:true,networkIdleMs:500,animationFrames:2,pixelStableMs:0,hardCeilingMs:1500};(()=>{let u=new Uint32Array(256);for(let s=0;s<256;s++){let f=s;for(let d=0;d<8;d++)f=f&1?3988292384^f>>>1:f>>>1;u[s]=f>>>0;}return u})();var C4={fullPageScreenshots:false,visualSettle:cs,blankFrameDetection:"warn",writeSidecars:false},ds=class{page;screenshots=[];baseUrl;lastElement=null;testDir;sourceDir;aiClient;aiProvider;defaultTimeout;activeTimeout;collectors;artifactConfig;ariaRefs=new Map;ariaSnapshotYaml=null;abortReason=null;inTeardown=false;constructor(s,f,d,m,v,b,x=3e4,E=[],A=C4){this.page=s,this.baseUrl=f,this.testDir=d??".",this.sourceDir=m??process.cwd(),this.aiClient=v,this.aiProvider=b,this.defaultTimeout=x,this.activeTimeout=x,this.collectors=new Map(E.map(S=>[S.name,S])),this.artifactConfig=A;}resolveUrl(s){if(/^https?:\/\//.test(s))return s;let f=this.baseUrl.replace(/\/+$/,""),d=s.startsWith("/")?s:`/${s}`;return `${f}${d}`}addScreenshot(s){this.screenshots.push(s);}};Pc();kr();var Iy=dirname(fileURLToPath(import.meta.url));var My=()=>{let u=join(Iy,"web-vitals.iife.js");return Or.existsSync(u)?u:resolve(Iy,"../../node_modules/web-vitals/dist/web-vitals.iife.js")};var F4=new Set(["token","apikey","api_key","auth","authorization","secret","password","pwd","access_token","refresh_token","bearer","signature","sig","nonce","csrf","key","private_key","session","sessionid","session_id"].map(u=>u.toLowerCase())),O4=["signature","credential","security_token","token","secret","key"],P4=u=>u.toLowerCase().replace(/-/g,"_"),I4=u=>{let s=P4(u);if(F4.has(s))return true;for(let f of O4)if(s.endsWith("_"+f))return true;return false},fa=u=>{if(typeof u!="string"||u.length===0||!u.includes("?")||u.startsWith("data:")||u.startsWith("blob:"))return u;let s=u.indexOf("#"),f=s>=0?u.slice(s):"",d=s>=0?u.slice(0,s):u,m=d.indexOf("?");if(m<0)return u;let v=d.slice(0,m),b=d.slice(m+1);if(b.length===0)return u;let x=b.split("&"),E=false;for(let A=0;A<x.length;A++){let S=x[A],k=S.indexOf("="),I=k>=0?S.slice(0,k):S;if(I.length===0)continue;let $;try{$=decodeURIComponent(I);}catch{$=I;}I4($)&&(x[A]=`${I}=***`,E=true);}return E?`${v}?${x.join("&")}${f}`:u},Ny=4*1024,Mc="[REDACTED]",M4=/\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b/g,N4=/\bBearer\s+[A-Za-z0-9._\-+/=]{16,}\b/gi,L4=["password","passwd","api[_-]?key","secret","token","access[_-]?token","refresh[_-]?token","private[_-]?key","session[_-]?id"],B4=new RegExp(String.raw`\b(${L4.join("|")})\b\s*[:=]\s*("?)([^\s"&,;}]+)\2`,"gi"),q4=/\b[\w.+-]+@([\w-]+\.[\w.-]+)\b/g,$4=/(https?:\/\/[^\s'")]+)/g,Ly=u=>{if(typeof u!="string"||u.length===0)return u;let s=u;return s=s.replace(M4,Mc),s=s.replace(N4,`Bearer ${Mc}`),s=s.replace(B4,(f,d,m)=>`${d}${m?"="+m:"="}${Mc}${m}`),s=s.replace(q4,(f,d)=>`[EMAIL]@${d}`),s=s.replace($4,f=>fa(f)),s.length>Ny&&(s=s.slice(0,Ny)+"\u2026"),s};var H4=()=>{try{let u=My();return existsSync(u)?u:(He.warn(`[perf] web-vitals IIFE bundle not found at ${u} \u2014 performance metrics disabled.`),null)}catch(u){return He.warn(`[perf] could not resolve web-vitals: ${u instanceof Error?u.message:String(u)} \u2014 performance metrics disabled`),null}},By=H4(),qy=50,hs=null,V4=async()=>By===null?null:(hs!==null||(hs=await readFile(By,"utf-8")),hs),G4=u=>`
|
|
290
|
+
${u}
|
|
291
|
+
;(() => {
|
|
292
|
+
if (window.__skepticMetrics) return;
|
|
293
|
+
window.__skepticMetrics = { fcp: null, lcp: null, cls: null, inp: null, ttfb: null, longAnimationFrames: [] };
|
|
294
|
+
if (typeof webVitals === 'undefined') return;
|
|
295
|
+
const { onFCP, onLCP, onCLS, onINP, onTTFB } = webVitals;
|
|
296
|
+
// reportAllChanges: true makes onLCP/onCLS/onINP fire continuously on every update
|
|
297
|
+
// rather than only on page-hidden. Without this, snapshot() taken mid-test reads
|
|
298
|
+
// null for these metrics. FCP/TTFB fire on first paint regardless and don't need it.
|
|
299
|
+
const opts = { reportAllChanges: true };
|
|
300
|
+
onFCP((v) => window.__skepticMetrics.fcp = v.value);
|
|
301
|
+
onLCP((v) => window.__skepticMetrics.lcp = v.value, opts);
|
|
302
|
+
onCLS((v) => window.__skepticMetrics.cls = v.value, opts);
|
|
303
|
+
onINP((v) => window.__skepticMetrics.inp = v.value, opts);
|
|
304
|
+
onTTFB((v) => window.__skepticMetrics.ttfb = v.value);
|
|
305
|
+
if (typeof PerformanceObserver !== 'undefined' &&
|
|
306
|
+
PerformanceObserver.supportedEntryTypes &&
|
|
307
|
+
PerformanceObserver.supportedEntryTypes.includes('long-animation-frame')) {
|
|
308
|
+
try {
|
|
309
|
+
const obs = new PerformanceObserver((list) => {
|
|
310
|
+
for (const e of list.getEntries()) {
|
|
311
|
+
if (window.__skepticMetrics.longAnimationFrames.length >= ${qy}) return;
|
|
312
|
+
window.__skepticMetrics.longAnimationFrames.push({
|
|
313
|
+
startTime: e.startTime,
|
|
314
|
+
duration: e.duration,
|
|
315
|
+
blockingDuration: e.blockingDuration || 0,
|
|
316
|
+
scripts: (e.scripts || []).map((s) => ({
|
|
317
|
+
invoker: s.invoker || '',
|
|
318
|
+
sourceURL: s.sourceURL || '',
|
|
319
|
+
sourceFunctionName: s.sourceFunctionName || '',
|
|
320
|
+
duration: s.duration || 0,
|
|
321
|
+
forcedStyleAndLayoutDuration: s.forcedStyleAndLayoutDuration || 0,
|
|
322
|
+
})),
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
obs.observe({ type: 'long-animation-frame', buffered: true });
|
|
327
|
+
} catch (_err) { /* LoAF unsupported \u2014 silent no-op */ }
|
|
328
|
+
}
|
|
329
|
+
})();
|
|
330
|
+
`,ms=class{name="performance";page=null;async attach(s,f){this.page=s;let d=await V4();d!==null&&await s.addInitScript({content:G4(d)});}async snapshot(){let s={fcp:null,lcp:null,cls:null,inp:null,ttfb:null,longAnimationFrames:[]};if(!this.page||this.page.isClosed())return s;try{let f=await this.page.evaluate("window.__skepticMetrics || { fcp: null, lcp: null, cls: null, inp: null, ttfb: null, longAnimationFrames: [] }"),d=await this.captureNavigationTiming(),m=await this.captureResources(),v={fcp:f.fcp,lcp:f.lcp,cls:f.cls===null?null:Math.round((f.cls??0)*1e3)/1e3,inp:f.inp===null?null:Math.round(f.inp??0),ttfb:f.ttfb===null?null:Math.round(f.ttfb??0),longAnimationFrames:(f.longAnimationFrames??[]).slice(0,qy)};return d&&(v.navigationTiming=d),m&&(v.resources=m),v}catch(f){return He.debug(`[perf] snapshot failed: ${f instanceof Error?f.message:String(f)}`),s}}async captureNavigationTiming(){if(!this.page||this.page.isClosed())return null;try{return await this.page.evaluate(`(() => {
|
|
331
|
+
try {
|
|
332
|
+
const entries = performance.getEntriesByType('navigation');
|
|
333
|
+
const nav = entries && entries[0];
|
|
334
|
+
if (!nav) return null;
|
|
335
|
+
const start = nav.startTime || 0;
|
|
336
|
+
// Server-Timing is small extra signal: most origins don't send the header,
|
|
337
|
+
// so render only when present. Each entry has { name, duration, description }.
|
|
338
|
+
const serverTimingRaw = Array.isArray(nav.serverTiming) ? nav.serverTiming : [];
|
|
339
|
+
const serverTiming = serverTimingRaw.slice(0, 50).map((s) => {
|
|
340
|
+
const out = { name: String(s.name || '') };
|
|
341
|
+
if (typeof s.duration === 'number') out.duration = Math.round(s.duration);
|
|
342
|
+
if (s.description) out.description = String(s.description);
|
|
343
|
+
return out;
|
|
344
|
+
});
|
|
345
|
+
const result = {
|
|
346
|
+
ttfb: nav.responseStart != null ? Math.round(nav.responseStart - start) : null,
|
|
347
|
+
domContentLoaded: nav.domContentLoadedEventEnd != null
|
|
348
|
+
? Math.round(nav.domContentLoadedEventEnd - start) : null,
|
|
349
|
+
loadComplete: nav.loadEventEnd != null && nav.loadEventEnd > 0
|
|
350
|
+
? Math.round(nav.loadEventEnd - start) : null,
|
|
351
|
+
};
|
|
352
|
+
if (serverTiming.length > 0) result.serverTiming = serverTiming;
|
|
353
|
+
return result;
|
|
354
|
+
} catch { return null; }
|
|
355
|
+
})()`)??null}catch(s){return He.debug(`[perf] navigationTiming snapshot failed: ${s instanceof Error?s.message:String(s)}`),null}}async captureResources(){if(!this.page||this.page.isClosed())return null;try{return (await this.page.evaluate(`(() => {
|
|
356
|
+
try {
|
|
357
|
+
const entries = performance.getEntriesByType('resource') || [];
|
|
358
|
+
return entries.slice(0, 200).map((e) => ({
|
|
359
|
+
name: e.name,
|
|
360
|
+
initiatorType: e.initiatorType || '',
|
|
361
|
+
duration: Math.round(e.duration || 0),
|
|
362
|
+
transferSize: e.transferSize || 0,
|
|
363
|
+
encodedBodySize: e.encodedBodySize || 0,
|
|
364
|
+
decodedBodySize: e.decodedBodySize || 0,
|
|
365
|
+
}));
|
|
366
|
+
} catch { return []; }
|
|
367
|
+
})()`)).map(f=>({...f,name:fa(f.name)}))}catch(s){return He.debug(`[perf] resource timing snapshot failed: ${s instanceof Error?s.message:String(s)}`),null}}async detach(){this.page=null;}};kr();var gs=class{name="network";page=null;requests=[];entryByRequest=new Map;options;onRequest;onResponse;onRequestFailed;onRequestFinished;constructor(s){this.options=s;}async attach(s,f){this.page=s,this.onRequest=d=>{if(this.options.captureLimit>0&&this.requests.length>=this.options.captureLimit)return;let m;try{let b=d.frame().url();m=fa(b);}catch{m=void 0;}let v={url:fa(d.url()),method:d.method(),resourceType:d.resourceType(),timestamp:Date.now(),frameUrl:m};this.requests.push(v),this.entryByRequest.set(d,v);},this.onResponse=d=>{let m=this.entryByRequest.get(d.request());m&&(m.status=d.status());},this.onRequestFailed=d=>{let m=this.entryByRequest.get(d);m&&(m.failure=d.failure()?.errorText??"unknown failure");},this.onRequestFinished=d=>{let m=this.entryByRequest.get(d);if(m)try{let v=d.timing(),b=v.responseEnd-v.startTime;m.duration=b>=0?Math.round(b):void 0;}catch{}},s.on("request",this.onRequest),s.on("response",this.onResponse),s.on("requestfailed",this.onRequestFailed),s.on("requestfinished",this.onRequestFinished);}async snapshot(){let s=this.requests.slice(),f=this.computeIssues();return {requests:s,issues:f,summary:this.computeSummary(s,f)}}async detach(){this.page&&(this.onRequest&&this.page.off("request",this.onRequest),this.onResponse&&this.page.off("response",this.onResponse),this.onRequestFailed&&this.page.off("requestfailed",this.onRequestFailed),this.onRequestFinished&&this.page.off("requestfinished",this.onRequestFinished)),He.debug(`[net] detach \u2014 captured ${this.requests.length} request(s)`),this.page=null,this.entryByRequest.clear();}computeIssues(){let s=[],f=[];for(let d of this.requests){if(d.status!==void 0&&d.status>=400&&d.status<600){s.push({url:d.url,method:d.method,status:d.status});continue}if(d.status===void 0&&d.failure!==void 0){let m=d.failure.toLowerCase();!m.includes("cors")&&!m.includes("access-control")&&f.push({url:d.url,method:d.method,reason:d.failure});}}return {failedRequests:s,networkFailures:f,duplicates:this.findDuplicates(),mixedContent:this.findMixedContent(),corsErrors:this.findCorsErrors()}}computeSummary(s,f){let d={},m={},v={};for(let k of s)if(d[k.resourceType]=(d[k.resourceType]??0)+1,m[k.method]=(m[k.method]??0)+1,k.status!==void 0){let I=String(k.status);v[I]=(v[I]??0)+1;}let b=f.failedRequests.length,x=f.networkFailures.length,E=f.duplicates.length,A=f.mixedContent.length,S=f.corsErrors.length;return {requestCount:s.length,failedRequestCount:b,networkFailureCount:x,duplicateGroupCount:E,mixedContentCount:A,corsErrorCount:S,issueCount:b+x+E+A+S,captureLimit:this.options.captureLimit,truncated:this.options.captureLimit>0&&s.length>=this.options.captureLimit,resourceTypes:d,methods:m,statusCodes:v}}findDuplicates(){let s=new Map;for(let d of this.requests){let m=`${d.method}:${d.url}`,v=s.get(m);v||(v=[],s.set(m,v)),v.push(d);}let f=[];for(let d of s.values()){if(d.length<2)continue;d.sort((v,b)=>v.timestamp-b.timestamp);let m=1;for(let v=1;v<d.length;v++){let b=d[v-1];d[v].timestamp-b.timestamp<this.options.duplicateWindowMs?m++:(m>=2&&f.push({method:d[0].method,url:d[0].url,count:m,windowMs:this.options.duplicateWindowMs}),m=1);}m>=2&&f.push({method:d[0].method,url:d[0].url,count:m,windowMs:this.options.duplicateWindowMs});}return f}findMixedContent(){let s=[];for(let f of this.requests)!f.frameUrl||!f.frameUrl.startsWith("https://")||f.url.startsWith("data:")||f.url.startsWith("blob:")||f.url.startsWith("http://")&&s.push(f.url);return s}findCorsErrors(){let s=[];for(let f of this.requests){if(!f.failure)continue;let d=f.failure.toLowerCase();(d.includes("cors")||d.includes("access-control"))&&s.push({url:f.url,method:f.method,reason:f.failure});}return s}};var Hy=yg(jy());var W4=(u,s)=>{let f={exclude:[],include:[]};return s.length&&Array.isArray(f.exclude)&&f.exclude.push(...s),u.length&&(f.include=u),f},Y4=({context:u,options:s})=>window.axe.run(u||document,s||{}).then(d=>({error:null,results:d})).catch(d=>({error:d.message,results:null})),K4=({context:u})=>window.axe.utils.getFrameContexts(u),X4=({frameSelector:u})=>window.axe.utils.shadowSelect(u),Z4=({context:u,options:s})=>window.axe.runPartial(u,s),J4=({options:u})=>window.axe.finishRun(JSON.parse(window.partialResults),u);function Q4(u){window.partialResults||(window.partialResults=""),window.partialResults+=u;}var e8=class{constructor(u,s=false){this.initiator=s,this.partialPromise=zy(u);}partialPromise;childRunners=[];addChildResults(u){this.childRunners.push(u);}async getPartials(){try{let u=await this.partialPromise,s=this.childRunners.map(d=>d?zy(d.getPartials()):[null]),f=(await Promise.all(s)).flat(1);return [u,...f]}catch(u){if(this.initiator)throw u;return [null]}}},zy=(u=>s=>(s.catch(u),s))(()=>{}),{source:t8}=Hy.default,Vy=class{page;includes;excludes;option;axeSource;legacyMode=false;errorUrl;constructor({page:u,axeSource:s}){this.page=u,this.includes=[],this.excludes=[],this.option={},this.axeSource=s,this.errorUrl="https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md";}include(u){return this.includes.push(u),this}exclude(u){return this.excludes.push(u),this}options(u){return this.option=u,this}withRules(u){return u=Array.isArray(u)?u:[u],this.option=this.option||{},this.option.runOnly={type:"rule",values:u},this}withTags(u){return u=Array.isArray(u)?u:[u],this.option=this.option||{},this.option.runOnly={type:"tag",values:u},this}disableRules(u){u=Array.isArray(u)?u:[u],this.option=this.option||{},this.option.rules={};for(let s of u)this.option.rules[s]={enabled:false};return this}setLegacyMode(u=true){return this.legacyMode=u,this}async analyze(){let u=W4(this.includes,this.excludes),{page:s}=this;await s.evaluate(this.script());let f=await s.evaluate('typeof window.axe.runPartial === "function"'),d;if(!f||this.legacyMode)return d=await this.runLegacy(u),d;let v=await(await this.runPartialRecursive(s.mainFrame(),u)).getPartials();try{return await this.finishRun(v)}catch(b){throw new Error(`${b.message}
|
|
368
|
+
Please check out ${this.errorUrl}`)}}async inject(u,s){for(let f of u){let d=new Promise((v,b)=>{setTimeout(()=>{b(new Error("Script Timeout"));},1e3);}),m=f.evaluate(this.script());try{await Promise.race([m,d]),await f.evaluate(await this.axeConfigure());}catch(v){if(s)throw v}}}script(){return this.axeSource||t8}async runLegacy(u){let s=this.page.frames();await this.inject(s);let f=await this.page.evaluate(Y4,{context:u,options:this.option});if(f.error)throw new Error(f.error);return f.results}async runPartialRecursive(u,s){let f=await u.evaluate(K4,{context:s}),d=u.evaluate(Z4,{context:s,options:this.option}),m=u===this.page.mainFrame(),v=new e8(d,m);for(let{frameSelector:b,frameContext:x}of f){let E=null;try{let k=await(await u.evaluateHandle(X4,{frameSelector:b})).asElement().contentFrame();k&&(await this.inject([k],!0),E=await this.runPartialRecursive(k,x));}catch{}v.addChildResults(E);}return v}async finishRun(u){let{page:s,option:f}=this,m=await s.context().newPage();U4(m,"Please make sure that you have popup blockers disabled."),await m.evaluate(this.script()),await m.evaluate(await this.axeConfigure());let v=6e7,b=JSON.stringify(u);async function x(E){let A=E.substring(0,v);if(await m.evaluate(Q4,A),E.length>v)return await x(E.substr(v))}return await x(b),await m.evaluate(J4,{options:f}).finally(async()=>{await m.close();})}async axeConfigure(){let u=await this.page.evaluate('typeof window.axe?.runPartial === "function"');return `
|
|
369
|
+
;axe.configure({
|
|
370
|
+
${!this.legacyMode&&!u?'allowedOrigins: ["<unsafe_all_origins>"],':'allowedOrigins: ["<same_origin>"],'}
|
|
371
|
+
branding: { application: 'playwright' }
|
|
372
|
+
})
|
|
373
|
+
`}};kr();var a8={WCAG2A:["wcag2a"],WCAG2AA:["wcag2a","wcag2aa"],WCAG21A:["wcag2a","wcag21a"],WCAG21AA:["wcag2a","wcag2aa","wcag21a","wcag21aa"],WCAG22AA:["wcag2a","wcag2aa","wcag21a","wcag21aa","wcag22a","wcag22aa"]},Nc={VIOLATION:"serious",RECOMMENDATION:"moderate",INFORMATION:"minor"},n8={WCAG2A:"WCAG_2_0",WCAG2AA:"WCAG_2_0",WCAG21A:"WCAG_2_1",WCAG21AA:"WCAG_2_1",WCAG22AA:"WCAG_2_2"},Uy={critical:0,serious:1,moderate:2,minor:3},on=class{name="accessibility";page=null;lastSnapshot;equalAccessLoaded="unknown";options;htmlSnippetLimit;constructor(s){this.options=s,this.htmlSnippetLimit=s.htmlSnippetLimit;}truncateHtml(s){return this.htmlSnippetLimit<=0?"":s.length<=this.htmlSnippetLimit?s:s.slice(0,this.htmlSnippetLimit)+"\u2026"}async attach(s,f){this.page=s,this.options.dualEngine&&await this.tryLoadEqualAccess();}async audit(s){let f=["axe"],d=this.options.dualEngine&&this.equalAccessLoaded==="yes";if(d&&f.push("equal-access"),!this.page||this.page.isClosed()){let S="page closed or unavailable before audit",k={violations:[],summary:{violations:0,passes:0,incomplete:0,dualEngine:d,enginesRequested:f,enginesErrored:f.map(I=>({engine:I,reason:S}))},standard:s.standard};return this.lastSnapshot=k,k}let m=await this.runAxe(s),v=d?await this.runEqualAccess(s):null,b=new Set(m.violations.map(S=>S.ruleId)),x=[...m.violations,...v?.violations.filter(S=>!b.has(S.ruleId))??[]];x.sort((S,k)=>Uy[S.impact]-Uy[k.impact]);let E=[];m.erroredReason&&E.push({engine:"axe",reason:m.erroredReason}),v?.erroredReason&&E.push({engine:"equal-access",reason:v.erroredReason});let A={violations:x,summary:{violations:x.length,passes:m.passes+(v?.passes??0),incomplete:m.incomplete+(v?.incomplete??0),dualEngine:d,enginesRequested:f,enginesErrored:E},standard:s.standard};return this.lastSnapshot=A,A}async snapshot(){return this.lastSnapshot}async detach(){this.page=null;}async runAxe(s){if(!this.page)return {violations:[],passes:0,incomplete:0,erroredReason:"page not attached"};try{let f=new Vy({page:this.page});if(f=f.withTags(a8[s.standard]),s.include)for(let v of s.include)f=f.include(v);if(s.exclude)for(let v of s.exclude)f=f.exclude(v);let d=await f.analyze();return {violations:d.violations.map(v=>({ruleId:v.id,impact:v.impact??"minor",engine:"axe",help:v.help,helpUrl:v.helpUrl,nodes:v.nodes.map(b=>({target:Array.isArray(b.target)?b.target.map(String):[String(b.target)],html:this.truncateHtml(b.html),failureSummary:b.failureSummary}))})),passes:d.passes.length,incomplete:d.incomplete.length}}catch(f){let d=f instanceof Error?f.message:String(f);return He.warn(`[a11y:axe] audit failed: ${d}`),{violations:[],passes:0,incomplete:0,erroredReason:d}}}async tryLoadEqualAccess(){if(this.equalAccessLoaded==="unknown")try{createRequire$1(import.meta.url).resolve("accessibility-checker-engine/ace.js"),this.equalAccessLoaded="yes";}catch(s){let f=s?.code;f==="MODULE_NOT_FOUND"||f==="ERR_PACKAGE_PATH_NOT_EXPORTED"?(this.equalAccessLoaded="no",He.info("[a11y] accessibility-checker-engine not installed \u2014 running axe-core only. Install with: npm i accessibility-checker-engine")):(this.equalAccessLoaded="no",He.warn(`[a11y] accessibility-checker-engine resolve failed (unexpected): ${s instanceof Error?s.message:String(s)} \u2014 falling back to axe-core only`));}}async runEqualAccess(s){let f={violations:[],passes:0,incomplete:0};if(this.equalAccessLoaded!=="yes"||!this.page)return {...f,erroredReason:"engine not loaded"};try{let d=await this.resolveAceScriptPath();if(!d)return {...f,erroredReason:"ace.js path not resolvable"};let m=await readFile(d,"utf-8"),v=n8[s.standard],x=(await this.page.evaluate(async({script:I,profile:$})=>{let G=globalThis;return G.ace||new Function(I)(),!G.ace||!G.document?{results:[]}:{results:(await new G.ace.Checker().check(G.document,[$])).results.map(({node:re,...pe})=>pe)}},{script:m,profile:v})).results??[],E=[],A=0,S=0,k=(I,$)=>{E.push({ruleId:String(I.ruleId),impact:$,engine:"equal-access",help:String(I.message??I.ruleId),nodes:I.path?.dom?[{target:[String(I.path.dom)],html:this.truncateHtml(String(I.snippet??""))}]:[]});};for(let I of x){let $=I.value?.[0],G=I.value?.[1];$==="VIOLATION"?G==="FAIL"?k(I,Nc.VIOLATION):G==="POTENTIAL"&&S++:$==="RECOMMENDATION"?k(I,Nc.RECOMMENDATION):$==="INFORMATION"?k(I,Nc.INFORMATION):$==="PASS"&&A++;}return {violations:E,passes:A,incomplete:S}}catch(d){let m=d instanceof Error?d.message:String(d);return He.warn(`[a11y:equal-access] audit failed: ${m}`),{violations:[],passes:0,incomplete:0,erroredReason:m}}}async resolveAceScriptPath(){try{return createRequire$1(import.meta.url).resolve("accessibility-checker-engine/ace.js")}catch{return null}}};kr();var vs=class{name="console";page=null;messages=[];options;onConsole;constructor(s){this.options=s;}async attach(s,f){this.page=s,this.onConsole=d=>{if(this.messages.length>=this.options.captureLimit)return;let m=d.text(),v=this.options.redact?Ly(m):m,b;try{let x=d.location();x&&x.url&&(b={url:this.options.redact?fa(x.url):x.url,lineNumber:x.lineNumber,columnNumber:x.columnNumber});}catch{}this.messages.push({type:d.type(),text:v,...b?{location:b}:{},timestamp:Date.now()});},s.on("console",this.onConsole);}async snapshot(){let s=0,f=0,d=0;for(let m of this.messages)m.type==="error"?s++:m.type==="warning"?f++:(m.type==="info"||m.type==="log")&&d++;return {messages:this.messages.slice(),summary:{total:this.messages.length,errorCount:s,warningCount:f,infoCount:d,redactionDisabled:!this.options.redact}}}async detach(){this.page&&this.onConsole&&this.page.off("console",this.onConsole),He.debug(`[console] detach \u2014 captured ${this.messages.length} message(s)`),this.page=null;}};var Wy=u=>{let s=new Set([...u.required,...u.configured]),f=[];return s.has("performance")&&f.push(new ms),s.has("network")&&f.push(new gs({captureLimit:u.config.networkCaptureLimit,duplicateWindowMs:u.config.duplicateWindowMs})),s.has("accessibility")&&f.push(new on({dualEngine:u.config.accessibilityDualEngine,htmlSnippetLimit:u.config.accessibilityHtmlSnippetLimit})),s.has("console")&&f.push(new vs({captureLimit:u.config.consoleCaptureLimit??200,redact:u.config.consoleRedaction??true})),f};var Ft=u=>u==null?"\u2014":u>=1e4?`${(u/1e3).toFixed(2)}s`:`${Math.round(u)}ms`,Lc=u=>u<1024?`${u}B`:u<1048576?`${(u/1024).toFixed(1)}KB`:`${(u/1024/1024).toFixed(2)}MB`,ys=(u,s)=>s===null?"\u2014":u==="fcp"?s<=1800?"good":s<=3e3?"needs-improvement":"poor":u==="lcp"?s<=2500?"good":s<=4e3?"needs-improvement":"poor":u==="cls"?s<=.1?"good":s<=.25?"needs-improvement":"poor":u==="inp"?s<=200?"good":s<=500?"needs-improvement":"poor":"\u2014",Yy=(u,s={})=>{let f=s.accessibilityMaxRulesPerImpact??100,d=["# Performance Trace",""],m=u.performance;if(m){if(d.push("## Web Vitals",""),d.push(`- **FCP**: ${Ft(m.fcp)} (${ys("fcp",m.fcp)})`),d.push(`- **LCP**: ${Ft(m.lcp)} (${ys("lcp",m.lcp)})`),d.push(`- **CLS**: ${m.cls===null?"\u2014":m.cls.toFixed(3)} (${ys("cls",m.cls)})`),d.push(`- **INP**: ${Ft(m.inp)} (${ys("inp",m.inp)})`),d.push(""),m.navigationTiming){d.push("## Navigation Timing",""),d.push(`- **TTFB**: ${Ft(m.navigationTiming.ttfb)}`),d.push(`- **DOM Content Loaded**: ${Ft(m.navigationTiming.domContentLoaded)}`),d.push(`- **Load Complete**: ${Ft(m.navigationTiming.loadComplete)}`);let E=m.navigationTiming.serverTiming;if(E&&E.length>0){d.push("- **Server-Timing**:");for(let A of E){let S=typeof A.duration=="number"?` (${Ft(A.duration)})`:"",k=A.description?` \u2014 ${A.description}`:"";d.push(` - \`${A.name}\`${S}${k}`);}}d.push("");}if(m.longAnimationFrames.length>0&&(d.push("## Long Animation Frames (LoAF)",""),d.push(`${m.longAnimationFrames.length} long animation frames detected.`),d.push(""),m.longAnimationFrames.slice(0,10).forEach((A,S)=>{let k=A.blockingDuration>150?" \u26A0 POOR":"",I=A.scripts.reduce((G,V)=>Math.max(G,V.forcedStyleAndLayoutDuration??0),0),$=I>30?` \u26A0 forced layout: ${Ft(I)}`:"";if(d.push(`### Frame ${S+1}${k}${$}`,""),d.push(`- **Duration**: ${Ft(A.duration)}`),d.push(`- **Blocking Duration**: ${Ft(A.blockingDuration)}`),d.push(`- **Render Start**: ${Ft(A.startTime)}`),d.push(""),A.scripts.length>0){d.push("**Scripts:**","");for(let V of A.scripts.slice(0,5)){let te=V.sourceFunctionName||"(anonymous)";d.push(`- \`${te}\` \u2014 ${Ft(V.duration)}`),V.invoker&&d.push(` - Invoker: ${V.invoker}`),V.sourceURL&&d.push(` - Source: ${V.sourceURL}`);}d.push("");let G=[...A.scripts].sort((V,te)=>(te.duration??0)-(V.duration??0)).slice(0,3);if(G.length>0){d.push("**Scripts (sorted by duration):**","");for(let V of G){let te=V.sourceFunctionName||"(anonymous)",re=V.forcedStyleAndLayoutDuration??0,pe=re>0?` \u2014 forced layout ${Ft(re)}`:"";d.push(`- \`${te}\` \u2014 ${Ft(V.duration)}${pe}`);}d.push("");}}})),m.resources&&m.resources.length>0){d.push("## Resources","");let E=m.resources.reduce((k,I)=>k+(I.transferSize||0),0);d.push(`${m.resources.length} resources loaded \u2014 ${Lc(E)} transferred.`),d.push("");let A=i8(m.resources,10);if(A.length>0){d.push("### Slowest Resources","");for(let k of A)d.push(`- ${Ft(k.duration)} \u2014 ${k.name} (${k.initiatorType||"\u2014"}, ${Lc(k.transferSize)})`);d.push("");}let S=o8(m.resources,10);if(S.length>0&&S.some(k=>k.transferSize>0)){d.push("### Largest Resources","");for(let k of S)d.push(`- ${Lc(k.transferSize)} \u2014 ${k.name} (${k.initiatorType||"\u2014"}, ${Ft(k.duration)})`);d.push("");}}}let v=u.network;if(v){d.push("## Network",""),d.push(`${v.requests.length} request(s) captured.`),d.push("");let E=v.issues,A=[];if(E.failedRequests.length>0){A.push(`- **HTTP failures (4xx/5xx)**: ${E.failedRequests.length}`);for(let S of E.failedRequests.slice(0,10))A.push(` - ${S.status} ${S.method} ${S.url}`);}if(E.networkFailures.length>0){A.push(`- **Network failures (DNS/TCP/aborted)**: ${E.networkFailures.length}`);for(let S of E.networkFailures.slice(0,10))A.push(` - ${S.method} ${S.url} \u2014 ${S.reason}`);}E.duplicates.length>0&&A.push(`- **Duplicate request groups**: ${E.duplicates.length}`),E.mixedContent.length>0&&A.push(`- **Mixed-content resources**: ${E.mixedContent.length}`),E.corsErrors.length>0&&A.push(`- **CORS errors**: ${E.corsErrors.length}`),A.length>0&&(d.push("### Issues",""),d.push(...A),d.push(""));}let b=u.console;if(b&&b.summary.total>0&&(d.push("## Console",""),d.push(`${b.summary.total} message(s) \u2014 ${b.summary.errorCount} error(s), ${b.summary.warningCount} warning(s).`),b.summary.redactionDisabled&&(d.push(""),d.push("> \u26A0 Redaction is disabled \u2014 captured text may contain credentials/PII.")),d.push(""),b.summary.errorCount>0||b.summary.warningCount>0)){let E=b.messages.filter(A=>A.type==="error"||A.type==="warning").slice(0,20);if(E.length>0){d.push("### Errors & warnings","");for(let A of E)d.push(`- **${A.type}**: ${A.text}`);d.push("");}}let x=u.accessibility;if(x&&(d.push("## Accessibility",""),d.push(`Standard: ${x.standard}. Engines: ${x.summary.dualEngine?"axe-core + IBM Equal Access":"axe-core"}.`),d.push(`${x.summary.violations} violation(s), ${x.summary.passes} pass(es), ${x.summary.incomplete} incomplete.`),d.push(""),x.violations.length>0)){let E={critical:[],serious:[],moderate:[],minor:[]};for(let A of x.violations)E[A.impact]?.push(A);for(let A of ["critical","serious","moderate","minor"]){let S=E[A];if(!S||S.length===0)continue;d.push(`### ${A[0].toUpperCase()}${A.slice(1)} (${S.length})`,"");let k=S.slice(0,f);for(let I of k)d.push(`- **${I.ruleId}** \u2014 ${I.help}${I.engine==="equal-access"?" *(equal-access)*":""}`),I.helpUrl&&d.push(` - ${I.helpUrl}`);S.length>f&&d.push(`- ...and ${S.length-f} more \u2014 see audit.md`),d.push("");}}return d.join(`
|
|
374
|
+
`)},i8=(u,s)=>[...u].sort((f,d)=>d.duration-f.duration).slice(0,s),o8=(u,s)=>[...u].sort((f,d)=>d.transferSize-f.transferSize).slice(0,s);kr();var Ky=async u=>{let{testDir:s,metrics:f,artifacts:d,observabilityConfig:m}=u,v=f.performance,b=f.network,x=f.console,E=f.accessibility;try{let A=Yy({...v!==void 0?{performance:v}:{},...b!==void 0?{network:b}:{},...x!==void 0?{console:x}:{},...E!==void 0?{accessibility:E}:{}},m?.accessibilityMaxRulesPerImpact!==void 0?{accessibilityMaxRulesPerImpact:m.accessibilityMaxRulesPerImpact}:{}),S=join(s,"perf-trace.md");await writeFile(S,A,"utf-8"),d.perfTrace=S;}catch(A){He.warn(`perf-trace.md write failed: ${A instanceof Error?A.message:String(A)}`);}if(x)try{let A=join(s,"console.json");await writeFile(A,JSON.stringify(x,null,2),"utf-8"),d.consoleSnapshot=A;}catch(A){He.warn(`console.json write failed: ${A instanceof Error?A.message:String(A)}`);}if(b)try{let A=join(s,"network.json");await writeFile(A,JSON.stringify(b,null,2),"utf-8"),d.networkSnapshot=A;}catch(A){He.warn(`network.json write failed: ${A instanceof Error?A.message:String(A)}`);}if(E)try{let A=join(s,"accessibility.json");await writeFile(A,JSON.stringify(E,null,2),"utf-8"),d.accessibilityJson=A;}catch(A){He.warn(`accessibility.json write failed: ${A instanceof Error?A.message:String(A)}`);}if(E&&E.violations.length>0)try{let A=join(s,"audit.md");await writeFile(A,l8(E),"utf-8"),d.accessibilityAudit=A;}catch(A){He.warn(`audit.md write failed: ${A instanceof Error?A.message:String(A)}`);}},s8=["critical","serious","moderate","minor"],Bc=10,l8=u=>{let s=["# Accessibility Audit",""];if(s.push(`Standard: ${u.standard}.`),s.push(`Engines: ${u.summary.dualEngine?"axe-core + IBM Equal Access":"axe-core"}.`),s.push(`**${u.summary.violations} violation(s)**, ${u.summary.passes} pass(es), ${u.summary.incomplete} incomplete.`),s.push(""),u.summary.enginesErrored&&u.summary.enginesErrored.length>0){s.push("> \u26A0 Engine errors:");for(let d of u.summary.enginesErrored)s.push(`> - ${d.engine}: ${d.reason}`);s.push("");}let f={critical:[],serious:[],moderate:[],minor:[]};for(let d of u.violations){let m=f[d.impact];m&&m.push(d);}for(let d of s8){let m=f[d];if(!(!m||m.length===0)){s.push(`## ${d[0].toUpperCase()}${d.slice(1)} (${m.length})`,"");for(let v of m){let b=v.engine==="equal-access"?"(equal-access)":"(axe)";if(s.push(`### \`${v.ruleId}\` ${b}`,""),s.push(v.help),v.helpUrl&&(s.push(""),s.push(`More: ${v.helpUrl}`)),s.push(""),v.nodes.length>0){let x=v.nodes.slice(0,Bc);s.push(`**Nodes (${v.nodes.length}):**`,"");for(let E of x){let A=E.target.join(" ")||"(no selector)";if(s.push(`- \`${A}\``),E.html){s.push(" HTML:"),s.push(" ```html");for(let S of E.html.split(`
|
|
375
|
+
`))s.push(` ${S}`);s.push(" ```");}if(E.failureSummary){let S=E.failureSummary.split(`
|
|
376
|
+
`);for(let k of S)k.trim()&&s.push(` ${k}`);}}v.nodes.length>Bc&&s.push(`- +${v.nodes.length-Bc} more nodes`),s.push("");}}}}return s.join(`
|
|
377
|
+
`)};var Xy=String.raw`
|
|
378
|
+
(() => {
|
|
379
|
+
if (window.__skepticCursor) return;
|
|
380
|
+
|
|
381
|
+
const HOST_ID = '__skeptic-cursor-host';
|
|
382
|
+
const STORAGE_KEY = '__skeptic_cursor_state';
|
|
383
|
+
const PERSIST_DEBOUNCE_MS = 500;
|
|
384
|
+
const SHAPE_DEBOUNCE_MS = 50;
|
|
385
|
+
const TOOLTIP_FADE_MS = 1500;
|
|
386
|
+
const MARKER_FADE_MS = ${2e3};
|
|
387
|
+
const MAX_ACTIONS = 50;
|
|
388
|
+
|
|
389
|
+
let host = document.getElementById(HOST_ID);
|
|
390
|
+
if (!host) {
|
|
391
|
+
host = document.createElement('div');
|
|
392
|
+
host.id = HOST_ID;
|
|
393
|
+
host.style.cssText = 'all:initial;position:fixed;inset:0;pointer-events:none;z-index:2147483647;';
|
|
394
|
+
if (document.body) document.body.appendChild(host);
|
|
395
|
+
else document.addEventListener('DOMContentLoaded', () => document.body && document.body.appendChild(host), { once: true });
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
const root = host.attachShadow({ mode: 'closed' });
|
|
399
|
+
root.innerHTML = `+`\`
|
|
400
|
+
<style>
|
|
401
|
+
:host { all: initial; }
|
|
402
|
+
#cursor {
|
|
403
|
+
position: fixed; left: 0; top: 0; width: 24px; height: 24px;
|
|
404
|
+
transform: translate(-100px, -100px);
|
|
405
|
+
pointer-events: none;
|
|
406
|
+
will-change: transform;
|
|
407
|
+
filter: drop-shadow(0 0 6px rgba(80, 160, 250, 0.55))
|
|
408
|
+
drop-shadow(0 0 12px rgba(80, 160, 250, 0.25));
|
|
409
|
+
}
|
|
410
|
+
#cursor.glow { animation: __skeptic-glow 2s ease-in-out infinite; }
|
|
411
|
+
#cursor.hidden, #ripple.hidden, #tooltip.hidden { visibility: hidden; }
|
|
412
|
+
#cursor.click > .shape { animation: __skeptic-click 280ms ease-out; }
|
|
413
|
+
.shape { width: 100%; height: 100%; display: block; }
|
|
414
|
+
#ripple {
|
|
415
|
+
position: fixed; left: 0; top: 0; width: 8px; height: 8px;
|
|
416
|
+
border-radius: 50%; pointer-events: none;
|
|
417
|
+
background: radial-gradient(circle, rgba(80,160,250,0.5) 0%, rgba(80,160,250,0) 70%);
|
|
418
|
+
transform: translate(-50%, -50%) scale(0); opacity: 0;
|
|
419
|
+
}
|
|
420
|
+
#ripple.fire { animation: __skeptic-ripple 480ms ease-out; }
|
|
421
|
+
#tooltip {
|
|
422
|
+
position: fixed; left: 0; top: 0;
|
|
423
|
+
padding: 4px 8px; border-radius: 6px;
|
|
424
|
+
background: rgba(20, 28, 48, 0.92); color: #e5f1ff;
|
|
425
|
+
font: 500 11px/1 -apple-system, system-ui, sans-serif;
|
|
426
|
+
white-space: nowrap; pointer-events: none;
|
|
427
|
+
transform: translate(0, 0); opacity: 0;
|
|
428
|
+
transition: opacity 200ms ease-out;
|
|
429
|
+
}
|
|
430
|
+
#tooltip.show { opacity: 1; }
|
|
431
|
+
.marker {
|
|
432
|
+
position: fixed; left: 0; top: 0;
|
|
433
|
+
width: 22px; height: 22px; border-radius: 50%;
|
|
434
|
+
background: rgba(80, 160, 250, 0.92); color: white;
|
|
435
|
+
font: 600 11px/22px -apple-system, system-ui, sans-serif;
|
|
436
|
+
text-align: center; pointer-events: none;
|
|
437
|
+
transform: translate(-50%, -50%) scale(1); opacity: 1;
|
|
438
|
+
animation: __skeptic-marker 2000ms ease-out forwards;
|
|
439
|
+
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 2px 6px rgba(0, 0, 0, 0.25);
|
|
440
|
+
}
|
|
441
|
+
@keyframes __skeptic-click {
|
|
442
|
+
0% { transform: scale(1); }
|
|
443
|
+
40% { transform: scale(0.78); }
|
|
444
|
+
100% { transform: scale(1); }
|
|
445
|
+
}
|
|
446
|
+
@keyframes __skeptic-ripple {
|
|
447
|
+
0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0.85; }
|
|
448
|
+
100% { transform: translate(-50%, -50%) scale(8); opacity: 0; }
|
|
449
|
+
}
|
|
450
|
+
@keyframes __skeptic-glow {
|
|
451
|
+
0%, 100% {
|
|
452
|
+
filter: drop-shadow(0 0 4px rgba(80, 160, 250, 0.45))
|
|
453
|
+
drop-shadow(0 0 8px rgba(80, 160, 250, 0.18));
|
|
454
|
+
}
|
|
455
|
+
50% {
|
|
456
|
+
filter: drop-shadow(0 0 9px rgba(80, 160, 250, 0.78))
|
|
457
|
+
drop-shadow(0 0 18px rgba(80, 160, 250, 0.34));
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
@keyframes __skeptic-marker {
|
|
461
|
+
0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
|
|
462
|
+
15% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
|
|
463
|
+
70% { opacity: 1; }
|
|
464
|
+
100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
|
|
465
|
+
}
|
|
466
|
+
</style>
|
|
467
|
+
<div id="cursor" class="glow">
|
|
468
|
+
<svg class="shape" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
469
|
+
<path d="M3 2.5 L3 18 L7.2 14 L9.6 19.5 L12 18.5 L9.7 13 L15 13 Z"
|
|
470
|
+
fill="rgba(80,160,250,0.95)"
|
|
471
|
+
stroke="white" stroke-width="1.2" stroke-linejoin="round"/>
|
|
472
|
+
</svg>
|
|
473
|
+
</div>
|
|
474
|
+
<div id="ripple"></div>
|
|
475
|
+
<div id="tooltip" class="hidden"></div>
|
|
476
|
+
\`;
|
|
477
|
+
|
|
478
|
+
const cursorEl = root.getElementById('cursor');
|
|
479
|
+
const rippleEl = root.getElementById('ripple');
|
|
480
|
+
const tooltipEl = root.getElementById('tooltip');
|
|
481
|
+
|
|
482
|
+
// Five inline-SVG cursor shapes drawn from scratch. Coords are in a 24x24 viewBox.
|
|
483
|
+
const SHAPES = {
|
|
484
|
+
pointer:
|
|
485
|
+
'<svg class="shape" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">' +
|
|
486
|
+
'<path d="M3 2.5 L3 18 L7.2 14 L9.6 19.5 L12 18.5 L9.7 13 L15 13 Z" ' +
|
|
487
|
+
'fill="rgba(80,160,250,0.95)" stroke="white" stroke-width="1.2" stroke-linejoin="round"/>' +
|
|
488
|
+
'</svg>',
|
|
489
|
+
text:
|
|
490
|
+
'<svg class="shape" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">' +
|
|
491
|
+
'<path d="M9 4 H15 M12 4 V20 M9 20 H15" ' +
|
|
492
|
+
'stroke="rgba(80,160,250,0.95)" stroke-width="2" stroke-linecap="round" fill="none"/>' +
|
|
493
|
+
'<path d="M9 4 H15 M12 4 V20 M9 20 H15" ' +
|
|
494
|
+
'stroke="white" stroke-width="0.6" stroke-linecap="round" fill="none"/>' +
|
|
495
|
+
'</svg>',
|
|
496
|
+
grab:
|
|
497
|
+
'<svg class="shape" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">' +
|
|
498
|
+
'<path d="M7 12 V8 a1.4 1.4 0 0 1 2.8 0 V12 ' +
|
|
499
|
+
'M9.8 12 V6.5 a1.4 1.4 0 0 1 2.8 0 V12 ' +
|
|
500
|
+
'M12.6 12 V7 a1.4 1.4 0 0 1 2.8 0 V13 ' +
|
|
501
|
+
'M15.4 13 V9 a1.4 1.4 0 0 1 2.6 0 V15 ' +
|
|
502
|
+
'a5 5 0 0 1 -10 0 V11" ' +
|
|
503
|
+
'fill="rgba(80,160,250,0.95)" stroke="white" stroke-width="1" stroke-linejoin="round"/>' +
|
|
504
|
+
'</svg>',
|
|
505
|
+
move:
|
|
506
|
+
'<svg class="shape" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">' +
|
|
507
|
+
'<path d="M12 2 L9 6 H11 V11 H6 V9 L2 12 L6 15 V13 H11 V18 H9 L12 22 L15 18 H13 V13 H18 V15 L22 12 L18 9 V11 H13 V6 H15 Z" ' +
|
|
508
|
+
'fill="rgba(80,160,250,0.95)" stroke="white" stroke-width="1" stroke-linejoin="round"/>' +
|
|
509
|
+
'</svg>',
|
|
510
|
+
'not-allowed':
|
|
511
|
+
'<svg class="shape" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">' +
|
|
512
|
+
'<circle cx="12" cy="12" r="8" fill="none" stroke="rgba(80,160,250,0.95)" stroke-width="2.4"/>' +
|
|
513
|
+
'<line x1="6.5" y1="6.5" x2="17.5" y2="17.5" stroke="rgba(80,160,250,0.95)" stroke-width="2.4" stroke-linecap="round"/>' +
|
|
514
|
+
'<circle cx="12" cy="12" r="8" fill="none" stroke="white" stroke-width="0.6"/>' +
|
|
515
|
+
'</svg>',
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
let visible = true;
|
|
519
|
+
let lastX = -100, lastY = -100;
|
|
520
|
+
let pending = false;
|
|
521
|
+
let currentShape = 'pointer';
|
|
522
|
+
|
|
523
|
+
// Try to restore last cursor position from sessionStorage. Coordinates are normalized
|
|
524
|
+
// to [0,1] relative to viewport so they scale on resize/zoom across navigations.
|
|
525
|
+
try {
|
|
526
|
+
const raw = sessionStorage.getItem(STORAGE_KEY);
|
|
527
|
+
if (raw) {
|
|
528
|
+
const parsed = JSON.parse(raw);
|
|
529
|
+
if (parsed && typeof parsed.relativeX === 'number' && typeof parsed.relativeY === 'number') {
|
|
530
|
+
lastX = Math.max(0, Math.min(1, parsed.relativeX)) * window.innerWidth;
|
|
531
|
+
lastY = Math.max(0, Math.min(1, parsed.relativeY)) * window.innerHeight;
|
|
532
|
+
cursorEl.style.transform = 'translate(' + (lastX - 2) + 'px, ' + (lastY - 2) + 'px)';
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
} catch { /* sessionStorage may be disabled in sandboxed iframes */ }
|
|
536
|
+
|
|
537
|
+
const moveCursor = () => {
|
|
538
|
+
pending = false;
|
|
539
|
+
cursorEl.style.transform = 'translate(' + (lastX - 2) + 'px, ' + (lastY - 2) + 'px)';
|
|
540
|
+
// Tooltip default: above-and-right of the cursor. When the tooltip would clip the
|
|
541
|
+
// viewport's right edge, render to the LEFT of the cursor; when it would clip the
|
|
542
|
+
// bottom (cursor near top of viewport), render BELOW the cursor instead. Independent
|
|
543
|
+
// design \u2014 common UI flip-pattern, not derived from any reference codebase. Keeps
|
|
544
|
+
// the persistent narration tooltip readable when the cursor is near a screen edge.
|
|
545
|
+
const vw = window.innerWidth || 0;
|
|
546
|
+
const vh = window.innerHeight || 0;
|
|
547
|
+
const tw = tooltipEl.offsetWidth || 200;
|
|
548
|
+
const th = tooltipEl.offsetHeight || 22;
|
|
549
|
+
let tx = lastX + 14;
|
|
550
|
+
if (tx + tw > vw - 4) tx = lastX - 14 - tw;
|
|
551
|
+
if (tx < 2) tx = 2;
|
|
552
|
+
let ty = lastY - th - 4;
|
|
553
|
+
if (ty < 2) ty = lastY + 18;
|
|
554
|
+
if (ty + th > vh - 2) ty = Math.max(2, vh - th - 2);
|
|
555
|
+
tooltipEl.style.transform = 'translate(' + tx + 'px, ' + ty + 'px)';
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
let persistTimer = 0;
|
|
559
|
+
const schedulePersist = () => {
|
|
560
|
+
if (persistTimer) return;
|
|
561
|
+
persistTimer = window.setTimeout(() => {
|
|
562
|
+
persistTimer = 0;
|
|
563
|
+
try {
|
|
564
|
+
const w = window.innerWidth || 1;
|
|
565
|
+
const h = window.innerHeight || 1;
|
|
566
|
+
sessionStorage.setItem(STORAGE_KEY, JSON.stringify({
|
|
567
|
+
relativeX: lastX / w,
|
|
568
|
+
relativeY: lastY / h,
|
|
569
|
+
}));
|
|
570
|
+
} catch { /* swallow \u2014 storage may be denied */ }
|
|
571
|
+
}, PERSIST_DEBOUNCE_MS);
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
const setShape = (shape) => {
|
|
575
|
+
if (shape === currentShape) return;
|
|
576
|
+
if (!SHAPES[shape]) shape = 'pointer';
|
|
577
|
+
currentShape = shape;
|
|
578
|
+
// Replace inline SVG; preserve existing classes (glow, click).
|
|
579
|
+
const existing = cursorEl.querySelector('.shape');
|
|
580
|
+
if (existing) existing.remove();
|
|
581
|
+
cursorEl.insertAdjacentHTML('afterbegin', SHAPES[shape]);
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
const computedToShape = (computed) => {
|
|
585
|
+
if (!computed) return 'pointer';
|
|
586
|
+
const v = computed.split(',')[0].trim();
|
|
587
|
+
if (v === 'pointer') return 'pointer';
|
|
588
|
+
if (v === 'text' || v === 'vertical-text') return 'text';
|
|
589
|
+
if (v === 'grab' || v === 'grabbing') return 'grab';
|
|
590
|
+
if (v === 'move' || v === 'all-scroll') return 'move';
|
|
591
|
+
if (v === 'not-allowed' || v === 'no-drop') return 'not-allowed';
|
|
592
|
+
return 'pointer';
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
let shapeTimer = 0;
|
|
596
|
+
const scheduleShapeDetect = () => {
|
|
597
|
+
if (shapeTimer) return;
|
|
598
|
+
shapeTimer = window.setTimeout(() => {
|
|
599
|
+
shapeTimer = 0;
|
|
600
|
+
try {
|
|
601
|
+
const el = document.elementFromPoint(lastX, lastY);
|
|
602
|
+
if (!el) { setShape('pointer'); return; }
|
|
603
|
+
const c = window.getComputedStyle(el).cursor;
|
|
604
|
+
setShape(computedToShape(c));
|
|
605
|
+
} catch { /* document may not support elementFromPoint in some contexts */ }
|
|
606
|
+
}, SHAPE_DEBOUNCE_MS);
|
|
607
|
+
};
|
|
608
|
+
|
|
609
|
+
const onMove = (e) => {
|
|
610
|
+
lastX = e.clientX;
|
|
611
|
+
lastY = e.clientY;
|
|
612
|
+
if (!pending) {
|
|
613
|
+
pending = true;
|
|
614
|
+
requestAnimationFrame(moveCursor);
|
|
615
|
+
}
|
|
616
|
+
schedulePersist();
|
|
617
|
+
scheduleShapeDetect();
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
const onDown = () => {
|
|
621
|
+
cursorEl.classList.remove('click');
|
|
622
|
+
void cursorEl.offsetWidth;
|
|
623
|
+
cursorEl.classList.add('click');
|
|
624
|
+
rippleEl.style.left = lastX + 'px';
|
|
625
|
+
rippleEl.style.top = lastY + 'px';
|
|
626
|
+
rippleEl.classList.remove('fire');
|
|
627
|
+
void rippleEl.offsetWidth;
|
|
628
|
+
rippleEl.classList.add('fire');
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
document.addEventListener('mousemove', onMove, { capture: true, passive: true });
|
|
632
|
+
document.addEventListener('mousedown', onDown, { capture: true, passive: true });
|
|
633
|
+
|
|
634
|
+
// Action log: numbered markers at (x, y). FIFO cap at MAX_ACTIONS so a runaway loop
|
|
635
|
+
// never balloons the DOM.
|
|
636
|
+
const actionLog = [];
|
|
637
|
+
let actionCounter = 0;
|
|
638
|
+
|
|
639
|
+
const recordAction = (commandName, x, y) => {
|
|
640
|
+
if (typeof commandName !== 'string' || commandName.length === 0) return;
|
|
641
|
+
actionCounter += 1;
|
|
642
|
+
if (actionLog.length >= MAX_ACTIONS) actionLog.shift();
|
|
643
|
+
const entry = {
|
|
644
|
+
n: actionCounter,
|
|
645
|
+
command: commandName,
|
|
646
|
+
x: typeof x === 'number' && isFinite(x) ? x : Math.round(window.innerWidth / 2),
|
|
647
|
+
y: typeof y === 'number' && isFinite(y) ? y : Math.round(window.innerHeight / 2),
|
|
648
|
+
};
|
|
649
|
+
actionLog.push(entry);
|
|
650
|
+
const marker = document.createElement('div');
|
|
651
|
+
marker.className = 'marker';
|
|
652
|
+
marker.style.transform = 'translate(' + entry.x + 'px, ' + entry.y + 'px)';
|
|
653
|
+
marker.textContent = String(entry.n);
|
|
654
|
+
root.appendChild(marker);
|
|
655
|
+
window.setTimeout(() => marker.remove(), MARKER_FADE_MS + 50);
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
let tooltipTimer = 0;
|
|
659
|
+
const setCommandLabel = (commandName, opts) => {
|
|
660
|
+
if (typeof commandName !== 'string') return;
|
|
661
|
+
// PII safety: caller is responsible for passing only the command NAME, never args.
|
|
662
|
+
// Sentence-form labels (e.g. "Running accessibility audit") run longer than terse
|
|
663
|
+
// command names, so cap at 80 chars.
|
|
664
|
+
const safe = commandName.length > 80 ? commandName.slice(0, 80) : commandName;
|
|
665
|
+
tooltipEl.textContent = safe;
|
|
666
|
+
tooltipEl.classList.remove('hidden');
|
|
667
|
+
tooltipEl.classList.add('show');
|
|
668
|
+
if (tooltipTimer) { clearTimeout(tooltipTimer); tooltipTimer = 0; }
|
|
669
|
+
// Re-position immediately so the new text width feeds into the viewport-edge flip.
|
|
670
|
+
if (!pending) { pending = true; requestAnimationFrame(moveCursor); }
|
|
671
|
+
const persistent = !!(opts && opts.persistent === true);
|
|
672
|
+
if (!persistent) {
|
|
673
|
+
tooltipTimer = window.setTimeout(() => {
|
|
674
|
+
tooltipTimer = 0;
|
|
675
|
+
tooltipEl.classList.remove('show');
|
|
676
|
+
}, TOOLTIP_FADE_MS);
|
|
677
|
+
}
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
const clearCommandLabel = () => {
|
|
681
|
+
if (tooltipTimer) { clearTimeout(tooltipTimer); tooltipTimer = 0; }
|
|
682
|
+
tooltipEl.classList.remove('show');
|
|
683
|
+
tooltipEl.textContent = '';
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
window.__skepticCursor = {
|
|
687
|
+
hide: () => {
|
|
688
|
+
visible = false;
|
|
689
|
+
cursorEl.classList.add('hidden');
|
|
690
|
+
cursorEl.classList.remove('glow');
|
|
691
|
+
rippleEl.classList.add('hidden');
|
|
692
|
+
tooltipEl.classList.add('hidden');
|
|
693
|
+
},
|
|
694
|
+
show: () => {
|
|
695
|
+
visible = true;
|
|
696
|
+
cursorEl.classList.remove('hidden');
|
|
697
|
+
cursorEl.classList.add('glow');
|
|
698
|
+
rippleEl.classList.remove('hidden');
|
|
699
|
+
tooltipEl.classList.remove('hidden');
|
|
700
|
+
},
|
|
701
|
+
isVisible: () => visible,
|
|
702
|
+
setCommandLabel,
|
|
703
|
+
clearCommandLabel,
|
|
704
|
+
recordAction,
|
|
705
|
+
// Internal: exposed for tests so they can introspect the action log without
|
|
706
|
+
// scraping the DOM. Not part of the documented public API.
|
|
707
|
+
__actionLog: actionLog,
|
|
708
|
+
};
|
|
709
|
+
})();
|
|
710
|
+
`;var $t=u=>{parentPort?.postMessage(u);},cb=async u=>{let s=bg(u);try{await tsImport(pathToFileURL(u).href,import.meta.url);}finally{wg();}return s},A8=u=>{let s=u.tests.map(f=>({id:f.id,file:f.file,ordinal:f.ordinal,name:f.name,skip:f.skip,only:f.only,use:{...u.fileUse,...f.use}}));return {file:u.file,fileUse:{...u.fileUse},hookCount:{beforeEach:u.beforeEach.length,afterEach:u.afterEach.length},tests:s}},C8=async u=>{try{let s=await cb(u),f=A8(s);parentPort?.postMessage({type:"manifest",manifest:f});}catch(s){parentPort?.postMessage({type:"error",error:{message:s instanceof Error?s.message:String(s),stack:s instanceof Error?s.stack??"":""}});}finally{process.exit(0);}},R8=u=>u.replace(/[^a-zA-Z0-9_-]/g,"_"),T8=async(u,s,f,d)=>{let m=performance.now(),v=R8(u.name||`test-${u.ordinal}`),b=pa__default.join(f.outputDir,`${v}-${u.ordinal}`);await mkdir(b,{recursive:true});let x={...s.fileUse,...u.use},E=x.viewport??f.viewport??{width:1280,height:720},A=x.timeout??f.timeout,S=x.hardTimeout??(x.timeout!==void 0?x.timeout:f.hardTimeout),k=f.videoSize??x.videoSize??E,I=await d.newContext({viewport:E,...f.video?{recordVideo:{dir:b,size:k}}:{}});if(f.trace&&await I.tracing.start({screenshots:true,snapshots:true,sources:false}),f.video)try{await I.addInitScript({content:Xy});}catch(ge){$t({type:"log",level:"warn",message:`[skeptic] cursor overlay init script failed: ${ge instanceof Error?ge.message:String(ge)}`});}I.setDefaultTimeout(A);let $=await I.newPage(),G=x.collectors??[],V=new Set;f.observability.forceAll&&(V.add("performance"),V.add("network"),V.add("console"),V.add("accessibility"));for(let ge of G)V.add(ge);let te={collectors:[...V],networkCaptureLimit:f.observability.networkCaptureLimit,duplicateWindowMs:f.observability.duplicateWindowMs,accessibilityDualEngine:f.observability.accessibilityDualEngine,accessibilityHtmlSnippetLimit:f.observability.accessibilityHtmlSnippetLimit,consoleCaptureLimit:f.observability.consoleCaptureLimit,consoleRedaction:f.observability.consoleRedaction,autoAccessibilityAudit:f.observability.autoAccessibilityAudit,accessibilityStandard:f.observability.accessibilityStandard,accessibilityMaxRulesPerImpact:f.observability.accessibilityMaxRulesPerImpact},re=Wy({required:V,configured:[],config:te}),pe={fullPageScreenshots:f.artifact.fullPageScreenshots,visualSettle:f.observability.forceAll?Py:cs,blankFrameDetection:f.artifact.blankFrameDetection,writeSidecars:f.artifact.writeSidecars},Pe=new ds($,f.baseUrl??x.url??"",b,pa__default.dirname(s.file),void 0,void 0,A,re,pe);for(let ge of re)try{await ge.attach($,Pe);}catch(Ee){$t({type:"log",level:"warn",message:`[skeptic] collector ${ge.name} attach failed: ${Ee instanceof Error?Ee.message:String(Ee)}`}),Pe.collectors.delete(ge.name);}let Ie=[],yr=Lv($,Pe,{onAction:ge=>{ge.status==="completed"?Ie.push({command:ge.label,args:{},status:"passed",duration_ms:ge.durationMs??0}):ge.status==="failed"&&Ie.push({command:ge.label,args:{},status:"failed",duration_ms:ge.durationMs??0,error:ge.error}),$t({type:"test:action",testId:u.id,label:ge.label,status:ge.status,...ge.durationMs!==void 0?{durationMs:ge.durationMs}:{},...ge.error!==void 0?{error:ge.error}:{}});},enableCursorProxy:f.video}),at={name:u.name,file:s.file,testIndex:u.ordinal,status:"passed",duration_ms:0,steps:Ie,artifacts:{},...f.shardId!==void 0?{shardId:f.shardId}:{}},sn,_s=new Promise(ge=>{sn=setTimeout(()=>{Pe.abortReason=`test timeout exceeded (${S}ms)`,$.context().close().catch(()=>{}),ge("hard-timeout");},S);}),zr;try{for(let Ee of s.beforeEach)await yr.runAction("beforeEach",()=>Promise.resolve(Ee.fn(yr)));await Promise.race([Promise.resolve(u.skip?void 0:s.tests[u.ordinal]?.fn(yr)).then(()=>"ok"),_s])==="hard-timeout"&&(at.status="failed",zr=Pe.abortReason??`test timeout exceeded (${S}ms)`);}catch(ge){at.status="failed",zr=ge instanceof Error?ge.message:String(ge);}finally{sn&&clearTimeout(sn);}Pe.inTeardown=true;try{for(let ge of s.afterEach)try{await yr.runAction("afterEach",()=>Promise.resolve(ge.fn(yr)));}catch(Ee){$t({type:"log",level:"warn",message:`[skeptic] afterEach failed: ${Ee instanceof Error?Ee.message:String(Ee)}`});}}finally{Pe.inTeardown=false;}let ln=Pe.collectors.get("accessibility");if(ln instanceof on&&te.autoAccessibilityAudit&&Pe.abortReason===null&&!$.isClosed()&&!(await ln.snapshot()!==void 0))try{await ln.audit({standard:te.accessibilityStandard});}catch(Ee){$t({type:"log",level:"warn",message:`[skeptic] auto a11y audit failed: ${Ee instanceof Error?Ee.message:String(Ee)}`});}let nr={};for(let ge of Pe.collectors.values())try{let Ee=await ge.snapshot();Ee!=null&&(nr[ge.name]=Ee);}catch(Ee){$t({type:"log",level:"warn",message:`[skeptic] collector ${ge.name} snapshot failed: ${Ee instanceof Error?Ee.message:String(Ee)}`});}for(let ge of Pe.collectors.values())try{await ge.detach();}catch{}if(f.trace)try{let ge=pa__default.join(b,`${v}.trace.zip`);await I.tracing.stop({path:ge}),at.artifacts.trace=ge;}catch{}if(Object.keys(nr).length>0&&(at.metrics=nr),Pe.screenshots.length>0&&(at.artifacts.screenshots=[...Pe.screenshots]),pe.writeSidecars&&Object.keys(nr).length>0&&await Ky({testDir:b,metrics:nr,artifacts:at.artifacts,observabilityConfig:te}),f.video)try{let ge=$.video();if(ge){let Ee=pa__default.join(b,`${v}.webm`);await $.close().catch(()=>{}),await ge.saveAs(Ee),at.artifacts.video={path:Ee,width:k.width,height:k.height};}}catch(ge){$t({type:"log",level:"warn",message:`[skeptic] video save failed: ${ge instanceof Error?ge.message:String(ge)}`});}return await I.close().catch(()=>{}),at.duration_ms=Math.round(performance.now()-m),zr?(at.status="failed",at.steps.push({command:"test",args:{name:u.name},status:"failed",duration_ms:at.duration_ms,error:zr})):u.skip?(at.status="passed",at.steps.push({command:"test",args:{name:u.name},status:"skipped",duration_ms:0})):at.steps.push({command:"test",args:{name:u.name},status:"passed",duration_ms:at.duration_ms}),at},S8=async u=>{let s=null;try{s=await cb(u.file);}catch(E){$t({type:"fatal",message:E instanceof Error?E.message:String(E),...E instanceof Error&&E.stack?{stack:E.stack}:{}}),process.exit(0);return}let f=new Set(u.allowlist),d=[],m;try{m=await ps();}catch(E){$t({type:"fatal",message:`playwright load failed: ${E instanceof Error?E.message:String(E)}`}),process.exit(0);return}let v=m[u.config.browserEngine],b,x=null;try{if(u.config.noDaemon)b=await v.launch({headless:!u.config.headed});else {let{connectDaemon:E}=await Promise.resolve().then(()=>(ub(),lb)),A=await E({engine:u.config.browserEngine,headed:u.config.headed,cliVersion:"0.2.0",...typeof u.config.daemonIdleTimeoutSeconds=="number"?{idleTimeoutSeconds:u.config.daemonIdleTimeoutSeconds}:{}});b=A.browser,x=A.disconnect;}}catch(E){$t({type:"fatal",message:`browser launch failed: ${E instanceof Error?E.message:String(E)}`}),process.exit(0);return}try{for(let E of s.tests){if(!f.has(E.id))continue;$t({type:"test:start",testId:E.id,ordinal:E.ordinal,name:E.name,file:s.file,...u.config.shardId!==void 0?{shardId:u.config.shardId}:{}});let A;try{A=await T8(E,s,u.config,b);}catch(S){A={name:E.name,file:s.file,status:"failed",duration_ms:0,steps:[{command:"test",args:{name:E.name},status:"error",duration_ms:0,error:S instanceof Error?S.message:String(S)}],artifacts:{},...u.config.shardId!==void 0?{shardId:u.config.shardId}:{}};}d.push(E.id),$t({type:"test:complete",testId:E.id,ordinal:E.ordinal,result:A});}}finally{x?await x().catch(()=>{}):await b.close().catch(()=>{}),$t({type:"file:complete",file:s.file,finished:d}),process.exit(0);}},k8=async u=>{await S8(u);};!isMainThread&&parentPort&&(workerData?.mode==="discover"&&typeof workerData?.file=="string"?C8(workerData.file):(parentPort.on("message",u=>{u.type==="start"&&k8(u);}),$t({type:"ready"})));/*! Bundled license information:
|
|
711
|
+
|
|
712
|
+
axe-core/axe.js:
|
|
713
|
+
(*! axe v4.11.3
|
|
714
|
+
* Copyright (c) 2015 - 2026 Deque Systems, Inc.
|
|
715
|
+
*
|
|
716
|
+
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
717
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
718
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
719
|
+
*
|
|
720
|
+
* This entire copyright notice must appear in every copy of this file you
|
|
721
|
+
* distribute or in any file that contains substantial portions of this source
|
|
722
|
+
* code.
|
|
723
|
+
*)
|
|
724
|
+
*/export{C8 as handleDiscover,k8 as handleStart,T8 as runOneTest};
|