@webability/core 1.17.0 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- 'use strict';var G3=Object.create;var Du=Object.defineProperty;var U3=Object.getOwnPropertyDescriptor;var W3=Object.getOwnPropertyNames;var X3=Object.getPrototypeOf,Y3=Object.prototype.hasOwnProperty;var Sr=(f,d)=>()=>(f&&(d=f(f=0)),d);var K3=(f,d)=>()=>(d||f((d={exports:{}}).exports,d),d.exports),kr=(f,d)=>{for(var g in d)Du(f,g,{get:d[g],enumerable:true});},J3=(f,d,g,h)=>{if(d&&typeof d=="object"||typeof d=="function")for(let p of W3(d))!Y3.call(f,p)&&p!==g&&Du(f,p,{get:()=>d[p],enumerable:!(h=U3(d,p))||h.enumerable});return f};var Z3=(f,d,g)=>(g=f!=null?G3(X3(f)):{},J3(Du(g,"default",{value:f,enumerable:true}),f));var _u={};kr(_u,{applyPlatformTemplates:()=>KI,detectPlatform:()=>XI,isStructuralTemplate:()=>sg});function sg(f){return f.attribute==="role"?f.value!=="presentation"&&f.value!=="none":f.attribute==="aria-level"||f.attribute==="tabindex"}function WI(){if(ea)return ea;try{let f=globalThis.process,d=f?.getBuiltinModule?.("fs"),g=f?.getBuiltinModule?.("path");if(!d||!g)throw new Error("fs unavailable");let h=d.readFileSync(g.join(__dirname,"platformTemplates.json"),"utf-8"),p=JSON.parse(h);for(let y of Object.keys(p))p[y]=p[y].filter(sg);return ea=p,ea}catch{return ea={},ea}}async function XI(f){return f.evaluate(()=>{let d=[],g=document.implementation.createHTMLDocument("").importNode(document.documentElement,true);g.querySelectorAll("[data-wa-injected]").forEach(A=>A.remove());let h=g.outerHTML.slice(0,5e4).toLowerCase(),y=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (h.includes("shopify")||h.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(y.includes("wordpress")||h.includes("wp-content")||h.includes("wp-includes"))&&d.push("wordpress"),(h.includes("civicplus")||h.includes("civicalerts")||h.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&d.push("civicplus"),(h.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&d.push("finalsite"),(h.includes("dealersocket")||h.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&d.push("dealer"),(h.includes("wix.com")||h.includes("wixsite.com"))&&d.push("wix"),(h.includes("squarespace")||y.includes("squarespace"))&&d.push("squarespace"),(h.includes("webflow")||y.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}function YI(f){return /^[a-z][a-z0-9]*$/i.test(f.trim())}async function KI(f,d,g="scan"){let h=WI(),p=[];for(let A of d)h[A]&&p.push(...h[A].filter(w=>!YI(w.selector)));return p.length?g==="manifest"?p.map(A=>({selector:A.selector,attribute:A.attribute,currentValue:"",issueType:A.attribute==="alt"?"missing_alt":A.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:A.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${A.platform} (template)`,needsAI:false,fixValue:A.value})):(await f.evaluate(A=>{let w=[];for(let F of A)try{let R=document.querySelectorAll(F.selector);if(R.length>0){let _=!1;for(let x of R){let S=x.getAttribute(F.attribute)||"";if(F.attribute==="role"&&S!==F.value?_=!0:F.attribute==="aria-level"&&!x.getAttribute("aria-level")&&(_=!(x.tagName==="H1"&&F.value!=="1"&&document.querySelectorAll("h1").length<2)),_)break}_&&w.push({selector:F.selector,attribute:F.attribute,value:F.value,platform:F.platform,matchCount:R.length});}}catch{}return w},p.map(A=>({selector:A.selector,attribute:A.attribute,value:A.value,platform:A.platform})))).map(A=>({selector:A.selector,attribute:A.attribute,currentValue:"",issueType:A.attribute==="alt"?"missing_alt":A.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:A.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${A.platform} (${A.matchCount} elements)`,needsAI:false,fixValue:A.value})):[]}var ea,Eu=Sr(()=>{ea=null;});var lg={};kr(lg,{ACCESSIBLE_NAME_JS:()=>QI,IS_HIDDEN_FROM_AT_JS:()=>tM,IS_TRACKING_PIXEL_JS:()=>rM,IS_VISIBLE_JS:()=>ZI,NEARBY_CONTEXT_JS:()=>nM,UNIQUE_SELECTOR_JS:()=>JI,WIDGET_SKIP_JS:()=>eM});var JI,ZI,QI,eM,tM,rM,nM,ug=Sr(()=>{JI=`
1
+ 'use strict';var G3=Object.create;var Du=Object.defineProperty;var W3=Object.getOwnPropertyDescriptor;var U3=Object.getOwnPropertyNames;var X3=Object.getPrototypeOf,Y3=Object.prototype.hasOwnProperty;var Sr=(f,d)=>()=>(f&&(d=f(f=0)),d);var K3=(f,d)=>()=>(d||f((d={exports:{}}).exports,d),d.exports),kr=(f,d)=>{for(var g in d)Du(f,g,{get:d[g],enumerable:true});},J3=(f,d,g,h)=>{if(d&&typeof d=="object"||typeof d=="function")for(let p of U3(d))!Y3.call(f,p)&&p!==g&&Du(f,p,{get:()=>d[p],enumerable:!(h=W3(d,p))||h.enumerable});return f};var Z3=(f,d,g)=>(g=f!=null?G3(X3(f)):{},J3(Du(g,"default",{value:f,enumerable:true}),f));var _u={};kr(_u,{applyPlatformTemplates:()=>KI,detectPlatform:()=>XI,isStructuralTemplate:()=>sg});function sg(f){return f.attribute==="role"?f.value!=="presentation"&&f.value!=="none":f.attribute==="aria-level"||f.attribute==="tabindex"}function UI(){if(ea)return ea;try{let f=globalThis.process,d=f?.getBuiltinModule?.("fs"),g=f?.getBuiltinModule?.("path");if(!d||!g)throw new Error("fs unavailable");let h=d.readFileSync(g.join(__dirname,"platformTemplates.json"),"utf-8"),p=JSON.parse(h);for(let y of Object.keys(p))p[y]=p[y].filter(sg);return ea=p,ea}catch{return ea={},ea}}async function XI(f){return f.evaluate(()=>{let d=[],g=document.implementation.createHTMLDocument("").importNode(document.documentElement,true);g.querySelectorAll("[data-wa-injected]").forEach(A=>A.remove());let h=g.outerHTML.slice(0,5e4).toLowerCase(),y=(document.querySelector('meta[name="generator"]')?.getAttribute("content")||"").toLowerCase();return (h.includes("shopify")||h.includes("cdn.shopify.com")||window.Shopify)&&d.push("shopify"),(y.includes("wordpress")||h.includes("wp-content")||h.includes("wp-includes"))&&d.push("wordpress"),(h.includes("civicplus")||h.includes("civicalerts")||h.includes("cpslider")||document.querySelector(".cpSlider, #breadCrumbs, .rcPrev, .rcNext"))&&d.push("civicplus"),(h.includes("finalsite")||document.querySelector(".fsHeader, .fsCalendar, .fsPanelGroup, #fsPoweredByFinalsite"))&&d.push("finalsite"),(h.includes("dealersocket")||h.includes("dealer.com")||document.querySelector(".ddc-tracking, .inventory-listing-default, .vlp-refine"))&&d.push("dealer"),(h.includes("wix.com")||h.includes("wixsite.com"))&&d.push("wix"),(h.includes("squarespace")||y.includes("squarespace"))&&d.push("squarespace"),(h.includes("webflow")||y.includes("webflow"))&&d.push("webflow"),d.push("universal"),d.push("universal_iframe"),d})}function YI(f){return /^[a-z][a-z0-9]*$/i.test(f.trim())}async function KI(f,d,g="scan"){let h=UI(),p=[];for(let A of d)h[A]&&p.push(...h[A].filter(w=>!YI(w.selector)));return p.length?g==="manifest"?p.map(A=>({selector:A.selector,attribute:A.attribute,currentValue:"",issueType:A.attribute==="alt"?"missing_alt":A.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:A.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${A.platform} (template)`,needsAI:false,fixValue:A.value})):(await f.evaluate(A=>{let w=[];for(let F of A)try{let R=document.querySelectorAll(F.selector);if(R.length>0){let _=!1;for(let x of R){let S=x.getAttribute(F.attribute)||"";if(F.attribute==="role"&&S!==F.value?_=!0:F.attribute==="aria-level"&&!x.getAttribute("aria-level")&&(_=!(x.tagName==="H1"&&F.value!=="1"&&document.querySelectorAll("h1").length<2)),_)break}_&&w.push({selector:F.selector,attribute:F.attribute,value:F.value,platform:F.platform,matchCount:R.length});}}catch{}return w},p.map(A=>({selector:A.selector,attribute:A.attribute,value:A.value,platform:A.platform})))).map(A=>({selector:A.selector,attribute:A.attribute,currentValue:"",issueType:A.attribute==="alt"?"missing_alt":A.attribute==="aria-label"?"missing_label":"missing_semantic_role",wcag:A.attribute==="alt"?"1.1.1":"4.1.2",context:`platform:${A.platform} (${A.matchCount} elements)`,needsAI:false,fixValue:A.value})):[]}var ea,Eu=Sr(()=>{ea=null;});var lg={};kr(lg,{ACCESSIBLE_NAME_JS:()=>QI,IS_HIDDEN_FROM_AT_JS:()=>tM,IS_TRACKING_PIXEL_JS:()=>rM,IS_VISIBLE_JS:()=>ZI,NEARBY_CONTEXT_JS:()=>nM,UNIQUE_SELECTOR_JS:()=>JI,WIDGET_SKIP_JS:()=>eM});var JI,ZI,QI,eM,tM,rM,nM,ug=Sr(()=>{JI=`
2
2
  function __isUnique(sel) {
3
3
  try { return document.querySelectorAll(sel).length === 1; } catch { return false; }
4
4
  }
@@ -179,6 +179,57 @@
179
179
  if (/rect\\(\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*,?\\s*0(?:px)?\\s*\\)/.test(s.clip || '')) return false;
180
180
  return true;
181
181
  }
182
+
183
+ // isVisible answers "is the BOX shown"; this answers "does the element's own
184
+ // text paint a glyph". An icon link (font-size:0, text-indent:-9999px or 100%
185
+ // with overflow:hidden) has a visible box and no visible text, so text-contrast
186
+ // (1.4.3) cannot apply to it. Measured from the rects the text really lays out
187
+ // in: a glyph needs a box over 1px, inside the element's own box when it clips
188
+ // its overflow, and on the page (or under a scroll / transform ancestor that
189
+ // can bring it into view). Glyphs clipped by an ANCESTOR are not handled.
190
+ function hasRenderedText(el) {
191
+ if (!el || !isVisible(el)) return false;
192
+ var tag = el.tagName;
193
+ // Form-control text (textarea value, option labels) is not laid out as inline text rects: nothing to measure.
194
+ if (tag === 'TEXTAREA' || tag === 'SELECT' || tag === 'OPTION' || tag === 'OPTGROUP') return parseFloat(getComputedStyle(el).fontSize) !== 0;
195
+ var sx = window.scrollX, sy = window.scrollY;
196
+ var docW = Math.max(document.documentElement.scrollWidth, window.innerWidth);
197
+ var docH = Math.max(document.documentElement.scrollHeight, window.innerHeight);
198
+ // An element that clips its own overflow (icon links: overflow:hidden) shows only the part of its text inside its own box.
199
+ var own = getComputedStyle(el);
200
+ var clipsSelf = own.overflowX !== 'visible' || own.overflowY !== 'visible';
201
+ var box = el.getBoundingClientRect();
202
+ // Off the page inside a scroll / clip container or a transformed ancestor (carousel slide, scrolled strip) is shown
203
+ // later, so it still counts as rendered; off the page with no such ancestor is hidden text (text-indent:-9999px).
204
+ var shownLater = function () {
205
+ for (var p = el.parentElement; p && p !== document.body && p !== document.documentElement; p = p.parentElement) {
206
+ var ps = getComputedStyle(p);
207
+ if (ps.overflowX !== 'visible' || ps.overflowY !== 'visible' || (ps.transform && ps.transform !== 'none')) return true;
208
+ }
209
+ return false;
210
+ };
211
+ for (var n = el.firstChild; n; n = n.nextSibling) {
212
+ if (n.nodeType !== 3 || !(n.textContent || '').trim()) continue;
213
+ var range = document.createRange();
214
+ range.selectNodeContents(n);
215
+ // No layout engine (jsdom has no Range.getClientRects): the computed font size is all there is to read.
216
+ if (typeof range.getClientRects !== 'function') return parseFloat(getComputedStyle(el).fontSize) !== 0;
217
+ var rects = range.getClientRects();
218
+ for (var i = 0; i < rects.length; i++) {
219
+ var r = rects[i];
220
+ if (r.width <= 1 || r.height <= 1) continue;
221
+ // Glyphs outside their own box are hidden (text-indent:-9999px); glyphs inside a box that is off the page are shown later.
222
+ var inBox = Math.min(r.right, box.right) - Math.max(r.left, box.left) > 1 && Math.min(r.bottom, box.bottom) - Math.max(r.top, box.top) > 1;
223
+ if (clipsSelf && !inBox) continue;
224
+ if (r.right + sx <= 0 || r.bottom + sy <= 0 || r.left + sx >= docW || r.top + sy >= docH) {
225
+ if (inBox && shownLater()) return true;
226
+ continue;
227
+ }
228
+ return true;
229
+ }
230
+ }
231
+ return false;
232
+ }
182
233
  `,QI=`
183
234
  // aria-labelledby/-describedby take SPACE-SEPARATED idref lists; resolving
184
235
  // the whole attribute with getElementById silently failed on multi-ID
@@ -360,29 +411,29 @@
360
411
  return (hi + 0.05) / (lo + 0.05);
361
412
  }
362
413
  `;});var gn={};kr(gn,{INJECT_ATTR:()=>Zr,OWN_TOOLING_SELECTOR:()=>Ho,attachMutations:()=>pM,dropToolingFindings:()=>gM,guardDetectorState:()=>mM,inject:()=>Vo,startProvenance:()=>cM,stopProvenance:()=>dM});async function Vo(f,d){let g=`${d.tool}:${Date.now().toString(36)}${Math.random().toString(36).slice(2,6)}`;if(d.css!==void 0){await f.evaluate(({attr:p,mark:y,css:A})=>{let w=document.createElement("style");w.setAttribute(p,y),w.textContent=A,document.documentElement.appendChild(w);},{attr:Zr,mark:g,css:d.css});return}if(d.url){let p=await f.addScriptTag({url:d.url});try{await p?.evaluate?.((y,A)=>y.setAttribute(A.attr,A.mark),{attr:Zr,mark:g});}catch{}return}let h=`document.currentScript&&document.currentScript.setAttribute(${JSON.stringify(Zr)},${JSON.stringify(g)});
363
- `;await f.addScriptTag({content:h+(d.content??"")});}async function cM(f){try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await f.evaluate(({key:d,attr:g,max:h})=>{let p=window;if(p[Symbol.for(d)]||typeof MutationObserver>"u")return;let y={tool:null,log:[],overflow:0,left:new Map};y.ours=A=>{let w=A&&A.nodeType===1?A:A?A.parentElement:null;for(;w;){if(w.hasAttribute(g))return !0;w=w.parentElement;}return !1},y.take=A=>{if(y.tool)for(let w of A){if(w.type==="attributes"&&w.attributeName===g||y.ours(w.target))continue;let F=w.type==="childList"?Array.from(w.addedNodes).filter(_=>!y.ours(_)):[];if(w.type==="childList"&&!F.length&&Array.from(w.removedNodes).every(_=>_.nodeType===1&&_.hasAttribute(g)))continue;let R=F.map(_=>_.nodeName.toLowerCase()+(_.nodeType===1&&_.getAttribute("id")?"#"+_.getAttribute("id"):""));y.log.length<h?y.log.push({tool:y.tool,type:w.type,attr:w.attributeName,target:w.target.nodeName,added:R}):y.overflow++;}},y.obs=new MutationObserver(A=>y.take(A)),y.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),p[Symbol.for(d)]=y;},{key:ri,attr:Zr,max:uM});}catch{}}async function dM(f){try{return await f.evaluate(d=>{let g=window,h=g[Symbol.for(d)];return h?(h.take(h.obs.takeRecords()),h.obs.disconnect(),delete g[Symbol.for(d)],{log:h.log,overflow:h.overflow}):null},ri)}catch{return null}}function pM(f,d){if(!d||!f.length)return;let g=d.log;for(let h of f){let p=g.filter(y=>y.tool===h.tool).slice(0,fM).map(({type:y,attr:A,target:w,added:F})=>({type:y,attr:A,target:w,added:F}));p.length&&(h.mutations=p);}}async function mM(f,d,g,h,p={}){let y=null;try{y=await f.evaluate(({key:A,prov:w,name:F,attr:R,widget:_,fsk:x})=>{let S=window;try{let H=S[Symbol.for(x)];H&&document.removeEventListener("focusin",H.h,!0);let j=new WeakMap,U=J=>{let k=(new Error().stack||"").split(`
364
- `).slice(1),v=/eval at evaluate/.test(k[0]||""),D=T=>/^\s*at /.test(T)&&!/UtilityScript|eval at evaluate/.test(T);j.set(J.target,v&&k.length>1&&k.slice(1).some(D)?"page":"ours");};document.addEventListener("focusin",U,!0),S[Symbol.for(x)]={src:j,h:U};}catch{}let E=S[Symbol.for(w)];E&&(E.take(E.obs.takeRecords()),E.tool=F);let M=document.activeElement,L=!!M&&M!==document.body&&M!==document.documentElement,N=[];try{let H=typeof getSelection=="function"?getSelection():null;N=H?Array.from({length:H.rangeCount},(j,U)=>H.getRangeAt(U).cloneRange()):[];}catch{}let q=Array.from(document.querySelectorAll(`[${R}]:not(script):not([${R}="${_}"])`));return S[Symbol.for(A)]={el:L?M:null,ranges:N,marked:new Set(q)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:L,injected:q.length}},{key:mg,prov:ri,name:d,attr:Zr,widget:Cu,fsk:hg});}catch{y=null;}try{return await h()}finally{y&&await hM(f,d,y,g,p);}}async function hM(f,d,g,h,p){let y={leaks:[]};try{y=await f.evaluate(({key:A,prov:w,snap:F,attr:R,widget:_,fsk:x})=>{let S=window,E=[],M=S[Symbol.for(x)];M&&(document.removeEventListener("focusin",M.h,!0),delete S[Symbol.for(x)]);let L=S[Symbol.for(A)],N=L?.el??null;try{delete S[Symbol.for(A)];}catch{}let q=S[Symbol.for(w)];q&&q.take(q.obs.takeRecords());let H=document.activeElement,j=H&&H!==document.body&&H!==document.documentElement?H:null,U=!!j&&j!==N&&M?.src.get(j)==="page";if(j!==N&&!U){E.push("activeElement"),q&&j&&q.left.set(j,q.tool);try{j?.blur?.();}catch{}try{N&&N.isConnected&&N.focus({preventScroll:!0});}catch{}}let J=null;try{J=document.querySelector(":focus-visible");}catch{}if(J&&J!==N&&!(U&&J===j)){E.push("focus-visible");try{J.blur();}catch{}}!U&&(Math.abs(window.scrollX-F.scrollX)>1||Math.abs(window.scrollY-F.scrollY)>1)&&(E.push("scroll"),window.scrollTo({left:F.scrollX,top:F.scrollY,behavior:"instant"}));try{let v=getSelection(),D=L?.ranges??[];if(v&&(v.rangeCount!==D.length||D.some((T,P)=>T.compareBoundaryPoints(Range.START_TO_START,v.getRangeAt(P))!==0||T.compareBoundaryPoints(Range.END_TO_END,v.getRangeAt(P))!==0))){E.push("selection"),v.removeAllRanges();for(let T of D)v.addRange(T);}}catch{}let k=Array.from(document.querySelectorAll(`[${R}]:not(script):not([${R}="${_}"])`));k.length!==F.injected&&E.push(`injected-nodes ${F.injected}->${k.length}`);for(let v of k)if(L?.marked&&!L.marked.has(v))try{v.remove();}catch{}return q&&(q.tool=null),{leaks:E}},{key:mg,prov:ri,snap:g,attr:Zr,widget:Cu,fsk:hg});}catch{}if(y.leaks.length){let A=`tooling:state-not-restored (${d}: ${y.leaks.join(", ")}) \u2014 restored by the scanner`;if(p.bugs?.push({tool:d,kind:"state-not-restored",detail:y.leaks.join(", ")}),p.strict)throw new Error(A);h.push(A);}}async function gM(f,d,g){if(!d.length)return d;let h=Array.from(new Set(d.map(y=>y.selector).filter(Boolean))),p={};try{p=await f.evaluate(({sels:y,own:A,prov:w,attr:F,widget:R})=>{let _=window[Symbol.for(w)],x={};for(let S of y){x[S]=null;let E=null;try{E=document.querySelector(S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{E=null;}if(!E)continue;let M=E.closest(A);if(M&&M!==document.body&&M!==document.documentElement){let L=M.closest(`[${F}]`)?.getAttribute(F);x[S]={tool:L&&L!==R?L.split(":")[0]:null,why:`on node injected by ${L}`};continue}_&&_.left.has(E)&&(x[S]={tool:_.left.get(E),why:"on the element the tool left focused"});}return x},{sels:h,own:Ho,prov:ri,attr:Zr,widget:Cu});}catch{return d}return d.filter(y=>{let A=p[y.selector];return A?(A.tool&&g?.push({tool:A.tool,kind:"finding-dropped",detail:`${y.type} ${A.why}`,selector:y.selector}),false):true})}var Zr,Cu,Ho,ri,uM,fM,mg,hg,Hr=Sr(()=>{Zr="data-wa-injected",Cu="widget",Ho=`[${Zr}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,ri="wa.provenance",uM=500;fM=10;mg="wa.stateGuard.active",hg="wa.stateGuard.focusSource";});var _g=K3((Ag,ii)=>{(function f(d){var g=d,h=d.document,p=p||{};p.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return p}),(typeof ii>"u"?"undefined":fe(ii))==="object"&&ii.exports&&typeof f.toString=="function"&&(p.source="("+f.toString()+')(typeof window === "object" ? window : this);',ii.exports=p),typeof d.getComputedStyle=="function"&&(d.axe=p);var A=["precision","format","inGamut"],w=["space"],F=["algorithm"],R=["method"],_=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],S=["relatedNodes"],E=["node"],M=["variant"],L=["matches"],N=["chromium"],q=["noImplicit"],H=["noPresentational"],j=["node"],U=["environmentData"],J=["environmentData"],k=["environmentData"],v=["environmentData"],D=["environmentData"];function T(ne){return nt(ne)||kt(ne)||jr(ne)||Oe()}function P(ne){var se=typeof Map=="function"?new Map:void 0;return P=function(ve){if(ve===null||!B(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(se!==void 0){if(se.has(ve))return se.get(ve);se.set(ve,Xe);}function Xe(){return X(ve,arguments,ke(this).constructor)}return Xe.prototype=Object.create(ve.prototype,{constructor:{value:Xe,enumerable:false,writable:true,configurable:true}}),Be(Xe,ve)},P(ne)}function B(ne){try{return Function.toString.call(ne).indexOf("[native code]")!==-1}catch{return typeof ne=="function"}}function z(ne,se,ce){return (se=Jt(se))in ne?Object.defineProperty(ne,se,{value:ce,enumerable:true,configurable:true,writable:true}):ne[se]=ce,ne}function X(ne,se,ce){if(de())return Reflect.construct.apply(null,arguments);var ve=[null];ve.push.apply(ve,se);var Xe=new(ne.bind.apply(ne,ve));return ce&&Be(Xe,ce.prototype),Xe}function te(ne,se){if(ne==null)return {};var ce,ve,Xe=ee(ne,se);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(ne);for(ve=0;ve<at.length;ve++)ce=at[ve],se.indexOf(ce)===-1&&{}.propertyIsEnumerable.call(ne,ce)&&(Xe[ce]=ne[ce]);}return Xe}function ee(ne,se){if(ne==null)return {};var ce={};for(var ve in ne)if({}.hasOwnProperty.call(ne,ve)){if(se.indexOf(ve)!==-1)continue;ce[ve]=ne[ve];}return ce}function Z(ne,se,ce){return se=ke(se),ie(ne,de()?Reflect.construct(se,ce||[],ke(ne).constructor):se.apply(ne,ce))}function ie(ne,se){if(se&&(fe(se)=="object"||typeof se=="function"))return se;if(se!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(ne)}function be(ne){if(ne===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ne}function de(){try{var ne=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (de=function(){return !!ne})()}function ke(ne){return ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(se){return se.__proto__||Object.getPrototypeOf(se)},ke(ne)}function De(ne,se){if(typeof se!="function"&&se!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(se&&se.prototype,{constructor:{value:ne,writable:true,configurable:true}}),Object.defineProperty(ne,"prototype",{writable:false}),se&&Be(ne,se);}function Be(ne,se){return Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ce,ve){return ce.__proto__=ve,ce},Be(ne,se)}function _e(){return _e=Object.assign?Object.assign.bind():function(ne){for(var se=1;se<arguments.length;se++){var ce=arguments[se];for(var ve in ce)({}).hasOwnProperty.call(ce,ve)&&(ne[ve]=ce[ve]);}return ne},_e.apply(null,arguments)}function Ee(ne){return He(ne)||kt(ne)||jr(ne)||bt()}function bt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
365
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(ne){if(typeof Symbol<"u"&&ne[Symbol.iterator]!=null||ne["@@iterator"]!=null)return Array.from(ne)}function He(ne){if(Array.isArray(ne))return vn(ne)}function Mt(ne,se,ce){Bt(ne,se),se.set(ne,ce);}function br(ne,se){Bt(ne,se),se.add(ne);}function Bt(ne,se){if(se.has(ne))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Gt(ne,se){return ne.get(tr(ne,se))}function Tt(ne,se,ce){return ne.set(tr(ne,se),ce),ce}function tr(ne,se,ce){if(typeof ne=="function"?ne===se:ne.has(se))return arguments.length<3?se:ce;throw new TypeError("Private element is not present on this object")}function Ae(ne,se){return nt(ne)||Ie(ne,se)||jr(ne,se)||Oe()}function Oe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
414
+ `;await f.addScriptTag({content:h+(d.content??"")});}async function cM(f){try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");}catch{}try{await f.evaluate(({key:d,attr:g,max:h})=>{let p=window;if(p[Symbol.for(d)]||typeof MutationObserver>"u")return;let y={tool:null,log:[],overflow:0,left:new Map};y.ours=A=>{let w=A&&A.nodeType===1?A:A?A.parentElement:null;for(;w;){if(w.hasAttribute(g))return !0;w=w.parentElement;}return !1},y.take=A=>{if(y.tool)for(let w of A){if(w.type==="attributes"&&w.attributeName===g||y.ours(w.target))continue;let F=w.type==="childList"?Array.from(w.addedNodes).filter(_=>!y.ours(_)):[];if(w.type==="childList"&&!F.length&&Array.from(w.removedNodes).every(_=>_.nodeType===1&&_.hasAttribute(g)))continue;let R=F.map(_=>_.nodeName.toLowerCase()+(_.nodeType===1&&_.getAttribute("id")?"#"+_.getAttribute("id"):""));y.log.length<h?y.log.push({tool:y.tool,type:w.type,attr:w.attributeName,target:w.target.nodeName,added:R}):y.overflow++;}},y.obs=new MutationObserver(A=>y.take(A)),y.obs.observe(document,{subtree:!0,childList:!0,attributes:!0,characterData:!0,attributeOldValue:!0}),p[Symbol.for(d)]=y;},{key:ri,attr:Zr,max:uM});}catch{}}async function dM(f){try{return await f.evaluate(d=>{let g=window,h=g[Symbol.for(d)];return h?(h.take(h.obs.takeRecords()),h.obs.disconnect(),delete g[Symbol.for(d)],{log:h.log,overflow:h.overflow}):null},ri)}catch{return null}}function pM(f,d){if(!d||!f.length)return;let g=d.log;for(let h of f){let p=g.filter(y=>y.tool===h.tool).slice(0,fM).map(({type:y,attr:A,target:w,added:F})=>({type:y,attr:A,target:w,added:F}));p.length&&(h.mutations=p);}}async function mM(f,d,g,h,p={}){let y=null;try{y=await f.evaluate(({key:A,prov:w,name:F,attr:R,widget:_,fsk:x})=>{let S=window;try{let H=S[Symbol.for(x)];H&&document.removeEventListener("focusin",H.h,!0);let j=new WeakMap,W=J=>{let k=(new Error().stack||"").split(`
415
+ `).slice(1),v=/eval at evaluate/.test(k[0]||""),D=T=>/^\s*at /.test(T)&&!/UtilityScript|eval at evaluate/.test(T);j.set(J.target,v&&k.length>1&&k.slice(1).some(D)?"page":"ours");};document.addEventListener("focusin",W,!0),S[Symbol.for(x)]={src:j,h:W};}catch{}let E=S[Symbol.for(w)];E&&(E.take(E.obs.takeRecords()),E.tool=F);let M=document.activeElement,L=!!M&&M!==document.body&&M!==document.documentElement,N=[];try{let H=typeof getSelection=="function"?getSelection():null;N=H?Array.from({length:H.rangeCount},(j,W)=>H.getRangeAt(W).cloneRange()):[];}catch{}let q=Array.from(document.querySelectorAll(`[${R}]:not(script):not([${R}="${_}"])`));return S[Symbol.for(A)]={el:L?M:null,ranges:N,marked:new Set(q)},{scrollX:window.scrollX,scrollY:window.scrollY,hadFocus:L,injected:q.length}},{key:mg,prov:ri,name:d,attr:Zr,widget:Cu,fsk:hg});}catch{y=null;}try{return await h()}finally{y&&await hM(f,d,y,g,p);}}async function hM(f,d,g,h,p){let y={leaks:[]};try{y=await f.evaluate(({key:A,prov:w,snap:F,attr:R,widget:_,fsk:x})=>{let S=window,E=[],M=S[Symbol.for(x)];M&&(document.removeEventListener("focusin",M.h,!0),delete S[Symbol.for(x)]);let L=S[Symbol.for(A)],N=L?.el??null;try{delete S[Symbol.for(A)];}catch{}let q=S[Symbol.for(w)];q&&q.take(q.obs.takeRecords());let H=document.activeElement,j=H&&H!==document.body&&H!==document.documentElement?H:null,W=!!j&&j!==N&&M?.src.get(j)==="page";if(j!==N&&!W){E.push("activeElement"),q&&j&&q.left.set(j,q.tool);try{j?.blur?.();}catch{}try{N&&N.isConnected&&N.focus({preventScroll:!0});}catch{}}let J=null;try{J=document.querySelector(":focus-visible");}catch{}if(J&&J!==N&&!(W&&J===j)){E.push("focus-visible");try{J.blur();}catch{}}!W&&(Math.abs(window.scrollX-F.scrollX)>1||Math.abs(window.scrollY-F.scrollY)>1)&&(E.push("scroll"),window.scrollTo({left:F.scrollX,top:F.scrollY,behavior:"instant"}));try{let v=getSelection(),D=L?.ranges??[];if(v&&(v.rangeCount!==D.length||D.some((T,O)=>T.compareBoundaryPoints(Range.START_TO_START,v.getRangeAt(O))!==0||T.compareBoundaryPoints(Range.END_TO_END,v.getRangeAt(O))!==0))){E.push("selection"),v.removeAllRanges();for(let T of D)v.addRange(T);}}catch{}let k=Array.from(document.querySelectorAll(`[${R}]:not(script):not([${R}="${_}"])`));k.length!==F.injected&&E.push(`injected-nodes ${F.injected}->${k.length}`);for(let v of k)if(L?.marked&&!L.marked.has(v))try{v.remove();}catch{}return q&&(q.tool=null),{leaks:E}},{key:mg,prov:ri,snap:g,attr:Zr,widget:Cu,fsk:hg});}catch{}if(y.leaks.length){let A=`tooling:state-not-restored (${d}: ${y.leaks.join(", ")}) \u2014 restored by the scanner`;if(p.bugs?.push({tool:d,kind:"state-not-restored",detail:y.leaks.join(", ")}),p.strict)throw new Error(A);h.push(A);}}async function gM(f,d,g){if(!d.length)return d;let h=Array.from(new Set(d.map(y=>y.selector).filter(Boolean))),p={};try{p=await f.evaluate(({sels:y,own:A,prov:w,attr:F,widget:R})=>{let _=window[Symbol.for(w)],x={};for(let S of y){x[S]=null;let E=null;try{E=document.querySelector(S.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,""));}catch{E=null;}if(!E)continue;let M=E.closest(A);if(M&&M!==document.body&&M!==document.documentElement){let L=M.closest(`[${F}]`)?.getAttribute(F);x[S]={tool:L&&L!==R?L.split(":")[0]:null,why:`on node injected by ${L}`};continue}_&&_.left.has(E)&&(x[S]={tool:_.left.get(E),why:"on the element the tool left focused"});}return x},{sels:h,own:Ho,prov:ri,attr:Zr,widget:Cu});}catch{return d}return d.filter(y=>{let A=p[y.selector];return A?(A.tool&&g?.push({tool:A.tool,kind:"finding-dropped",detail:`${y.type} ${A.why}`,selector:y.selector}),false):true})}var Zr,Cu,Ho,ri,uM,fM,mg,hg,Hr=Sr(()=>{Zr="data-wa-injected",Cu="widget",Ho=`[${Zr}],[class*=asw-],[id*=webability-widget],[class*=webability-a11y]`,ri="wa.provenance",uM=500;fM=10;mg="wa.stateGuard.active",hg="wa.stateGuard.focusSource";});var _g=K3((Ag,ii)=>{(function f(d){var g=d,h=d.document,p=p||{};p.version="4.11.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return p}),(typeof ii>"u"?"undefined":fe(ii))==="object"&&ii.exports&&typeof f.toString=="function"&&(p.source="("+f.toString()+')(typeof window === "object" ? window : this);',ii.exports=p),typeof d.getComputedStyle=="function"&&(d.axe=p);var A=["precision","format","inGamut"],w=["space"],F=["algorithm"],R=["method"],_=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],S=["relatedNodes"],E=["node"],M=["variant"],L=["matches"],N=["chromium"],q=["noImplicit"],H=["noPresentational"],j=["node"],W=["environmentData"],J=["environmentData"],k=["environmentData"],v=["environmentData"],D=["environmentData"];function T(ne){return nt(ne)||kt(ne)||jr(ne)||Pe()}function O(ne){var se=typeof Map=="function"?new Map:void 0;return O=function(ve){if(ve===null||!B(ve))return ve;if(typeof ve!="function")throw new TypeError("Super expression must either be null or a function");if(se!==void 0){if(se.has(ve))return se.get(ve);se.set(ve,Xe);}function Xe(){return X(ve,arguments,ke(this).constructor)}return Xe.prototype=Object.create(ve.prototype,{constructor:{value:Xe,enumerable:false,writable:true,configurable:true}}),Be(Xe,ve)},O(ne)}function B(ne){try{return Function.toString.call(ne).indexOf("[native code]")!==-1}catch{return typeof ne=="function"}}function z(ne,se,ce){return (se=Jt(se))in ne?Object.defineProperty(ne,se,{value:ce,enumerable:true,configurable:true,writable:true}):ne[se]=ce,ne}function X(ne,se,ce){if(de())return Reflect.construct.apply(null,arguments);var ve=[null];ve.push.apply(ve,se);var Xe=new(ne.bind.apply(ne,ve));return ce&&Be(Xe,ce.prototype),Xe}function te(ne,se){if(ne==null)return {};var ce,ve,Xe=ee(ne,se);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(ne);for(ve=0;ve<at.length;ve++)ce=at[ve],se.indexOf(ce)===-1&&{}.propertyIsEnumerable.call(ne,ce)&&(Xe[ce]=ne[ce]);}return Xe}function ee(ne,se){if(ne==null)return {};var ce={};for(var ve in ne)if({}.hasOwnProperty.call(ne,ve)){if(se.indexOf(ve)!==-1)continue;ce[ve]=ne[ve];}return ce}function Z(ne,se,ce){return se=ke(se),ie(ne,de()?Reflect.construct(se,ce||[],ke(ne).constructor):se.apply(ne,ce))}function ie(ne,se){if(se&&(fe(se)=="object"||typeof se=="function"))return se;if(se!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return be(ne)}function be(ne){if(ne===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ne}function de(){try{var ne=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch{}return (de=function(){return !!ne})()}function ke(ne){return ke=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(se){return se.__proto__||Object.getPrototypeOf(se)},ke(ne)}function De(ne,se){if(typeof se!="function"&&se!==null)throw new TypeError("Super expression must either be null or a function");ne.prototype=Object.create(se&&se.prototype,{constructor:{value:ne,writable:true,configurable:true}}),Object.defineProperty(ne,"prototype",{writable:false}),se&&Be(ne,se);}function Be(ne,se){return Be=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ce,ve){return ce.__proto__=ve,ce},Be(ne,se)}function _e(){return _e=Object.assign?Object.assign.bind():function(ne){for(var se=1;se<arguments.length;se++){var ce=arguments[se];for(var ve in ce)({}).hasOwnProperty.call(ce,ve)&&(ne[ve]=ce[ve]);}return ne},_e.apply(null,arguments)}function Ee(ne){return He(ne)||kt(ne)||jr(ne)||bt()}function bt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
416
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(ne){if(typeof Symbol<"u"&&ne[Symbol.iterator]!=null||ne["@@iterator"]!=null)return Array.from(ne)}function He(ne){if(Array.isArray(ne))return vn(ne)}function Mt(ne,se,ce){Bt(ne,se),se.set(ne,ce);}function br(ne,se){Bt(ne,se),se.add(ne);}function Bt(ne,se){if(se.has(ne))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Gt(ne,se){return ne.get(tr(ne,se))}function Tt(ne,se,ce){return ne.set(tr(ne,se),ce),ce}function tr(ne,se,ce){if(typeof ne=="function"?ne===se:ne.has(se))return arguments.length<3?se:ce;throw new TypeError("Private element is not present on this object")}function Ae(ne,se){return nt(ne)||Ie(ne,se)||jr(ne,se)||Pe()}function Pe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
366
417
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ie(ne,se){var ce=ne==null?null:typeof Symbol<"u"&&ne[Symbol.iterator]||ne["@@iterator"];if(ce!=null){var ve,Xe,at,dt,yt=[],Qe=true,Ve=false;try{if(at=(ce=ce.call(ne)).next,se===0){if(Object(ce)!==ce)return;Qe=!1;}else for(;!(Qe=(ve=at.call(ce)).done)&&(yt.push(ve.value),yt.length!==se);Qe=!0);}catch(rr){Ve=true,Xe=rr;}finally{try{if(!Qe&&ce.return!=null&&(dt=ce.return(),Object(dt)!==dt))return}finally{if(Ve)throw Xe}}return yt}}function nt(ne){if(Array.isArray(ne))return ne}function _t(ne,se){if(!(ne instanceof se))throw new TypeError("Cannot call a class as a function")}function st(ne,se){for(var ce=0;ce<se.length;ce++){var ve=se[ce];ve.enumerable=ve.enumerable||false,ve.configurable=true,"value"in ve&&(ve.writable=true),Object.defineProperty(ne,Jt(ve.key),ve);}}function lt(ne,se,ce){return se&&st(ne.prototype,se),ce&&st(ne,ce),Object.defineProperty(ne,"prototype",{writable:false}),ne}function Jt(ne){var se=Vr(ne,"string");return fe(se)=="symbol"?se:se+""}function Vr(ne,se){if(fe(ne)!="object"||!ne)return ne;var ce=ne[Symbol.toPrimitive];if(ce!==void 0){var ve=ce.call(ne,se);if(fe(ve)!="object")return ve;throw new TypeError("@@toPrimitive must return a primitive value.")}return (se==="string"?String:Number)(ne)}function it(ne,se){var ce=typeof Symbol<"u"&&ne[Symbol.iterator]||ne["@@iterator"];if(!ce){if(Array.isArray(ne)||(ce=jr(ne))||se){ce&&(ne=ce);var ve=0,Xe=function(){};return {s:Xe,n:function(){return ve>=ne.length?{done:true}:{done:false,value:ne[ve++]}},e:function(Ve){throw Ve},f:Xe}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
367
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var at,dt=true,yt=false;return {s:function(){ce=ce.call(ne);},n:function(){var Ve=ce.next();return dt=Ve.done,Ve},e:function(Ve){yt=true,at=Ve;},f:function(){try{dt||ce.return==null||ce.return();}finally{if(yt)throw at}}}}function jr(ne,se){if(ne){if(typeof ne=="string")return vn(ne,se);var ce={}.toString.call(ne).slice(8,-1);return ce==="Object"&&ne.constructor&&(ce=ne.constructor.name),ce==="Map"||ce==="Set"?Array.from(ne):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?vn(ne,se):void 0}}function vn(ne,se){(se==null||se>ne.length)&&(se=ne.length);for(var ce=0,ve=Array(se);ce<se;ce++)ve[ce]=ne[ce];return ve}function fe(ne){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},fe(ne)}((function(ne,se,ce,ve,Xe,at,dt,yt,Qe,Ve,rr){var nr=Object.create,$r=Object.defineProperty,la=Object.getPrototypeOf,ov=Object.prototype.hasOwnProperty,sv=Object.getOwnPropertyNames,lv=Object.getOwnPropertyDescriptor,uv=function(t,r,n){return r in t?$r(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},cv=function(t){return $r(t,"__esModule",{value:true})},W=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},yr=function(t,r){for(var n in r)$r(t,n,{get:r[n],enumerable:true});},dv=function(t,r,n){if(r&&fe(r)==="object"||typeof r=="function"){var a=it(sv(r)),i;try{var o=function(){var l=i.value;!ov.call(t,l)&&l!=="default"&&$r(t,l,{get:function(){return r[l]},enumerable:!(n=lv(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},Tr=function(t){return dv(cv($r(t!=null?nr(la(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},$u=function(t,r,n){return uv(t,fe(r)!=="symbol"?r+"":r,n),n},fv=W(function(e,t){(function(r,n){fe(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(oe){var me=fe(oe);return oe!==null&&(me==="object"||me==="function")}function n(oe){return typeof oe=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(me){return Object.prototype.toString.call(me)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(me,we){ae[o]=me,ae[o+1]=we,o+=2,o===2&&(l?l(le):Ce());};function c(oe){l=oe;}function m(oe){u=oe;}var b=typeof d<"u"?d:void 0,C=b||{},I=C.MutationObserver||C.WebKitMutationObserver,O=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",V=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function $(){return function(){return process.nextTick(le)}}function G(){return typeof s<"u"?function(){s(le);}:Q()}function Y(){var oe=0,me=new I(le),we=h.createTextNode("");return me.observe(we,{characterData:true}),function(){we.data=oe=++oe%2;}}function K(){var oe=new MessageChannel;return oe.port1.onmessage=le,function(){return oe.port2.postMessage(0)}}function Q(){var oe=setTimeout;return function(){return oe(le,1)}}var ae=new Array(1e3);function le(){for(var oe=0;oe<o;oe+=2){var me=ae[oe],we=ae[oe+1];me(we),ae[oe]=void 0,ae[oe+1]=void 0;}o=0;}function pe(){try{var oe=Function("return this")().require("vertx");return s=oe.runOnLoop||oe.runOnContext,G()}catch{return Q()}}var Ce=void 0;O?Ce=$():I?Ce=Y():V?Ce=K():b===void 0?Ce=pe():Ce=Q();function ue(oe,me){var we=this,Le=new this.constructor(Se);Le[xe]===void 0&&Dt(Le);var We=we._state;if(We){var et=arguments[We-1];u(function(){return vt(We,Le,et,we._result)});}else rt(we,Le,oe,me);return Le}function ge(oe){var me=this;if(oe&&fe(oe)==="object"&&oe.constructor===me)return oe;var we=new me(Se);return Re(we,oe),we}var xe=Math.random().toString(36).substring(2);function Se(){}var qe=void 0,Ue=1,Me=2;function $e(){return new TypeError("You cannot resolve a promise with itself")}function ye(){return new TypeError("A promises callback cannot return that same promise.")}function Ne(oe,me,we,Le){try{oe.call(me,we,Le);}catch(We){return We}}function re(oe,me,we){u(function(Le){var We=false,et=Ne(we,me,function(Ht){We||(We=true,me!==Ht?Re(Le,Ht):Fe(Le,Ht));},function(Ht){We||(We=true,Pe(Le,Ht));},"Settle: "+(Le._label||" unknown promise"));!We&&et&&(We=true,Pe(Le,et));},oe);}function Te(oe,me){me._state===Ue?Fe(oe,me._result):me._state===Me?Pe(oe,me._result):rt(me,void 0,function(we){return Re(oe,we)},function(we){return Pe(oe,we)});}function he(oe,me,we){me.constructor===oe.constructor&&we===ue&&me.constructor.resolve===ge?Te(oe,me):we===void 0?Fe(oe,me):n(we)?re(oe,me,we):Fe(oe,me);}function Re(oe,me){if(oe===me)Pe(oe,$e());else if(r(me)){var we=void 0;try{we=me.then;}catch(Le){Pe(oe,Le);return}he(oe,me,we);}else Fe(oe,me);}function Ge(oe){oe._onerror&&oe._onerror(oe._result),mt(oe);}function Fe(oe,me){oe._state===qe&&(oe._result=me,oe._state=Ue,oe._subscribers.length!==0&&u(mt,oe));}function Pe(oe,me){oe._state===qe&&(oe._state=Me,oe._result=me,u(Ge,oe));}function rt(oe,me,we,Le){var We=oe._subscribers,et=We.length;oe._onerror=null,We[et]=me,We[et+Ue]=we,We[et+Me]=Le,et===0&&oe._state&&u(mt,oe);}function mt(oe){var me=oe._subscribers,we=oe._state;if(me.length!==0){for(var Le=void 0,We=void 0,et=oe._result,Ht=0;Ht<me.length;Ht+=3)Le=me[Ht],We=me[Ht+we],Le?vt(we,Le,We,et):We(et);oe._subscribers.length=0;}}function vt(oe,me,we,Le){var We=n(we),et=void 0,Ht=void 0,Qn=true;if(We){try{et=we(Le);}catch(No){Qn=false,Ht=No;}if(me===et){Pe(me,ye());return}}else et=Le;me._state!==qe||(We&&Qn?Re(me,et):Qn===false?Pe(me,Ht):oe===Ue?Fe(me,et):oe===Me&&Pe(me,et));}function Ft(oe,me){try{me(function(Le){Re(oe,Le);},function(Le){Pe(oe,Le);});}catch(we){Pe(oe,we);}}var Nt=0;function Ot(){return Nt++}function Dt(oe){oe[xe]=Nt++,oe._state=void 0,oe._result=void 0,oe._subscribers=[];}function Zn(){return new Error("Array Methods must be provided an Array")}var zt=(function(){function oe(me,we){this._instanceConstructor=me,this.promise=new me(Se),this.promise[xe]||Dt(this.promise),i(we)?(this.length=we.length,this._remaining=we.length,this._result=new Array(this.length),this.length===0?Fe(this.promise,this._result):(this.length=this.length||0,this._enumerate(we),this._remaining===0&&Fe(this.promise,this._result))):Pe(this.promise,Zn());}return oe.prototype._enumerate=function(we){for(var Le=0;this._state===qe&&Le<we.length;Le++)this._eachEntry(we[Le],Le);},oe.prototype._eachEntry=function(we,Le){var We=this._instanceConstructor,et=We.resolve;if(et===ge){var Ht=void 0,Qn=void 0,No=false;try{Ht=we.then;}catch(xu){No=true,Qn=xu;}if(Ht===ue&&we._state!==qe)this._settledAt(we._state,Le,we._result);else if(typeof Ht!="function")this._remaining--,this._result[Le]=we;else if(We===St){var wu=new We(Se);No?Pe(wu,Qn):he(wu,we,Ht),this._willSettleAt(wu,Le);}else this._willSettleAt(new We(function(xu){return xu(we)}),Le);}else this._willSettleAt(et(we),Le);},oe.prototype._settledAt=function(we,Le,We){var et=this.promise;et._state===qe&&(this._remaining--,we===Me?Pe(et,We):this._result[Le]=We),this._remaining===0&&Fe(et,this._result);},oe.prototype._willSettleAt=function(we,Le){var We=this;rt(we,void 0,function(et){return We._settledAt(Ue,Le,et)},function(et){return We._settledAt(Me,Le,et)});},oe})();function At(oe){return new zt(this,oe).promise}function qt(oe){var me=this;return i(oe)?new me(function(we,Le){for(var We=oe.length,et=0;et<We;et++)me.resolve(oe[et]).then(we,Le);}):new me(function(we,Le){return Le(new TypeError("You must pass an array to race."))})}function It(oe){var me=this,we=new me(Se);return Pe(we,oe),we}function Xt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Yt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var St=(function(){function oe(me){this[xe]=Ot(),this._result=this._state=void 0,this._subscribers=[],Se!==me&&(typeof me!="function"&&Xt(),this instanceof oe?Ft(this,me):Yt());}return oe.prototype.catch=function(we){return this.then(null,we)},oe.prototype.finally=function(we){var Le=this,We=Le.constructor;return n(we)?Le.then(function(et){return We.resolve(we()).then(function(){return et})},function(et){return We.resolve(we()).then(function(){throw et})}):Le.then(we,we)},oe})();St.prototype.then=ue,St.all=At,St.race=qt,St.resolve=ge,St.reject=It,St._setScheduler=c,St._setAsap=m,St._asap=u;function ht(){var oe=void 0;if(typeof g<"u")oe=g;else if(typeof self<"u")oe=self;else try{oe=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var me=oe.Promise;if(me){var we=null;try{we=Object.prototype.toString.call(me.resolve());}catch{}if(we==="[object Promise]"&&!me.cast)return}oe.Promise=St;}return St.polyfill=ht,St.Promise=St,St});}),pv=W(function(e){var t=1e5,r=(function(){var re=Object.prototype.toString,Te=Object.prototype.hasOwnProperty;return {Class:function(Re){return re.call(Re).replace(/^\[object *|\]$/g,"")},HasProperty:function(Re,Ge){return Ge in Re},HasOwnProperty:function(Re,Ge){return Te.call(Re,Ge)},IsCallable:function(Re){return typeof Re=="function"},ToInt32:function(Re){return Re>>0},ToUint32:function(Re){return Re>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(re,Te,he){return re<Te?Te:re>he?he:re}var m=Object.getOwnPropertyNames||function(re){if(re!==Object(re))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Te=[],he;for(he in re)r.HasOwnProperty(re,he)&&Te.push(he);return Te},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(Te,he,Re){if(!Te===Object(Te))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Re,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Te,he,Re.get),r.HasProperty(Re,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Te,he,Re.set),r.HasProperty(Re,"value")&&(Te[he]=Re.value),Te};function C(re){if(m&&b){var Te=m(re),he;for(he=0;he<Te.length;he+=1)b(re,Te[he],{value:re[Te[he]],writable:false,enumerable:false,configurable:false});}}function I(re){if(!b)return;if(re.length>t)throw new RangeError("Array too large for polyfill");function Te(Re){b(re,Re,{get:function(){return re._getter(Re)},set:function(Fe){re._setter(Re,Fe);},enumerable:true,configurable:false});}var he;for(he=0;he<re.length;he+=1)Te(he);}function O(re,Te){var he=32-Te;return re<<he>>he}function V(re,Te){var he=32-Te;return re<<he>>>he}function $(re){return [re&255]}function G(re){return O(re[0],8)}function Y(re){return [re&255]}function K(re){return V(re[0],8)}function Q(re){return re=u(Number(re)),[re<0?0:re>255?255:re&255]}function ae(re){return [re>>8&255,re&255]}function le(re){return O(re[0]<<8|re[1],16)}function pe(re){return [re>>8&255,re&255]}function Ce(re){return V(re[0]<<8|re[1],16)}function ue(re){return [re>>24&255,re>>16&255,re>>8&255,re&255]}function ge(re){return O(re[0]<<24|re[1]<<16|re[2]<<8|re[3],32)}function xe(re){return [re>>24&255,re>>16&255,re>>8&255,re&255]}function Se(re){return V(re[0]<<24|re[1]<<16|re[2]<<8|re[3],32)}function qe(re,Te,he){var Re=(1<<Te-1)-1,Ge,Fe,Pe,rt,mt,vt,Ft;function Nt(Ot){var Dt=i(Ot),Zn=Ot-Dt;return Zn<.5?Dt:Zn>.5||Dt%2?Dt+1:Dt}for(re!==re?(Fe=(1<<Te)-1,Pe=l(2,he-1),Ge=0):re===1/0||re===-1/0?(Fe=(1<<Te)-1,Pe=0,Ge=re<0?1:0):re===0?(Fe=0,Pe=0,Ge=1/re===-1/0?1:0):(Ge=re<0,re=a(re),re>=l(2,1-Re)?(Fe=s(i(o(re)/n),1023),Pe=Nt(re/l(2,Fe)*l(2,he)),Pe/l(2,he)>=2&&(Fe=Fe+1,Pe=1),Fe>Re?(Fe=(1<<Te)-1,Pe=0):(Fe=Fe+Re,Pe=Pe-l(2,he))):(Fe=0,Pe=Nt(re/l(2,1-Re-he)))),mt=[],rt=he;rt;rt-=1)mt.push(Pe%2?1:0),Pe=i(Pe/2);for(rt=Te;rt;rt-=1)mt.push(Fe%2?1:0),Fe=i(Fe/2);for(mt.push(Ge?1:0),mt.reverse(),vt=mt.join(""),Ft=[];vt.length;)Ft.push(parseInt(vt.substring(0,8),2)),vt=vt.substring(8);return Ft}function Ue(re,Te,he){var Re=[],Ge,Fe,Pe,rt,mt,vt,Ft,Nt;for(Ge=re.length;Ge;Ge-=1)for(Pe=re[Ge-1],Fe=8;Fe;Fe-=1)Re.push(Pe%2?1:0),Pe=Pe>>1;return Re.reverse(),rt=Re.join(""),mt=(1<<Te-1)-1,vt=parseInt(rt.substring(0,1),2)?-1:1,Ft=parseInt(rt.substring(1,1+Te),2),Nt=parseInt(rt.substring(1+Te),2),Ft===(1<<Te)-1?Nt===0?vt*(1/0):NaN:Ft>0?vt*l(2,Ft-mt)*(1+Nt/l(2,he)):Nt!==0?vt*l(2,-(mt-1))*(Nt/l(2,he)):vt<0?-0:0}function Me(re){return Ue(re,11,52)}function $e(re){return qe(re,11,52)}function ye(re){return Ue(re,8,23)}function Ne(re){return qe(re,8,23)}((function(){function re(Ot){if(Ot=r.ToInt32(Ot),Ot<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Ot,this._bytes=[],this._bytes.length=Ot;var Dt;for(Dt=0;Dt<this.byteLength;Dt+=1)this._bytes[Dt]=0;C(this);}e.ArrayBuffer=e.ArrayBuffer||re;function Te(){}function he(Ot,Dt,Zn){var zt;return zt=function(qt,It,Xt){var Yt,St,ht,oe;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Xt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new re(this.byteLength),this.byteOffset=0;}else if(fe(arguments[0])==="object"&&arguments[0].constructor===zt)for(Yt=arguments[0],this.length=Yt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new re(this.byteLength),this.byteOffset=0,ht=0;ht<this.length;ht+=1)this._setter(ht,Yt._getter(ht));else if(fe(arguments[0])==="object"&&!(arguments[0]instanceof re||r.Class(arguments[0])==="ArrayBuffer"))for(St=arguments[0],this.length=r.ToUint32(St.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new re(this.byteLength),this.byteOffset=0,ht=0;ht<this.length;ht+=1)oe=St[ht],this._setter(ht,Number(oe));else if(fe(arguments[0])==="object"&&(arguments[0]instanceof re||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=qt,this.byteOffset=r.ToUint32(It),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(Xt),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=zt,C(this),I(this);},zt.prototype=new Te,zt.prototype.BYTES_PER_ELEMENT=Ot,zt.prototype._pack=Dt,zt.prototype._unpack=Zn,zt.BYTES_PER_ELEMENT=Ot,zt.prototype._getter=function(At){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(At=r.ToUint32(At),!(At>=this.length)){for(var qt=[],It=0,Xt=this.byteOffset+At*this.BYTES_PER_ELEMENT;It<this.BYTES_PER_ELEMENT;It+=1,Xt+=1)qt.push(this.buffer._bytes[Xt]);return this._unpack(qt)}},zt.prototype.get=zt.prototype._getter,zt.prototype._setter=function(At,qt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(At=r.ToUint32(At),At<this.length){var It=this._pack(qt),Xt,Yt;for(Xt=0,Yt=this.byteOffset+At*this.BYTES_PER_ELEMENT;Xt<this.BYTES_PER_ELEMENT;Xt+=1,Yt+=1)this.buffer._bytes[Yt]=It[Xt];}},zt.prototype.set=function(At,qt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var It,Xt,Yt,St,ht,oe,me,we,Le,We;if(fe(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(It=arguments[0],Yt=r.ToUint32(arguments[1]),Yt+It.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(we=this.byteOffset+Yt*this.BYTES_PER_ELEMENT,Le=It.length*this.BYTES_PER_ELEMENT,It.buffer===this.buffer){for(We=[],ht=0,oe=It.byteOffset;ht<Le;ht+=1,oe+=1)We[ht]=It.buffer._bytes[oe];for(ht=0,me=we;ht<Le;ht+=1,me+=1)this.buffer._bytes[me]=We[ht];}else for(ht=0,oe=It.byteOffset,me=we;ht<Le;ht+=1,oe+=1,me+=1)this.buffer._bytes[me]=It.buffer._bytes[oe];}else if(fe(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Xt=arguments[0],St=r.ToUint32(Xt.length),Yt=r.ToUint32(arguments[1]),Yt+St>this.length)throw new RangeError("Offset plus length of array is out of range");for(ht=0;ht<St;ht+=1)oe=Xt[ht],this._setter(Yt+ht,Number(oe));}else throw new TypeError("Unexpected argument type(s)")},zt.prototype.subarray=function(At,qt){At=r.ToInt32(At),qt=r.ToInt32(qt),arguments.length<1&&(At=0),arguments.length<2&&(qt=this.length),At<0&&(At=this.length+At),qt<0&&(qt=this.length+qt),At=c(At,0,this.length),qt=c(qt,0,this.length);var It=qt-At;return It<0&&(It=0),new this.constructor(this.buffer,this.byteOffset+At*this.BYTES_PER_ELEMENT,It)},zt}var Re=he(1,$,G),Ge=he(1,Y,K),Fe=he(1,Q,K),Pe=he(2,ae,le),rt=he(2,pe,Ce),mt=he(4,ue,ge),vt=he(4,xe,Se),Ft=he(4,Ne,ye),Nt=he(8,$e,Me);e.Int8Array=e.Int8Array||Re,e.Uint8Array=e.Uint8Array||Ge,e.Uint8ClampedArray=e.Uint8ClampedArray||Fe,e.Int16Array=e.Int16Array||Pe,e.Uint16Array=e.Uint16Array||rt,e.Int32Array=e.Int32Array||mt,e.Uint32Array=e.Uint32Array||vt,e.Float32Array=e.Float32Array||Ft,e.Float64Array=e.Float64Array||Nt;}))(),(function(){function re(Fe,Pe){return r.IsCallable(Fe.get)?Fe.get(Pe):Fe[Pe]}var Te=(function(){var Fe=new e.Uint16Array([4660]),Pe=new e.Uint8Array(Fe.buffer);return re(Pe,0)===18})();function he(Fe,Pe,rt){if(arguments.length===0)Fe=new e.ArrayBuffer(0);else if(!(Fe instanceof e.ArrayBuffer||r.Class(Fe)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Fe||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Pe),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(rt),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");C(this);}function Re(Fe){return function(Pe,rt){if(Pe=r.ToUint32(Pe),Pe+Fe.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Pe+=this.byteOffset;var mt=new e.Uint8Array(this.buffer,Pe,Fe.BYTES_PER_ELEMENT),vt=[],Ft;for(Ft=0;Ft<Fe.BYTES_PER_ELEMENT;Ft+=1)vt.push(re(mt,Ft));return !!rt==!!Te&&vt.reverse(),re(new Fe(new e.Uint8Array(vt).buffer),0)}}he.prototype.getUint8=Re(e.Uint8Array),he.prototype.getInt8=Re(e.Int8Array),he.prototype.getUint16=Re(e.Uint16Array),he.prototype.getInt16=Re(e.Int16Array),he.prototype.getUint32=Re(e.Uint32Array),he.prototype.getInt32=Re(e.Int32Array),he.prototype.getFloat32=Re(e.Float32Array),he.prototype.getFloat64=Re(e.Float64Array);function Ge(Fe){return function(Pe,rt,mt){if(Pe=r.ToUint32(Pe),Pe+Fe.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var vt=new Fe([rt]),Ft=new e.Uint8Array(vt.buffer),Nt=[],Ot,Dt;for(Ot=0;Ot<Fe.BYTES_PER_ELEMENT;Ot+=1)Nt.push(re(Ft,Ot));!!mt==!!Te&&Nt.reverse(),Dt=new e.Uint8Array(this.buffer,Pe,Fe.BYTES_PER_ELEMENT),Dt.set(Nt);}}he.prototype.setUint8=Ge(e.Uint8Array),he.prototype.setInt8=Ge(e.Int8Array),he.prototype.setUint16=Ge(e.Uint16Array),he.prototype.setInt16=Ge(e.Int16Array),he.prototype.setUint32=Ge(e.Uint32Array),he.prototype.setInt32=Ge(e.Int32Array),he.prototype.setFloat32=Ge(e.Float32Array),he.prototype.setFloat64=Ge(e.Float64Array),e.DataView=e.DataView||he;})();}),mv=W(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),a=function(s,l,u){n?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var m=c[this._id];return m&&m[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var m=c[this._id];if(m&&m[0]===c)return m[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var m=c[this._id];return !!(m&&m[0]===c)}),a(o.prototype,"set",function(c,m){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var b=c[this._id];return b&&b[0]===c?(b[1]=m,this):(a(c,this._id,[c,m]),this)});function s(c,m){if(!i(c)||!r.call(c,"_id"))throw new TypeError(m+" method called on incompatible receiver "+fe(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return a(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof d<"u"?d:typeof g<"u"?g:e);}),wr=W(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":fe(globalThis))=="object"&&globalThis)||r((typeof d>"u"?"undefined":fe(d))=="object"&&d)||r((typeof self>"u"?"undefined":fe(self))=="object"&&self)||r((typeof g>"u"?"undefined":fe(g))=="object"&&g)||r(fe(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),xr=W(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),si=W(function(e,t){var r=xr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),hv=W(function(e,t){var r=si(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":fe(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),cr=W(function(e,t){var r=si(),n=Function.prototype,a=n.call,i=r&&n.bind.bind(a,a);t.exports=r?i:function(o){return function(){return a.apply(o,arguments)}};}),li=W(function(e,t){var r=cr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),zu=W(function(e,t){var r=li(),n=cr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Zt=W(function(e,t){var r=(typeof h>"u"?"undefined":fe(h))=="object"&&h.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),Rr=W(function(e,t){var r=xr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),bn=W(function(e,t){var r=si(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Gu=W(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),ui=W(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),gv=W(function(e,t){var r=cr(),n=xr(),a=li(),i=Object,o=r("".split);t.exports=n(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return a(s)==="String"?o(s,""):i(s)}:i;}),Xo=W(function(e,t){t.exports=function(r){return r==null};}),ci=W(function(e,t){var r=Xo(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),ua=W(function(e,t){var r=gv(),n=ci();t.exports=function(a){return r(n(a))};}),Qr=W(function(e,t){var r=Zt();t.exports=function(n){return fe(n)=="object"?n!==null:r(n)};}),ca=W(function(e,t){t.exports={};}),Yo=W(function(e,t){var r=ca(),n=wr(),a=Zt(),i=function(s){return a(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(n[o]):r[o]&&r[o][s]||n[o]&&n[o][s]};}),vv=W(function(e,t){var r=cr();t.exports=r({}.isPrototypeOf);}),bv=W(function(e,t){var r=wr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),yv=W(function(e,t){var r=wr(),n=bv(),a=r.process,i=r.Deno,o=a&&a.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Uu=W(function(e,t){var r=yv(),n=xr(),a=wr(),i=a.String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),Wu=W(function(e,t){var r=Uu();t.exports=r&&!Symbol.sham&&fe(Symbol.iterator)=="symbol";}),Xu=W(function(e,t){var r=Yo(),n=Zt(),a=vv(),i=Wu(),o=Object;t.exports=i?function(s){return fe(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),Yu=W(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),di=W(function(e,t){var r=Zt(),n=Yu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),Ko=W(function(e,t){var r=di(),n=Xo();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),wv=W(function(e,t){var r=bn(),n=Zt(),a=Qr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&n(l=o.toString)&&!a(u=r(l,o))||n(l=o.valueOf)&&!a(u=r(l,o))||s!=="string"&&n(l=o.toString)&&!a(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Jo=W(function(e,t){t.exports=true;}),xv=W(function(e,t){var r=wr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),fi=W(function(e,t){var r=Jo(),n=wr(),a=xv(),i="__core-js_shared__",o=t.exports=n[i]||a(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"});}),Ku=W(function(e,t){var r=fi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Zo=W(function(e,t){var r=ci(),n=Object;t.exports=function(a){return n(r(a))};}),zr=W(function(e,t){var r=cr(),n=Zo(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Ju=W(function(e,t){var r=cr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Gr=W(function(e,t){var r=wr(),n=Ku(),a=zr(),i=Ju(),o=Uu(),s=Wu(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(m){return a(u,m)||(u[m]=o&&a(l,m)?l[m]:c("Symbol."+m)),u[m]};}),Dv=W(function(e,t){var r=bn(),n=Qr(),a=Xu(),i=Ko(),o=wv(),s=Gr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,m){if(!n(c)||a(c))return c;var b=i(c,u),C;if(b){if(m===void 0&&(m="default"),C=r(b,c,m),!n(C)||a(C))return C;throw new l("Can't convert object to primitive value")}return m===void 0&&(m="number"),o(c,m)};}),Zu=W(function(e,t){var r=Dv(),n=Xu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Qu=W(function(e,t){var r=wr(),n=Qr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),ec=W(function(e,t){var r=Rr(),n=xr(),a=Qu();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Av=W(function(e){var t=Rr(),r=bn(),n=Gu(),a=ui(),i=ua(),o=Zu(),s=zr(),l=ec(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(m,b){if(m=i(m),b=o(b),l)try{return u(m,b)}catch{}if(s(m,b))return a(!r(n.f,m,b),m[b])};}),_v=W(function(e,t){var r=xr(),n=Zt(),a=/#|\.prototype\./,i=function(m,b){var C=s[o(m)];return C===u?true:C===l?false:n(b)?r(b):!!b},o=i.normalize=function(c){return String(c).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),tc=W(function(e,t){var r=zu(),n=di(),a=si(),i=r(r.bind);t.exports=function(o,s){return n(o),s===void 0?o:a?i(o,s):function(){return o.apply(s,arguments)}};}),rc=W(function(e,t){var r=Rr(),n=xr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),Mn=W(function(e,t){var r=Qr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),pi=W(function(e){var t=Rr(),r=ec(),n=rc(),a=Mn(),i=Zu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",m="writable";e.f=t?n?function(C,I,O){if(a(C),I=i(I),a(O),typeof C=="function"&&I==="prototype"&&"value"in O&&m in O&&!O[m]){var V=l(C,I);V&&V[m]&&(C[I]=O.value,O={configurable:c in O?O[c]:V[c],enumerable:u in O?O[u]:V[u],writable:false});}return s(C,I,O)}:s:function(C,I,O){if(a(C),I=i(I),a(O),r)try{return s(C,I,O)}catch{}if("get"in O||"set"in O)throw new o("Accessors not supported");return "value"in O&&(C[I]=O.value),C};}),da=W(function(e,t){var r=Rr(),n=pi(),a=ui();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),mi=W(function(e,t){var r=wr(),n=hv(),a=zu(),i=Zt(),o=Av().f,s=_v(),l=ca(),u=tc(),c=da(),m=zr();fi();var b=function(I){var O=function($,G,Y){if(this instanceof O){switch(arguments.length){case 0:return new I;case 1:return new I($);case 2:return new I($,G)}return new I($,G,Y)}return n(I,this,arguments)};return O.prototype=I.prototype,O};t.exports=function(C,I){var O=C.target,V=C.global,$=C.stat,G=C.proto,Y=V?r:$?r[O]:r[O]&&r[O].prototype,K=V?l:l[O]||c(l,O,{})[O],Q=K.prototype,ae,le,pe,Ce,ue,ge,xe,Se,qe;for(Ce in I)ae=s(V?Ce:O+($?".":"#")+Ce,C.forced),le=!ae&&Y&&m(Y,Ce),ge=K[Ce],le&&(C.dontCallGetSet?(qe=o(Y,Ce),xe=qe&&qe.value):xe=Y[Ce]),ue=le&&xe?xe:I[Ce],!(!ae&&!G&&fe(ge)==fe(ue))&&(C.bind&&le?Se=u(ue,r):C.wrap&&le?Se=b(ue):G&&i(ue)?Se=a(ue):Se=ue,(C.sham||ue&&ue.sham||ge&&ge.sham)&&c(Se,"sham",true),c(K,Ce,Se),G&&(pe=O+"Prototype",m(l,pe)||c(l,pe,{}),c(l[pe],Ce,ue),C.real&&Q&&(ae||!Q[Ce])&&c(Q,Ce,ue)));};}),Ev=W(function(){var e=mi(),t=zr();e({target:"Object",stat:true},{hasOwn:t});}),Cv=W(function(e,t){Ev();var r=ca();t.exports=r.Object.hasOwn;}),Sv=W(function(e,t){var r=Cv();t.exports=r;}),kv=W(function(e,t){var r=Sv();t.exports=r;}),Qo=W(function(e,t){var r=Ku(),n=Ju(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),Tv=W(function(e,t){var r=xr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),es=W(function(e,t){var r=zr(),n=Zt(),a=Zo(),i=Qo(),o=Tv(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var m=a(c);if(r(m,s))return m[s];var b=m.constructor;return n(b)&&m instanceof b?b.prototype:m instanceof l?u:null};}),Rv=W(function(e,t){var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?n:r)(o)};}),ts=W(function(e,t){var r=Rv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),Fv=W(function(e,t){var r=ts(),n=Math.max,a=Math.min;t.exports=function(i,o){var s=r(i);return s<0?n(s+o,0):a(s,o)};}),Iv=W(function(e,t){var r=ts(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),nc=W(function(e,t){var r=Iv();t.exports=function(n){return r(n.length)};}),Mv=W(function(e,t){var r=ua(),n=Fv(),a=nc(),i=function(s){return function(l,u,c){var m=r(l),b=a(m);if(b===0)return !s&&-1;var C=n(c,b),I;if(s&&u!==u){for(;b>C;)if(I=m[C++],I!==I)return true}else for(;b>C;C++)if((s||C in m)&&m[C]===u)return s||C||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),rs=W(function(e,t){t.exports={};}),Lv=W(function(e,t){var r=cr(),n=zr(),a=ua(),i=Mv().indexOf,o=rs(),s=r([].push);t.exports=function(l,u){var c=a(l),m=0,b=[],C;for(C in c)!n(o,C)&&n(c,C)&&s(b,C);for(;u.length>m;)n(c,C=u[m++])&&(~i(b,C)||s(b,C));return b};}),ac=W(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),ic=W(function(e,t){var r=Lv(),n=ac();t.exports=Object.keys||function(i){return r(i,n)};}),Pv=W(function(e,t){var r=Rr(),n=xr(),a=cr(),i=es(),o=ic(),s=ua(),l=Gu().f,u=a(l),c=a([].push),m=r&&n(function(){var C=Object.create(null);return C[2]=2,!u(C,2)}),b=function(I){return function(O){for(var V=s(O),$=o(V),G=m&&i(V)===null,Y=$.length,K=0,Q=[],ae;Y>K;)ae=$[K++],(!r||(G?ae in V:u(V,ae)))&&c(Q,I?[ae,V[ae]]:V[ae]);return Q}};t.exports={entries:b(true),values:b(false)};}),Ov=W(function(){var e=mi(),t=Pv().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),Nv=W(function(e,t){Ov();var r=ca();t.exports=r.Object.values;}),qv=W(function(e,t){var r=Nv();t.exports=r;}),Bv=W(function(e,t){var r=qv();t.exports=r;}),ns=W(function(e,t){var r=Gr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),hi=W(function(e,t){var r=ns(),n=Zt(),a=li(),i=Gr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(m,b){try{return m[b]}catch{}};t.exports=r?a:function(c){var m,b,C;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(m=s(c),o))=="string"?b:l?a(m):(C=a(m))==="Object"&&n(m.callee)?"Arguments":C};}),oc=W(function(e,t){var r=hi(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),Hv=W(function(e,t){var r=cr(),n=ts(),a=oc(),i=ci(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(m){return function(b,C){var I=a(i(b)),O=n(C),V=I.length,$,G;return O<0||O>=V?m?"":void 0:($=s(I,O),$<55296||$>56319||O+1===V||(G=s(I,O+1))<56320||G>57343?m?o(I,O):$:m?l(I,O,O+2):($-55296<<10)+(G-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Vv=W(function(e,t){var r=wr(),n=Zt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),jv=W(function(e,t){var r=Vv(),n=wr(),a=Qr(),i=da(),o=zr(),s=fi(),l=Qo(),u=rs(),c="Object already initialized",m=n.TypeError,b=n.WeakMap,C,I,O,V=function(Q){return O(Q)?I(Q):C(Q,{})},$=function(Q){return function(ae){var le;if(!a(ae)||(le=I(ae)).type!==Q)throw new m("Incompatible receiver, "+Q+" required");return le}};r||s.state?(G=s.state||(s.state=new b),G.get=G.get,G.has=G.has,G.set=G.set,C=function(Q,ae){if(G.has(Q))throw new m(c);return ae.facade=Q,G.set(Q,ae),ae},I=function(Q){return G.get(Q)||{}},O=function(Q){return G.has(Q)}):(Y=l("state"),u[Y]=true,C=function(Q,ae){if(o(Q,Y))throw new m(c);return ae.facade=Q,i(Q,Y,ae),ae},I=function(Q){return o(Q,Y)?Q[Y]:{}},O=function(Q){return o(Q,Y)});var G,Y;t.exports={set:C,get:I,has:O,enforce:V,getterFor:$};}),$v=W(function(e,t){var r=Rr(),n=zr(),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=n(a,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),zv=W(function(e){var t=Rr(),r=rc(),n=pi(),a=Mn(),i=ua(),o=ic();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),m=o(u),b=m.length,C=0,I;b>C;)n.f(l,I=m[C++],c[I]);return l};}),Gv=W(function(e,t){var r=Yo();t.exports=r("document","documentElement");}),sc=W(function(e,t){var r=Mn(),n=zv(),a=ac(),i=rs(),o=Gv(),s=Qu(),l=Qo(),u=">",c="<",m="prototype",b="script",C=l("IE_PROTO"),I=function(){},O=function(Q){return c+b+u+Q+c+"/"+b+u},V=function(Q){Q.write(O("")),Q.close();var ae=Q.parentWindow.Object;return Q=null,ae},$=function(){var Q=s("iframe"),ae="java"+b+":",le;return Q.style.display="none",o.appendChild(Q),Q.src=String(ae),le=Q.contentWindow.document,le.open(),le.write(O("document.F=Object")),le.close(),le.F},G,Y=function(){try{G=new ActiveXObject("htmlfile");}catch{}Y=typeof h<"u"?h.domain&&G?V(G):$():V(G);for(var Q=a.length;Q--;)delete Y[m][a[Q]];return Y()};i[C]=true,t.exports=Object.create||function(Q,ae){var le;return Q!==null?(I[m]=r(Q),le=new I,I[m]=null,le[C]=Q):le=Y(),ae===void 0?le:n.f(le,ae)};}),lc=W(function(e,t){var r=da();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),uc=W(function(e,t){var r=xr(),n=Zt(),a=Qr(),i=sc(),o=es(),s=lc(),l=Gr(),u=Jo(),c=l("iterator"),m=false,b,C,I;[].keys&&(I=[].keys(),"next"in I?(C=o(o(I)),C!==Object.prototype&&(b=C)):m=true);var O=!a(b)||r(function(){var V={};return b[c].call(V)!==V});O?b={}:u&&(b=i(b)),n(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:m};}),Uv=W(function(e,t){var r=ns(),n=hi();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),cc=W(function(e,t){var r=ns(),n=pi().f,a=da(),i=zr(),o=Uv(),s=Gr(),l=s("toStringTag");t.exports=function(u,c,m,b){var C=m?u:u&&u.prototype;C&&(i(C,l)||n(C,l,{configurable:true,value:c}),b&&!r&&a(C,"toString",o));};}),gi=W(function(e,t){t.exports={};}),Wv=W(function(e,t){var r=uc().IteratorPrototype,n=sc(),a=ui(),i=cc(),o=gi(),s=function(){return this};t.exports=function(l,u,c,m){var b=u+" Iterator";return l.prototype=n(r,{next:a(+!m,c)}),i(l,b,false,true),o[b]=s,l};}),Xv=W(function(e,t){var r=cr(),n=di();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),Yv=W(function(e,t){var r=Qr();t.exports=function(n){return r(n)||n===null};}),Kv=W(function(e,t){var r=Yv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),Jv=W(function(e,t){var r=Xv(),n=Qr(),a=ci(),i=Kv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,m){return a(c),i(m),n(c)&&(o?l(c,m):c.__proto__=m),c}})():void 0);}),Zv=W(function(e,t){var r=mi(),n=bn(),a=Jo(),i=$v(),o=Zt(),s=Wv(),l=es(),u=Jv(),c=cc(),m=da(),b=lc(),C=Gr(),I=gi(),O=uc(),V=i.PROPER,$=i.CONFIGURABLE,G=O.IteratorPrototype,Y=O.BUGGY_SAFARI_ITERATORS,K=C("iterator"),Q="keys",ae="values",le="entries",pe=function(){return this};t.exports=function(Ce,ue,ge,xe,Se,qe,Ue){s(ge,ue,xe);var Me=function(rt){if(rt===Se&&Te)return Te;if(!Y&&rt&&rt in Ne)return Ne[rt];switch(rt){case Q:return function(){return new ge(this,rt)};case ae:return function(){return new ge(this,rt)};case le:return function(){return new ge(this,rt)}}return function(){return new ge(this)}},$e=ue+" Iterator",ye=false,Ne=Ce.prototype,re=Ne[K]||Ne["@@iterator"]||Se&&Ne[Se],Te=!Y&&re||Me(Se),he=ue==="Array"&&Ne.entries||re,Re,Ge,Fe;if(he&&(Re=l(he.call(new Ce)),Re!==Object.prototype&&Re.next&&(!a&&l(Re)!==G&&(u?u(Re,G):o(Re[K])||b(Re,K,pe)),c(Re,$e,true,true),a&&(I[$e]=pe))),V&&Se===ae&&re&&re.name!==ae&&(!a&&$?m(Ne,"name",ae):(ye=true,Te=function(){return n(re,this)})),Se)if(Ge={values:Me(ae),keys:qe?Te:Me(Q),entries:Me(le)},Ue)for(Fe in Ge)(Y||ye||!(Fe in Ne))&&b(Ne,Fe,Ge[Fe]);else r({target:ue,proto:true,forced:Y||ye},Ge);return (!a||Ue)&&Ne[K]!==Te&&b(Ne,K,Te,{name:Se}),I[ue]=Te,Ge};}),Qv=W(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),eb=W(function(){var e=Hv().charAt,t=oc(),r=jv(),n=Zv(),a=Qv(),i="String Iterator",o=r.set,s=r.getterFor(i);n(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,m=u.index,b;return m>=c.length?a(void 0,true):(b=e(c,m),u.index+=b.length,a(b,false))});}),tb=W(function(e,t){var r=bn(),n=Mn(),a=Ko();t.exports=function(i,o,s){var l,u;n(i);try{if(l=a(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return n(l),s};}),rb=W(function(e,t){var r=Mn(),n=tb();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),nb=W(function(e,t){var r=Gr(),n=gi(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),ab=W(function(e,t){var r=cr(),n=Zt(),a=fi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),ib=W(function(e,t){var r=cr(),n=xr(),a=Zt(),i=hi(),o=Yo(),s=ab(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,m=r(c.exec),b=!c.test(l),C=function(V){if(!a(V))return false;try{return u(l,[],V),!0}catch{return false}},I=function(V){if(!a(V))return false;switch(i(V)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!m(c,s(V))}catch{return true}};I.sham=true,t.exports=!u||n(function(){var O;return C(C.call)||!C(Object)||!C(function(){O=true;})||O})?I:C;}),ob=W(function(e,t){var r=Rr(),n=pi(),a=ui();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),sb=W(function(e,t){var r=li();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),lb=W(function(e,t){var r=Rr(),n=sb(),a=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(s){return s instanceof TypeError}})();t.exports=o?function(s,l){if(n(s)&&!i(s,"length").writable)throw new a("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),dc=W(function(e,t){var r=hi(),n=Ko(),a=Xo(),i=gi(),o=Gr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),ub=W(function(e,t){var r=bn(),n=di(),a=Mn(),i=Yu(),o=dc(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(n(c))return a(r(c,l));throw new s(i(l)+" is not iterable")};}),cb=W(function(e,t){var r=tc(),n=bn(),a=Zo(),i=rb(),o=nb(),s=ib(),l=nc(),u=ob(),c=lb(),m=ub(),b=dc(),C=Array;t.exports=function(O){var V=a(O),$=s(this),G=arguments.length,Y=G>1?arguments[1]:void 0,K=Y!==void 0;K&&(Y=r(Y,G>2?arguments[2]:void 0));var Q=b(V),ae=0,le,pe,Ce,ue,ge,xe;if(Q&&!(this===C&&o(Q)))for(pe=$?new this:[],ue=m(V,Q),ge=ue.next;!(Ce=n(ge,ue)).done;ae++)xe=K?i(ue,Y,[Ce.value,ae],true):Ce.value,u(pe,ae,xe);else for(le=l(V),pe=$?new this(le):C(le);le>ae;ae++)xe=K?Y(V[ae],ae):V[ae],u(pe,ae,xe);return c(pe,ae),pe};}),db=W(function(e,t){var r=Gr(),n=r("iterator"),a=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){a=!0;}},o[n]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!a)return !1}catch{return false}var u=false;try{var c={};c[n]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),fb=W(function(){var e=mi(),t=cb(),r=db(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),pb=W(function(e,t){eb(),fb();var r=ca();t.exports=r.Array.from;}),mb=W(function(e,t){var r=pb();t.exports=r;}),fc=W(function(e,t){var r=mb();t.exports=r;}),pc=W(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 n(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=n;function a(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var m=c.charCodeAt(0);if((m&63488)===55296){var b=o.charCodeAt(u++);if((m&64512)!==55296||(b&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");m=((m&1023)<<10)+(b&1023)+65536;}l+="\\"+m.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var m=o.charAt(u);m==='"'?m='\\"':m==="\\"?m="\\\\":(c=e.strReplacementsRev[m])!==void 0&&(m=c),l+=m,u++;}return '"'+l+'"'}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:`
418
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var at,dt=true,yt=false;return {s:function(){ce=ce.call(ne);},n:function(){var Ve=ce.next();return dt=Ve.done,Ve},e:function(Ve){yt=true,at=Ve;},f:function(){try{dt||ce.return==null||ce.return();}finally{if(yt)throw at}}}}function jr(ne,se){if(ne){if(typeof ne=="string")return vn(ne,se);var ce={}.toString.call(ne).slice(8,-1);return ce==="Object"&&ne.constructor&&(ce=ne.constructor.name),ce==="Map"||ce==="Set"?Array.from(ne):ce==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ce)?vn(ne,se):void 0}}function vn(ne,se){(se==null||se>ne.length)&&(se=ne.length);for(var ce=0,ve=Array(se);ce<se;ce++)ve[ce]=ne[ce];return ve}function fe(ne){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(se){return typeof se}:function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},fe(ne)}((function(ne,se,ce,ve,Xe,at,dt,yt,Qe,Ve,rr){var nr=Object.create,$r=Object.defineProperty,la=Object.getPrototypeOf,ov=Object.prototype.hasOwnProperty,sv=Object.getOwnPropertyNames,lv=Object.getOwnPropertyDescriptor,uv=function(t,r,n){return r in t?$r(t,r,{enumerable:true,configurable:true,writable:true,value:n}):t[r]=n},cv=function(t){return $r(t,"__esModule",{value:true})},U=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},yr=function(t,r){for(var n in r)$r(t,n,{get:r[n],enumerable:true});},dv=function(t,r,n){if(r&&fe(r)==="object"||typeof r=="function"){var a=it(sv(r)),i;try{var o=function(){var l=i.value;!ov.call(t,l)&&l!=="default"&&$r(t,l,{get:function(){return r[l]},enumerable:!(n=lv(r,l))||n.enumerable});};for(a.s();!(i=a.n()).done;)o();}catch(s){a.e(s);}finally{a.f();}}return t},Tr=function(t){return dv(cv($r(t!=null?nr(la(t)):{},"default",t&&t.__esModule&&"default"in t?{get:function(){return t.default},enumerable:true}:{value:t,enumerable:true})),t)},$u=function(t,r,n){return uv(t,fe(r)!=="symbol"?r+"":r,n),n},fv=U(function(e,t){(function(r,n){fe(e)==="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.ES6Promise=n();})(e,function(){function r(oe){var me=fe(oe);return oe!==null&&(me==="object"||me==="function")}function n(oe){return typeof oe=="function"}var a=void 0;Array.isArray?a=Array.isArray:a=function(me){return Object.prototype.toString.call(me)==="[object Array]"};var i=a,o=0,s=void 0,l=void 0,u=function(me,we){ae[o]=me,ae[o+1]=we,o+=2,o===2&&(l?l(le):Ce());};function c(oe){l=oe;}function m(oe){u=oe;}var b=typeof d<"u"?d:void 0,C=b||{},I=C.MutationObserver||C.WebKitMutationObserver,P=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",V=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function $(){return function(){return process.nextTick(le)}}function G(){return typeof s<"u"?function(){s(le);}:Q()}function Y(){var oe=0,me=new I(le),we=h.createTextNode("");return me.observe(we,{characterData:true}),function(){we.data=oe=++oe%2;}}function K(){var oe=new MessageChannel;return oe.port1.onmessage=le,function(){return oe.port2.postMessage(0)}}function Q(){var oe=setTimeout;return function(){return oe(le,1)}}var ae=new Array(1e3);function le(){for(var oe=0;oe<o;oe+=2){var me=ae[oe],we=ae[oe+1];me(we),ae[oe]=void 0,ae[oe+1]=void 0;}o=0;}function pe(){try{var oe=Function("return this")().require("vertx");return s=oe.runOnLoop||oe.runOnContext,G()}catch{return Q()}}var Ce=void 0;P?Ce=$():I?Ce=Y():V?Ce=K():b===void 0?Ce=pe():Ce=Q();function ue(oe,me){var we=this,Le=new this.constructor(Se);Le[xe]===void 0&&Dt(Le);var Ue=we._state;if(Ue){var et=arguments[Ue-1];u(function(){return vt(Ue,Le,et,we._result)});}else rt(we,Le,oe,me);return Le}function ge(oe){var me=this;if(oe&&fe(oe)==="object"&&oe.constructor===me)return oe;var we=new me(Se);return Re(we,oe),we}var xe=Math.random().toString(36).substring(2);function Se(){}var qe=void 0,We=1,Me=2;function $e(){return new TypeError("You cannot resolve a promise with itself")}function ye(){return new TypeError("A promises callback cannot return that same promise.")}function Ne(oe,me,we,Le){try{oe.call(me,we,Le);}catch(Ue){return Ue}}function re(oe,me,we){u(function(Le){var Ue=false,et=Ne(we,me,function(Ht){Ue||(Ue=true,me!==Ht?Re(Le,Ht):Fe(Le,Ht));},function(Ht){Ue||(Ue=true,Oe(Le,Ht));},"Settle: "+(Le._label||" unknown promise"));!Ue&&et&&(Ue=true,Oe(Le,et));},oe);}function Te(oe,me){me._state===We?Fe(oe,me._result):me._state===Me?Oe(oe,me._result):rt(me,void 0,function(we){return Re(oe,we)},function(we){return Oe(oe,we)});}function he(oe,me,we){me.constructor===oe.constructor&&we===ue&&me.constructor.resolve===ge?Te(oe,me):we===void 0?Fe(oe,me):n(we)?re(oe,me,we):Fe(oe,me);}function Re(oe,me){if(oe===me)Oe(oe,$e());else if(r(me)){var we=void 0;try{we=me.then;}catch(Le){Oe(oe,Le);return}he(oe,me,we);}else Fe(oe,me);}function Ge(oe){oe._onerror&&oe._onerror(oe._result),mt(oe);}function Fe(oe,me){oe._state===qe&&(oe._result=me,oe._state=We,oe._subscribers.length!==0&&u(mt,oe));}function Oe(oe,me){oe._state===qe&&(oe._state=Me,oe._result=me,u(Ge,oe));}function rt(oe,me,we,Le){var Ue=oe._subscribers,et=Ue.length;oe._onerror=null,Ue[et]=me,Ue[et+We]=we,Ue[et+Me]=Le,et===0&&oe._state&&u(mt,oe);}function mt(oe){var me=oe._subscribers,we=oe._state;if(me.length!==0){for(var Le=void 0,Ue=void 0,et=oe._result,Ht=0;Ht<me.length;Ht+=3)Le=me[Ht],Ue=me[Ht+we],Le?vt(we,Le,Ue,et):Ue(et);oe._subscribers.length=0;}}function vt(oe,me,we,Le){var Ue=n(we),et=void 0,Ht=void 0,Qn=true;if(Ue){try{et=we(Le);}catch(No){Qn=false,Ht=No;}if(me===et){Oe(me,ye());return}}else et=Le;me._state!==qe||(Ue&&Qn?Re(me,et):Qn===false?Oe(me,Ht):oe===We?Fe(me,et):oe===Me&&Oe(me,et));}function Ft(oe,me){try{me(function(Le){Re(oe,Le);},function(Le){Oe(oe,Le);});}catch(we){Oe(oe,we);}}var Nt=0;function Pt(){return Nt++}function Dt(oe){oe[xe]=Nt++,oe._state=void 0,oe._result=void 0,oe._subscribers=[];}function Zn(){return new Error("Array Methods must be provided an Array")}var zt=(function(){function oe(me,we){this._instanceConstructor=me,this.promise=new me(Se),this.promise[xe]||Dt(this.promise),i(we)?(this.length=we.length,this._remaining=we.length,this._result=new Array(this.length),this.length===0?Fe(this.promise,this._result):(this.length=this.length||0,this._enumerate(we),this._remaining===0&&Fe(this.promise,this._result))):Oe(this.promise,Zn());}return oe.prototype._enumerate=function(we){for(var Le=0;this._state===qe&&Le<we.length;Le++)this._eachEntry(we[Le],Le);},oe.prototype._eachEntry=function(we,Le){var Ue=this._instanceConstructor,et=Ue.resolve;if(et===ge){var Ht=void 0,Qn=void 0,No=false;try{Ht=we.then;}catch(xu){No=true,Qn=xu;}if(Ht===ue&&we._state!==qe)this._settledAt(we._state,Le,we._result);else if(typeof Ht!="function")this._remaining--,this._result[Le]=we;else if(Ue===St){var wu=new Ue(Se);No?Oe(wu,Qn):he(wu,we,Ht),this._willSettleAt(wu,Le);}else this._willSettleAt(new Ue(function(xu){return xu(we)}),Le);}else this._willSettleAt(et(we),Le);},oe.prototype._settledAt=function(we,Le,Ue){var et=this.promise;et._state===qe&&(this._remaining--,we===Me?Oe(et,Ue):this._result[Le]=Ue),this._remaining===0&&Fe(et,this._result);},oe.prototype._willSettleAt=function(we,Le){var Ue=this;rt(we,void 0,function(et){return Ue._settledAt(We,Le,et)},function(et){return Ue._settledAt(Me,Le,et)});},oe})();function At(oe){return new zt(this,oe).promise}function qt(oe){var me=this;return i(oe)?new me(function(we,Le){for(var Ue=oe.length,et=0;et<Ue;et++)me.resolve(oe[et]).then(we,Le);}):new me(function(we,Le){return Le(new TypeError("You must pass an array to race."))})}function It(oe){var me=this,we=new me(Se);return Oe(we,oe),we}function Xt(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Yt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var St=(function(){function oe(me){this[xe]=Pt(),this._result=this._state=void 0,this._subscribers=[],Se!==me&&(typeof me!="function"&&Xt(),this instanceof oe?Ft(this,me):Yt());}return oe.prototype.catch=function(we){return this.then(null,we)},oe.prototype.finally=function(we){var Le=this,Ue=Le.constructor;return n(we)?Le.then(function(et){return Ue.resolve(we()).then(function(){return et})},function(et){return Ue.resolve(we()).then(function(){throw et})}):Le.then(we,we)},oe})();St.prototype.then=ue,St.all=At,St.race=qt,St.resolve=ge,St.reject=It,St._setScheduler=c,St._setAsap=m,St._asap=u;function ht(){var oe=void 0;if(typeof g<"u")oe=g;else if(typeof self<"u")oe=self;else try{oe=Function("return this")();}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var me=oe.Promise;if(me){var we=null;try{we=Object.prototype.toString.call(me.resolve());}catch{}if(we==="[object Promise]"&&!me.cast)return}oe.Promise=St;}return St.polyfill=ht,St.Promise=St,St});}),pv=U(function(e){var t=1e5,r=(function(){var re=Object.prototype.toString,Te=Object.prototype.hasOwnProperty;return {Class:function(Re){return re.call(Re).replace(/^\[object *|\]$/g,"")},HasProperty:function(Re,Ge){return Ge in Re},HasOwnProperty:function(Re,Ge){return Te.call(Re,Ge)},IsCallable:function(Re){return typeof Re=="function"},ToInt32:function(Re){return Re>>0},ToUint32:function(Re){return Re>>>0}}})(),n=Math.LN2,a=Math.abs,i=Math.floor,o=Math.log,s=Math.min,l=Math.pow,u=Math.round;function c(re,Te,he){return re<Te?Te:re>he?he:re}var m=Object.getOwnPropertyNames||function(re){if(re!==Object(re))throw new TypeError("Object.getOwnPropertyNames called on non-object");var Te=[],he;for(he in re)r.HasOwnProperty(re,he)&&Te.push(he);return Te},b;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return false}})()?b=Object.defineProperty:b=function(Te,he,Re){if(!Te===Object(Te))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(Re,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(Te,he,Re.get),r.HasProperty(Re,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(Te,he,Re.set),r.HasProperty(Re,"value")&&(Te[he]=Re.value),Te};function C(re){if(m&&b){var Te=m(re),he;for(he=0;he<Te.length;he+=1)b(re,Te[he],{value:re[Te[he]],writable:false,enumerable:false,configurable:false});}}function I(re){if(!b)return;if(re.length>t)throw new RangeError("Array too large for polyfill");function Te(Re){b(re,Re,{get:function(){return re._getter(Re)},set:function(Fe){re._setter(Re,Fe);},enumerable:true,configurable:false});}var he;for(he=0;he<re.length;he+=1)Te(he);}function P(re,Te){var he=32-Te;return re<<he>>he}function V(re,Te){var he=32-Te;return re<<he>>>he}function $(re){return [re&255]}function G(re){return P(re[0],8)}function Y(re){return [re&255]}function K(re){return V(re[0],8)}function Q(re){return re=u(Number(re)),[re<0?0:re>255?255:re&255]}function ae(re){return [re>>8&255,re&255]}function le(re){return P(re[0]<<8|re[1],16)}function pe(re){return [re>>8&255,re&255]}function Ce(re){return V(re[0]<<8|re[1],16)}function ue(re){return [re>>24&255,re>>16&255,re>>8&255,re&255]}function ge(re){return P(re[0]<<24|re[1]<<16|re[2]<<8|re[3],32)}function xe(re){return [re>>24&255,re>>16&255,re>>8&255,re&255]}function Se(re){return V(re[0]<<24|re[1]<<16|re[2]<<8|re[3],32)}function qe(re,Te,he){var Re=(1<<Te-1)-1,Ge,Fe,Oe,rt,mt,vt,Ft;function Nt(Pt){var Dt=i(Pt),Zn=Pt-Dt;return Zn<.5?Dt:Zn>.5||Dt%2?Dt+1:Dt}for(re!==re?(Fe=(1<<Te)-1,Oe=l(2,he-1),Ge=0):re===1/0||re===-1/0?(Fe=(1<<Te)-1,Oe=0,Ge=re<0?1:0):re===0?(Fe=0,Oe=0,Ge=1/re===-1/0?1:0):(Ge=re<0,re=a(re),re>=l(2,1-Re)?(Fe=s(i(o(re)/n),1023),Oe=Nt(re/l(2,Fe)*l(2,he)),Oe/l(2,he)>=2&&(Fe=Fe+1,Oe=1),Fe>Re?(Fe=(1<<Te)-1,Oe=0):(Fe=Fe+Re,Oe=Oe-l(2,he))):(Fe=0,Oe=Nt(re/l(2,1-Re-he)))),mt=[],rt=he;rt;rt-=1)mt.push(Oe%2?1:0),Oe=i(Oe/2);for(rt=Te;rt;rt-=1)mt.push(Fe%2?1:0),Fe=i(Fe/2);for(mt.push(Ge?1:0),mt.reverse(),vt=mt.join(""),Ft=[];vt.length;)Ft.push(parseInt(vt.substring(0,8),2)),vt=vt.substring(8);return Ft}function We(re,Te,he){var Re=[],Ge,Fe,Oe,rt,mt,vt,Ft,Nt;for(Ge=re.length;Ge;Ge-=1)for(Oe=re[Ge-1],Fe=8;Fe;Fe-=1)Re.push(Oe%2?1:0),Oe=Oe>>1;return Re.reverse(),rt=Re.join(""),mt=(1<<Te-1)-1,vt=parseInt(rt.substring(0,1),2)?-1:1,Ft=parseInt(rt.substring(1,1+Te),2),Nt=parseInt(rt.substring(1+Te),2),Ft===(1<<Te)-1?Nt===0?vt*(1/0):NaN:Ft>0?vt*l(2,Ft-mt)*(1+Nt/l(2,he)):Nt!==0?vt*l(2,-(mt-1))*(Nt/l(2,he)):vt<0?-0:0}function Me(re){return We(re,11,52)}function $e(re){return qe(re,11,52)}function ye(re){return We(re,8,23)}function Ne(re){return qe(re,8,23)}((function(){function re(Pt){if(Pt=r.ToInt32(Pt),Pt<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Pt,this._bytes=[],this._bytes.length=Pt;var Dt;for(Dt=0;Dt<this.byteLength;Dt+=1)this._bytes[Dt]=0;C(this);}e.ArrayBuffer=e.ArrayBuffer||re;function Te(){}function he(Pt,Dt,Zn){var zt;return zt=function(qt,It,Xt){var Yt,St,ht,oe;if(!arguments.length||typeof arguments[0]=="number"){if(this.length=r.ToInt32(arguments[0]),Xt<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new re(this.byteLength),this.byteOffset=0;}else if(fe(arguments[0])==="object"&&arguments[0].constructor===zt)for(Yt=arguments[0],this.length=Yt.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new re(this.byteLength),this.byteOffset=0,ht=0;ht<this.length;ht+=1)this._setter(ht,Yt._getter(ht));else if(fe(arguments[0])==="object"&&!(arguments[0]instanceof re||r.Class(arguments[0])==="ArrayBuffer"))for(St=arguments[0],this.length=r.ToUint32(St.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new re(this.byteLength),this.byteOffset=0,ht=0;ht<this.length;ht+=1)oe=St[ht],this._setter(ht,Number(oe));else if(fe(arguments[0])==="object"&&(arguments[0]instanceof re||r.Class(arguments[0])==="ArrayBuffer")){if(this.buffer=qt,this.byteOffset=r.ToUint32(It),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(Xt),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=zt,C(this),I(this);},zt.prototype=new Te,zt.prototype.BYTES_PER_ELEMENT=Pt,zt.prototype._pack=Dt,zt.prototype._unpack=Zn,zt.BYTES_PER_ELEMENT=Pt,zt.prototype._getter=function(At){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(At=r.ToUint32(At),!(At>=this.length)){for(var qt=[],It=0,Xt=this.byteOffset+At*this.BYTES_PER_ELEMENT;It<this.BYTES_PER_ELEMENT;It+=1,Xt+=1)qt.push(this.buffer._bytes[Xt]);return this._unpack(qt)}},zt.prototype.get=zt.prototype._getter,zt.prototype._setter=function(At,qt){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if(At=r.ToUint32(At),At<this.length){var It=this._pack(qt),Xt,Yt;for(Xt=0,Yt=this.byteOffset+At*this.BYTES_PER_ELEMENT;Xt<this.BYTES_PER_ELEMENT;Xt+=1,Yt+=1)this.buffer._bytes[Yt]=It[Xt];}},zt.prototype.set=function(At,qt){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var It,Xt,Yt,St,ht,oe,me,we,Le,Ue;if(fe(arguments[0])==="object"&&arguments[0].constructor===this.constructor){if(It=arguments[0],Yt=r.ToUint32(arguments[1]),Yt+It.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(we=this.byteOffset+Yt*this.BYTES_PER_ELEMENT,Le=It.length*this.BYTES_PER_ELEMENT,It.buffer===this.buffer){for(Ue=[],ht=0,oe=It.byteOffset;ht<Le;ht+=1,oe+=1)Ue[ht]=It.buffer._bytes[oe];for(ht=0,me=we;ht<Le;ht+=1,me+=1)this.buffer._bytes[me]=Ue[ht];}else for(ht=0,oe=It.byteOffset,me=we;ht<Le;ht+=1,oe+=1,me+=1)this.buffer._bytes[me]=It.buffer._bytes[oe];}else if(fe(arguments[0])==="object"&&typeof arguments[0].length<"u"){if(Xt=arguments[0],St=r.ToUint32(Xt.length),Yt=r.ToUint32(arguments[1]),Yt+St>this.length)throw new RangeError("Offset plus length of array is out of range");for(ht=0;ht<St;ht+=1)oe=Xt[ht],this._setter(Yt+ht,Number(oe));}else throw new TypeError("Unexpected argument type(s)")},zt.prototype.subarray=function(At,qt){At=r.ToInt32(At),qt=r.ToInt32(qt),arguments.length<1&&(At=0),arguments.length<2&&(qt=this.length),At<0&&(At=this.length+At),qt<0&&(qt=this.length+qt),At=c(At,0,this.length),qt=c(qt,0,this.length);var It=qt-At;return It<0&&(It=0),new this.constructor(this.buffer,this.byteOffset+At*this.BYTES_PER_ELEMENT,It)},zt}var Re=he(1,$,G),Ge=he(1,Y,K),Fe=he(1,Q,K),Oe=he(2,ae,le),rt=he(2,pe,Ce),mt=he(4,ue,ge),vt=he(4,xe,Se),Ft=he(4,Ne,ye),Nt=he(8,$e,Me);e.Int8Array=e.Int8Array||Re,e.Uint8Array=e.Uint8Array||Ge,e.Uint8ClampedArray=e.Uint8ClampedArray||Fe,e.Int16Array=e.Int16Array||Oe,e.Uint16Array=e.Uint16Array||rt,e.Int32Array=e.Int32Array||mt,e.Uint32Array=e.Uint32Array||vt,e.Float32Array=e.Float32Array||Ft,e.Float64Array=e.Float64Array||Nt;}))(),(function(){function re(Fe,Oe){return r.IsCallable(Fe.get)?Fe.get(Oe):Fe[Oe]}var Te=(function(){var Fe=new e.Uint16Array([4660]),Oe=new e.Uint8Array(Fe.buffer);return re(Oe,0)===18})();function he(Fe,Oe,rt){if(arguments.length===0)Fe=new e.ArrayBuffer(0);else if(!(Fe instanceof e.ArrayBuffer||r.Class(Fe)==="ArrayBuffer"))throw new TypeError("TypeError");if(this.buffer=Fe||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(Oe),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(rt),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");C(this);}function Re(Fe){return function(Oe,rt){if(Oe=r.ToUint32(Oe),Oe+Fe.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");Oe+=this.byteOffset;var mt=new e.Uint8Array(this.buffer,Oe,Fe.BYTES_PER_ELEMENT),vt=[],Ft;for(Ft=0;Ft<Fe.BYTES_PER_ELEMENT;Ft+=1)vt.push(re(mt,Ft));return !!rt==!!Te&&vt.reverse(),re(new Fe(new e.Uint8Array(vt).buffer),0)}}he.prototype.getUint8=Re(e.Uint8Array),he.prototype.getInt8=Re(e.Int8Array),he.prototype.getUint16=Re(e.Uint16Array),he.prototype.getInt16=Re(e.Int16Array),he.prototype.getUint32=Re(e.Uint32Array),he.prototype.getInt32=Re(e.Int32Array),he.prototype.getFloat32=Re(e.Float32Array),he.prototype.getFloat64=Re(e.Float64Array);function Ge(Fe){return function(Oe,rt,mt){if(Oe=r.ToUint32(Oe),Oe+Fe.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var vt=new Fe([rt]),Ft=new e.Uint8Array(vt.buffer),Nt=[],Pt,Dt;for(Pt=0;Pt<Fe.BYTES_PER_ELEMENT;Pt+=1)Nt.push(re(Ft,Pt));!!mt==!!Te&&Nt.reverse(),Dt=new e.Uint8Array(this.buffer,Oe,Fe.BYTES_PER_ELEMENT),Dt.set(Nt);}}he.prototype.setUint8=Ge(e.Uint8Array),he.prototype.setInt8=Ge(e.Int8Array),he.prototype.setUint16=Ge(e.Uint16Array),he.prototype.setInt16=Ge(e.Int16Array),he.prototype.setUint32=Ge(e.Uint32Array),he.prototype.setInt32=Ge(e.Int32Array),he.prototype.setFloat32=Ge(e.Float32Array),he.prototype.setFloat64=Ge(e.Float64Array),e.DataView=e.DataView||he;})();}),mv=U(function(e){(function(t){if(t.WeakMap)return;var r=Object.prototype.hasOwnProperty,n=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),a=function(s,l,u){n?Object.defineProperty(s,l,{configurable:true,writable:true,value:u}):s[l]=u;};t.WeakMap=(function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",l("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(o.prototype,"delete",function(c){if(s(this,"delete"),!i(c))return false;var m=c[this._id];return m&&m[0]===c?(delete c[this._id],true):false}),a(o.prototype,"get",function(c){if(s(this,"get"),!!i(c)){var m=c[this._id];if(m&&m[0]===c)return m[1]}}),a(o.prototype,"has",function(c){if(s(this,"has"),!i(c))return false;var m=c[this._id];return !!(m&&m[0]===c)}),a(o.prototype,"set",function(c,m){if(s(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var b=c[this._id];return b&&b[0]===c?(b[1]=m,this):(a(c,this._id,[c,m]),this)});function s(c,m){if(!i(c)||!r.call(c,"_id"))throw new TypeError(m+" method called on incompatible receiver "+fe(c))}function l(c){return c+"_"+u()+"."+u()}function u(){return Math.random().toString().substring(2)}return a(o,"_polyfill",true),o})();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof d<"u"?d:typeof g<"u"?g:e);}),wr=U(function(e,t){var r=function(a){return a&&a.Math===Math&&a};t.exports=r((typeof globalThis>"u"?"undefined":fe(globalThis))=="object"&&globalThis)||r((typeof d>"u"?"undefined":fe(d))=="object"&&d)||r((typeof self>"u"?"undefined":fe(self))=="object"&&self)||r((typeof g>"u"?"undefined":fe(g))=="object"&&g)||r(fe(e)=="object"&&e)||(function(){return this})()||Function("return this")();}),xr=U(function(e,t){t.exports=function(r){try{return !!r()}catch{return true}};}),si=U(function(e,t){var r=xr();t.exports=!r(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")});}),hv=U(function(e,t){var r=si(),n=Function.prototype,a=n.apply,i=n.call;t.exports=(typeof Reflect>"u"?"undefined":fe(Reflect))=="object"&&Reflect.apply||(r?i.bind(a):function(){return i.apply(a,arguments)});}),cr=U(function(e,t){var r=si(),n=Function.prototype,a=n.call,i=r&&n.bind.bind(a,a);t.exports=r?i:function(o){return function(){return a.apply(o,arguments)}};}),li=U(function(e,t){var r=cr(),n=r({}.toString),a=r("".slice);t.exports=function(i){return a(n(i),8,-1)};}),zu=U(function(e,t){var r=li(),n=cr();t.exports=function(a){if(r(a)==="Function")return n(a)};}),Zt=U(function(e,t){var r=(typeof h>"u"?"undefined":fe(h))=="object"&&h.all;t.exports=typeof r>"u"&&r!==void 0?function(n){return typeof n=="function"||n===r}:function(n){return typeof n=="function"};}),Rr=U(function(e,t){var r=xr();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7});}),bn=U(function(e,t){var r=si(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)};}),Gu=U(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(i){var o=r(this,i);return !!o&&o.enumerable}:t;}),ui=U(function(e,t){t.exports=function(r,n){return {enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}};}),gv=U(function(e,t){var r=cr(),n=xr(),a=li(),i=Object,o=r("".split);t.exports=n(function(){return !i("z").propertyIsEnumerable(0)})?function(s){return a(s)==="String"?o(s,""):i(s)}:i;}),Xo=U(function(e,t){t.exports=function(r){return r==null};}),ci=U(function(e,t){var r=Xo(),n=TypeError;t.exports=function(a){if(r(a))throw new n("Can't call method on "+a);return a};}),ua=U(function(e,t){var r=gv(),n=ci();t.exports=function(a){return r(n(a))};}),Qr=U(function(e,t){var r=Zt();t.exports=function(n){return fe(n)=="object"?n!==null:r(n)};}),ca=U(function(e,t){t.exports={};}),Yo=U(function(e,t){var r=ca(),n=wr(),a=Zt(),i=function(s){return a(s)?s:void 0};t.exports=function(o,s){return arguments.length<2?i(r[o])||i(n[o]):r[o]&&r[o][s]||n[o]&&n[o][s]};}),vv=U(function(e,t){var r=cr();t.exports=r({}.isPrototypeOf);}),bv=U(function(e,t){var r=wr(),n=r.navigator,a=n&&n.userAgent;t.exports=a?String(a):"";}),yv=U(function(e,t){var r=wr(),n=bv(),a=r.process,i=r.Deno,o=a&&a.versions||i&&i.version,s=o&&o.v8,l,u;s&&(l=s.split("."),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&n&&(l=n.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=n.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),t.exports=u;}),Wu=U(function(e,t){var r=yv(),n=xr(),a=wr(),i=a.String;t.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol("symbol detection");return !i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41});}),Uu=U(function(e,t){var r=Wu();t.exports=r&&!Symbol.sham&&fe(Symbol.iterator)=="symbol";}),Xu=U(function(e,t){var r=Yo(),n=Zt(),a=vv(),i=Uu(),o=Object;t.exports=i?function(s){return fe(s)=="symbol"}:function(s){var l=r("Symbol");return n(l)&&a(l.prototype,o(s))};}),Yu=U(function(e,t){var r=String;t.exports=function(n){try{return r(n)}catch{return "Object"}};}),di=U(function(e,t){var r=Zt(),n=Yu(),a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not a function")};}),Ko=U(function(e,t){var r=di(),n=Xo();t.exports=function(a,i){var o=a[i];return n(o)?void 0:r(o)};}),wv=U(function(e,t){var r=bn(),n=Zt(),a=Qr(),i=TypeError;t.exports=function(o,s){var l,u;if(s==="string"&&n(l=o.toString)&&!a(u=r(l,o))||n(l=o.valueOf)&&!a(u=r(l,o))||s!=="string"&&n(l=o.toString)&&!a(u=r(l,o)))return u;throw new i("Can't convert object to primitive value")};}),Jo=U(function(e,t){t.exports=true;}),xv=U(function(e,t){var r=wr(),n=Object.defineProperty;t.exports=function(a,i){try{n(r,a,{value:i,configurable:!0,writable:!0});}catch{r[a]=i;}return i};}),fi=U(function(e,t){var r=Jo(),n=wr(),a=xv(),i="__core-js_shared__",o=t.exports=n[i]||a(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"});}),Ku=U(function(e,t){var r=fi();t.exports=function(n,a){return r[n]||(r[n]=a||{})};}),Zo=U(function(e,t){var r=ci(),n=Object;t.exports=function(a){return n(r(a))};}),zr=U(function(e,t){var r=cr(),n=Zo(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,s){return a(n(o),s)};}),Ju=U(function(e,t){var r=cr(),n=0,a=Math.random(),i=r(1.1.toString);t.exports=function(o){return "Symbol("+(o===void 0?"":o)+")_"+i(++n+a,36)};}),Gr=U(function(e,t){var r=wr(),n=Ku(),a=zr(),i=Ju(),o=Wu(),s=Uu(),l=r.Symbol,u=n("wks"),c=s?l.for||l:l&&l.withoutSetter||i;t.exports=function(m){return a(u,m)||(u[m]=o&&a(l,m)?l[m]:c("Symbol."+m)),u[m]};}),Dv=U(function(e,t){var r=bn(),n=Qr(),a=Xu(),i=Ko(),o=wv(),s=Gr(),l=TypeError,u=s("toPrimitive");t.exports=function(c,m){if(!n(c)||a(c))return c;var b=i(c,u),C;if(b){if(m===void 0&&(m="default"),C=r(b,c,m),!n(C)||a(C))return C;throw new l("Can't convert object to primitive value")}return m===void 0&&(m="number"),o(c,m)};}),Zu=U(function(e,t){var r=Dv(),n=Xu();t.exports=function(a){var i=r(a,"string");return n(i)?i:i+""};}),Qu=U(function(e,t){var r=wr(),n=Qr(),a=r.document,i=n(a)&&n(a.createElement);t.exports=function(o){return i?a.createElement(o):{}};}),ec=U(function(e,t){var r=Rr(),n=xr(),a=Qu();t.exports=!r&&!n(function(){return Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a!==7});}),Av=U(function(e){var t=Rr(),r=bn(),n=Gu(),a=ui(),i=ua(),o=Zu(),s=zr(),l=ec(),u=Object.getOwnPropertyDescriptor;e.f=t?u:function(m,b){if(m=i(m),b=o(b),l)try{return u(m,b)}catch{}if(s(m,b))return a(!r(n.f,m,b),m[b])};}),_v=U(function(e,t){var r=xr(),n=Zt(),a=/#|\.prototype\./,i=function(m,b){var C=s[o(m)];return C===u?true:C===l?false:n(b)?r(b):!!b},o=i.normalize=function(c){return String(c).replace(a,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";t.exports=i;}),tc=U(function(e,t){var r=zu(),n=di(),a=si(),i=r(r.bind);t.exports=function(o,s){return n(o),s===void 0?o:a?i(o,s):function(){return o.apply(s,arguments)}};}),rc=U(function(e,t){var r=Rr(),n=xr();t.exports=r&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:false}).prototype!==42});}),Mn=U(function(e,t){var r=Qr(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a(n(i)+" is not an object")};}),pi=U(function(e){var t=Rr(),r=ec(),n=rc(),a=Mn(),i=Zu(),o=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",m="writable";e.f=t?n?function(C,I,P){if(a(C),I=i(I),a(P),typeof C=="function"&&I==="prototype"&&"value"in P&&m in P&&!P[m]){var V=l(C,I);V&&V[m]&&(C[I]=P.value,P={configurable:c in P?P[c]:V[c],enumerable:u in P?P[u]:V[u],writable:false});}return s(C,I,P)}:s:function(C,I,P){if(a(C),I=i(I),a(P),r)try{return s(C,I,P)}catch{}if("get"in P||"set"in P)throw new o("Accessors not supported");return "value"in P&&(C[I]=P.value),C};}),da=U(function(e,t){var r=Rr(),n=pi(),a=ui();t.exports=r?function(i,o,s){return n.f(i,o,a(1,s))}:function(i,o,s){return i[o]=s,i};}),mi=U(function(e,t){var r=wr(),n=hv(),a=zu(),i=Zt(),o=Av().f,s=_v(),l=ca(),u=tc(),c=da(),m=zr();fi();var b=function(I){var P=function($,G,Y){if(this instanceof P){switch(arguments.length){case 0:return new I;case 1:return new I($);case 2:return new I($,G)}return new I($,G,Y)}return n(I,this,arguments)};return P.prototype=I.prototype,P};t.exports=function(C,I){var P=C.target,V=C.global,$=C.stat,G=C.proto,Y=V?r:$?r[P]:r[P]&&r[P].prototype,K=V?l:l[P]||c(l,P,{})[P],Q=K.prototype,ae,le,pe,Ce,ue,ge,xe,Se,qe;for(Ce in I)ae=s(V?Ce:P+($?".":"#")+Ce,C.forced),le=!ae&&Y&&m(Y,Ce),ge=K[Ce],le&&(C.dontCallGetSet?(qe=o(Y,Ce),xe=qe&&qe.value):xe=Y[Ce]),ue=le&&xe?xe:I[Ce],!(!ae&&!G&&fe(ge)==fe(ue))&&(C.bind&&le?Se=u(ue,r):C.wrap&&le?Se=b(ue):G&&i(ue)?Se=a(ue):Se=ue,(C.sham||ue&&ue.sham||ge&&ge.sham)&&c(Se,"sham",true),c(K,Ce,Se),G&&(pe=P+"Prototype",m(l,pe)||c(l,pe,{}),c(l[pe],Ce,ue),C.real&&Q&&(ae||!Q[Ce])&&c(Q,Ce,ue)));};}),Ev=U(function(){var e=mi(),t=zr();e({target:"Object",stat:true},{hasOwn:t});}),Cv=U(function(e,t){Ev();var r=ca();t.exports=r.Object.hasOwn;}),Sv=U(function(e,t){var r=Cv();t.exports=r;}),kv=U(function(e,t){var r=Sv();t.exports=r;}),Qo=U(function(e,t){var r=Ku(),n=Ju(),a=r("keys");t.exports=function(i){return a[i]||(a[i]=n(i))};}),Tv=U(function(e,t){var r=xr();t.exports=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype});}),es=U(function(e,t){var r=zr(),n=Zt(),a=Zo(),i=Qo(),o=Tv(),s=i("IE_PROTO"),l=Object,u=l.prototype;t.exports=o?l.getPrototypeOf:function(c){var m=a(c);if(r(m,s))return m[s];var b=m.constructor;return n(b)&&m instanceof b?b.prototype:m instanceof l?u:null};}),Rv=U(function(e,t){var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return (o>0?n:r)(o)};}),ts=U(function(e,t){var r=Rv();t.exports=function(n){var a=+n;return a!==a||a===0?0:r(a)};}),Fv=U(function(e,t){var r=ts(),n=Math.max,a=Math.min;t.exports=function(i,o){var s=r(i);return s<0?n(s+o,0):a(s,o)};}),Iv=U(function(e,t){var r=ts(),n=Math.min;t.exports=function(a){var i=r(a);return i>0?n(i,9007199254740991):0};}),nc=U(function(e,t){var r=Iv();t.exports=function(n){return r(n.length)};}),Mv=U(function(e,t){var r=ua(),n=Fv(),a=nc(),i=function(s){return function(l,u,c){var m=r(l),b=a(m);if(b===0)return !s&&-1;var C=n(c,b),I;if(s&&u!==u){for(;b>C;)if(I=m[C++],I!==I)return true}else for(;b>C;C++)if((s||C in m)&&m[C]===u)return s||C||0;return !s&&-1}};t.exports={includes:i(true),indexOf:i(false)};}),rs=U(function(e,t){t.exports={};}),Lv=U(function(e,t){var r=cr(),n=zr(),a=ua(),i=Mv().indexOf,o=rs(),s=r([].push);t.exports=function(l,u){var c=a(l),m=0,b=[],C;for(C in c)!n(o,C)&&n(c,C)&&s(b,C);for(;u.length>m;)n(c,C=u[m++])&&(~i(b,C)||s(b,C));return b};}),ac=U(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];}),ic=U(function(e,t){var r=Lv(),n=ac();t.exports=Object.keys||function(i){return r(i,n)};}),Ov=U(function(e,t){var r=Rr(),n=xr(),a=cr(),i=es(),o=ic(),s=ua(),l=Gu().f,u=a(l),c=a([].push),m=r&&n(function(){var C=Object.create(null);return C[2]=2,!u(C,2)}),b=function(I){return function(P){for(var V=s(P),$=o(V),G=m&&i(V)===null,Y=$.length,K=0,Q=[],ae;Y>K;)ae=$[K++],(!r||(G?ae in V:u(V,ae)))&&c(Q,I?[ae,V[ae]]:V[ae]);return Q}};t.exports={entries:b(true),values:b(false)};}),Pv=U(function(){var e=mi(),t=Ov().values;e({target:"Object",stat:true},{values:function(n){return t(n)}});}),Nv=U(function(e,t){Pv();var r=ca();t.exports=r.Object.values;}),qv=U(function(e,t){var r=Nv();t.exports=r;}),Bv=U(function(e,t){var r=qv();t.exports=r;}),ns=U(function(e,t){var r=Gr(),n=r("toStringTag"),a={};a[n]="z",t.exports=String(a)==="[object z]";}),hi=U(function(e,t){var r=ns(),n=Zt(),a=li(),i=Gr(),o=i("toStringTag"),s=Object,l=a((function(){return arguments})())==="Arguments",u=function(m,b){try{return m[b]}catch{}};t.exports=r?a:function(c){var m,b,C;return c===void 0?"Undefined":c===null?"Null":typeof(b=u(m=s(c),o))=="string"?b:l?a(m):(C=a(m))==="Object"&&n(m.callee)?"Arguments":C};}),oc=U(function(e,t){var r=hi(),n=String;t.exports=function(a){if(r(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return n(a)};}),Hv=U(function(e,t){var r=cr(),n=ts(),a=oc(),i=ci(),o=r("".charAt),s=r("".charCodeAt),l=r("".slice),u=function(m){return function(b,C){var I=a(i(b)),P=n(C),V=I.length,$,G;return P<0||P>=V?m?"":void 0:($=s(I,P),$<55296||$>56319||P+1===V||(G=s(I,P+1))<56320||G>57343?m?o(I,P):$:m?l(I,P,P+2):($-55296<<10)+(G-56320)+65536)}};t.exports={codeAt:u(false),charAt:u(true)};}),Vv=U(function(e,t){var r=wr(),n=Zt(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a));}),jv=U(function(e,t){var r=Vv(),n=wr(),a=Qr(),i=da(),o=zr(),s=fi(),l=Qo(),u=rs(),c="Object already initialized",m=n.TypeError,b=n.WeakMap,C,I,P,V=function(Q){return P(Q)?I(Q):C(Q,{})},$=function(Q){return function(ae){var le;if(!a(ae)||(le=I(ae)).type!==Q)throw new m("Incompatible receiver, "+Q+" required");return le}};r||s.state?(G=s.state||(s.state=new b),G.get=G.get,G.has=G.has,G.set=G.set,C=function(Q,ae){if(G.has(Q))throw new m(c);return ae.facade=Q,G.set(Q,ae),ae},I=function(Q){return G.get(Q)||{}},P=function(Q){return G.has(Q)}):(Y=l("state"),u[Y]=true,C=function(Q,ae){if(o(Q,Y))throw new m(c);return ae.facade=Q,i(Q,Y,ae),ae},I=function(Q){return o(Q,Y)?Q[Y]:{}},P=function(Q){return o(Q,Y)});var G,Y;t.exports={set:C,get:I,has:P,enforce:V,getterFor:$};}),$v=U(function(e,t){var r=Rr(),n=zr(),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=n(a,"name"),s=o&&function(){}.name==="something",l=o&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:o,PROPER:s,CONFIGURABLE:l};}),zv=U(function(e){var t=Rr(),r=rc(),n=pi(),a=Mn(),i=ua(),o=ic();e.f=t&&!r?Object.defineProperties:function(l,u){a(l);for(var c=i(u),m=o(u),b=m.length,C=0,I;b>C;)n.f(l,I=m[C++],c[I]);return l};}),Gv=U(function(e,t){var r=Yo();t.exports=r("document","documentElement");}),sc=U(function(e,t){var r=Mn(),n=zv(),a=ac(),i=rs(),o=Gv(),s=Qu(),l=Qo(),u=">",c="<",m="prototype",b="script",C=l("IE_PROTO"),I=function(){},P=function(Q){return c+b+u+Q+c+"/"+b+u},V=function(Q){Q.write(P("")),Q.close();var ae=Q.parentWindow.Object;return Q=null,ae},$=function(){var Q=s("iframe"),ae="java"+b+":",le;return Q.style.display="none",o.appendChild(Q),Q.src=String(ae),le=Q.contentWindow.document,le.open(),le.write(P("document.F=Object")),le.close(),le.F},G,Y=function(){try{G=new ActiveXObject("htmlfile");}catch{}Y=typeof h<"u"?h.domain&&G?V(G):$():V(G);for(var Q=a.length;Q--;)delete Y[m][a[Q]];return Y()};i[C]=true,t.exports=Object.create||function(Q,ae){var le;return Q!==null?(I[m]=r(Q),le=new I,I[m]=null,le[C]=Q):le=Y(),ae===void 0?le:n.f(le,ae)};}),lc=U(function(e,t){var r=da();t.exports=function(n,a,i,o){return o&&o.enumerable?n[a]=i:r(n,a,i),n};}),uc=U(function(e,t){var r=xr(),n=Zt(),a=Qr(),i=sc(),o=es(),s=lc(),l=Gr(),u=Jo(),c=l("iterator"),m=false,b,C,I;[].keys&&(I=[].keys(),"next"in I?(C=o(o(I)),C!==Object.prototype&&(b=C)):m=true);var P=!a(b)||r(function(){var V={};return b[c].call(V)!==V});P?b={}:u&&(b=i(b)),n(b[c])||s(b,c,function(){return this}),t.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:m};}),Wv=U(function(e,t){var r=ns(),n=hi();t.exports=r?{}.toString:function(){return "[object "+n(this)+"]"};}),cc=U(function(e,t){var r=ns(),n=pi().f,a=da(),i=zr(),o=Wv(),s=Gr(),l=s("toStringTag");t.exports=function(u,c,m,b){var C=m?u:u&&u.prototype;C&&(i(C,l)||n(C,l,{configurable:true,value:c}),b&&!r&&a(C,"toString",o));};}),gi=U(function(e,t){t.exports={};}),Uv=U(function(e,t){var r=uc().IteratorPrototype,n=sc(),a=ui(),i=cc(),o=gi(),s=function(){return this};t.exports=function(l,u,c,m){var b=u+" Iterator";return l.prototype=n(r,{next:a(+!m,c)}),i(l,b,false,true),o[b]=s,l};}),Xv=U(function(e,t){var r=cr(),n=di();t.exports=function(a,i,o){try{return r(n(Object.getOwnPropertyDescriptor(a,i)[o]))}catch{}};}),Yv=U(function(e,t){var r=Qr();t.exports=function(n){return r(n)||n===null};}),Kv=U(function(e,t){var r=Yv(),n=String,a=TypeError;t.exports=function(i){if(r(i))return i;throw new a("Can't set "+n(i)+" as a prototype")};}),Jv=U(function(e,t){var r=Xv(),n=Qr(),a=ci(),i=Kv();t.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=false,s={},l;try{l=r(Object.prototype,"__proto__","set"),l(s,[]),o=s instanceof Array;}catch{}return function(c,m){return a(c),i(m),n(c)&&(o?l(c,m):c.__proto__=m),c}})():void 0);}),Zv=U(function(e,t){var r=mi(),n=bn(),a=Jo(),i=$v(),o=Zt(),s=Uv(),l=es(),u=Jv(),c=cc(),m=da(),b=lc(),C=Gr(),I=gi(),P=uc(),V=i.PROPER,$=i.CONFIGURABLE,G=P.IteratorPrototype,Y=P.BUGGY_SAFARI_ITERATORS,K=C("iterator"),Q="keys",ae="values",le="entries",pe=function(){return this};t.exports=function(Ce,ue,ge,xe,Se,qe,We){s(ge,ue,xe);var Me=function(rt){if(rt===Se&&Te)return Te;if(!Y&&rt&&rt in Ne)return Ne[rt];switch(rt){case Q:return function(){return new ge(this,rt)};case ae:return function(){return new ge(this,rt)};case le:return function(){return new ge(this,rt)}}return function(){return new ge(this)}},$e=ue+" Iterator",ye=false,Ne=Ce.prototype,re=Ne[K]||Ne["@@iterator"]||Se&&Ne[Se],Te=!Y&&re||Me(Se),he=ue==="Array"&&Ne.entries||re,Re,Ge,Fe;if(he&&(Re=l(he.call(new Ce)),Re!==Object.prototype&&Re.next&&(!a&&l(Re)!==G&&(u?u(Re,G):o(Re[K])||b(Re,K,pe)),c(Re,$e,true,true),a&&(I[$e]=pe))),V&&Se===ae&&re&&re.name!==ae&&(!a&&$?m(Ne,"name",ae):(ye=true,Te=function(){return n(re,this)})),Se)if(Ge={values:Me(ae),keys:qe?Te:Me(Q),entries:Me(le)},We)for(Fe in Ge)(Y||ye||!(Fe in Ne))&&b(Ne,Fe,Ge[Fe]);else r({target:ue,proto:true,forced:Y||ye},Ge);return (!a||We)&&Ne[K]!==Te&&b(Ne,K,Te,{name:Se}),I[ue]=Te,Ge};}),Qv=U(function(e,t){t.exports=function(r,n){return {value:r,done:n}};}),eb=U(function(){var e=Hv().charAt,t=oc(),r=jv(),n=Zv(),a=Qv(),i="String Iterator",o=r.set,s=r.getterFor(i);n(String,"String",function(l){o(this,{type:i,string:t(l),index:0});},function(){var u=s(this),c=u.string,m=u.index,b;return m>=c.length?a(void 0,true):(b=e(c,m),u.index+=b.length,a(b,false))});}),tb=U(function(e,t){var r=bn(),n=Mn(),a=Ko();t.exports=function(i,o,s){var l,u;n(i);try{if(l=a(i,"return"),!l){if(o==="throw")throw s;return s}l=r(l,i);}catch(c){u=true,l=c;}if(o==="throw")throw s;if(u)throw l;return n(l),s};}),rb=U(function(e,t){var r=Mn(),n=tb();t.exports=function(a,i,o,s){try{return s?i(r(o)[0],o[1]):i(o)}catch(l){n(a,"throw",l);}};}),nb=U(function(e,t){var r=Gr(),n=gi(),a=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(n.Array===o||i[a]===o)};}),ab=U(function(e,t){var r=cr(),n=Zt(),a=fi(),i=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(o){return i(o)}),t.exports=a.inspectSource;}),ib=U(function(e,t){var r=cr(),n=xr(),a=Zt(),i=hi(),o=Yo(),s=ab(),l=function(){},u=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,m=r(c.exec),b=!c.test(l),C=function(V){if(!a(V))return false;try{return u(l,[],V),!0}catch{return false}},I=function(V){if(!a(V))return false;switch(i(V)){case "AsyncFunction":case "GeneratorFunction":case "AsyncGeneratorFunction":return false}try{return b||!!m(c,s(V))}catch{return true}};I.sham=true,t.exports=!u||n(function(){var P;return C(C.call)||!C(Object)||!C(function(){P=true;})||P})?I:C;}),ob=U(function(e,t){var r=Rr(),n=pi(),a=ui();t.exports=function(i,o,s){r?n.f(i,o,a(0,s)):i[o]=s;};}),sb=U(function(e,t){var r=li();t.exports=Array.isArray||function(a){return r(a)==="Array"};}),lb=U(function(e,t){var r=Rr(),n=sb(),a=TypeError,i=Object.getOwnPropertyDescriptor,o=r&&!(function(){if(this!==void 0)return true;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(s){return s instanceof TypeError}})();t.exports=o?function(s,l){if(n(s)&&!i(s,"length").writable)throw new a("Cannot set read only .length");return s.length=l}:function(s,l){return s.length=l};}),dc=U(function(e,t){var r=hi(),n=Ko(),a=Xo(),i=gi(),o=Gr(),s=o("iterator");t.exports=function(l){if(!a(l))return n(l,s)||n(l,"@@iterator")||i[r(l)]};}),ub=U(function(e,t){var r=bn(),n=di(),a=Mn(),i=Yu(),o=dc(),s=TypeError;t.exports=function(l,u){var c=arguments.length<2?o(l):u;if(n(c))return a(r(c,l));throw new s(i(l)+" is not iterable")};}),cb=U(function(e,t){var r=tc(),n=bn(),a=Zo(),i=rb(),o=nb(),s=ib(),l=nc(),u=ob(),c=lb(),m=ub(),b=dc(),C=Array;t.exports=function(P){var V=a(P),$=s(this),G=arguments.length,Y=G>1?arguments[1]:void 0,K=Y!==void 0;K&&(Y=r(Y,G>2?arguments[2]:void 0));var Q=b(V),ae=0,le,pe,Ce,ue,ge,xe;if(Q&&!(this===C&&o(Q)))for(pe=$?new this:[],ue=m(V,Q),ge=ue.next;!(Ce=n(ge,ue)).done;ae++)xe=K?i(ue,Y,[Ce.value,ae],true):Ce.value,u(pe,ae,xe);else for(le=l(V),pe=$?new this(le):C(le);le>ae;ae++)xe=K?Y(V[ae],ae):V[ae],u(pe,ae,xe);return c(pe,ae),pe};}),db=U(function(e,t){var r=Gr(),n=r("iterator"),a=false;try{i=0,o={next:function(){return {done:!!i++}},return:function(){a=!0;}},o[n]=function(){return this},Array.from(o,function(){throw 2});}catch{}var i,o;t.exports=function(s,l){try{if(!l&&!a)return !1}catch{return false}var u=false;try{var c={};c[n]=function(){return {next:function(){return {done:u=!0}}}},s(c);}catch{}return u};}),fb=U(function(){var e=mi(),t=cb(),r=db(),n=!r(function(a){Array.from(a);});e({target:"Array",stat:true,forced:n},{from:t});}),pb=U(function(e,t){eb(),fb();var r=ca();t.exports=r.Array.from;}),mb=U(function(e,t){var r=pb();t.exports=r;}),fc=U(function(e,t){var r=mb();t.exports=r;}),pc=U(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 n(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=n;function a(o){for(var s=o.length,l="",u=0;u<s;){var c=o.charAt(u);if(e.identSpecialChars[c])l+="\\"+c;else if(c==="_"||c==="-"||c>="A"&&c<="Z"||c>="a"&&c<="z"||u!==0&&c>="0"&&c<="9")l+=c;else {var m=c.charCodeAt(0);if((m&63488)===55296){var b=o.charCodeAt(u++);if((m&64512)!==55296||(b&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");m=((m&1023)<<10)+(b&1023)+65536;}l+="\\"+m.toString(16)+" ";}u++;}return l}e.escapeIdentifier=a;function i(o){for(var s=o.length,l="",u=0,c;u<s;){var m=o.charAt(u);m==='"'?m='\\"':m==="\\"?m="\\\\":(c=e.strReplacementsRev[m])!==void 0&&(m=c),l+=m,u++;}return '"'+l+'"'}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:`
368
419
  `,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:`
369
- `,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),hb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=pc();function r(n,a,i,o,s,l){var u=n.length,c="";function m(G,Y){var K="";for(a++,c=n.charAt(a);a<u;){if(c===G)return a++,K;if(c==="\\"){a++,c=n.charAt(a);var Q=void 0;if(c===G)K+=G;else if((Q=Y[c])!==void 0)K+=Q;else if(t.isHex(c)){var ae=c;for(a++,c=n.charAt(a);t.isHex(c);)ae+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),K+=String.fromCharCode(parseInt(ae,16));continue}else K+=c;}else K+=c;a++,c=n.charAt(a);}return K}function b(){var G="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))G+=c;else if(c==="\\"){if(a++,a>=u)throw Error("Expected symbol but end of file reached.");if(c=n.charAt(a),t.identSpecialChars[c])G+=c;else if(t.isHex(c)){var Y=c;for(a++,c=n.charAt(a);t.isHex(c);)Y+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),G+=String.fromCharCode(parseInt(Y,16));continue}else G+=c;}else return G;a++,c=n.charAt(a);}return G}function C(){c=n.charAt(a);for(var G=false;c===" "||c===" "||c===`
370
- `||c==="\r"||c==="\f";)G=true,a++,c=n.charAt(a);return G}function I(){var G=O();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return G}function O(){var G=V();if(!G)return null;var Y=G;for(c=n.charAt(a);c===",";){if(a++,C(),Y.type!=="selectors"&&(Y={type:"selectors",selectors:[G]}),G=V(),!G)throw Error('Rule expected after ",".');Y.selectors.push(G);}return Y}function V(){C();var G={type:"ruleSet"},Y=$();if(!Y)return null;for(var K=G;Y&&(Y.type="rule",K.rule=Y,K=Y,C(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var Q=c;if(a++,C(),Y=$(),!Y)throw Error('Rule expected after "'+Q+'".');Y.nestingOperator=Q;}else Y=$(),Y&&(Y.nestingOperator=null);return G}function $(){for(var G=null;a<u;)if(c=n.charAt(a),c==="*")a++,(G=G||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(G=G||{}).tagName=b();else if(c===".")a++,G=G||{},(G.classNames=G.classNames||[]).push(b());else if(c==="#")a++,(G=G||{}).id=b();else if(c==="["){a++,C();var Y={name:b()};if(C(),c==="]")a++;else {var K="";if(o[c]&&(K=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');Y.operator=K+"=",a++,C();var Q="";if(Y.valueType="string",c==='"')Q=m('"',t.doubleQuotesEscapeChars);else if(c==="'")Q=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,Q=b(),Y.valueType="substitute";else {for(;a<u&&c!=="]";)Q+=c,a++,c=n.charAt(a);Q=Q.trim();}if(C(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,Y.value=Q;}G=G||{},(G.attrs=G.attrs||[]).push(Y);}else if(c===":"){a++;var ae=b(),le={name:ae};if(c==="("){a++;var pe="";if(C(),i[ae]==="selector")le.valueType="selector",pe=O();else {if(le.valueType=i[ae]||"string",c==='"')pe=m('"',t.doubleQuotesEscapeChars);else if(c==="'")pe=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,pe=b(),le.valueType="substitute";else {for(;a<u&&c!==")";)pe+=c,a++,c=n.charAt(a);pe=pe.trim();}C();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,le.value=pe;}G=G||{},(G.pseudos=G.pseudos||[]).push(le);}else break;return G}return I()}e.parseCssSelector=r;}),gb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=pc();function r(n){var a="";switch(n.type){case "ruleSet":for(var i=n.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;a=o.join(" ");break;case "selectors":a=n.selectors.map(r).join(", ");break;case "rule":n.tagName&&(n.tagName==="*"?a="*":a=t.escapeIdentifier(n.tagName)),n.id&&(a+="#"+t.escapeIdentifier(n.id)),n.classNames&&(a+=n.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),n.attrs&&(a+=n.attrs.map(function(s){return "operator"in s?s.valueType==="substitute"?"["+t.escapeIdentifier(s.name)+s.operator+"$"+s.value+"]":"["+t.escapeIdentifier(s.name)+s.operator+t.escapeStr(s.value)+"]":"["+t.escapeIdentifier(s.name)+"]"}).join("")),n.pseudos&&(a+=n.pseudos.map(function(s){return s.valueType?s.valueType==="selector"?":"+t.escapeIdentifier(s.name)+"("+r(s.value)+")":s.valueType==="substitute"?":"+t.escapeIdentifier(s.name)+"($"+s.value+")":s.valueType==="numeric"?":"+t.escapeIdentifier(s.name)+"("+s.value+")":":"+t.escapeIdentifier(s.name)+"("+t.escapeIdentifier(s.value)+")":":"+t.escapeIdentifier(s.name)}).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return a}e.renderEntity=r;}),vb=W(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=hb(),r=gb(),n=(function(){function a(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return a.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},a.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},a.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},a.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},a.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},a.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},a.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},a.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},a.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},a.prototype.render=function(i){return r.renderEntity(i).trim()},a})();e.CssSelectorParser=n;}),bb=W(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":fe(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{d.globalThis=(function(){if(typeof self<"u")return self;if(typeof d<"u")return d;if(typeof g<"u")return g;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(m){return l[m]||m}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var n={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},a=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||a,function(c,m,b,C){return m.indexOf("def.")===0&&(m=m.substring(4)),m in u||(b===":"?(s.defineParams&&C.replace(s.defineParams,function(I,O,V){u[m]={arg:O,text:V};}),m in u||(u[m]=C)):new Function("def","def['"+m+"']="+C)(u)),""}).replace(s.use||a,function(c,m){s.useParams&&(m=m.replace(s.useParams,function(C,I,O,V){if(u[O]&&u[O].arg&&V){var $=(O+":"+V).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[$]=u[O].text.replace(new RegExp("(^|[^\\w$])"+u[O].arg+"([^\\w$])","g"),"$1"+V+"$2"),I+"def.__exp['"+$+"']"}}));var b=new Function("def","return "+m)(u);return b&&i(s,b,u)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,u){l=l||r.templateSettings;var c=l.append?n.append:n.split,m,b=0,C,I=l.use||l.define?i(l,s,u||{}):s;I=("var out='"+(l.strip?I.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):I).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(O,V){return c.start+o(V)+c.end}).replace(l.encode||a,function(O,V){return m=true,c.startencode+o(V)+c.end}).replace(l.conditional||a,function(O,V,$){return V?$?"';}else if("+o($)+"){out+='":"';}else{out+='":$?"';if("+o($)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(O,V,$,G){return V?(b+=1,C=G||"i"+b,V=o(V),"';var arr"+b+"="+V+";if(arr"+b+"){var "+$+","+C+"=-1,l"+b+"=arr"+b+".length-1;while("+C+"<l"+b+"){"+$+"=arr"+b+"["+C+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(O,V){return "';"+o(V)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),m&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),I="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+I);try{return new Function(l.varname,I)}catch(O){throw typeof console<"u"&&console.log("Could not create a template function: "+I),O}},r.compile=function(s,l){return r.template(s,null,l)};})();}),yb=W(function(e,t){t.exports=function(){};}),yn=W(function(e,t){var r=yb()();t.exports=function(n){return n!==r&&n!==null};}),mc=W(function(e,t){var r=yn(),n=Array.prototype.forEach,a=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=a(null);return n.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),wb=W(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),xb=W(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Db=W(function(e,t){t.exports=wb()()?Math.sign:xb();}),Ab=W(function(e,t){var r=Db(),n=Math.abs,a=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*a(n(i)))};}),wn=W(function(e,t){var r=Ab(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),hc=W(function(e,t){var r=wn();t.exports=function(n,a,i){var o;return isNaN(n)?(o=a,o>=0?i&&o?o-1:o:1):n===false?false:r(n)};}),en=W(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Ln=W(function(e,t){var r=yn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),_b=W(function(e,t){var r=en(),n=Ln(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,m){var b,C=arguments[2],I=arguments[3];return c=Object(n(c)),r(m),b=o(c),I&&b.sort(typeof I=="function"?a.call(I,c):void 0),typeof l!="function"&&(l=b[l]),i.call(l,b,function(O,V){return s.call(c,O)?i.call(m,C,c[O],O,c,V):u})}};}),vi=W(function(e,t){t.exports=_b()("forEach");}),xn=W(function(){}),Eb=W(function(e,t){t.exports=function(){var r=Object.assign,n;return typeof r!="function"?false:(n={foo:"raz"},r(n,{bar:"dwa"},{trzy:"trzy"}),n.foo+n.bar+n.trzy==="razdwatrzy")};}),Cb=W(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Sb=W(function(e,t){var r=yn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),kb=W(function(e,t){t.exports=Cb()()?Object.keys:Sb();}),Tb=W(function(e,t){var r=kb(),n=Ln(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(b){try{i[b]=o[b];}catch(C){s||(s=C);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),gc=W(function(e,t){t.exports=Eb()()?Object.assign:Tb();}),Rb=W(function(e,t){var r=yn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[fe(a)]||false};}),Fb=W(function(e,t){var r=gc(),n=Rb(),a=yn(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return a(u)||n(l)&&(u=l,l=null),a(u)&&r(s,u),a(l)&&(s.code=l),i&&i(s,t.exports),s};}),vc=W(function(e,t){var r=Ln(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(m){try{n(s,m,a(l,m));}catch(b){u=b;}}),typeof o=="function"&&o(c).forEach(function(m){try{n(s,m,a(l,m));}catch(b){u=b;}}),u!==void 0)throw u;return s};}),bc=W(function(e,t){var r=wn(),n=function(u,c){return c},a,i,o,s;try{Object.defineProperty(n,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}n.length===1?(a={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(a.value=u,i(l,"length",a))}):(s=vc(),o=(function(){var l=[];return function(u){var c,m=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++m).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,u){var c;if(u=r(u),l.length===u)return l;c=o(u)(l);try{s(c,l);}catch{}return c});}),yc=W(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),Ib=W(function(e,t){var r=yc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,fe(a)):false};}),Mb=W(function(e,t){var r=Ib();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),Lb=W(function(e,t){var r=Mb();t.exports=function(n){if(typeof n!="function"||!hasOwnProperty.call(n,"length"))return false;try{if(typeof n.length!="number"||typeof n.call!="function"||typeof n.apply!="function")return !1}catch{return false}return !r(n)};}),Pb=W(function(e,t){var r=Lb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Ob=W(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Nb=W(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),qb=W(function(e,t){t.exports=Ob()()?String.prototype.contains:Nb();}),Dn=W(function(e,t){var r=yc(),n=Pb(),a=gc(),i=mc(),o=qb(),s=t.exports=function(l,u){var c,m,b,C,I;return arguments.length<2||typeof l!="string"?(C=u,u=l,l=null):C=arguments[2],r(l)?(c=o.call(l,"c"),m=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,m=false),I={value:u,configurable:c,enumerable:m,writable:b},C?a(i(C),I):I};s.gs=function(l,u,c){var m,b,C,I;return typeof l!="string"?(C=c,c=u,u=l,l=null):C=arguments[3],r(u)?n(u)?r(c)?n(c)||(C=c,c=void 0):c=void 0:(C=u,u=c=void 0):u=void 0,r(l)?(m=o.call(l,"c"),b=o.call(l,"e")):(m=true,b=false),I={get:u,set:c,configurable:m,enumerable:b},C?a(i(C),I):I};}),Bb=W(function(e,t){var r=Dn(),n=en(),a=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},m,b,C,I,O,V,$;m=function(Y,K){var Q;return n(K),u.call(this,"__ee__")?Q=this.__ee__:(Q=c.value=o(null),s(this,"__ee__",c),c.value=null),Q[Y]?fe(Q[Y])==="object"?Q[Y].push(K):Q[Y]=[Q[Y],K]:Q[Y]=K,this},b=function(Y,K){var Q,ae;return n(K),ae=this,m.call(this,Y,Q=function(){C.call(ae,Y,Q),a.call(K,this,arguments);}),Q.__eeOnceListener__=K,this},C=function(Y,K){var Q,ae,le,pe;if(n(K),!u.call(this,"__ee__"))return this;if(Q=this.__ee__,!Q[Y])return this;if(ae=Q[Y],fe(ae)==="object")for(pe=0;le=ae[pe];++pe)(le===K||le.__eeOnceListener__===K)&&(ae.length===2?Q[Y]=ae[pe?0:1]:ae.splice(pe,1));else (ae===K||ae.__eeOnceListener__===K)&&delete Q[Y];return this},I=function(Y){var K,Q,ae,le,pe;if(u.call(this,"__ee__")&&(le=this.__ee__[Y],!!le))if(fe(le)==="object"){for(Q=arguments.length,pe=new Array(Q-1),K=1;K<Q;++K)pe[K-1]=arguments[K];for(le=le.slice(),K=0;ae=le[K];++K)a.call(ae,this,pe);}else switch(arguments.length){case 1:i.call(le,this);break;case 2:i.call(le,this,arguments[1]);break;case 3:i.call(le,this,arguments[1],arguments[2]);break;default:for(Q=arguments.length,pe=new Array(Q-1),K=1;K<Q;++K)pe[K-1]=arguments[K];a.call(le,this,pe);}},O={on:m,once:b,off:C,emit:I},V={on:r(m),once:r(b),off:r(C),emit:r(I)},$=l({},V),t.exports=e=function(Y){return Y==null?o($):l(Object(Y),V)},e.methods=O;}),Hb=W(function(e,t){t.exports=function(){var r=Array.from,n,a;return typeof r!="function"?false:(n=["raz","dwa"],a=r(n),!!(a&&a!==n&&a[1]==="dwa"))};}),Vb=W(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":fe(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),jb=W(function(e,t){var r=function(){if((typeof self>"u"?"undefined":fe(self))==="object"&&self)return self;if((typeof d>"u"?"undefined":fe(d))==="object"&&d)return d;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__;}})();}),bi=W(function(e,t){t.exports=Vb()()?globalThis:jb();}),$b=W(function(e,t){var r=bi(),n={object:true,symbol:true};t.exports=function(){var a=r.Symbol,i;if(typeof a!="function")return false;i=a("test symbol");try{String(i);}catch{return false}return !(!n[fe(a.iterator)]||!n[fe(a.toPrimitive)]||!n[fe(a.toStringTag)])};}),zb=W(function(e,t){t.exports=function(r){return r?fe(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),wc=W(function(e,t){var r=zb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),Gb=W(function(e,t){var r=Dn(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,a(i,u,r.gs(null,function(m){c||(c=true,a(this,u,r(m)),c=false);})),u};}),Ub=W(function(e,t){var r=Dn(),n=bi().Symbol;t.exports=function(a){return Object.defineProperties(a,{hasInstance:r("",n&&n.hasInstance||a("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||a("isConcatSpreadable")),iterator:r("",n&&n.iterator||a("iterator")),match:r("",n&&n.match||a("match")),replace:r("",n&&n.replace||a("replace")),search:r("",n&&n.search||a("search")),species:r("",n&&n.species||a("species")),split:r("",n&&n.split||a("split")),toPrimitive:r("",n&&n.toPrimitive||a("toPrimitive")),toStringTag:r("",n&&n.toStringTag||a("toStringTag")),unscopables:r("",n&&n.unscopables||a("unscopables"))})};}),Wb=W(function(e,t){var r=Dn(),n=wc(),a=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return a[o]?a[o]:a[o]=i(String(o))}),keyFor:r(function(o){var s;n(o);for(s in a)if(a[s]===o)return s})})};}),Xb=W(function(e,t){var r=Dn(),n=wc(),a=bi().Symbol,i=Gb(),o=Ub(),s=Wb(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,m,b,C;if(typeof a=="function")try{String(a()),C=!0;}catch{}else a=null;b=function(O){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return m(O)},t.exports=m=function I(O){var V;if(this instanceof I)throw new TypeError("Symbol is not a constructor");return C?a(O):(V=l(b.prototype),O=O===void 0?"":String(O),u(V,{__description__:r("",O),__name__:r("",i(O))}))},o(m),s(m),u(b.prototype,{constructor:r(m),toString:r("",function(){return this.__name__})}),u(m.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(m.prototype,m.toPrimitive,r("",function(){var I=n(this);return fe(I)==="symbol"?I:I.toString()})),c(m.prototype,m.toStringTag,r("c","Symbol")),c(b.prototype,m.toStringTag,r("c",m.prototype[m.toStringTag])),c(b.prototype,m.toPrimitive,r("c",m.prototype[m.toPrimitive]));}),Yb=W(function(e,t){t.exports=$b()()?bi().Symbol:Xb();}),Kb=W(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),Jb=W(function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(a){return typeof a=="function"&&n(r.call(a))};}),Zb=W(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&fe(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),Qb=W(function(e,t){var r=Yb().iterator,n=Kb(),a=Jb(),i=wn(),o=en(),s=Ln(),l=yn(),u=Zb(),c=Array.isArray,m=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},C=Object.defineProperty;t.exports=function(I){var O=arguments[1],V=arguments[2],$,G,Y,K,Q,ae,le,pe,Ce,ue;if(I=Object(s(I)),l(O)&&o(O),!this||this===Array||!a(this)){if(!O){if(n(I))return Q=I.length,Q!==1?Array.apply(null,I):(K=new Array(1),K[0]=I[0],K);if(c(I)){for(K=new Array(Q=I.length),G=0;G<Q;++G)K[G]=I[G];return K}}K=[];}else $=this;if(!c(I)){if((Ce=I[r])!==void 0){for(le=o(Ce).call(I),$&&(K=new $),pe=le.next(),G=0;!pe.done;)ue=O?m.call(O,V,pe.value,G):pe.value,$?(b.value=ue,C(K,G,b)):K[G]=ue,pe=le.next(),++G;Q=G;}else if(u(I)){for(Q=I.length,$&&(K=new $),G=0,Y=0;G<Q;++G)ue=I[G],G+1<Q&&(ae=ue.charCodeAt(0),ae>=55296&&ae<=56319&&(ue+=I[++G])),ue=O?m.call(O,V,ue,Y):ue,$?(b.value=ue,C(K,Y,b)):K[Y]=ue,++Y;Q=Y;}}if(Q===void 0)for(Q=i(I.length),$&&(K=new $(Q)),G=0;G<Q;++G)ue=O?m.call(O,V,I[G],G):I[G],$?(b.value=ue,C(K,G,b)):K[G]=ue;return $&&(b.value=null,K.length=Q),K};}),as=W(function(e,t){t.exports=Hb()()?Array.from:Qb();}),ey=W(function(e,t){var r=as(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),ty=W(function(e,t){var r=ey(),n=yn(),a=en(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){n(l)&&a(l);}),o.bind(s)};}),ry=W(function(e,t){var r=en();t.exports=function(n){var a;return typeof n=="function"?{set:n,get:n}:(a={get:r(n.get)},n.set!==void 0?(a.set=r(n.set),n.delete&&(a.delete=r(n.delete)),n.clear&&(a.clear=r(n.clear)),a):(a.set=a.get,a))};}),ny=W(function(e,t){var r=Fb(),n=bc(),a=Dn(),i=Bb().methods,o=ty(),s=ry(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,m=Object.defineProperties,b=i.on,C=i.emit;t.exports=function(I,O,V){var $=c(null),G,Y,K,Q,ae,le,pe,Ce,ue,ge,xe,Se,qe,Ue,Me;return O!==false?Y=O:isNaN(I.length)?Y=1:Y=I.length,V.normalizer&&(ge=s(V.normalizer),K=ge.get,Q=ge.set,ae=ge.delete,le=ge.clear),V.resolvers!=null&&(Me=o(V.resolvers)),K?Ue=n(function($e){var ye,Ne,re=arguments;if(Me&&(re=Me(re)),ye=K(re),ye!==null&&hasOwnProperty.call($,ye))return xe&&G.emit("get",ye,re,this),$[ye];if(re.length===1?Ne=u.call(I,this,re[0]):Ne=l.call(I,this,re),ye===null){if(ye=K(re),ye!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ye=Q(re);}else if(hasOwnProperty.call($,ye))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[ye]=Ne,Se&&G.emit("set",ye,null,Ne),Ne},Y):O===0?Ue=function(){var ye;if(hasOwnProperty.call($,"data"))return xe&&G.emit("get","data",arguments,this),$.data;if(arguments.length?ye=l.call(I,this,arguments):ye=u.call(I,this),hasOwnProperty.call($,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return $.data=ye,Se&&G.emit("set","data",null,ye),ye}:Ue=function(ye){var Ne,re=arguments,Te;if(Me&&(re=Me(arguments)),Te=String(re[0]),hasOwnProperty.call($,Te))return xe&&G.emit("get",Te,re,this),$[Te];if(re.length===1?Ne=u.call(I,this,re[0]):Ne=l.call(I,this,re),hasOwnProperty.call($,Te))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[Te]=Ne,Se&&G.emit("set",Te,null,Ne),Ne},G={original:I,memoized:Ue,profileName:V.profileName,get:function(ye){return Me&&(ye=Me(ye)),K?K(ye):String(ye[0])},has:function(ye){return hasOwnProperty.call($,ye)},delete:function(ye){var Ne;hasOwnProperty.call($,ye)&&(ae&&ae(ye),Ne=$[ye],delete $[ye],qe&&G.emit("delete",ye,Ne));},clear:function(){var ye=$;le&&le(),$=c(null),G.emit("clear",ye);},on:function(ye,Ne){return ye==="get"?xe=true:ye==="set"?Se=true:ye==="delete"&&(qe=true),b.call(this,ye,Ne)},emit:C,updateEnv:function(){I=G.original;}},K?pe=n(function($e){var ye,Ne=arguments;Me&&(Ne=Me(Ne)),ye=K(Ne),ye!==null&&G.delete(ye);},Y):O===0?pe=function(){return G.delete("data")}:pe=function(ye){return Me&&(ye=Me(arguments)[0]),G.delete(ye)},Ce=n(function(){var $e,ye=arguments;return O===0?$.data:(Me&&(ye=Me(ye)),K?$e=K(ye):$e=String(ye[0]),$[$e])}),ue=n(function(){var $e,ye=arguments;return O===0?G.has("data"):(Me&&(ye=Me(ye)),K?$e=K(ye):$e=String(ye[0]),$e===null?false:G.has($e))}),m(Ue,{__memoized__:a(true),delete:a(pe),clear:a(G.clear),_get:a(Ce),_has:a(ue)}),G};}),ay=W(function(e,t){var r=en(),n=vi(),a=xn(),i=ny(),o=hc();t.exports=function s(l){var u,c,m;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&a.async),m=i(l,c,u),n(a,function(b,C){u[C]&&b(u[C],m,u);}),s.__profiler__&&s.__profiler__(m),m.updateEnv(),m.memoized)};}),iy=W(function(e,t){t.exports=function(r){var n,a,i=r.length;if(!i)return "";for(n=String(r[a=0]);--i;)n+=""+r[++a];return n};}),oy=W(function(e,t){t.exports=function(r){return r?function(n){for(var a=String(n[0]),i=0,o=r;--o;)a+=""+n[++i];return a}:function(){return ""}};}),sy=W(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),ly=W(function(e,t){t.exports=function(r){return r!==r};}),uy=W(function(e,t){t.exports=sy()()?Number.isNaN:ly();}),is=W(function(e,t){var r=uy(),n=wn(),a=Ln(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,m,b,C;if(!r(u))return i.apply(this,arguments);for(m=n(a(this).length),b=arguments[1],isNaN(b)?b=0:b>=0?b=l(b):b=n(this.length)-l(s(b)),c=b;c<m;++c)if(o.call(this,c)&&(C=this[c],r(C)))return c;return -1};}),cy=W(function(e,t){var r=is(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,m,b=l.length;if(b===0)return c[b]||null;if(c=c[b]){for(;u<b-1;){if(m=r.call(c[0],l[u]),m===-1)return null;c=c[1][m],++u;}return m=r.call(c[0],l[u]),m===-1?null:c[1][m]||null}return null},set:function(l){var u=0,c=i,m,b=l.length;if(b===0)c[b]=++a;else {for(c[b]||(c[b]=[[],[]]),c=c[b];u<b-1;)m=r.call(c[0],l[u]),m===-1&&(m=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][m],++u;m=r.call(c[0],l[u]),m===-1&&(m=c[0].push(l[u])-1),c[1][m]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,m,b=o[l],C=b.length,I=[];if(C===0)delete c[C];else if(c=c[C]){for(;u<C-1;){if(m=r.call(c[0],b[u]),m===-1)return;I.push(c,m),c=c[1][m],++u;}if(m=r.call(c[0],b[u]),m===-1)return;for(l=c[1][m],c[0].splice(m,1),c[1].splice(m,1);!c[0].length&&I.length;)m=I.pop(),c=I.pop(),c[0].splice(m,1),c[1].splice(m,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),dy=W(function(e,t){var r=is();t.exports=function(){var n=0,a=[],i=[];return {get:function(s){var l=r.call(a,s[0]);return l===-1?null:i[l]},set:function(s){return a.push(s[0]),i.push(++n),n},delete:function(s){var l=r.call(i,s);l!==-1&&(a.splice(l,1),i.splice(l,1));},clear:function(){a=[],i=[];}}};}),fy=W(function(e,t){var r=is(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,m=o,b;c<a-1;){if(b=r.call(m[0],u[c]),b===-1)return null;m=m[1][b],++c;}return b=r.call(m[0],u[c]),b===-1?null:m[1][b]||null},set:function(u){for(var c=0,m=o,b;c<a-1;)b=r.call(m[0],u[c]),b===-1&&(b=m[0].push(u[c])-1,m[1].push([[],[]])),m=m[1][b],++c;return b=r.call(m[0],u[c]),b===-1&&(b=m[0].push(u[c])-1),m[1][b]=++i,s[i]=u,i},delete:function(u){for(var c=0,m=o,b,C=[],I=s[u];c<a-1;){if(b=r.call(m[0],I[c]),b===-1)return;C.push(m,b),m=m[1][b],++c;}if(b=r.call(m[0],I[c]),b!==-1){for(u=m[1][b],m[0].splice(b,1),m[1].splice(b,1);!m[0].length&&C.length;)b=C.pop(),m=C.pop(),m[0].splice(b,1),m[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),xc=W(function(e,t){var r=en(),n=vi(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,m,b){s[c]=a.call(o,l,u,c,m,b);}),s};}),os=W(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},n=function(i){var o=h.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":fe(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof h>"u"?"undefined":fe(h))==="object"&&h){if(typeof MutationObserver=="function")return n(MutationObserver);if(typeof WebKitMutationObserver=="function")return n(WebKitMutationObserver)}return typeof setImmediate=="function"?function(a){setImmediate(r(a));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":fe(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),py=W(function(){var e=as(),t=xc(),r=vc(),n=bc(),a=os(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;xn().async=function(l,u){var c=s(null),m=s(null),b=u.memoized,C=u.original,I,O,V;u.memoized=n(function($){var G=arguments,Y=G[G.length-1];return typeof Y=="function"&&(I=Y,G=i.call(G,0,-1)),b.apply(O=this,V=G)},b);try{r(u.memoized,b);}catch{}u.on("get",function($){var G,Y,K;if(I){if(c[$]){typeof c[$]=="function"?c[$]=[c[$],I]:c[$].push(I),I=null;return}G=I,Y=O,K=V,I=O=V=null,a(function(){var Q;hasOwnProperty.call(m,$)?(Q=m[$],u.emit("getasync",$,K,Y),o.call(G,Q.context,Q.args)):(I=G,O=Y,V=K,b.apply(Y,K));});}}),u.original=function(){var $,G,Y,K;return I?($=e(arguments),G=function Q(ae){var le,pe,Ce=Q.id;if(Ce==null){a(o.bind(Q,this,arguments));return}if(delete Q.id,le=c[Ce],delete c[Ce],!!le)return pe=e(arguments),u.has(Ce)&&(ae?u.delete(Ce):(m[Ce]={context:this,args:pe},u.emit("setasync",Ce,typeof le=="function"?1:le.length))),typeof le=="function"?K=o.call(le,this,pe):le.forEach(function(ue){K=o.call(ue,this,pe);},this),K},Y=I,I=O=V=null,$.push(G),K=o.call(C,this,$),G.cb=Y,I=G,K):o.call(C,this,arguments)},u.on("set",function($){if(!I){u.delete($);return}c[$]?typeof c[$]=="function"?c[$]=[c[$],I.cb]:c[$].push(I.cb):c[$]=I.cb,delete I.cb,I.id=$,I=null;}),u.on("delete",function($){var G;hasOwnProperty.call(c,$)||m[$]&&(G=m[$],delete m[$],u.emit("deleteasync",$,i.call(G.args,1)));}),u.on("clear",function(){var $=m;m=s(null),u.emit("clearasync",t($,function(G){return i.call(G.args,1)}));});};}),my=W(function(e,t){var r=Array.prototype.forEach,n=Object.create;t.exports=function(a){var i=n(null);return r.call(arguments,function(o){i[o]=true;}),i};}),Dc=W(function(e,t){t.exports=function(r){return typeof r=="function"};}),hy=W(function(e,t){var r=Dc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),gy=W(function(e,t){var r=Ln(),n=hy();t.exports=function(a){return n(r(a))};}),vy=W(function(e,t){var r=Dc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),by=W(function(e,t){var r=vy(),n=/[\n\r\u2028\u2029]/g;t.exports=function(a){var i=r(a);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(n,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),Ac=W(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(fe(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),yy=W(function(){var e=xc(),t=my(),r=gy(),n=by(),a=Ac(),i=os(),o=Object.create,s=t("then","then:finally","done","done:finally");xn().promise=function(l,u){var c=o(null),m=o(null),b=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");u.on("set",function(C,I,O){var V=false;if(!a(O)){m[C]=O,u.emit("setasync",C,1);return}c[C]=1,b[C]=O;var $=function(ae){var le=c[C];if(V)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)
371
- Consider to rely on 'then' or 'done' mode instead.`);le&&(delete c[C],m[C]=ae,u.emit("setasync",C,le));},G=function(){V=true,c[C]&&(delete c[C],delete b[C],u.delete(C));},Y=l;if(Y||(Y="then"),Y==="then"){var K=function(){i(G);};O=O.then(function(Q){i($.bind(this,Q));},K),typeof O.finally=="function"&&O.finally(K);}else if(Y==="done"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");O.done($,G);}else if(Y==="done:finally"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof O.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");O.done($),O.finally(G);}}),u.on("get",function(C,I,O){var V;if(c[C]){++c[C];return}V=b[C];var $=function(){u.emit("getasync",C,I,O);};a(V)?typeof V.done=="function"?V.done($):V.then(function(){i($);}):$();}),u.on("delete",function(C){if(delete b[C],c[C]){delete c[C];return}if(hasOwnProperty.call(m,C)){var I=m[C];delete m[C],u.emit("deleteasync",C,[I]);}}),u.on("clear",function(){var C=m;m=o(null),c=o(null),b=o(null),u.emit("clearasync",e(C,function(I){return [I]}));});};}),wy=W(function(){var e=en(),t=vi(),r=xn(),n=Function.prototype.apply;r.dispose=function(a,i,o){var s;if(e(a),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){n.call(a,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){a(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),xy=W(function(e,t){t.exports=2147483647;}),Dy=W(function(e,t){var r=wn(),n=xy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Ay=W(function(){var e=as(),t=vi(),r=os(),n=Ac(),a=Dy(),i=xn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,m,b){var C,I,O,V;c=a(c),c&&(C=u(null),I=b.async&&i.async||b.promise&&i.promise?"async":"",m.on("set"+I,function($){C[$]=setTimeout(function(){m.delete($);},c),typeof C[$].unref=="function"&&C[$].unref(),V&&(V[$]&&V[$]!=="nextTick"&&clearTimeout(V[$]),V[$]=setTimeout(function(){delete V[$];},O),typeof V[$].unref=="function"&&V[$].unref());}),m.on("delete"+I,function($){clearTimeout(C[$]),delete C[$],V&&(V[$]!=="nextTick"&&clearTimeout(V[$]),delete V[$]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?O=.333:O=s(l(Number(b.preFetch),1),0),O&&(V={},O=(1-O)*c,m.on("get"+I,function($,G,Y){V[$]||(V[$]="nextTick",r(function(){var K;V[$]==="nextTick"&&(delete V[$],m.delete($),b.async&&(G=e(G),G.push(o)),K=m.memoized.apply(Y,G),b.promise&&n(K)&&(typeof K.done=="function"?K.done(o,o):K.then(o,o)));}));}))),m.on("clear"+I,function(){t(C,function($){clearTimeout($);}),C={},V&&(t(V,function($){$!=="nextTick"&&clearTimeout($);}),V={});}));};}),_y=W(function(e,t){var r=wn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),u=n(null),c=0,m;return i=r(i),{hit:function(C){var I=u[C],O=++c;if(l[O]=C,u[C]=O,!I)return ++o,o<=i?void 0:(C=l[s],m(C),C);if(delete l[I],s===I)for(;!a.call(l,++s););},delete:m=function(C){var I=u[C];if(I&&(delete l[I],delete u[C],--o,s===I)){if(!o){c=0,s=1;return}for(;!a.call(l,++s););}},clear:function(){o=0,s=1,l=n(null),u=n(null),c=0;}}};}),Ey=W(function(){var e=wn(),t=_y(),r=xn();r.max=function(n,a,i){var o,s,l;n=e(n),n&&(s=t(n),o=i.async&&r.async||i.promise&&r.promise?"async":"",a.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&a.delete(c);}),a.on("get"+o,l),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),Cy=W(function(){var e=Dn(),t=xn(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),Sy=W(function(e,t){var r=mc(),n=hc(),a=ay();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=n(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=iy():s>1&&(o.normalizer=oy()(s)):s===false?o.normalizer=cy()():s===1?o.normalizer=dy()():o.normalizer=fy()(s))),o.async&&py(),o.promise&&yy(),o.dispose&&wy(),o.maxAge&&Ay(),o.max&&Ey(),o.refCounter&&Cy(),a(i,o)};}),ky=[{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"])};ky.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;Dr[t]=r,Dr[t+"_PRIO"]=n,Dr[t+"_GROUP"]=a,Dr.results[n]=r,Dr.resultGroups[n]=a,Dr.resultGroupMap[r]=a;}),Object.freeze(Dr.results),Object.freeze(Dr.resultGroups),Object.freeze(Dr.resultGroupMap),Object.freeze(Dr);var Ke=Dr;function Ty(){(typeof console>"u"?"undefined":fe(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var An=Ty,Ry=/[\t\r\n\f]/g,Fy=(function(){function e(){_t(this,e),this.parent=void 0;}return lt(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(Ry," ").indexOf(a)>=0}}])})(),Vt=Fy,ss={};yr(ss,{DqElement:function(){return mr},RuleError:function(){return _o},aggregate:function(){return yi},aggregateChecks:function(){return Cc},aggregateNodeResults:function(){return Sc},aggregateResult:function(){return kc},areStylesSet:function(){return qy},assert:function(){return ut},checkHelper:function(){return Ps},clone:function(){return Ur},closest:function(){return ir},collectResultsFromFrames:function(){return bf},contains:function(){return Wr},convertSelector:function(){return Vi},cssParser:function(){return Jd},deepMerge:function(){return Xs},escapeSelector:function(){return Rt},extendMetaData:function(){return Ys},filterHtmlAttrs:function(){return Mm},finalizeRuleResult:function(){return fa},findBy:function(){return Fa},getAllChecks:function(){return Ui},getAncestry:function(){return Hi},getBaseLang:function(){return Fn},getCheckMessage:function(){return n2},getCheckOption:function(){return bo},getElementSource:function(){return Yd},getEnvironmentData:function(){return pn},getFlattenedTree:function(){return Nl},getFrameContexts:function(){return w2},getFriendlyUriEnd:function(){return Fc},getNodeAttributes:function(){return ha},getNodeFromTree:function(){return Ze},getPreloadConfig:function(){return Tm},getRootNode:function(){return Ia},getRule:function(){return pm},getScroll:function(){return Kr},getScrollState:function(){return A2},getSelector:function(){return Ms},getSelectorData:function(){return Bi},getShadowSelector:function(){return Rs},getStandards:function(){return _2},getStyleSheetFactory:function(){return gm},getXpath:function(){return Xd},injectStyle:function(){return S2},isArrayLike:function(){return jl},isContextObject:function(){return $l},isContextProp:function(){return wo},isContextSpec:function(){return vm},isHidden:function(){return k2},isHtmlElement:function(){return Gl},isLabelledFramesSelector:function(){return zl},isLabelledShadowDomSelector:function(){return xo},isNodeInContext:function(){return Ul},isShadowRoot:function(){return Xi},isValidLang:function(){return Co},isXHTML:function(){return _a},matchAncestry:function(){return Wl},matches:function(){return Ns},matchesExpression:function(){return qn},matchesSelector:function(){return Pn},memoize:function(){return wt},mergeResults:function(){return Wi},nodeLookup:function(){return ot},nodeSerializer:function(){return hr},nodeSorter:function(){return Xl},objectHasOwn:function(){return Or},parseCrossOriginStylesheet:function(){return Kl},parseSameOriginStylesheet:function(){return wm},parseStylesheet:function(){return Yl},parseTabindex:function(){return Nr},performanceTimer:function(){return ft},pollyfillElementsFromPoint:function(){return xm},preload:function(){return Sm},preloadCssom:function(){return Am},preloadMedia:function(){return Cm},processMessage:function(){return Vl},publishMetaData:function(){return Do},querySelectorAll:function(){return ur},querySelectorAllFilter:function(){return qr},queue:function(){return Ir},respondable:function(){return Er},ruleShouldRun:function(){return Im},select:function(){return Jl},sendCommandToFrame:function(){return mf},serializeError:function(){return Ao},setScrollState:function(){return sE},shadowSelect:function(){return lE},shadowSelectAll:function(){return Zl},shouldPreload:function(){return km},toArray:function(){return Rc},tokenList:function(){return Kt},uniqueArray:function(){return Wa},uuid:function(){return fx},validInputTypes:function(){return Eo},validLangs:function(){return qm}});function Iy(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(a){return e.indexOf(a)}).sort();return e[n.pop()]}var yi=Iy,My=Ke.CANTTELL_PRIO,Ly=Ke.FAIL_PRIO,wi=[];wi[Ke.PASS_PRIO]=true,wi[Ke.CANTTELL_PRIO]=null,wi[Ke.FAIL_PRIO]=false;var _c=["any","all","none"];function Ec(e,t){return _c.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Py(e){var t=Object.assign({},e);Ec(t,function(a,i){var o=typeof a.result>"u"?-1:wi.indexOf(a.result);a.priority=o!==-1?o:Ke.CANTTELL_PRIO,i==="none"&&(a.priority===Ke.PASS_PRIO?a.priority=Ke.FAIL_PRIO:a.priority===Ke.FAIL_PRIO&&(a.priority=Ke.PASS_PRIO));});var r={all:t.all.reduce(function(a,i){return Math.max(a,i.priority)},0),none:t.none.reduce(function(a,i){return Math.max(a,i.priority)},0),any:t.any.reduce(function(a,i){return Math.min(a,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return _c.forEach(function(a){t[a]=t[a].filter(function(i){return i.priority===t.priority&&i.priority===r[a]}),t[a].forEach(function(i){return n.push(i.impact)});}),[My,Ly].includes(t.priority)?t.impact=yi(Ke.impact,n):t.impact=null,Ec(t,function(a){delete a.result,delete a.priority;}),t.result=Ke.results[t.priority],delete t.priority,t}var Cc=Py;function fa(e){var t=p._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,Sc(e.nodes)),delete e.nodes,e}function Oy(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Cc(i);if(Array.isArray(i.node))return fa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=yi(Ke.results,r,t.result);}else t.result="inapplicable";Ke.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Ke.resultGroupMap[i.result];t[o].push(i);});var n=Ke.FAIL_GROUP;if(t[n].length===0&&(n=Ke.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=yi(Ke.impact,a)||null;}else t.impact=null;return t}var Sc=Oy;function ls(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Ke.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function Ny(e){var t={};return Ke.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?ls(t,r,Ke.CANTTELL_GROUP):r.result===Ke.NA?ls(t,r,Ke.NA_GROUP):Ke.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&ls(t,r,n);});}),t}var kc=Ny;function Tc(e,t,r){var n=d.getComputedStyle(e,null);if(!n)return false;for(var a=0;a<t.length;++a){var i=t[a];if(n.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:Tc(e.parentNode,t,r)}var qy=Tc;function By(e,t){if(!e)throw new Error(t)}var ut=By;function Hy(e){return Array.prototype.slice.call(e)}var Rc=Hy;function Vy(e){for(var t=String(e),r=t.length,n=-1,a,i="",o=t.charCodeAt(0);++n<r;){if(a=t.charCodeAt(n),a==0){i+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&o==45){i+="\\"+a.toString(16)+" ";continue}if(n==0&&r==1&&a==45){i+="\\"+t.charAt(n);continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=t.charAt(n);continue}i+="\\"+t.charAt(n);}return i}var Rt=Vy;function jy(){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 pa(e,t){return [e.substring(0,t),e.substring(t)]}function ma(e){return e.replace(/\s+$/,"")}function $y(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=pa(e,e.indexOf("#")),u=Ae(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=pa(e,e.indexOf("?")),m=Ae(c,2);e=m[0],o=m[1];}if(e.includes("://")){var b=e.split("://"),C=Ae(b,2);r=C[0],e=C[1];var I=pa(e,e.indexOf("/")),O=Ae(I,2);n=O[0],e=O[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var V=pa(e,e.indexOf("/")),$=Ae(V,2);n=$[0],e=$[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var G=pa(n,n.indexOf(":")),Y=Ae(G,2);n=Y[0],a=Y[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function zy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=n===void 0?25:n,i=$y(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=a?ma(u+l):u.length<2&&l.length>2&&l.length<=a?ma(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ma(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=a&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!jy(u))return ma(u)}}var Fc=zy;function Gy(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var ha=Gy,Uy=(function(){var e;function t(r){var n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,i,o;for(i=0;i<a;i++)if(o=n[i],r[o])return o}return function(r,n){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](n):false}})(),Pn=Uy,Ic={};yr(Ic,{ArrayFrom:function(){return jd.default},Colorjs:function(){return gt},CssSelectorParser:function(){return Mc.CssSelectorParser},doT:function(){return tn.default},emojiRegexText:function(){return us},memoize:function(){return Lc.default}});var Wy=Tr(fv()),Xy=Tr(pv());Tr(mv());var Yy=Tr(kv()),Ky=Tr(Bv()),Jy=Tr(fc());"hasOwn"in Object||(Object.hasOwn=Yy.default),"values"in Object||(Object.values=Ky.default),"Promise"in d||Wy.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=Xy.Uint32Array),d.Uint32Array&&("some"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),n=r.length>>>0,a=arguments[1],i,o=0;o<n;o++)if(i=r[o],t.call(a,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var n=Object(this),a=n.length>>>0,i,o=0;o<a;o++)if(i=n[o],t.call(r,i,o,n))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),n=parseInt(r.length,10)||0;if(n===0)return false;var a=parseInt(arguments[1],10)||0,i;a>=0?i=a:(i=n+a,i<0&&(i=0));for(var o;i<n;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),n=r.length>>>0,a=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in r&&t.call(a,r[i],i,r))return true;return false}}),Array.from||(Array.from=Jy.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:true}),d.Node&&!("isConnected"in d.Node.prototype)&&Object.defineProperty(d.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Mc=Tr(vb()),tn=Tr(bb()),us=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},Lc=Tr(Sy());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 n=t[0].length,a=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return a.map(function(s){var l=0;if(!Array.isArray(o)){var u=it(s),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;l+=o*m;}}catch(C){u.e(C);}finally{u.f();}return l}for(var b=0;b<o.length;b++)l+=o[b]*(s[b]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function ga(e){return rn(e)==="string"}function rn(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function xi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Pc(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,n=e.match(t);if(n){var a=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),a.push(o);}),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:a}}}}function Oc(e){return e[e.length-1]}function Di(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Nc(e,t,r){return (r-e)/(t-e)}function cs(e,t,r){return Di(t[0],t[1],Nc(e[0],e[1],r))}function qc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var n=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(n){var a=new String(n[1]);return a.range=[+n[2],+n[3]],a}return r})})}var Zy=Object.freeze({__proto__:null,isString:ga,type:rn,toPrecision:xi,parseFunction:Pc,last:Oc,interpolate:Di,interpolateInv:Nc,mapRange:cs,parseCoordGrammar:qc,multiplyMatrices:Lt}),Qy=(function(){function e(){_t(this,e);}return lt(e,[{key:"add",value:function(r,n,a){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],n&&this[i][a?"unshift":"push"](n);},this);}},{key:"run",value:function(r,n){this[r]=this[r]||[],this[r].forEach(function(a){a.call(n&&n.context?n.context:n,n);});}}])})(),nn=new Qy,Fr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Ar={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function ds(e){return Array.isArray(e)?e:Ar[e]}function Ai(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=ds(e),t=ds(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(nn.run("chromatic-adaptation-start",a),a.M||(a.W1===Ar.D65&&a.W2===Ar.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Ar.D50&&a.W2===Ar.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),nn.run("chromatic-adaptation-end",a),a.M)return Lt(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var e0=75e-6,_r=(ne=new WeakSet,se=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;_t(this,e),br(this,ne),Mt(this,se,void 0),this.id=t.id,this.name=t.name,this.base=t.base?_r.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=ds(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var m in this.formats){var b=this.formats[m];b.type||(b.type="function"),b.name||(b.name=m);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Tt(se,this,tr(ne,this,t0).call(this).reverse()),nn.run("colorspace-init-end",this);}return lt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?e0:a;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=Ae(u.range,2),m=c[0],b=c[1];return (m===void 0||s>=m-i)&&(b===void 0||s<=b+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(fe(r)==="object")return r=tr(ne,this,Bc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=tr(ne,this,Bc).call(this,n),n):null}},{key:"to",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}if(r=_r.get(r),this===r)return n;n=n.map(function(b){return Number.isNaN(b)?0:b});for(var i=Gt(se,this),o=Gt(se,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)n=i[c].toBase(n);for(var m=l+1;m<o.length;m++)n=o[m].fromBase(n);return n}},{key:"from",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}return r=_r.get(r),r.to(this,n)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var n in this.coords){var a,i=this.coords[n],o=i.range||i.refRange;r.push((a=o?.min)!==null&&a!==void 0?a:0);}return r}}],[{key:"all",get:function(){return Ee(new Set(Object.values(_r.registry)))}},{key:"register",value:function(r,n){if(arguments.length===1&&(n=arguments[0],r=n.id),n=this.get(n),this.registry[r]&&this.registry[r]!==n)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=n,arguments.length===1&&n.aliases){var a=it(n.aliases),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;this.register(o,n);}}catch(s){a.e(s);}finally{a.f();}}return n}},{key:"get",value:function(r){if(!r||r instanceof _r)return r;var n=rn(r);if(n==="string"){var a=_r.registry[r.toLowerCase()];if(!a)throw new TypeError('No color space found with id = "'.concat(r,'"'));return a}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return _r.get.apply(_r,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=rn(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=Ae(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=Ae(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=_r.get(i),i||(i=n),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(a=rn(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return _e({space:i,id:c[0],index:o},c[1])}i=_r.get(i);var m=o.toLowerCase(),b=0;for(var C in i.coords){var I,O=i.coords[C];if(C.toLowerCase()===m||((I=O.name)===null||I===void 0?void 0:I.toLowerCase())===m)return _e({space:i,id:C,index:b},O);b++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Bc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=qc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=Ae(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(a=cs(s,l,a)),a=xi(a,n),u&&(a+=u),a})};}return e}function t0(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var je=_r;$u(je,"registry",{}),$u(je,"DEFAULT_FORMAT",{type:"functions",name:"color"});var dr=new je({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"]}),Qt=(function(e){function t(r){var n,a;if(_t(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=dr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=Lt(r.toXYZ_M,s);return a.white!==a.base.white&&(l=Ai(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Ai(a.base.white,a.white,s),Lt(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=Z(this,t,[r])}return De(t,e),lt(t)})(je);function Hc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(nn.run("parse-start",r),r.color)return r.color;if(r.parsed=Pc(r.str),r.parsed){var n=r.parsed.name;if(n==="color"){var a=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=it(je.all),s;try{var l=function(){var Ce=s.value,ue=Ce.getFormat("color");if(ue){var ge;if(a===ue.id||(ge=ue.ids)!==null&&ge!==void 0&&ge.includes(a)){var xe=Object.keys(Ce.coords).length,Se=Array(xe).fill(0);return Se.forEach(function(qe,Ue){return Se[Ue]=r.parsed.args[Ue]||0}),{v:{spaceId:Ce.id,coords:Se,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(pe){o.e(pe);}finally{o.f();}var c="";if(a in je.registry){var m,b=(m=je.registry[a].formats)===null||m===void 0||(m=m.functions)===null||m===void 0||(m=m.color)===null||m===void 0?void 0:m.id;b&&(c="Did you mean color(".concat(b,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var C=it(je.all),I;try{var O=function(){var Ce=I.value,ue=Ce.getFormat(n);if(ue&&ue.type==="function"){var ge=1;(ue.lastAlpha||Oc(r.parsed.args).alpha)&&(ge=r.parsed.args.pop());var xe=r.parsed.args;return ue.coordGrammar&&Object.entries(Ce.coords).forEach(function(Se,qe){var Ue,Me=Ae(Se,2),$e=Me[0],ye=Me[1],Ne=ue.coordGrammar[qe],re=(Ue=xe[qe])===null||Ue===void 0?void 0:Ue.type;if(Ne=Ne.find(function(Ge){return Ge==re}),!Ne){var Te=ye.name||$e;throw new TypeError("".concat(re," not allowed for ").concat(Te," in ").concat(n,"()"))}var he=Ne.range;re==="<percentage>"&&(he||(he=[0,1]));var Re=ye.range||ye.refRange;he&&Re&&(xe[qe]=cs(he,Re,xe[qe]));}),{v:{spaceId:Ce.id,coords:xe,alpha:ge}}}},V;for(C.s();!(I=C.n()).done;)if(V=O(),V)return V.v}catch(pe){C.e(pe);}finally{C.f();}}}else {var $=it(je.all),G;try{for($.s();!(G=$.n()).done;){var Y=G.value;for(var K in Y.formats){var Q=Y.formats[K];if(Q.type==="custom"&&!(Q.test&&!Q.test(r.str))){var ae=Q.parse(r.str);if(ae){var le;return (le=ae.alpha)!==null&&le!==void 0||(ae.alpha=1),ae}}}}}catch(pe){$.e(pe);}finally{$.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function pt(e){if(!e)throw new TypeError("Empty color reference");ga(e)&&(e=Hc(e));var t=e.space||e.spaceId;return t instanceof je||(e.space=je.get(t)),e.alpha===void 0&&(e.alpha=1),e}function va(e,t){return t=je.get(t),t.from(e)}function fr(e,t){var r=je.resolveCoord(t,e.space),n=r.space,a=r.index,i=va(e,n);return i[a]}function Vc(e,t,r){return t=je.get(t),e.coords=t.to(e.space,r),e}function an(e,t,r){if(e=pt(e),arguments.length===2&&rn(arguments[1])==="object"){var n=arguments[1];for(var a in n)an(e,a,n[a]);}else {typeof r=="function"&&(r=r(fr(e,t)));var i=je.resolveCoord(t,e.space),o=i.space,s=i.index,l=va(e,o);l[s]=r,Vc(e,o,l);}return e}var fs=new je({id:"xyz-d50",name:"XYZ D50",white:"D50",base:dr,fromBase:function(t){return Ai(dr.white,"D50",t)},toBase:function(t){return Ai("D50",dr.white,t)},formats:{color:{}}}),r0=216/24389,jc=24/116,_i=24389/27,ps=Ar.D50,ar=new je({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ps,base:fs,fromBase:function(t){var r=t.map(function(a,i){return a/ps[i]}),n=r.map(function(a){return a>r0?Math.cbrt(a):(_i*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>jc?Math.pow(r[0],3):(116*r[0]-16)/_i,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/_i,r[2]>jc?Math.pow(r[2],3):(116*r[2]-16)/_i];return n.map(function(a,i){return a*ps[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Ei(e){return (e%360+360)%360}function n0(e,t){if(e==="raw")return t;var r=t.map(Ei),n=Ae(r,2),a=n[0],i=n[1],o=i-a;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(a+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:a+=360):e==="shorter"&&(o>180?a+=360:o<-180&&(i+=360)),[a,i]}var ba=new je({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:ar,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Ei(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return a<0&&(a=0),isNaN(i)&&(i=0),[n,a*Math.cos(i*Math.PI/180),a*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),$c=Math.pow(25,7),Ci=Math.PI,zc=180/Ci,On=Ci/180;function ms(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.kL,a=n===void 0?1:n,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=ar.from(e),c=Ae(u,3),m=c[0],b=c[1],C=c[2],I=ba.from(ar,[m,b,C])[1],O=ar.from(t),V=Ae(O,3),$=V[0],G=V[1],Y=V[2],K=ba.from(ar,[$,G,Y])[1];I<0&&(I=0),K<0&&(K=0);var Q=(I+K)/2,ae=Math.pow(Q,7),le=.5*(1-Math.sqrt(ae/(ae+$c))),pe=(1+le)*b,Ce=(1+le)*G,ue=Math.sqrt(Math.pow(pe,2)+Math.pow(C,2)),ge=Math.sqrt(Math.pow(Ce,2)+Math.pow(Y,2)),xe=pe===0&&C===0?0:Math.atan2(C,pe),Se=Ce===0&&Y===0?0:Math.atan2(Y,Ce);xe<0&&(xe+=2*Ci),Se<0&&(Se+=2*Ci),xe*=zc,Se*=zc;var qe=$-m,Ue=ge-ue,Me=Se-xe,$e=xe+Se,ye=Math.abs(Me),Ne;ue*ge===0?Ne=0:ye<=180?Ne=Me:Me>180?Ne=Me-360:Me<-180?Ne=Me+360:console.log("the unthinkable has happened");var re=2*Math.sqrt(ge*ue)*Math.sin(Ne*On/2),Te=(m+$)/2,he=(ue+ge)/2,Re=Math.pow(he,7),Ge;ue*ge===0?Ge=$e:ye<=180?Ge=$e/2:$e<360?Ge=($e+360)/2:Ge=($e-360)/2;var Fe=Math.pow(Te-50,2),Pe=1+.015*Fe/Math.sqrt(20+Fe),rt=1+.045*he,mt=1;mt-=.17*Math.cos((Ge-30)*On),mt+=.24*Math.cos(2*Ge*On),mt+=.32*Math.cos((3*Ge+6)*On),mt-=.2*Math.cos((4*Ge-63)*On);var vt=1+.015*he*mt,Ft=30*Math.exp(-1*Math.pow((Ge-275)/25,2)),Nt=2*Math.sqrt(Re/(Re+$c)),Ot=-1*Math.sin(2*Ft*On)*Nt,Dt=Math.pow(qe/(a*Pe),2);return Dt+=Math.pow(Ue/(o*rt),2),Dt+=Math.pow(re/(l*vt),2),Dt+=Ot*(Ue/(o*rt))*(re/(l*vt)),Math.sqrt(Dt)}var a0=75e-6;function ya(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.epsilon,a=n===void 0?a0:n;e=pt(e),t=je.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function wa(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function on(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Fr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(ga(arguments[1])&&(i=arguments[1]),i=je.get(i),ya(e,i,{epsilon:0}))return e;var o=pr(e,i);if(n!=="clip"&&!ya(e,i)){var s=on(wa(o),{method:"clip",space:i});if(ms(e,s)>2){for(var l=je.resolveCoord(n),u=l.space,c=l.id,m=pr(o,u),b=l.range||l.refRange,C=b[0],I=.01,O=C,V=fr(m,c);V-O>I;){var $=wa(m);$=on($,{space:i,method:"clip"});var G=ms(m,$);G-2<I?O=fr(m,c):V=fr(m,c),an(m,c,(O+V)/2);}o=pr(m,i);}else o=s;}if(n==="clip"||!ya(o,i,{epsilon:0})){var Y=Object.values(i.coords).map(function(K){return K.range||[]});o.coords=o.coords.map(function(K,Q){var ae=Ae(Y[Q],2),le=ae[0],pe=ae[1];return le!==void 0&&(K=Math.max(le,K)),pe!==void 0&&(K=Math.min(K,pe)),K});}return i!==e.space&&(o=pr(o,e.space)),e.coords=o.coords,e}on.returns="color";function pr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=pt(e),t=je.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=on(i)),i}pr.returns="color";function Si(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Fr.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=te(n,A),m;e=pt(e);var b=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:je.DEFAULT_FORMAT,u||(u=s.toGamut);var C=e.coords;if(C=C.map(function(K){return K||0}),u&&!ya(e)&&(C=on(wa(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)m=s.serialize(C,e.alpha,c);else throw new TypeError("format ".concat(b," can only be used to parse colors, not for serialization"));else {var I=s.name||"color";s.serializeCoords?C=s.serializeCoords(C,i):i!==null&&(C=C.map(function(K){return xi(K,i)}));var O=Ee(C);if(I==="color"){var V,$=s.id||((V=s.ids)===null||V===void 0?void 0:V[0])||e.space.id;O.unshift($);}var G=e.alpha;i!==null&&(G=xi(G,i));var Y=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(G):"";m="".concat(I,"(").concat(O.join(s.commas?", ":" ")).concat(Y,")");}return m}var i0=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],o0=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],ki=new Qt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:i0,fromXYZ_M:o0,formats:{color:{}}}),Ti=1.09929682680944,Gc=.018053968510807,Uc=new Qt({id:"rec2020",name:"REC.2020",base:ki,toBase:function(t){return t.map(function(r){return r<Gc*4.5?r/4.5:Math.pow((r+Ti-1)/Ti,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Gc?Ti*Math.pow(r,.45)-(Ti-1):4.5*r})},formats:{color:{}}}),s0=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],l0=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Wc=new Qt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:s0,fromXYZ_M:l0}),u0=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],c0=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Xc=new Qt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:u0,fromXYZ_M:c0,formats:{color:{}}}),Yc={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]},Kc=Array(3).fill("<percentage> | <number>[0, 255]"),Jc=Array(3).fill("<number>[0, 255]"),xa=new Qt({id:"srgb",name:"sRGB",base:Xc,fromBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a>.0031308?n*(1.055*Math.pow(a,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a<.04045?r/12.92:n*Math.pow((a+.055)/1.055,2.4)})},formats:{rgb:{coords:Kc},rgb_number:{name:"rgb",commas:true,coords:Jc,noAlpha:true},color:{},rgba:{coords:Kc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Jc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(n){r.push(parseInt(n,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.collapse,i=a===void 0?true:a;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),s=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=Yc.black,r.alpha=0):r.coords=Yc[t],r.coords)return r}}}}),Zc=new Qt({id:"p3",name:"P3",base:Wc,fromBase:xa.fromBase,toBase:xa.toBase,formats:{color:{id:"display-p3"}}});if(Fr.display_space=xa,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var hs=0,Qc=[ar,Uc,Zc];hs<Qc.length;hs++){var gs=Qc[hs],d0=gs.getMinCoords(),f0={space:gs,coords:d0,alpha:1},p0=Si(f0);if(CSS.supports("color",p0)){Fr.display_space=gs;break}}function m0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Fr.display_space:n,i=te(r,w),o=Si(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Fr.display_space)o=new String(o),o.color=e;else {var s=pr(e,a);o=new String(Si(s,i)),o.color=s;}return o}function ed(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=je.get(r);var n=r.from(e),a=r.from(t);return Math.sqrt(n.reduce(function(i,o,s){var l=a[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function h0(e,t){return e=pt(e),t=pt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function sn(e){return fr(e,[dr,"y"])}function td(e,t){an(e,[dr,"y"],t);}function g0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return sn(this)},set:function(r){td(this,r);}});}var v0=Object.freeze({__proto__:null,getLuminance:sn,setLuminance:td,register:g0});function b0(e,t){e=pt(e),t=pt(t);var r=Math.max(sn(e),0),n=Math.max(sn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var y0=.56,w0=.57,x0=.62,D0=.65,rd=.022,A0=1.414,_0=.1,E0=5e-4,C0=1.14,nd=.027,S0=1.14;function ad(e){return e>=rd?e:e+Math.pow(rd-e,A0)}function Nn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function k0(e,t){t=pt(t),e=pt(e);var r,n,a,i,o,s;t=pr(t,"srgb");var l=Ae(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Nn(i)*.2126729+Nn(o)*.7151522+Nn(s)*.072175;e=pr(e,"srgb");var c=Ae(e.coords,3);i=c[0],o=c[1],s=c[2];var m=Nn(i)*.2126729+Nn(o)*.7151522+Nn(s)*.072175,b=ad(u),C=ad(m),I=C>b;return Math.abs(C-b)<E0?n=0:I?(r=Math.pow(C,y0)-Math.pow(b,w0),n=r*C0):(r=Math.pow(C,D0)-Math.pow(b,x0),n=r*S0),Math.abs(n)<_0?a=0:n>0?a=n-nd:a=n+nd,a*100}function T0(e,t){e=pt(e),t=pt(t);var r=Math.max(sn(e),0),n=Math.max(sn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}var i=r+n;return i===0?0:(r-n)/i}var R0=5e4;function F0(e,t){e=pt(e),t=pt(t);var r=Math.max(sn(e),0),n=Math.max(sn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?R0:(r-n)/n}function I0(e,t){e=pt(e),t=pt(t);var r=fr(e,[ar,"l"]),n=fr(t,[ar,"l"]);return Math.abs(r-n)}var M0=216/24389,id=24/116,Ri=24389/27,vs=Ar.D65,bs=new je({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:vs,base:dr,fromBase:function(t){var r=t.map(function(a,i){return a/vs[i]}),n=r.map(function(a){return a>M0?Math.cbrt(a):(Ri*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>id?Math.pow(r[0],3):(116*r[0]-16)/Ri,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Ri,r[2]>id?Math.pow(r[2],3):(116*r[2]-16)/Ri];return n.map(function(a,i){return a*vs[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ys=Math.pow(5,.5)*.5+.5;function L0(e,t){e=pt(e),t=pt(t);var r=fr(e,[bs,"l"]),n=fr(t,[bs,"l"]),a=Math.abs(Math.pow(r,ys)-Math.pow(n,ys)),i=Math.pow(a,1/ys)*Math.SQRT2-40;return i<7.5?0:i}var Fi=Object.freeze({__proto__:null,contrastWCAG21:b0,contrastAPCA:k0,contrastMichelson:T0,contrastWeber:F0,contrastLstar:I0,contrastDeltaPhi:L0});function P0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ga(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=te(n,F);if(!a){var o=Object.keys(Fi).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=pt(e),t=pt(t);for(var s in Fi)if("contrast"+a.toLowerCase()===s.toLowerCase())return Fi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function od(e){var t=va(e,dr),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+15*a+3*i;return [4*n/o,9*a/o]}function sd(e){var t=va(e,dr),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function O0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return od(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return sd(this)}});}var N0=Object.freeze({__proto__:null,uv:od,xy:sd,register:O0});function q0(e,t){return ed(e,t,"lab")}var B0=Math.PI,ld=B0/180;function H0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.l,a=n===void 0?2:n,i=r.c,o=i===void 0?1:i,s=ar.from(e),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=ba.from(ar,[u,c,m]),C=Ae(b,3),I=C[1],O=C[2],V=ar.from(t),$=Ae(V,3),G=$[0],Y=$[1],K=$[2],Q=ba.from(ar,[G,Y,K])[1];I<0&&(I=0),Q<0&&(Q=0);var ae=u-G,le=I-Q,pe=c-Y,Ce=m-K,ue=Math.pow(pe,2)+Math.pow(Ce,2)-Math.pow(le,2),ge=.511;u>=16&&(ge=.040975*u/(1+.01765*u));var xe=.0638*I/(1+.0131*I)+.638,Se;Number.isNaN(O)&&(O=0),O>=164&&O<=345?Se=.56+Math.abs(.2*Math.cos((O+168)*ld)):Se=.36+Math.abs(.4*Math.cos((O+35)*ld));var qe=Math.pow(I,4),Ue=Math.sqrt(qe/(qe+1900)),Me=xe*(Ue*Se+1-Ue),$e=Math.pow(ae/(a*ge),2);return $e+=Math.pow(le/(o*xe),2),$e+=ue/Math.pow(Me,2),Math.sqrt($e)}var ud=203,ws=new je({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:dr,fromBase:function(t){return t.map(function(r){return Math.max(r*ud,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/ud,0)})}}),Ii=1.15,Mi=.66,cd=2610/Math.pow(2,14),V0=Math.pow(2,14)/2610,dd=3424/Math.pow(2,12),fd=2413/Math.pow(2,7),pd=2392/Math.pow(2,7),j0=1.7*2523/Math.pow(2,5),md=Math.pow(2,5)/(1.7*2523),Li=-0.56,xs=16295499532821565e-27,$0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],z0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],G0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],U0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],hd=new je({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ws,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=Ii*n-(Ii-1)*i,s=Mi*a-(Mi-1)*n,l=Lt($0,[o,s,i]),u=l.map(function(V){var $=dd+fd*Math.pow(V/1e4,cd),G=1+pd*Math.pow(V/1e4,cd);return Math.pow($/G,j0)}),c=Lt(G0,u),m=Ae(c,3),b=m[0],C=m[1],I=m[2],O=(1+Li)*b/(1+Li*b)-xs;return [O,C,I]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=(n+xs)/(1+Li-Li*(n+xs)),s=Lt(U0,[o,a,i]),l=s.map(function(V){var $=dd-Math.pow(V,md),G=pd*Math.pow(V,md)-fd,Y=1e4*Math.pow($/G,V0);return Y}),u=Lt(z0,l),c=Ae(u,3),m=c[0],b=c[1],C=c[2],I=(m+(Ii-1)*C)/Ii,O=(b+(Mi-1)*I)/Mi;return [I,O,C]},formats:{color:{}}}),Ds=new je({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:hd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Ei(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 W0(e,t){var r=Ds.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=Ds.from(t),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=a-u,C=i-c;Number.isNaN(o)&&Number.isNaN(m)?(o=0,m=0):Number.isNaN(o)?o=m:Number.isNaN(m)&&(m=o);var I=o-m,O=2*Math.sqrt(i*c)*Math.sin(I/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(C,2)+Math.pow(O,2))}var gd=3424/4096,vd=2413/128,bd=2392/128,yd=2610/16384,X0=2523/32,Y0=16384/2610,wd=32/2523,K0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],J0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Z0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],Q0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],As=new je({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:ws,fromBase:function(t){var r=Lt(K0,t);return ew(r)},toBase:function(t){var r=tw(t);return Lt(Q0,r)},formats:{color:{}}});function ew(e){var t=e.map(function(r){var n=gd+vd*Math.pow(r/1e4,yd),a=1+bd*Math.pow(r/1e4,yd);return Math.pow(n/a,X0)});return Lt(J0,t)}function tw(e){var t=Lt(Z0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,wd)-gd,0),i=vd-bd*Math.pow(n,wd);return 1e4*Math.pow(a/i,Y0)});return r}function rw(e,t){var r=As.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=As.from(t),l=Ae(s,3),u=l[0],c=l[1],m=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-m,2))}var nw=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],aw=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],iw=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],ow=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Pi=new je({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:dr,fromBase:function(t){var r=Lt(nw,t),n=r.map(function(a){return Math.cbrt(a)});return Lt(iw,n)},toBase:function(t){var r=Lt(ow,t),n=r.map(function(a){return Math.pow(a,3)});return Lt(aw,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function sw(e,t){var r=Pi.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=Pi.from(t),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=a-u,C=i-c,I=o-m;return Math.sqrt(Math.pow(b,2)+Math.pow(C,2)+Math.pow(I,2))}var _s=Object.freeze({__proto__:null,deltaE76:q0,deltaECMC:H0,deltaE2000:ms,deltaEJz:W0,deltaEITP:rw,deltaEOK:sw});function Da(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ga(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Fr.deltaE:a,o=te(n,R);e=pt(e),t=pt(t);for(var s in _s)if("deltae"+i.toLowerCase()===s.toLowerCase())return _s[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function lw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=je.get("oklch","lch"),n=[r,"l"];return an(e,n,function(a){return a*(1+t)})}function uw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=je.get("oklch","lch"),n=[r,"l"];return an(e,n,function(a){return a*(1-t)})}var cw=Object.freeze({__proto__:null,lighten:lw,darken:uw});function xd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=[pt(e),pt(t)];if(e=a[0],t=a[1],rn(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,l=o.outputSpace,u=o.premultiplied,c=Aa(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function Dd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(Es(e)){n=e,r=t;var a=Ae(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,m=c===void 0?1e3:c,b=te(i,_);if(!n){var C=[pt(e),pt(t)];e=C[0],t=C[1],n=Aa(e,t,b);}var I=Da(e,t),O=o>0?Math.max(u,Math.ceil(I/o)+1):u,V=[];if(m!==void 0&&(O=Math.min(O,m)),O===1)V=[{p:.5,color:n(.5)}];else {var $=1/(O-1);V=Array.from({length:O},function(pe,Ce){var ue=Ce*$;return {p:ue,color:n(ue)}});}if(o>0)for(var G=V.reduce(function(pe,Ce,ue){if(ue===0)return 0;var ge=Da(Ce.color,V[ue-1].color,s);return Math.max(pe,ge)},0);G>o;){G=0;for(var Y=1;Y<V.length&&V.length<m;Y++){var K=V[Y-1],Q=V[Y],ae=(Q.p+K.p)/2,le=n(ae);G=Math.max(G,Da(le,K.color),Da(le,Q.color)),V.splice(Y,0,{p:ae,color:n(ae)}),Y++;}}return V=V.map(function(pe){return pe.color}),V}function Aa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Es(e)){var n=e,a=t;return Aa.apply(void 0,Ee(n.rangeArgs.colors).concat([_e({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=pt(e),t=pt(t),e=wa(e),t=wa(t);var u={colors:[e,t],options:r};if(i?i=je.get(i):i=je.registry[Fr.interpolationSpace]||e.space,o=o?je.get(o):i,e=pr(e,i),t=pr(t,i),e=on(e),t=on(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",m=[i,"h"],b=[fr(e,m),fr(t,m)],C=b[0],I=b[1],O=n0(c,[C,I]),V=Ae(O,2);C=V[0],I=V[1],an(e,m,C),an(t,m,I);}return l&&(e.coords=e.coords.map(function($){return $*e.alpha}),t.coords=t.coords.map(function($){return $*t.alpha})),Object.assign(function($){$=s?s($):$;var G=e.coords.map(function(Q,ae){var le=t.coords[ae];return Di(Q,le,$)}),Y=Di(e.alpha,t.alpha,$),K={space:i,coords:G,alpha:Y};return l&&(K.coords=K.coords.map(function(Q){return Q/Y})),o!==i&&(K=pr(K,o)),K},{rangeArgs:u})}function Es(e){return rn(e)==="function"&&!!e.rangeArgs}Fr.interpolationSpace="lab";function dw(e){e.defineFunction("mix",xd,{returns:"color"}),e.defineFunction("range",Aa,{returns:"function<color>"}),e.defineFunction("steps",Dd,{returns:"array<color>"});}var fw=Object.freeze({__proto__:null,mix:xd,steps:Dd,range:Aa,isRange:Es,register:dw}),Ad=new je({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:xa,fromBase:function(t){var r=Math.max.apply(Math,Ee(t)),n=Math.min.apply(Math,Ee(t)),a=Ae(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,m=r-n;if(m!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/m+(o<s?6:0);break;case o:l=(s-i)/m+2;break;case s:l=(i-o)/m+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];n=n%360,n<0&&(n+=360),a/=100,i/=100;function o(s){var l=(s+n/30)%12,u=a*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,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}}}),_d=new je({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:Ad,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i+a*Math.min(i,1-i);return [n,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i*(1-a/2);return [n,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),pw=new je({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:_d,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=a+i;if(o>=1){var s=a/o;return [n,0,s*100]}var l=1-i,u=l===0?0:1-a/l;return [n,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),mw=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],hw=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Ed=new Qt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:mw,fromXYZ_M:hw}),gw=new Qt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Ed,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"}}}),vw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],bw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Cd=new Qt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:fs,toXYZ_M:vw,fromXYZ_M:bw}),yw=1/512,ww=16/512,xw=new Qt({id:"prophoto",name:"ProPhoto",base:Cd,toBase:function(t){return t.map(function(r){return r<ww?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=yw?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),Dw=new je({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:Pi,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Ei(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=a*Math.cos(i*Math.PI/180),s=a*Math.sin(i*Math.PI/180)),[n,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Sd=203,kd=2610/Math.pow(2,14),Aw=Math.pow(2,14)/2610,_w=2523/Math.pow(2,5),Td=Math.pow(2,5)/2523,Rd=3424/Math.pow(2,12),Fd=2413/Math.pow(2,7),Id=2392/Math.pow(2,7),Ew=new Qt({id:"rec2100pq",name:"REC.2100-PQ",base:ki,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Td)-Rd,0)/(Fd-Id*Math.pow(r,Td)),Aw);return n*1e4/Sd})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Sd/1e4,0),a=Rd+Fd*Math.pow(n,kd),i=1+Id*Math.pow(n,kd);return Math.pow(a/i,_w)})},formats:{color:{id:"rec2100-pq"}}}),Md=.17883277,Ld=.28466892,Pd=.55991073,Cs=3.7743,Cw=new Qt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:ki,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Cs:Math.exp((r-Pd)/Md+Ld)/12*Cs})},fromBase:function(t){return t.map(function(r){return r/=Cs,r<=1/12?Math.sqrt(3*r):Md*Math.log(12*r-Ld)+Pd})},formats:{color:{id:"rec2100-hlg"}}}),Od={};nn.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Nd(e.W1,e.W2,e.options.method));}),nn.add("chromatic-adaptation-end",function(e){e.M||(e.M=Nd(e.W1,e.W2,e.options.method));});function Oi(e){var t=e.id;e.toCone_M;e.fromCone_M;Od[t]=arguments[0];}function Nd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Od[r],a=Lt(n.toCone_M,e),i=Ae(a,3),o=i[0],s=i[1],l=i[2],u=Lt(n.toCone_M,t),c=Ae(u,3),m=c[0],b=c[1],C=c[2],I=[[m/o,0,0],[0,b/s,0],[0,0,C/l]],O=Lt(I,n.toCone_M),V=Lt(n.fromCone_M,O);return V}Oi({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]]}),Oi({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]]}),Oi({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]]}),Oi({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(Ar,{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]}),Ar.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var Sw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],kw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],qd=new Qt({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:Ar.ACES,toXYZ_M:Sw,fromXYZ_M:kw,formats:{color:{}}}),Ni=Math.pow(2,-16),Ss=-0.35828683,qi=(Math.log2(65504)+9.72)/17.52,Tw=new Qt({id:"acescc",name:"ACEScc",coords:{r:{range:[Ss,qi],name:"Red"},g:{range:[Ss,qi],name:"Green"},b:{range:[Ss,qi],name:"Blue"}},referred:"scene",base:qd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Ni)*2:n<qi?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Ni)+9.72)/17.52:r<Ni?(Math.log2(Ni+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Bd=Object.freeze({__proto__:null,XYZ_D65:dr,XYZ_D50:fs,XYZ_ABS_D65:ws,Lab_D65:bs,Lab:ar,LCH:ba,sRGB_Linear:Xc,sRGB:xa,HSL:Ad,HWB:pw,HSV:_d,P3_Linear:Wc,P3:Zc,A98RGB_Linear:Ed,A98RGB:gw,ProPhoto_Linear:Cd,ProPhoto:xw,REC_2020_Linear:ki,REC_2020:Uc,OKLab:Pi,OKLCH:Dw,Jzazbz:hd,JzCzHz:Ds,ICTCP:As,REC_2100_PQ:Ew,REC_2100_HLG:Cw,ACEScg:qd,ACEScc:Tw}),gt=(ve=new WeakMap,(function(){function e(){var t=this;_t(this,e),Mt(this,ve,void 0);for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];a.length===1&&(r=pt(a[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=a[0],s=a[1],l=a[2]),Tt(ve,this,je.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(C){Object.defineProperty(t,C,{get:function(){return t.get(C)},set:function(O){return t.set(C,O)}});};for(var m in Gt(ve,this).coords)c(m);}return lt(e,[{key:"space",get:function(){return Gt(ve,this)}},{key:"spaceId",get:function(){return Gt(ve,this).id}},{key:"clone",value:function(){return new gt(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=m0.apply(void 0,[this].concat(n));return i.color=new gt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof gt)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return X(gt,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,l=function(){var c=n.apply(void 0,arguments);if(s==="color")c=gt.get(c);else if(s==="function<color>"){var m=c;c=function(){var C=m.apply(void 0,arguments);return gt.get(C)},Object.assign(c,m);}else s==="array<color>"&&(c=c.map(function(b){return gt.get(b)}));return c};r in gt||(gt[r]=l),o&&(gt.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),m=0;m<u;m++)c[m]=arguments[m];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var n in r)gt.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(gt);else for(var n in r)gt.defineFunction(n,r[n]);}}])})());gt.defineFunctions({get:fr,getAll:va,set:an,setAll:Vc,to:pr,equals:h0,inGamut:ya,toGamut:on,distance:ed,toString:Si}),Object.assign(gt,{util:Zy,hooks:nn,WHITES:Ar,Space:je,spaces:je.registry,parse:Hc,defaults:Fr});for(var ks=0,Hd=Object.keys(Bd);ks<Hd.length;ks++){var Rw=Hd[ks];je.register(Bd[Rw]);}for(var Vd in je.registry)Ts(Vd,je.registry[Vd]);nn.add("colorspace-init-end",function(e){var t;Ts(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){Ts(r,e);});});function Ts(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(gt.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return je.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&fe(l)!=="symbol"&&!(l in s)){var c=je.resolveCoord([t,l]),m=c.index;if(m>=0)return s[m]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&fe(l)!=="symbol"&&!(l in s)||l>=0){var m=je.resolveCoord([t,l]),b=m.index;if(b>=0)return s[b]=u,a.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}gt.extend(_s),gt.extend({deltaE:Da}),gt.extend(cw),gt.extend({contrast:P0}),gt.extend(N0),gt.extend(v0),gt.extend(fw),gt.extend(Fi);var jd=Tr(fc());tn.default.templateSettings.strip=false,p._memoizedFns=[];function Fw(e){var t=(0, Lc.default)(e);return p._memoizedFns.push(t),t}var wt=Fw,Iw=wt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),_a=Iw;function Rs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||h;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var Mw=["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"],Lw=31,Pw=/([\\"])/g,Ow=/(\r\n|\r|\n)/g;function Fs(e){return e.replace(Pw,"\\$1").replace(Ow,"\\a ")}function $d(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Fc(e.getAttribute(r));a?n=Rt(t.name)+'$="'+Fs(a)+'"':n=Rt(t.name)+'="'+Fs(e.getAttribute(r))+'"';}else n=Rt(r)+'="'+Fs(t.value)+'"';return n}function Is(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function zd(e){return !Mw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<Lw)}function Bi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=Rt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(ha(s)).filter(zd).forEach(function(u){var c=$d(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(n.push(r),r=o.children.slice());!r.length&&n.length;)r=n.pop();};r.length;)a();return t}function Nw(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=Rt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Is)}function qw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&Pn(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function Bw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||h,r="#"+Rt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Gd(e){var t=_a(h);return Rt(t?e.localName:e.nodeName.toLowerCase())}function Hw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(ha(e)).filter(zd).forEach(function(i){var o=$d(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Is)}function Vw(e,t){var r="",n,a=Nw(e,t),i=Hw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Gd(e)):(n=a.concat(i),n.sort(Is),n=n.slice(0,3),n.some(function(o){return o.species==="class"})?n.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=Gd(e)),r+=n.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function jw(e,t,r){if(!p._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=Bw(e);s||(s=Vw(e,p._selectorData),s+=qw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Ke.selectorSimilarFilterLimit?o=zw(r,i):o=o.filter(function(l){return Pn(l,i)}),e=e.parentElement;}while((o.length>1||a)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function $w(e,t){return Rs(jw,e,t)}var Ms=wt($w),zw=wt(function(e,t){return Array.from(e.querySelectorAll(t))});function Ud(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if(t!=="head"&&t!=="body"&&n?.children.length>1){var i=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(i,")");}return r?Ud(r)+" > "+t+a:t+a}function Hi(e,t){return Rs(Ud,e,t)}function Wd(e,t){var r,n;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Wd(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&n++,r=r.previousSibling;while(r);n===1&&(n=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&Rt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a);}return t}function Gw(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 Uw(e){var t=Wd(e);return Gw(t)}var Xd=Uw,Ea={},Ww={set:function(t,r){Xw(t),Ea[t]=r;},get:function(t,r){if(Yw(r),t in Ea)return Ea[t];if(typeof r=="function"){var n=r();return ut(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),Ea[t]}},clear:function(){Ea={};}};function Xw(e){ut(typeof e=="string","key must be a string, "+fe(e)+" given"),ut(e!=="","key must not be empty");}function Yw(e){ut(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+fe(e)+" given");}var Ye=Ww;function Kw(e,t){var r=t||e;return Ye.get("nodeMap")?Ye.get("nodeMap").get(r):null}var Ze=Kw;function Yd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,n=r===void 0?300:r,a=t.attrLimit,i=a===void 0?20:a;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Ls(s,n)}var l=Jw(e);return l.length>n?Zw(e,{maxLength:n,attrLimit:i}):l}function Jw(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function Zw(e,t){var r=t.maxLength,n=t.attrLimit,a=_a(e.ownerDocument||h)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(ha(e)).map(function(I){var O=I.name,V=I.value;return {name:O,value:V}}),o=i.reduce(function(I,O){var V=O.name,$=O.value;return I+V.length+$.length+4},0);2+a.length+o>r&&i.forEach(function(I){I.name=Ls(I.name,n),I.value=Ls(I.value,n);});var s="<".concat(a),l=">",u=" ...>",c=it(i),m;try{for(c.s();!(m=c.n()).done;){var b=m.value,C=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+C.length>r-u.length){l=u;continue}s+=C;}}catch(I){c.e(I);}finally{c.f();}return s+l}function Ls(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Kd="DqElm.RunOptions",_n=wt(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=Ye.get(Kd))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Vt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ze(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!p._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Yd(this._element);}return this});_n.prototype={get selector(){return this.spec.selector||[Ms(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Hi(this.element)]},get xpath(){return this.spec.xpath||[Xd(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}},_n.fromFrame=function(t,r,n){var a=_n.mergeSpecs(t,n);return new _n(n.element,r,a)},_n.mergeSpecs=function(t,r){return _e({},t,{selector:[].concat(Ee(r.selector),Ee(t.selector)),ancestry:[].concat(Ee(r.ancestry),Ee(t.ancestry)),xpath:[].concat(Ee(r.xpath),Ee(t.xpath)),nodeIndexes:[].concat(Ee(r.nodeIndexes),Ee(t.nodeIndexes)),fromFrame:true})},_n.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;Ye.set(Kd,{elementRef:r,absolutePaths:n});};var mr=_n;function Qw(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){d.Node&&(i instanceof d.Node||i instanceof Vt?i=[i]:i=Rc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Vt&&(o=o.actualNode),o instanceof d.Node){var s=new mr(o);e.relatedNodes.push(s);}}));}}}var Ps=Qw;function Ur(e){return Os(e,new Map)}function Os(e,t){var r,n;if(e===null||fe(e)!=="object"||(r=d)!==null&&r!==void 0&&r.Node&&e instanceof d.Node||(n=d)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof d.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(s){a.push(Os(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=Os(e[o],t);return i}var Ca=new Mc.CssSelectorParser;Ca.registerSelectorPseudos("not"),Ca.registerSelectorPseudos("is"),Ca.registerNestingOperators(">"),Ca.registerAttrEqualityMods("^","$","*","~");var Jd=Ca;function Ns(e,t){var r=Vi(t);return r.some(function(n){return qn(e,n)})}function ex(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function tx(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function rx(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function nx(e,t){return !t.id||e.props.id===t.id}function ax(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return qn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return qn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Zd(e,t){return ex(e,t)&&tx(e,t)&&rx(e,t)&&nx(e,t)&&ax(e,t)}var Sa=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),qs=/\\/g;function ix(e){if(e)return e.map(function(t){var r=t.name.replace(qs,""),n=(t.value||"").replace(qs,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+Sa(n));break;case "$=":i=new RegExp(Sa(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Sa(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Sa(n)+"(-|$)");break;case "=":a=function(s){return n===s};break;case "*=":a=function(s){return s&&s.includes(n)};break;case "!=":a=function(s){return n!==s};break;default:a=function(s){return s!==null};}return n===""&&/^[*$^]=$/.test(t.operator)&&(a=function(){return false}),a||(a=function(s){return s&&i.test(s)}),{key:r,value:n,type:typeof t.value>"u"?"attrExist":"attrValue",test:a}})}function ox(e){if(e)return e.map(function(t){return t=t.replace(qs,""),{value:t,regexp:new RegExp("(^|\\s)"+Sa(t)+"(\\s|$)")}})}function sx(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=Qd(r)),{name:t.name,expressions:r,value:t.value}})}function Qd(e){return e.map(function(t){for(var r=[],n=t.rule;n;)r.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:ix(n.attrs),classes:ox(n.classNames),pseudos:sx(n.pseudos)}),n=n.rule;return r})}function Vi(e){var t=Jd.parse(e);return t=t.selectors?t.selectors:[t],Qd(t)}function ef(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Zd(e,i);!o&&n&&e.parent;)e=e.parent,o=Zd(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&&ef(e.parent,t,r-1,i.combinator===" ");}return o}function qn(e,t,r){return ef(e,t,t.length-1,r)}function lx(e,t){for(;e;){if(Ns(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 ir=lx;function ji(){}function Bs(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function ux(){var e=[],t=0,r=0,n=ji,a=false,i,o=function(C){i=C,setTimeout(function(){i!=null&&An("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(C){e[b]=C,r-=1,!r&&n!==ji&&(a=true,n(e));}}function u(b){return n=ji,s(b),e}function c(){for(var b=e.length;t<b;t++){var C=e[t];try{C.call(null,l(t),u);}catch(I){u(I);}}}var m={defer:function(C){if(fe(C)==="object"&&C.then&&C.catch){var I=C;C=function(V,$){I.then(V).catch($);};}if(Bs(C),i===void 0){if(a)throw new Error("Queue already completed");return e.push(C),++r,c(),m}},then:function(C){if(Bs(C),n!==ji)throw new Error("queue `then` already set");return i||(n=C,r||(a=true,n(e))),m},catch:function(C){if(Bs(C),s!==o)throw new Error("queue `catch` already set");return i?(C(i),i=null):s=C,m},abort:u};return m}var Ir=ux,Bn,Hn,Hs=d.crypto||d.msCrypto;if(!Hn&&Hs&&Hs.getRandomValues){var tf=new Uint8Array(16);Hn=function(){return Hs.getRandomValues(tf),tf};}if(!Hn){var rf=new Array(16);Hn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),rf[t]=r>>>((t&3)<<3)&255;return rf};}for(var nf=typeof d.Buffer=="function"?d.Buffer:Array,Vs=[],af={},Vn=0;Vn<256;Vn++)Vs[Vn]=(Vn+256).toString(16).substr(1),af[Vs[Vn]]=Vn;function cx(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){a<16&&(t[n+a++]=af[i]);});a<16;)t[n+a++]=0;return t}function js(e,t){var r=t||0,n=Vs;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var ln=Hn(),dx=[ln[0]|1,ln[1],ln[2],ln[3],ln[4],ln[5]],of=(ln[6]<<8|ln[7])&16383,$s=0,zs=0;function sf(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:of,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:zs+1,l=o-$s+(s-zs)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>$s)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");$s=o,zs=s,of=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;a[n++]=u>>>24&255,a[n++]=u>>>16&255,a[n++]=u>>>8&255,a[n++]=u&255;var c=o/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=c&255,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var m=e.node||dx,b=0;b<6;b++)a[n+b]=m[b];return t||js(a)}function En(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new nf(16):null,e=null),e=e||{};var a=e.random||(e.rng||Hn)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,t)for(var i=0;i<16;i++)t[n+i]=a[i];return t||js(a)}Bn=En,Bn.v1=sf,Bn.v4=En,Bn.parse=cx,Bn.unparse=js,Bn.BufferClass=nf,p._uuid=sf();var fx=En,px=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function mx(e){var t=e.topic,r=e.channelId,n=e.message,a=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:a,keepalive:!!i,source:lf()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function hx(e){var t;try{t=JSON.parse(e);}catch{return}if(gx(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=fe(t.error)==="object"?vx(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function gx(e){return e!==null&&fe(e)==="object"&&typeof e.channelId=="string"&&e.source===lf()}function vx(e){var t=e.message||"Unknown error occurred",r=px.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
372
- `+e.stack.replace(e.message,"")),new n(t)}function lf(){var e="axeAPI",t="";return typeof p<"u"&&p._audit&&p._audit.application&&(e=p._audit.application),typeof p<"u"&&(t=p.version),e+"."+t}function Gs(e){cf(e),ut(d.parent===e,"Source of the response must be the parent window.");}function uf(e){cf(e),ut(e.parent===d,"Respondable target must be a frame in the current window");}function cf(e){ut(d!==e,"Messages can not be sent to the same window.");}var ka={};function bx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;ut(!Object.prototype.hasOwnProperty.call(ka,e),"A replyHandler already exists for this message channel."),ka[e]={replyHandler:t,sendToParent:r};}function yx(e){return Object.prototype.hasOwnProperty.call(ka,e)?ka[e]:void 0}function wx(e){delete ka[e];}var $i=[];function Us(){var e="".concat(En(),":").concat(En());return $i.includes(e)?Us():($i.push(e),e)}function xx(e){return $i.includes(e)?false:($i.push(e),true)}function Ws(e,t,r,n){if(r?Gs(e):uf(e),t.message instanceof Error&&!r)return p.log(t.message),false;var a=mx(_e({messageId:Us()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&bx(t.channelId,n,r),i.forEach(function(o){try{e.postMessage(a,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function Dx(e,t,r){if(!e.parent!==d)return p.log(t);try{Ws(e,{topic:null,channelId:r,message:t,messageId:Us(),keepalive:!0},!0);}catch(n){return p.log(n)}}function df(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(a,i,o){var s={channelId:t,message:a,keepalive:i};Ws(e,s,r,o);}}function Ax(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function _x(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=hx(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Ax(r)||!xx(l))return;if(s instanceof Error&&a.parent!==d)return p.log(s),!1;try{if(i.topic){var u=df(a,o);Gs(a),t(i,u);}else Ex(a,i);}catch(c){Dx(a,c,o);}}catch(c){return p.log(c),false}}function Ex(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=yx(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Gs(e):uf(e);var l=df(e,r,s);!a&&r&&wx(r);try{o(n,a,l);}catch(u){p.log(u),l(u,a);}}}var Cx={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){_x(a,t);};return d.addEventListener("message",r,false),function(){d.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof d.addEventListener!="function"?false:Ws(t,r,false,n)}};function ff(e){e.updateMessenger(Cx);}var zi,pf,Gi={};function Er(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(En(),":").concat(En()),keepalive:n};return pf(e,i,a)}function Sx(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(Gi,r)?Gi[r]:void 0;if(i)try{i(n,a,t);}catch(o){p.log(o),t(o,a);}}Er.updateMessenger=function(t){var r=t.open,n=t.post;ut(typeof r=="function","open callback must be a function"),ut(typeof n=="function","post callback must be a function"),zi&&zi();var a=r(Sx);a?(ut(typeof a=="function","open callback must return a cleanup function"),zi=a):zi=null,pf=n;},Er.subscribe=function(t,r){ut(typeof r=="function","Subscriber callback must be a function"),ut(!Object.prototype.hasOwnProperty.call(Gi,t),"Topic ".concat(t," is already registered to.")),Gi[t]=r;},Er.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},ff(Er);function mf(e,t,r,n){var a,i,o=e.contentWindow,s=(a=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&a!==void 0?a:500;if(!o){An("Frame does not have a content window",e),r(null);return}if(s===0){hf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(gf("No response from frame",e)):r(null);},0);},s);Er(o,"axe.ping",null,void 0,function(){clearTimeout(l),hf(e,t,r,n);});}function hf(e,t,r,n){var a,i,o=(a=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&a!==void 0?a:6e4,s=e.contentWindow,l=setTimeout(function(){n(gf("Axe in frame timed out",e));},o);Er(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function gf(e,t){var r;return p._tree&&(r=Ms(t)),new Error(e+": "+(r||t))}var Ta=null,Ra={update:function(t){ut(fe(t)==="object","serializer must be an object"),Ta=t;},toSpec:function(t){return Ra.dqElmToSpec(new mr(t))},dqElmToSpec:function(t,r){var n;return t instanceof mr?(r&&(t=kx(t,r)),typeof((n=Ta)===null||n===void 0?void 0:n.toSpec)=="function"?Ta.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=Ta)===null||n===void 0?void 0:n.mergeSpecs)=="function"?Ta.mergeSpecs(t,r):mr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return _e({},r,{nodes:Ra.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=te(r,x);a.node=Ra.dqElmToSpec(n);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];a[s]=a[s].map(function(l){var u=l.relatedNodes,c=te(l,S);return c.relatedNodes=u.map(Ra.dqElmToSpec),c});}return a})}},hr=Ra;function kx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new mr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function Tx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Ui=Tx;function Rx(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&fe(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var Fa=Rx;function Fx(e,t,r){e.forEach(function(n){n.node=hr.mergeSpecs(n.node,r);var a=Ui(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return hr.mergeSpecs(o,r)});});});}function Ix(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=vf(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(Ee(t)));return}}e.push.apply(e,Ee(t));}function Mx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Lx(e,t){var r=[];return e.forEach(function(n){var a=Mx(n);if(!(!a||!a.length)){var i=Px(n);a.forEach(function(o){o.nodes&&i&&Fx(o.nodes,t,i);var s=Fa(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Ix(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(n){n.nodes&&n.nodes.sort(function(a,i){return vf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function vf(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var Wi=Lx;function Px(e){return e.frameElement?hr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function bf(e,t,r,n,a,i){t=_e({},t,{elementRef:false});var o=Ir(),s=e.frames;s.forEach(function(l){var u=l.node,c=te(l,E);o.defer(function(m,b){var C={options:t,command:r,parameter:n,context:c};function I(O){return m(O?{results:O,frameElement:u}:null)}mf(u,C,I,b);});}),o.then(function(l){a(Wi(l,t));}).catch(i);}function Wr(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&typeof e.actualNode.contains=="function")return e.actualNode.contains(t.actualNode);do{if(e===t)return true;if(t.nodeIndex<e.nodeIndex)return false;t=t.parent;}while(t);return false}function yf(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach(function(a){if(!(!a||fe(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||fe(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=yf(e[s],a[s]);}}),e}var Xs=yf;function Ox(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 Ys=Ox,Nx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function qx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Nx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Xi=qx,Ks={};yr(Ks,{createGrid:function(){return Pa},findElmsInContext:function(){return wf},findNearbyElms:function(){return ro},findUp:function(){return $n},findUpVirtual:function(){return jn},focusDisabled:function(){return ol},getComposedParent:function(){return jt},getElementByReference:function(){return ll},getElementCoordinates:function(){return Qs},getElementStack:function(){return tp},getModalDialog:function(){return Kf},getNodeGrid:function(){return to},getOverflowHiddenAncestors:function(){return Ma},getRootNode:function(){return Ut},getScrollOffset:function(){return Pf},getTabbableElements:function(){return rp},getTargetRects:function(){return ao},getTargetSize:function(){return np},getTextElementStack:function(){return Cl},getViewportSize:function(){return Yi},getVisibleChildTextRects:function(){return El},hasContent:function(){return fo},hasContentVirtual:function(){return $a},hasLangText:function(){return kl},idrefs:function(){return Mr},insertedIntoFocusOrder:function(){return Up},isCurrentPageLink:function(){return sl},isFixedPosition:function(){return Ki},isFocusable:function(){return Pt},isHTML5:function(){return Yp},isHiddenForEveryone:function(){return un},isHiddenWithCSS:function(){return d_},isInTabOrder:function(){return gr},isInTextBlock:function(){return Tl},isInert:function(){return no},isModalOpen:function(){return za},isMultiline:function(){return Jp},isNativelyFocusable:function(){return dl},isNode:function(){return x_},isOffscreen:function(){return Ji},isOpaque:function(){return F_},isSkipLink:function(){return Il},isVisible:function(){return N_},isVisibleOnScreen:function(){return or},isVisibleToScreenReaders:function(){return Et},isVisualContent:function(){return Sl},reduceToElementsBelowFloating:function(){return Zp},shadowElementsFromPoint:function(){return H_},urlPropsFromAttribute:function(){return U_},visuallyContains:function(){return Qp},visuallyOverlaps:function(){return Ml},visuallySort:function(){return ul}});function Bx(e){var t=e.getRootNode&&e.getRootNode()||h;return t===e&&(t=h),t}var Ia=Bx,Ut=Ia;function Hx(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=Rt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Ut(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var wf=Hx;function Vx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var n=e.actualNode.closest(t);return n||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!Pn(r,t)&&r!==h.documentElement);return !r||!Pn(r,t)?null:r}var jn=Vx;function jx(e,t){return jn(Ze(e),t)}var $n=jx;function Js(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 xf=wt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(xf(t.parent))}),Ma=xf,$x=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,zx=/(\w+)\((\d+)/;function Df(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Af(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function _f(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Ef(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Cf(e){return e.attr("aria-hidden")==="true"}function Sf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function kf(e){var t=Kr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Tf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=e.getComputedStylePropertyValue("position");if(n==="fixed")return false;var a=Ma(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!Gx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Js(i,s)})}function Rf(e){var t=e.getComputedStylePropertyValue("clip").match($x),r=e.getComputedStylePropertyValue("clip-path").match(zx);if(t&&t.length===5){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function Zs(e,t){var r=ir(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=Ia(e.actualNode);if(!a||a.nodeType!==9)return true;var i=ur(p._tree,'img[usemap="#'.concat(Rt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Ff(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(n){return n.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function Gx(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 Ux=[Af,_f,Ef,Ff];function un(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=n===void 0?false:n;return e=ot(e).vNode,r?If(e,a):Mf(e,a)}var If=wt(function(t,r){return Df(t)?true:t.actualNode?!!(Ux.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Mf=wt(function(t,r){return If(t,r)?true:t.parent?Mf(t.parent,true):false});function Lf(e){if(e.assignedSlot)return Lf(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var jt=Lf;function Wx(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 Pf=Wx;function Xx(e){var t=Pf(h),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var Qs=Xx;function Yx(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var n=t.body;return {width:n.clientWidth,height:n.clientHeight}}var Yi=Yx;function Ki(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=ot(e),a=n.vNode;return a?r?Of(a):Nf(a):false}var Of=wt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Nf=wt(function(t){return Of(t)?true:t.parent?Nf(t.parent):false});function Kx(e,t){for(e=jt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=jt(e);}return true}function Jx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=ot(e),a=n.domNode;if(a){var i=h.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(h.body||i).getPropertyValue("direction"),l=Ki(a),u=l?a.getBoundingClientRect():Qs(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(Kx(a,u.bottom)||o.position==="absolute"))return true;var c=Yi(d);if(l&&u.top>=c.height)return true;var m=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=m||(l||s==="ltr")&&u.right<=0)}}var Ji=Jx,Zx=[Sf,kf,Tf,Rf,Ji];function or(e){return e=ot(e).vNode,el(e)}var el=wt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Zs(t,el):un(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&Zx.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?el(t.parent,true):true});function tl(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new d.DOMRect(i,r,n-i,a-r)}function Zi(e,t){var r=e.x,n=e.y,a=t.top,i=t.right,o=t.bottom,s=t.left;return n>=a&&r<=i&&n<=o&&r>=s}var qf={};yr(qf,{getBoundingRect:function(){return tl},getIntersectionRect:function(){return Qi},getOffset:function(){return Hf},getRectCenter:function(){return La},hasVisualOverlap:function(){return rl},isPointInRect:function(){return Zi},rectHasMinimumSize:function(){return Xr},rectsOverlap:function(){return Js},splitRects:function(){return nl}});function Qi(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=n||a>=i?null:new d.DOMRect(r,a,n-r,i-a)}function La(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new d.DOMPoint(t+n/2,r+a/2)}var Bf=.05;function Xr(e,t){var r=t.width,n=t.height;return r+Bf>=e&&n+Bf>=e}function Hf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=ao(e),a=ao(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=La(o),l=it(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Zi(s,c))return 0;var m=Qx(s,c),b=Vf(s,m);i=Math.min(i,b);}}catch($){l.e($);}finally{l.f();}var C=np(t);if(Xr(r*2,C))return i;var I=a.reduce(tl),O=La(I),V=Vf(s,O)-r;return Math.max(0,Math.min(i,V))},1/0)}function Qx(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function Vf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function rl(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top?false:ul(e,t)>0}function nl(e,t){var r=Array.isArray(e)?e:[e],n=it(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,u){return l.concat(eD(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(n.s();!(a=n.n()).done;)i();}catch(o){n.e(o);}finally{n.f();}return r}function eD(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right,o=r<t.bottom&&a>t.top,s=n<t.right&&i>t.left,l=[];if(eo(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),eo(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),eo(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),eo(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(rD(e,t))return [];l.push(e);}return l.map(tD)}var eo=function(t,r,n){return t>r&&t<n};function tD(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function rD(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var jf=0,nD=.1,$f=.2,zf=.3,al=0;function Pa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ye.get("gridCreated")&&!r)return Ke.gridSize;if(Ye.set("gridCreated",true),!r){var n=Ze(h.documentElement);if(n||(n=new Ll(h.documentElement)),al=0,n._stackingOrder=[Wf(jf,al++,null)],t??(t=new il),Xf(t,n),Kr(n.actualNode)){var a=new il(n);n._subGrid=a;}}for(var i=h.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ze(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ze(o.assignedSlot):o.parentElement?r=Ze(o.parentElement):o.parentNode&&Ze(o.parentNode)&&(r=Ze(o.parentNode)),s||(s=new p.VirtualNode(o,r)),s._stackingOrder=aD(s,r,al++);var l=sD(s,r),u=l?l._subGrid:t;if(Kr(s.actualNode)){var c=new il(s);s._subGrid=c;}var m=s.boundingClientRect;m.width!==0&&m.height!==0&&or(o)&&Xf(u,s),Xi(o)&&Pa(o.shadowRoot,u,s),o=i.nextNode();}return Ke.gridSize}function Gf(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||n!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var a=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(a!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var m=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(m!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var b=e.getComputedStylePropertyValue("will-change");if(b==="transform"||b==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var C=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(C)||n!=="auto"&&Uf(t))}function Uf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function aD(e,t,r){var n=t._stackingOrder.slice();if(Gf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [jf,$f,zf].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=iD(e,t);return i!==null&&n.push(Wf(i,r,e)),n}function Wf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function iD(e,t){var r=oD(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?zf:e.getComputedStylePropertyValue("float")!=="none"?$f:Gf(e,t)?nD:null:parseInt(r)}function oD(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Uf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function sD(e,t){for(var r=null,n=[e];t;){if(Kr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ze(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Xf(e,t){var r=Ma(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Qi(s,l.boundingClientRect)},n);if(i){(a=t._grid)!==null&&a!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var il=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;_t(this,e),this.container=t,this.cells=[];}return lt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Ke.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;ut(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);ut(Zi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=u[l-u._negativeIndex])!==null&&a!==void 0?a:[]}},{key:"loopGridPosition",value:function(r,n){var a=r,i=a.left,o=a.right,s=a.top,l=a.bottom;this.boundaries&&(r=tl(this.boundaries,r)),this.boundaries=r,Yf(this.cells,s,l,function(u,c){Yf(u,i,o,function(m,b){n(m,{row:c,col:b});});});}},{key:"getGridPositionOfRect",value:function(r){var n=r.top,a=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n=this.toGridIndex(n-s),a=this.toGridIndex(a+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new d.DOMRect(o,n,a-o,i-n)}}])})();function Yf(e,t,r,n){var a;if((a=e._negativeIndex)!==null&&a!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),n(e[l],l+e._negativeIndex);}}function to(e){Pa();var t=ot(e),r=t.vNode;return r._grid}function ro(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=to(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=Ki(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(l){var u=it(l),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;m&&m!==e&&!s.includes(m)&&i===Ki(m)&&s.push(m);}}catch(b){u.e(b);}finally{u.f();}}),s}var lD=wt(function(){var t;if(!p._tree)return null;var r=qr(p._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=h.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&or(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=h.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=uD(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=h.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Kf=lD;function uD(e){Pa();var t=p._tree[0]._grid,r=new d.DOMRect(0,0,d.innerWidth,d.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var i=0;i<a.length;i++){var o=a[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Qi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function no(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Jf(e,n):Zf(e,n)}var Jf=wt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Kf();if(n&&!Wr(n,t))return true}return false}),Zf=wt(function(t,r){return Jf(t,r)?true:t.parent?Zf(t.parent,true):false}),cD=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function dD(e){return cD.includes(e)}function fD(e){var t=ot(e),r=t.vNode;if(dD(r.props.nodeName)&&r.hasAttr("disabled")||no(r))return true;for(var n=r.parent,a=[],i=false;n&&n.shadowId===r.shadowId&&!i&&(a.push(n),n.props.nodeName!=="legend");){if(n._inDisabledFieldset!==void 0){i=n._inDisabledFieldset;break}n.props.nodeName==="fieldset"&&n.hasAttr("disabled")&&(i=true),n=n.parent;}return a.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?un(r):false}var ol=fD,pD=/^\/\#/,mD=/^#[!/]/;function sl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(pD.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(mD.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=d.location)===null||t===void 0?void 0:t.origin)!="string"||d.location.origin.indexOf("://")===-1)return null;var l=d.location.origin+d.location.pathname,u;return i?u="".concat(a,"//").concat(i).concat(o?":".concat(o):""):u=d.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=d.location.pathname,u===l}function hD(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!sl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=h.getElementById(r);return n||(n=h.getElementsByName(r),n.length?n[0]:null)}var ll=hD;function ul(e,t){Pa();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(typeof t._stackingOrder[n]>"u")return -1;if(typeof e._stackingOrder[n]>"u"||t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return -1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,i=t.actualNode;if(a.getRootNode&&a.getRootNode()!==i.getRootNode()){for(var o=[];a;)o.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;i&&!o.find(function(V){return V.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(V){return V.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=d.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,m=a.compareDocumentPosition(i),b=m&l?1:-1,C=m&u||m&c,I=Qf(e),O=Qf(t);return I===O||C?b:O-I}function Qf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:ep(e)?1:0}function ep(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=ep(e.parent);return e._isFloated=r,r}function cl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=La(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(u){return u.clientRects.some(function(c){var m=c.left,b=c.top;return i<Math.floor(m+c.width)&&i>=Math.floor(m)&&o<Math.floor(b+c.height)&&o>=Math.floor(b)})}),l=e.container;return l&&(s=cl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(ul).map(function(u){return u.actualNode}).concat(h.documentElement).filter(function(u,c,m){return m.indexOf(u)===c})),s}function gD(e){var t=to(e);if(!t)return [];var r=Ze(e).boundingClientRect;return cl(t,r)}var tp=gD;function vD(e){var t=ur(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Nr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var rp=vD;function bD(e){var t=ot(e),r=t.vNode;if(!r||ol(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 !ur(r,"summary").length}return false}var dl=bD;function Pt(e){var t=ot(e),r=t.vNode;if(r.props.nodeType!==1||ol(r))return false;if(dl(r))return true;var n=Nr(r.attr("tabindex"));return n!==null}function gr(e){var t=ot(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Nr(r.attr("tabindex"));return n<=-1?false:Pt(r)}var ao=wt(yD);function yD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=ro(e).filter(function(i){return rl(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!wD(e,i)});if(!n.length)return r;var a=n.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return nl(r,a)}function wD(e,t){return Wr(e,t)&&!gr(t)}var np=wt(xD);function xD(e,t){var r=ao(e);return DD(r,t)}function DD(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}var Oa={};yr(Oa,{accessibleText:function(){return Cn},accessibleTextVirtual:function(){return $t},autocomplete:function(){return kn},formControlValue:function(){return Lp},formControlValueMethods:function(){return yl},hasUnicode:function(){return Dl},isHumanInterpretable:function(){return _l},isIconLigature:function(){return Al},isValidAutocomplete:function(){return Vp},label:function(){return ZA},labelText:function(){return wl},labelVirtual:function(){return uo},nativeElementType:function(){return e_},nativeTextAlternative:function(){return Op},nativeTextMethods:function(){return Pp},removeUnicode:function(){return ja},sanitize:function(){return ze},subtreeText:function(){return fn},titleText:function(){return oo},unsupported:function(){return _p},visible:function(){return jp},visibleTextNodes:function(){return t_},visibleVirtual:function(){return Pr}});function AD(e,t){e=e.actualNode||e;try{var r=Ut(e),n=[],a=e.getAttribute(t);if(a){a=Kt(a);for(var i=0;i<a.length;i++)n.push(r.getElementById(a[i]));}return n}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Mr=AD;function _D(e,t){var r=Ze(e);return $t(r,t)}var Cn=_D;function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=ot(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Mr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=Cn(o,_e({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Na=ED;function qa(e){var t=ot(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var CD={"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}},ap=CD,SD={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"]}},ip=SD,kD={"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"]}},TD=kD,RD={"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}},FD=RD,ID={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"]}},MD=ID,LD={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]},PD=LD,op={ariaAttrs:ap,ariaRoles:_e({},ip,TD,FD),htmlElms:MD,cssColors:PD},zn=_e({},op);function OD(e){Object.keys(zn).forEach(function(t){e[t]&&(zn[t]=Xs(zn[t],e[t]));});}function ND(){Object.keys(zn).forEach(function(e){zn[e]=op[e];});}var ct=zn;function qD(e){var t=ct.ariaRoles[e];return t?!!t.unsupported:false}var fl=qD;function BD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=n===void 0?false:n,i=ct.ariaRoles[e],o=fl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Ba=BD;function HD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Vt?e:Ze(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Kt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Ba(l,{allowAbstract:n})});return s||null}var tt=HD;function VD(e){return Object.keys(ct.htmlElms).filter(function(t){var r=ct.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 pl=VD;function jD(){return Ye.get("globalAriaAttrs",function(){return Object.keys(ct.ariaAttrs).filter(function(e){return ct.ariaAttrs[e].global})})}var cn=jD;function $D(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var i=r[n].cells;t[n]=t[n]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),m=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,b=0;b<m;b++){for(t[n+b]=t[n+b]||[];t[n+b][o];)o++;t[n+b][o]=i[s];}o++;}}return t}var Yr=wt($D);function zD(e,t){var r,n;for(t||(t=Yr($n(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var io=wt(zD);function ml(e){var t=ot(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=tt(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(a==="col"||a==="row")return a;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Yr($n(n,"table")),s=io(n,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function GD(e){return ["col","auto"].indexOf(ml(e))!==-1}var Gn=GD;function UD(e){return ["row","auto"].includes(ml(e))}var Un=UD;function WD(e){return e?e.replace(/\r\n/g,`
373
- `).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var ze=WD,sp=function(){return Ye.get("sectioningContentSelector",function(){return pl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},lp=function(){return Ye.get("sectioningContentPlusMainSelector",function(){return sp()+" , main:not([role]), [role=main]"})};function hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(ze(Na(e))||ze(qa(e))||n&&e?.props.nodeType===1&&ze(e.attr("title")))}var XD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return ir(t.parent,sp())&&!hl(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=ir(t,lp());return r?null:"contentinfo"},form:function(t){return hl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=ir(t,lp());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=cn().find(function(a){return t.hasAttr(a)});return r&&!n&&!Pt(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Mr(t.actualNode,"list").filter(function(a){return !!a})[0];r=n&&n.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return hl(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=ir(t,"table"),n=tt(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Gn(t))return "columnheader";if(Un(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},gl=XD;function YD(e,t){var r=fe(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e}var Sn=YD;function KD(e,t){return Sn(!!$t(e),t)}var up=KD;function JD(e,t){var r=fe(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(n){return Sn(e(n),t[n])})}var vl=JD;function ZD(e,t){return e=ot(e).vNode,vl(function(r){return e.attr(r)},t)}var cp=ZD;function dp(e,t){return !!t(e)}function QD(e,t){return Sn(tt(e),t)}var fp=QD;function eA(e,t){return Sn(Lr(e),t)}var pp=eA;function tA(e,t){return e=ot(e).vNode,Sn(e.props.nodeName,t)}var mp=tA;function rA(e,t){return e=ot(e).vNode,vl(function(r){return e.props[r]},t)}var hp=rA;function nA(e,t){return Sn(Je(e),t)}var gp=nA,vp={hasAccessibleName:up,attributes:cp,condition:dp,explicitRole:fp,implicitRole:pp,nodeName:mp,properties:hp,semanticRole:gp};function bp(e,t){return e=ot(e).vNode,Array.isArray(t)?t.some(function(r){return bp(e,r)}):typeof t=="string"?Ns(e,t):Object.keys(t).every(function(r){if(!vp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=vp[r],a=t[r];return n(e,a)})}var yp=bp;function aA(e,t){return yp(e,t)}var sr=aA;sr.hasAccessibleName=up,sr.attributes=cp,sr.condition=dp,sr.explicitRole=fp,sr.fromDefinition=yp,sr.fromFunction=vl,sr.fromPrimative=Sn,sr.implicitRole=pp,sr.nodeName=mp,sr.properties=hp,sr.semanticRole=gp;var Ha=sr;function iA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=ct.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=te(a,M);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=te(l,L),m=Array.isArray(u)?u:[u],b=0;b<m.length&&n;b++)if(m[b].hasOwnProperty("hasAccessibleName"))return a;if(Ha(e,u))for(var C in c)c.hasOwnProperty(C)&&(o[C]=c[C]);}for(var I in i.default)i.default.hasOwnProperty(I)&&typeof o[I]>"u"&&(o[I]=i.default[I]);return o}var dn=iA;function oA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Vt?e:Ze(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=gl[a];if(!i&&r){var o=dn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Lr=oA,sA={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 wp(e,t){var r=sA[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=tt(e.parent,t);return ["none","presentation"].includes(n)&&!Dp(e.parent)?n:n?null:wp(e.parent,t)}function xp(e,t){var r=t.chromium,n=te(t,N),a=Lr(e,{chromium:r});if(!a)return null;var i=wp(e,n);return i||a}function Dp(e){var t=cn().some(function(r){return e.hasAttr(r)});return t||Pt(e)}function lA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=te(t,q),a=ot(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=tt(i,n);return o?["presentation","none"].includes(o)&&Dp(i)?r?null:xp(i,n):o:r?null:xp(i,n)}function uA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=te(t,H),a=lA(e,n);return r&&["presentation","none"].includes(a)?null:a}var Je=uA,cA=["iframe"];function dA(e){var t=ot(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!sr(r,cA)&&["none","presentation"].includes(Je(r))?"":r.attr("title")}var oo=dA;function fA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Vt?e:Ze(e),e.props.nodeType!==1)return false;var n=Je(e),a=ct.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var Ap=fA;function pA(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Mr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return p.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(Ee(i),Ee(a))}return Ee(r)}var Va=pA,_p={accessibleNameFromFieldValue:["progressbar"]};function Et(e){return e=ot(e).vNode,bl(e)}var bl=wt(function(t,r){return Cf(t)||no(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Zs(t,bl):un(t,{skipAncestors:true,isAncestor:r})?false:t.parent?bl(t.parent,true):true});function Ep(e,t,r){var n=ot(e),a=n.vNode,i=t?Et:or,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,m=u.nodeValue;if(c===3){if(m&&o)return m}else if(!r)return Ep(l,t)}).join("");return ze(s)}var Pr=Ep,mA=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function hA(e){e=e instanceof Vt?e:Ze(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!mA.includes((e.attr("type")||"").toLowerCase())}var Cp=hA;function gA(e){e=e instanceof Vt?e:Ze(e);var t=e.props.nodeName;return t==="select"}var Sp=gA;function vA(e){var t=tt(e);return t==="textbox"}var kp=vA;function bA(e){var t=tt(e);return t==="listbox"}var Tp=bA;function yA(e){var t=tt(e);return t==="combobox"}var Rp=yA,wA=["progressbar","scrollbar","slider","spinbutton"];function xA(e){var t=tt(e);return wA.includes(t)}var Fp=xA,Ip=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],yl={nativeTextboxValue:AA,nativeSelectValue:_A,ariaTextboxValue:EA,ariaListboxValue:Mp,ariaComboboxValue:CA,ariaRangeValue:SA};function DA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=_p.accessibleNameFromFieldValue||[],a=Je(e);if(t.startNode===e||!Ip.includes(a)||n.includes(a))return "";var i=Object.keys(yl).map(function(s){return yl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&An(o||"{empty-value}",r,t),o}function AA(e){var t=ot(e),r=t.vNode;return Cp(r)&&r.props.value||""}function _A(e){var t=ot(e),r=t.vNode;if(!Sp(r))return "";var n=ur(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Pr(i)}).join(" ")||""}function EA(e){var t=ot(e),r=t.vNode,n=t.domNode;return kp(r)?!n||n&&!un(n)?Pr(r,true):n.textContent:""}function Mp(e,t){var r=ot(e),n=r.vNode;if(!Tp(n))return "";var a=Va(n).filter(function(i){return Je(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":$t(a[0],t)}function CA(e,t){var r=ot(e),n=r.vNode;if(!Rp(n))return "";var a=Va(n).filter(function(i){return Je(i)==="listbox"})[0];return a?Mp(a,t):""}function SA(e){var t=ot(e),r=t.vNode;if(!Fp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Lp=DA;function kA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=$t.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Je(e),l=dn(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||Ip.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Ap(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=_e({subtreeDescendant:c},t);}return Va(e).reduce(function(m,b){return RA(m,b,t)},"")}var TA=pl("phrasing").concat(["#text"]);function RA(e,t,r){var n=t.props.nodeName,a=$t(t,r);return a?(TA.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var fn=kA;function FA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=$t.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=_e({inControlContext:true},t),a=IA(e),i=ir(e,"label"),o;return i?(o=[].concat(Ee(a),[i.actualNode]),o.sort(Xl)):o=a,o.map(function(s){return Cn(s,n)}).filter(function(s){return s!==""}).join(" ")}function IA(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return wf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var wl=FA,MA={submit:"Submit",image:"Submit",reset:"Reset",button:""},LA={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return MA[t.props.type]||""},tableCaptionText:so.bind(null,"caption"),figureText:so.bind(null,"figcaption"),svgTitleText:so.bind(null,"title"),fieldsetLegendText:so.bind(null,"legend"),altText:xl.bind(null,"alt"),tableSummaryText:xl.bind(null,"summary"),titleText:oo,subtreeText:fn,labelText:wl,singleSpace:function(){return " "},placeholderText:xl.bind(null,"placeholder")};function xl(e,t){return t.attr(e)||""}function so(e,t,r){var n=t.actualNode;e=e.toLowerCase();var a=[e,n.nodeName.toLowerCase()].join(","),i=n.querySelector(a);return !i||i.nodeName.toLowerCase()!==e?"":Cn(i,r)}var Pp=LA;function Op(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Je(e)))return "";var n=PA(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(a||"{empty-value}",r,t),a}function PA(e){var t=dn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Pp[n]})}function Np(){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 qp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Bp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Hp(){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 OA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=us().test(e))),n&&(i||(i=Np().test(e)||Bp().test(e)||Hp().test(e))),a&&(i||(i=qp().test(e))),i}var Dl=OA;function Al(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!ze(n)||Dl(n,{emoji:true,nonBmp:true}))return false;var a=Ye.get("canvasContext",function(){return h.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=Ye.get("fonts",function(){return {}}),s=d.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,m="".concat(c,"px ").concat(l);a.font=m;var b=n.charAt(0),C=a.measureText(b).width;if(C===0)return u.numLigatures++,true;if(C<30){var I=30/C;C*=I,c*=I,m="".concat(c,"px ").concat(l);}i.width=C,i.height=c,a.font=m,a.textAlign="left",a.textBaseline="top",a.fillText(b,0,0);var O=new Uint32Array(a.getImageData(0,0,C,c).data.buffer);if(!O.some(function(ae){return ae}))return u.numLigatures++,true;a.clearRect(0,0,C,c),a.fillText(n,0,0);var V=new Uint32Array(a.getImageData(0,0,C,c).data.buffer),$=O.reduce(function(ae,le,pe){return le===0&&V[pe]===0||le!==0&&V[pe]!==0?ae:++ae},0),G=n.split("").reduce(function(ae,le){return ae+a.measureText(le).width},0),Y=a.measureText(n).width,K=$/O.length,Q=1-Y/G;return K>=t&&Q>=t?(u.numLigatures++,true):false}function $t(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=HA(e,t),qA(e,t)||BA(e,t))return "";var r=[Na,qa,Op,Lp,fn,NA,oo],n=r.reduce(function(a,i){return t.startNode===e&&(a=ze(a)),a!==""?a:i(e,t)},"");return t.debug&&p.log(n||"{empty-value}",e.actualNode,t),n}function NA(e){return e.props.nodeType!==3?"":e.props.nodeValue}function qA(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!Et(e)}function BA(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!n?false:Al(e,a,i)}function HA(e,t){return t.startNode||(t=_e({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=_e({includeHidden:!Et(e)},t)),t}$t.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function VA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(us(),"")),n&&(e=e.replace(Np(),"").replace(Bp(),"").replace(Hp(),"")),a&&(e=e.replace(qp(),"")),e}var ja=VA;function jA(e){return $A(e)||zA(e)||GA(e)||UA(e)?0:1}function $A(e){return ze(e).length===0}function zA(e){return e.length===1&&e.match(/\D/)}function GA(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function UA(e){var t=ja(e,{emoji:true,nonBmp:true,punctuations:true});return !ze(t)}var _l=jA,kn={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 WA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,n=r===void 0?false:r,a=t.stateTerms,i=a===void 0?[]:a,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,m=c===void 0?[]:c,b=t.qualifiedTerms,C=b===void 0?[]:b,I=t.ignoredValues,O=I===void 0?[]:I;if(e=e.toLowerCase().trim(),i=i.concat(kn.stateTerms),i.includes(e)||e==="")return true;u=u.concat(kn.qualifiers),s=s.concat(kn.locations),m=m.concat(kn.standaloneTerms),C=C.concat(kn.qualifiedTerms);var V=e.split(/\s+/g);if(V[V.length-1]==="webauthn"&&(V.pop(),V.length===0)||!n&&(V[0].length>8&&V[0].substr(0,8)==="section-"&&V.shift(),s.includes(V[0])&&V.shift(),u.includes(V[0])&&(V.shift(),m=[]),V.length!==1))return false;var $=V[V.length-1];if(!O.includes($))return m.includes($)||C.includes($)}var Vp=WA;function XA(e){var t,r;return e.attr("aria-labelledby")&&(t=Mr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ze(n);return a?Pr(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=ze(r),r))?r:null}var lo=XA;function YA(e,t,r){return e=Ze(e),Pr(e,t,r)}var jp=YA;function KA(e){var t,r,n;if(r=lo(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var a=Rt(e.attr("id"));if(n=Ut(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&jp(t,true),r)return r}return t=ir(e,"label"),r=t&&Pr(t,true),r||null}var uo=KA;function JA(e){return e=Ze(e),uo(e)}var ZA=JA,QA=[{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"]}],e_=QA;function $p(e){var t=or(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat($p(n));}),r}var t_=$p,r_=wt(function(t){var r=Ze(t),n=r.boundingClientRect,a=[],i=Ma(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||ze(o.nodeValue)==="")){var s=n_(o);a_(s,n)||a.push.apply(a,Ee(zp(s,i)));}}),a.length?a:zp([n],i)}),El=r_;function n_(e){var t=h.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function a_(e,t){return e.some(function(r){var n=La(r);return !Zi(n,t)})}function zp(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&Qi(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function i_(e){var t=to(e);if(!t)return [];var r=El(e);return r.map(function(n){return cl(t,n)})}var Cl=i_,o_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function s_(e){var t=ot(e),r=t.vNode,n=p.commons.aria.getExplicitRole(r);if(n)return o_.indexOf(n)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var Sl=s_,l_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function co(e){return l_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Gp(e,t,r){return co(e)||Sl(e.actualNode)||!r&&!!lo(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Gp(n)})}var $a=Gp;function u_(e,t,r){return e=Ze(e),$a(e,t,r)}var fo=u_;function kl(e){return typeof e.children>"u"||co(e)?true:e.props.nodeType===1&&Sl(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&kl(t)&&!un(t)})}function c_(e){var t=Nr(e.getAttribute("tabindex"));return t>-1&&Pt(e)&&!dl(e)}var Up=c_;function Wp(e,t){var r=ot(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Xp(a,t)),n._isHiddenWithCSS):Xp(a,t)}function Xp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=d.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=jt(e);return o&&!a.includes(i)?Wp(o,i):false}var d_=Wp;function f_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Yp=f_;function p_(e){var t;(e instanceof Vt||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=p.commons.aria.getRole(e));var r=ct.ariaRoles[e];return r?.type||null}var Cr=p_,m_=["block","list-item","table","flex","grid"],h_=["inline-block","inline-flex","inline-grid"];function g_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,n=t.includeInlineBlock,a=n===void 0?false:n,i=ot(e),o=i.vNode,s=i.domNode;if(Rl(s)||!a&&v_(o))return false;var l=b_(s),u="",c="",m=0;return Kp(l,function(b){if(b===l.actualNode)return true;if(m===2)return false;if(b.nodeType===3&&(u+=b.nodeValue),b.nodeType===1){var C=(b.nodeName||"").toUpperCase();b===s&&(m=1);var I=Rl(b);if((I||["BR","HR"].includes(C))&&(m===0?(u="",c=""):m=2),I||b.style.display==="none"||b.style.overflow==="hidden"||!["",null,"none"].includes(b.style.float)||!["",null,"relative"].includes(b.style.position))return false;if(Cr(b)==="widget")return c+=b.textContent,false}}),u=ze(u),r?u.length!==0:(c=ze(c),u.length>c.length)}var Tl=g_;function Rl(e){var t=ot(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return m_.includes(n)||n.substr(0,6)==="table-"}function v_(e){var t=e.getComputedStylePropertyValue("display");return h_.includes(t)}function Kp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Kp(r,t)});}function b_(e){for(var t=jt(e);t&&!Rl(t);)t=jt(t);return Ze(t)}function y_(e){e=e||{};var t=e.modalPercent||.75;if(Ye.get("isModalOpen"))return Ye.get("isModalOpen");var r=qr(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",or);if(r.length)return Ye.set("isModalOpen",true),true;for(var n=Yi(d),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,l=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],u=l.map(function(C){return Array.from(h.elementsFromPoint(C.x,C.y))}),c=function(){var I=u[b].find(function(O){var V=d.getComputedStyle(O);return parseInt(V.width,10)>=a&&parseInt(V.height,10)>=i&&V.getPropertyValue("pointer-events")!=="none"&&(V.position==="absolute"||V.position==="fixed")});if(I&&u.every(function(O){return O.includes(I)}))return Ye.set("isModalOpen",true),{v:true}},m,b=0;b<u.length;b++)if(m=c(),m)return m.v;Ye.set("isModalOpen",void 0);}var za=y_;function Jp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=it(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(n>s.top+t)n=Math.max(n,s.bottom);else if(a===0)n=s.bottom,a++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function w_(e){return e instanceof d.Node}var x_=w_,Fl="color.incompleteData",D_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=Ye.get(Fl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=Ye.get(Fl);return r?.[t]},clear:function(){Ye.set(Fl,{});}},xt=D_;function A_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return xt.set("bgColor","imgNode"),true;t=t||d.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);xt.set("bgColor",o?"bgGradient":"bgImage");}return i}var po=A_,__=/^#[0-9a-f]{3,8}$/i,E_=/hsl\(\s*([-\d.]+)(rad|turn)/,Ga=(Xe=new WeakMap,at=new WeakMap,dt=new WeakMap,yt=new WeakMap,Qe=new WeakMap,Ve=new WeakMap,rr=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(_t(this,e),br(this,rr),Mt(this,Xe,void 0),Mt(this,at,void 0),Mt(this,dt,void 0),Mt(this,yt,void 0),Mt(this,Qe,void 0),Mt(this,Ve,void 0),t instanceof Ga){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=n,this.alpha=a;}return lt(e,[{key:"r",get:function(){return Gt(Xe,this)},set:function(r){Tt(Xe,this,r),Tt(yt,this,Math.round(Wn(r,0,1)*255));}},{key:"g",get:function(){return Gt(at,this)},set:function(r){Tt(at,this,r),Tt(Qe,this,Math.round(Wn(r,0,1)*255));}},{key:"b",get:function(){return Gt(dt,this)},set:function(r){Tt(dt,this,r),Tt(Ve,this,Math.round(Wn(r,0,1)*255));}},{key:"red",get:function(){return Gt(yt,this)},set:function(r){Tt(Xe,this,r/255),Tt(yt,this,Wn(r,0,255));}},{key:"green",get:function(){return Gt(Qe,this)},set:function(r){Tt(at,this,r/255),Tt(Qe,this,Wn(r,0,255));}},{key:"blue",get:function(){return Gt(Ve,this)},set:function(r){Tt(dt,this,r/255),Tt(Ve,this,Wn(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),n=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?n:"0"+n)+(this.blue>15.5?a:"0"+a)}},{key:"toJSON",value:function(){var r=this.red,n=this.green,a=this.blue,i=this.alpha;return {red:r,green:n,blue:a,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(E_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,S_(o));case "turn":return i.replace(l,k_(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=jd.default);var a=new gt(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw xt.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(__)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,n=this.g,a=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4),s=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var n=r-this.getLuminosity();return tr(rr,this,C_).call(this,n).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var n=new Ga(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(c,m){return c.value-m.value}),o=Ae(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,n[u.name]=u.value,n[s.name]=s.value,n[l.name]=l.value,n}},{key:"clip",value:function(){var r=new Ga(this),n=r.getLuminosity(),a=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return a<0&&(r.r=n+(r.r-n)*n/(n-a),r.g=n+(r.g-n)*n/(n-a),r.b=n+(r.b-n)*n/(n-a)),i>1&&(r.r=n+(r.r-n)*(1-n)/(i-n),r.g=n+(r.g-n)*(1-n)/(i-n),r.b=n+(r.b-n)*(1-n)/(i-n)),r}}])})());function C_(e){var t=new Ga(this);return t.r+=e,t.g+=e,t.b+=e,t}var Ct=Ga;function Wn(e,t,r){return Math.min(Math.max(t,e),r)}function S_(e){return e*180/Math.PI}function k_(e){return e*360}function T_(e){var t=new Ct;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Tn=T_;function R_(e){var t=d.getComputedStyle(e);return po(e,t)||Tn(t).alpha===1}var F_=R_;function Il(e){if(!e.href)return false;var t=Ye.get("firstPageLink",I_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function I_(){var e;return d.location.origin?e=ur(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !sl(t.actualNode)}):e=ur(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var M_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,L_=/(\w+)\((\d+)/;function P_(e){var t=e.getPropertyValue("clip").match(M_),r=e.getPropertyValue("clip-path").match(L_);if(t&&t.length===5){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function O_(e,t,r){var n=$n(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Ut(e);if(!i||i.nodeType!==9)return false;var o=ur(p._tree,'img[usemap="#'.concat(Rt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return mo(l,t,r)})}function mo(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Vt?e:Ze(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=d.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=a?a.props.nodeType:e.nodeType,c=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var m=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(m==="true")return false}if(!e){var b=a.parent,C=true;return b&&(C=mo(b,t,true)),a&&(a[i]=C),C}var I=d.getComputedStyle(e,null);if(I===null)return false;if(c==="area")return O_(e,t,r);if(I.getPropertyValue("display")==="none")return false;var O=parseInt(I.getPropertyValue("height")),V=parseInt(I.getPropertyValue("width")),$=Kr(e),G=$&&O===0,Y=$&&V===0,K=I.getPropertyValue("position")==="absolute"&&(O<2||V<2)&&I.getPropertyValue("overflow")==="hidden";if(!t&&(P_(I)||I.getPropertyValue("opacity")==="0"||G||Y||K)||!r&&(I.getPropertyValue("visibility")==="hidden"||!t&&Ji(e)))return false;var Q=e.assignedSlot?e.assignedSlot:e.parentNode,ae=false;return Q&&(ae=mo(Q,t,true)),a&&(a[i]=ae),ae}var N_=mo;function q_(e,t){for(var r=["fixed","sticky"],n=[],a=false,i=0;i<e.length;++i){var o=e[i];o===t&&(a=true);var s=d.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var Zp=q_;function Qp(e,t){var r=em(t);do{var n=em(e);if(n===r||n===t)return B_(e,t);e=n;}while(e);return false}function em(e){for(var t=Ze(e),r=t.parent;r;){if(Kr(r.actualNode))return r.actualNode;r=r.parent;}}function B_(e,t){var r=d.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof d.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function tm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return Ut(a)===r}).reduce(function(a,i){if(Xi(i)){var o=tm(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Qp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var H_=tm;function V_(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=h.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=$_(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:j_(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:z_(n.search),hash:G_(n.hash),filename:l}}}function j_(e){var t=["443","80"];return t.includes(e)?"":e}function $_(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function z_(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=r[n],i=a.split("="),o=Ae(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function G_(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Ae(r,1),a=n[0];return a==="#"?"":e}var U_=V_;function W_(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,i={top:n-t.scrollTop,bottom:n-t.scrollTop+t.scrollHeight,left:a-t.scrollLeft,right:a-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=d.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof d.HTMLBodyElement||t instanceof d.HTMLHtmlElement:true}var Ml=W_,rm=0,X_=(function(e){function t(r,n,a){var i;if(_t(this,t),i=Z(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(rm=0),i.nodeIndex=rm++,i._isHidden=null,i._cache={},i._isXHTML=_a(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Eo().includes(o)||(o="text"),i._type=o;}return Ye.get("nodeMap")&&Ye.get("nodeMap").set(r,i),i}return De(t,e),lt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,a=n.nodeType,i=n.nodeName,o=n.id,s=n.nodeValue;this._cache.props={nodeType:a,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},a===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof d.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(n).map(function(a){return a.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var a="computedStyle_"+n;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=d.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(n)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Pt(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=rp(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Vt),Ll=X_;function Y_(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Kt=Y_,Rn=" [idsMap]";function nm(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return am(l)}))return;var o=new Set;t.forEach(function(l){var u,c=K_(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(m){c.isComplexSelector&&!qn(m,l)||o.add(m);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function K_(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(am(n))a=t["*"];else {if(n.id){var o;if(!t[Rn]||!Object.hasOwn(t[Rn],n.id)||!((o=t[Rn][n.id])!==null&&o!==void 0&&o.length))return;a=t[Rn][n.id].filter(function(O){return O.shadowId===r});}if(n.tag&&n.tag!=="*"){var s;if(!((s=t[n.tag])!==null&&s!==void 0&&s.length))return;var l=t[n.tag];a=a?Pl(l,a):l;}if(n.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];a=a?Pl(c,a):c;}if(n.attributes)for(var m=0;m<n.attributes.length;m++){var b,C=n.attributes[m];if(C.type==="attrValue"&&(i=true),!((b=t["[".concat(C.key,"]")])!==null&&b!==void 0&&b.length))return;var I=t["[".concat(C.key,"]")];a=a?Pl(I,a):I;}}return {nodes:a,isComplexSelector:i}}function am(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Pl(e,t){return e.filter(function(r){return t.includes(r)})}function ho(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function im(e,t){e.props.nodeType===1&&(ho(e.props.nodeName,e,t),ho("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[Rn]=t[Rn]||{},Kt(e.attr(r)).forEach(function(n){ho(n,e,t[Rn]);})),ho("[".concat(r,"]"),e,t);}));}var Ol;function Nl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.documentElement,t=arguments.length>1?arguments[1]:void 0;Ol=false;var r={};Ye.set("nodeMap",new WeakMap),Ye.set("selectorMap",r);var n=om(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Ol,n}function J_(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function ql(e,t,r){var n=new Ll(e,t,r);return im(n,Ye.get("selectorMap")),n}function go(e,t,r){var n=[];return e.forEach(function(a){var i=om(a,r,t);i&&n.push.apply(n,Ee(i));}),n}function om(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Xi(e))return Ol=true,n=ql(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=go(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),go(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=J_(e));d.getComputedStyle(e);return go(a,r,t)}if(e.nodeType===h.ELEMENT_NODE)return n=ql(e,r,t),a=Array.from(e.childNodes),n.children=go(a,n,t),[n];if(e.nodeType===h.TEXT_NODE)return [ql(e,r)]}function Z_(e){return e?e.trim().split("-")[0].toLowerCase():""}var Fn=Z_;function Q_(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=p._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
420
+ `,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'};}),hb=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=pc();function r(n,a,i,o,s,l){var u=n.length,c="";function m(G,Y){var K="";for(a++,c=n.charAt(a);a<u;){if(c===G)return a++,K;if(c==="\\"){a++,c=n.charAt(a);var Q=void 0;if(c===G)K+=G;else if((Q=Y[c])!==void 0)K+=Q;else if(t.isHex(c)){var ae=c;for(a++,c=n.charAt(a);t.isHex(c);)ae+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),K+=String.fromCharCode(parseInt(ae,16));continue}else K+=c;}else K+=c;a++,c=n.charAt(a);}return K}function b(){var G="";for(c=n.charAt(a);a<u;){if(t.isIdent(c))G+=c;else if(c==="\\"){if(a++,a>=u)throw Error("Expected symbol but end of file reached.");if(c=n.charAt(a),t.identSpecialChars[c])G+=c;else if(t.isHex(c)){var Y=c;for(a++,c=n.charAt(a);t.isHex(c);)Y+=c,a++,c=n.charAt(a);c===" "&&(a++,c=n.charAt(a)),G+=String.fromCharCode(parseInt(Y,16));continue}else G+=c;}else return G;a++,c=n.charAt(a);}return G}function C(){c=n.charAt(a);for(var G=false;c===" "||c===" "||c===`
421
+ `||c==="\r"||c==="\f";)G=true,a++,c=n.charAt(a);return G}function I(){var G=P();if(a<u)throw Error('Rule expected but "'+n.charAt(a)+'" found.');return G}function P(){var G=V();if(!G)return null;var Y=G;for(c=n.charAt(a);c===",";){if(a++,C(),Y.type!=="selectors"&&(Y={type:"selectors",selectors:[G]}),G=V(),!G)throw Error('Rule expected after ",".');Y.selectors.push(G);}return Y}function V(){C();var G={type:"ruleSet"},Y=$();if(!Y)return null;for(var K=G;Y&&(Y.type="rule",K.rule=Y,K=Y,C(),c=n.charAt(a),!(a>=u||c===","||c===")"));)if(s[c]){var Q=c;if(a++,C(),Y=$(),!Y)throw Error('Rule expected after "'+Q+'".');Y.nestingOperator=Q;}else Y=$(),Y&&(Y.nestingOperator=null);return G}function $(){for(var G=null;a<u;)if(c=n.charAt(a),c==="*")a++,(G=G||{}).tagName="*";else if(t.isIdentStart(c)||c==="\\")(G=G||{}).tagName=b();else if(c===".")a++,G=G||{},(G.classNames=G.classNames||[]).push(b());else if(c==="#")a++,(G=G||{}).id=b();else if(c==="["){a++,C();var Y={name:b()};if(C(),c==="]")a++;else {var K="";if(o[c]&&(K=c,a++,c=n.charAt(a)),a>=u)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');Y.operator=K+"=",a++,C();var Q="";if(Y.valueType="string",c==='"')Q=m('"',t.doubleQuotesEscapeChars);else if(c==="'")Q=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,Q=b(),Y.valueType="substitute";else {for(;a<u&&c!=="]";)Q+=c,a++,c=n.charAt(a);Q=Q.trim();}if(C(),a>=u)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');a++,Y.value=Q;}G=G||{},(G.attrs=G.attrs||[]).push(Y);}else if(c===":"){a++;var ae=b(),le={name:ae};if(c==="("){a++;var pe="";if(C(),i[ae]==="selector")le.valueType="selector",pe=P();else {if(le.valueType=i[ae]||"string",c==='"')pe=m('"',t.doubleQuotesEscapeChars);else if(c==="'")pe=m("'",t.singleQuoteEscapeChars);else if(l&&c==="$")a++,pe=b(),le.valueType="substitute";else {for(;a<u&&c!==")";)pe+=c,a++,c=n.charAt(a);pe=pe.trim();}C();}if(a>=u)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');a++,le.value=pe;}G=G||{},(G.pseudos=G.pseudos||[]).push(le);}else break;return G}return I()}e.parseCssSelector=r;}),gb=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=pc();function r(n){var a="";switch(n.type){case "ruleSet":for(var i=n.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;a=o.join(" ");break;case "selectors":a=n.selectors.map(r).join(", ");break;case "rule":n.tagName&&(n.tagName==="*"?a="*":a=t.escapeIdentifier(n.tagName)),n.id&&(a+="#"+t.escapeIdentifier(n.id)),n.classNames&&(a+=n.classNames.map(function(s){return "."+t.escapeIdentifier(s)}).join("")),n.attrs&&(a+=n.attrs.map(function(s){return "operator"in s?s.valueType==="substitute"?"["+t.escapeIdentifier(s.name)+s.operator+"$"+s.value+"]":"["+t.escapeIdentifier(s.name)+s.operator+t.escapeStr(s.value)+"]":"["+t.escapeIdentifier(s.name)+"]"}).join("")),n.pseudos&&(a+=n.pseudos.map(function(s){return s.valueType?s.valueType==="selector"?":"+t.escapeIdentifier(s.name)+"("+r(s.value)+")":s.valueType==="substitute"?":"+t.escapeIdentifier(s.name)+"($"+s.value+")":s.valueType==="numeric"?":"+t.escapeIdentifier(s.name)+"("+s.value+")":":"+t.escapeIdentifier(s.name)+"("+t.escapeIdentifier(s.value)+")":":"+t.escapeIdentifier(s.name)}).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return a}e.renderEntity=r;}),vb=U(function(e){Object.defineProperty(e,"__esModule",{value:true});var t=hb(),r=gb(),n=(function(){function a(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=false;}return a.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="selector";}return this},a.prototype.unregisterSelectorPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.pseudos[u]="numeric";}return this},a.prototype.unregisterNumericPseudos=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.pseudos[u];}return this},a.prototype.registerNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.ruleNestingOperators[u]=true;}return this},a.prototype.unregisterNestingOperators=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.ruleNestingOperators[u];}return this},a.prototype.registerAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];this.attrEqualityMods[u]=true;}return this},a.prototype.unregisterAttrEqualityMods=function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];for(var s=0,l=i;s<l.length;s++){var u=l[s];delete this.attrEqualityMods[u];}return this},a.prototype.enableSubstitutes=function(){return this.substitutesEnabled=true,this},a.prototype.disableSubstitutes=function(){return this.substitutesEnabled=false,this},a.prototype.parse=function(i){return t.parseCssSelector(i,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},a.prototype.render=function(i){return r.renderEntity(i).trim()},a})();e.CssSelectorParser=n;}),bb=U(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":fe(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__;}catch{d.globalThis=(function(){if(typeof self<"u")return self;if(typeof d<"u")return d;if(typeof g<"u")return g;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})();}}))(),r.encodeHTMLSource=function(s){var l={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},u=s?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(u,function(m){return l[m]||m}):""}},typeof t<"u"&&t.exports?t.exports=r:typeof define=="function"&&define.amd?define(function(){return r}):globalThis.doT=r;var n={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},a=/$^/;function i(s,l,u){return (typeof l=="string"?l:l.toString()).replace(s.define||a,function(c,m,b,C){return m.indexOf("def.")===0&&(m=m.substring(4)),m in u||(b===":"?(s.defineParams&&C.replace(s.defineParams,function(I,P,V){u[m]={arg:P,text:V};}),m in u||(u[m]=C)):new Function("def","def['"+m+"']="+C)(u)),""}).replace(s.use||a,function(c,m){s.useParams&&(m=m.replace(s.useParams,function(C,I,P,V){if(u[P]&&u[P].arg&&V){var $=(P+":"+V).replace(/'|\\/g,"_");return u.__exp=u.__exp||{},u.__exp[$]=u[P].text.replace(new RegExp("(^|[^\\w$])"+u[P].arg+"([^\\w$])","g"),"$1"+V+"$2"),I+"def.__exp['"+$+"']"}}));var b=new Function("def","return "+m)(u);return b&&i(s,b,u)})}function o(s){return s.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(s,l,u){l=l||r.templateSettings;var c=l.append?n.append:n.split,m,b=0,C,I=l.use||l.define?i(l,s,u||{}):s;I=("var out='"+(l.strip?I.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):I).replace(/'|\\/g,"\\$&").replace(l.interpolate||a,function(P,V){return c.start+o(V)+c.end}).replace(l.encode||a,function(P,V){return m=true,c.startencode+o(V)+c.end}).replace(l.conditional||a,function(P,V,$){return V?$?"';}else if("+o($)+"){out+='":"';}else{out+='":$?"';if("+o($)+"){out+='":"';}out+='"}).replace(l.iterate||a,function(P,V,$,G){return V?(b+=1,C=G||"i"+b,V=o(V),"';var arr"+b+"="+V+";if(arr"+b+"){var "+$+","+C+"=-1,l"+b+"=arr"+b+".length-1;while("+C+"<l"+b+"){"+$+"=arr"+b+"["+C+"+=1];out+='"):"';} } out+='"}).replace(l.evaluate||a,function(P,V){return "';"+o(V)+"out+='"})+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),m&&(!l.selfcontained&&globalThis&&!globalThis._encodeHTML&&(globalThis._encodeHTML=r.encodeHTMLSource(l.doNotSkipEncoded)),I="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(l.doNotSkipEncoded||"")+"));"+I);try{return new Function(l.varname,I)}catch(P){throw typeof console<"u"&&console.log("Could not create a template function: "+I),P}},r.compile=function(s,l){return r.template(s,null,l)};})();}),yb=U(function(e,t){t.exports=function(){};}),yn=U(function(e,t){var r=yb()();t.exports=function(n){return n!==r&&n!==null};}),mc=U(function(e,t){var r=yn(),n=Array.prototype.forEach,a=Object.create,i=function(s,l){var u;for(u in s)l[u]=s[u];};t.exports=function(o){var s=a(null);return n.call(arguments,function(l){r(l)&&i(Object(l),s);}),s};}),wb=U(function(e,t){t.exports=function(){var r=Math.sign;return typeof r!="function"?false:r(10)===1&&r(-20)===-1};}),xb=U(function(e,t){t.exports=function(r){return r=Number(r),isNaN(r)||r===0?r:r>0?1:-1};}),Db=U(function(e,t){t.exports=wb()()?Math.sign:xb();}),Ab=U(function(e,t){var r=Db(),n=Math.abs,a=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*a(n(i)))};}),wn=U(function(e,t){var r=Ab(),n=Math.max;t.exports=function(a){return n(0,r(a))};}),hc=U(function(e,t){var r=wn();t.exports=function(n,a,i){var o;return isNaN(n)?(o=a,o>=0?i&&o?o-1:o:1):n===false?false:r(n)};}),en=U(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r};}),Ln=U(function(e,t){var r=yn();t.exports=function(n){if(!r(n))throw new TypeError("Cannot use null or undefined");return n};}),_b=U(function(e,t){var r=en(),n=Ln(),a=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,s=Object.prototype.propertyIsEnumerable;t.exports=function(l,u){return function(c,m){var b,C=arguments[2],I=arguments[3];return c=Object(n(c)),r(m),b=o(c),I&&b.sort(typeof I=="function"?a.call(I,c):void 0),typeof l!="function"&&(l=b[l]),i.call(l,b,function(P,V){return s.call(c,P)?i.call(m,C,c[P],P,c,V):u})}};}),vi=U(function(e,t){t.exports=_b()("forEach");}),xn=U(function(){}),Eb=U(function(e,t){t.exports=function(){var r=Object.assign,n;return typeof r!="function"?false:(n={foo:"raz"},r(n,{bar:"dwa"},{trzy:"trzy"}),n.foo+n.bar+n.trzy==="razdwatrzy")};}),Cb=U(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return false}};}),Sb=U(function(e,t){var r=yn(),n=Object.keys;t.exports=function(a){return n(r(a)?Object(a):a)};}),kb=U(function(e,t){t.exports=Cb()()?Object.keys:Sb();}),Tb=U(function(e,t){var r=kb(),n=Ln(),a=Math.max;t.exports=function(i,o){var s,l,u=a(arguments.length,2),c;for(i=Object(n(i)),c=function(b){try{i[b]=o[b];}catch(C){s||(s=C);}},l=1;l<u;++l)o=arguments[l],r(o).forEach(c);if(s!==void 0)throw s;return i};}),gc=U(function(e,t){t.exports=Eb()()?Object.assign:Tb();}),Rb=U(function(e,t){var r=yn(),n={function:true,object:true};t.exports=function(a){return r(a)&&n[fe(a)]||false};}),Fb=U(function(e,t){var r=gc(),n=Rb(),a=yn(),i=Error.captureStackTrace;t.exports=function(o){var s=new Error(o),l=arguments[1],u=arguments[2];return a(u)||n(l)&&(u=l,l=null),a(u)&&r(s,u),a(l)&&(s.code=l),i&&i(s,t.exports),s};}),vc=U(function(e,t){var r=Ln(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(s,l){var u,c=Object(r(l));if(s=Object(r(s)),i(c).forEach(function(m){try{n(s,m,a(l,m));}catch(b){u=b;}}),typeof o=="function"&&o(c).forEach(function(m){try{n(s,m,a(l,m));}catch(b){u=b;}}),u!==void 0)throw u;return s};}),bc=U(function(e,t){var r=wn(),n=function(u,c){return c},a,i,o,s;try{Object.defineProperty(n,"length",{configurable:!0,writable:!1,enumerable:!1,value:1});}catch{}n.length===1?(a={configurable:true,writable:false,enumerable:false},i=Object.defineProperty,t.exports=function(l,u){return u=r(u),l.length===u?l:(a.value=u,i(l,"length",a))}):(s=vc(),o=(function(){var l=[];return function(u){var c,m=0;if(l[u])return l[u];for(c=[];u--;)c.push("a"+(++m).toString(36));return new Function("fn","return function ("+c.join(", ")+") { return fn.apply(this, arguments); };")}})(),t.exports=function(l,u){var c;if(u=r(u),l.length===u)return l;c=o(u)(l);try{s(c,l);}catch{}return c});}),yc=U(function(e,t){var r=void 0;t.exports=function(n){return n!==r&&n!==null};}),Ib=U(function(e,t){var r=yc(),n={object:true,function:true,undefined:true};t.exports=function(a){return r(a)?hasOwnProperty.call(n,fe(a)):false};}),Mb=U(function(e,t){var r=Ib();t.exports=function(n){if(!r(n))return false;try{return n.constructor?n.constructor.prototype===n:!1}catch{return false}};}),Lb=U(function(e,t){var r=Mb();t.exports=function(n){if(typeof n!="function"||!hasOwnProperty.call(n,"length"))return false;try{if(typeof n.length!="number"||typeof n.call!="function"||typeof n.apply!="function")return !1}catch{return false}return !r(n)};}),Ob=U(function(e,t){var r=Lb(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(i){return !(!r(i)||n.test(a.call(i)))};}),Pb=U(function(e,t){var r="razdwatrzy";t.exports=function(){return typeof r.contains!="function"?false:r.contains("dwa")===true&&r.contains("foo")===false};}),Nb=U(function(e,t){var r=String.prototype.indexOf;t.exports=function(n){return r.call(this,n,arguments[1])>-1};}),qb=U(function(e,t){t.exports=Pb()()?String.prototype.contains:Nb();}),Dn=U(function(e,t){var r=yc(),n=Ob(),a=gc(),i=mc(),o=qb(),s=t.exports=function(l,u){var c,m,b,C,I;return arguments.length<2||typeof l!="string"?(C=u,u=l,l=null):C=arguments[2],r(l)?(c=o.call(l,"c"),m=o.call(l,"e"),b=o.call(l,"w")):(c=b=true,m=false),I={value:u,configurable:c,enumerable:m,writable:b},C?a(i(C),I):I};s.gs=function(l,u,c){var m,b,C,I;return typeof l!="string"?(C=c,c=u,u=l,l=null):C=arguments[3],r(u)?n(u)?r(c)?n(c)||(C=c,c=void 0):c=void 0:(C=u,u=c=void 0):u=void 0,r(l)?(m=o.call(l,"c"),b=o.call(l,"e")):(m=true,b=false),I={get:u,set:c,configurable:m,enumerable:b},C?a(i(C),I):I};}),Bb=U(function(e,t){var r=Dn(),n=en(),a=Function.prototype.apply,i=Function.prototype.call,o=Object.create,s=Object.defineProperty,l=Object.defineProperties,u=Object.prototype.hasOwnProperty,c={configurable:true,enumerable:false,writable:true},m,b,C,I,P,V,$;m=function(Y,K){var Q;return n(K),u.call(this,"__ee__")?Q=this.__ee__:(Q=c.value=o(null),s(this,"__ee__",c),c.value=null),Q[Y]?fe(Q[Y])==="object"?Q[Y].push(K):Q[Y]=[Q[Y],K]:Q[Y]=K,this},b=function(Y,K){var Q,ae;return n(K),ae=this,m.call(this,Y,Q=function(){C.call(ae,Y,Q),a.call(K,this,arguments);}),Q.__eeOnceListener__=K,this},C=function(Y,K){var Q,ae,le,pe;if(n(K),!u.call(this,"__ee__"))return this;if(Q=this.__ee__,!Q[Y])return this;if(ae=Q[Y],fe(ae)==="object")for(pe=0;le=ae[pe];++pe)(le===K||le.__eeOnceListener__===K)&&(ae.length===2?Q[Y]=ae[pe?0:1]:ae.splice(pe,1));else (ae===K||ae.__eeOnceListener__===K)&&delete Q[Y];return this},I=function(Y){var K,Q,ae,le,pe;if(u.call(this,"__ee__")&&(le=this.__ee__[Y],!!le))if(fe(le)==="object"){for(Q=arguments.length,pe=new Array(Q-1),K=1;K<Q;++K)pe[K-1]=arguments[K];for(le=le.slice(),K=0;ae=le[K];++K)a.call(ae,this,pe);}else switch(arguments.length){case 1:i.call(le,this);break;case 2:i.call(le,this,arguments[1]);break;case 3:i.call(le,this,arguments[1],arguments[2]);break;default:for(Q=arguments.length,pe=new Array(Q-1),K=1;K<Q;++K)pe[K-1]=arguments[K];a.call(le,this,pe);}},P={on:m,once:b,off:C,emit:I},V={on:r(m),once:r(b),off:r(C),emit:r(I)},$=l({},V),t.exports=e=function(Y){return Y==null?o($):l(Object(Y),V)},e.methods=P;}),Hb=U(function(e,t){t.exports=function(){var r=Array.from,n,a;return typeof r!="function"?false:(n=["raz","dwa"],a=r(n),!!(a&&a!==n&&a[1]==="dwa"))};}),Vb=U(function(e,t){t.exports=function(){return (typeof globalThis>"u"?"undefined":fe(globalThis))!=="object"||!globalThis?false:globalThis.Array===Array};}),jb=U(function(e,t){var r=function(){if((typeof self>"u"?"undefined":fe(self))==="object"&&self)return self;if((typeof d>"u"?"undefined":fe(d))==="object"&&d)return d;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__;}})();}),bi=U(function(e,t){t.exports=Vb()()?globalThis:jb();}),$b=U(function(e,t){var r=bi(),n={object:true,symbol:true};t.exports=function(){var a=r.Symbol,i;if(typeof a!="function")return false;i=a("test symbol");try{String(i);}catch{return false}return !(!n[fe(a.iterator)]||!n[fe(a.toPrimitive)]||!n[fe(a.toStringTag)])};}),zb=U(function(e,t){t.exports=function(r){return r?fe(r)==="symbol"?true:!r.constructor||r.constructor.name!=="Symbol"?false:r[r.constructor.toStringTag]==="Symbol":false};}),wc=U(function(e,t){var r=zb();t.exports=function(n){if(!r(n))throw new TypeError(n+" is not a symbol");return n};}),Gb=U(function(e,t){var r=Dn(),n=Object.create,a=Object.defineProperty,i=Object.prototype,o=n(null);t.exports=function(s){for(var l=0,u,c;o[s+(l||"")];)++l;return s+=l||"",o[s]=true,u="@@"+s,a(i,u,r.gs(null,function(m){c||(c=true,a(this,u,r(m)),c=false);})),u};}),Wb=U(function(e,t){var r=Dn(),n=bi().Symbol;t.exports=function(a){return Object.defineProperties(a,{hasInstance:r("",n&&n.hasInstance||a("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||a("isConcatSpreadable")),iterator:r("",n&&n.iterator||a("iterator")),match:r("",n&&n.match||a("match")),replace:r("",n&&n.replace||a("replace")),search:r("",n&&n.search||a("search")),species:r("",n&&n.species||a("species")),split:r("",n&&n.split||a("split")),toPrimitive:r("",n&&n.toPrimitive||a("toPrimitive")),toStringTag:r("",n&&n.toStringTag||a("toStringTag")),unscopables:r("",n&&n.unscopables||a("unscopables"))})};}),Ub=U(function(e,t){var r=Dn(),n=wc(),a=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return a[o]?a[o]:a[o]=i(String(o))}),keyFor:r(function(o){var s;n(o);for(s in a)if(a[s]===o)return s})})};}),Xb=U(function(e,t){var r=Dn(),n=wc(),a=bi().Symbol,i=Gb(),o=Wb(),s=Ub(),l=Object.create,u=Object.defineProperties,c=Object.defineProperty,m,b,C;if(typeof a=="function")try{String(a()),C=!0;}catch{}else a=null;b=function(P){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return m(P)},t.exports=m=function I(P){var V;if(this instanceof I)throw new TypeError("Symbol is not a constructor");return C?a(P):(V=l(b.prototype),P=P===void 0?"":String(P),u(V,{__description__:r("",P),__name__:r("",i(P))}))},o(m),s(m),u(b.prototype,{constructor:r(m),toString:r("",function(){return this.__name__})}),u(m.prototype,{toString:r(function(){return "Symbol ("+n(this).__description__+")"}),valueOf:r(function(){return n(this)})}),c(m.prototype,m.toPrimitive,r("",function(){var I=n(this);return fe(I)==="symbol"?I:I.toString()})),c(m.prototype,m.toStringTag,r("c","Symbol")),c(b.prototype,m.toStringTag,r("c",m.prototype[m.toStringTag])),c(b.prototype,m.toPrimitive,r("c",m.prototype[m.toPrimitive]));}),Yb=U(function(e,t){t.exports=$b()()?bi().Symbol:Xb();}),Kb=U(function(e,t){var r=Object.prototype.toString,n=r.call((function(){return arguments})());t.exports=function(a){return r.call(a)===n};}),Jb=U(function(e,t){var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(a){return typeof a=="function"&&n(r.call(a))};}),Zb=U(function(e,t){var r=Object.prototype.toString,n=r.call("");t.exports=function(a){return typeof a=="string"||a&&fe(a)==="object"&&(a instanceof String||r.call(a)===n)||false};}),Qb=U(function(e,t){var r=Yb().iterator,n=Kb(),a=Jb(),i=wn(),o=en(),s=Ln(),l=yn(),u=Zb(),c=Array.isArray,m=Function.prototype.call,b={configurable:true,enumerable:true,writable:true,value:null},C=Object.defineProperty;t.exports=function(I){var P=arguments[1],V=arguments[2],$,G,Y,K,Q,ae,le,pe,Ce,ue;if(I=Object(s(I)),l(P)&&o(P),!this||this===Array||!a(this)){if(!P){if(n(I))return Q=I.length,Q!==1?Array.apply(null,I):(K=new Array(1),K[0]=I[0],K);if(c(I)){for(K=new Array(Q=I.length),G=0;G<Q;++G)K[G]=I[G];return K}}K=[];}else $=this;if(!c(I)){if((Ce=I[r])!==void 0){for(le=o(Ce).call(I),$&&(K=new $),pe=le.next(),G=0;!pe.done;)ue=P?m.call(P,V,pe.value,G):pe.value,$?(b.value=ue,C(K,G,b)):K[G]=ue,pe=le.next(),++G;Q=G;}else if(u(I)){for(Q=I.length,$&&(K=new $),G=0,Y=0;G<Q;++G)ue=I[G],G+1<Q&&(ae=ue.charCodeAt(0),ae>=55296&&ae<=56319&&(ue+=I[++G])),ue=P?m.call(P,V,ue,Y):ue,$?(b.value=ue,C(K,Y,b)):K[Y]=ue,++Y;Q=Y;}}if(Q===void 0)for(Q=i(I.length),$&&(K=new $(Q)),G=0;G<Q;++G)ue=P?m.call(P,V,I[G],G):I[G],$?(b.value=ue,C(K,G,b)):K[G]=ue;return $&&(b.value=null,K.length=Q),K};}),as=U(function(e,t){t.exports=Hb()()?Array.from:Qb();}),ey=U(function(e,t){var r=as(),n=Array.isArray;t.exports=function(a){return n(a)?a:r(a)};}),ty=U(function(e,t){var r=ey(),n=yn(),a=en(),i=Array.prototype.slice,o;o=function(l){return this.map(function(u,c){return u?u(l[c]):l[c]}).concat(i.call(l,this.length))},t.exports=function(s){return s=r(s),s.forEach(function(l){n(l)&&a(l);}),o.bind(s)};}),ry=U(function(e,t){var r=en();t.exports=function(n){var a;return typeof n=="function"?{set:n,get:n}:(a={get:r(n.get)},n.set!==void 0?(a.set=r(n.set),n.delete&&(a.delete=r(n.delete)),n.clear&&(a.clear=r(n.clear)),a):(a.set=a.get,a))};}),ny=U(function(e,t){var r=Fb(),n=bc(),a=Dn(),i=Bb().methods,o=ty(),s=ry(),l=Function.prototype.apply,u=Function.prototype.call,c=Object.create,m=Object.defineProperties,b=i.on,C=i.emit;t.exports=function(I,P,V){var $=c(null),G,Y,K,Q,ae,le,pe,Ce,ue,ge,xe,Se,qe,We,Me;return P!==false?Y=P:isNaN(I.length)?Y=1:Y=I.length,V.normalizer&&(ge=s(V.normalizer),K=ge.get,Q=ge.set,ae=ge.delete,le=ge.clear),V.resolvers!=null&&(Me=o(V.resolvers)),K?We=n(function($e){var ye,Ne,re=arguments;if(Me&&(re=Me(re)),ye=K(re),ye!==null&&hasOwnProperty.call($,ye))return xe&&G.emit("get",ye,re,this),$[ye];if(re.length===1?Ne=u.call(I,this,re[0]):Ne=l.call(I,this,re),ye===null){if(ye=K(re),ye!==null)throw r("Circular invocation","CIRCULAR_INVOCATION");ye=Q(re);}else if(hasOwnProperty.call($,ye))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[ye]=Ne,Se&&G.emit("set",ye,null,Ne),Ne},Y):P===0?We=function(){var ye;if(hasOwnProperty.call($,"data"))return xe&&G.emit("get","data",arguments,this),$.data;if(arguments.length?ye=l.call(I,this,arguments):ye=u.call(I,this),hasOwnProperty.call($,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return $.data=ye,Se&&G.emit("set","data",null,ye),ye}:We=function(ye){var Ne,re=arguments,Te;if(Me&&(re=Me(arguments)),Te=String(re[0]),hasOwnProperty.call($,Te))return xe&&G.emit("get",Te,re,this),$[Te];if(re.length===1?Ne=u.call(I,this,re[0]):Ne=l.call(I,this,re),hasOwnProperty.call($,Te))throw r("Circular invocation","CIRCULAR_INVOCATION");return $[Te]=Ne,Se&&G.emit("set",Te,null,Ne),Ne},G={original:I,memoized:We,profileName:V.profileName,get:function(ye){return Me&&(ye=Me(ye)),K?K(ye):String(ye[0])},has:function(ye){return hasOwnProperty.call($,ye)},delete:function(ye){var Ne;hasOwnProperty.call($,ye)&&(ae&&ae(ye),Ne=$[ye],delete $[ye],qe&&G.emit("delete",ye,Ne));},clear:function(){var ye=$;le&&le(),$=c(null),G.emit("clear",ye);},on:function(ye,Ne){return ye==="get"?xe=true:ye==="set"?Se=true:ye==="delete"&&(qe=true),b.call(this,ye,Ne)},emit:C,updateEnv:function(){I=G.original;}},K?pe=n(function($e){var ye,Ne=arguments;Me&&(Ne=Me(Ne)),ye=K(Ne),ye!==null&&G.delete(ye);},Y):P===0?pe=function(){return G.delete("data")}:pe=function(ye){return Me&&(ye=Me(arguments)[0]),G.delete(ye)},Ce=n(function(){var $e,ye=arguments;return P===0?$.data:(Me&&(ye=Me(ye)),K?$e=K(ye):$e=String(ye[0]),$[$e])}),ue=n(function(){var $e,ye=arguments;return P===0?G.has("data"):(Me&&(ye=Me(ye)),K?$e=K(ye):$e=String(ye[0]),$e===null?false:G.has($e))}),m(We,{__memoized__:a(true),delete:a(pe),clear:a(G.clear),_get:a(Ce),_has:a(ue)}),G};}),ay=U(function(e,t){var r=en(),n=vi(),a=xn(),i=ny(),o=hc();t.exports=function s(l){var u,c,m;if(r(l),u=Object(arguments[1]),u.async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(l,"__memoized__")&&!u.force?l:(c=o(u.length,l.length,u.async&&a.async),m=i(l,c,u),n(a,function(b,C){u[C]&&b(u[C],m,u);}),s.__profiler__&&s.__profiler__(m),m.updateEnv(),m.memoized)};}),iy=U(function(e,t){t.exports=function(r){var n,a,i=r.length;if(!i)return "";for(n=String(r[a=0]);--i;)n+=""+r[++a];return n};}),oy=U(function(e,t){t.exports=function(r){return r?function(n){for(var a=String(n[0]),i=0,o=r;--o;)a+=""+n[++i];return a}:function(){return ""}};}),sy=U(function(e,t){t.exports=function(){var r=Number.isNaN;return typeof r!="function"?false:!r({})&&r(NaN)&&!r(34)};}),ly=U(function(e,t){t.exports=function(r){return r!==r};}),uy=U(function(e,t){t.exports=sy()()?Number.isNaN:ly();}),is=U(function(e,t){var r=uy(),n=wn(),a=Ln(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,s=Math.abs,l=Math.floor;t.exports=function(u){var c,m,b,C;if(!r(u))return i.apply(this,arguments);for(m=n(a(this).length),b=arguments[1],isNaN(b)?b=0:b>=0?b=l(b):b=n(this.length)-l(s(b)),c=b;c<m;++c)if(o.call(this,c)&&(C=this[c],r(C)))return c;return -1};}),cy=U(function(e,t){var r=is(),n=Object.create;t.exports=function(){var a=0,i=[],o=n(null);return {get:function(l){var u=0,c=i,m,b=l.length;if(b===0)return c[b]||null;if(c=c[b]){for(;u<b-1;){if(m=r.call(c[0],l[u]),m===-1)return null;c=c[1][m],++u;}return m=r.call(c[0],l[u]),m===-1?null:c[1][m]||null}return null},set:function(l){var u=0,c=i,m,b=l.length;if(b===0)c[b]=++a;else {for(c[b]||(c[b]=[[],[]]),c=c[b];u<b-1;)m=r.call(c[0],l[u]),m===-1&&(m=c[0].push(l[u])-1,c[1].push([[],[]])),c=c[1][m],++u;m=r.call(c[0],l[u]),m===-1&&(m=c[0].push(l[u])-1),c[1][m]=++a;}return o[a]=l,a},delete:function(l){var u=0,c=i,m,b=o[l],C=b.length,I=[];if(C===0)delete c[C];else if(c=c[C]){for(;u<C-1;){if(m=r.call(c[0],b[u]),m===-1)return;I.push(c,m),c=c[1][m],++u;}if(m=r.call(c[0],b[u]),m===-1)return;for(l=c[1][m],c[0].splice(m,1),c[1].splice(m,1);!c[0].length&&I.length;)m=I.pop(),c=I.pop(),c[0].splice(m,1),c[1].splice(m,1);}delete o[l];},clear:function(){i=[],o=n(null);}}};}),dy=U(function(e,t){var r=is();t.exports=function(){var n=0,a=[],i=[];return {get:function(s){var l=r.call(a,s[0]);return l===-1?null:i[l]},set:function(s){return a.push(s[0]),i.push(++n),n},delete:function(s){var l=r.call(i,s);l!==-1&&(a.splice(l,1),i.splice(l,1));},clear:function(){a=[],i=[];}}};}),fy=U(function(e,t){var r=is(),n=Object.create;t.exports=function(a){var i=0,o=[[],[]],s=n(null);return {get:function(u){for(var c=0,m=o,b;c<a-1;){if(b=r.call(m[0],u[c]),b===-1)return null;m=m[1][b],++c;}return b=r.call(m[0],u[c]),b===-1?null:m[1][b]||null},set:function(u){for(var c=0,m=o,b;c<a-1;)b=r.call(m[0],u[c]),b===-1&&(b=m[0].push(u[c])-1,m[1].push([[],[]])),m=m[1][b],++c;return b=r.call(m[0],u[c]),b===-1&&(b=m[0].push(u[c])-1),m[1][b]=++i,s[i]=u,i},delete:function(u){for(var c=0,m=o,b,C=[],I=s[u];c<a-1;){if(b=r.call(m[0],I[c]),b===-1)return;C.push(m,b),m=m[1][b],++c;}if(b=r.call(m[0],I[c]),b!==-1){for(u=m[1][b],m[0].splice(b,1),m[1].splice(b,1);!m[0].length&&C.length;)b=C.pop(),m=C.pop(),m[0].splice(b,1),m[1].splice(b,1);delete s[u];}},clear:function(){o=[[],[]],s=n(null);}}};}),xc=U(function(e,t){var r=en(),n=vi(),a=Function.prototype.call;t.exports=function(i,o){var s={},l=arguments[2];return r(o),n(i,function(u,c,m,b){s[c]=a.call(o,l,u,c,m,b);}),s};}),os=U(function(e,t){var r=function(i){if(typeof i!="function")throw new TypeError(i+" is not a function");return i},n=function(i){var o=h.createTextNode(""),s,l,u=0;return new i(function(){var c;if(s)l&&(s=l.concat(s));else {if(!l)return;s=l;}if(l=s,s=null,typeof l=="function"){c=l,l=null,c();return}for(o.data=u=++u%2;l;)c=l.shift(),l.length||(l=null),c();}).observe(o,{characterData:true}),function(c){if(r(c),s){typeof s=="function"?s=[s,c]:s.push(c);return}s=c,o.data=u=++u%2;}};t.exports=(function(){if((typeof process>"u"?"undefined":fe(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(a){queueMicrotask(r(a));};if((typeof h>"u"?"undefined":fe(h))==="object"&&h){if(typeof MutationObserver=="function")return n(MutationObserver);if(typeof WebKitMutationObserver=="function")return n(WebKitMutationObserver)}return typeof setImmediate=="function"?function(a){setImmediate(r(a));}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":fe(setTimeout))==="object"?function(a){setTimeout(r(a),0);}:null})();}),py=U(function(){var e=as(),t=xc(),r=vc(),n=bc(),a=os(),i=Array.prototype.slice,o=Function.prototype.apply,s=Object.create;xn().async=function(l,u){var c=s(null),m=s(null),b=u.memoized,C=u.original,I,P,V;u.memoized=n(function($){var G=arguments,Y=G[G.length-1];return typeof Y=="function"&&(I=Y,G=i.call(G,0,-1)),b.apply(P=this,V=G)},b);try{r(u.memoized,b);}catch{}u.on("get",function($){var G,Y,K;if(I){if(c[$]){typeof c[$]=="function"?c[$]=[c[$],I]:c[$].push(I),I=null;return}G=I,Y=P,K=V,I=P=V=null,a(function(){var Q;hasOwnProperty.call(m,$)?(Q=m[$],u.emit("getasync",$,K,Y),o.call(G,Q.context,Q.args)):(I=G,P=Y,V=K,b.apply(Y,K));});}}),u.original=function(){var $,G,Y,K;return I?($=e(arguments),G=function Q(ae){var le,pe,Ce=Q.id;if(Ce==null){a(o.bind(Q,this,arguments));return}if(delete Q.id,le=c[Ce],delete c[Ce],!!le)return pe=e(arguments),u.has(Ce)&&(ae?u.delete(Ce):(m[Ce]={context:this,args:pe},u.emit("setasync",Ce,typeof le=="function"?1:le.length))),typeof le=="function"?K=o.call(le,this,pe):le.forEach(function(ue){K=o.call(ue,this,pe);},this),K},Y=I,I=P=V=null,$.push(G),K=o.call(C,this,$),G.cb=Y,I=G,K):o.call(C,this,arguments)},u.on("set",function($){if(!I){u.delete($);return}c[$]?typeof c[$]=="function"?c[$]=[c[$],I.cb]:c[$].push(I.cb):c[$]=I.cb,delete I.cb,I.id=$,I=null;}),u.on("delete",function($){var G;hasOwnProperty.call(c,$)||m[$]&&(G=m[$],delete m[$],u.emit("deleteasync",$,i.call(G.args,1)));}),u.on("clear",function(){var $=m;m=s(null),u.emit("clearasync",t($,function(G){return i.call(G.args,1)}));});};}),my=U(function(e,t){var r=Array.prototype.forEach,n=Object.create;t.exports=function(a){var i=n(null);return r.call(arguments,function(o){i[o]=true;}),i};}),Dc=U(function(e,t){t.exports=function(r){return typeof r=="function"};}),hy=U(function(e,t){var r=Dc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{throw new TypeError("Passed argument cannot be stringifed")}};}),gy=U(function(e,t){var r=Ln(),n=hy();t.exports=function(a){return n(r(a))};}),vy=U(function(e,t){var r=Dc();t.exports=function(n){try{return n&&r(n.toString)?n.toString():String(n)}catch{return "<Non-coercible to string value>"}};}),by=U(function(e,t){var r=vy(),n=/[\n\r\u2028\u2029]/g;t.exports=function(a){var i=r(a);return i.length>100&&(i=i.slice(0,99)+"\u2026"),i=i.replace(n,function(o){return JSON.stringify(o).slice(1,-1)}),i};}),Ac=U(function(e,t){t.exports=r,t.exports.default=r;function r(n){return !!n&&(fe(n)==="object"||typeof n=="function")&&typeof n.then=="function"}}),yy=U(function(){var e=xc(),t=my(),r=gy(),n=by(),a=Ac(),i=os(),o=Object.create,s=t("then","then:finally","done","done:finally");xn().promise=function(l,u){var c=o(null),m=o(null),b=o(null);if(l===true)l=null;else if(l=r(l),!s[l])throw new TypeError("'"+n(l)+"' is not valid promise mode");u.on("set",function(C,I,P){var V=false;if(!a(P)){m[C]=P,u.emit("setasync",C,1);return}c[C]=1,b[C]=P;var $=function(ae){var le=c[C];if(V)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)
422
+ Consider to rely on 'then' or 'done' mode instead.`);le&&(delete c[C],m[C]=ae,u.emit("setasync",C,le));},G=function(){V=true,c[C]&&(delete c[C],delete b[C],u.delete(C));},Y=l;if(Y||(Y="then"),Y==="then"){var K=function(){i(G);};P=P.then(function(Q){i($.bind(this,Q));},K),typeof P.finally=="function"&&P.finally(K);}else if(Y==="done"){if(typeof P.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");P.done($,G);}else if(Y==="done:finally"){if(typeof P.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof P.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");P.done($),P.finally(G);}}),u.on("get",function(C,I,P){var V;if(c[C]){++c[C];return}V=b[C];var $=function(){u.emit("getasync",C,I,P);};a(V)?typeof V.done=="function"?V.done($):V.then(function(){i($);}):$();}),u.on("delete",function(C){if(delete b[C],c[C]){delete c[C];return}if(hasOwnProperty.call(m,C)){var I=m[C];delete m[C],u.emit("deleteasync",C,[I]);}}),u.on("clear",function(){var C=m;m=o(null),c=o(null),b=o(null),u.emit("clearasync",e(C,function(I){return [I]}));});};}),wy=U(function(){var e=en(),t=vi(),r=xn(),n=Function.prototype.apply;r.dispose=function(a,i,o){var s;if(e(a),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",s=function(u,c){n.call(a,null,c);}),i.on("clearasync",function(l){t(l,function(u,c){s(c,u);});});return}i.on("delete",s=function(u,c){a(c);}),i.on("clear",function(l){t(l,function(u,c){s(c,u);});});};}),xy=U(function(e,t){t.exports=2147483647;}),Dy=U(function(e,t){var r=wn(),n=xy();t.exports=function(a){if(a=r(a),a>n)throw new TypeError(a+" exceeds maximum possible timeout");return a};}),Ay=U(function(){var e=as(),t=vi(),r=os(),n=Ac(),a=Dy(),i=xn(),o=Function.prototype,s=Math.max,l=Math.min,u=Object.create;i.maxAge=function(c,m,b){var C,I,P,V;c=a(c),c&&(C=u(null),I=b.async&&i.async||b.promise&&i.promise?"async":"",m.on("set"+I,function($){C[$]=setTimeout(function(){m.delete($);},c),typeof C[$].unref=="function"&&C[$].unref(),V&&(V[$]&&V[$]!=="nextTick"&&clearTimeout(V[$]),V[$]=setTimeout(function(){delete V[$];},P),typeof V[$].unref=="function"&&V[$].unref());}),m.on("delete"+I,function($){clearTimeout(C[$]),delete C[$],V&&(V[$]!=="nextTick"&&clearTimeout(V[$]),delete V[$]);}),b.preFetch&&(b.preFetch===true||isNaN(b.preFetch)?P=.333:P=s(l(Number(b.preFetch),1),0),P&&(V={},P=(1-P)*c,m.on("get"+I,function($,G,Y){V[$]||(V[$]="nextTick",r(function(){var K;V[$]==="nextTick"&&(delete V[$],m.delete($),b.async&&(G=e(G),G.push(o)),K=m.memoized.apply(Y,G),b.promise&&n(K)&&(typeof K.done=="function"?K.done(o,o):K.then(o,o)));}));}))),m.on("clear"+I,function(){t(C,function($){clearTimeout($);}),C={},V&&(t(V,function($){$!=="nextTick"&&clearTimeout($);}),V={});}));};}),_y=U(function(e,t){var r=wn(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,s=1,l=n(null),u=n(null),c=0,m;return i=r(i),{hit:function(C){var I=u[C],P=++c;if(l[P]=C,u[C]=P,!I)return ++o,o<=i?void 0:(C=l[s],m(C),C);if(delete l[I],s===I)for(;!a.call(l,++s););},delete:m=function(C){var I=u[C];if(I&&(delete l[I],delete u[C],--o,s===I)){if(!o){c=0,s=1;return}for(;!a.call(l,++s););}},clear:function(){o=0,s=1,l=n(null),u=n(null),c=0;}}};}),Ey=U(function(){var e=wn(),t=_y(),r=xn();r.max=function(n,a,i){var o,s,l;n=e(n),n&&(s=t(n),o=i.async&&r.async||i.promise&&r.promise?"async":"",a.on("set"+o,l=function(c){c=s.hit(c),c!==void 0&&a.delete(c);}),a.on("get"+o,l),a.on("delete"+o,s.delete),a.on("clear"+o,s.clear));};}),Cy=U(function(){var e=Dn(),t=xn(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,i,o){var s,l;s=r(null),l=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+l,function(u,c){s[u]=c||1;}),i.on("get"+l,function(u){++s[u];}),i.on("delete"+l,function(u){delete s[u];}),i.on("clear"+l,function(){s={};}),n(i.memoized,{deleteRef:e(function(){var u=i.get(arguments);return u===null||!s[u]?null:--s[u]?false:(i.delete(u),true)}),getRefCount:e(function(){var u=i.get(arguments);return u===null||!s[u]?0:s[u]})});};}),Sy=U(function(e,t){var r=mc(),n=hc(),a=ay();t.exports=function(i){var o=r(arguments[1]),s;return o.normalizer||(s=o.length=n(o.length,i.length,o.async),s!==0&&(o.primitive?s===false?o.normalizer=iy():s>1&&(o.normalizer=oy()(s)):s===false?o.normalizer=cy()():s===1?o.normalizer=dy()():o.normalizer=fy()(s))),o.async&&py(),o.promise&&yy(),o.dispose&&wy(),o.maxAge&&Ay(),o.max&&Ey(),o.refCounter&&Cy(),a(i,o)};}),ky=[{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"])};ky.forEach(function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;Dr[t]=r,Dr[t+"_PRIO"]=n,Dr[t+"_GROUP"]=a,Dr.results[n]=r,Dr.resultGroups[n]=a,Dr.resultGroupMap[r]=a;}),Object.freeze(Dr.results),Object.freeze(Dr.resultGroups),Object.freeze(Dr.resultGroupMap),Object.freeze(Dr);var Ke=Dr;function Ty(){(typeof console>"u"?"undefined":fe(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments);}var An=Ty,Ry=/[\t\r\n\f]/g,Fy=(function(){function e(){_t(this,e),this.parent=void 0;}return lt(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var n=this.attr("class");if(!n)return false;var a=" "+r+" ";return (" "+n+" ").replace(Ry," ").indexOf(a)>=0}}])})(),Vt=Fy,ss={};yr(ss,{DqElement:function(){return mr},RuleError:function(){return _o},aggregate:function(){return yi},aggregateChecks:function(){return Cc},aggregateNodeResults:function(){return Sc},aggregateResult:function(){return kc},areStylesSet:function(){return qy},assert:function(){return ut},checkHelper:function(){return Os},clone:function(){return Wr},closest:function(){return ir},collectResultsFromFrames:function(){return bf},contains:function(){return Ur},convertSelector:function(){return Vi},cssParser:function(){return Jd},deepMerge:function(){return Xs},escapeSelector:function(){return Rt},extendMetaData:function(){return Ys},filterHtmlAttrs:function(){return Mm},finalizeRuleResult:function(){return fa},findBy:function(){return Fa},getAllChecks:function(){return Wi},getAncestry:function(){return Hi},getBaseLang:function(){return Fn},getCheckMessage:function(){return n2},getCheckOption:function(){return bo},getElementSource:function(){return Yd},getEnvironmentData:function(){return pn},getFlattenedTree:function(){return Nl},getFrameContexts:function(){return w2},getFriendlyUriEnd:function(){return Fc},getNodeAttributes:function(){return ha},getNodeFromTree:function(){return Ze},getPreloadConfig:function(){return Tm},getRootNode:function(){return Ia},getRule:function(){return pm},getScroll:function(){return Kr},getScrollState:function(){return A2},getSelector:function(){return Ms},getSelectorData:function(){return Bi},getShadowSelector:function(){return Rs},getStandards:function(){return _2},getStyleSheetFactory:function(){return gm},getXpath:function(){return Xd},injectStyle:function(){return S2},isArrayLike:function(){return jl},isContextObject:function(){return $l},isContextProp:function(){return wo},isContextSpec:function(){return vm},isHidden:function(){return k2},isHtmlElement:function(){return Gl},isLabelledFramesSelector:function(){return zl},isLabelledShadowDomSelector:function(){return xo},isNodeInContext:function(){return Wl},isShadowRoot:function(){return Xi},isValidLang:function(){return Co},isXHTML:function(){return _a},matchAncestry:function(){return Ul},matches:function(){return Ns},matchesExpression:function(){return qn},matchesSelector:function(){return On},memoize:function(){return wt},mergeResults:function(){return Ui},nodeLookup:function(){return ot},nodeSerializer:function(){return hr},nodeSorter:function(){return Xl},objectHasOwn:function(){return Pr},parseCrossOriginStylesheet:function(){return Kl},parseSameOriginStylesheet:function(){return wm},parseStylesheet:function(){return Yl},parseTabindex:function(){return Nr},performanceTimer:function(){return ft},pollyfillElementsFromPoint:function(){return xm},preload:function(){return Sm},preloadCssom:function(){return Am},preloadMedia:function(){return Cm},processMessage:function(){return Vl},publishMetaData:function(){return Do},querySelectorAll:function(){return ur},querySelectorAllFilter:function(){return qr},queue:function(){return Ir},respondable:function(){return Er},ruleShouldRun:function(){return Im},select:function(){return Jl},sendCommandToFrame:function(){return mf},serializeError:function(){return Ao},setScrollState:function(){return sE},shadowSelect:function(){return lE},shadowSelectAll:function(){return Zl},shouldPreload:function(){return km},toArray:function(){return Rc},tokenList:function(){return Kt},uniqueArray:function(){return Ua},uuid:function(){return fx},validInputTypes:function(){return Eo},validLangs:function(){return qm}});function Iy(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map(function(a){return e.indexOf(a)}).sort();return e[n.pop()]}var yi=Iy,My=Ke.CANTTELL_PRIO,Ly=Ke.FAIL_PRIO,wi=[];wi[Ke.PASS_PRIO]=true,wi[Ke.CANTTELL_PRIO]=null,wi[Ke.FAIL_PRIO]=false;var _c=["any","all","none"];function Ec(e,t){return _c.reduce(function(r,n){return r[n]=(e[n]||[]).map(function(a){return t(a,n)}),r},{})}function Oy(e){var t=Object.assign({},e);Ec(t,function(a,i){var o=typeof a.result>"u"?-1:wi.indexOf(a.result);a.priority=o!==-1?o:Ke.CANTTELL_PRIO,i==="none"&&(a.priority===Ke.PASS_PRIO?a.priority=Ke.FAIL_PRIO:a.priority===Ke.FAIL_PRIO&&(a.priority=Ke.PASS_PRIO));});var r={all:t.all.reduce(function(a,i){return Math.max(a,i.priority)},0),none:t.none.reduce(function(a,i){return Math.max(a,i.priority)},0),any:t.any.reduce(function(a,i){return Math.min(a,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return _c.forEach(function(a){t[a]=t[a].filter(function(i){return i.priority===t.priority&&i.priority===r[a]}),t[a].forEach(function(i){return n.push(i.impact)});}),[My,Ly].includes(t.priority)?t.impact=yi(Ke.impact,n):t.impact=null,Ec(t,function(a){delete a.result,delete a.priority;}),t.result=Ke.results[t.priority],delete t.priority,t}var Cc=Oy;function fa(e){var t=p._audit.rules.find(function(r){var n=r.id;return n===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(n){(r[n]||[]).forEach(function(a){a.impact=t.impact;});});}),Object.assign(e,Sc(e.nodes)),delete e.nodes,e}function Py(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return Cc(i);if(Array.isArray(i.node))return fa(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=yi(Ke.results,r,t.result);}else t.result="inapplicable";Ke.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=Ke.resultGroupMap[i.result];t[o].push(i);});var n=Ke.FAIL_GROUP;if(t[n].length===0&&(n=Ke.CANTTELL_GROUP),t[n].length>0){var a=t[n].map(function(i){return i.impact});t.impact=yi(Ke.impact,a)||null;}else t.impact=null;return t}var Sc=Py;function ls(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Ke.resultGroups.forEach(function(a){delete n[a];}),e[r].push(n);}function Ny(e){var t={};return Ke.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?ls(t,r,Ke.CANTTELL_GROUP):r.result===Ke.NA?ls(t,r,Ke.NA_GROUP):Ke.resultGroups.forEach(function(n){Array.isArray(r[n])&&r[n].length>0&&ls(t,r,n);});}),t}var kc=Ny;function Tc(e,t,r){var n=d.getComputedStyle(e,null);if(!n)return false;for(var a=0;a<t.length;++a){var i=t[a];if(n.getPropertyValue(i.property)===i.value)return true}return !e.parentNode||e.nodeName.toUpperCase()===r.toUpperCase()?false:Tc(e.parentNode,t,r)}var qy=Tc;function By(e,t){if(!e)throw new Error(t)}var ut=By;function Hy(e){return Array.prototype.slice.call(e)}var Rc=Hy;function Vy(e){for(var t=String(e),r=t.length,n=-1,a,i="",o=t.charCodeAt(0);++n<r;){if(a=t.charCodeAt(n),a==0){i+="\uFFFD";continue}if(a>=1&&a<=31||a==127||n==0&&a>=48&&a<=57||n==1&&a>=48&&a<=57&&o==45){i+="\\"+a.toString(16)+" ";continue}if(n==0&&r==1&&a==45){i+="\\"+t.charAt(n);continue}if(a>=128||a==45||a==95||a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122){i+=t.charAt(n);continue}i+="\\"+t.charAt(n);}return i}var Rt=Vy;function jy(){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 pa(e,t){return [e.substring(0,t),e.substring(t)]}function ma(e){return e.replace(/\s+$/,"")}function $y(e){var t=e,r="",n="",a="",i="",o="",s="";if(e.includes("#")){var l=pa(e,e.indexOf("#")),u=Ae(l,2);e=u[0],s=u[1];}if(e.includes("?")){var c=pa(e,e.indexOf("?")),m=Ae(c,2);e=m[0],o=m[1];}if(e.includes("://")){var b=e.split("://"),C=Ae(b,2);r=C[0],e=C[1];var I=pa(e,e.indexOf("/")),P=Ae(I,2);n=P[0],e=P[1];}else if(e.substr(0,2)==="//"){e=e.substr(2);var V=pa(e,e.indexOf("/")),$=Ae(V,2);n=$[0],e=$[1];}if(n.substr(0,4)==="www."&&(n=n.substr(4)),n&&n.includes(":")){var G=pa(n,n.indexOf(":")),Y=Ae(G,2);n=Y[0],a=Y[1];}return i=e,{original:t,protocol:r,domain:n,port:a,path:i,query:o,hash:s}}function zy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=n===void 0?25:n,i=$y(e),o=i.path,s=i.domain,l=i.hash,u=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(l)return u&&(u+l).length<=a?ma(u+l):u.length<2&&l.length>2&&l.length<=a?ma(l):void 0;if(s&&s.length<a&&o.length<=1||o==="/"+u&&s&&r&&s!==r&&(s+o).length<=a)return ma(s+o);var c=u.lastIndexOf(".");if((c===-1||c>1)&&(c!==-1||u.length>2)&&u.length<=a&&!u.match(/index(\.[a-zA-Z]{2-4})?/)&&!jy(u))return ma(u)}}var Fc=zy;function Gy(e){return e.attributes instanceof d.NamedNodeMap?e.attributes:e.cloneNode(false).attributes}var ha=Gy,Wy=(function(){var e;function t(r){var n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length,i,o;for(i=0;i<a;i++)if(o=n[i],r[o])return o}return function(r,n){return (!e||!r[e])&&(e=t(r)),r[e]?r[e](n):false}})(),On=Wy,Ic={};yr(Ic,{ArrayFrom:function(){return jd.default},Colorjs:function(){return gt},CssSelectorParser:function(){return Mc.CssSelectorParser},doT:function(){return tn.default},emojiRegexText:function(){return us},memoize:function(){return Lc.default}});var Uy=Tr(fv()),Xy=Tr(pv());Tr(mv());var Yy=Tr(kv()),Ky=Tr(Bv()),Jy=Tr(fc());"hasOwn"in Object||(Object.hasOwn=Yy.default),"values"in Object||(Object.values=Ky.default),"Promise"in d||Uy.default.polyfill(),"Uint32Array"in d||(d.Uint32Array=Xy.Uint32Array),d.Uint32Array&&("some"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in d.Uint32Array.prototype||Object.defineProperty(d.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(n!=null)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);}return t};})(),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var r=Object(this),n=r.length>>>0,a=arguments[1],i,o=0;o<n;o++)if(i=r[o],t.call(a,i,o,r))return i}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t,r){if(this===null)throw new TypeError("Array.prototype.find called on null or undefined");if(typeof t!="function")throw new TypeError("predicate must be a function");for(var n=Object(this),a=n.length>>>0,i,o=0;o<a;o++)if(i=n[o],t.call(r,i,o,n))return o;return -1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t){var r=Object(this),n=parseInt(r.length,10)||0;if(n===0)return false;var a=parseInt(arguments[1],10)||0,i;a>=0?i=a:(i=n+a,i<0&&(i=0));for(var o;i<n;){if(o=r[i],t===o||t!==t&&o!==o)return true;i++;}return false}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(t){if(this==null)throw new TypeError("Array.prototype.some called on null or undefined");if(typeof t!="function")throw new TypeError;for(var r=Object(this),n=r.length>>>0,a=arguments.length>=2?arguments[1]:void 0,i=0;i<n;i++)if(i in r&&t.call(a,r[i],i,r))return true;return false}}),Array.from||(Array.from=Jy.default),String.prototype.includes||(String.prototype.includes=function(e,t){return typeof t!="number"&&(t=0),t+e.length>this.length?false:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:true,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r},[]):Array.prototype.slice.call(this)},writable:true}),d.Node&&!("isConnected"in d.Node.prototype)&&Object.defineProperty(d.Node.prototype,"isConnected",{get:function(){return !this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Mc=Tr(vb()),tn=Tr(bb()),us=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},Lc=Tr(Sy());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 n=t[0].length,a=t[0].map(function(o,s){return t.map(function(l){return l[s]})}),i=e.map(function(o){return a.map(function(s){var l=0;if(!Array.isArray(o)){var u=it(s),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;l+=o*m;}}catch(C){u.e(C);}finally{u.f();}return l}for(var b=0;b<o.length;b++)l+=o[b]*(s[b]||0);return l})});return r===1&&(i=i[0]),n===1?i.map(function(o){return o[0]}):i}function ga(e){return rn(e)==="string"}function rn(e){var t=Object.prototype.toString.call(e);return (t.match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function xi(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return +e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Oc(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,n=e.match(t);if(n){var a=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type="<percentage>"):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="<angle>",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type="<number>"),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=true),a.push(o);}),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:a}}}}function Pc(e){return e[e.length-1]}function Di(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Nc(e,t,r){return (r-e)/(t-e)}function cs(e,t,r){return Di(t[0],t[1],Nc(e[0],e[1],r))}function qc(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var n=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(n){var a=new String(n[1]);return a.range=[+n[2],+n[3]],a}return r})})}var Zy=Object.freeze({__proto__:null,isString:ga,type:rn,toPrecision:xi,parseFunction:Oc,last:Pc,interpolate:Di,interpolateInv:Nc,mapRange:cs,parseCoordGrammar:qc,multiplyMatrices:Lt}),Qy=(function(){function e(){_t(this,e);}return lt(e,[{key:"add",value:function(r,n,a){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],n&&this[i][a?"unshift":"push"](n);},this);}},{key:"run",value:function(r,n){this[r]=this[r]||[],this[r].forEach(function(a){a.call(n&&n.context?n.context:n,n);});}}])})(),nn=new Qy,Fr={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Ar={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function ds(e){return Array.isArray(e)?e:Ar[e]}function Ai(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=ds(e),t=ds(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(nn.run("chromatic-adaptation-start",a),a.M||(a.W1===Ar.D65&&a.W2===Ar.D50?a.M=[[1.0479298208405488,.022946793341019088,-0.05019222954313557],[.029627815688159344,.990434484573249,-0.01707382502938514],[-0.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Ar.D50&&a.W2===Ar.D65&&(a.M=[[.9554734527042182,-0.023098536874261423,.0632593086610217],[-0.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-0.020507696433477912,1.3303659366080753]])),nn.run("chromatic-adaptation-end",a),a.M)return Lt(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var e0=75e-6,_r=(ne=new WeakSet,se=new WeakMap,(function(){function e(t){var r,n,a,i,o,s,l;_t(this,e),br(this,ne),Mt(this,se,void 0),this.id=t.id,this.name=t.name,this.base=t.base?_r.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var u=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=u;var c=(n=(a=t.white)!==null&&a!==void 0?a:this.base.white)!==null&&n!==void 0?n:"D65";this.white=ds(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var m in this.formats){var b=this.formats[m];b.type||(b.type="function"),b.name||(b.name=m);}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(s=this.formats)!==null&&s!==void 0&&s.color&&!((l=this.formats)!==null&&l!==void 0&&l.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,Tt(se,this,tr(ne,this,t0).call(this).reverse()),nn.run("colorspace-init-end",this);}return lt(e,[{key:"inGamut",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.epsilon,i=a===void 0?e0:a;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(s,l){var u=o[l];if(u.type!=="angle"&&u.range){if(Number.isNaN(s))return true;var c=Ae(u.range,2),m=c[0],b=c[1];return (m===void 0||s>=m-i)&&(b===void 0||s<=b+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(fe(r)==="object")return r=tr(ne,this,Bc).call(this,r),r;var n;return r==="default"?n=Object.values(this.formats)[0]:n=this.formats[r],n?(n=tr(ne,this,Bc).call(this,n),n):null}},{key:"to",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}if(r=_r.get(r),this===r)return n;n=n.map(function(b){return Number.isNaN(b)?0:b});for(var i=Gt(se,this),o=Gt(se,r),s,l,u=0;u<i.length&&i[u]===o[u];u++)s=i[u],l=u;if(!s)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(r,": no connection space was found"));for(var c=i.length-1;c>l;c--)n=i[c].toBase(n);for(var m=l+1;m<o.length;m++)n=o[m].fromBase(n);return n}},{key:"from",value:function(r,n){if(arguments.length===1){var a=[r.space,r.coords];r=a[0],n=a[1];}return r=_r.get(r),r.to(this,n)}},{key:"toString",value:function(){return "".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var r=[];for(var n in this.coords){var a,i=this.coords[n],o=i.range||i.refRange;r.push((a=o?.min)!==null&&a!==void 0?a:0);}return r}}],[{key:"all",get:function(){return Ee(new Set(Object.values(_r.registry)))}},{key:"register",value:function(r,n){if(arguments.length===1&&(n=arguments[0],r=n.id),n=this.get(n),this.registry[r]&&this.registry[r]!==n)throw new Error("Duplicate color space registration: '".concat(r,"'"));if(this.registry[r]=n,arguments.length===1&&n.aliases){var a=it(n.aliases),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;this.register(o,n);}}catch(s){a.e(s);}finally{a.f();}}return n}},{key:"get",value:function(r){if(!r||r instanceof _r)return r;var n=rn(r);if(n==="string"){var a=_r.registry[r.toLowerCase()];if(!a)throw new TypeError('No color space found with id = "'.concat(r,'"'));return a}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(o.length)return _r.get.apply(_r,o);throw new TypeError("".concat(r," is not a valid color space"))}},{key:"resolveCoord",value:function(r,n){var a=rn(r),i,o;if(a==="string")if(r.includes(".")){var s=r.split("."),l=Ae(s,2);i=l[0],o=l[1];}else i=void 0,o=r;else if(Array.isArray(r)){var u=Ae(r,2);i=u[0],o=u[1];}else i=r.space,o=r.coordId;if(i=_r.get(i),i||(i=n),!i)throw new TypeError("Cannot resolve coordinate reference ".concat(r,": No color space specified and relative references are not allowed here"));if(a=rn(o),a==="number"||a==="string"&&o>=0){var c=Object.entries(i.coords)[o];if(c)return _e({space:i,id:c[0],index:o},c[1])}i=_r.get(i);var m=o.toLowerCase(),b=0;for(var C in i.coords){var I,P=i.coords[C];if(C.toLowerCase()===m||((I=P.name)===null||I===void 0?void 0:I.toLowerCase())===m)return _e({space:i,id:C,index:b},P);b++;}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])})());function Bc(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=qc(e.coords);var t=Object.entries(this.coords).map(function(r,n){var a=Ae(r,2);a[0];var o=a[1],s=e.coordGrammar[n][0],l=o.range||o.refRange,u=s.range,c="";return s=="<percentage>"?(u=[0,100],c="%"):s=="<angle>"&&(c="deg"),{fromRange:l,toRange:u,suffix:c}});e.serializeCoords=function(r,n){return r.map(function(a,i){var o=t[i],s=o.fromRange,l=o.toRange,u=o.suffix;return s&&l&&(a=cs(s,l,a)),a=xi(a,n),u&&(a+=u),a})};}return e}function t0(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var je=_r;$u(je,"registry",{}),$u(je,"DEFAULT_FORMAT",{type:"functions",name:"color"});var dr=new je({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"]}),Qt=(function(e){function t(r){var n,a;if(_t(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=dr),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(s){var l=Lt(r.toXYZ_M,s);return a.white!==a.base.white&&(l=Ai(a.white,a.base.white,l)),l}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(s){return s=Ai(a.base.white,a.white,s),Lt(r.fromXYZ_M,s)});}return (n=r.referred)!==null&&n!==void 0||(r.referred="display"),a=Z(this,t,[r])}return De(t,e),lt(t)})(je);function Hc(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(nn.run("parse-start",r),r.color)return r.color;if(r.parsed=Oc(r.str),r.parsed){var n=r.parsed.name;if(n==="color"){var a=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=it(je.all),s;try{var l=function(){var Ce=s.value,ue=Ce.getFormat("color");if(ue){var ge;if(a===ue.id||(ge=ue.ids)!==null&&ge!==void 0&&ge.includes(a)){var xe=Object.keys(Ce.coords).length,Se=Array(xe).fill(0);return Se.forEach(function(qe,We){return Se[We]=r.parsed.args[We]||0}),{v:{spaceId:Ce.id,coords:Se,alpha:i}}}}},u;for(o.s();!(s=o.n()).done;)if(u=l(),u)return u.v}catch(pe){o.e(pe);}finally{o.f();}var c="";if(a in je.registry){var m,b=(m=je.registry[a].formats)===null||m===void 0||(m=m.functions)===null||m===void 0||(m=m.color)===null||m===void 0?void 0:m.id;b&&(c="Did you mean color(".concat(b,")?"));}throw new TypeError("Cannot parse color(".concat(a,"). ")+(c||"Missing a plugin?"))}else {var C=it(je.all),I;try{var P=function(){var Ce=I.value,ue=Ce.getFormat(n);if(ue&&ue.type==="function"){var ge=1;(ue.lastAlpha||Pc(r.parsed.args).alpha)&&(ge=r.parsed.args.pop());var xe=r.parsed.args;return ue.coordGrammar&&Object.entries(Ce.coords).forEach(function(Se,qe){var We,Me=Ae(Se,2),$e=Me[0],ye=Me[1],Ne=ue.coordGrammar[qe],re=(We=xe[qe])===null||We===void 0?void 0:We.type;if(Ne=Ne.find(function(Ge){return Ge==re}),!Ne){var Te=ye.name||$e;throw new TypeError("".concat(re," not allowed for ").concat(Te," in ").concat(n,"()"))}var he=Ne.range;re==="<percentage>"&&(he||(he=[0,1]));var Re=ye.range||ye.refRange;he&&Re&&(xe[qe]=cs(he,Re,xe[qe]));}),{v:{spaceId:Ce.id,coords:xe,alpha:ge}}}},V;for(C.s();!(I=C.n()).done;)if(V=P(),V)return V.v}catch(pe){C.e(pe);}finally{C.f();}}}else {var $=it(je.all),G;try{for($.s();!(G=$.n()).done;){var Y=G.value;for(var K in Y.formats){var Q=Y.formats[K];if(Q.type==="custom"&&!(Q.test&&!Q.test(r.str))){var ae=Q.parse(r.str);if(ae){var le;return (le=ae.alpha)!==null&&le!==void 0||(ae.alpha=1),ae}}}}}catch(pe){$.e(pe);}finally{$.f();}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function pt(e){if(!e)throw new TypeError("Empty color reference");ga(e)&&(e=Hc(e));var t=e.space||e.spaceId;return t instanceof je||(e.space=je.get(t)),e.alpha===void 0&&(e.alpha=1),e}function va(e,t){return t=je.get(t),t.from(e)}function fr(e,t){var r=je.resolveCoord(t,e.space),n=r.space,a=r.index,i=va(e,n);return i[a]}function Vc(e,t,r){return t=je.get(t),e.coords=t.to(e.space,r),e}function an(e,t,r){if(e=pt(e),arguments.length===2&&rn(arguments[1])==="object"){var n=arguments[1];for(var a in n)an(e,a,n[a]);}else {typeof r=="function"&&(r=r(fr(e,t)));var i=je.resolveCoord(t,e.space),o=i.space,s=i.index,l=va(e,o);l[s]=r,Vc(e,o,l);}return e}var fs=new je({id:"xyz-d50",name:"XYZ D50",white:"D50",base:dr,fromBase:function(t){return Ai(dr.white,"D50",t)},toBase:function(t){return Ai("D50",dr.white,t)},formats:{color:{}}}),r0=216/24389,jc=24/116,_i=24389/27,ps=Ar.D50,ar=new je({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:ps,base:fs,fromBase:function(t){var r=t.map(function(a,i){return a/ps[i]}),n=r.map(function(a){return a>r0?Math.cbrt(a):(_i*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>jc?Math.pow(r[0],3):(116*r[0]-16)/_i,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/_i,r[2]>jc?Math.pow(r[2],3):(116*r[2]-16)/_i];return n.map(function(a,i){return a*ps[i]})},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Ei(e){return (e%360+360)%360}function n0(e,t){if(e==="raw")return t;var r=t.map(Ei),n=Ae(r,2),a=n[0],i=n[1],o=i-a;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(a+=360):e==="longer"?-180<o&&o<180&&(o>0?i+=360:a+=360):e==="shorter"&&(o>180?a+=360:o<-180&&(i+=360)),[a,i]}var ba=new je({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:ar,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=.02;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Ei(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return a<0&&(a=0),isNaN(i)&&(i=0),[n,a*Math.cos(i*Math.PI/180),a*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),$c=Math.pow(25,7),Ci=Math.PI,zc=180/Ci,Pn=Ci/180;function ms(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.kL,a=n===void 0?1:n,i=r.kC,o=i===void 0?1:i,s=r.kH,l=s===void 0?1:s,u=ar.from(e),c=Ae(u,3),m=c[0],b=c[1],C=c[2],I=ba.from(ar,[m,b,C])[1],P=ar.from(t),V=Ae(P,3),$=V[0],G=V[1],Y=V[2],K=ba.from(ar,[$,G,Y])[1];I<0&&(I=0),K<0&&(K=0);var Q=(I+K)/2,ae=Math.pow(Q,7),le=.5*(1-Math.sqrt(ae/(ae+$c))),pe=(1+le)*b,Ce=(1+le)*G,ue=Math.sqrt(Math.pow(pe,2)+Math.pow(C,2)),ge=Math.sqrt(Math.pow(Ce,2)+Math.pow(Y,2)),xe=pe===0&&C===0?0:Math.atan2(C,pe),Se=Ce===0&&Y===0?0:Math.atan2(Y,Ce);xe<0&&(xe+=2*Ci),Se<0&&(Se+=2*Ci),xe*=zc,Se*=zc;var qe=$-m,We=ge-ue,Me=Se-xe,$e=xe+Se,ye=Math.abs(Me),Ne;ue*ge===0?Ne=0:ye<=180?Ne=Me:Me>180?Ne=Me-360:Me<-180?Ne=Me+360:console.log("the unthinkable has happened");var re=2*Math.sqrt(ge*ue)*Math.sin(Ne*Pn/2),Te=(m+$)/2,he=(ue+ge)/2,Re=Math.pow(he,7),Ge;ue*ge===0?Ge=$e:ye<=180?Ge=$e/2:$e<360?Ge=($e+360)/2:Ge=($e-360)/2;var Fe=Math.pow(Te-50,2),Oe=1+.015*Fe/Math.sqrt(20+Fe),rt=1+.045*he,mt=1;mt-=.17*Math.cos((Ge-30)*Pn),mt+=.24*Math.cos(2*Ge*Pn),mt+=.32*Math.cos((3*Ge+6)*Pn),mt-=.2*Math.cos((4*Ge-63)*Pn);var vt=1+.015*he*mt,Ft=30*Math.exp(-1*Math.pow((Ge-275)/25,2)),Nt=2*Math.sqrt(Re/(Re+$c)),Pt=-1*Math.sin(2*Ft*Pn)*Nt,Dt=Math.pow(qe/(a*Oe),2);return Dt+=Math.pow(We/(o*rt),2),Dt+=Math.pow(re/(l*vt),2),Dt+=Pt*(We/(o*rt))*(re/(l*vt)),Math.sqrt(Dt)}var a0=75e-6;function ya(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.epsilon,a=n===void 0?a0:n;e=pt(e),t=je.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:a})}function wa(e){return {space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function on(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,n=r===void 0?Fr.gamut_mapping:r,a=t.space,i=a===void 0?e.space:a;if(ga(arguments[1])&&(i=arguments[1]),i=je.get(i),ya(e,i,{epsilon:0}))return e;var o=pr(e,i);if(n!=="clip"&&!ya(e,i)){var s=on(wa(o),{method:"clip",space:i});if(ms(e,s)>2){for(var l=je.resolveCoord(n),u=l.space,c=l.id,m=pr(o,u),b=l.range||l.refRange,C=b[0],I=.01,P=C,V=fr(m,c);V-P>I;){var $=wa(m);$=on($,{space:i,method:"clip"});var G=ms(m,$);G-2<I?P=fr(m,c):V=fr(m,c),an(m,c,(P+V)/2);}o=pr(m,i);}else o=s;}if(n==="clip"||!ya(o,i,{epsilon:0})){var Y=Object.values(i.coords).map(function(K){return K.range||[]});o.coords=o.coords.map(function(K,Q){var ae=Ae(Y[Q],2),le=ae[0],pe=ae[1];return le!==void 0&&(K=Math.max(le,K)),pe!==void 0&&(K=Math.min(K,pe)),K});}return i!==e.space&&(o=pr(o,e.space)),e.coords=o.coords,e}on.returns="color";function pr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.inGamut;e=pt(e),t=je.get(t);var a=t.from(e),i={space:t,coords:a,alpha:e.alpha};return n&&(i=on(i)),i}pr.returns="color";function Si(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.precision,i=a===void 0?Fr.precision:a,o=n.format,s=o===void 0?"default":o,l=n.inGamut,u=l===void 0?true:l,c=te(n,A),m;e=pt(e);var b=s;s=(t=(r=e.space.getFormat(s))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:je.DEFAULT_FORMAT,u||(u=s.toGamut);var C=e.coords;if(C=C.map(function(K){return K||0}),u&&!ya(e)&&(C=on(wa(e),u===true?void 0:u).coords),s.type==="custom")if(c.precision=i,s.serialize)m=s.serialize(C,e.alpha,c);else throw new TypeError("format ".concat(b," can only be used to parse colors, not for serialization"));else {var I=s.name||"color";s.serializeCoords?C=s.serializeCoords(C,i):i!==null&&(C=C.map(function(K){return xi(K,i)}));var P=Ee(C);if(I==="color"){var V,$=s.id||((V=s.ids)===null||V===void 0?void 0:V[0])||e.space.id;P.unshift($);}var G=e.alpha;i!==null&&(G=xi(G,i));var Y=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(G):"";m="".concat(I,"(").concat(P.join(s.commas?", ":" ")).concat(Y,")");}return m}var i0=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],o0=[[1.716651187971268,-0.355670783776392,-0.25336628137366],[-0.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-0.042770613257809,.942103121235474]],ki=new Qt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:i0,fromXYZ_M:o0,formats:{color:{}}}),Ti=1.09929682680944,Gc=.018053968510807,Wc=new Qt({id:"rec2020",name:"REC.2020",base:ki,toBase:function(t){return t.map(function(r){return r<Gc*4.5?r/4.5:Math.pow((r+Ti-1)/Ti,1/.45)})},fromBase:function(t){return t.map(function(r){return r>=Gc?Ti*Math.pow(r,.45)-(Ti-1):4.5*r})},formats:{color:{}}}),s0=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],l0=[[2.493496911941425,-0.9313836179191239,-0.40271078445071684],[-0.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-0.07617238926804182,.9568845240076872]],Uc=new Qt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:s0,fromXYZ_M:l0}),u0=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],c0=[[3.2409699419045226,-1.537383177570094,-0.4986107602930034],[-0.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-0.20397695888897652,1.0569715142428786]],Xc=new Qt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:u0,fromXYZ_M:c0,formats:{color:{}}}),Yc={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]},Kc=Array(3).fill("<percentage> | <number>[0, 255]"),Jc=Array(3).fill("<number>[0, 255]"),xa=new Qt({id:"srgb",name:"sRGB",base:Xc,fromBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a>.0031308?n*(1.055*Math.pow(a,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var n=r<0?-1:1,a=r*n;return a<.04045?r/12.92:n*Math.pow((a+.055)/1.055,2.4)})},formats:{rgb:{coords:Kc},rgb_number:{name:"rgb",commas:true,coords:Jc,noAlpha:true},color:{},rgba:{coords:Kc,commas:true,lastAlpha:true},rgba_number:{name:"rgba",commas:true,coords:Jc},hex:{type:"custom",toGamut:true,test:function(t){return /^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(n){r.push(parseInt(n,16)/255);}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.collapse,i=a===void 0?true:a;r<1&&t.push(r),t=t.map(function(l){return Math.round(l*255)});var o=i&&t.every(function(l){return l%17===0}),s=t.map(function(l){return o?(l/17).toString(16):l.toString(16).padStart(2,"0")}).join("");return "#"+s}},keyword:{type:"custom",test:function(t){return /^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=Yc.black,r.alpha=0):r.coords=Yc[t],r.coords)return r}}}}),Zc=new Qt({id:"p3",name:"P3",base:Uc,fromBase:xa.fromBase,toBase:xa.toBase,formats:{color:{id:"display-p3"}}});if(Fr.display_space=xa,typeof CSS<"u"&&(ce=CSS)!==null&&ce!==void 0&&ce.supports)for(var hs=0,Qc=[ar,Wc,Zc];hs<Qc.length;hs++){var gs=Qc[hs],d0=gs.getMinCoords(),f0={space:gs,coords:d0,alpha:1},p0=Si(f0);if(CSS.supports("color",p0)){Fr.display_space=gs;break}}function m0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.space,a=n===void 0?Fr.display_space:n,i=te(r,w),o=Si(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Fr.display_space)o=new String(o),o.color=e;else {var s=pr(e,a);o=new String(Si(s,i)),o.color=s;}return o}function ed(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=je.get(r);var n=r.from(e),a=r.from(t);return Math.sqrt(n.reduce(function(i,o,s){var l=a[s];return isNaN(o)||isNaN(l)?i:i+Math.pow(l-o,2)},0))}function h0(e,t){return e=pt(e),t=pt(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,n){return r===t.coords[n]})}function sn(e){return fr(e,[dr,"y"])}function td(e,t){an(e,[dr,"y"],t);}function g0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return sn(this)},set:function(r){td(this,r);}});}var v0=Object.freeze({__proto__:null,getLuminance:sn,setLuminance:td,register:g0});function b0(e,t){e=pt(e),t=pt(t);var r=Math.max(sn(e),0),n=Math.max(sn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return (r+.05)/(n+.05)}var y0=.56,w0=.57,x0=.62,D0=.65,rd=.022,A0=1.414,_0=.1,E0=5e-4,C0=1.14,nd=.027,S0=1.14;function ad(e){return e>=rd?e:e+Math.pow(rd-e,A0)}function Nn(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function k0(e,t){t=pt(t),e=pt(e);var r,n,a,i,o,s;t=pr(t,"srgb");var l=Ae(t.coords,3);i=l[0],o=l[1],s=l[2];var u=Nn(i)*.2126729+Nn(o)*.7151522+Nn(s)*.072175;e=pr(e,"srgb");var c=Ae(e.coords,3);i=c[0],o=c[1],s=c[2];var m=Nn(i)*.2126729+Nn(o)*.7151522+Nn(s)*.072175,b=ad(u),C=ad(m),I=C>b;return Math.abs(C-b)<E0?n=0:I?(r=Math.pow(C,y0)-Math.pow(b,w0),n=r*C0):(r=Math.pow(C,D0)-Math.pow(b,x0),n=r*S0),Math.abs(n)<_0?a=0:n>0?a=n-nd:a=n+nd,a*100}function T0(e,t){e=pt(e),t=pt(t);var r=Math.max(sn(e),0),n=Math.max(sn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}var i=r+n;return i===0?0:(r-n)/i}var R0=5e4;function F0(e,t){e=pt(e),t=pt(t);var r=Math.max(sn(e),0),n=Math.max(sn(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1];}return n===0?R0:(r-n)/n}function I0(e,t){e=pt(e),t=pt(t);var r=fr(e,[ar,"l"]),n=fr(t,[ar,"l"]);return Math.abs(r-n)}var M0=216/24389,id=24/116,Ri=24389/27,vs=Ar.D65,bs=new je({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:vs,base:dr,fromBase:function(t){var r=t.map(function(a,i){return a/vs[i]}),n=r.map(function(a){return a>M0?Math.cbrt(a):(Ri*a+16)/116});return [116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var n=[r[0]>id?Math.pow(r[0],3):(116*r[0]-16)/Ri,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Ri,r[2]>id?Math.pow(r[2],3):(116*r[2]-16)/Ri];return n.map(function(a,i){return a*vs[i]})},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ys=Math.pow(5,.5)*.5+.5;function L0(e,t){e=pt(e),t=pt(t);var r=fr(e,[bs,"l"]),n=fr(t,[bs,"l"]),a=Math.abs(Math.pow(r,ys)-Math.pow(n,ys)),i=Math.pow(a,1/ys)*Math.SQRT2-40;return i<7.5?0:i}var Fi=Object.freeze({__proto__:null,contrastWCAG21:b0,contrastAPCA:k0,contrastMichelson:T0,contrastWeber:F0,contrastLstar:I0,contrastDeltaPhi:L0});function O0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ga(r)&&(r={algorithm:r});var n=r,a=n.algorithm,i=te(n,F);if(!a){var o=Object.keys(Fi).map(function(l){return l.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=pt(e),t=pt(t);for(var s in Fi)if("contrast"+a.toLowerCase()===s.toLowerCase())return Fi[s](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(a))}function od(e){var t=va(e,dr),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+15*a+3*i;return [4*n/o,9*a/o]}function sd(e){var t=va(e,dr),r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=n+a+i;return [n/o,a/o]}function P0(e){Object.defineProperty(e.prototype,"uv",{get:function(){return od(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return sd(this)}});}var N0=Object.freeze({__proto__:null,uv:od,xy:sd,register:P0});function q0(e,t){return ed(e,t,"lab")}var B0=Math.PI,ld=B0/180;function H0(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.l,a=n===void 0?2:n,i=r.c,o=i===void 0?1:i,s=ar.from(e),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=ba.from(ar,[u,c,m]),C=Ae(b,3),I=C[1],P=C[2],V=ar.from(t),$=Ae(V,3),G=$[0],Y=$[1],K=$[2],Q=ba.from(ar,[G,Y,K])[1];I<0&&(I=0),Q<0&&(Q=0);var ae=u-G,le=I-Q,pe=c-Y,Ce=m-K,ue=Math.pow(pe,2)+Math.pow(Ce,2)-Math.pow(le,2),ge=.511;u>=16&&(ge=.040975*u/(1+.01765*u));var xe=.0638*I/(1+.0131*I)+.638,Se;Number.isNaN(P)&&(P=0),P>=164&&P<=345?Se=.56+Math.abs(.2*Math.cos((P+168)*ld)):Se=.36+Math.abs(.4*Math.cos((P+35)*ld));var qe=Math.pow(I,4),We=Math.sqrt(qe/(qe+1900)),Me=xe*(We*Se+1-We),$e=Math.pow(ae/(a*ge),2);return $e+=Math.pow(le/(o*xe),2),$e+=ue/Math.pow(Me,2),Math.sqrt($e)}var ud=203,ws=new je({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:dr,fromBase:function(t){return t.map(function(r){return Math.max(r*ud,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/ud,0)})}}),Ii=1.15,Mi=.66,cd=2610/Math.pow(2,14),V0=Math.pow(2,14)/2610,dd=3424/Math.pow(2,12),fd=2413/Math.pow(2,7),pd=2392/Math.pow(2,7),j0=1.7*2523/Math.pow(2,5),md=Math.pow(2,5)/(1.7*2523),Li=-0.56,xs=16295499532821565e-27,$0=[[.41478972,.579999,.014648],[-0.20151,1.120649,.0531008],[-0.0166008,.2648,.6684799]],z0=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-0.06538442294808501],[-0.09098281098284752,-0.3127282905230739,1.5227665613052603]],G0=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],W0=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-0.1386050432715393,-0.05804731615611886],[.9999999999999998,-0.09601924202631895,-0.8118918960560388]],hd=new je({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-0.5,.5]},bz:{refRange:[-0.5,.5]}},base:ws,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=Ii*n-(Ii-1)*i,s=Mi*a-(Mi-1)*n,l=Lt($0,[o,s,i]),u=l.map(function(V){var $=dd+fd*Math.pow(V/1e4,cd),G=1+pd*Math.pow(V/1e4,cd);return Math.pow($/G,j0)}),c=Lt(G0,u),m=Ae(c,3),b=m[0],C=m[1],I=m[2],P=(1+Li)*b/(1+Li*b)-xs;return [P,C,I]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o=(n+xs)/(1+Li-Li*(n+xs)),s=Lt(W0,[o,a,i]),l=s.map(function(V){var $=dd-Math.pow(V,md),G=pd*Math.pow(V,md)-fd,Y=1e4*Math.pow($/G,V0);return Y}),u=Lt(z0,l),c=Ae(u,3),m=c[0],b=c[1],C=c[2],I=(m+(Ii-1)*C)/Ii,P=(b+(Mi-1)*I)/Mi;return [I,P,C]},formats:{color:{}}}),Ds=new je({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:hd,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Ei(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 U0(e,t){var r=Ds.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=Ds.from(t),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=a-u,C=i-c;Number.isNaN(o)&&Number.isNaN(m)?(o=0,m=0):Number.isNaN(o)?o=m:Number.isNaN(m)&&(m=o);var I=o-m,P=2*Math.sqrt(i*c)*Math.sin(I/2*(Math.PI/180));return Math.sqrt(Math.pow(b,2)+Math.pow(C,2)+Math.pow(P,2))}var gd=3424/4096,vd=2413/128,bd=2392/128,yd=2610/16384,X0=2523/32,Y0=16384/2610,wd=32/2523,K0=[[.3592,.6976,-0.0358],[-0.1922,1.1004,.0755],[.007,.0749,.8434]],J0=[[2048/4096,2048/4096,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Z0=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-0.008605050147287059,-0.11103437159861648],[1.0000320633910054,.56004913547279,-0.3206339100541203]],Q0=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-0.04542175307585323],[-0.04959554223893211,-0.04942116118675749,1.1879959417328034]],As=new je({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:ws,fromBase:function(t){var r=Lt(K0,t);return ew(r)},toBase:function(t){var r=tw(t);return Lt(Q0,r)},formats:{color:{}}});function ew(e){var t=e.map(function(r){var n=gd+vd*Math.pow(r/1e4,yd),a=1+bd*Math.pow(r/1e4,yd);return Math.pow(n/a,X0)});return Lt(J0,t)}function tw(e){var t=Lt(Z0,e),r=t.map(function(n){var a=Math.max(Math.pow(n,wd)-gd,0),i=vd-bd*Math.pow(n,wd);return 1e4*Math.pow(a/i,Y0)});return r}function rw(e,t){var r=As.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=As.from(t),l=Ae(s,3),u=l[0],c=l[1],m=l[2];return 720*Math.sqrt(Math.pow(a-u,2)+.25*Math.pow(i-c,2)+Math.pow(o-m,2))}var nw=[[.8190224432164319,.3619062562801221,-0.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],aw=[[1.2268798733741557,-0.5578149965554813,.28139105017721583],[-0.04057576262431372,1.1122868293970594,-0.07171106666151701],[-0.07637294974672142,-0.4214933239627914,1.5869240244272418]],iw=[[.2104542553,.793617785,-0.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-0.808675766]],ow=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-0.10556134232365635,-0.06385417477170591],[1.0000000546724108,-0.08948418209496575,-1.2914855378640917]],Oi=new je({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-0.4,.4]},b:{refRange:[-0.4,.4]}},white:"D65",base:dr,fromBase:function(t){var r=Lt(nw,t),n=r.map(function(a){return Math.cbrt(a)});return Lt(iw,n)},toBase:function(t){var r=Lt(ow,t),n=r.map(function(a){return Math.pow(a,3)});return Lt(aw,n)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function sw(e,t){var r=Oi.from(e),n=Ae(r,3),a=n[0],i=n[1],o=n[2],s=Oi.from(t),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=a-u,C=i-c,I=o-m;return Math.sqrt(Math.pow(b,2)+Math.pow(C,2)+Math.pow(I,2))}var _s=Object.freeze({__proto__:null,deltaE76:q0,deltaECMC:H0,deltaE2000:ms,deltaEJz:U0,deltaEITP:rw,deltaEOK:sw});function Da(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ga(r)&&(r={method:r});var n=r,a=n.method,i=a===void 0?Fr.deltaE:a,o=te(n,R);e=pt(e),t=pt(t);for(var s in _s)if("deltae"+i.toLowerCase()===s.toLowerCase())return _s[s](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function lw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=je.get("oklch","lch"),n=[r,"l"];return an(e,n,function(a){return a*(1+t)})}function uw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=je.get("oklch","lch"),n=[r,"l"];return an(e,n,function(a){return a*(1-t)})}var cw=Object.freeze({__proto__:null,lighten:lw,darken:uw});function xd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=[pt(e),pt(t)];if(e=a[0],t=a[1],rn(r)==="object"){var i=[.5,r];r=i[0],n=i[1];}var o=n,s=o.space,l=o.outputSpace,u=o.premultiplied,c=Aa(e,t,{space:s,outputSpace:l,premultiplied:u});return c(r)}function Dd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n;if(Es(e)){n=e,r=t;var a=Ae(n.rangeArgs.colors,2);e=a[0],t=a[1];}var i=r,o=i.maxDeltaE,s=i.deltaEMethod,l=i.steps,u=l===void 0?2:l,c=i.maxSteps,m=c===void 0?1e3:c,b=te(i,_);if(!n){var C=[pt(e),pt(t)];e=C[0],t=C[1],n=Aa(e,t,b);}var I=Da(e,t),P=o>0?Math.max(u,Math.ceil(I/o)+1):u,V=[];if(m!==void 0&&(P=Math.min(P,m)),P===1)V=[{p:.5,color:n(.5)}];else {var $=1/(P-1);V=Array.from({length:P},function(pe,Ce){var ue=Ce*$;return {p:ue,color:n(ue)}});}if(o>0)for(var G=V.reduce(function(pe,Ce,ue){if(ue===0)return 0;var ge=Da(Ce.color,V[ue-1].color,s);return Math.max(pe,ge)},0);G>o;){G=0;for(var Y=1;Y<V.length&&V.length<m;Y++){var K=V[Y-1],Q=V[Y],ae=(Q.p+K.p)/2,le=n(ae);G=Math.max(G,Da(le,K.color),Da(le,Q.color)),V.splice(Y,0,{p:ae,color:n(ae)}),Y++;}}return V=V.map(function(pe){return pe.color}),V}function Aa(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(Es(e)){var n=e,a=t;return Aa.apply(void 0,Ee(n.rangeArgs.colors).concat([_e({},n.rangeArgs.options,a)]))}var i=r.space,o=r.outputSpace,s=r.progression,l=r.premultiplied;e=pt(e),t=pt(t),e=wa(e),t=wa(t);var u={colors:[e,t],options:r};if(i?i=je.get(i):i=je.registry[Fr.interpolationSpace]||e.space,o=o?je.get(o):i,e=pr(e,i),t=pr(t,i),e=on(e),t=on(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",m=[i,"h"],b=[fr(e,m),fr(t,m)],C=b[0],I=b[1],P=n0(c,[C,I]),V=Ae(P,2);C=V[0],I=V[1],an(e,m,C),an(t,m,I);}return l&&(e.coords=e.coords.map(function($){return $*e.alpha}),t.coords=t.coords.map(function($){return $*t.alpha})),Object.assign(function($){$=s?s($):$;var G=e.coords.map(function(Q,ae){var le=t.coords[ae];return Di(Q,le,$)}),Y=Di(e.alpha,t.alpha,$),K={space:i,coords:G,alpha:Y};return l&&(K.coords=K.coords.map(function(Q){return Q/Y})),o!==i&&(K=pr(K,o)),K},{rangeArgs:u})}function Es(e){return rn(e)==="function"&&!!e.rangeArgs}Fr.interpolationSpace="lab";function dw(e){e.defineFunction("mix",xd,{returns:"color"}),e.defineFunction("range",Aa,{returns:"function<color>"}),e.defineFunction("steps",Dd,{returns:"array<color>"});}var fw=Object.freeze({__proto__:null,mix:xd,steps:Dd,range:Aa,isRange:Es,register:dw}),Ad=new je({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:xa,fromBase:function(t){var r=Math.max.apply(Math,Ee(t)),n=Math.min.apply(Math,Ee(t)),a=Ae(t,3),i=a[0],o=a[1],s=a[2],l=NaN,u=0,c=(n+r)/2,m=r-n;if(m!==0){switch(u=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:l=(o-s)/m+(o<s?6:0);break;case o:l=(s-i)/m+2;break;case s:l=(i-o)/m+4;}l=l*60;}return [l,u*100,c*100]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];n=n%360,n<0&&(n+=360),a/=100,i/=100;function o(s){var l=(s+n/30)%12,u=a*Math.min(i,1-i);return i-u*Math.max(-1,Math.min(l-3,9-l,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}}}),_d=new je({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:Ad,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i+a*Math.min(i,1-i);return [n,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=i*(1-a/2);return [n,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:true}}}),pw=new je({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:_d,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];return [n,i*(100-a)/100,100-i]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2];a/=100,i/=100;var o=a+i;if(o>=1){var s=a/o;return [n,0,s*100]}var l=1-i,u=l===0?0:1-a/l;return [n,u*100,l*100]},formats:{hwb:{toGamut:true,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),mw=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],hw=[[2.0415879038107465,-0.5650069742788596,-0.34473135077832956],[-0.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-0.11836239223101838,1.0151749943912054]],Ed=new Qt({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:mw,fromXYZ_M:hw}),gw=new Qt({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:Ed,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"}}}),vw=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],bw=[[1.3457989731028281,-0.25558010007997534,-0.05110628506753401],[-0.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Cd=new Qt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:fs,toXYZ_M:vw,fromXYZ_M:bw}),yw=1/512,ww=16/512,xw=new Qt({id:"prophoto",name:"ProPhoto",base:Cd,toBase:function(t){return t.map(function(r){return r<ww?r/16:Math.pow(r,1.8)})},fromBase:function(t){return t.map(function(r){return r>=yw?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),Dw=new je({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:Oi,fromBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s=2e-4;return Math.abs(a)<s&&Math.abs(i)<s?o=NaN:o=Math.atan2(i,a)*180/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),Ei(o)]},toBase:function(t){var r=Ae(t,3),n=r[0],a=r[1],i=r[2],o,s;return isNaN(i)?(o=0,s=0):(o=a*Math.cos(i*Math.PI/180),s=a*Math.sin(i*Math.PI/180)),[n,o,s]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Sd=203,kd=2610/Math.pow(2,14),Aw=Math.pow(2,14)/2610,_w=2523/Math.pow(2,5),Td=Math.pow(2,5)/2523,Rd=3424/Math.pow(2,12),Fd=2413/Math.pow(2,7),Id=2392/Math.pow(2,7),Ew=new Qt({id:"rec2100pq",name:"REC.2100-PQ",base:ki,toBase:function(t){return t.map(function(r){var n=Math.pow(Math.max(Math.pow(r,Td)-Rd,0)/(Fd-Id*Math.pow(r,Td)),Aw);return n*1e4/Sd})},fromBase:function(t){return t.map(function(r){var n=Math.max(r*Sd/1e4,0),a=Rd+Fd*Math.pow(n,kd),i=1+Id*Math.pow(n,kd);return Math.pow(a/i,_w)})},formats:{color:{id:"rec2100-pq"}}}),Md=.17883277,Ld=.28466892,Od=.55991073,Cs=3.7743,Cw=new Qt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:ki,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*Cs:Math.exp((r-Od)/Md+Ld)/12*Cs})},fromBase:function(t){return t.map(function(r){return r/=Cs,r<=1/12?Math.sqrt(3*r):Md*Math.log(12*r-Ld)+Od})},formats:{color:{id:"rec2100-hlg"}}}),Pd={};nn.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=Nd(e.W1,e.W2,e.options.method));}),nn.add("chromatic-adaptation-end",function(e){e.M||(e.M=Nd(e.W1,e.W2,e.options.method));});function Pi(e){var t=e.id;e.toCone_M;e.fromCone_M;Pd[t]=arguments[0];}function Nd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",n=Pd[r],a=Lt(n.toCone_M,e),i=Ae(a,3),o=i[0],s=i[1],l=i[2],u=Lt(n.toCone_M,t),c=Ae(u,3),m=c[0],b=c[1],C=c[2],I=[[m/o,0,0],[0,b/s,0],[0,0,C/l]],P=Lt(I,n.toCone_M),V=Lt(n.fromCone_M,P);return V}Pi({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]]}),Pi({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]]}),Pi({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]]}),Pi({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(Ar,{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]}),Ar.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var Sw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-0.005574649490394108,.004060733528982826,1.0103391003129971]],kw=[[1.6410233796943257,-0.32480329418479,-0.23642469523761225],[-0.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-0.008284441996237409,.9883948585390215]],qd=new Qt({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:Ar.ACES,toXYZ_M:Sw,fromXYZ_M:kw,formats:{color:{}}}),Ni=Math.pow(2,-16),Ss=-0.35828683,qi=(Math.log2(65504)+9.72)/17.52,Tw=new Qt({id:"acescc",name:"ACEScc",coords:{r:{range:[Ss,qi],name:"Red"},g:{range:[Ss,qi],name:"Green"},b:{range:[Ss,qi],name:"Blue"}},referred:"scene",base:qd,toBase:function(t){var r=-0.3013698630136986;return t.map(function(n){return n<=r?(Math.pow(2,n*17.52-9.72)-Ni)*2:n<qi?Math.pow(2,n*17.52-9.72):65504})},fromBase:function(t){return t.map(function(r){return r<=0?(Math.log2(Ni)+9.72)/17.52:r<Ni?(Math.log2(Ni+r*.5)+9.72)/17.52:(Math.log2(r)+9.72)/17.52})},formats:{color:{}}}),Bd=Object.freeze({__proto__:null,XYZ_D65:dr,XYZ_D50:fs,XYZ_ABS_D65:ws,Lab_D65:bs,Lab:ar,LCH:ba,sRGB_Linear:Xc,sRGB:xa,HSL:Ad,HWB:pw,HSV:_d,P3_Linear:Uc,P3:Zc,A98RGB_Linear:Ed,A98RGB:gw,ProPhoto_Linear:Cd,ProPhoto:xw,REC_2020_Linear:ki,REC_2020:Wc,OKLab:Oi,OKLCH:Dw,Jzazbz:hd,JzCzHz:Ds,ICTCP:As,REC_2100_PQ:Ew,REC_2100_HLG:Cw,ACEScg:qd,ACEScc:Tw}),gt=(ve=new WeakMap,(function(){function e(){var t=this;_t(this,e),Mt(this,ve,void 0);for(var r,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];a.length===1&&(r=pt(a[0]));var o,s,l;r?(o=r.space||r.spaceId,s=r.coords,l=r.alpha):(o=a[0],s=a[1],l=a[2]),Tt(ve,this,je.get(o)),this.coords=s?s.slice():[0,0,0],this.alpha=l<1?l:1;for(var u=0;u<this.coords.length;u++)this.coords[u]==="NaN"&&(this.coords[u]=NaN);var c=function(C){Object.defineProperty(t,C,{get:function(){return t.get(C)},set:function(P){return t.set(C,P)}});};for(var m in Gt(ve,this).coords)c(m);}return lt(e,[{key:"space",get:function(){return Gt(ve,this)}},{key:"spaceId",get:function(){return Gt(ve,this).id}},{key:"clone",value:function(){return new gt(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return {spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var i=m0.apply(void 0,[this].concat(n));return i.color=new gt(i.color),i}}],[{key:"get",value:function(r){if(r instanceof gt)return r;for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return X(gt,[r].concat(a))}},{key:"defineFunction",value:function(r,n){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,i=a.instance,o=i===void 0?true:i,s=a.returns,l=function(){var c=n.apply(void 0,arguments);if(s==="color")c=gt.get(c);else if(s==="function<color>"){var m=c;c=function(){var C=m.apply(void 0,arguments);return gt.get(C)},Object.assign(c,m);}else s==="array<color>"&&(c=c.map(function(b){return gt.get(b)}));return c};r in gt||(gt[r]=l),o&&(gt.prototype[r]=function(){for(var u=arguments.length,c=new Array(u),m=0;m<u;m++)c[m]=arguments[m];return l.apply(void 0,[this].concat(c))});}},{key:"defineFunctions",value:function(r){for(var n in r)gt.defineFunction(n,r[n],r[n]);}},{key:"extend",value:function(r){if(r.register)r.register(gt);else for(var n in r)gt.defineFunction(n,r[n]);}}])})());gt.defineFunctions({get:fr,getAll:va,set:an,setAll:Vc,to:pr,equals:h0,inGamut:ya,toGamut:on,distance:ed,toString:Si}),Object.assign(gt,{util:Zy,hooks:nn,WHITES:Ar,Space:je,spaces:je.registry,parse:Hc,defaults:Fr});for(var ks=0,Hd=Object.keys(Bd);ks<Hd.length;ks++){var Rw=Hd[ks];je.register(Bd[Rw]);}for(var Vd in je.registry)Ts(Vd,je.registry[Vd]);nn.add("colorspace-init-end",function(e){var t;Ts(e.id,e),(t=e.aliases)===null||t===void 0||t.forEach(function(r){Ts(r,e);});});function Ts(e,t){Object.keys(t.coords),Object.values(t.coords).map(function(n){return n.name});var r=e.replace(/-/g,"_");Object.defineProperty(gt.prototype,r,{get:function(){var a=this,i=this.getAll(e);return typeof Proxy>"u"?i:new Proxy(i,{has:function(s,l){try{return je.resolveCoord([t,l]),!0}catch{}return Reflect.has(s,l)},get:function(s,l,u){if(l&&fe(l)!=="symbol"&&!(l in s)){var c=je.resolveCoord([t,l]),m=c.index;if(m>=0)return s[m]}return Reflect.get(s,l,u)},set:function(s,l,u,c){if(l&&fe(l)!=="symbol"&&!(l in s)||l>=0){var m=je.resolveCoord([t,l]),b=m.index;if(b>=0)return s[b]=u,a.setAll(e,s),true}return Reflect.set(s,l,u,c)}})},set:function(a){this.setAll(e,a);},configurable:true,enumerable:true});}gt.extend(_s),gt.extend({deltaE:Da}),gt.extend(cw),gt.extend({contrast:O0}),gt.extend(N0),gt.extend(v0),gt.extend(fw),gt.extend(Fi);var jd=Tr(fc());tn.default.templateSettings.strip=false,p._memoizedFns=[];function Fw(e){var t=(0, Lc.default)(e);return p._memoizedFns.push(t),t}var wt=Fw,Iw=wt(function(e){return e!=null&&e.createElement?e.createElement("A").localName==="A":false}),_a=Iw;function Rs(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return "";var n=t.getRootNode&&t.getRootNode()||h;if(n.nodeType!==11)return e(t,r,n);for(var a=[];n.nodeType===11;){if(!n.host)return "";a.unshift({elm:t,doc:n}),t=n.host,n=t.getRootNode();}return a.unshift({elm:t,doc:n}),a.map(function(i){return e(i.elm,r,i.doc)})}var Mw=["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"],Lw=31,Ow=/([\\"])/g,Pw=/(\r\n|\r|\n)/g;function Fs(e){return e.replace(Ow,"\\$1").replace(Pw,"\\a ")}function $d(e,t){var r=t.name,n;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var a=Fc(e.getAttribute(r));a?n=Rt(t.name)+'$="'+Fs(a)+'"':n=Rt(t.name)+'="'+Fs(e.getAttribute(r))+'"';}else n=Rt(r)+'="'+Fs(t.value)+'"';return n}function Is(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function zd(e){return !Mw.includes(e.name)&&e.name.indexOf(":")===-1&&(!e.value||e.value.length<Lw)}function Bi(e){var t={classes:{},tags:{},attributes:{}};e=Array.isArray(e)?e:[e];for(var r=e.slice(),n=[],a=function(){var o=r.pop(),s=o.actualNode;if(s.querySelectorAll){var l=s.nodeName;t.tags[l]?t.tags[l]++:t.tags[l]=1,s.classList&&Array.from(s.classList).forEach(function(u){var c=Rt(u);t.classes[c]?t.classes[c]++:t.classes[c]=1;}),s.hasAttributes()&&Array.from(ha(s)).filter(zd).forEach(function(u){var c=$d(s,u);c&&(t.attributes[c]?t.attributes[c]++:t.attributes[c]=1);});}for(o.children.length&&(n.push(r),r=o.children.slice());!r.length&&n.length;)r=n.pop();};r.length;)a();return t}function Nw(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach(function(i){var o=Rt(i);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"});}),r.sort(Is)}function qw(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[],n=r.find(function(i){return i!==e&&On(i,t)});if(n){var a=1+r.indexOf(e);return ":nth-child("+a+")"}else return ""}function Bw(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||h,r="#"+Rt(e.getAttribute("id")||"");if(!r.match(/player_uid_/)&&t.querySelectorAll(r).length===1)return r}}function Gd(e){var t=_a(h);return Rt(t?e.localName:e.nodeName.toLowerCase())}function Hw(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(ha(e)).filter(zd).forEach(function(i){var o=$d(e,i);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"});}),r.sort(Is)}function Vw(e,t){var r="",n,a=Nw(e,t),i=Hw(e,t);return a.length&&a[0].count===1?n=[a[0]]:i.length&&i[0].count===1?(n=[i[0]],r=Gd(e)):(n=a.concat(i),n.sort(Is),n=n.slice(0,3),n.some(function(o){return o.species==="class"})?n.sort(function(o,s){return o.species!==s.species&&o.species==="class"?-1:o.species===s.species?0:1}):r=Gd(e)),r+=n.reduce(function(o,s){switch(s.species){case "class":return o+"."+s.name;case "attribute":return o+"["+s.name+"]"}return o},"")}function jw(e,t,r){if(!p._selectorData)throw new Error("Expect axe._selectorData to be set up");var n=t.toRoot,a=n===void 0?false:n,i,o;do{var s=Bw(e);s||(s=Vw(e,p._selectorData),s+=qw(e,s)),i?i=s+" > "+i:i=s,!o||o.length>Ke.selectorSimilarFilterLimit?o=zw(r,i):o=o.filter(function(l){return On(l,i)}),e=e.parentElement;}while((o.length>1||a)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function $w(e,t){return Rs(jw,e,t)}var Ms=wt($w),zw=wt(function(e,t){return Array.from(e.querySelectorAll(t))});function Wd(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if(t!=="head"&&t!=="body"&&n?.children.length>1){var i=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(i,")");}return r?Wd(r)+" > "+t+a:t+a}function Hi(e,t){return Rs(Wd,e,t)}function Ud(e,t){var r,n;if(!e)return [];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=Ud(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&n++,r=r.previousSibling;while(r);n===1&&(n=null);}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var a={};a.str=e.nodeName.toLowerCase();var i=e.getAttribute&&Rt(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a);}return t}function Gw(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 Ww(e){var t=Ud(e);return Gw(t)}var Xd=Ww,Ea={},Uw={set:function(t,r){Xw(t),Ea[t]=r;},get:function(t,r){if(Yw(r),t in Ea)return Ea[t];if(typeof r=="function"){var n=r();return ut(n!==void 0,"Cache creator function should not return undefined"),this.set(t,n),Ea[t]}},clear:function(){Ea={};}};function Xw(e){ut(typeof e=="string","key must be a string, "+fe(e)+" given"),ut(e!=="","key must not be empty");}function Yw(e){ut(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+fe(e)+" given");}var Ye=Uw;function Kw(e,t){var r=t||e;return Ye.get("nodeMap")?Ye.get("nodeMap").get(r):null}var Ze=Kw;function Yd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.maxLength,n=r===void 0?300:r,a=t.attrLimit,i=a===void 0?20:a;if(!e)return "";if(e.nodeType!==1){var o,s=(o=e.nodeValue)!==null&&o!==void 0?o:"";return Ls(s,n)}var l=Jw(e);return l.length>n?Zw(e,{maxLength:n,attrLimit:i}):l}function Jw(e){var t=e.outerHTML;return !t&&typeof d.XMLSerializer=="function"&&(t=new d.XMLSerializer().serializeToString(e)),t||""}function Zw(e,t){var r=t.maxLength,n=t.attrLimit,a=_a(e.ownerDocument||h)?e.nodeName:e.nodeName.toLowerCase(),i=Array.from(ha(e)).map(function(I){var P=I.name,V=I.value;return {name:P,value:V}}),o=i.reduce(function(I,P){var V=P.name,$=P.value;return I+V.length+$.length+4},0);2+a.length+o>r&&i.forEach(function(I){I.name=Ls(I.name,n),I.value=Ls(I.value,n);});var s="<".concat(a),l=">",u=" ...>",c=it(i),m;try{for(c.s();!(m=c.n()).done;){var b=m.value,C=" ".concat(b.name,'="').concat(b.value,'"');if(s.length+C.length>r-u.length){l=u;continue}s+=C;}}catch(I){c.e(I);}finally{c.f();}return s+l}function Ls(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var Kd="DqElm.RunOptions",_n=wt(function(t,r,n){var a,i;if(r??(r=null),n??(n={}),!r){var o;r=(o=Ye.get(Kd))!==null&&o!==void 0?o:{};}if(this.spec=n,t instanceof Vt?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=Ze(t)),this.fromFrame=((a=this.spec.selector)===null||a===void 0?void 0:a.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:true}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((i=this._virtualNode)===null||i===void 0?void 0:i.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!p._audit.noHtml){var s;this.source=(s=this.spec.source)!==null&&s!==void 0?s:Yd(this._element);}return this});_n.prototype={get selector(){return this.spec.selector||[Ms(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Hi(this.element)]},get xpath(){return this.spec.xpath||[Xd(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}},_n.fromFrame=function(t,r,n){var a=_n.mergeSpecs(t,n);return new _n(n.element,r,a)},_n.mergeSpecs=function(t,r){return _e({},t,{selector:[].concat(Ee(r.selector),Ee(t.selector)),ancestry:[].concat(Ee(r.ancestry),Ee(t.ancestry)),xpath:[].concat(Ee(r.xpath),Ee(t.xpath)),nodeIndexes:[].concat(Ee(r.nodeIndexes),Ee(t.nodeIndexes)),fromFrame:true})},_n.setRunOptions=function(t){var r=t.elementRef,n=t.absolutePaths;Ye.set(Kd,{elementRef:r,absolutePaths:n});};var mr=_n;function Qw(e,t,r,n){return {isAsync:false,async:function(){return this.isAsync=true,function(i){i instanceof Error?n(i):(e.result=i,r(e));}},data:function(i){e.data=i;},relatedNodes:function(i){d.Node&&(i instanceof d.Node||i instanceof Vt?i=[i]:i=Rc(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof Vt&&(o=o.actualNode),o instanceof d.Node){var s=new mr(o);e.relatedNodes.push(s);}}));}}}var Os=Qw;function Wr(e){return Ps(e,new Map)}function Ps(e,t){var r,n;if(e===null||fe(e)!=="object"||(r=d)!==null&&r!==void 0&&r.Node&&e instanceof d.Node||(n=d)!==null&&n!==void 0&&n.HTMLCollection&&e instanceof d.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach(function(s){a.push(Ps(s,t));}),a}var i={};t.set(e,i);for(var o in e)i[o]=Ps(e[o],t);return i}var Ca=new Mc.CssSelectorParser;Ca.registerSelectorPseudos("not"),Ca.registerSelectorPseudos("is"),Ca.registerNestingOperators(">"),Ca.registerAttrEqualityMods("^","$","*","~");var Jd=Ca;function Ns(e,t){var r=Vi(t);return r.some(function(n){return qn(e,n)})}function ex(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function tx(e,t){return !t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function rx(e,t){return !t.attributes||t.attributes.every(function(r){var n=e.attr(r.key);return n!==null&&r.test(n)})}function nx(e,t){return !t.id||e.props.id===t.id}function ax(e,t){return !!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return !r.expressions.some(function(n){return qn(e,n)});if(r.name==="is")return r.expressions.some(function(n){return qn(e,n)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function Zd(e,t){return ex(e,t)&&tx(e,t)&&rx(e,t)&&nx(e,t)&&ax(e,t)}var Sa=(function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}})(),qs=/\\/g;function ix(e){if(e)return e.map(function(t){var r=t.name.replace(qs,""),n=(t.value||"").replace(qs,""),a,i;switch(t.operator){case "^=":i=new RegExp("^"+Sa(n));break;case "$=":i=new RegExp(Sa(n)+"$");break;case "~=":i=new RegExp("(^|\\s)"+Sa(n)+"(\\s|$)");break;case "|=":i=new RegExp("^"+Sa(n)+"(-|$)");break;case "=":a=function(s){return n===s};break;case "*=":a=function(s){return s&&s.includes(n)};break;case "!=":a=function(s){return n!==s};break;default:a=function(s){return s!==null};}return n===""&&/^[*$^]=$/.test(t.operator)&&(a=function(){return false}),a||(a=function(s){return s&&i.test(s)}),{key:r,value:n,type:typeof t.value>"u"?"attrExist":"attrValue",test:a}})}function ox(e){if(e)return e.map(function(t){return t=t.replace(qs,""),{value:t,regexp:new RegExp("(^|\\s)"+Sa(t)+"(\\s|$)")}})}function sx(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=Qd(r)),{name:t.name,expressions:r,value:t.value}})}function Qd(e){return e.map(function(t){for(var r=[],n=t.rule;n;)r.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:ix(n.attrs),classes:ox(n.classNames),pseudos:sx(n.pseudos)}),n=n.rule;return r})}function Vi(e){var t=Jd.parse(e);return t=t.selectors?t.selectors:[t],Qd(t)}function ef(e,t,r,n){if(!e)return false;for(var a=Array.isArray(t),i=a?t[r]:t,o=Zd(e,i);!o&&n&&e.parent;)e=e.parent,o=Zd(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&&ef(e.parent,t,r-1,i.combinator===" ");}return o}function qn(e,t,r){return ef(e,t,t.length-1,r)}function lx(e,t){for(;e;){if(Ns(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 ir=lx;function ji(){}function Bs(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function ux(){var e=[],t=0,r=0,n=ji,a=false,i,o=function(C){i=C,setTimeout(function(){i!=null&&An("Uncaught error (of queue)",i);},1);},s=o;function l(b){return function(C){e[b]=C,r-=1,!r&&n!==ji&&(a=true,n(e));}}function u(b){return n=ji,s(b),e}function c(){for(var b=e.length;t<b;t++){var C=e[t];try{C.call(null,l(t),u);}catch(I){u(I);}}}var m={defer:function(C){if(fe(C)==="object"&&C.then&&C.catch){var I=C;C=function(V,$){I.then(V).catch($);};}if(Bs(C),i===void 0){if(a)throw new Error("Queue already completed");return e.push(C),++r,c(),m}},then:function(C){if(Bs(C),n!==ji)throw new Error("queue `then` already set");return i||(n=C,r||(a=true,n(e))),m},catch:function(C){if(Bs(C),s!==o)throw new Error("queue `catch` already set");return i?(C(i),i=null):s=C,m},abort:u};return m}var Ir=ux,Bn,Hn,Hs=d.crypto||d.msCrypto;if(!Hn&&Hs&&Hs.getRandomValues){var tf=new Uint8Array(16);Hn=function(){return Hs.getRandomValues(tf),tf};}if(!Hn){var rf=new Array(16);Hn=function(){for(var t=0,r;t<16;t++)(t&3)===0&&(r=Math.random()*4294967296),rf[t]=r>>>((t&3)<<3)&255;return rf};}for(var nf=typeof d.Buffer=="function"?d.Buffer:Array,Vs=[],af={},Vn=0;Vn<256;Vn++)Vs[Vn]=(Vn+256).toString(16).substr(1),af[Vs[Vn]]=Vn;function cx(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){a<16&&(t[n+a++]=af[i]);});a<16;)t[n+a++]=0;return t}function js(e,t){var r=t||0,n=Vs;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var ln=Hn(),dx=[ln[0]|1,ln[1],ln[2],ln[3],ln[4],ln[5]],of=(ln[6]<<8|ln[7])&16383,$s=0,zs=0;function sf(e,t,r){var n=t&&r||0,a=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:of,o=e.msecs!=null?e.msecs:new Date().getTime(),s=e.nsecs!=null?e.nsecs:zs+1,l=o-$s+(s-zs)/1e4;if(l<0&&e.clockseq==null&&(i=i+1&16383),(l<0||o>$s)&&e.nsecs==null&&(s=0),s>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");$s=o,zs=s,of=i,o+=122192928e5;var u=((o&268435455)*1e4+s)%4294967296;a[n++]=u>>>24&255,a[n++]=u>>>16&255,a[n++]=u>>>8&255,a[n++]=u&255;var c=o/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=c&255,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=i>>>8|128,a[n++]=i&255;for(var m=e.node||dx,b=0;b<6;b++)a[n+b]=m[b];return t||js(a)}function En(e,t,r){var n=t&&r||0;typeof e=="string"&&(t=e=="binary"?new nf(16):null,e=null),e=e||{};var a=e.random||(e.rng||Hn)();if(a[6]=a[6]&15|64,a[8]=a[8]&63|128,t)for(var i=0;i<16;i++)t[n+i]=a[i];return t||js(a)}Bn=En,Bn.v1=sf,Bn.v4=En,Bn.parse=cx,Bn.unparse=js,Bn.BufferClass=nf,p._uuid=sf();var fx=En,px=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function mx(e){var t=e.topic,r=e.channelId,n=e.message,a=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:a,keepalive:!!i,source:lf()};return n instanceof Error?o.error={name:n.name,message:n.message,stack:n.stack}:o.payload=n,JSON.stringify(o)}function hx(e){var t;try{t=JSON.parse(e);}catch{return}if(gx(t)){var r=t,n=r.topic,a=r.channelId,i=r.messageId,o=r.keepalive,s=fe(t.error)==="object"?vx(t.error):t.payload;return {topic:n,message:s,messageId:i,channelId:a,keepalive:!!o}}}function gx(e){return e!==null&&fe(e)==="object"&&typeof e.channelId=="string"&&e.source===lf()}function vx(e){var t=e.message||"Unknown error occurred",r=px.includes(e.name)?e.name:"Error",n=d[r]||Error;return e.stack&&(t+=`
423
+ `+e.stack.replace(e.message,"")),new n(t)}function lf(){var e="axeAPI",t="";return typeof p<"u"&&p._audit&&p._audit.application&&(e=p._audit.application),typeof p<"u"&&(t=p.version),e+"."+t}function Gs(e){cf(e),ut(d.parent===e,"Source of the response must be the parent window.");}function uf(e){cf(e),ut(e.parent===d,"Respondable target must be a frame in the current window");}function cf(e){ut(d!==e,"Messages can not be sent to the same window.");}var ka={};function bx(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;ut(!Object.prototype.hasOwnProperty.call(ka,e),"A replyHandler already exists for this message channel."),ka[e]={replyHandler:t,sendToParent:r};}function yx(e){return Object.prototype.hasOwnProperty.call(ka,e)?ka[e]:void 0}function wx(e){delete ka[e];}var $i=[];function Ws(){var e="".concat(En(),":").concat(En());return $i.includes(e)?Ws():($i.push(e),e)}function xx(e){return $i.includes(e)?false:($i.push(e),true)}function Us(e,t,r,n){if(r?Gs(e):uf(e),t.message instanceof Error&&!r)return p.log(t.message),false;var a=mx(_e({messageId:Ws()},t)),i=p._audit.allowedOrigins;return !i||!i.length?false:(typeof n=="function"&&bx(t.channelId,n,r),i.forEach(function(o){try{e.postMessage(a,o);}catch(s){throw s instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):s}}),true)}function Dx(e,t,r){if(!e.parent!==d)return p.log(t);try{Us(e,{topic:null,channelId:r,message:t,messageId:Ws(),keepalive:!0},!0);}catch(n){return p.log(n)}}function df(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:true;return function(a,i,o){var s={channelId:t,message:a,keepalive:i};Us(e,s,r,o);}}function Ax(e){var t=p._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function _x(e,t){var r=e.origin,n=e.data,a=e.source;try{var i=hx(n)||{},o=i.channelId,s=i.message,l=i.messageId;if(!Ax(r)||!xx(l))return;if(s instanceof Error&&a.parent!==d)return p.log(s),!1;try{if(i.topic){var u=df(a,o);Gs(a),t(i,u);}else Ex(a,i);}catch(c){Dx(a,c,o);}}catch(c){return p.log(c),false}}function Ex(e,t){var r=t.channelId,n=t.message,a=t.keepalive,i=yx(r)||{},o=i.replyHandler,s=i.sendToParent;if(o){s?Gs(e):uf(e);var l=df(e,r,s);!a&&r&&wx(r);try{o(n,a,l);}catch(u){p.log(u),l(u,a);}}}var Cx={open:function(t){if(typeof d.addEventListener=="function"){var r=function(a){_x(a,t);};return d.addEventListener("message",r,false),function(){d.removeEventListener("message",r,false);}}},post:function(t,r,n){return typeof d.addEventListener!="function"?false:Us(t,r,false,n)}};function ff(e){e.updateMessenger(Cx);}var zi,pf,Gi={};function Er(e,t,r,n,a){var i={topic:t,message:r,channelId:"".concat(En(),":").concat(En()),keepalive:n};return pf(e,i,a)}function Sx(e,t){var r=e.topic,n=e.message,a=e.keepalive,i=Object.prototype.hasOwnProperty.call(Gi,r)?Gi[r]:void 0;if(i)try{i(n,a,t);}catch(o){p.log(o),t(o,a);}}Er.updateMessenger=function(t){var r=t.open,n=t.post;ut(typeof r=="function","open callback must be a function"),ut(typeof n=="function","post callback must be a function"),zi&&zi();var a=r(Sx);a?(ut(typeof a=="function","open callback must return a cleanup function"),zi=a):zi=null,pf=n;},Er.subscribe=function(t,r){ut(typeof r=="function","Subscriber callback must be a function"),ut(!Object.prototype.hasOwnProperty.call(Gi,t),"Topic ".concat(t," is already registered to.")),Gi[t]=r;},Er.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d;return !!t.frameElement},ff(Er);function mf(e,t,r,n){var a,i,o=e.contentWindow,s=(a=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&a!==void 0?a:500;if(!o){An("Frame does not have a content window",e),r(null);return}if(s===0){hf(e,t,r,n);return}var l=setTimeout(function(){l=setTimeout(function(){t.debug?n(gf("No response from frame",e)):r(null);},0);},s);Er(o,"axe.ping",null,void 0,function(){clearTimeout(l),hf(e,t,r,n);});}function hf(e,t,r,n){var a,i,o=(a=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&a!==void 0?a:6e4,s=e.contentWindow,l=setTimeout(function(){n(gf("Axe in frame timed out",e));},o);Er(s,"axe.start",t,void 0,function(u){clearTimeout(l),u instanceof Error?n(u):r(u);});}function gf(e,t){var r;return p._tree&&(r=Ms(t)),new Error(e+": "+(r||t))}var Ta=null,Ra={update:function(t){ut(fe(t)==="object","serializer must be an object"),Ta=t;},toSpec:function(t){return Ra.dqElmToSpec(new mr(t))},dqElmToSpec:function(t,r){var n;return t instanceof mr?(r&&(t=kx(t,r)),typeof((n=Ta)===null||n===void 0?void 0:n.toSpec)=="function"?Ta.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var n;return typeof((n=Ta)===null||n===void 0?void 0:n.mergeSpecs)=="function"?Ta.mergeSpecs(t,r):mr.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return _e({},r,{nodes:Ra.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t?.map(function(r){var n=r.node,a=te(r,x);a.node=Ra.dqElmToSpec(n);for(var i=0,o=["any","all","none"];i<o.length;i++){var s=o[i];a[s]=a[s].map(function(l){var u=l.relatedNodes,c=te(l,S);return c.relatedNodes=u.map(Ra.dqElmToSpec),c});}return a})}},hr=Ra;function kx(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,i=t.selectors!==false||r;return e=new mr(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:i?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}function Tx(e){var t=[];return t.concat(e.any||[]).concat(e.all||[]).concat(e.none||[])}var Wi=Tx;function Rx(e,t,r){if(Array.isArray(e))return e.find(function(n){return n!==null&&fe(n)==="object"&&Object.hasOwn(n,t)&&n[t]===r})}var Fa=Rx;function Fx(e,t,r){e.forEach(function(n){n.node=hr.mergeSpecs(n.node,r);var a=Wi(n);a.forEach(function(i){i.relatedNodes=i.relatedNodes.map(function(o){return hr.mergeSpecs(o,r)});});});}function Ix(e,t){for(var r=t[0].node,n,a=0;a<e.length;a++){n=e[a].node;var i=vf(n.nodeIndexes,r.nodeIndexes);if(i>0||i===0&&r.selector.length<n.selector.length){e.splice.apply(e,[a,0].concat(Ee(t)));return}}e.push.apply(e,Ee(t));}function Mx(e){return !e||!e.results?null:Array.isArray(e.results)?e.results.length?e.results:null:[e.results]}function Lx(e,t){var r=[];return e.forEach(function(n){var a=Mx(n);if(!(!a||!a.length)){var i=Ox(n);a.forEach(function(o){o.nodes&&i&&Fx(o.nodes,t,i);var s=Fa(r,"id",o.id);if(!s)r.push(o);else if(o.nodes.length&&Ix(s.nodes,o.nodes),o.error){var l;(l=s.error)!==null&&l!==void 0||(s.error=o.error);}});}}),r.forEach(function(n){n.nodes&&n.nodes.sort(function(a,i){return vf(a.node.nodeIndexes,i.node.nodeIndexes)});}),r}function vf(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e?.length,t?.length),n=0;n<r;n++){var a=e?.[n],i=t?.[n];if(typeof a!="number"||isNaN(a))return n===0?1:-1;if(typeof i!="number"||isNaN(i))return n===0?-1:1;if(a!==i)return a-i}return 0}var Ui=Lx;function Ox(e){return e.frameElement?hr.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}function bf(e,t,r,n,a,i){t=_e({},t,{elementRef:false});var o=Ir(),s=e.frames;s.forEach(function(l){var u=l.node,c=te(l,E);o.defer(function(m,b){var C={options:t,command:r,parameter:n,context:c};function I(P){return m(P?{results:P,frameElement:u}:null)}mf(u,C,I,b);});}),o.then(function(l){a(Ui(l,t));}).catch(i);}function Ur(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 yf(){for(var e={},t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach(function(a){if(!(!a||fe(a)!=="object"||Array.isArray(a)))for(var i=0,o=Object.keys(a);i<o.length;i++){var s=o[i];!e.hasOwnProperty(s)||fe(a[s])!=="object"||Array.isArray(e[s])?e[s]=a[s]:e[s]=yf(e[s],a[s]);}}),e}var Xs=yf;function Px(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 Ys=Px,Nx=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];function qx(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Nx.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return true}return false}var Xi=qx,Ks={};yr(Ks,{createGrid:function(){return Oa},findElmsInContext:function(){return wf},findNearbyElms:function(){return ro},findUp:function(){return $n},findUpVirtual:function(){return jn},focusDisabled:function(){return ol},getComposedParent:function(){return jt},getElementByReference:function(){return ll},getElementCoordinates:function(){return Qs},getElementStack:function(){return tp},getModalDialog:function(){return Kf},getNodeGrid:function(){return to},getOverflowHiddenAncestors:function(){return Ma},getRootNode:function(){return Wt},getScrollOffset:function(){return Of},getTabbableElements:function(){return rp},getTargetRects:function(){return ao},getTargetSize:function(){return np},getTextElementStack:function(){return Cl},getViewportSize:function(){return Yi},getVisibleChildTextRects:function(){return El},hasContent:function(){return fo},hasContentVirtual:function(){return $a},hasLangText:function(){return kl},idrefs:function(){return Mr},insertedIntoFocusOrder:function(){return Wp},isCurrentPageLink:function(){return sl},isFixedPosition:function(){return Ki},isFocusable:function(){return Ot},isHTML5:function(){return Yp},isHiddenForEveryone:function(){return un},isHiddenWithCSS:function(){return d_},isInTabOrder:function(){return gr},isInTextBlock:function(){return Tl},isInert:function(){return no},isModalOpen:function(){return za},isMultiline:function(){return Jp},isNativelyFocusable:function(){return dl},isNode:function(){return x_},isOffscreen:function(){return Ji},isOpaque:function(){return F_},isSkipLink:function(){return Il},isVisible:function(){return N_},isVisibleOnScreen:function(){return or},isVisibleToScreenReaders:function(){return Et},isVisualContent:function(){return Sl},reduceToElementsBelowFloating:function(){return Zp},shadowElementsFromPoint:function(){return H_},urlPropsFromAttribute:function(){return W_},visuallyContains:function(){return Qp},visuallyOverlaps:function(){return Ml},visuallySort:function(){return ul}});function Bx(e){var t=e.getRootNode&&e.getRootNode()||h;return t===e&&(t=h),t}var Ia=Bx,Wt=Ia;function Hx(e){var t=e.context,r=e.value,n=e.attr,a=e.elm,i=a===void 0?"":a,o,s=Rt(r);return t.nodeType===9||t.nodeType===11?o=t:o=Wt(t),Array.from(o.querySelectorAll(i+"["+n+"="+s+"]"))}var wf=Hx;function Vx(e,t){var r;if(r=e.actualNode,!e.shadowId&&typeof e.actualNode.closest=="function"){var n=e.actualNode.closest(t);return n||null}do r=r.assignedSlot?r.assignedSlot:r.parentNode,r&&r.nodeType===11&&(r=r.host);while(r&&!On(r,t)&&r!==h.documentElement);return !r||!On(r,t)?null:r}var jn=Vx;function jx(e,t){return jn(Ze(e),t)}var $n=jx;function Js(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 xf=wt(function(t){var r=[];if(!t)return r;var n=t.getComputedStylePropertyValue("overflow");return n==="hidden"&&r.push(t),r.concat(xf(t.parent))}),Ma=xf,$x=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,zx=/(\w+)\((\d+)/;function Df(e){return ["style","script","noscript","template"].includes(e.props.nodeName)}function Af(e){return e.props.nodeName==="area"?false:e.getComputedStylePropertyValue("display")==="none"}function _f(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Ef(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return !!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Cf(e){return e.attr("aria-hidden")==="true"}function Sf(e){return e.getComputedStylePropertyValue("opacity")==="0"}function kf(e){var t=Kr(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return !!t&&(r===0||n===0)}function Tf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=e.getComputedStylePropertyValue("position");if(n==="fixed")return false;var a=Ma(e);if(!a.length)return false;var i=e.boundingClientRect;return a.some(function(o){if(n==="absolute"&&!Gx(e,o)&&o.getComputedStylePropertyValue("position")==="static")return false;var s=o.boundingClientRect;return s.width<2||s.height<2?true:!Js(i,s)})}function Rf(e){var t=e.getComputedStylePropertyValue("clip").match($x),r=e.getComputedStylePropertyValue("clip-path").match(zx);if(t&&t.length===5){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function Zs(e,t){var r=ir(e,"map");if(!r)return true;var n=r.attr("name");if(!n)return true;var a=Ia(e.actualNode);if(!a||a.nodeType!==9)return true;var i=ur(p._tree,'img[usemap="#'.concat(Rt(n),'"]'));return !i||!i.length?true:i.some(function(o){return !t(o)})}function Ff(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return false;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(n){return n.props.nodeName==="summary"});if(r===e)return false}return !e.parent.hasAttr("open")}function Gx(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 Wx=[Af,_f,Ef,Ff];function un(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=n===void 0?false:n;return e=ot(e).vNode,r?If(e,a):Mf(e,a)}var If=wt(function(t,r){return Df(t)?true:t.actualNode?!!(Wx.some(function(n){return n(t,{isAncestor:r})})||!t.actualNode.isConnected):false}),Mf=wt(function(t,r){return If(t,r)?true:t.parent?Mf(t.parent,true):false});function Lf(e){if(e.assignedSlot)return Lf(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var jt=Lf;function Ux(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 Of=Ux;function Xx(e){var t=Of(h),r=t.left,n=t.top,a=e.getBoundingClientRect();return {top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}}var Qs=Xx;function Yx(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return {width:e.innerWidth,height:e.innerHeight};if(r)return {width:r.clientWidth,height:r.clientHeight};var n=t.body;return {width:n.clientWidth,height:n.clientHeight}}var Yi=Yx;function Ki(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=ot(e),a=n.vNode;return a?r?Pf(a):Nf(a):false}var Pf=wt(function(t){return t.getComputedStylePropertyValue("position")==="fixed"}),Nf=wt(function(t){return Pf(t)?true:t.parent?Nf(t.parent):false});function Kx(e,t){for(e=jt(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return false;e=jt(e);}return true}function Jx(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return false;var n=ot(e),a=n.domNode;if(a){var i=h.documentElement,o=d.getComputedStyle(a),s=d.getComputedStyle(h.body||i).getPropertyValue("direction"),l=Ki(a),u=l?a.getBoundingClientRect():Qs(a);if(u.top===0&&u.bottom===0||u.left===0&&u.right===0)return false;if(u.bottom<=0&&(Kx(a,u.bottom)||o.position==="absolute"))return true;var c=Yi(d);if(l&&u.top>=c.height)return true;var m=Math.max(i.scrollWidth,c.width);return !!((l||s==="rtl")&&u.left>=m||(l||s==="ltr")&&u.right<=0)}}var Ji=Jx,Zx=[Sf,kf,Tf,Rf,Ji];function or(e){return e=ot(e).vNode,el(e)}var el=wt(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!Zs(t,el):un(t,{skipAncestors:true,isAncestor:r})||t.actualNode&&Zx.some(function(n){return n(t,{isAncestor:r})})?false:t.parent?el(t.parent,true):true});function tl(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new d.DOMRect(i,r,n-i,a-r)}function Zi(e,t){var r=e.x,n=e.y,a=t.top,i=t.right,o=t.bottom,s=t.left;return n>=a&&r<=i&&n<=o&&r>=s}var qf={};yr(qf,{getBoundingRect:function(){return tl},getIntersectionRect:function(){return Qi},getOffset:function(){return Hf},getRectCenter:function(){return La},hasVisualOverlap:function(){return rl},isPointInRect:function(){return Zi},rectHasMinimumSize:function(){return Xr},rectsOverlap:function(){return Js},splitRects:function(){return nl}});function Qi(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=n||a>=i?null:new d.DOMRect(r,a,n-r,i-a)}function La(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new d.DOMPoint(t+n/2,r+a/2)}var Bf=.05;function Xr(e,t){var r=t.width,n=t.height;return r+Bf>=e&&n+Bf>=e}function Hf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,n=ao(e),a=ao(t);return !n.length||!a.length?null:n.reduce(function(i,o){var s=La(o),l=it(a),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;if(Zi(s,c))return 0;var m=Qx(s,c),b=Vf(s,m);i=Math.min(i,b);}}catch($){l.e($);}finally{l.f();}var C=np(t);if(Xr(r*2,C))return i;var I=a.reduce(tl),P=La(I),V=Vf(s,P)-r;return Math.max(0,Math.min(i,V))},1/0)}function Qx(e,t){var r,n;return e.x<t.left?r=t.left:e.x>t.right?r=t.right:r=e.x,e.y<t.top?n=t.top:e.y>t.bottom?n=t.bottom:n=e.y,{x:r,y:n}}function Vf(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function rl(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top?false:ul(e,t)>0}function nl(e,t){var r=Array.isArray(e)?e:[e],n=it(t),a;try{var i=function(){var s=a.value;if(r=r.reduce(function(l,u){return l.concat(eD(u,s))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(n.s();!(a=n.n()).done;)i();}catch(o){n.e(o);}finally{n.f();}return r}function eD(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right,o=r<t.bottom&&a>t.top,s=n<t.right&&i>t.left,l=[];if(eo(t.top,r,a)&&s&&l.push({top:r,left:n,bottom:t.top,right:i}),eo(t.right,n,i)&&o&&l.push({top:r,left:t.right,bottom:a,right:i}),eo(t.bottom,r,a)&&s&&l.push({top:t.bottom,right:i,bottom:a,left:n}),eo(t.left,n,i)&&o&&l.push({top:r,left:n,bottom:a,right:t.left}),l.length===0){if(rD(e,t))return [];l.push(e);}return l.map(tD)}var eo=function(t,r,n){return t>r&&t<n};function tD(e){return new d.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}function rD(e,t){return e.top>=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var jf=0,nD=.1,$f=.2,zf=.3,al=0;function Oa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Ye.get("gridCreated")&&!r)return Ke.gridSize;if(Ye.set("gridCreated",true),!r){var n=Ze(h.documentElement);if(n||(n=new Ll(h.documentElement)),al=0,n._stackingOrder=[Uf(jf,al++,null)],t??(t=new il),Xf(t,n),Kr(n.actualNode)){var a=new il(n);n._subGrid=a;}}for(var i=h.createTreeWalker(e,d.NodeFilter.SHOW_ELEMENT,null,false),o=r?i.nextNode():i.currentNode;o;){var s=Ze(o);s&&s.parent?r=s.parent:o.assignedSlot?r=Ze(o.assignedSlot):o.parentElement?r=Ze(o.parentElement):o.parentNode&&Ze(o.parentNode)&&(r=Ze(o.parentNode)),s||(s=new p.VirtualNode(o,r)),s._stackingOrder=aD(s,r,al++);var l=sD(s,r),u=l?l._subGrid:t;if(Kr(s.actualNode)){var c=new il(s);s._subGrid=c;}var m=s.boundingClientRect;m.width!==0&&m.height!==0&&or(o)&&Xf(u,s),Xi(o)&&Oa(o.shadowRoot,u,s),o=i.nextNode();}return Ke.gridSize}function Gf(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||n!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return true;var a=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(a!=="none")return true;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return true;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return true;var s=e.getComputedStylePropertyValue("perspective");if(s&&s!=="none")return true;var l=e.getComputedStylePropertyValue("clip-path");if(l&&l!=="none")return true;var u=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(u!=="none")return true;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return true;var m=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(m!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return true;var b=e.getComputedStylePropertyValue("will-change");if(b==="transform"||b==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return true;var C=e.getComputedStylePropertyValue("contain");return !!(["layout","paint","strict","content"].includes(C)||n!=="auto"&&Wf(t))}function Wf(e){if(!e)return false;var t=e.getComputedStylePropertyValue("display");return ["flex","inline-flex","grid","inline-grid"].includes(t)}function aD(e,t,r){var n=t._stackingOrder.slice();if(Gf(e,t)){var a=n.findIndex(function(o){var s=o.stackLevel;return [jf,$f,zf].includes(s)});a!==-1&&n.splice(a,n.length-a);}var i=iD(e,t);return i!==null&&n.push(Uf(i,r,e)),n}function Uf(e,t,r){return {stackLevel:e,treeOrder:t,vNode:r}}function iD(e,t){var r=oD(e,t);return ["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?zf:e.getComputedStylePropertyValue("float")!=="none"?$f:Gf(e,t)?nD:null:parseInt(r)}function oD(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Wf(t)?"auto":e.getComputedStylePropertyValue("z-index")}function sD(e,t){for(var r=null,n=[e];t;){if(Kr(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Ze(t.actualNode.parentElement||t.actualNode.parentNode);}return n.forEach(function(a){return a._scrollRegionParent=r}),r}function Xf(e,t){var r=Ma(t);t.clientRects.forEach(function(n){var a,i=r.reduce(function(s,l){return s&&Qi(s,l.boundingClientRect)},n);if(i){(a=t._grid)!==null&&a!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(s){s.includes(t)||s.push(t);});}});}var il=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;_t(this,e),this.container=t,this.cells=[];}return lt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/Ke.gridSize)}},{key:"getCellFromPoint",value:function(r){var n,a,i=r.x,o=r.y;ut(this.boundaries,"Grid does not have cells added");var s=this.toGridIndex(o),l=this.toGridIndex(i);ut(Zi({y:s,x:l},this.boundaries),"Element midpoint exceeds the grid bounds");var u=(n=this.cells[s-this.cells._negativeIndex])!==null&&n!==void 0?n:[];return (a=u[l-u._negativeIndex])!==null&&a!==void 0?a:[]}},{key:"loopGridPosition",value:function(r,n){var a=r,i=a.left,o=a.right,s=a.top,l=a.bottom;this.boundaries&&(r=tl(this.boundaries,r)),this.boundaries=r,Yf(this.cells,s,l,function(u,c){Yf(u,i,o,function(m,b){n(m,{row:c,col:b});});});}},{key:"getGridPositionOfRect",value:function(r){var n=r.top,a=r.right,i=r.bottom,o=r.left,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return n=this.toGridIndex(n-s),a=this.toGridIndex(a+s-1),i=this.toGridIndex(i+s-1),o=this.toGridIndex(o-s),new d.DOMRect(o,n,a-o,i-n)}}])})();function Yf(e,t,r,n){var a;if((a=e._negativeIndex)!==null&&a!==void 0||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t;}for(var o=t-e._negativeIndex,s=r-e._negativeIndex,l=o;l<=s;l++){var u,c;(c=e[u=l])!==null&&c!==void 0||(e[u]=[]),n(e[l],l+e._negativeIndex);}}function to(e){Oa();var t=ot(e),r=t.vNode;return r._grid}function ro(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=to(e);if(!(n!=null&&(t=n.cells)!==null&&t!==void 0&&t.length))return [];var a=e.boundingClientRect,i=Ki(e),o=n.getGridPositionOfRect(a,r),s=[];return n.loopGridPosition(o,function(l){var u=it(l),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;m&&m!==e&&!s.includes(m)&&i===Ki(m)&&s.push(m);}}catch(b){u.e(b);}finally{u.f();}}),s}var lD=wt(function(){var t;if(!p._tree)return null;var r=qr(p._tree[0],"dialog[open]",function(a){var i=a.boundingClientRect,o=h.elementsFromPoint(i.left+1,i.top+1);return o.includes(a.actualNode)&&or(a)});if(!r.length)return null;var n=r.find(function(a){var i=a.boundingClientRect,o=h.elementsFromPoint(i.left-10,i.top-10);return o.includes(a.actualNode)});return n||((t=r.find(function(a){var i,o=(i=uD(a))!==null&&i!==void 0?i:{},s=o.vNode,l=o.rect;if(!s)return false;var u=h.elementsFromPoint(l.left+1,l.top+1);return !u.includes(s.actualNode)}))!==null&&t!==void 0?t:null)}),Kf=lD;function uD(e){Oa();var t=p._tree[0]._grid,r=new d.DOMRect(0,0,d.innerWidth,d.innerHeight);if(t)for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var i=0;i<a.length;i++){var o=a[i];if(o)for(var s=0;s<o.length;s++){var l=o[s],u=l.boundingClientRect,c=Qi(u,r);if(l.props.nodeName!=="html"&&l!==e&&l.getComputedStylePropertyValue("pointer-events")!=="none"&&c)return {vNode:l,rect:c}}}}}function no(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Jf(e,n):Zf(e,n)}var Jf=wt(function(t,r){if(t.hasAttr("inert"))return true;if(!r&&t.actualNode){var n=Kf();if(n&&!Ur(n,t))return true}return false}),Zf=wt(function(t,r){return Jf(t,r)?true:t.parent?Zf(t.parent,true):false}),cD=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function dD(e){return cD.includes(e)}function fD(e){var t=ot(e),r=t.vNode;if(dD(r.props.nodeName)&&r.hasAttr("disabled")||no(r))return true;for(var n=r.parent,a=[],i=false;n&&n.shadowId===r.shadowId&&!i&&(a.push(n),n.props.nodeName!=="legend");){if(n._inDisabledFieldset!==void 0){i=n._inDisabledFieldset;break}n.props.nodeName==="fieldset"&&n.hasAttr("disabled")&&(i=true),n=n.parent;}return a.forEach(function(o){return o._inDisabledFieldset=i}),i?true:r.props.nodeName!=="area"&&r.actualNode?un(r):false}var ol=fD,pD=/^\/\#/,mD=/^#[!/]/;function sl(e){var t,r=e.getAttribute("href");if(!r||r==="#")return false;if(pD.test(r))return true;var n=e.hash,a=e.protocol,i=e.hostname,o=e.port,s=e.pathname;if(mD.test(n))return false;if(r.charAt(0)==="#")return true;if(typeof((t=d.location)===null||t===void 0?void 0:t.origin)!="string"||d.location.origin.indexOf("://")===-1)return null;var l=d.location.origin+d.location.pathname,u;return i?u="".concat(a,"//").concat(i).concat(o?":".concat(o):""):u=d.location.origin,s?u+=(s[0]!=="/"?"/":"")+s:u+=d.location.pathname,u===l}function hD(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!sl(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=h.getElementById(r);return n||(n=h.getElementsByName(r),n.length?n[0]:null)}var ll=hD;function ul(e,t){Oa();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(typeof t._stackingOrder[n]>"u")return -1;if(typeof e._stackingOrder[n]>"u"||t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return -1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,i=t.actualNode;if(a.getRootNode&&a.getRootNode()!==i.getRootNode()){for(var o=[];a;)o.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;i&&!o.find(function(V){return V.root===i.getRootNode()});)i=i.getRootNode().host;if(a=o.find(function(V){return V.root===i.getRootNode()}).node,a===i)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=d.Node,l=s.DOCUMENT_POSITION_FOLLOWING,u=s.DOCUMENT_POSITION_CONTAINS,c=s.DOCUMENT_POSITION_CONTAINED_BY,m=a.compareDocumentPosition(i),b=m&l?1:-1,C=m&u||m&c,I=Qf(e),P=Qf(t);return I===P||C?b:P-I}function Qf(e){return e.getComputedStylePropertyValue("display").indexOf("inline")!==-1?2:ep(e)?1:0}function ep(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=ep(e.parent);return e._isFloated=r,r}function cl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:false,n=La(t),a=e.getCellFromPoint(n)||[],i=Math.floor(n.x),o=Math.floor(n.y),s=a.filter(function(u){return u.clientRects.some(function(c){var m=c.left,b=c.top;return i<Math.floor(m+c.width)&&i>=Math.floor(m)&&o<Math.floor(b+c.height)&&o>=Math.floor(b)})}),l=e.container;return l&&(s=cl(l._grid,l.boundingClientRect,true).concat(s)),r||(s=s.sort(ul).map(function(u){return u.actualNode}).concat(h.documentElement).filter(function(u,c,m){return m.indexOf(u)===c})),s}function gD(e){var t=to(e);if(!t)return [];var r=Ze(e).boundingClientRect;return cl(t,r)}var tp=gD;function vD(e){var t=ur(e,"*"),r=t.filter(function(n){var a=n.isFocusable,i=Nr(n.actualNode.getAttribute("tabindex"));return i!==null?a&&i>=0:a});return r}var rp=vD;function bD(e){var t=ot(e),r=t.vNode;if(!r||ol(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 !ur(r,"summary").length}return false}var dl=bD;function Ot(e){var t=ot(e),r=t.vNode;if(r.props.nodeType!==1||ol(r))return false;if(dl(r))return true;var n=Nr(r.attr("tabindex"));return n!==null}function gr(e){var t=ot(e),r=t.vNode;if(r.props.nodeType!==1)return false;var n=Nr(r.attr("tabindex"));return n<=-1?false:Ot(r)}var ao=wt(yD);function yD(e){var t=e.getComputedStylePropertyValue("display"),r=t==="inline"?e.clientRects:[e.boundingClientRect],n=ro(e).filter(function(i){return rl(e,i)&&i.getComputedStylePropertyValue("pointer-events")!=="none"&&!wD(e,i)});if(!n.length)return r;var a=n.map(function(i){var o=i.getComputedStylePropertyValue("display");return o==="inline"?i.clientRects:i.boundingClientRect}).flat(1/0);return nl(r,a)}function wD(e,t){return Ur(e,t)&&!gr(t)}var np=wt(xD);function xD(e,t){var r=ao(e);return DD(r,t)}function DD(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}var Pa={};yr(Pa,{accessibleText:function(){return Cn},accessibleTextVirtual:function(){return $t},autocomplete:function(){return kn},formControlValue:function(){return Lp},formControlValueMethods:function(){return yl},hasUnicode:function(){return Dl},isHumanInterpretable:function(){return _l},isIconLigature:function(){return Al},isValidAutocomplete:function(){return Vp},label:function(){return ZA},labelText:function(){return wl},labelVirtual:function(){return uo},nativeElementType:function(){return e_},nativeTextAlternative:function(){return Pp},nativeTextMethods:function(){return Op},removeUnicode:function(){return ja},sanitize:function(){return ze},subtreeText:function(){return fn},titleText:function(){return oo},unsupported:function(){return _p},visible:function(){return jp},visibleTextNodes:function(){return t_},visibleVirtual:function(){return Or}});function AD(e,t){e=e.actualNode||e;try{var r=Wt(e),n=[],a=e.getAttribute(t);if(a){a=Kt(a);for(var i=0;i<a.length;i++)n.push(r.getElementById(a[i]));}return n}catch{throw new TypeError("Cannot resolve id references for non-DOM nodes")}}var Mr=AD;function _D(e,t){var r=Ze(e);return $t(r,t)}var Cn=_D;function ED(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=ot(e),n=r.vNode;if(n?.props.nodeType!==1||n.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby"))return "";var a=Mr(n,"aria-labelledby").filter(function(i){return i});return a.reduce(function(i,o){var s=Cn(o,_e({inLabelledByContext:true,startNode:t.startNode||n},t));return i?"".concat(i," ").concat(s):s},"")}var Na=ED;function qa(e){var t=ot(e),r=t.vNode;return r?.props.nodeType!==1?"":r.attr("aria-label")||""}var CD={"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}},ap=CD,SD={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"]}},ip=SD,kD={"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"]}},TD=kD,RD={"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}},FD=RD,ID={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"]}},MD=ID,LD={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]},OD=LD,op={ariaAttrs:ap,ariaRoles:_e({},ip,TD,FD),htmlElms:MD,cssColors:OD},zn=_e({},op);function PD(e){Object.keys(zn).forEach(function(t){e[t]&&(zn[t]=Xs(zn[t],e[t]));});}function ND(){Object.keys(zn).forEach(function(e){zn[e]=op[e];});}var ct=zn;function qD(e){var t=ct.ariaRoles[e];return t?!!t.unsupported:false}var fl=qD;function BD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=n===void 0?false:n,i=ct.ariaRoles[e],o=fl(e);return !i||a&&o?false:r?true:i.type!=="abstract"}var Ba=BD;function HD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(e=e instanceof Vt?e:Ze(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Kt(i):[i],s=o.find(function(l){return !a&&l.substr(0,4)==="doc-"?false:Ba(l,{allowAbstract:n})});return s||null}var tt=HD;function VD(e){return Object.keys(ct.htmlElms).filter(function(t){var r=ct.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 pl=VD;function jD(){return Ye.get("globalAriaAttrs",function(){return Object.keys(ct.ariaAttrs).filter(function(e){return ct.ariaAttrs[e].global})})}var cn=jD;function $D(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var i=r[n].cells;t[n]=t[n]||[];for(var o=0,s=0,l=i.length;s<l;s++)for(var u=0;u<i[s].colSpan;u++){for(var c=i[s].getAttribute("rowspan"),m=parseInt(c)===0||i[s].rowspan===0?r.length:i[s].rowSpan,b=0;b<m;b++){for(t[n+b]=t[n+b]||[];t[n+b][o];)o++;t[n+b][o]=i[s];}o++;}}return t}var Yr=wt($D);function zD(e,t){var r,n;for(t||(t=Yr($n(e,"table"))),r=0;r<t.length;r++)if(t[r]&&(n=t[r].indexOf(e),n!==-1))return {x:n,y:r}}var io=wt(zD);function ml(e){var t=ot(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),i=tt(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if(i==="columnheader")return "col";if(i==="rowheader")return "row";if(a==="col"||a==="row")return a;if(r.props.nodeName!=="th")return false;if(!r.actualNode)return "auto";var o=Yr($n(n,"table")),s=io(n,o),l=o[s.y].every(function(c){return c.nodeName.toUpperCase()==="TH"});if(l)return "col";var u=o.map(function(c){return c[s.x]}).every(function(c){return c&&c.nodeName.toUpperCase()==="TH"});return u?"row":"auto"}function GD(e){return ["col","auto"].indexOf(ml(e))!==-1}var Gn=GD;function WD(e){return ["row","auto"].includes(ml(e))}var Wn=WD;function UD(e){return e?e.replace(/\r\n/g,`
424
+ `).replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""}var ze=UD,sp=function(){return Ye.get("sectioningContentSelector",function(){return pl("sectioning").map(function(t){return "".concat(t,":not([role])")}).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"})},lp=function(){return Ye.get("sectioningContentPlusMainSelector",function(){return sp()+" , main:not([role]), [role=main]"})};function hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,n=r===void 0?false:r;return !!(ze(Na(e))||ze(qa(e))||n&&e?.props.nodeType===1&&ze(e.attr("title")))}var XD={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return ir(t.parent,sp())&&!hl(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=ir(t,lp());return r?null:"contentinfo"},form:function(t){return hl(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=ir(t,lp());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),n=cn().find(function(a){return t.hasAttr(a)});return r&&!n&&!Ot(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var n=Mr(t.actualNode,"list").filter(function(a){return !!a})[0];r=n&&n.nodeName.toLowerCase()==="datalist";}switch(t.props.type){case "checkbox":return "checkbox";case "number":return "spinbutton";case "radio":return "radio";case "range":return "slider";case "search":return r?"combobox":"searchbox";case "button":case "image":case "reset":case "submit":return "button";case "text":case "tel":case "url":case "email":case "":return r?"combobox":"textbox";default:return "textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return hl(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=ir(t,"table"),n=tt(r);return ["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(Gn(t))return "columnheader";if(Wn(t))return "rowheader"},thead:"rowgroup",tr:"row",ul:"list"},gl=XD;function YD(e,t){var r=fe(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return !!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e}var Sn=YD;function KD(e,t){return Sn(!!$t(e),t)}var up=KD;function JD(e,t){var r=fe(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(n){return Sn(e(n),t[n])})}var vl=JD;function ZD(e,t){return e=ot(e).vNode,vl(function(r){return e.attr(r)},t)}var cp=ZD;function dp(e,t){return !!t(e)}function QD(e,t){return Sn(tt(e),t)}var fp=QD;function eA(e,t){return Sn(Lr(e),t)}var pp=eA;function tA(e,t){return e=ot(e).vNode,Sn(e.props.nodeName,t)}var mp=tA;function rA(e,t){return e=ot(e).vNode,vl(function(r){return e.props[r]},t)}var hp=rA;function nA(e,t){return Sn(Je(e),t)}var gp=nA,vp={hasAccessibleName:up,attributes:cp,condition:dp,explicitRole:fp,implicitRole:pp,nodeName:mp,properties:hp,semanticRole:gp};function bp(e,t){return e=ot(e).vNode,Array.isArray(t)?t.some(function(r){return bp(e,r)}):typeof t=="string"?Ns(e,t):Object.keys(t).every(function(r){if(!vp[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var n=vp[r],a=t[r];return n(e,a)})}var yp=bp;function aA(e,t){return yp(e,t)}var sr=aA;sr.hasAccessibleName=up,sr.attributes=cp,sr.condition=dp,sr.explicitRole=fp,sr.fromDefinition=yp,sr.fromFunction=vl,sr.fromPrimative=Sn,sr.implicitRole=pp,sr.nodeName=mp,sr.properties=hp,sr.semanticRole=gp;var Ha=sr;function iA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,n=r===void 0?false:r,a=ct.htmlElms[e.props.nodeName];if(!a)return {};if(!a.variant)return a;var i=a.variant,o=te(a,M);for(var s in i)if(!(!i.hasOwnProperty(s)||s==="default")){for(var l=i[s],u=l.matches,c=te(l,L),m=Array.isArray(u)?u:[u],b=0;b<m.length&&n;b++)if(m[b].hasOwnProperty("hasAccessibleName"))return a;if(Ha(e,u))for(var C in c)c.hasOwnProperty(C)&&(o[C]=c[C]);}for(var I in i.default)i.default.hasOwnProperty(I)&&typeof o[I]>"u"&&(o[I]=i.default[I]);return o}var dn=iA;function oA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,n=e instanceof Vt?e:Ze(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var a=n.props.nodeName,i=gl[a];if(!i&&r){var o=dn(n),s=o.chromiumRole;return s||null}return typeof i=="function"?i(n):i||null}var Lr=oA,sA={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 wp(e,t){var r=sA[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=tt(e.parent,t);return ["none","presentation"].includes(n)&&!Dp(e.parent)?n:n?null:wp(e.parent,t)}function xp(e,t){var r=t.chromium,n=te(t,N),a=Lr(e,{chromium:r});if(!a)return null;var i=wp(e,n);return i||a}function Dp(e){var t=cn().some(function(r){return e.hasAttr(r)});return t||Ot(e)}function lA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,n=te(t,q),a=ot(e),i=a.vNode;if(i.props.nodeType!==1)return null;var o=tt(i,n);return o?["presentation","none"].includes(o)&&Dp(i)?r?null:xp(i,n):o:r?null:xp(i,n)}function uA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,n=te(t,H),a=lA(e,n);return r&&["presentation","none"].includes(a)?null:a}var Je=uA,cA=["iframe"];function dA(e){var t=ot(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!sr(r,cA)&&["none","presentation"].includes(Je(r))?"":r.attr("title")}var oo=dA;function fA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof Vt?e:Ze(e),e.props.nodeType!==1)return false;var n=Je(e),a=ct.ariaRoles[n];return a&&a.nameFromContent?true:r?false:!a||["presentation","none"].includes(n)}var Ap=fA;function pA(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Mr(t,"aria-owns").filter(function(o){return !!o}).map(function(o){return p.utils.getNodeFromTree(o)}),a=n.filter(function(o,s){return n.indexOf(o)===s}),i=r.filter(function(o){return !a.includes(o)});return [].concat(Ee(i),Ee(a))}return Ee(r)}var Va=pA,_p={accessibleNameFromFieldValue:["progressbar"]};function Et(e){return e=ot(e).vNode,bl(e)}var bl=wt(function(t,r){return Cf(t)||no(t,{skipAncestors:true,isAncestor:r})?false:t.actualNode&&t.props.nodeName==="area"?!Zs(t,bl):un(t,{skipAncestors:true,isAncestor:r})?false:t.parent?bl(t.parent,true):true});function Ep(e,t,r){var n=ot(e),a=n.vNode,i=t?Et:or,o=!e.actualNode||e.actualNode&&i(e),s=a.children.map(function(l){var u=l.props,c=u.nodeType,m=u.nodeValue;if(c===3){if(m&&o)return m}else if(!r)return Ep(l,t)}).join("");return ze(s)}var Or=Ep,mA=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function hA(e){e=e instanceof Vt?e:Ze(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!mA.includes((e.attr("type")||"").toLowerCase())}var Cp=hA;function gA(e){e=e instanceof Vt?e:Ze(e);var t=e.props.nodeName;return t==="select"}var Sp=gA;function vA(e){var t=tt(e);return t==="textbox"}var kp=vA;function bA(e){var t=tt(e);return t==="listbox"}var Tp=bA;function yA(e){var t=tt(e);return t==="combobox"}var Rp=yA,wA=["progressbar","scrollbar","slider","spinbutton"];function xA(e){var t=tt(e);return wA.includes(t)}var Fp=xA,Ip=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],yl={nativeTextboxValue:AA,nativeSelectValue:_A,ariaTextboxValue:EA,ariaListboxValue:Mp,ariaComboboxValue:CA,ariaRangeValue:SA};function DA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,n=_p.accessibleNameFromFieldValue||[],a=Je(e);if(t.startNode===e||!Ip.includes(a)||n.includes(a))return "";var i=Object.keys(yl).map(function(s){return yl[s]}),o=i.reduce(function(s,l){return s||l(e,t)},"");return t.debug&&An(o||"{empty-value}",r,t),o}function AA(e){var t=ot(e),r=t.vNode;return Cp(r)&&r.props.value||""}function _A(e){var t=ot(e),r=t.vNode;if(!Sp(r))return "";var n=ur(r,"option"),a=n.filter(function(i){return i.props.selected});return a.length||a.push(n[0]),a.map(function(i){return Or(i)}).join(" ")||""}function EA(e){var t=ot(e),r=t.vNode,n=t.domNode;return kp(r)?!n||n&&!un(n)?Or(r,true):n.textContent:""}function Mp(e,t){var r=ot(e),n=r.vNode;if(!Tp(n))return "";var a=Va(n).filter(function(i){return Je(i)==="option"&&i.attr("aria-selected")==="true"});return a.length===0?"":$t(a[0],t)}function CA(e,t){var r=ot(e),n=r.vNode;if(!Rp(n))return "";var a=Va(n).filter(function(i){return Je(i)==="listbox"})[0];return a?Mp(a,t):""}function SA(e){var t=ot(e),r=t.vNode;if(!Fp(r)||!r.hasAttr("aria-valuenow"))return "";var n=+r.attr("aria-valuenow");return isNaN(n)?"0":String(n)}var Lp=DA;function kA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=$t.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,i=n.inControlContext,o=n.inLabelledByContext,s=Je(e),l=dn(e,{noMatchAccessibleName:true}),u=l.contentTypes;if(r(e,t)||e.props.nodeType!==1||u!=null&&u.includes("embedded")||Ip.includes(s)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Ap(e,{strict:a}))return "";if(!a){var c=!i&&!o;t=_e({subtreeDescendant:c},t);}return Va(e).reduce(function(m,b){return RA(m,b,t)},"")}var TA=pl("phrasing").concat(["#text"]);function RA(e,t,r){var n=t.props.nodeName,a=$t(t,r);return a?(TA.includes(n)||(a[0]!==" "&&(a+=" "),e&&e[e.length-1]!==" "&&(a=" "+a)),e+a):e}var fn=kA;function FA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=$t.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return "";t.startNode||(t.startNode=e);var n=_e({inControlContext:true},t),a=IA(e),i=ir(e,"label"),o;return i?(o=[].concat(Ee(a),[i.actualNode]),o.sort(Xl)):o=a,o.map(function(s){return Cn(s,n)}).filter(function(s){return s!==""}).join(" ")}function IA(e){if(!e.attr("id"))return [];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return wf({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var wl=FA,MA={submit:"Submit",image:"Submit",reset:"Reset",button:""},LA={valueText:function(t){return t.props.value||""},buttonDefaultText:function(t){return MA[t.props.type]||""},tableCaptionText:so.bind(null,"caption"),figureText:so.bind(null,"figcaption"),svgTitleText:so.bind(null,"title"),fieldsetLegendText:so.bind(null,"legend"),altText:xl.bind(null,"alt"),tableSummaryText:xl.bind(null,"summary"),titleText:oo,subtreeText:fn,labelText:wl,singleSpace:function(){return " "},placeholderText:xl.bind(null,"placeholder")};function xl(e,t){return t.attr(e)||""}function so(e,t,r){var n=t.actualNode;e=e.toLowerCase();var a=[e,n.nodeName.toLowerCase()].join(","),i=n.querySelector(a);return !i||i.nodeName.toLowerCase()!==e?"":Cn(i,r)}var Op=LA;function Pp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(Je(e)))return "";var n=OA(e),a=n.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&p.log(a||"{empty-value}",r,t),a}function OA(e){var t=dn(e,{noMatchAccessibleName:true}),r=t.namingMethods||[];return r.map(function(n){return Op[n]})}function Np(){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 qp(){return /[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Bp(){return /[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Hp(){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 PA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,i=false;return r&&(i||(i=us().test(e))),n&&(i||(i=Np().test(e)||Bp().test(e)||Hp().test(e))),a&&(i||(i=qp().test(e))),i}var Dl=PA;function Al(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!ze(n)||Dl(n,{emoji:true,nonBmp:true}))return false;var a=Ye.get("canvasContext",function(){return h.createElement("canvas").getContext("2d",{willReadFrequently:true})}),i=a.canvas,o=Ye.get("fonts",function(){return {}}),s=d.getComputedStyle(e.parent.actualNode),l=s.getPropertyValue("font-family");o[l]||(o[l]={occurrences:0,numLigatures:0});var u=o[l];if(u.occurrences>=r){if(u.numLigatures/u.occurrences===1)return true;if(u.numLigatures===0)return false}u.occurrences++;var c=30,m="".concat(c,"px ").concat(l);a.font=m;var b=n.charAt(0),C=a.measureText(b).width;if(C===0)return u.numLigatures++,true;if(C<30){var I=30/C;C*=I,c*=I,m="".concat(c,"px ").concat(l);}i.width=C,i.height=c,a.font=m,a.textAlign="left",a.textBaseline="top",a.fillText(b,0,0);var P=new Uint32Array(a.getImageData(0,0,C,c).data.buffer);if(!P.some(function(ae){return ae}))return u.numLigatures++,true;a.clearRect(0,0,C,c),a.fillText(n,0,0);var V=new Uint32Array(a.getImageData(0,0,C,c).data.buffer),$=P.reduce(function(ae,le,pe){return le===0&&V[pe]===0||le!==0&&V[pe]!==0?ae:++ae},0),G=n.split("").reduce(function(ae,le){return ae+a.measureText(le).width},0),Y=a.measureText(n).width,K=$/P.length,Q=1-Y/G;return K>=t&&Q>=t?(u.numLigatures++,true):false}function $t(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=HA(e,t),qA(e,t)||BA(e,t))return "";var r=[Na,qa,Pp,Lp,fn,NA,oo],n=r.reduce(function(a,i){return t.startNode===e&&(a=ze(a)),a!==""?a:i(e,t)},"");return t.debug&&p.log(n||"{empty-value}",e.actualNode,t),n}function NA(e){return e.props.nodeType!==3?"":e.props.nodeValue}function qA(e,t){return !e||e.props.nodeType!==1||t.includeHidden?false:!Et(e)}function BA(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!n?false:Al(e,a,i)}function HA(e,t){return t.startNode||(t=_e({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=_e({includeHidden:!Et(e)},t)),t}$t.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?true:(r.processed.push(t),false)};function VA(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(us(),"")),n&&(e=e.replace(Np(),"").replace(Bp(),"").replace(Hp(),"")),a&&(e=e.replace(qp(),"")),e}var ja=VA;function jA(e){return $A(e)||zA(e)||GA(e)||WA(e)?0:1}function $A(e){return ze(e).length===0}function zA(e){return e.length===1&&e.match(/\D/)}function GA(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function WA(e){var t=ja(e,{emoji:true,nonBmp:true,punctuations:true});return !ze(t)}var _l=jA,kn={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 UA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,n=r===void 0?false:r,a=t.stateTerms,i=a===void 0?[]:a,o=t.locations,s=o===void 0?[]:o,l=t.qualifiers,u=l===void 0?[]:l,c=t.standaloneTerms,m=c===void 0?[]:c,b=t.qualifiedTerms,C=b===void 0?[]:b,I=t.ignoredValues,P=I===void 0?[]:I;if(e=e.toLowerCase().trim(),i=i.concat(kn.stateTerms),i.includes(e)||e==="")return true;u=u.concat(kn.qualifiers),s=s.concat(kn.locations),m=m.concat(kn.standaloneTerms),C=C.concat(kn.qualifiedTerms);var V=e.split(/\s+/g);if(V[V.length-1]==="webauthn"&&(V.pop(),V.length===0)||!n&&(V[0].length>8&&V[0].substr(0,8)==="section-"&&V.shift(),s.includes(V[0])&&V.shift(),u.includes(V[0])&&(V.shift(),m=[]),V.length!==1))return false;var $=V[V.length-1];if(!P.includes($))return m.includes($)||C.includes($)}var Vp=UA;function XA(e){var t,r;return e.attr("aria-labelledby")&&(t=Mr(e.actualNode,"aria-labelledby"),r=t.map(function(n){var a=Ze(n);return a?Or(a):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=ze(r),r))?r:null}var lo=XA;function YA(e,t,r){return e=Ze(e),Or(e,t,r)}var jp=YA;function KA(e){var t,r,n;if(r=lo(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var a=Rt(e.attr("id"));if(n=Wt(e.actualNode),t=n.querySelector('label[for="'+a+'"]'),r=t&&jp(t,true),r)return r}return t=ir(e,"label"),r=t&&Or(t,true),r||null}var uo=KA;function JA(e){return e=Ze(e),uo(e)}var ZA=JA,QA=[{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"]}],e_=QA;function $p(e){var t=or(e),r=[];return e.children.forEach(function(n){n.actualNode.nodeType===3?t&&r.push(n):r=r.concat($p(n));}),r}var t_=$p,r_=wt(function(t){var r=Ze(t),n=r.boundingClientRect,a=[],i=Ma(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||ze(o.nodeValue)==="")){var s=n_(o);a_(s,n)||a.push.apply(a,Ee(zp(s,i)));}}),a.length?a:zp([n],i)}),El=r_;function n_(e){var t=h.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function a_(e,t){return e.some(function(r){var n=La(r);return !Zi(n,t)})}function zp(e,t){var r=[];return e.forEach(function(n){if(!(n.width<1||n.height<1)){var a=t.reduce(function(i,o){return i&&Qi(i,o.boundingClientRect)},n);a&&r.push(a);}}),r}function i_(e){var t=to(e);if(!t)return [];var r=El(e);return r.map(function(n){return cl(t,n)})}var Cl=i_,o_=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function s_(e){var t=ot(e),r=t.vNode,n=p.commons.aria.getExplicitRole(r);if(n)return o_.indexOf(n)!==-1;switch(r.props.nodeName){case "img":case "iframe":case "object":case "video":case "audio":case "canvas":case "svg":case "math":case "button":case "select":case "textarea":case "keygen":case "progress":case "meter":return true;case "input":return r.props.type!=="hidden";default:return false}}var Sl=s_,l_=["head","title","template","script","style","iframe","object","video","audio","noscript"];function co(e){return l_.includes(e.props.nodeName)?false:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Gp(e,t,r){return co(e)||Sl(e.actualNode)||!r&&!!lo(e)||!t&&e.children.some(function(n){return n.actualNode.nodeType===1&&Gp(n)})}var $a=Gp;function u_(e,t,r){return e=Ze(e),$a(e,t,r)}var fo=u_;function kl(e){return typeof e.children>"u"||co(e)?true:e.props.nodeType===1&&Sl(e)?!!p.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return !t.attr("lang")&&kl(t)&&!un(t)})}function c_(e){var t=Nr(e.getAttribute("tabindex"));return t>-1&&Ot(e)&&!dl(e)}var Wp=c_;function Up(e,t){var r=ot(e),n=r.vNode,a=r.domNode;return n?(n._isHiddenWithCSS===void 0&&(n._isHiddenWithCSS=Xp(a,t)),n._isHiddenWithCSS):Xp(a,t)}function Xp(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return false;var r=d.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var n=r.getPropertyValue("display");if(n==="none")return true;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!t||a.includes(i)&&t&&a.includes(t))return true;var o=jt(e);return o&&!a.includes(i)?Up(o,i):false}var d_=Up;function f_(e){var t=e.doctype;return t===null?false:t.name==="html"&&!t.publicId&&!t.systemId}var Yp=f_;function p_(e){var t;(e instanceof Vt||(t=d)!==null&&t!==void 0&&t.Node&&e instanceof d.Node)&&(e=p.commons.aria.getRole(e));var r=ct.ariaRoles[e];return r?.type||null}var Cr=p_,m_=["block","list-item","table","flex","grid"],h_=["inline-block","inline-flex","inline-grid"];function g_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noLengthCompare,n=t.includeInlineBlock,a=n===void 0?false:n,i=ot(e),o=i.vNode,s=i.domNode;if(Rl(s)||!a&&v_(o))return false;var l=b_(s),u="",c="",m=0;return Kp(l,function(b){if(b===l.actualNode)return true;if(m===2)return false;if(b.nodeType===3&&(u+=b.nodeValue),b.nodeType===1){var C=(b.nodeName||"").toUpperCase();b===s&&(m=1);var I=Rl(b);if((I||["BR","HR"].includes(C))&&(m===0?(u="",c=""):m=2),I||b.style.display==="none"||b.style.overflow==="hidden"||!["",null,"none"].includes(b.style.float)||!["",null,"relative"].includes(b.style.position))return false;if(Cr(b)==="widget")return c+=b.textContent,false}}),u=ze(u),r?u.length!==0:(c=ze(c),u.length>c.length)}var Tl=g_;function Rl(e){var t=ot(e),r=t.vNode,n=r.getComputedStylePropertyValue("display");return m_.includes(n)||n.substr(0,6)==="table-"}function v_(e){var t=e.getComputedStylePropertyValue("display");return h_.includes(t)}function Kp(e,t){t(e.actualNode)!==false&&e.children.forEach(function(r){return Kp(r,t)});}function b_(e){for(var t=jt(e);t&&!Rl(t);)t=jt(t);return Ze(t)}function y_(e){e=e||{};var t=e.modalPercent||.75;if(Ye.get("isModalOpen"))return Ye.get("isModalOpen");var r=qr(p._tree[0],"dialog, [role=dialog], [aria-modal=true]",or);if(r.length)return Ye.set("isModalOpen",true),true;for(var n=Yi(d),a=n.width*t,i=n.height*t,o=(n.width-a)/2,s=(n.height-i)/2,l=[{x:o,y:s},{x:n.width-o,y:s},{x:n.width/2,y:n.height/2},{x:o,y:n.height-s},{x:n.width-o,y:n.height-s}],u=l.map(function(C){return Array.from(h.elementsFromPoint(C.x,C.y))}),c=function(){var I=u[b].find(function(P){var V=d.getComputedStyle(P);return parseInt(V.width,10)>=a&&parseInt(V.height,10)>=i&&V.getPropertyValue("pointer-events")!=="none"&&(V.position==="absolute"||V.position==="fixed")});if(I&&u.every(function(P){return P.includes(I)}))return Ye.set("isModalOpen",true),{v:true}},m,b=0;b<u.length;b++)if(m=c(),m)return m.v;Ye.set("isModalOpen",void 0);}var za=y_;function Jp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n=0,a=0,i=it(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var s=o.value;if(!(s.height<=t))if(n>s.top+t)n=Math.max(n,s.bottom);else if(a===0)n=s.bottom,a++;else return !0}}catch(l){i.e(l);}finally{i.f();}return false}function w_(e){return e instanceof d.Node}var x_=w_,Fl="color.incompleteData",D_={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var n=Ye.get(Fl,function(){return {}});return r&&(n[t]=r),n[t]},get:function(t){var r=Ye.get(Fl);return r?.[t]},clear:function(){Ye.set(Fl,{});}},xt=D_;function A_(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],n=e.nodeName.toUpperCase();if(r.includes(n))return xt.set("bgColor","imgNode"),true;t=t||d.getComputedStyle(e);var a=t.getPropertyValue("background-image"),i=a!=="none";if(i){var o=/gradient/.test(a);xt.set("bgColor",o?"bgGradient":"bgImage");}return i}var po=A_,__=/^#[0-9a-f]{3,8}$/i,E_=/hsl\(\s*([-\d.]+)(rad|turn)/,Ga=(Xe=new WeakMap,at=new WeakMap,dt=new WeakMap,yt=new WeakMap,Qe=new WeakMap,Ve=new WeakMap,rr=new WeakSet,(function(){function e(t,r,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(_t(this,e),br(this,rr),Mt(this,Xe,void 0),Mt(this,at,void 0),Mt(this,dt,void 0),Mt(this,yt,void 0),Mt(this,Qe,void 0),Mt(this,Ve,void 0),t instanceof Ga){var i=t.r,o=t.g,s=t.b;this.r=i,this.g=o,this.b=s,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=n,this.alpha=a;}return lt(e,[{key:"r",get:function(){return Gt(Xe,this)},set:function(r){Tt(Xe,this,r),Tt(yt,this,Math.round(Un(r,0,1)*255));}},{key:"g",get:function(){return Gt(at,this)},set:function(r){Tt(at,this,r),Tt(Qe,this,Math.round(Un(r,0,1)*255));}},{key:"b",get:function(){return Gt(dt,this)},set:function(r){Tt(dt,this,r),Tt(Ve,this,Math.round(Un(r,0,1)*255));}},{key:"red",get:function(){return Gt(yt,this)},set:function(r){Tt(Xe,this,r/255),Tt(yt,this,Un(r,0,255));}},{key:"green",get:function(){return Gt(Qe,this)},set:function(r){Tt(at,this,r/255),Tt(Qe,this,Un(r,0,255));}},{key:"blue",get:function(){return Gt(Ve,this)},set:function(r){Tt(dt,this,r/255),Tt(Ve,this,Un(r,0,255));}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),n=Math.round(this.green).toString(16),a=Math.round(this.blue).toString(16);return "#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?n:"0"+n)+(this.blue>15.5?a:"0"+a)}},{key:"toJSON",value:function(){var r=this.red,n=this.green,a=this.blue,i=this.alpha;return {red:r,green:n,blue:a,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(E_,function(i,o,s){var l=o+s;switch(s){case "rad":return i.replace(l,S_(o));case "turn":return i.replace(l,k_(o))}});try{var n;"Prototype"in d&&"Version"in d.Prototype&&(n=Array.from,Array.from=jd.default);var a=new gt(r).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=a.r,this.g=a.g,this.b=a.b,this.alpha=+a.alpha;}catch{throw xt.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(__)||[6,8].includes(r.length)||this.parseString(r);}},{key:"parseColorFnString",value:function(r){this.parseString(r);}},{key:"getRelativeLuminance",value:function(){var r=this.r,n=this.g,a=this.b,i=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),o=n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4),s=a<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*s}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var n=r-this.getLuminosity();return tr(rr,this,C_).call(this,n).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var n=new Ga(this),a=[{name:"r",value:n.r},{name:"g",value:n.g},{name:"b",value:n.b}],i=a.sort(function(c,m){return c.value-m.value}),o=Ae(i,3),s=o[0],l=o[1],u=o[2];return u.value>s.value?(l.value=(l.value-s.value)*r/(u.value-s.value),u.value=r):l.value=u.value=0,s.value=0,n[u.name]=u.value,n[s.name]=s.value,n[l.name]=l.value,n}},{key:"clip",value:function(){var r=new Ga(this),n=r.getLuminosity(),a=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return a<0&&(r.r=n+(r.r-n)*n/(n-a),r.g=n+(r.g-n)*n/(n-a),r.b=n+(r.b-n)*n/(n-a)),i>1&&(r.r=n+(r.r-n)*(1-n)/(i-n),r.g=n+(r.g-n)*(1-n)/(i-n),r.b=n+(r.b-n)*(1-n)/(i-n)),r}}])})());function C_(e){var t=new Ga(this);return t.r+=e,t.g+=e,t.b+=e,t}var Ct=Ga;function Un(e,t,r){return Math.min(Math.max(t,e),r)}function S_(e){return e*180/Math.PI}function k_(e){return e*360}function T_(e){var t=new Ct;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r;}return t}var Tn=T_;function R_(e){var t=d.getComputedStyle(e);return po(e,t)||Tn(t).alpha===1}var F_=R_;function Il(e){if(!e.href)return false;var t=Ye.get("firstPageLink",I_);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:true}function I_(){var e;return d.location.origin?e=ur(p._tree,'a[href]:not([href^="javascript:"])').find(function(t){return !sl(t.actualNode)}):e=ur(p._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var M_=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,L_=/(\w+)\((\d+)/;function O_(e){var t=e.getPropertyValue("clip").match(M_),r=e.getPropertyValue("clip-path").match(L_);if(t&&t.length===5){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],i=parseInt(r[2],10);switch(a){case "inset":return i>=50;case "circle":return i===0;}}return false}function P_(e,t,r){var n=$n(e,"map");if(!n)return false;var a=n.getAttribute("name");if(!a)return false;var i=Wt(e);if(!i||i.nodeType!==9)return false;var o=ur(p._tree,'img[usemap="#'.concat(Rt(a),'"]'));return !o||!o.length?false:o.some(function(s){var l=s.actualNode;return mo(l,t,r)})}function mo(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Vt?e:Ze(e);e=a?a.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(n=d.Node)!==null&&n!==void 0?n:{},s=o.DOCUMENT_NODE,l=o.DOCUMENT_FRAGMENT_NODE,u=a?a.props.nodeType:e.nodeType,c=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&typeof a[i]<"u")return a[i];if(u===s)return true;if(["style","script","noscript","template"].includes(c))return false;if(e&&u===l&&(e=e.host),t){var m=a?a.attr("aria-hidden"):e.getAttribute("aria-hidden");if(m==="true")return false}if(!e){var b=a.parent,C=true;return b&&(C=mo(b,t,true)),a&&(a[i]=C),C}var I=d.getComputedStyle(e,null);if(I===null)return false;if(c==="area")return P_(e,t,r);if(I.getPropertyValue("display")==="none")return false;var P=parseInt(I.getPropertyValue("height")),V=parseInt(I.getPropertyValue("width")),$=Kr(e),G=$&&P===0,Y=$&&V===0,K=I.getPropertyValue("position")==="absolute"&&(P<2||V<2)&&I.getPropertyValue("overflow")==="hidden";if(!t&&(O_(I)||I.getPropertyValue("opacity")==="0"||G||Y||K)||!r&&(I.getPropertyValue("visibility")==="hidden"||!t&&Ji(e)))return false;var Q=e.assignedSlot?e.assignedSlot:e.parentNode,ae=false;return Q&&(ae=mo(Q,t,true)),a&&(a[i]=ae),ae}var N_=mo;function q_(e,t){for(var r=["fixed","sticky"],n=[],a=false,i=0;i<e.length;++i){var o=e[i];o===t&&(a=true);var s=d.getComputedStyle(o);if(!a&&r.indexOf(s.position)!==-1){n=[];continue}n.push(o);}return n}var Zp=q_;function Qp(e,t){var r=em(t);do{var n=em(e);if(n===r||n===t)return B_(e,t);e=n;}while(e);return false}function em(e){for(var t=Ze(e),r=t.parent;r;){if(Kr(r.actualNode))return r.actualNode;r=r.parent;}}function B_(e,t){var r=d.getComputedStyle(t),n=r.getPropertyValue("overflow");if(r.getPropertyValue("display")==="inline")return true;var a=Array.from(e.getClientRects()),i=t.getBoundingClientRect(),o={left:i.left,top:i.top,width:i.width,height:i.height};return (["scroll","auto"].includes(n)||t instanceof d.HTMLHtmlElement)&&(o.width=t.scrollWidth,o.height=t.scrollHeight),a.length===1&&n==="hidden"&&r.getPropertyValue("white-space")==="nowrap"&&(a[0]=o),a.some(function(s){return !(Math.ceil(s.left)<Math.floor(o.left)||Math.ceil(s.top)<Math.floor(o.top)||Math.floor(s.left+s.width)>Math.ceil(o.left+o.width)||Math.floor(s.top+s.height)>Math.ceil(o.top+o.height))})}function tm(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:h,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(n>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(a){return Wt(a)===r}).reduce(function(a,i){if(Xi(i)){var o=tm(e,t,i.shadowRoot,n+1);a=a.concat(o),a.length&&Qp(a[0],i)&&a.push(i);}else a.push(i);return a},[])}var H_=tm;function V_(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(n=h.createElement("a"),n.href=e.getAttribute(t));var a=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname),o=$_(i),s=o.pathname,l=o.filename;return {protocol:a,hostname:n.hostname,port:j_(n.port),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:z_(n.search),hash:G_(n.hash),filename:l}}}function j_(e){var t=["443","80"];return t.includes(e)?"":e}function $_(e){var t=e.split("/").pop();return !t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function z_(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=r[n],i=a.split("="),o=Ae(i,2),s=o[0],l=o[1],u=l===void 0?"":l;t[decodeURIComponent(s)]=decodeURIComponent(u);}return t}function G_(e){if(!e)return "";var t=/#!?\/?/g,r=e.match(t);if(!r)return "";var n=Ae(r,1),a=n[0];return a==="#"?"":e}var W_=V_;function U_(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,i={top:n-t.scrollTop,bottom:n-t.scrollTop+t.scrollHeight,left:a-t.scrollLeft,right:a-t.scrollLeft+t.scrollWidth};if(e.left>i.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.right<i.left&&e.right<r.left||e.bottom<i.top&&e.bottom<r.top)return false;var o=d.getComputedStyle(t);return e.left>r.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof d.HTMLBodyElement||t instanceof d.HTMLHtmlElement:true}var Ml=U_,rm=0,X_=(function(e){function t(r,n,a){var i;if(_t(this,t),i=Z(this,t),i.shadowId=a,i.children=[],i.actualNode=r,i.parent=n,n||(rm=0),i.nodeIndex=rm++,i._isHidden=null,i._cache={},i._isXHTML=_a(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),Eo().includes(o)||(o="text"),i._type=o;}return Ye.get("nodeMap")&&Ye.get("nodeMap").set(r,i),i}return De(t,e),lt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var n=this.actualNode,a=n.nodeType,i=n.nodeName,o=n.id,s=n.nodeValue;this._cache.props={nodeType:a,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:s},a===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate);}return this._cache.props}},{key:"attr",value:function(n){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(n)}},{key:"hasAttr",value:function(n){return typeof this.actualNode.hasAttribute!="function"?false:this.actualNode.hasAttribute(n)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var n;this.actualNode.attributes instanceof d.NamedNodeMap?n=this.actualNode.attributes:n=this.actualNode.cloneNode(false).attributes,this._cache.attrNames=Array.from(n).map(function(a){return a.name});}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(n){var a="computedStyle_"+n;return this._cache.hasOwnProperty(a)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=d.getComputedStyle(this.actualNode)),this._cache[a]=this._cache.computedStyle.getPropertyValue(n)),this._cache[a]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Ot(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=rp(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(n){return n.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(Vt),Ll=X_;function Y_(e){return (e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Kt=Y_,Rn=" [idsMap]";function nm(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some(function(l){return am(l)}))return;var o=new Set;t.forEach(function(l){var u,c=K_(l,n,a);c==null||(u=c.nodes)===null||u===void 0||u.forEach(function(m){c.isComplexSelector&&!qn(m,l)||o.add(m);});});var s=[];return o.forEach(function(l){return s.push(l)}),r&&(s=s.filter(r)),s.sort(function(l,u){return l.nodeIndex-u.nodeIndex})}}function K_(e,t,r){var n=e[e.length-1],a=null,i=e.length>1||!!n.pseudos||!!n.classes;if(am(n))a=t["*"];else {if(n.id){var o;if(!t[Rn]||!Object.hasOwn(t[Rn],n.id)||!((o=t[Rn][n.id])!==null&&o!==void 0&&o.length))return;a=t[Rn][n.id].filter(function(P){return P.shadowId===r});}if(n.tag&&n.tag!=="*"){var s;if(!((s=t[n.tag])!==null&&s!==void 0&&s.length))return;var l=t[n.tag];a=a?Ol(l,a):l;}if(n.classes){var u;if(!((u=t["[class]"])!==null&&u!==void 0&&u.length))return;var c=t["[class]"];a=a?Ol(c,a):c;}if(n.attributes)for(var m=0;m<n.attributes.length;m++){var b,C=n.attributes[m];if(C.type==="attrValue"&&(i=true),!((b=t["[".concat(C.key,"]")])!==null&&b!==void 0&&b.length))return;var I=t["[".concat(C.key,"]")];a=a?Ol(I,a):I;}}return {nodes:a,isComplexSelector:i}}function am(e){return e.tag==="*"&&!e.attributes&&!e.id&&!e.classes}function Ol(e,t){return e.filter(function(r){return t.includes(r)})}function ho(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t);}function im(e,t){e.props.nodeType===1&&(ho(e.props.nodeName,e,t),ho("*",e,t),e.attrNames.forEach(function(r){r==="id"&&(t[Rn]=t[Rn]||{},Kt(e.attr(r)).forEach(function(n){ho(n,e,t[Rn]);})),ho("[".concat(r,"]"),e,t);}));}var Pl;function Nl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:h.documentElement,t=arguments.length>1?arguments[1]:void 0;Pl=false;var r={};Ye.set("nodeMap",new WeakMap),Ye.set("selectorMap",r);var n=om(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Pl,n}function J_(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function ql(e,t,r){var n=new Ll(e,t,r);return im(n,Ye.get("selectorMap")),n}function go(e,t,r){var n=[];return e.forEach(function(a){var i=om(a,r,t);i&&n.push.apply(n,Ee(i));}),n}function om(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var i=e.nodeName.toLowerCase();if(Xi(e))return Pl=true,n=ql(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=go(a,n,t),[n];if(i==="content"&&typeof e.getDistributedNodes=="function")return a=Array.from(e.getDistributedNodes()),go(a,r,t);if(i==="slot"&&typeof e.assignedNodes=="function"){a=Array.from(e.assignedNodes()),a.length||(a=J_(e));d.getComputedStyle(e);return go(a,r,t)}if(e.nodeType===h.ELEMENT_NODE)return n=ql(e,r,t),a=Array.from(e.childNodes),n.children=go(a,n,t),[n];if(e.nodeType===h.TEXT_NODE)return [ql(e,r)]}function Z_(e){return e?e.trim().split("-")[0].toLowerCase():""}var Fn=Z_;function Q_(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var n=p._audit.data.failureSummaries[r];if(n&&typeof n.failureMessage=="function")return n.failureMessage(t[r].map(function(a){return a.message||""}))}}).filter(function(r){return r!==void 0}).join(`
374
425
 
375
- `)}var Bl=Q_;function Hl(){var e=p._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var sm=Ke.resultGroups;function Ua(e,t){var r=p.utils.aggregateResult(e);return sm.forEach(function(n){t.resultTypes&&!t.resultTypes.includes(n)&&(r[n]||[]).forEach(function(a){Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=[a.nodes[0]]);}),r[n]=(r[n]||[]).map(function(a){return a=Object.assign({},a),Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=a.nodes.map(function(i){if(fe(i.node)==="object"){var o=lm(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,e2(i,t),i})),sm.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function e2(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(n){return Array.isArray(n.relatedNodes)}).forEach(function(n){n.relatedNodes=n.relatedNodes.map(function(a){return lm(a,t)});});});}function lm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=hr.dqElmToSpec(e,t);var r={};if(p._audit.noHtml)r.html=null;else {var n;r.html=(n=e.source)!==null&&n!==void 0?n:"Undefined";}if(t.elementRef&&!e.fromFrame){var a;r.element=(a=e.element)!==null&&a!==void 0?a:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var t2=/\$\{\s?data\s?\}/g;function vo(e,t){if(typeof t=="string")return e.replace(t2,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=typeof t[r]>"u"?"":String(t[r]);e=e.replace(n,a);}return e}function um(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 vo(r,t)}return vo(e,t)}if(typeof e=="string")return vo(e,t);if(typeof t=="string"){var n=e[t];return vo(n,t)}var a=e.default||Hl();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),um(a,t)}}var Vl=um;function r2(e,t,r){var n=p._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return Vl(n.messages[t],r)}var n2=r2;function a2(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],i=e.enabled,o=e.options;return a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var bo=a2;function pn(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;return t&&fe(t)==="object"?t:fe(r)!=="object"?{}:{testEngine:{name:"axe-core",version:p.version},testRunner:{name:p._audit.brand},testEnvironment:i2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function i2(e){if(!e.navigator||fe(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=o2(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function o2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function cm(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&s2(e),size:l2(e),page:n}}function s2(e){var t=Nr(e.getAttribute("tabindex"));return t===null||t>=0}function l2(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r;}return {width:t,height:r}}function u2(e){if($l(e)){var t=" must be used inside include or exclude. It should not be on the same object.";mn(!Or(e,"fromFrames"),"fromFrames"+t),mn(!Or(e,"fromShadowDom"),"fromShadowDom"+t);}else if(wo(e))e={include:e,exclude:[]};else return {include:[h],exclude:[]};var r=dm(e.include);r.length===0&&r.push(h);var n=dm(e.exclude);return {include:r,exclude:n}}function dm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];jl(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=c2(e[r]);n&&t.push(n);}return t}function c2(e){return e instanceof d.Node?e:typeof e=="string"?[e]:(zl(e)?(f2(e),e=e.fromFrames):xo(e)&&(e=[e]),d2(e))}function d2(e){if(Array.isArray(e)){var t=[],r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(xo(a)&&(p2(a),a=a.fromShadowDom),typeof a!="string"&&!m2(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function f2(e){mn(Array.isArray(e.fromFrames),"fromFrames property must be an array"),mn(e.fromFrames.every(function(t){return !Or(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),mn(!Or(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function p2(e){mn(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),mn(e.fromShadowDom.every(function(t){return !Or(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),mn(e.fromShadowDom.every(function(t){return !Or(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function m2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function mn(e,t){ut(e,"Invalid context; ".concat(t,`
376
- See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function fm(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof d.Node)if(i.documentElement instanceof d.Node)r.push(e.flatTree[0]);else if(i.host instanceof d.Node){var o=Array.from(i.children).map(function(l){return Ze(l)});r.push.apply(r,Ee(o));}else r.push(Ze(i));else if(i&&i.length)if(i.length>1)h2(e,t,i);else {var s=Zl(i[0]);r.push.apply(r,Ee(s.map(function(l){return Ze(l)})));}}return r.filter(function(l){return l})}function h2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Zl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=cm(i,e),e.frames.push(o)),o[t].push(r);});}function yo(e,t){var r,n,a,i,o=this;e=Ur(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((n=e)===null||n===void 0?void 0:n.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((a=e)===null||a===void 0?void 0:a.focusable)=="boolean"?e.focusable:true,this.size=fe((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=u2(e),this.flatTree=t??Nl(y2(e)),this.exclude=e.exclude,this.include=e.include,this.include=fm(this,"include"),this.exclude=fm(this,"exclude"),Jl("frame, iframe",this).forEach(function(s){Ul(s,o)&&g2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=v2(this),this.frames.forEach(function(s){s.page=o.page;})),b2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Xl);}function g2(e,t){!Et(t)||Fa(e.frames,"node",t)||e.frames.push(cm(t,e));}function v2(e){var t=e.include;return t.length===1&&t[0].actualNode===h.documentElement}function b2(e){if(e.include.length===0&&e.frames.length===0){var t=Er.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function y2(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof d.Element)return i.ownerDocument.documentElement;if(i instanceof d.Document)return i.documentElement}return h.documentElement}function w2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new yo(e),n=r.frames;return n.map(function(a){var i=a.node,o=te(a,j);o.initiator=false;var s=Hi(i);return {frameSelector:s,frameContext:o}})}function pm(e){var t=p._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function x2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=d.getComputedStyle(e),i=mm(a,"overflow-x"),o=mm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function mm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Kr=wt(x2);function hm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Kr(r);return n&&t.push(n),t.concat(hm(r))},[])}function D2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,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(hm(h.body))}var A2=D2;function _2(){return Ur(ct)}function E2(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=n===void 0?false:n,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var m=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(m);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var gm=E2,lr;function C2(e){if(lr&&lr.parentNode)return lr.styleSheet===void 0?lr.appendChild(h.createTextNode(e)):lr.styleSheet.cssText+=e,lr;if(e){var t=h.head||h.getElementsByTagName("head")[0];return lr=h.createElement("style"),lr.type="text/css",lr.styleSheet===void 0?lr.appendChild(h.createTextNode(e)):lr.styleSheet.cssText=e,t.appendChild(lr),lr}}var S2=C2;function jl(e){return !!e&&fe(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Or(e,t){return !e||fe(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function vm(e){return $l(e)||wo(e)}function $l(e){return ["include","exclude"].some(function(t){return Or(e,t)&&wo(e[t])})}function wo(e){return typeof e=="string"||e instanceof d.Node||zl(e)||xo(e)||jl(e)}function zl(e){return Or(e,"fromFrames")}function xo(e){return Or(e,"fromShadowDom")}function bm(e,t){var r=Ze(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=d.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=bm(a,true);return r&&(r._isHidden=i),i}var k2=bm;function T2(e){var t,r,n=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!ct.htmlElms[n]}var Gl=T2;function Ul(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(c){return Wr(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Wr(c,e)});if(s.length===0)return true;var l=ym(o),u=ym(s);return Wr(u,l)}function ym(e){var t,r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Wr(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function Wl(e,t){return e.length!==t.length?false:e.every(function(r,n){var a=t[n];return Array.isArray(r)?r.length!==a.length?false:r.every(function(i,o){return a[o]===i}):r===a})}function R2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Xl=R2;function ot(e){return e instanceof Vt?{vNode:e,domNode:e.actualNode}:{vNode:Ze(e),domNode:e}}function F2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !n.includes(c)}),l=s.map(function(c,m){var b=[].concat(Ee(r),[m]),C=/^https?:\/\/|^\/\//i.test(c);return Kl(c,t,b,n,C)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var wm=F2;function I2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=M2(e);return i?wm(e,t,r,n,a):Kl(e.href,t,r,n,true)}function M2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Yl=I2;function L2(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new d.XMLHttpRequest;s.open("GET",e),s.timeout=Ke.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(l){if(l.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Yl(o.sheet,t,r,n,o.isCrossOrigin)})}var Kl=L2;function P2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Nr=P2,O2=(function(){function e(){if(d.performance&&d.performance)return d.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(a){var i;(i=d.performance)!==null&&i!==void 0&&i.mark&&d.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=d.performance)!==null&&s!==void 0&&s.measure){try{d.performance.measure(a,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,l=function(O){return Array.isArray(O)?O[O.length-1]:O},u=function(O){i._log("Measure "+O.name+" took "+O.duration+"ms");};if(!(!((o=d.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=d.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(d.performance.getEntriesByName("mark_axe_start"))||l(d.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var m=d.performance.getEntriesByType("measure").filter(function(I){return I.startTime>=c.startTime}),b=0;b<m.length;++b){var C=m[b];if(C.name===a){u(C);return}else a||u(C);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=d.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];d.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){An(a);}}})(),ft=O2;function xm(){if(h.elementsFromPoint)return h.elementsFromPoint;if(h.msElementsFromPoint)return h.msElementsFromPoint;var e=(function(){var a=h.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=h.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(h.head.appendChild(n);(o=h.elementFromPoint(a,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(h.documentElement)<u.length-1&&(u.splice(u.indexOf(h.documentElement),1),u.push(h.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return h.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(h.elementsFromPoint=xm());function N2(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Wa=N2;function Dm(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function q2(e,t,r){for(var n=Ye.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=Dm(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],m=null,b=null,C=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),I=false,O=0;O<C;O++){var V,$,G,Y=O<(((V=o.anyLevel)===null||V===void 0?void 0:V.length)||0)?o.anyLevel[O]:o.thisLevel[O-((($=o.anyLevel)===null||$===void 0?void 0:$.length)||0)];if((!Y[0].id||c.shadowId===o.parentShadowId)&&qn(c,Y[0]))if(Y.length===1)!I&&(!r||r(c))&&(s.push(c),I=true);else {var K=Y.slice(1);if([" ",">"].includes(K[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+Y[1].combinator);K[0].combinator===">"?(m=m||[]).push(K):(b=b||[]).push(K);}(!Y[0].id||c.shadowId===o.parentShadowId)&&(G=o.anyLevel)!==null&&G!==void 0&&G.includes(Y)&&(b=b||[]).push(Y);}for(c.children&&c.children.length&&(a.push(o),o=Dm(c.children,b,m,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function B2(e,t,r){e=Array.isArray(e)?e:[e];var n=Vi(t),a=nm(e,n,r);return a||q2(e,n,r)}var qr=B2;function H2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=V2(r);if(!n.length)return Promise.resolve();var a=h.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=gm(a);return j2(n,i).then(function(o){return _m(o)})}var Am=H2;function V2(e){var t=[],r=qr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:Ia(n.actualNode)}});return Wa(r,[])}function j2(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=$2(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],m=Promise.all(s.map(function(b,C){var I=[l,C];return Yl(b,u,I,c)}));r.push(m);}),Promise.all(r)}function _m(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(_m(r)):t.concat(r)},[])}function $2(e,t,r){var n;return e.nodeType===11&&t?n=z2(e,r):n=G2(e),W2(n)}function z2(e,t){return Array.from(e.children).filter(U2).reduce(function(r,n){var a=n.nodeName.toUpperCase(),i=a==="STYLE"?n.textContent:n,o=a==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function G2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Em(t.media.mediaText):false})}function U2(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a=t==="LINK"&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||a&&Em(e.media)}function Em(e){return e?!e.toUpperCase().includes("PRINT"):true}function W2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function X2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=qr(r,"video[autoplay], audio[autoplay]",function(a){var i=a.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(n.map(function(a){var i=a.actualNode;return Y2(i)}))}var Cm=X2;function Y2(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Sm(e){var t={cssom:Am,media:Cm};return km(e)?new Promise(function(r,n){var a=Tm(e),i=a.assets,o=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return z({},l,u)})})).then(function(l){var u=l.reduce(function(c,m){return _e({},c,m)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function K2(e){return fe(e)==="object"&&Array.isArray(e.assets)}function km(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:K2(e.preload)}function Tm(e){var t=Ke.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload||typeof e.preload=="boolean")return a;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=Wa(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function Do(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},n=Fa(p._audit.rules,"id",e.id)||{};e.tags=Ur(n.tags||[]);var a=Rm(t,true,n),i=Rm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Ys(e,Ur(r[e.id]||{}));}function J2(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:Hl()}if(e&&e.missingData)try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function Rm(e,t,r){return function(n){var a=e[n.id]||{},i=a.messages||{},o=Object.assign({},a);delete o.messages,!r.reviewOnFail&&n.result===void 0?(fe(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=J2(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Vl(o.message,n.data)),Ys(n,o);}}function Z2(e,t){return qr(e,t)}var ur=Z2;function Fm(e,t){var r,n,a=p._audit&&p._audit.tagExclude?p._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function Q2(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?Fm(e,n.values):Fm(e,[])}var Im=Q2;function Mm(e,t){if(!t)return e;var r=e.cloneNode(false),n=ha(r);if(r.nodeType===1){var a=r.outerHTML;r=Ye.get(a,function(){return Lm(r,n,e,t)});}else r=Lm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Mm(i,t));}),r}function Lm(e,t,r,n){return t&&(e=h.createElement(e.nodeName),Array.from(t).forEach(function(a){eE(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function eE(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:Pn(e,r[t])}function Jl(e,t){var r=[],n;if(p._selectCache)for(var a=0,i=p._selectCache.length;a<i;a++){var o=p._selectCache[a];if(o.selector===e)return o.result}for(var s=tE(t.include),l=rE(t),u=0;u<s.length;u++){n=s[u];var c=qr(n,e,l);r=nE(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function tE(e){return e.reduce(function(t,r){return (!t.length||!Wr(t[t.length-1],r))&&t.push(r),t},[])}function rE(e){return !e.exclude||e.exclude.length===0?null:function(t){return Ul(t,e)}}function nE(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function Ao(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(fe(e)!=="object"||e===null)return {message:String(e)};var r={},n=it(Ke.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(fe(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?Ao(e.cause,t+1):"..."),r}var aE=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return _t(this,t),a=Z(this,t),a.name=(n=i.name)!==null&&n!==void 0?n:"RuleError",a.message=i.message,a.stack=i.stack,i.cause&&(a.cause=Ao(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return De(t,e),lt(t)})(P(Error)),_o=aE;function iE(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function oE(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return iE(r,n,a)});}var sE=oE;function lE(e){var t=Array.isArray(e)?Ee(e):[e];return Pm(t,h)}function Pm(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Pm(e,n.shadowRoot):null}function Zl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h,r=Array.isArray(e)?Ee(e):[e];return e.length===0?[]:Om(r,t)}function Om(e,t){var r=T(e),n=r[0],a=vn(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=it(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,Ee(Om(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function uE(){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 Eo=uE,Nm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 cE(e){for(var t=Nm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var n=e.charCodeAt(r)-96;if(t=t[n],!t)return false}return true}function qm(e){e=Array.isArray(e)?e:Nm;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(qm(r).map(function(i){return a+i})):t.push(a);}),t}var Co=cE,dE=(function(e){function t(r){var n;return _t(this,t),n=Z(this,t),n._props=pE(r),n._attrs=mE(r),n}return De(t,e),lt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var a;return (a=this._attrs[n])!==null&&a!==void 0?a:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Vt),Ql={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Bm={},fE=Object.keys(Ql);fE.forEach(function(e){Bm[Ql[e]]=e;});function pE(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Bm[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Ql[e.nodeName])!==null&&r!==void 0?r:1;ut(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),ut(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Eo().includes(o)||(o="text"));var s=_e({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function mE(e){var t=e.attributes,r=t===void 0?{}:t,n={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(a,i){var o=r[i];if(ut(fe(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=n[i]||i;a[s]=o!==null?String(o):null;}return a},{})}var Hm=dE;function hE(e,t){if(e=e||function(){},t=t||p.log,!p._audit)throw new Error("No audit configured");var r=p.utils.queue(),n=[];Object.keys(p.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{p.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=p.utils.getFlattenedTree(h.body);p.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return p.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var Vm=hE,Xa={},jm;function $m(e){return Xa.hasOwnProperty(e)}function eu(e){return typeof e=="string"&&Xa[e]?Xa[e]:typeof e=="function"?e:jm}function gE(e,t,r){Xa[e]=t,r&&(jm=t);}function vE(e){var t=p._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=Ae(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=p.version.split("-"),C=Ae(b,2),I=C[0],O=C[1],V=I.split(".").map(Number),$=Ae(V,3),G=$[0],Y=$[1],K=$[2];if(u!==G||Y<c||Y===c&&K<m||u===G&&c===Y&&m===K&&o&&o!==O)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(p.version))}if(e.reporter&&(typeof e.reporter=="function"||$m(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(ae){if(!ae.id)throw new TypeError("Configured check ".concat(JSON.stringify(ae)," is invalid. Checks must be an object with at least an id property"));t.addCheck(ae);});}var Q=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(ae){if(!ae.id)throw new TypeError("Configured rule ".concat(JSON.stringify(ae)," is invalid. Rules must be an object with at least an id property"));Q.push(ae.id),t.addRule(ae);});}if(e.disableOtherRules&&t.rules.forEach(function(ae){Q.includes(ae.id)===false&&(ae.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&&OD(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(Ke.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var bE=vE;function yE(e){Er.updateMessenger(e);}function wE(e){e=e||[];var t=e.length?p._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):p._audit.rules,r=p._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var xE=wE;function DE(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&$a(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=jt(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var AE=DE,zm={};yr(zm,{getAllCells:function(){return tu},getCellPosition:function(){return io},getHeaders:function(){return So},getScope:function(){return ml},isColumnHeader:function(){return Gn},isDataCell:function(){return Um},isDataTable:function(){return ko},isHeader:function(){return TE},isRowHeader:function(){return Un},toArray:function(){return Yr},toGrid:function(){return Yr},traverse:function(){return ru}});function _E(e){var t,r,n,a,i=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)i.push(e.rows[t].cells[r]);return i}var tu=_E;function Gm(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Un:Gn,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,m=t.x+o,b=e==="row"?t.y:0,C=e==="row"?0:t.x,I,O=[],V=c;V>=b&&!I;V--)for(var $=m;$>=C;$--){var G=r[V]?r[V][$]:void 0;if(G){var Y=p.utils.getNodeFromTree(G);if(Y[n]){I=Y[n];break}O.push(G);}}return I=(I||[]).concat(O.filter(a)),O.forEach(function(K){var Q=p.utils.getNodeFromTree(K);Q[n]=I;}),I}function EE(e,t){if(e.getAttribute("headers")){var r=Mr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Yr($n(e,"table")));var n=io(e,t),a=Gm("row",n,t),i=Gm("col",n,t);return [].concat(a,i).reverse()}var So=EE;function CE(e){if(!e.children.length&&!e.textContent.trim())return false;var t=tt(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Um=CE;function SE(e){var t=tt(e);if((t==="presentation"||t==="none")&&!Pt(e))return false;if(e.getAttribute("contenteditable")==="true"||$n(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||Cr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,n=e.children.length;r<n;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var a=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,m=o.cells.length;c<m;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(tt(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var b=e.rows[Math.ceil(i/2)];if(b.cells.length===1&&b.cells[0].colSpan===1)return false;if(b.cells.length>=5||l)return true;for(var C,I,O=0;O<i;O++){if(o=e.rows[O],C&&C!==d.getComputedStyle(o).getPropertyValue("background-color")||(C=d.getComputedStyle(o).getPropertyValue("background-color"),I&&I!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;I=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Qs(e).width>Yi(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var ko=SE;function kE(e){if(Gn(e)||Un(e))return true;if(e.getAttribute("id")){var t=Rt(e.getAttribute("id"));return !!h.querySelector('[headers~="'.concat(t,'"]'))}return false}var TE=kE;function Wm(e,t,r,n){var a,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof n=="function"&&(a=n(i,t,r),a===true)?[i]:(a=Wm(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function RE(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return Wm(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var ru=RE,Xm={};yr(Xm,{allowedAttr:function(){return Ym},arialabelText:function(){return qa},arialabelledbyText:function(){return Na},getAccessibleRefs:function(){return nu},getElementUnallowedRoles:function(){return Zm},getExplicitRole:function(){return tt},getImplicitRole:function(){return Lr},getOwnedVirtual:function(){return Va},getRole:function(){return Je},getRoleType:function(){return Cr},getRolesByType:function(){return jE},getRolesWithNameFromContents:function(){return GE},implicitNodes:function(){return WE},implicitRole:function(){return Lr},isAccessibleRef:function(){return To},isAriaRoleAllowedOnElement:function(){return Jm},isComboboxPopup:function(){return iu},isUnsupportedRole:function(){return fl},isValidRole:function(){return Ba},label:function(){return r1},labelVirtual:function(){return lo},lookupTable:function(){return e1},namedFromContents:function(){return Ap},requiredAttr:function(){return n1},requiredContext:function(){return ou},requiredOwned:function(){return su},validateAttr:function(){return Ro},validateAttrValue:function(){return a1}});function FE(e){var t=ct.ariaRoles[e],r=Ee(cn());return t&&(t.allowedAttrs&&r.push.apply(r,Ee(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Ee(t.requiredAttrs))),r}var Ym=FE,IE=/^idrefs?$/;function Km(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e]);}for(var a=0;a<r.length;++a){var i=r[a],o=ze(e.getAttribute(i)||"");if(o){var s=it(Kt(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(m){s.e(m);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Km(e.childNodes[c],t,r);}function ME(e){var t;e=e.actualNode||e;var r=Ut(e);r=r.documentElement||r;var n=Ye.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(ct.ariaAttrs).filter(function(o){var s=ct.ariaAttrs[o].type;return IE.test(s)});Km(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var nu=ME;function LE(e,t){var r=e instanceof Vt?e:Ze(e),n=Lr(r),a=dn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Jm=LE,PE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],OE={header:"banner",footer:"contentinfo"};function NE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Kt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Ba(n)})}function qE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=ot(e),n=r.vNode;if(!Gl(n))return [];var a=n.props.nodeName,i=Lr(n)||OE[a],o=NE(n);return o.filter(function(s){return !BE(s,n,t,i)})}function BE(e,t,r,n){return r&&e===n?true:PE.includes(e)&&Cr(e)!==n?false:Jm(t,e)}var Zm=qE;function HE(e){return Object.keys(ct.ariaRoles).filter(function(t){return ct.ariaRoles[t].type===e})}var Xn=HE;function VE(e){return Xn(e)}var jE=VE;function $E(){return Ye.get("ariaRolesNameFromContent",function(){return Object.keys(ct.ariaRoles).filter(function(e){return ct.ariaRoles[e].nameFromContent})})}var au=$E;function zE(){return au()}var GE=zE,Qm=function(t){return t===null},Wt=function(t){return t!==null},Jr={};Jr.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}},Jr.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"],Jr.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:Wt}}]},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:Wt}}]},"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:Wt}}]},"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:Wt}}]},"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:Wt}}]},"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:Wt}}]},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:Wt}}]},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:Wt}}]},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:Wt}}]},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:Wt}}]},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:Wt}}]},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:Wt}}]},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:Wt}}]},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:Wt}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Jr.implicitHtmlRole=gl,Jr.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:Wt}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Wt}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof p.AbstractVirtualNode||(t=p.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"]}],Jr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Qm}},{nodeName:"img",attributes:{alt:Qm}},{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"]}],Jr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=p.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=p.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},Jr.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 e1=Jr;function UE(e){var t=null,r=e1.role[e];return r&&r.implicit&&(t=Ur(r.implicit)),t}var WE=UE;function XE(e){return !!nu(e).length}var To=XE;function iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Je(e);if(r??(r=ap["aria-haspopup"].values),!r.includes(n))return false;var a=YE(e);if(t1(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=Ia(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
377
- [aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(t1)}var t1=function(t){return t&&Je(t)==="combobox"};function YE(e){for(;e=e.parent;)if(Je(e,{noPresentational:true})!==null)return e;return null}function KE(e){return e=Ze(e),lo(e)}var r1=KE;function JE(e){var t=ct.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Ee(t.requiredAttrs)}var n1=JE;function ZE(e){var t=ct.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Ee(t.requiredContext)}var ou=ZE;function QE(e){var t=ct.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Ee(t.requiredOwned)}var su=QE;function eC(e,t){e=e instanceof Vt?e:Ze(e);var r,n,a=e.attr(t),i=ct.ariaAttrs[t];if(!i||i.allowEmpty&&(!a||a.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(a.toLowerCase());case "nmtoken":return typeof a=="string"&&i.values.includes(a.toLowerCase());case "nmtokens":return n=Kt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=Ut(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Mr(e,t).some(function(l){return !!l});case "string":return a.trim()!=="";case "decimal":return r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}}var a1=eC;function tC(e){var t=ct.ariaAttrs[e];return !!t}var Ro=tC;function rC(e){var t=tu(e),r=this,n=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(n=n.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(n=n.concat(u.split(/\s+/)));});var a=t.filter(function(s){return ze(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(tt(s))!==-1}),i=Yr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=io(s,i),u=false;Gn(s)&&(u=ru("down",l,i).find(function(c){return !Gn(c)&&So(c,i).includes(s)})),!u&&Un(s)&&(u=ru("right",l,i).find(function(c){return !Un(c)&&So(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var nC=rC,Ya=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],i1=Ya[0],o1=Ya[1],s1=Ya[2],lu=Ya[3];function aC(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=Je(o));}var l=z(z(z(z({},s1,new Set),i1,new Set),o1,new Set),lu,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!Et(b))){var C=b.getAttribute("headers").trim();if(!C){l[lu].add(b);return}var I=b.getAttribute("id"),O=Kt(C);O.forEach(function(V){I&&V===I?l[s1].add(b):r[V]?["columnheader","rowheader"].includes(r[V])||l[o1].add(b):l[i1].add(b);});}});var u=it(Ya),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;if(l[m].size>0)return this.relatedNodes(Ee(l[m])),m===lu?void 0:(this.data({messageKey:m}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function iC(e){var t=[],r=tu(e),n=Yr(e);return r.forEach(function(a){if(fo(a)&&Um(a)&&!r1(a)){var i=So(a,n).some(function(o){return o!==null&&!!fo(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var oC=iC;function sC(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var lC=sC,uC=cC;function cC(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(dC),i=a?ze(fn(a)):false;return !i||!n?false:ze(n).toLowerCase()===ze(i).toLowerCase()}}function dC(e){return e.props.nodeName==="caption"}function fC(e){return Yp(h)?e.nodeName.toUpperCase()==="TH":true}var pC=fC;function mC(e){var t=Yr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(n,a,i){return n||a!==r[i+1]&&r[i+1]!==void 0},false)}var hC=mC;function gC(e,t,r){if(r.children){var n=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!n)return this.data({messageKey:"noTitle"}),false;try{var a=fn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var vC=gC,l1={};yr(l1,{getAriaRolesByType:function(){return Xn},getAriaRolesSupportingNameFromContent:function(){return au},getElementSpec:function(){return dn},getElementsByContentType:function(){return pl},getGlobalAriaAttrs:function(){return cn},implicitHtmlRoles:function(){return gl}});function bC(e,t,r){var n=tt(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var a=Je(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=cn().some(function(l){return r.hasAttr(l)}),o=Pt(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function yC(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),n==="input"&&["submit","reset"].includes(a)?i===null:false}var wC=yC;function xC(e){return or(e)}var DC=xC;function AC(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Jp(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var m=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(m))return this.data(_e({value:m},c)),true;var b=_C(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(_e({value:b},c)),typeof b=="number")return (typeof a!="number"||b>=a)&&(typeof i!="number"||b<=i)}function _C(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=d.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return a;var s=parseFloat(o);if(n)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function EC(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var CC=EC;function SC(){}var kC=SC;function TC(){var e=h.title;return !!ze(e)}var RC=TC;function FC(e,t){var r=t.cssProperties.filter(function(n){if(e.style.getPropertyPriority(n)==="important")return n});return r.length>0?(this.data(r),false):true}var IC=FC;function MC(e,t,r){try{return !!ze(Na(r))}catch{return}}var LC=MC;function PC(e,t,r){return !!ze(qa(r))}var OC=PC;function NC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Ut(e),n=Array.from(r.querySelectorAll('[id="'.concat(Rt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var qC=NC;function BC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var HC=BC;function VC(e,t,r){var n=ze(r.attr("title")).toLowerCase();return this.data(n),true}var jC=VC;function $C(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 zC=$C;function GC(e){var t=ll(e,"href");return t?Et(t)||void 0:false}var UC=GC,WC=["alert","log","status"];function XC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=Ye.get("regionlessNodes",function(){return YC(t)});return !n.includes(r)}function YC(e){var t=u1(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==h.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function u1(e,t){var r=e.actualNode;if(Je(e)==="button"||JC(e,t)||["iframe","frame"].includes(e.props.nodeName)||Il(e.actualNode)&&ll(e.actualNode,"href")||!Et(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==h.body&&fo(r,true)&&!KC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return u1(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function KC(e){return ["none","presentation"].includes(Je(e))&&!co(e)}function JC(e,t){var r=e.actualNode,n=Je(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Xn("landmark");return !!(["assertive","polite"].includes(a)||WC.includes(n)||i.includes(n)||t.regionMatcher&&Ha(e,t.regionMatcher))}function ZC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var n=r.node.ancestry.slice(0,-1),a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(Wl(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var QC=ZC;function eS(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 tS(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&t!==void 0;){var a=-1;if(e=t,e.children.length===0)return e;do a++,n=e.children[a].textContent.trim();while(n===""&&a+1<e.children.length);t=e.children[a];}return e}function uu(e){var t=d.getComputedStyle(tS(e));return {fontWeight:eS(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function c1(e,t,r){return r.reduce(function(n,a){return n||(!a.size||e.fontSize/a.size>t.fontSize)&&(!a.weight||e.fontWeight-a.weight>t.fontWeight)&&(!a.italic||e.isItalic&&!t.isItalic)},false)}function rS(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e);t=t||{};var i=t.margins||[],o=n.slice(a+1).find(function(V){return V.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(V){return V.nodeName.toUpperCase()==="P"}),l=uu(e),u=o?uu(o):null,c=s?uu(s):null,m=t.passLength,b=t.failLength,C=e.textContent.trim().length,I=o?.textContent.trim().length;if(C>I*m||!u||!c1(l,u,i))return true;var O=jn(r,"blockquote");if(!(O&&O.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!c1(l,c,i))&&!(C>I*b))return false}var nS=rS,aS=/[;,\s]/,iS=/^[0-9.]+$/;function oS(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(aS),l=Ae(s,1),u=l[0];if(!u.match(iS))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function sS(e,t,r){var n=ur(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var lS=sS,d1={};yr(d1,{aria:function(){return Xm},color:function(){return f1},dom:function(){return Ks},forms:function(){return _1},matches:function(){return Ha},math:function(){return qf},standards:function(){return l1},table:function(){return zm},text:function(){return Oa},utils:function(){return ss}});var f1={};yr(f1,{Color:function(){return Ct},centerPointOfRect:function(){return cS},elementHasImage:function(){return po},elementIsDistinct:function(){return m1},filteredRectStack:function(){return mS},flattenColors:function(){return Br},flattenShadowColors:function(){return du},getBackgroundColor:function(){return Ja},getBackgroundStack:function(){return fu},getContrast:function(){return Yn},getForegroundColor:function(){return Mo},getOwnBackgroundColor:function(){return Tn},getRectStack:function(){return h1},getStackingContext:function(){return mu},getStrokeColorsFromShadows:function(){return pu},getTextShadowColors:function(){return Io},hasValidContrastRatio:function(){return OS},incompleteData:function(){return xt},parseTextShadows:function(){return b1},stackingContextToColor:function(){return Ka}});function uS(e){if(!(e.left>d.innerWidth)&&!(e.top>d.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),d.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),d.innerHeight-1);return {x:t,y:r}}}var cS=uS;function p1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function dS(e,t){var r=d.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new Ct;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(n)return true;var a=d.getComputedStyle(t);if(p1(r)[0]!==p1(a)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,l){return s||r.getPropertyValue(l)!==a.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i}var m1=dS;function fS(e){var t=tp(e),r=Cl(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var h1=fS;function pS(e){var t=h1(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),n;return t.forEach(function(a,i){if(i!==0){var o=t[i-1],s=t[i];n=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),n?t[0]:(xt.set("bgColor","elmPartiallyObscuring"),null)}return xt.set("bgColor","outsideViewport"),null}var mS=pS,hS=["hue","saturation","color","luminosity"],g1={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var n=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(n-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Br(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=vS(t,e,r),a=cu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=cu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=cu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=gS(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new Ct(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new Ct(l,u,c,s)}function cu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function gS(e,t,r){return Math.min(Math.max(t,e),r)}function vS(e,t,r){if(hS.includes(r))return g1[r](e,t);var n=new Ct;return ["r","g","b"].forEach(function(a){n[a]=g1[r](e[a],t[a]);}),n}function du(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new Ct(n,a,i,o)}function fu(e){for(var t=Cl(e).map(function(a){return a=Zp(a,e),a=bS(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return xt.set("bgColor","bgOverlap"),null;if(r!==0&&!yS(n,t[0]))return xt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function bS(e){var t=e.indexOf(h.body),r=e,n=Tn(d.getComputedStyle(h.documentElement));if(t>1&&n.alpha===0&&!po(h.documentElement)){t>1&&(r.splice(t,1),r.push(h.body));var a=r.indexOf(h.documentElement);a>0&&(r.splice(a,1),r.push(h.documentElement));}return r}function yS(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 wS=.54,Fo=.5,xS=1.5,v1=["top","right","bottom","left"];function pu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=DS(e),i=Object.entries(a).map(function(o){var s=Ae(o,2),l=s[0],u=s[1],c=v1.filter(function(m){return u[m].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(AS).filter(function(o){return o!==null})}function DS(e){var t={},r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value,o=i.colorStr,s=i.pixels;(a=t[o])!==null&&a!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=Ae(s,2),c=u[0],m=u[1];c>Fo?l.right.push(c):-c>Fo&&l.left.push(-c),m>Fo?l.bottom.push(m):-m>Fo&&l.top.push(-m);}}catch(b){r.e(b);}finally{r.f();}return t}function AS(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new Ct;a.parseString(t);var i=0,o=true;return v1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>xS}));}),o||(a.alpha=1-Math.pow(wS,i)),a}function b1(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return [];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)ut(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){ut(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]===",")ut(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return n.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),n}function Io(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=d.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);ut(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],m=b1(s),b=it(m),C;try{for(b.s();!(C=b.n()).done;){var I=C.value,O=I.colorStr||o.getPropertyValue("color"),V=Ae(I.pixels,3),$=V[0],G=V[1],Y=V[2],K=Y===void 0?0:Y;if(!(n&&K>=u*n)){if(r&&K<u*r){c.push({colorStr:O,pixels:I.pixels});continue}if(c.length>0){var Q=pu(c,{ignoreEdgeCount:a});if(Q===null)return null;i.push.apply(i,Ee(Q)),c.splice(0,c.length);}var ae=_S({colorStr:O,offsetX:$,offsetY:G,blurRadius:K,fontSize:u});i.push(ae);}}}catch(pe){b.e(pe);}finally{b.f();}if(c.length>0){var le=pu(c,{ignoreEdgeCount:a});if(le===null)return null;i.push.apply(i,Ee(le));}return i}function _S(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new Ct(0,0,0,0);var o=new Ct;return o.parseString(t),o.alpha*=ES(a,i),o}function ES(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function mu(e,t){var r=Ze(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??fu(e),t.forEach(function(i){var o,s=Ze(i),l=kS(s),u=s._stackingOrder.filter(function(b){var C=b.vNode;return !!C});u.forEach(function(b,C){var I,O=b.vNode,V=(I=u[C-1])===null||I===void 0?void 0:I.vNode,$=w1(a,O,V);C===0&&!a.get(O)&&n.unshift($),a.set(O,$);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,m=w1(a,s,c);u.length||n.unshift(m),m.bgColor=l;}),r._stackingContext=n,n}function Ka(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(CS,y1()),a=Br(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function CS(e,t){var r;e instanceof Ct?r=e:r=Ka(e).color;var n=Ka(t).color;return Br(n,r,t.blendMode)}function y1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Ct(0,0,0,0),blendMode:SS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function SS(e){return e||void 0}function w1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:y1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function kS(e){var t=new Ct;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Ja(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ze(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,Ee(a.bgElms)),xt.set("bgColor",a.incompleteData),a.bgColor;var i=TS(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:xt.get("bgColor")},i}function TS(e,t,r){var n,a,i=fu(e);if(!i)return null;var o=El(e),s=(n=Io(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(du)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(po(u,c))return t.push(u),null;var m=void 0;try{if(m=Tn(c),m.alpha===0)continue}catch(O){if(O&&xt.get("colorParse"))return null;throw O}if(c.getPropertyValue("display")!=="inline"&&!x1(u,o))return t.push(u),xt.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),m.alpha===1)break}var b=mu(e,i);s=b.map(Ka).concat(s);var C=RS(e,i.includes(h.body));if((a=s).unshift.apply(a,Ee(C)),s.length===0)return new Ct(255,255,255,1);var I=s.reduce(function(O,V){return Br(V.color,O.color instanceof Ct?O.color:O,V.blendMode)});return Br(I.color instanceof Ct?I.color:I,new Ct(255,255,255,1))}function x1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=d.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof d.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+u+c),t.every(function(m){return m.top>=r.top&&m.bottom<=a&&m.left>=r.left&&m.right<=n})}function D1(e){return e||void 0}function RS(e,t){var r=[];if(!t){var n=h.documentElement,a=h.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=Tn(i),l=Tn(o),u=l.alpha!==0&&x1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:D1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:D1(i.getPropertyValue("mix-blend-mode"))});}return r}function FS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Br(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Yn=FS;function Mo(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return MS(a,n)},function(){return IS(a)},function(){return Io(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(O){if(O&&xt.get("colorParse"))return null;throw O}var m=o.reduce(function(O,V){return Br(O,V)});if(r??(r=Ja(e,[])),r===null){var b=xt.get("bgColor");return xt.set("fgColor",b),null}var C=mu(e),I=A1(C,e);return Br(LS(m,I,C),new Ct(255,255,255,1))}function IS(e){return new Ct().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function MS(e,t){var r=t.textStrokeEmMin,n=r===void 0?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(a===0)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new Ct().parseString(s)}function LS(e,t,r){for(;t;){var n;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var a=((n=t.ancestor)===null||n===void 0?void 0:n.descendants)||r;t.opacity!==1&&(a=a.slice(0,a.indexOf(t)));var i=a.map(Ka);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Br(l.color,s.color instanceof Ct?s.color:s)},{color:new Ct(0,0,0,0),blendMode:"normal"});e=Br(e,o),t=t.ancestor;}return e}function A1(e,t){var r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if(((a=i.vNode)===null||a===void 0?void 0:a.actualNode)===t)return i;var o=A1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function PS(e,t,r,n){var a=Yn(e,t),i=n&&Math.ceil(r*72)/96<14||!n&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:a>o,contrastRatio:a,expectedContrastRatio:o}}var OS=PS,_1={};yr(_1,{isAriaCombobox:function(){return Rp},isAriaListbox:function(){return Tp},isAriaRange:function(){return Fp},isAriaTextbox:function(){return kp},isDisabled:function(){return Za},isNativeSelect:function(){return Sp},isNativeTextbox:function(){return Cp}});var NS=["fieldset","button","select","input","textarea"];function E1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return NS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=E1(e.parent):t=false,e._isDisabled=t,t}var Za=E1;function qS(e,t,r){var n=Oa.accessibleTextVirtual(r),a=Oa.sanitize(Oa.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:Ks.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var BS=qS;function C1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return false;var a=r.every(function(i){var o=e[i],s=t[i];return fe(o)!==fe(s)?false:fe(o)==="object"||fe(s)==="object"?C1(o,s):o===s});return a}function HS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],n={},a=function(s){var l,u=t[s],c=u.data,m=c.name,b=c.urlProps;if(n[m])return 1;var C=t.filter(function(O,V){var $=O.data;return $.name===m&&V!==s}),I=C.every(function(O){var V=O.data;return C1(V.urlProps,b)});C.length&&!I&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Ee(C.map(function(O){return O.relatedNodes[0]}))),n[m]=C,r.push(u);},i=0;i<t.length;i++)a(i);return r}var VS=HS;function jS(e){var t=Je(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Ae(i,2),s=o[1];return r?s&&!n?parseInt(s,10):isNaN(a)||a<1?s?parseInt(s,10):2:a||-1:-1}function $S(){var e=Ye.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=qr(p._tree[0],t,Et);return e=r.map(function(n){return {ancestry:[Hi(n.actualNode)],level:jS(n)}}),this.data({headingOrder:e}),Ye.set("headingOrder",r),true}var zS=$S;function GS(e){var t=WS(e);return e.forEach(function(r){r.result=US(r,t);}),e}function US(e,t){var r,n,a,i,o=S1(t,e.node.ancestry),s=(r=(n=t[o])===null||n===void 0?void 0:n.level)!==null&&r!==void 0?r:-1,l=(a=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&a!==void 0?a:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function WS(e){e=Ee(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(XS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function XS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=k1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return KS(s,a)}),o=YS(e,a);return o===-1?e.push.apply(e,Ee(i)):e.splice.apply(e,[o,0].concat(Ee(i))),e}function YS(e,t){for(;t.length;){var r=S1(e,t);if(r!==-1)return r;t=k1(t,1);}return -1}function S1(e,t){return e.findIndex(function(r){return Wl(r.ancestry,t)})}function KS(e,t){var r=t.concat(e.ancestry);return _e({},e,{ancestry:r})}function k1(e,t){return e.slice(0,e.length-t)}function JS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Xr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Xr.bind(null,n),o=ro(r),s=ZS(r,o),l=QS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Qa(s));return}if(u.length)return this.relatedNodes(Qa(u)),this.data({messageKey:"obscured"}),true;var m=gr(r)?false:void 0;if(!i(a))return this.data(_e({minSize:n},Lo(a))),m;var b=rk(c);if(!b.length)return this.data(_e({minSize:n},Lo(a))),true;var C=ek(r,b,n);if(!C){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(C)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Qa(s));return}var I=b.every(gr),O="partiallyObscured".concat(I?"":"NonTabbable");return this.data(_e({messageKey:O,minSize:n},Lo(C))),this.relatedNodes(Qa(b)),I?m:void 0}return this.data(_e({minSize:n},Lo(C||a))),this.relatedNodes(Qa(b)),true}function ZS(e,t){return t.filter(function(r){return !T1(r,e)&&R1(e,r)})}function QS(e,t){var r=[],n=[],a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!R1(e,o)&&rl(e,o)&&nk(o)!=="none"&&(T1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function ek(e,t,r){var n=e.boundingClientRect,a=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=nl(n,a);}catch{return null}return tk(i,r)}function tk(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}function rk(e){return e.filter(function(t){return Cr(t)==="widget"&&Pt(t)})}function T1(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function nk(e){return e.getComputedStylePropertyValue("pointer-events")}function Lo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function R1(e,t){return Wr(e,t)&&!gr(t)}function Qa(e){return e.map(function(t){var r=t.actualNode;return r})}var ak=.05;function ik(e,t,r){var n=t?.minOffset||24;if(Xr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=it(ro(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(Cr(l)!=="widget"||!Pt(l))){var u=null;try{u=Hf(r,l,n/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw c}u!==null&&(u=ok(u)*2,!(u+ak>=n)&&(i=Math.min(i,u),a.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(c){var m=c.actualNode;return m})),!a.some(gr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),gr(r)?false:void 0}function ok(e){return Math.round(e*10)/10}function sk(e,t,r){var n=t||{},a=n.scaleMinimum,i=a===void 0?2:a,o=n.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(m,b){var C=b.trim();if(!C)return m;var I=C.split("="),O=Ae(I,2),V=O[0],$=O[1];if(!V||!$)return m;var G=V.toLowerCase().trim(),Y=$.toLowerCase().trim();return G==="maximum-scale"&&Y==="yes"&&(Y=1),G==="maximum-scale"&&parseFloat(Y)<0||(m[G]=Y),m},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return true;if(!s&&u["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(u["user-scalable"]);return !s&&u["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):u["maximum-scale"]&&parseFloat(u["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var lk=sk;function uk(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,m=[],b=V(o),C=function(){var ge=O[I],xe=b[ge],Se=xe.root,qe=xe.rules,Ue=qe.filter($);if(!Ue.length)return 1;Ue.forEach(function(Me){var $e=Me.cssRules;Array.from($e).forEach(function(ye){var Ne=G(ye);if(Ne&&ye.selectorText.toUpperCase()!=="HTML"){var re=Array.from(Se.querySelectorAll(ye.selectorText))||[];m=m.concat(re);}c=c||Ne;});});},I=0,O=Object.keys(b);I<O.length;I++)C();if(!c)return true;return m.length&&this.relatedNodes(m),false;function V(ue){return ue.reduce(function(ge,xe){var Se=xe.sheet,qe=xe.root,Ue=xe.shadowId,Me=Ue||"topDocument";if(ge[Me]||(ge[Me]={root:qe,rules:[]}),!Se||!Se.cssRules)return ge;var $e=Array.from(Se.cssRules);return ge[Me].rules=ge[Me].rules.concat($e),ge},{})}function $(ue){var ge=ue.type,xe=ue.cssText;return ge!==4?false:/orientation:\s*landscape/i.test(xe)||/orientation:\s*portrait/i.test(xe)}function G(ue){var ge=ue.selectorText,xe=ue.style;if(!ge||xe.length<=0)return false;var Se=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Se&&!xe.rotate)return false;var qe=Y(Se),Ue=K("rotate",xe.rotate),Me=qe+Ue;return !Me||(Me=Math.abs(Me),Math.abs(Me-180)%180<=u)?false:Math.abs(Me-90)%90<=u}function Y(ue){if(!ue)return 0;var ge=ue.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ge)return 0;var xe=Ae(ge,3),Se=xe[1],qe=xe[2];return K(Se,qe)}function K(ue,ge){switch(ue){case "rotate":case "rotateZ":return Q(ge);case "rotate3d":var xe=ge.split(",").map(function(Me){return Me.trim()}),Se=Ae(xe,4),qe=Se[2],Ue=Se[3];return parseInt(qe)===0?void 0:Q(Ue);case "matrix":case "matrix3d":return ae(ge);default:return 0}}function Q(ue){var ge=ue.match(/(deg|grad|rad|turn)/)||[],xe=Ae(ge,1),Se=xe[0];if(!Se)return 0;var qe=parseFloat(ue.replace(Se,""));switch(Se){case "rad":return le(qe);case "grad":return pe(qe);case "turn":return Ce(qe);default:return parseInt(qe)}}function ae(ue){var ge=ue.split(",");if(ge.length<=6){var xe=Ae(ge,2),Se=xe[0],qe=xe[1],Ue=Math.atan2(parseFloat(qe),parseFloat(Se));return le(Ue)}var Me=parseFloat(ge[8]),$e=Math.asin(Me),ye=Math.cos($e),Ne=Math.acos(parseFloat(ge[0])/ye);return le(Ne)}function le(ue){return Math.round(ue*(180/Math.PI))}function pe(ue){return ue=ue%400,ue<0&&(ue+=400),Math.round(ue/400*360)}function Ce(ue){return Math.round(360/(1/ue))}}var ck=uk;function dk(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var n=t.allowedDuration,a=n===void 0?3:n,i=o(e);if(i<=a)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var m=Ae(c,2),b=m[1],C=b.split(",");return C.map(function(I){return /:/.test(I)?l(I):parseFloat(I)})}}function l(u){for(var c=u.split(":"),m=0,b=1;c.length>0;)m+=b*parseInt(c.pop(),10),b*=60;return parseFloat(m)}}var fk=dk;function pk(e,t){return t.isViolation?false:void 0}var mk=pk,F1=" > ";function hk(e){var t={};return e.filter(function(r){var n=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(n){var a=r.node.ancestry.flat(1/0).join(F1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(F1);return t[i]&&(t[i].result=true),false})}var gk=hk;function vk(e,t,r){var n=ur(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var bk=vk;function yk(e,t,r){var n=r.children;if(!n||!n.length)return false;for(var a=false,i=false,o,s=0;s<n.length;s++){if(o=n[s].props.nodeName.toUpperCase(),o==="DT"&&(a=true),a&&o==="DD")return false;o==="DD"&&(i=true);}return a||i}var wk=yk;function xk(e,t,r){var n=false,a=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){n=true;return}if(!(c.nodeType!==1||!Et(c))){i=false;var m=c.nodeName.toUpperCase()==="LI",b=Je(u),C=b==="listitem";!m&&!C&&o.push(c),m&&!C&&(s.push(c),l.includes(b)||l.push(b)),C&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var Dk=xk;function Ak(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&Je(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&Et(u)){var m=tt(u);(c!=="DT"&&c!=="DD"||m)&&(n.includes(m)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function _k(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=tt(n);return ["presentation","none","list"].includes(i)?true:i&&Ba(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function Ek(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var i=I1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&Sk(l)){if(!l.children)return;var c=I1(l.children,true);i.push.apply(i,Ee(c));continue}var m=Ck(l,u,t);m&&(a.includes(m)||a.push(m),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&n.push(l.actualNode));}return a.length===0?false:(this.data({values:a.join(", ")}),this.relatedNodes(n),true)}}function Ck(e,t,r){var n=r.validRoles,a=n===void 0?[]:n,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,m=t?"div > ":"";if(u===3&&c.trim()!=="")return m+"#text";if(u!==1||!Et(e))return false;var b=tt(e);return b?a.includes(b)?false:m+"[role=".concat(b,"]"):o.includes(l)?false:m+l}function Sk(e){return e.props.nodeName==="div"&&tt(e)===null}function I1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function kk(e){var t=jt(e),r=t.nodeName.toUpperCase(),n=tt(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=jt(t),r=t.nodeName.toUpperCase(),n=tt(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var Tk=kk;function Rk(e,t,r){var n=Fn(r.attr("lang")),a=Fn(r.attr("xml:lang"));return n===a}var Fk=Rk;function Ik(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Fn(i),s=t.value?!t.value.map(Fn).includes(o):!Co(o);(o!==""&&s||i!==""&&!ze(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!kl(r)?false:(this.data(n),true)}var Mk=Ik;function hu(e){return (e||"").trim()!==""}function Lk(e,t,r){var n=typeof h<"u"?_a(h):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&hu(r.attr("xml:lang"))&&!hu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return hu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var Pk=Lk;function Ok(e,t,r){var n=Je(e),a=$t(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var Nk=Ok;function qk(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var Bk=qk;function Hk(e,t,r){var n=uo(r),a=oo(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var Vk=Hk;function jk(e){var t=Rt(e.getAttribute("id")),r=e.parentNode,n=Ut(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !un(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&a.indexOf(r)===-1&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter(function(s){return Et(s)});if(i.length>1)return;var o=Mr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var $k=jk;function zk(e,t){var r=M1(t),n=M1(e);return !r||!n?false:r.includes(n)}function M1(e){var t=ja(e,{emoji:true,nonBmp:true,punctuations:true});return ze(t)}function Gk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=Cn(e).toLowerCase(),s=ze(fn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(_l(o)<1||_l(s)<1))return zk(s,o)}var Uk=Gk;function Wk(e,t,r){try{var n=ir(r,"label");if(n){var a=ze($t(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var Xk=Wk;function Yk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Ut(e),a=Rt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!Et(i)){var o;try{o=$t(r).trim();}catch{return}var s=o==="";return s}}return false}var Kk=Yk;function Jk(e,t,r){var n=uo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Mr(e,"aria-describedby");a=i.map(function(o){return o?Cn(o):""}).join("");}return ze(a)===ze(n)}var Zk=Jk;function Qk(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Ut(r.actualNode),i=Rt(r.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(or(s)){var l=ze(Cn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var eT=Qk;function tT(e,t,r){if(["none","presentation"].includes(Je(r)))return false;var n=ir(r,t.parentSelector);if(!n)return false;var a=Pr(n,true).toLowerCase();return a===""?false:a===$t(r).toLowerCase()}var rT=tT;function nT(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var aT=nT;function iT(e,t,r){var n=Nr(r.attr("tabindex"));return n===null||n<=0}var oT=iT;function sT(e,t,r){if(r.children)try{var n=L1(r);if(!n.length)return !0;var a=n.filter(lT);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function L1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){Cr(r)==="widget"&&Pt(r)?t.push(r):t.push.apply(t,Ee(L1(r)));}),t}function lT(e){var t=Nr(e.attr("tabindex"));return t!==null&&t<0}function uT(e){var t=Xn("landmark"),r=jt(e),n=Je(e);for(this.data({role:n});r;){var a=tt(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Lr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=jt(r);}return true}var cT=uT;function dT(e,t,r){if(r.children)try{return !r.children.some(function(n){return P1(n)})}catch{return}}function P1(e){if(gr(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 P1(t)})}function fT(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return !n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||za()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var pT=fT;function mT(e,t,r){if(!gr(r))return false;try{return !$t(r)}catch{return}}var hT=mT;function gT(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(za()){this.relatedNodes(n);return}return true}var vT=gT;function bT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return gr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=ir(r.parent,"[contenteditable]");return o?n(o):false}}var yT=bT;function wT(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||za()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var xT=wT;function DT(e,t,r){var n=r.tabbableElements;if(!n)return false;var a=n.filter(function(i){return i!==r});return a.length>0}var AT=DT;function _T(e,t,r){return un(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var ET=_T;function CT(e){var t={};return e.filter(function(r){if(!r.data)return false;var n=r.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(r.relatedNodes[0]),false):(t[n]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var ST=CT;function kT(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(Ye.get(n)){this.data("ignored");return}Ye.set(n,true);var a=qr(p._tree[0],t.selector,function(i){return Et(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!jn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Je(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var TT=kT;function RT(e){return e.filter(function(t){return t.data!=="ignored"})}var FT=RT;function IT(e,t,r){return Ha(r,t.matcher)}var MT=IT;function LT(e,t,r){try{return ze(fn(r))!==""}catch{return}}function PT(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&&za())return true;var n=qr(r,t.selector,function(a){return Et(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var OT=PT;function NT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var qT=NT;function BT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var n=r.attr(t.attribute),a=!ze(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var HT=BT;function VT(e,t,r){var n=r.attr("autocomplete")||"";return Vp(n,t)}var jT=VT;function $T(e,t,r){if(r.props.nodeName!=="input")return true;var n=["text","search","number","tel"],a=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};fe(t)==="object"&&Object.keys(t).forEach(function(m){i[m]||(i[m]=[]),i[m]=i[m].concat(t[m]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(m){return m.toLowerCase()}),l=s[s.length-1];if(kn.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?ze(r.attr("type")).toLowerCase():"text";return c=Eo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var zT=$T,GT=["block","list-item","table","flex","grid","inline-block"];function UT(e){if(O1(e))return false;for(var t=jt(e);t&&t.nodeType===1&&!O1(t);)t=jt(t);if(t){if(this.relatedNodes([t]),m1(e,t))return true;if(WT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function O1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return GT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function WT(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=d.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function N1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var XT=["block","list-item","table","flex","grid","inline-block"];function q1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return XT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function YT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(q1(e))return false;for(var a=jt(e);a&&a.nodeType===1&&!q1(a);)a=jt(a);if(a){this.relatedNodes([a]);var i=Mo(e),o=Mo(a),s=Ja(e),l=Ja(a),u=i&&o?N1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?N1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var m,b=(m=xt.get("bgColor"))!==null&&m!==void 0?m:"bgContrast";this.data({messageKey:b}),xt.clear();return}if(u)return n&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var KT=YT;function JT(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,m=t.pseudoSizeThreshold;if(!or(e))return this.data({messageKey:"hidden"}),true;var b=Pr(r,false,true);if(n&&QT(b)){this.data({messageKey:"nonBmp"});return}var C=d.getComputedStyle(e),I=parseFloat(C.getPropertyValue("font-size")),O=C.getPropertyValue("font-weight"),V=parseFloat(O)>=o||O==="bold",$=Math.ceil(I*72)/96,G=V&&$<s||!V&&$<l,Y=G?u.normal:u.large,K=Y.expected,Q=Y.minThreshold,ae=Y.maxThreshold,le=ZT(r,{ignorePseudo:i,pseudoSizeThreshold:m});if(le){this.data({fontSize:"".concat((I*72/96).toFixed(1),"pt (").concat(I,"px)"),fontWeight:V?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:K+":1"}),this.relatedNodes(le.actualNode);return}var pe=Io(e,{minRatio:.001,maxRatio:c});if(pe===null){this.data({messageKey:"complexTextShadows"});return}var Ce=[],ue=Ja(e,Ce,c),ge=Mo(e,false,ue,t),xe=null,Se=null,qe=null;if(pe.length===0)xe=Yn(ue,ge);else if(ge&&ue){qe=[].concat(Ee(pe),[ue]).reduce(du);var Ue=Yn(ue,ge),Me=Yn(ue,qe),$e=Yn(qe,ge);xe=Math.max(Ue,Me,$e),xe!==Ue&&(Se=Me>$e?"shadowOnBgColor":"fgOnShadowColor");}var ye=xe>K;if(typeof Q=="number"&&(typeof xe!="number"||xe<Q)||typeof ae=="number"&&(typeof xe!="number"||xe>ae))return this.data({contrastRatio:xe}),true;var Ne=Math.floor(xe*100)/100,re,Te;ue===null?xt.get("colorParse")?(re="colorParse",Te=xt.get("colorParse")):re=xt.get("bgColor"):ye||(re=Se),ge===null&&xt.get("colorParse")&&(re="colorParse",Te=xt.get("colorParse"));var he=Ne===1,Re=b.length===1;if(he?re=xt.set("bgColor","equalRatio"):!ye&&Re&&!a&&(re="shortTextContent"),this.data({fgColor:ge?ge.toHexString():void 0,bgColor:ue?ue.toHexString():void 0,contrastRatio:Ne,fontSize:"".concat((I*72/96).toFixed(1),"pt (").concat(I,"px)"),fontWeight:V?"bold":"normal",messageKey:re,expectedContrastRatio:K+":1",shadowColor:qe?qe.toHexString():void 0,colorParse:Te}),ge===null||ue===null||he||Re&&!a&&!ye){re=null,xt.clear(),this.relatedNodes(Ce);return}return ye||this.relatedNodes(Ce),ye}function ZT(e,t){var r=t.pseudoSizeThreshold,n=r===void 0?.25:r,a=t.ignorePseudo,i=a===void 0?false:a;if(!i){var o=e.boundingClientRect,s=o.width*o.height*n;do{var l=B1(e.actualNode,":before"),u=B1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var B1=wt(function(t,r){var n=d.getComputedStyle(t,r),a=function(l,u){return n.getPropertyValue(l)===u};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||Tn(n).alpha===0&&a("background-image","none"))return 0;var i=H1(n.getPropertyValue("width")),o=H1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function QT(e){var t={nonBmp:true},r=Dl(e,t),n=ze(ja(e,t))==="";return r&&n}function H1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Ae(r,3),a=n[1],i=a===void 0?"":a,o=n[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var e5={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},t5={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 r5(e){var t=e.nodeName.toUpperCase();return e5[t]||false}function n5(e,t){var r=tt(e);return r&&(t5[r]||t.roles.includes(r))||false}function a5(e,t){return n5(e,t)||r5(e)}var i5=a5;function o5(e,t,r){var n=Je(r,{dpub:true,fallback:true}),a=fl(n);return a&&this.data(n),a}var s5=o5;function l5(e,t,r){var n=Je(r,{noImplicit:true});this.data(n);var a,i;try{a=ze(wl(r)).toLowerCase(),i=ze($t(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var u5=l5;function c5(e,t,r){return Pt(r)}var d5=c5;function f5(e,t,r){var n=Kt(r.attr("role")),a=n.every(function(i){return !Ba(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var p5=f5;function m5(e,t,r){var n=tt(r);if(n===null)return false;var a=Cr(n);return a==="widget"||a==="composite"}var h5=m5;function g5(e,t,r){var n=cn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var v5=g5;function b5(e,t){var r=Lr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function y5(e,t,r){var n=Kt(r.attr("role"));return n.length<=1?false:b5(r,n)?void 0:true}var w5=y5;function x5(e,t,r){var n=Je(r,{dpub:true,fallback:true}),a=ct.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function D5(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(ze(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):ze(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function A5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return ze($t(r))!==""}catch{return}}function _5(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,m=r.attr(u);try{c=a1(r,u);}catch{n="".concat(u,'="').concat(m,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(m===""&&!E5(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(m,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function E5(e){var t;return ((t=ct.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function C5(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&a.test(i)&&!Ro(i)&&n.push(i);}),n.length?(this.data(n),false):true}var S5=C5;function k5(e,t,r){var n=r.attrNames.filter(function(a){var i=ct.ariaAttrs[a];if(!Ro(a))return false;var o=i.unsupported;return fe(o)!=="object"?!!o:!Ha(e,o.exceptions)});return n.length?(this.data(n),true):false}var T5=k5;function R5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Je(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var F5=R5;function V1(e,t,r,n){var a=tt(e);if(r||(r=ou(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Je(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(a)&&r.push(a),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function I5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=Rt(e.getAttribute("id")),a=Ut(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function M5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=V1(r,n);if(!a)return true;var i=I5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=V1(Ze(i[o]),n,a,true),!a)return true}return this.data(a),false}var L5=M5;function P5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=tt(r,{dpub:true}),i=su(a);if(i===null)return true;var o=O5(r,i),s=o.filter(function(u){var c=u.role,m=u.vNode;return m.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(u){var c=u.vNode;return c}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(u){var c=u.vNode,m=u.attr;return B5(c,m)}).filter(function(u,c,m){return m.indexOf(u)===c}).join(", ")}),false}if(N5(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(n.includes(a)&&!o.some(H5)))return false}function O5(e,t){for(var r,n=[],a=Va(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!Et(r))return 1;var s=Je(r,{noPresentational:true}),l=q5(r),u=!!l||Pt(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(m){return m===s}))a.push.apply(a,Ee(r.children));else if(s||u){var c=l||"tabindex";n.push({role:s,attr:c,vNode:r});}};r=a.shift();)i();return n}function N5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function q5(e){return cn().find(function(t){return e.hasAttr(t)})}function B5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=tt(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function H5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:$a(t,false,true)}function V5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=tt(n),i=n.attrNames,o=n1(a);if(Array.isArray(r[a])&&(o=Wa(r[a],o)),!a||!i.length||!o.length||j5(n,a)||z5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=dn(n),l=o.filter(function(u){return !n.attr(u)&&!$5(s,u)});return l.length?(this.data(l),false):true}function j5(e,t){return t==="separator"&&!Pt(e)}function $5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function z5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function G5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t?.elementsAllowedAriaLabel||[],a=r.props.nodeName,i=Je(r,{chromium:true,fallback:true}),o=U5(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?ze(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:a,messageKey:l,prohibited:s});var u=fn(r,{subtreeDescendant:true});if(ze(u)==="")return true}function U5(e,t,r,n){var a=ct.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||j1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var j1=wt(function(t){if(t){var r=Je(t,{noPresentational:true,chromium:true});return r?Cr(r):j1(t.parent)}});function W5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var X5=W5;function Y5(e,t,r){return r.attr("aria-hidden")!=="true"}var K5=Y5;function J5(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return ct.ariaAttrs["aria-errormessage"].allowEmpty;var u=Kt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Mr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!Et(c))return this.data({messageKey:"hidden",values:u}),false;var m=Kt(r.attr("aria-describedby"));return tt(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(b){return m.includes(b)})}}return t.indexOf(n)===-1&&a?(this.data(Kt(n)),s.call(this,n)):true}function $1(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=a==null||(r=a.filter)===null||r===void 0?void 0:r.call(a,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=Z5(i),l=s&&Je(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function Z5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return ir(e,t)}}function z1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=eR(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=Q5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function Q5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function eR(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var G1={row:$1,checkbox:z1};function tR(e,t,r){var n=Je(r);return G1[n]?G1[n].call(this,e,t,r):true}function rR(e,t,r){return r.attr("aria-busy")==="true"}function nR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=Zm(r,a);return l.length?(this.data(l),Et(r)?false:void 0):true}var aR=nR;function iR(e,t,r){var n=[],a=Je(r),i=Ym(a);Array.isArray(t[a])&&(i=Wa(t[a].concat(i)));var o=it(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;Ro(l)&&!i.includes(l)&&!oR(l,r.attr(l),r)&&n.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!a&&!Gl(r)&&!Pt(r)))return false}function oR(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function sR(e,t,r){var n=dn(r);if(!n.allowedAriaAttrs)return true;var a=tt(r);if(a)return true;var i=n.allowedAriaAttrs,o=cn(),s=[],l=it(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(b){l.e(b);}finally{l.f();}if(!s.length)return true;var m=s.length>1?"plural":"singular";return this.data({messageKey:m,nodeName:r.props.nodeName,values:s.map(function(b){return b+'="'+r.attr(b)+'"'}).join(", ")}),false}function lR(e,t,r){var n=Kt(r.attr("role")).filter(function(a){return Cr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var uR=lR;function cR(e){var t=Fn(e.getAttribute("lang")),r=Fn(e.getAttribute("xml:lang"));return Co(t)&&Co(r)}var dR=cR;function fR(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var pR=fR;function mR(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!ir(t,"svg")}catch{return false}}var gu=mR;function hR(e,t){return gR.every(function(r){return r(e,t)})}var gR=[function(e,t){return U1(t)},function(e,t){return vR(t)},function(e,t){return !gu(e,t)},function(e,t){return Pt(t)},function(e,t){return gr(t)||!bR(t)},function(e){return !Tl(e,{noLengthCompare:true,includeInlineBlock:true})}];function U1(e){return Cr(e)==="widget"}function vR(e){return e.props.nodeName!=="area"}var bR=wt(function e(t){return t!=null&&t.parent?U1(t.parent)&&gr(t.parent)?true:e(t.parent):false});function yR(e,t){var r=Je(t);return ["treegrid","grid","table"].includes(r)}function wR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||xR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function xR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function DR(e){return Il(e)&&Ji(e)}var AR=DR;function _R(e,t){return Kr(e,13)!==void 0&&iu(t)===false&&ER(t)}function ER(e){var t=e.boundingClientRect;return ur(e,"*").some(function(r){if(!$a(r,true,true))return false;var n=[];if(co(r)){var a;(a=n).push.apply(a,Ee(CR(r)));}else n=[r.boundingClientRect];return n.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function CR(e){var t=h.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function SR(e,t){return Lr(t,{chromiumRoles:true})!==null}var kR=SR;function TR(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),n=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(n)||[]).length>=2)return false;var a=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return a.length!==0}var RR=TR;function FR(e,t){var r=tt(t);if(!r||["none","presentation"].includes(r))return true;var n=ip[r]||{},a=n.accessibleNameRequired;return !!(a||Pt(t))}var W1=FR,IR=function(t,r){return [W1,MR].every(function(n){return n(t,r)})};function MR(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 LR(e,t){return t.props.nodeName!=="html"}var PR=LR;function OR(e,t){return !t.attr("role")}var NR=OR;function qR(e,t){var r=Nr(t.attr("tabindex"));return r===null||r>=0}var BR=qR;function HR(e,t){var r=dn(t),n=r.namingMethods;return !(n&&n.length!==0||tt(t)==="combobox"&&ur(t,'input:not([type="hidden"])').length||iu(t,{popupRoles:["listbox"]}))}var VR=HR;function jR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var $R=jR;function zR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var GR=zR;function UR(e,t){var r=Je(t);return r?!!ct.ariaRoles[r].childrenPresentational:false}var WR=UR;function XR(e){var t=ze(e.innerText),r=tt(e);return r&&r!=="link"||!t||!or(e)?false:Tl(e)}var YR=XR;function KR(e){return !ko(e)&&!Pt(e)}var JR=KR;function ZR(e,t){return QR(t)&&Et(t)}function QR(e){var t=Xn("landmark"),r=Je(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=$t(e);return !!a}return t.indexOf(r)>=0||r==="region"}function eF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!jn(t,r)}var tF=eF;function rF(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 nF=rF;function aF(e,t){var r=Je(e);if(!r)return false;var n=Xn("widget"),a=n.includes(r);if(!a)return false;var i=au();return !(!i.includes(r)||!ze(qa(t))&&!ze(Na(e))||!ze(Pr(t)))}var iF=aF;function oF(e,t){return or(t)}function sF(e){return or(e)}function lF(e,t,r){return r.initiator}var X1=lF;function uF(e){return Up(e)}var cF=uF;function dF(e,t){var r=!!$t(t);if(!r)return false;var n=Je(e);return !(n&&n!=="link")}var fF=dF;function pF(e,t){return !gu(e,t)}var mF=pF;function hF(e,t){return Je(t)==="heading"}function gF(e,t){return Lr(t,{chromium:true})!==null}var vF=gF;function bF(e){var t=e.getAttribute("title");return !!ze(t)}var yF=bF;function wF(e,t,r){var n,a;return !r.initiator&&!r.focusable&&((n=r.size)===null||n===void 0?void 0:n.width)*((a=r.size)===null||a===void 0?void 0:a.height)>1}var xF=wF;function DF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Rt(t),'"]'),n=Array.from(Ut(e).querySelectorAll(r));return !To(e)&&n.every(function(a){return !Pt(a)})}var AF=DF;function _F(e){return To(e)}var EF=_F;function CF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Rt(t),'"]'),n=Array.from(Ut(e).querySelectorAll(r));return !To(e)&&n.some(Pt)}var SF=CF;function kF(e){return ko(e)}var TF=kF;function RF(e){if(ko(e)){var t=Yr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var FF=RF;function IF(e,t){var r=t.props,n=r.nodeName,a=r.type;if(n==="option"||n==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(n==="input"&&i.includes(a)||Za(t)||no(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=d.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!Ml(u,e))return false}return true}var c=jn(t,"label");if(n==="label"||c){var m=c||e,b=c?Ze(c):t;if(m.htmlFor){var C=Ut(m),I=C.getElementById(m.htmlFor),O=I&&Ze(I);if(O&&Za(O))return false}var V='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',$=ur(b,V)[0];if($&&Za($))return false}for(var G=[],Y=t;Y;){if(Y.props.id){var K=nu(Y).filter(function(ge){return Kt(ge.getAttribute("aria-labelledby")||"").includes(Y.props.id)}).map(function(ge){return Ze(ge)});G.push.apply(G,Ee(K));}Y=Y.parent;}if(G.length>0&&G.every(Za)||!PF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var Q=h.createRange(),ae=t.children,le=0;le<ae.length;le++){var pe=ae[le];pe.actualNode.nodeType===3&&ze(pe.actualNode.nodeValue)!==""&&Q.selectNodeContents(pe.actualNode);}var Ce=Array.from(Q.getClientRects()),ue=Ma(t);return Ce.some(function(ge){var xe=Ml(ge,e);if(!ue.length)return xe;var Se=ue.some(function(qe){return Js(ge,qe.boundingClientRect)});return xe&&Se})}var MF=IF,LF={emoji:true,nonBmp:false,punctuations:true};function PF(e){var t=Pr(e,false,true);return t===""||ja(t,LF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Al(r)})}function OF(e,t,r){return X1(e,t,r)?!!e.querySelector("a[href]"):true}var NF=OF;function qF(e,t){var r=t.attr("autocomplete");if(!r||ze(r)==="")return false;var n=t.props.nodeName;if(["textarea","input","select"].includes(n)===false)return false;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||a.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(n==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=tt(t),l=Nr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=ct.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!or(t)&&!Et(t))}var BF=qF;function HF(e,t){var r=tt(t);return !!ou(r)}var VF=HF;function jF(e,t){var r=tt(t,{dpub:true});return !!su(r)}var $F=jF;function Y1(e){return e?e.getAttribute("aria-hidden")==="true"?false:Y1(jt(e)):true}function zF(e){return Y1(jt(e))}var GF=zF;function UF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var WF=UF;function XF(e,t){return tt(t,{dpub:true,fallback:true})!==null}var YF=XF;function KF(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var JF=KF,ZF={"abstractrole-evaluate":uR,"accesskeys-after":ST,"accesskeys-evaluate":ET,"alt-space-value-evaluate":aT,"aria-allowed-attr-elm-evaluate":sR,"aria-allowed-attr-evaluate":iR,"aria-allowed-attr-matches":JF,"aria-allowed-role-evaluate":aR,"aria-allowed-role-matches":YF,"aria-busy-evaluate":rR,"aria-conditional-attr-evaluate":tR,"aria-conditional-checkbox-attr-evaluate":z1,"aria-conditional-row-attr-evaluate":$1,"aria-errormessage-evaluate":J5,"aria-has-attr-matches":WF,"aria-hidden-body-evaluate":K5,"aria-hidden-focus-matches":GF,"aria-label-evaluate":OC,"aria-labelledby-evaluate":LC,"aria-level-evaluate":X5,"aria-prohibited-attr-evaluate":G5,"aria-required-attr-evaluate":V5,"aria-required-children-evaluate":P5,"aria-required-children-matches":$F,"aria-required-parent-evaluate":L5,"aria-required-parent-matches":VF,"aria-roledescription-evaluate":F5,"aria-unsupported-attr-evaluate":T5,"aria-valid-attr-evaluate":S5,"aria-valid-attr-value-evaluate":_5,"attr-non-space-content-evaluate":HT,"autocomplete-appropriate-evaluate":zT,"autocomplete-matches":BF,"autocomplete-valid-evaluate":jT,"avoid-inline-spacing-evaluate":IC,"braille-label-equivalent-evaluate":A5,"braille-roledescription-equivalent-evaluate":D5,"bypass-matches":NF,"caption-evaluate":bk,"caption-faked-evaluate":hC,"color-contrast-evaluate":JT,"color-contrast-matches":MF,"css-orientation-lock-evaluate":ck,"data-table-large-matches":FF,"data-table-matches":TF,"deprecatedrole-evaluate":x5,"dlitem-evaluate":Tk,"doc-has-title-evaluate":RC,"duplicate-id-active-matches":SF,"duplicate-id-after":HC,"duplicate-id-aria-matches":EF,"duplicate-id-evaluate":qC,"duplicate-id-misc-matches":AF,"duplicate-img-label-evaluate":rT,"exists-evaluate":kC,"explicit-evaluate":eT,"fallbackrole-evaluate":w5,"focusable-content-evaluate":AT,"focusable-disabled-evaluate":xT,"focusable-element-evaluate":yT,"focusable-modal-open-evaluate":vT,"focusable-no-name-evaluate":hT,"focusable-not-tabbable-evaluate":pT,"frame-focusable-content-evaluate":dT,"frame-focusable-content-matches":xF,"frame-tested-after":gk,"frame-tested-evaluate":mk,"frame-title-has-text-matches":yF,"has-alt-evaluate":CC,"has-descendant-after":qT,"has-descendant-evaluate":OT,"has-global-aria-attribute-evaluate":v5,"has-implicit-chromium-role-matches":vF,"has-lang-evaluate":Pk,"has-text-content-evaluate":LT,"has-widget-role-evaluate":h5,"heading-matches":hF,"heading-order-after":GS,"heading-order-evaluate":zS,"help-same-as-label-evaluate":Zk,"hidden-content-evaluate":AE,"hidden-explicit-label-evaluate":Kk,"html-namespace-matches":mF,"html5-scope-evaluate":pC,"identical-links-same-purpose-after":VS,"identical-links-same-purpose-evaluate":BS,"identical-links-same-purpose-matches":fF,"implicit-evaluate":Xk,"inline-style-property-evaluate":AC,"inserted-into-focus-order-matches":cF,"internal-link-present-evaluate":lS,"invalid-children-evaluate":Ek,"invalidrole-evaluate":p5,"is-element-focusable-evaluate":d5,"is-initiator-matches":X1,"is-on-screen-evaluate":DC,"is-visible-matches":sF,"is-visible-on-screen-matches":oF,"label-content-name-mismatch-evaluate":Uk,"label-content-name-mismatch-matches":iF,"label-matches":nF,"landmark-has-body-context-matches":tF,"landmark-is-top-level-evaluate":cT,"landmark-is-unique-after":Bk,"landmark-is-unique-evaluate":Nk,"landmark-unique-matches":ZR,"layout-table-matches":JR,"link-in-text-block-evaluate":KT,"link-in-text-block-matches":YR,"link-in-text-block-style-evaluate":UT,"listitem-evaluate":_k,"matches-definition-evaluate":MT,"meta-refresh-evaluate":oS,"meta-viewport-scale-evaluate":lk,"multiple-label-evaluate":$k,"nested-interactive-matches":WR,"no-autoplay-audio-evaluate":fk,"no-autoplay-audio-matches":GR,"no-empty-role-matches":$R,"no-explicit-name-required-matches":W1,"no-focusable-content-evaluate":sT,"no-implicit-explicit-label-evaluate":u5,"no-naming-method-matches":VR,"no-negative-tabindex-matches":BR,"no-role-matches":NR,"non-empty-if-present-evaluate":wC,"not-html-matches":PR,"object-is-loaded-matches":IR,"only-dlitems-evaluate":Ak,"only-listitems-evaluate":Dk,"p-as-heading-evaluate":nS,"p-as-heading-matches":RR,"page-no-duplicate-after":FT,"page-no-duplicate-evaluate":TT,"presentation-role-conflict-matches":kR,"presentational-role-evaluate":bC,"region-after":QC,"region-evaluate":XC,"same-caption-summary-evaluate":uC,"scope-value-evaluate":lC,"scrollable-region-focusable-matches":_R,"skip-link-evaluate":UC,"skip-link-matches":AR,"structured-dlitems-evaluate":wk,"summary-interactive-matches":wR,"svg-namespace-matches":gu,"svg-non-empty-title-evaluate":vC,"tabindex-evaluate":oT,"table-or-grid-role-matches":yR,"target-offset-evaluate":ik,"target-size-evaluate":JS,"td-has-header-evaluate":oC,"td-headers-attr-evaluate":aC,"th-has-data-cells-evaluate":nC,"title-only-evaluate":Vk,"unique-frame-title-after":zC,"unique-frame-title-evaluate":jC,"unsupportedrole-evaluate":s5,"valid-lang-evaluate":Mk,"valid-scrollable-semantics-evaluate":i5,"widget-not-inline-matches":hR,"window-is-top-matches":pR,"xml-lang-mismatch-evaluate":Fk,"xml-lang-mismatch-matches":dR},Po=ZF;function QF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var vu=QF;function bu(e){if(typeof e=="string"){if(Po[e])return Po[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 K1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||fe(e)!=="object")&&(e={value:e}),e}function Kn(e){e&&(this.id=e.id,this.configure(e));}Kn.prototype.enabled=true,Kn.prototype.run=function(t,r,n,a,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new vu(this),u=Ps(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(m){t&&t.actualNode&&(m.errorNode=hr.toSpec(t)),i(m);return}u.isAsync||(l.result=c,a(l));}else a(null);},Kn.prototype.runSync=function(t,r,n){r=r||{};var a=r,i=a.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new vu(this),u=Ps(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(m){throw t&&t.actualNode&&(m.errorNode=hr.toSpec(t)),m}return l.result=c,l},Kn.prototype.configure=function(t){var r=this;(!t.evaluate||Po[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=K1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=bu(t[n])});},Kn.prototype.getOptions=function(t){return this._internalCheck?Xs(this.options,K1(t||{})):t||this.options};var J1=Kn;function e3(e){this.id=e.id,this.result=Ke.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Oo=e3;function er(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ut(Ke.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=bu(e.matches));}er.prototype.matches=function(){return true},er.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="mark_gather_start_"+this.id,a="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&ft.mark(n);var s=Jl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&ft.mark(i),s=s.filter(function(l){return Et(l)}),r.performanceTimer&&(ft.mark(o),ft.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(ft.mark(a),ft.measure("rule_"+this.id+"#gather",n,a)),s},er.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Ir();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],m=bo(c,s.id,n);l.defer(function(b,C){c.run(r,m,a,b,function(I){C(new _o({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new mr(r),error:I}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},er.prototype.runChecksSync=function(t,r,n,a){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=bo(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},er.prototype.run=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o=Ir(),s=new Oo(this),l;try{l=this.gatherAndMatchNodes(t,n);}catch(u){i(u);return}n.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,m){var b=Ir();["any","all","none"].forEach(function(C){b.defer(function(I,O){r.runChecks(C,u,n,t,I,O);});}),b.then(function(C){var I=Z1(C);I&&(I.node=new mr(u),s.nodes.push(I),r.reviewOnFail&&(["any","all"].forEach(function(O){I[O].forEach(function(V){V.result===false&&(V.result=void 0);});}),I.none.forEach(function(O){O.result===true&&(O.result=void 0);}))),c();}).catch(function(C){return m(C)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},er.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Oo(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,n,t));});var l=Z1(s);l&&(l.node=o.actualNode?new mr(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},er.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;},er.prototype._logGatherPerformance=function(t){An("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(ft.timeElapsed(),"ms")),ft.mark(this._markChecksStart);},er.prototype._logRulePerformance=function(){ft.mark(this._markChecksEnd),ft.mark(this._markEnd),ft.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),ft.measure("rule_"+this.id,this._markStart,this._markEnd);};function Z1(e){if(e.length){var t=false,r={};return e.forEach(function(n){var a=n.results.filter(function(i){return i});r[n.type]=a,a.length&&(t=true);}),t?r:null}}er.prototype.gatherAndMatchNodes=function(t,r){var n=this,a="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&ft.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new _o({ruleId:n.id,method:"#matches",errorNode:new mr(s),error:l})}}),r.performanceTimer&&(ft.mark(i),ft.measure("rule_"+this.id+"#matches",a,i)),o};function t3(e){return Ui(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function r3(e,t){var r=[];return e.forEach(function(n){var a=Ui(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function n3(e){return e.filter(function(t){return t.filtered!==true})}function a3(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=n3(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}er.prototype.after=function(t,r){var n=this,a=t3(this);return a.forEach(function(i){var o=r3(t.nodes,i.id),s=bo(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new _o({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}n.reviewOnFail&&l.forEach(function(c){var m=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,b=n.none.includes(c.id)&&c.result===true;(m||b)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=a3(t),t},er.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=bu(t.matches)),t.impact&&(ut(Ke.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Jn=/\{\{.+?\}\}/g,i3=(function(){function e(t){_t(this,e),this.lang="en",this.defaultConfig=t,this.standards=ct,this._init(),this._defaultLocale=null;}return lt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},n=Object.keys(this.data.checks),a=0;a<n.length;a++){var i=n[a],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var m=Object.keys(this.data.rules),b=0;b<m.length;b++){var C=m[b],I=this.data.rules[C],O=I.description,V=I.help;r.rules[C]={description:O,help:V};}for(var $=Object.keys(this.data.failureSummaries),G=0;G<$.length;G++){var Y=$[G],K=this.data.failureSummaries[Y],Q=K.failureMessage;r.failureSummaries[Y]={failureMessage:Q};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=s3(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=l3(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=u3(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=c3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=eh();this.allowedOrigins=[];var a=it(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===Ke.allOrigins){this.allowedOrigins=["*"];return}else o!==Ke.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=o3(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,th(r.rules,this,"addRule"),th(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new er(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;fe(n)==="object"&&(this.data.checks[r.id]=n,fe(n.messages)==="object"&&Object.keys(n.messages).filter(function(a){return n.messages.hasOwnProperty(a)&&typeof n.messages[a]=="string"}).forEach(function(a){n.messages[a].indexOf("function")===0&&(n.messages[a]=new Function("return "+n.messages[a]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new J1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),mr.setRunOptions(n),p._selectCache=[];var o=d3(this.rules,r,n),s=o.now,l=o.later,u=Ir();s.forEach(function(b){u.defer(rh(b,r,n));});var c=Ir();l.length&&c.defer(function(b){Sm(n).then(function(C){return b(C)}).catch(function(C){console.warn("Couldn't load preload assets: ",C),b(void 0);});});var m=Ir();m.defer(u),m.defer(c),m.then(function(b){var C=b.pop();if(C&&C.length){var I=C[0];I&&(r=_e({},r,I));}var O=b[0];if(!l.length){p._selectCache=void 0,a(O.filter(function($){return !!$}));return}var V=Ir();l.forEach(function($){var G=rh($,r,n);V.defer(G);}),V.then(function($){p._selectCache=void 0,a(O.concat($).filter(function(G){return !!G}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=Fa(a,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,n)}catch(s){if(n.debug)throw s;return nh(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(n){return n.id===r})}},{key:"normalizeOptions",value:function(r){var n=this,a=[],i=[];if(n.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(m){a.includes(m)||a.push(m);});}),["object","string"].includes(fe(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return a.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !a.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&p.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return fe(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(p.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===ah(n,i.id,a))&&(o.helpUrl=ah(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),Q1=i3;function eh(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function o3(e){var t;if(e?(t=Ur(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=eh();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=_e({checks:{},rules:{}},t.data),t}function th(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var s3=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Jn.test(n)&&(n=tn.default.compile(n)),typeof a=="string"&&Jn.test(a)&&(a=tn.default.compile(a)),_e({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:fe(t.messages.incomplete)==="object"?_e({},t.messages.incomplete,r.incomplete):r.incomplete}})},l3=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Jn.test(n)&&(n=tn.default.compile(n)),typeof a=="string"&&Jn.test(a)&&(a=tn.default.compile(a)),_e({},t,{help:n||t.help,description:a||t.description})},u3=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Jn.test(n)&&(n=tn.default.compile(n)),_e({},t,{failureMessage:n||t.failureMessage})},c3=function(t,r){return typeof r=="string"&&Jn.test(r)&&(r=tn.default.compile(r)),r||t};function d3(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Im(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function rh(e,t,r){return r.performanceTimer&&ft.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(i){return n(i)},function(i){r.debug?a(i):n(nh(e,i));});}}function nh(e,t){var r=t.errorNode,n=Ao(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new mr(h.documentElement);return Object.assign(new Oo(e),{error:n,result:Ke.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function ah(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Ke.helpUrlBase+n+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function ih(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!h;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||(Ye.set("globalDocumentSet",true),h=e.ownerDocument),t||(Ye.set("globalWindowSet",true),d=h.defaultView);}}function f3(){Ye.get("globalDocumentSet")&&(Ye.set("globalDocumentSet",false),h=null),Ye.get("globalWindowSet")&&(Ye.set("globalWindowSet",false),d=null);}function p3(){f3(),p._memoizedFns.forEach(function(e){return e.clear()}),Ye.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var hn=p3;function oh(e,t,r,n){try{e=new yo(e),p._tree=e.flatTree,p._selectorData=Bi(e.flatTree);}catch(o){return hn(),n(o)}var a=Ir(),i=p._audit;t.performanceTimer&&ft.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){bf(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&ft.auditEnd();var s=Wi(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&ft.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(ft.mark("auditAfterEnd"),ft.measure("audit.after","auditAfterStart","auditAfterEnd"),ft.logMeasures("audit.after")),s.forEach(Do),s=s.map(fa));try{r(s,hn);}catch(l){hn(),An(l);}}catch(l){hn(),n(l);}}).catch(function(o){hn(),n(o);});}function m3(e){p._audit=new Q1(e);}function h3(e,t,r){var n=r,a=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[h]);var o=e&&e.options||{};switch(e.command){case "rules":return oh(i,o,function(s,l){s=hr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return Vm(n,a);default:if(p._audit&&p._audit.commands&&p._audit.commands[e.command])return p._audit.commands[e.command](e,r)}}d.top!==d&&(Er.subscribe("axe.start",h3),Er.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ei(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}ei.prototype.run=function(){return this._run.apply(this,arguments)},ei.prototype.collect=function(){return this._collect.apply(this,arguments)},ei.prototype.cleanup=function(t){var r=p.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ei.prototype.add=function(t){this._registry[t.id]=t;};function g3(e){p.plugins[e.id]=new ei(e);}var v3=g3;function b3(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),ND();}var y3=b3;function w3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||p._audit.reporter||"v1",p._selectorData={},t instanceof Vt||(t=new Hm(t));var n=pm(e);if(!n)throw new Error("unknown rule `"+e+"`");n=Object.create(n,{excludeHidden:{value:false}});var a={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=n.runSync(a,r);Do(i),fa(i);var o=kc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Bl(l);})}),_e({},pn(),o,{toolOptions:r})}function sh(e){var t,r,n,a=Ae(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!vm(i)){if(s!==void 0)throw l;s=o,o=i,i=h;}if(fe(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Ur(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var yu=function(){};function x3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ih(t[0]);var n=sh(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?yu:o,l=D3(s),u=l.thenable,c=l.resolve,m=l.reject;try{ut(p._audit,"No audit configured"),ut(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(I){return _3(I,s)}p._running=true,i.performanceTimer&&ft.start();function b(I,O){var V=function(Y){i.performanceTimer&&(ft.mark("reporterEnd"),ft.measure("reporter","reporterStart","reporterEnd"),ft.logMeasures("reporter"),ft.end()),p._running=false,O();try{c(Y);}catch(K){p.log(K);}},$=function(Y){p._running=false,O();try{m(Y);}catch(K){p.log(K);}};try{i.performanceTimer&&ft.mark("reporterStart"),A3(I,i,V,$);}catch(G){$(G);}}function C(I){i.performanceTimer&&ft.end(),p._running=false,s(I),m(I);}return p._runRules(a,i,b,C),u}function D3(e){var t,r,n;return typeof Promise=="function"&&e===yu?t=new Promise(function(a,i){r=i,n=a;}):(n=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:n}}function A3(e,t,r,n){var a=eu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function _3(e,t){if(typeof t=="function"&&t!==yu){t(e.message);return}throw e}function E3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=sh(t),a=n.options,i=n.context;ut(p._audit,"Axe is not configured. Audit is missing."),ut(!p._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 yo(i,p._tree);return p._tree=o.flatTree,p._selectorData=Bi(o.flatTree),p._running=true,a.elementRef=false,new Promise(function(s,l){p._audit.run(o,a,s,l);}).then(function(s){s=hr.mapRawResults(s);var l=o.frames.map(function(c){var m=c.node;return hr.toSpec(m)}),u;return o.initiator&&(u=pn()),p._running=false,hn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,hn(),Promise.reject(s)})}function C3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Ur(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;p._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",S3(e);var s=Wi(e);return s=p._audit.after(s,a),s.forEach(Do),s=s.map(fa),T3(s,_e({environmentData:o},a))}function S3(e){var t=[],r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,i=t.shift();if(a){a.frameSpec=i??null;var o=k3(a);t.unshift.apply(t,Ee(o));}}}catch(s){r.e(s);}finally{r.f();}}function k3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return hr.mergeSpecs(n,r)}):t}function T3(e,t){return new Promise(function(r,n){var a=eu(t.reporter);a(e,t,r,n);})}function R3(e){if(p._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&fe(e.documentElement)==="object"&&fe(e.defaultView)==="object"&&(e=e.documentElement),ih(e),p._tree=Nl(e),p._selectorData=Bi(p._tree),p._tree[0]}var F3=R3,I3=function(t,r,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,U);n(_e({},pn(i),{toolOptions:o},Ua(t,r)));},M3=I3,L3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,J);r.resultTypes=["violations"];var s=Ua(t,r),l=s.violations;n(_e({},pn(i),{toolOptions:o,violations:l}));},P3=L3,O3=function(t,r,n){if(typeof r=="function"&&(n=r,r={}),!t||!Array.isArray(t))return n(t);var a=t.map(function(i){for(var o=_e({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=hr.mapRawNodeResults(o[c]);}return o});n(a);},lh=O3,N3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,k);lh(t,o,function(s){var l=pn(i);n({raw:s,env:l});});},q3=N3,B3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,v),s=Ua(t,r),l=function(c){c.nodes.forEach(function(m){m.failureSummary=Bl(m);});};s.incomplete.forEach(l),s.violations.forEach(l),n(_e({},pn(i),{toolOptions:o},s));},H3=B3,V3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,D),s=Ua(t,r);n(_e({},pn(i),{toolOptions:o},s));},j3=V3,$3={base:{Audit:Q1,CheckResult:vu,Check:J1,Context:yo,RuleResult:Oo,Rule:er,metadataFunctionMap:Po},public:{reporters:Xa},helpers:{failureSummary:Bl,incompleteFallbackMessage:Hl,processAggregate:Ua},utils:{setDefaultFrameMessenger:ff,cacheNodeSelectors:im,getNodesMatchingExpression:nm,convertSelector:Vi},commons:{dom:{nativelyHidden:Df,displayHidden:Af,visibilityHidden:_f,contentVisibiltyHidden:Ef,ariaHidden:Cf,opacityHidden:Sf,scrollHidden:kf,overflowHidden:Tf,clipHidden:Rf,areaHidden:Zs,detailsHidden:Ff}}},z3=$3;p._thisWillBeDeletedDoNotUse=z3,p.constants=Ke,p.log=An,p.AbstractVirtualNode=Vt,p.SerialVirtualNode=Hm,p.VirtualNode=Ll,p._cache=Ye,p.imports=Ic,p.cleanup=Vm,p.configure=bE,p.frameMessenger=yE,p.getRules=xE,p._load=m3,p.plugins={},p.registerPlugin=v3,p.hasReporter=$m,p.getReporter=eu,p.addReporter=gE,p.reset=y3,p._runRules=oh,p.runVirtualRule=w3,p.run=x3,p.setup=F3,p.teardown=hn,p.runPartial=E3,p.finishRun=C3,p.commons=d1,p.utils=ss,p.addReporter("na",M3),p.addReporter("no-passes",P3),p.addReporter("rawEnv",q3),p.addReporter("raw",lh),p.addReporter("v1",H3),p.addReporter("v2",j3,true);}))(),p._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(se){var ce="Fix any of the following:",ve=se;if(ve)for(var Xe,at=-1,dt=ve.length-1;at<dt;)Xe=ve[at+=1],ce+=`
426
+ `)}var Bl=Q_;function Hl(){var e=p._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var sm=Ke.resultGroups;function Wa(e,t){var r=p.utils.aggregateResult(e);return sm.forEach(function(n){t.resultTypes&&!t.resultTypes.includes(n)&&(r[n]||[]).forEach(function(a){Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=[a.nodes[0]]);}),r[n]=(r[n]||[]).map(function(a){return a=Object.assign({},a),Array.isArray(a.nodes)&&a.nodes.length>0&&(a.nodes=a.nodes.map(function(i){if(fe(i.node)==="object"){var o=lm(i.node,t);Object.assign(i,o);}return delete i.result,delete i.node,e2(i,t),i})),sm.forEach(function(i){return delete a[i]}),delete a.pageLevel,delete a.result,a});}),r}function e2(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(n){return Array.isArray(n.relatedNodes)}).forEach(function(n){n.relatedNodes=n.relatedNodes.map(function(a){return lm(a,t)});});});}function lm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=hr.dqElmToSpec(e,t);var r={};if(p._audit.noHtml)r.html=null;else {var n;r.html=(n=e.source)!==null&&n!==void 0?n:"Undefined";}if(t.elementRef&&!e.fromFrame){var a;r.element=(a=e.element)!==null&&a!==void 0?a:null;}if(t.selectors!==false||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"];}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"];}if(t.xpath){var s;r.xpath=(s=e.xpath)!==null&&s!==void 0?s:["/"];}return r}var t2=/\$\{\s?data\s?\}/g;function vo(e,t){if(typeof t=="string")return e.replace(t2,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=typeof t[r]>"u"?"":String(t[r]);e=e.replace(n,a);}return e}function um(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 vo(r,t)}return vo(e,t)}if(typeof e=="string")return vo(e,t);if(typeof t=="string"){var n=e[t];return vo(n,t)}var a=e.default||Hl();return t&&t.messageKey&&e[t.messageKey]&&(a=e[t.messageKey]),um(a,t)}}var Vl=um;function r2(e,t,r){var n=p._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return Vl(n.messages[t],r)}var n2=r2;function a2(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],i=e.enabled,o=e.options;return a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var bo=a2;function pn(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d;return t&&fe(t)==="object"?t:fe(r)!=="object"?{}:{testEngine:{name:"axe-core",version:p.version},testRunner:{name:p._audit.brand},testEnvironment:i2(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function i2(e){if(!e.navigator||fe(e.navigator)!=="object")return {};var t=e.navigator,r=e.innerHeight,n=e.innerWidth,a=o2(e)||{},i=a.angle,o=a.type;return {userAgent:t.userAgent,windowWidth:n,windowHeight:r,orientationAngle:i,orientationType:o}}function o2(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function cm(e,t){var r=t.focusable,n=t.page;return {node:e,include:[],exclude:[],initiator:false,focusable:r&&s2(e),size:l2(e),page:n}}function s2(e){var t=Nr(e.getAttribute("tabindex"));return t===null||t>=0}function l2(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r;}return {width:t,height:r}}function u2(e){if($l(e)){var t=" must be used inside include or exclude. It should not be on the same object.";mn(!Pr(e,"fromFrames"),"fromFrames"+t),mn(!Pr(e,"fromShadowDom"),"fromShadowDom"+t);}else if(wo(e))e={include:e,exclude:[]};else return {include:[h],exclude:[]};var r=dm(e.include);r.length===0&&r.push(h);var n=dm(e.exclude);return {include:r,exclude:n}}function dm(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];jl(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=c2(e[r]);n&&t.push(n);}return t}function c2(e){return e instanceof d.Node?e:typeof e=="string"?[e]:(zl(e)?(f2(e),e=e.fromFrames):xo(e)&&(e=[e]),d2(e))}function d2(e){if(Array.isArray(e)){var t=[],r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;if(xo(a)&&(p2(a),a=a.fromShadowDom),typeof a!="string"&&!m2(a))return;t.push(a);}}catch(i){r.e(i);}finally{r.f();}return t}}function f2(e){mn(Array.isArray(e.fromFrames),"fromFrames property must be an array"),mn(e.fromFrames.every(function(t){return !Pr(t,"fromFrames")}),"Invalid context; fromFrames selector must be appended, rather than nested"),mn(!Pr(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object");}function p2(e){mn(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),mn(e.fromShadowDom.every(function(t){return !Pr(t,"fromFrames")}),"shadow selector must be inside fromFrame instead"),mn(e.fromShadowDom.every(function(t){return !Pr(t,"fromShadowDom")}),"fromShadowDom selector must be appended, rather than nested");}function m2(e){return Array.isArray(e)&&e.every(function(t){return typeof t=="string"})}function mn(e,t){ut(e,"Invalid context; ".concat(t,`
427
+ See: https://github.com/dequelabs/axe-core/blob/master/doc/context.md`));}function fm(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var i=e[t][n];if(i instanceof d.Node)if(i.documentElement instanceof d.Node)r.push(e.flatTree[0]);else if(i.host instanceof d.Node){var o=Array.from(i.children).map(function(l){return Ze(l)});r.push.apply(r,Ee(o));}else r.push(Ze(i));else if(i&&i.length)if(i.length>1)h2(e,t,i);else {var s=Zl(i[0]);r.push.apply(r,Ee(s.map(function(l){return Ze(l)})));}}return r.filter(function(l){return l})}function h2(e,t,r){e.frames=e.frames||[];var n=r.shift(),a=Zl(n);a.forEach(function(i){var o=e.frames.find(function(s){return s.node===i});o||(o=cm(i,e),e.frames.push(o)),o[t].push(r);});}function yo(e,t){var r,n,a,i,o=this;e=Wr(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((n=e)===null||n===void 0?void 0:n.initiator)=="boolean"?e.initiator:true,this.focusable=typeof((a=e)===null||a===void 0?void 0:a.focusable)=="boolean"?e.focusable:true,this.size=fe((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=u2(e),this.flatTree=t??Nl(y2(e)),this.exclude=e.exclude,this.include=e.include,this.include=fm(this,"include"),this.exclude=fm(this,"exclude"),Jl("frame, iframe",this).forEach(function(s){Wl(s,o)&&g2(o,s.actualNode);}),typeof this.page>"u"&&(this.page=v2(this),this.frames.forEach(function(s){s.page=o.page;})),b2(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Xl);}function g2(e,t){!Et(t)||Fa(e.frames,"node",t)||e.frames.push(cm(t,e));}function v2(e){var t=e.include;return t.length===1&&t[0].actualNode===h.documentElement}function b2(e){if(e.include.length===0&&e.frames.length===0){var t=Er.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function y2(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var i=n[a];if(i instanceof d.Element)return i.ownerDocument.documentElement;if(i instanceof d.Document)return i.documentElement}return h.documentElement}function w2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===false)return [];var r=new yo(e),n=r.frames;return n.map(function(a){var i=a.node,o=te(a,j);o.initiator=false;var s=Hi(i);return {frameSelector:s,frameContext:o}})}function pm(e){var t=p._audit.rules.find(function(r){var n=r.id;return n===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function x2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=d.getComputedStyle(e),i=mm(a,"overflow-x"),o=mm(a,"overflow-y");if(r&&i||n&&o)return {elm:e,top:e.scrollTop,left:e.scrollLeft}}}function mm(e,t){var r=e.getPropertyValue(t);return ["scroll","auto"].includes(r)}var Kr=wt(x2);function hm(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var n=Kr(r);return n&&t.push(n),t.concat(hm(r))},[])}function D2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d,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(hm(h.body))}var A2=D2;function _2(){return Wr(ct)}function E2(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=n===void 0?false:n,i=t.shadowId,o=t.root,s=t.priority,l=t.isLink,u=l===void 0?false:l,c=e.createElement("style");if(u){var m=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(m);}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:i,root:o,priority:s}}}var gm=E2,lr;function C2(e){if(lr&&lr.parentNode)return lr.styleSheet===void 0?lr.appendChild(h.createTextNode(e)):lr.styleSheet.cssText+=e,lr;if(e){var t=h.head||h.getElementsByTagName("head")[0];return lr=h.createElement("style"),lr.type="text/css",lr.styleSheet===void 0?lr.appendChild(h.createTextNode(e)):lr.styleSheet.cssText=e,t.appendChild(lr),lr}}var S2=C2;function jl(e){return !!e&&fe(e)==="object"&&typeof e.length=="number"&&!(e instanceof d.Node)}function Pr(e,t){return !e||fe(e)!=="object"?false:Object.prototype.hasOwnProperty.call(e,t)}function vm(e){return $l(e)||wo(e)}function $l(e){return ["include","exclude"].some(function(t){return Pr(e,t)&&wo(e[t])})}function wo(e){return typeof e=="string"||e instanceof d.Node||zl(e)||xo(e)||jl(e)}function zl(e){return Pr(e,"fromFrames")}function xo(e){return Pr(e,"fromShadowDom")}function bm(e,t){var r=Ze(e);if(e.nodeType===9)return false;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var n=d.getComputedStyle(e,null);if(!n||!e.parentNode||n.getPropertyValue("display")==="none"||!t&&n.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return true;var a=e.assignedSlot?e.assignedSlot:e.parentNode,i=bm(a,true);return r&&(r._isHidden=i),i}var k2=bm;function T2(e){var t,r,n=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?false:!!ct.htmlElms[n]}var Gl=T2;function Wl(e,t){var r=t.include,n=r===void 0?[]:r,a=t.exclude,i=a===void 0?[]:a,o=n.filter(function(c){return Ur(c,e)});if(o.length===0)return false;var s=i.filter(function(c){return Ur(c,e)});if(s.length===0)return true;var l=ym(o),u=ym(s);return Ur(u,l)}function ym(e){var t,r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value;(!t||!Ur(a,t))&&(t=a);}}catch(i){r.e(i);}finally{r.f();}return t}function Ul(e,t){return e.length!==t.length?false:e.every(function(r,n){var a=t[n];return Array.isArray(r)?r.length!==a.length?false:r.every(function(i,o){return a[o]===i}):r===a})}function R2(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var Xl=R2;function ot(e){return e instanceof Vt?{vNode:e,domNode:e.actualNode}:{vNode:Ze(e),domNode:e}}function F2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var s=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return !n.includes(c)}),l=s.map(function(c,m){var b=[].concat(Ee(r),[m]),C=/^https?:\/\/|^\/\//i.test(c);return Kl(c,t,b,n,C)}),u=i.filter(function(c){return c.type!==3});return u.length&&l.push(Promise.resolve(t.convertDataToStylesheet({data:u.map(function(c){return c.cssText}).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(l)}var wm=F2;function I2(e,t,r,n){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:false,i=M2(e);return i?wm(e,t,r,n,a):Kl(e.href,t,r,n,true)}function M2(e){try{var t=e.cssRules;return !(!t&&e.href)}catch{return false}}var Yl=I2;function L2(e,t,r,n,a){return n.push(e),new Promise(function(i,o){var s=new d.XMLHttpRequest;s.open("GET",e),s.timeout=Ke.preload.timeout,s.addEventListener("error",o),s.addEventListener("timeout",o),s.addEventListener("loadend",function(l){if(l.loaded&&s.responseText)return i(s.responseText);o(s.responseText);}),s.send();}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return Yl(o.sheet,t,r,n,o.isCrossOrigin)})}var Kl=L2;function O2(e){if(typeof e!="string")return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null}var Nr=O2,P2=(function(){function e(){if(d.performance&&d.performance)return d.performance.now()}var t=e(),r=false;return {start:function(){this.reset(),r=true,this.mark("mark_axe_start");},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",true),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=false;},auditStart:function(){r||this.reset(),this.mark("mark_audit_start");},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",true),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end");},mark:function(a){var i;(i=d.performance)!==null&&i!==void 0&&i.mark&&d.performance.mark(a);},measure:function(a,i,o){var s,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:false;if((s=d.performance)!==null&&s!==void 0&&s.measure){try{d.performance.measure(a,i,o);}catch(u){this._log(u);}l||this.clearMark(i,o);}},logMeasures:function(a){var i=this,o,s,l=function(P){return Array.isArray(P)?P[P.length-1]:P},u=function(P){i._log("Measure "+P.name+" took "+P.duration+"ms");};if(!(!((o=d.performance)!==null&&o!==void 0&&o.getEntriesByType)||!((s=d.performance)!==null&&s!==void 0&&s.getEntriesByName))){var c=l(d.performance.getEntriesByName("mark_axe_start"))||l(d.performance.getEntriesByName("mark_audit_start"));if(!c){this._log("Axe must be started before using performanceTimer");return}for(var m=d.performance.getEntriesByType("measure").filter(function(I){return I.startTime>=c.startTime}),b=0;b<m.length;++b){var C=m[b];if(C.name===a){u(C);return}else a||u(C);}}},timeElapsed:function(){var a=e();return a-t},clearMark:function(){var a;if((a=d.performance)!==null&&a!==void 0&&a.clearMarks){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];for(var l=0,u=o;l<u.length;l++){var c=u[l];d.performance.clearMarks(c);}}},reset:function(){t=e();},_log:function(a){An(a);}}})(),ft=P2;function xm(){if(h.elementsFromPoint)return h.elementsFromPoint;if(h.msElementsFromPoint)return h.msElementsFromPoint;var e=(function(){var a=h.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"})(),t=e?"pointer-events":"visibility",r=e?"none":"hidden",n=h.createElement("style");return n.innerHTML=e?"* { pointer-events: all }":"* { visibility: visible }",function(a,i){var o,s,l,u=[],c=[];for(h.head.appendChild(n);(o=h.elementFromPoint(a,i))&&u.indexOf(o)===-1;)u.push(o),c.push({value:o.style.getPropertyValue(t),priority:o.style.getPropertyPriority(t)}),o.style.setProperty(t,r,"important");for(u.indexOf(h.documentElement)<u.length-1&&(u.splice(u.indexOf(h.documentElement),1),u.push(h.documentElement)),s=c.length;l=c[--s];)u[s].style.setProperty(t,l.value?l.value:"",l.priority);return h.head.removeChild(n),u}}typeof d.addEventListener=="function"&&(h.elementsFromPoint=xm());function N2(e,t){return e.concat(t).filter(function(r,n,a){return a.indexOf(r)===n})}var Ua=N2;function Dm(e,t,r,n,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=r,i.parentShadowId=n,i}function q2(e,t,r){for(var n=Ye.get("qsa.recycledLocalVariables",function(){return []}),a=[],i=Array.isArray(e)?e:[e],o=Dm(i,t,null,e[0].shadowId,n.pop()),s=[];o.vNodesIndex<o.vNodes.length;){for(var l,u,c=o.vNodes[o.vNodesIndex++],m=null,b=null,C=(((l=o.anyLevel)===null||l===void 0?void 0:l.length)||0)+(((u=o.thisLevel)===null||u===void 0?void 0:u.length)||0),I=false,P=0;P<C;P++){var V,$,G,Y=P<(((V=o.anyLevel)===null||V===void 0?void 0:V.length)||0)?o.anyLevel[P]:o.thisLevel[P-((($=o.anyLevel)===null||$===void 0?void 0:$.length)||0)];if((!Y[0].id||c.shadowId===o.parentShadowId)&&qn(c,Y[0]))if(Y.length===1)!I&&(!r||r(c))&&(s.push(c),I=true);else {var K=Y.slice(1);if([" ",">"].includes(K[0].combinator)===false)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+Y[1].combinator);K[0].combinator===">"?(m=m||[]).push(K):(b=b||[]).push(K);}(!Y[0].id||c.shadowId===o.parentShadowId)&&(G=o.anyLevel)!==null&&G!==void 0&&G.includes(Y)&&(b=b||[]).push(Y);}for(c.children&&c.children.length&&(a.push(o),o=Dm(c.children,b,m,c.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop();}return s}function B2(e,t,r){e=Array.isArray(e)?e:[e];var n=Vi(t),a=nm(e,n,r);return a||q2(e,n,r)}var qr=B2;function H2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=V2(r);if(!n.length)return Promise.resolve();var a=h.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=gm(a);return j2(n,i).then(function(o){return _m(o)})}var Am=H2;function V2(e){var t=[],r=qr(e,"*",function(n){return t.includes(n.shadowId)?false:(t.push(n.shadowId),true)}).map(function(n){return {shadowId:n.shadowId,rootNode:Ia(n.actualNode)}});return Ua(r,[])}function j2(e,t){var r=[];return e.forEach(function(n,a){var i=n.rootNode,o=n.shadowId,s=$2(i,o,t);if(!s)return Promise.all(r);var l=a+1,u={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:l},c=[],m=Promise.all(s.map(function(b,C){var I=[l,C];return Yl(b,u,I,c)}));r.push(m);}),Promise.all(r)}function _m(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(_m(r)):t.concat(r)},[])}function $2(e,t,r){var n;return e.nodeType===11&&t?n=z2(e,r):n=G2(e),U2(n)}function z2(e,t){return Array.from(e.children).filter(W2).reduce(function(r,n){var a=n.nodeName.toUpperCase(),i=a==="STYLE"?n.textContent:n,o=a==="LINK",s=t({data:i,isLink:o,root:e});return s.sheet&&r.push(s.sheet),r},[])}function G2(e){return Array.from(e.styleSheets).filter(function(t){return t.media?Em(t.media.mediaText):false})}function W2(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a=t==="LINK"&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||a&&Em(e.media)}function Em(e){return e?!e.toUpperCase().includes("PRINT"):true}function U2(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?false:(t.push(r.href),true):true})}function X2(e){var t=e.treeRoot,r=t===void 0?p._tree[0]:t,n=qr(r,"video[autoplay], audio[autoplay]",function(a){var i=a.actualNode;if(i.preload==="none"&&i.readyState===0&&i.networkState!==i.NETWORK_LOADING||i.hasAttribute("paused")||i.hasAttribute("muted"))return false;if(i.hasAttribute("src"))return !!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(s){return !!s.getAttribute("src")});return !(o.length<=0)});return Promise.all(n.map(function(a){var i=a.actualNode;return Y2(i)}))}var Cm=X2;function Y2(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e);}e.addEventListener("loadedmetadata",r);})}function Sm(e){var t={cssom:Am,media:Cm};return km(e)?new Promise(function(r,n){var a=Tm(e),i=a.assets,o=a.timeout,s=setTimeout(function(){return n(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(l){return t[l](e).then(function(u){return z({},l,u)})})).then(function(l){var u=l.reduce(function(c,m){return _e({},c,m)},{});clearTimeout(s),r(u);}).catch(function(l){clearTimeout(s),n(l);});}):Promise.resolve()}function K2(e){return fe(e)==="object"&&Array.isArray(e.assets)}function km(e){return !e||e.preload===void 0||e.preload===null?true:typeof e.preload=="boolean"?e.preload:K2(e.preload)}function Tm(e){var t=Ke.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload||typeof e.preload=="boolean")return a;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=Ua(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function Do(e){var t=p._audit.data.checks||{},r=p._audit.data.rules||{},n=Fa(p._audit.rules,"id",e.id)||{};e.tags=Wr(n.tags||[]);var a=Rm(t,true,n),i=Rm(t,false,n);e.nodes.forEach(function(o){o.any.forEach(a),o.all.forEach(a),o.none.forEach(i);}),Ys(e,Wr(r[e.id]||{}));}function J2(e,t){function r(a){return a.incomplete&&a.incomplete.default?a.incomplete.default:Hl()}if(e&&e.missingData)try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function Rm(e,t,r){return function(n){var a=e[n.id]||{},i=a.messages||{},o=Object.assign({},a);delete o.messages,!r.reviewOnFail&&n.result===void 0?(fe(i.incomplete)==="object"&&!Array.isArray(n.data)&&(o.message=J2(n.data,i)),o.message||(o.message=i.incomplete)):o.message=n.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=Vl(o.message,n.data)),Ys(n,o);}}function Z2(e,t){return qr(e,t)}var ur=Z2;function Fm(e,t){var r,n,a=p._audit&&p._audit.tagExclude?p._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=Array.isArray(n)?n:[n],n=n.concat(a.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],n=a.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==false?n.every(function(o){return e.tags.indexOf(o)===-1}):false}function Q2(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return e.pageLevel&&!t.page?false:n.type==="rule"?n.values.indexOf(e.id)!==-1:a&&typeof a.enabled=="boolean"?a.enabled:n.type==="tag"&&n.values?Fm(e,n.values):Fm(e,[])}var Im=Q2;function Mm(e,t){if(!t)return e;var r=e.cloneNode(false),n=ha(r);if(r.nodeType===1){var a=r.outerHTML;r=Ye.get(a,function(){return Lm(r,n,e,t)});}else r=Lm(r,n,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Mm(i,t));}),r}function Lm(e,t,r,n){return t&&(e=h.createElement(e.nodeName),Array.from(t).forEach(function(a){eE(r,a.name,n)||e.setAttribute(a.name,a.value);})),e}function eE(e,t,r){return typeof r[t]>"u"?false:r[t]===true?true:On(e,r[t])}function Jl(e,t){var r=[],n;if(p._selectCache)for(var a=0,i=p._selectCache.length;a<i;a++){var o=p._selectCache[a];if(o.selector===e)return o.result}for(var s=tE(t.include),l=rE(t),u=0;u<s.length;u++){n=s[u];var c=qr(n,e,l);r=nE(r,c);}return p._selectCache&&p._selectCache.push({selector:e,result:r}),r}function tE(e){return e.reduce(function(t,r){return (!t.length||!Ur(t[t.length-1],r))&&t.push(r),t},[])}function rE(e){return !e.exclude||e.exclude.length===0?null:function(t){return Wl(t,e)}}function nE(e,t){if(e.length===0)return t;if(e.length<t.length){var r=e;e=t,t=r;}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function Ao(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(fe(e)!=="object"||e===null)return {message:String(e)};var r={},n=it(Ke.serializableErrorProps),a;try{for(n.s();!(a=n.n()).done;){var i=a.value;["string","number","boolean"].includes(fe(e[i]))&&(r[i]=e[i]);}}catch(o){n.e(o);}finally{n.f();}return e.cause&&(r.cause=t<10?Ao(e.cause,t+1):"..."),r}var aE=(function(e){function t(r){var n,a,i=r.error,o=r.ruleId,s=r.method,l=r.errorNode;return _t(this,t),a=Z(this,t),a.name=(n=i.name)!==null&&n!==void 0?n:"RuleError",a.message=i.message,a.stack=i.stack,i.cause&&(a.cause=Ao(i.cause)),o&&(a.ruleId=o,a.message+=" Skipping ".concat(a.ruleId," rule.")),s&&(a.method=s),l&&(a.errorNode=l),a}return De(t,e),lt(t)})(O(Error)),_o=aE;function iE(e,t,r){if(e===d)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r;}function oE(e){e.forEach(function(t){var r=t.elm,n=t.top,a=t.left;return iE(r,n,a)});}var sE=oE;function lE(e){var t=Array.isArray(e)?Ee(e):[e];return Om(t,h)}function Om(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return e.length===0?n:n!=null&&n.shadowRoot?Om(e,n.shadowRoot):null}function Zl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h,r=Array.isArray(e)?Ee(e):[e];return e.length===0?[]:Pm(r,t)}function Pm(e,t){var r=T(e),n=r[0],a=vn(r).slice(1),i=t.querySelectorAll(n);if(a.length===0)return Array.from(i);var o=[],s=it(i),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u!=null&&u.shadowRoot&&o.push.apply(o,Ee(Pm(a,u.shadowRoot)));}}catch(c){s.e(c);}finally{s.f();}return o}function uE(){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 Eo=uE,Nm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 cE(e){for(var t=Nm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var n=e.charCodeAt(r)-96;if(t=t[n],!t)return false}return true}function qm(e){e=Array.isArray(e)?e:Nm;var t=[];return e.forEach(function(r,n){var a=String.fromCharCode(n+96).replace("`","");Array.isArray(r)?t=t.concat(qm(r).map(function(i){return a+i})):t.push(a);}),t}var Co=cE,dE=(function(e){function t(r){var n;return _t(this,t),n=Z(this,t),n._props=pE(r),n._attrs=mE(r),n}return De(t,e),lt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(n){var a;return (a=this._attrs[n])!==null&&a!==void 0?a:null}},{key:"hasAttr",value:function(n){return this._attrs[n]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(Vt),Ql={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Bm={},fE=Object.keys(Ql);fE.forEach(function(e){Bm[Ql[e]]=e;});function pE(e){var t,r,n,a=(t=e.nodeName)!==null&&t!==void 0?t:Bm[e.nodeType],i=(r=(n=e.nodeType)!==null&&n!==void 0?n:Ql[e.nodeName])!==null&&r!==void 0?r:1;ut(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),ut(typeof a=="string","nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var o=null;a==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Eo().includes(o)||(o="text"));var s=_e({},e,{nodeType:i,nodeName:a});return o&&(s.type=o),delete s.attributes,Object.freeze(s)}function mE(e){var t=e.attributes,r=t===void 0?{}:t,n={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(a,i){var o=r[i];if(ut(fe(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var s=n[i]||i;a[s]=o!==null?String(o):null;}return a},{})}var Hm=dE;function hE(e,t){if(e=e||function(){},t=t||p.log,!p._audit)throw new Error("No audit configured");var r=p.utils.queue(),n=[];Object.keys(p.plugins).forEach(function(i){r.defer(function(o){var s=function(u){n.push(u),o();};try{p.plugins[i].cleanup(o,s);}catch(l){s(l);}});});var a=p.utils.getFlattenedTree(h.body);p.utils.querySelectorAll(a,"iframe, frame").forEach(function(i){r.defer(function(o,s){return p.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,s)});}),r.then(function(i){n.length===0?e(i):t(n);}).catch(t);}var Vm=hE,Xa={},jm;function $m(e){return Xa.hasOwnProperty(e)}function eu(e){return typeof e=="string"&&Xa[e]?Xa[e]:typeof e=="function"?e:jm}function gE(e,t,r){Xa[e]=t,r&&(jm=t);}function vE(e){var t=p._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=r.split("-"),a=Ae(n,2),i=a[0],o=a[1],s=i.split(".").map(Number),l=Ae(s,3),u=l[0],c=l[1],m=l[2],b=p.version.split("-"),C=Ae(b,2),I=C[0],P=C[1],V=I.split(".").map(Number),$=Ae(V,3),G=$[0],Y=$[1],K=$[2];if(u!==G||Y<c||Y===c&&K<m||u===G&&c===Y&&m===K&&o&&o!==P)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(p.version))}if(e.reporter&&(typeof e.reporter=="function"||$m(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(ae){if(!ae.id)throw new TypeError("Configured check ".concat(JSON.stringify(ae)," is invalid. Checks must be an object with at least an id property"));t.addCheck(ae);});}var Q=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach(function(ae){if(!ae.id)throw new TypeError("Configured rule ".concat(JSON.stringify(ae)," is invalid. Rules must be an object with at least an id property"));Q.push(ae.id),t.addRule(ae);});}if(e.disableOtherRules&&t.rules.forEach(function(ae){Q.includes(ae.id)===false&&(ae.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&&PD(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(Ke.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins);}}var bE=vE;function yE(e){Er.updateMessenger(e);}function wE(e){e=e||[];var t=e.length?p._audit.rules.filter(function(n){return !!e.filter(function(a){return n.tags.indexOf(a)!==-1}).length}):p._audit.rules,r=p._audit.data.rules||{};return t.map(function(n){var a=r[n.id]||{};return {ruleId:n.id,description:a.description,help:a.help,helpUrl:a.helpUrl,tags:n.tags,actIds:n.actIds}})}var xE=wE;function DE(e,t,r){var n=["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"];if(!n.includes(e.nodeName.toUpperCase())&&$a(r)){var a=d.getComputedStyle(e);if(a.getPropertyValue("display")==="none")return;if(a.getPropertyValue("visibility")==="hidden"){var i=jt(e),o=i&&d.getComputedStyle(i);if(!o||o.getPropertyValue("visibility")!=="hidden")return}}return true}var AE=DE,zm={};yr(zm,{getAllCells:function(){return tu},getCellPosition:function(){return io},getHeaders:function(){return So},getScope:function(){return ml},isColumnHeader:function(){return Gn},isDataCell:function(){return Wm},isDataTable:function(){return ko},isHeader:function(){return TE},isRowHeader:function(){return Wn},toArray:function(){return Yr},toGrid:function(){return Yr},traverse:function(){return ru}});function _E(e){var t,r,n,a,i=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)i.push(e.rows[t].cells[r]);return i}var tu=_E;function Gm(e,t,r){for(var n=e==="row"?"_rowHeaders":"_colHeaders",a=e==="row"?Wn:Gn,i=r[t.y][t.x],o=i.colSpan-1,s=i.getAttribute("rowspan"),l=parseInt(s)===0||i.rowspan===0?r.length:i.rowSpan,u=l-1,c=t.y+u,m=t.x+o,b=e==="row"?t.y:0,C=e==="row"?0:t.x,I,P=[],V=c;V>=b&&!I;V--)for(var $=m;$>=C;$--){var G=r[V]?r[V][$]:void 0;if(G){var Y=p.utils.getNodeFromTree(G);if(Y[n]){I=Y[n];break}P.push(G);}}return I=(I||[]).concat(P.filter(a)),P.forEach(function(K){var Q=p.utils.getNodeFromTree(K);Q[n]=I;}),I}function EE(e,t){if(e.getAttribute("headers")){var r=Mr(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Yr($n(e,"table")));var n=io(e,t),a=Gm("row",n,t),i=Gm("col",n,t);return [].concat(a,i).reverse()}var So=EE;function CE(e){if(!e.children.length&&!e.textContent.trim())return false;var t=tt(e);return t?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var Wm=CE;function SE(e){var t=tt(e);if((t==="presentation"||t==="none")&&!Ot(e))return false;if(e.getAttribute("contenteditable")==="true"||$n(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||Cr(t)==="landmark")return true;if(e.getAttribute("datatable")==="0")return false;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return true;for(var r=0,n=e.children.length;r<n;r++)if(e.children[r].nodeName.toUpperCase()==="COLGROUP")return true;for(var a=0,i=e.rows.length,o,s,l=false,u=0;u<i;u++){o=e.rows[u];for(var c=0,m=o.cells.length;c<m;c++){if(s=o.cells[c],s.nodeName.toUpperCase()==="TH"||(!l&&(s.offsetWidth!==s.clientWidth||s.offsetHeight!==s.clientHeight)&&(l=true),s.getAttribute("scope")||s.getAttribute("headers")||s.getAttribute("abbr"))||["columnheader","rowheader"].includes(tt(s))||s.children.length===1&&s.children[0].nodeName.toUpperCase()==="ABBR")return true;a++;}}if(e.getElementsByTagName("table").length||i<2)return false;var b=e.rows[Math.ceil(i/2)];if(b.cells.length===1&&b.cells[0].colSpan===1)return false;if(b.cells.length>=5||l)return true;for(var C,I,P=0;P<i;P++){if(o=e.rows[P],C&&C!==d.getComputedStyle(o).getPropertyValue("background-color")||(C=d.getComputedStyle(o).getPropertyValue("background-color"),I&&I!==d.getComputedStyle(o).getPropertyValue("background-image")))return true;I=d.getComputedStyle(o).getPropertyValue("background-image");}return i>=20?true:!(Qs(e).width>Yi(d).width*.95||a<10||e.querySelector("object, embed, iframe, applet"))}var ko=SE;function kE(e){if(Gn(e)||Wn(e))return true;if(e.getAttribute("id")){var t=Rt(e.getAttribute("id"));return !!h.querySelector('[headers~="'.concat(t,'"]'))}return false}var TE=kE;function Um(e,t,r,n){var a,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof n=="function"&&(a=n(i,t,r),a===true)?[i]:(a=Um(e,{x:t.x+e.x,y:t.y+e.y},r,n),a.unshift(i),a):[]}function RE(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case "left":e={x:-1,y:0};break;case "up":e={x:0,y:-1};break;case "right":e={x:1,y:0};break;case "down":e={x:0,y:1};break}return Um(e,{x:t.x+e.x,y:t.y+e.y},r,n)}var ru=RE,Xm={};yr(Xm,{allowedAttr:function(){return Ym},arialabelText:function(){return qa},arialabelledbyText:function(){return Na},getAccessibleRefs:function(){return nu},getElementUnallowedRoles:function(){return Zm},getExplicitRole:function(){return tt},getImplicitRole:function(){return Lr},getOwnedVirtual:function(){return Va},getRole:function(){return Je},getRoleType:function(){return Cr},getRolesByType:function(){return jE},getRolesWithNameFromContents:function(){return GE},implicitNodes:function(){return UE},implicitRole:function(){return Lr},isAccessibleRef:function(){return To},isAriaRoleAllowedOnElement:function(){return Jm},isComboboxPopup:function(){return iu},isUnsupportedRole:function(){return fl},isValidRole:function(){return Ba},label:function(){return r1},labelVirtual:function(){return lo},lookupTable:function(){return e1},namedFromContents:function(){return Ap},requiredAttr:function(){return n1},requiredContext:function(){return ou},requiredOwned:function(){return su},validateAttr:function(){return Ro},validateAttrValue:function(){return a1}});function FE(e){var t=ct.ariaRoles[e],r=Ee(cn());return t&&(t.allowedAttrs&&r.push.apply(r,Ee(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,Ee(t.requiredAttrs))),r}var Ym=FE,IE=/^idrefs?$/;function Km(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e]);}for(var a=0;a<r.length;++a){var i=r[a],o=ze(e.getAttribute(i)||"");if(o){var s=it(Kt(o)),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;t.has(u)?t.get(u).push(e):t.set(u,[e]);}}catch(m){s.e(m);}finally{s.f();}}}}for(var c=0;c<e.childNodes.length;c++)e.childNodes[c].nodeType===1&&Km(e.childNodes[c],t,r);}function ME(e){var t;e=e.actualNode||e;var r=Wt(e);r=r.documentElement||r;var n=Ye.get("idRefsByRoot",function(){return new Map}),a=n.get(r);if(!a){a=new Map,n.set(r,a);var i=Object.keys(ct.ariaAttrs).filter(function(o){var s=ct.ariaAttrs[o].type;return IE.test(s)});Km(r,a,i);}return (t=a.get(e.id))!==null&&t!==void 0?t:[]}var nu=ME;function LE(e,t){var r=e instanceof Vt?e:Ze(e),n=Lr(r),a=dn(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t===n?false:!!a.allowedRoles}var Jm=LE,OE=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],PE={header:"banner",footer:"contentinfo"};function NE(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Kt(e.attr("role").toLowerCase());t=t.concat(r);}return t.filter(function(n){return Ba(n)})}function qE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:true,r=ot(e),n=r.vNode;if(!Gl(n))return [];var a=n.props.nodeName,i=Lr(n)||PE[a],o=NE(n);return o.filter(function(s){return !BE(s,n,t,i)})}function BE(e,t,r,n){return r&&e===n?true:OE.includes(e)&&Cr(e)!==n?false:Jm(t,e)}var Zm=qE;function HE(e){return Object.keys(ct.ariaRoles).filter(function(t){return ct.ariaRoles[t].type===e})}var Xn=HE;function VE(e){return Xn(e)}var jE=VE;function $E(){return Ye.get("ariaRolesNameFromContent",function(){return Object.keys(ct.ariaRoles).filter(function(e){return ct.ariaRoles[e].nameFromContent})})}var au=$E;function zE(){return au()}var GE=zE,Qm=function(t){return t===null},Ut=function(t){return t!==null},Jr={};Jr.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}},Jr.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"],Jr.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:Ut}}]},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:Ut}}]},"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:Ut}}]},"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:Ut}}]},"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:Ut}}]},"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:Ut}}]},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:Ut}}]},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:Ut}}]},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:Ut}}]},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:Ut}}]},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:Ut}}]},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:Ut}}]},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:Ut}}]},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:Ut}}]},widget:{type:"abstract",unsupported:false},window:{nameFrom:["author"],type:"abstract",unsupported:false}},Jr.implicitHtmlRole=gl,Jr.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:Ut}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Ut}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof p.AbstractVirtualNode||(t=p.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"]}],Jr.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Qm}},{nodeName:"img",attributes:{alt:Qm}},{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"]}],Jr.evaluateRoleForElement={A:function(t){var r=t.node,n=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?true:r.href.length?n:true},AREA:function(t){var r=t.node;return !r.href},BUTTON:function(t){var r=t.node,n=t.role,a=t.out;return r.getAttribute("type")==="menu"?n==="menuitem":a},IMG:function(t){var r=t.node,n=t.role,a=t.out;switch(r.alt){case null:return a;case "":return n==="presentation"||n==="none";default:return n!=="presentation"&&n!=="none"}},INPUT:function(t){var r=t.node,n=t.role,a=t.out;switch(r.type){case "button":case "image":return a;case "checkbox":return n==="button"&&r.hasAttribute("aria-pressed")?true:a;case "radio":return n==="menuitemradio";case "text":return n==="combobox"||n==="searchbox"||n==="spinbutton";case "tel":return n==="combobox"||n==="spinbutton";case "url":case "search":case "email":return n==="combobox";default:return false}},LI:function(t){var r=t.node,n=t.out,a=p.utils.matchesSelector(r,"ol li, ul li");return a?n:true},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,n=p.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return !n},SELECT:function(t){var r=t.node,n=t.role;return !r.multiple&&r.size<=1&&n==="menu"},SVG:function(t){var r=t.node,n=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?true:n}},Jr.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 e1=Jr;function WE(e){var t=null,r=e1.role[e];return r&&r.implicit&&(t=Wr(r.implicit)),t}var UE=WE;function XE(e){return !!nu(e).length}var To=XE;function iu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.popupRoles,n=Je(e);if(r??(r=ap["aria-haspopup"].values),!r.includes(n))return false;var a=YE(e);if(t1(a))return true;var i=e.props.id;if(!i)return false;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=Ia(e.actualNode),s=o.querySelectorAll('[aria-owns~="'.concat(i,`"][role~="combobox"]:not(select),
428
+ [aria-controls~="`).concat(i,'"][role~="combobox"]:not(select)'));return Array.from(s).some(t1)}var t1=function(t){return t&&Je(t)==="combobox"};function YE(e){for(;e=e.parent;)if(Je(e,{noPresentational:true})!==null)return e;return null}function KE(e){return e=Ze(e),lo(e)}var r1=KE;function JE(e){var t=ct.ariaRoles[e];return !t||!Array.isArray(t.requiredAttrs)?[]:Ee(t.requiredAttrs)}var n1=JE;function ZE(e){var t=ct.ariaRoles[e];return !t||!Array.isArray(t.requiredContext)?null:Ee(t.requiredContext)}var ou=ZE;function QE(e){var t=ct.ariaRoles[e];return !t||!Array.isArray(t.requiredOwned)?null:Ee(t.requiredOwned)}var su=QE;function eC(e,t){e=e instanceof Vt?e:Ze(e);var r,n,a=e.attr(t),i=ct.ariaAttrs[t];if(!i||i.allowEmpty&&(!a||a.trim()===""))return true;switch(i.type){case "boolean":return ["true","false"].includes(a.toLowerCase());case "nmtoken":return typeof a=="string"&&i.values.includes(a.toLowerCase());case "nmtokens":return n=Kt(a),n.reduce(function(l,u){return l&&i.values.includes(u)},n.length!==0);case "idref":try{var o=Wt(e.actualNode);return !!(a&&o.getElementById(a))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case "idrefs":return Mr(e,t).some(function(l){return !!l});case "string":return a.trim()!=="";case "decimal":return r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case "int":var s=typeof i.minValue<"u"?i.minValue:-1/0;return /^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=s}}var a1=eC;function tC(e){var t=ct.ariaAttrs[e];return !!t}var Ro=tC;function rC(e){var t=tu(e),r=this,n=[];t.forEach(function(s){var l=s.getAttribute("headers");l&&(n=n.concat(l.split(/\s+/)));var u=s.getAttribute("aria-labelledby");u&&(n=n.concat(u.split(/\s+/)));});var a=t.filter(function(s){return ze(s.textContent)===""?false:s.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(tt(s))!==-1}),i=Yr(e),o=true;return a.forEach(function(s){if(!(s.getAttribute("id")&&n.includes(s.getAttribute("id")))){var l=io(s,i),u=false;Gn(s)&&(u=ru("down",l,i).find(function(c){return !Gn(c)&&So(c,i).includes(s)})),!u&&Wn(s)&&(u=ru("right",l,i).find(function(c){return !Wn(c)&&So(c,i).includes(s)})),u||r.relatedNodes(s),o=o&&u;}}),o?true:void 0}var nC=rC,Ya=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],i1=Ya[0],o1=Ya[1],s1=Ya[2],lu=Ya[3];function aC(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var s=o.getAttribute("id");s&&(r[s]=Je(o));}var l=z(z(z(z({},s1,new Set),i1,new Set),o1,new Set),lu,new Set);t.forEach(function(b){if(!(!b.hasAttribute("headers")||!Et(b))){var C=b.getAttribute("headers").trim();if(!C){l[lu].add(b);return}var I=b.getAttribute("id"),P=Kt(C);P.forEach(function(V){I&&V===I?l[s1].add(b):r[V]?["columnheader","rowheader"].includes(r[V])||l[o1].add(b):l[i1].add(b);});}});var u=it(Ya),c;try{for(u.s();!(c=u.n()).done;){var m=c.value;if(l[m].size>0)return this.relatedNodes(Ee(l[m])),m===lu?void 0:(this.data({messageKey:m}),!1)}}catch(b){u.e(b);}finally{u.f();}return true}function iC(e){var t=[],r=tu(e),n=Yr(e);return r.forEach(function(a){if(fo(a)&&Wm(a)&&!r1(a)){var i=So(a,n).some(function(o){return o!==null&&!!fo(o)});i||t.push(a);}}),t.length?(this.relatedNodes(t),false):true}var oC=iC;function sC(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var lC=sC,uC=cC;function cC(e,t,r){if(r.children!==void 0){var n=r.attr("summary"),a=r.children.find(dC),i=a?ze(fn(a)):false;return !i||!n?false:ze(n).toLowerCase()===ze(i).toLowerCase()}}function dC(e){return e.props.nodeName==="caption"}function fC(e){return Yp(h)?e.nodeName.toUpperCase()==="TH":true}var pC=fC;function mC(e){var t=Yr(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?true:r.reduce(function(n,a,i){return n||a!==r[i+1]&&r[i+1]!==void 0},false)}var hC=mC;function gC(e,t,r){if(r.children){var n=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!n)return this.data({messageKey:"noTitle"}),false;try{var a=fn(n,{includeHidden:!0}).trim();if(a==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return true}}var vC=gC,l1={};yr(l1,{getAriaRolesByType:function(){return Xn},getAriaRolesSupportingNameFromContent:function(){return au},getElementSpec:function(){return dn},getElementsByContentType:function(){return pl},getGlobalAriaAttrs:function(){return cn},implicitHtmlRoles:function(){return gl}});function bC(e,t,r){var n=tt(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),false;var a=Je(r);if(["presentation","none"].includes(a))return this.data({role:a}),true;if(!["presentation","none"].includes(n))return false;var i=cn().some(function(l){return r.hasAttr(l)}),o=Ot(r),s;return i&&!o?s="globalAria":!i&&o?s="focusable":s="both",this.data({messageKey:s,role:a}),false}function yC(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),n==="input"&&["submit","reset"].includes(a)?i===null:false}var wC=yC;function xC(e){return or(e)}var DC=xC;function AC(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,i=t.maxValue,o=t.normalValue,s=o===void 0?0:o,l=t.noImportant,u=t.multiLineOnly;if(!l&&e.style.getPropertyPriority(r)!=="important"||u&&!Jp(e))return true;var c={};typeof a=="number"&&(c.minValue=a),typeof i=="number"&&(c.maxValue=i);var m=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(m))return this.data(_e({value:m},c)),true;var b=_C(e,{absoluteValues:n,cssProperty:r,normalValue:s});if(this.data(_e({value:b},c)),typeof b=="number")return (typeof a!="number"||b>=a)&&(typeof i!="number"||b<=i)}function _C(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,i=d.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return a;var s=parseFloat(o);if(n)return s;var l=parseFloat(i.getPropertyValue("font-size")),u=Math.round(s/l*100)/100;return isNaN(u)?o:u}function EC(e,t,r){var n=r.props.nodeName;return ["img","input","area"].includes(n)?r.hasAttr("alt"):false}var CC=EC;function SC(){}var kC=SC;function TC(){var e=h.title;return !!ze(e)}var RC=TC;function FC(e,t){var r=t.cssProperties.filter(function(n){if(e.style.getPropertyPriority(n)==="important")return n});return r.length>0?(this.data(r),false):true}var IC=FC;function MC(e,t,r){try{return !!ze(Na(r))}catch{return}}var LC=MC;function OC(e,t,r){return !!ze(qa(r))}var PC=OC;function NC(e){var t=e.getAttribute("id").trim();if(!t)return true;var r=Wt(e),n=Array.from(r.querySelectorAll('[id="'.concat(Rt(t),'"]'))).filter(function(a){return a!==e});return n.length&&this.relatedNodes(n),this.data(t),n.length===0}var qC=NC;function BC(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),true):false})}var HC=BC;function VC(e,t,r){var n=ze(r.attr("title")).toLowerCase();return this.data(n),true}var jC=VC;function $C(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 zC=$C;function GC(e){var t=ll(e,"href");return t?Et(t)||void 0:false}var WC=GC,UC=["alert","log","status"];function XC(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var n=Ye.get("regionlessNodes",function(){return YC(t)});return !n.includes(r)}function YC(e){var t=u1(p._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==h.body;)r=r.parent;return r}).filter(function(r,n,a){return a.indexOf(r)===n});return t}function u1(e,t){var r=e.actualNode;if(Je(e)==="button"||JC(e,t)||["iframe","frame"].includes(e.props.nodeName)||Il(e.actualNode)&&ll(e.actualNode,"href")||!Et(r)){for(var n=e;n;)n._hasRegionDescendant=true,n=n.parent;return ["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==h.body&&fo(r,true)&&!KC(e)?[e]:e.children.filter(function(a){var i=a.actualNode;return i.nodeType===1}).map(function(a){return u1(a,t)}).reduce(function(a,i){return a.concat(i)},[])}function KC(e){return ["none","presentation"].includes(Je(e))&&!co(e)}function JC(e,t){var r=e.actualNode,n=Je(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=Xn("landmark");return !!(["assertive","polite"].includes(a)||UC.includes(n)||i.includes(n)||t.regionMatcher&&Ha(e,t.regionMatcher))}function ZC(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var n=r.node.ancestry.slice(0,-1),a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(Ul(n,o.node.ancestry)){r.result=o.result;break}}}catch(s){a.e(s);}finally{a.f();}}}),t.forEach(function(r){r.result||(r.result=true);}),e}var QC=ZC;function eS(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 tS(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&t!==void 0;){var a=-1;if(e=t,e.children.length===0)return e;do a++,n=e.children[a].textContent.trim();while(n===""&&a+1<e.children.length);t=e.children[a];}return e}function uu(e){var t=d.getComputedStyle(tS(e));return {fontWeight:eS(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:t.getPropertyValue("font-style")==="italic"}}function c1(e,t,r){return r.reduce(function(n,a){return n||(!a.size||e.fontSize/a.size>t.fontSize)&&(!a.weight||e.fontWeight-a.weight>t.fontWeight)&&(!a.italic||e.isItalic&&!t.isItalic)},false)}function rS(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e);t=t||{};var i=t.margins||[],o=n.slice(a+1).find(function(V){return V.nodeName.toUpperCase()==="P"}),s=n.slice(0,a).reverse().find(function(V){return V.nodeName.toUpperCase()==="P"}),l=uu(e),u=o?uu(o):null,c=s?uu(s):null,m=t.passLength,b=t.failLength,C=e.textContent.trim().length,I=o?.textContent.trim().length;if(C>I*m||!u||!c1(l,u,i))return true;var P=jn(r,"blockquote");if(!(P&&P.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!c1(l,c,i))&&!(C>I*b))return false}var nS=rS,aS=/[;,\s]/,iS=/^[0-9.]+$/;function oS(e,t,r){var n=t||{},a=n.minDelay,i=n.maxDelay,o=(r.attr("content")||"").trim(),s=o.split(aS),l=Ae(s,1),u=l[0];if(!u.match(iS))return true;var c=parseFloat(u);return this.data({redirectDelay:c}),typeof a=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function sS(e,t,r){var n=ur(r,"a[href]");return n.some(function(a){return /^#[^/!]/.test(a.attr("href"))})}var lS=sS,d1={};yr(d1,{aria:function(){return Xm},color:function(){return f1},dom:function(){return Ks},forms:function(){return _1},matches:function(){return Ha},math:function(){return qf},standards:function(){return l1},table:function(){return zm},text:function(){return Pa},utils:function(){return ss}});var f1={};yr(f1,{Color:function(){return Ct},centerPointOfRect:function(){return cS},elementHasImage:function(){return po},elementIsDistinct:function(){return m1},filteredRectStack:function(){return mS},flattenColors:function(){return Br},flattenShadowColors:function(){return du},getBackgroundColor:function(){return Ja},getBackgroundStack:function(){return fu},getContrast:function(){return Yn},getForegroundColor:function(){return Mo},getOwnBackgroundColor:function(){return Tn},getRectStack:function(){return h1},getStackingContext:function(){return mu},getStrokeColorsFromShadows:function(){return pu},getTextShadowColors:function(){return Io},hasValidContrastRatio:function(){return PS},incompleteData:function(){return xt},parseTextShadows:function(){return b1},stackingContextToColor:function(){return Ka}});function uS(e){if(!(e.left>d.innerWidth)&&!(e.top>d.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),d.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),d.innerHeight-1);return {x:t,y:r}}}var cS=uS;function p1(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function dS(e,t){var r=d.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return true;var n=["border-bottom","border-top","outline"].reduce(function(s,l){var u=new Ct;return u.parseString(r.getPropertyValue(l+"-color")),s||r.getPropertyValue(l+"-style")!=="none"&&parseFloat(r.getPropertyValue(l+"-width"))>0&&u.alpha!==0},false);if(n)return true;var a=d.getComputedStyle(t);if(p1(r)[0]!==p1(a)[0])return true;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(s,l){return s||r.getPropertyValue(l)!==a.getPropertyValue(l)},false),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i}var m1=dS;function fS(e){var t=tp(e),r=Cl(e);return !r||r.length<=1?[t]:r.some(function(n){return n===void 0})?null:(r.splice(0,0,t),r)}var h1=fS;function pS(e){var t=h1(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),n;return t.forEach(function(a,i){if(i!==0){var o=t[i-1],s=t[i];n=o.every(function(l,u){return l===s[u]})||r.includes(e);}}),n?t[0]:(xt.set("bgColor","elmPartiallyObscuring"),null)}return xt.set("bgColor","outsideViewport"),null}var mS=pS,hS=["hue","saturation","color","luminosity"],g1={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var n=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(n-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Br(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",n=vS(t,e,r),a=cu(e.red,e.alpha,t.red,t.alpha,n.r*255),i=cu(e.green,e.alpha,t.green,t.alpha,n.g*255),o=cu(e.blue,e.alpha,t.blue,t.alpha,n.b*255),s=gS(e.alpha+t.alpha*(1-e.alpha),0,1);if(s===0)return new Ct(a,i,o,s);var l=Math.round(a/s),u=Math.round(i/s),c=Math.round(o/s);return new Ct(l,u,c,s)}function cu(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function gS(e,t,r){return Math.min(Math.max(t,e),r)}function vS(e,t,r){if(hS.includes(r))return g1[r](e,t);var n=new Ct;return ["r","g","b"].forEach(function(a){n[a]=g1[r](e[a],t[a]);}),n}function du(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new Ct(n,a,i,o)}function fu(e){for(var t=Cl(e).map(function(a){return a=Zp(a,e),a=bS(a),a}),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return xt.set("bgColor","bgOverlap"),null;if(r!==0&&!yS(n,t[0]))return xt.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function bS(e){var t=e.indexOf(h.body),r=e,n=Tn(d.getComputedStyle(h.documentElement));if(t>1&&n.alpha===0&&!po(h.documentElement)){t>1&&(r.splice(t,1),r.push(h.body));var a=r.indexOf(h.documentElement);a>0&&(r.splice(a,1),r.push(h.documentElement));}return r}function yS(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 wS=.54,Fo=.5,xS=1.5,v1=["top","right","bottom","left"];function pu(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,n=r===void 0?false:r,a=DS(e),i=Object.entries(a).map(function(o){var s=Ae(o,2),l=s[0],u=s[1],c=v1.filter(function(m){return u[m].length!==0}).length;return {colorStr:l,sides:u,edgeCount:c}});return !n&&i.some(function(o){var s=o.edgeCount;return s>1&&s<4})?null:i.map(AS).filter(function(o){return o!==null})}function DS(e){var t={},r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value,o=i.colorStr,s=i.pixels;(a=t[o])!==null&&a!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var l=t[o],u=Ae(s,2),c=u[0],m=u[1];c>Fo?l.right.push(c):-c>Fo&&l.left.push(-c),m>Fo?l.bottom.push(m):-m>Fo&&l.top.push(-m);}}catch(b){r.e(b);}finally{r.f();}return t}function AS(e){var t=e.colorStr,r=e.sides,n=e.edgeCount;if(n!==4)return null;var a=new Ct;a.parseString(t);var i=0,o=true;return v1.forEach(function(s){i+=r[s].length/4,o&&(o=r[s].every(function(l){return l>xS}));}),o||(a.alpha=1-Math.pow(wS,i)),a}function b1(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return [];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)ut(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){ut(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]===",")ut(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return n.forEach(function(s){var l=s.pixels;l.length===2&&l.push(0);}),n}function Io(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,i=[],o=d.getComputedStyle(e),s=o.getPropertyValue("text-shadow");if(s==="none")return i;var l=o.getPropertyValue("font-size"),u=parseInt(l);ut(isNaN(u)===false,"Unable to determine font-size value ".concat(l));var c=[],m=b1(s),b=it(m),C;try{for(b.s();!(C=b.n()).done;){var I=C.value,P=I.colorStr||o.getPropertyValue("color"),V=Ae(I.pixels,3),$=V[0],G=V[1],Y=V[2],K=Y===void 0?0:Y;if(!(n&&K>=u*n)){if(r&&K<u*r){c.push({colorStr:P,pixels:I.pixels});continue}if(c.length>0){var Q=pu(c,{ignoreEdgeCount:a});if(Q===null)return null;i.push.apply(i,Ee(Q)),c.splice(0,c.length);}var ae=_S({colorStr:P,offsetX:$,offsetY:G,blurRadius:K,fontSize:u});i.push(ae);}}}catch(pe){b.e(pe);}finally{b.f();}if(c.length>0){var le=pu(c,{ignoreEdgeCount:a});if(le===null)return null;i.push.apply(i,Ee(le));}return i}function _S(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,i=e.fontSize;if(r>a||n>a)return new Ct(0,0,0,0);var o=new Ct;return o.parseString(t),o.alpha*=ES(a,i),o}function ES(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function mu(e,t){var r=Ze(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return t=t??fu(e),t.forEach(function(i){var o,s=Ze(i),l=kS(s),u=s._stackingOrder.filter(function(b){var C=b.vNode;return !!C});u.forEach(function(b,C){var I,P=b.vNode,V=(I=u[C-1])===null||I===void 0?void 0:I.vNode,$=w1(a,P,V);C===0&&!a.get(P)&&n.unshift($),a.set(P,$);});var c=(o=u[u.length-1])===null||o===void 0?void 0:o.vNode,m=w1(a,s,c);u.length||n.unshift(m),m.bgColor=l;}),r._stackingContext=n,n}function Ka(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(CS,y1()),a=Br(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function CS(e,t){var r;e instanceof Ct?r=e:r=Ka(e).color;var n=Ka(t).color;return Br(n,r,t.blendMode)}function y1(e,t){var r;return {vNode:e,ancestor:t,opacity:parseFloat((r=e?.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Ct(0,0,0,0),blendMode:SS(e?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function SS(e){return e||void 0}function w1(e,t,r){var n,a=e.get(r),i=(n=e.get(t))!==null&&n!==void 0?n:y1(t,a);return a&&r!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function kS(e){var t=new Ct;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Ja(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,n=Ze(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,Ee(a.bgElms)),xt.set("bgColor",a.incompleteData),a.bgColor;var i=TS(e,t,r);return n._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:xt.get("bgColor")},i}function TS(e,t,r){var n,a,i=fu(e);if(!i)return null;var o=El(e),s=(n=Io(e,{minRatio:r,ignoreEdgeCount:true}))!==null&&n!==void 0?n:[];s.length&&(s=[{color:s.reduce(du)}]);for(var l=0;l<i.length;l++){var u=i[l],c=d.getComputedStyle(u);if(po(u,c))return t.push(u),null;var m=void 0;try{if(m=Tn(c),m.alpha===0)continue}catch(P){if(P&&xt.get("colorParse"))return null;throw P}if(c.getPropertyValue("display")!=="inline"&&!x1(u,o))return t.push(u),xt.set("bgColor","elmPartiallyObscured"),null;if(t.push(u),m.alpha===1)break}var b=mu(e,i);s=b.map(Ka).concat(s);var C=RS(e,i.includes(h.body));if((a=s).unshift.apply(a,Ee(C)),s.length===0)return new Ct(255,255,255,1);var I=s.reduce(function(P,V){return Br(V.color,P.color instanceof Ct?P.color:P,V.blendMode)});return Br(I.color instanceof Ct?I.color:I,new Ct(255,255,255,1))}function x1(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,i=d.getComputedStyle(e),o=i.getPropertyValue("overflow"),s=parseInt(i.getPropertyValue("padding-left"),10),l=parseInt(i.getPropertyValue("padding-right"),10),u=parseInt(i.getPropertyValue("padding-top"),10),c=parseInt(i.getPropertyValue("padding-bottom"),10);return (["scroll","auto"].includes(o)||e instanceof d.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+u+c),t.every(function(m){return m.top>=r.top&&m.bottom<=a&&m.left>=r.left&&m.right<=n})}function D1(e){return e||void 0}function RS(e,t){var r=[];if(!t){var n=h.documentElement,a=h.body,i=d.getComputedStyle(n),o=d.getComputedStyle(a),s=Tn(i),l=Tn(o),u=l.alpha!==0&&x1(a,e.getBoundingClientRect());(l.alpha!==0&&s.alpha===0||u&&l.alpha!==1)&&r.unshift({color:l,blendMode:D1(o.getPropertyValue("mix-blend-mode"))}),s.alpha!==0&&(!u||u&&l.alpha!==1)&&r.unshift({color:s,blendMode:D1(i.getPropertyValue("mix-blend-mode"))});}return r}function FS(e,t){if(!t||!e)return null;t.alpha<1&&(t=Br(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Yn=FS;function Mo(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=d.getComputedStyle(e),i=[function(){return MS(a,n)},function(){return IS(a)},function(){return Io(e,{minRatio:0})}],o=[];try{for(var s=0,l=i;s<l.length;s++){var u=l[s],c=u();if(c&&(o=o.concat(c),c.alpha===1))break}}catch(P){if(P&&xt.get("colorParse"))return null;throw P}var m=o.reduce(function(P,V){return Br(P,V)});if(r??(r=Ja(e,[])),r===null){var b=xt.get("bgColor");return xt.set("fgColor",b),null}var C=mu(e),I=A1(C,e);return Br(LS(m,I,C),new Ct(255,255,255,1))}function IS(e){return new Ct().parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}function MS(e,t){var r=t.textStrokeEmMin,n=r===void 0?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(a===0)return null;var i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<n)return null;var s=e.getPropertyValue("-webkit-text-stroke-color");return new Ct().parseString(s)}function LS(e,t,r){for(;t;){var n;if(t.opacity===1&&t.ancestor){t=t.ancestor;continue}e.alpha*=t.opacity;var a=((n=t.ancestor)===null||n===void 0?void 0:n.descendants)||r;t.opacity!==1&&(a=a.slice(0,a.indexOf(t)));var i=a.map(Ka);if(!i.length){t=t.ancestor;continue}var o=i.reduce(function(s,l){return Br(l.color,s.color instanceof Ct?s.color:s)},{color:new Ct(0,0,0,0),blendMode:"normal"});e=Br(e,o),t=t.ancestor;}return e}function A1(e,t){var r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if(((a=i.vNode)===null||a===void 0?void 0:a.actualNode)===t)return i;var o=A1(i.descendants,t);if(o)return o}}catch(s){r.e(s);}finally{r.f();}}function OS(e,t,r,n){var a=Yn(e,t),i=n&&Math.ceil(r*72)/96<14||!n&&Math.ceil(r*72)/96<18,o=i?4.5:3;return {isValid:a>o,contrastRatio:a,expectedContrastRatio:o}}var PS=OS,_1={};yr(_1,{isAriaCombobox:function(){return Rp},isAriaListbox:function(){return Tp},isAriaRange:function(){return Fp},isAriaTextbox:function(){return kp},isDisabled:function(){return Za},isNativeSelect:function(){return Sp},isNativeTextbox:function(){return Cp}});var NS=["fieldset","button","select","input","textarea"];function E1(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,n=e.attr("aria-disabled");return NS.includes(r)&&e.hasAttr("disabled")?t=true:n?t=n.toLowerCase()==="true":e.parent?t=E1(e.parent):t=false,e._isDisabled=t,t}var Za=E1;function qS(e,t,r){var n=Pa.accessibleTextVirtual(r),a=Pa.sanitize(Pa.removeUnicode(n,{emoji:true,nonBmp:true,punctuations:true})).toLowerCase();if(a){var i={name:a,urlProps:Ks.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),true}}var BS=qS;function C1(e,t){if(!e||!t)return false;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(r.length!==n.length)return false;var a=r.every(function(i){var o=e[i],s=t[i];return fe(o)!==fe(s)?false:fe(o)==="object"||fe(s)==="object"?C1(o,s):o===s});return a}function HS(e){if(e.length<2)return e;for(var t=e.filter(function(o){var s=o.result;return s!==void 0}),r=[],n={},a=function(s){var l,u=t[s],c=u.data,m=c.name,b=c.urlProps;if(n[m])return 1;var C=t.filter(function(P,V){var $=P.data;return $.name===m&&V!==s}),I=C.every(function(P){var V=P.data;return C1(V.urlProps,b)});C.length&&!I&&(u.result=void 0),u.relatedNodes=[],(l=u.relatedNodes).push.apply(l,Ee(C.map(function(P){return P.relatedNodes[0]}))),n[m]=C,r.push(u);},i=0;i<t.length;i++)a(i);return r}var VS=HS;function jS(e){var t=Je(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),i=e.props.nodeName.match(/h(\d)/)||[],o=Ae(i,2),s=o[1];return r?s&&!n?parseInt(s,10):isNaN(a)||a<1?s?parseInt(s,10):2:a||-1:-1}function $S(){var e=Ye.get("headingOrder");if(e)return true;var t="h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",r=qr(p._tree[0],t,Et);return e=r.map(function(n){return {ancestry:[Hi(n.actualNode)],level:jS(n)}}),this.data({headingOrder:e}),Ye.set("headingOrder",r),true}var zS=$S;function GS(e){var t=US(e);return e.forEach(function(r){r.result=WS(r,t);}),e}function WS(e,t){var r,n,a,i,o=S1(t,e.node.ancestry),s=(r=(n=t[o])===null||n===void 0?void 0:n.level)!==null&&r!==void 0?r:-1,l=(a=(i=t[o-1])===null||i===void 0?void 0:i.level)!==null&&a!==void 0?a:-1;if(o===0)return true;if(s!==-1)return s-l<=1}function US(e){e=Ee(e),e.sort(function(r,n){var a=r.node,i=n.node;return a.ancestry.length-i.ancestry.length});var t=e.reduce(XS,[]);return t.filter(function(r){var n=r.level;return n!==-1})}function XS(e,t){var r,n=(r=t.data)===null||r===void 0?void 0:r.headingOrder,a=k1(t.node.ancestry,1);if(!n)return e;var i=n.map(function(s){return KS(s,a)}),o=YS(e,a);return o===-1?e.push.apply(e,Ee(i)):e.splice.apply(e,[o,0].concat(Ee(i))),e}function YS(e,t){for(;t.length;){var r=S1(e,t);if(r!==-1)return r;t=k1(t,1);}return -1}function S1(e,t){return e.findIndex(function(r){return Ul(r.ancestry,t)})}function KS(e,t){var r=t.concat(e.ancestry);return _e({},e,{ancestry:r})}function k1(e,t){return e.slice(0,e.length-t)}function JS(e,t,r){var n=t?.minSize||24,a=r.boundingClientRect;if(Xr(n*10,a))return this.data({messageKey:"large",minSize:n}),true;var i=Xr.bind(null,n),o=ro(r),s=ZS(r,o),l=QS(r,o),u=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&(u.length||!i(a))){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Qa(s));return}if(u.length)return this.relatedNodes(Qa(u)),this.data({messageKey:"obscured"}),true;var m=gr(r)?false:void 0;if(!i(a))return this.data(_e({minSize:n},Lo(a))),m;var b=rk(c);if(!b.length)return this.data(_e({minSize:n},Lo(a))),true;var C=ek(r,b,n);if(!C){this.data({minSize:n,messageKey:"tooManyRects"});return}if(!i(C)){if(s.length){this.data({minSize:n,messageKey:"contentOverflow"}),this.relatedNodes(Qa(s));return}var I=b.every(gr),P="partiallyObscured".concat(I?"":"NonTabbable");return this.data(_e({messageKey:P,minSize:n},Lo(C))),this.relatedNodes(Qa(b)),I?m:void 0}return this.data(_e({minSize:n},Lo(C||a))),this.relatedNodes(Qa(b)),true}function ZS(e,t){return t.filter(function(r){return !T1(r,e)&&R1(e,r)})}function QS(e,t){var r=[],n=[],a=it(t),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;!R1(e,o)&&rl(e,o)&&nk(o)!=="none"&&(T1(e,o)?r.push(o):n.push(o));}}catch(s){a.e(s);}finally{a.f();}return {fullyObscuringElms:r,partialObscuringElms:n}}function ek(e,t,r){var n=e.boundingClientRect,a=t.map(function(o){var s=o.getComputedStylePropertyValue("display");return s==="inline"?o.clientRects:o.boundingClientRect}).flat(1/0),i;try{i=nl(n,a);}catch{return null}return tk(i,r)}function tk(e,t){return e.reduce(function(r,n){var a=Xr(t,r),i=Xr(t,n);if(a!==i)return a?r:n;var o=r.width*r.height,s=n.width*n.height;return o>s?r:n})}function rk(e){return e.filter(function(t){return Cr(t)==="widget"&&Ot(t)})}function T1(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function nk(e){return e.getComputedStylePropertyValue("pointer-events")}function Lo(e){return {width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function R1(e,t){return Ur(e,t)&&!gr(t)}function Qa(e){return e.map(function(t){var r=t.actualNode;return r})}var ak=.05;function ik(e,t,r){var n=t?.minOffset||24;if(Xr(n*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),true;var a=[],i=n,o=it(ro(r,n)),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;if(!(Cr(l)!=="widget"||!Ot(l))){var u=null;try{u=Hf(r,l,n/2);}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});return}throw c}u!==null&&(u=ok(u)*2,!(u+ak>=n)&&(i=Math.min(i,u),a.push(l)));}}}catch(c){o.e(c);}finally{o.f();}if(a.length===0)return this.data({closestOffset:i,minOffset:n}),true;if(this.relatedNodes(a.map(function(c){var m=c.actualNode;return m})),!a.some(gr)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:n});return}return this.data({closestOffset:i,minOffset:n}),gr(r)?false:void 0}function ok(e){return Math.round(e*10)/10}function sk(e,t,r){var n=t||{},a=n.scaleMinimum,i=a===void 0?2:a,o=n.lowerBound,s=o===void 0?false:o,l=r.attr("content")||"";if(!l)return true;var u=l.split(/[;,]/).reduce(function(m,b){var C=b.trim();if(!C)return m;var I=C.split("="),P=Ae(I,2),V=P[0],$=P[1];if(!V||!$)return m;var G=V.toLowerCase().trim(),Y=$.toLowerCase().trim();return G==="maximum-scale"&&Y==="yes"&&(Y=1),G==="maximum-scale"&&parseFloat(Y)<0||(m[G]=Y),m},{});if(s&&u["maximum-scale"]&&parseFloat(u["maximum-scale"])<s)return true;if(!s&&u["user-scalable"]==="no")return this.data("user-scalable=no"),false;var c=parseFloat(u["user-scalable"]);return !s&&u["user-scalable"]&&(c||c===0)&&c>-1&&c<1?(this.data("user-scalable"),false):u["maximum-scale"]&&parseFloat(u["maximum-scale"])<i?(this.data("maximum-scale"),false):true}var lk=sk;function uk(e,t,r,n){var a=n||{},i=a.cssom,o=i===void 0?void 0:i,s=t||{},l=s.degreeThreshold,u=l===void 0?0:l;if(!o||!o.length)return;for(var c=false,m=[],b=V(o),C=function(){var ge=P[I],xe=b[ge],Se=xe.root,qe=xe.rules,We=qe.filter($);if(!We.length)return 1;We.forEach(function(Me){var $e=Me.cssRules;Array.from($e).forEach(function(ye){var Ne=G(ye);if(Ne&&ye.selectorText.toUpperCase()!=="HTML"){var re=Array.from(Se.querySelectorAll(ye.selectorText))||[];m=m.concat(re);}c=c||Ne;});});},I=0,P=Object.keys(b);I<P.length;I++)C();if(!c)return true;return m.length&&this.relatedNodes(m),false;function V(ue){return ue.reduce(function(ge,xe){var Se=xe.sheet,qe=xe.root,We=xe.shadowId,Me=We||"topDocument";if(ge[Me]||(ge[Me]={root:qe,rules:[]}),!Se||!Se.cssRules)return ge;var $e=Array.from(Se.cssRules);return ge[Me].rules=ge[Me].rules.concat($e),ge},{})}function $(ue){var ge=ue.type,xe=ue.cssText;return ge!==4?false:/orientation:\s*landscape/i.test(xe)||/orientation:\s*portrait/i.test(xe)}function G(ue){var ge=ue.selectorText,xe=ue.style;if(!ge||xe.length<=0)return false;var Se=xe.transform||xe.webkitTransform||xe.msTransform||false;if(!Se&&!xe.rotate)return false;var qe=Y(Se),We=K("rotate",xe.rotate),Me=qe+We;return !Me||(Me=Math.abs(Me),Math.abs(Me-180)%180<=u)?false:Math.abs(Me-90)%90<=u}function Y(ue){if(!ue)return 0;var ge=ue.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!ge)return 0;var xe=Ae(ge,3),Se=xe[1],qe=xe[2];return K(Se,qe)}function K(ue,ge){switch(ue){case "rotate":case "rotateZ":return Q(ge);case "rotate3d":var xe=ge.split(",").map(function(Me){return Me.trim()}),Se=Ae(xe,4),qe=Se[2],We=Se[3];return parseInt(qe)===0?void 0:Q(We);case "matrix":case "matrix3d":return ae(ge);default:return 0}}function Q(ue){var ge=ue.match(/(deg|grad|rad|turn)/)||[],xe=Ae(ge,1),Se=xe[0];if(!Se)return 0;var qe=parseFloat(ue.replace(Se,""));switch(Se){case "rad":return le(qe);case "grad":return pe(qe);case "turn":return Ce(qe);default:return parseInt(qe)}}function ae(ue){var ge=ue.split(",");if(ge.length<=6){var xe=Ae(ge,2),Se=xe[0],qe=xe[1],We=Math.atan2(parseFloat(qe),parseFloat(Se));return le(We)}var Me=parseFloat(ge[8]),$e=Math.asin(Me),ye=Math.cos($e),Ne=Math.acos(parseFloat(ge[0])/ye);return le(Ne)}function le(ue){return Math.round(ue*(180/Math.PI))}function pe(ue){return ue=ue%400,ue<0&&(ue+=400),Math.round(ue/400*360)}function Ce(ue){return Math.round(360/(1/ue))}}var ck=uk;function dk(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(!e.duration){console.warn("axe.utils.preloadMedia did not load metadata");return}var n=t.allowedDuration,a=n===void 0?3:n,i=o(e);if(i<=a)return true;if(!r)return false;return true;function o(u){if(!u.currentSrc)return 0;var c=s(u.currentSrc);return c?c.length===1?Math.abs(u.duration-c[0]):Math.abs(c[1]-c[0]):Math.abs(u.duration-(u.currentTime||0))}function s(u){var c=u.match(/#t=(.*)/);if(c){var m=Ae(c,2),b=m[1],C=b.split(",");return C.map(function(I){return /:/.test(I)?l(I):parseFloat(I)})}}function l(u){for(var c=u.split(":"),m=0,b=1;c.length>0;)m+=b*parseInt(c.pop(),10),b*=60;return parseFloat(m)}}var fk=dk;function pk(e,t){return t.isViolation?false:void 0}var mk=pk,F1=" > ";function hk(e){var t={};return e.filter(function(r){var n=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(n){var a=r.node.ancestry.flat(1/0).join(F1);return t[a]=r,true}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join(F1);return t[i]&&(t[i].result=true),false})}var gk=hk;function vk(e,t,r){var n=ur(r,"track"),a=n.some(function(i){return (i.attr("kind")||"").toLowerCase()==="captions"});return a?false:void 0}var bk=vk;function yk(e,t,r){var n=r.children;if(!n||!n.length)return false;for(var a=false,i=false,o,s=0;s<n.length;s++){if(o=n[s].props.nodeName.toUpperCase(),o==="DT"&&(a=true),a&&o==="DD")return false;o==="DD"&&(i=true);}return a||i}var wk=yk;function xk(e,t,r){var n=false,a=false,i=true,o=[],s=[],l=[];return r.children.forEach(function(u){var c=u.actualNode;if(c.nodeType===3&&c.nodeValue.trim()!==""){n=true;return}if(!(c.nodeType!==1||!Et(c))){i=false;var m=c.nodeName.toUpperCase()==="LI",b=Je(u),C=b==="listitem";!m&&!C&&o.push(c),m&&!C&&(s.push(c),l.includes(b)||l.push(b)),C&&(a=true);}}),n||o.length?(this.relatedNodes(o),true):i||a?false:(this.relatedNodes(s),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),true)}var Dk=xk;function Ak(e,t,r){var n=["definition","term","list"],a={badNodes:[],hasNonEmptyTextNode:false},i=r.children.reduce(function(s,l){var u=l.actualNode;return u.nodeName.toUpperCase()==="DIV"&&Je(u)===null?s.concat(l.children):s.concat(l)},[]),o=i.reduce(function(s,l){var u=l.actualNode,c=u.nodeName.toUpperCase();if(u.nodeType===1&&Et(u)){var m=tt(u);(c!=="DT"&&c!=="DD"||m)&&(n.includes(m)||s.badNodes.push(u));}else u.nodeType===3&&u.nodeValue.trim()!==""&&(s.hasNonEmptyTextNode=true);return s},a);return o.badNodes.length&&this.relatedNodes(o.badNodes),!!o.badNodes.length||o.hasNonEmptyTextNode}function _k(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,i=tt(n);return ["presentation","none","list"].includes(i)?true:i&&Ba(i)?(this.data({messageKey:"roleNotValid"}),false):["ul","ol","menu"].includes(a)}}function Ek(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var i=I1(r.children);i.length;){var o,s=i.shift(),l=s.vChild,u=s.nested;if(t.divGroups&&!u&&Sk(l)){if(!l.children)return;var c=I1(l.children,true);i.push.apply(i,Ee(c));continue}var m=Ck(l,u,t);m&&(a.includes(m)||a.push(m),(l==null||(o=l.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&n.push(l.actualNode));}return a.length===0?false:(this.data({values:a.join(", ")}),this.relatedNodes(n),true)}}function Ck(e,t,r){var n=r.validRoles,a=n===void 0?[]:n,i=r.validNodeNames,o=i===void 0?[]:i,s=e.props,l=s.nodeName,u=s.nodeType,c=s.nodeValue,m=t?"div > ":"";if(u===3&&c.trim()!=="")return m+"#text";if(u!==1||!Et(e))return false;var b=tt(e);return b?a.includes(b)?false:m+"[role=".concat(b,"]"):o.includes(l)?false:m+l}function Sk(e){return e.props.nodeName==="div"&&tt(e)===null}function I1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:false;return e.map(function(r){return {vChild:r,nested:t}})}function kk(e){var t=jt(e),r=t.nodeName.toUpperCase(),n=tt(t);return r==="DIV"&&["presentation","none",null].includes(n)&&(t=jt(t),r=t.nodeName.toUpperCase(),n=tt(t)),r!=="DL"?false:!!(!n||["presentation","none","list"].includes(n))}var Tk=kk;function Rk(e,t,r){var n=Fn(r.attr("lang")),a=Fn(r.attr("xml:lang"));return n===a}var Fk=Rk;function Ik(e,t,r){var n=[];return t.attributes.forEach(function(a){var i=r.attr(a);if(typeof i=="string"){var o=Fn(i),s=t.value?!t.value.map(Fn).includes(o):!Co(o);(o!==""&&s||i!==""&&!ze(i))&&n.push(a+'="'+r.attr(a)+'"');}}),!n.length||r.props.nodeName!=="html"&&!kl(r)?false:(this.data(n),true)}var Mk=Ik;function hu(e){return (e||"").trim()!==""}function Lk(e,t,r){var n=typeof h<"u"?_a(h):false;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&hu(r.attr("xml:lang"))&&!hu(r.attr("lang"))&&!n)return this.data({messageKey:"noXHTML"}),false;var a=t.attributes.some(function(i){return hu(r.attr(i))});return a?true:(this.data({messageKey:"noLang"}),false)}var Ok=Lk;function Pk(e,t,r){var n=Je(e),a=$t(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),true}var Nk=Pk;function qk(e){var t=[];return e.filter(function(r){var n=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},a=t.find(n);return a?(a.result=false,a.relatedNodes.push(r.relatedNodes[0]),false):(t.push(r),r.relatedNodes=[],true)})}var Bk=qk;function Hk(e,t,r){var n=uo(r),a=oo(r),i=r.attr("aria-describedby");return !n&&!!(a||i)}var Vk=Hk;function jk(e){var t=Rt(e.getAttribute("id")),r=e.parentNode,n=Wt(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter(function(s){return !un(s)}));r;)r.nodeName.toUpperCase()==="LABEL"&&a.indexOf(r)===-1&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter(function(s){return Et(s)});if(i.length>1)return;var o=Mr(e,"aria-labelledby");return o.includes(i[0])?false:void 0}return false}var $k=jk;function zk(e,t){var r=M1(t),n=M1(e);return !r||!n?false:r.includes(n)}function M1(e){var t=ja(e,{emoji:true,nonBmp:true,punctuations:true});return ze(t)}function Gk(e,t,r){var n,a=t?.pixelThreshold,i=(n=t?.occurrenceThreshold)!==null&&n!==void 0?n:t?.occuranceThreshold,o=Cn(e).toLowerCase(),s=ze(fn(r,{subtreeDescendant:true,ignoreIconLigature:true,pixelThreshold:a,occurrenceThreshold:i})).toLowerCase();if(!s)return true;if(!(_l(o)<1||_l(s)<1))return zk(s,o)}var Wk=Gk;function Uk(e,t,r){try{var n=ir(r,"label");if(n){var a=ze($t(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return !1}catch{return}}var Xk=Uk;function Yk(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Wt(e),a=Rt(e.getAttribute("id")),i=n.querySelector('label[for="'.concat(a,'"]'));if(i&&!Et(i)){var o;try{o=$t(r).trim();}catch{return}var s=o==="";return s}}return false}var Kk=Yk;function Jk(e,t,r){var n=uo(r),a=e.getAttribute("title");if(!n)return false;if(!a&&(a="",e.getAttribute("aria-describedby"))){var i=Mr(e,"aria-describedby");a=i.map(function(o){return o?Cn(o):""}).join("");}return ze(a)===ze(n)}var Zk=Jk;function Qk(e,t,r){var n=this;if(!r.attr("id"))return false;if(r.actualNode){var a=Wt(r.actualNode),i=Rt(r.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return false;try{return o.some(function(s){if(or(s)){var l=ze(Cn(s,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:l}),!!l}else return !0})}catch{return}}}var eT=Qk;function tT(e,t,r){if(["none","presentation"].includes(Je(r)))return false;var n=ir(r,t.parentSelector);if(!n)return false;var a=Or(n,true).toLowerCase();return a===""?false:a===$t(r).toLowerCase()}var rT=tT;function nT(e,t,r){var n=r.attr("alt"),a=/^\s+$/;return typeof n=="string"&&a.test(n)}var aT=nT;function iT(e,t,r){var n=Nr(r.attr("tabindex"));return n===null||n<=0}var oT=iT;function sT(e,t,r){if(r.children)try{var n=L1(r);if(!n.length)return !0;var a=n.filter(lT);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch{return}}function L1(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return []}var t=[];return e.children.forEach(function(r){Cr(r)==="widget"&&Ot(r)?t.push(r):t.push.apply(t,Ee(L1(r)));}),t}function lT(e){var t=Nr(e.attr("tabindex"));return t!==null&&t<0}function uT(e){var t=Xn("landmark"),r=jt(e),n=Je(e);for(this.data({role:n});r;){var a=tt(r);if(!a&&r.nodeName.toUpperCase()!=="FORM"&&(a=Lr(r)),a&&t.includes(a)&&!(a==="main"&&n==="complementary"))return false;r=jt(r);}return true}var cT=uT;function dT(e,t,r){if(r.children)try{return !r.children.some(function(n){return O1(n)})}catch{return}}function O1(e){if(gr(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 O1(t)})}function fT(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return !n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||za()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var pT=fT;function mT(e,t,r){if(!gr(r))return false;try{return !$t(r)}catch{return}}var hT=mT;function gT(e,t,r){var n=r.tabbableElements.map(function(a){var i=a.actualNode;return i});if(!n||!n.length)return true;if(za()){this.relatedNodes(n);return}return true}var vT=gT;function bT(e,t,r){if(r.hasAttr("contenteditable")&&n(r))return true;return gr(r);function n(a){var i=a.attr("contenteditable");if(i==="true"||i==="")return true;if(i==="false")return false;var o=ir(r.parent,"[contenteditable]");return o?n(o):false}}var yT=bT;function wT(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return true;var i=a.filter(function(o){return n.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||za()?true:i.every(function(o){var s=o.getComputedStylePropertyValue("pointer-events"),l=parseInt(o.getComputedStylePropertyValue("width")),u=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(l===0||u===0)&&s==="none"})?void 0:false}var xT=wT;function DT(e,t,r){var n=r.tabbableElements;if(!n)return false;var a=n.filter(function(i){return i!==r});return a.length>0}var AT=DT;function _T(e,t,r){return un(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),true}var ET=_T;function CT(e){var t={};return e.filter(function(r){if(!r.data)return false;var n=r.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(r.relatedNodes[0]),false):(t[n]=r,r.relatedNodes=[],true)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var ST=CT;function kT(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(Ye.get(n)){this.data("ignored");return}Ye.set(n,true);var a=qr(p._tree[0],t.selector,function(i){return Et(i)});return typeof t.nativeScopeFilter=="string"&&(a=a.filter(function(i){return i.actualNode.hasAttribute("role")||!jn(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(a=a.filter(function(i){return Je(i)===t.role})),this.relatedNodes(a.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),a.length<=1}var TT=kT;function RT(e){return e.filter(function(t){return t.data!=="ignored"})}var FT=RT;function IT(e,t,r){return Ha(r,t.matcher)}var MT=IT;function LT(e,t,r){try{return ze(fn(r))!==""}catch{return}}function OT(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&&za())return true;var n=qr(r,t.selector,function(a){return Et(a)});return this.relatedNodes(n.map(function(a){return a.actualNode})),n.length>0}var PT=OT;function NT(e){var t=e.some(function(r){return r.result===true});return t&&e.forEach(function(r){r.result=true;}),e}var qT=NT;function BT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),false;var n=r.attr(t.attribute),a=!ze(n);return a?(this.data({messageKey:"emptyAttr"}),false):true}var HT=BT;function VT(e,t,r){var n=r.attr("autocomplete")||"";return Vp(n,t)}var jT=VT;function $T(e,t,r){if(r.props.nodeName!=="input")return true;var n=["text","search","number","tel"],a=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};fe(t)==="object"&&Object.keys(t).forEach(function(m){i[m]||(i[m]=[]),i[m]=i[m].concat(t[m]);});var o=r.attr("autocomplete"),s=o.split(/\s+/g).map(function(m){return m.toLowerCase()}),l=s[s.length-1];if(kn.stateTerms.includes(l))return true;var u=i[l],c=r.hasAttr("type")?ze(r.attr("type")).toLowerCase():"text";return c=Eo().includes(c)?c:"text",typeof u>"u"?c==="text":u.includes(c)}var zT=$T,GT=["block","list-item","table","flex","grid","inline-block"];function WT(e){if(P1(e))return false;for(var t=jt(e);t&&t.nodeType===1&&!P1(t);)t=jt(t);if(t){if(this.relatedNodes([t]),m1(e,t))return true;if(UT(e)){this.data({messageKey:"pseudoContent"});return}return false}}function P1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return GT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function UT(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t],a=d.getComputedStyle(e,":".concat(n)),i=a.getPropertyValue("content");if(i!=="none")return true}return false}function N1(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return (Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var XT=["block","list-item","table","flex","grid","inline-block"];function q1(e){var t=d.getComputedStyle(e).getPropertyValue("display");return XT.indexOf(t)!==-1||t.substr(0,6)==="table-"}function YT(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(q1(e))return false;for(var a=jt(e);a&&a.nodeType===1&&!q1(a);)a=jt(a);if(a){this.relatedNodes([a]);var i=Mo(e),o=Mo(a),s=Ja(e),l=Ja(a),u=i&&o?N1(i,o):void 0;if(u&&(u=Math.floor(u*100)/100),u&&u>=r)return true;var c=s&&l?N1(s,l):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return true;if(!c){var m,b=(m=xt.get("bgColor"))!==null&&m!==void 0?m:"bgContrast";this.data({messageKey:b}),xt.clear();return}if(u)return n&&u===1&&c===1?true:u===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:s?s.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),false):(this.data({messageKey:"fgContrast",contrastRatio:u,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),false)}}var KT=YT;function JT(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,u=t.contrastRatio,c=t.shadowOutlineEmMax,m=t.pseudoSizeThreshold;if(!or(e))return this.data({messageKey:"hidden"}),true;var b=Or(r,false,true);if(n&&QT(b)){this.data({messageKey:"nonBmp"});return}var C=d.getComputedStyle(e),I=parseFloat(C.getPropertyValue("font-size")),P=C.getPropertyValue("font-weight"),V=parseFloat(P)>=o||P==="bold",$=Math.ceil(I*72)/96,G=V&&$<s||!V&&$<l,Y=G?u.normal:u.large,K=Y.expected,Q=Y.minThreshold,ae=Y.maxThreshold,le=ZT(r,{ignorePseudo:i,pseudoSizeThreshold:m});if(le){this.data({fontSize:"".concat((I*72/96).toFixed(1),"pt (").concat(I,"px)"),fontWeight:V?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:K+":1"}),this.relatedNodes(le.actualNode);return}var pe=Io(e,{minRatio:.001,maxRatio:c});if(pe===null){this.data({messageKey:"complexTextShadows"});return}var Ce=[],ue=Ja(e,Ce,c),ge=Mo(e,false,ue,t),xe=null,Se=null,qe=null;if(pe.length===0)xe=Yn(ue,ge);else if(ge&&ue){qe=[].concat(Ee(pe),[ue]).reduce(du);var We=Yn(ue,ge),Me=Yn(ue,qe),$e=Yn(qe,ge);xe=Math.max(We,Me,$e),xe!==We&&(Se=Me>$e?"shadowOnBgColor":"fgOnShadowColor");}var ye=xe>K;if(typeof Q=="number"&&(typeof xe!="number"||xe<Q)||typeof ae=="number"&&(typeof xe!="number"||xe>ae))return this.data({contrastRatio:xe}),true;var Ne=Math.floor(xe*100)/100,re,Te;ue===null?xt.get("colorParse")?(re="colorParse",Te=xt.get("colorParse")):re=xt.get("bgColor"):ye||(re=Se),ge===null&&xt.get("colorParse")&&(re="colorParse",Te=xt.get("colorParse"));var he=Ne===1,Re=b.length===1;if(he?re=xt.set("bgColor","equalRatio"):!ye&&Re&&!a&&(re="shortTextContent"),this.data({fgColor:ge?ge.toHexString():void 0,bgColor:ue?ue.toHexString():void 0,contrastRatio:Ne,fontSize:"".concat((I*72/96).toFixed(1),"pt (").concat(I,"px)"),fontWeight:V?"bold":"normal",messageKey:re,expectedContrastRatio:K+":1",shadowColor:qe?qe.toHexString():void 0,colorParse:Te}),ge===null||ue===null||he||Re&&!a&&!ye){re=null,xt.clear(),this.relatedNodes(Ce);return}return ye||this.relatedNodes(Ce),ye}function ZT(e,t){var r=t.pseudoSizeThreshold,n=r===void 0?.25:r,a=t.ignorePseudo,i=a===void 0?false:a;if(!i){var o=e.boundingClientRect,s=o.width*o.height*n;do{var l=B1(e.actualNode,":before"),u=B1(e.actualNode,":after");if(l+u>s)return e}while(e=e.parent)}}var B1=wt(function(t,r){var n=d.getComputedStyle(t,r),a=function(l,u){return n.getPropertyValue(l)===u};if(a("content","none")||a("display","none")||a("visibility","hidden")||a("position","absolute")===false||Tn(n).alpha===0&&a("background-image","none"))return 0;var i=H1(n.getPropertyValue("width")),o=H1(n.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function QT(e){var t={nonBmp:true},r=Dl(e,t),n=ze(ja(e,t))==="";return r&&n}function H1(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],n=Ae(r,3),a=n[1],i=a===void 0?"":a,o=n[2],s=o===void 0?"":o;return {value:parseFloat(i),unit:s.toLowerCase()}}var e5={ARTICLE:true,ASIDE:true,NAV:true,SECTION:true},t5={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 r5(e){var t=e.nodeName.toUpperCase();return e5[t]||false}function n5(e,t){var r=tt(e);return r&&(t5[r]||t.roles.includes(r))||false}function a5(e,t){return n5(e,t)||r5(e)}var i5=a5;function o5(e,t,r){var n=Je(r,{dpub:true,fallback:true}),a=fl(n);return a&&this.data(n),a}var s5=o5;function l5(e,t,r){var n=Je(r,{noImplicit:true});this.data(n);var a,i;try{a=ze(wl(r)).toLowerCase(),i=ze($t(r)).toLowerCase();}catch{return}if(!i&&!a)return false;if(!(!i&&a)&&i.includes(a))return false}var u5=l5;function c5(e,t,r){return Ot(r)}var d5=c5;function f5(e,t,r){var n=Kt(r.attr("role")),a=n.every(function(i){return !Ba(i.toLowerCase(),{allowAbstract:true})});return a?(this.data(n),true):false}var p5=f5;function m5(e,t,r){var n=tt(r);if(n===null)return false;var a=Cr(n);return a==="widget"||a==="composite"}var h5=m5;function g5(e,t,r){var n=cn().filter(function(a){return r.hasAttr(a)});return this.data(n),n.length>0}var v5=g5;function b5(e,t){var r=Lr(e);return !r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function y5(e,t,r){var n=Kt(r.attr("role"));return n.length<=1?false:b5(r,n)?void 0:true}var w5=y5;function x5(e,t,r){var n=Je(r,{dpub:true,fallback:true}),a=ct.ariaRoles[n];return a!=null&&a.deprecated?(this.data(n),true):false}function D5(e,t,r){var n,a=(n=r.attr("aria-brailleroledescription"))!==null&&n!==void 0?n:"";if(ze(a)==="")return true;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),false):ze(i)===""?(this.data({messageKey:"emptyRoleDescription"}),false):true}function A5(e,t,r){var n,a=(n=r.attr("aria-braillelabel"))!==null&&n!==void 0?n:"";if(!a.trim())return true;try{return ze($t(r))!==""}catch{return}}function _5(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",i=[],o=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===false;return c&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===false},"aria-current":function(c){c||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent");},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");},"aria-labelledby":function(c){c||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=p._tree&&p._tree[0]._hasShadowRoot?"noIdShadow":"noId");}};if(r.attrNames.forEach(function(u){if(!(s.includes(u)||t.includes(u)||!o.test(u))){var c,m=r.attr(u);try{c=a1(r,u);}catch{n="".concat(u,'="').concat(m,'"'),a="idrefs";return}(!l[u]||l[u](c))&&!c&&(m===""&&!E5(u)?(n=u,a="empty"):i.push("".concat(u,'="').concat(m,'"')));}}),i.length)return this.data(i),false;if(n){this.data({messageKey:a,needsReview:n});return}return true}function E5(e){var t;return ((t=ct.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function C5(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&a.test(i)&&!Ro(i)&&n.push(i);}),n.length?(this.data(n),false):true}var S5=C5;function k5(e,t,r){var n=r.attrNames.filter(function(a){var i=ct.ariaAttrs[a];if(!Ro(a))return false;var o=i.unsupported;return fe(o)!=="object"?!!o:!Ha(e,o.exceptions)});return n.length?(this.data(n),true):false}var T5=k5;function R5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=Je(r),a=t.supportedRoles||[];if(a.includes(n))return true;if(!(n&&n!=="presentation"&&n!=="none"))return false}var F5=R5;function V1(e,t,r,n){var a=tt(e);if(r||(r=ou(a)),!r)return null;for(var i=r.includes("group"),o=n?e:e.parent;o;){var s=Je(o,{noPresentational:true});if(!s)o=o.parent;else if(s==="group"&&i)t.includes(a)&&r.push(a),r=r.filter(function(l){return l!=="group"}),o=o.parent;else return r.includes(s)?null:r}return r}function I5(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=Rt(e.getAttribute("id")),a=Wt(e);r=a.querySelector("[aria-owns~=".concat(n,"]")),r&&t.push(r);}e=e.parentElement;}return t.length?t:null}function M5(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=V1(r,n);if(!a)return true;var i=I5(e);if(i){for(var o=0,s=i.length;o<s;o++)if(a=V1(Ze(i[o]),n,a,true),!a)return true}return this.data(a),false}var L5=M5;function O5(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=tt(r,{dpub:true}),i=su(a);if(i===null)return true;var o=P5(r,i),s=o.filter(function(u){var c=u.role,m=u.vNode;return m.props.nodeType===1&&!i.includes(c)});if(s.length){this.relatedNodes(s.map(function(u){var c=u.vNode;return c}));var l=r.attr("aria-busy")==="true"?"aria-busy-fail":"unallowed";return this.data({messageKey:l,values:s.map(function(u){var c=u.vNode,m=u.attr;return B5(c,m)}).filter(function(u,c,m){return m.indexOf(u)===c}).join(", ")}),false}if(N5(i,o))return true;if(r.attr("aria-busy")==="true")return this.data({messageKey:"aria-busy"}),true;if(this.data(i),!(n.includes(a)&&!o.some(H5)))return false}function P5(e,t){for(var r,n=[],a=Va(e),i=function(){if(r.props.nodeType===3&&n.push({vNode:r,role:null}),r.props.nodeType!==1||!Et(r))return 1;var s=Je(r,{noPresentational:true}),l=q5(r),u=!!l||Ot(r);if(!s&&!u||["group","rowgroup"].includes(s)&&t.some(function(m){return m===s}))a.push.apply(a,Ee(r.children));else if(s||u){var c=l||"tabindex";n.push({role:s,attr:c,vNode:r});}};r=a.shift();)i();return n}function N5(e,t){return t.some(function(r){var n=r.role;return n&&e.includes(n)})}function q5(e){return cn().find(function(t){return e.hasAttr(t)})}function B5(e,t){var r=e.props,n=r.nodeName,a=r.nodeType;if(a===3)return "#text";var i=tt(e,{dpub:true});return i?"[role=".concat(i,"]"):t?n+"[".concat(t,"]"):n}function H5(e){var t=e.vNode;return t.props.nodeType===3?t.props.nodeValue.trim().length>0:$a(t,false,true)}function V5(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=tt(n),i=n.attrNames,o=n1(a);if(Array.isArray(r[a])&&(o=Ua(r[a],o)),!a||!i.length||!o.length||j5(n,a)||z5(n,a)||a==="slider"&&(t=n.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return true;var s=dn(n),l=o.filter(function(u){return !n.attr(u)&&!$5(s,u)});return l.length?(this.data(l),false):true}function j5(e,t){return t==="separator"&&!Ot(e)}function $5(e,t){var r;return ((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function z5(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function G5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t?.elementsAllowedAriaLabel||[],a=r.props.nodeName,i=Je(r,{chromium:true,fallback:true}),o=W5(r,i,a,n),s=o.filter(function(c){return r.attrNames.includes(c)?ze(r.attr(c))!=="":false});if(s.length===0)return false;var l=i!==null?"hasRole":"noRole";l+=s.length>1?"Plural":"Singular",this.data({role:i,nodeName:a,messageKey:l,prohibited:s});var u=fn(r,{subtreeDescendant:true});if(ze(u)==="")return true}function W5(e,t,r,n){var a=ct.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||n.includes(r)||j1(e)==="widget"?[]:["aria-label","aria-labelledby"]}var j1=wt(function(t){if(t){var r=Je(t,{noPresentational:true,chromium:true});return r?Cr(r):j1(t.parent)}});function U5(e,t,r){var n=r.attr("aria-level"),a=parseInt(n,10);if(!(a>6))return true}var X5=U5;function Y5(e,t,r){return r.attr("aria-hidden")!=="true"}var K5=Y5;function J5(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return true;function s(l){if(l.trim()==="")return ct.ariaAttrs["aria-errormessage"].allowEmpty;var u=Kt(l);if(u.length>1)return this.data({messageKey:"unsupported",values:u}),false;var c;try{c=l&&Mr(r,"aria-errormessage")[0];}catch{this.data({messageKey:"idrefs",values:u});return}if(c){if(!Et(c))return this.data({messageKey:"hidden",values:u}),false;var m=Kt(r.attr("aria-describedby"));return tt(c)==="alert"||c.getAttribute("aria-live")==="assertive"||c.getAttribute("aria-live")==="polite"||u.some(function(b){return m.includes(b)})}}return t.indexOf(n)===-1&&a?(this.data(Kt(n)),s.call(this,n)):true}function $1(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=n.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=a==null||(r=a.filter)===null||r===void 0?void 0:r.call(a,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return true;var s=Z5(i),l=s&&Je(s);if(!l||l==="treegrid")return true;var u="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:u,invalidAttrs:o,ownerRole:l}),false}function Z5(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return ir(e,t)}}function z1(e,t,r){var n=r.props,a=n.nodeName,i=n.type,o=eR(r.attr("aria-checked"));if(a!=="input"||i!=="checkbox"||!o)return true;var s=Q5(r);return o===s?true:(this.data({messageKey:"checkbox",checkState:s}),false)}function Q5(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function eR(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var G1={row:$1,checkbox:z1};function tR(e,t,r){var n=Je(r);return G1[n]?G1[n].call(this,e,t,r):true}function rR(e,t,r){return r.attr("aria-busy")==="true"}function nR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=n===void 0?true:n,i=t.ignoredTags,o=i===void 0?[]:i,s=r.props.nodeName;if(o.map(function(u){return u.toLowerCase()}).includes(s))return true;var l=Zm(r,a);return l.length?(this.data(l),Et(r)?false:void 0):true}var aR=nR;function iR(e,t,r){var n=[],a=Je(r),i=Ym(a);Array.isArray(t[a])&&(i=Ua(t[a].concat(i)));var o=it(r.attrNames),s;try{for(o.s();!(s=o.n()).done;){var l=s.value;Ro(l)&&!i.includes(l)&&!oR(l,r.attr(l),r)&&n.push(l);}}catch(u){o.e(u);}finally{o.f();}if(!n.length)return true;if(this.data(n.map(function(u){return u+'="'+r.attr(u)+'"'})),!(!a&&!Gl(r)&&!Ot(r)))return false}function oR(e,t,r){return !!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function sR(e,t,r){var n=dn(r);if(!n.allowedAriaAttrs)return true;var a=tt(r);if(a)return true;var i=n.allowedAriaAttrs,o=cn(),s=[],l=it(r.attrNames),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;o.includes(c)&&!i.includes(c)&&s.push(c);}}catch(b){l.e(b);}finally{l.f();}if(!s.length)return true;var m=s.length>1?"plural":"singular";return this.data({messageKey:m,nodeName:r.props.nodeName,values:s.map(function(b){return b+'="'+r.attr(b)+'"'}).join(", ")}),false}function lR(e,t,r){var n=Kt(r.attr("role")).filter(function(a){return Cr(a)==="abstract"});return n.length>0?(this.data(n),true):false}var uR=lR;function cR(e){var t=Fn(e.getAttribute("lang")),r=Fn(e.getAttribute("xml:lang"));return Co(t)&&Co(r)}var dR=cR;function fR(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var pR=fR;function mR(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!ir(t,"svg")}catch{return false}}var gu=mR;function hR(e,t){return gR.every(function(r){return r(e,t)})}var gR=[function(e,t){return W1(t)},function(e,t){return vR(t)},function(e,t){return !gu(e,t)},function(e,t){return Ot(t)},function(e,t){return gr(t)||!bR(t)},function(e){return !Tl(e,{noLengthCompare:true,includeInlineBlock:true})}];function W1(e){return Cr(e)==="widget"}function vR(e){return e.props.nodeName!=="area"}var bR=wt(function e(t){return t!=null&&t.parent?W1(t.parent)&&gr(t.parent)?true:e(t.parent):false});function yR(e,t){var r=Je(t);return ["treegrid","grid","table"].includes(r)}function wR(e,t){var r=t.parent;if(r.props.nodeName!=="details"||xR(t))return false;var n=r.children.find(function(a){return a.props.nodeName==="summary"});return n===t}function xR(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function DR(e){return Il(e)&&Ji(e)}var AR=DR;function _R(e,t){return Kr(e,13)!==void 0&&iu(t)===false&&ER(t)}function ER(e){var t=e.boundingClientRect;return ur(e,"*").some(function(r){if(!$a(r,true,true))return false;var n=[];if(co(r)){var a;(a=n).push.apply(a,Ee(CR(r)));}else n=[r.boundingClientRect];return n.some(function(i){return i.left<t.left||i.right>t.right||i.top<t.top||i.bottom>t.bottom})})}function CR(e){var t=h.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}function SR(e,t){return Lr(t,{chromiumRoles:true})!==null}var kR=SR;function TR(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),n=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(n)||[]).length>=2)return false;var a=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return a.length!==0}var RR=TR;function FR(e,t){var r=tt(t);if(!r||["none","presentation"].includes(r))return true;var n=ip[r]||{},a=n.accessibleNameRequired;return !!(a||Ot(t))}var U1=FR,IR=function(t,r){return [U1,MR].every(function(n){return n(t,r)})};function MR(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 LR(e,t){return t.props.nodeName!=="html"}var OR=LR;function PR(e,t){return !t.attr("role")}var NR=PR;function qR(e,t){var r=Nr(t.attr("tabindex"));return r===null||r>=0}var BR=qR;function HR(e,t){var r=dn(t),n=r.namingMethods;return !(n&&n.length!==0||tt(t)==="combobox"&&ur(t,'input:not([type="hidden"])').length||iu(t,{popupRoles:["listbox"]}))}var VR=HR;function jR(e,t){return !(!t.hasAttr("role")||!t.attr("role").trim())}var $R=jR;function zR(e){return !(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var GR=zR;function WR(e,t){var r=Je(t);return r?!!ct.ariaRoles[r].childrenPresentational:false}var UR=WR;function XR(e){var t=ze(e.innerText),r=tt(e);return r&&r!=="link"||!t||!or(e)?false:Tl(e)}var YR=XR;function KR(e){return !ko(e)&&!Ot(e)}var JR=KR;function ZR(e,t){return QR(t)&&Et(t)}function QR(e){var t=Xn("landmark"),r=Je(e);if(!r)return false;var n=e.props.nodeName;if(n==="section"||n==="form"){var a=$t(e);return !!a}return t.indexOf(r)>=0||r==="region"}function eF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!jn(t,r)}var tF=eF;function rF(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 nF=rF;function aF(e,t){var r=Je(e);if(!r)return false;var n=Xn("widget"),a=n.includes(r);if(!a)return false;var i=au();return !(!i.includes(r)||!ze(qa(t))&&!ze(Na(e))||!ze(Or(t)))}var iF=aF;function oF(e,t){return or(t)}function sF(e){return or(e)}function lF(e,t,r){return r.initiator}var X1=lF;function uF(e){return Wp(e)}var cF=uF;function dF(e,t){var r=!!$t(t);if(!r)return false;var n=Je(e);return !(n&&n!=="link")}var fF=dF;function pF(e,t){return !gu(e,t)}var mF=pF;function hF(e,t){return Je(t)==="heading"}function gF(e,t){return Lr(t,{chromium:true})!==null}var vF=gF;function bF(e){var t=e.getAttribute("title");return !!ze(t)}var yF=bF;function wF(e,t,r){var n,a;return !r.initiator&&!r.focusable&&((n=r.size)===null||n===void 0?void 0:n.width)*((a=r.size)===null||a===void 0?void 0:a.height)>1}var xF=wF;function DF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Rt(t),'"]'),n=Array.from(Wt(e).querySelectorAll(r));return !To(e)&&n.every(function(a){return !Ot(a)})}var AF=DF;function _F(e){return To(e)}var EF=_F;function CF(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Rt(t),'"]'),n=Array.from(Wt(e).querySelectorAll(r));return !To(e)&&n.some(Ot)}var SF=CF;function kF(e){return ko(e)}var TF=kF;function RF(e){if(ko(e)){var t=Yr(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return false}var FF=RF;function IF(e,t){var r=t.props,n=r.nodeName,a=r.type;if(n==="option"||n==="select"&&!e.options.length)return false;var i=["hidden","range","color","checkbox","radio","image"];if(n==="input"&&i.includes(a)||Za(t)||no(t))return false;var o=["input","select","textarea"];if(o.includes(n)){var s=d.getComputedStyle(e),l=parseInt(s.getPropertyValue("text-indent"),10);if(l){var u=e.getBoundingClientRect();if(u={top:u.top,bottom:u.bottom,left:u.left+l,right:u.right+l},!Ml(u,e))return false}return true}var c=jn(t,"label");if(n==="label"||c){var m=c||e,b=c?Ze(c):t;if(m.htmlFor){var C=Wt(m),I=C.getElementById(m.htmlFor),P=I&&Ze(I);if(P&&Za(P))return false}var V='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',$=ur(b,V)[0];if($&&Za($))return false}for(var G=[],Y=t;Y;){if(Y.props.id){var K=nu(Y).filter(function(ge){return Kt(ge.getAttribute("aria-labelledby")||"").includes(Y.props.id)}).map(function(ge){return Ze(ge)});G.push.apply(G,Ee(K));}Y=Y.parent;}if(G.length>0&&G.every(Za)||!OF(t)||!parseFloat(t.getComputedStylePropertyValue("font-size")))return false;for(var Q=h.createRange(),ae=t.children,le=0;le<ae.length;le++){var pe=ae[le];pe.actualNode.nodeType===3&&ze(pe.actualNode.nodeValue)!==""&&Q.selectNodeContents(pe.actualNode);}var Ce=Array.from(Q.getClientRects()),ue=Ma(t);return Ce.some(function(ge){var xe=Ml(ge,e);if(!ue.length)return xe;var Se=ue.some(function(qe){return Js(ge,qe.boundingClientRect)});return xe&&Se})}var MF=IF,LF={emoji:true,nonBmp:false,punctuations:true};function OF(e){var t=Or(e,false,true);return t===""||ja(t,LF)===""?false:e.children.some(function(r){return r.props.nodeName==="#text"&&!Al(r)})}function PF(e,t,r){return X1(e,t,r)?!!e.querySelector("a[href]"):true}var NF=PF;function qF(e,t){var r=t.attr("autocomplete");if(!r||ze(r)==="")return false;var n=t.props.nodeName;if(["textarea","input","select"].includes(n)===false)return false;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||a.toLowerCase()==="true")return false;var i=["submit","reset","button","hidden"];if(n==="input"&&i.includes(t.props.type))return false;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||o.toLowerCase()==="true")return false;var s=tt(t),l=Nr(t.attr("tabindex"));if(l<0&&t.hasAttr("role")){var u=ct.ariaRoles[s];if(u===void 0||u.type!=="widget")return false}return !(l<0&&t.actualNode&&!or(t)&&!Et(t))}var BF=qF;function HF(e,t){var r=tt(t);return !!ou(r)}var VF=HF;function jF(e,t){var r=tt(t,{dpub:true});return !!su(r)}var $F=jF;function Y1(e){return e?e.getAttribute("aria-hidden")==="true"?false:Y1(jt(e)):true}function zF(e){return Y1(jt(e))}var GF=zF;function WF(e,t){var r=/^aria-/;return t.attrNames.some(function(n){return r.test(n)})}var UF=WF;function XF(e,t){return tt(t,{dpub:true,fallback:true})!==null}var YF=XF;function KF(e,t){var r=/^aria-/,n=t.attrNames;if(n.length){for(var a=0,i=n.length;a<i;a++)if(r.test(n[a]))return true}return false}var JF=KF,ZF={"abstractrole-evaluate":uR,"accesskeys-after":ST,"accesskeys-evaluate":ET,"alt-space-value-evaluate":aT,"aria-allowed-attr-elm-evaluate":sR,"aria-allowed-attr-evaluate":iR,"aria-allowed-attr-matches":JF,"aria-allowed-role-evaluate":aR,"aria-allowed-role-matches":YF,"aria-busy-evaluate":rR,"aria-conditional-attr-evaluate":tR,"aria-conditional-checkbox-attr-evaluate":z1,"aria-conditional-row-attr-evaluate":$1,"aria-errormessage-evaluate":J5,"aria-has-attr-matches":UF,"aria-hidden-body-evaluate":K5,"aria-hidden-focus-matches":GF,"aria-label-evaluate":PC,"aria-labelledby-evaluate":LC,"aria-level-evaluate":X5,"aria-prohibited-attr-evaluate":G5,"aria-required-attr-evaluate":V5,"aria-required-children-evaluate":O5,"aria-required-children-matches":$F,"aria-required-parent-evaluate":L5,"aria-required-parent-matches":VF,"aria-roledescription-evaluate":F5,"aria-unsupported-attr-evaluate":T5,"aria-valid-attr-evaluate":S5,"aria-valid-attr-value-evaluate":_5,"attr-non-space-content-evaluate":HT,"autocomplete-appropriate-evaluate":zT,"autocomplete-matches":BF,"autocomplete-valid-evaluate":jT,"avoid-inline-spacing-evaluate":IC,"braille-label-equivalent-evaluate":A5,"braille-roledescription-equivalent-evaluate":D5,"bypass-matches":NF,"caption-evaluate":bk,"caption-faked-evaluate":hC,"color-contrast-evaluate":JT,"color-contrast-matches":MF,"css-orientation-lock-evaluate":ck,"data-table-large-matches":FF,"data-table-matches":TF,"deprecatedrole-evaluate":x5,"dlitem-evaluate":Tk,"doc-has-title-evaluate":RC,"duplicate-id-active-matches":SF,"duplicate-id-after":HC,"duplicate-id-aria-matches":EF,"duplicate-id-evaluate":qC,"duplicate-id-misc-matches":AF,"duplicate-img-label-evaluate":rT,"exists-evaluate":kC,"explicit-evaluate":eT,"fallbackrole-evaluate":w5,"focusable-content-evaluate":AT,"focusable-disabled-evaluate":xT,"focusable-element-evaluate":yT,"focusable-modal-open-evaluate":vT,"focusable-no-name-evaluate":hT,"focusable-not-tabbable-evaluate":pT,"frame-focusable-content-evaluate":dT,"frame-focusable-content-matches":xF,"frame-tested-after":gk,"frame-tested-evaluate":mk,"frame-title-has-text-matches":yF,"has-alt-evaluate":CC,"has-descendant-after":qT,"has-descendant-evaluate":PT,"has-global-aria-attribute-evaluate":v5,"has-implicit-chromium-role-matches":vF,"has-lang-evaluate":Ok,"has-text-content-evaluate":LT,"has-widget-role-evaluate":h5,"heading-matches":hF,"heading-order-after":GS,"heading-order-evaluate":zS,"help-same-as-label-evaluate":Zk,"hidden-content-evaluate":AE,"hidden-explicit-label-evaluate":Kk,"html-namespace-matches":mF,"html5-scope-evaluate":pC,"identical-links-same-purpose-after":VS,"identical-links-same-purpose-evaluate":BS,"identical-links-same-purpose-matches":fF,"implicit-evaluate":Xk,"inline-style-property-evaluate":AC,"inserted-into-focus-order-matches":cF,"internal-link-present-evaluate":lS,"invalid-children-evaluate":Ek,"invalidrole-evaluate":p5,"is-element-focusable-evaluate":d5,"is-initiator-matches":X1,"is-on-screen-evaluate":DC,"is-visible-matches":sF,"is-visible-on-screen-matches":oF,"label-content-name-mismatch-evaluate":Wk,"label-content-name-mismatch-matches":iF,"label-matches":nF,"landmark-has-body-context-matches":tF,"landmark-is-top-level-evaluate":cT,"landmark-is-unique-after":Bk,"landmark-is-unique-evaluate":Nk,"landmark-unique-matches":ZR,"layout-table-matches":JR,"link-in-text-block-evaluate":KT,"link-in-text-block-matches":YR,"link-in-text-block-style-evaluate":WT,"listitem-evaluate":_k,"matches-definition-evaluate":MT,"meta-refresh-evaluate":oS,"meta-viewport-scale-evaluate":lk,"multiple-label-evaluate":$k,"nested-interactive-matches":UR,"no-autoplay-audio-evaluate":fk,"no-autoplay-audio-matches":GR,"no-empty-role-matches":$R,"no-explicit-name-required-matches":U1,"no-focusable-content-evaluate":sT,"no-implicit-explicit-label-evaluate":u5,"no-naming-method-matches":VR,"no-negative-tabindex-matches":BR,"no-role-matches":NR,"non-empty-if-present-evaluate":wC,"not-html-matches":OR,"object-is-loaded-matches":IR,"only-dlitems-evaluate":Ak,"only-listitems-evaluate":Dk,"p-as-heading-evaluate":nS,"p-as-heading-matches":RR,"page-no-duplicate-after":FT,"page-no-duplicate-evaluate":TT,"presentation-role-conflict-matches":kR,"presentational-role-evaluate":bC,"region-after":QC,"region-evaluate":XC,"same-caption-summary-evaluate":uC,"scope-value-evaluate":lC,"scrollable-region-focusable-matches":_R,"skip-link-evaluate":WC,"skip-link-matches":AR,"structured-dlitems-evaluate":wk,"summary-interactive-matches":wR,"svg-namespace-matches":gu,"svg-non-empty-title-evaluate":vC,"tabindex-evaluate":oT,"table-or-grid-role-matches":yR,"target-offset-evaluate":ik,"target-size-evaluate":JS,"td-has-header-evaluate":oC,"td-headers-attr-evaluate":aC,"th-has-data-cells-evaluate":nC,"title-only-evaluate":Vk,"unique-frame-title-after":zC,"unique-frame-title-evaluate":jC,"unsupportedrole-evaluate":s5,"valid-lang-evaluate":Mk,"valid-scrollable-semantics-evaluate":i5,"widget-not-inline-matches":hR,"window-is-top-matches":pR,"xml-lang-mismatch-evaluate":Fk,"xml-lang-mismatch-matches":dR},Oo=ZF;function QF(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null;}var vu=QF;function bu(e){if(typeof e=="string"){if(Oo[e])return Oo[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 K1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return (Array.isArray(e)||fe(e)!=="object")&&(e={value:e}),e}function Kn(e){e&&(this.id=e.id,this.configure(e));}Kn.prototype.enabled=true,Kn.prototype.run=function(t,r,n,a,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,s=this.getOptions(r.options);if(o){var l=new vu(this),u=Os(l,r,a,i),c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(m){t&&t.actualNode&&(m.errorNode=hr.toSpec(t)),i(m);return}u.isAsync||(l.result=c,a(l));}else a(null);},Kn.prototype.runSync=function(t,r,n){r=r||{};var a=r,i=a.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var s=this.getOptions(r.options),l=new vu(this),u=Os(l);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(u,t.actualNode,s,t,n);}catch(m){throw t&&t.actualNode&&(m.errorNode=hr.toSpec(t)),m}return l.result=c,l},Kn.prototype.configure=function(t){var r=this;(!t.evaluate||Oo[t.evaluate])&&(this._internalCheck=true),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=K1(t.options):this.options=t.options),["evaluate","after"].filter(function(n){return t.hasOwnProperty(n)}).forEach(function(n){return r[n]=bu(t[n])});},Kn.prototype.getOptions=function(t){return this._internalCheck?Xs(this.options,K1(t||{})):t||this.options};var J1=Kn;function e3(e){this.id=e.id,this.result=Ke.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[];}var Po=e3;function er(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ut(Ke.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=bu(e.matches));}er.prototype.matches=function(){return true},er.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n="mark_gather_start_"+this.id,a="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&ft.mark(n);var s=Jl(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&ft.mark(i),s=s.filter(function(l){return Et(l)}),r.performanceTimer&&(ft.mark(o),ft.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(ft.mark(a),ft.measure("rule_"+this.id+"#gather",n,a)),s},er.prototype.runChecks=function(t,r,n,a,i,o){var s=this,l=Ir();this[t].forEach(function(u){var c=s._audit.checks[u.id||u],m=bo(c,s.id,n);l.defer(function(b,C){c.run(r,m,a,b,function(I){C(new _o({ruleId:s.id,method:"".concat(c.id,"#evaluate"),errorNode:new mr(r),error:I}));});});}),l.then(function(u){u=u.filter(function(c){return c}),i({type:t,results:u});}).catch(o);},er.prototype.runChecksSync=function(t,r,n,a){var i=this,o=[];return this[t].forEach(function(s){var l=i._audit.checks[s.id||s],u=bo(l,i.id,n);o.push(l.runSync(r,u,a));}),o=o.filter(function(s){return s}),{type:t,results:o}},er.prototype.run=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o=Ir(),s=new Po(this),l;try{l=this.gatherAndMatchNodes(t,n);}catch(u){i(u);return}n.performanceTimer&&this._logGatherPerformance(l),l.forEach(function(u){o.defer(function(c,m){var b=Ir();["any","all","none"].forEach(function(C){b.defer(function(I,P){r.runChecks(C,u,n,t,I,P);});}),b.then(function(C){var I=Z1(C);I&&(I.node=new mr(u),s.nodes.push(I),r.reviewOnFail&&(["any","all"].forEach(function(P){I[P].forEach(function(V){V.result===false&&(V.result=void 0);});}),I.none.forEach(function(P){P.result===true&&(P.result=void 0);}))),c();}).catch(function(C){return m(C)});});}),o.then(function(){n.performanceTimer&&r._logRulePerformance(),setTimeout(function(){a(s);},0);}).catch(function(u){n.performanceTimer&&r._logRulePerformance(),i(u);});},er.prototype.runSync=function(t){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var a=new Po(this),i=this.gatherAndMatchNodes(t,n);return n.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var s=[];["any","all","none"].forEach(function(u){s.push(r.runChecksSync(u,o,n,t));});var l=Z1(s);l&&(l.node=o.actualNode?new mr(o):null,a.nodes.push(l),r.reviewOnFail&&(["any","all"].forEach(function(u){l[u].forEach(function(c){c.result===false&&(c.result=void 0);});}),l.none.forEach(function(u){u.result===true&&(u.result=void 0);})));}),n.performanceTimer&&this._logRulePerformance(),a},er.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;},er.prototype._logGatherPerformance=function(t){An("gather for ".concat(this.id," (").concat(t.length," nodes): ").concat(ft.timeElapsed(),"ms")),ft.mark(this._markChecksStart);},er.prototype._logRulePerformance=function(){ft.mark(this._markChecksEnd),ft.mark(this._markEnd),ft.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),ft.measure("rule_"+this.id,this._markStart,this._markEnd);};function Z1(e){if(e.length){var t=false,r={};return e.forEach(function(n){var a=n.results.filter(function(i){return i});r[n.type]=a,a.length&&(t=true);}),t?r:null}}er.prototype.gatherAndMatchNodes=function(t,r){var n=this,a="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&ft.mark(a),o=o.filter(function(s){try{return n.matches(s.actualNode,s,t)}catch(l){throw new _o({ruleId:n.id,method:"#matches",errorNode:new mr(s),error:l})}}),r.performanceTimer&&(ft.mark(i),ft.measure("rule_"+this.id+"#matches",a,i)),o};function t3(e){return Wi(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function r3(e,t){var r=[];return e.forEach(function(n){var a=Wi(n);a.forEach(function(i){i.id===t&&(i.node=n.node,r.push(i));});}),r}function n3(e){return e.filter(function(t){return t.filtered!==true})}function a3(e){var t=["any","all","none"],r=e.nodes.filter(function(n){var a=0;return t.forEach(function(i){n[i]=n3(n[i]),a+=n[i].length;}),a>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(n,a){if(n)return t.forEach(function(i){n[i].push.apply(n[i],a[i]);}),n})]),r}er.prototype.after=function(t,r){var n=this,a=t3(this);return a.forEach(function(i){var o=r3(t.nodes,i.id),s=bo(i,n.id,r),l;try{l=i.after(o,s.options);}catch(c){var u;throw new _o({ruleId:n.id,method:"".concat(i.id,"#after"),errorNode:(u=t.nodes)===null||u===void 0||(u=u[0])===null||u===void 0?void 0:u.node,error:c})}n.reviewOnFail&&l.forEach(function(c){var m=(n.any.includes(c.id)||n.all.includes(c.id))&&c.result===false,b=n.none.includes(c.id)&&c.result===true;(m||b)&&(c.result=void 0);}),o.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=true);});}),t.nodes=a3(t),t},er.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=bu(t.matches)),t.impact&&(ut(Ke.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact);};var Jn=/\{\{.+?\}\}/g,i3=(function(){function e(t){_t(this,e),this.lang="en",this.defaultConfig=t,this.standards=ct,this._init(),this._defaultLocale=null;}return lt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},n=Object.keys(this.data.checks),a=0;a<n.length;a++){var i=n[a],o=this.data.checks[i],s=o.messages,l=s.pass,u=s.fail,c=s.incomplete;r.checks[i]={pass:l,fail:u,incomplete:c};}for(var m=Object.keys(this.data.rules),b=0;b<m.length;b++){var C=m[b],I=this.data.rules[C],P=I.description,V=I.help;r.rules[C]={description:P,help:V};}for(var $=Object.keys(this.data.failureSummaries),G=0;G<$.length;G++){var Y=$[G],K=this.data.failureSummaries[Y],Q=K.failureMessage;r.failureSummaries[Y]={failureMessage:Q};}r.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=r;}}},{key:"_resetLocale",value:function(){var r=this._defaultLocale;r&&this.applyLocale(r);}},{key:"_applyCheckLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.checks[i])throw new Error('Locale provided for unknown check: "'.concat(i,'"'));this.data.checks[i]=s3(this.data.checks[i],r[i]);}}},{key:"_applyRuleLocale",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.rules[i])throw new Error('Locale provided for unknown rule: "'.concat(i,'"'));this.data.rules[i]=l3(this.data.rules[i],r[i]);}}},{key:"_applyFailureSummaries",value:function(r){for(var n=Object.keys(r),a=0;a<n.length;a++){var i=n[a];if(!this.data.failureSummaries[i])throw new Error('Locale provided for unknown failureMessage: "'.concat(i,'"'));this.data.failureSummaries[i]=u3(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=c3(this.data.incompleteFallbackMessage,r.incompleteFallbackMessage)),r.lang&&(this.lang=r.lang);}},{key:"setAllowedOrigins",value:function(r){var n=eh();this.allowedOrigins=[];var a=it(r),i;try{for(a.s();!(i=a.n()).done;){var o=i.value;if(o===Ke.allOrigins){this.allowedOrigins=["*"];return}else o!==Ke.sameOrigin?this.allowedOrigins.push(o):n&&this.allowedOrigins.push(n);}}catch(s){a.e(s);}finally{a.f();}}},{key:"_init",value:function(){var r=o3(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,th(r.rules,this,"addRule"),th(r.checks,this,"addCheck"),this.data={},this.data.checks=r.data&&r.data.checks||{},this.data.rules=r.data&&r.data.rules||{},this.data.failureSummaries=r.data&&r.data.failureSummaries||{},this.data.incompleteFallbackMessage=r.data&&r.data.incompleteFallbackMessage||"",this._constructHelpUrls();}},{key:"registerCommand",value:function(r){this.commands[r.id]=r.callback;}},{key:"addRule",value:function(r){r.metadata&&(this.data.rules[r.id]=r.metadata);var n=this.getRule(r.id);n?n.configure(r):this.rules.push(new er(r,this));}},{key:"addCheck",value:function(r){var n=r.metadata;fe(n)==="object"&&(this.data.checks[r.id]=n,fe(n.messages)==="object"&&Object.keys(n.messages).filter(function(a){return n.messages.hasOwnProperty(a)&&typeof n.messages[a]=="string"}).forEach(function(a){n.messages[a].indexOf("function")===0&&(n.messages[a]=new Function("return "+n.messages[a]+";")());})),this.checks[r.id]?this.checks[r.id].configure(r):this.checks[r.id]=new J1(r);}},{key:"run",value:function(r,n,a,i){this.normalizeOptions(n),mr.setRunOptions(n),p._selectCache=[];var o=d3(this.rules,r,n),s=o.now,l=o.later,u=Ir();s.forEach(function(b){u.defer(rh(b,r,n));});var c=Ir();l.length&&c.defer(function(b){Sm(n).then(function(C){return b(C)}).catch(function(C){console.warn("Couldn't load preload assets: ",C),b(void 0);});});var m=Ir();m.defer(u),m.defer(c),m.then(function(b){var C=b.pop();if(C&&C.length){var I=C[0];I&&(r=_e({},r,I));}var P=b[0];if(!l.length){p._selectCache=void 0,a(P.filter(function($){return !!$}));return}var V=Ir();l.forEach(function($){var G=rh($,r,n);V.defer(G);}),V.then(function($){p._selectCache=void 0,a(P.concat($).filter(function(G){return !!G}));}).catch(i);}).catch(i);}},{key:"after",value:function(r,n){var a=this.rules;return r.map(function(i){if(i.error)return i;var o=Fa(a,"id",i.id);if(!o)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return o.after(i,n)}catch(s){if(n.debug)throw s;return nh(o,s)}})}},{key:"getRule",value:function(r){return this.rules.find(function(n){return n.id===r})}},{key:"normalizeOptions",value:function(r){var n=this,a=[],i=[];if(n.rules.forEach(function(c){i.push(c.id),c.tags.forEach(function(m){a.includes(m)||a.push(m);});}),["object","string"].includes(fe(r.runOnly))){if(typeof r.runOnly=="string"&&(r.runOnly=[r.runOnly]),Array.isArray(r.runOnly)){var o=r.runOnly.find(function(c){return a.includes(c)}),s=r.runOnly.find(function(c){return i.includes(c)});if(o&&s)throw new Error("runOnly cannot be both rules and tags");s?r.runOnly={type:"rule",values:r.runOnly}:r.runOnly={type:"tag",values:r.runOnly};}var l=r.runOnly;if(l.value&&!l.values&&(l.values=l.value,delete l.value),!Array.isArray(l.values)||l.values.length===0)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(l.type))l.type="rule",l.values.forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.runOnly")});else if(["tag","tags",void 0].includes(l.type)){l.type="tag";var u=l.values.filter(function(c){return !a.includes(c)&&!/wcag2[1-3]a{1,3}/.test(c)});u.length!==0&&p.log("Could not find tags `"+u.join("`, `")+"`");}else throw new Error("Unknown runOnly type '".concat(l.type,"'"))}return fe(r.rules)==="object"&&Object.keys(r.rules).forEach(function(c){if(!i.includes(c))throw new Error("unknown rule `"+c+"` in options.rules")}),r}},{key:"setBranding",value:function(r){var n={brand:this.brand,application:this.application};typeof r=="string"&&(this.application=r),r&&r.hasOwnProperty("brand")&&r.brand&&typeof r.brand=="string"&&(this.brand=r.brand),r&&r.hasOwnProperty("application")&&r.application&&typeof r.application=="string"&&(this.application=r.application),this._constructHelpUrls(n);}},{key:"_constructHelpUrls",value:function(){var r=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=(p.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||n&&o.helpUrl===ah(n,i.id,a))&&(o.helpUrl=ah(r,i.id,a));});}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale();}}])})(),Q1=i3;function eh(){if(d.origin&&d.origin!=="null")return d.origin;if(d.location&&d.location.origin&&d.location.origin!=="null")return d.location.origin}function o3(e){var t;if(e?(t=Wr(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||false,!t.allowedOrigins){var r=eh();t.allowedOrigins=r?[r]:[];}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=_e({checks:{},rules:{}},t.data),t}function th(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n]);}var s3=function(t,r){var n=r.pass,a=r.fail;return typeof n=="string"&&Jn.test(n)&&(n=tn.default.compile(n)),typeof a=="string"&&Jn.test(a)&&(a=tn.default.compile(a)),_e({},t,{messages:{pass:n||t.messages.pass,fail:a||t.messages.fail,incomplete:fe(t.messages.incomplete)==="object"?_e({},t.messages.incomplete,r.incomplete):r.incomplete}})},l3=function(t,r){var n=r.help,a=r.description;return typeof n=="string"&&Jn.test(n)&&(n=tn.default.compile(n)),typeof a=="string"&&Jn.test(a)&&(a=tn.default.compile(a)),_e({},t,{help:n||t.help,description:a||t.description})},u3=function(t,r){var n=r.failureMessage;return typeof n=="string"&&Jn.test(n)&&(n=tn.default.compile(n)),_e({},t,{failureMessage:n||t.failureMessage})},c3=function(t,r){return typeof r=="string"&&Jn.test(r)&&(r=tn.default.compile(r)),r||t};function d3(e,t,r){var n={now:[],later:[]},a=e.reduce(function(i,o){return Im(o,t,r)?o.preload?(i.later.push(o),i):(i.now.push(o),i):i},n);return a}function rh(e,t,r){return r.performanceTimer&&ft.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,function(i){return n(i)},function(i){r.debug?a(i):n(nh(e,i));});}}function nh(e,t){var r=t.errorNode,n=Ao(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],i=r||new mr(h.documentElement);return Object.assign(new Po(e),{error:n,result:Ke.CANTTELL,nodes:[{any:[],all:[],none:a,node:i}]})}function ah(e,t,r){var n=e.brand,a=e.application,i=e.lang;return Ke.helpUrlBase+n+"/"+(r||p.version.substring(0,p.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(i&&i!=="en"?"&lang="+encodeURIComponent(i):"")}function ih(e){var t=d&&"Node"in d&&"NodeList"in d,r=!!h;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||(Ye.set("globalDocumentSet",true),h=e.ownerDocument),t||(Ye.set("globalWindowSet",true),d=h.defaultView);}}function f3(){Ye.get("globalDocumentSet")&&(Ye.set("globalDocumentSet",false),h=null),Ye.get("globalWindowSet")&&(Ye.set("globalWindowSet",false),d=null);}function p3(){f3(),p._memoizedFns.forEach(function(e){return e.clear()}),Ye.clear(),p._tree=void 0,p._selectorData=void 0,p._selectCache=void 0;}var hn=p3;function oh(e,t,r,n){try{e=new yo(e),p._tree=e.flatTree,p._selectorData=Bi(e.flatTree);}catch(o){return hn(),n(o)}var a=Ir(),i=p._audit;t.performanceTimer&&ft.auditStart(),e.frames.length&&t.iframes!==false&&a.defer(function(o,s){bf(e,t,"rules",null,o,s);}),a.defer(function(o,s){i.run(e,t,o,s);}),a.then(function(o){try{t.performanceTimer&&ft.auditEnd();var s=Ui(o.map(function(l){return {results:l}}));e.initiator&&(t.performanceTimer&&ft.mark("auditAfterStart"),s=i.after(s,t),t.performanceTimer&&(ft.mark("auditAfterEnd"),ft.measure("audit.after","auditAfterStart","auditAfterEnd"),ft.logMeasures("audit.after")),s.forEach(Do),s=s.map(fa));try{r(s,hn);}catch(l){hn(),An(l);}}catch(l){hn(),n(l);}}).catch(function(o){hn(),n(o);});}function m3(e){p._audit=new Q1(e);}function h3(e,t,r){var n=r,a=function(l){l instanceof Error||(l=new Error(l)),r(l);},i=e&&e.context||{};i.hasOwnProperty("include")&&!i.include.length&&(i.include=[h]);var o=e&&e.options||{};switch(e.command){case "rules":return oh(i,o,function(s,l){s=hr.mapRawResults(s),n(s),l();},a);case "cleanup-plugin":return Vm(n,a);default:if(p._audit&&p._audit.commands&&p._audit.commands[e.command])return p._audit.commands[e.command](e,r)}}d.top!==d&&(Er.subscribe("axe.start",h3),Er.subscribe("axe.ping",function(e,t,r){r({axe:true});}));function ei(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach(function(t){p._audit.registerCommand(t);});}ei.prototype.run=function(){return this._run.apply(this,arguments)},ei.prototype.collect=function(){return this._collect.apply(this,arguments)},ei.prototype.cleanup=function(t){var r=p.utils.queue(),n=this;Object.keys(this._registry).forEach(function(a){r.defer(function(i){n._registry[a].cleanup(i);});}),r.then(t);},ei.prototype.add=function(t){this._registry[t.id]=t;};function g3(e){p.plugins[e.id]=new ei(e);}var v3=g3;function b3(){var e=p._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),ND();}var y3=b3;function w3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||p._audit.reporter||"v1",p._selectorData={},t instanceof Vt||(t=new Hm(t));var n=pm(e);if(!n)throw new Error("unknown rule `"+e+"`");n=Object.create(n,{excludeHidden:{value:false}});var a={initiator:true,include:[t],exclude:[],frames:[],page:false,focusable:true,size:{},flatTree:[]},i=n.runSync(a,r);Do(i),fa(i);var o=kc([i]);return o.violations.forEach(function(s){return s.nodes.forEach(function(l){l.failureSummary=Bl(l);})}),_e({},pn(),o,{toolOptions:r})}function sh(e){var t,r,n,a=Ae(e,3),i=a[0],o=a[1],s=a[2],l=new TypeError("axe.run arguments are invalid");if(!vm(i)){if(s!==void 0)throw l;s=o,o=i,i=h;}if(fe(o)!=="object"){if(s!==void 0)throw l;s=o,o={};}if(typeof s!="function"&&s!==void 0)throw l;return o=Wr(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:s}}var yu=function(){};function x3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];ih(t[0]);var n=sh(t),a=n.context,i=n.options,o=n.callback,s=o===void 0?yu:o,l=D3(s),u=l.thenable,c=l.resolve,m=l.reject;try{ut(p._audit,"No audit configured"),ut(!p._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");}catch(I){return _3(I,s)}p._running=true,i.performanceTimer&&ft.start();function b(I,P){var V=function(Y){i.performanceTimer&&(ft.mark("reporterEnd"),ft.measure("reporter","reporterStart","reporterEnd"),ft.logMeasures("reporter"),ft.end()),p._running=false,P();try{c(Y);}catch(K){p.log(K);}},$=function(Y){p._running=false,P();try{m(Y);}catch(K){p.log(K);}};try{i.performanceTimer&&ft.mark("reporterStart"),A3(I,i,V,$);}catch(G){$(G);}}function C(I){i.performanceTimer&&ft.end(),p._running=false,s(I),m(I);}return p._runRules(a,i,b,C),u}function D3(e){var t,r,n;return typeof Promise=="function"&&e===yu?t=new Promise(function(a,i){r=i,n=a;}):(n=function(i){return e(null,i)},r=function(i){return e(i)}),{thenable:t,reject:r,resolve:n}}function A3(e,t,r,n){var a=eu(t.reporter),i=a(e,t,r,n);i!==void 0&&r(i);}function _3(e,t){if(typeof t=="function"&&t!==yu){t(e.message);return}throw e}function E3(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=sh(t),a=n.options,i=n.context;ut(p._audit,"Axe is not configured. Audit is missing."),ut(!p._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 yo(i,p._tree);return p._tree=o.flatTree,p._selectorData=Bi(o.flatTree),p._running=true,a.elementRef=false,new Promise(function(s,l){p._audit.run(o,a,s,l);}).then(function(s){s=hr.mapRawResults(s);var l=o.frames.map(function(c){var m=c.node;return hr.toSpec(m)}),u;return o.initiator&&(u=pn()),p._running=false,hn(),{results:s,frames:l,environmentData:u}}).catch(function(s){return p._running=false,hn(),Promise.reject(s)})}function C3(e){var t,r,n,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a=Wr(a);var i=e.find(function(l){return l.environmentData})||{},o=i.environmentData;p._audit.normalizeOptions(a),a.reporter=(t=(r=a.reporter)!==null&&r!==void 0?r:(n=p._audit)===null||n===void 0?void 0:n.reporter)!==null&&t!==void 0?t:"v1",S3(e);var s=Ui(e);return s=p._audit.after(s,a),s.forEach(Do),s=s.map(fa),T3(s,_e({environmentData:o},a))}function S3(e){var t=[],r=it(e),n;try{for(r.s();!(n=r.n()).done;){var a=n.value,i=t.shift();if(a){a.frameSpec=i??null;var o=k3(a);t.unshift.apply(t,Ee(o));}}}catch(s){r.e(s);}finally{r.f();}}function k3(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(n){return hr.mergeSpecs(n,r)}):t}function T3(e,t){return new Promise(function(r,n){var a=eu(t.reporter);a(e,t,r,n);})}function R3(e){if(p._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&fe(e.documentElement)==="object"&&fe(e.defaultView)==="object"&&(e=e.documentElement),ih(e),p._tree=Nl(e),p._selectorData=Bi(p._tree),p._tree[0]}var F3=R3,I3=function(t,r,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,W);n(_e({},pn(i),{toolOptions:o},Wa(t,r)));},M3=I3,L3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,J);r.resultTypes=["violations"];var s=Wa(t,r),l=s.violations;n(_e({},pn(i),{toolOptions:o,violations:l}));},O3=L3,P3=function(t,r,n){if(typeof r=="function"&&(n=r,r={}),!t||!Array.isArray(t))return n(t);var a=t.map(function(i){for(var o=_e({},i),s=["passes","violations","incomplete","inapplicable"],l=0,u=s;l<u.length;l++){var c=u[l];o[c]=hr.mapRawNodeResults(o[c]);}return o});n(a);},lh=P3,N3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,k);lh(t,o,function(s){var l=pn(i);n({raw:s,env:l});});},q3=N3,B3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,v),s=Wa(t,r),l=function(c){c.nodes.forEach(function(m){m.failureSummary=Bl(m);});};s.incomplete.forEach(l),s.violations.forEach(l),n(_e({},pn(i),{toolOptions:o},s));},H3=B3,V3=function(t,r,n){typeof r=="function"&&(n=r,r={});var a=r,i=a.environmentData,o=te(a,D),s=Wa(t,r);n(_e({},pn(i),{toolOptions:o},s));},j3=V3,$3={base:{Audit:Q1,CheckResult:vu,Check:J1,Context:yo,RuleResult:Po,Rule:er,metadataFunctionMap:Oo},public:{reporters:Xa},helpers:{failureSummary:Bl,incompleteFallbackMessage:Hl,processAggregate:Wa},utils:{setDefaultFrameMessenger:ff,cacheNodeSelectors:im,getNodesMatchingExpression:nm,convertSelector:Vi},commons:{dom:{nativelyHidden:Df,displayHidden:Af,visibilityHidden:_f,contentVisibiltyHidden:Ef,ariaHidden:Cf,opacityHidden:Sf,scrollHidden:kf,overflowHidden:Tf,clipHidden:Rf,areaHidden:Zs,detailsHidden:Ff}}},z3=$3;p._thisWillBeDeletedDoNotUse=z3,p.constants=Ke,p.log=An,p.AbstractVirtualNode=Vt,p.SerialVirtualNode=Hm,p.VirtualNode=Ll,p._cache=Ye,p.imports=Ic,p.cleanup=Vm,p.configure=bE,p.frameMessenger=yE,p.getRules=xE,p._load=m3,p.plugins={},p.registerPlugin=v3,p.hasReporter=$m,p.getReporter=eu,p.addReporter=gE,p.reset=y3,p._runRules=oh,p.runVirtualRule=w3,p.run=x3,p.setup=F3,p.teardown=hn,p.runPartial=E3,p.finishRun=C3,p.commons=d1,p.utils=ss,p.addReporter("na",M3),p.addReporter("no-passes",O3),p.addReporter("rawEnv",q3),p.addReporter("raw",lh),p.addReporter("v1",H3),p.addReporter("v2",j3,true);}))(),p._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(se){var ce="Fix any of the following:",ve=se;if(ve)for(var Xe,at=-1,dt=ve.length-1;at<dt;)Xe=ve[at+=1],ce+=`
378
429
  `+Xe.split(`
379
430
  `).join(`
380
431
  `);return ce}},none:{failureMessage:function(se){var ce="Fix all of the following:",ve=se;if(ve)for(var Xe,at=-1,dt=ve.length-1;at<dt;)Xe=ve[at+=1],ce+=`
381
432
  `+Xe.split(`
382
433
  `).join(`
383
- `);return ce}}},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:Ag);});var Kg={};kr(Kg,{dismissModals:()=>bL});async function bL(f){await f.evaluate(d=>{for(let g of d){let h=document.querySelectorAll(g);for(let p of h)if(p.offsetParent!==null){p.click();return}}},vL),await new Promise(d=>setTimeout(d,500));}var vL,Jg=Sr(()=>{vL=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var zo={};kr(zo,{pruneHiddenIframeIssues:()=>DL,pruneInvisibleContrast:()=>xL,waitForRenderSettle:()=>yL});async function yL(f,d=4e3){let g=Date.now()+d;try{await f.waitForLoadState?.("load",{timeout:Math.min(d/2,2e3)});}catch{}let h="";for(;Date.now()<g;){let p;try{p=await f.evaluate(()=>{let y=typeof document.getAnimations=="function"?document.getAnimations():[],A=0;for(let _ of y){if(_.playState!=="running")continue;let x;try{x=_.effect?.getComputedTiming?.().iterations;}catch{x=void 0;}x!==1/0&&A++;}let w="",F=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],R=Math.min(F.length,50);for(let _=0;_<R;_++)w+=getComputedStyle(F[_]).opacity+",";return A+"|"+w});}catch{return}if(p.indexOf("0|")===0&&p===h)return;h=p,await new Promise(y=>setTimeout(y,150));}}function Zg(f){return wL.has(f.wcag)||/contrast/i.test(f.type||"")}async function xL(f,d){let g=Array.from(new Set(d.filter(A=>Zg(A)&&A.selector).map(A=>A.selector))).slice(0,100);if(g.length===0)return d;let h;try{h=await f.evaluate(A=>{let w=[],F={},R=Math.max(document.documentElement.scrollWidth,window.innerWidth),_=Math.max(document.documentElement.scrollHeight,window.innerHeight),x=S=>{let E=S.match(/rgba?\(([^)]+)\)/);if(!E)return !1;let M=E[1].split(/[ ,/]+/).filter(Boolean);return M.length<4||parseFloat(M[3])>=.95};for(let S of A){let E=null;try{E=document.querySelector(S);}catch{continue}if(!E)continue;let M=getComputedStyle(E),L=E.getBoundingClientRect(),N=M.clipPath&&M.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(M.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(M.clip||""),q=L.width<=1||L.height<=1,H=window.scrollX,j=window.scrollY,U=L.right+H<=0||L.bottom+j<=0||L.left+H>=R||L.top+j>=_,J=!1;if(U)for(let z=E.parentElement;z&&z!==document.body&&z!==document.documentElement;z=z.parentElement){let X=getComputedStyle(z);if(X.overflowX!=="visible"||X.overflowY!=="visible"||X.transform&&X.transform!=="none"){J=!0;break}}if(N||q||L.right+H<=0||L.bottom+j<=0||U&&!J){w.push(S);continue}let k=E,v=!1;for(;k&&k!==document.documentElement;){if(parseFloat(getComputedStyle(k).opacity)===0){v=!0;break}k=k.parentElement;}if(v){F[S]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let D=L.left+L.width/2,T=L.top+L.height/2,P=E,B=!1;for(let z=0;P&&P!==document.body&&z<8;z++){let X=getComputedStyle(P);if(x(X.backgroundColor)||X.backgroundImage&&X.backgroundImage!=="none")break;let te=P.querySelectorAll("video, canvas, img, picture");for(let ee=0;ee<te.length;ee++){let Z=te[ee];if(Z.contains(E)||E.contains(Z))continue;let ie=Z.getBoundingClientRect();if(ie.width>0&&ie.height>0&&D>=ie.left&&D<=ie.right&&T>=ie.top&&T<=ie.bottom){B=!0;break}}if(B)break;P=P.parentElement;}B&&(F[S]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:w,review:F}},g);}catch{return d}let p=new Set(h.hidden),y=[];for(let A of d){if(!Zg(A)){y.push(A);continue}if(p.has(A.selector))continue;let w=h.review[A.selector];y.push(w&&A.confidence!=="needs_review"?{...A,confidence:"needs_review",reviewReason:w,...A.fix?{fix:{...A.fix,needsManualReview:true}}:{}}:A);}return y}async function DL(f,d){let g=Array.from(new Set(d.filter(y=>y.selector).map(y=>y.selector))).slice(0,200);if(g.length===0)return d;let h;try{h=await f.evaluate(y=>{let A=[];for(let w of y){let F=null;try{F=document.querySelector(w);}catch{continue}if(!F||F.tagName!=="IFRAME")continue;let R=getComputedStyle(F),_=F.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse",x=(F.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(_||x)&&A.push(w);}return A},g);}catch{return d}if(h.length===0)return d;let p=new Set(h);return d.filter(y=>!p.has(y.selector))}var wL,Go=Sr(()=>{wL=new Set(["1.4.3","1.4.6","1.4.11"]);});var Uo={};kr(Uo,{focusOnlyObscuredIndexes:()=>SL,resetInteractionState:()=>AL,restoreInteractionState:()=>EL,snapshotInteractionState:()=>_L});async function AL(f){try{await f.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function _L(f){try{await f.evaluate(()=>{let d=window;d.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function EL(f){try{await f.evaluate(()=>{let d=window,g=d.__waCallerState;if(delete d.__waCallerState,!g)return;let h=g.el;if(h&&h!==document.body&&h!==document.documentElement&&h.isConnected)try{h.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:g.x,top:g.y,behavior:"instant"});}catch{}});}catch{}}function CL(f){if(typeof f=="string")return f;if(!Array.isArray(f))return null;let d=f.flat(1/0).filter(g=>typeof g=="string");return d.length===1?d[0]:null}async function SL(f,d){let g=d.map(A=>{let F=[...A.any??[],...A.none??[]].flatMap(_=>_.relatedNodes??[]);if(!F.length)return null;let R=F.map(_=>CL(_.target));return R.every(_=>!!_)?R:null}),h=Array.from(new Set(g.flatMap(A=>A??[])));if(!h.length)return new Set;let p={};try{p=await f.evaluate(({sels:A,own:w})=>{let F=_=>{let x=_.getBoundingClientRect(),S=getComputedStyle(_);return !!((x.width<=1||x.height<=1)&&(S.overflow==="hidden"||S.position==="absolute"||S.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(S.clip||"")||/inset\(\s*50%/.test(S.clipPath||""))},R={};for(let _ of A){let x=null;try{x=document.querySelector(_);}catch{x=null;}if(!x){R[_]=!1;continue}let S=x.closest(w);if(S&&S!==document.body&&S!==document.documentElement){R[_]=!0;continue}if(x===document.activeElement){try{x.blur();}catch{}R[_]=F(x);continue}R[_]=F(x);}return R},{sels:h,own:Ho});}catch{return new Set}let y=new Set;return g.forEach((A,w)=>{A&&A.length&&A.every(F=>p[F]===true)&&y.add(w);}),y}var Wo=Sr(()=>{Hr();});var oa={};kr(oa,{dedupeByElementIdentity:()=>IL,deduplicateIssues:()=>kL});function kL(f){let d=new Map,g=[...f].sort((h,p)=>{let y={webability:0,"axe-core":1,"deep-analysis":2},A=y[h.source]??3,w=y[p.source]??3;return A-w});for(let h of g){let p=TL(h);d.has(p)?!d.get(p).fix?.suggestedValue&&h.fix?.suggestedValue&&d.set(p,h):d.set(p,h);}return Array.from(d.values())}function TL(f){let d=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),g=f.wcag||"";return d&&g?`${d}::${g}`:`${f.type}::${d||f.id}`}async function IL(f,d){if(d.length<2)return d;let g=Array.from(new Set(d.map(_=>_.selector).filter(Boolean))),h;try{h=await f.evaluate(_=>{let x=Array.from(document.querySelectorAll("*")),S=new Map;x.forEach((M,L)=>S.set(M,L));let E={};for(let M of _){let L=null;try{L=document.querySelector(M);}catch{}if(!L){let N=M.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(N!==M)try{L=document.querySelector(N);}catch{}}if(L){let N=L.closest("table");E[M]={el:S.get(L),table:N?S.get(N):-1,doc:L===document.documentElement||L===document.body};}}return E},g);}catch{return d}let p={webability:0,"axe-core":1,"deep-analysis":2},y=_=>{let x=h[_.selector];if(!x)return null;let S=_.wcag||_.type;return x.doc?{key:FL.has(_.wcag||"")?`doc::${S}`:`doc::${S}::${_.type}`,owner:true}:x.table>=0&&RL.test(_.type)?{key:`${x.table}::${S}::table-headers`,owner:x.el===x.table}:{key:`${x.el}::${S}`,owner:true}},A=[...d].sort((_,x)=>{let S=y(_),E=y(x),M=S?.owner?0:1,L=E?.owner?0:1;return M-L||(p[_.source]??3)-(p[x.source]??3)}),w=new Map,F=[];for(let _ of A){let x=y(_);if(!x){F.push(_);continue}let S=w.get(x.key);S?!S.fix?.suggestedValue&&_.fix?.suggestedValue&&(y(S)?.owner??true)===x.owner&&w.set(x.key,_):w.set(x.key,_);}let R=new Set([...w.values(),...F]);return d.filter(_=>R.has(_))}var RL,FL,sa=Sr(()=>{RL=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,FL=new Set(["2.4.1","3.1.1","2.4.2"]);});var tv={};kr(tv,{parseGif:()=>Qg,playsOverFiveSeconds:()=>ev,verifyAnimatedGifs:()=>ML});function Qg(f){if(String.fromCharCode(f[0]??0,f[1]??0,f[2]??0)!=="GIF")return null;let g=13,h=f[10]??0;h&128&&(g+=3*(1<<(h&7)+1));let p=0,y=0,A=0,w=null,F=()=>{for(;g<f.length;){let R=f[g++];if(R===0)return;g+=R;}};for(;g<f.length;){let R=f[g++];if(R===59)break;if(R===33){let _=f[g++];if(_===249)A=(f[g+2]??0)|(f[g+3]??0)<<8,g+=1+(f[g]??4),F();else if(_===255){let x=f[g]??0,S=String.fromCharCode(...Array.from(f.subarray(g+1,g+1+x)));g+=1+x,(S==="NETSCAPE2.0"||S==="ANIMEXTS1.0")&&f[g]===3&&f[g+1]===1&&(w=(f[g+2]??0)|(f[g+3]??0)<<8),F();}else F();}else if(R===44){let _=f[g+8]??0;g+=9,_&128&&(g+=3*(1<<(_&7)+1)),g+=1,F(),p++,y+=A<2?10:A,A=0;}else break}return {frames:p,seconds:y/100,loops:w}}function ev(f){if(f.frames<2)return false;if(f.loops===0)return true;let d=f.loops===null?1:f.loops+1;return f.seconds*d>5}async function ML(f,d){let g=d.filter(y=>y.type==="animated_gif_no_pause");if(!g.length)return d;let h=Array.from(new Set(g.map(y=>y.selector))),p={};try{p=await f.evaluate(async({sels:y,parserSrc:A})=>{let w=new Function("var __name = function (f) { return f }; return ("+A+")")(),F={};return await Promise.all(y.map(async R=>{F[R]=null;try{let _=document.querySelector(R),x=_&&(_.currentSrc||_.src);if(!x)return;let S=new AbortController,E=setTimeout(()=>S.abort(),5e3);try{let M=await fetch(x,{signal:S.signal,credentials:"same-origin"});if(!M.ok||Number(M.headers.get("content-length")||"0")>2e7)return;F[R]=w(new Uint8Array(await M.arrayBuffer()));}finally{clearTimeout(E);}}catch{}})),F},{sels:h,parserSrc:Qg.toString()});}catch{p={};}return d.flatMap(y=>{if(y.type!=="animated_gif_no_pause")return [y];let A=p[y.selector];if(!A)return [{...y,message:`${y.message} \u2014 the GIF file could not be read from the page (cross-origin or blocked), so its frame count and duration were not measured`}];if(!ev(A))return [];let w=A.loops===0?"loops forever":`plays for ${(A.seconds*(A.loops===null?1:A.loops+1)).toFixed(1)}s`;return [{...y,message:`animated GIF (${A.frames} frames, ${w}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var rv=Sr(()=>{});var Vu={};kr(Vu,{scopeIssuesToRoot:()=>LL});async function LL(f,d,g){let h=Array.from(new Set(d.map(y=>y.selector).filter(Boolean))),p;try{p=await f.evaluate(({rootSel:y,sels:A})=>{let w=_=>{try{let S=document.querySelector(_);if(S)return S}catch{}let x=_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(x!==_)try{return document.querySelector(x)}catch{return null}return null},F=null;try{F=document.querySelector(y);}catch{return {invalid:!0,matched:!1,within:{}}}if(!F)return {invalid:!1,matched:!1,within:{}};let R={};for(let _ of A){let x=w(_);R[_]=x?x===F||F.contains(x):!0;}return {invalid:!1,matched:!0,within:R}},{rootSel:g,sels:h});}catch{return {issues:d,warning:`scope:evaluate-failed (${g}) \u2014 results unfiltered`}}return p.invalid?{issues:d,warning:`scope:invalid-selector (${g}) \u2014 results unfiltered`}:p.matched?{issues:d.filter(y=>y.selector?p.within[y.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${g} matched nothing \u2014 empty result)`}}var ju=Sr(()=>{});var qo={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};function uh(f,d){let g=f??"";if(g.trimStart().startsWith("{"))try{let h=JSON.parse(g);if(h&&typeof h=="object"&&!Array.isArray(h))return JSON.stringify({...h,platform:d})}catch{}return (g?g+" | ":"")+"platform: "+d}var Q3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=new Set;function p(w){let F=(w.textContent||"").trim().replace(/\s+/g,""),R=w.querySelector("img, svg, picture")!==null,_=w.querySelector("i[class], span[class]")!==null;if(F.length>0&&!R&&!_)return false;if(R){let x=w.querySelectorAll("img"),S="";x.forEach(L=>{S+=(L.getAttribute("alt")||"").trim();});let E=F.replace(/\s+/g,""),M=S.replace(/\s+/g,"");return E===""||E===M}return false}function y(w){let F=w.nextElementSibling;for(;F;){if(isVisible(F))return F;F=F.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(g.length>=50||w.closest(f)||!isVisible(w)||h.has(w))return;let F=w.getAttribute("href");if(!F||F==="#")return;let R=y(w);if(!R||R.tagName!=="A"||R.getAttribute("href")!==F||h.has(R)||w.getAttribute("aria-hidden")==="true"||R.getAttribute("aria-hidden")==="true")return;let x=p(w),S=p(R);if(!x&&!S)return;let E=x?w:R,M=x?R:w;h.add(E),h.add(M);let L=uniqueSel(E),N=E.outerHTML.slice(0,300),q=(M.textContent||"").trim().slice(0,80);g.push({selector:L,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:F,imageLink:true,adjacentLinkText:q,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:N}),g.push({selector:L,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:F}),needsAI:false,fixValue:"-1",outerHtml:N});}),g},ch={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(Q3)}};var eI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",d='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',g=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),h=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,y=[],A=new Set;function w(_){let x=_,S=0;for(;x&&x.nodeType===1&&x!==document.body&&S<20;){try{let E=getComputedStyle(x);if(E.display==="none"||E.visibility==="hidden"||E.visibility==="collapse")return !0}catch{}x=x.parentElement,S++;}return false}function F(_){let x=_.tagName,S=_.getAttribute("tabindex");if(S!==null){let E=parseInt(S,10);if(!isNaN(E)&&E>=0)return true;if(!isNaN(E)&&E<0)return false}return h.has(x)?!(x==="A"&&!_.hasAttribute("href")||_.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(_=>{if(y.length>=p||_.closest(f)||_.closest(d)||_.closest(g)||_.matches(g))return;let x=[];if(F(_)&&x.push(_),_.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(E=>{F(E)&&x.push(E);}),x.length!==0)for(let E of x){if(y.length>=p)return;let M=uniqueSel(E),L=M+"\0tabindex";if(A.has(L))continue;A.add(L);let N=w(E),q=!N;y.push({selector:M,attribute:"tabindex",currentValue:E.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),parentHidden:_.tagName.toLowerCase(),collapsed:N,suggestion:N?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'This control is rendered and operable inside an aria-hidden region. Remove aria-hidden from the region if the control is meant to be used, or hide the region (display:none / hidden / inert) when it is not. Do not set tabindex="-1" on a visible control: keyboard users lose it.'}),needsAI:false,fixValue:"-1",...N?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},...q?{manualFix:true,reviewReason:'the control is rendered inside an aria-hidden region: tabindex="-1" would leave a visible, clickable control unreachable by keyboard (2.1.1). The right fix is on the region (remove aria-hidden, or hide it for everyone), which needs a person.'}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}}),y},dh={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=new Set,p=[/\btoast\b/i,/\bsnackbar\b/i,/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,/success[-_]message|success[-_]msg/i,/alert[-_]message|alert[-_]banner/i,/flash[-_]message|flash[-_]notice/i,/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,/loading[-_]spinner|loading[-_]indicator/i,/search[-_]results?[-_]count/i,/\blive[-_]region\b/i,/notification[-_](bar|area|container|popup|wrapper)/i,/status[-_]message/i];function y(A){if((A.textContent||"").trim())return false;if(typeof A.checkVisibility=="function")return A.checkVisibility({visibilityProperty:true});for(let w=A;w&&w.nodeType===1;w=w.parentElement)if(getComputedStyle(w).display==="none")return false;return getComputedStyle(A).visibility!=="hidden"}for(let A of p){if(g.length>=50)break;let w=document.querySelectorAll("*");for(let F of w){if(g.length>=50)break;if(h.has(F)||F.closest(f))continue;let R=F.className&&typeof F.className=="string"?F.className:"",_=F.getAttribute("id")||"";if(!A.test(R)&&!A.test(_)||F.getAttribute("aria-live"))continue;let x=F.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(x)||!y(F))continue;h.add(F);let S=uniqueSel(F),E=A.test(R)?"class":"id",M=E==="class"?R.slice(0,60):_;g.push({selector:S,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:E+": "+M+" | pattern: "+A.source,needsAI:false,fixValue:"polite"});}}return g},fh={name:"ariaLive",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],h=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(g.length>=50)&&!w.closest(f)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let F of p){let R=w.getAttribute(F);if(!R||!R.trim())continue;let _=R.trim().split(/\s+/).filter(j=>j.length>0);if(_.length===0||!_.every(j=>!document.getElementById(j)))continue;let S=w.getAttribute("aria-label");if(S&&S.trim())continue;let E=getAccessibleName(w);if(E&&E.trim())continue;let M=uniqueSel(w),L=M+"\0"+F;if(h.has(L))continue;h.add(L);let{nearbyHeading:N,parentTag:q,parentRole:H}=getNearbyContext(w);g.push({selector:M,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:F,brokenIds:_,nearbyHeading:N,parentTag:q,parentRole:H,suggestion:`All IDs in ${F}="${R}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),g},ph={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate(rI)}};var nI=()=>{let d=[],g=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],h=document.querySelectorAll("button");for(let p of h){if(d.length>=50)break;let y=p;if(isWidget(y)||y.hasAttribute("type")||!y.closest("form"))continue;let A=(y.textContent||"").trim().slice(0,60),w=(y.getAttribute("aria-label")||"").trim().slice(0,60),F=A||w||"(no label)",R=F.toLowerCase();g.some(x=>R.includes(x))||d.push({selector:uniqueSel(y),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+F,needsAI:false,fixValue:"button",outerHtml:(y.outerHTML||"").slice(0,300)});}return d},mh={name:"buttonType",cap:50,async detect(f){return f.evaluate(nI)}};var aI=()=>{let d=[],g=document.querySelectorAll("video, audio");for(let h of Array.from(g)){if(d.length>=20)break;if(isWidget(h)||typeof isVisible=="function"&&!isVisible(h)||h.error)continue;let p=h.tagName==="VIDEO";if(p){let L=h.hasAttribute("muted")||h.muted,N=h.hasAttribute("controls"),q=h.hasAttribute("loop")||h.loop,H=/mute|unmute|sound|volume|audio|play|pause/i,j=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(h.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let U=h.parentElement?.parentElement||null,J=0;U&&!j&&J<3;U=U.parentElement,J++)j=Array.from(U.querySelectorAll('button, [role="button"]')).some(k=>H.test((k.getAttribute("aria-label")||"")+" "+(k.getAttribute("title")||"")+" "+(k.textContent||"")));if(L&&q&&!N&&!j)continue}let y=h.querySelectorAll("track"),A=false;for(let L of Array.from(y)){let N=(L.getAttribute("kind")||"").toLowerCase();if(N==="captions"||N==="subtitles"){A=true;break}}if(A)continue;let w=h.currentSrc||h.getAttribute("src")||"";if(w||(w=h.querySelector("source")?.getAttribute("src")||""),!w)continue;let F=w.toLowerCase();if(F.startsWith("blob:")||F.startsWith("data:")||F.startsWith("about:")||F.startsWith("javascript:")||F.endsWith(".m3u8")||F.includes(".m3u8?")||F.endsWith(".mpd")||F.includes(".mpd?"))continue;let R=w;try{R=new URL(w,location.href).toString();}catch{continue}let _=typeof uniqueSel=="function"?uniqueSel(h):"",x=h.getAttribute("title")||h.getAttribute("aria-label")||"",S=typeof getNearbyContext=="function"?getNearbyContext(h):{parentTag:h.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("media: "+h.tagName.toLowerCase()),E.push("src: "+R.slice(0,200)),x&&E.push("title: "+x.slice(0,80)),S.nearbyHeading&&E.push("heading: "+S.nearbyHeading),E.push("parent: "+S.parentTag);let M=p;d.push({selector:_,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:E.join(" | "),needsAI:true,...M?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:R,outerHtml:(h.outerHTML||"").slice(0,300)});}return d},hh={name:"captions",cap:20,async detect(f){return f.evaluate(aI)}};var iI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]"),y=new Map;for(let A of Array.from(p)){if(g.length>=40)break;if(A.closest(f)||A.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(A))continue;let w=A.closest(h);if(!w)continue;let F=(A.textContent||"").trim();if(!F)continue;let R=y.get(w);if(R===void 0){R=0;let U=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),J;for(;J=U.nextNode();){let k=J.parentElement;!k||k.closest("a")||k.closest(h)===w&&(typeof isVisible=="function"&&!isVisible(k)||(R+=(J.textContent||"").trim().length));}y.set(w,R);}if(R<20||A.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let _=getComputedStyle(A),x=getComputedStyle(w);if((_.textDecorationLine||_.textDecoration||"").includes("underline")||(()=>{let U=document.createTreeWalker(A,NodeFilter.SHOW_TEXT),J,k=false;for(;J=U.nextNode();){if(!/[\p{L}\p{N}]/u.test(J.textContent||""))continue;k=true;let v=false;for(let D=J.parentElement;D&&D!==A;D=D.parentElement){let T=getComputedStyle(D),P=(T.textDecorationColor||"").replace(/\s/g,"");if((T.textDecorationLine||"").includes("underline")&&P!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(P)){v=true;break}let B=(T.borderBottomColor||"").replace(/\s/g,""),z=B==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(B);if((T.borderBottomStyle||"none")!=="none"&&parseFloat(T.borderBottomWidth||"0")>0&&!z){v=true;break}}if(!v)return false}return k})())continue;let M=parseInt(_.fontWeight||"400",10),L=parseInt(x.fontWeight||"400",10);if(Number.isFinite(M)&&Number.isFinite(L)&&M-L>=300||(_.borderBottomStyle||"none")!=="none"&&(_.borderBottomWidth||"0px")!=="0px"||_.color===x.color)continue;let q=typeof uniqueSel=="function"?uniqueSel(A):"",H=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:A.tagName.toLowerCase(),nearbyHeading:""},j=[];j.push("link: "+F.slice(0,40)),j.push("color: "+_.color),j.push("parent-color: "+x.color),H.nearbyHeading&&j.push("heading: "+H.nearbyHeading),j.push("parent: "+H.parentTag),g.push({selector:q,attribute:"style",currentValue:_.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:j.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(A.outerHTML||"").slice(0,300)});}return g},gh={name:"colorOnly",cap:40,async detect(f){return f.evaluate(iI)}};var oI=()=>{let f=[],d=v=>typeof parseCssColor=="function"?parseCssColor(v):null,g=(v,D,T)=>typeof relLuminance=="function"?relLuminance(v,D,T):0,h=(v,D)=>typeof contrastRatio=="function"?contrastRatio(v,D):1;function p(v){let D=String(v.backgroundImage||"none");if(D==="none")return false;if(/gradient\(/i.test(D))return true;if(!/url\(/i.test(D))return false;let T=String(v.backgroundRepeat||"").toLowerCase(),P=String(v.backgroundSize||"").toLowerCase(),B=T.split(",").map(X=>X.trim()).some(X=>X!==""&&X!=="no-repeat"),z=/cover|contain|100%/.test(P);return B||z}let y=new Map;function A(v){let D=[],T=false;for(let P=v;P&&P.nodeType===1;P=P.parentElement){let B=y.get(P);if(B!==void 0){T=B;break}if(D.push(P),parseFloat(getComputedStyle(P).opacity||"1")<1){T=true;break}}for(let P of D)y.set(P,T);return T}let w=new Map;function F(v){let D=w.get(v);if(D)return D;D=[];let T=Array.from(v.children);for(let P=0;P<T.length;P++){let B=getComputedStyle(T[P]);B.position==="static"||B.display==="none"||B.visibility!=="visible"||parseFloat(B.opacity||"1")<=0||D.push({el:T[P],z:B.zIndex==="auto"?0:parseInt(B.zIndex,10)||0,i:P});}return w.set(v,D),D}function R(v){if(v===document.documentElement)return true;let D=getComputedStyle(v);return !!(D.position==="fixed"||D.position==="sticky"||D.zIndex!=="auto"&&D.position!=="static"||D.zIndex!=="auto"&&v.parentElement&&/flex|grid/.test(getComputedStyle(v.parentElement).display||"")||parseFloat(D.opacity||"1")<1||D.transform&&D.transform!=="none"||D.filter&&D.filter!=="none"||D.isolation==="isolate"||D.mixBlendMode&&D.mixBlendMode!=="normal"||/paint|strict|content/.test(D.contain||""))}function _(v,D,T,P){let B=F(v);if(!B.length||B.length===1&&B[0].el===D)return [];let z=-1/0;for(let ee=T;ee&&ee!==v;ee=ee.parentElement){let Z=getComputedStyle(ee);if(Z.position==="static")continue;let ie=Z.zIndex==="auto"?0:parseInt(Z.zIndex,10)||0;ie>z&&(z=ie);}let X=Array.prototype.indexOf.call(v.children,D),te=[];for(let ee of B){if(ee.el===D||!(ee.z<0?R(v):z>ee.z||z===ee.z&&ee.i<X))continue;let ie=ee.el.getBoundingClientRect();ie.left>P.left+1||ie.top>P.top+1||ie.right<P.right-1||ie.bottom<P.bottom-1||te.push(ee);}return te.sort((ee,Z)=>Z.z-ee.z||Z.i-ee.i),te.map(ee=>ee.el)}function x(v){try{let T=document.createRange(),P=null;for(let B of Array.from(v.childNodes)){if(B.nodeType!==3||!(B.textContent||"").trim())continue;T.selectNodeContents(B);let z=T.getBoundingClientRect();z.width<=0||z.height<=0||(P=P?{left:Math.min(P.left,z.left),top:Math.min(P.top,z.top),right:Math.max(P.right,z.right),bottom:Math.max(P.bottom,z.bottom)}:{left:z.left,top:z.top,right:z.right,bottom:z.bottom});}if(P)return P}catch{}let D=v.getBoundingClientRect();return {left:D.left,top:D.top,right:D.right,bottom:D.bottom}}function S(v,D){let T=document.documentElement,P=null,B=[{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0}],z=Math.max(0,Math.min(1,D[3]));B[0].acc=[D[0]*z,D[1]*z,D[2]*z],B[0].cover=z,B[2].cover=1;let X=1,te=()=>B.some(De=>De.cover<1-1e-9),ee=(De,Be=1)=>{if(!te())return true;let _e=d(De.backgroundColor||""),Ee=p(De);for(let bt of B){if(bt.cover>=1-1e-9)continue;if(Ee)return false;if(!_e)continue;let kt=Math.max(0,Math.min(1,_e[3]))*Be;if(kt<=0)continue;let He=kt*(1-bt.cover);bt.acc[0]+=_e[0]*He,bt.acc[1]+=_e[1]*He,bt.acc[2]+=_e[2]*He,bt.cover+=He;}return true},Z=De=>{let Be=Math.max(0,Math.min(1,parseFloat(De.opacity||"1")));if(!(Be>=1)){for(let _e of B)_e.acc=_e.acc.map(Ee=>Ee*Be),_e.cover*=Be;X*=Be;}},ie=v,be=null;for(;ie&&ie!==T&&!(!te()&&!A(ie));){let De=getComputedStyle(ie);if(be&&F(ie).length){P||(P=x(v));for(let Be of _(ie,be,v,P)){let _e=getComputedStyle(Be);if(!ee(_e,Math.max(0,Math.min(1,parseFloat(_e.opacity||"1")))))return null}}if(!ee(De))return null;Z(De),be=ie,ie=ie.parentElement;}if(ie===T){let De=getComputedStyle(T);if(!ee(De))return null;Z(De);}for(let De of B){let Be=1-De.cover;Be>0&&(De.acc=De.acc.map(_e=>_e+255*Be),De.cover=1);}let de=De=>[Math.round(Math.min(255,De.acc[0])),Math.round(Math.min(255,De.acc[1])),Math.round(Math.min(255,De.acc[2]))],ke=B[2].acc.map(De=>Math.min(255,De));return {fg:de(B[0]),bg:de(B[1]),k:X,rest:ke}}function E(v,D,T){return "#"+[v,D,T].map(P=>{let B=Math.max(0,Math.min(255,Math.round(P))).toString(16);return B.length===1?"0"+B:B}).join("")}let M=.1;function L(v,D,T,P=1,B=[0,0,0]){let z=g(D[0],D[1],D[2])>.5;for(let X of [T+M,T]){let te=N(v,D,X,z,P,B)||N(v,D,X,!z,P,B);if(te)return te}return null}function N(v,D,T,P,B,z){let X=0,te=1,ee=null;for(let Z=0;Z<20;Z++){let ie=(X+te)/2,be=P?[v[0]*(1-ie),v[1]*(1-ie),v[2]*(1-ie)]:[v[0]+(255-v[0])*ie,v[1]+(255-v[1])*ie,v[2]+(255-v[2])*ie],de=[Math.round(be[0]),Math.round(be[1]),Math.round(be[2])],ke=[de[0]*B+z[0],de[1]*B+z[1],de[2]*B+z[2]];h(ke,D)>=T?(ee=de,te=ie):X=ie;}return ee}let q=new Set(["application","button","checkbox","columnheader","combobox","grid","gridcell","group","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","toolbar","tree","treegrid","treeitem"]);function H(v){if(v.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let T=v;T&&T.nodeType===1;T=T.parentElement){if(T.getAttribute("aria-disabled")!=="true")continue;let P=(T.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(P&&q.has(P))return true}let D=v.closest("label");if(D){let T=D.control;if(T&&(T.disabled||T.getAttribute("aria-disabled")==="true"))return true}return false}let j=document.createTreeWalker(document.body,4),U=new Set,J=[],k=j.nextNode();for(;k;){let v=(k.textContent||"").trim();if(v.length>=2||/[\p{L}\p{N}]/u.test(v)){let D=k.parentElement;D&&!U.has(D)&&(U.add(D),J.push(D));}k=j.nextNode();}for(let v of J){if(isWidget(v)||isHiddenFromAT(v)||!isVisible(v)||H(v))continue;let D=getComputedStyle(v),T=d(D.webkitTextFillColor||D.color||"");if(!T)continue;if(T[3]<.5){let He=D.webkitBackgroundClip||D.backgroundClip||"",Mt=D.backgroundImage||"";if(String(He).includes("text")&&/gradient\(/i.test(Mt)){let br=Array.from(v.childNodes).filter(Bt=>Bt.nodeType===3).map(Bt=>(Bt.textContent||"").trim()).join("");br&&f.push({selector:uniqueSel(v),attribute:"style",currentValue:"gradient-clipped text",message:"contrast: gradient-clipped text \u2014 the glyph colour varies across the gradient, so the ratio cannot be computed; check the lightest stop meets 4.5:1",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(br.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"gradient-clipped text \u2014 verify the lightest gradient stop still meets 4.5:1 against the surrounding background",outerHtml:v.outerHTML.slice(0,200)});}continue}let P=parseFloat(D.fontSize||"16"),B=parseInt(D.fontWeight||"400",10),X=P>=24||P>=18.66&&B>=700?3:4.5,te=Array.from(v.childNodes).filter(He=>He.nodeType===3).map(He=>(He.textContent||"").trim()).join("");if(!te)continue;let ee=E(T[0],T[1],T[2]),Z=uniqueSel(v),ie=S(v,T),be=ie?ie.bg:null;if(be===null){f.push({selector:Z,attribute:"style",currentValue:ee,message:"contrast: text "+ee+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+X+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+ee+" bg=<gradient-or-image> needs="+X+" text="+JSON.stringify(te.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:v.outerHTML.slice(0,200)});continue}let de=ie,ke=h(de.fg,be);if(ke>=X)continue;let De=L([T[0],T[1],T[2]],be,X,de.k,de.rest);if(!De)continue;let Be=E(De[0],De[1],De[2]),_e=E(be[0],be[1],be[2]),Ee=E(de.fg[0],de.fg[1],de.fg[2]),bt=Ee===ee?"":" (shown as "+Ee+" after opacity/alpha)",kt="color:"+Be+" !important;";f.push({selector:Z,attribute:"style",currentValue:ee,message:"contrast: "+ee+bt+" on "+_e+" is "+ke.toFixed(2)+":1, needs "+X+":1 \u2014 e.g. color "+Be,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+Ee+" bg="+_e+" ratio="+ke.toFixed(2)+" needs="+X+" text="+JSON.stringify(te.slice(0,40)),needsAI:false,fixValue:kt,outerHtml:v.outerHTML.slice(0,200)});}return f},vh={name:"contrast",async detect(f){return f.evaluate(oI)}};var sI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=document.querySelectorAll("marquee, blink");for(let F of Array.from(h)){if(g.length>=30)break;if(F.closest(f))continue;let R=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();g.push({selector:R,attribute:"aria-hidden",currentValue:F.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${F.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(F.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let F of Array.from(p)){if(g.length>=30)break;if(F.closest(f))continue;let R=F.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(R)||typeof isVisible=="function"&&!isVisible(F))continue;let _=F.getBoundingClientRect();if(_.width<=40&&_.height<=40)continue;let x=typeof uniqueSel=="function"?uniqueSel(F):"img";g.push({selector:x,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${R.split("/").pop()?.slice(0,60)||R.slice(-60)}`,needsAI:true,outerHtml:(F.outerHTML||"").slice(0,300)});}let y=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let F of Array.from(y)){if(g.length>=30)break;let R=(F.getAttribute("content")||"").trim(),_=parseInt((R.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(_)||_<=0||g.push({selector:`meta[http-equiv="refresh"][content*="${R.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:R,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${_}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(F.outerHTML||"").slice(0,200)});}try{let F=!1,R=!1;for(let _ of Array.from(document.styleSheets)){let x=null;try{x=_.cssRules;}catch{continue}if(x)for(let S of Array.from(x)){let E=S.cssText||"";if(/animation[^;]*\binfinite\b/i.test(E)&&/(keyframes|animation-name)/i.test(E+" "+(S.name||""))&&(F=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(E)&&(R=!0),S.cssRules)for(let M of Array.from(S.cssRules)){let L=M.cssText||"";/animation[^;]*\binfinite\b/i.test(L)&&(F=!0);}}}F&&!R&&g.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let A=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let F of Array.from(w)){if(g.length>=30)break;if(F.closest(f)||F.tagName==="BODY"||F.tagName==="HTML")continue;let R=F.className&&typeof F.className=="string"?F.className:"";if(!A.test(R)||typeof isVisible=="function"&&!isVisible(F))continue;let x=getComputedStyle(F).animationDuration,S=9999;if(x){let M=parseFloat(x);Number.isFinite(M)&&(S=/ms/i.test(x)?M:M*1e3);}if(S>333)continue;let E=typeof uniqueSel=="function"?uniqueSel(F):"";g.push({selector:E,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${S}ms animation-duration \u2014 seizure risk`,needsAI:false,needsReview:true,reviewReason:"WCAG 2.3.1 is met by stopping or slowing the flashing below 3 per second (remove the animation, slow it past 333ms, or add a pause control). aria-hidden does not stop flashing and hides content from assistive tech \u2014 do not apply it.",outerHtml:(F.outerHTML||"").slice(0,300)});}return g},bh={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(sI)}};var lI=()=>{let d=[];function g(A){let w=(A.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(A.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function h(A){if(!A)return 0;let w=A.querySelectorAll("th, td"),F=0;for(let R=0;R<w.length;R++){let _=parseInt(w[R].getAttribute("colspan")||"1",10);F+=isNaN(_)||_<1?1:_;}return F}function p(A){let w=A.querySelectorAll("tr"),F=[];for(let R=0;R<w.length;R++){let _=w[R];_.closest("table")===A&&F.push(_);}return F}let y=document.querySelectorAll("table");for(let A=0;A<y.length&&!(d.length>=30);A++){let w=y[A];if(isWidget(w)||!isVisible(w)||g(w))continue;let F=p(w);if(F.length<=1)continue;let R=F[0],_=h(R);if(_<=1)continue;let x=uniqueSel(w),S=getNearbyContext(w),E=w.querySelectorAll("img, svg, picture").length>=2;if(E&&!(w.textContent||"").trim()){if(w.querySelector("input, select, textarea, button")&&(E=false),E&&w.querySelector("th, thead, caption, [scope], [headers]")&&(E=false),E){let v=Array.from(w.querySelectorAll("img")).map(D=>(D.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(v).size<v.length&&(E=false);}}else if(E){let v=w.querySelectorAll("td, th"),D=0;for(let T=0;T<v.length&&E;T++){let P=v[T];if(P.closest("table")!==w)continue;let B=(P.textContent||"").trim(),z=!!P.querySelector("img, svg, picture");if(!B&&!z)continue;D++;let X=P.querySelectorAll("a[href]");E=P.tagName==="TD"&&X.length===1&&z&&(X[0].textContent||"").trim()===B;}D<2&&(E=false);}if(E){d.push({selector:x,attribute:"role",currentValue:w.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"table lays out images / image links only \u2014 likely a layout table",rows:F.length,cols:_,nearbyHeading:S.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(w.outerHTML||"").slice(0,300)});continue}let M=null,L=w.querySelectorAll("thead");for(let v=0;v<L.length;v++)if(L[v].closest("table")===w){M=L[v];break}let N=M&&M.querySelector("tr")!==null,q=false;for(let v=0;v<F.length&&!q;v++){let D=F[v].children;for(let T=0;T<D.length&&!q;T++){let P=D[T],B=(P.tagName||"").toLowerCase();if(B!=="td"&&B!=="th")continue;if(B==="th"){q=true;break}let z=(P.getAttribute("headers")||"").trim();if(!z)continue;let X=z.split(/\s+/);for(let te=0;te<X.length;te++){let ee=document.getElementById(X[te]);if(ee&&(ee.tagName||"").toLowerCase()==="th"&&ee.closest("table")===w){q=true;break}}}}if(!N&&!q&&d.length<30&&d.push({selector:x,attribute:"thead",currentValue:M?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:M?"<thead> has no <tr>":"no <thead> element",rows:F.length,cols:_,nearbyHeading:S.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),_>2){let v=R.querySelectorAll("th, td"),D=v.length>0;for(let T=0;T<v.length;T++)if((v[T].tagName||"").toLowerCase()!=="td"){D=false;break}if(D)for(let T=0;T<v.length&&!(d.length>=30);T++){let P=v[T],B=uniqueSel(P),z=(P.textContent||"").trim().slice(0,60);d.push({selector:B,attribute:"role",currentValue:P.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"first-row <td> in data table \u2014 should be <th>",cellText:z,colIndex:T,nearbyHeading:S.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(P.outerHTML||"").slice(0,300)});}}let H=[],j=[],U=new Map;for(let v=0;v<F.length;v++){let D=F[v],T=0;for(let P=0;P<D.children.length;P++){let B=D.children[P],z=(B.tagName||"").toLowerCase();if(z!=="td"&&z!=="th")continue;for(;H.some(Z=>Z.lane===T&&Z.untilRow>v);)T++;let X=parseInt(B.getAttribute("colspan")||"1",10);(isNaN(X)||X<1)&&(X=1);let te={rowIdx:v,lane:T,span:X,headers:(B.getAttribute("headers")||"").trim()};z==="td"?j.push(te):U.set(B,te);let ee=parseInt(B.getAttribute("rowspan")||"1",10)||1;if(ee>1)for(let Z=0;Z<X;Z++)H.push({lane:T+Z,untilRow:v+ee});T+=X;}}let J=(v,D)=>D.lane<v.lane+v.span&&D.lane+D.span>v.lane,k=w.querySelectorAll("th");for(let v=0;v<k.length&&!(d.length>=30);v++){let D=k[v];if(D.closest("table")!==w)continue;let T=(D.getAttribute("scope")||"").trim().toLowerCase();if(T==="col"||T==="row"||T==="colgroup"||T==="rowgroup")continue;let P=false;if((D.getAttribute("headers")||"").trim())P=true;else {let de=(D.getAttribute("id")||"").trim();if(de)for(let ke=0;ke<j.length;ke++){let De=j[ke].headers;if(De&&De.split(/\s+/).indexOf(de)!==-1){P=true;break}}}if(P)continue;let B=D.closest("tr"),z=D.closest("thead")!==null,X=false;B&&F.length>0&&F[0]===B&&(X=true);let te=false;if(B){let de=B.querySelectorAll("th, td");de.length>0&&de[0]===D&&(te=true);}let ee="col";z||X?ee="col":te&&(ee="row");let Z=U.get(D);if(!P&&Z){if(ee==="row")P=j.some(de=>de.rowIdx===Z.rowIdx&&!de.headers&&de.lane>=Z.lane+Z.span);else if(P=j.some(de=>de.rowIdx>Z.rowIdx&&!de.headers&&J(Z,de)),!P)for(let de=0;de<k.length;de++){let ke=U.get(k[de]);if(!ke||ke.rowIdx<=Z.rowIdx||!J(Z,ke))continue;let De=F[ke.rowIdx],Be=De?De.children:[];if(Be.length>0&&Be[0]===k[de]&&k[de].closest("table")===w){P=true;break}}}if(P)continue;let ie=uniqueSel(D),be=(D.textContent||"").trim().slice(0,60);d.push({selector:ie,attribute:"scope",currentValue:T,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ee,inThead:z,firstRow:X,firstCol:te,headerText:be}),needsAI:false,fixValue:ee,outerHtml:(D.outerHTML||"").slice(0,300)});}}return d},yh={name:"dataTables",cap:30,async detect(f){return f.evaluate(lI)}};var uI=()=>{let d=[];for(let g of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let h=g;if((h.getAttribute("alt")||"").trim()!=="")continue;let p=(h.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!p||isWidget(h))continue;let y=(h.getAttribute("role")||"").toLowerCase();y==="presentation"||y==="none"||h.getAttribute("aria-hidden")==="true"||h.closest('[aria-hidden="true"]')||(h.getAttribute("aria-label")||"").trim()||(h.getAttribute("aria-labelledby")||"").trim()||isVisible(h)&&d.push({selector:uniqueSel(h),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+p.slice(0,80)+'"',needsAI:true,needsReview:true,reviewReason:'WCAG 1.1.1 Non-text Content: this image has an empty alt (declared decorative) but also a title of "'+p.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(h.outerHTML||"").slice(0,300)});}return d},wh={name:"decorativeImageTitle",cap:30,async detect(f){return f.evaluate(uI)}};var cI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,g=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],y=["link","button","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","treeitem","gridcell","combobox","textbox","searchbox","slider","spinbutton","img","heading","listitem","none","presentation","generic","navigation","region","group","dialog"],A=R=>{let _=R.computedRole;if(typeof _=="string")return _.toLowerCase();let x=(R.getAttribute("role")||"").trim().toLowerCase().split(/\s+/);for(let S of x)if(y.indexOf(S)>=0)return S;return R.hasAttribute("href")?"link":"generic"},w=R=>{let _=A(R);if(_==="link"||R.hasAttribute("href"))return true;if(_&&_!=="generic")return false;let x=R.getAttribute("tabindex");if(x===null)return false;let S=parseInt(x,10);return !isNaN(S)&&S>=0},F=document.querySelectorAll("a");for(let R of F){if(p.length>=50)break;if(!w(R)||R.closest(f)||R.getAttribute("aria-hidden")==="true"||R.getAttribute("role")==="presentation"||R.closest('[aria-hidden="true"]')||!isVisible(R))continue;let _=getAccessibleName(R);if(_&&_.length>0&&!g.test(_)&&!d.test(_))continue;let x=R.querySelectorAll("img[alt]"),S="";for(let k of x){let v=(k.getAttribute("alt")||"").trim();v&&(S+=v+" ");}if(S.trim())continue;let E=R.getAttribute("aria-labelledby");if(E&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(E))continue;let M=uniqueSel(R),L=R.getAttribute("href")||"",N=(R.textContent||"").trim(),q=getNearbyContext(R),H="";N&&g.test(N)?H="[whitespace only]":N&&d.test(N)&&(H=N);let j=(document.documentElement.getAttribute("lang")||"").trim(),U=[];R.closest("nav")&&U.push("inside nav"),q.nearbyHeading&&U.push("heading: "+q.nearbyHeading),L&&U.push("href: "+L.slice(0,120)),U.push("parent: "+q.parentTag),j&&U.push("page language: "+j);let J={selector:M,attribute:"aria-label",currentValue:H,issueType:"empty_link",wcag:"2.4.4",context:U.join(" | "),needsAI:true,outerHtml:R.outerHTML.slice(0,300)};p.push(J);}return p},xh={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(cI)}};var dI=()=>{let d=[],g=new Set;function h(_){return (_||"").trim()}function p(_){let x=h(_.getAttribute("aria-label")||"");if(x)return x;let S=_.getAttribute("aria-labelledby");if(S){let M=S.split(/\s+/),L="";for(let N=0;N<M.length;N++){let q=document.getElementById(M[N]);q&&(L+=" "+(q.textContent||""));}if(h(L))return h(L)}let E=h(_.getAttribute("title")||"");return E||""}let y=document.querySelectorAll("fieldset");for(let _=0;_<y.length&&!(d.length>=30);_++){let x=y[_];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x))continue;if(p(x)){g.add(x);continue}let S=null,E=x.querySelectorAll("legend");for(let j=0;j<E.length;j++)if(E[j].closest("fieldset")===x){S=E[j];break}let M=S!==null,L=S?h(S.textContent||""):"";if(M&&L){g.add(x);continue}let N=getNearbyContext(x),q=x.querySelectorAll("input, select, textarea"),H=uniqueSel(x);d.push({selector:H,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:M?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:q.length,nearbyHeading:N.nearbyHeading,parentTag:N.parentTag}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)}),g.add(x);}let A=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let _=0;_<A.length&&!(d.length>=30);_++){let x=A[_];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x)||g.has(x))continue;if(p(x)){g.add(x);continue}let S=x.getAttribute("role")||"",E=getNearbyContext(x),M=x.querySelectorAll("input, select, textarea");if(S==="group"&&x.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="radio"], [role="checkbox"], [role="switch"], [role="textbox"], [role="combobox"], [role="spinbutton"], [role="slider"]').length===0)continue;let L=uniqueSel(x);d.push({selector:L,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+S+'" container without accessible name',role:S,controlCount:M.length,nearbyHeading:E.nearbyHeading,parentTag:E.parentTag}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)}),g.add(x);}let w={},F=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let _=0;_<F.length;_++){let x=F[_];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x))continue;let S=x.getAttribute("name")||"";if(!S)continue;let E=x.closest("form"),M=E?E.getAttribute("id")||E.getAttribute("action")||E.tagName:"no-form",L=(x.getAttribute("type")||"").toLowerCase(),N=M+"::"+L+"::"+S;w[N]||(w[N]=[]),w[N].push(x);}let R=Object.keys(w);for(let _=0;_<R.length&&!(d.length>=30);_++){let x=w[R[_]];if(x.length<3)continue;let S=x[0],E=S.closest('fieldset, [role="group"], [role="radiogroup"]'),M=false;if(E){M=true;for(let U=1;U<x.length;U++)if(!E.contains(x[U])){M=false;break}}if(M&&E)continue;let L=S.parentElement;for(;L&&L!==document.body;){let U=true;for(let J=1;J<x.length;J++)if(!L.contains(x[J])){U=false;break}if(U)break;L=L.parentElement;}if(!L||L===document.body||g.has(L))continue;let N=(S.getAttribute("type")||"").toLowerCase(),q=S.getAttribute("name")||"",H=getNearbyContext(S),j=uniqueSel(L);d.push({selector:j,attribute:"role",currentValue:L.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+N+" group ("+x.length+' inputs share name="'+q+'")',inputType:N,inputCount:x.length,name:q,nearbyHeading:H.nearbyHeading,parentTag:H.parentTag}),needsAI:false,fixValue:N==="radio"?"radiogroup":"group",outerHtml:(L.outerHTML||"").slice(0,300)}),g.add(L);}return d},Dh={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(dI)}};var fI=()=>{let f=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),g=0;for(let h of Array.from(d)){let p=getComputedStyle(h);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let y=h.getBoundingClientRect();if(y.top>50||y.bottom<=0)continue;let A=Math.round(y.height);A<40||A>240||A>g&&(g=A);}if(g>0){let h=window.scrollX,p=window.scrollY,y=0,A=0;try{let F=[],R=new Set;document.querySelectorAll('a[href^="#"]').forEach(_=>{let x=_.getAttribute("href").slice(1);if(!x)return;let S=document.getElementById(x);S&&!R.has(S)&&(R.add(S),F.push(S));});for(let _ of F){if(A>=8)break;let x=getComputedStyle(_);if(x.display==="none"||x.visibility==="hidden")continue;A++,_.scrollIntoView({block:"start"});let S=_.getBoundingClientRect(),E=Math.max(S.height,1);Math.max(0,Math.min(S.bottom,g)-Math.max(S.top,0))/Math.min(E,g)>=.5&&y++;}}catch{}try{window.scrollTo(h,p);}catch{}let w=`scroll-margin-top: ${g+8}px; scroll-padding-top: ${g+8}px;`;A>0&&y>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 ${y}/${A} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):A===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:w});}return f},Ah={name:"focusObscured",async detect(f){return f.evaluate(fI)}};var _h={name:"focusVisible",cap:40,async detect(f){let d=typeof f.keyboard?.press=="function";try{await f.evaluate(()=>{let g=document.activeElement;window[Symbol.for("wa.prevFocus")]=g&&g!==document.body&&g!==document.documentElement?g:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let h=getSelection();window[Symbol.for("wa.prevSelection")]=h?Array.from({length:h.rangeCount},(p,y)=>h.getRangeAt(y).cloneRange()):[];});}catch{}if(d)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(async g=>{let p=[],y=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(",");try{document.activeElement?.blur?.();}catch{}let A=document.querySelectorAll(y),w=Symbol.for("wa.prevFocus"),F=window[w]??null;try{delete window[w];}catch{}for(let R of A){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(R)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(R)||typeof isVisible=="function"&&!isVisible(R)||!R.offsetParent&&R.tagName!=="BODY")continue;let _=R.hasAttribute("style"),x=R.getAttribute("style"),S=["transition-property","transition-duration","transition-timing-function","transition-delay","transition-behavior"],E=R.style?S.map(P=>[P,R.style.getPropertyValue(P),R.style.getPropertyPriority(P)]):[];R.style&&(R.style.transition="none");let M=()=>{if(R.style){R.style.removeProperty("transition");for(let[P,B,z]of E)B&&R.style.setProperty(P,B,z);!_&&!R.getAttribute("style")?R.removeAttribute("style"):_&&x!==null&&x.trim()===""&&R.getAttribute("style")===""&&R.setAttribute("style",x);}},L=getComputedStyle(R),N=L.outline,q=L.outlineWidth,H=L.outlineStyle,j=L.boxShadow,U=L.border,J=L.backgroundColor;try{R.focus({preventScroll:!0});}catch{M();continue}if(document.activeElement!==R){M();continue}let k=()=>{let P=getComputedStyle(R),B=(P.outlineStyle||"").toLowerCase(),z=parseFloat(P.outlineWidth||"0"),X=P.outline!==N,te=B!=="none"&&B!=="hidden"&&z>0,ee=P.boxShadow!==j&&P.boxShadow!=="none"&&P.boxShadow!=="",Z=P.border!==U,ie=P.backgroundColor!==J;return X&&te||ee||Z||ie},v=k(),D=typeof R.getAnimations=="function"&&R.getAnimations().some(P=>P.playState==="running"&&!("transitionProperty"in P));if(!v&&!D){let P=B=>typeof requestAnimationFrame=="function"?requestAnimationFrame(B):setTimeout(B,16);if(await new Promise(B=>setTimeout(()=>P(()=>B()),20)),document.activeElement!==R){M();continue}v=k();}if(M(),v||parseFloat(q)>0&&H!=="none")continue;let T=typeof uniqueSel=="function"?uniqueSel(R):R.tagName.toLowerCase();p.push({selector:T,pseudo:":focus-visible",attribute:"style",currentValue:H+" "+q,issueType:"focus_not_visible",wcag:"2.4.7",context:`${R.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus (apply the style under :focus-visible)`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:R.outerHTML.slice(0,200),...g?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{document.activeElement?.blur?.();}catch{}try{F&&F.isConnected&&F.focus({preventScroll:!0});}catch{}try{let R=Symbol.for("wa.prevScroll"),_=window[R];delete window[R],_&&window.scrollTo({left:_[0],top:_[1],behavior:"instant"});}catch{}try{let R=Symbol.for("wa.prevSelection"),_=window[R];delete window[R];let x=getSelection();if(x&&_){x.removeAllRanges();for(let S of _)x.addRange(S);}}catch{}return p},d)}};var pI=()=>{let d=[],g=["new","register","signup","sign-up","sign_up","create","change","reset"],h=["confirm","verify","retype","re-type","repeat","again"];function p(x){if(!x)return false;let S=" "+((x.getAttribute("id")||"")+" "+(x.getAttribute("class")||"")+" "+(x.getAttribute("name")||"")+" "+(x.getAttribute("action")||"")).toLowerCase()+" ";for(let E=0;E<g.length;E++)if(S.indexOf(g[E])!==-1)return true;return false}function y(x){let S=((x.getAttribute("name")||"")+" "+(x.getAttribute("id")||"")+" "+(x.getAttribute("placeholder")||"")+" "+(x.getAttribute("aria-label")||"")).toLowerCase();for(let E=0;E<h.length;E++)if(S.indexOf(h[E])!==-1)return true;return false}let A=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let x of A){if(d.length>=30)break;let S=x;if(isWidget(S)||isHiddenFromAT(S)||!isVisible(S))continue;let E=(S.getAttribute("autocomplete")||"").trim().toLowerCase();if(y(S)){if(E==="new-password")continue;let H=uniqueSel(S);d.push({selector:H,attribute:"autocomplete",currentValue:E,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(S.getAttribute("name")||"")+" | id: "+(S.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(S.outerHTML||"").slice(0,300)});continue}if(E)continue;let L=S.form||S.closest("form"),N=p(L),q=uniqueSel(S);d.push({selector:q,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(N?"new/signup/change password form":"login form")+" | name: "+(S.getAttribute("name")||"")+" | id: "+(S.getAttribute("id")||""),needsAI:false,fixValue:N?"new-password":"current-password",outerHtml:(S.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll("form"),F=/\*|\brequired\b|\bmandatory\b/i;for(let x of w){if(d.length>=30)break;let S=x;if(isWidget(S)||!isVisible(S))continue;let E=S.querySelectorAll("input[required], select[required], textarea[required]");if(!E.length)continue;let M=0;for(let j of E)isVisible(j)&&M++;if(M===0)continue;let L=S.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),N=0;for(let j of L)isVisible(j)&&N++;if(M>=N||(S.getAttribute("data-asw-required-hint")||"").trim())continue;let q=(S.textContent||"").trim();if(F.test(q))continue;let H=uniqueSel(S);d.push({selector:H,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${M} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(S.outerHTML||"").slice(0,300)});}let R='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',_='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let x of w){if(d.length>=30)break;let S=x;if(isWidget(S)||!isVisible(S)||isHiddenFromAT(S))continue;let E=[];for(let j of S.querySelectorAll(_))isVisible(j)&&E.push(j);if(E.length===0||S.querySelector(R))continue;let M=S.getAttribute("id");if(M){let j=false;for(let U of document.querySelectorAll(R))if(U.getAttribute("form")===M){j=true;break}if(j)continue}if(((S.getAttribute("role")||"").toLowerCase()==="search"||!!S.closest('[role="search"]'))&&E.length===1)continue;let N=E.slice(0,4).map(j=>j.tagName.toLowerCase()+(j.tagName==="INPUT"?"["+(j.getAttribute("type")||"text")+"]":"")).join(", "),q=[];for(let j of S.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(q.length>=3)break;let U=j;if(!isVisible(U))continue;let J=((U.tagName==="INPUT"?U.getAttribute("value"):U.textContent)||U.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);q.push('"'+J+'"');}if(q.length&&!(S.getAttribute("action")||"").trim())continue;let H=q.length?" Buttons present that are not a submit control (type=button or role=button): "+q.join(", ")+".":"";d.push({selector:uniqueSel(S),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${E.length} visible field(s) (${N}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+E.length+" visible field(s) ("+N+") and no submit control (no submit button, input[type=submit|image], or outside button via form=). Violation only when changing a field or pressing Enter causes an unexpected change of context (navigation, submission, reload) with no button to ask for it. Pass when it is a script-driven or search-style form with no such surprise."+H,outerHtml:(S.outerHTML||"").slice(0,300)});}return d},Eh={name:"formAttributes",cap:30,async detect(f){return f.evaluate(pI)}};var Sh={en:"the and of to is in that for with on are this you it be as at by from or your our we not have has was will can an all more about which their they",de:"der die das und ist nicht mit sich des den dem ein eine einen einer auf f\xFCr von zu im in auch sie wir ihr bei oder wird sind werden \xFCber nach aus wie noch nur unsere ihre sowie k\xF6nnen zum zur",nl:"de het een en van is dat op te in zijn voor met niet aan er ook als bij door wordt om uit worden naar onze uw jouw maar dan nog deze kunt wij u ons of wat die kan was",fr:"le la les et des est une du que pour dans qui pas sur au avec ce plus sont vous nous par ou leur cette mais \xEAtre aux votre vos notre nos",es:"el la los las y es una del que por para con se en no su sus m\xE1s al como pero este esta son nuestro nuestra nuestros usted tambi\xE9n de",it:"il lo la gli le e \xE8 di che per in una un del della con non sono pi\xF9 dei delle nel alla come anche questo questa nostro nostra nostri ti",pt:"o a os as e \xE9 de do da dos das que para com n\xE3o uma um em no na por mais seu sua nosso nossa voc\xEA tamb\xE9m s\xE3o",da:"og er det en at til af p\xE5 med for ikke den som de har vi kan vil fra jeres vores ogs\xE5 eller jer hvis efter",sv:"och \xE4r det en att till av p\xE5 med f\xF6r inte den som har vi kan ska fr\xE5n ocks\xE5 eller v\xE5ra v\xE5r din dina",nb:"og er det en at til av p\xE5 med for ikke den som har vi kan skal fra ogs\xE5 eller v\xE5re v\xE5r deg dine",pl:"i w na z do \u017Ce si\u0119 jest nie to o od jak dla po przez s\u0105 lub oraz nasz nasze mo\u017Ce tak\u017Ce jego",cs:"a v na se je \u017Ee s z do o to jako pro by nen\xED jsou nebo tak\xE9 ale jeho na\u0161e",ca:"el la els les i \xE9s de del dels que per amb en un una no es al als com m\xE9s per\xF2 aquest aquesta aquests s\xF3n seu seva nostre nostra hi ho ja tamb\xE9 o",gl:"o a os as e \xE9 de do da dos das que para con non unha un en no na nos nas por m\xE1is seu s\xFAa cando tam\xE9n pero este esta moi",af:"die en van is in dat op te vir nie met om wat sy hy hulle ons jy u was het aan as by ook maar of kan sal hierdie n ek julle deur baie"},Bo=new Map(Object.entries(Sh).map(([f,d])=>[f,new Set(d.split(" "))])),Ch=(()=>{let f=new Map;for(let[g,h]of Object.entries(Sh))for(let p of new Set(h.split(" "))){let y=f.get(p)||[];y.push(g),f.set(p,y);}let d=new Map;for(let[g,h]of f)d.set(g,h.map(p=>[p,1/h.length]));return d})(),mI=[["ko",/\p{Script=Hangul}/gu],["el",/\p{Script=Greek}/gu],["he",/\p{Script=Hebrew}/gu],["th",/\p{Script=Thai}/gu],["ja",/[\p{Script=Hiragana}\p{Script=Katakana}]/gu],["zh",/\p{Script=Han}/gu]],ti;function hI(f){if(!/^[a-z]{2,3}$/.test(f))return false;if(ti===void 0)try{ti=new Intl.DisplayNames(["en"],{type:"language",fallback:"none"});}catch{ti=null;}if(!ti)return f.length===2;try{let d=ti.of(f);return !!d&&d.toLowerCase()!==f}catch{return false}}function Au(f){let d=String(f||"").trim().toLowerCase().match(/^([a-z]{2,3})(?:[-_][a-z0-9]{2,8})*$/);return !d||d[1]==="und"||d[1]==="mul"||d[1]==="zxx"?"":hI(d[1])?d[1]:""}function gI(f){if(!f)return "";let d;try{d=new URL(/^[a-z][a-z0-9+.-]*:\/\//i.test(f)?f:`https://${f}`);}catch{return ""}let g=/^([a-z]{2})(?:[-_][a-z]{2,4})?$/i,h=d.hostname.toLowerCase().split(".");if(h.length>=3&&g.test(h[0])){let y=Au(h[0]);if(y)return y}let p=d.pathname.split("/").filter(Boolean)[0]||"";return g.test(p)?Au(p):""}function vI(f){let d=String(f||"").slice(0,2e4),g={lean:null,confident:false,ruledOut:new Set};if(!d.trim())return g;let h=(d.match(/\p{L}/gu)||[]).length;if(h>=40){let U=mI.map(([T,P])=>[T,(d.match(P)||[]).length]),J=U.find(([T])=>T==="ja")[1],k=U.find(([T])=>T==="zh")[1],v=J>=Math.max(5,(J+k)*.05)?[["ja",J+k]]:[["zh",k]],D=[...U.filter(([T])=>T!=="ja"&&T!=="zh"),...v].sort((T,P)=>P[1]-T[1]);if(D[0][1]/h>=.6)return {lean:D[0][0],confident:true,ruledOut:new Set(Bo.keys())}}let p=d.toLowerCase().match(/\p{L}+/gu)||[];if(!p.length)return g;let y={};for(let U of p){let J=Ch.get(U);if(J)for(let[k,v]of J)y[k]=(y[k]||0)+v;}let A=new Map;for(let U of p)Ch.has(U)&&A.set(U,(A.get(U)||0)+1);let w=new Map,F=new Map;for(let[U,J]of Bo){let k=0,v=0;for(let[D,T]of A)J.has(D)&&(k+=T,v++);w.set(U,k/p.length),F.set(U,v);}let R=p.length>=30,_=new Set(R?[...w].filter(([,U])=>U<.12).map(([U])=>U):[]),x=(U,J)=>{let k=Bo.get(U),v=Bo.get(J),D=0;for(let[T,P]of A)k.has(T)&&!v.has(T)&&(D+=P);return D},S=Object.entries(y).sort((U,J)=>J[1]-U[1]);if(!S.length)return {...g,ruledOut:_};let[E,M]=S[0],L=S[1]?.[1]||0,q=(R?[...w].filter(([U,J])=>U!==E&&J>=.12).map(([U])=>U):[]).every(U=>{let J=x(E,U);return J>=5&&J>=x(U,E)*2}),H=R&&M>=5&&(w.get(E)||0)>=.12&&(F.get(E)||0)>=6&&q,j=M>=2&&(H||M>=L*1.5)?E:null;return {lean:j,confident:!!j&&H,ruledOut:_}}function kh(f){let d=[...new Set((f.declared||[]).map(Au).filter(Boolean))],g=gI(f.url),h=vI(f.text);if(h.confident&&h.lean)return d.some(p=>p!==h.lean)||g&&g!==h.lean?null:{lang:h.lean,source:"text"};if(d.length===1){let p=d[0];return h.lean&&h.lean!==p||h.ruledOut.has(p)||g&&g!==p?null:{lang:p,source:"declared"}}return d.length>1?null:g&&h.lean===g&&!h.ruledOut.has(g)?{lang:g,source:"url"}:null}function bI(){let f=document.documentElement;if(!f||(f.getAttribute("lang")||"").trim())return null;let d=String(typeof location<"u"&&location.href||""),g=y=>y.replace(/[#?].*$/,"").replace(/\/+$/,""),h=null;try{let y=document.querySelectorAll('link[rel="alternate"][hreflang]');for(let A=0;A<y.length;A++){let w=y[A],F=w.getAttribute("hreflang")||"";if(F&&F.toLowerCase()!=="x-default"&&w.href&&g(w.href)===g(d)){h=F;break}}}catch{}return {url:d,text:(()=>{let y=document.body;if(!y)return "";if(typeof y.innerText=="string")return y.innerText.slice(0,2e4);let A=y.cloneNode(true);return A.querySelectorAll('script, style, noscript, template, [hidden], [aria-hidden="true"]').forEach(w=>w.remove()),String(A.textContent||"").replace(/\s+/g," ").slice(0,2e4)})(),declared:[f.getAttribute("xml:lang"),document.querySelector('meta[http-equiv="content-language" i]')?.getAttribute("content")??null,document.querySelector('meta[name="language" i]')?.getAttribute("content")??null,document.querySelector('meta[property="og:locale"]')?.getAttribute("content")??null,document.body?.getAttribute("lang")??null,h]}}function yI(f){if(!f)return [];let d=kh(f),g={selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",needsAI:false};return d?[{...g,context:`Document language not declared; detected "${d.lang}" from page ${d.source}`,fixValue:d.lang}]:[{...g,context:"Document language not declared, and the page text does not settle which language it is (short, mixed, conflicting, or a language without a detector list) \u2014 set <html lang> by hand",manualFix:true}]}var Th={name:"htmlLang",async detect(f){let d=await f.evaluate(bI);return yI(d)}};var wI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=document.querySelectorAll("iframe");for(let p of h){if(g.length>=50)break;if(p.closest(f))continue;let y=false;for(let H=p;H;H=H.parentElement)if((H.getAttribute("aria-hidden")||"").trim()==="true"){y=true;break}let A=(p.getAttribute("role")||"").trim().toLowerCase();if(y||A==="presentation"||A==="none"||p.closest("[inert]"))continue;let w=/^[\t\n\f\r ]*([-+]?\d+)/.exec(p.getAttribute("tabindex")||"");if(w&&parseInt(w[1],10)<0)continue;let F=getComputedStyle(p);if(p.getClientRects().length===0||F.visibility==="hidden"||F.visibility==="collapse"||(p.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let R="",_=(p.getAttribute("aria-labelledby")||"").trim();if(_){let H=_.split(/\s+/);for(let j=0;j<H.length;j++){let U=document.getElementById(H[j]);U&&(R+=" "+(U.textContent||""));}R=R.trim();}if(R||(R=(p.getAttribute("aria-label")||"").trim()),R)continue;let x=(p.getAttribute("title")||"").trim(),S=x.length===0;if(!S)continue;let E=(p.getAttribute("src")||"").toLowerCase(),M=uniqueSel(p),L=getNearbyContext(p),N=(document.documentElement.getAttribute("lang")||"").trim(),q="src: "+E.slice(0,120)+(L.nearbyHeading?" | heading: "+L.nearbyHeading:"")+(L.cardText?" | nearby text: "+L.cardText:"")+(N?" | page language: "+N:"");S&&g.push({selector:M,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:q,needsAI:true,outerHtml:p.outerHTML.slice(0,300)});}return g},Rh={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(wI)}};var xI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],h=[],p={email:"email",tel:"tel",password:"current-password"},y=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],A=document.querySelectorAll("input, select, textarea");for(let w of A){if(h.length>=50)break;if(w.closest(f))continue;let F=w,R=(F.getAttribute("type")||"text").toLowerCase();if(d.includes(R)||F.getAttribute("autocomplete")||!isVisible(F))continue;let _="";if(p[R]&&(_=p[R]),!_){let S=(F.getAttribute("name")||"").toLowerCase(),E=(F.getAttribute("id")||"").toLowerCase(),M=(F.getAttribute("placeholder")||"").toLowerCase(),L=S+" "+E+" "+M;for(let N of y)if(L.includes(N.pattern)){_=N.autocomplete;break}}if(!_)continue;if(_==="country"){let S=false;if(F.tagName==="SELECT"){let E=Array.from(F.options).map(M=>(M.value||"").trim()).filter(Boolean);S=E.length>0&&E.every(M=>/^[A-Za-z]{2}$/.test(M));}S||(_="country-name");}let x=uniqueSel(F);h.push({selector:x,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+R+" | name: "+(F.getAttribute("name")||"")+" | id: "+(F.getAttribute("id")||""),needsAI:false,fixValue:_});}return h},Fh={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function p(S){let E=S.getBoundingClientRect();if(E.width===0&&E.height===0)return false;let M=-window.scrollX,L=-window.scrollY,N=document.documentElement,q=getComputedStyle(S).position;if(q==="fixed")return false;let H=q==="absolute";for(let j=S.parentElement;j&&j!==document.body&&j!==N;j=j.parentElement){let U=getComputedStyle(j);if(H){if(U.position==="static")continue;H=false;}if(/auto|scroll/.test(U.overflowX+" "+U.overflowY))return false;let J=U.overflowX==="hidden"||U.overflowX==="clip",k=U.overflowY==="hidden"||U.overflowY==="clip";if(!J&&!k)continue;let v=j.getBoundingClientRect();if(J&&(E.right<=v.left||E.left>=v.right)||k&&(E.bottom<=v.top||E.top>=v.bottom))return true;if(q=U.position,q==="fixed")return false;q==="absolute"&&(H=true);}return E.right<=M||E.bottom<=L||E.left>=M+N.scrollWidth||E.top>=L+N.scrollHeight}let y='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',A='nav,section,article,aside,main,header,footer,form,ul,ol,dl,[role="navigation"],[role="region"],[role="main"],[role="complementary"],[role="banner"],[role="contentinfo"],[role="list"],[role="form"],[role="search"]',w='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function F(S){if(S.tagName==="A"){let M=S.href;if(M){for(let L of document.querySelectorAll("a[href]"))if(!(L===S||L.href!==M||L.tabIndex<0)&&!L.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(L)))return "another focusable link to the same href exists"}}if(S.closest(y))return "inside a slider / carousel / tablist that manages its own tab order";if(S.hasAttribute("aria-controls")||S.hasAttribute("aria-selected"))return "carries aria-controls / aria-selected (a widget manages its state)";if(S.closest('[inert],[aria-hidden="true"]'))return "inside an inert or aria-hidden container";let E=S.parentElement?.closest(A);if(E){let M=0;for(let L of E.querySelectorAll(w))L!==S&&L.getAttribute("tabindex")?.trim()==="-1"&&M++;if(M>=2)return `${M} other controls in the same <${E.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let M=S.parentElement;M&&M!==document.body&&!M.matches(w);M=M.parentElement){let L=parseInt(M.getAttribute("tabindex")||"",10);if(!Number.isFinite(L)||L<0)continue;let N=[...M.querySelectorAll(w)];if(N.length>=2&&N.every(q=>q.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let R=document.querySelectorAll(h);for(let S of R){if(g.length>=30)break;if(S.closest(f)||!S.hasAttribute("tabindex"))continue;let E=S.getAttribute("tabindex")||"",M=parseInt(E,10);if(!Number.isFinite(M)||M===0||S.getAttribute("aria-disabled")==="true"||S.getAttribute("aria-hidden")==="true"||S.closest('[aria-hidden="true"]')||S.closest("[hidden]"))continue;let L=S.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(L&&!(L.hasAttribute("open")||L.getAttribute("aria-modal")==="true"||L.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(S)||M<0&&p(S))continue;let N=(S.getAttribute("role")||"").toLowerCase();if(M<0&&S.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;if(M<0&&S.tagName==="A"){if((S.getAttribute("aria-current")||"").trim().toLowerCase()==="page")continue;let D=(S.getAttribute("href")||"").trim();if(D&&!D.includes("#"))try{let T=new URL(D,document.baseURI),P=new URL(location.href);if(T.hash="",P.hash="",T.href===P.href)continue}catch{}}let H=typeof uniqueSel=="function"?uniqueSel(S):"",j=typeof getNearbyContext=="function"?getNearbyContext(S):{parentTag:S.tagName.toLowerCase(),nearbyHeading:""},U,J,k=M<0?F(S):"";M<0?(U="keyboard_trap",J="2.1.1"):(U="focus_order_disruption",J="2.4.3");let v=[];v.push("tabindex: "+M),v.push("tag: "+S.tagName.toLowerCase()),N&&v.push("role: "+N),j.nearbyHeading&&v.push("heading: "+j.nearbyHeading),v.push("parent: "+j.parentTag),k&&v.push('author tabindex="-1" looks intentional: '+k),g.push({selector:H,attribute:"tabindex",currentValue:String(M),issueType:U,wcag:J,context:v.join(" | "),needsAI:false,fixValue:"0",...k?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${k}); tabindex="0" could add a duplicate or out-of-sync tab stop. Confirm the control must be reachable on its own before applying.`}:{},outerHtml:(S.outerHTML||"").slice(0,300)});}let _=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,x=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let S of document.querySelectorAll("[onblur]")){if(g.length>=30)break;if(S.closest(f))continue;let E=S.getAttribute("onblur")||"";!_.test(E)||x.test(E)||S.matches('[disabled], [aria-disabled="true"]')||S.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(S)||g.push({selector:typeof uniqueSel=="function"?uniqueSel(S):S.tagName.toLowerCase(),attribute:"onblur",currentValue:E.slice(0,100),issueType:"keyboard_trap_self_focus",wcag:"2.1.2",context:"tag: "+S.tagName.toLowerCase()+" | onblur returns focus to the same element, so keyboard focus cannot leave it",needsAI:false,outerHtml:(S.outerHTML||"").slice(0,300)});}return g},Ih={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(DI)}};var AI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],h=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let p of Array.from(h)){if(p.closest(f)||typeof isVisible=="function"&&!isVisible(p))continue;let y="",A=[],w=[];try{let J=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,k=/icon|awesome|glyph|material symbols|dashicons/i,v=!1;try{v=k.test(getComputedStyle(p).fontFamily||"");}catch{}let D=Oe=>parseFloat(Oe||"0")||0,T=Oe=>{if(Oe.hasAttribute("hidden"))return !0;let Ie=(Oe.getAttribute("style")||"").toLowerCase().replace(/\s+/g,"");if(/clip:rect\(0/.test(Ie)||/clip-path:inset\((50|100)%/.test(Ie))return !0;if(/position:(absolute|fixed)/.test(Ie)){if(/(width|height):[01](px)?(;|!|$)/.test(Ie))return !0;let nt=Ie.match(/(?:left|top):(-\d+)/);if(nt&&parseInt(nt[1],10)<=-999)return !0}return !1},P=(Oe,Ie)=>{if(Oe.hasAttribute("hidden")||D(Ie.fontSize)===0)return !0;let nt=(Ie.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(nt)||/inset\((50|100)%\)/.test(Ie.clipPath||""))return !0;let _t=Oe.getBoundingClientRect();return !!(/hidden|clip/.test(Ie.overflow||Ie.overflowX+" "+Ie.overflowY)&&(_t.width<=1||_t.height<=1)||(Ie.position==="absolute"||Ie.position==="fixed")&&(D(Ie.left)<=-999||D(Ie.top)<=-999||_t.right<=0||_t.bottom<=-window.scrollY))},B=!1,z='h1, h2, h3, h4, h5, h6, [role="heading"]',X=0;try{X=D(getComputedStyle(p).fontSize);}catch{}let te=Oe=>{try{let Ie=getComputedStyle(Oe);return {size:D(Ie.fontSize),weight:parseInt(Ie.fontWeight||"400",10)||400}}catch{return {size:0,weight:400}}},ee=Oe=>{let Ie=Oe.closest(z);return !!Ie&&p.contains(Ie)},Z=Oe=>{for(let Ie=Oe;Ie&&Ie!==p;Ie=Ie.parentElement)try{let nt=getComputedStyle(Ie).display||"";if(nt&&!/^inline(?!-block)|^contents$/.test(nt))return Ie}catch{return p}return p},ie=Oe=>Oe.split(/\s+/).filter(Ie=>/[\p{L}\p{N}]/u.test(Ie)).length,be=document.createTreeWalker(p,NodeFilter.SHOW_TEXT),de;for(;de=be.nextNode();){let Oe=de.parentElement;if(!Oe)continue;let Ie=(de.textContent||"").trim();if(!Ie||Oe===p&&v)continue;let nt=!1,_t=!1;for(let st=Oe;st&&st!==p;st=st.parentElement){if(st.tagName==="KBD"&&(_t=!0),st.tagName==="NOSCRIPT"||st.tagName==="SCRIPT"||st.tagName==="STYLE"||st.tagName==="TEMPLATE"){nt=!0;break}if(st.getAttribute("aria-hidden")==="true"){nt=!0;break}if(J.test(st.getAttribute("class")||"")||J.test(st.getAttribute("id")||"")){nt=!0;break}try{let lt=getComputedStyle(st);if(lt.display==="none"||lt.visibility==="hidden"){nt=!0;break}if(parseFloat(lt.opacity||"1")===0){nt=!0;break}if(k.test(lt.fontFamily||"")){nt=!0;break}if(P(st,lt)){nt=!0;break}}catch{if(T(st)){nt=!0;break}st.tagName==="SPAN"&&(B=!0);}}!nt&&/[\p{L}\p{N}]/u.test(Ie)&&w.push({text:Ie,kbd:_t,p:Oe});}let ke=0,De=w.length;for(;ke<De&&w[ke].kbd;)ke++;for(;De>ke&&w[De-1].kbd;)De--;let Be=ke<De?w.slice(ke,De):w,_e=Be.map(Oe=>te(Oe.p)),Ee=Be.map(Oe=>ee(Oe.p)),bt=_e.map(Oe=>Oe.size).filter(Oe=>Oe>0),kt=bt.length?Math.min(...bt):0,He=bt.length?Math.max(...bt):0,Mt=Math.min(..._e.map(Oe=>Oe.weight)),br=0;_e.forEach((Oe,Ie)=>{!Ee[Ie]&&Oe.weight<600&&Oe.size>br&&(br=Oe.size);});let Bt=Be.map(Oe=>Z(Oe.p)),Gt=Oe=>Be.some((Ie,nt)=>Bt[nt]===Bt[Oe]&&_e[nt].weight<600&&!Ee[nt]),Tt=Be.map((Oe,Ie)=>Ee[Ie]||He>kt&&_e[Ie].size>=He||_e[Ie].weight>=600&&Mt<600&&_e[Ie].size>=br&&!Gt(Ie)),tr=Be.filter((Oe,Ie)=>Tt[Ie]),Ae=Be;if(tr.length&&tr.length<Be.length){let Oe=ie(tr.map(st=>st.text).join(" ")),Ie=(st,lt)=>{for(let Jt=st.p;Jt&&Jt!==p;Jt=Jt.parentElement)if(Jt.tagName==="TIME"||Jt.tagName==="SMALL")return !0;return X>0&&_e[lt].size>0&&_e[lt].size<X},nt=st=>{let lt=Bt[st];if(tr.some(Vr=>lt.contains(Vr.p)))return !1;let Jt=ie(Be.filter((Vr,it)=>!Tt[it]&&Bt[it]===lt).map(Vr=>Vr.text).join(" "));return Jt>=5&&Jt>Oe},_t=Be.filter((st,lt)=>Tt[lt]||!Ie(st,lt)&&!nt(lt));_t.length&&(Ae=_t);}for(let Oe of Ae)A.push(Oe.text);y=B?"":A.join(" ").trim().toLowerCase();}catch{y=((p.innerText!=null?p.innerText:p.textContent)||"").trim().toLowerCase();}if(!y||!/[\p{L}\p{N}]/u.test(y)||/^\p{L}$/u.test(y))continue;let R=/[\p{L}\p{N}\p{M}]/u,_=(p.getAttribute("aria-label")||"").trim().toLowerCase();if(!_){let J=p.getAttribute("aria-labelledby");J&&(_=(typeof __resolveIdRefs=="function"?__resolveIdRefs(J):"").toLowerCase());}if(!_)continue;let x=J=>{let k=J.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(k)?k:J.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},S=x(_),E=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,M=(J,k)=>!J||!R.test(J)||E.test(J)||E.test(k),L=(J,k)=>{if(k<=0)return "";let v=J.charCodeAt(k-1);return v>=56320&&v<=57343&&k>=2?J.slice(k-2,k):J.charAt(k-1)},N=(J,k)=>{let v=J.codePointAt(k);return v===void 0?"":String.fromCodePoint(v)},q=J=>{let k=J.substring(0,40);if(!k)return true;let v=J.length>=40,D=N(k,0),T=L(k,k.length);for(let P=0;;){let B=S.indexOf(k,P);if(B<0)return false;if(M(L(S,B),D)&&(v||M(N(S,B+k.length),T)))return true;P=B+1;}};if(q(x(y))||A.length>1&&q(x(A.join(""))))continue;if(A.length>1){let J=true,k=0;for(let v of A){let D=x(v.toLowerCase());if(!D)continue;let T=D.slice(0,40),P=-1;for(let B=k;;){let z=S.indexOf(T,B);if(z<0)break;let X=M(L(S,z),N(T,0)),te=T.length>=40||M(N(S,z+T.length),L(T,T.length));if(X&&te){P=z;break}B=z+1;}if(P<0){J=false;break}k=P+T.length;}if(J)continue}let H=typeof uniqueSel=="function"?uniqueSel(p):"",j=typeof getNearbyContext=="function"?getNearbyContext(p):{parentTag:p.tagName.toLowerCase(),nearbyHeading:""},U=[];U.push("visible: "+y.slice(0,40)),U.push("aria-label: "+_.slice(0,60)),j.nearbyHeading&&U.push("heading: "+j.nearbyHeading),U.push("parent: "+j.parentTag),d.push({selector:H,attribute:"aria-label",currentValue:_,issueType:"label_in_name",wcag:"2.5.3",context:U.join(" | "),needsAI:true,outerHtml:(p.outerHTML||"").slice(0,300)});}return d},Mh={name:"labelInName",cap:40,async detect(f){return f.evaluate(AI)}};var _I=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],h=[];function p(_){if(!_)return "";let x=_.split("#")[0];return x.length>1&&x.charAt(x.length-1)==="/"&&(x=x.substring(0,x.length-1)),x}function y(_){let x=(_.getAttribute("aria-label")||"").trim();return x||(_.textContent||"").trim().replace(/\s+/g," ")}function A(_){return !!_.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},F=document.querySelectorAll("a[href]");for(let _=0;_<F.length;_++){let x=F[_];if(x.closest(f)||x.getAttribute("aria-hidden")==="true"||!isVisible(x))continue;let S=x.getAttribute("href")||"";if(!S)continue;let E=S.toLowerCase();if(E.charAt(0)==="#"||E.indexOf("javascript:")===0||E.indexOf("mailto:")===0||E.indexOf("tel:")===0)continue;let M=x.href||S,L=p(M);if(!L||A(x))continue;let N=(x.textContent||"").trim(),q=!!x.querySelector("img, svg, picture");if(!N&&q)continue;let H=y(x);if(!H)continue;let j=H.toLowerCase();j===E||j===M.toLowerCase()||(w[L]||(w[L]=[]),w[L].push(x));}let R=Object.keys(w);for(let _=0;_<R.length&&!(h.length>=30);_++){let x=w[R[_]];if(!x||x.length<2)continue;let S={},E="";for(let q=0;q<x.length;q++){let H=y(x[q]),j=H.toLowerCase();S[j]=true,H.length>E.length&&(E=H);}if(Object.keys(S).length<2)continue;let L=E.toLowerCase().trim();if(L.length<5)continue;let N=false;for(let q=0;q<g.length;q++)if(L===g[q]){N=true;break}if(!N)for(let q=0;q<x.length&&!(h.length>=30);q++){let H=x[q],j=y(H);if(j.toLowerCase()===L)continue;let U=uniqueSel(H);h.push({selector:U,attribute:"aria-label",currentValue:j,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+x.length+' link(s) on this page with different text (e.g. "'+E.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:H.outerHTML.slice(0,300)});}}return h},Lh={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(_I)}};var EI=()=>{let d=[],g=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],h="";try{h=window.location&&window.location.hostname||"";}catch{h="";}h=(h||"").toLowerCase();function p(M,L){if(!M||!L)return false;if(M===L||M.endsWith("."+L)||L.endsWith("."+M))return true;let N=q=>{let H=q.split(".");if(H.length<=2)return q;let j=H[H.length-1],U=H[H.length-2],J=["co","com","net","org","ac","gov","edu"],k=j.length===2&&J.indexOf(U)>=0?3:2;return H.slice(-k).join(".")};return N(M)===N(L)}function y(M){return M.indexOf("www.")===0?M.slice(4):M}function A(M){if(!M)return "";let L=M.toLowerCase();if(L.charAt(0)==="#"||L.charAt(0)==="/"||L.charAt(0)==="?"||L.indexOf("javascript:")===0||L.indexOf("mailto:")===0||L.indexOf("tel:")===0)return "";try{return (new window.URL(M,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function w(M){if(!M)return "";let L=M,N=L.indexOf("?");N>=0&&(L=L.slice(0,N));let q=L.indexOf("#");q>=0&&(L=L.slice(0,q)),L=L.toLowerCase();for(let H=0;H<g.length;H++){let j=g[H];if(L.length>=j.length&&L.slice(L.length-j.length)===j)return j}return ""}function F(M){let L=[],N=(M.getAttribute("aria-label")||"").trim();N&&L.push(N);let q=(M.getAttribute("title")||"").trim();q&&L.push(q);let H=M.getAttribute("aria-labelledby");if(H)try{let j=typeof __resolveIdRefs=="function"?__resolveIdRefs(H):"";j&&L.push(j);}catch{}return L.push((M.textContent||"").trim()),L.join(" ").toLowerCase()}function R(M,L,N){let q="";try{typeof getAccessibleName=="function"&&(q=(getAccessibleName(M)||"").trim());}catch{}let H=(L||N||q||M.textContent||"").replace(/\s+/g," ").trim();return H||(M.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}let _=(document.documentElement.getAttribute("lang")||"").trim();function x(M){return "current name: "+M.slice(0,200)+(_?" | page language: "+_:"")+" | keep the current name and add the notice, in the page language"}let S=document.querySelectorAll("a"),E=S.length;for(let M=0;M<E&&!(d.length>=50);M++){let L=S[M];if(!L||isWidget(L)||L.getAttribute("aria-hidden")==="true")continue;try{if(L.closest&&L.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(L))continue;let N=L.getAttribute("href");if(N==null)continue;let q=String(N).trim();if(!q)continue;let H=q.toLowerCase(),j=F(L),U=(L.getAttribute("rel")||"").toLowerCase(),J=uniqueSel(L),k=(L.getAttribute("target")||"").toLowerCase(),v=(L.outerHTML||"").slice(0,300);if(q==="#"||H.indexOf("javascript:")===0||q.charAt(0)==="#"&&q.length>1)continue;let D=w(H);if(D){let z=L.hasAttribute&&L.hasAttribute("download"),X=j.indexOf(D)>=0||new RegExp("\\b"+D.slice(1)+"\\b").test(j)||j.indexOf("download")>=0;if(!z&&!X){let te=R(L,(L.getAttribute("aria-label")||"").trim(),"");d.push({selector:J,attribute:"aria-label",currentValue:(L.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 file type "+D+" | href: "+q.slice(0,120)+" | "+x(te),needsAI:true,outerHtml:v});continue}}let T=A(q),P=H.indexOf("http://")===0||H.indexOf("https://")===0||H.indexOf("//")===0,B=!!T&&!!h&&!p(y(T),y(h));if(k==="_blank"){let z=U.indexOf("noopener")>=0||U.indexOf("noreferrer")>=0,X=j.indexOf("new window")>=0||j.indexOf("new tab")>=0||j.indexOf("opens in")>=0;if(!X){let te=(L.getAttribute("aria-label")||"").trim(),ee="",Z=L.getAttribute("aria-labelledby")||"";if(!te&&Z)try{typeof __resolveIdRefs=="function"&&(ee=(__resolveIdRefs(Z)||"").trim());}catch{}let ie=R(L,te,ee),be=[];z||be.push("missing rel=noopener"),X||be.push('missing "new window" hint'),be.push("href: "+q.slice(0,120)),d.push({selector:J,attribute:"aria-label",currentValue:(L.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:be.join(" | ")+" | opens in a new window | "+x(ie),needsAI:true,outerHtml:v});continue}}if(B&&P){let z=U.indexOf("external")>=0,X=j.indexOf("external")>=0||j.indexOf("opens in")>=0||j.indexOf("new window")>=0||j.indexOf("new tab")>=0;if(!z&&!X){let te=(L.getAttribute("aria-label")||"").trim(),ee="",Z=L.getAttribute("aria-labelledby")||"";if(!te&&Z)try{typeof __resolveIdRefs=="function"&&(ee=(__resolveIdRefs(Z)||"").trim());}catch{}let ie=R(L,te,ee);d.push({selector:J,attribute:"aria-label",currentValue:(L.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+T+" (page: "+h+") | href: "+q.slice(0,120)+" | "+x(ie),needsAI:true,outerHtml:v});}}}return d},Ph={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(EI)}};var CI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],h=new Set,p=document.querySelectorAll('main, [role="main"]'),y=[];return p.forEach(A=>{let w=getComputedStyle(A);w.display!=="none"&&w.visibility!=="hidden"&&y.push(A);}),p.forEach(A=>{if(g.length>=10||A.closest(f)||A.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(A);if(w.display==="none"||w.visibility==="hidden"||A.closest('[role="dialog"]')||A.closest('[role="alertdialog"]')||A.closest("dialog")||y.some(x=>x!==A&&x.getAttribute("aria-hidden")!=="true"))return;let R=A.parentElement;for(;R&&R!==document.body&&R!==document.documentElement;){if(R.getAttribute("aria-hidden")==="true")return;R=R.parentElement;}let _=uniqueSel(A);h.has(_)||(h.add(_),g.push({selector:_,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),role:A.getAttribute("role")||"",suggestion:'Main content container has aria-hidden="true", hiding the entire page from assistive technology. Set aria-hidden="false" to restore visibility.'}),needsAI:false,fixValue:"false",outerHtml:(A.outerHTML||"").slice(0,300)}));}),g},Oh={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(CI)}};var SI=()=>{let d=[];function g(A){return !!(!A||isWidget(A)||(A.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function h(A){return (A.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let A of p){if(d.length>=10)break;let w=A;if(g(w))continue;let F=w.hasAttribute("controls"),R=w.hasAttribute("autoplay"),_=w.hasAttribute("muted"),x=R||!w.paused&&!w.ended,S=typeof isVisible=="function"?isVisible(w):true;if(!F&&x&&S&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),d.length>=10))break;R&&!_&&d.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:h(w)});}let y=document.querySelectorAll("audio");for(let A of y){if(d.length>=10)break;let w=A;if(g(w))continue;let F=w.hasAttribute("controls"),R=w.hasAttribute("autoplay"),_=R||!w.paused&&!w.ended;if(!F&&_&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),d.length>=10))break;R&&d.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:h(w)});}return d},Nh={name:"mediaControls",cap:10,async detect(f){return f.evaluate(SI)}};var kI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=[],p=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,y=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|(?:screenshot|Screen\s*Shot|Bildschirmfoto|capture(?:\s+d['’]\s?[ée]cran)?)(?:$|\s+(?:from|at)\s+\d|[\s_-]*[\d(])|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,A=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,w=(x,S)=>{let E=x.getAttribute(S);if(E===null)return false;let M=parseFloat(E);return !isNaN(M)&&M<=1},F=document.querySelectorAll("img");for(let x of F){if(g.length>=50)break;if(x.closest(f)||x.closest("template, noscript, script"))continue;let S=x.getAttribute("src")||"",E=x.getAttribute("alt");if(S.startsWith("data:")||w(x,"width")||w(x,"height"))continue;let M=x.naturalWidth||0,L=x.naturalHeight||0;if(M>0&&L>0&&M<=3&&L<=3||x.getAttribute("role")==="presentation"||x.getAttribute("role")==="none"||x.getAttribute("aria-hidden")==="true")continue;let N=M||x.width,q=L||x.height,H=x.getBoundingClientRect(),j=!isVisible(x)||N<=2&&q<=2||H.width<=2&&H.height<=2||!!x.closest('[aria-hidden="true"]');if(j&&(E!==null||h.length>=50||A.test(S)))continue;let U=(x.getAttribute("aria-label")||"").trim(),J=(x.getAttribute("aria-labelledby")||"").trim();if(U||J)continue;if(E===null){let P=uniqueSel(x),B=getNearbyContext(x),z=[],X=x.closest("figure");if(X){let ie=X.querySelector("figcaption");ie&&z.push("figcaption: "+(ie.textContent||"").trim().slice(0,80));}B.nearbyHeading&&z.push("heading: "+B.nearbyHeading);let te=x.closest("a");if(te){let ie=te.getAttribute("href")||"",be=(te.textContent||"").trim().replace(/\s+/g," ");be&&z.push("link text: "+be.slice(0,60)),ie&&z.push("link href: "+ie.slice(0,80));}S&&z.push("src: "+S.slice(0,120)),z.push("parent: "+B.parentTag);let ee=S;try{ee=new URL(S,document.baseURI).href;}catch{}(j?h:g).push({selector:P,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:z.join(" | "),needsAI:true,imageSrc:ee,outerHtml:x.outerHTML.slice(0,300)});continue}let k=(E||"").trim();if(k==="")continue;let v=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(k),D=p.test(k),T=y.test(k);if(v||D||T){let P=uniqueSel(x),B=getNearbyContext(x),z=[];B.nearbyHeading&&z.push("heading: "+B.nearbyHeading),S&&z.push("src: "+S.slice(0,120)),z.push("parent: "+B.parentTag);let X=S;try{X=new URL(S,document.baseURI).href;}catch{}g.push({selector:P,attribute:"alt",currentValue:k,issueType:"missing_alt",wcag:"1.1.1",context:z.join(" | "),needsAI:true,imageSrc:X,outerHtml:x.outerHTML.slice(0,300)});}}let R=globalThis;for(let x of Array.from(document.querySelectorAll("object"))){if(g.length>=50)break;if(x.closest(f)||x.closest('[aria-hidden="true"]')||x.getAttribute("aria-hidden")==="true")continue;let S=(x.getAttribute("role")||"").trim().toLowerCase();if(S==="presentation"||S==="none"||!R.isVisible(x))continue;let E=x.getAttribute("data")||"",M=(x.getAttribute("type")||"").trim().toLowerCase(),L=M.startsWith("image/"),N=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(E);if(!E||!(L||!M&&N)||(x.getAttribute("aria-label")||"").trim()||(x.getAttribute("title")||"").trim())continue;let q=(x.getAttribute("aria-labelledby")||"").trim();q&&q.split(/\s+/).some(H=>(document.getElementById(H)?.textContent||"").trim())||x.closest('a, button, [role="button"], [role="link"]')||g.push({selector:R.uniqueSel(x),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"object image has no accessible name (fallback content does not name an object) | data: "+E.slice(0,120),needsAI:false,outerHtml:x.outerHTML.slice(0,300)});}let _=Array.from(document.querySelectorAll("script:not([src])")).map(x=>x.textContent||"");for(let x of Array.from(document.querySelectorAll("canvas"))){if(g.length>=50)break;if(x.closest(f)||x.closest('[aria-hidden="true"]')||x.getAttribute("aria-hidden")==="true")continue;let S=(x.getAttribute("role")||"").trim().toLowerCase();if(S==="presentation"||S==="none"||!R.isVisible(x)||(x.getAttribute("aria-label")||"").trim()||(x.getAttribute("aria-labelledby")||"").trim()||(x.getAttribute("title")||"").trim()||(x.textContent||"").trim()||x.children.length||x.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let E=x.getBoundingClientRect();if(E.width<=30||E.height<=30)continue;let M=x.getAttribute("id");if(!M)continue;let L=new RegExp("#"+M.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+M.replace(/[^\w-]/g,"")+`['"]`);_.some(q=>L.test(q)&&/\b(fillText|strokeText)\s*\(/.test(q))&&g.push({selector:R.uniqueSel(x),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"canvas draws text via script but has no accessible name or fallback content",needsAI:false,outerHtml:x.outerHTML.slice(0,300)});}for(let x of h){if(g.length>=50)break;g.push(x);}return g},qh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(kI)}};var TI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",d='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',g=["onclick","data-action","ng-click","@click","v-on:click"],h=E=>{if(getComputedStyle(E).visibility==="hidden")return false;for(let M=E;M&&M.nodeType===1;M=M.parentElement)if(getComputedStyle(M).display==="none")return false;return true},p=E=>Array.prototype.some.call(E.querySelectorAll("a:not([href])"),M=>h(M)&&!isHiddenFromAT(M)&&g.some(L=>M.hasAttribute(L))),y=E=>Array.prototype.some.call(E.querySelectorAll(d),M=>h(M)&&!isHiddenFromAT(M)),w=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||y(E)||p(E))return;let M=E.getAttribute("role");if(M==="button"||M==="link"||M==="tab"||M==="menuitem"||M==="checkbox"||M==="radio")return;let L=uniqueSel(E),N=E.outerHTML.slice(0,300);w.push({selector:L,attribute:"role",currentValue:M||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),hasOnclick:true,currentTabindex:E.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:N}),E.getAttribute("tabindex")===null&&w.push({selector:L,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:N});}),document.querySelectorAll("a:not([href])").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let L=E.hasAttribute("onclick"),N=E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click");if(!L&&!N||y(E))return;let q=uniqueSel(E),H=E.outerHTML.slice(0,300);w.push({selector:q,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:E.getAttribute("href")||"",hasOnclick:L}),needsAI:false,fixValue:"button",outerHtml:H});}),document.querySelectorAll("nav, ol, ul").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let M=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),L=(E.getAttribute("id")||"").toLowerCase();if(!M.includes("breadcrumb")&&!M.includes("crumb")&&!L.includes("breadcrumb")&&!L.includes("crumb"))return;let N=E.querySelectorAll("a");if(N.length<2)return;let q=(E.getAttribute("aria-label")||"").toLowerCase(),H=E.getAttribute("role");if(q.includes("breadcrumb")||q.includes("crumb")||H==="navigation"&&q)return;let j=uniqueSel(E);w.push({selector:j,attribute:"aria-label",currentValue:q,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:N.length,pageLang:(document.documentElement.getAttribute("lang")||"").trim(),links:Array.prototype.slice.call(N,0,6).map(U=>(U.textContent||"").trim().slice(0,40)),otherLandmarkLabels:Array.prototype.slice.call(document.querySelectorAll('nav[aria-label], [role="navigation"][aria-label], [role="region"][aria-label], aside[aria-label]'),0,8).filter(U=>U!==E).map(U=>(U.getAttribute("aria-label")||"").trim().slice(0,60))}),needsAI:true,outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let M=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),L=(E.getAttribute("id")||"").toLowerCase();if(!M.includes("search")&&!L.includes("search")||!E.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let q=E.getAttribute("role");if(q==="search"||E.closest('[role="search"]')||E.querySelector('[role="search"]')||Array.prototype.some.call(E.querySelectorAll("form, section, div"),U=>{let J=(U.className&&typeof U.className=="string"?U.className:"").toLowerCase(),k=(U.getAttribute("id")||"").toLowerCase();return !J.includes("search")&&!k.includes("search")||U.getAttribute("role")==="search"?false:!!U.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let j=uniqueSel(E);w.push({selector:j,attribute:"role",currentValue:q||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(E=>{if(E.closest(f))return;let M=E.getAttribute("role")||"menu",L=Array.from(E.querySelectorAll("a")).filter(q=>{if(!isVisible(q)||isHiddenFromAT(q))return false;let H=q.getAttribute("role");return H!=="menuitem"&&H!=="menuitemcheckbox"&&H!=="menuitemradio"});if(L.length===0)return;let N=uniqueSel(E);w.push({selector:N,attribute:"role",currentValue:M,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:`${L.length} link(s) inside role="${M}" without menuitem roles`,sample:L.slice(0,3).map(q=>(q.textContent||"").trim().slice(0,40))}),message:`container role="${M}" holds ${L.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:E.outerHTML.slice(0,300)});}),w},Bh={name:"missingRoles",cap:50,async detect(f){return f.evaluate(TI)}};var RI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[p,y]of Object.entries(h))document.querySelectorAll(y).forEach(w=>{if(g.length>=30||w.closest(f)||typeof isVisible=="function"&&!isVisible(w))return;let F=w.parentElement,R=null;for(;F&&F!==document.body;){if(F.matches(y)){R=F;break}F=F.parentElement;}if((p==="banner"||p==="contentinfo")&&w.closest("article, section, aside, main, nav")||!R||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let _=typeof uniqueSel=="function"?uniqueSel(w):"",x=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};g.push({selector:_,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${w.tagName.toLowerCase()} | heading: ${x.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return g},Hh={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(RI)}};var FI=()=>{let d=[],g=k=>typeof parseCssColor=="function"?parseCssColor(k):null,h=(k,v,D)=>typeof relLuminance=="function"?relLuminance(k,v,D):0,y=(k,v)=>typeof contrastRatio=="function"?contrastRatio(k,v):1;function A(k){let D=[0,0,0],T=0,P=z=>{let X=g(z||"");if(!X)return;let te=Math.max(0,Math.min(1,X[3]));if(te<=0)return;let ee=te*(1-T);D[0]+=X[0]*ee,D[1]+=X[1]*ee,D[2]+=X[2]*ee,T+=ee;};for(let z=k.parentElement;z&&T<.999999999;z=z.parentElement)P(getComputedStyle(z).backgroundColor);let B=1-T;return [Math.round(Math.min(255,D[0]+255*B)),Math.round(Math.min(255,D[1]+255*B)),Math.round(Math.min(255,D[2]+255*B))]}function w(k,v,D){return "#"+[k,v,D].map(T=>{let P=Math.max(0,Math.min(255,Math.round(T))).toString(16);return P.length===1?"0"+P:P}).join("")}function F(k,v,D){let T=h(v[0],v[1],v[2])>.5;return R(k,v,D,T)||R(k,v,D,!T)}function R(k,v,D,T){let P=0,B=1,z=null;for(let X=0;X<20;X++){let te=(P+B)/2,ee=T?[k[0]*(1-te),k[1]*(1-te),k[2]*(1-te)]:[k[0]+(255-k[0])*te,k[1]+(255-k[1])*te,k[2]+(255-k[2])*te],Z=[Math.round(ee[0]),Math.round(ee[1]),Math.round(ee[2])];y(Z,v)>=D?(z=Z,B=te):P=te;}return z}let _=(k,v)=>{let D=Math.max(0,Math.min(1,k[3]));return [k[0]*D+v[0]*(1-D),k[1]*D+v[1]*(1-D),k[2]*D+v[2]*(1-D)]};function x(k,v){let D=k.boxShadow||"";if(!D||D==="none")return null;let T=[],P=0,B="";for(let X of D)X==="("&&P++,X===")"&&P--,X===","&&P===0?(T.push(B),B=""):B+=X;B&&T.push(B);let z=null;for(let X of T){let te=X.match(/rgba?\([^)]*\)/),ee=te?g(te[0]):null;if(!ee||ee[3]<=0||(X.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(de=>parseFloat(de)).filter(de=>Number.isFinite(de))[3]??0)<=0)continue;let be=y(_(ee,v),v);(z===null||be>z)&&(z=be);}return z}function S(k){let v=getComputedStyle(k),D=A(k),T=null,P=parseFloat(v.borderTopWidth||"0"),B=(v.borderTopStyle||"").toLowerCase(),z=g(v.borderTopColor||"");P>0&&B!=="none"&&B!=="hidden"&&z&&z[3]>0&&(T=y(_(z,D),D));let X=g(v.backgroundColor||"");if(X&&X[3]>0){let ee=y(_(X,D),D);(T===null||ee>T)&&(T=ee);}let te=x(v,D);return te!==null&&(T===null||te>T)&&(T=te),T}function E(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return null;let D='input, select, textarea, button, [role="button"], svg, img, i, label',T=k.parentElement,P=null;for(let B=0;T&&B<3&&!(T===document.body||T===document.documentElement);B++,T=T.parentElement){let z=T.getBoundingClientRect();if(z.width*z.height>4*v.width*v.height+1||z.height>Math.max(2.5*v.height,v.height+40))break;let X=false,te=document.createTreeWalker(T,4),ee=te.nextNode();for(;ee;){if((ee.textContent||"").trim()&&ee.parentElement&&!ee.parentElement.closest(D)&&isVisible(ee.parentElement)){X=true;break}ee=te.nextNode();}if(X)break;let Z=S(T);Z!==null&&Z>1.01&&(P===null||Z>P)&&(P=Z);}return P}let M=k=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((k.tagName||"").toLowerCase())||(getComputedStyle(k).backgroundImage||"none")!=="none",L=(k,v)=>{let D=Math.min(k.right,v.right)-Math.max(k.left,v.left),T=Math.min(k.bottom,v.bottom)-Math.max(k.top,v.top);return D>0&&T>0&&D*T/(k.width*k.height)>=.5},N=null;function q(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return false;let D=v.left+v.width/2,T=v.top+v.height/2;if(D>=0&&T>=0&&D<window.innerWidth&&T<window.innerHeight&&typeof document.elementsFromPoint=="function"){let B=document.elementsFromPoint(D,T),z=B.indexOf(k);if(z>=0){for(let X of B.slice(z+1)){if(M(X))return true;let te=g(getComputedStyle(X).backgroundColor||"");if(te&&te[3]>.5)return false}return false}}for(let B=k.parentElement,z=0;B&&z<8;B=B.parentElement,z++){let X=getComputedStyle(B);if((X.backgroundImage||"none")!=="none")return true;let te=g(X.backgroundColor||"");if(te&&te[3]>.5||B===document.documentElement)break}N||(N=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let B of N)if(!(B===k||k.contains(B)||B.contains(k))&&L(v,B.getBoundingClientRect())&&isVisible(B))return true;let P=k.offsetParent||k.parentElement;if(P&&P!==document.body&&P!==document.documentElement){let B=P.getElementsByTagName("*");for(let z=0;z<B.length&&z<400;z++){let X=B[z];if(!(X===k||k.contains(X)||X.contains(k))&&L(v,X.getBoundingClientRect())&&(getComputedStyle(X).backgroundImage||"none")!=="none"&&isVisible(X))return true}}return false}function H(k){for(let P=k.parentElement;P&&P.nodeType===1;P=P.parentElement)if(parseFloat(getComputedStyle(P).opacity||"1")<1)return false;let v=P=>{if(P.tagName.toLowerCase()!=="svg"){let X=g(getComputedStyle(P).color||"");return X&&X[3]>0?[X]:null}let B=[],z=Array.from(P.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let X of z){let te=X.getBoundingClientRect();if(te.width===0&&te.height===0)continue;let ee=getComputedStyle(X);if(ee.display==="none"||ee.visibility==="hidden"||parseFloat(ee.opacity||"1")<1)return null;for(let[Z,ie]of [[ee.fill,ee.fillOpacity],[ee.stroke,parseFloat(ee.strokeWidth||"0")>0?ee.strokeOpacity:"0"]]){let be=String(Z||"");if(!be||be==="none"||parseFloat(String(ie??"1"))===0)continue;if(be.startsWith("url"))return null;let de=g(be);if(!de)return null;de[3]*=parseFloat(String(ie??"1")),de[3]>0&&B.push(de);}}return B.length?B:null},D=[];for(let P=0;P<=255;P+=17)D.push(P);let T=Array.from(k.querySelectorAll('svg, i[class], [class*="icon"]'));for(let P of T){let B=P.getBoundingClientRect();if(B.width*B.height===0)continue;let z=getComputedStyle(P);if(z.display==="none"||z.visibility==="hidden")continue;let X=v(P);if(!X)continue;let te=null,ee=1,Z=true;for(let de=P;de;de=de===k?null:de.parentElement){let ke=getComputedStyle(de),De=parseFloat(ke.opacity||"1");if(!te){let Be=g(ke.backgroundColor||""),_e=String(ke.backgroundClip||"border-box").toLowerCase();if(!(String(ke.backgroundImage||"none")==="none")){Z=false;break}if(Be&&Be[3]>=1&&_e==="border-box")te=[Be[0],Be[1],Be[2]];else if(De<1){Z=false;break}}te&&(ee*=De);}if(!te||!Z)continue;let ie=te,be=1/0;for(let de of X){let ke=_(de,ie);for(let De of D)for(let Be of D)for(let _e of D){let Ee=[De,Be,_e],bt=_([ke[0],ke[1],ke[2],ee],Ee),kt=_([ie[0],ie[1],ie[2],ee],Ee),He=y(bt,kt);He<be&&(be=He);}}if(be>=3)return true}return false}let j="control sits over an image, so the background colour measured behind it is not what the user sees \u2014 judge its boundary or glyph against the image pixels in the crop (WCAG 1.4.11, 3:1)";function U(k){let v=k.tagName.toLowerCase(),D=v==="input"||v==="select"||v==="textarea"?v+" field":v;d.push({selector:uniqueSel(k),message:"non-text contrast: "+D+" over an image backdrop \u2014 "+j,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:v+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:j,outerHtml:k.outerHTML.slice(0,200)});}let J=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let k of J){if(d.length>=30)break;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let v=getComputedStyle(k),D=A(k),T=g(v.backgroundColor||""),P=g(v.borderTopColor||""),B=parseFloat(v.borderTopWidth||"0"),z=(v.borderTopStyle||"").toLowerCase(),X=B>0&&z!=="none"&&z!=="hidden",te=k.tagName.toLowerCase(),ee=te==="input"||te==="select"||te==="textarea",Z=null;if(te==="input"){let Ae=(k.type||"").toLowerCase(),Oe=(v.appearance||v.webkitAppearance||"").toLowerCase();if(Ae==="checkbox"||Ae==="radio"){let Ie=Oe==="none"?"":String(v.accentColor||"").trim().toLowerCase(),nt=Ie&&Ie!=="auto"?g(Ie):null;if(nt&&nt[3]>.5)Z=y(_(nt,D),D);else if(Oe&&Oe!=="none")continue}}let ie=X&&P&&P[3]>.5?y(_(P,D),D):null,be=T&&T[3]>.5?y(_(T,D),D):Z,de=x(v,D),ke=ie===null&&be===null&&de===null?null:Math.max(ie??0,be??0,de??0);if(ee&&q(k)){U(k);continue}if(ee&&(ke===null||ke<3)){let Ae=E(k);if(Ae!==null&&Ae>=3)continue}let De=null,Be=false,_e="";if(ee)ke!==null?(De=ke,ke<3&&(Be=true)):(Be=true,De=1);else {let Ae=false,Oe=document.createTreeWalker(k,4),Ie=Oe.nextNode();for(;Ie;){if((Ie.textContent||"").trim()&&Ie.parentElement&&isVisible(Ie.parentElement)){Ae=true;break}Ie=Oe.nextNode();}if(Ae)continue;let nt=q(k);{let ce=["Top","Right","Bottom","Left"].map(Ve=>({w:parseFloat(v["border"+Ve+"Width"]||"0"),s:String(v["border"+Ve+"Style"]||"").toLowerCase(),c:g(v["border"+Ve+"Color"]||"")})),ve=ce.filter(Ve=>Ve.w>0&&Ve.s!=="none"&&Ve.s!=="hidden"&&Ve.c&&Ve.c[3]>.5),Xe=ce.filter(Ve=>Ve.w>0&&Ve.s!=="none"&&Ve.s!=="hidden"&&Ve.c&&Ve.c[3]===0),at=true;for(let Ve=k.parentElement;Ve&&Ve.nodeType===1;Ve=Ve.parentElement)if(parseFloat(getComputedStyle(Ve).opacity||"1")<1){at=false;break}let dt=Math.max(0,Math.min(1,parseFloat(v.opacity||"1"))),yt=String(v.backgroundClip||"border-box").toLowerCase(),Qe=!!T&&T[3]>=1&&dt>=1&&yt==="border-box";if(ve.length&&Xe.length&&at&&(!nt||Qe)){let Ve=T&&T[3]>0?_(T,D):D,rr=_([Ve[0],Ve[1],Ve[2],dt],D),nr=$r=>{let la=_($r,Ve);return _([la[0],la[1],la[2],dt],D)};if(ve.some($r=>y(nr($r.c),rr)>=3))continue}}if(nt){if(H(k))continue;U(k);continue}let st=Array.from(k.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),lt=new Map,Jt=ce=>{let ve=ce.getBoundingClientRect();if(ve.width*ve.height===0)return "absent";let Xe=parseFloat(getComputedStyle(k).opacity||"1");for(let at=ce;at&&at!==k;at=at.parentElement){let dt=getComputedStyle(at);if(dt.display==="none")return "absent";if(dt.visibility==="hidden"||parseFloat(dt.opacity||"1")===0)return "hidden-at-rest";Xe*=parseFloat(dt.opacity||"1");}return lt.set(ce,Xe),"painted"},Vr=st.map(Jt),it=st.filter((ce,ve)=>Vr[ve]==="painted"),jr=it.length>0,vn=!jr&&Vr.includes("hidden-at-rest"),fe=ce=>{let ve=(ce.tagName||"").toLowerCase();if(ve==="img"||ve==="picture"||ve==="canvas"||ve==="svg"&&ce.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Xe=[];if(ve==="svg"){let dt=ce.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let yt of [dt,ce]){if(!yt)continue;let Qe=getComputedStyle(yt),Ve=1;for(let nr=yt;nr&&nr!==ce;nr=nr.parentElement||nr.parentNode)Ve*=parseFloat(getComputedStyle(nr).opacity||"1");let rr=nr=>Number.isFinite(parseFloat(nr))?parseFloat(nr):1;if(Qe.fill&&Qe.fill!=="none"&&!Qe.fill.startsWith("url")&&Xe.push({color:Qe.fill,alpha:Ve*rr(Qe.fillOpacity)}),Qe.stroke&&Qe.stroke!=="none"&&!Qe.stroke.startsWith("url")&&parseFloat(Qe.strokeWidth||"0")>0&&Xe.push({color:Qe.stroke,alpha:Ve*rr(Qe.strokeOpacity)}),Xe.length)break}}else ((ce.textContent||"").trim()||getComputedStyle(ce,"::before").content!=="none")&&Xe.push({color:getComputedStyle(ce).color,alpha:1});let at=null;for(let dt of Xe){let yt=g(dt.color);if(!yt)continue;let Qe=yt[3]*dt.alpha*(lt.get(ce)??1),Ve=[yt[0]*Qe+D[0]*(1-Qe),yt[1]*Qe+D[1]*(1-Qe),yt[2]*Qe+D[2]*(1-Qe)],rr=y(Ve,D);(at===null||rr>at)&&(at=rr);}return at};if(jr&&it.map(fe).some(ve=>ve!==null&&ve>=3))continue;let ne=false,se=v.position;if((se==="absolute"||se==="fixed")&&k.parentElement){let ce=k.getBoundingClientRect(),ve=k.parentElement.getBoundingClientRect(),Xe=ve.width*ve.height;Xe>0&&ce.width*ce.height/Xe>=.85&&(ne=true);}if(jr||ne||vn){if(Be=true,De=X&&P&&P[3]>.5?y(_(P,D),D):1,De>=3)continue;_e=jr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":vn?"control is identified by an icon that is transparent until hover/focus \u2014 verify the revealed icon has 3:1 contrast against its surroundings":"control is an overlay covering other content, which provides its visual affordance \u2014 verify the underlying presentation";}else ke!==null?(De=ke,ke<3&&(Be=true)):(Be=true,De=1);}if(!Be)continue;let Ee=P&&P[3]>.5?[P[0],P[1],P[2]]:T&&T[3]>.5?[T[0],T[1],T[2]]:[128,128,128],bt=F(Ee,D,3);if(!bt)continue;let kt=w(bt[0],bt[1],bt[2]),He=w(D[0],D[1],D[2]),Mt="border: 1px solid "+kt+" !important;",br=uniqueSel(k),Bt=k.tagName.toLowerCase(),Gt=ke===null&&!X?"invisible (no border, no fill: 1.00:1)":De?De.toFixed(2)+":1":"not measurable",Tt=Bt==="input"||Bt==="select"||Bt==="textarea"?Bt+" field":Bt,tr=_e?"non-text contrast: "+Tt+" boundary is "+Gt+" against "+He+" (needs 3:1) \u2014 "+_e:"non-text contrast: "+Tt+" boundary (border and fill) is "+Gt+" against "+He+", needs 3:1 \u2014 e.g. border-color "+kt;d.push({selector:br,message:tr,attribute:"style",currentValue:De?De.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Bt+" bg="+He+" ratio="+(De?De.toFixed(2):"?")+" needs=3",needsAI:false,..._e?{needsReview:true,reviewReason:_e}:{fixValue:Mt},outerHtml:k.outerHTML.slice(0,200)});}return d},Vh={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(FI)}};var II=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let y of Array.from(p)){if(g.length>=20)break;if(y.closest(f))continue;let A=y.getAttribute("onfocus")||"";if(!A||!h.test(A))continue;let w=typeof uniqueSel=="function"?uniqueSel(y):"",F=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},R=[];R.push("tag: "+y.tagName.toLowerCase()),R.push("onfocus: "+A.slice(0,100)),F.nearbyHeading&&R.push("heading: "+F.nearbyHeading),R.push("parent: "+F.parentTag),g.push({selector:w,attribute:"onfocus",currentValue:A.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:R.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},jh={name:"onFocus",cap:20,async detect(f){return f.evaluate(II)}};var MI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],g=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],h=false;for(let N of g){let q=document.querySelector(N);if(q&&!q.closest(f)){h=true;break}}if(!h){let N=document.querySelectorAll('a[href^="#"]');for(let q of N){if(q.closest(f))continue;let H=(q.textContent||"").toLowerCase();if(H.includes("skip")&&(H.includes("main")||H.includes("content")||H.includes("nav"))){h=true;break}}}if(!h){let N=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let q of Array.from(N)){if(q.closest(f))continue;let H=(q.getAttribute("value")||q.textContent||"").trim().toLowerCase();if(H.includes("skip")&&(H.includes("main")||H.includes("content")||H.includes("nav"))){h=true;break}}}if(!h){let N=document.body?document.body.firstElementChild:null;if(N&&N.matches('main, [role="main"], div#main')){let q=getComputedStyle(N),H=N.getBoundingClientRect();q.display!=="none"&&q.visibility!=="hidden"&&!N.closest('[hidden], [aria-hidden="true"]')&&H.width>0&&H.height>0&&(h=true);}}if(!h){let N=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let q of N){let H=getComputedStyle(q);if(H.display==="none"||H.visibility==="hidden"||q.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(q.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(U=>{let J=getComputedStyle(U);return J.display!=="none"&&J.visibility!=="hidden"&&!U.closest('[hidden], [aria-hidden="true"]')})){h=true;break}}}if(!h&&document.querySelector("nav")){let N=document.querySelectorAll("a, button");for(let q of Array.from(N)){if(q.closest(f))continue;let H=(q.textContent||"").trim().toLowerCase();if((H.includes("toggle")||H.includes("hide")||H.includes("collapse")||H.includes("show"))&&H.includes("content")){h=true;break}}}if(h||Array.from(document.querySelectorAll('main, [role="main"]')).filter(N=>{let q=getComputedStyle(N);if(q.display==="none"||q.visibility==="hidden"||N.closest('[hidden], [aria-hidden="true"]'))return false;let H=N.getBoundingClientRect();return H.width>0&&H.height>0}).length===1)return d;let y="",A=document.querySelector('main[id], [role="main"][id]');if(A&&A.getAttribute("id"))y=A.getAttribute("id");else {let N=document.querySelector("h1[id]");if(N&&N.getAttribute("id"))y=N.getAttribute("id");else {let q=["main-content","maincontent","main","content","skip-content"];for(let H of q)if(document.getElementById(H)){y=H;break}}}let w=y==="",F=y||"main-content",_="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+F+'" class="wa-skip-link">{TEXT}</a>',x=(document.documentElement.getAttribute("lang")||"").trim(),S=document.querySelector('main, [role="main"]'),E=S?(S.getAttribute("aria-label")||"").trim():"",M=document.querySelector("h1"),L=M?(M.textContent||"").trim().replace(/\s+/g," ").slice(0,80):"";return d.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:(w?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+F)+(x?" | page language: "+x:"")+(E?" | main landmark label: "+E:"")+(L?" | page heading: "+L:"")+" | html template (replace {TEXT} with the link text, in the page language): "+_,needsAI:true,...w?{manualFix:true}:{}}),d},$h={name:"skipLink",async detect(f){return f.evaluate(MI)}};var LI=()=>{let g=[],h=document.querySelectorAll("*"),p=0;for(let y of Array.from(h)){if(p++>5e3||g.length>=20)break;if(y.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(y))continue;let w=getComputedStyle(y).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let F=w.match(/url\((['"]?)(.*?)\1\)/);if(!F)continue;let R=F[2];if(!R||R.startsWith("data:")&&R.length<256)continue;let _=y.getBoundingClientRect();if(_.width<32||_.height<32)continue;let x=y.tagName.toLowerCase(),S=y.getAttribute("role")||"",E=x==="a"||x==="button"||S==="button"||S==="link"||y.closest("a,button,[role=button],[role=link]")!==null,M=(y.textContent||"").trim().length>0,L=!!y.getAttribute("aria-label"),N=!!y.getAttribute("aria-labelledby"),q=!!y.getAttribute("title"),H=!!y.querySelector('img[alt]:not([alt=""])');if(y.closest('[aria-hidden="true"]')){let v=y.closest("a[href]");if(!!v&&Array.from(document.querySelectorAll("a[href]")).some(T=>T!==v&&T.href===v.href&&!T.closest('[aria-hidden="true"]')))continue}if(L||N||q||H||M||!E)continue;let j=y.closest("a,button,[role=button],[role=link]");if(j&&j!==y){let v=(j.textContent||"").trim(),D=j.getAttribute("aria-label")||j.getAttribute("title")||"",T=j.getAttribute("aria-labelledby"),P=!!j.querySelector('img[alt]:not([alt=""])');if(v||D.trim()||T||P)continue}let U=R;try{U=new URL(R,location.href).toString();}catch{continue}let J=typeof uniqueSel=="function"?uniqueSel(y):"",k=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:x,nearbyHeading:""};g.push({selector:J,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${U.slice(0,140)} | tag: ${x} | role: ${S||"(none)"} | parent: ${k.parentTag}${k.nearbyHeading?" | heading: "+k.nearbyHeading:""}`,needsAI:true,imageSrc:U,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},zh={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(LI)}};var PI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[];return document.querySelectorAll("svg").forEach(p=>{if(g.length>=50||p.closest(f)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let A=p.getAttribute("role");if(A==="presentation"||A==="none"||p.closest('[aria-hidden="true"]'))return;let w=p.getAttribute("aria-label")||"",F=p.getAttribute("aria-labelledby")||"",R=p.querySelector("title"),_=R?(R.textContent||"").trim():"";if(w.trim()||F.trim()||_)return;let x=p.getBoundingClientRect(),S=x.width<=16&&x.height<=16;if(x.width<=4||x.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let E=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(E){if(E.getAttribute("aria-label")?.trim()||E.getAttribute("aria-labelledby")?.trim())return;let D=getAccessibleName(E),T=E.cloneNode(true);T.querySelectorAll("svg").forEach(B=>B.remove());let P=(T.textContent||"").trim().replace(/\s+/g," ");if(D&&P.length>0)return}else {if(!/^(img|graphics-document|graphics-symbol)$/i.test((A||"").trim().split(/\s+/)[0])||S)return;let D=p.parentElement;if(D&&(D.textContent||"").trim().replace(/\s+/g," ").length>3)return}let M=uniqueSel(p),L=getNearbyContext(E||p),N=E&&E.getAttribute("href")||"",q=(E||p).outerHTML.slice(0,300),H=p.getAttribute("class")||"",j=p.getAttribute("data-icon")||"",U=E||p,J=U&&U!==p&&U.getAttribute("class")||"",k=typeof lookupIconLabel=="function"?lookupIconLabel(String(H),j,"")||lookupIconLabel(String(J),"",""):null,v=E?uniqueSel(E):M;g.push({selector:v,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(E||p).tagName?(E||p).tagName.toLowerCase():"svg",href:N,nearbyHeading:L.nearbyHeading,parentRole:L.parentRole,svgClasses:H,iconLib:k||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:true,outerHtml:q});}),g},Gh={name:"svgNames",cap:50,async detect(f){return f.evaluate(PI)}};var OI=()=>{let f={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},d=1e-9,g=Object.keys(f),h=30,p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},A=k=>{let v=[];for(let D of k.split(";")){let T=D.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!T)continue;let P=T[1].toLowerCase();if(!g.includes(P))continue;let B=T[2],z=/!\s*important\s*$/i.test(B);B=B.replace(/!\s*important\s*$/i,"").trim(),B&&(P!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(B)&&parseFloat(B)!==0||v.push({prop:P,value:B,important:z}));}return v},w=(k,v,D,T)=>{let P=v.trim().toLowerCase();if(/^normal$|^initial$/.test(P))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(P))return {kind:"notBlocked"};if(P.startsWith("var(")||P.startsWith("calc(")||P.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(P)){let ee=parseFloat(P);return k==="line-height"?{kind:"ratio",factor:ee}:{kind:"ratio",factor:0}}let B=P.endsWith("%")&&/\d/.test(P),z=B?P.slice(0,-1).trim().match(/^([\d.]+)$/):P.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!z)return {kind:"undetermined"};let X=parseFloat(z[1]);if(B||P.endsWith("em")){let ee=T??D;return ee&&D&&isFinite(ee)&&isFinite(D)&&ee>0&&D>0?B?{kind:"ratio",factor:X/100*(ee/D)}:{kind:"ratio",factor:X*(ee/D)}:B?{kind:"ratio",factor:X/100}:{kind:"ratio",factor:X}}let te=P.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(te==="px"||te&&y[te]){let ee=te==="px"?X:X*(y[te]||0);return D===null||!isFinite(D)||D<=0?{kind:"undetermined"}:{kind:"ratio",factor:ee/D}}return {kind:"undetermined"}},F=(k,v,D)=>{let T=k;for(;T;){let P=v.get(T);if(P){let B=P.filter(z=>z.prop===D);if(B.length){let z=B.filter(te=>te.important);return {decl:z.length?z[z.length-1]:B[B.length-1],from:T}}}T=T.parentElement;}return null},R=k=>{let v=k;for(;v;){let D=v.style;if(D&&(D.display==="none"||D.visibility==="hidden")||D&&(D.position==="absolute"||D.position==="fixed")&&(_(D.top)||_(D.left)))return false;if(D&&(D.overflowX==="scroll"||D.overflowX==="auto")){for(let T=k;T!==v;T=T.parentElement)if(T.style&&x(T.style.width)>=900)return false}v=v.parentElement;}return true},_=k=>{if(!k)return false;let v=k.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!v)return false;let D=parseFloat(v[2]),T=v[3].toLowerCase();return T==="px"?D>=100:T==="em"||T==="rem"?D>=4:D>=10},x=k=>{let v=k?k.match(/^([\d.]+)px$/):null;return v?parseFloat(v[1]):0},S=[],E=[],M=new Map,L=typeof getComputedStyle=="function"?getComputedStyle:null,N=k=>{try{let v=L?L(k).fontSize:"",D=v?v.match(/^([\d.]+)px$/):null;return D?parseFloat(D[1]):null}catch{return null}},q=new Map,H=Array.from(document.querySelectorAll('[style*="important" i]'));for(let k of H)k.closest(p)||q.set(k,A(k.getAttribute("style")||""));for(let k of document.querySelectorAll("body [style]"))k.closest(p)||q.has(k)||q.set(k,A(k.getAttribute("style")||""));let j=[],U=document.createTreeWalker(document.body,1),J=U.currentNode;for(;J;)Array.from(J.childNodes).some(v=>v.nodeType===3&&/\S/.test(v.textContent||""))&&!J.closest(p)&&j.push(J),J=U.nextNode();for(let k of j){if(S.length>=h)break;if(R(k))for(let v of g){let D=F(k,q,v);if(!D||!D.decl.important)continue;let T=N(k),P=D.from===k?T:N(D.from)??T,B=w(v,D.decl.value,T,P);if(!(B.kind==="undetermined"||B.kind==="narrow"||B.kind==="ratio"&&B.factor+d<f[v]))continue;let X=M.get(D.from);X||(X=[],M.set(D.from,X),E.push({from:D.from,props:X})),X.includes(v)||X.push(v);}}for(let{from:k,props:v}of E){if(S.length>=h)break;let D=typeof uniqueSel=="function"?uniqueSel(k):"",T=typeof getNearbyContext=="function"?getNearbyContext(k):{parentTag:k.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},P=[];P.push("blocked: "+v.join(",")),P.push("tag: "+k.tagName.toLowerCase()),T.nearbyHeading&&P.push("heading: "+T.nearbyHeading),P.push("parent: "+T.parentTag),S.push({selector:D,attribute:"style",currentValue:(k.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:P.join(" | "),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}return S},Uh={name:"textSpacing",cap:30,async detect(f){return f.evaluate(OI)}};var NI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of h){if(g.length>=50)break;if(p.closest(f)||!isVisible(p))continue;let y=p,A=y.tagName==="INPUT"?(y.getAttribute("type")||"").toLowerCase():"";if(A==="submit"||A==="reset")continue;let w=(y.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((w==="none"||w==="presentation")&&y.disabled===true)continue;let F=(y.getAttribute("aria-label")||"").trim(),R=y.getAttribute("aria-labelledby"),_=(y.getAttribute("title")||"").trim(),x=(y.getAttribute("value")||"").trim(),S=(y.textContent||"").trim().replace(/\s+/g," "),E="";R&&(E=typeof __resolveIdRefs=="function"?__resolveIdRefs(R):"");let M=y.querySelector('img[alt]:not([alt=""])'),L=y.querySelector("svg title"),N=y.querySelector("svg[aria-label]");if(!!(F||E||_||x||S||M||L||N))continue;let H=uniqueSel(y),j=getNearbyContext(y),U=y.closest("form"),J=U&&(U.getAttribute("id")||U.getAttribute("name"))||"",k=y.getAttribute("class")||"",v=y.querySelector('i, svg, span[class*="icon"]'),D=v&&v.getAttribute("class")||"",T=v&&v.getAttribute("data-icon")||"",P=v?(v.textContent||"").trim():"",B=typeof lookupIconLabel=="function"?lookupIconLabel(String(D),T,P):null,z=!B&&typeof lookupIconLabel=="function"?lookupIconLabel(String(k),"",""):null,X=B||z,te=[];for(let ie of ["type","name","id"]){let be=(y.getAttribute(ie)||"").trim();be&&te.push(ie+"="+be.slice(0,40));}let ee=[];if(U){let ie=(U.getAttribute("action")||"").trim();if(ie){let de=ie;try{de=new URL(ie,document.baseURI).pathname;}catch{}ee.push("action: "+de.slice(0,80));}let be=[];for(let de of U.querySelectorAll("input:not([type=hidden]):not([type=submit]):not([type=button]), textarea, select")){let ke=(de.getAttribute("aria-label")||de.getAttribute("placeholder")||de.id&&Array.from(U.querySelectorAll("label[for]")).find(De=>De.getAttribute("for")===de.id)?.textContent||de.getAttribute("name")||"").trim().replace(/\s+/g," ");if(be.push(ke.slice(0,40)||de.getAttribute("type")||de.tagName.toLowerCase()),be.length>=4)break}be.length&&ee.push("fields: "+be.join(", "));}let Z=[];J&&Z.push("form: "+J),j.nearbyHeading&&Z.push("heading: "+j.nearbyHeading),D&&Z.push("icon: "+String(D).slice(0,80)),k&&Z.push("class: "+String(k).slice(0,80)),Z.push("parent: "+j.parentTag),te.length&&Z.push("control: "+te.join(" "));for(let ie of ee)Z.push("form "+ie);X&&Z.push("icon-hint (glyph name only, not the action): "+X),g.push({selector:H,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:Z.join(" | "),needsAI:true,outerHtml:y.outerHTML.slice(0,300)});}return g},Wh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(NI)}};var qI=()=>{let f=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),d=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),g={};function h(k){if(isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let D=v.toLowerCase().trim();g[D]=(g[D]||0)+1;}document.querySelectorAll("a[href]").forEach(k=>h(k));let p=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),y=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function A(k){let v=k.toLowerCase();return p.has(v)||y.some(D=>v.startsWith(D))}let w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function F(k,v){return w.test(k)?1:v}let R=50,_=[];function x(k){if((k.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let D=k.querySelectorAll("i, span, em");for(let T of D)if((typeof T.className=="string"?T.className:"").split(/\s+/).some(A))return true;return false}function S(k){let v=k.className||"";return typeof v!="string"?false:v.split(/\s+/).some(A)}function E(k){if(_.length>=R||isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let D=v.toLowerCase().trim(),T=false,P=v.length>=2&&/^[A-Z][A-Z0-9]+$/.test(v.trim()),B=/^[[(]?\d{1,4}[\])]?$/.test(v.trim());if(v.length<F(v,3)&&!P&&!B)T=true;else if(f.has(D))T=true;else if(d.has(D)&&(g[D]||0)>=2){let Z=(k.getAttribute("aria-label")||"").trim().toLowerCase(),ie=!!k.getAttribute("aria-labelledby")||!!Z&&Z!==D,be=k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),de=be?(be.textContent||"").trim().toLowerCase():"";!ie&&!(be&&de!==D)&&(T=true);}else (x(k)||S(k)&&v.length===0)&&(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")||k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(T=true));if(!T)return;let z=getNearbyContext(k),X=uniqueSel(k),te=k.getAttribute("href")||"",ee=k.outerHTML.slice(0,300);_.push({selector:X,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")?`"${v}" is too generic for a control \u2014 add distinguishing context`:`text "${v}" is too generic for a control \u2014 add distinguishing context`),issueType:"weak_link_name",wcag:"2.4.4",needsReview:true,reviewReason:"WCAG 2.4.4 (AA) judges link purpose in context: the link text together with its sentence, paragraph, list item or table cell (nearbyText). A link whose text names its destination page or topic passes, even as one word in a menu. Fail only generic text (here, more, click here, read more) whose context still does not say where the link goes.",context:JSON.stringify({currentText:v,href:te,nearbyHeading:z.nearbyHeading,parentTag:z.parentTag,parentRole:z.parentRole,cardText:z.cardText||"",imgAlt:z.imgAlt||""}),needsAI:true,outerHtml:ee});}document.querySelectorAll("a[href]").forEach(k=>E(k));let M=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,L=/^(iframe|embed|widget|frame|content|untitled)$/i,N=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function q(k){return !!(!k||k.getAttribute("aria-hidden")==="true"||k.closest('[aria-hidden="true"]'))}function H(k,v,D,T,P,B){if(_.length>=R)return;let z=uniqueSel(k),X=(k.outerHTML||"").slice(0,300);_.push({selector:z,attribute:v,currentValue:D,issueType:T,wcag:P,context:JSON.stringify(B),needsAI:true,outerHtml:X});}let j=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let k=0;k<j.length&&!(_.length>=R);k++){let v=j[k];if(!v||isWidget(v)||q(v)||!isVisible(v))continue;let D=getAccessibleName(v);if(!D)continue;let T=D.toLowerCase().trim(),P=T.split(/\s+/).filter(Boolean),B=()=>{if(!/^\p{L}$/u.test(D))return false;let te=v.nextElementSibling;if(!te)return false;let ee=te.tagName.toLowerCase(),Z=[];if(ee==="dl"?Z=Array.from(te.querySelectorAll("dt")):ee==="ul"||ee==="ol"?Z=Array.from(te.children).filter(be=>be.tagName==="LI"):ee==="table"&&(Z=Array.from(te.querySelectorAll("tbody tr, tr")).map(be=>be.cells&&be.cells[0])),Z=Z.filter(Boolean),Z.length<1)return false;let ie=D.toLowerCase();return Z.every(be=>(be.textContent||"").trim().toLowerCase().startsWith(ie))},z=false;if(D.length<F(D,3)?z=!B():(P.length===1&&(f.has(T)||N.has(T))||/^page\s*\d+$/i.test(T)||/^section\s*\d+$/i.test(T)||/^chapter\s*\d+$/i.test(T)||/^[^\p{L}\p{N}]+$/u.test(D))&&(z=true),!z)continue;let X=getNearbyContext(v);H(v,"textContent",D,"weak_heading","2.4.6",{currentText:D,tag:v.tagName.toLowerCase(),nearbyHeading:X.nearbyHeading,parentTag:X.parentTag,parentRole:X.parentRole});}let U=document.querySelectorAll("iframe");for(let k=0;k<U.length&&!(_.length>=R);k++){let v=U[k];if(!v||isWidget(v)||q(v))continue;let D=getComputedStyle(v);if(v.getClientRects().length===0||D.visibility==="hidden"||D.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let T=(v.getAttribute("title")||"").trim();if(!T)continue;let P=T.toLowerCase(),B=false;if((T.length<F(T,3)||L.test(P)||f.has(P))&&(B=true),!B)continue;let z=(v.getAttribute("src")||"").slice(0,120),X=getNearbyContext(v);H(v,"title",T,"weak_iframe_title","4.1.2",{currentTitle:T,src:z,nearbyHeading:X.nearbyHeading,parentTag:X.parentTag});}if(_.length<R){let k=document.querySelector("head > title, title"),v=(document.title||"").trim();if(k&&v){let D=v.toLowerCase(),T=false;(v.length<F(v,5)||M.test(D)||/^untitled/i.test(v))&&(T=true),T&&_.push({selector:"title",attribute:"textContent",currentValue:v,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:v,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}}let J=document.querySelectorAll("svg");for(let k=0;k<J.length&&!(_.length>=R);k++){let v=J[k];if(!v||isWidget(v)||q(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||!isVisible(v))continue;let D=v.querySelector("title"),T=D?(D.textContent||"").trim():"",P=(v.getAttribute("aria-label")||"").trim(),B=P||T;if(!B)continue;let z=B.toLowerCase(),X=false;if((B.length<F(B,3)||f.has(z)||/^(icon|svg|image|graphic|logo)$/i.test(B))&&(X=true),!X)continue;let te=v.closest('a, button, [role="button"], [role="link"]'),ee=getNearbyContext(v);H(v,P?"aria-label":"title",B,"weak_svg_name","1.1.1",{currentName:B,svgClasses:v.getAttribute("class")||"",parentTag:te?te.tagName.toLowerCase():ee.parentTag,parentHref:te&&te.getAttribute("href")||"",nearbyHeading:ee.nearbyHeading});}return _},Xh={name:"weakNames",cap:50,async detect(f){return f.evaluate(qI)}};var BI=()=>{let d=[],g=document.querySelector('meta[name="viewport"]');if(g){let p=(g.getAttribute("content")||"").trim(),y=p.toLowerCase(),A=false,w=[];(y.indexOf("user-scalable=no")>=0||y.indexOf("user-scalable=0")>=0)&&(A=true,w.push("user-scalable=no blocks pinch-zoom"));let F=["yes","no","device-width","device-height"],R=y.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);R&&F.indexOf(R[1])<0&&(A=true,w.push("user-scalable="+R[1]+" (invalid, parsed as 0)"));let _=y.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);_&&F.indexOf(_[1])<0&&(A=true,w.push("maximum-scale="+_[1]+" (invalid, parsed as 0)"));let x=y.match(/maximum-scale\s*=\s*([\d.]+)/);x&&parseFloat(x[1])<2&&(A=true,w.push("maximum-scale="+x[1]+" (<2)")),A&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let h=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<h.length&&!(d.length>=5);p++){let y=h[p];if(y.el)try{let w=(getComputedStyle(y.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&d.push({selector:y.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+y.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Yh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(BI)}};var HI=()=>{let d=[],g=document.body?document.body.querySelectorAll("*"):[];for(let h=0;h<g.length&&d.length<10;h++){let p=g[h],y=p.tagName.toLowerCase();if(y==="script"||y==="style"||y==="svg"||y==="textarea"||y==="select")continue;let A="";for(let q=p.firstChild;q;q=q.nextSibling)q.nodeType===3&&(A+=q.nodeValue);if(!A.replace(/\s+/g,"").length)continue;let w=getComputedStyle(p);if(w.display==="none"||w.visibility==="hidden"||w.display==="contents")continue;let F=w.overflowX,R=w.overflowY,_=F==="hidden"||F==="clip",x=R==="hidden"||R==="clip";if(!_&&!x||p.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let S=p.clientWidth,E=p.clientHeight;if(E<=1||S<=1)continue;let M=w.webkitLineClamp||w.getPropertyValue("-webkit-line-clamp");if(M&&M!=="none")continue;let L="";if(x&&p.scrollHeight>E+2?L="height "+E+"px < content "+p.scrollHeight+"px":_&&w.textOverflow!=="ellipsis"&&p.scrollWidth>S+2&&(L="width "+S+"px < content "+p.scrollWidth+"px"),!L){let q=parseFloat(w.fontSize);if(!(q>0))continue;let H=p.style.getPropertyValue("font-size"),j=p.style.getPropertyPriority("font-size");p.style.setProperty("font-size",q*2+"px","important");let U=p.clientHeight,J=p.clientWidth;x&&U>1&&p.scrollHeight>U+2?L="at 200%: height "+U+"px < content "+p.scrollHeight+"px":_&&w.textOverflow!=="ellipsis"&&J>1&&p.scrollWidth>J+2&&(L="at 200%: width "+J+"px < content "+p.scrollWidth+"px"),H?p.style.setProperty("font-size",H,j):p.style.removeProperty("font-size");}if(!L)continue;let N=typeof uniqueSel=="function"?uniqueSel(p):y;d.push({selector:N,attribute:"style",currentValue:(p.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+L,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+L+"). Violation when content or function is lost at 200% text size and no other mechanism shows it. Pass when the clipped part is decorative or repeated elsewhere, or the box grows or scrolls when text is resized.",outerHtml:(p.outerHTML||"").slice(0,300)});}return d},Kh={name:"textClip",cap:10,async detect(f){return f.evaluate(HI)}};var VI=()=>{let f=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),g=new Set,h=Math.min(d.length,200);for(let p=0;p<h;p++){let y=d[p];if(g.has(y)||!y.offsetParent)continue;g.add(y);let A=getComputedStyle(y),w=parseInt(A.order||"0",10),F=A.position;if(w>=3){let R=y.getBoundingClientRect();if(R.width>0&&R.height>0){let _=(y.textContent?.trim().length||0)>10,x=!!y.querySelector("a, button, input, select, textarea");(_||x)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${w}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${w} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(F==="absolute"){if(!!!y.querySelector("a, button, input, select, textarea"))continue;let _=y.parentElement;if(!_||_.children.length<=2)continue;let x=y.getBoundingClientRect(),S=_.getBoundingClientRect();(x.top<S.top-100||x.left<S.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${F}, displaced ${Math.round(Math.abs(x.top-S.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return f},Jh={name:"meaningfulSequence",async detect(f){return f.evaluate(VI)}};var Zh={name:"sensoryCharacteristics",async detect(f){let{instructionalTexts:d,controlLabels:g,navCount:h,labelTexts:p}=await f.evaluate(()=>{let w=[],F=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),R=Math.min(F.length,300),_=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(M=>{let L=((M.textContent||"")+" "+(M.getAttribute("aria-label")||"")+" "+(M.getAttribute("value")||"")).trim().toLowerCase();L&&_.push(L);});let x=M=>!!M.offsetParent||getComputedStyle(M).position==="fixed",S=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(x).length,E=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(M=>{if(!x(M))return;let L=((M.getAttribute("aria-label")||"")+" "+(M.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&M.textContent||"")).trim().toLowerCase();L&&L.length<=60&&E.push(L);});for(let M=0;M<R;M++){let L=F[M];if(!L.offsetParent||L.children.length>3||L.querySelector("p, div, ul, ol, li, table, section, article, nav, header, footer, main, aside, form, h1, h2, h3, h4, h5, h6")||L.closest('[aria-hidden="true"]'))continue;let N=L.textContent?.trim()||"";N.length<15||N.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(N)&&w.push({text:N,selector:typeof uniqueSel=="function"?uniqueSel(L):L.tagName.toLowerCase()});}return {instructionalTexts:w.slice(0,20),controlLabels:_,navCount:S,labelTexts:E}});if(d.length===0)return [];let y=[],A=w=>{let F=(w.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return F?h===1?true:p.some(R=>R.indexOf(F)!==-1):false};for(let{text:w,selector:F}of d){w.toLowerCase();let _=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(w)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(w),x=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(w)||A(w),S=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(w)&&!x&&/\b(click|tap|press|select|find)\b/i.test(w),E=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(w)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(w),M=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(w)&&/\b(click|tap|press|select|find)\b/i.test(w),L=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(w),N=(w.match(/\b(round|square|circular|triangular|arrow-shaped|red|green|blue|yellow|orange|purple|pink|gray|grey|white|black|large|small|big|tiny|narrow|wide)\b/i)||[])[1],q=!!N&&g.some(H=>H.indexOf(N.toLowerCase())!==-1);if(!(L||q)&&(_||S||E||M)){let H=_?"shape":S?"position":E?"color":"size";y.push({selector:F,attribute:"data-sensory-review",currentValue:w.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${H} alone: "${w.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return y}};var jI=()=>{let f=[],d=document.querySelectorAll("img");for(let g of d){if(!g.offsetParent||g.width<50||g.height<20||g.complete&&g.naturalWidth===0)continue;let h=g.src||g.getAttribute("data-src")||"",p=h.indexOf(","),y=(h.toLowerCase().startsWith("data:")&&p!==-1?h.slice(0,p):h).toLowerCase(),A=g.getAttribute("alt")||"",w=g.getAttribute("role")||"";if(g.getAttribute("aria-hidden")==="true"||!!g.closest('[aria-hidden="true"]')||w==="presentation"||w==="none"||g.hasAttribute("alt")&&A.trim()==="")continue;let R=g.width>200&&g.height<80&&g.height>15,_=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(y);if(!(_||R)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(y)&&!_)continue;let S=g.closest("a[href]"),E=(()=>{if(!S)return false;let J=S.getAttribute("href")||"";if(J==="/"||J==="")return true;try{let k=new URL(S.href,location.href);return k.origin!==location.origin?!1:!!(k.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(k.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(k.pathname))}catch{return false}})();if(E&&(S.textContent||"").trim().length===0)continue;let L="";if(S&&!E&&(S.textContent||"").trim().length===0)try{let J=new URL(S.href,location.href),k=A.trim().split(/\s+/).filter(Boolean);if(J.origin!==location.origin&&/^https?:$/.test(J.protocol)&&k.length>0&&k.length<=4&&A.trim().length<=40){let v=z=>z.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),D=v(A),T=J.hostname.toLowerCase().split(".").filter(z=>z&&z!=="www"),P=(T.length>1?T.slice(0,-1):T).map(v).filter(Boolean);L=D.length>=3&&(D===v(T.join(""))||D===P.join("")||P.some(z=>D===z||z.length>=5&&D.startsWith(z)))?"exempt":"review";}}catch{}let N=!!g.closest('header, [role="banner"], footer, [role="contentinfo"]'),q=g.height>0&&g.height<=120,H=N&&q,j=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,U=H||j.test(y)||j.test(g.className)||j.test(g.getAttribute("id")||"");y.includes("icon")||y.includes("avatar")||y.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"img",attribute:"data-image-of-text",currentValue:y.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${g.width}x${g.height}px, alt="${A.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:g.src,...U||L?{needsReview:true,reviewReason:H?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":L==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":L==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return f},Qh={name:"imagesOfText",async detect(f){return f.evaluate(jI)}};var eg={name:"reflow",async detect(f){let d=f;if(!d.setViewport)return [];let g=d.viewport?.()??{width:1280,height:720},h=g.width??1280,p=g.height??720;try{return await d.setViewport({width:320,height:p}),await new Promise(A=>setTimeout(A,500)),await f.evaluate(A=>{let w=[],F=document.querySelectorAll("body *"),R=Math.min(F.length,500);for(let _=0;_<R;_++){let x=F[_];if(!x.offsetParent)continue;let S=x.tagName.toLowerCase();if(S==="script"||S==="style"||S==="noscript")continue;let E=x.getBoundingClientRect();E.right>A+5&&E.width>A*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(x):S,attribute:"style",currentValue:`${Math.round(E.width)}px wide at ${A}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(E.width)}px wide and overflows the ${A}px viewport by ${Math.round(E.right-A)}px. Content must reflow to a single column at 320px CSS width without horizontal scrolling.`,needsAI:!1,fixValue:"max-width: 100%; overflow-wrap: break-word;"});}return document.documentElement.scrollWidth>A+10&&w.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${A}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${A}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),w},320)}finally{await d.setViewport({width:h,height:p}).catch(()=>{});}}};var $I=()=>{let f=[],d=document.querySelectorAll("video");for(let h of d){if(h.autoplay&&!h.muted&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(h):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(h.offsetParent!==null&&getComputedStyle(h).display!=="none"))continue;let y=h.getBoundingClientRect();if(y.width===0&&y.height===0||h.error)continue;let A=/mute|unmute|sound|volume|audio|play|pause/i,w=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(h.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let E=h.parentElement?.parentElement||null,M=0;E&&!w&&M<3;E=E.parentElement,M++)w=Array.from(E.querySelectorAll('button, [role="button"]')).some(L=>A.test((L.getAttribute("aria-label")||"")+" "+(L.getAttribute("title")||"")+" "+(L.textContent||"")));if((h.muted||h.hasAttribute("muted"))&&(h.loop||h.hasAttribute("loop"))&&!h.hasAttribute("controls")&&!w)continue;let F=h.querySelectorAll("track"),R=Array.from(F).find(E=>E.kind==="captions"||E.kind==="subtitles"),_=Array.from(F).find(E=>E.kind==="descriptions");h.src||h.querySelector("source")?.src||"";let S=typeof uniqueSel=="function"?uniqueSel(h):"video";R||f.push({selector:S,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:`Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Page language: ${(document.documentElement.getAttribute("lang")||"").trim()||"not declared"}; the caption track's srclang and label follow the spoken language, which only the audio settles.`,needsAI:false,fixValue:'Add a <track kind="captions" src="captions.vtt" srclang="[spoken language]" label="[language name]" default> element',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),_||f.push({selector:S,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let g=document.querySelectorAll("audio");for(let h of g){let p=typeof uniqueSel=="function"?uniqueSel(h):"audio";h.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||f.push({selector:p,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),h.autoplay&&!h.muted&&f.push({selector:p,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return f},tg={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate($I)).slice(0,50)}};var zI=()=>{let f=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let k=d.getAttribute("content")||"",v=parseInt(k,10);!isNaN(v)&&v>0&&v<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${k.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:k,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${v}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let g=document.querySelectorAll("[accesskey]");for(let k of g){let v=k.getAttribute("accesskey")||"";if(v.length===1){let D=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();f.push({selector:D,attribute:"accesskey",currentValue:v,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${v}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let h=document.querySelectorAll("select");for(let k of h){let v=k.hasAttribute("onchange"),D=k.getAttribute("onchange")||"";if(v&&/submit|location|href|navigate|window\./i.test(D)){let T=typeof uniqueSel=="function"?uniqueSel(k):"select";f.push({selector:T,attribute:"onchange",currentValue:D.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let p=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let k of p)if(!(k.hasAttribute("onclick")||k.hasAttribute("onkeydown")||k.hasAttribute("onkeyup"))){let D=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();f.push({selector:D,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let y=document.querySelectorAll("[onmousedown]");for(let k of y){let v=k.hasAttribute("onmouseup"),D=k.tagName.toLowerCase();if(!v&&D!=="a"&&D!=="button"&&D!=="input"){let T=typeof uniqueSel=="function"?uniqueSel(k):D;f.push({selector:T,attribute:"data-pointer-cancellation",currentValue:"mousedown action without mouseup",issueType:"pointer_cancellation",wcag:"2.5.2",context:"Element fires action on mouse down-event. Use click or mouseup instead so users can cancel by moving the pointer away before releasing.",needsAI:false,fixValue:"Move action from onmousedown to onclick or onmouseup"});}}let A=/devicemotion|deviceorientation|accelerometer|gyroscope/i,w=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,F=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,R=/(?:disable|turn off|switch off|stop|pause|deactivate|opt.?out)[^.]{0,40}(?:motion|shake|tilt|orientation|sensor|gyro|accelerometer)|(?:motion|shake|tilt|orientation|sensor)[^.]{0,40}(?:disable|turn off|switch off|opt.?out)/i;function _(){let k=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let v of Array.from(k)){let D=(v.textContent||"")+" "+(v.getAttribute("aria-label")||"")+" "+(v.getAttribute("value")||"");if(R.test(D))return true}return false}function x(k){return !A.test(k.replace(w,""))||F.test(k)?true:_()}let S=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let k of S){let v=k.textContent||"";if(A.test(v)&&!x(v)){let D=[],T=k;for(;T&&T!==document.body&&T!==document.documentElement;){let z=T.parentElement,X=T.tagName.toLowerCase(),te=z?Array.from(z.children).filter(Z=>Z.tagName===T.tagName):[],ee=te.indexOf(T)+1;D.unshift(ee>1||te.length>1?X+":nth-of-type("+ee+")":X),T=z;}let P=T===document.body?"body":T===document.documentElement?"html":"",B=(P?P+" > ":"")+D.join(" > ");f.push({selector:B||"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let E=document.querySelectorAll("form"),M='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',L=/\bcc-|card.?(?:number|num|no\b)|cardnumber|\bcvv|\bcvc|\bcsc\b|security.?code|\bexpir|\biban\b|routing|account.?(?:number|no\b)|sort.?code|\bbilling\b|transaction-(?:amount|currency)/i,N=/card|payment/i,q=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,H=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,j=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,U=/\b(?:save|update|change)\b/i,J=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let k of E){let v=Array.from(k.querySelectorAll(M)),D=He=>[He.getAttribute("name"),He.getAttribute("id"),He.getAttribute("autocomplete"),He.getAttribute("placeholder"),He.getAttribute("aria-label")].join(" "),T=Array.from(k.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(He=>He.tagName!=="BUTTON"||!He.getAttribute("type")||(He.getAttribute("type")||"").toLowerCase()==="submit").map(He=>(He.getAttribute("value")||"")+" "+(He.textContent||"")+" "+(He.getAttribute("aria-label")||"")).join(" . "),P=v.some(He=>L.test(D(He)))||Array.from(k.querySelectorAll("iframe")).some(He=>N.test((He.getAttribute("title")||"")+" "+(He.getAttribute("name")||""))),B=v.some(He=>/signature/i.test(D(He))),z=P||q.test(T),X=H.test(T),te=B||j.test(T),ee=v.length>0&&v.some(He=>(He.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(D(He)))&&v.every(He=>{let Mt=He.tagName.toLowerCase()==="input"?(He.getAttribute("type")||"text").toLowerCase():He.tagName.toLowerCase();return Mt==="email"||Mt==="checkbox"||Mt==="tel"?true:Mt==="text"||Mt==="search"?J.test(D(He)+" "+(He.closest("label")?.textContent||"")):false}),Z=(k.textContent||"").toLowerCase(),ie=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(Z),be=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(Z),de=/delete.*account|remove.*data|cancel.*account/i.test(Z),ke=z||X||te,De=ee&&(U.test(T)||de),Be=!ke&&(!ee&&(ie||be||de)||De);if(!ke&&!Be)continue;let _e=!!k.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),Ee=!!k.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(_e||Ee)continue;let bt=typeof uniqueSel=="function"?uniqueSel(k):"form",kt=ke?z?"financial":X?"data-deletion":"legal":De?de?"data-deletion":"data-modification":ie?"financial":be?"legal":"data-deletion";f.push({selector:bt,attribute:"data-error-prevention",currentValue:kt,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${kt.charAt(0).toUpperCase()+kt.slice(1)} form lacks a confirmation/review step. For ${kt} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...Be?{needsReview:true,reviewReason:De&&de?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":De?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${kt} topics but its controls show no ${kt} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return f},rg={name:"timingAndInput",async detect(f){return f.evaluate(zI)}};var GI=()=>{let f=[],d=document.querySelectorAll('nav, [role="navigation"]');for(let p of d){if(!p.offsetParent||p.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||p.parentElement?.closest('nav, [role="navigation"]'))continue;let y=p.getBoundingClientRect();if(y.top<=window.innerHeight)continue;let A=typeof uniqueSel=="function"?uniqueSel(p):"nav";f.push({selector:A,attribute:"data-nav-position",currentValue:`top: ${Math.round(y.top)}px`,issueType:"inconsistent_navigation",wcag:"3.2.3",context:"Primary navigation appears below the visible viewport on this page. WCAG 3.2.3 (Consistent Navigation) is a cross-page criterion and cannot be confirmed from a single page \u2014 manually verify this navigation appears in the same relative order across pages that share this template.",needsAI:true,needsReview:true,reviewReason:"Consistent Navigation (3.2.3) is a cross-page criterion; single-page position alone cannot confirm a violation."});}let g=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let p of g){if(!p.offsetParent)continue;let y=p.getBoundingClientRect();if(y.width<1||y.height<1||!(p.textContent||"").trim()&&!p.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(p).backgroundImage==="none")continue;let A=typeof uniqueSel=="function"?uniqueSel(p):p.tagName.toLowerCase();f.push({selector:A,attribute:"data-flashing",currentValue:p.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let h=document.querySelectorAll('img[src*=".gif"]');for(let p of h){if(!p.offsetParent||p.width<25||p.height<25)continue;let y=p.getBoundingClientRect();if(y.width>100&&y.height>100){let A=typeof uniqueSel=="function"?uniqueSel(p):"img";f.push({selector:A,attribute:"data-animated-gif",currentValue:(p.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return f},ng={name:"navigationAndWayfinding",async detect(f){return f.evaluate(GI)}};var ag={name:"flashDetection",async detect(f){let d=[];if(!f.screenshot)return d;let h=await f.evaluate(()=>{let _=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(_){let x=document.querySelectorAll("*");for(let S of x)S.style.removeProperty("animation-play-state"),S.style.removeProperty("transition");}return _}),p=8,y=120,A=9,w=3,F=[];for(let R=0;R<p;R++){let _=await f.evaluate(x=>{let S=window.innerWidth,E=window.innerHeight,M=3,L=3,N=[];for(let q=0;q<L;q++)for(let H=0;H<M;H++){let j=Math.floor((H+.5)*(S/M)),U=Math.floor((q+.5)*(E/L)),J=document.elementFromPoint(j,U);if(!J){N.push(0);continue}let v=getComputedStyle(J).backgroundColor||"rgba(0,0,0,0)",D=typeof parseCssColor=="function"?parseCssColor(v):null;if(!D){N.push(0);continue}let T=.2126*D[0]+.7152*D[1]+.0722*D[2];N.push(T);}return N},A);F.push(_),R<p-1&&await new Promise(x=>setTimeout(x,y));}h&&await f.evaluate(()=>{let R=document.querySelectorAll("*");for(let _ of R)_.style.setProperty("animation-play-state","paused","important"),_.style.setProperty("transition","none","important");});for(let R=0;R<A;R++){let _=0,x=F[0][R],S=null;for(let L=1;L<p;L++){let N=F[L][R];if(Math.abs(N-x)>25){let H=N>x?"up":"down";S&&H!==S&&_++,S=H;}x=N;}let E=p*y/1e3,M=_/E;if(M>=w){let L=R%3,N=Math.floor(R/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${M.toFixed(1)} flashes/sec in region (${L},${N})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${M.toFixed(1)} times/second in screen region (row ${N}, col ${L}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return d}};var ig={name:"reducedMotion",async detect(f){let d=[],g=await f.evaluate(()=>{let h=false,p=false;for(let A of document.styleSheets)try{for(let w of A.cssRules){let F=w.cssText||"";/animation|transition|@keyframes/i.test(F)&&!/prefers-reduced-motion/.test(F)&&(h=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(p=!0);}}catch{}let y=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return y.length>0&&(h=true),{hasAnimations:h,hasReducedMotionQuery:p,animatedCount:y.length}});return g.hasAnimations&&!g.hasReducedMotionQuery&&d.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${g.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),d}};var UI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,p=v=>v!==null&&!h.test(v.trim()),y=v=>{let D=parseFloat((v||"").trim());return Number.isFinite(D)&&D>0},A=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,w=v=>v.split(/[\s_-]+/).filter(Boolean),F=v=>{if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let D=typeof v.className=="string"?v.className:v.getAttribute("class")||"";return w(D).some(T=>A.test(T))},R=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,_=v=>{let D=v.trim();if(!D.startsWith("{"))return "";let T;try{T=JSON.parse(D);}catch{try{T=JSON.parse(D.replace(/'/g,'"'));}catch{return ""}}if(!T||typeof T!="object")return "";for(let P of Object.keys(T)){if(!R.test(P))continue;let B=T[P];if(B===true||typeof B=="number"&&B>0||typeof B=="string"&&p(B)&&B.trim()!==""||B&&typeof B=="object")return `${P}: ${JSON.stringify(B).slice(0,40)}`}return ""},x=v=>{for(let P of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!v.hasAttribute(P))continue;let B=v.getAttribute(P)||"";if((B.trim()===""||p(B))&&(F(v)||U(v)>=2))return {attr:P,value:B}}let D=["data-interval","data-bs-interval"].some(P=>v.hasAttribute(P)&&h.test((v.getAttribute(P)||"").trim()));for(let P of ["data-ride","data-bs-ride"])if((v.getAttribute(P)||"").trim().toLowerCase()==="carousel"&&!D)return {attr:P,value:"carousel"};for(let P of ["data-interval","data-bs-interval"]){let B=v.getAttribute(P);if(y(B)&&F(v))return {attr:P,value:B||""}}let T=F(v);for(let P of Array.from(v.attributes)){if(!P.name.startsWith("data-")||!T&&!w(P.name.slice(5)).some(z=>A.test(z)))continue;let B=_(P.value);if(B)return {attr:P.name,value:B}}if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let P=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let B of Array.from(v.attributes)){if(/(^|-)autoplay$/i.test(B.name)&&(B.value.trim()===""||p(B.value)))return {attr:B.name,value:B.value.slice(0,60)};if(/autoplay/i.test(B.value)&&!P.test(B.value))return {attr:B.name,value:B.value.slice(0,60)}}}return null},S=/^(pause|stop|play|playpause|resume)$/i,E=/\b(pause|stop|play|resume)\b/i,M=v=>{let D=[v.getAttribute("aria-label")||"",v.getAttribute("title")||"",v.getAttribute("value")||"",(v.textContent||"").trim().slice(0,80)],T=(v.getAttribute("aria-labelledby")||"").trim();if(T)for(let P of T.split(/\s+/))D.push(document.getElementById(P)?.textContent||"");for(let P of Array.from(v.querySelectorAll("img[alt]")))D.push(P.getAttribute("alt")||"");return D.join(" ")},L=v=>{let D=v.getAttribute("class")||"";return w(D).some(T=>S.test(T))?true:v.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?E.test(M(v)):false},N=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,q=v=>F(v)||x(v)!==null||Array.from(v.querySelectorAll("*")).some(D=>F(D)||x(D)!==null),H=v=>{if(v.querySelector("[aria-pressed]"))return true;let D=[v];for(let B of Array.from(v.parentElement?.children||[]))B===v||N.test(B.tagName)||q(B)||D.push(B);let T=v.getAttribute("id"),P=B=>{let z=[...(B.getAttribute("aria-controls")||"").split(/\s+/),(B.getAttribute("data-bs-target")||B.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return z.length>0&&!z.includes(T||"")};for(let B of D){if(B!==v&&L(B)&&!P(B))return true;for(let z of Array.from(B.querySelectorAll("*")))if(L(z)&&!P(z))return true}if(T){let B=typeof CSS<"u"&&CSS.escape?CSS.escape(T):T.replace(/["\\]/g,"\\$&");for(let z of Array.from(document.querySelectorAll(`[aria-controls~="${B}"], [data-target="#${B}"], [data-bs-target="#${B}"]`)))if(L(z))return true}return false},j=/^(slide|cell)$/i,U=v=>{let D=z=>w(z.getAttribute("class")||"").some(X=>j.test(X))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(z.getAttribute("class")||""),T=Array.from(v.querySelectorAll("[class]")).filter(D),P=T.filter(z=>!T.some(X=>X!==z&&X.contains(z)));if(!P.length)return 0;let B=P.length;for(let z of P){let X=Array.from(z.parentElement?.children||[]).filter(te=>te.tagName===z.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(te.getAttribute("class")||""));B=Math.max(B,X.length);}return B},J=new Set,k=(v,D)=>{if(g.length>=10||J.has(v)||(J.add(v),v.closest(f))||v.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(v)||U(v)===1||H(v))return;let T=typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase();g.push({selector:T,attribute:D.attr,currentValue:D.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${D.attr}="${D.value.slice(0,60)}") and no pause / stop control sits in or beside it`,message:"carousel starts automatically and has no pause or stop control",needsAI:false,manualFix:true,reviewReason:"add a visible pause / stop control for the slider (or turn autoplay off); no attribute write fixes this",outerHtml:v.cloneNode(false).outerHTML.slice(0,300)});};for(let v of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(g.length>=10)break;if(!v.attributes.length)continue;if(v.hasAttribute("data-swiper-autoplay")&&y(v.getAttribute("data-swiper-autoplay"))){let T=v.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||v.parentElement?.parentElement||v;k(T,{attr:"data-swiper-autoplay",value:v.getAttribute("data-swiper-autoplay")||""});continue}let D=x(v);D&&k(v,D);}return g},og={name:"carouselAutoplay",cap:10,async detect(f){return f.evaluate(UI)}};var gg=[Xh,Bh,Gh,dh,Rh,Th,vh,Vh,xh,Wh,Dh,$h,fh,qh,Fh,yh,Ph,Eh,Nh,Ih,Yh,Kh,Lh,hh,gh,Mh,jh,Uh,bh,zh,ph,Oh,Jh,Zh,Qh,eg,tg,rg,ng,ag,ig,og],vM=[ch,mh,wh,Hh];function vg(f,d,g){f?.push({tool:d,kind:"engine-failed",detail:`detector threw, its findings are absent: ${g?.message??String(g)}`});}async function bg(f,d,g,h){let p=d??[],y=[];try{let{detectPlatform:H}=await Promise.resolve().then(()=>(Eu(),_u));y=await H(f);}catch{}try{let{UNIQUE_SELECTOR_JS:H,IS_VISIBLE_JS:j,ACCESSIBLE_NAME_JS:U,WIDGET_SKIP_JS:J,IS_HIDDEN_FROM_AT_JS:k,IS_TRACKING_PIXEL_JS:v,NEARBY_CONTEXT_JS:D}=await Promise.resolve().then(()=>(ug(),lg)),{ICON_LABELS_JS:T}=await Promise.resolve().then(()=>(dg(),cg)),{COLOR_MATH_JS:P}=await Promise.resolve().then(()=>(pg(),fg)),z=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
384
- `+[H,j,U,J,k,v,D,T,P].join(`
385
- `),{inject:X}=await Promise.resolve().then(()=>(Hr(),gn));try{await X(f,{tool:"detector-helpers",content:z});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(z)})`);}}catch(H){console.warn("[webability] helper injection failed:",H.message),(g??[]).push("color:kernel-injection-failed");}let A=[],w="";try{let{applyPlatformTemplates:H}=await Promise.resolve().then(()=>(Eu(),_u)),j=y;w=j.filter(U=>U!=="universal"&&U!=="universal_iframe").join(", "),A=await H(f,j);}catch{}let{guardDetectorState:F}=await Promise.resolve().then(()=>(Hr(),gn)),R=globalThis.process?.env?.WA_STRICT_STATE==="1",_={strict:R,bugs:h?.internalBugs},x=await F(f,"detectors:parallel",g??[],()=>Promise.allSettled((h?.experimental?[...gg,...vM]:gg).map(async H=>{try{let j=await H.detect(f);return H.cap&&j.length>=H.cap&&p.push({detector:H.name,cap:H.cap}),j}catch(j){return vg(h?.internalBugs,H.name,j),[]}})),_),S=[];h?.skipFocusMutating&&(g??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let E=[...h?.skipFocusMutating?[]:[_h,Ah],...h?.extraSerialDetectors??[]];for(let H of E){let j=[];try{j=await F(f,H.name,g??[],()=>H.detect(f).catch(U=>(vg(h?.internalBugs,H.name,U),[])),_);}catch(U){if(R)throw U}try{H.cap&&j.length>=H.cap&&p.push({detector:H.name,cap:H.cap}),S=S.concat(j);}catch{}}let M=[...x.flatMap(H=>H.status==="fulfilled"?H.value:[]),...S];if(w)for(let H of M)H.needsAI&&(H.context=uh(H.context,w));let L=[...A,...M],N=bM(L),q=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return N.filter(H=>{let j=H.selector.toLowerCase();return j.trim()?!q.some(U=>j.includes(U)):false})}function bM(f){let d=new Set;return f.filter(g=>{let h=`${g.selector}::${g.issueType}`;return d.has(h)?false:(d.add(h),true)})}var yg="1.17.0";var Su=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function ku(f){return f.includes("wcag21aa")||f.includes("wcag22aa")||f.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function wg(f,d){return d==="AAA"&&!f.includes("wcag2aaa")?[...f,"wcag2aaa"]:f}var yM={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.1.4":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.2.6":"A","3.3.1":"A","3.3.2":"A","3.3.7":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","3.3.8":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.3.6":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AAA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","2.4.12":"AAA","2.4.13":"AAA","2.5.5":"AAA","2.5.6":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA","3.3.9":"AAA"};function wM(f){return yM[f]}var ni={A:1,AA:2,AAA:3};function xg(f){let d=String(f.wcag||"").split(/[,\s]+/).filter(h=>/^\d+\.\d+\.\d+$/.test(h));if(d.length===0)return f.level??"AA";let g;for(let h of d){let p=wM(h);p&&(!g||ni[p]<ni[g])&&(g=p);}return g}function ra(f,d="AA"){let g=ni[d]??ni.AA;return f.filter(h=>{let p=xg(h);return !!p&&ni[p]<=g})}var xM=new Set(["new_window_link","external_link_warning","download_link_warning"]);function Dg(f){let d=xM.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",g=f.attribute==="style",h=f.attribute.startsWith("data-"),p=g&&f.fixValue?DM(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${ai(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:xg({wcag:f.wcag})??"AA",impact:d,message:AM(f,p,h),selector:f.selector,html:f.outerHtml,...f.needsReview?{confidence:"needs_review"}:{},...f.reviewReason?{reviewReason:f.reviewReason}:{},fix:{attribute:f.attribute,currentValue:f.currentValue,suggestedValue:p,needsManualReview:f.needsAI||g||h||!!f.needsReview||!!f.manualFix}}}function DM(f){let d=f.trim();if(!d)return "";let g=d.endsWith(";"),p=d.split(";").map(y=>{let w=y.toLowerCase().lastIndexOf("!important");return w===-1?y.trim():y.slice(0,w).trim()}).filter(y=>y.length>0);return p.length===0?"":p.join(";")+(g?";":"")}function AM(f,d,g){if(f.message)return f.message;let h=f.issueType.replace(/_/g," "),p=d??f.fixValue;return g?p?`${h}: ${p}`:f.currentValue?`${h}: ${f.currentValue}`:f.context?`${h}: ${f.context}`:h:p?`${h}: set ${f.attribute}="${p}"`:f.currentValue?`${h}: ${f.attribute} is "${f.currentValue}"`:`${h}: missing ${f.attribute}`}function na(f){return Array.isArray(f)?f.flat(1/0).filter(g=>typeof g=="string").join(" >>> "):typeof f=="string"?f:""}function ai(f){let d=0;for(let g=0;g<f.length;g++)d=(d<<5)-d+f.charCodeAt(g)|0;return Math.abs(d).toString(36)}function Tu(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function Ru(f,d=[]){return {total:f.length,critical:f.filter(g=>g.impact==="critical").length,serious:f.filter(g=>g.impact==="serious").length,moderate:f.filter(g=>g.impact==="moderate").length,minor:f.filter(g=>g.impact==="minor").length,incomplete:0}}function _M(f){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(f);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function Fu(f){for(let d of f){let g=_M(d);if(g)return g}return ""}function Iu(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function Eg(f,d){try{let{AxeBuilder:g}=await import('@axe-core/playwright'),h=typeof f.mainFrame=="function"?f:f.axePage?.()??f;return await new g({page:h}).options({rules:ku(d)}).withTags(d).analyze()}catch{return EM(f,d)}}async function EM(f,d){let g=await Promise.resolve().then(()=>Z3(_g())),h=g.source??g.default?.source;if(!h)throw new Error("axe-core source unavailable");try{await f.evaluate(h);}catch{let{inject:y}=await Promise.resolve().then(()=>(Hr(),gn));await y(f,{tool:"axe",content:h});}return await f.evaluate(({wcagTags:y,rules:A})=>new Promise((w,F)=>{let R=window;if(!R.axe)return F(new Error("axe-core not loaded"));R.axe.run(document,{runOnly:{type:"tag",values:y},rules:A,resultTypes:["violations","incomplete"]}).then(w).catch(F);}),{wcagTags:d,rules:ku(d)})}function Mu(f){let d=[],g=[];for(let h of f)h.confidence==="needs_review"||SM(h)?g.push(h):d.push(CM(h));return {verdicts:d,undecided:g}}function CM(f){if(f.confidence===void 0&&f.reviewReason===void 0)return f;let{confidence:d,reviewReason:g,...h}=f;return h}function SM(f){let d=(f.type||"").toLowerCase(),g=f.wcag||"",h=f.html||"",p=(f.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||g==="1.4.3"||g==="1.4.11")&&kM(h))return "background uses gradient or image";if(d==="image_of_text"||g==="1.4.5"){let y=Cg(h,"src").toLowerCase();y.startsWith("data:")&&(y=y.split(",")[0]);let A=Cg(h,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(y))return "brand imagery";if(A.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(A))return "branded imagery"}return (d==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(h)||/<aside/i.test(h))?"footer/aside nav":""}function kM(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function Cg(f,d){let g=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),h=f.match(g);return h?h[1]:""}Hr();var Sg=60,kg=3,Tg=120,Rg=1200,Fg=300,Ig=2e5,Mg=8e3,TM=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),RM="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function FM(f){let{selectors:d,maxBoxes:g,maxW:h,maxH:p,maxArea:y}=f,A=document.documentElement.scrollWidth,w=document.documentElement.scrollHeight,F=document.createElement("canvas");F.width=F.height=1;let R=F.getContext("2d",{willReadFrequently:true}),_=N=>{try{R.clearRect(0,0,1,1),R.fillStyle="#000",R.fillStyle=N,R.fillRect(0,0,1,1);let q=R.getImageData(0,0,1,1).data;return [q[0],q[1],q[2],q[3]]}catch{return null}},x={},S=document.querySelectorAll("video,canvas,iframe,embed,object");if(S.length>200){for(let N of d)x[N]=null;return x}let E=Array.from(S).map(N=>N.getBoundingClientRect()),M=window.scrollX,L=window.scrollY;for(let N of d){x[N]=null;let q=null;try{q=document.querySelector(N);}catch{continue}if(!q)continue;let H=getComputedStyle(q);if(H.visibility!=="visible"||H.display==="none"||H.webkitBackgroundClip==="text"||H.backgroundClip==="text")continue;let j=false,U=0;for(let Z=q;Z;Z=Z.parentElement){if(++U>64){j=true;break}let ie=getComputedStyle(Z);parseFloat(ie.opacity)<1&&(j=true),(ie.mixBlendMode!=="normal"||ie.filter!=="none")&&(j=true);}if(j)continue;let J=_(H.color);if(!J||J[3]<255)continue;let k=parseFloat(H.fontSize),v=parseInt(H.fontWeight,10)>=700,D=k>=24||v&&k>=18.66,T=[],P=q.getBoundingClientRect();if(P.height>p*g||P.width>h*2)continue;let B=document.createTreeWalker(q,NodeFilter.SHOW_TEXT),z,X=0,te=false;for(;!te&&(z=B.nextNode());){if(++X>50){te=true;break}if(z.parentElement!==q)continue;let Z=z.textContent||"";if(Z.length>2e3){te=true;break}if(!Z.trim())continue;let ie=document.createRange();ie.selectNodeContents(z);let be=ie.getClientRects();if(be.length>g){te=true;break}for(let de=0;de<be.length;de++){let ke=be[de];if(!(ke.width<2||ke.height<2)&&(T.push({x:Math.round(ke.left+M),y:Math.round(ke.top+L),w:Math.max(1,Math.round(ke.width)),h:Math.max(1,Math.round(ke.height))}),T.length>g)){te=true;break}}}te||T.length===0||T.length>g||T.some(Z=>Z.w>h||Z.h>p||Z.w*Z.h>y||Z.x<0||Z.y<0||Z.x+Z.w>A||Z.y+Z.h>w)||T.some(Z=>E.some(ie=>Z.x<ie.right+M&&Z.x+Z.w>ie.left+M&&Z.y<ie.bottom+L&&Z.y+Z.h>ie.top+L))||(x[N]={fg:`rgb(${J[0]},${J[1]},${J[2]})`,threshold:D?3:4.5,boxes:T});}return x}async function IM(f){let{b64:d,fg:g}=f,h=atob(d),p=new Uint8Array(h.length);for(let j=0;j<h.length;j++)p[j]=h.charCodeAt(j);let y=await createImageBitmap(new Blob([p],{type:"image/png"})),A=document.createElement("canvas");A.width=y.width,A.height=y.height;let w=A.getContext("2d",{willReadFrequently:true});w.drawImage(y,0,0);let F=w.getImageData(0,0,A.width,A.height).data,R=j=>{let U=j/255;return U<=.03928?U/12.92:Math.pow((U+.055)/1.055,2.4)},_=(j,U,J)=>.2126*R(j)+.7152*R(U)+.0722*R(J),x=g.match(/\d+/g).map(Number),S=_(x[0],x[1],x[2]),E=Math.max(1,Math.floor(Math.sqrt(A.width*A.height/1500))),M=0,L=1/0,N="",q="",H=0;for(let j=0;j<A.height;j+=E)for(let U=0;U<A.width;U+=E){let J=(j*A.width+U)*4;if(F[J+3]<255)continue;let k=_(F[J],F[J+1],F[J+2]),v=Math.max(S,k),D=Math.min(S,k),T=(v+.05)/(D+.05);T>M&&(M=T,q=`rgb(${F[J]},${F[J+1]},${F[J+2]})`),T<L&&(L=T,N=`rgb(${F[J]},${F[J+1]},${F[J+2]})`),H++;}return H===0?null:{best:M,worst:L,worstBg:N,bestBg:q}}var jo=class extends Error{};function vr(f,d){let g=d-Date.now();if(g<=0)return Promise.reject(new jo("pixel pass deadline"));let h,p=new Promise((y,A)=>{h=setTimeout(()=>A(new jo("pixel pass deadline")),g);});return Promise.race([f,p]).finally(()=>clearTimeout(h))}async function Lu(f,d){let g=f.screenshot;if(typeof g!="function"||d.length===0)return [];let h=Array.from(new Set(d)).slice(0,Sg),p=[],y=false,A=Date.now()+Mg;try{await vr(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),A);let w=await vr(f.evaluate(FM,{selectors:h,maxBoxes:kg,maxW:Rg,maxH:Fg,maxArea:Ig}),A);await vr(Vo(f,{tool:"contrast-pixels",css:RM}),A),y=!0;let F=0;for(let R of h){let _=w[R];if(!_)continue;if(Date.now()>A||F+_.boxes.length>Tg)break;let x=0,S=1/0,E="",M="",L=!0;for(let N of _.boxes){F++;let q=await vr(g.call(f,{clip:{x:N.x,y:N.y,width:N.w,height:N.h},fullPage:!0,type:"png",animations:"disabled"}),A),H=globalThis.Buffer,j=H?H.from(q).toString("base64"):"",U=await vr(f.evaluate(IM,{b64:j,fg:_.fg}),A);if(!U){L=!1;break}U.best>x&&(x=U.best,M=U.bestBg),U.worst<S&&(S=U.worst,E=U.worstBg);}L&&p.push({selector:R,fail:x<_.threshold*.97,bestRatio:x,worstRatio:S,...E?{worstBg:E}:{},...M?{bestBg:M}:{},threshold:_.threshold,fg:_.fg});}}catch(w){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",w);}finally{if(y)try{await Promise.race([f.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(w=>w.remove())),new Promise(w=>setTimeout(w,1e3))]);}catch{}}return p}function MM(f){let{selectors:d,maxBoxes:g,maxW:h,maxH:p,maxArea:y}=f,A=document.documentElement.scrollWidth,w=document.documentElement.scrollHeight,F=window.scrollX,R=window.scrollY,_={};for(let x of d){_[x]=null;let S=null;try{S=document.querySelector(x);}catch{continue}if(!S)continue;let E=getComputedStyle(S);if(E.visibility!=="visible"||E.display==="none"||!(E.webkitBackgroundClip==="text"||E.backgroundClip==="text"))continue;let M=false,L=0;for(let D=S;D;D=D.parentElement){if(++L>64){M=true;break}let T=getComputedStyle(D);(parseFloat(T.opacity)<1||T.mixBlendMode!=="normal"||T.filter!=="none")&&(M=true);}if(M)continue;let N=parseFloat(E.fontSize),q=parseInt(E.fontWeight,10)>=700,H=N>=24||q&&N>=18.66,j=[],U=document.createTreeWalker(S,NodeFilter.SHOW_TEXT),J,k=0,v=false;for(;!v&&(J=U.nextNode());){if(++k>50){v=true;break}if(!(J.textContent||"").trim())continue;let D=document.createRange();D.selectNodeContents(J);let T=D.getClientRects();for(let P=0;P<T.length;P++){let B=T[P];if(!(B.width<2||B.height<2)&&(j.push({x:Math.round(B.left+F),y:Math.round(B.top+R),w:Math.max(1,Math.round(B.width)),h:Math.max(1,Math.round(B.height))}),j.length>g)){v=true;break}}}v||j.length===0||j.some(D=>D.w>h||D.h>p||D.w*D.h>y||D.x<0||D.y<0||D.x+D.w>A||D.y+D.h>w)||(_[x]={threshold:H?3:4.5,boxes:j});}return _}async function LM(f){let d=async S=>{let E=atob(S),M=new Uint8Array(E.length);for(let H=0;H<E.length;H++)M[H]=E.charCodeAt(H);let L=await createImageBitmap(new Blob([M],{type:"image/png"})),N=document.createElement("canvas");N.width=L.width,N.height=L.height;let q=N.getContext("2d",{willReadFrequently:true});return q.drawImage(L,0,0),{w:N.width,h:N.height,d:q.getImageData(0,0,N.width,N.height).data}},g=await d(f.painted),h=await d(f.backdrop);if(g.w!==h.w||g.h!==h.h)return null;let p=S=>{let E=S/255;return E<=.03928?E/12.92:Math.pow((E+.055)/1.055,2.4)},y=(S,E,M)=>.2126*p(S)+.7152*p(E)+.0722*p(M),A=g.w,w=g.h,F=new Uint8Array(A*w);for(let S=0;S<A*w;S++){let E=S*4;F[S]=Math.abs(g.d[E]-h.d[E])+Math.abs(g.d[E+1]-h.d[E+1])+Math.abs(g.d[E+2]-h.d[E+2])>48?1:0;}let R=2,_=[];for(let S=R;S<w-R;S++)for(let E=R;E<A-R;E++){let M=S*A+E;if(!F[M])continue;let L=true;for(let j=-R;j<=R&&L;j++)for(let U=-R;U<=R;U++)if(!F[M+j*A+U]){L=false;break}if(!L)continue;let N=M*4,q=y(g.d[N],g.d[N+1],g.d[N+2]),H=y(h.d[N],h.d[N+1],h.d[N+2]);_.push({ratio:(Math.max(q,H)+.05)/(Math.min(q,H)+.05),fg:`rgb(${g.d[N]},${g.d[N+1]},${g.d[N+2]})`,bg:`rgb(${h.d[N]},${h.d[N+1]},${h.d[N+2]})`});}if(_.length<40)return null;_.sort((S,E)=>S.ratio-E.ratio);let x=_[Math.floor(_.length*.02)];return {worst:x.ratio,best:_[_.length-1].ratio,worstFg:x.fg,worstBg:x.bg,core:_.length}}async function PM(f,d){let g=f.screenshot;if(typeof g!="function"||d.length===0)return [];let h=Array.from(new Set(d)).slice(0,Sg),p=[],y=false,A=Date.now()+Mg;try{await vr(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),A);let w=await vr(f.evaluate(MM,{selectors:h,maxBoxes:kg,maxW:Rg,maxH:Fg,maxArea:Ig}),A);await vr(Vo(f,{tool:"contrast-gradient-text",css:"[data-wa-gt]{background-image:none!important;background-color:transparent!important}"}),A),y=!0;let F=0;for(let R of h){let _=w[R];if(!_)continue;if(Date.now()>A||F+_.boxes.length*2>Tg)break;let x=1/0,S=0,E="",M="",L=!0,N=globalThis.Buffer;for(let q of _.boxes){F+=2;let H={x:q.x,y:q.y,width:q.w,height:q.h},j=await vr(g.call(f,{clip:H,fullPage:!0,type:"png",animations:"disabled"}),A);await vr(f.evaluate(k=>{document.querySelector(k)?.setAttribute("data-wa-gt","1");},R),A);let U;try{U=await vr(g.call(f,{clip:H,fullPage:!0,type:"png",animations:"disabled"}),A);}finally{await f.evaluate(k=>{document.querySelector(k)?.removeAttribute("data-wa-gt");},R).catch(()=>{});}let J=await vr(f.evaluate(LM,{painted:N?N.from(j).toString("base64"):"",backdrop:N?N.from(U).toString("base64"):""}),A);if(!J){L=!1;break}J.worst<x&&(x=J.worst,E=J.worstFg,M=J.worstBg),J.best>S&&(S=J.best);}!L||!isFinite(x)||p.push({selector:R,fail:x<_.threshold*.97,bestRatio:S,worstRatio:x,worstBg:M,threshold:_.threshold,fg:E,gradientText:!0});}}catch(w){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("gradient text judge failed",w);}finally{if(y)try{await Promise.race([f.evaluate(()=>{document.querySelectorAll('style[data-wa-injected^="contrast-gradient-text:"]').forEach(w=>w.remove()),document.querySelectorAll("[data-wa-gt]").forEach(w=>w.removeAttribute("data-wa-gt"));}),new Promise(w=>setTimeout(w,1e3))]);}catch{}}return p}function OM(f,d){let{confidence:g,reviewReason:h,...p}=f;return {...p,id:f.id.replace("axe-incomplete-","axe-"),impact:"serious",message:d.gradientText?`contrast: gradient text \u2014 worst stop ${d.fg} is ${d.worstRatio.toFixed(2)}:1 on ${d.worstBg??"its backdrop"}, needs ${d.threshold}:1 (measured from the painted glyph pixels)`:`contrast: ${d.fg} text on its rendered background is at best ${d.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${d.threshold}:1`}}async function Lg(f,d,g,h){let p=d.filter(_=>_.wcag!=="1.4.3"||!_.selector?false:_.source==="axe-core"?TM.has(g.get(_.id)??""):_.type==="contrast_insufficient"&&/gradient or image|gradient-clipped/.test(_.reviewReason??""));if(p.length===0)return [];let y=_=>/gradient-clipped/.test(_.reviewReason??""),A=[...await Lu(f,p.filter(_=>!y(_)).map(_=>_.selector)),...await PM(f,p.filter(y).map(_=>_.selector))];if(h)for(let _ of A)h.set(_.selector,_);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${p.length} candidates, ${A.length} measured, ${A.filter(_=>_.fail).length} fail`);let w=new Map(A.filter(_=>_.fail).map(_=>[_.selector,_])),F=[],R=new Set;for(let _ of p){let x=w.get(_.selector);!x||R.has(_.selector)||(R.add(_.selector),F.push(OM(_,x)));}return F}function NM(f){f=f.replace("#",""),f.length===3&&(f=f[0]+f[0]+f[1]+f[1]+f[2]+f[2]);let d=parseInt(f,16);return [d>>16&255,d>>8&255,d&255]}function Pu(f){let d=f/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function Pg(f,d,g){return .2126*Pu(f)+.7152*Pu(d)+.0722*Pu(g)}function qM(f,d){let g=Math.max(f,d),h=Math.min(f,d);return (g+.05)/(h+.05)}function Og(f){if(f.startsWith("#"))return NM(f);let d=f.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return d?[parseInt(d[1]),parseInt(d[2]),parseInt(d[3])]:null}function In(f,d){let g=Og(f),h=Og(d);return !g||!h?0:qM(Pg(...g),Pg(...h))}var BM=30,HM=10,VM=2e4,jM=30,$M=400*1024,zM="https://openrouter.ai/api/v1",GM="anthropic/claude-haiku-4.5",Ng="deepseek/deepseek-v4-flash",qg=400,Bg=125,Ou=160,UM=2e3,$o=new Map;function WM(f){let d=0;for(let g=0;g<f.length;g++)d=(d<<5)-d+f.charCodeAt(g)|0;return Math.abs(d).toString(36)}var Nu=f=>f.wcag||f.type,Hg=(f,d,g)=>`${f}|${d.selector}|${Nu(d)}|${WM(g)}`,qu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function XM(f){let{selectors:d,maxHtml:g}=f,h={elements:{}},p=[],y=N=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(N)&&!/^\s*not\b/i.test(N),A=N=>{let q=N.split(",").map(H=>H.trim()).filter(Boolean);return q.length?q.every(H=>{let j=H.match(/^(-?[\d.]+)(ms|s)$/i);return j?parseFloat(j[1])*(j[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},w=(N,q,H)=>{if(!(H>8))for(let j of Array.from(N)){let U=j.media?.mediaText,J=q||typeof U=="string"&&y(U),k=j.style,v=j.selectorText;if(J&&k&&typeof v=="string"){let P=k.getPropertyValue("animation-name").trim(),B=/^none(\s*,\s*none)*$/i.test(P)||A(k.getPropertyValue("animation-duration"))||/^paused/i.test(k.getPropertyValue("animation-play-state").trim()),z=/^none(\s*,\s*none)*$/i.test(k.getPropertyValue("transition-property").trim())||A(k.getPropertyValue("transition-duration"));(B||z)&&p.push({selector:v,anim:B,trans:z});}let D=j.cssRules;D&&D.length&&w(D,J,H+1);let T=j.styleSheet;if(T)try{w(T.cssRules,J||y(j.media?.mediaText||""),H+1);}catch{}}};try{for(let N of Array.from(document.styleSheets))try{w(N.cssRules,y(N.media?.mediaText||""),0);}catch{}}catch{}let F=(N,q)=>{try{return N.matches(q)}catch{return false}},R=N=>N.split(",").map(q=>{let H=q.trim().match(/^(-?[\d.]+)(ms|s)$/i);return H?parseFloat(H[1])*(H[2].toLowerCase()==="s"?1e3:1):0}),_=N=>{let q=N.cloneNode(true);q.querySelectorAll("script, style").forEach(j=>j.remove());let H=(q.textContent||"").replace(/\s+/g," ").trim();if(!H){for(let j of Array.from(N.querySelectorAll("img[alt], [aria-label]")))if(H=(j.getAttribute("alt")||j.getAttribute("aria-label")||"").trim(),H)break}return H},x=N=>{let q=(N.getAttribute("aria-label")||"").trim();if(q)return q;let j=(N.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(k=>{let v=document.getElementById(k);return v?(v.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(j)return j;let U=_(N);if(U)return U;let J=N instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(N.type)?(N.value||N.alt||"").trim():"";return J||(N.getAttribute("title")||"").trim()},S='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',E=window.scrollX||0,M=window.scrollY||0,L=[];for(let N of d){let q=null;try{q=document.querySelector(N);}catch{}if(!q){h.elements[N]={found:false};continue}let H=L.indexOf(q);H<0&&(H=L.push(q)-1);let j=getComputedStyle(q),U=q.getBoundingClientRect(),J=q.tagName.toLowerCase(),k={found:true,elementKey:H,tag:J,html:(q.outerHTML||"").slice(0,g),rect:{x:U.left+E,y:U.top+M,w:U.width,h:U.height},role:(q.getAttribute("role")||"").toLowerCase(),ariaHidden:q.getAttribute("aria-hidden")==="true"||!!q.closest('[aria-hidden="true"]'),hidden:j.display==="none"||j.visibility==="hidden"||!!q.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(j.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:j.color,bg:j.backgroundColor,fontSize:parseFloat(j.fontSize)||0,fontWeight:parseInt(j.fontWeight,10)||400};if(J==="img"){let z=q;k.img={src:(z.currentSrc||z.getAttribute("src")||"").slice(0,300),alt:z.getAttribute("alt"),naturalW:z.naturalWidth||0,naturalH:z.naturalHeight||0,attrW:parseInt(z.getAttribute("width")||"0",10)||0,attrH:parseInt(z.getAttribute("height")||"0",10)||0};}if(k.cssBackgroundImage){let z=q.closest(S);z&&(k.control={tag:z.tagName.toLowerCase(),name:x(z).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(J)){let z=j.animationName.split(",").some(ie=>ie.trim()&&ie.trim()!=="none")&&R(j.animationDuration).some(ie=>ie>10),X=R(j.transitionDuration).some(ie=>ie>10)&&j.transitionProperty.trim()!=="none",te=p.filter(ie=>F(q,ie.selector)),ee=!z||te.some(ie=>ie.anim),Z=!X||te.some(ie=>ie.trans);k.reducedMotionHandled=(z||X)&&ee&&Z;}let v=q.closest('a[href], button, [role="button"], [role="link"]');if(v&&v!==q){let z=v.cloneNode(true);z.querySelectorAll("img, svg").forEach(ee=>ee.remove());let X=(z.textContent||"").replace(/\s+/g," ").trim(),te=(v.getAttribute("aria-label")||"").trim();k.parentInteractive={tag:v.tagName.toLowerCase(),text:(X||te).slice(0,120)};}let D=z=>{let X=z.cloneNode(true);return X.querySelectorAll("script, style").forEach(te=>te.remove()),(X.textContent||"").replace(/\s+/g," ").trim()},T=q.matches('a[href], [role="link"]'),P=D(q),B=q.parentElement;if(T&&(B=q.closest("p, li, td, th, dd, dt, figcaption, blockquote")||q.parentElement),B){let z=D(B),X=T&&P?z.indexOf(P):-1,te=X>120?X-120:0;k.nearText=(te?"\u2026":"")+z.slice(te,te+240);}h.elements[N]=k;}return h}function YM(f,d){let g=(f.type||"").toLowerCase(),h=f.wcag||"";return g==="decorative_image_with_title"?"generic":h==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(g))?"alt":h==="1.4.3"||h==="1.4.6"||g==="color-contrast"||g==="contrast_insufficient"||g==="contrast_enhanced"?"contrast":h==="2.2.2"||h==="2.3.3"||/motion|animation|reduced_motion/.test(g)?"motion":"generic"}function Bu(f){return !!f&&f.tag!=="img"&&f.cssBackgroundImage&&!f.img}var KM=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function JM(f){let d=String(f??"").replace(/\s+/g," ").replace(KM,"judged").trim();if(d.length<=Ou)return d;let g=d.slice(0,Ou-1),h=g.lastIndexOf(" ");return (h>Ou/2?g.slice(0,h):g).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function ZM(f){let d=String(f??"").replace(/\s+/g," ").trim();if(d=d.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),d=d.replace(/^["'“”]+|["'“”]+$/g,"").trim(),d.length>Bg){d=d.slice(0,Bg);let g=d.lastIndexOf(" ");g>60&&(d=d.slice(0,g)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function aa(f){let d=f.match(/\d+(\.\d+)?/g);return !d||d.length<3?f:"#"+d.slice(0,3).map(g=>Math.round(Number(g)).toString(16).padStart(2,"0")).join("")}var $g=/^#?([0-9a-f]{6})$/i;function QM(f){let d=String(f??"").trim().match($g);return d?"#"+d[1].toLowerCase():null}function eL(f){let{confidence:d,reviewReason:g,...h}=f;return {...h,id:f.id.replace("axe-incomplete-","axe-")}}function tL(f){let d=f;if(typeof f=="string"){let p=f.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!p)return null;try{d=JSON.parse(p[0]);}catch{return null}}else f&&typeof f=="object"&&Array.isArray(f.verdicts)&&(d=f.verdicts);if(!Array.isArray(d))return null;let g=[];for(let h of d){if(!h||typeof h!="object")continue;let{id:p,verdict:y,reason:A,fix:w}=h;if(typeof p!="string"||y!=="pass"&&y!=="violation")continue;let F=w&&typeof w=="object"?w:void 0;g.push({id:p,verdict:y,reason:typeof A=="string"?A:void 0,fix:F?{attribute:typeof F.attribute=="string"?F.attribute:void 0,value:typeof F.value=="string"?F.value:void 0}:void 0});}return g}var ia=class extends Error{},rL=`You are the final accessibility judge for a WCAG scanner. Automated engines could not decide the findings below. You MUST decide each one: "pass" (not a violation) or "violation". There is no third option \u2014 never answer "unsure", never defer to a human.
434
+ `);return ce}}},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:Ag);});var Kg={};kr(Kg,{dismissModals:()=>bL});async function bL(f){await f.evaluate(d=>{for(let g of d){let h=document.querySelectorAll(g);for(let p of h)if(p.offsetParent!==null){p.click();return}}},vL),await new Promise(d=>setTimeout(d,500));}var vL,Jg=Sr(()=>{vL=['[class*="cookie"] button[class*="accept"]','[class*="cookie"] button[class*="agree"]','[class*="consent"] button[class*="accept"]','[class*="consent"] button[class*="agree"]','[id*="cookie"] button','[id*="consent"] button',".cc-dismiss",".cc-allow",".cc-btn",'[class*="gdpr"] button[class*="accept"]','[aria-label*="cookie" i] button','[aria-label*="consent" i] button','button[class*="close-banner"]','[class*="popup"] [class*="close"]','[class*="overlay"] [class*="close"]','[class*="modal"] [class*="close"]','[class*="notification"] [class*="close"]','button[aria-label="Close"]','button[aria-label="Dismiss"]'];});var zo={};kr(zo,{pruneHiddenIframeIssues:()=>DL,pruneInvisibleContrast:()=>xL,waitForRenderSettle:()=>yL});async function yL(f,d=4e3){let g=Date.now()+d;try{await f.waitForLoadState?.("load",{timeout:Math.min(d/2,2e3)});}catch{}let h="";for(;Date.now()<g;){let p;try{p=await f.evaluate(()=>{let y=typeof document.getAnimations=="function"?document.getAnimations():[],A=0;for(let _ of y){if(_.playState!=="running")continue;let x;try{x=_.effect?.getComputedTiming?.().iterations;}catch{x=void 0;}x!==1/0&&A++;}let w="",F=document.body?document.body.querySelectorAll('[style*="opacity"]'):[],R=Math.min(F.length,50);for(let _=0;_<R;_++)w+=getComputedStyle(F[_]).opacity+",";return A+"|"+w});}catch{return}if(p.indexOf("0|")===0&&p===h)return;h=p,await new Promise(y=>setTimeout(y,150));}}function Zg(f){return wL.has(f.wcag)||/contrast/i.test(f.type||"")}async function xL(f,d){let g=Array.from(new Set(d.filter(A=>Zg(A)&&A.selector).map(A=>A.selector))).slice(0,100);if(g.length===0)return d;let h;try{h=await f.evaluate(A=>{let w=[],F={},R=Math.max(document.documentElement.scrollWidth,window.innerWidth),_=Math.max(document.documentElement.scrollHeight,window.innerHeight),x=S=>{let E=S.match(/rgba?\(([^)]+)\)/);if(!E)return !1;let M=E[1].split(/[ ,/]+/).filter(Boolean);return M.length<4||parseFloat(M[3])>=.95};for(let S of A){let E=null;try{E=document.querySelector(S);}catch{continue}if(!E)continue;let M=getComputedStyle(E),L=E.getBoundingClientRect(),N=M.clipPath&&M.clipPath!=="none"&&/inset\(\s*(?:50|100)%/.test(M.clipPath)||/rect\(\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*,?\s*0(?:px)?\s*\)/.test(M.clip||""),q=L.width<=1||L.height<=1,H=window.scrollX,j=window.scrollY,W=L.right+H<=0||L.bottom+j<=0||L.left+H>=R||L.top+j>=_,J=!1;if(W)for(let z=E.parentElement;z&&z!==document.body&&z!==document.documentElement;z=z.parentElement){let X=getComputedStyle(z);if(X.overflowX!=="visible"||X.overflowY!=="visible"||X.transform&&X.transform!=="none"){J=!0;break}}if(N||q||L.right+H<=0||L.bottom+j<=0||W&&!J){w.push(S);continue}let k=E,v=!1;for(;k&&k!==document.documentElement;){if(parseFloat(getComputedStyle(k).opacity)===0){v=!0;break}k=k.parentElement;}if(v){F[S]="text is inside an opacity:0 element (hidden slide or pre-animation state) \u2014 check contrast in the state where it is shown";continue}let D=L.left+L.width/2,T=L.top+L.height/2,O=E,B=!1;for(let z=0;O&&O!==document.body&&z<8;z++){let X=getComputedStyle(O);if(x(X.backgroundColor)||X.backgroundImage&&X.backgroundImage!=="none")break;let te=O.querySelectorAll("video, canvas, img, picture");for(let ee=0;ee<te.length;ee++){let Z=te[ee];if(Z.contains(E)||E.contains(Z))continue;let ie=Z.getBoundingClientRect();if(ie.width>0&&ie.height>0&&D>=ie.left&&D<=ie.right&&T>=ie.top&&T<=ie.bottom){B=!0;break}}if(B)break;O=O.parentElement;}B&&(F[S]="text sits over a video or image \u2014 the background behind the glyphs cannot be measured from CSS");}return {hidden:w,review:F}},g);}catch{return d}let p=new Set(h.hidden),y=[];for(let A of d){if(!Zg(A)){y.push(A);continue}if(p.has(A.selector))continue;let w=h.review[A.selector];y.push(w&&A.confidence!=="needs_review"?{...A,confidence:"needs_review",reviewReason:w,...A.fix?{fix:{...A.fix,needsManualReview:true}}:{}}:A);}return y}async function DL(f,d){let g=Array.from(new Set(d.filter(y=>y.selector).map(y=>y.selector))).slice(0,200);if(g.length===0)return d;let h;try{h=await f.evaluate(y=>{let A=[];for(let w of y){let F=null;try{F=document.querySelector(w);}catch{continue}if(!F||F.tagName!=="IFRAME")continue;let R=getComputedStyle(F),_=F.getClientRects().length===0||R.visibility==="hidden"||R.visibility==="collapse",x=(F.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0;(_||x)&&A.push(w);}return A},g);}catch{return d}if(h.length===0)return d;let p=new Set(h);return d.filter(y=>!p.has(y.selector))}var wL,Go=Sr(()=>{wL=new Set(["1.4.3","1.4.6","1.4.11"]);});var Wo={};kr(Wo,{focusOnlyObscuredIndexes:()=>SL,resetInteractionState:()=>AL,restoreInteractionState:()=>EL,snapshotInteractionState:()=>_L});async function AL(f){try{await f.evaluate(()=>{try{document.activeElement?.blur?.();}catch{}try{window.scrollTo({left:0,top:0,behavior:"instant"});}catch{}});}catch{}}async function _L(f){try{await f.evaluate(()=>{let d=window;d.__waCallerState={el:document.activeElement,x:window.scrollX,y:window.scrollY};});}catch{}}async function EL(f){try{await f.evaluate(()=>{let d=window,g=d.__waCallerState;if(delete d.__waCallerState,!g)return;let h=g.el;if(h&&h!==document.body&&h!==document.documentElement&&h.isConnected)try{h.focus({preventScroll:!0});}catch{}try{window.scrollTo({left:g.x,top:g.y,behavior:"instant"});}catch{}});}catch{}}function CL(f){if(typeof f=="string")return f;if(!Array.isArray(f))return null;let d=f.flat(1/0).filter(g=>typeof g=="string");return d.length===1?d[0]:null}async function SL(f,d){let g=d.map(A=>{let F=[...A.any??[],...A.none??[]].flatMap(_=>_.relatedNodes??[]);if(!F.length)return null;let R=F.map(_=>CL(_.target));return R.every(_=>!!_)?R:null}),h=Array.from(new Set(g.flatMap(A=>A??[])));if(!h.length)return new Set;let p={};try{p=await f.evaluate(({sels:A,own:w})=>{let F=_=>{let x=_.getBoundingClientRect(),S=getComputedStyle(_);return !!((x.width<=1||x.height<=1)&&(S.overflow==="hidden"||S.position==="absolute"||S.position==="fixed")||/^rect\(\s*0(px)?[\s,]+0(px)?[\s,]+0(px)?[\s,]+0(px)?\s*\)$/.test(S.clip||"")||/inset\(\s*50%/.test(S.clipPath||""))},R={};for(let _ of A){let x=null;try{x=document.querySelector(_);}catch{x=null;}if(!x){R[_]=!1;continue}let S=x.closest(w);if(S&&S!==document.body&&S!==document.documentElement){R[_]=!0;continue}if(x===document.activeElement){try{x.blur();}catch{}R[_]=F(x);continue}R[_]=F(x);}return R},{sels:h,own:Ho});}catch{return new Set}let y=new Set;return g.forEach((A,w)=>{A&&A.length&&A.every(F=>p[F]===true)&&y.add(w);}),y}var Uo=Sr(()=>{Hr();});var oa={};kr(oa,{dedupeByElementIdentity:()=>IL,deduplicateIssues:()=>kL});function kL(f){let d=new Map,g=[...f].sort((h,p)=>{let y={webability:0,"axe-core":1,"deep-analysis":2},A=y[h.source]??3,w=y[p.source]??3;return A-w});for(let h of g){let p=TL(h);d.has(p)?!d.get(p).fix?.suggestedValue&&h.fix?.suggestedValue&&d.set(p,h):d.set(p,h);}return Array.from(d.values())}function TL(f){let d=f.selector.replace(/:focus-visible$/,"").replace(/:focus$/,"").replace(/\[data-[^\]]+\]/g,"").trim(),g=f.wcag||"";return d&&g?`${d}::${g}`:`${f.type}::${d||f.id}`}async function IL(f,d){if(d.length<2)return d;let g=Array.from(new Set(d.map(_=>_.selector).filter(Boolean))),h;try{h=await f.evaluate(_=>{let x=Array.from(document.querySelectorAll("*")),S=new Map;x.forEach((M,L)=>S.set(M,L));let E={};for(let M of _){let L=null;try{L=document.querySelector(M);}catch{}if(!L){let N=M.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(N!==M)try{L=document.querySelector(N);}catch{}}if(L){let N=L.closest("table");E[M]={el:S.get(L),table:N?S.get(N):-1,doc:L===document.documentElement||L===document.body};}}return E},g);}catch{return d}let p={webability:0,"axe-core":1,"deep-analysis":2},y=_=>{let x=h[_.selector];if(!x)return null;let S=_.wcag||_.type;return x.doc?{key:FL.has(_.wcag||"")?`doc::${S}`:`doc::${S}::${_.type}`,owner:true}:x.table>=0&&RL.test(_.type)?{key:`${x.table}::${S}::table-headers`,owner:x.el===x.table}:{key:`${x.el}::${S}`,owner:true}},A=[...d].sort((_,x)=>{let S=y(_),E=y(x),M=S?.owner?0:1,L=E?.owner?0:1;return M-L||(p[_.source]??3)-(p[x.source]??3)}),w=new Map,F=[];for(let _ of A){let x=y(_);if(!x){F.push(_);continue}let S=w.get(x.key);S?!S.fix?.suggestedValue&&_.fix?.suggestedValue&&(y(S)?.owner??true)===x.owner&&w.set(x.key,_):w.set(x.key,_);}let R=new Set([...w.values(),...F]);return d.filter(_=>R.has(_))}var RL,FL,sa=Sr(()=>{RL=/^missing_table_header$|^td-has-header$|^th-has-data-cells$|^h43|^h63/,FL=new Set(["2.4.1","3.1.1","2.4.2"]);});var tv={};kr(tv,{parseGif:()=>Qg,playsOverFiveSeconds:()=>ev,verifyAnimatedGifs:()=>ML});function Qg(f){if(String.fromCharCode(f[0]??0,f[1]??0,f[2]??0)!=="GIF")return null;let g=13,h=f[10]??0;h&128&&(g+=3*(1<<(h&7)+1));let p=0,y=0,A=0,w=null,F=()=>{for(;g<f.length;){let R=f[g++];if(R===0)return;g+=R;}};for(;g<f.length;){let R=f[g++];if(R===59)break;if(R===33){let _=f[g++];if(_===249)A=(f[g+2]??0)|(f[g+3]??0)<<8,g+=1+(f[g]??4),F();else if(_===255){let x=f[g]??0,S=String.fromCharCode(...Array.from(f.subarray(g+1,g+1+x)));g+=1+x,(S==="NETSCAPE2.0"||S==="ANIMEXTS1.0")&&f[g]===3&&f[g+1]===1&&(w=(f[g+2]??0)|(f[g+3]??0)<<8),F();}else F();}else if(R===44){let _=f[g+8]??0;g+=9,_&128&&(g+=3*(1<<(_&7)+1)),g+=1,F(),p++,y+=A<2?10:A,A=0;}else break}return {frames:p,seconds:y/100,loops:w}}function ev(f){if(f.frames<2)return false;if(f.loops===0)return true;let d=f.loops===null?1:f.loops+1;return f.seconds*d>5}async function ML(f,d){let g=d.filter(y=>y.type==="animated_gif_no_pause");if(!g.length)return d;let h=Array.from(new Set(g.map(y=>y.selector))),p={};try{p=await f.evaluate(async({sels:y,parserSrc:A})=>{let w=new Function("var __name = function (f) { return f }; return ("+A+")")(),F={};return await Promise.all(y.map(async R=>{F[R]=null;try{let _=document.querySelector(R),x=_&&(_.currentSrc||_.src);if(!x)return;let S=new AbortController,E=setTimeout(()=>S.abort(),5e3);try{let M=await fetch(x,{signal:S.signal,credentials:"same-origin"});if(!M.ok||Number(M.headers.get("content-length")||"0")>2e7)return;F[R]=w(new Uint8Array(await M.arrayBuffer()));}finally{clearTimeout(E);}}catch{}})),F},{sels:h,parserSrc:Qg.toString()});}catch{p={};}return d.flatMap(y=>{if(y.type!=="animated_gif_no_pause")return [y];let A=p[y.selector];if(!A)return [{...y,message:`${y.message} \u2014 the GIF file could not be read from the page (cross-origin or blocked), so its frame count and duration were not measured`}];if(!ev(A))return [];let w=A.loops===0?"loops forever":`plays for ${(A.seconds*(A.loops===null?1:A.loops+1)).toFixed(1)}s`;return [{...y,message:`animated GIF (${A.frames} frames, ${w}) starts automatically with no pause control \u2014 replace it with a video that has controls or a static image, or add a pause button (WCAG 2.2.2)`}]})}var rv=Sr(()=>{});var Vu={};kr(Vu,{scopeIssuesToRoot:()=>LL});async function LL(f,d,g){let h=Array.from(new Set(d.map(y=>y.selector).filter(Boolean))),p;try{p=await f.evaluate(({rootSel:y,sels:A})=>{let w=_=>{try{let S=document.querySelector(_);if(S)return S}catch{}let x=_.replace(/:(?:focus-visible|focus-within|focus|hover|active)$/,"");if(x!==_)try{return document.querySelector(x)}catch{return null}return null},F=null;try{F=document.querySelector(y);}catch{return {invalid:!0,matched:!1,within:{}}}if(!F)return {invalid:!1,matched:!1,within:{}};let R={};for(let _ of A){let x=w(_);R[_]=x?x===F||F.contains(x):!0;}return {invalid:!1,matched:!0,within:R}},{rootSel:g,sels:h});}catch{return {issues:d,warning:`scope:evaluate-failed (${g}) \u2014 results unfiltered`}}return p.invalid?{issues:d,warning:`scope:invalid-selector (${g}) \u2014 results unfiltered`}:p.matched?{issues:d.filter(y=>y.selector?p.within[y.selector]===true:true)}:{issues:[],warning:`scope:root-miss (${g} matched nothing \u2014 empty result)`}}var ju=Sr(()=>{});var qo={mobile:{width:375,height:667},tablet:{width:768,height:1024},desktop:{width:1280,height:720}};function uh(f,d){let g=f??"";if(g.trimStart().startsWith("{"))try{let h=JSON.parse(g);if(h&&typeof h=="object"&&!Array.isArray(h))return JSON.stringify({...h,platform:d})}catch{}return (g?g+" | ":"")+"platform: "+d}var Q3=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=new Set;function p(w){let F=(w.textContent||"").trim().replace(/\s+/g,""),R=w.querySelector("img, svg, picture")!==null,_=w.querySelector("i[class], span[class]")!==null;if(F.length>0&&!R&&!_)return false;if(R){let x=w.querySelectorAll("img"),S="";x.forEach(L=>{S+=(L.getAttribute("alt")||"").trim();});let E=F.replace(/\s+/g,""),M=S.replace(/\s+/g,"");return E===""||E===M}return false}function y(w){let F=w.nextElementSibling;for(;F;){if(isVisible(F))return F;F=F.nextElementSibling;}return null}return document.querySelectorAll("a[href]").forEach(w=>{if(g.length>=50||w.closest(f)||!isVisible(w)||h.has(w))return;let F=w.getAttribute("href");if(!F||F==="#")return;let R=y(w);if(!R||R.tagName!=="A"||R.getAttribute("href")!==F||h.has(R)||w.getAttribute("aria-hidden")==="true"||R.getAttribute("aria-hidden")==="true")return;let x=p(w),S=p(R);if(!x&&!S)return;let E=x?w:R,M=x?R:w;h.add(E),h.add(M);let L=uniqueSel(E),N=E.outerHTML.slice(0,300),q=(M.textContent||"").trim().slice(0,80);g.push({selector:L,attribute:"aria-hidden",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({href:F,imageLink:true,adjacentLinkText:q,suggestion:'Add aria-hidden="true" and tabindex="-1" to the image-only link'}),needsAI:false,fixValue:"true",outerHtml:N}),g.push({selector:L,attribute:"tabindex",currentValue:"",issueType:"adjacent_redundant_link",wcag:"2.4.4",context:JSON.stringify({supplementary:"Remove from tab order alongside aria-hidden",href:F}),needsAI:false,fixValue:"-1",outerHtml:N});}),g},ch={name:"adjacentLinks",cap:50,async detect(f){return f.evaluate(Q3)}};var eI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",d='.slick-cloned,.slick-clone,.swiper-slide-duplicate,.owl-item.cloned,[data-slick-index^="-"],[data-swiper-slide-index]:not([data-swiper-slide-index=""])',g=["[aria-expanded]",'[class*="dropdown" i]','[class*="submenu" i]','[class*="sub-menu" i]','[class*="collapse" i]','[class*="accordion" i]','[class*="megamenu" i]','[class*="mega-menu" i]','[class*="flyout" i]','[class*="fsNav" i]','[role="menu"]','[role="menubar"]','[role="tablist"]','[role="tab"]',"nav"].join(","),h=new Set(["A","BUTTON","INPUT","SELECT","TEXTAREA"]),p=50,y=[],A=new Set;function w(_){let x=_,S=0;for(;x&&x.nodeType===1&&x!==document.body&&S<20;){try{let E=getComputedStyle(x);if(E.display==="none"||E.visibility==="hidden"||E.visibility==="collapse")return !0}catch{}x=x.parentElement,S++;}return false}function F(_){let x=_.tagName,S=_.getAttribute("tabindex");if(S!==null){let E=parseInt(S,10);if(!isNaN(E)&&E>=0)return true;if(!isNaN(E)&&E<0)return false}return h.has(x)?!(x==="A"&&!_.hasAttribute("href")||_.hasAttribute("disabled")):false}return document.querySelectorAll('[aria-hidden="true"]').forEach(_=>{if(y.length>=p||_.closest(f)||_.closest(d)||_.closest(g)||_.matches(g))return;let x=[];if(F(_)&&x.push(_),_.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]").forEach(E=>{F(E)&&x.push(E);}),x.length!==0)for(let E of x){if(y.length>=p)return;let M=uniqueSel(E),L=M+"\0tabindex";if(A.has(L))continue;A.add(L);let N=w(E),q=!N;y.push({selector:M,attribute:"tabindex",currentValue:E.getAttribute("tabindex")||"",issueType:"aria_hidden_focusable",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),parentHidden:_.tagName.toLowerCase(),collapsed:N,suggestion:N?"Focusable control inside an aria-hidden region that is currently display:none/visibility:hidden \u2014 likely a closed modal/dialog/dropdown. Confirm the control is permanently hidden before removing it from the tab order.":'This control is rendered and operable inside an aria-hidden region. Remove aria-hidden from the region if the control is meant to be used, or hide the region (display:none / hidden / inert) when it is not. Do not set tabindex="-1" on a visible control: keyboard users lose it.'}),needsAI:false,fixValue:"-1",...N?{needsReview:true,reviewReason:'this focusable control is inside an aria-hidden region that is currently hidden by layout (display:none/visibility:hidden) \u2014 the signature of a closed modal/dialog/dropdown/tab-panel whose controls are meant to become focusable when it opens. A static tabindex="-1" would permanently remove it from the tab order and create a keyboard trap once the widget is shown. Confirm the control is permanently hidden before applying.'}:{},...q?{manualFix:true,reviewReason:'the control is rendered inside an aria-hidden region: tabindex="-1" would leave a visible, clickable control unreachable by keyboard (2.1.1). The right fix is on the region (remove aria-hidden, or hide it for everyone), which needs a person.'}:{},outerHtml:(E.outerHTML||"").slice(0,300)});}}),y},dh={name:"ariaHiddenFocusable",cap:50,async detect(f){return f.evaluate(eI)}};var tI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=new Set,p=[/\btoast\b/i,/\bsnackbar\b/i,/error[-_]message|error[-_]msg|form[-_]error|validation[-_]error/i,/success[-_]message|success[-_]msg/i,/alert[-_]message|alert[-_]banner/i,/flash[-_]message|flash[-_]notice/i,/cart[-_]count|cart[-_]badge|cart[-_]quantity/i,/loading[-_]spinner|loading[-_]indicator/i,/search[-_]results?[-_]count/i,/\blive[-_]region\b/i,/notification[-_](bar|area|container|popup|wrapper)/i,/status[-_]message/i];function y(A){if((A.textContent||"").trim())return false;if(typeof A.checkVisibility=="function")return A.checkVisibility({visibilityProperty:true});for(let w=A;w&&w.nodeType===1;w=w.parentElement)if(getComputedStyle(w).display==="none")return false;return getComputedStyle(A).visibility!=="hidden"}for(let A of p){if(g.length>=50)break;let w=document.querySelectorAll("*");for(let F of w){if(g.length>=50)break;if(h.has(F)||F.closest(f))continue;let R=F.className&&typeof F.className=="string"?F.className:"",_=F.getAttribute("id")||"";if(!A.test(R)&&!A.test(_)||F.getAttribute("aria-live"))continue;let x=F.getAttribute("role")||"";if(["alert","status","log","timer","marquee"].includes(x)||!y(F))continue;h.add(F);let S=uniqueSel(F),E=A.test(R)?"class":"id",M=E==="class"?R.slice(0,60):_;g.push({selector:S,attribute:"aria-live",currentValue:"",issueType:"aria_live",wcag:"4.1.3",context:E+": "+M+" | pattern: "+A.source,needsAI:false,fixValue:"polite"});}}return g},fh={name:"ariaLive",cap:50,async detect(f){return f.evaluate(tI)}};var rI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],h=new Set,p=["aria-labelledby","aria-describedby"];return document.querySelectorAll("[aria-labelledby],[aria-describedby]").forEach(w=>{if(!(g.length>=50)&&!w.closest(f)&&isVisible(w)&&!isHiddenFromAT(w)&&!w.getAttribute("aria-live")&&!w.closest("[aria-live]")&&!w.closest("template"))for(let F of p){let R=w.getAttribute(F);if(!R||!R.trim())continue;let _=R.trim().split(/\s+/).filter(j=>j.length>0);if(_.length===0||!_.every(j=>!document.getElementById(j)))continue;let S=w.getAttribute("aria-label");if(S&&S.trim())continue;let E=getAccessibleName(w);if(E&&E.trim())continue;let M=uniqueSel(w),L=M+"\0"+F;if(h.has(L))continue;h.add(L);let{nearbyHeading:N,parentTag:q,parentRole:H}=getNearbyContext(w);g.push({selector:M,attribute:"aria-label",currentValue:"",issueType:"broken_aria_reference",wcag:"4.1.2",context:JSON.stringify({tag:w.tagName.toLowerCase(),brokenAttr:F,brokenIds:_,nearbyHeading:N,parentTag:q,parentRole:H,suggestion:`All IDs in ${F}="${R}" are missing from the DOM. Element has no accessible name. Generate an aria-label.`}),needsAI:true,outerHtml:(w.outerHTML||"").slice(0,300)});}}),g},ph={name:"brokenAriaReferences",cap:50,async detect(f){return f.evaluate(rI)}};var nI=()=>{let d=[],g=["submit","send","login","log in","sign in","sign up","register","subscribe","save","order","purchase","checkout","pay","book","apply","enroll","confirm","join","create account","get started","schedule","place order","buy","donate","search","find","go"],h=document.querySelectorAll("button");for(let p of h){if(d.length>=50)break;let y=p;if(isWidget(y)||y.hasAttribute("type")||!y.closest("form"))continue;let A=(y.textContent||"").trim().slice(0,60),w=(y.getAttribute("aria-label")||"").trim().slice(0,60),F=A||w||"(no label)",R=F.toLowerCase();g.some(x=>R.includes(x))||d.push({selector:uniqueSel(y),attribute:"type",currentValue:"",issueType:"missing_button_type",wcag:"3.2.2",context:"button inside <form> missing type attribute \u2014 defaults to submit | label: "+F,needsAI:false,fixValue:"button",outerHtml:(y.outerHTML||"").slice(0,300)});}return d},mh={name:"buttonType",cap:50,async detect(f){return f.evaluate(nI)}};var aI=()=>{let d=[],g=document.querySelectorAll("video, audio");for(let h of Array.from(g)){if(d.length>=20)break;if(isWidget(h)||typeof isVisible=="function"&&!isVisible(h)||h.error)continue;let p=h.tagName==="VIDEO";if(p){let L=h.hasAttribute("muted")||h.muted,N=h.hasAttribute("controls"),q=h.hasAttribute("loop")||h.loop,H=/mute|unmute|sound|volume|audio|play|pause/i,j=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(h.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let W=h.parentElement?.parentElement||null,J=0;W&&!j&&J<3;W=W.parentElement,J++)j=Array.from(W.querySelectorAll('button, [role="button"]')).some(k=>H.test((k.getAttribute("aria-label")||"")+" "+(k.getAttribute("title")||"")+" "+(k.textContent||"")));if(L&&q&&!N&&!j)continue}let y=h.querySelectorAll("track"),A=false;for(let L of Array.from(y)){let N=(L.getAttribute("kind")||"").toLowerCase();if(N==="captions"||N==="subtitles"){A=true;break}}if(A)continue;let w=h.currentSrc||h.getAttribute("src")||"";if(w||(w=h.querySelector("source")?.getAttribute("src")||""),!w)continue;let F=w.toLowerCase();if(F.startsWith("blob:")||F.startsWith("data:")||F.startsWith("about:")||F.startsWith("javascript:")||F.endsWith(".m3u8")||F.includes(".m3u8?")||F.endsWith(".mpd")||F.includes(".mpd?"))continue;let R=w;try{R=new URL(w,location.href).toString();}catch{continue}let _=typeof uniqueSel=="function"?uniqueSel(h):"",x=h.getAttribute("title")||h.getAttribute("aria-label")||"",S=typeof getNearbyContext=="function"?getNearbyContext(h):{parentTag:h.tagName.toLowerCase(),nearbyHeading:""},E=[];E.push("media: "+h.tagName.toLowerCase()),E.push("src: "+R.slice(0,200)),x&&E.push("title: "+x.slice(0,80)),S.nearbyHeading&&E.push("heading: "+S.nearbyHeading),E.push("parent: "+S.parentTag);let M=p;d.push({selector:_,attribute:"data-needs-captions",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:E.join(" | "),needsAI:true,...M?{needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before transcribing (silent videos need no captions)"}:{},imageSrc:R,outerHtml:(h.outerHTML||"").slice(0,300)});}return d},hh={name:"captions",cap:20,async detect(f){return f.evaluate(aI)}};var iI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h="p, li, blockquote, article, section, main, div",p=document.querySelectorAll("a[href]"),y=new Map;for(let A of Array.from(p)){if(g.length>=40)break;if(A.closest(f)||A.closest('nav, header, footer, aside, [role="navigation"], [role="banner"], [role="contentinfo"]')||typeof isVisible=="function"&&!isVisible(A))continue;let w=A.closest(h);if(!w)continue;let F=(A.textContent||"").trim();if(!F)continue;let R=y.get(w);if(R===void 0){R=0;let W=document.createTreeWalker(w,NodeFilter.SHOW_TEXT),J;for(;J=W.nextNode();){let k=J.parentElement;!k||k.closest("a")||k.closest(h)===w&&(typeof isVisible=="function"&&!isVisible(k)||(R+=(J.textContent||"").trim().length));}y.set(w,R);}if(R<20||A.querySelector("img, svg, [class*=icon], [class*=arrow]"))continue;let _=getComputedStyle(A),x=getComputedStyle(w);if((_.textDecorationLine||_.textDecoration||"").includes("underline")||(()=>{let W=document.createTreeWalker(A,NodeFilter.SHOW_TEXT),J,k=false;for(;J=W.nextNode();){if(!/[\p{L}\p{N}]/u.test(J.textContent||""))continue;k=true;let v=false;for(let D=J.parentElement;D&&D!==A;D=D.parentElement){let T=getComputedStyle(D),O=(T.textDecorationColor||"").replace(/\s/g,"");if((T.textDecorationLine||"").includes("underline")&&O!=="transparent"&&!/^rgba\([^)]*,0(?:\.0+)?\)$/.test(O)){v=true;break}let B=(T.borderBottomColor||"").replace(/\s/g,""),z=B==="transparent"||/^rgba\([^)]*,0(?:\.0+)?\)$/.test(B);if((T.borderBottomStyle||"none")!=="none"&&parseFloat(T.borderBottomWidth||"0")>0&&!z){v=true;break}}if(!v)return false}return k})())continue;let M=parseInt(_.fontWeight||"400",10),L=parseInt(x.fontWeight||"400",10);if(Number.isFinite(M)&&Number.isFinite(L)&&M-L>=300||(_.borderBottomStyle||"none")!=="none"&&(_.borderBottomWidth||"0px")!=="0px"||_.color===x.color)continue;let q=typeof uniqueSel=="function"?uniqueSel(A):"",H=typeof getNearbyContext=="function"?getNearbyContext(A):{parentTag:A.tagName.toLowerCase(),nearbyHeading:""},j=[];j.push("link: "+F.slice(0,40)),j.push("color: "+_.color),j.push("parent-color: "+x.color),H.nearbyHeading&&j.push("heading: "+H.nearbyHeading),j.push("parent: "+H.parentTag),g.push({selector:q,attribute:"style",currentValue:_.textDecoration||"",issueType:"color_only_link",wcag:"1.4.1",context:j.join(" | "),needsAI:false,fixValue:"text-decoration: underline !important;",outerHtml:(A.outerHTML||"").slice(0,300)});}return g},gh={name:"colorOnly",cap:40,async detect(f){return f.evaluate(iI)}};var oI=()=>{let f=[],d=v=>typeof parseCssColor=="function"?parseCssColor(v):null,g=(v,D,T)=>typeof relLuminance=="function"?relLuminance(v,D,T):0,h=(v,D)=>typeof contrastRatio=="function"?contrastRatio(v,D):1;function p(v){let D=String(v.backgroundImage||"none");if(D==="none")return false;if(/gradient\(/i.test(D))return true;if(!/url\(/i.test(D))return false;let T=String(v.backgroundRepeat||"").toLowerCase(),O=String(v.backgroundSize||"").toLowerCase(),B=T.split(",").map(X=>X.trim()).some(X=>X!==""&&X!=="no-repeat"),z=/cover|contain|100%/.test(O);return B||z}let y=new Map;function A(v){let D=[],T=false;for(let O=v;O&&O.nodeType===1;O=O.parentElement){let B=y.get(O);if(B!==void 0){T=B;break}if(D.push(O),parseFloat(getComputedStyle(O).opacity||"1")<1){T=true;break}}for(let O of D)y.set(O,T);return T}let w=new Map;function F(v){let D=w.get(v);if(D)return D;D=[];let T=Array.from(v.children);for(let O=0;O<T.length;O++){let B=getComputedStyle(T[O]);B.position==="static"||B.display==="none"||B.visibility!=="visible"||parseFloat(B.opacity||"1")<=0||D.push({el:T[O],z:B.zIndex==="auto"?0:parseInt(B.zIndex,10)||0,i:O});}return w.set(v,D),D}function R(v){if(v===document.documentElement)return true;let D=getComputedStyle(v);return !!(D.position==="fixed"||D.position==="sticky"||D.zIndex!=="auto"&&D.position!=="static"||D.zIndex!=="auto"&&v.parentElement&&/flex|grid/.test(getComputedStyle(v.parentElement).display||"")||parseFloat(D.opacity||"1")<1||D.transform&&D.transform!=="none"||D.filter&&D.filter!=="none"||D.isolation==="isolate"||D.mixBlendMode&&D.mixBlendMode!=="normal"||/paint|strict|content/.test(D.contain||""))}function _(v,D,T,O){let B=F(v);if(!B.length||B.length===1&&B[0].el===D)return [];let z=-1/0;for(let ee=T;ee&&ee!==v;ee=ee.parentElement){let Z=getComputedStyle(ee);if(Z.position==="static")continue;let ie=Z.zIndex==="auto"?0:parseInt(Z.zIndex,10)||0;ie>z&&(z=ie);}let X=Array.prototype.indexOf.call(v.children,D),te=[];for(let ee of B){if(ee.el===D||!(ee.z<0?R(v):z>ee.z||z===ee.z&&ee.i<X))continue;let ie=ee.el.getBoundingClientRect();ie.left>O.left+1||ie.top>O.top+1||ie.right<O.right-1||ie.bottom<O.bottom-1||te.push(ee);}return te.sort((ee,Z)=>Z.z-ee.z||Z.i-ee.i),te.map(ee=>ee.el)}function x(v){try{let T=document.createRange(),O=null;for(let B of Array.from(v.childNodes)){if(B.nodeType!==3||!(B.textContent||"").trim())continue;T.selectNodeContents(B);let z=T.getBoundingClientRect();z.width<=0||z.height<=0||(O=O?{left:Math.min(O.left,z.left),top:Math.min(O.top,z.top),right:Math.max(O.right,z.right),bottom:Math.max(O.bottom,z.bottom)}:{left:z.left,top:z.top,right:z.right,bottom:z.bottom});}if(O)return O}catch{}let D=v.getBoundingClientRect();return {left:D.left,top:D.top,right:D.right,bottom:D.bottom}}function S(v,D){let T=document.documentElement,O=null,B=[{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0},{acc:[0,0,0],cover:0}],z=Math.max(0,Math.min(1,D[3]));B[0].acc=[D[0]*z,D[1]*z,D[2]*z],B[0].cover=z,B[2].cover=1;let X=1,te=()=>B.some(De=>De.cover<1-1e-9),ee=(De,Be=1)=>{if(!te())return true;let _e=d(De.backgroundColor||""),Ee=p(De);for(let bt of B){if(bt.cover>=1-1e-9)continue;if(Ee)return false;if(!_e)continue;let kt=Math.max(0,Math.min(1,_e[3]))*Be;if(kt<=0)continue;let He=kt*(1-bt.cover);bt.acc[0]+=_e[0]*He,bt.acc[1]+=_e[1]*He,bt.acc[2]+=_e[2]*He,bt.cover+=He;}return true},Z=De=>{let Be=Math.max(0,Math.min(1,parseFloat(De.opacity||"1")));if(!(Be>=1)){for(let _e of B)_e.acc=_e.acc.map(Ee=>Ee*Be),_e.cover*=Be;X*=Be;}},ie=v,be=null;for(;ie&&ie!==T&&!(!te()&&!A(ie));){let De=getComputedStyle(ie);if(be&&F(ie).length){O||(O=x(v));for(let Be of _(ie,be,v,O)){let _e=getComputedStyle(Be);if(!ee(_e,Math.max(0,Math.min(1,parseFloat(_e.opacity||"1")))))return null}}if(!ee(De))return null;Z(De),be=ie,ie=ie.parentElement;}if(ie===T){let De=getComputedStyle(T);if(!ee(De))return null;Z(De);}for(let De of B){let Be=1-De.cover;Be>0&&(De.acc=De.acc.map(_e=>_e+255*Be),De.cover=1);}let de=De=>[Math.round(Math.min(255,De.acc[0])),Math.round(Math.min(255,De.acc[1])),Math.round(Math.min(255,De.acc[2]))],ke=B[2].acc.map(De=>Math.min(255,De));return {fg:de(B[0]),bg:de(B[1]),k:X,rest:ke}}function E(v,D,T){return "#"+[v,D,T].map(O=>{let B=Math.max(0,Math.min(255,Math.round(O))).toString(16);return B.length===1?"0"+B:B}).join("")}let M=.1;function L(v,D,T,O=1,B=[0,0,0]){let z=g(D[0],D[1],D[2])>.5;for(let X of [T+M,T]){let te=N(v,D,X,z,O,B)||N(v,D,X,!z,O,B);if(te)return te}return null}function N(v,D,T,O,B,z){let X=0,te=1,ee=null;for(let Z=0;Z<20;Z++){let ie=(X+te)/2,be=O?[v[0]*(1-ie),v[1]*(1-ie),v[2]*(1-ie)]:[v[0]+(255-v[0])*ie,v[1]+(255-v[1])*ie,v[2]+(255-v[2])*ie],de=[Math.round(be[0]),Math.round(be[1]),Math.round(be[2])],ke=[de[0]*B+z[0],de[1]*B+z[1],de[2]*B+z[2]];h(ke,D)>=T?(ee=de,te=ie):X=ie;}return ee}let q=new Set(["application","button","checkbox","columnheader","combobox","grid","gridcell","group","link","listbox","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","option","radio","radiogroup","row","rowheader","scrollbar","searchbox","separator","slider","spinbutton","switch","tab","tablist","textbox","toolbar","tree","treegrid","treeitem"]);function H(v){if(v.closest("button:disabled, input:disabled, select:disabled, textarea:disabled, optgroup:disabled, option:disabled"))return true;for(let T=v;T&&T.nodeType===1;T=T.parentElement){if(T.getAttribute("aria-disabled")!=="true")continue;let O=(T.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if(O&&q.has(O))return true}let D=v.closest("label");if(D){let T=D.control;if(T&&(T.disabled||T.getAttribute("aria-disabled")==="true"))return true}return false}let j=document.createTreeWalker(document.body,4),W=new Set,J=[],k=j.nextNode();for(;k;){let v=(k.textContent||"").trim();if(v.length>=2||/[\p{L}\p{N}]/u.test(v)){let D=k.parentElement;D&&!W.has(D)&&(W.add(D),J.push(D));}k=j.nextNode();}for(let v of J){if(isWidget(v)||isHiddenFromAT(v)||!isVisible(v)||H(v))continue;let D=getComputedStyle(v),T=d(D.webkitTextFillColor||D.color||"");if(!T)continue;if(T[3]<.5){let He=D.webkitBackgroundClip||D.backgroundClip||"",Mt=D.backgroundImage||"";if(String(He).includes("text")&&/gradient\(/i.test(Mt)){let br=Array.from(v.childNodes).filter(Bt=>Bt.nodeType===3).map(Bt=>(Bt.textContent||"").trim()).join("");br&&f.push({selector:uniqueSel(v),attribute:"style",currentValue:"gradient-clipped text",message:"contrast: gradient-clipped text \u2014 the glyph colour varies across the gradient, so the ratio cannot be computed; check the lightest stop meets 4.5:1",issueType:"contrast_insufficient",wcag:"1.4.3",context:"background-clip:text gradient text \u2014 glyph color varies across the gradient; contrast cannot be computed from CSS. text="+JSON.stringify(br.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"gradient-clipped text \u2014 verify the lightest gradient stop still meets 4.5:1 against the surrounding background",outerHtml:v.outerHTML.slice(0,200)});}continue}let O=parseFloat(D.fontSize||"16"),B=parseInt(D.fontWeight||"400",10),X=O>=24||O>=18.66&&B>=700?3:4.5,te=Array.from(v.childNodes).filter(He=>He.nodeType===3).map(He=>(He.textContent||"").trim()).join("");if(!te||!hasRenderedText(v))continue;let ee=E(T[0],T[1],T[2]),Z=uniqueSel(v),ie=S(v,T),be=ie?ie.bg:null;if(be===null){f.push({selector:Z,attribute:"style",currentValue:ee,message:"contrast: text "+ee+" on a gradient or image background \u2014 the ratio cannot be computed from CSS; check it meets "+X+":1 where the background is lightest/darkest",issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+ee+" bg=<gradient-or-image> needs="+X+" text="+JSON.stringify(te.slice(0,40)),needsAI:true,needsReview:true,reviewReason:"background uses gradient or image \u2014 contrast cannot be reliably computed",outerHtml:v.outerHTML.slice(0,200)});continue}let de=ie,ke=h(de.fg,be);if(ke>=X)continue;let De=L([T[0],T[1],T[2]],be,X,de.k,de.rest);if(!De)continue;let Be=E(De[0],De[1],De[2]),_e=E(be[0],be[1],be[2]),Ee=E(de.fg[0],de.fg[1],de.fg[2]),bt=Ee===ee?"":" (shown as "+Ee+" after opacity/alpha)",kt="color:"+Be+" !important;";f.push({selector:Z,attribute:"style",currentValue:ee,message:"contrast: "+ee+bt+" on "+_e+" is "+ke.toFixed(2)+":1, needs "+X+":1 \u2014 e.g. color "+Be,issueType:"contrast_insufficient",wcag:"1.4.3",context:"fg="+Ee+" bg="+_e+" ratio="+ke.toFixed(2)+" needs="+X+" text="+JSON.stringify(te.slice(0,40)),needsAI:false,fixValue:kt,outerHtml:v.outerHTML.slice(0,200)});}return f},vh={name:"contrast",async detect(f){return f.evaluate(oI)}};var sI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h=document.querySelectorAll("marquee, blink");for(let F of Array.from(h)){if(g.length>=30)break;if(F.closest(f))continue;let R=typeof uniqueSel=="function"?uniqueSel(F):F.tagName.toLowerCase();g.push({selector:R,attribute:"aria-hidden",currentValue:F.getAttribute("aria-hidden")||"",issueType:"motion_uncontrollable",wcag:"2.2.2",context:`deprecated ${F.tagName.toLowerCase()} element \u2014 uncontrollable motion`,needsAI:false,manualFix:true,fixValue:"true",outerHtml:(F.outerHTML||"").slice(0,300)});}let p=document.querySelectorAll('img[src*=".gif" i], img[src$=".gif" i]');for(let F of Array.from(p)){if(g.length>=30)break;if(F.closest(f))continue;let R=F.getAttribute("src")||"";if(!/\.gif(\?|#|$)/i.test(R)||typeof isVisible=="function"&&!isVisible(F))continue;let _=F.getBoundingClientRect();if(_.width<=40&&_.height<=40)continue;let x=typeof uniqueSel=="function"?uniqueSel(F):"img";g.push({selector:x,attribute:"data-asw-motion-review",currentValue:"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:`animated GIF without pause control: ${R.split("/").pop()?.slice(0,60)||R.slice(-60)}`,needsAI:true,outerHtml:(F.outerHTML||"").slice(0,300)});}let y=document.querySelectorAll('meta[http-equiv="refresh"], meta[http-equiv="Refresh"], meta[http-equiv="REFRESH"]');for(let F of Array.from(y)){if(g.length>=30)break;let R=(F.getAttribute("content")||"").trim(),_=parseInt((R.split(/[;,]/)[0]||"").trim(),10);!Number.isFinite(_)||_<=0||g.push({selector:`meta[http-equiv="refresh"][content*="${R.slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:R,issueType:"auto_refresh",wcag:"2.2.1",context:`auto-refresh every ${_}s \u2014 interrupts screen reader users mid-sentence (WCAG 2.2.1)`,needsAI:false,manualFix:true,outerHtml:(F.outerHTML||"").slice(0,200)});}try{let F=!1,R=!1;for(let _ of Array.from(document.styleSheets)){let x=null;try{x=_.cssRules;}catch{continue}if(x)for(let S of Array.from(x)){let E=S.cssText||"";if(/animation[^;]*\binfinite\b/i.test(E)&&/(keyframes|animation-name)/i.test(E+" "+(S.name||""))&&(F=!0),/prefers-reduced-motion[^{]*\(\s*reduce\s*\)/i.test(E)&&(R=!0),S.cssRules)for(let M of Array.from(S.cssRules)){let L=M.cssText||"";/animation[^;]*\binfinite\b/i.test(L)&&(F=!0);}}}F&&!R&&g.push({selector:"html",attribute:"data-asw-motion-review",currentValue:"",issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:"infinite CSS animation detected without @media (prefers-reduced-motion: reduce) override",needsAI:!0,outerHtml:""});}catch{}let A=/\b(flash(ing)?|blink(ing)?|strobe)\b/i,w=document.querySelectorAll('[class*="flash" i], [class*="blink" i], [class*="strobe" i]');for(let F of Array.from(w)){if(g.length>=30)break;if(F.closest(f)||F.tagName==="BODY"||F.tagName==="HTML")continue;let R=F.className&&typeof F.className=="string"?F.className:"";if(!A.test(R)||typeof isVisible=="function"&&!isVisible(F))continue;let x=getComputedStyle(F).animationDuration,S=9999;if(x){let M=parseFloat(x);Number.isFinite(M)&&(S=/ms/i.test(x)?M:M*1e3);}if(S>333)continue;let E=typeof uniqueSel=="function"?uniqueSel(F):"";g.push({selector:E,attribute:"data-flashing-review",currentValue:"",issueType:"flashing_content",wcag:"2.3.1",context:`class matches flash/blink/strobe with ${S}ms animation-duration \u2014 seizure risk`,needsAI:false,needsReview:true,reviewReason:"WCAG 2.3.1 is met by stopping or slowing the flashing below 3 per second (remove the animation, slow it past 333ms, or add a pause control). aria-hidden does not stop flashing and hides content from assistive tech \u2014 do not apply it.",outerHtml:(F.outerHTML||"").slice(0,300)});}return g},bh={name:"cssAnimations",cap:30,async detect(f){return f.evaluate(sI)}};var lI=()=>{let d=[];function g(A){let w=(A.getAttribute("role")||"").toLowerCase();return w==="presentation"||w==="none"||(A.getAttribute("class")||"").toLowerCase().indexOf("layout")!==-1}function h(A){if(!A)return 0;let w=A.querySelectorAll("th, td"),F=0;for(let R=0;R<w.length;R++){let _=parseInt(w[R].getAttribute("colspan")||"1",10);F+=isNaN(_)||_<1?1:_;}return F}function p(A){let w=A.querySelectorAll("tr"),F=[];for(let R=0;R<w.length;R++){let _=w[R];_.closest("table")===A&&F.push(_);}return F}let y=document.querySelectorAll("table");for(let A=0;A<y.length&&!(d.length>=30);A++){let w=y[A];if(isWidget(w)||!isVisible(w)||g(w))continue;let F=p(w);if(F.length<=1)continue;let R=F[0],_=h(R);if(_<=1)continue;let x=uniqueSel(w),S=getNearbyContext(w),E=w.querySelectorAll("img, svg, picture").length>=2;if(E&&!(w.textContent||"").trim()){if(w.querySelector("input, select, textarea, button")&&(E=false),E&&w.querySelector("th, thead, caption, [scope], [headers]")&&(E=false),E){let v=Array.from(w.querySelectorAll("img")).map(D=>(D.getAttribute("alt")||"").trim().toLowerCase()).filter(Boolean);new Set(v).size<v.length&&(E=false);}}else if(E){let v=w.querySelectorAll("td, th"),D=0;for(let T=0;T<v.length&&E;T++){let O=v[T];if(O.closest("table")!==w)continue;let B=(O.textContent||"").trim(),z=!!O.querySelector("img, svg, picture");if(!B&&!z)continue;D++;let X=O.querySelectorAll("a[href]");E=O.tagName==="TD"&&X.length===1&&z&&(X[0].textContent||"").trim()===B;}D<2&&(E=false);}if(E){d.push({selector:x,attribute:"role",currentValue:w.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"table lays out images / image links only \u2014 likely a layout table",rows:F.length,cols:_,nearbyHeading:S.nearbyHeading}),needsAI:false,fixValue:"presentation",needsReview:true,reviewReason:'table of images or single image-links is likely layout \u2014 confirm, then mark it role="presentation" (do not add headers)',outerHtml:(w.outerHTML||"").slice(0,300)});continue}let M=null,L=w.querySelectorAll("thead");for(let v=0;v<L.length;v++)if(L[v].closest("table")===w){M=L[v];break}let N=M&&M.querySelector("tr")!==null,q=false;for(let v=0;v<F.length&&!q;v++){let D=F[v].children;for(let T=0;T<D.length&&!q;T++){let O=D[T],B=(O.tagName||"").toLowerCase();if(B!=="td"&&B!=="th")continue;if(B==="th"){q=true;break}let z=(O.getAttribute("headers")||"").trim();if(!z)continue;let X=z.split(/\s+/);for(let te=0;te<X.length;te++){let ee=document.getElementById(X[te]);if(ee&&(ee.tagName||"").toLowerCase()==="th"&&ee.closest("table")===w){q=true;break}}}}if(!N&&!q&&d.length<30&&d.push({selector:x,attribute:"thead",currentValue:M?"empty":"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:M?"<thead> has no <tr>":"no <thead> element",rows:F.length,cols:_,nearbyHeading:S.nearbyHeading}),needsAI:false,fixValue:"wrap-first-row",outerHtml:(w.outerHTML||"").slice(0,300)}),_>2){let v=R.querySelectorAll("th, td"),D=v.length>0;for(let T=0;T<v.length;T++)if((v[T].tagName||"").toLowerCase()!=="td"){D=false;break}if(D)for(let T=0;T<v.length&&!(d.length>=30);T++){let O=v[T],B=uniqueSel(O),z=(O.textContent||"").trim().slice(0,60);d.push({selector:B,attribute:"role",currentValue:O.getAttribute("role")||"",issueType:"missing_table_header",wcag:"1.3.1",context:JSON.stringify({reason:"first-row <td> in data table \u2014 should be <th>",cellText:z,colIndex:T,nearbyHeading:S.nearbyHeading}),needsAI:false,fixValue:"columnheader",outerHtml:(O.outerHTML||"").slice(0,300)});}}let H=[],j=[],W=new Map;for(let v=0;v<F.length;v++){let D=F[v],T=0;for(let O=0;O<D.children.length;O++){let B=D.children[O],z=(B.tagName||"").toLowerCase();if(z!=="td"&&z!=="th")continue;for(;H.some(Z=>Z.lane===T&&Z.untilRow>v);)T++;let X=parseInt(B.getAttribute("colspan")||"1",10);(isNaN(X)||X<1)&&(X=1);let te={rowIdx:v,lane:T,span:X,headers:(B.getAttribute("headers")||"").trim()};z==="td"?j.push(te):W.set(B,te);let ee=parseInt(B.getAttribute("rowspan")||"1",10)||1;if(ee>1)for(let Z=0;Z<X;Z++)H.push({lane:T+Z,untilRow:v+ee});T+=X;}}let J=(v,D)=>D.lane<v.lane+v.span&&D.lane+D.span>v.lane,k=w.querySelectorAll("th");for(let v=0;v<k.length&&!(d.length>=30);v++){let D=k[v];if(D.closest("table")!==w)continue;let T=(D.getAttribute("scope")||"").trim().toLowerCase();if(T==="col"||T==="row"||T==="colgroup"||T==="rowgroup")continue;let O=false;if((D.getAttribute("headers")||"").trim())O=true;else {let de=(D.getAttribute("id")||"").trim();if(de)for(let ke=0;ke<j.length;ke++){let De=j[ke].headers;if(De&&De.split(/\s+/).indexOf(de)!==-1){O=true;break}}}if(O)continue;let B=D.closest("tr"),z=D.closest("thead")!==null,X=false;B&&F.length>0&&F[0]===B&&(X=true);let te=false;if(B){let de=B.querySelectorAll("th, td");de.length>0&&de[0]===D&&(te=true);}let ee="col";z||X?ee="col":te&&(ee="row");let Z=W.get(D);if(!O&&Z){if(ee==="row")O=j.some(de=>de.rowIdx===Z.rowIdx&&!de.headers&&de.lane>=Z.lane+Z.span);else if(O=j.some(de=>de.rowIdx>Z.rowIdx&&!de.headers&&J(Z,de)),!O)for(let de=0;de<k.length;de++){let ke=W.get(k[de]);if(!ke||ke.rowIdx<=Z.rowIdx||!J(Z,ke))continue;let De=F[ke.rowIdx],Be=De?De.children:[];if(Be.length>0&&Be[0]===k[de]&&k[de].closest("table")===w){O=true;break}}}if(O)continue;let ie=uniqueSel(D),be=(D.textContent||"").trim().slice(0,60);d.push({selector:ie,attribute:"scope",currentValue:T,issueType:"missing_table_scope",wcag:"1.3.1",context:JSON.stringify({reason:"<th> missing scope attribute",inferred:ee,inThead:z,firstRow:X,firstCol:te,headerText:be}),needsAI:false,fixValue:ee,outerHtml:(D.outerHTML||"").slice(0,300)});}}return d},yh={name:"dataTables",cap:30,async detect(f){return f.evaluate(lI)}};var uI=()=>{let d=[];for(let g of document.querySelectorAll("img[alt]")){if(d.length>=30)break;let h=g;if((h.getAttribute("alt")||"").trim()!=="")continue;let p=(h.getAttribute("title")||"").trim().replace(/\s+/g," ");if(!p||isWidget(h))continue;let y=(h.getAttribute("role")||"").toLowerCase();y==="presentation"||y==="none"||h.getAttribute("aria-hidden")==="true"||h.closest('[aria-hidden="true"]')||(h.getAttribute("aria-label")||"").trim()||(h.getAttribute("aria-labelledby")||"").trim()||isVisible(h)&&d.push({selector:uniqueSel(h),attribute:"data-asw-decorative-title",currentValue:"",issueType:"decorative_image_with_title",wcag:"1.1.1",context:'image with alt="" also has title="'+p.slice(0,80)+'"',needsAI:true,needsReview:true,reviewReason:'WCAG 1.1.1 Non-text Content: this image has an empty alt (declared decorative) but also a title of "'+p.slice(0,80)+'". Violation when the picture conveys information the title names (a logo, a chart, a labelled icon), so the empty alt hides it. Pass when the picture is purely decorative and the title only repeats nearby text or adds nothing.',outerHtml:(h.outerHTML||"").slice(0,300)});}return d},wh={name:"decorativeImageTitle",cap:30,async detect(f){return f.evaluate(uI)}};var cI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=/^[^\p{L}\p{N}\s]*$/u,g=/^[\s\u00A0\u2000-\u200F\u2028-\u202F]*$/,p=[],y=["link","button","menuitem","menuitemcheckbox","menuitemradio","tab","checkbox","radio","switch","option","treeitem","gridcell","combobox","textbox","searchbox","slider","spinbutton","img","heading","listitem","none","presentation","generic","navigation","region","group","dialog"],A=R=>{let _=R.computedRole;if(typeof _=="string")return _.toLowerCase();let x=(R.getAttribute("role")||"").trim().toLowerCase().split(/\s+/);for(let S of x)if(y.indexOf(S)>=0)return S;return R.hasAttribute("href")?"link":"generic"},w=R=>{let _=A(R);if(_==="link"||R.hasAttribute("href"))return true;if(_&&_!=="generic")return false;let x=R.getAttribute("tabindex");if(x===null)return false;let S=parseInt(x,10);return !isNaN(S)&&S>=0},F=document.querySelectorAll("a");for(let R of F){if(p.length>=50)break;if(!w(R)||R.closest(f)||R.getAttribute("aria-hidden")==="true"||R.getAttribute("role")==="presentation"||R.closest('[aria-hidden="true"]')||!isVisible(R))continue;let _=getAccessibleName(R);if(_&&_.length>0&&!g.test(_)&&!d.test(_))continue;let x=R.querySelectorAll("img[alt]"),S="";for(let k of x){let v=(k.getAttribute("alt")||"").trim();v&&(S+=v+" ");}if(S.trim())continue;let E=R.getAttribute("aria-labelledby");if(E&&typeof __resolveIdRefs=="function"&&__resolveIdRefs(E))continue;let M=uniqueSel(R),L=R.getAttribute("href")||"",N=(R.textContent||"").trim(),q=getNearbyContext(R),H="";N&&g.test(N)?H="[whitespace only]":N&&d.test(N)&&(H=N);let j=(document.documentElement.getAttribute("lang")||"").trim(),W=[];R.closest("nav")&&W.push("inside nav"),q.nearbyHeading&&W.push("heading: "+q.nearbyHeading),L&&W.push("href: "+L.slice(0,120)),W.push("parent: "+q.parentTag),j&&W.push("page language: "+j);let J={selector:M,attribute:"aria-label",currentValue:H,issueType:"empty_link",wcag:"2.4.4",context:W.join(" | "),needsAI:true,outerHtml:R.outerHTML.slice(0,300)};p.push(J);}return p},xh={name:"emptyLinks",cap:50,async detect(f){return f.evaluate(cI)}};var dI=()=>{let d=[],g=new Set;function h(_){return (_||"").trim()}function p(_){let x=h(_.getAttribute("aria-label")||"");if(x)return x;let S=_.getAttribute("aria-labelledby");if(S){let M=S.split(/\s+/),L="";for(let N=0;N<M.length;N++){let q=document.getElementById(M[N]);q&&(L+=" "+(q.textContent||""));}if(h(L))return h(L)}let E=h(_.getAttribute("title")||"");return E||""}let y=document.querySelectorAll("fieldset");for(let _=0;_<y.length&&!(d.length>=30);_++){let x=y[_];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x))continue;if(p(x)){g.add(x);continue}let S=null,E=x.querySelectorAll("legend");for(let j=0;j<E.length;j++)if(E[j].closest("fieldset")===x){S=E[j];break}let M=S!==null,L=S?h(S.textContent||""):"";if(M&&L){g.add(x);continue}let N=getNearbyContext(x),q=x.querySelectorAll("input, select, textarea"),H=uniqueSel(x);d.push({selector:H,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:M?"fieldset has empty <legend>":"fieldset missing <legend>",controlCount:q.length,nearbyHeading:N.nearbyHeading,parentTag:N.parentTag}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)}),g.add(x);}let A=document.querySelectorAll('[role="group"], [role="radiogroup"]');for(let _=0;_<A.length&&!(d.length>=30);_++){let x=A[_];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x)||g.has(x))continue;if(p(x)){g.add(x);continue}let S=x.getAttribute("role")||"",E=getNearbyContext(x),M=x.querySelectorAll("input, select, textarea");if(S==="group"&&x.querySelectorAll('input:not([type="hidden"]), select, textarea, [role="radio"], [role="checkbox"], [role="switch"], [role="textbox"], [role="combobox"], [role="spinbutton"], [role="slider"]').length===0)continue;let L=uniqueSel(x);d.push({selector:L,attribute:"aria-label",currentValue:"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:'role="'+S+'" container without accessible name',role:S,controlCount:M.length,nearbyHeading:E.nearbyHeading,parentTag:E.parentTag}),needsAI:true,outerHtml:(x.outerHTML||"").slice(0,300)}),g.add(x);}let w={},F=document.querySelectorAll('input[type="radio"], input[type="checkbox"]');for(let _=0;_<F.length;_++){let x=F[_];if(isWidget(x)||!isVisible(x)||isHiddenFromAT(x))continue;let S=x.getAttribute("name")||"";if(!S)continue;let E=x.closest("form"),M=E?E.getAttribute("id")||E.getAttribute("action")||E.tagName:"no-form",L=(x.getAttribute("type")||"").toLowerCase(),N=M+"::"+L+"::"+S;w[N]||(w[N]=[]),w[N].push(x);}let R=Object.keys(w);for(let _=0;_<R.length&&!(d.length>=30);_++){let x=w[R[_]];if(x.length<3)continue;let S=x[0],E=S.closest('fieldset, [role="group"], [role="radiogroup"]'),M=false;if(E){M=true;for(let W=1;W<x.length;W++)if(!E.contains(x[W])){M=false;break}}if(M&&E)continue;let L=S.parentElement;for(;L&&L!==document.body;){let W=true;for(let J=1;J<x.length;J++)if(!L.contains(x[J])){W=false;break}if(W)break;L=L.parentElement;}if(!L||L===document.body||g.has(L))continue;let N=(S.getAttribute("type")||"").toLowerCase(),q=S.getAttribute("name")||"",H=getNearbyContext(S),j=uniqueSel(L);d.push({selector:j,attribute:"role",currentValue:L.getAttribute("role")||"",issueType:"missing_fieldset_legend",wcag:"1.3.1",context:JSON.stringify({reason:"unwrapped "+N+" group ("+x.length+' inputs share name="'+q+'")',inputType:N,inputCount:x.length,name:q,nearbyHeading:H.nearbyHeading,parentTag:H.parentTag}),needsAI:false,fixValue:N==="radio"?"radiogroup":"group",outerHtml:(L.outerHTML||"").slice(0,300)}),g.add(L);}return d},Dh={name:"fieldsetLegend",cap:30,async detect(f){return f.evaluate(dI)}};var fI=()=>{let f=[],d=document.querySelectorAll('header, nav, div, [class*="header"], [class*="navbar"], [class*="sticky"], [role="banner"]'),g=0;for(let h of Array.from(d)){let p=getComputedStyle(h);if(p.display==="none"||p.visibility==="hidden"||p.position!=="sticky"&&p.position!=="fixed")continue;let y=h.getBoundingClientRect();if(y.top>50||y.bottom<=0)continue;let A=Math.round(y.height);A<40||A>240||A>g&&(g=A);}if(g>0){let h=window.scrollX,p=window.scrollY,y=0,A=0;try{let F=[],R=new Set;document.querySelectorAll('a[href^="#"]').forEach(_=>{let x=_.getAttribute("href").slice(1);if(!x)return;let S=document.getElementById(x);S&&!R.has(S)&&(R.add(S),F.push(S));});for(let _ of F){if(A>=8)break;let x=getComputedStyle(_);if(x.display==="none"||x.visibility==="hidden")continue;A++,_.scrollIntoView({block:"start"});let S=_.getBoundingClientRect(),E=Math.max(S.height,1);Math.max(0,Math.min(S.bottom,g)-Math.max(S.top,0))/Math.min(E,g)>=.5&&y++;}}catch{}try{window.scrollTo(h,p);}catch{}let w=`scroll-margin-top: ${g+8}px; scroll-padding-top: ${g+8}px;`;A>0&&y>0?f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 ${y}/${A} in-page anchor targets land under it on jump`,needsAI:false,fixValue:w}):A===0&&f.push({selector:"html",attribute:"style",currentValue:"",issueType:"focus_obscured_by_sticky",wcag:"2.4.11",context:`sticky header height: ${g}px \u2014 no in-page anchor targets available to verify obscuring behaviorally`,needsAI:false,needsReview:true,reviewReason:"sticky top bar present; could not verify focus/jump obscuring automatically \u2014 check skip-link and anchor landing positions, or set scroll-padding-top preventively",fixValue:w});}return f},Ah={name:"focusObscured",async detect(f){return f.evaluate(fI)}};var _h={name:"focusVisible",cap:40,async detect(f){let d=typeof f.keyboard?.press=="function";try{await f.evaluate(()=>{let g=document.activeElement;window[Symbol.for("wa.prevFocus")]=g&&g!==document.body&&g!==document.documentElement?g:null,window[Symbol.for("wa.prevScroll")]=[window.scrollX,window.scrollY];let h=getSelection();window[Symbol.for("wa.prevSelection")]=h?Array.from({length:h.rangeCount},(p,y)=>h.getRangeAt(y).cloneRange()):[];});}catch{}if(d)try{await f.keyboard.press("Tab");}catch{}return f.evaluate(async g=>{let p=[],y=["a[href]","button",'input:not([type="hidden"])',"select","textarea",'[role="button"]','[role="link"]','[role="menuitem"]','[role="tab"]','[tabindex]:not([tabindex="-1"])'].join(",");try{document.activeElement?.blur?.();}catch{}let A=document.querySelectorAll(y),w=Symbol.for("wa.prevFocus"),F=window[w]??null;try{delete window[w];}catch{}for(let R of A){if(p.length>=40)break;if(typeof isWidget=="function"&&isWidget(R)||typeof isHiddenFromAT=="function"&&isHiddenFromAT(R)||typeof isVisible=="function"&&!isVisible(R)||!R.offsetParent&&R.tagName!=="BODY")continue;let _=R.hasAttribute("style"),x=R.getAttribute("style"),S=["transition-property","transition-duration","transition-timing-function","transition-delay","transition-behavior"],E=R.style?S.map(O=>[O,R.style.getPropertyValue(O),R.style.getPropertyPriority(O)]):[];R.style&&(R.style.transition="none");let M=()=>{if(R.style){R.style.removeProperty("transition");for(let[O,B,z]of E)B&&R.style.setProperty(O,B,z);!_&&!R.getAttribute("style")?R.removeAttribute("style"):_&&x!==null&&x.trim()===""&&R.getAttribute("style")===""&&R.setAttribute("style",x);}},L=getComputedStyle(R),N=L.outline,q=L.outlineWidth,H=L.outlineStyle,j=L.boxShadow,W=L.border,J=L.backgroundColor;try{R.focus({preventScroll:!0});}catch{M();continue}if(document.activeElement!==R){M();continue}let k=()=>{let O=getComputedStyle(R),B=(O.outlineStyle||"").toLowerCase(),z=parseFloat(O.outlineWidth||"0"),X=O.outline!==N,te=B!=="none"&&B!=="hidden"&&z>0,ee=O.boxShadow!==j&&O.boxShadow!=="none"&&O.boxShadow!=="",Z=O.border!==W,ie=O.backgroundColor!==J;return X&&te||ee||Z||ie},v=k(),D=typeof R.getAnimations=="function"&&R.getAnimations().some(O=>O.playState==="running"&&!("transitionProperty"in O));if(!v&&!D){let O=B=>typeof requestAnimationFrame=="function"?requestAnimationFrame(B):setTimeout(B,16);if(await new Promise(B=>setTimeout(()=>O(()=>B()),20)),document.activeElement!==R){M();continue}v=k();}if(M(),v||parseFloat(q)>0&&H!=="none")continue;let T=typeof uniqueSel=="function"?uniqueSel(R):R.tagName.toLowerCase();p.push({selector:T,pseudo:":focus-visible",attribute:"style",currentValue:H+" "+q,issueType:"focus_not_visible",wcag:"2.4.7",context:`${R.tagName.toLowerCase()} has no visible focus indicator \u2014 outline, box-shadow, border, and background all unchanged on focus (apply the style under :focus-visible)`,needsAI:false,fixValue:"outline: 2px solid #2563eb !important;outline-offset: 2px !important;",outerHtml:R.outerHTML.slice(0,200),...g?{}:{needsReview:true,reviewReason:"Focus indicator could not be verified with a real keyboard event; may use a keyboard-only (:focus-visible) pattern \u2014 verify by tabbing to it."}});}try{document.activeElement?.blur?.();}catch{}try{F&&F.isConnected&&F.focus({preventScroll:!0});}catch{}try{let R=Symbol.for("wa.prevScroll"),_=window[R];delete window[R],_&&window.scrollTo({left:_[0],top:_[1],behavior:"instant"});}catch{}try{let R=Symbol.for("wa.prevSelection"),_=window[R];delete window[R];let x=getSelection();if(x&&_){x.removeAllRanges();for(let S of _)x.addRange(S);}}catch{}return p},d)}};var pI=()=>{let d=[],g=["new","register","signup","sign-up","sign_up","create","change","reset"],h=["confirm","verify","retype","re-type","repeat","again"];function p(x){if(!x)return false;let S=" "+((x.getAttribute("id")||"")+" "+(x.getAttribute("class")||"")+" "+(x.getAttribute("name")||"")+" "+(x.getAttribute("action")||"")).toLowerCase()+" ";for(let E=0;E<g.length;E++)if(S.indexOf(g[E])!==-1)return true;return false}function y(x){let S=((x.getAttribute("name")||"")+" "+(x.getAttribute("id")||"")+" "+(x.getAttribute("placeholder")||"")+" "+(x.getAttribute("aria-label")||"")).toLowerCase();for(let E=0;E<h.length;E++)if(S.indexOf(h[E])!==-1)return true;return false}let A=document.querySelectorAll('input[type="password"], input[type="Password"]');for(let x of A){if(d.length>=30)break;let S=x;if(isWidget(S)||isHiddenFromAT(S)||!isVisible(S))continue;let E=(S.getAttribute("autocomplete")||"").trim().toLowerCase();if(y(S)){if(E==="new-password")continue;let H=uniqueSel(S);d.push({selector:H,attribute:"autocomplete",currentValue:E,issueType:"missing_autocomplete",wcag:"1.3.5",context:"confirm password field | name: "+(S.getAttribute("name")||"")+" | id: "+(S.getAttribute("id")||""),needsAI:false,fixValue:"new-password",outerHtml:(S.outerHTML||"").slice(0,300)});continue}if(E)continue;let L=S.form||S.closest("form"),N=p(L),q=uniqueSel(S);d.push({selector:q,attribute:"autocomplete",currentValue:"",issueType:"missing_autocomplete",wcag:"1.3.5",context:(N?"new/signup/change password form":"login form")+" | name: "+(S.getAttribute("name")||"")+" | id: "+(S.getAttribute("id")||""),needsAI:false,fixValue:N?"new-password":"current-password",outerHtml:(S.outerHTML||"").slice(0,300)});}let w=document.querySelectorAll("form"),F=/\*|\brequired\b|\bmandatory\b/i;for(let x of w){if(d.length>=30)break;let S=x;if(isWidget(S)||!isVisible(S))continue;let E=S.querySelectorAll("input[required], select[required], textarea[required]");if(!E.length)continue;let M=0;for(let j of E)isVisible(j)&&M++;if(M===0)continue;let L=S.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'),N=0;for(let j of L)isVisible(j)&&N++;if(M>=N||(S.getAttribute("data-asw-required-hint")||"").trim())continue;let q=(S.textContent||"").trim();if(F.test(q))continue;let H=uniqueSel(S);d.push({selector:H,attribute:"data-asw-required-hint",currentValue:"",issueType:"missing_required_indicator",wcag:"3.3.2",context:`form has ${M} required input(s) but no visible "*" / "required" / "mandatory" marker`,needsAI:true,outerHtml:(S.outerHTML||"").slice(0,300)});}let R='input[type="submit" i], input[type="image" i], button:not([type]), button[type="submit" i], button[type=""]',_='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea';for(let x of w){if(d.length>=30)break;let S=x;if(isWidget(S)||!isVisible(S)||isHiddenFromAT(S))continue;let E=[];for(let j of S.querySelectorAll(_))isVisible(j)&&E.push(j);if(E.length===0||S.querySelector(R))continue;let M=S.getAttribute("id");if(M){let j=false;for(let W of document.querySelectorAll(R))if(W.getAttribute("form")===M){j=true;break}if(j)continue}if(((S.getAttribute("role")||"").toLowerCase()==="search"||!!S.closest('[role="search"]'))&&E.length===1)continue;let N=E.slice(0,4).map(j=>j.tagName.toLowerCase()+(j.tagName==="INPUT"?"["+(j.getAttribute("type")||"text")+"]":"")).join(", "),q=[];for(let j of S.querySelectorAll('button:not([type="reset" i]), input[type="button" i], [role="button"]')){if(q.length>=3)break;let W=j;if(!isVisible(W))continue;let J=((W.tagName==="INPUT"?W.getAttribute("value"):W.textContent)||W.getAttribute("aria-label")||"").trim().replace(/\s+/g," ").slice(0,30);q.push('"'+J+'"');}if(q.length&&!(S.getAttribute("action")||"").trim())continue;let H=q.length?" Buttons present that are not a submit control (type=button or role=button): "+q.join(", ")+".":"";d.push({selector:uniqueSel(S),attribute:"data-asw-submit-control",currentValue:"",issueType:"form_missing_submit",wcag:"3.2.2",context:`form with ${E.length} visible field(s) (${N}) and no submit control`,needsAI:true,needsReview:true,reviewReason:"WCAG 3.2.2 On Input: this form has "+E.length+" visible field(s) ("+N+") and no submit control (no submit button, input[type=submit|image], or outside button via form=). Violation only when changing a field or pressing Enter causes an unexpected change of context (navigation, submission, reload) with no button to ask for it. Pass when it is a script-driven or search-style form with no such surprise."+H,outerHtml:(S.outerHTML||"").slice(0,300)});}return d},Eh={name:"formAttributes",cap:30,async detect(f){return f.evaluate(pI)}};var Sh={en:"the and of to is in that for with on are this you it be as at by from or your our we not have has was will can an all more about which their they",de:"der die das und ist nicht mit sich des den dem ein eine einen einer auf f\xFCr von zu im in auch sie wir ihr bei oder wird sind werden \xFCber nach aus wie noch nur unsere ihre sowie k\xF6nnen zum zur",nl:"de het een en van is dat op te in zijn voor met niet aan er ook als bij door wordt om uit worden naar onze uw jouw maar dan nog deze kunt wij u ons of wat die kan was",fr:"le la les et des est une du que pour dans qui pas sur au avec ce plus sont vous nous par ou leur cette mais \xEAtre aux votre vos notre nos",es:"el la los las y es una del que por para con se en no su sus m\xE1s al como pero este esta son nuestro nuestra nuestros usted tambi\xE9n de",it:"il lo la gli le e \xE8 di che per in una un del della con non sono pi\xF9 dei delle nel alla come anche questo questa nostro nostra nostri ti",pt:"o a os as e \xE9 de do da dos das que para com n\xE3o uma um em no na por mais seu sua nosso nossa voc\xEA tamb\xE9m s\xE3o",da:"og er det en at til af p\xE5 med for ikke den som de har vi kan vil fra jeres vores ogs\xE5 eller jer hvis efter",sv:"och \xE4r det en att till av p\xE5 med f\xF6r inte den som har vi kan ska fr\xE5n ocks\xE5 eller v\xE5ra v\xE5r din dina",nb:"og er det en at til av p\xE5 med for ikke den som har vi kan skal fra ogs\xE5 eller v\xE5re v\xE5r deg dine",pl:"i w na z do \u017Ce si\u0119 jest nie to o od jak dla po przez s\u0105 lub oraz nasz nasze mo\u017Ce tak\u017Ce jego",cs:"a v na se je \u017Ee s z do o to jako pro by nen\xED jsou nebo tak\xE9 ale jeho na\u0161e",ca:"el la els les i \xE9s de del dels que per amb en un una no es al als com m\xE9s per\xF2 aquest aquesta aquests s\xF3n seu seva nostre nostra hi ho ja tamb\xE9 o",gl:"o a os as e \xE9 de do da dos das que para con non unha un en no na nos nas por m\xE1is seu s\xFAa cando tam\xE9n pero este esta moi",af:"die en van is in dat op te vir nie met om wat sy hy hulle ons jy u was het aan as by ook maar of kan sal hierdie n ek julle deur baie"},Bo=new Map(Object.entries(Sh).map(([f,d])=>[f,new Set(d.split(" "))])),Ch=(()=>{let f=new Map;for(let[g,h]of Object.entries(Sh))for(let p of new Set(h.split(" "))){let y=f.get(p)||[];y.push(g),f.set(p,y);}let d=new Map;for(let[g,h]of f)d.set(g,h.map(p=>[p,1/h.length]));return d})(),mI=[["ko",/\p{Script=Hangul}/gu],["el",/\p{Script=Greek}/gu],["he",/\p{Script=Hebrew}/gu],["th",/\p{Script=Thai}/gu],["ja",/[\p{Script=Hiragana}\p{Script=Katakana}]/gu],["zh",/\p{Script=Han}/gu]],ti;function hI(f){if(!/^[a-z]{2,3}$/.test(f))return false;if(ti===void 0)try{ti=new Intl.DisplayNames(["en"],{type:"language",fallback:"none"});}catch{ti=null;}if(!ti)return f.length===2;try{let d=ti.of(f);return !!d&&d.toLowerCase()!==f}catch{return false}}function Au(f){let d=String(f||"").trim().toLowerCase().match(/^([a-z]{2,3})(?:[-_][a-z0-9]{2,8})*$/);return !d||d[1]==="und"||d[1]==="mul"||d[1]==="zxx"?"":hI(d[1])?d[1]:""}function gI(f){if(!f)return "";let d;try{d=new URL(/^[a-z][a-z0-9+.-]*:\/\//i.test(f)?f:`https://${f}`);}catch{return ""}let g=/^([a-z]{2})(?:[-_][a-z]{2,4})?$/i,h=d.hostname.toLowerCase().split(".");if(h.length>=3&&g.test(h[0])){let y=Au(h[0]);if(y)return y}let p=d.pathname.split("/").filter(Boolean)[0]||"";return g.test(p)?Au(p):""}function vI(f){let d=String(f||"").slice(0,2e4),g={lean:null,confident:false,ruledOut:new Set};if(!d.trim())return g;let h=(d.match(/\p{L}/gu)||[]).length;if(h>=40){let W=mI.map(([T,O])=>[T,(d.match(O)||[]).length]),J=W.find(([T])=>T==="ja")[1],k=W.find(([T])=>T==="zh")[1],v=J>=Math.max(5,(J+k)*.05)?[["ja",J+k]]:[["zh",k]],D=[...W.filter(([T])=>T!=="ja"&&T!=="zh"),...v].sort((T,O)=>O[1]-T[1]);if(D[0][1]/h>=.6)return {lean:D[0][0],confident:true,ruledOut:new Set(Bo.keys())}}let p=d.toLowerCase().match(/\p{L}+/gu)||[];if(!p.length)return g;let y={};for(let W of p){let J=Ch.get(W);if(J)for(let[k,v]of J)y[k]=(y[k]||0)+v;}let A=new Map;for(let W of p)Ch.has(W)&&A.set(W,(A.get(W)||0)+1);let w=new Map,F=new Map;for(let[W,J]of Bo){let k=0,v=0;for(let[D,T]of A)J.has(D)&&(k+=T,v++);w.set(W,k/p.length),F.set(W,v);}let R=p.length>=30,_=new Set(R?[...w].filter(([,W])=>W<.12).map(([W])=>W):[]),x=(W,J)=>{let k=Bo.get(W),v=Bo.get(J),D=0;for(let[T,O]of A)k.has(T)&&!v.has(T)&&(D+=O);return D},S=Object.entries(y).sort((W,J)=>J[1]-W[1]);if(!S.length)return {...g,ruledOut:_};let[E,M]=S[0],L=S[1]?.[1]||0,q=(R?[...w].filter(([W,J])=>W!==E&&J>=.12).map(([W])=>W):[]).every(W=>{let J=x(E,W);return J>=5&&J>=x(W,E)*2}),H=R&&M>=5&&(w.get(E)||0)>=.12&&(F.get(E)||0)>=6&&q,j=M>=2&&(H||M>=L*1.5)?E:null;return {lean:j,confident:!!j&&H,ruledOut:_}}function kh(f){let d=[...new Set((f.declared||[]).map(Au).filter(Boolean))],g=gI(f.url),h=vI(f.text);if(h.confident&&h.lean)return d.some(p=>p!==h.lean)||g&&g!==h.lean?null:{lang:h.lean,source:"text"};if(d.length===1){let p=d[0];return h.lean&&h.lean!==p||h.ruledOut.has(p)||g&&g!==p?null:{lang:p,source:"declared"}}return d.length>1?null:g&&h.lean===g&&!h.ruledOut.has(g)?{lang:g,source:"url"}:null}function bI(){let f=document.documentElement;if(!f||(f.getAttribute("lang")||"").trim())return null;let d=String(typeof location<"u"&&location.href||""),g=y=>y.replace(/[#?].*$/,"").replace(/\/+$/,""),h=null;try{let y=document.querySelectorAll('link[rel="alternate"][hreflang]');for(let A=0;A<y.length;A++){let w=y[A],F=w.getAttribute("hreflang")||"";if(F&&F.toLowerCase()!=="x-default"&&w.href&&g(w.href)===g(d)){h=F;break}}}catch{}return {url:d,text:(()=>{let y=document.body;if(!y)return "";if(typeof y.innerText=="string")return y.innerText.slice(0,2e4);let A=y.cloneNode(true);return A.querySelectorAll('script, style, noscript, template, [hidden], [aria-hidden="true"]').forEach(w=>w.remove()),String(A.textContent||"").replace(/\s+/g," ").slice(0,2e4)})(),declared:[f.getAttribute("xml:lang"),document.querySelector('meta[http-equiv="content-language" i]')?.getAttribute("content")??null,document.querySelector('meta[name="language" i]')?.getAttribute("content")??null,document.querySelector('meta[property="og:locale"]')?.getAttribute("content")??null,document.body?.getAttribute("lang")??null,h]}}function yI(f){if(!f)return [];let d=kh(f),g={selector:"html",attribute:"lang",currentValue:"",issueType:"missing_document_language",wcag:"3.1.1",needsAI:false};return d?[{...g,context:`Document language not declared; detected "${d.lang}" from page ${d.source}`,fixValue:d.lang}]:[{...g,context:"Document language not declared, and the page text does not settle which language it is (short, mixed, conflicting, or a language without a detector list) \u2014 set <html lang> by hand",manualFix:true}]}var Th={name:"htmlLang",async detect(f){let d=await f.evaluate(bI);return yI(d)}};var wI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=document.querySelectorAll("iframe");for(let p of h){if(g.length>=50)break;if(p.closest(f))continue;let y=false;for(let H=p;H;H=H.parentElement)if((H.getAttribute("aria-hidden")||"").trim()==="true"){y=true;break}let A=(p.getAttribute("role")||"").trim().toLowerCase();if(y||A==="presentation"||A==="none"||p.closest("[inert]"))continue;let w=/^[\t\n\f\r ]*([-+]?\d+)/.exec(p.getAttribute("tabindex")||"");if(w&&parseInt(w[1],10)<0)continue;let F=getComputedStyle(p);if(p.getClientRects().length===0||F.visibility==="hidden"||F.visibility==="collapse"||(p.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let R="",_=(p.getAttribute("aria-labelledby")||"").trim();if(_){let H=_.split(/\s+/);for(let j=0;j<H.length;j++){let W=document.getElementById(H[j]);W&&(R+=" "+(W.textContent||""));}R=R.trim();}if(R||(R=(p.getAttribute("aria-label")||"").trim()),R)continue;let x=(p.getAttribute("title")||"").trim(),S=x.length===0;if(!S)continue;let E=(p.getAttribute("src")||"").toLowerCase(),M=uniqueSel(p),L=getNearbyContext(p),N=(document.documentElement.getAttribute("lang")||"").trim(),q="src: "+E.slice(0,120)+(L.nearbyHeading?" | heading: "+L.nearbyHeading:"")+(L.cardText?" | nearby text: "+L.cardText:"")+(N?" | page language: "+N:"");S&&g.push({selector:M,attribute:"title",currentValue:x,issueType:"missing_label",wcag:"4.1.2",context:q,needsAI:true,outerHtml:p.outerHTML.slice(0,300)});}return g},Rh={name:"iframeTitle",cap:50,async detect(f){return f.evaluate(wI)}};var xI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=["hidden","submit","button","reset","image","checkbox","radio","file","range","color"],h=[],p={email:"email",tel:"tel",password:"current-password"},y=[{pattern:"organization",autocomplete:"organization"},{pattern:"telephone",autocomplete:"tel"},{pattern:"first-name",autocomplete:"given-name"},{pattern:"first_name",autocomplete:"given-name"},{pattern:"last-name",autocomplete:"family-name"},{pattern:"last_name",autocomplete:"family-name"},{pattern:"firstname",autocomplete:"given-name"},{pattern:"postcode",autocomplete:"postal-code"},{pattern:"birthday",autocomplete:"bday"},{pattern:"lastname",autocomplete:"family-name"},{pattern:"province",autocomplete:"address-level1"},{pattern:"username",autocomplete:"username"},{pattern:"website",autocomplete:"url"},{pattern:"address",autocomplete:"street-address"},{pattern:"company",autocomplete:"organization"},{pattern:"country",autocomplete:"country"},{pattern:"mobile",autocomplete:"tel"},{pattern:"postal",autocomplete:"postal-code"},{pattern:"street",autocomplete:"street-address"},{pattern:"e-mail",autocomplete:"email"},{pattern:"email",autocomplete:"email"},{pattern:"phone",autocomplete:"tel"},{pattern:"state",autocomplete:"address-level1"},{pattern:"fname",autocomplete:"given-name"},{pattern:"lname",autocomplete:"family-name"},{pattern:"city",autocomplete:"address-level2"},{pattern:"bday",autocomplete:"bday"},{pattern:"name",autocomplete:"name"},{pattern:"zip",autocomplete:"postal-code"},{pattern:"url",autocomplete:"url"}],A=document.querySelectorAll("input, select, textarea");for(let w of A){if(h.length>=50)break;if(w.closest(f))continue;let F=w,R=(F.getAttribute("type")||"text").toLowerCase();if(d.includes(R)||F.getAttribute("autocomplete")||!isVisible(F))continue;let _="";if(p[R]&&(_=p[R]),!_){let S=(F.getAttribute("name")||"").toLowerCase(),E=(F.getAttribute("id")||"").toLowerCase(),M=(F.getAttribute("placeholder")||"").toLowerCase(),L=S+" "+E+" "+M;for(let N of y)if(L.includes(N.pattern)){_=N.autocomplete;break}}if(!_)continue;if(_==="country"){let S=false;if(F.tagName==="SELECT"){let E=Array.from(F.options).map(M=>(M.value||"").trim()).filter(Boolean);S=E.length>0&&E.every(M=>/^[A-Za-z]{2}$/.test(M));}S||(_="country-name");}let x=uniqueSel(F);h.push({selector:x,attribute:"autocomplete",currentValue:"",issueType:"identify_input_purpose",wcag:"1.3.5",context:"type: "+R+" | name: "+(F.getAttribute("name")||"")+" | id: "+(F.getAttribute("id")||""),needsAI:false,fixValue:_});}return h},Fh={name:"inputPurpose",cap:50,async detect(f){return f.evaluate(xI)}};var DI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=['a[href]:not([href=""])',"button:not([disabled])",'input:not([type="hidden"]):not([disabled])',"select:not([disabled])","textarea:not([disabled])",'[role="button"]:not([aria-disabled="true"])','[role="link"]:not([aria-disabled="true"])','[role="menuitem"]:not([aria-disabled="true"])','[role="tab"]:not([aria-disabled="true"])','[role="checkbox"]:not([aria-disabled="true"])','[role="radio"]:not([aria-disabled="true"])'].join(",");function p(S){let E=S.getBoundingClientRect();if(E.width===0&&E.height===0)return false;let M=-window.scrollX,L=-window.scrollY,N=document.documentElement,q=getComputedStyle(S).position;if(q==="fixed")return false;let H=q==="absolute";for(let j=S.parentElement;j&&j!==document.body&&j!==N;j=j.parentElement){let W=getComputedStyle(j);if(H){if(W.position==="static")continue;H=false;}if(/auto|scroll/.test(W.overflowX+" "+W.overflowY))return false;let J=W.overflowX==="hidden"||W.overflowX==="clip",k=W.overflowY==="hidden"||W.overflowY==="clip";if(!J&&!k)continue;let v=j.getBoundingClientRect();if(J&&(E.right<=v.left||E.left>=v.right)||k&&(E.bottom<=v.top||E.top>=v.bottom))return true;if(q=W.position,q==="fixed")return false;q==="absolute"&&(H=true);}return E.right<=M||E.bottom<=L||E.left>=M+N.scrollWidth||E.top>=L+N.scrollHeight}let y='[role="tablist"],[aria-roledescription="carousel" i],[aria-roledescription="slide" i],[class*="slick"],[class*="swiper"],[class*="owl"],[class*="splide"],[class*="flickity"]',A='nav,section,article,aside,main,header,footer,form,ul,ol,dl,[role="navigation"],[role="region"],[role="main"],[role="complementary"],[role="banner"],[role="contentinfo"],[role="list"],[role="form"],[role="search"]',w='a[href],area[href],button,input:not([type="hidden"]),select,textarea,summary,iframe';function F(S){if(S.tagName==="A"){let M=S.href;if(M){for(let L of document.querySelectorAll("a[href]"))if(!(L===S||L.href!==M||L.tabIndex<0)&&!L.closest('[aria-hidden="true"],[hidden],[inert]')&&!(typeof isVisible=="function"&&!isVisible(L)))return "another focusable link to the same href exists"}}if(S.closest(y))return "inside a slider / carousel / tablist that manages its own tab order";if(S.hasAttribute("aria-controls")||S.hasAttribute("aria-selected"))return "carries aria-controls / aria-selected (a widget manages its state)";if(S.closest('[inert],[aria-hidden="true"]'))return "inside an inert or aria-hidden container";let E=S.parentElement?.closest(A);if(E){let M=0;for(let L of E.querySelectorAll(w))L!==S&&L.getAttribute("tabindex")?.trim()==="-1"&&M++;if(M>=2)return `${M} other controls in the same <${E.tagName.toLowerCase()}> also carry tabindex="-1" (inert by design)`}for(let M=S.parentElement;M&&M!==document.body&&!M.matches(w);M=M.parentElement){let L=parseInt(M.getAttribute("tabindex")||"",10);if(!Number.isFinite(L)||L<0)continue;let N=[...M.querySelectorAll(w)];if(N.length>=2&&N.every(q=>q.getAttribute("tabindex")?.trim()==="-1"))return 'a focusable ancestor owns focus and every control inside it carries tabindex="-1"';break}return ""}let R=document.querySelectorAll(h);for(let S of R){if(g.length>=30)break;if(S.closest(f)||!S.hasAttribute("tabindex"))continue;let E=S.getAttribute("tabindex")||"",M=parseInt(E,10);if(!Number.isFinite(M)||M===0||S.getAttribute("aria-disabled")==="true"||S.getAttribute("aria-hidden")==="true"||S.closest('[aria-hidden="true"]')||S.closest("[hidden]"))continue;let L=S.closest('[role="dialog"],[role="alertdialog"],dialog,[role="menu"],[role="listbox"]');if(L&&!(L.hasAttribute("open")||L.getAttribute("aria-modal")==="true"||L.getAttribute("aria-hidden")!=="true")||typeof isVisible=="function"&&!isVisible(S)||M<0&&p(S))continue;let N=(S.getAttribute("role")||"").toLowerCase();if(M<0&&S.closest('[role="tablist"],[role="menu"],[role="menubar"],[role="listbox"],[role="tree"],[role="treegrid"],[role="grid"],[role="radiogroup"],[role="toolbar"]'))continue;if(M<0&&S.tagName==="A"){if((S.getAttribute("aria-current")||"").trim().toLowerCase()==="page")continue;let D=(S.getAttribute("href")||"").trim();if(D&&!D.includes("#"))try{let T=new URL(D,document.baseURI),O=new URL(location.href);if(T.hash="",O.hash="",T.href===O.href)continue}catch{}}let H=typeof uniqueSel=="function"?uniqueSel(S):"",j=typeof getNearbyContext=="function"?getNearbyContext(S):{parentTag:S.tagName.toLowerCase(),nearbyHeading:""},W,J,k=M<0?F(S):"";M<0?(W="keyboard_trap",J="2.1.1"):(W="focus_order_disruption",J="2.4.3");let v=[];v.push("tabindex: "+M),v.push("tag: "+S.tagName.toLowerCase()),N&&v.push("role: "+N),j.nearbyHeading&&v.push("heading: "+j.nearbyHeading),v.push("parent: "+j.parentTag),k&&v.push('author tabindex="-1" looks intentional: '+k),g.push({selector:H,attribute:"tabindex",currentValue:String(M),issueType:W,wcag:J,context:v.join(" | "),needsAI:false,fixValue:"0",...k?{manualFix:true,reviewReason:`the author's tabindex="-1" looks intentional (${k}); tabindex="0" could add a duplicate or out-of-sync tab stop. Confirm the control must be reachable on its own before applying.`}:{},outerHtml:(S.outerHTML||"").slice(0,300)});}let _=/\b(?:this|(?:event|evt|e)\.(?:target|currentTarget))\.focus\s*\(\s*\)/,x=/\b(?:if|else|switch|while|for)\b|&&|\|\||\?/;for(let S of document.querySelectorAll("[onblur]")){if(g.length>=30)break;if(S.closest(f))continue;let E=S.getAttribute("onblur")||"";!_.test(E)||x.test(E)||S.matches('[disabled], [aria-disabled="true"]')||S.closest('[aria-hidden="true"], [hidden]')||typeof isVisible=="function"&&!isVisible(S)||g.push({selector:typeof uniqueSel=="function"?uniqueSel(S):S.tagName.toLowerCase(),attribute:"onblur",currentValue:E.slice(0,100),issueType:"keyboard_trap_self_focus",wcag:"2.1.2",context:"tag: "+S.tagName.toLowerCase()+" | onblur returns focus to the same element, so keyboard focus cannot leave it",needsAI:false,outerHtml:(S.outerHTML||"").slice(0,300)});}return g},Ih={name:"keyboardTrap",cap:30,async detect(f){return f.evaluate(DI)}};var AI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],h=document.querySelectorAll('button, a[href], [role="button"], [role="link"], input[type="submit"], input[type="button"]');for(let p of Array.from(h)){if(p.closest(f)||typeof isVisible=="function"&&!isVisible(p))continue;let y="",A=[],w=[];try{let J=/(?:^|[\s_-])(?:icon|material-icons|material-symbols(?:-\w+)?|fa|fas|far|fab|fal|glyphicon|dashicons)(?:[\s_-]|$)/i,k=/icon|awesome|glyph|material symbols|dashicons/i,v=!1;try{v=k.test(getComputedStyle(p).fontFamily||"");}catch{}let D=Pe=>parseFloat(Pe||"0")||0,T=Pe=>{if(Pe.hasAttribute("hidden"))return !0;let Ie=(Pe.getAttribute("style")||"").toLowerCase().replace(/\s+/g,"");if(/clip:rect\(0/.test(Ie)||/clip-path:inset\((50|100)%/.test(Ie))return !0;if(/position:(absolute|fixed)/.test(Ie)){if(/(width|height):[01](px)?(;|!|$)/.test(Ie))return !0;let nt=Ie.match(/(?:left|top):(-\d+)/);if(nt&&parseInt(nt[1],10)<=-999)return !0}return !1},O=(Pe,Ie)=>{if(Pe.hasAttribute("hidden")||D(Ie.fontSize)===0)return !0;let nt=(Ie.clip||"").replace(/\s+/g,"");if(/^rect\(0(px)?,?0(px)?,?0(px)?,?0(px)?\)$/.test(nt)||/inset\((50|100)%\)/.test(Ie.clipPath||""))return !0;let _t=Pe.getBoundingClientRect();return !!(/hidden|clip/.test(Ie.overflow||Ie.overflowX+" "+Ie.overflowY)&&(_t.width<=1||_t.height<=1)||(Ie.position==="absolute"||Ie.position==="fixed")&&(D(Ie.left)<=-999||D(Ie.top)<=-999||_t.right<=0||_t.bottom<=-window.scrollY))},B=!1,z='h1, h2, h3, h4, h5, h6, [role="heading"]',X=0;try{X=D(getComputedStyle(p).fontSize);}catch{}let te=Pe=>{try{let Ie=getComputedStyle(Pe);return {size:D(Ie.fontSize),weight:parseInt(Ie.fontWeight||"400",10)||400}}catch{return {size:0,weight:400}}},ee=Pe=>{let Ie=Pe.closest(z);return !!Ie&&p.contains(Ie)},Z=Pe=>{for(let Ie=Pe;Ie&&Ie!==p;Ie=Ie.parentElement)try{let nt=getComputedStyle(Ie).display||"";if(nt&&!/^inline(?!-block)|^contents$/.test(nt))return Ie}catch{return p}return p},ie=Pe=>Pe.split(/\s+/).filter(Ie=>/[\p{L}\p{N}]/u.test(Ie)).length,be=document.createTreeWalker(p,NodeFilter.SHOW_TEXT),de;for(;de=be.nextNode();){let Pe=de.parentElement;if(!Pe)continue;let Ie=(de.textContent||"").trim();if(!Ie||Pe===p&&v)continue;let nt=!1,_t=!1;for(let st=Pe;st&&st!==p;st=st.parentElement){if(st.tagName==="KBD"&&(_t=!0),st.tagName==="NOSCRIPT"||st.tagName==="SCRIPT"||st.tagName==="STYLE"||st.tagName==="TEMPLATE"){nt=!0;break}if(st.getAttribute("aria-hidden")==="true"){nt=!0;break}if(J.test(st.getAttribute("class")||"")||J.test(st.getAttribute("id")||"")){nt=!0;break}try{let lt=getComputedStyle(st);if(lt.display==="none"||lt.visibility==="hidden"){nt=!0;break}if(parseFloat(lt.opacity||"1")===0){nt=!0;break}if(k.test(lt.fontFamily||"")){nt=!0;break}if(O(st,lt)){nt=!0;break}}catch{if(T(st)){nt=!0;break}st.tagName==="SPAN"&&(B=!0);}}!nt&&/[\p{L}\p{N}]/u.test(Ie)&&w.push({text:Ie,kbd:_t,p:Pe});}let ke=0,De=w.length;for(;ke<De&&w[ke].kbd;)ke++;for(;De>ke&&w[De-1].kbd;)De--;let Be=ke<De?w.slice(ke,De):w,_e=Be.map(Pe=>te(Pe.p)),Ee=Be.map(Pe=>ee(Pe.p)),bt=_e.map(Pe=>Pe.size).filter(Pe=>Pe>0),kt=bt.length?Math.min(...bt):0,He=bt.length?Math.max(...bt):0,Mt=Math.min(..._e.map(Pe=>Pe.weight)),br=0;_e.forEach((Pe,Ie)=>{!Ee[Ie]&&Pe.weight<600&&Pe.size>br&&(br=Pe.size);});let Bt=Be.map(Pe=>Z(Pe.p)),Gt=Pe=>Be.some((Ie,nt)=>Bt[nt]===Bt[Pe]&&_e[nt].weight<600&&!Ee[nt]),Tt=Be.map((Pe,Ie)=>Ee[Ie]||He>kt&&_e[Ie].size>=He||_e[Ie].weight>=600&&Mt<600&&_e[Ie].size>=br&&!Gt(Ie)),tr=Be.filter((Pe,Ie)=>Tt[Ie]),Ae=Be;if(tr.length&&tr.length<Be.length){let Pe=ie(tr.map(st=>st.text).join(" ")),Ie=(st,lt)=>{for(let Jt=st.p;Jt&&Jt!==p;Jt=Jt.parentElement)if(Jt.tagName==="TIME"||Jt.tagName==="SMALL")return !0;return X>0&&_e[lt].size>0&&_e[lt].size<X},nt=st=>{let lt=Bt[st];if(tr.some(Vr=>lt.contains(Vr.p)))return !1;let Jt=ie(Be.filter((Vr,it)=>!Tt[it]&&Bt[it]===lt).map(Vr=>Vr.text).join(" "));return Jt>=5&&Jt>Pe},_t=Be.filter((st,lt)=>Tt[lt]||!Ie(st,lt)&&!nt(lt));_t.length&&(Ae=_t);}for(let Pe of Ae)A.push(Pe.text);y=B?"":A.join(" ").trim().toLowerCase();}catch{y=((p.innerText!=null?p.innerText:p.textContent)||"").trim().toLowerCase();}if(!y||!/[\p{L}\p{N}]/u.test(y)||/^\p{L}$/u.test(y))continue;let R=/[\p{L}\p{N}\p{M}]/u,_=(p.getAttribute("aria-label")||"").trim().toLowerCase();if(!_){let J=p.getAttribute("aria-labelledby");J&&(_=(typeof __resolveIdRefs=="function"?__resolveIdRefs(J):"").toLowerCase());}if(!_)continue;let x=J=>{let k=J.toLowerCase().replace(/\([^)]*\)/g," ");return (/[\p{L}\p{N}]/u.test(k)?k:J.toLowerCase()).replace(/[\p{S}\u2026*]/gu," ").replace(/\s+/g," ").trim().normalize("NFC")},S=x(_),E=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Myanmar}]/u,M=(J,k)=>!J||!R.test(J)||E.test(J)||E.test(k),L=(J,k)=>{if(k<=0)return "";let v=J.charCodeAt(k-1);return v>=56320&&v<=57343&&k>=2?J.slice(k-2,k):J.charAt(k-1)},N=(J,k)=>{let v=J.codePointAt(k);return v===void 0?"":String.fromCodePoint(v)},q=J=>{let k=J.substring(0,40);if(!k)return true;let v=J.length>=40,D=N(k,0),T=L(k,k.length);for(let O=0;;){let B=S.indexOf(k,O);if(B<0)return false;if(M(L(S,B),D)&&(v||M(N(S,B+k.length),T)))return true;O=B+1;}};if(q(x(y))||A.length>1&&q(x(A.join(""))))continue;if(A.length>1){let J=true,k=0;for(let v of A){let D=x(v.toLowerCase());if(!D)continue;let T=D.slice(0,40),O=-1;for(let B=k;;){let z=S.indexOf(T,B);if(z<0)break;let X=M(L(S,z),N(T,0)),te=T.length>=40||M(N(S,z+T.length),L(T,T.length));if(X&&te){O=z;break}B=z+1;}if(O<0){J=false;break}k=O+T.length;}if(J)continue}let H=typeof uniqueSel=="function"?uniqueSel(p):"",j=typeof getNearbyContext=="function"?getNearbyContext(p):{parentTag:p.tagName.toLowerCase(),nearbyHeading:""},W=[];W.push("visible: "+y.slice(0,40)),W.push("aria-label: "+_.slice(0,60)),j.nearbyHeading&&W.push("heading: "+j.nearbyHeading),W.push("parent: "+j.parentTag),d.push({selector:H,attribute:"aria-label",currentValue:_,issueType:"label_in_name",wcag:"2.5.3",context:W.join(" | "),needsAI:true,outerHtml:(p.outerHTML||"").slice(0,300)});}return d},Mh={name:"labelInName",cap:40,async detect(f){return f.evaluate(AI)}};var _I=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI]",g=["click here","click","here","read more","more","link","this","go","info","details","learn more","see more","view","open","tap"],h=[];function p(_){if(!_)return "";let x=_.split("#")[0];return x.length>1&&x.charAt(x.length-1)==="/"&&(x=x.substring(0,x.length-1)),x}function y(_){let x=(_.getAttribute("aria-label")||"").trim();return x||(_.textContent||"").trim().replace(/\s+/g," ")}function A(_){return !!_.closest('nav, [role="navigation"], [role="menubar"], [class*=breadcrumb], [aria-label*="breadcrumb" i]')}let w={},F=document.querySelectorAll("a[href]");for(let _=0;_<F.length;_++){let x=F[_];if(x.closest(f)||x.getAttribute("aria-hidden")==="true"||!isVisible(x))continue;let S=x.getAttribute("href")||"";if(!S)continue;let E=S.toLowerCase();if(E.charAt(0)==="#"||E.indexOf("javascript:")===0||E.indexOf("mailto:")===0||E.indexOf("tel:")===0)continue;let M=x.href||S,L=p(M);if(!L||A(x))continue;let N=(x.textContent||"").trim(),q=!!x.querySelector("img, svg, picture");if(!N&&q)continue;let H=y(x);if(!H)continue;let j=H.toLowerCase();j===E||j===M.toLowerCase()||(w[L]||(w[L]=[]),w[L].push(x));}let R=Object.keys(w);for(let _=0;_<R.length&&!(h.length>=30);_++){let x=w[R[_]];if(!x||x.length<2)continue;let S={},E="";for(let q=0;q<x.length;q++){let H=y(x[q]),j=H.toLowerCase();S[j]=true,H.length>E.length&&(E=H);}if(Object.keys(S).length<2)continue;let L=E.toLowerCase().trim();if(L.length<5)continue;let N=false;for(let q=0;q<g.length;q++)if(L===g[q]){N=true;break}if(!N)for(let q=0;q<x.length&&!(h.length>=30);q++){let H=x[q],j=y(H);if(j.toLowerCase()===L)continue;let W=uniqueSel(H);h.push({selector:W,attribute:"aria-label",currentValue:j,issueType:"link_consistency",wcag:"3.2.4",context:"Same href as "+x.length+' link(s) on this page with different text (e.g. "'+E.slice(0,80)+'"). If these labels also differ across pages, unify the VISIBLE text \u2014 do not mask it with aria-label.',needsAI:false,needsReview:true,reviewReason:"WCAG 3.2.4 is a cross-page criterion; same-page label variation may be intentional and cannot be auto-verified from one page",outerHtml:H.outerHTML.slice(0,300)});}}return h},Lh={name:"linkConsistency",cap:30,async detect(f){return f.evaluate(_I)}};var EI=()=>{let d=[],g=[".pdf",".doc",".docx",".xls",".xlsx",".zip",".csv",".ppt",".pptx",".txt",".rtf",".epub"],h="";try{h=window.location&&window.location.hostname||"";}catch{h="";}h=(h||"").toLowerCase();function p(M,L){if(!M||!L)return false;if(M===L||M.endsWith("."+L)||L.endsWith("."+M))return true;let N=q=>{let H=q.split(".");if(H.length<=2)return q;let j=H[H.length-1],W=H[H.length-2],J=["co","com","net","org","ac","gov","edu"],k=j.length===2&&J.indexOf(W)>=0?3:2;return H.slice(-k).join(".")};return N(M)===N(L)}function y(M){return M.indexOf("www.")===0?M.slice(4):M}function A(M){if(!M)return "";let L=M.toLowerCase();if(L.charAt(0)==="#"||L.charAt(0)==="/"||L.charAt(0)==="?"||L.indexOf("javascript:")===0||L.indexOf("mailto:")===0||L.indexOf("tel:")===0)return "";try{return (new window.URL(M,window.location.href).hostname||"").toLowerCase()}catch{return ""}}function w(M){if(!M)return "";let L=M,N=L.indexOf("?");N>=0&&(L=L.slice(0,N));let q=L.indexOf("#");q>=0&&(L=L.slice(0,q)),L=L.toLowerCase();for(let H=0;H<g.length;H++){let j=g[H];if(L.length>=j.length&&L.slice(L.length-j.length)===j)return j}return ""}function F(M){let L=[],N=(M.getAttribute("aria-label")||"").trim();N&&L.push(N);let q=(M.getAttribute("title")||"").trim();q&&L.push(q);let H=M.getAttribute("aria-labelledby");if(H)try{let j=typeof __resolveIdRefs=="function"?__resolveIdRefs(H):"";j&&L.push(j);}catch{}return L.push((M.textContent||"").trim()),L.join(" ").toLowerCase()}function R(M,L,N){let q="";try{typeof getAccessibleName=="function"&&(q=(getAccessibleName(M)||"").trim());}catch{}let H=(L||N||q||M.textContent||"").replace(/\s+/g," ").trim();return H||(M.getAttribute("href")||"").trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"")}let _=(document.documentElement.getAttribute("lang")||"").trim();function x(M){return "current name: "+M.slice(0,200)+(_?" | page language: "+_:"")+" | keep the current name and add the notice, in the page language"}let S=document.querySelectorAll("a"),E=S.length;for(let M=0;M<E&&!(d.length>=50);M++){let L=S[M];if(!L||isWidget(L)||L.getAttribute("aria-hidden")==="true")continue;try{if(L.closest&&L.closest('[aria-hidden="true"]'))continue}catch{}if(!isVisible(L))continue;let N=L.getAttribute("href");if(N==null)continue;let q=String(N).trim();if(!q)continue;let H=q.toLowerCase(),j=F(L),W=(L.getAttribute("rel")||"").toLowerCase(),J=uniqueSel(L),k=(L.getAttribute("target")||"").toLowerCase(),v=(L.outerHTML||"").slice(0,300);if(q==="#"||H.indexOf("javascript:")===0||q.charAt(0)==="#"&&q.length>1)continue;let D=w(H);if(D){let z=L.hasAttribute&&L.hasAttribute("download"),X=j.indexOf(D)>=0||new RegExp("\\b"+D.slice(1)+"\\b").test(j)||j.indexOf("download")>=0;if(!z&&!X){let te=R(L,(L.getAttribute("aria-label")||"").trim(),"");d.push({selector:J,attribute:"aria-label",currentValue:(L.getAttribute("aria-label")||"").trim(),issueType:"download_link_warning",wcag:"3.2.5",context:"download link \u2014 file type "+D+" | href: "+q.slice(0,120)+" | "+x(te),needsAI:true,outerHtml:v});continue}}let T=A(q),O=H.indexOf("http://")===0||H.indexOf("https://")===0||H.indexOf("//")===0,B=!!T&&!!h&&!p(y(T),y(h));if(k==="_blank"){let z=W.indexOf("noopener")>=0||W.indexOf("noreferrer")>=0,X=j.indexOf("new window")>=0||j.indexOf("new tab")>=0||j.indexOf("opens in")>=0;if(!X){let te=(L.getAttribute("aria-label")||"").trim(),ee="",Z=L.getAttribute("aria-labelledby")||"";if(!te&&Z)try{typeof __resolveIdRefs=="function"&&(ee=(__resolveIdRefs(Z)||"").trim());}catch{}let ie=R(L,te,ee),be=[];z||be.push("missing rel=noopener"),X||be.push('missing "new window" hint'),be.push("href: "+q.slice(0,120)),d.push({selector:J,attribute:"aria-label",currentValue:(L.getAttribute("aria-label")||"").trim(),issueType:"new_window_link",wcag:"3.2.5",context:be.join(" | ")+" | opens in a new window | "+x(ie),needsAI:true,outerHtml:v});continue}}if(B&&O){let z=W.indexOf("external")>=0,X=j.indexOf("external")>=0||j.indexOf("opens in")>=0||j.indexOf("new window")>=0||j.indexOf("new tab")>=0;if(!z&&!X){let te=(L.getAttribute("aria-label")||"").trim(),ee="",Z=L.getAttribute("aria-labelledby")||"";if(!te&&Z)try{typeof __resolveIdRefs=="function"&&(ee=(__resolveIdRefs(Z)||"").trim());}catch{}let ie=R(L,te,ee);d.push({selector:J,attribute:"aria-label",currentValue:(L.getAttribute("aria-label")||"").trim(),issueType:"external_link_warning",wcag:"3.2.5",context:"external: "+T+" (page: "+h+") | href: "+q.slice(0,120)+" | "+x(ie),needsAI:true,outerHtml:v});}}}return d},Oh={name:"linkWarnings",cap:50,async detect(f){return f.evaluate(EI)}};var CI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=ae-exclude],[id*=ae_app],[id*=ae_],[class*=EquallyAI]",g=[],h=new Set,p=document.querySelectorAll('main, [role="main"]'),y=[];return p.forEach(A=>{let w=getComputedStyle(A);w.display!=="none"&&w.visibility!=="hidden"&&y.push(A);}),p.forEach(A=>{if(g.length>=10||A.closest(f)||A.getAttribute("aria-hidden")!=="true")return;let w=getComputedStyle(A);if(w.display==="none"||w.visibility==="hidden"||A.closest('[role="dialog"]')||A.closest('[role="alertdialog"]')||A.closest("dialog")||y.some(x=>x!==A&&x.getAttribute("aria-hidden")!=="true"))return;let R=A.parentElement;for(;R&&R!==document.body&&R!==document.documentElement;){if(R.getAttribute("aria-hidden")==="true")return;R=R.parentElement;}let _=uniqueSel(A);h.has(_)||(h.add(_),g.push({selector:_,attribute:"aria-hidden",currentValue:"true",issueType:"main_content_hidden",wcag:"4.1.2",context:JSON.stringify({tag:A.tagName.toLowerCase(),role:A.getAttribute("role")||"",suggestion:'Main content container has aria-hidden="true", hiding the entire page from assistive technology. Set aria-hidden="false" to restore visibility.'}),needsAI:false,fixValue:"false",outerHtml:(A.outerHTML||"").slice(0,300)}));}),g},Ph={name:"mainContentHidden",cap:10,async detect(f){return f.evaluate(CI)}};var SI=()=>{let d=[];function g(A){return !!(!A||isWidget(A)||(A.getAttribute("aria-hidden")||"").trim().toLowerCase()==="true")}function h(A){return (A.outerHTML||"").slice(0,300)}let p=document.querySelectorAll("video");for(let A of p){if(d.length>=10)break;let w=A;if(g(w))continue;let F=w.hasAttribute("controls"),R=w.hasAttribute("autoplay"),_=w.hasAttribute("muted"),x=R||!w.paused&&!w.ended,S=typeof isVisible=="function"?isVisible(w):true;if(!F&&x&&S&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"video element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),d.length>=10))break;R&&!_&&d.push({selector:uniqueSel(w),attribute:"muted",currentValue:"",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"video autoplays with sound \u2014 add muted",needsAI:false,fixValue:"",outerHtml:h(w)});}let y=document.querySelectorAll("audio");for(let A of y){if(d.length>=10)break;let w=A;if(g(w))continue;let F=w.hasAttribute("controls"),R=w.hasAttribute("autoplay"),_=R||!w.paused&&!w.ended;if(!F&&_&&(d.push({selector:uniqueSel(w),attribute:"controls",currentValue:"",issueType:"missing_media_controls",wcag:"2.2.2",context:"audio element missing player controls",needsAI:false,fixValue:"",outerHtml:h(w)}),d.length>=10))break;R&&d.push({selector:uniqueSel(w),attribute:"remove_attribute",currentValue:"autoplay",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"audio element autoplays \u2014 remove autoplay attribute",needsAI:false,fixValue:"autoplay",outerHtml:h(w)});}return d},Nh={name:"mediaControls",cap:10,async detect(f){return f.evaluate(SI)}};var kI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=[],p=/^(image|photo|img|picture|pic|untitled|banner|hero|\d{1,2})$/i,y=/^(IMG[-_]?\d|DSC[-_]?\d|DSCN?\d|(?:screenshot|Screen\s*Shot|Bildschirmfoto|capture(?:\s+d['’]\s?[ée]cran)?)(?:$|\s+(?:from|at)\s+\d|[\s_-]*[\d(])|image\s*\d|foto|photo[-_]?\d|P\d{4,}|GOPR\d|DJI[-_]\d)/i,A=/pixel|track|beacon|doubleclick|facebook\.com\/tr\b/i,w=(x,S)=>{let E=x.getAttribute(S);if(E===null)return false;let M=parseFloat(E);return !isNaN(M)&&M<=1},F=document.querySelectorAll("img");for(let x of F){if(g.length>=50)break;if(x.closest(f)||x.closest("template, noscript, script"))continue;let S=x.getAttribute("src")||"",E=x.getAttribute("alt");if(S.startsWith("data:")||w(x,"width")||w(x,"height"))continue;let M=x.naturalWidth||0,L=x.naturalHeight||0;if(M>0&&L>0&&M<=3&&L<=3||x.getAttribute("role")==="presentation"||x.getAttribute("role")==="none"||x.getAttribute("aria-hidden")==="true")continue;let N=M||x.width,q=L||x.height,H=x.getBoundingClientRect(),j=!isVisible(x)||N<=2&&q<=2||H.width<=2&&H.height<=2||!!x.closest('[aria-hidden="true"]');if(j&&(E!==null||h.length>=50||A.test(S)))continue;let W=(x.getAttribute("aria-label")||"").trim(),J=(x.getAttribute("aria-labelledby")||"").trim();if(W||J)continue;if(E===null){let O=uniqueSel(x),B=getNearbyContext(x),z=[],X=x.closest("figure");if(X){let ie=X.querySelector("figcaption");ie&&z.push("figcaption: "+(ie.textContent||"").trim().slice(0,80));}B.nearbyHeading&&z.push("heading: "+B.nearbyHeading);let te=x.closest("a");if(te){let ie=te.getAttribute("href")||"",be=(te.textContent||"").trim().replace(/\s+/g," ");be&&z.push("link text: "+be.slice(0,60)),ie&&z.push("link href: "+ie.slice(0,80));}S&&z.push("src: "+S.slice(0,120)),z.push("parent: "+B.parentTag);let ee=S;try{ee=new URL(S,document.baseURI).href;}catch{}(j?h:g).push({selector:O,attribute:"alt",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:z.join(" | "),needsAI:true,imageSrc:ee,outerHtml:x.outerHTML.slice(0,300)});continue}let k=(E||"").trim();if(k==="")continue;let v=/\.(jpg|jpeg|png|gif|webp|svg|bmp|ico)$/i.test(k),D=p.test(k),T=y.test(k);if(v||D||T){let O=uniqueSel(x),B=getNearbyContext(x),z=[];B.nearbyHeading&&z.push("heading: "+B.nearbyHeading),S&&z.push("src: "+S.slice(0,120)),z.push("parent: "+B.parentTag);let X=S;try{X=new URL(S,document.baseURI).href;}catch{}g.push({selector:O,attribute:"alt",currentValue:k,issueType:"missing_alt",wcag:"1.1.1",context:z.join(" | "),needsAI:true,imageSrc:X,outerHtml:x.outerHTML.slice(0,300)});}}let R=globalThis;for(let x of Array.from(document.querySelectorAll("object"))){if(g.length>=50)break;if(x.closest(f)||x.closest('[aria-hidden="true"]')||x.getAttribute("aria-hidden")==="true")continue;let S=(x.getAttribute("role")||"").trim().toLowerCase();if(S==="presentation"||S==="none"||!R.isVisible(x))continue;let E=x.getAttribute("data")||"",M=(x.getAttribute("type")||"").trim().toLowerCase(),L=M.startsWith("image/"),N=/\.(png|jpe?g|gif|webp|bmp|svg)(\?[^#]*)?(#.*)?$/i.test(E);if(!E||!(L||!M&&N)||(x.getAttribute("aria-label")||"").trim()||(x.getAttribute("title")||"").trim())continue;let q=(x.getAttribute("aria-labelledby")||"").trim();q&&q.split(/\s+/).some(H=>(document.getElementById(H)?.textContent||"").trim())||x.closest('a, button, [role="button"], [role="link"]')||g.push({selector:R.uniqueSel(x),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"object image has no accessible name (fallback content does not name an object) | data: "+E.slice(0,120),needsAI:false,outerHtml:x.outerHTML.slice(0,300)});}let _=Array.from(document.querySelectorAll("script:not([src])")).map(x=>x.textContent||"");for(let x of Array.from(document.querySelectorAll("canvas"))){if(g.length>=50)break;if(x.closest(f)||x.closest('[aria-hidden="true"]')||x.getAttribute("aria-hidden")==="true")continue;let S=(x.getAttribute("role")||"").trim().toLowerCase();if(S==="presentation"||S==="none"||!R.isVisible(x)||(x.getAttribute("aria-label")||"").trim()||(x.getAttribute("aria-labelledby")||"").trim()||(x.getAttribute("title")||"").trim()||(x.textContent||"").trim()||x.children.length||x.closest('a, button, label, figure, [role="img"], [role="button"], [role="link"], [aria-label], [aria-labelledby], [aria-describedby]'))continue;let E=x.getBoundingClientRect();if(E.width<=30||E.height<=30)continue;let M=x.getAttribute("id");if(!M)continue;let L=new RegExp("#"+M.replace(/[^\w-]/g,"")+`\\b|getElementById\\(\\s*['"]`+M.replace(/[^\w-]/g,"")+`['"]`);_.some(q=>L.test(q)&&/\b(fillText|strokeText)\s*\(/.test(q))&&g.push({selector:R.uniqueSel(x),attribute:"aria-label",currentValue:"",issueType:"missing_alt",wcag:"1.1.1",context:"canvas draws text via script but has no accessible name or fallback content",needsAI:false,outerHtml:x.outerHTML.slice(0,300)});}for(let x of h){if(g.length>=50)break;g.push(x);}return g},qh={name:"missingAlt",cap:50,async detect(f){return f.evaluate(kI)}};var TI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye],[class*=EquallyAI],[id*=ae_],[class*=ae-exclude]",d='a[href], button, input:not([type="hidden"]), select, textarea, summary, [contenteditable]:not([contenteditable="false" i]), [role="button"], [role="link"], [role="checkbox"], [role="menuitem"], [role="tab"], [role="switch"], [role="option"], [role="radio"], [role="combobox"], [role="slider"], [role="textbox"]',g=["onclick","data-action","ng-click","@click","v-on:click"],h=E=>{if(getComputedStyle(E).visibility==="hidden")return false;for(let M=E;M&&M.nodeType===1;M=M.parentElement)if(getComputedStyle(M).display==="none")return false;return true},p=E=>Array.prototype.some.call(E.querySelectorAll("a:not([href])"),M=>h(M)&&!isHiddenFromAT(M)&&g.some(L=>M.hasAttribute(L))),y=E=>Array.prototype.some.call(E.querySelectorAll(d),M=>h(M)&&!isHiddenFromAT(M)),w=[];return document.querySelectorAll("div[onclick], span[onclick]").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||y(E)||p(E))return;let M=E.getAttribute("role");if(M==="button"||M==="link"||M==="tab"||M==="menuitem"||M==="checkbox"||M==="radio")return;let L=uniqueSel(E),N=E.outerHTML.slice(0,300);w.push({selector:L,attribute:"role",currentValue:M||"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),hasOnclick:true,currentTabindex:E.getAttribute("tabindex")}),needsAI:false,fixValue:"button",outerHtml:N}),E.getAttribute("tabindex")===null&&w.push({selector:L,attribute:"tabindex",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),supplementary:'tabindex needed alongside role="button"'}),needsAI:false,fixValue:"0",outerHtml:N});}),document.querySelectorAll("a:not([href])").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E)||E.getAttribute("role"))return;let L=E.hasAttribute("onclick"),N=E.getAttribute("data-action")||E.getAttribute("ng-click")||E.getAttribute("@click")||E.getAttribute("v-on:click");if(!L&&!N||y(E))return;let q=uniqueSel(E),H=E.outerHTML.slice(0,300);w.push({selector:q,attribute:"role",currentValue:"",issueType:"missing_button_role",wcag:"4.1.2",context:JSON.stringify({tag:"a",href:E.getAttribute("href")||"",hasOnclick:L}),needsAI:false,fixValue:"button",outerHtml:H});}),document.querySelectorAll("nav, ol, ul").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let M=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),L=(E.getAttribute("id")||"").toLowerCase();if(!M.includes("breadcrumb")&&!M.includes("crumb")&&!L.includes("breadcrumb")&&!L.includes("crumb"))return;let N=E.querySelectorAll("a");if(N.length<2)return;let q=(E.getAttribute("aria-label")||"").toLowerCase(),H=E.getAttribute("role");if(q.includes("breadcrumb")||q.includes("crumb")||H==="navigation"&&q)return;let j=uniqueSel(E);w.push({selector:j,attribute:"aria-label",currentValue:q,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:"breadcrumb navigation missing aria-label",linkCount:N.length,pageLang:(document.documentElement.getAttribute("lang")||"").trim(),links:Array.prototype.slice.call(N,0,6).map(W=>(W.textContent||"").trim().slice(0,40)),otherLandmarkLabels:Array.prototype.slice.call(document.querySelectorAll('nav[aria-label], [role="navigation"][aria-label], [role="region"][aria-label], aside[aria-label]'),0,8).filter(W=>W!==E).map(W=>(W.getAttribute("aria-label")||"").trim().slice(0,60))}),needsAI:true,outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll("form, section, div").forEach(E=>{if(w.length>=50||E.closest(f)||!isVisible(E)||isHiddenFromAT(E))return;let M=(E.className&&typeof E.className=="string"?E.className:"").toLowerCase(),L=(E.getAttribute("id")||"").toLowerCase();if(!M.includes("search")&&!L.includes("search")||!E.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]'))return;let q=E.getAttribute("role");if(q==="search"||E.closest('[role="search"]')||E.querySelector('[role="search"]')||Array.prototype.some.call(E.querySelectorAll("form, section, div"),W=>{let J=(W.className&&typeof W.className=="string"?W.className:"").toLowerCase(),k=(W.getAttribute("id")||"").toLowerCase();return !J.includes("search")&&!k.includes("search")||W.getAttribute("role")==="search"?false:!!W.querySelector('input[type="search"], input[type="text"], input[name*="search"], input[placeholder*="earch"]')}))return;let j=uniqueSel(E);w.push({selector:j,attribute:"role",currentValue:q||"",issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:'search section missing role="search"'}),needsAI:false,fixValue:"search",outerHtml:E.outerHTML.slice(0,300)});}),document.querySelectorAll('[role="menu"], [role="menubar"]').forEach(E=>{if(E.closest(f))return;let M=E.getAttribute("role")||"menu",L=Array.from(E.querySelectorAll("a")).filter(q=>{if(!isVisible(q)||isHiddenFromAT(q))return false;let H=q.getAttribute("role");return H!=="menuitem"&&H!=="menuitemcheckbox"&&H!=="menuitemradio"});if(L.length===0)return;let N=uniqueSel(E);w.push({selector:N,attribute:"role",currentValue:M,issueType:"missing_semantic_role",wcag:"4.1.2",context:JSON.stringify({tag:E.tagName.toLowerCase(),reason:`${L.length} link(s) inside role="${M}" without menuitem roles`,sample:L.slice(0,3).map(q=>(q.textContent||"").trim().slice(0,40))}),message:`container role="${M}" holds ${L.length} link(s) without menuitem roles \u2014 for site navigation use a nav list instead (role="menu" requires the full menu pattern: menuitem children plus arrow-key handling)`,needsAI:false,needsReview:true,reviewReason:'Adding role="menuitem" to plain navigation links is invalid ARIA when the menu pattern is not implemented. Prefer removing role="menu"/"menubar" from site navigation; keep it only for application menus built to the APG menu pattern.',outerHtml:E.outerHTML.slice(0,300)});}),w},Bh={name:"missingRoles",cap:50,async detect(f){return f.evaluate(TI)}};var RI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[],h={main:'main, [role="main"]',navigation:'nav, [role="navigation"]',banner:'header, [role="banner"]',contentinfo:'footer, [role="contentinfo"]',complementary:'aside, [role="complementary"]',search:'[role="search"]'};for(let[p,y]of Object.entries(h))document.querySelectorAll(y).forEach(w=>{if(g.length>=30||w.closest(f)||typeof isVisible=="function"&&!isVisible(w))return;let F=w.parentElement,R=null;for(;F&&F!==document.body;){if(F.matches(y)){R=F;break}F=F.parentElement;}if((p==="banner"||p==="contentinfo")&&w.closest("article, section, aside, main, nav")||!R||w.getAttribute("aria-label")?.trim()||w.getAttribute("aria-labelledby")?.trim())return;let _=typeof uniqueSel=="function"?uniqueSel(w):"",x=typeof getNearbyContext=="function"?getNearbyContext(w):{nearbyHeading:""};g.push({selector:_,attribute:"role",currentValue:w.getAttribute("role")||w.tagName.toLowerCase(),issueType:"nested_landmark",wcag:"1.3.1",context:`nested-in: ${p} | tag: ${w.tagName.toLowerCase()} | heading: ${x.nearbyHeading||""}`,needsAI:false,fixValue:"generic",outerHtml:(w.outerHTML||"").slice(0,300)});});return g},Hh={name:"nestedLandmarks",cap:30,async detect(f){return f.evaluate(RI)}};var FI=()=>{let d=[],g=k=>typeof parseCssColor=="function"?parseCssColor(k):null,h=(k,v,D)=>typeof relLuminance=="function"?relLuminance(k,v,D):0,y=(k,v)=>typeof contrastRatio=="function"?contrastRatio(k,v):1;function A(k){let D=[0,0,0],T=0,O=z=>{let X=g(z||"");if(!X)return;let te=Math.max(0,Math.min(1,X[3]));if(te<=0)return;let ee=te*(1-T);D[0]+=X[0]*ee,D[1]+=X[1]*ee,D[2]+=X[2]*ee,T+=ee;};for(let z=k.parentElement;z&&T<.999999999;z=z.parentElement)O(getComputedStyle(z).backgroundColor);let B=1-T;return [Math.round(Math.min(255,D[0]+255*B)),Math.round(Math.min(255,D[1]+255*B)),Math.round(Math.min(255,D[2]+255*B))]}function w(k,v,D){return "#"+[k,v,D].map(T=>{let O=Math.max(0,Math.min(255,Math.round(T))).toString(16);return O.length===1?"0"+O:O}).join("")}function F(k,v,D){let T=h(v[0],v[1],v[2])>.5;return R(k,v,D,T)||R(k,v,D,!T)}function R(k,v,D,T){let O=0,B=1,z=null;for(let X=0;X<20;X++){let te=(O+B)/2,ee=T?[k[0]*(1-te),k[1]*(1-te),k[2]*(1-te)]:[k[0]+(255-k[0])*te,k[1]+(255-k[1])*te,k[2]+(255-k[2])*te],Z=[Math.round(ee[0]),Math.round(ee[1]),Math.round(ee[2])];y(Z,v)>=D?(z=Z,B=te):O=te;}return z}let _=(k,v)=>{let D=Math.max(0,Math.min(1,k[3]));return [k[0]*D+v[0]*(1-D),k[1]*D+v[1]*(1-D),k[2]*D+v[2]*(1-D)]};function x(k,v){let D=k.boxShadow||"";if(!D||D==="none")return null;let T=[],O=0,B="";for(let X of D)X==="("&&O++,X===")"&&O--,X===","&&O===0?(T.push(B),B=""):B+=X;B&&T.push(B);let z=null;for(let X of T){let te=X.match(/rgba?\([^)]*\)/),ee=te?g(te[0]):null;if(!ee||ee[3]<=0||(X.replace(/rgba?\([^)]*\)/,"").replace("inset","").trim().split(/\s+/).map(de=>parseFloat(de)).filter(de=>Number.isFinite(de))[3]??0)<=0)continue;let be=y(_(ee,v),v);(z===null||be>z)&&(z=be);}return z}function S(k){let v=getComputedStyle(k),D=A(k),T=null,O=parseFloat(v.borderTopWidth||"0"),B=(v.borderTopStyle||"").toLowerCase(),z=g(v.borderTopColor||"");O>0&&B!=="none"&&B!=="hidden"&&z&&z[3]>0&&(T=y(_(z,D),D));let X=g(v.backgroundColor||"");if(X&&X[3]>0){let ee=y(_(X,D),D);(T===null||ee>T)&&(T=ee);}let te=x(v,D);return te!==null&&(T===null||te>T)&&(T=te),T}function E(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return null;let D='input, select, textarea, button, [role="button"], svg, img, i, label',T=k.parentElement,O=null;for(let B=0;T&&B<3&&!(T===document.body||T===document.documentElement);B++,T=T.parentElement){let z=T.getBoundingClientRect();if(z.width*z.height>4*v.width*v.height+1||z.height>Math.max(2.5*v.height,v.height+40))break;let X=false,te=document.createTreeWalker(T,4),ee=te.nextNode();for(;ee;){if((ee.textContent||"").trim()&&ee.parentElement&&!ee.parentElement.closest(D)&&isVisible(ee.parentElement)){X=true;break}ee=te.nextNode();}if(X)break;let Z=S(T);Z!==null&&Z>1.01&&(O===null||Z>O)&&(O=Z);}return O}let M=k=>/^(img|picture|video|canvas|object|embed|iframe)$/.test((k.tagName||"").toLowerCase())||(getComputedStyle(k).backgroundImage||"none")!=="none",L=(k,v)=>{let D=Math.min(k.right,v.right)-Math.max(k.left,v.left),T=Math.min(k.bottom,v.bottom)-Math.max(k.top,v.top);return D>0&&T>0&&D*T/(k.width*k.height)>=.5},N=null;function q(k){let v=k.getBoundingClientRect();if(v.width*v.height<=0)return false;let D=v.left+v.width/2,T=v.top+v.height/2;if(D>=0&&T>=0&&D<window.innerWidth&&T<window.innerHeight&&typeof document.elementsFromPoint=="function"){let B=document.elementsFromPoint(D,T),z=B.indexOf(k);if(z>=0){for(let X of B.slice(z+1)){if(M(X))return true;let te=g(getComputedStyle(X).backgroundColor||"");if(te&&te[3]>.5)return false}return false}}for(let B=k.parentElement,z=0;B&&z<8;B=B.parentElement,z++){let X=getComputedStyle(B);if((X.backgroundImage||"none")!=="none")return true;let te=g(X.backgroundColor||"");if(te&&te[3]>.5||B===document.documentElement)break}N||(N=Array.from(document.querySelectorAll("img, picture, video, canvas, object, embed, iframe")));for(let B of N)if(!(B===k||k.contains(B)||B.contains(k))&&L(v,B.getBoundingClientRect())&&isVisible(B))return true;let O=k.offsetParent||k.parentElement;if(O&&O!==document.body&&O!==document.documentElement){let B=O.getElementsByTagName("*");for(let z=0;z<B.length&&z<400;z++){let X=B[z];if(!(X===k||k.contains(X)||X.contains(k))&&L(v,X.getBoundingClientRect())&&(getComputedStyle(X).backgroundImage||"none")!=="none"&&isVisible(X))return true}}return false}function H(k){for(let O=k.parentElement;O&&O.nodeType===1;O=O.parentElement)if(parseFloat(getComputedStyle(O).opacity||"1")<1)return false;let v=O=>{if(O.tagName.toLowerCase()!=="svg"){let X=g(getComputedStyle(O).color||"");return X&&X[3]>0?[X]:null}let B=[],z=Array.from(O.querySelectorAll("path, rect, circle, ellipse, polygon, polyline, line, text, use"));for(let X of z){let te=X.getBoundingClientRect();if(te.width===0&&te.height===0)continue;let ee=getComputedStyle(X);if(ee.display==="none"||ee.visibility==="hidden"||parseFloat(ee.opacity||"1")<1)return null;for(let[Z,ie]of [[ee.fill,ee.fillOpacity],[ee.stroke,parseFloat(ee.strokeWidth||"0")>0?ee.strokeOpacity:"0"]]){let be=String(Z||"");if(!be||be==="none"||parseFloat(String(ie??"1"))===0)continue;if(be.startsWith("url"))return null;let de=g(be);if(!de)return null;de[3]*=parseFloat(String(ie??"1")),de[3]>0&&B.push(de);}}return B.length?B:null},D=[];for(let O=0;O<=255;O+=17)D.push(O);let T=Array.from(k.querySelectorAll('svg, i[class], [class*="icon"]'));for(let O of T){let B=O.getBoundingClientRect();if(B.width*B.height===0)continue;let z=getComputedStyle(O);if(z.display==="none"||z.visibility==="hidden")continue;let X=v(O);if(!X)continue;let te=null,ee=1,Z=true;for(let de=O;de;de=de===k?null:de.parentElement){let ke=getComputedStyle(de),De=parseFloat(ke.opacity||"1");if(!te){let Be=g(ke.backgroundColor||""),_e=String(ke.backgroundClip||"border-box").toLowerCase();if(!(String(ke.backgroundImage||"none")==="none")){Z=false;break}if(Be&&Be[3]>=1&&_e==="border-box")te=[Be[0],Be[1],Be[2]];else if(De<1){Z=false;break}}te&&(ee*=De);}if(!te||!Z)continue;let ie=te,be=1/0;for(let de of X){let ke=_(de,ie);for(let De of D)for(let Be of D)for(let _e of D){let Ee=[De,Be,_e],bt=_([ke[0],ke[1],ke[2],ee],Ee),kt=_([ie[0],ie[1],ie[2],ee],Ee),He=y(bt,kt);He<be&&(be=He);}}if(be>=3)return true}return false}let j="control sits over an image, so the background colour measured behind it is not what the user sees \u2014 judge its boundary or glyph against the image pixels in the crop (WCAG 1.4.11, 3:1)";function W(k){let v=k.tagName.toLowerCase(),D=v==="input"||v==="select"||v==="textarea"?v+" field":v;d.push({selector:uniqueSel(k),message:"non-text contrast: "+D+" over an image backdrop \u2014 "+j,attribute:"style",currentValue:"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:v+" backdrop=image needs=3",needsAI:false,needsReview:true,reviewReason:j,outerHtml:k.outerHTML.slice(0,200)});}let J=document.querySelectorAll('input:not([type="hidden"]), select, textarea, button, [role="button"], [role="checkbox"], [role="radio"], [role="switch"]');for(let k of J){if(d.length>=30)break;if(isWidget(k)||isHiddenFromAT(k)||!isVisible(k))continue;let v=getComputedStyle(k),D=A(k),T=g(v.backgroundColor||""),O=g(v.borderTopColor||""),B=parseFloat(v.borderTopWidth||"0"),z=(v.borderTopStyle||"").toLowerCase(),X=B>0&&z!=="none"&&z!=="hidden",te=k.tagName.toLowerCase(),ee=te==="input"||te==="select"||te==="textarea",Z=null;if(te==="input"){let Ae=(k.type||"").toLowerCase(),Pe=(v.appearance||v.webkitAppearance||"").toLowerCase();if(Ae==="checkbox"||Ae==="radio"){let Ie=Pe==="none"?"":String(v.accentColor||"").trim().toLowerCase(),nt=Ie&&Ie!=="auto"?g(Ie):null;if(nt&&nt[3]>.5)Z=y(_(nt,D),D);else if(Pe&&Pe!=="none")continue}}let ie=X&&O&&O[3]>.5?y(_(O,D),D):null,be=T&&T[3]>.5?y(_(T,D),D):Z,de=x(v,D),ke=ie===null&&be===null&&de===null?null:Math.max(ie??0,be??0,de??0);if(ee&&q(k)){W(k);continue}if(ee&&(ke===null||ke<3)){let Ae=E(k);if(Ae!==null&&Ae>=3)continue}let De=null,Be=false,_e="";if(ee)ke!==null?(De=ke,ke<3&&(Be=true)):(Be=true,De=1);else {let Ae=false,Pe=document.createTreeWalker(k,4),Ie=Pe.nextNode();for(;Ie;){if((Ie.textContent||"").trim()&&Ie.parentElement&&isVisible(Ie.parentElement)){Ae=true;break}Ie=Pe.nextNode();}if(Ae)continue;let nt=q(k);{let ce=["Top","Right","Bottom","Left"].map(Ve=>({w:parseFloat(v["border"+Ve+"Width"]||"0"),s:String(v["border"+Ve+"Style"]||"").toLowerCase(),c:g(v["border"+Ve+"Color"]||"")})),ve=ce.filter(Ve=>Ve.w>0&&Ve.s!=="none"&&Ve.s!=="hidden"&&Ve.c&&Ve.c[3]>.5),Xe=ce.filter(Ve=>Ve.w>0&&Ve.s!=="none"&&Ve.s!=="hidden"&&Ve.c&&Ve.c[3]===0),at=true;for(let Ve=k.parentElement;Ve&&Ve.nodeType===1;Ve=Ve.parentElement)if(parseFloat(getComputedStyle(Ve).opacity||"1")<1){at=false;break}let dt=Math.max(0,Math.min(1,parseFloat(v.opacity||"1"))),yt=String(v.backgroundClip||"border-box").toLowerCase(),Qe=!!T&&T[3]>=1&&dt>=1&&yt==="border-box";if(ve.length&&Xe.length&&at&&(!nt||Qe)){let Ve=T&&T[3]>0?_(T,D):D,rr=_([Ve[0],Ve[1],Ve[2],dt],D),nr=$r=>{let la=_($r,Ve);return _([la[0],la[1],la[2],dt],D)};if(ve.some($r=>y(nr($r.c),rr)>=3))continue}}if(nt){if(H(k))continue;W(k);continue}let st=Array.from(k.querySelectorAll('img, svg, picture, canvas, i[class], [class*="icon"]')),lt=new Map,Jt=ce=>{let ve=ce.getBoundingClientRect();if(ve.width*ve.height===0)return "absent";let Xe=parseFloat(getComputedStyle(k).opacity||"1");for(let at=ce;at&&at!==k;at=at.parentElement){let dt=getComputedStyle(at);if(dt.display==="none")return "absent";if(dt.visibility==="hidden"||parseFloat(dt.opacity||"1")===0)return "hidden-at-rest";Xe*=parseFloat(dt.opacity||"1");}return lt.set(ce,Xe),"painted"},Vr=st.map(Jt),it=st.filter((ce,ve)=>Vr[ve]==="painted"),jr=it.length>0,vn=!jr&&Vr.includes("hidden-at-rest"),fe=ce=>{let ve=(ce.tagName||"").toLowerCase();if(ve==="img"||ve==="picture"||ve==="canvas"||ve==="svg"&&ce.querySelector("image, foreignObject, linearGradient, radialGradient, pattern"))return null;let Xe=[];if(ve==="svg"){let dt=ce.querySelector("path, circle, rect, polygon, polyline, line, ellipse, use, text");for(let yt of [dt,ce]){if(!yt)continue;let Qe=getComputedStyle(yt),Ve=1;for(let nr=yt;nr&&nr!==ce;nr=nr.parentElement||nr.parentNode)Ve*=parseFloat(getComputedStyle(nr).opacity||"1");let rr=nr=>Number.isFinite(parseFloat(nr))?parseFloat(nr):1;if(Qe.fill&&Qe.fill!=="none"&&!Qe.fill.startsWith("url")&&Xe.push({color:Qe.fill,alpha:Ve*rr(Qe.fillOpacity)}),Qe.stroke&&Qe.stroke!=="none"&&!Qe.stroke.startsWith("url")&&parseFloat(Qe.strokeWidth||"0")>0&&Xe.push({color:Qe.stroke,alpha:Ve*rr(Qe.strokeOpacity)}),Xe.length)break}}else ((ce.textContent||"").trim()||getComputedStyle(ce,"::before").content!=="none")&&Xe.push({color:getComputedStyle(ce).color,alpha:1});let at=null;for(let dt of Xe){let yt=g(dt.color);if(!yt)continue;let Qe=yt[3]*dt.alpha*(lt.get(ce)??1),Ve=[yt[0]*Qe+D[0]*(1-Qe),yt[1]*Qe+D[1]*(1-Qe),yt[2]*Qe+D[2]*(1-Qe)],rr=y(Ve,D);(at===null||rr>at)&&(at=rr);}return at};if(jr&&it.map(fe).some(ve=>ve!==null&&ve>=3))continue;let ne=false,se=v.position;if((se==="absolute"||se==="fixed")&&k.parentElement){let ce=k.getBoundingClientRect(),ve=k.parentElement.getBoundingClientRect(),Xe=ve.width*ve.height;Xe>0&&ce.width*ce.height/Xe>=.85&&(ne=true);}if(jr||ne||vn){if(Be=true,De=X&&O&&O[3]>.5?y(_(O,D),D):1,De>=3)continue;_e=jr?"control is identified by an image or icon \u2014 verify the graphic itself has 3:1 contrast against its surroundings":vn?"control is identified by an icon that is transparent until hover/focus \u2014 verify the revealed icon has 3:1 contrast against its surroundings":"control is an overlay covering other content, which provides its visual affordance \u2014 verify the underlying presentation";}else ke!==null?(De=ke,ke<3&&(Be=true)):(Be=true,De=1);}if(!Be)continue;let Ee=O&&O[3]>.5?[O[0],O[1],O[2]]:T&&T[3]>.5?[T[0],T[1],T[2]]:[128,128,128],bt=F(Ee,D,3);if(!bt)continue;let kt=w(bt[0],bt[1],bt[2]),He=w(D[0],D[1],D[2]),Mt="border: 1px solid "+kt+" !important;",br=uniqueSel(k),Bt=k.tagName.toLowerCase(),Gt=ke===null&&!X?"invisible (no border, no fill: 1.00:1)":De?De.toFixed(2)+":1":"not measurable",Tt=Bt==="input"||Bt==="select"||Bt==="textarea"?Bt+" field":Bt,tr=_e?"non-text contrast: "+Tt+" boundary is "+Gt+" against "+He+" (needs 3:1) \u2014 "+_e:"non-text contrast: "+Tt+" boundary (border and fill) is "+Gt+" against "+He+", needs 3:1 \u2014 e.g. border-color "+kt;d.push({selector:br,message:tr,attribute:"style",currentValue:De?De.toFixed(2):"?",issueType:"non_text_contrast_insufficient",wcag:"1.4.11",context:Bt+" bg="+He+" ratio="+(De?De.toFixed(2):"?")+" needs=3",needsAI:false,..._e?{needsReview:true,reviewReason:_e}:{fixValue:Mt},outerHtml:k.outerHTML.slice(0,200)});}return d},Vh={name:"nonTextContrast",cap:30,async detect(f){return f.evaluate(FI)}};var II=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=/location\s*[=.]|location\s*\.\s*href|\.submit\s*\(|window\s*\.\s*open|history\s*\.\s*(push|replace)/i,p=document.querySelectorAll("[onfocus]");for(let y of Array.from(p)){if(g.length>=20)break;if(y.closest(f))continue;let A=y.getAttribute("onfocus")||"";if(!A||!h.test(A))continue;let w=typeof uniqueSel=="function"?uniqueSel(y):"",F=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:y.tagName.toLowerCase(),nearbyHeading:""},R=[];R.push("tag: "+y.tagName.toLowerCase()),R.push("onfocus: "+A.slice(0,100)),F.nearbyHeading&&R.push("heading: "+F.nearbyHeading),R.push("parent: "+F.parentTag),g.push({selector:w,attribute:"onfocus",currentValue:A.slice(0,200),issueType:"onfocus_context_change",wcag:"3.2.1",context:R.join(" | "),needsAI:true,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},jh={name:"onFocus",cap:20,async detect(f){return f.evaluate(II)}};var MI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",d=[],g=['a[href="#main-content"]','a[href="#main"]','a[href="#content"]','a[href="#skip"]','a[href="#skip-content"]','a[href="#maincontent"]',"a.skip-link","a.skip-nav","a.skip-to-content","a.skiplink","a.skip-navigation",'[class*="skip-link"]','[class*="skip-nav"]'],h=false;for(let N of g){let q=document.querySelector(N);if(q&&!q.closest(f)){h=true;break}}if(!h){let N=document.querySelectorAll('a[href^="#"]');for(let q of N){if(q.closest(f))continue;let H=(q.textContent||"").toLowerCase();if(H.includes("skip")&&(H.includes("main")||H.includes("content")||H.includes("nav"))){h=true;break}}}if(!h){let N=document.querySelectorAll('button, input[type="button"], input[type="submit"]');for(let q of Array.from(N)){if(q.closest(f))continue;let H=(q.getAttribute("value")||q.textContent||"").trim().toLowerCase();if(H.includes("skip")&&(H.includes("main")||H.includes("content")||H.includes("nav"))){h=true;break}}}if(!h){let N=document.body?document.body.firstElementChild:null;if(N&&N.matches('main, [role="main"], div#main')){let q=getComputedStyle(N),H=N.getBoundingClientRect();q.display!=="none"&&q.visibility!=="hidden"&&!N.closest('[hidden], [aria-hidden="true"]')&&H.width>0&&H.height>0&&(h=true);}}if(!h){let N=Array.from(document.querySelectorAll('main, [role="main"], div#main'));for(let q of N){let H=getComputedStyle(q);if(H.display==="none"||H.visibility==="hidden"||q.closest('[hidden], [aria-hidden="true"]'))continue;if(Array.from(q.querySelectorAll("h1, h2, h3, h4, h5, h6")).some(W=>{let J=getComputedStyle(W);return J.display!=="none"&&J.visibility!=="hidden"&&!W.closest('[hidden], [aria-hidden="true"]')})){h=true;break}}}if(!h&&document.querySelector("nav")){let N=document.querySelectorAll("a, button");for(let q of Array.from(N)){if(q.closest(f))continue;let H=(q.textContent||"").trim().toLowerCase();if((H.includes("toggle")||H.includes("hide")||H.includes("collapse")||H.includes("show"))&&H.includes("content")){h=true;break}}}if(h||Array.from(document.querySelectorAll('main, [role="main"]')).filter(N=>{let q=getComputedStyle(N);if(q.display==="none"||q.visibility==="hidden"||N.closest('[hidden], [aria-hidden="true"]'))return false;let H=N.getBoundingClientRect();return H.width>0&&H.height>0}).length===1)return d;let y="",A=document.querySelector('main[id], [role="main"][id]');if(A&&A.getAttribute("id"))y=A.getAttribute("id");else {let N=document.querySelector("h1[id]");if(N&&N.getAttribute("id"))y=N.getAttribute("id");else {let q=["main-content","maincontent","main","content","skip-content"];for(let H of q)if(document.getElementById(H)){y=H;break}}}let w=y==="",F=y||"main-content",_="<style>.wa-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:999999;padding:8px 16px;background:#000;color:#fff;font-size:14px;text-decoration:none;border-radius:0 0 4px 0;}.wa-skip-link:focus{position:fixed;left:8px;top:8px;width:auto;height:auto;overflow:visible;outline:2px solid #fff;outline-offset:2px;}</style>"+'<a href="#'+F+'" class="wa-skip-link">{TEXT}</a>',x=(document.documentElement.getAttribute("lang")||"").trim(),S=document.querySelector('main, [role="main"]'),E=S?(S.getAttribute("aria-label")||"").trim():"",M=document.querySelector("h1"),L=M?(M.textContent||"").trim().replace(/\s+/g," ").slice(0,80):"";return d.push({selector:"body",attribute:"prepend",currentValue:"",issueType:"skip_link",wcag:"2.4.1",context:(w?'No skip navigation link found, and no element with a referenceable id (e.g. <main id="main-content">) exists to target.':"No skip navigation link found on page; target resolved to #"+F)+(x?" | page language: "+x:"")+(E?" | main landmark label: "+E:"")+(L?" | page heading: "+L:"")+" | html template (replace {TEXT} with the link text, in the page language): "+_,needsAI:true,...w?{manualFix:true}:{}}),d},$h={name:"skipLink",async detect(f){return f.evaluate(MI)}};var LI=()=>{let g=[],h=document.querySelectorAll("*"),p=0;for(let y of Array.from(h)){if(p++>5e3||g.length>=20)break;if(y.closest("[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye]")||typeof isVisible=="function"&&!isVisible(y))continue;let w=getComputedStyle(y).backgroundImage||"";if(!w||w==="none"||!w.includes("url("))continue;let F=w.match(/url\((['"]?)(.*?)\1\)/);if(!F)continue;let R=F[2];if(!R||R.startsWith("data:")&&R.length<256)continue;let _=y.getBoundingClientRect();if(_.width<32||_.height<32)continue;let x=y.tagName.toLowerCase(),S=y.getAttribute("role")||"",E=x==="a"||x==="button"||S==="button"||S==="link"||y.closest("a,button,[role=button],[role=link]")!==null,M=(y.textContent||"").trim().length>0,L=!!y.getAttribute("aria-label"),N=!!y.getAttribute("aria-labelledby"),q=!!y.getAttribute("title"),H=!!y.querySelector('img[alt]:not([alt=""])');if(y.closest('[aria-hidden="true"]')){let v=y.closest("a[href]");if(!!v&&Array.from(document.querySelectorAll("a[href]")).some(T=>T!==v&&T.href===v.href&&!T.closest('[aria-hidden="true"]')))continue}if(L||N||q||H||M||!E)continue;let j=y.closest("a,button,[role=button],[role=link]");if(j&&j!==y){let v=(j.textContent||"").trim(),D=j.getAttribute("aria-label")||j.getAttribute("title")||"",T=j.getAttribute("aria-labelledby"),O=!!j.querySelector('img[alt]:not([alt=""])');if(v||D.trim()||T||O)continue}let W=R;try{W=new URL(R,location.href).toString();}catch{continue}let J=typeof uniqueSel=="function"?uniqueSel(y):"",k=typeof getNearbyContext=="function"?getNearbyContext(y):{parentTag:x,nearbyHeading:""};g.push({selector:J,attribute:"aria-label",currentValue:"",issueType:"background_image_unlabeled",wcag:"1.1.1",context:`bg: ${W.slice(0,140)} | tag: ${x} | role: ${S||"(none)"} | parent: ${k.parentTag}${k.nearbyHeading?" | heading: "+k.nearbyHeading:""}`,needsAI:true,imageSrc:W,outerHtml:(y.outerHTML||"").slice(0,300)});}return g},zh={name:"backgroundImages",cap:20,async detect(f){return f.evaluate(LI)}};var OI=()=>{let f="[class*=asw-],[class*=userway],[class*=acsb],[class*=audioeye]",g=[];return document.querySelectorAll("svg").forEach(p=>{if(g.length>=50||p.closest(f)||!isVisible(p)||p.getAttribute("aria-hidden")==="true")return;let A=p.getAttribute("role");if(A==="presentation"||A==="none"||p.closest('[aria-hidden="true"]'))return;let w=p.getAttribute("aria-label")||"",F=p.getAttribute("aria-labelledby")||"",R=p.querySelector("title"),_=R?(R.textContent||"").trim():"";if(w.trim()||F.trim()||_)return;let x=p.getBoundingClientRect(),S=x.width<=16&&x.height<=16;if(x.width<=4||x.height<=4||p.getAttribute("preserveAspectRatio")==="none")return;let E=p.closest('a, button, [role="button"], [role="link"], [onclick]');if(E){if(E.getAttribute("aria-label")?.trim()||E.getAttribute("aria-labelledby")?.trim())return;let D=getAccessibleName(E),T=E.cloneNode(true);T.querySelectorAll("svg").forEach(B=>B.remove());let O=(T.textContent||"").trim().replace(/\s+/g," ");if(D&&O.length>0)return}else {if(!/^(img|graphics-document|graphics-symbol)$/i.test((A||"").trim().split(/\s+/)[0])||S)return;let D=p.parentElement;if(D&&(D.textContent||"").trim().replace(/\s+/g," ").length>3)return}let M=uniqueSel(p),L=getNearbyContext(E||p),N=E&&E.getAttribute("href")||"",q=(E||p).outerHTML.slice(0,300),H=p.getAttribute("class")||"",j=p.getAttribute("data-icon")||"",W=E||p,J=W&&W!==p&&W.getAttribute("class")||"",k=typeof lookupIconLabel=="function"?lookupIconLabel(String(H),j,"")||lookupIconLabel(String(J),"",""):null,v=E?uniqueSel(E):M;g.push({selector:v,attribute:"aria-label",currentValue:"",issueType:"svg_missing_name",wcag:"1.1.1",context:JSON.stringify({parentTag:(E||p).tagName?(E||p).tagName.toLowerCase():"svg",href:N,nearbyHeading:L.nearbyHeading,parentRole:L.parentRole,svgClasses:H,iconLib:k||void 0,suggestion:"Add aria-label to the parent interactive element or <title> inside SVG"}),needsAI:true,outerHtml:q});}),g},Gh={name:"svgNames",cap:50,async detect(f){return f.evaluate(OI)}};var PI=()=>{let f={"line-height":1.5,"letter-spacing":.12,"word-spacing":.16},d=1e-9,g=Object.keys(f),h=30,p="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",y={px:1,pt:1.333333,pc:16,in:96,cm:37.795,mm:3.7795,q:.37795},A=k=>{let v=[];for(let D of k.split(";")){let T=D.match(/^\s*([-a-zA-Z]+)\s*:\s*(.*?)\s*$/);if(!T)continue;let O=T[1].toLowerCase();if(!g.includes(O))continue;let B=T[2],z=/!\s*important\s*$/i.test(B);B=B.replace(/!\s*important\s*$/i,"").trim(),B&&(O!=="line-height"&&/^[-+]?\d+(\.\d+)?$/.test(B)&&parseFloat(B)!==0||v.push({prop:O,value:B,important:z}));}return v},w=(k,v,D,T)=>{let O=v.trim().toLowerCase();if(/^normal$|^initial$/.test(O))return {kind:"narrow"};if(/^inherit$|^revert$|^unset$/.test(O))return {kind:"notBlocked"};if(O.startsWith("var(")||O.startsWith("calc(")||O.startsWith("env("))return {kind:"undetermined"};if(/^-?[\d.]+$/.test(O)){let ee=parseFloat(O);return k==="line-height"?{kind:"ratio",factor:ee}:{kind:"ratio",factor:0}}let B=O.endsWith("%")&&/\d/.test(O),z=B?O.slice(0,-1).trim().match(/^([\d.]+)$/):O.match(/^([\d.]+)(em|rem|vw|vh|px|pt|cm|mm|pc|in|q)$/);if(!z)return {kind:"undetermined"};let X=parseFloat(z[1]);if(B||O.endsWith("em")){let ee=T??D;return ee&&D&&isFinite(ee)&&isFinite(D)&&ee>0&&D>0?B?{kind:"ratio",factor:X/100*(ee/D)}:{kind:"ratio",factor:X*(ee/D)}:B?{kind:"ratio",factor:X/100}:{kind:"ratio",factor:X}}let te=O.match(/(rem|vw|vh|px|pt|cm|mm|pc|in|q)$/)?.[1];if(te==="px"||te&&y[te]){let ee=te==="px"?X:X*(y[te]||0);return D===null||!isFinite(D)||D<=0?{kind:"undetermined"}:{kind:"ratio",factor:ee/D}}return {kind:"undetermined"}},F=(k,v,D)=>{let T=k;for(;T;){let O=v.get(T);if(O){let B=O.filter(z=>z.prop===D);if(B.length){let z=B.filter(te=>te.important);return {decl:z.length?z[z.length-1]:B[B.length-1],from:T}}}T=T.parentElement;}return null},R=k=>{let v=k;for(;v;){let D=v.style;if(D&&(D.display==="none"||D.visibility==="hidden")||D&&(D.position==="absolute"||D.position==="fixed")&&(_(D.top)||_(D.left)))return false;if(D&&(D.overflowX==="scroll"||D.overflowX==="auto")){for(let T=k;T!==v;T=T.parentElement)if(T.style&&x(T.style.width)>=900)return false}v=v.parentElement;}return true},_=k=>{if(!k)return false;let v=k.match(/^(-)([\d.]+)(px|em|rem|vh|vw)$/i);if(!v)return false;let D=parseFloat(v[2]),T=v[3].toLowerCase();return T==="px"?D>=100:T==="em"||T==="rem"?D>=4:D>=10},x=k=>{let v=k?k.match(/^([\d.]+)px$/):null;return v?parseFloat(v[1]):0},S=[],E=[],M=new Map,L=typeof getComputedStyle=="function"?getComputedStyle:null,N=k=>{try{let v=L?L(k).fontSize:"",D=v?v.match(/^([\d.]+)px$/):null;return D?parseFloat(D[1]):null}catch{return null}},q=new Map,H=Array.from(document.querySelectorAll('[style*="important" i]'));for(let k of H)k.closest(p)||q.set(k,A(k.getAttribute("style")||""));for(let k of document.querySelectorAll("body [style]"))k.closest(p)||q.has(k)||q.set(k,A(k.getAttribute("style")||""));let j=[],W=document.createTreeWalker(document.body,1),J=W.currentNode;for(;J;)Array.from(J.childNodes).some(v=>v.nodeType===3&&/\S/.test(v.textContent||""))&&!J.closest(p)&&j.push(J),J=W.nextNode();for(let k of j){if(S.length>=h)break;if(R(k))for(let v of g){let D=F(k,q,v);if(!D||!D.decl.important)continue;let T=N(k),O=D.from===k?T:N(D.from)??T,B=w(v,D.decl.value,T,O);if(!(B.kind==="undetermined"||B.kind==="narrow"||B.kind==="ratio"&&B.factor+d<f[v]))continue;let X=M.get(D.from);X||(X=[],M.set(D.from,X),E.push({from:D.from,props:X})),X.includes(v)||X.push(v);}}for(let{from:k,props:v}of E){if(S.length>=h)break;let D=typeof uniqueSel=="function"?uniqueSel(k):"",T=typeof getNearbyContext=="function"?getNearbyContext(k):{parentTag:k.parentElement?.tagName.toLowerCase()||"",nearbyHeading:""},O=[];O.push("blocked: "+v.join(",")),O.push("tag: "+k.tagName.toLowerCase()),T.nearbyHeading&&O.push("heading: "+T.nearbyHeading),O.push("parent: "+T.parentTag),S.push({selector:D,attribute:"style",currentValue:(k.getAttribute("style")||"").slice(0,200),issueType:"text_spacing_blocked",wcag:"1.4.12",context:O.join(" | "),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}return S},Wh={name:"textSpacing",cap:30,async detect(f){return f.evaluate(PI)}};var NI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=document.querySelectorAll('button, input[type="submit"], input[type="button"], input[type="reset"], [role="button"]');for(let p of h){if(g.length>=50)break;if(p.closest(f)||!isVisible(p))continue;let y=p,A=y.tagName==="INPUT"?(y.getAttribute("type")||"").toLowerCase():"";if(A==="submit"||A==="reset")continue;let w=(y.getAttribute("role")||"").trim().toLowerCase().split(/\s+/)[0];if((w==="none"||w==="presentation")&&y.disabled===true)continue;let F=(y.getAttribute("aria-label")||"").trim(),R=y.getAttribute("aria-labelledby"),_=(y.getAttribute("title")||"").trim(),x=(y.getAttribute("value")||"").trim(),S=(y.textContent||"").trim().replace(/\s+/g," "),E="";R&&(E=typeof __resolveIdRefs=="function"?__resolveIdRefs(R):"");let M=y.querySelector('img[alt]:not([alt=""])'),L=y.querySelector("svg title"),N=y.querySelector("svg[aria-label]");if(!!(F||E||_||x||S||M||L||N))continue;let H=uniqueSel(y),j=getNearbyContext(y),W=y.closest("form"),J=W&&(W.getAttribute("id")||W.getAttribute("name"))||"",k=y.getAttribute("class")||"",v=y.querySelector('i, svg, span[class*="icon"]'),D=v&&v.getAttribute("class")||"",T=v&&v.getAttribute("data-icon")||"",O=v?(v.textContent||"").trim():"",B=typeof lookupIconLabel=="function"?lookupIconLabel(String(D),T,O):null,z=!B&&typeof lookupIconLabel=="function"?lookupIconLabel(String(k),"",""):null,X=B||z,te=[];for(let ie of ["type","name","id"]){let be=(y.getAttribute(ie)||"").trim();be&&te.push(ie+"="+be.slice(0,40));}let ee=[];if(W){let ie=(W.getAttribute("action")||"").trim();if(ie){let de=ie;try{de=new URL(ie,document.baseURI).pathname;}catch{}ee.push("action: "+de.slice(0,80));}let be=[];for(let de of W.querySelectorAll("input:not([type=hidden]):not([type=submit]):not([type=button]), textarea, select")){let ke=(de.getAttribute("aria-label")||de.getAttribute("placeholder")||de.id&&Array.from(W.querySelectorAll("label[for]")).find(De=>De.getAttribute("for")===de.id)?.textContent||de.getAttribute("name")||"").trim().replace(/\s+/g," ");if(be.push(ke.slice(0,40)||de.getAttribute("type")||de.tagName.toLowerCase()),be.length>=4)break}be.length&&ee.push("fields: "+be.join(", "));}let Z=[];J&&Z.push("form: "+J),j.nearbyHeading&&Z.push("heading: "+j.nearbyHeading),D&&Z.push("icon: "+String(D).slice(0,80)),k&&Z.push("class: "+String(k).slice(0,80)),Z.push("parent: "+j.parentTag),te.length&&Z.push("control: "+te.join(" "));for(let ie of ee)Z.push("form "+ie);X&&Z.push("icon-hint (glyph name only, not the action): "+X),g.push({selector:H,attribute:"aria-label",currentValue:"",issueType:"unlabeled_button",wcag:"4.1.2",context:Z.join(" | "),needsAI:true,outerHtml:y.outerHTML.slice(0,300)});}return g},Uh={name:"unlabeledButtons",cap:50,async detect(f){return f.evaluate(NI)}};var qI=()=>{let f=new Set(["more","info","click","click here","here","read more","learn more","see more","link","button","this"]),d=new Set(["submit","send","yes","no","next","prev","previous","back","view","details","continue","go","ok","open","close","apply","save"]),g={};function h(k){if(isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let D=v.toLowerCase().trim();g[D]=(g[D]||0)+1;}document.querySelectorAll("a[href]").forEach(k=>h(k));let p=new Set(["fa","fas","far","fab","fal","fad","material-icons","material-symbols","bi","glyphicon"]),y=["fa-","bi-","icon-","icofont-","dashicons-","heroicon","feather-","lucide-","material-"];function A(k){let v=k.toLowerCase();return p.has(v)||y.some(D=>v.startsWith(D))}let w=/[\u4e00-\u9fff\u3040-\u30ff\uac00-\ud7af]/;function F(k,v){return w.test(k)?1:v}let R=50,_=[];function x(k){if((k.textContent||"").trim().replace(/\s+/g," ").length>0)return false;let D=k.querySelectorAll("i, span, em");for(let T of D)if((typeof T.className=="string"?T.className:"").split(/\s+/).some(A))return true;return false}function S(k){let v=k.className||"";return typeof v!="string"?false:v.split(/\s+/).some(A)}function E(k){if(_.length>=R||isWidget(k)||!isVisible(k))return;let v=getAccessibleName(k);if(!v)return;let D=v.toLowerCase().trim(),T=false,O=v.length>=2&&/^[A-Z][A-Z0-9]+$/.test(v.trim()),B=/^[[(]?\d{1,4}[\])]?$/.test(v.trim());if(v.length<F(v,3)&&!O&&!B)T=true;else if(f.has(D))T=true;else if(d.has(D)&&(g[D]||0)>=2){let Z=(k.getAttribute("aria-label")||"").trim().toLowerCase(),ie=!!k.getAttribute("aria-labelledby")||!!Z&&Z!==D,be=k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"], [class*="screen-reader"]'),de=be?(be.textContent||"").trim().toLowerCase():"";!ie&&!(be&&de!==D)&&(T=true);}else (x(k)||S(k)&&v.length===0)&&(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")||k.querySelector&&k.querySelector('.sr-only, .visually-hidden, [class*="sr-only"], [class*="visually-hidden"]')||(T=true));if(!T)return;let z=getNearbyContext(k),X=uniqueSel(k),te=k.getAttribute("href")||"",ee=k.outerHTML.slice(0,300);_.push({selector:X,attribute:"aria-label",currentValue:(k.getAttribute("aria-label")||"").trim(),message:"weak link name: "+(k.getAttribute("aria-label")||k.getAttribute("aria-labelledby")?`"${v}" is too generic for a control \u2014 add distinguishing context`:`text "${v}" is too generic for a control \u2014 add distinguishing context`),issueType:"weak_link_name",wcag:"2.4.4",needsReview:true,reviewReason:"WCAG 2.4.4 (AA) judges link purpose in context: the link text together with its sentence, paragraph, list item or table cell (nearbyText). A link whose text names its destination page or topic passes, even as one word in a menu. Fail only generic text (here, more, click here, read more) whose context still does not say where the link goes.",context:JSON.stringify({currentText:v,href:te,nearbyHeading:z.nearbyHeading,parentTag:z.parentTag,parentRole:z.parentRole,cardText:z.cardText||"",imgAlt:z.imgAlt||""}),needsAI:true,outerHtml:ee});}document.querySelectorAll("a[href]").forEach(k=>E(k));let M=/^(untitled(?:\s+document)?|new\s+page|new\s+document|home|page\s*\d*|document|untitled)$/i,L=/^(iframe|embed|widget|frame|content|untitled)$/i,N=new Set(["section","title","heading","headings","page","content","chapter","part","article","document","intro","untitled","test","lorem","tbd","todo","draft","sample","example","welcome","hello","hi","home"]);function q(k){return !!(!k||k.getAttribute("aria-hidden")==="true"||k.closest('[aria-hidden="true"]'))}function H(k,v,D,T,O,B){if(_.length>=R)return;let z=uniqueSel(k),X=(k.outerHTML||"").slice(0,300);_.push({selector:z,attribute:v,currentValue:D,issueType:T,wcag:O,context:JSON.stringify(B),needsAI:true,outerHtml:X});}let j=document.querySelectorAll("h1,h2,h3,h4,h5,h6");for(let k=0;k<j.length&&!(_.length>=R);k++){let v=j[k];if(!v||isWidget(v)||q(v)||!isVisible(v))continue;let D=getAccessibleName(v);if(!D)continue;let T=D.toLowerCase().trim(),O=T.split(/\s+/).filter(Boolean),B=()=>{if(!/^\p{L}$/u.test(D))return false;let te=v.nextElementSibling;if(!te)return false;let ee=te.tagName.toLowerCase(),Z=[];if(ee==="dl"?Z=Array.from(te.querySelectorAll("dt")):ee==="ul"||ee==="ol"?Z=Array.from(te.children).filter(be=>be.tagName==="LI"):ee==="table"&&(Z=Array.from(te.querySelectorAll("tbody tr, tr")).map(be=>be.cells&&be.cells[0])),Z=Z.filter(Boolean),Z.length<1)return false;let ie=D.toLowerCase();return Z.every(be=>(be.textContent||"").trim().toLowerCase().startsWith(ie))},z=false;if(D.length<F(D,3)?z=!B():(O.length===1&&(f.has(T)||N.has(T))||/^page\s*\d+$/i.test(T)||/^section\s*\d+$/i.test(T)||/^chapter\s*\d+$/i.test(T)||/^[^\p{L}\p{N}]+$/u.test(D))&&(z=true),!z)continue;let X=getNearbyContext(v);H(v,"textContent",D,"weak_heading","2.4.6",{currentText:D,tag:v.tagName.toLowerCase(),nearbyHeading:X.nearbyHeading,parentTag:X.parentTag,parentRole:X.parentRole});}let W=document.querySelectorAll("iframe");for(let k=0;k<W.length&&!(_.length>=R);k++){let v=W[k];if(!v||isWidget(v)||q(v))continue;let D=getComputedStyle(v);if(v.getClientRects().length===0||D.visibility==="hidden"||D.visibility==="collapse"||(v.getAttribute("src")||"").trim().toLowerCase().indexOf("javascript:")===0)continue;let T=(v.getAttribute("title")||"").trim();if(!T)continue;let O=T.toLowerCase(),B=false;if((T.length<F(T,3)||L.test(O)||f.has(O))&&(B=true),!B)continue;let z=(v.getAttribute("src")||"").slice(0,120),X=getNearbyContext(v);H(v,"title",T,"weak_iframe_title","4.1.2",{currentTitle:T,src:z,nearbyHeading:X.nearbyHeading,parentTag:X.parentTag});}if(_.length<R){let k=document.querySelector("head > title, title"),v=(document.title||"").trim();if(k&&v){let D=v.toLowerCase(),T=false;(v.length<F(v,5)||M.test(D)||/^untitled/i.test(v))&&(T=true),T&&_.push({selector:"title",attribute:"textContent",currentValue:v,issueType:"weak_page_title",wcag:"2.4.2",context:JSON.stringify({currentTitle:v,hostname:typeof location<"u"&&location&&location.hostname||"",pathname:typeof location<"u"&&location&&location.pathname||""}),needsAI:true,outerHtml:(k.outerHTML||"").slice(0,300)});}}let J=document.querySelectorAll("svg");for(let k=0;k<J.length&&!(_.length>=R);k++){let v=J[k];if(!v||isWidget(v)||q(v)||v.getAttribute("role")==="presentation"||v.getAttribute("role")==="none"||!isVisible(v))continue;let D=v.querySelector("title"),T=D?(D.textContent||"").trim():"",O=(v.getAttribute("aria-label")||"").trim(),B=O||T;if(!B)continue;let z=B.toLowerCase(),X=false;if((B.length<F(B,3)||f.has(z)||/^(icon|svg|image|graphic|logo)$/i.test(B))&&(X=true),!X)continue;let te=v.closest('a, button, [role="button"], [role="link"]'),ee=getNearbyContext(v);H(v,O?"aria-label":"title",B,"weak_svg_name","1.1.1",{currentName:B,svgClasses:v.getAttribute("class")||"",parentTag:te?te.tagName.toLowerCase():ee.parentTag,parentHref:te&&te.getAttribute("href")||"",nearbyHeading:ee.nearbyHeading});}return _},Xh={name:"weakNames",cap:50,async detect(f){return f.evaluate(qI)}};var BI=()=>{let d=[],g=document.querySelector('meta[name="viewport"]');if(g){let p=(g.getAttribute("content")||"").trim(),y=p.toLowerCase(),A=false,w=[];(y.indexOf("user-scalable=no")>=0||y.indexOf("user-scalable=0")>=0)&&(A=true,w.push("user-scalable=no blocks pinch-zoom"));let F=["yes","no","device-width","device-height"],R=y.match(/user-scalable\s*=\s*([a-z][a-z-]*)/);R&&F.indexOf(R[1])<0&&(A=true,w.push("user-scalable="+R[1]+" (invalid, parsed as 0)"));let _=y.match(/maximum-scale\s*=\s*([a-z][a-z-]*)/);_&&F.indexOf(_[1])<0&&(A=true,w.push("maximum-scale="+_[1]+" (invalid, parsed as 0)"));let x=y.match(/maximum-scale\s*=\s*([\d.]+)/);x&&parseFloat(x[1])<2&&(A=true,w.push("maximum-scale="+x[1]+" (<2)")),A&&d.push({selector:'meta[name="viewport"]',attribute:"content",currentValue:p,issueType:"zoom_restriction",wcag:"1.4.4",context:"viewport blocks zoom: "+w.join(" | "),needsAI:false,fixValue:"width=device-width, initial-scale=1"});}let h=[{el:document.documentElement,selector:"html"},{el:document.body,selector:"body"}];for(let p=0;p<h.length&&!(d.length>=5);p++){let y=h[p];if(y.el)try{let w=(getComputedStyle(y.el).getPropertyValue("touch-action")||"").trim().toLowerCase();(w==="none"||w==="pinch-zoom")&&d.push({selector:y.selector,attribute:"style",currentValue:"touch-action: "+w,issueType:"zoom_restriction",wcag:"1.4.4",context:"CSS touch-action: "+w+" on <"+y.selector+"> prevents pinch-zoom",needsAI:!1,fixValue:"touch-action: manipulation !important;"});}catch{}}return d},Yh={name:"zoomUnlock",cap:5,async detect(f){return f.evaluate(BI)}};var HI=()=>{let d=[],g=document.body?document.body.querySelectorAll("*"):[];for(let h=0;h<g.length&&d.length<10;h++){let p=g[h],y=p.tagName.toLowerCase();if(y==="script"||y==="style"||y==="svg"||y==="textarea"||y==="select")continue;let A="";for(let q=p.firstChild;q;q=q.nextSibling)q.nodeType===3&&(A+=q.nodeValue);if(!A.replace(/\s+/g,"").length)continue;let w=getComputedStyle(p);if(w.display==="none"||w.visibility==="hidden"||w.display==="contents")continue;let F=w.overflowX,R=w.overflowY,_=F==="hidden"||F==="clip",x=R==="hidden"||R==="clip";if(!_&&!x||p.closest('[aria-hidden="true"],[hidden],[inert]'))continue;let S=p.clientWidth,E=p.clientHeight;if(E<=1||S<=1)continue;let M=w.webkitLineClamp||w.getPropertyValue("-webkit-line-clamp");if(M&&M!=="none")continue;let L="";if(x&&p.scrollHeight>E+2?L="height "+E+"px < content "+p.scrollHeight+"px":_&&w.textOverflow!=="ellipsis"&&p.scrollWidth>S+2&&(L="width "+S+"px < content "+p.scrollWidth+"px"),!L){let q=parseFloat(w.fontSize);if(!(q>0))continue;let H=p.style.getPropertyValue("font-size"),j=p.style.getPropertyPriority("font-size");p.style.setProperty("font-size",q*2+"px","important");let W=p.clientHeight,J=p.clientWidth;x&&W>1&&p.scrollHeight>W+2?L="at 200%: height "+W+"px < content "+p.scrollHeight+"px":_&&w.textOverflow!=="ellipsis"&&J>1&&p.scrollWidth>J+2&&(L="at 200%: width "+J+"px < content "+p.scrollWidth+"px"),H?p.style.setProperty("font-size",H,j):p.style.removeProperty("font-size");}if(!L)continue;let N=typeof uniqueSel=="function"?uniqueSel(p):y;d.push({selector:N,attribute:"style",currentValue:(p.getAttribute("style")||"").slice(0,200),issueType:"resize_text_clipped",wcag:"1.4.4",context:"text clipped by overflow:hidden: "+L,needsAI:true,needsReview:true,reviewReason:"WCAG 1.4.4 Resize Text: this text is cut off by overflow:hidden ("+L+"). Violation when content or function is lost at 200% text size and no other mechanism shows it. Pass when the clipped part is decorative or repeated elsewhere, or the box grows or scrolls when text is resized.",outerHtml:(p.outerHTML||"").slice(0,300)});}return d},Kh={name:"textClip",cap:10,async detect(f){return f.evaluate(HI)}};var VI=()=>{let f=[],d=document.querySelectorAll('main *, [role="main"] *, body > div *'),g=new Set,h=Math.min(d.length,200);for(let p=0;p<h;p++){let y=d[p];if(g.has(y)||!y.offsetParent)continue;g.add(y);let A=getComputedStyle(y),w=parseInt(A.order||"0",10),F=A.position;if(w>=3){let R=y.getBoundingClientRect();if(R.width>0&&R.height>0){let _=(y.textContent?.trim().length||0)>10,x=!!y.querySelector("a, button, input, select, textarea");(_||x)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`CSS order: ${w}`,issueType:"meaningful_sequence",wcag:"1.3.2",context:`Element uses CSS order:${w} \u2014 content with interactive elements or text is visually reordered far from its DOM position, which confuses screen readers and keyboard users.`,needsAI:true});}}if(F==="absolute"){if(!!!y.querySelector("a, button, input, select, textarea"))continue;let _=y.parentElement;if(!_||_.children.length<=2)continue;let x=y.getBoundingClientRect(),S=_.getBoundingClientRect();(x.top<S.top-100||x.left<S.left-300)&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(y):y.tagName.toLowerCase(),attribute:"data-sequence-review",currentValue:`position: ${F}, displaced ${Math.round(Math.abs(x.top-S.top))}px`,issueType:"meaningful_sequence",wcag:"1.3.2",context:"Interactive content is absolutely positioned far from its DOM location. Screen readers and keyboard users will encounter it in a different order than visual users.",needsAI:true});}}return f},Jh={name:"meaningfulSequence",async detect(f){return f.evaluate(VI)}};var Zh={name:"sensoryCharacteristics",async detect(f){let{instructionalTexts:d,controlLabels:g,navCount:h,labelTexts:p}=await f.evaluate(()=>{let w=[],F=document.querySelectorAll('p, li, td, label, span, div, a, button, h1, h2, h3, h4, h5, h6, figcaption, [role="alert"], [role="status"]'),R=Math.min(F.length,300),_=[];document.querySelectorAll('button, a[href], [role="button"], input[type="button"], input[type="submit"]').forEach(M=>{let L=((M.textContent||"")+" "+(M.getAttribute("aria-label")||"")+" "+(M.getAttribute("value")||"")).trim().toLowerCase();L&&_.push(L);});let x=M=>!!M.offsetParent||getComputedStyle(M).position==="fixed",S=Array.from(document.querySelectorAll('nav, [role="navigation"]')).filter(x).length,E=[];document.querySelectorAll('h1, h2, h3, h4, h5, h6, nav, [role="navigation"], [role="menu"], [role="menubar"], [aria-label], summary, button, a, legend').forEach(M=>{if(!x(M))return;let L=((M.getAttribute("aria-label")||"")+" "+(M.tagName.match(/^(H\d|SUMMARY|BUTTON|A|LEGEND)$/)&&M.textContent||"")).trim().toLowerCase();L&&L.length<=60&&E.push(L);});for(let M=0;M<R;M++){let L=F[M];if(!L.offsetParent||L.children.length>3||L.querySelector("p, div, ul, ol, li, table, section, article, nav, header, footer, main, aside, form, h1, h2, h3, h4, h5, h6")||L.closest('[aria-hidden="true"]'))continue;let N=L.textContent?.trim()||"";N.length<15||N.length>300||/click|tap|press|select|choose|find|look|see|drag|scroll|hover|go to|navigate/i.test(N)&&w.push({text:N,selector:typeof uniqueSel=="function"?uniqueSel(L):L.tagName.toLowerCase()});}return {instructionalTexts:w.slice(0,20),controlLabels:_,navCount:S,labelTexts:E}});if(d.length===0)return [];let y=[],A=w=>{let F=(w.toLowerCase().match(/\b(navigation|menu)\b/)||[])[1];return F?h===1?true:p.some(R=>R.indexOf(F)!==-1):false};for(let{text:w,selector:F}of d){w.toLowerCase();let _=/\b(round|square|circular|triangular|arrow-shaped)\b.*\b(button|icon|element|thing)\b/i.test(w)&&!/\b(submit|cancel|close|menu|search|delete|edit|save|back|next|previous|home)\b/i.test(w),x=/\b(header|footer|sidebar menu|breadcrumb)\b/i.test(w)||A(w),S=/\b(on the|to the|in the)\s+(left|right|top|bottom|upper|lower|above|below|sidebar)\b/i.test(w)&&!x&&/\b(click|tap|press|select|find)\b/i.test(w),E=/\b(red|green|blue|yellow|orange|purple|pink|gray|grey|white|black)\s+(button|link|icon|text|area|section|box|dot|circle|indicator)\b/i.test(w)&&!/\b(submit|cancel|close|delete|save|success|error|warning|danger)\b/i.test(w),M=/\b(large|small|big|tiny|narrow|wide)\s+(button|link|icon|box|area)\b/i.test(w)&&/\b(click|tap|press|select|find)\b/i.test(w),L=/\b(?:labell?ed|called|named|titled)\s+["'“‘]/i.test(w),N=(w.match(/\b(round|square|circular|triangular|arrow-shaped|red|green|blue|yellow|orange|purple|pink|gray|grey|white|black|large|small|big|tiny|narrow|wide)\b/i)||[])[1],q=!!N&&g.some(H=>H.indexOf(N.toLowerCase())!==-1);if(!(L||q)&&(_||S||E||M)){let H=_?"shape":S?"position":E?"color":"size";y.push({selector:F,attribute:"data-sensory-review",currentValue:w.slice(0,100),issueType:"sensory_characteristic",wcag:"1.3.3",context:`Instruction relies on ${H} alone: "${w.slice(0,80)}". Provide a non-sensory way to identify the referenced element (e.g., by name, label, or function).`,needsAI:true});}}return y}};var jI=()=>{let f=[],d=document.querySelectorAll("img");for(let g of d){if(!g.offsetParent||g.width<50||g.height<20||g.complete&&g.naturalWidth===0)continue;let h=g.src||g.getAttribute("data-src")||"",p=h.indexOf(","),y=(h.toLowerCase().startsWith("data:")&&p!==-1?h.slice(0,p):h).toLowerCase(),A=g.getAttribute("alt")||"",w=g.getAttribute("role")||"";if(g.getAttribute("aria-hidden")==="true"||!!g.closest('[aria-hidden="true"]')||w==="presentation"||w==="none"||g.hasAttribute("alt")&&A.trim()==="")continue;let R=g.width>200&&g.height<80&&g.height>15,_=/banner|header|logo-text|title|heading|cta|promo|offer|button.*\.(?:png|jpg|gif|webp)/i.test(y);if(!(_||R)||/(?:^|\/)(?:img|dsc|dscn|dcim|pict)[-_]?\d|photo|gallery/i.test(y)&&!_)continue;let S=g.closest("a[href]"),E=(()=>{if(!S)return false;let J=S.getAttribute("href")||"";if(J==="/"||J==="")return true;try{let k=new URL(S.href,location.href);return k.origin!==location.origin?!1:!!(k.pathname.replace(/\/+$/,"")===""||/^\/(?:index|home|default)(?:\.\w+)?$/i.test(k.pathname)||/^\/[a-z]{2}(?:-[a-z]{2})?(?:\.\w+)?$/i.test(k.pathname))}catch{return false}})();if(E&&(S.textContent||"").trim().length===0)continue;let L="";if(S&&!E&&(S.textContent||"").trim().length===0)try{let J=new URL(S.href,location.href),k=A.trim().split(/\s+/).filter(Boolean);if(J.origin!==location.origin&&/^https?:$/.test(J.protocol)&&k.length>0&&k.length<=4&&A.trim().length<=40){let v=z=>z.toLowerCase().normalize("NFKD").replace(/[^\p{L}\p{N}]/gu,""),D=v(A),T=J.hostname.toLowerCase().split(".").filter(z=>z&&z!=="www"),O=(T.length>1?T.slice(0,-1):T).map(v).filter(Boolean);L=D.length>=3&&(D===v(T.join(""))||D===O.join("")||O.some(z=>D===z||z.length>=5&&D.startsWith(z)))?"exempt":"review";}}catch{}let N=!!g.closest('header, [role="banner"], footer, [role="contentinfo"]'),q=g.height>0&&g.height<=120,H=N&&q,j=/logo|brand|wordmark|hero|banner-?(?:img|image)?|footer|marketing|promo|cover|screenshot|dashboard/i,W=H||j.test(y)||j.test(g.className)||j.test(g.getAttribute("id")||"");y.includes("icon")||y.includes("avatar")||y.includes("emoji")||f.push({selector:typeof uniqueSel=="function"?uniqueSel(g):"img",attribute:"data-image-of-text",currentValue:y.split("/").pop()?.slice(0,60)||"",issueType:"image_of_text",wcag:"1.4.5",context:`Image may contain text (${g.width}x${g.height}px, alt="${A.slice(0,40)}"). Use real text with CSS styling instead.`,needsAI:true,imageSrc:g.src,...W||L?{needsReview:true,reviewReason:H?"small graphic in the header/footer landmark \u2014 likely a logo, wordmark, or brand signature, which are exempt under WCAG 1.4.5 (logotypes)":L==="exempt"?"image is the only content of a link to another site and its alt names that site \u2014 likely the partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes); confirm the image holds only the brand name":L==="review"?"image is the only content of a link to another site and its alt is a short name \u2014 likely a partner/sponsor logo, exempt under WCAG 1.4.5 (logotypes)":"filename suggests marketing/brand imagery; logos and brand collateral are exempt under WCAG 1.4.5"}:{}});}return f},Qh={name:"imagesOfText",async detect(f){return f.evaluate(jI)}};var eg={name:"reflow",async detect(f){let d=f;if(!d.setViewport)return [];let g=d.viewport?.()??{width:1280,height:720},h=g.width??1280,p=g.height??720;try{return await d.setViewport({width:320,height:p}),await new Promise(A=>setTimeout(A,500)),await f.evaluate(A=>{let w=[],F=document.querySelectorAll("body *"),R=Math.min(F.length,500);for(let _=0;_<R;_++){let x=F[_];if(!x.offsetParent)continue;let S=x.tagName.toLowerCase();if(S==="script"||S==="style"||S==="noscript")continue;let E=x.getBoundingClientRect();E.right>A+5&&E.width>A*1.1&&w.push({selector:typeof uniqueSel=="function"?uniqueSel(x):S,attribute:"style",currentValue:`${Math.round(E.width)}px wide at ${A}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Element is ${Math.round(E.width)}px wide and overflows the ${A}px viewport by ${Math.round(E.right-A)}px. Content must reflow to a single column at 320px CSS width without horizontal scrolling.`,needsAI:!1,fixValue:"max-width: 100%; overflow-wrap: break-word;"});}return document.documentElement.scrollWidth>A+10&&w.push({selector:"html",attribute:"data-reflow",currentValue:`scrollWidth ${document.documentElement.scrollWidth}px at ${A}px viewport`,issueType:"reflow_overflow",wcag:"1.4.10",context:`Page has horizontal scrollbar at ${A}px width. WCAG 1.4.10 requires content to reflow without horizontal scrolling at 320 CSS pixels (equivalent to 1280px at 400% zoom).`,needsAI:!1,fixValue:"Fix elements causing horizontal overflow at narrow viewports"}),w},320)}finally{await d.setViewport({width:h,height:p}).catch(()=>{});}}};var $I=()=>{let f=[],d=document.querySelectorAll("video");for(let h of d){if(h.autoplay&&!h.muted&&f.push({selector:typeof uniqueSel=="function"?uniqueSel(h):"video",attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Video autoplays with sound. Either mute by default, provide a mechanism to pause, or limit to 3 seconds.",needsAI:false,fixValue:"true"}),!(h.offsetParent!==null&&getComputedStyle(h).display!=="none"))continue;let y=h.getBoundingClientRect();if(y.width===0&&y.height===0||h.error)continue;let A=/mute|unmute|sound|volume|audio|play|pause/i,w=!!h.parentElement?.querySelector('button, [role="button"]')||!!h.getAttribute("id")&&!!document.querySelector('[aria-controls~="'+(h.getAttribute("id")||"").replace(/"/g,"")+'"]');for(let E=h.parentElement?.parentElement||null,M=0;E&&!w&&M<3;E=E.parentElement,M++)w=Array.from(E.querySelectorAll('button, [role="button"]')).some(L=>A.test((L.getAttribute("aria-label")||"")+" "+(L.getAttribute("title")||"")+" "+(L.textContent||"")));if((h.muted||h.hasAttribute("muted"))&&(h.loop||h.hasAttribute("loop"))&&!h.hasAttribute("controls")&&!w)continue;let F=h.querySelectorAll("track"),R=Array.from(F).find(E=>E.kind==="captions"||E.kind==="subtitles"),_=Array.from(F).find(E=>E.kind==="descriptions");h.src||h.querySelector("source")?.src||"";let S=typeof uniqueSel=="function"?uniqueSel(h):"video";R||f.push({selector:S,attribute:"data-captions-missing",currentValue:"",issueType:"missing_captions",wcag:"1.2.2",context:`Video element has no <track kind="captions">. Provide synchronized captions for all prerecorded audio content. Page language: ${(document.documentElement.getAttribute("lang")||"").trim()||"not declared"}; the caption track's srclang and label follow the spoken language, which only the audio settles.`,needsAI:false,fixValue:'Add a <track kind="captions" src="captions.vtt" srclang="[spoken language]" label="[language name]" default> element',needsReview:true,reviewReason:"cannot verify an audio track in-page \u2014 confirm the video has speech content before adding captions (silent videos need none)"}),_||f.push({selector:S,attribute:"data-audio-description",currentValue:"",issueType:"missing_audio_description",wcag:"1.2.5",context:"Video has no audio description track. For prerecorded video with meaningful visual content not described in the audio, provide an audio description track or a text transcript.",needsAI:true,needsReview:true,reviewReason:"needs a human to judge whether the video shows information its audio does not describe"});}let g=document.querySelectorAll("audio");for(let h of g){let p=typeof uniqueSel=="function"?uniqueSel(h):"audio";h.closest("figure, div, section")?.querySelector('a[href*="transcript"], [class*="transcript"]')||f.push({selector:p,attribute:"data-transcript-missing",currentValue:"",issueType:"missing_transcript",wcag:"1.2.1",context:"Audio element has no associated transcript. Provide a text transcript for all prerecorded audio-only content.",needsAI:true}),h.autoplay&&!h.muted&&f.push({selector:p,attribute:"muted",currentValue:"autoplay without muted",issueType:"unsafe_autoplay",wcag:"1.4.2",context:"Audio autoplays with sound. Provide a way to pause/stop/mute, or limit to 3 seconds.",needsAI:false,fixValue:"true"});}return f},tg={name:"mediaAlternatives",cap:50,async detect(f){return (await f.evaluate($I)).slice(0,50)}};var zI=()=>{let f=[],d=document.querySelector('meta[http-equiv="refresh"]');if(d){let k=d.getAttribute("content")||"",v=parseInt(k,10);!isNaN(v)&&v>0&&v<72e3&&f.push({selector:`meta[http-equiv="refresh"][content*="${k.trim().slice(0,20)}"]`,attribute:"data-auto-refresh",currentValue:k,issueType:"auto_refresh",wcag:"2.2.1",context:`Page auto-refreshes after ${v}s. Users must be able to turn off, adjust, or extend time limits (WCAG 2.2.1).`,needsAI:false,manualFix:true});}let g=document.querySelectorAll("[accesskey]");for(let k of g){let v=k.getAttribute("accesskey")||"";if(v.length===1){let D=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();f.push({selector:D,attribute:"accesskey",currentValue:v,issueType:"character_key_shortcut",wcag:"2.1.4",context:`Single character accesskey "${v}". Must allow users to remap or disable single-character shortcuts. Consider using modifier key combinations instead.`,needsAI:false,fixValue:"Provide a mechanism to remap or turn off the shortcut, or use modifier keys"});}}let h=document.querySelectorAll("select");for(let k of h){let v=k.hasAttribute("onchange"),D=k.getAttribute("onchange")||"";if(v&&/submit|location|href|navigate|window\./i.test(D)){let T=typeof uniqueSel=="function"?uniqueSel(k):"select";f.push({selector:T,attribute:"onchange",currentValue:D.slice(0,80),issueType:"on_input_change",wcag:"3.2.2",context:"Select element changes context on input (navigates or submits). Add an explicit submit button instead of auto-submitting on selection change.",needsAI:false,fixValue:"Add a submit button; remove auto-navigation from onchange"});}}let p=document.querySelectorAll("[ontouchstart], [ontouchmove], [ongesturestart], [ongesturechange]");for(let k of p)if(!(k.hasAttribute("onclick")||k.hasAttribute("onkeydown")||k.hasAttribute("onkeyup"))){let D=typeof uniqueSel=="function"?uniqueSel(k):k.tagName.toLowerCase();f.push({selector:D,attribute:"data-pointer-gesture",currentValue:"touch/gesture handler without keyboard alternative",issueType:"pointer_gesture",wcag:"2.5.1",context:"Element has touch/gesture handler but no keyboard or click alternative. All multipoint/path-based gestures must have single-pointer alternatives.",needsAI:true});}let y=document.querySelectorAll("[onmousedown]");for(let k of y){let v=k.hasAttribute("onmouseup"),D=k.tagName.toLowerCase();if(!v&&D!=="a"&&D!=="button"&&D!=="input"){let T=typeof uniqueSel=="function"?uniqueSel(k):D;f.push({selector:T,attribute:"data-pointer-cancellation",currentValue:"mousedown action without mouseup",issueType:"pointer_cancellation",wcag:"2.5.2",context:"Element fires action on mouse down-event. Use click or mouseup instead so users can cancel by moving the pointer away before releasing.",needsAI:false,fixValue:"Move action from onmousedown to onclick or onmouseup"});}}let A=/devicemotion|deviceorientation|accelerometer|gyroscope/i,w=/addEventListener\(\s*['"](?:devicemotion|deviceorientation)['"]\s*,\s*(?:\(\s*\)\s*=>|function\s*\(\s*\))\s*\{\s*(?:[A-Za-z_$][\w$]*\s*(?:\+\+|--)\s*;?\s*)+\}\s*\)/gi,F=/addEventListener\(\s*['"](?:click|keydown|keyup|input|change|pointerup|touchend)['"]/i,R=/(?:disable|turn off|switch off|stop|pause|deactivate|opt.?out)[^.]{0,40}(?:motion|shake|tilt|orientation|sensor|gyro|accelerometer)|(?:motion|shake|tilt|orientation|sensor)[^.]{0,40}(?:disable|turn off|switch off|opt.?out)/i;function _(){let k=document.querySelectorAll('label, button, [role="button"], [role="switch"], input[type="button"], input[type="checkbox"]');for(let v of Array.from(k)){let D=(v.textContent||"")+" "+(v.getAttribute("aria-label")||"")+" "+(v.getAttribute("value")||"");if(R.test(D))return true}return false}function x(k){return !A.test(k.replace(w,""))||F.test(k)?true:_()}let S=document.querySelectorAll("script:not([src]):not([data-wa-injected])");for(let k of S){let v=k.textContent||"";if(A.test(v)&&!x(v)){let D=[],T=k;for(;T&&T!==document.body&&T!==document.documentElement;){let z=T.parentElement,X=T.tagName.toLowerCase(),te=z?Array.from(z.children).filter(Z=>Z.tagName===T.tagName):[],ee=te.indexOf(T)+1;D.unshift(ee>1||te.length>1?X+":nth-of-type("+ee+")":X),T=z;}let O=T===document.body?"body":T===document.documentElement?"html":"",B=(O?O+" > ":"")+D.join(" > ");f.push({selector:B||"script",attribute:"data-motion-actuation",currentValue:"Uses device motion/orientation API",issueType:"motion_actuation",wcag:"2.5.4",context:"Page uses device motion/orientation. Any functionality operated by device motion must also be available via UI controls, and motion actuation must be disableable.",needsAI:true});break}}let E=document.querySelectorAll("form"),M='input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), select, textarea',L=/\bcc-|card.?(?:number|num|no\b)|cardnumber|\bcvv|\bcvc|\bcsc\b|security.?code|\bexpir|\biban\b|routing|account.?(?:number|no\b)|sort.?code|\bbilling\b|transaction-(?:amount|currency)/i,N=/card|payment/i,q=/\b(?:pay|buy|purchase|donate|subscribe and pay|place (?:your |my )?order|complete (?:order|purchase|payment)|confirm (?:order|purchase|payment)|check ?out)\b/i,H=/\b(?:delete|remove|close|deactivate|cancel|terminate)\b[^.]{0,30}\b(?:account|profile|subscription|membership|data|records?)\b/i,j=/\b(?:e-?)?sign\b(?![\s\u00a0-]*(?:up|in|on|out)\b)|\bagree and (?:submit|continue|sign)\b/i,W=/\b(?:save|update|change)\b/i,J=/e-?mail|name|phone|tel\b|zip|postal|company|organi[sz]ation|country/i;for(let k of E){let v=Array.from(k.querySelectorAll(M)),D=He=>[He.getAttribute("name"),He.getAttribute("id"),He.getAttribute("autocomplete"),He.getAttribute("placeholder"),He.getAttribute("aria-label")].join(" "),T=Array.from(k.querySelectorAll('button, input[type="submit"], input[type="image"]')).filter(He=>He.tagName!=="BUTTON"||!He.getAttribute("type")||(He.getAttribute("type")||"").toLowerCase()==="submit").map(He=>(He.getAttribute("value")||"")+" "+(He.textContent||"")+" "+(He.getAttribute("aria-label")||"")).join(" . "),O=v.some(He=>L.test(D(He)))||Array.from(k.querySelectorAll("iframe")).some(He=>N.test((He.getAttribute("title")||"")+" "+(He.getAttribute("name")||""))),B=v.some(He=>/signature/i.test(D(He))),z=O||q.test(T),X=H.test(T),te=B||j.test(T),ee=v.length>0&&v.some(He=>(He.getAttribute("type")||"").toLowerCase()==="email"||/e-?mail/i.test(D(He)))&&v.every(He=>{let Mt=He.tagName.toLowerCase()==="input"?(He.getAttribute("type")||"text").toLowerCase():He.tagName.toLowerCase();return Mt==="email"||Mt==="checkbox"||Mt==="tel"?true:Mt==="text"||Mt==="search"?J.test(D(He)+" "+(He.closest("label")?.textContent||"")):false}),Z=(k.textContent||"").toLowerCase(),ie=/payment|credit card|billing|purchase|\border\b|checkout|bank|account number/i.test(Z),be=/\bagree|terms|contract|binding|signature|consent|waiver/i.test(Z),de=/delete.*account|remove.*data|cancel.*account/i.test(Z),ke=z||X||te,De=ee&&(W.test(T)||de),Be=!ke&&(!ee&&(ie||be||de)||De);if(!ke&&!Be)continue;let _e=!!k.querySelector('[type="checkbox"][required], [class*="confirm"], [id*="confirm"], [name*="confirm"]'),Ee=!!k.querySelector('[class*="review"], [class*="summary"], [id*="review"]');if(_e||Ee)continue;let bt=typeof uniqueSel=="function"?uniqueSel(k):"form",kt=ke?z?"financial":X?"data-deletion":"legal":De?de?"data-deletion":"data-modification":ie?"financial":be?"legal":"data-deletion";f.push({selector:bt,attribute:"data-error-prevention",currentValue:kt,issueType:"error_prevention_missing",wcag:"3.3.4",context:`${kt.charAt(0).toUpperCase()+kt.slice(1)} form lacks a confirmation/review step. For ${kt} transactions, provide: (1) a review step before submission, (2) ability to check/correct input, or (3) ability to reverse the submission.`,needsAI:true,...Be?{needsReview:true,reviewReason:De&&de?"form text is about deleting an account or data and its submit is generic \u2014 confirm whether submitting it deletes stored user data":De?"form saves contact/account details \u2014 confirm whether submitting it changes stored user data that cannot be reviewed or reversed":`form text mentions ${kt} topics but its controls show no ${kt} transaction (no payment fields, pay/order/delete submit, or signature) \u2014 confirm whether submitting it commits the user`}:{}});}return f},rg={name:"timingAndInput",async detect(f){return f.evaluate(zI)}};var GI=()=>{let f=[],d=document.querySelectorAll('nav, [role="navigation"]');for(let p of d){if(!p.offsetParent||p.closest('footer, aside, [role="contentinfo"], [role="complementary"]')||p.parentElement?.closest('nav, [role="navigation"]'))continue;let y=p.getBoundingClientRect();if(y.top<=window.innerHeight)continue;let A=typeof uniqueSel=="function"?uniqueSel(p):"nav";f.push({selector:A,attribute:"data-nav-position",currentValue:`top: ${Math.round(y.top)}px`,issueType:"inconsistent_navigation",wcag:"3.2.3",context:"Primary navigation appears below the visible viewport on this page. WCAG 3.2.3 (Consistent Navigation) is a cross-page criterion and cannot be confirmed from a single page \u2014 manually verify this navigation appears in the same relative order across pages that share this template.",needsAI:true,needsReview:true,reviewReason:"Consistent Navigation (3.2.3) is a cross-page criterion; single-page position alone cannot confirm a violation."});}let g=document.querySelectorAll('[class*="blink" i], [class*="flash" i], [class*="strobe" i], blink, marquee');for(let p of g){if(!p.offsetParent)continue;let y=p.getBoundingClientRect();if(y.width<1||y.height<1||!(p.textContent||"").trim()&&!p.querySelector("img, svg, video, canvas, picture")&&getComputedStyle(p).backgroundImage==="none")continue;let A=typeof uniqueSel=="function"?uniqueSel(p):p.tagName.toLowerCase();f.push({selector:A,attribute:"data-flashing",currentValue:p.tagName.toLowerCase(),issueType:"flashing_content",wcag:"2.3.1",context:"Element may produce flashing content. Content must not flash more than 3 times per second. Remove blinking/flashing effects or ensure they are below the threshold.",needsAI:true});}let h=document.querySelectorAll('img[src*=".gif"]');for(let p of h){if(!p.offsetParent||p.width<25||p.height<25)continue;let y=p.getBoundingClientRect();if(y.width>100&&y.height>100){let A=typeof uniqueSel=="function"?uniqueSel(p):"img";f.push({selector:A,attribute:"data-animated-gif",currentValue:(p.src||"").split("/").pop()?.slice(0,40)||"",issueType:"animated_gif_no_pause",wcag:"2.2.2",context:"Animated GIF detected. If this GIF is animated and loops continuously, provide a pause mechanism. Also verify it does not flash more than 3 times per second (WCAG 2.3.1).",needsAI:true});}}return f},ng={name:"navigationAndWayfinding",async detect(f){return f.evaluate(GI)}};var ag={name:"flashDetection",async detect(f){let d=[];if(!f.screenshot)return d;let h=await f.evaluate(()=>{let _=document.documentElement.style.getPropertyValue("--wa-animations-frozen")==="1";if(_){let x=document.querySelectorAll("*");for(let S of x)S.style.removeProperty("animation-play-state"),S.style.removeProperty("transition");}return _}),p=8,y=120,A=9,w=3,F=[];for(let R=0;R<p;R++){let _=await f.evaluate(x=>{let S=window.innerWidth,E=window.innerHeight,M=3,L=3,N=[];for(let q=0;q<L;q++)for(let H=0;H<M;H++){let j=Math.floor((H+.5)*(S/M)),W=Math.floor((q+.5)*(E/L)),J=document.elementFromPoint(j,W);if(!J){N.push(0);continue}let v=getComputedStyle(J).backgroundColor||"rgba(0,0,0,0)",D=typeof parseCssColor=="function"?parseCssColor(v):null;if(!D){N.push(0);continue}let T=.2126*D[0]+.7152*D[1]+.0722*D[2];N.push(T);}return N},A);F.push(_),R<p-1&&await new Promise(x=>setTimeout(x,y));}h&&await f.evaluate(()=>{let R=document.querySelectorAll("*");for(let _ of R)_.style.setProperty("animation-play-state","paused","important"),_.style.setProperty("transition","none","important");});for(let R=0;R<A;R++){let _=0,x=F[0][R],S=null;for(let L=1;L<p;L++){let N=F[L][R];if(Math.abs(N-x)>25){let H=N>x?"up":"down";S&&H!==S&&_++,S=H;}x=N;}let E=p*y/1e3,M=_/E;if(M>=w){let L=R%3,N=Math.floor(R/3);d.push({selector:"body",attribute:"data-flash-detected",currentValue:`${M.toFixed(1)} flashes/sec in region (${L},${N})`,issueType:"flashing_content",wcag:"2.3.1",context:`Content flashes ${M.toFixed(1)} times/second in screen region (row ${N}, col ${L}). WCAG requires no more than 3 flashes per second. This can trigger seizures in users with photosensitive epilepsy.`,needsAI:false,fixValue:"Remove or reduce flashing to below 3 per second, or ensure the flashing area is below the 21,824 sq pixel threshold"});}}return d}};var ig={name:"reducedMotion",async detect(f){let d=[],g=await f.evaluate(()=>{let h=false,p=false;for(let A of document.styleSheets)try{for(let w of A.cssRules){let F=w.cssText||"";/animation|transition|@keyframes/i.test(F)&&!/prefers-reduced-motion/.test(F)&&(h=!0),w instanceof CSSMediaRule&&/prefers-reduced-motion/i.test(w.conditionText||w.media?.mediaText||"")&&(p=!0);}}catch{}let y=document.querySelectorAll('[class*="animate"], [class*="slide"], [class*="fade"], [class*="bounce"], [class*="spin"], [class*="pulse"]');return y.length>0&&(h=true),{hasAnimations:h,hasReducedMotionQuery:p,animatedCount:y.length}});return g.hasAnimations&&!g.hasReducedMotionQuery&&d.push({selector:"html",attribute:"data-reduced-motion",currentValue:`${g.animatedCount} animated elements, no @media (prefers-reduced-motion) query`,issueType:"motion_without_reduced_motion",wcag:"2.3.3",context:'Page has animations/transitions but no @media (prefers-reduced-motion: reduce) query. Users who set "Reduce motion" in their OS settings will still see all animations. Add: @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }',needsAI:false,fixValue:"@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }"}),d}};var WI=()=>{let f="[class*=asw-], [class*=userway], [class*=acsb], [class*=audioeye], [class*=EquallyAI]",g=[],h=/^(0+(\.0+)?|false|off|no|none|disabled?)$/i,p=v=>v!==null&&!h.test(v.trim()),y=v=>{let D=parseFloat((v||"").trim());return Number.isFinite(D)&&D>0},A=/^(carousel|slider|slideshow|slides|slick|swiper|splide|flickity|owl|flexslider|glide|layerslider|ls|rotator|gallery)$/i,w=v=>v.split(/[\s_-]+/).filter(Boolean),F=v=>{if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel")return true;let D=typeof v.className=="string"?v.className:v.getAttribute("class")||"";return w(D).some(T=>A.test(T))},R=/^(autoplay|autoPlay|auto_play|autoStart|autostart|auto_start)$/,_=v=>{let D=v.trim();if(!D.startsWith("{"))return "";let T;try{T=JSON.parse(D);}catch{try{T=JSON.parse(D.replace(/'/g,'"'));}catch{return ""}}if(!T||typeof T!="object")return "";for(let O of Object.keys(T)){if(!R.test(O))continue;let B=T[O];if(B===true||typeof B=="number"&&B>0||typeof B=="string"&&p(B)&&B.trim()!==""||B&&typeof B=="object")return `${O}: ${JSON.stringify(B).slice(0,40)}`}return ""},x=v=>{for(let O of ["data-autoplay","data-auto","data-autostart","data-bs-autoplay","data-auto-play"]){if(!v.hasAttribute(O))continue;let B=v.getAttribute(O)||"";if((B.trim()===""||p(B))&&(F(v)||W(v)>=2))return {attr:O,value:B}}let D=["data-interval","data-bs-interval"].some(O=>v.hasAttribute(O)&&h.test((v.getAttribute(O)||"").trim()));for(let O of ["data-ride","data-bs-ride"])if((v.getAttribute(O)||"").trim().toLowerCase()==="carousel"&&!D)return {attr:O,value:"carousel"};for(let O of ["data-interval","data-bs-interval"]){let B=v.getAttribute(O);if(y(B)&&F(v))return {attr:O,value:B||""}}let T=F(v);for(let O of Array.from(v.attributes)){if(!O.name.startsWith("data-")||!T&&!w(O.name.slice(5)).some(z=>A.test(z)))continue;let B=_(O.value);if(B)return {attr:O.name,value:B}}if((v.getAttribute("aria-roledescription")||"").trim().toLowerCase()==="carousel"){let O=/autoplay["']?\s*[:=]\s*["']?(false|0|off|no)\b/i;for(let B of Array.from(v.attributes)){if(/(^|-)autoplay$/i.test(B.name)&&(B.value.trim()===""||p(B.value)))return {attr:B.name,value:B.value.slice(0,60)};if(/autoplay/i.test(B.value)&&!O.test(B.value))return {attr:B.name,value:B.value.slice(0,60)}}}return null},S=/^(pause|stop|play|playpause|resume)$/i,E=/\b(pause|stop|play|resume)\b/i,M=v=>{let D=[v.getAttribute("aria-label")||"",v.getAttribute("title")||"",v.getAttribute("value")||"",(v.textContent||"").trim().slice(0,80)],T=(v.getAttribute("aria-labelledby")||"").trim();if(T)for(let O of T.split(/\s+/))D.push(document.getElementById(O)?.textContent||"");for(let O of Array.from(v.querySelectorAll("img[alt]")))D.push(O.getAttribute("alt")||"");return D.join(" ")},L=v=>{let D=v.getAttribute("class")||"";return w(D).some(T=>S.test(T))?true:v.matches('a, button, input, [role="button"], [role="switch"], [role="checkbox"], [tabindex]')?E.test(M(v)):false},N=/^(section|article|main|nav|aside|header|footer|form|dialog)$/i,q=v=>F(v)||x(v)!==null||Array.from(v.querySelectorAll("*")).some(D=>F(D)||x(D)!==null),H=v=>{if(v.querySelector("[aria-pressed]"))return true;let D=[v];for(let B of Array.from(v.parentElement?.children||[]))B===v||N.test(B.tagName)||q(B)||D.push(B);let T=v.getAttribute("id"),O=B=>{let z=[...(B.getAttribute("aria-controls")||"").split(/\s+/),(B.getAttribute("data-bs-target")||B.getAttribute("data-target")||"").replace(/^#/,"")].filter(Boolean);return z.length>0&&!z.includes(T||"")};for(let B of D){if(B!==v&&L(B)&&!O(B))return true;for(let z of Array.from(B.querySelectorAll("*")))if(L(z)&&!O(z))return true}if(T){let B=typeof CSS<"u"&&CSS.escape?CSS.escape(T):T.replace(/["\\]/g,"\\$&");for(let z of Array.from(document.querySelectorAll(`[aria-controls~="${B}"], [data-target="#${B}"], [data-bs-target="#${B}"]`)))if(L(z))return true}return false},j=/^(slide|cell)$/i,W=v=>{let D=z=>w(z.getAttribute("class")||"").some(X=>j.test(X))&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(z.getAttribute("class")||""),T=Array.from(v.querySelectorAll("[class]")).filter(D),O=T.filter(z=>!T.some(X=>X!==z&&X.contains(z)));if(!O.length)return 0;let B=O.length;for(let z of O){let X=Array.from(z.parentElement?.children||[]).filter(te=>te.tagName===z.tagName&&!/(^|[\s_-])cloned?([\s_-]|$)/i.test(te.getAttribute("class")||""));B=Math.max(B,X.length);}return B},J=new Set,k=(v,D)=>{if(g.length>=10||J.has(v)||(J.add(v),v.closest(f))||v.closest('[aria-hidden="true"], [hidden], template, noscript')||typeof isVisible=="function"&&!isVisible(v)||W(v)===1||H(v))return;let T=typeof uniqueSel=="function"?uniqueSel(v):v.tagName.toLowerCase();g.push({selector:T,attribute:D.attr,currentValue:D.value.slice(0,100),issueType:"carousel_autoplay_no_pause",wcag:"2.2.2",context:`slider markup declares autoplay (${D.attr}="${D.value.slice(0,60)}") and no pause / stop control sits in or beside it`,message:"carousel starts automatically and has no pause or stop control",needsAI:false,manualFix:true,reviewReason:"add a visible pause / stop control for the slider (or turn autoplay off); no attribute write fixes this",outerHtml:v.cloneNode(false).outerHTML.slice(0,300)});};for(let v of Array.from(document.body?document.body.querySelectorAll("*"):[])){if(g.length>=10)break;if(!v.attributes.length)continue;if(v.hasAttribute("data-swiper-autoplay")&&y(v.getAttribute("data-swiper-autoplay"))){let T=v.closest('.swiper, .swiper-container, [class*="swiper"]:not(.swiper-slide):not(.swiper-wrapper)')||v.parentElement?.parentElement||v;k(T,{attr:"data-swiper-autoplay",value:v.getAttribute("data-swiper-autoplay")||""});continue}let D=x(v);D&&k(v,D);}return g},og={name:"carouselAutoplay",cap:10,async detect(f){return f.evaluate(WI)}};var gg=[Xh,Bh,Gh,dh,Rh,Th,vh,Vh,xh,Uh,Dh,$h,fh,qh,Fh,yh,Oh,Eh,Nh,Ih,Yh,Kh,Lh,hh,gh,Mh,jh,Wh,bh,zh,ph,Ph,Jh,Zh,Qh,eg,tg,rg,ng,ag,ig,og],vM=[ch,mh,wh,Hh];function vg(f,d,g){f?.push({tool:d,kind:"engine-failed",detail:`detector threw, its findings are absent: ${g?.message??String(g)}`});}async function bg(f,d,g,h){let p=d??[],y=[];try{let{detectPlatform:H}=await Promise.resolve().then(()=>(Eu(),_u));y=await H(f);}catch{}try{let{UNIQUE_SELECTOR_JS:H,IS_VISIBLE_JS:j,ACCESSIBLE_NAME_JS:W,WIDGET_SKIP_JS:J,IS_HIDDEN_FROM_AT_JS:k,IS_TRACKING_PIXEL_JS:v,NEARBY_CONTEXT_JS:D}=await Promise.resolve().then(()=>(ug(),lg)),{ICON_LABELS_JS:T}=await Promise.resolve().then(()=>(dg(),cg)),{COLOR_MATH_JS:O}=await Promise.resolve().then(()=>(pg(),fg)),z=`if(typeof __name==='undefined'){var __name=function(t,v){return t};var __defProp=Object.defineProperty;}
435
+ `+[H,j,W,J,k,v,D,T,O].join(`
436
+ `),{inject:X}=await Promise.resolve().then(()=>(Hr(),gn));try{await X(f,{tool:"detector-helpers",content:z});}catch{await f.evaluate(`(0,eval)(${JSON.stringify(z)})`);}}catch(H){console.warn("[webability] helper injection failed:",H.message),(g??[]).push("color:kernel-injection-failed");}let A=[],w="";try{let{applyPlatformTemplates:H}=await Promise.resolve().then(()=>(Eu(),_u)),j=y;w=j.filter(W=>W!=="universal"&&W!=="universal_iframe").join(", "),A=await H(f,j);}catch{}let{guardDetectorState:F}=await Promise.resolve().then(()=>(Hr(),gn)),R=globalThis.process?.env?.WA_STRICT_STATE==="1",_={strict:R,bugs:h?.internalBugs},x=await F(f,"detectors:parallel",g??[],()=>Promise.allSettled((h?.experimental?[...gg,...vM]:gg).map(async H=>{try{let j=await H.detect(f);return H.cap&&j.length>=H.cap&&p.push({detector:H.name,cap:H.cap}),j}catch(j){return vg(h?.internalBugs,H.name,j),[]}})),_),S=[];h?.skipFocusMutating&&(g??[]).push("focus:mutating-detectors-skipped (live-tab scan; focus visibility and focus obscured were not checked)");let E=[...h?.skipFocusMutating?[]:[_h,Ah],...h?.extraSerialDetectors??[]];for(let H of E){let j=[];try{j=await F(f,H.name,g??[],()=>H.detect(f).catch(W=>(vg(h?.internalBugs,H.name,W),[])),_);}catch(W){if(R)throw W}try{H.cap&&j.length>=H.cap&&p.push({detector:H.name,cap:H.cap}),S=S.concat(j);}catch{}}let M=[...x.flatMap(H=>H.status==="fulfilled"?H.value:[]),...S];if(w)for(let H of M)H.needsAI&&(H.context=uh(H.context,w));let L=[...A,...M],N=bM(L),q=["wp-ada-compliance","webability-widget","webability-a11y","asw-","userway","acsb","audioeye","equallyai"];return N.filter(H=>{let j=H.selector.toLowerCase();return j.trim()?!q.some(W=>j.includes(W)):false})}function bM(f){let d=new Set;return f.filter(g=>{let h=`${g.selector}::${g.issueType}`;return d.has(h)?false:(d.add(h),true)})}var yg="1.17.1";var Su=["wcag2a","wcag2aa","wcag21aa","wcag22aa"];function ku(f){return f.includes("wcag21aa")||f.includes("wcag22aa")||f.includes("wcag134")?{"css-orientation-lock":{enabled:true}}:{}}function wg(f,d){return d==="AAA"&&!f.includes("wcag2aaa")?[...f,"wcag2aaa"]:f}var yM={"1.1.1":"A","1.2.1":"A","1.2.2":"A","1.2.3":"A","1.3.1":"A","1.3.2":"A","1.3.3":"A","1.4.1":"A","1.4.2":"A","2.1.1":"A","2.1.2":"A","2.1.4":"A","2.2.1":"A","2.2.2":"A","2.3.1":"A","2.4.1":"A","2.4.2":"A","2.4.3":"A","2.4.4":"A","2.5.1":"A","2.5.2":"A","2.5.3":"A","2.5.4":"A","3.1.1":"A","3.2.1":"A","3.2.2":"A","3.2.6":"A","3.3.1":"A","3.3.2":"A","3.3.7":"A","4.1.2":"A","1.2.4":"AA","1.2.5":"AA","1.3.4":"AA","1.3.5":"AA","1.4.3":"AA","1.4.4":"AA","1.4.5":"AA","1.4.10":"AA","1.4.11":"AA","1.4.12":"AA","1.4.13":"AA","2.4.5":"AA","2.4.6":"AA","2.4.7":"AA","2.4.11":"AA","2.5.7":"AA","2.5.8":"AA","3.1.2":"AA","3.2.3":"AA","3.2.4":"AA","3.3.3":"AA","3.3.4":"AA","3.3.8":"AA","4.1.3":"AA","1.2.6":"AAA","1.2.7":"AAA","1.2.8":"AAA","1.2.9":"AAA","1.3.6":"AAA","1.4.6":"AAA","1.4.7":"AAA","1.4.8":"AAA","1.4.9":"AAA","2.1.3":"AAA","2.2.3":"AAA","2.2.4":"AAA","2.2.5":"AAA","2.2.6":"AAA","2.3.2":"AAA","2.3.3":"AAA","2.4.8":"AAA","2.4.9":"AAA","2.4.10":"AAA","2.4.12":"AAA","2.4.13":"AAA","2.5.5":"AAA","2.5.6":"AAA","3.1.3":"AAA","3.1.4":"AAA","3.1.5":"AAA","3.1.6":"AAA","3.2.5":"AAA","3.3.5":"AAA","3.3.6":"AAA","3.3.9":"AAA"};function wM(f){return yM[f]}var ni={A:1,AA:2,AAA:3};function xg(f){let d=String(f.wcag||"").split(/[,\s]+/).filter(h=>/^\d+\.\d+\.\d+$/.test(h));if(d.length===0)return f.level??"AA";let g;for(let h of d){let p=wM(h);p&&(!g||ni[p]<ni[g])&&(g=p);}return g}function ra(f,d="AA"){let g=ni[d]??ni.AA;return f.filter(h=>{let p=xg(h);return !!p&&ni[p]<=g})}var xM=new Set(["new_window_link","external_link_warning","download_link_warning"]);function Dg(f){let d=xM.has(f.issueType)?"minor":f.needsAI?"serious":"moderate",g=f.attribute==="style",h=f.attribute.startsWith("data-"),p=g&&f.fixValue?DM(f.fixValue):f.fixValue;return {id:`wa-${f.issueType}-${ai(f.selector)}`,source:"webability",type:f.issueType,wcag:f.wcag,level:xg({wcag:f.wcag})??"AA",impact:d,message:AM(f,p,h),selector:f.selector,html:f.outerHtml,...f.needsReview?{confidence:"needs_review"}:{},...f.reviewReason?{reviewReason:f.reviewReason}:{},fix:{attribute:f.attribute,currentValue:f.currentValue,suggestedValue:p,needsManualReview:f.needsAI||g||h||!!f.needsReview||!!f.manualFix}}}function DM(f){let d=f.trim();if(!d)return "";let g=d.endsWith(";"),p=d.split(";").map(y=>{let w=y.toLowerCase().lastIndexOf("!important");return w===-1?y.trim():y.slice(0,w).trim()}).filter(y=>y.length>0);return p.length===0?"":p.join(";")+(g?";":"")}function AM(f,d,g){if(f.message)return f.message;let h=f.issueType.replace(/_/g," "),p=d??f.fixValue;return g?p?`${h}: ${p}`:f.currentValue?`${h}: ${f.currentValue}`:f.context?`${h}: ${f.context}`:h:p?`${h}: set ${f.attribute}="${p}"`:f.currentValue?`${h}: ${f.attribute} is "${f.currentValue}"`:`${h}: missing ${f.attribute}`}function na(f){return Array.isArray(f)?f.flat(1/0).filter(g=>typeof g=="string").join(" >>> "):typeof f=="string"?f:""}function ai(f){let d=0;for(let g=0;g<f.length;g++)d=(d<<5)-d+f.charCodeAt(g)|0;return Math.abs(d).toString(36)}function Tu(f){return f==="critical"||f==="serious"||f==="moderate"||f==="minor"?f:"moderate"}function Ru(f,d=[]){return {total:f.length,critical:f.filter(g=>g.impact==="critical").length,serious:f.filter(g=>g.impact==="serious").length,moderate:f.filter(g=>g.impact==="moderate").length,minor:f.filter(g=>g.impact==="minor").length,incomplete:0}}function _M(f){let d=/^wcag(\d)(\d)(\d{1,2})$/.exec(f);return d?`${d[1]}.${d[2]}.${d[3]}`:""}function Fu(f){for(let d of f){let g=_M(d);if(g)return g}return ""}function Iu(f){return f.includes("wcag2aaa")?"AAA":f.includes("wcag2aa")||f.includes("wcag21aa")||f.includes("wcag22aa")?"AA":"A"}async function Eg(f,d){try{let{AxeBuilder:g}=await import('@axe-core/playwright'),h=typeof f.mainFrame=="function"?f:f.axePage?.()??f;return await new g({page:h}).options({rules:ku(d)}).withTags(d).analyze()}catch{return EM(f,d)}}async function EM(f,d){let g=await Promise.resolve().then(()=>Z3(_g())),h=g.source??g.default?.source;if(!h)throw new Error("axe-core source unavailable");try{await f.evaluate(h);}catch{let{inject:y}=await Promise.resolve().then(()=>(Hr(),gn));await y(f,{tool:"axe",content:h});}return await f.evaluate(({wcagTags:y,rules:A})=>new Promise((w,F)=>{let R=window;if(!R.axe)return F(new Error("axe-core not loaded"));R.axe.run(document,{runOnly:{type:"tag",values:y},rules:A,resultTypes:["violations","incomplete"]}).then(w).catch(F);}),{wcagTags:d,rules:ku(d)})}function Mu(f){let d=[],g=[];for(let h of f)h.confidence==="needs_review"||SM(h)?g.push(h):d.push(CM(h));return {verdicts:d,undecided:g}}function CM(f){if(f.confidence===void 0&&f.reviewReason===void 0)return f;let{confidence:d,reviewReason:g,...h}=f;return h}function SM(f){let d=(f.type||"").toLowerCase(),g=f.wcag||"",h=f.html||"",p=(f.message||"").toLowerCase();if((d==="contrast_insufficient"||d==="color-contrast"||g==="1.4.3"||g==="1.4.11")&&kM(h))return "background uses gradient or image";if(d==="image_of_text"||g==="1.4.5"){let y=Cg(h,"src").toLowerCase();y.startsWith("data:")&&(y=y.split(",")[0]);let A=Cg(h,"alt").toLowerCase();if(/\b(logo|brand|wordmark|hero|banner|footer|marketing|promo|cover)\b/.test(y))return "brand imagery";if(A.length>0&&/\b(logo|brand|product screenshot|dashboard)\b/.test(A))return "branded imagery"}return (d==="inconsistent_navigation"||p.includes("inconsistent navigation"))&&(/<footer/i.test(h)||/<aside/i.test(h))?"footer/aside nav":""}function kM(f){return /background(-image)?\s*:\s*(?:linear-gradient|radial-gradient|conic-gradient|url\()/i.test(f)}function Cg(f,d){let g=new RegExp(`\\b${d}\\s*=\\s*"([^"]*)"`,"i"),h=f.match(g);return h?h[1]:""}Hr();var Sg=60,kg=3,Tg=120,Rg=1200,Fg=300,Ig=2e5,Mg=8e3,TM=new Set(["bgImage","bgGradient","bgOverlap","elmPartiallyObscured","elmPartiallyObscuring"]),RM="*,*::before,*::after{color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;text-decoration-color:transparent!important;caret-color:transparent!important}";function FM(f){let{selectors:d,maxBoxes:g,maxW:h,maxH:p,maxArea:y}=f,A=document.documentElement.scrollWidth,w=document.documentElement.scrollHeight,F=document.createElement("canvas");F.width=F.height=1;let R=F.getContext("2d",{willReadFrequently:true}),_=N=>{try{R.clearRect(0,0,1,1),R.fillStyle="#000",R.fillStyle=N,R.fillRect(0,0,1,1);let q=R.getImageData(0,0,1,1).data;return [q[0],q[1],q[2],q[3]]}catch{return null}},x={},S=document.querySelectorAll("video,canvas,iframe,embed,object");if(S.length>200){for(let N of d)x[N]=null;return x}let E=Array.from(S).map(N=>N.getBoundingClientRect()),M=window.scrollX,L=window.scrollY;for(let N of d){x[N]=null;let q=null;try{q=document.querySelector(N);}catch{continue}if(!q)continue;let H=getComputedStyle(q);if(H.visibility!=="visible"||H.display==="none"||H.webkitBackgroundClip==="text"||H.backgroundClip==="text")continue;let j=false,W=0;for(let Z=q;Z;Z=Z.parentElement){if(++W>64){j=true;break}let ie=getComputedStyle(Z);parseFloat(ie.opacity)<1&&(j=true),(ie.mixBlendMode!=="normal"||ie.filter!=="none")&&(j=true);}if(j)continue;let J=_(H.color);if(!J||J[3]<255)continue;let k=parseFloat(H.fontSize),v=parseInt(H.fontWeight,10)>=700,D=k>=24||v&&k>=18.66,T=[],O=q.getBoundingClientRect();if(O.height>p*g||O.width>h*2)continue;let B=document.createTreeWalker(q,NodeFilter.SHOW_TEXT),z,X=0,te=false;for(;!te&&(z=B.nextNode());){if(++X>50){te=true;break}if(z.parentElement!==q)continue;let Z=z.textContent||"";if(Z.length>2e3){te=true;break}if(!Z.trim())continue;let ie=document.createRange();ie.selectNodeContents(z);let be=ie.getClientRects();if(be.length>g){te=true;break}for(let de=0;de<be.length;de++){let ke=be[de];if(!(ke.width<2||ke.height<2)&&(T.push({x:Math.round(ke.left+M),y:Math.round(ke.top+L),w:Math.max(1,Math.round(ke.width)),h:Math.max(1,Math.round(ke.height))}),T.length>g)){te=true;break}}}te||T.length===0||T.length>g||T.some(Z=>Z.w>h||Z.h>p||Z.w*Z.h>y||Z.x<0||Z.y<0||Z.x+Z.w>A||Z.y+Z.h>w)||T.some(Z=>E.some(ie=>Z.x<ie.right+M&&Z.x+Z.w>ie.left+M&&Z.y<ie.bottom+L&&Z.y+Z.h>ie.top+L))||(x[N]={fg:`rgb(${J[0]},${J[1]},${J[2]})`,threshold:D?3:4.5,boxes:T});}return x}async function IM(f){let{b64:d,fg:g}=f,h=atob(d),p=new Uint8Array(h.length);for(let j=0;j<h.length;j++)p[j]=h.charCodeAt(j);let y=await createImageBitmap(new Blob([p],{type:"image/png"})),A=document.createElement("canvas");A.width=y.width,A.height=y.height;let w=A.getContext("2d",{willReadFrequently:true});w.drawImage(y,0,0);let F=w.getImageData(0,0,A.width,A.height).data,R=j=>{let W=j/255;return W<=.03928?W/12.92:Math.pow((W+.055)/1.055,2.4)},_=(j,W,J)=>.2126*R(j)+.7152*R(W)+.0722*R(J),x=g.match(/\d+/g).map(Number),S=_(x[0],x[1],x[2]),E=Math.max(1,Math.floor(Math.sqrt(A.width*A.height/1500))),M=0,L=1/0,N="",q="",H=0;for(let j=0;j<A.height;j+=E)for(let W=0;W<A.width;W+=E){let J=(j*A.width+W)*4;if(F[J+3]<255)continue;let k=_(F[J],F[J+1],F[J+2]),v=Math.max(S,k),D=Math.min(S,k),T=(v+.05)/(D+.05);T>M&&(M=T,q=`rgb(${F[J]},${F[J+1]},${F[J+2]})`),T<L&&(L=T,N=`rgb(${F[J]},${F[J+1]},${F[J+2]})`),H++;}return H===0?null:{best:M,worst:L,worstBg:N,bestBg:q}}var jo=class extends Error{};function vr(f,d){let g=d-Date.now();if(g<=0)return f.catch(()=>{}),Promise.reject(new jo("pixel pass deadline"));let h,p=new Promise((y,A)=>{h=setTimeout(()=>A(new jo("pixel pass deadline")),g);});return Promise.race([f,p]).finally(()=>clearTimeout(h))}async function Lu(f,d){let g=f.screenshot;if(typeof g!="function"||d.length===0)return [];let h=Array.from(new Set(d)).slice(0,Sg),p=[],y=false,A=Date.now()+Mg;try{await vr(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),A);let w=await vr(f.evaluate(FM,{selectors:h,maxBoxes:kg,maxW:Rg,maxH:Fg,maxArea:Ig}),A);await vr(Vo(f,{tool:"contrast-pixels",css:RM}),A),y=!0;let F=0;for(let R of h){let _=w[R];if(!_)continue;if(Date.now()>A||F+_.boxes.length>Tg)break;let x=0,S=1/0,E="",M="",L=!0;for(let N of _.boxes){F++;let q=await vr(g.call(f,{clip:{x:N.x,y:N.y,width:N.w,height:N.h},fullPage:!0,type:"png",animations:"disabled"}),A),H=globalThis.Buffer,j=H?H.from(q).toString("base64"):"",W=await vr(f.evaluate(IM,{b64:j,fg:_.fg}),A);if(!W){L=!1;break}W.best>x&&(x=W.best,M=W.bestBg),W.worst<S&&(S=W.worst,E=W.worstBg);}L&&p.push({selector:R,fail:x<_.threshold*.97,bestRatio:x,worstRatio:S,...E?{worstBg:E}:{},...M?{bestBg:M}:{},threshold:_.threshold,fg:_.fg});}}catch(w){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("pixel judge failed",w);}finally{if(y)try{await Promise.race([f.evaluate(()=>document.querySelectorAll('style[data-wa-injected^="contrast-pixels:"]').forEach(w=>w.remove())),new Promise(w=>setTimeout(w,1e3))]);}catch{}}return p}function MM(f){let{selectors:d,maxBoxes:g,maxW:h,maxH:p,maxArea:y}=f,A=document.documentElement.scrollWidth,w=document.documentElement.scrollHeight,F=window.scrollX,R=window.scrollY,_={};for(let x of d){_[x]=null;let S=null;try{S=document.querySelector(x);}catch{continue}if(!S)continue;let E=getComputedStyle(S);if(E.visibility!=="visible"||E.display==="none"||!(E.webkitBackgroundClip==="text"||E.backgroundClip==="text"))continue;let M=false,L=0;for(let D=S;D;D=D.parentElement){if(++L>64){M=true;break}let T=getComputedStyle(D);(parseFloat(T.opacity)<1||T.mixBlendMode!=="normal"||T.filter!=="none")&&(M=true);}if(M)continue;let N=parseFloat(E.fontSize),q=parseInt(E.fontWeight,10)>=700,H=N>=24||q&&N>=18.66,j=[],W=document.createTreeWalker(S,NodeFilter.SHOW_TEXT),J,k=0,v=false;for(;!v&&(J=W.nextNode());){if(++k>50){v=true;break}if(!(J.textContent||"").trim())continue;let D=document.createRange();D.selectNodeContents(J);let T=D.getClientRects();for(let O=0;O<T.length;O++){let B=T[O];if(!(B.width<2||B.height<2)&&(j.push({x:Math.round(B.left+F),y:Math.round(B.top+R),w:Math.max(1,Math.round(B.width)),h:Math.max(1,Math.round(B.height))}),j.length>g)){v=true;break}}}v||j.length===0||j.some(D=>D.w>h||D.h>p||D.w*D.h>y||D.x<0||D.y<0||D.x+D.w>A||D.y+D.h>w)||(_[x]={threshold:H?3:4.5,boxes:j});}return _}async function LM(f){let d=async S=>{let E=atob(S),M=new Uint8Array(E.length);for(let H=0;H<E.length;H++)M[H]=E.charCodeAt(H);let L=await createImageBitmap(new Blob([M],{type:"image/png"})),N=document.createElement("canvas");N.width=L.width,N.height=L.height;let q=N.getContext("2d",{willReadFrequently:true});return q.drawImage(L,0,0),{w:N.width,h:N.height,d:q.getImageData(0,0,N.width,N.height).data}},g=await d(f.painted),h=await d(f.backdrop);if(g.w!==h.w||g.h!==h.h)return null;let p=S=>{let E=S/255;return E<=.03928?E/12.92:Math.pow((E+.055)/1.055,2.4)},y=(S,E,M)=>.2126*p(S)+.7152*p(E)+.0722*p(M),A=g.w,w=g.h,F=new Uint8Array(A*w);for(let S=0;S<A*w;S++){let E=S*4;F[S]=Math.abs(g.d[E]-h.d[E])+Math.abs(g.d[E+1]-h.d[E+1])+Math.abs(g.d[E+2]-h.d[E+2])>48?1:0;}let R=2,_=[];for(let S=R;S<w-R;S++)for(let E=R;E<A-R;E++){let M=S*A+E;if(!F[M])continue;let L=true;for(let j=-R;j<=R&&L;j++)for(let W=-R;W<=R;W++)if(!F[M+j*A+W]){L=false;break}if(!L)continue;let N=M*4,q=y(g.d[N],g.d[N+1],g.d[N+2]),H=y(h.d[N],h.d[N+1],h.d[N+2]);_.push({ratio:(Math.max(q,H)+.05)/(Math.min(q,H)+.05),fg:`rgb(${g.d[N]},${g.d[N+1]},${g.d[N+2]})`,bg:`rgb(${h.d[N]},${h.d[N+1]},${h.d[N+2]})`});}if(_.length<40)return null;_.sort((S,E)=>S.ratio-E.ratio);let x=_[Math.floor(_.length*.02)];return {worst:x.ratio,best:_[_.length-1].ratio,worstFg:x.fg,worstBg:x.bg,core:_.length}}async function OM(f,d){let g=f.screenshot;if(typeof g!="function"||d.length===0)return [];let h=Array.from(new Set(d)).slice(0,Sg),p=[],y=false,A=Date.now()+Mg;try{await vr(f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),A);let w=await vr(f.evaluate(MM,{selectors:h,maxBoxes:kg,maxW:Rg,maxH:Fg,maxArea:Ig}),A);await vr(Vo(f,{tool:"contrast-gradient-text",css:"[data-wa-gt]{background-image:none!important;background-color:transparent!important}"}),A),y=!0;let F=0;for(let R of h){let _=w[R];if(!_)continue;if(Date.now()>A||F+_.boxes.length*2>Tg)break;let x=1/0,S=0,E="",M="",L=!0,N=globalThis.Buffer;for(let q of _.boxes){F+=2;let H={x:q.x,y:q.y,width:q.w,height:q.h},j=await vr(g.call(f,{clip:H,fullPage:!0,type:"png",animations:"disabled"}),A);await vr(f.evaluate(k=>{document.querySelector(k)?.setAttribute("data-wa-gt","1");},R),A);let W;try{W=await vr(g.call(f,{clip:H,fullPage:!0,type:"png",animations:"disabled"}),A);}finally{await f.evaluate(k=>{document.querySelector(k)?.removeAttribute("data-wa-gt");},R).catch(()=>{});}let J=await vr(f.evaluate(LM,{painted:N?N.from(j).toString("base64"):"",backdrop:N?N.from(W).toString("base64"):""}),A);if(!J){L=!1;break}J.worst<x&&(x=J.worst,E=J.worstFg,M=J.worstBg),J.best>S&&(S=J.best);}!L||!isFinite(x)||p.push({selector:R,fail:x<_.threshold*.97,bestRatio:S,worstRatio:x,worstBg:M,threshold:_.threshold,fg:E,gradientText:!0});}}catch(w){globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error("gradient text judge failed",w);}finally{if(y)try{await Promise.race([f.evaluate(()=>{document.querySelectorAll('style[data-wa-injected^="contrast-gradient-text:"]').forEach(w=>w.remove()),document.querySelectorAll("[data-wa-gt]").forEach(w=>w.removeAttribute("data-wa-gt"));}),new Promise(w=>setTimeout(w,1e3))]);}catch{}}return p}function PM(f,d){let{confidence:g,reviewReason:h,...p}=f;return {...p,id:f.id.replace("axe-incomplete-","axe-"),impact:"serious",message:d.gradientText?`contrast: gradient text \u2014 worst stop ${d.fg} is ${d.worstRatio.toFixed(2)}:1 on ${d.worstBg??"its backdrop"}, needs ${d.threshold}:1 (measured from the painted glyph pixels)`:`contrast: ${d.fg} text on its rendered background is at best ${d.bestRatio.toFixed(2)}:1 (measured from pixels, every background pixel behind the text fails), needs ${d.threshold}:1`}}async function Lg(f,d,g,h){let p=d.filter(_=>_.wcag!=="1.4.3"||!_.selector?false:_.source==="axe-core"?TM.has(g.get(_.id)??""):_.type==="contrast_insufficient"&&/gradient or image|gradient-clipped/.test(_.reviewReason??""));if(p.length===0)return [];let y=_=>/gradient-clipped/.test(_.reviewReason??""),A=[...await Lu(f,p.filter(_=>!y(_)).map(_=>_.selector)),...await OM(f,p.filter(y).map(_=>_.selector))];if(h)for(let _ of A)h.set(_.selector,_);globalThis.process?.env?.WA_DEBUG_PIXELS&&console.error(`pixel judge: ${p.length} candidates, ${A.length} measured, ${A.filter(_=>_.fail).length} fail`);let w=new Map(A.filter(_=>_.fail).map(_=>[_.selector,_])),F=[],R=new Set;for(let _ of p){let x=w.get(_.selector);!x||R.has(_.selector)||(R.add(_.selector),F.push(PM(_,x)));}return F}function NM(f){f=f.replace("#",""),f.length===3&&(f=f[0]+f[0]+f[1]+f[1]+f[2]+f[2]);let d=parseInt(f,16);return [d>>16&255,d>>8&255,d&255]}function Ou(f){let d=f/255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)}function Og(f,d,g){return .2126*Ou(f)+.7152*Ou(d)+.0722*Ou(g)}function qM(f,d){let g=Math.max(f,d),h=Math.min(f,d);return (g+.05)/(h+.05)}function Pg(f){if(f.startsWith("#"))return NM(f);let d=f.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);return d?[parseInt(d[1]),parseInt(d[2]),parseInt(d[3])]:null}function In(f,d){let g=Pg(f),h=Pg(d);return !g||!h?0:qM(Og(...g),Og(...h))}var BM=30,HM=10,VM=2e4,jM=30,$M=400*1024,zM="https://openrouter.ai/api/v1",GM="anthropic/claude-haiku-4.5",Ng="deepseek/deepseek-v4-flash",qg=400,Bg=125,Pu=160,WM=2e3,$o=new Map;function UM(f){let d=0;for(let g=0;g<f.length;g++)d=(d<<5)-d+f.charCodeAt(g)|0;return Math.abs(d).toString(36)}var Nu=f=>f.wcag||f.type,Hg=(f,d,g)=>`${f}|${d.selector}|${Nu(d)}|${UM(g)}`,qu=()=>!!globalThis.process?.env?.WA_DEBUG_JUDGE;function XM(f){let{selectors:d,maxHtml:g}=f,h={elements:{}},p=[],y=N=>/\(\s*prefers-reduced-motion\s*(:\s*reduce\s*)?\)/i.test(N)&&!/^\s*not\b/i.test(N),A=N=>{let q=N.split(",").map(H=>H.trim()).filter(Boolean);return q.length?q.every(H=>{let j=H.match(/^(-?[\d.]+)(ms|s)$/i);return j?parseFloat(j[1])*(j[2].toLowerCase()==="s"?1e3:1)<=10:false}):false},w=(N,q,H)=>{if(!(H>8))for(let j of Array.from(N)){let W=j.media?.mediaText,J=q||typeof W=="string"&&y(W),k=j.style,v=j.selectorText;if(J&&k&&typeof v=="string"){let O=k.getPropertyValue("animation-name").trim(),B=/^none(\s*,\s*none)*$/i.test(O)||A(k.getPropertyValue("animation-duration"))||/^paused/i.test(k.getPropertyValue("animation-play-state").trim()),z=/^none(\s*,\s*none)*$/i.test(k.getPropertyValue("transition-property").trim())||A(k.getPropertyValue("transition-duration"));(B||z)&&p.push({selector:v,anim:B,trans:z});}let D=j.cssRules;D&&D.length&&w(D,J,H+1);let T=j.styleSheet;if(T)try{w(T.cssRules,J||y(j.media?.mediaText||""),H+1);}catch{}}};try{for(let N of Array.from(document.styleSheets))try{w(N.cssRules,y(N.media?.mediaText||""),0);}catch{}}catch{}let F=(N,q)=>{try{return N.matches(q)}catch{return false}},R=N=>N.split(",").map(q=>{let H=q.trim().match(/^(-?[\d.]+)(ms|s)$/i);return H?parseFloat(H[1])*(H[2].toLowerCase()==="s"?1e3:1):0}),_=N=>{let q=N.cloneNode(true);q.querySelectorAll("script, style").forEach(j=>j.remove());let H=(q.textContent||"").replace(/\s+/g," ").trim();if(!H){for(let j of Array.from(N.querySelectorAll("img[alt], [aria-label]")))if(H=(j.getAttribute("alt")||j.getAttribute("aria-label")||"").trim(),H)break}return H},x=N=>{let q=(N.getAttribute("aria-label")||"").trim();if(q)return q;let j=(N.getAttribute("aria-labelledby")||"").split(/\s+/).filter(Boolean).map(k=>{let v=document.getElementById(k);return v?(v.textContent||"").replace(/\s+/g," ").trim():""}).filter(Boolean).join(" ");if(j)return j;let W=_(N);if(W)return W;let J=N instanceof HTMLInputElement&&/^(submit|button|reset|image)$/i.test(N.type)?(N.value||N.alt||"").trim():"";return J||(N.getAttribute("title")||"").trim()},S='a[href], button, input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="img"], [tabindex]:not([tabindex="-1"])',E=window.scrollX||0,M=window.scrollY||0,L=[];for(let N of d){let q=null;try{q=document.querySelector(N);}catch{}if(!q){h.elements[N]={found:false};continue}let H=L.indexOf(q);H<0&&(H=L.push(q)-1);let j=getComputedStyle(q),W=q.getBoundingClientRect(),J=q.tagName.toLowerCase(),k={found:true,elementKey:H,tag:J,html:(q.outerHTML||"").slice(0,g),rect:{x:W.left+E,y:W.top+M,w:W.width,h:W.height},role:(q.getAttribute("role")||"").toLowerCase(),ariaHidden:q.getAttribute("aria-hidden")==="true"||!!q.closest('[aria-hidden="true"]'),hidden:j.display==="none"||j.visibility==="hidden"||!!q.closest("[hidden]"),cssBackgroundImage:/url\(/i.test(j.backgroundImage||""),reducedMotionHandled:false,nearText:"",fg:j.color,bg:j.backgroundColor,fontSize:parseFloat(j.fontSize)||0,fontWeight:parseInt(j.fontWeight,10)||400};if(J==="img"){let z=q;k.img={src:(z.currentSrc||z.getAttribute("src")||"").slice(0,300),alt:z.getAttribute("alt"),naturalW:z.naturalWidth||0,naturalH:z.naturalHeight||0,attrW:parseInt(z.getAttribute("width")||"0",10)||0,attrH:parseInt(z.getAttribute("height")||"0",10)||0};}if(k.cssBackgroundImage){let z=q.closest(S);z&&(k.control={tag:z.tagName.toLowerCase(),name:x(z).slice(0,120)});}if(!/^(img|video|canvas|iframe|object|embed|svg)$/.test(J)){let z=j.animationName.split(",").some(ie=>ie.trim()&&ie.trim()!=="none")&&R(j.animationDuration).some(ie=>ie>10),X=R(j.transitionDuration).some(ie=>ie>10)&&j.transitionProperty.trim()!=="none",te=p.filter(ie=>F(q,ie.selector)),ee=!z||te.some(ie=>ie.anim),Z=!X||te.some(ie=>ie.trans);k.reducedMotionHandled=(z||X)&&ee&&Z;}let v=q.closest('a[href], button, [role="button"], [role="link"]');if(v&&v!==q){let z=v.cloneNode(true);z.querySelectorAll("img, svg").forEach(ee=>ee.remove());let X=(z.textContent||"").replace(/\s+/g," ").trim(),te=(v.getAttribute("aria-label")||"").trim();k.parentInteractive={tag:v.tagName.toLowerCase(),text:(X||te).slice(0,120)};}let D=z=>{let X=z.cloneNode(true);return X.querySelectorAll("script, style").forEach(te=>te.remove()),(X.textContent||"").replace(/\s+/g," ").trim()},T=q.matches('a[href], [role="link"]'),O=D(q),B=q.parentElement;if(T&&(B=q.closest("p, li, td, th, dd, dt, figcaption, blockquote")||q.parentElement),B){let z=D(B),X=T&&O?z.indexOf(O):-1,te=X>120?X-120:0;k.nearText=(te?"\u2026":"")+z.slice(te,te+240);}h.elements[N]=k;}return h}function YM(f,d){let g=(f.type||"").toLowerCase(),h=f.wcag||"";return g==="decorative_image_with_title"?"generic":h==="1.1.1"&&(d?.tag==="img"||/alt|image/.test(g))?"alt":h==="1.4.3"||h==="1.4.6"||g==="color-contrast"||g==="contrast_insufficient"||g==="contrast_enhanced"?"contrast":h==="2.2.2"||h==="2.3.3"||/motion|animation|reduced_motion/.test(g)?"motion":"generic"}function Bu(f){return !!f&&f.tag!=="img"&&f.cssBackgroundImage&&!f.img}var KM=/\b(needs?|requires?|for)\s+(a\s+)?(human|manual)?\s*review\b|\bhuman review\b|\bmanual review\b|\bincomplete\b/gi;function JM(f){let d=String(f??"").replace(/\s+/g," ").replace(KM,"judged").trim();if(d.length<=Pu)return d;let g=d.slice(0,Pu-1),h=g.lastIndexOf(" ");return (h>Pu/2?g.slice(0,h):g).replace(/[\s,;:–—-]+$/,"")+"\u2026"}function ZM(f){let d=String(f??"").replace(/\s+/g," ").trim();if(d=d.replace(/^(an?\s+|the\s+)?(image|picture|photo|photograph|graphic|icon|illustration|screenshot)\s+(of|showing|depicting)(\s+|$)(an?\s+|the\s+)?/i,""),d=d.replace(/^["'“”]+|["'“”]+$/g,"").trim(),d.length>Bg){d=d.slice(0,Bg);let g=d.lastIndexOf(" ");g>60&&(d=d.slice(0,g)),d=d.replace(/[\s,;:–—-]+$/,"");}return d&&(d=d[0].toUpperCase()+d.slice(1)),d}function aa(f){let d=f.match(/\d+(\.\d+)?/g);return !d||d.length<3?f:"#"+d.slice(0,3).map(g=>Math.round(Number(g)).toString(16).padStart(2,"0")).join("")}var $g=/^#?([0-9a-f]{6})$/i;function QM(f){let d=String(f??"").trim().match($g);return d?"#"+d[1].toLowerCase():null}function eL(f){let{confidence:d,reviewReason:g,...h}=f;return {...h,id:f.id.replace("axe-incomplete-","axe-")}}function tL(f){let d=f;if(typeof f=="string"){let p=f.replace(/```json\s*/gi,"").replace(/```/g,"").match(/\[[\s\S]*\]/);if(!p)return null;try{d=JSON.parse(p[0]);}catch{return null}}else f&&typeof f=="object"&&Array.isArray(f.verdicts)&&(d=f.verdicts);if(!Array.isArray(d))return null;let g=[];for(let h of d){if(!h||typeof h!="object")continue;let{id:p,verdict:y,reason:A,fix:w}=h;if(typeof p!="string"||y!=="pass"&&y!=="violation")continue;let F=w&&typeof w=="object"?w:void 0;g.push({id:p,verdict:y,reason:typeof A=="string"?A:void 0,fix:F?{attribute:typeof F.attribute=="string"?F.attribute:void 0,value:typeof F.value=="string"?F.value:void 0}:void 0});}return g}var ia=class extends Error{},rL=`You are the final accessibility judge for a WCAG scanner. Automated engines could not decide the findings below. You MUST decide each one: "pass" (not a violation) or "violation". There is no third option \u2014 never answer "unsure", never defer to a human.
386
437
 
387
438
  Rules:
388
439
  - Images (1.1.1): "pass" when the image is decorative, purely presentational, a spacer/tracking pixel, or is named by the text of its enclosing link/button. Otherwise "violation" with fix.attribute="alt" and a concrete alt text written from the image and its context: \u2264125 characters, no "image of"/"picture of" prefix, no file names.
@@ -402,7 +453,7 @@ Omit "fix" for passes.`;function nL(f){let d=f.items.map(({screenshot:g,...h})=>
402
453
  Conformance level: ${f.level}
403
454
 
404
455
  Findings:
405
- ${JSON.stringify(d,null,1)}`}function aL(f,d={}){let g=f.vision&&f.items.some(y=>y.screenshot),h=g?d.visionModel||GM:d.textModel||Ng,p=[{type:"text",text:nL(f)}];if(g)for(let y of f.items)y.screenshot&&(p.push({type:"text",text:`Crop for ${y.id}:`}),p.push({type:"image_url",image_url:{url:`data:image/png;base64,${y.screenshot}`}}));return {model:h,temperature:0,max_tokens:4096,...h===Ng&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:rL},{role:"user",content:p}]}}function iL(f){let d=(f.baseUrl||zM).replace(/\/+$/,""),g=false;try{let h=new URL(d).hostname;g=h==="openrouter.ai"||h.endsWith(".openrouter.ai");}catch{}return async(h,p)=>{let y=await fetch(`${d}/chat/completions`,{method:"POST",signal:p,headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(aL(h,{visionModel:f.visionModel,textModel:f.textModel,disableTextModelReasoning:g}))});if(!y.ok)throw new ia(`judge model HTTP ${y.status}`);let w=(await y.json()).choices?.[0]?.message?.content;if(typeof w=="string")return w;if(Array.isArray(w))return w.map(F=>typeof F?.text=="string"?F.text:"").join("");throw new Error("judge model returned no content")}}function oL(f){let d=f.apiUrl.replace(/\/+$/,"");return async(g,h)=>{let p=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:h,redirect:"manual",headers:{"Content-Type":"application/json",...f.token?{Authorization:`Bearer ${f.token}`}:{},...f.internalSecret?{"x-mcp-internal":f.internalSecret}:{}},body:JSON.stringify(g)});if(p.status>=300&&p.status<400)throw new ia(`judge endpoint redirected (HTTP ${p.status}); not followed`);if(!p.ok)throw new ia(`judge endpoint HTTP ${p.status}`);return p.json()}}function sL(f){return f.transport?f.transport:f.apiKey?iL({apiKey:f.apiKey,baseUrl:f.baseUrl,visionModel:f.visionModel,textModel:f.textModel}):f.apiUrl?oL({apiUrl:f.apiUrl,token:f.apiToken,internalSecret:f.internalSecret}):null}function lL(f){return f.maxCropChars??(!f.transport&&!f.apiKey&&f.apiUrl?$M:void 0)}async function zg(f,d,g){let h={promoted:[],judged:[]},p=sL(g);if(d.length===0)return h;let y=g.level??"AA",A=g.timeoutMs??VM,w=Date.now()+A,F=ra([...d],y);if(F.length===0)return h;let R=new Map;for(let v of F){let D=`${v.selector}|${Nu(v)}`,T=R.get(D);T?T.members.push(v):R.set(D,{key:D,members:[v],rep:v,ctx:void 0,kind:"generic"});}let _={elements:{}};if(f)try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),_=await f.evaluate(XM,{selectors:[...R.keys()].map(v=>R.get(v).rep.selector),maxHtml:qg});}catch{}for(let v of R.values())v.ctx=_.elements[v.rep.selector],v.ctx&&!v.ctx.found&&(v.ctx=void 0),v.kind=YM(v.rep,v.ctx);let x=new Map;for(let[v,D]of [...R]){if(!D.ctx)continue;let T=`${D.ctx.elementKey}|${Nu(D.rep)}`,P=x.get(T);if(!P){x.set(T,D);continue}P.members.push(...D.members),R.delete(v);}let S={promoted:[],judged:[]},E=(v,D)=>{for(let T of v.members){if(D.verdict==="violation"){let P=cL(T,v,D);if(!P)continue;S.promoted.push(P);}S.judged.push({id:T.id.replace("axe-incomplete-","axe-"),type:T.type,verdict:D.verdict,reason:D.reason});}},M=[...R.values()].filter(v=>v.kind==="contrast");if(M.length&&f){for(let D of M)D.pixels=g.measured?.get(D.rep.selector);let v=M.filter(D=>!D.pixels).map(D=>D.rep.selector);if(v.length)try{for(let D of await Lu(f,v))for(let T of M)T.rep.selector===D.selector&&(T.pixels=D);}catch{}}let L=[];for(let v of R.values()){let D=p?$o.get(Hg(g.url,v.rep,v.ctx?.html??v.rep.html??"")):void 0;if(D){E(v,D);continue}let T=uL(v);if(T!=="drop"){if(T){E(v,T);continue}L.push(v);}}if(L.length===0||!p)return S;let N=g.vision!==false&&!!f&&typeof f.screenshot=="function",q=new Map,H=new Set,j=0,U=lL(g),J=v=>({id:v.rep.id,type:v.rep.type,wcag:v.rep.wcag,message:v.rep.message,selector:v.rep.selector,html:(v.ctx?.html??v.rep.html??"").slice(0,qg),context:H.has(v.key)?{...Vg(v),cropNote:"no image attached: the crop was too large to send"}:Vg(v),...q.has(v.key)?{screenshot:q.get(v.key)}:{}}),k=N?HM:BM;for(let v=0;v<L.length;v+=k){let D=w-Date.now();if(D<=0)break;let T=L.slice(v,v+k);if(N){for(let Z of T){if(j>=jM||Date.now()>w)break;let ie=await pL(f,Z.ctx,U);ie&&(j++,ie.data?q.set(Z.key,ie.data):H.add(Z.key));}if(Date.now()>w)break}let P=new Map(T.map(Z=>[Z.rep.id,Z])),B=new AbortController,z=setTimeout(()=>B.abort(),D),X=null,te=false,ee=Date.now();try{let Z=await Promise.race([p({url:g.url,level:y,vision:N,items:T.map(J)},B.signal),new Promise((ie,be)=>B.signal.addEventListener("abort",()=>be(new Error("judge deadline"))))]);X=tL(Z),qu()&&console.error(`ai judge: batch ${T.length} items, ${T.filter(ie=>q.has(ie.key)).length} crops, ${Date.now()-ee}ms, ${X?X.length+" verdicts":"MALFORMED: "+String(Z).slice(0,200)}`);}catch(Z){qu()&&console.error(`ai judge: batch ${T.length} items failed after ${Date.now()-ee}ms: ${Z.message}`),X=null,te=Z instanceof ia;}finally{clearTimeout(z);}if(!X){if(B.signal.aborted||te)break;continue}for(let Z of X){let ie=P.get(Z.id);if(!ie)continue;P.delete(Z.id);let be={verdict:Z.verdict,reason:JM(Z.reason),fix:Z.fix};$o.size>=UM&&$o.clear(),$o.set(Hg(g.url,ie.rep,ie.ctx?.html??ie.rep.html??""),be),E(ie,be);}}return S}function uL(f){let d=f.ctx;if(f.kind==="alt"){if(d?.role==="presentation"||d?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(d?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(d?.img){let{attrW:g,attrH:h,naturalW:p,naturalH:y}=d.img;if(g>0&&g<=1&&h>0&&h<=1||p>0&&p<=1&&y>0&&y<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Bu(d)?d.control?d.control.name?{verdict:"pass",reason:`${d.control.tag} is named ("${d.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:d?.parentInteractive?.text?{verdict:"pass",reason:`${d.parentInteractive.tag} is named by its visible link text ("${d.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(f.kind==="motion")return d?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(f.kind==="contrast"){if(!f.pixels)return "drop";let g=Hu(f.rep,f.pixels.threshold);return f.pixels.worstRatio>=g?{verdict:"pass",reason:`measured ${f.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${g}:1`}:f.pixels.bestRatio<g*.97?{verdict:"violation",reason:`measured ${f.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${g}:1 everywhere`}:null}return null}function Vg(f){let d=f.ctx,g={};return f.rep.reviewReason&&(g.engineNote=f.rep.reviewReason),d&&(g.tag=d.tag,d.nearText&&(g.nearbyText=d.nearText),d.parentInteractive&&(g.parentControl=d.parentInteractive),f.kind==="alt"&&Bu(d)&&d.control&&(g.control={tag:d.control.tag,accessibleName:d.control.name}),f.kind==="alt"&&d.img&&(g.image={src:d.img.src,alt:d.img.alt,width:d.img.naturalW||d.img.attrW||d.rect.w,height:d.img.naturalH||d.img.attrH||d.rect.h}),f.kind==="contrast"&&f.pixels&&(g.fg=aa(f.pixels.fg),g.threshold=Hu(f.rep,f.pixels.threshold),g.bestRatio=jg(f.pixels.bestRatio),g.worstRatio=jg(f.pixels.worstRatio),g.fontSize=d.fontSize,g.fontWeight=d.fontWeight),f.kind==="generic"&&(g.fg=aa(d.fg),g.bg=aa(d.bg),g.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),g}function Hu(f,d){return f.wcag==="1.4.6"||f.type==="contrast_enhanced"?d===3?4.5:7:d}var jg=f=>Math.round(f*100)/100;function cL(f,d,g){let h=eL(f);if(d.kind==="alt"){let y=ZM(g.fix?.value);return y?Bu(d.ctx)?{...h,fix:{attribute:"aria-label",currentValue:"",suggestedValue:y,needsManualReview:false}}:{...h,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??f.fix?.currentValue??"",suggestedValue:y,needsManualReview:false}}:null}if(d.kind==="contrast"){let y=d.pixels;if(!y)return null;let A=aa(y.fg),w=Hu(f,y.threshold),F=y.worstBg?aa(y.worstBg):null,R=y.bestBg?aa(y.bestBg):null,_=M=>!!M&&!!F&&In(M,F)>=w&&(!R||In(M,R)>=w),x,S=QM(g.fix?.value),E=F?dL(A,F,w):null;return S&&S!==A.toLowerCase()&&_(S)?x=`color:${S} !important;`:_(E)?x=`color:${E} !important;`:R&&In(A,R)>=w&&(x=`background-color:${R} !important;`),{...h,impact:"serious",message:`contrast: ${A} text on its rendered background measures ${y.worstRatio.toFixed(2)}:1 at worst (${y.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${g.reason||"not readable"}), needs ${w}:1`,fix:{attribute:"style",currentValue:A,...x?{suggestedValue:x}:{},needsManualReview:true}}}let p=f.fix;return p?{...h,fix:p}:g.fix?.attribute&&g.fix.value?{...h,fix:{attribute:g.fix.attribute,currentValue:"",suggestedValue:g.fix.value,needsManualReview:true}}:h}function dL(f,d,g){let h=f.match($g);if(!h)return null;let p=parseInt(h[1],16),y=[p>>16&255,p>>8&255,p&255],A=R=>"#"+R.map(_=>Math.round(Math.min(255,Math.max(0,_))).toString(16).padStart(2,"0")).join(""),w=(R,_)=>A(y.map(x=>_?x*(1-R):x+(255-x)*R)),F=null;for(let R of [true,false]){if(In(w(1,R),d)<g)continue;let _=0,x=1;for(let E=0;E<24;E++){let M=(_+x)/2;In(w(M,R),d)>=g?x=M:_=M;}let S=w(x,R);In(S,d)>=g&&(!F||x<F.t)&&(F={t:x,hex:S});}return F?.hex??null}var fL=[1,.6,.35];async function pL(f,d,g){let h=f.screenshot;if(typeof h!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let y=Math.min(1200,d.rect.w+16),A=Math.min(600,d.rect.h+16),w=d.rect.x+d.rect.w/2,F=d.rect.y+d.rect.h/2,R=globalThis.Buffer;if(!R)return null;let _=0;for(let x of g===void 0?[1]:fL){let S=Math.max(2,Math.round(y*x)),E=Math.max(2,Math.round(A*x)),M=x===1?Math.max(0,d.rect.x-8):Math.max(0,w-S/2),L=x===1?Math.max(0,d.rect.y-8):Math.max(0,F-E/2),N=await h.call(f,{clip:{x:M,y:L,width:S,height:E},fullPage:!0,type:"png",animations:"disabled"}),q=R.from(N).toString("base64");if(_=q.length,g===void 0||q.length<=g)return {data:q}}return qu()&&console.error(`ai judge: crop for ${d.tag} left out (${_} base64 chars > ${g} at the smallest clip)`),{}}catch{return null}}async function mL(f){let d=M=>({verdict:"drop",why:M}),g=null;try{g=document.querySelector(f.selector);}catch{return d("bad selector")}if(!g||g.tagName!=="VIDEO")return d("not a video");let h=getComputedStyle(g),p=g.getBoundingClientRect();if(h.display==="none"||h.visibility==="hidden"||g.closest("[hidden]")||p.width<100||p.height<50)return d("not visible/large enough");if(g.error)return d("failed load");let y=g.currentSrc||g.getAttribute("src")||g.querySelector("source")?.getAttribute("src")||"";if(!y||/^(blob|data|about|javascript):/i.test(y)||/\.(m3u8|mpd)(\?|$)/i.test(y))return d("no direct src / MSE");let A=g.hasAttribute("muted")||g.muted,w=g.hasAttribute("controls"),F=g.hasAttribute("autoplay")||g.autoplay,R=g.hasAttribute("loop")||g.loop,_=w||F&&!A;if(!_){let M=/play|pause|mute|unmute|sound|volume/i;for(let L=g.parentElement,N=0;L&&N<3&&!_;L=L.parentElement,N++)_=Array.from(L.querySelectorAll('button, [role="button"]')).some(q=>M.test((q.getAttribute("aria-label")||"")+" "+(q.getAttribute("title")||"")+" "+(q.textContent||"")));}if(!_)return d("not user-playable");if(A&&R&&!w)return d("decorative loop");if(g.hasAttribute("muted")&&!w&&!F)return d("muted");if(Number.isFinite(g.duration)&&g.duration>0&&g.duration<5)return d("under 5s");await new Promise(M=>setTimeout(M,2e3));for(let M of Array.from(g.querySelectorAll("track"))){let L=(M.getAttribute("kind")||"subtitles").toLowerCase();if((L==="captions"||L==="subtitles")&&M.getAttribute("src"))return d("has caption track")}let x=g.textTracks;for(let M=0;x&&M<x.length;M++)if(x[M].kind==="captions"||x[M].kind==="subtitles")return d("has text track");let S=g,E=null;if(typeof S.mozHasAudio=="boolean"?E=S.mozHasAudio:S.audioTracks&&typeof S.audioTracks.length=="number"&&(E=S.audioTracks.length>0?true:null),E===null&&typeof S.webkitAudioDecodedByteCount=="number"&&S.webkitAudioDecodedByteCount>0&&(E=true),E===null)try{let M=new AbortController,L=setTimeout(()=>M.abort(),f.fetchMs),N=await fetch(y,{headers:{Range:"bytes=0-"+(f.rangeBytes-1)},signal:M.signal}),q=new Uint8Array(f.rangeBytes),H=0,j=N.body?N.body.getReader():null;if(j)try{for(;H<f.rangeBytes;){let{done:k,value:v}=await j.read();if(k||!v)break;let D=Math.min(v.length,f.rangeBytes-H);q.set(v.subarray(0,D),H),H+=D;}}finally{try{await j.cancel();}catch{}}clearTimeout(L);let U=(k,v=0)=>{e:for(let D=v;D<=H-k.length;D++){for(let T=0;T<k.length;T++)if(q[D+T]!==k[T])continue e;return D}return -1},J=k=>Array.from(k).map(v=>v.charCodeAt(0));U(J("ftyp"))>=0&&U(J("moov"))>=0?E=U(J("hdlr"))>=0&&U(J("soun"))>=0:q[0]===26&&q[1]===69&&q[2]===223&&q[3]===163&&U([22,84,174,107])>=0&&(E=U([131,129,2])>=0);}catch{E=null;}return E!==true?d(E===false?"silent":"audio unknowable"):{verdict:"violation"}}async function Gg(f,d){let g=d.filter(y=>y.type==="missing_captions"&&/^<video\b/i.test(y.html??"")&&y.selector).slice(0,10);if(g.length===0)return [];let h=[],p=Date.now()+1e4;try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let y of g){if(Date.now()>p)break;let A=p-Date.now(),w,F=await Promise.race([f.evaluate(mL,{selector:y.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(R=>{w=setTimeout(()=>R(null),A);})]).finally(()=>w&&clearTimeout(w));if(!F)break;if(F.verdict==="violation"){let{confidence:R,reviewReason:_,...x}=y;h.push({...x,id:y.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return h}function Xg(){let f=p=>{let y=p.getBoundingClientRect();if(y.width===0||y.height===0)return false;let A=window.getComputedStyle(p);return A.visibility!=="hidden"&&A.display!=="none"&&A.opacity!=="0"},d=Array.from(document.querySelectorAll('input[type="password"]')),g=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(f).map(p=>(p.value||p.textContent||"").trim().toLowerCase()).filter(p=>p.length>0&&p.length<40),h=Array.from(document.querySelectorAll("button, a")).filter(f).filter(p=>/sign in with|continue with|log in with/i.test(p.textContent||"")).length;return {passwordFields:d.length,visiblePasswordFields:d.filter(f).length,submitLabels:g,oauthButtons:h,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var hL=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,gL=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Ug(f){try{let d=new URL(f).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(d)}catch{return false}}function Yg(f,d,g){if(Ug(d))return null;let h=Wg(d)!==Wg(g),p=f.submitLabels.some(x=>hL.test(x)),y=gL.test(f.headingText),A=Ug(g),w=[];A&&w.push("url"),p&&w.push("submit"),y&&w.push("heading"),h&&w.push("redirected");let F=f.visiblePasswordFields>0,R=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!F&&!R||w.length<2)return null;let _=`${F?"password-field":"oauth-only"}+${w.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${g}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:_,finalUrl:g}}function Wg(f){try{let d=new URL(f);return `${d.origin}${d.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}async function PL(f){try{return await f.evaluate(()=>{let d=(document.title||"").toLowerCase(),g=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[y,A]of g)if(d.includes(y))return {vendor:A,signal:`title:"${document.title}"`,needsCorroboration:!1};let h=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[y,A]of h)if(document.querySelector(y))return {vendor:A,signal:`marker:${y}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let p=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[y,A]of p)if(d.includes(y))return {vendor:A,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function OL(f){try{return await f.evaluate(()=>{let d=document.querySelectorAll("body *").length;if(d>250)return null;let g=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let p of g)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:d}}catch{}let h=(document.title||"").toLowerCase();return h.includes("captcha")||h.includes("security check")||h.includes("bot verification")?{signal:`title:"${document.title}"`,elements:d}:null})}catch{return null}}async function NL(f,d){let g=await PL(f),h=typeof d=="number"&&d>=400,p=g&&(!g.needsCorroboration||h)?g:null;if(!p&&!h)return null;let y=[];return p&&y.push(`served a ${p.vendor} bot-challenge / interstitial page`),h&&y.push(`main document returned HTTP ${d}`),{reason:`Scan did not reach the real page \u2014 the target ${y.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...p?{vendor:p.vendor}:{},...typeof d=="number"?{status:d}:{},...p?{signal:p.signal}:h?{signal:`status:${d}`}:{}}}async function oi(f,d){let g=typeof f=="string",h={wcagTags:Su,includeAxe:true,deep:false,dismissModals:g,...d},p,y,A,w;if(g){A=f.startsWith("http")?f:`https://${f}`;let F=typeof h.viewport=="string"?qo[h.viewport]??qo.desktop:h.viewport??qo.desktop;y=await(await import('playwright')).chromium.launch({headless:h.browser?.headless??true}),p=await(await y.newContext({viewport:F})).newPage();let x=await p.goto(A,{waitUntil:"domcontentloaded",timeout:h.browser?.timeout??3e4});w=typeof x?.status=="function"?x.status():void 0;}else p=f,A=p.url(),w=h.mainStatus;if(h.dismissModals)try{let{dismissModals:F}=await Promise.resolve().then(()=>(Jg(),Kg));await F(p);}catch{}if(h.settle!==false)try{let{waitForRenderSettle:F}=await Promise.resolve().then(()=>(Go(),zo));await F(p,typeof h.settle=="number"?h.settle:void 0);}catch{}if(!y){let{snapshotInteractionState:F}=await Promise.resolve().then(()=>(Wo(),Uo));await F(p);}try{let F=await p.evaluate(()=>performance.timeOrigin);try{let ee=await p.evaluate(Xg),Z=Yg(ee,A,typeof p.url=="function"?p.url():A);if(Z)return {url:A,timestamp:new Date().toISOString(),blocked:{reason:Z.reason,signal:`auth-wall:${Z.signal}`,...typeof w=="number"?{status:w}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let R=await NL(p,w);if(R)return {url:A,timestamp:new Date().toISOString(),blocked:R,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let _=[],x=new Map,S=[],E=[],M=[],{guardDetectorState:L,dropToolingFindings:N}=await Promise.resolve().then(()=>(Hr(),gn)),q=await OL(p);q&&E.push(`challenge:suspected-interstitial (${q.signal}; ${q.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Hr(),gn))).startProvenance(p);let H=await bg(p,S,E,{internalBugs:M,extraSerialDetectors:h.extraSerialDetectors,experimental:h.experimental});_.push(...H.map(Dg));let{resetInteractionState:j,focusOnlyObscuredIndexes:U}=await Promise.resolve().then(()=>(Wo(),Uo));if(await j(p),h.includeAxe)try{let ee=await L(p,"axe",E,()=>Eg(p,wg(h.wcagTags??Su,h.level)),{bugs:M});for(let Z of ee.violations){let ie=Z.id==="target-size"?await U(p,Z.nodes):new Set;for(let[be,de]of Z.nodes.entries()){if(ie.has(be)){M.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:na(de.target)});continue}_.push({id:`axe-${Z.id}-${ai(na(de.target))}`,source:"axe-core",type:Z.id,wcag:Fu(Z.tags),level:Iu(Z.tags),impact:Tu(Z.impact),message:Z.help,selector:na(de.target),html:de.html?.slice(0,300)});}}for(let Z of ee.incomplete??[])for(let ie of Z.nodes){let be=`axe-incomplete-${Z.id}-${ai(na(ie.target))}`,de=ie.any?.[0]?.data?.messageKey;de&&x.set(be,de),_.push({id:be,source:"axe-core",type:Z.id,wcag:Fu(Z.tags),level:Iu(Z.tags),impact:Tu(Z.impact),message:Z.help,selector:na(ie.target),html:ie.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch(ee){M.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${ee?.message??String(ee)}`});}let{deduplicateIssues:J}=await Promise.resolve().then(()=>(sa(),oa)),k=Mu(_),v=J(k.verdicts);try{let{pruneInvisibleContrast:ee}=await Promise.resolve().then(()=>(Go(),zo));v=await ee(p,v);}catch{}try{let{pruneHiddenIframeIssues:ee}=await Promise.resolve().then(()=>(Go(),zo));v=await ee(p,v);}catch{}try{let{dedupeByElementIdentity:ee}=await Promise.resolve().then(()=>(sa(),oa));v=await ee(p,v);}catch{}try{v=await N(p,v,M);}catch{}try{let{verifyAnimatedGifs:ee}=await Promise.resolve().then(()=>(rv(),tv));v=await ee(p,v);}catch{}if(h.deep&&h.deepApiKey)try{let ee=await qL(A,v,h);v.push(...ee);}catch{}if(h.rootSelector)try{let{scopeIssuesToRoot:ee}=await Promise.resolve().then(()=>(ju(),Vu)),Z=await ee(p,v,h.rootSelector);v=Z.issues,Z.warning&&E.push(Z.warning);}catch{}v=ra(v,h.level??"AA");let D=Mu(v),T=D.verdicts,P=[],B=[],z=new Set;try{if(B=[...k.undecided,...D.undecided],h.rootSelector){let{scopeIssuesToRoot:de}=await Promise.resolve().then(()=>(ju(),Vu));B=(await de(p,B,h.rootSelector)).issues;}let ee=new Map;await j(p);let Z=await L(p,"contrast-pixels",E,()=>Lg(p,B,x,ee),{bugs:M}),ie=await Gg(p,B),be=[...Z,...ie];if(z=new Set(be.map(de=>`${de.selector}|${de.wcag}`)),be.length){let{deduplicateIssues:de}=await Promise.resolve().then(()=>(sa(),oa));T=de([...T,...be]);}{let de=B.filter(De=>!z.has(`${De.selector}|${De.wcag}`)),ke=await zg(p,de,{...h.judge,url:A,level:h.judge?.level??h.level??"AA",measured:ee});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${de.length} undecided before judge, ${ke.promoted.length} promoted, ${ke.judged.filter(De=>De.verdict==="pass").length} passed`),P=ke.judged,ke.promoted.length){let{deduplicateIssues:De}=await Promise.resolve().then(()=>(sa(),oa));T=De([...T,...ra(ke.promoted,h.level??"AA")]);}}}catch{}let X;{let ee=new Set(P.map(ie=>ie.id)),Z=ra(B,h.level??"AA").filter(ie=>!z.has(`${ie.selector}|${ie.wcag}`)&&!ee.has(ie.id.replace("axe-incomplete-","axe-")));Z.length&&(X={count:Z.length,wcag:[...new Set(Z.map(ie=>ie.wcag))].sort()});}try{let{dedupeByElementIdentity:ee}=await Promise.resolve().then(()=>(sa(),oa));T=await ee(p,T);}catch{}try{T=await N(p,T,M);}catch{}if(await p.evaluate(()=>performance.timeOrigin)!==F)throw new Error(`the page's document was replaced during the scan (navigation to ${p.url()}); the findings mix two documents`);{let{attachMutations:ee,stopProvenance:Z}=await Promise.resolve().then(()=>(Hr(),gn));ee(M,await Z(p));}let te={url:A,timestamp:new Date().toISOString(),engine:yg,issues:T,internal_bugs:M,incomplete:[],...P.length?{judged:P}:{},...S.length?{truncated:S}:{},...E.length?{engineWarnings:E}:{},...X?{unsettled:X}:{},...h.keepDetected?{detected:H}:{},summary:Ru(T)};if(h.review!==!1&&h.deepApiKey)try{te=await BL(te,h);}catch{}return te}finally{let{stopProvenance:F}=await Promise.resolve().then(()=>(Hr(),gn));if(await F(p),y)await y.close();else {let{restoreInteractionState:R}=await Promise.resolve().then(()=>(Wo(),Uo));await R(p);}}}async function qL(f,d,g){let h=g.deepApiUrl||"https://api.webability.io",p=await fetch(`${h}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${g.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:d.slice(0,30).map(({source:A,...w})=>w)})});return p.ok?((await p.json()).issues??[]).map((A,w)=>({id:`deep-${w}-${ai(A.selector||A.element||"")}`,source:"deep-analysis",type:`wcag-${A.wcag}`,wcag:A.wcag,level:"AA",impact:A.severity==="High"?"critical":A.severity==="Medium"?"serious":"moderate",message:A.message,selector:A.selector||A.element||""})):[]}function nv(f){let d=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&d!=="style"&&!d.startsWith("data-")}async function BL(f,d){let g=d.deepApiUrl||"https://api.webability.io",h=f.issues.filter(nv);if(h.length===0)return f;try{let p=await fetch(`${g}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.deepApiKey}`},body:JSON.stringify({url:f.url,issues:h.slice(0,30).map(({source:F,...R})=>R)})});if(!p.ok)return f;let y=await p.json();if(!y.confirmed_ids)return f;let A=new Set(y.confirmed_ids),w=f.issues.filter(F=>!nv(F)||A.has(F.id));return {...f,issues:w,summary:Ru(w)}}catch{return f}}function iv(f){return {...f,issues:f.issues.map(({source:d,...g})=>g)}}async function HL(f,d){return iv(await oi(f,{...d,dismissModals:false}))}var av=class{page;options;snapshots=[];observer=false;constructor(d,g){this.page=d,this.options=g??{};}async analyze(d){return HL(this.page,{...this.options,...d})}async start(d){this.snapshots=[],this.observer=true;let g={...this.options,...d},h=await oi(this.page,{...g,dismissModals:false});this.snapshots.push(h),await this.page.exposeFunction("__webabilityOnMutation",async()=>{if(this.observer)try{let p=await oi(this.page,{...g,dismissModals:!1});this.snapshots.push(p);}catch{}}),await this.page.evaluate(()=>{let p=new MutationObserver(()=>{window.__webabilityOnMutation?.();});p.observe(document.body,{childList:true,subtree:true}),window.__webabilityObserver=p;});}async stop(){this.observer=false,await this.page.evaluate(()=>{window.__webabilityObserver?.disconnect();}).catch(()=>{});let d=await oi(this.page,{...this.options,dismissModals:false});this.snapshots.push(d);let g=new Map;for(let y of this.snapshots)for(let A of y.issues)g.set(A.id,A);let h=Array.from(g.values()),p={url:d.url,timestamp:d.timestamp,issues:h,incomplete:[],summary:{total:h.length,critical:h.filter(y=>y.impact==="critical").length,serious:h.filter(y=>y.impact==="serious").length,moderate:h.filter(y=>y.impact==="moderate").length,minor:h.filter(y=>y.impact==="minor").length,incomplete:0}};return this.snapshots=[],iv(p)}};/*! Bundled license information:
456
+ ${JSON.stringify(d,null,1)}`}function aL(f,d={}){let g=f.vision&&f.items.some(y=>y.screenshot),h=g?d.visionModel||GM:d.textModel||Ng,p=[{type:"text",text:nL(f)}];if(g)for(let y of f.items)y.screenshot&&(p.push({type:"text",text:`Crop for ${y.id}:`}),p.push({type:"image_url",image_url:{url:`data:image/png;base64,${y.screenshot}`}}));return {model:h,temperature:0,max_tokens:4096,...h===Ng&&d.disableTextModelReasoning?{reasoning:{enabled:false}}:{},messages:[{role:"system",content:rL},{role:"user",content:p}]}}function iL(f){let d=(f.baseUrl||zM).replace(/\/+$/,""),g=false;try{let h=new URL(d).hostname;g=h==="openrouter.ai"||h.endsWith(".openrouter.ai");}catch{}return async(h,p)=>{let y=await fetch(`${d}/chat/completions`,{method:"POST",signal:p,headers:{"Content-Type":"application/json",Authorization:`Bearer ${f.apiKey}`,"HTTP-Referer":"https://webability.io","X-Title":"WebAbility scanner judge"},body:JSON.stringify(aL(h,{visionModel:f.visionModel,textModel:f.textModel,disableTextModelReasoning:g}))});if(!y.ok)throw new ia(`judge model HTTP ${y.status}`);let w=(await y.json()).choices?.[0]?.message?.content;if(typeof w=="string")return w;if(Array.isArray(w))return w.map(F=>typeof F?.text=="string"?F.text:"").join("");throw new Error("judge model returned no content")}}function oL(f){let d=f.apiUrl.replace(/\/+$/,"");return async(g,h)=>{let p=await fetch(`${d}/api/judge-incomplete`,{method:"POST",signal:h,redirect:"manual",headers:{"Content-Type":"application/json",...f.token?{Authorization:`Bearer ${f.token}`}:{},...f.internalSecret?{"x-mcp-internal":f.internalSecret}:{}},body:JSON.stringify(g)});if(p.status>=300&&p.status<400)throw new ia(`judge endpoint redirected (HTTP ${p.status}); not followed`);if(!p.ok)throw new ia(`judge endpoint HTTP ${p.status}`);return p.json()}}function sL(f){return f.transport?f.transport:f.apiKey?iL({apiKey:f.apiKey,baseUrl:f.baseUrl,visionModel:f.visionModel,textModel:f.textModel}):f.apiUrl?oL({apiUrl:f.apiUrl,token:f.apiToken,internalSecret:f.internalSecret}):null}function lL(f){return f.maxCropChars??(!f.transport&&!f.apiKey&&f.apiUrl?$M:void 0)}async function zg(f,d,g){let h={promoted:[],judged:[]},p=sL(g);if(d.length===0)return h;let y=g.level??"AA",A=g.timeoutMs??VM,w=Date.now()+A,F=ra([...d],y);if(F.length===0)return h;let R=new Map;for(let v of F){let D=`${v.selector}|${Nu(v)}`,T=R.get(D);T?T.members.push(v):R.set(D,{key:D,members:[v],rep:v,ctx:void 0,kind:"generic"});}let _={elements:{}};if(f)try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}"),_=await f.evaluate(XM,{selectors:[...R.keys()].map(v=>R.get(v).rep.selector),maxHtml:qg});}catch{}for(let v of R.values())v.ctx=_.elements[v.rep.selector],v.ctx&&!v.ctx.found&&(v.ctx=void 0),v.kind=YM(v.rep,v.ctx);let x=new Map;for(let[v,D]of [...R]){if(!D.ctx)continue;let T=`${D.ctx.elementKey}|${Nu(D.rep)}`,O=x.get(T);if(!O){x.set(T,D);continue}O.members.push(...D.members),R.delete(v);}let S={promoted:[],judged:[]},E=(v,D)=>{for(let T of v.members){if(D.verdict==="violation"){let O=cL(T,v,D);if(!O)continue;S.promoted.push(O);}S.judged.push({id:T.id.replace("axe-incomplete-","axe-"),type:T.type,verdict:D.verdict,reason:D.reason});}},M=[...R.values()].filter(v=>v.kind==="contrast");if(M.length&&f){for(let D of M)D.pixels=g.measured?.get(D.rep.selector);let v=M.filter(D=>!D.pixels).map(D=>D.rep.selector);if(v.length)try{for(let D of await Lu(f,v))for(let T of M)T.rep.selector===D.selector&&(T.pixels=D);}catch{}}let L=[];for(let v of R.values()){let D=p?$o.get(Hg(g.url,v.rep,v.ctx?.html??v.rep.html??"")):void 0;if(D){E(v,D);continue}let T=uL(v);if(T!=="drop"){if(T){E(v,T);continue}L.push(v);}}if(L.length===0||!p)return S;let N=g.vision!==false&&!!f&&typeof f.screenshot=="function",q=new Map,H=new Set,j=0,W=lL(g),J=v=>({id:v.rep.id,type:v.rep.type,wcag:v.rep.wcag,message:v.rep.message,selector:v.rep.selector,html:(v.ctx?.html??v.rep.html??"").slice(0,qg),context:H.has(v.key)?{...Vg(v),cropNote:"no image attached: the crop was too large to send"}:Vg(v),...q.has(v.key)?{screenshot:q.get(v.key)}:{}}),k=N?HM:BM;for(let v=0;v<L.length;v+=k){let D=w-Date.now();if(D<=0)break;let T=L.slice(v,v+k);if(N){for(let Z of T){if(j>=jM||Date.now()>w)break;let ie=await pL(f,Z.ctx,W);ie&&(j++,ie.data?q.set(Z.key,ie.data):H.add(Z.key));}if(Date.now()>w)break}let O=new Map(T.map(Z=>[Z.rep.id,Z])),B=new AbortController,z=setTimeout(()=>B.abort(),D),X=null,te=false,ee=Date.now();try{let Z=await Promise.race([p({url:g.url,level:y,vision:N,items:T.map(J)},B.signal),new Promise((ie,be)=>B.signal.addEventListener("abort",()=>be(new Error("judge deadline"))))]);X=tL(Z),qu()&&console.error(`ai judge: batch ${T.length} items, ${T.filter(ie=>q.has(ie.key)).length} crops, ${Date.now()-ee}ms, ${X?X.length+" verdicts":"MALFORMED: "+String(Z).slice(0,200)}`);}catch(Z){qu()&&console.error(`ai judge: batch ${T.length} items failed after ${Date.now()-ee}ms: ${Z.message}`),X=null,te=Z instanceof ia;}finally{clearTimeout(z);}if(!X){if(B.signal.aborted||te)break;continue}for(let Z of X){let ie=O.get(Z.id);if(!ie)continue;O.delete(Z.id);let be={verdict:Z.verdict,reason:JM(Z.reason),fix:Z.fix};$o.size>=WM&&$o.clear(),$o.set(Hg(g.url,ie.rep,ie.ctx?.html??ie.rep.html??""),be),E(ie,be);}}return S}function uL(f){let d=f.ctx;if(f.kind==="alt"){if(d?.role==="presentation"||d?.role==="none")return {verdict:"pass",reason:"declared decorative (role=presentation)"};if(d?.ariaHidden)return {verdict:"pass",reason:"hidden from assistive technology (aria-hidden)"};if(d?.img){let{attrW:g,attrH:h,naturalW:p,naturalH:y}=d.img;if(g>0&&g<=1&&h>0&&h<=1||p>0&&p<=1&&y>0&&y<=1)return {verdict:"pass",reason:"1x1 tracking/spacer pixel"}}return d&&Bu(d)?d.control?d.control.name?{verdict:"pass",reason:`${d.control.tag} is named ("${d.control.name.slice(0,40)}"); the background image needs no text`}:null:{verdict:"pass",reason:"CSS background image on a non-interactive element; decorative"}:d?.parentInteractive?.text?{verdict:"pass",reason:`${d.parentInteractive.tag} is named by its visible link text ("${d.parentInteractive.text.slice(0,40)}"); alt may be empty`}:null}if(f.kind==="motion")return d?.reducedMotionHandled?{verdict:"pass",reason:"a prefers-reduced-motion: reduce rule stops this element's animation"}:null;if(f.kind==="contrast"){if(!f.pixels)return "drop";let g=Hu(f.rep,f.pixels.threshold);return f.pixels.worstRatio>=g?{verdict:"pass",reason:`measured ${f.pixels.worstRatio.toFixed(2)}:1 at worst behind the text, meets ${g}:1`}:f.pixels.bestRatio<g*.97?{verdict:"violation",reason:`measured ${f.pixels.bestRatio.toFixed(2)}:1 at best behind the text, below ${g}:1 everywhere`}:null}return null}function Vg(f){let d=f.ctx,g={};return f.rep.reviewReason&&(g.engineNote=f.rep.reviewReason),d&&(g.tag=d.tag,d.nearText&&(g.nearbyText=d.nearText),d.parentInteractive&&(g.parentControl=d.parentInteractive),f.kind==="alt"&&Bu(d)&&d.control&&(g.control={tag:d.control.tag,accessibleName:d.control.name}),f.kind==="alt"&&d.img&&(g.image={src:d.img.src,alt:d.img.alt,width:d.img.naturalW||d.img.attrW||d.rect.w,height:d.img.naturalH||d.img.attrH||d.rect.h}),f.kind==="contrast"&&f.pixels&&(g.fg=aa(f.pixels.fg),g.threshold=Hu(f.rep,f.pixels.threshold),g.bestRatio=jg(f.pixels.bestRatio),g.worstRatio=jg(f.pixels.worstRatio),g.fontSize=d.fontSize,g.fontWeight=d.fontWeight),f.kind==="generic"&&(g.fg=aa(d.fg),g.bg=aa(d.bg),g.size={w:Math.round(d.rect.w),h:Math.round(d.rect.h)})),g}function Hu(f,d){return f.wcag==="1.4.6"||f.type==="contrast_enhanced"?d===3?4.5:7:d}var jg=f=>Math.round(f*100)/100;function cL(f,d,g){let h=eL(f);if(d.kind==="alt"){let y=ZM(g.fix?.value);return y?Bu(d.ctx)?{...h,fix:{attribute:"aria-label",currentValue:"",suggestedValue:y,needsManualReview:false}}:{...h,fix:{attribute:"alt",currentValue:d.ctx?.img?.alt??f.fix?.currentValue??"",suggestedValue:y,needsManualReview:false}}:null}if(d.kind==="contrast"){let y=d.pixels;if(!y)return null;let A=aa(y.fg),w=Hu(f,y.threshold),F=y.worstBg?aa(y.worstBg):null,R=y.bestBg?aa(y.bestBg):null,_=M=>!!M&&!!F&&In(M,F)>=w&&(!R||In(M,R)>=w),x,S=QM(g.fix?.value),E=F?dL(A,F,w):null;return S&&S!==A.toLowerCase()&&_(S)?x=`color:${S} !important;`:_(E)?x=`color:${E} !important;`:R&&In(A,R)>=w&&(x=`background-color:${R} !important;`),{...h,impact:"serious",message:`contrast: ${A} text on its rendered background measures ${y.worstRatio.toFixed(2)}:1 at worst (${y.bestRatio.toFixed(2)}:1 at best, from pixels; judge: ${g.reason||"not readable"}), needs ${w}:1`,fix:{attribute:"style",currentValue:A,...x?{suggestedValue:x}:{},needsManualReview:true}}}let p=f.fix;return p?{...h,fix:p}:g.fix?.attribute&&g.fix.value?{...h,fix:{attribute:g.fix.attribute,currentValue:"",suggestedValue:g.fix.value,needsManualReview:true}}:h}function dL(f,d,g){let h=f.match($g);if(!h)return null;let p=parseInt(h[1],16),y=[p>>16&255,p>>8&255,p&255],A=R=>"#"+R.map(_=>Math.round(Math.min(255,Math.max(0,_))).toString(16).padStart(2,"0")).join(""),w=(R,_)=>A(y.map(x=>_?x*(1-R):x+(255-x)*R)),F=null;for(let R of [true,false]){if(In(w(1,R),d)<g)continue;let _=0,x=1;for(let E=0;E<24;E++){let M=(_+x)/2;In(w(M,R),d)>=g?x=M:_=M;}let S=w(x,R);In(S,d)>=g&&(!F||x<F.t)&&(F={t:x,hex:S});}return F?.hex??null}var fL=[1,.6,.35];async function pL(f,d,g){let h=f.screenshot;if(typeof h!="function"||!d||d.rect.w<2||d.rect.h<2||d.hidden)return null;try{let y=Math.min(1200,d.rect.w+16),A=Math.min(600,d.rect.h+16),w=d.rect.x+d.rect.w/2,F=d.rect.y+d.rect.h/2,R=globalThis.Buffer;if(!R)return null;let _=0;for(let x of g===void 0?[1]:fL){let S=Math.max(2,Math.round(y*x)),E=Math.max(2,Math.round(A*x)),M=x===1?Math.max(0,d.rect.x-8):Math.max(0,w-S/2),L=x===1?Math.max(0,d.rect.y-8):Math.max(0,F-E/2),N=await h.call(f,{clip:{x:M,y:L,width:S,height:E},fullPage:!0,type:"png",animations:"disabled"}),q=R.from(N).toString("base64");if(_=q.length,g===void 0||q.length<=g)return {data:q}}return qu()&&console.error(`ai judge: crop for ${d.tag} left out (${_} base64 chars > ${g} at the smallest clip)`),{}}catch{return null}}async function mL(f){let d=M=>({verdict:"drop",why:M}),g=null;try{g=document.querySelector(f.selector);}catch{return d("bad selector")}if(!g||g.tagName!=="VIDEO")return d("not a video");let h=getComputedStyle(g),p=g.getBoundingClientRect();if(h.display==="none"||h.visibility==="hidden"||g.closest("[hidden]")||p.width<100||p.height<50)return d("not visible/large enough");if(g.error)return d("failed load");let y=g.currentSrc||g.getAttribute("src")||g.querySelector("source")?.getAttribute("src")||"";if(!y||/^(blob|data|about|javascript):/i.test(y)||/\.(m3u8|mpd)(\?|$)/i.test(y))return d("no direct src / MSE");let A=g.hasAttribute("muted")||g.muted,w=g.hasAttribute("controls"),F=g.hasAttribute("autoplay")||g.autoplay,R=g.hasAttribute("loop")||g.loop,_=w||F&&!A;if(!_){let M=/play|pause|mute|unmute|sound|volume/i;for(let L=g.parentElement,N=0;L&&N<3&&!_;L=L.parentElement,N++)_=Array.from(L.querySelectorAll('button, [role="button"]')).some(q=>M.test((q.getAttribute("aria-label")||"")+" "+(q.getAttribute("title")||"")+" "+(q.textContent||"")));}if(!_)return d("not user-playable");if(A&&R&&!w)return d("decorative loop");if(g.hasAttribute("muted")&&!w&&!F)return d("muted");if(Number.isFinite(g.duration)&&g.duration>0&&g.duration<5)return d("under 5s");await new Promise(M=>setTimeout(M,2e3));for(let M of Array.from(g.querySelectorAll("track"))){let L=(M.getAttribute("kind")||"subtitles").toLowerCase();if((L==="captions"||L==="subtitles")&&M.getAttribute("src"))return d("has caption track")}let x=g.textTracks;for(let M=0;x&&M<x.length;M++)if(x[M].kind==="captions"||x[M].kind==="subtitles")return d("has text track");let S=g,E=null;if(typeof S.mozHasAudio=="boolean"?E=S.mozHasAudio:S.audioTracks&&typeof S.audioTracks.length=="number"&&(E=S.audioTracks.length>0?true:null),E===null&&typeof S.webkitAudioDecodedByteCount=="number"&&S.webkitAudioDecodedByteCount>0&&(E=true),E===null)try{let M=new AbortController,L=setTimeout(()=>M.abort(),f.fetchMs),N=await fetch(y,{headers:{Range:"bytes=0-"+(f.rangeBytes-1)},signal:M.signal}),q=new Uint8Array(f.rangeBytes),H=0,j=N.body?N.body.getReader():null;if(j)try{for(;H<f.rangeBytes;){let{done:k,value:v}=await j.read();if(k||!v)break;let D=Math.min(v.length,f.rangeBytes-H);q.set(v.subarray(0,D),H),H+=D;}}finally{try{await j.cancel();}catch{}}clearTimeout(L);let W=(k,v=0)=>{e:for(let D=v;D<=H-k.length;D++){for(let T=0;T<k.length;T++)if(q[D+T]!==k[T])continue e;return D}return -1},J=k=>Array.from(k).map(v=>v.charCodeAt(0));W(J("ftyp"))>=0&&W(J("moov"))>=0?E=W(J("hdlr"))>=0&&W(J("soun"))>=0:q[0]===26&&q[1]===69&&q[2]===223&&q[3]===163&&W([22,84,174,107])>=0&&(E=W([131,129,2])>=0);}catch{E=null;}return E!==true?d(E===false?"silent":"audio unknowable"):{verdict:"violation"}}async function Gg(f,d){let g=d.filter(y=>y.type==="missing_captions"&&/^<video\b/i.test(y.html??"")&&y.selector).slice(0,10);if(g.length===0)return [];let h=[],p=Date.now()+1e4;try{await f.evaluate("if(typeof globalThis.__name==='undefined'){globalThis.__name=function(t){return t}}");for(let y of g){if(Date.now()>p)break;let A=p-Date.now(),w,F=await Promise.race([f.evaluate(mL,{selector:y.selector,rangeBytes:1048576,fetchMs:4e3}),new Promise(R=>{w=setTimeout(()=>R(null),A);})]).finally(()=>w&&clearTimeout(w));if(!F)break;if(F.verdict==="violation"){let{confidence:R,reviewReason:_,...x}=y;h.push({...x,id:y.id.replace("axe-incomplete-","axe-"),message:"video has an audio track, can be played by the user, and has no captions or subtitles track (WCAG 1.2.2)"});}}}catch{}return h}function Xg(){let f=p=>{let y=p.getBoundingClientRect();if(y.width===0||y.height===0)return false;let A=window.getComputedStyle(p);return A.visibility!=="hidden"&&A.display!=="none"&&A.opacity!=="0"},d=Array.from(document.querySelectorAll('input[type="password"]')),g=Array.from(document.querySelectorAll('button, input[type="submit"], a[role="button"]')).filter(f).map(p=>(p.value||p.textContent||"").trim().toLowerCase()).filter(p=>p.length>0&&p.length<40),h=Array.from(document.querySelectorAll("button, a")).filter(f).filter(p=>/sign in with|continue with|log in with/i.test(p.textContent||"")).length;return {passwordFields:d.length,visiblePasswordFields:d.filter(f).length,submitLabels:g,oauthButtons:h,formCount:document.querySelectorAll("form").length,bodyTextLength:(document.body?.innerText||"").trim().length,headingText:(document.querySelector("h1, h2")?.textContent||"").trim().slice(0,120).toLowerCase()}}var hL=/\b(log ?in|sign ?in|sign ?on|authenticate)\b/,gL=/\b(log ?in|sign ?in|sign ?on|authentication|welcome back|access denied|unauthori[sz]ed)\b/;function Wg(f){try{let d=new URL(f).pathname.toLowerCase();return /(^|\/)(login|signin|sign-in|log-in|auth|sso|session\/new|users\/sign_in)(\/|$)/.test(d)}catch{return false}}function Yg(f,d,g){if(Wg(d))return null;let h=Ug(d)!==Ug(g),p=f.submitLabels.some(x=>hL.test(x)),y=gL.test(f.headingText),A=Wg(g),w=[];A&&w.push("url"),p&&w.push("submit"),y&&w.push("heading"),h&&w.push("redirected");let F=f.visiblePasswordFields>0,R=f.oauthButtons>0&&f.bodyTextLength<600&&f.formCount<=1;if(!F&&!R||w.length<2)return null;let _=`${F?"password-field":"oauth-only"}+${w.join("+")}`;return {reason:`Scan did not reach the requested page \u2014 it landed on a sign-in page at ${g}. The findings would describe the login screen, not the intended page. Configure site authentication for this site, or scan a page that does not require a session.`,signal:_,finalUrl:g}}function Ug(f){try{let d=new URL(f);return `${d.origin}${d.pathname.replace(/\/+$/,"")}`.toLowerCase()}catch{return f.toLowerCase()}}async function OL(f){try{return await f.evaluate(()=>{let d=(document.title||"").toLowerCase(),g=[["just a moment","Cloudflare"],["attention required","Cloudflare"],["checking your browser","Cloudflare"],["access to this page has been denied","PerimeterX/HUMAN"],["please verify you are a human","PerimeterX/HUMAN"],["verify you are human","bot-challenge"],["are you a robot","bot-challenge"],["you have been blocked","bot-challenge"],["request unsuccessful","Imperva/Incapsula"],["human verification","bot-challenge"],["additional security check is required","bot-challenge"]];for(let[y,A]of g)if(d.includes(y))return {vendor:A,signal:`title:"${document.title}"`,needsCorroboration:!1};let h=[["#cf-chl-widget","Cloudflare"],["#challenge-running","Cloudflare"],["#cf-challenge-running","Cloudflare"],[".cf-browser-verification","Cloudflare"],["#cf-please-wait","Cloudflare"],["div.cf-error-details","Cloudflare"],["#px-captcha","PerimeterX/HUMAN"],["#distilCaptchaForm","Distil"],["form#challenge-form","bot-challenge"]];for(let[y,A]of h)if(document.querySelector(y))return {vendor:A,signal:`marker:${y}`,needsCorroboration:!1};if(window._cf_chl_opt)return {vendor:"Cloudflare",signal:"marker:window._cf_chl_opt",needsCorroboration:!1};let p=[["please wait...","Cloudflare"],["access denied","bot-challenge"]];for(let[y,A]of p)if(d.includes(y))return {vendor:A,signal:`title:"${document.title}"`,needsCorroboration:!0};return null})}catch{return null}}async function PL(f){try{return await f.evaluate(()=>{let d=document.querySelectorAll("body *").length;if(d>250)return null;let g=['[id*="captcha" i]','[class*="captcha" i]','img[src*="captcha" i]','iframe[src*="recaptcha" i]','iframe[src*="hcaptcha" i]','iframe[src*="turnstile" i]','[name*="captcha" i]'];for(let p of g)try{if(document.querySelector(p))return {signal:`marker:${p}`,elements:d}}catch{}let h=(document.title||"").toLowerCase();return h.includes("captcha")||h.includes("security check")||h.includes("bot verification")?{signal:`title:"${document.title}"`,elements:d}:null})}catch{return null}}async function NL(f,d){let g=await OL(f),h=typeof d=="number"&&d>=400,p=g&&(!g.needsCorroboration||h)?g:null;if(!p&&!h)return null;let y=[];return p&&y.push(`served a ${p.vendor} bot-challenge / interstitial page`),h&&y.push(`main document returned HTTP ${d}`),{reason:`Scan did not reach the real page \u2014 the target ${y.join(" and ")}. The returned issue list reflects the challenge/error page, not the intended site.`,...p?{vendor:p.vendor}:{},...typeof d=="number"?{status:d}:{},...p?{signal:p.signal}:h?{signal:`status:${d}`}:{}}}async function oi(f,d){let g=typeof f=="string",h={wcagTags:Su,includeAxe:true,deep:false,dismissModals:g,...d},p,y,A,w;if(g){A=f.startsWith("http")?f:`https://${f}`;let F=typeof h.viewport=="string"?qo[h.viewport]??qo.desktop:h.viewport??qo.desktop;y=await(await import('playwright')).chromium.launch({headless:h.browser?.headless??true}),p=await(await y.newContext({viewport:F})).newPage();let x=await p.goto(A,{waitUntil:"domcontentloaded",timeout:h.browser?.timeout??3e4});w=typeof x?.status=="function"?x.status():void 0;}else p=f,A=p.url(),w=h.mainStatus;if(h.dismissModals)try{let{dismissModals:F}=await Promise.resolve().then(()=>(Jg(),Kg));await F(p);}catch{}if(h.settle!==false)try{let{waitForRenderSettle:F}=await Promise.resolve().then(()=>(Go(),zo));await F(p,typeof h.settle=="number"?h.settle:void 0);}catch{}if(!y){let{snapshotInteractionState:F}=await Promise.resolve().then(()=>(Uo(),Wo));await F(p);}try{let F=await p.evaluate(()=>performance.timeOrigin);try{let ee=await p.evaluate(Xg),Z=Yg(ee,A,typeof p.url=="function"?p.url():A);if(Z)return {url:A,timestamp:new Date().toISOString(),blocked:{reason:Z.reason,signal:`auth-wall:${Z.signal}`,...typeof w=="number"?{status:w}:{}},issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}}}catch{}let R=await NL(p,w);if(R)return {url:A,timestamp:new Date().toISOString(),blocked:R,issues:[],incomplete:[],internal_bugs:[],summary:{total:0,critical:0,serious:0,moderate:0,minor:0,incomplete:0}};let _=[],x=new Map,S=[],E=[],M=[],{guardDetectorState:L,dropToolingFindings:N}=await Promise.resolve().then(()=>(Hr(),gn)),q=await PL(p);q&&E.push(`challenge:suspected-interstitial (${q.signal}; ${q.elements} elements) \u2014 this looks like a bot-challenge/CAPTCHA page, not the real site; results may be invalid`),await(await Promise.resolve().then(()=>(Hr(),gn))).startProvenance(p);let H=await bg(p,S,E,{internalBugs:M,extraSerialDetectors:h.extraSerialDetectors,experimental:h.experimental});_.push(...H.map(Dg));let{resetInteractionState:j,focusOnlyObscuredIndexes:W}=await Promise.resolve().then(()=>(Uo(),Wo));if(await j(p),h.includeAxe)try{let ee=await L(p,"axe",E,()=>Eg(p,wg(h.wcagTags??Su,h.level)),{bugs:M});for(let Z of ee.violations){let ie=Z.id==="target-size"?await W(p,Z.nodes):new Set;for(let[be,de]of Z.nodes.entries()){if(ie.has(be)){M.push({tool:"axe",kind:"finding-dropped",detail:"target-size obscured only by a focus-only element (scanner focus state)",selector:na(de.target)});continue}_.push({id:`axe-${Z.id}-${ai(na(de.target))}`,source:"axe-core",type:Z.id,wcag:Fu(Z.tags),level:Iu(Z.tags),impact:Tu(Z.impact),message:Z.help,selector:na(de.target),html:de.html?.slice(0,300)});}}for(let Z of ee.incomplete??[])for(let ie of Z.nodes){let be=`axe-incomplete-${Z.id}-${ai(na(ie.target))}`,de=ie.any?.[0]?.data?.messageKey;de&&x.set(be,de),_.push({id:be,source:"axe-core",type:Z.id,wcag:Fu(Z.tags),level:Iu(Z.tags),impact:Tu(Z.impact),message:Z.help,selector:na(ie.target),html:ie.html?.slice(0,300),confidence:"needs_review",reviewReason:"axe-core flagged this as needing human review"});}}catch(ee){M.push({tool:"axe",kind:"engine-failed",detail:`axe-core threw, its findings are absent: ${ee?.message??String(ee)}`});}let{deduplicateIssues:J}=await Promise.resolve().then(()=>(sa(),oa)),k=Mu(_),v=J(k.verdicts);try{let{pruneInvisibleContrast:ee}=await Promise.resolve().then(()=>(Go(),zo));v=await ee(p,v);}catch{}try{let{pruneHiddenIframeIssues:ee}=await Promise.resolve().then(()=>(Go(),zo));v=await ee(p,v);}catch{}try{let{dedupeByElementIdentity:ee}=await Promise.resolve().then(()=>(sa(),oa));v=await ee(p,v);}catch{}try{v=await N(p,v,M);}catch{}try{let{verifyAnimatedGifs:ee}=await Promise.resolve().then(()=>(rv(),tv));v=await ee(p,v);}catch{}if(h.deep&&h.deepApiKey)try{let ee=await qL(A,v,h);v.push(...ee);}catch{}if(h.rootSelector)try{let{scopeIssuesToRoot:ee}=await Promise.resolve().then(()=>(ju(),Vu)),Z=await ee(p,v,h.rootSelector);v=Z.issues,Z.warning&&E.push(Z.warning);}catch{}v=ra(v,h.level??"AA");let D=Mu(v),T=D.verdicts,O=[],B=[],z=new Set;try{if(B=[...k.undecided,...D.undecided],h.rootSelector){let{scopeIssuesToRoot:de}=await Promise.resolve().then(()=>(ju(),Vu));B=(await de(p,B,h.rootSelector)).issues;}let ee=new Map;await j(p);let Z=await L(p,"contrast-pixels",E,()=>Lg(p,B,x,ee),{bugs:M}),ie=await Gg(p,B),be=[...Z,...ie];if(z=new Set(be.map(de=>`${de.selector}|${de.wcag}`)),be.length){let{deduplicateIssues:de}=await Promise.resolve().then(()=>(sa(),oa));T=de([...T,...be]);}{let de=B.filter(De=>!z.has(`${De.selector}|${De.wcag}`)),ke=await zg(p,de,{...h.judge,url:A,level:h.judge?.level??h.level??"AA",measured:ee});if(globalThis.process?.env?.WA_DEBUG_JUDGE&&console.error(`ai judge: ${de.length} undecided before judge, ${ke.promoted.length} promoted, ${ke.judged.filter(De=>De.verdict==="pass").length} passed`),O=ke.judged,ke.promoted.length){let{deduplicateIssues:De}=await Promise.resolve().then(()=>(sa(),oa));T=De([...T,...ra(ke.promoted,h.level??"AA")]);}}}catch{}let X;{let ee=new Set(O.map(ie=>ie.id)),Z=ra(B,h.level??"AA").filter(ie=>!z.has(`${ie.selector}|${ie.wcag}`)&&!ee.has(ie.id.replace("axe-incomplete-","axe-")));Z.length&&(X={count:Z.length,wcag:[...new Set(Z.map(ie=>ie.wcag))].sort()});}try{let{dedupeByElementIdentity:ee}=await Promise.resolve().then(()=>(sa(),oa));T=await ee(p,T);}catch{}try{T=await N(p,T,M);}catch{}if(await p.evaluate(()=>performance.timeOrigin)!==F)throw new Error(`the page's document was replaced during the scan (navigation to ${p.url()}); the findings mix two documents`);{let{attachMutations:ee,stopProvenance:Z}=await Promise.resolve().then(()=>(Hr(),gn));ee(M,await Z(p));}let te={url:A,timestamp:new Date().toISOString(),engine:yg,issues:T,internal_bugs:M,incomplete:[],...O.length?{judged:O}:{},...S.length?{truncated:S}:{},...E.length?{engineWarnings:E}:{},...X?{unsettled:X}:{},...h.keepDetected?{detected:H}:{},summary:Ru(T)};if(h.review!==!1&&h.deepApiKey)try{te=await BL(te,h);}catch{}return te}finally{let{stopProvenance:F}=await Promise.resolve().then(()=>(Hr(),gn));if(await F(p),y)await y.close();else {let{restoreInteractionState:R}=await Promise.resolve().then(()=>(Uo(),Wo));await R(p);}}}async function qL(f,d,g){let h=g.deepApiUrl||"https://api.webability.io",p=await fetch(`${h}/cli/deep-scan`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${g.deepApiKey}`},body:JSON.stringify({url:f,standardIssues:d.slice(0,30).map(({source:A,...w})=>w)})});return p.ok?((await p.json()).issues??[]).map((A,w)=>({id:`deep-${w}-${ai(A.selector||A.element||"")}`,source:"deep-analysis",type:`wcag-${A.wcag}`,wcag:A.wcag,level:"AA",impact:A.severity==="High"?"critical":A.severity==="Medium"?"serious":"moderate",message:A.message,selector:A.selector||A.element||""})):[]}function nv(f){let d=f.fix?.attribute??"";return !!f.fix?.needsManualReview&&d!=="style"&&!d.startsWith("data-")}async function BL(f,d){let g=d.deepApiUrl||"https://api.webability.io",h=f.issues.filter(nv);if(h.length===0)return f;try{let p=await fetch(`${g}/review-findings`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.deepApiKey}`},body:JSON.stringify({url:f.url,issues:h.slice(0,30).map(({source:F,...R})=>R)})});if(!p.ok)return f;let y=await p.json();if(!y.confirmed_ids)return f;let A=new Set(y.confirmed_ids),w=f.issues.filter(F=>!nv(F)||A.has(F.id));return {...f,issues:w,summary:Ru(w)}}catch{return f}}function iv(f){return {...f,issues:f.issues.map(({source:d,...g})=>g)}}async function HL(f,d){return iv(await oi(f,{...d,dismissModals:false}))}var av=class{page;options;issues=new Map;observer=false;merged={};running=null;queued=false;constructor(d,g){this.page=d,this.options=g??{};}async analyze(d){return HL(this.page,{...this.options,...d})}record(d){for(let g of d.issues)this.issues.set(g.id,g);}onMutation(){return this.observer?this.running?(this.queued=true,this.running):(this.running=(async()=>{do{this.queued=false;try{this.record(await oi(this.page,{...this.merged,dismissModals:!1}));}catch{}}while(this.queued&&this.observer)})().finally(()=>{this.running=null;}),this.running):Promise.resolve()}async start(d){this.issues=new Map,this.observer=true,this.merged={...this.options,...d},this.record(await oi(this.page,{...this.merged,dismissModals:false})),await this.page.exposeFunction("__webabilityOnMutation",()=>this.onMutation()),await this.page.evaluate(()=>{let g=new MutationObserver(()=>{window.__webabilityOnMutation?.();});g.observe(document.body,{childList:true,subtree:true}),window.__webabilityObserver=g;});}async stop(){this.observer=false,await this.page.evaluate(()=>{window.__webabilityObserver?.disconnect();}).catch(()=>{}),await this.running?.catch(()=>{});let d=await oi(this.page,{...this.options,dismissModals:false});this.record(d);let g=Array.from(this.issues.values()),h={url:d.url,timestamp:d.timestamp,issues:g,incomplete:[],summary:{total:g.length,critical:g.filter(p=>p.impact==="critical").length,serious:g.filter(p=>p.impact==="serious").length,moderate:g.filter(p=>p.impact==="moderate").length,minor:g.filter(p=>p.impact==="minor").length,incomplete:0}};return this.issues=new Map,iv(h)}};/*! Bundled license information:
406
457
 
407
458
  axe-core/axe.js:
408
459
  (*! axe v4.11.3